Mageia Bugzilla – Attachment 425 Details for
Bug 1309
default.jpg not included in wallpaper selector in KDE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch against mageia-theme spec
mageia-theme-diff.patch (text/plain), 1.40 KB, created by
John Balcaen
on 2011-05-19 03:57:49 CEST
(
hide
)
Description:
Patch against mageia-theme spec
Filename:
MIME Type:
Creator:
John Balcaen
Created:
2011-05-19 03:57:49 CEST
Size:
1.40 KB
patch
obsolete
>Index: SPECS/mageia-theme.spec >=================================================================== >--- SPECS/mageia-theme.spec (révision 99687) >+++ SPECS/mageia-theme.spec (copie de travail) >@@ -132,6 +132,15 @@ > This package contains winning picture from %{_vendor} 1 photo > background contest. > >+%package kde-background >+Summary: %{_vendor} background theme for mageia >+Group: Graphics >+Requires: %{name} >+ >+%description kde-background >+This package provides the default kde background >+ >+ > %prep > %setup -q -n %{name}-%{version} > >@@ -142,6 +151,23 @@ > rm -rf %{buildroot} > %make install prefix=%{buildroot} > >+%__mkdir -p %{buildroot}/%{_datadir}/wallpapers/%{_vendor}/contents/images >+ >+pushd %{buildroot}/%{_datadir}/wallpapers/%{_vendor}/contents/images >+for i in "800x480" "1024x600" "1280x1024" "1920x1080" "1920x1200" "1920x1440"; do >+ln -s ../../../../mga/backgrounds/%{_vendor}-Default-$i.png $i.png >+done >+cat > %{buildroot}/%{_datadir}/wallpapers/%{_vendor}/metadata.desktop << EOF >+[Desktop Entry] >+Name=%{_vendor} >+X-KDE-PluginInfo-Name=%{_vendor} >+X-KDE-PluginInfo-Author=Mageia Artwork Team >+X-KDE-PluginInfo-Email=mageia-artwork@mageia.org >+X-KDE-PluginInfo-License=GPL >+ >+EOF >+popd >+ > %theme_scripts Default > > %clean >@@ -166,6 +192,10 @@ > > %{_datadir}/mga/backgrounds/%{_vendor}-extra.xml > >+%files kde-background >+%defattr(-,root,root) >+%{_datadir}/wallpapers/%{_vendor} >+ > %theme_files Default
Index: SPECS/mageia-theme.spec =================================================================== --- SPECS/mageia-theme.spec (révision 99687) +++ SPECS/mageia-theme.spec (copie de travail) @@ -132,6 +132,15 @@ This package contains winning picture from %{_vendor} 1 photo background contest. +%package kde-background +Summary: %{_vendor} background theme for mageia +Group: Graphics +Requires: %{name} + +%description kde-background +This package provides the default kde background + + %prep %setup -q -n %{name}-%{version} @@ -142,6 +151,23 @@ rm -rf %{buildroot} %make install prefix=%{buildroot} +%__mkdir -p %{buildroot}/%{_datadir}/wallpapers/%{_vendor}/contents/images + +pushd %{buildroot}/%{_datadir}/wallpapers/%{_vendor}/contents/images +for i in "800x480" "1024x600" "1280x1024" "1920x1080" "1920x1200" "1920x1440"; do +ln -s ../../../../mga/backgrounds/%{_vendor}-Default-$i.png $i.png +done +cat > %{buildroot}/%{_datadir}/wallpapers/%{_vendor}/metadata.desktop << EOF +[Desktop Entry] +Name=%{_vendor} +X-KDE-PluginInfo-Name=%{_vendor} +X-KDE-PluginInfo-Author=Mageia Artwork Team +X-KDE-PluginInfo-Email=mageia-artwork@mageia.org +X-KDE-PluginInfo-License=GPL + +EOF +popd + %theme_scripts Default %clean @@ -166,6 +192,10 @@ %{_datadir}/mga/backgrounds/%{_vendor}-extra.xml +%files kde-background +%defattr(-,root,root) +%{_datadir}/wallpapers/%{_vendor} + %theme_files Default
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1309
: 425