diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-20 19:38:28 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-20 19:38:28 +0800 |
commit | cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0 (patch) | |
tree | 81a3c932459f7b0db7cdf18abbc523cf44c04738 /x11-themes/gtk-qt-engine | |
parent | c4a0907cb0c85cb401b84369e479b81dbeb7dd18 (diff) | |
download | marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.tar.gz marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.tar.zst marcuscom-ports-cb0ff284c30c62530d4a4b49b7732b2c3a9a08c0.zip |
- Convert the rest of gnome/gtk/metacity/sawfish themes to install
in LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6666 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes/gtk-qt-engine')
-rw-r--r-- | x11-themes/gtk-qt-engine/Makefile | 51 | ||||
-rw-r--r-- | x11-themes/gtk-qt-engine/distinfo | 3 | ||||
-rw-r--r-- | x11-themes/gtk-qt-engine/files/patch-src__qt_theme_draw.c | 10 | ||||
-rw-r--r-- | x11-themes/gtk-qt-engine/pkg-descr | 7 | ||||
-rw-r--r-- | x11-themes/gtk-qt-engine/pkg-plist | 15 |
5 files changed, 86 insertions, 0 deletions
diff --git a/x11-themes/gtk-qt-engine/Makefile b/x11-themes/gtk-qt-engine/Makefile new file mode 100644 index 000000000..f4e55f429 --- /dev/null +++ b/x11-themes/gtk-qt-engine/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: gtk-qt-engine +# Date created: 23 February 2004 +# Whom: Danny Pansters <danny@ricin.com> +# +# $FreeBSD$ +# + +PORTNAME= gtk-qt-engine +PORTVERSION= 0.6 +PORTREVISION= 6 +CATEGORIES= x11-themes +MASTER_SITES= http://www.freedesktop.org/~davidsansome/ \ + http://freebsd.ricin.com/ports/distfiles/ + +MAINTAINER= danny@ricin.com +COMMENT= GTK-QT Theme Engine allows GTK2 apps to use QT (KDE) themes + +LIB_DEPENDS= kdecore:${PORTSDIR}/x11/kdelibs3 + +USE_BZIP2= yes +USE_GMAKE= yes +USE_AUTOTOOLS= libtool:15 +USE_GNOME= gnomehack gtk20 +USE_QT_VER= 3 + +PLIST_SUB= GTK_VER=${GTK2_VERSION} +PLIST_SUB+= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE} + +CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include + +pre-configure: + @${REINPLACE_CMD} -e "s|/usr/share/themes/|${LOCALBASE}/share/themes/|" \ + ${WRKSRC}/kcm_gtk/kcmgtk.cpp + +post-configure: + @${REINPLACE_CMD} -e "s|/usr/lib/menu|/tmp/menu|" \ + ${WRKSRC}/kcm_gtk/Makefile + @${REINPLACE_CMD} -e \ + "s|/usr/share/applications|${LOCALBASE}/share/applications/kde|" \ + ${WRKSRC}/kcm_gtk/Makefile + +post-install: + @${RM} /tmp/menu/kcmgtk.menu + @if [ "`ls /tmp/menu`" = "" ]; then ${RMDIR} /tmp/menu; fi + @${INSTALL_DATA} ${WRKSRC}/kcm_gtk/kcm_kcmgtk.la ${LOCALBASE}/lib/kde3/ + @${ECHO} + @${ECHO} "Use \"GTK styles and fonts\" from the KDE control center to set or" + @${ECHO} "change the GTK style. NOTE: this will overwrite your ~/.gtkrc-2.0." + @${ECHO} + +.include <bsd.port.mk> diff --git a/x11-themes/gtk-qt-engine/distinfo b/x11-themes/gtk-qt-engine/distinfo new file mode 100644 index 000000000..15e8c2f34 --- /dev/null +++ b/x11-themes/gtk-qt-engine/distinfo @@ -0,0 +1,3 @@ +MD5 (gtk-qt-engine-0.6.tar.bz2) = 9c02c95a6e8d304b1f2801429759e1c0 +SHA256 (gtk-qt-engine-0.6.tar.bz2) = 1e8aa85f03a4c57d28482aea5ce70b458483cc8d15cb36b5f38b499ecb4d0eff +SIZE (gtk-qt-engine-0.6.tar.bz2) = 435510 diff --git a/x11-themes/gtk-qt-engine/files/patch-src__qt_theme_draw.c b/x11-themes/gtk-qt-engine/files/patch-src__qt_theme_draw.c new file mode 100644 index 000000000..f00c01836 --- /dev/null +++ b/x11-themes/gtk-qt-engine/files/patch-src__qt_theme_draw.c @@ -0,0 +1,10 @@ +--- src/qt_theme_draw.c.orig Thu Nov 10 16:23:45 2005 ++++ src/qt_theme_draw.c Thu Nov 10 16:24:55 2005 +@@ -1777,6 +1777,7 @@ + { + pixmap = pix_test; + parent_relative = FALSE; ++ gdk_drawable_set_colormap(pixmap, style->colormap); + } + + gdk_window_set_back_pixmap (window, pixmap, parent_relative); diff --git a/x11-themes/gtk-qt-engine/pkg-descr b/x11-themes/gtk-qt-engine/pkg-descr new file mode 100644 index 000000000..6a3238645 --- /dev/null +++ b/x11-themes/gtk-qt-engine/pkg-descr @@ -0,0 +1,7 @@ +GTK-QT Theme Engine allows GTK2 apps to use QT (KDE) themes +so that they fit in more nicely with KDE. Includes a KDE +control center module for GTK theme selection. + +WWW: http://www.freedesktop.org/Software/gtk-qt + +Author: David Sansome <me@davidsansome.com> diff --git a/x11-themes/gtk-qt-engine/pkg-plist b/x11-themes/gtk-qt-engine/pkg-plist new file mode 100644 index 000000000..e29df42b7 --- /dev/null +++ b/x11-themes/gtk-qt-engine/pkg-plist @@ -0,0 +1,15 @@ +lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.a +lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.la +lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.so +share/gtk-qt-engine/kde-index.theme +share/themes/Qt/gtk-2.0/gtkrc +@cwd %%LOCALBASE%% +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 +@cwd %%X11BASE%% +@dirrm share/themes/Qt/gtk-2.0 +@dirrm share/themes/Qt +@dirrm share/gtk-qt-engine |