View | Details | Raw Unified | Return to bug 101030
Collapse All | Expand All

(-)x11-themes/gtk-qt-engine/Makefile (-12 / +9 lines)
Lines 6-34 Link Here
6
#
6
#
7
7
8
PORTNAME=	gtk-qt-engine
8
PORTNAME=	gtk-qt-engine
9
PORTVERSION=	0.6
9
PORTVERSION=	0.7
10
PORTREVISION=	5
11
CATEGORIES=	x11-themes
10
CATEGORIES=	x11-themes
12
MASTER_SITES=	http://www.freedesktop.org/~davidsansome/ \
11
MASTER_SITES=	http://people.freedesktop.org/~davidsansome/ \
13
		http://freebsd.ricin.com/ports/distfiles/
12
		http://freebsd.ricin.com/ports/distfiles/
14
13
15
MAINTAINER=	danny@ricin.com
14
MAINTAINER=	danny@ricin.com
16
COMMENT=	GTK-QT Theme Engine allows GTK2 apps to use QT (KDE) themes
15
COMMENT=	GTK-QT Theme Engine allows GTK2 apps to use QT (KDE) themes
17
16
18
LIB_DEPENDS=	kdecore:${PORTSDIR}/x11/kdelibs3
17
LIB_DEPENDS=	kdecore:${PORTSDIR}/x11/kdelibs3 \
18
		bonoboui-2:${PORTSDIR}/x11-toolkits/libbonoboui
19
19
20
USE_BZIP2=	yes
20
USE_BZIP2=	yes
21
USE_X_PREFIX=	yes
22
USE_GMAKE=	yes
21
USE_GMAKE=	yes
23
USE_AUTOTOOLS=	libtool:15
22
USE_AUTOTOOLS=	libtool:15
24
USE_GNOME=	gnomehack gtk20
23
USE_GNOME=	gnomehack gtk20
25
USE_QT_VER=	3
24
USE_QT_VER=	3
26
25
26
WRKSRC=		${WRKDIR}/${PORTNAME}
27
PLIST_SUB=	GTK_VER=${GTK2_VERSION}
27
PLIST_SUB=	GTK_VER=${GTK2_VERSION}
28
PLIST_SUB+=	X11BASE=${X11BASE} LOCALBASE=${LOCALBASE}
28
PLIST_SUB+=	X11BASE=${X11BASE}
29
29
30
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
30
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
31
31
32
OPTIONS=	BONOBOUI "With libbonoboui (recommended)" on
33
32
pre-configure:
34
pre-configure:
33
	@${REINPLACE_CMD} -e "s|/share/themes/|/X11R6/share/themes/|" \
35
	@${REINPLACE_CMD} -e "s|/share/themes/|/X11R6/share/themes/|" \
34
		${WRKSRC}/kcm_gtk/kcmgtk.cpp
36
		${WRKSRC}/kcm_gtk/kcmgtk.cpp
Lines 37-52 Link Here
37
	@${REINPLACE_CMD} -e "s|/usr/lib/menu|/tmp/menu|" \
39
	@${REINPLACE_CMD} -e "s|/usr/lib/menu|/tmp/menu|" \
38
		${WRKSRC}/kcm_gtk/Makefile
40
		${WRKSRC}/kcm_gtk/Makefile
39
	@${REINPLACE_CMD} -e \
41
	@${REINPLACE_CMD} -e \
40
		"s|/usr/share/applications|${LOCALBASE}/share/applications/kde|" \
42
		"s|/usr/share/applications|${PREFIX}/share/applications/kde|g" \
41
		${WRKSRC}/kcm_gtk/Makefile
43
		${WRKSRC}/kcm_gtk/Makefile
42
44
43
post-install:
45
post-install:
44
	@${RM} /tmp/menu/kcmgtk.menu
46
	@${RM} /tmp/menu/kcmgtk.menu
45
	@if [ "`ls /tmp/menu`" = "" ]; then ${RMDIR} /tmp/menu; fi
