- Update prefferences patch to point to correct wallpaper on the disk
based on openSUSE/SLE branding package OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=59
This commit is contained in:
parent
5b630fcd46
commit
7c0218d2fd
@ -71,7 +71,7 @@ Index: src/preferences
|
||||
|
||||
# Desktop background image
|
||||
-# DesktopBackgroundImage=""
|
||||
+DesktopBackgroundImage="/usr/share/wallpapers/default-1600x1200.jpg"
|
||||
+DesktopBackgroundImage="BRANDING_PICTURE"
|
||||
|
||||
# Color to announce for semi-transparent windows
|
||||
# DesktopTransparencyColor=""
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 12:49:38 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Update prefferences patch to point to correct wallpaper on the disk
|
||||
based on openSUSE/SLE branding package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 12:25:59 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
|
@ -176,6 +176,15 @@ make %{?_smp_mflags} clean
|
||||
make %{?_smp_mflags}
|
||||
# Patch generated lib/preferences file.
|
||||
patch -p1 -i %{PATCH99}
|
||||
# And use proper branding
|
||||
%if 0%{?is_opensuse}
|
||||
wallpaper="openSUSEdefault"
|
||||
%else
|
||||
wallpaper="SLEdefault"
|
||||
%endif
|
||||
sed -i \
|
||||
-e "s:BRANDING_PICTURE:/usr/share/wallpapers/$wallpaper/contents/images/1920x1080.jpg:" \
|
||||
src/preferences
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user