Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 01:07:00 +0200
From:      "Danny Pansters" <danny@ricin.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        danny@ricin.com
Subject:   ports/102457: [maintainer] x11-themes/gtk-qt-engine: remove applnk entry at post-install
Message-ID:  <20060823230709.C9B9243D49@mx1.FreeBSD.org>
Resent-Message-ID: <200608232310.k7NNAUlv076838@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102457
>Category:       ports
>Synopsis:       [maintainer] x11-themes/gtk-qt-engine: remove applnk entry at post-install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 23 23:10:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Danny Pansters
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD desktop.homenet 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun Jul 16 20:40:22 CEST 2006 root@desktop.homenet:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Only kcmgtk-xdg.desktop need be installed (into share/applications/kde).
	The install routine also installs kcmgtk.desktop (into share/applnk/Settings/LookNFeel),
	which causes the KDE control center to have a double entry for GTK Look & Feel.
	So the applnk entry now gets removed at post-install (applnk is deprecated anyway).
>How-To-Repeat:
	
>Fix:

	

--- x11-themes::gtk-qt-engine.diff begins here ---
diff -ruN x11-themes/gtk-qt-engine.old/Makefile x11-themes/gtk-qt-engine/Makefile
--- x11-themes/gtk-qt-engine.old/Makefile	Thu Aug 24 00:45:56 2006
+++ x11-themes/gtk-qt-engine/Makefile	Thu Aug 24 00:46:27 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	gtk-qt-engine
 PORTVERSION=	0.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-themes
 MASTER_SITES=	http://people.freedesktop.org/~davidsansome/ \
 		http://freebsd.ricin.com/ports/distfiles/
@@ -51,5 +51,6 @@
 post-install:
 	@${RM} /tmp/menu/kcmgtk.menu
 	@if [ "`ls /tmp/menu`" = "" ]; then ${RMDIR} /tmp/menu; fi
+	@${RM} ${PREFIX}/share/applnk/Settings/LookNFeel/kcmgtk.desktop
 
 .include <bsd.port.post.mk>
diff -ruN x11-themes/gtk-qt-engine.old/pkg-plist x11-themes/gtk-qt-engine/pkg-plist
--- x11-themes/gtk-qt-engine.old/pkg-plist	Thu Aug 24 00:45:56 2006
+++ x11-themes/gtk-qt-engine/pkg-plist	Thu Aug 24 00:47:19 2006
@@ -1,7 +1,6 @@
 lib/kde3/kcm_kcmgtk.a
 lib/kde3/kcm_kcmgtk.la
 lib/kde3/kcm_kcmgtk.so
-share/applnk/Settings/LookNFeel/kcmgtk.desktop
 share/applications/kde/kcmgtk-xdg.desktop
 share/locale/de/LC_MESSAGES/gtkqtengine.mo
 share/locale/es/LC_MESSAGES/gtkqtengine.mo
--- x11-themes::gtk-qt-engine.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060823230709.C9B9243D49>