- 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:
Tomáš Chvátal 2016-03-08 12:50:09 +00:00 committed by Git OBS Bridge
parent 5b630fcd46
commit 7c0218d2fd
3 changed files with 16 additions and 1 deletions

View File

@ -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=""

View File

@ -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

View File

@ -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