47
	@if [ "`ls /tmp/menu`" = "" ]; then ${RMDIR} /tmp/menu; fi
46
	@${INSTALL_DATA} ${WRKSRC}/kcm_gtk/kcm_kcmgtk.la ${LOCALBASE}/lib/kde3/
47
	@${ECHO}
48
	@${ECHO} "Use \"GTK styles and fonts\" from the KDE control center to set or"
49
	@${ECHO} "change the GTK style. NOTE: this will overwrite your ~/.gtkrc-2.0."
50
	@${ECHO}
51
48
52
.include <bsd.port.mk>
49
.include <bsd.port.mk>
(-)x11-themes/gtk-qt-engine/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gtk-qt-engine-0.6.tar.bz2) = 9c02c95a6e8d304b1f2801429759e1c0
1
MD5 (gtk-qt-engine-0.7.tar.bz2) = 27ca211621f38c45b1c4c9e9ef1f84b0
2
SHA256 (gtk-qt-engine-0.6.tar.bz2) = 1e8aa85f03a4c57d28482aea5ce70b458483cc8d15cb36b5f38b499ecb4d0eff
2
SHA256 (gtk-qt-engine-0.7.tar.bz2) = cfaac46c409984afbcf46979f728515535725e8c83bdf70277f23dde068daaee
3
SIZE (gtk-qt-engine-0.6.tar.bz2) = 435510
3
SIZE (gtk-qt-engine-0.7.tar.bz2) = 439794
(-)x11-themes/gtk-qt-engine/files/patch-src__qt_theme_draw.c (-10 lines)
Lines 1-10 Link Here
1
--- src/qt_theme_draw.c.orig    Thu Nov 10 16:23:45 2005
2
+++ src/qt_theme_draw.c Thu Nov 10 16:24:55 2005
3
@@ -1777,6 +1777,7 @@
4
         {
5
           pixmap = pix_test;
6
           parent_relative = FALSE;
7
+          gdk_drawable_set_colormap(pixmap, style->colormap);
8
         }
9
10
       gdk_window_set_back_pixmap (window, pixmap, parent_relative);
(-)x11-themes/gtk-qt-engine/pkg-plist (-6 / +9 lines)
Lines 1-15 Link Here
1
lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.a
2
lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.la
3
lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.so
4
share/gtk-qt-engine/kde-index.theme
5
share/themes/Qt/gtk-2.0/gtkrc
6
@cwd %%LOCALBASE%%
7
lib/kde3/kcm_kcmgtk.a
1
lib/kde3/kcm_kcmgtk.a
8
lib/kde3/kcm_kcmgtk.la
2
lib/kde3/kcm_kcmgtk.la
9
lib/kde3/kcm_kcmgtk.so
3
lib/kde3/kcm_kcmgtk.so
10
share/applnk/Settings/LookNFeel/kcmgtk.desktop
4
share/applnk/Settings/LookNFeel/kcmgtk.desktop
11
share/applications/kde/kcmgtk-xdg.desktop
5
share/applications/kde/kcmgtk-xdg.desktop
6
share/locale/de/LC_MESSAGES/gtkqtengine.mo
7
share/locale/es/LC_MESSAGES/gtkqtengine.mo
8
share/locale/fr/LC_MESSAGES/gtkqtengine.mo
9
share/locale/nn/LC_MESSAGES/gtkqtengine.mo
12
@cwd %%X11BASE%%
10
@cwd %%X11BASE%%
11
lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.a
12
lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.la
13
lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.so
14
share/gtk-qt-engine/kde-index.theme
15
share/themes/Qt/gtk-2.0/gtkrc
13
@dirrm share/themes/Qt/gtk-2.0
16
@dirrm share/themes/Qt/gtk-2.0
14
@dirrm share/themes/Qt
17
@dirrm share/themes/Qt
15
@dirrm share/gtk-qt-engine
18
@dirrm share/gtk-qt-engine

Return to bug 101030