mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Since some of the latest updates the option for the "beastie" start button
stopped working. E.g. the default start button appeared even though the option for the beastiefied start button was turned on. This affected only the Infadel2 theme because it appeared to provide it's own start button icon and thus not using the default one which has been replaced with the beastie one by our port. The solution I introduce installs (only if beastie is turned on) themes' specific start button icons under different name so that IceWM does not find them and thus falls back to the default one (almost the same as not installing them at all).
This commit is contained in:
parent
9f7206f83b
commit
16342c4af2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173057
@ -82,10 +82,14 @@ CONFIGURE_ARGS+= --disable-x86-asm
|
||||
|
||||
.if defined(WITH_BEASTIE)
|
||||
STARTUP_PIXMAP= bsd-daemon.xpm
|
||||
THEMES_START_XPM_SFX= -suppressed
|
||||
.else
|
||||
STARTUP_PIXMAP= icewm-logo.xpm
|
||||
THEMES_START_XPM_SFX=
|
||||
.endif
|
||||
|
||||
PLIST_SUB+= THEMES_START_XPM_SFX=${THEMES_START_XPM_SFX}
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+= --disable-nls --disable-i18n
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
@ -97,6 +101,11 @@ PLIST_SUB+= NLS=""
|
||||
post-extract:
|
||||
@cd ${WRKSRC}/lib/taskbar && ${MV} start.xpm icewm-logo.xpm
|
||||
@${CP} -f ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
|
||||
.if defined(WITH_BEASTIE)
|
||||
@for icon in ${WRKSRC}/lib/themes/*/taskbar/start.xpm ; do \
|
||||
${MV} "$${icon}" "$${icon%.xpm}${THEMES_START_XPM_SFX}.xpm" ; \
|
||||
done
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.for file in configure
|
||||
|
@ -126,7 +126,7 @@ bin/icewmtray
|
||||
%%DATADIR%%/themes/Infadel2/rollupA.xpm
|
||||
%%DATADIR%%/themes/Infadel2/rollupI.xpm
|
||||
%%DATADIR%%/themes/Infadel2/snap.pcf
|
||||
%%DATADIR%%/themes/Infadel2/taskbar/start.xpm
|
||||
%%DATADIR%%/themes/Infadel2/taskbar/start%%THEMES_START_XPM_SFX%%.xpm
|
||||
%%DATADIR%%/themes/Infadel2/taskbar/windows.xpm
|
||||
%%DATADIR%%/themes/Infadel2/titleAB.xpm
|
||||
%%DATADIR%%/themes/Infadel2/titleAJ.xpm
|
||||
|
Loading…
Reference in New Issue
Block a user