Fix attributes of WPrefs app, so that it has the right icon in the

dock, instead of a broken one.
This commit is contained in:
dcoppa 2012-08-09 09:30:27 +00:00
parent 3dd655709c
commit dc4bdb9888
2 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.83 2012/03/29 13:39:01 sthen Exp $
# $OpenBSD: Makefile,v 1.84 2012/08/09 09:30:27 dcoppa Exp $
COMMENT-main= window manager that emulates NEXTSTEP(tm)
COMMENT-lang= language subpackage for Window Maker
@ -6,7 +6,7 @@ COMMENT-lang= language subpackage for Window Maker
V= 0.92.0
DISTNAME= WindowMaker-${V}
PKGNAME-main= ${DISTNAME:L}
REVISION-main= 11
REVISION-main= 12
FULLPKGNAME-lang= windowmaker-lang-${V}
REVISION-lang= 2
SHARED_LIBS= wraster 5.0
@ -63,6 +63,7 @@ pre-configure:
${WRKSRC}/WINGs/wapplication.c \
${WRKSRC}/WPrefs.app/Menu.c \
${WRKSRC}/WPrefs.app/Paths.c \
${WRKSRC}/WindowMaker/Defaults/WMWindowAttributes.in \
${WRKSRC}/WindowMaker/Defaults/WindowMaker.in
post-install:

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-WindowMaker_Defaults_WMWindowAttributes_in,v 1.1 2012/08/09 09:30:27 dcoppa Exp $
--- WindowMaker/Defaults/WMWindowAttributes.in.orig Thu Aug 9 10:18:17 2012
+++ WindowMaker/Defaults/WMWindowAttributes.in Thu Aug 9 10:19:28 2012
@@ -2,6 +2,7 @@
Logo.WMDock = {Icon = GNUstepGlow.#extension#;};
Logo.WMPanel = {Icon = GNUstep.#extension#;};
Logo.WMClip = {Icon = clip.#extension#;};
+ WPrefs = {Icon = "%%PREFIX%%/share/WPrefs/WPrefs.#extension#";};
Dockit = {Icon = GNUstep.#extension#;};
DockApp = {NoAppIcon = NO;};
WSoundServer = {Icon = sound.#extension#;};