mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Add gtk-qt-engine 0.3, a GTK-QT Theme Engine allowing GTK2 to use
QT widget styles. PR: 63282 Submitted by: Danny Pansters <danny@ricin.com>
This commit is contained in:
parent
336ab02dbb
commit
9a2cb0469c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110430
41
x11-themes/gtk-qt-engine/Makefile
Normal file
41
x11-themes/gtk-qt-engine/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# 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.3
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= http://www.freedesktop.org/Software/gtk-qt/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= The GTK-QT Theme Engine allows GTK2 to use QT widget styles
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LIBTOOL_VER= 13
|
||||
WANT_GNOME= no
|
||||
USE_GNOME= gnomehack gtk20
|
||||
USE_QT_VER= 3
|
||||
USE_GCC= 3.3
|
||||
USE_REINPLACE= yes
|
||||
|
||||
PLIST_SUB= GTK_VER=2.4.0
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
pre-configure:
|
||||
@${RM} -f ${WRKSRC}/config.cache
|
||||
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
@${SED} -e "s:/usr/X11R6:${PREFIX}:" ${FILESDIR}/pkg-message.in \
|
||||
> ${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11-themes/gtk-qt-engine/distinfo
Normal file
2
x11-themes/gtk-qt-engine/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (gtk-qt-engine-0.3.tar.bz2) = 0685783bec472b682366f213134a6b3c
|
||||
SIZE (gtk-qt-engine-0.3.tar.bz2) = 170845
|
32
x11-themes/gtk-qt-engine/files/patch-configure
Normal file
32
x11-themes/gtk-qt-engine/files/patch-configure
Normal file
@ -0,0 +1,32 @@
|
||||
--- configure.orig Sun May 30 23:55:02 2004
|
||||
+++ configure Sun May 30 23:57:33 2004
|
||||
@@ -5733,12 +5733,15 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
|
||||
-# Prevent multiple expansion
|
||||
+# We have pkg-config in /usr/local, while gtk stuff is /usr/X11R6
|
||||
+PKG_CONFIG=%%LOCALBASE%%/bin/pkg-config
|
||||
|
||||
+# Prevent multiple expansion
|
||||
|
||||
|
||||
|
||||
@@ -5790,7 +5793,11 @@
|
||||
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
||||
else
|
||||
PKG_CONFIG_MIN_VERSION=0.9.0
|
||||
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
||||
+ # This seems to just decide that 0.9.0 > 0.15.0 which is not helpful
|
||||
+ #if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
||||
+ VER=`$PKG_CONFIG --version | sed s/"\."//g`
|
||||
+ MINVER=090
|
||||
+ if [ $VER -ge $MINVER ]; then
|
||||
echo $ac_n "checking for gtk+-2.0 >= 2.0.0""... $ac_c" 1>&6
|
||||
echo "configure:5796: checking for gtk+-2.0 >= 2.0.0" >&5
|
||||
|
11
x11-themes/gtk-qt-engine/files/patch-makefile.in
Normal file
11
x11-themes/gtk-qt-engine/files/patch-makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Mon Feb 23 16:14:53 2004
|
||||
+++ Makefile.in Mon Feb 23 16:35:40 2004
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
SUBDIRS = Theme
|
||||
|
||||
-QTDIR = /usr/lib/qt3
|
||||
+QTDIR = $(PREFIX)
|
||||
|
||||
INCLUDES = $(QTENGINE_CFLAGS) -I$(QTDIR)/include/
|
||||
|
9
x11-themes/gtk-qt-engine/files/patch-qt_theme_draw.c
Normal file
9
x11-themes/gtk-qt-engine/files/patch-qt_theme_draw.c
Normal file
@ -0,0 +1,9 @@
|
||||
--- qt_theme_draw.c.orig Mon Feb 9 19:50:12 2004
|
||||
+++ qt_theme_draw.c Tue Mar 30 02:09:08 2004
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
+#include <gdk/gdk.h>
|
||||
#include <gtk/gtkprogressbar.h>
|
||||
#include <gtk/gtkrange.h>
|
||||
#include <gtk/gtknotebook.h>
|
7
x11-themes/gtk-qt-engine/files/pkg-message.in
Normal file
7
x11-themes/gtk-qt-engine/files/pkg-message.in
Normal file
@ -0,0 +1,7 @@
|
||||
=====================================================
|
||||
NOTE: Add the following line to your ~/.gtkrc-2.0 :
|
||||
|
||||
include "/usr/X11R6/share/themes/Qt/gtk-2.0/gtkrc"
|
||||
|
||||
More info: http://www.freedesktop.org/Software/gtk-qt
|
||||
=====================================================
|
5
x11-themes/gtk-qt-engine/pkg-descr
Normal file
5
x11-themes/gtk-qt-engine/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
The GTK-QT Theme Engine allows GTK2 to use QT widget styles.
|
||||
|
||||
WWW: http://www.freedesktop.org/Software/gtk-qt
|
||||
|
||||
David Sansome <me@davidsansome.com>
|
7
x11-themes/gtk-qt-engine/pkg-plist
Normal file
7
x11-themes/gtk-qt-engine/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.so
|
||||
libdata/pkgconfig/gtk-qt-engine-2.pc
|
||||
share/themes/Qt/ICON.png
|
||||
share/themes/Qt/README.html
|
||||
share/themes/Qt/gtk-2.0/gtkrc
|
||||
@dirrm share/themes/Qt/gtk-2.0
|
||||
@dirrm share/themes/Qt
|
41
x11-themes/gtk-qt4-engine/Makefile
Normal file
41
x11-themes/gtk-qt4-engine/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# 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.3
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= http://www.freedesktop.org/Software/gtk-qt/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= The GTK-QT Theme Engine allows GTK2 to use QT widget styles
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LIBTOOL_VER= 13
|
||||
WANT_GNOME= no
|
||||
USE_GNOME= gnomehack gtk20
|
||||
USE_QT_VER= 3
|
||||
USE_GCC= 3.3
|
||||
USE_REINPLACE= yes
|
||||
|
||||
PLIST_SUB= GTK_VER=2.4.0
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
pre-configure:
|
||||
@${RM} -f ${WRKSRC}/config.cache
|
||||
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
@${SED} -e "s:/usr/X11R6:${PREFIX}:" ${FILESDIR}/pkg-message.in \
|
||||
> ${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11-themes/gtk-qt4-engine/distinfo
Normal file
2
x11-themes/gtk-qt4-engine/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (gtk-qt-engine-0.3.tar.bz2) = 0685783bec472b682366f213134a6b3c
|
||||
SIZE (gtk-qt-engine-0.3.tar.bz2) = 170845
|
32
x11-themes/gtk-qt4-engine/files/patch-configure
Normal file
32
x11-themes/gtk-qt4-engine/files/patch-configure
Normal file
@ -0,0 +1,32 @@
|
||||
--- configure.orig Sun May 30 23:55:02 2004
|
||||
+++ configure Sun May 30 23:57:33 2004
|
||||
@@ -5733,12 +5733,15 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
|
||||
-# Prevent multiple expansion
|
||||
+# We have pkg-config in /usr/local, while gtk stuff is /usr/X11R6
|
||||
+PKG_CONFIG=%%LOCALBASE%%/bin/pkg-config
|
||||
|
||||
+# Prevent multiple expansion
|
||||
|
||||
|
||||
|
||||
@@ -5790,7 +5793,11 @@
|
||||
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
||||
else
|
||||
PKG_CONFIG_MIN_VERSION=0.9.0
|
||||
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
||||
+ # This seems to just decide that 0.9.0 > 0.15.0 which is not helpful
|
||||
+ #if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
||||
+ VER=`$PKG_CONFIG --version | sed s/"\."//g`
|
||||
+ MINVER=090
|
||||
+ if [ $VER -ge $MINVER ]; then
|
||||
echo $ac_n "checking for gtk+-2.0 >= 2.0.0""... $ac_c" 1>&6
|
||||
echo "configure:5796: checking for gtk+-2.0 >= 2.0.0" >&5
|
||||
|
11
x11-themes/gtk-qt4-engine/files/patch-makefile.in
Normal file
11
x11-themes/gtk-qt4-engine/files/patch-makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Mon Feb 23 16:14:53 2004
|
||||
+++ Makefile.in Mon Feb 23 16:35:40 2004
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
SUBDIRS = Theme
|
||||
|
||||
-QTDIR = /usr/lib/qt3
|
||||
+QTDIR = $(PREFIX)
|
||||
|
||||
INCLUDES = $(QTENGINE_CFLAGS) -I$(QTDIR)/include/
|
||||
|
9
x11-themes/gtk-qt4-engine/files/patch-qt_theme_draw.c
Normal file
9
x11-themes/gtk-qt4-engine/files/patch-qt_theme_draw.c
Normal file
@ -0,0 +1,9 @@
|
||||
--- qt_theme_draw.c.orig Mon Feb 9 19:50:12 2004
|
||||
+++ qt_theme_draw.c Tue Mar 30 02:09:08 2004
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
+#include <gdk/gdk.h>
|
||||
#include <gtk/gtkprogressbar.h>
|
||||
#include <gtk/gtkrange.h>
|
||||
#include <gtk/gtknotebook.h>
|
7
x11-themes/gtk-qt4-engine/files/pkg-message.in
Normal file
7
x11-themes/gtk-qt4-engine/files/pkg-message.in
Normal file
@ -0,0 +1,7 @@
|
||||
=====================================================
|
||||
NOTE: Add the following line to your ~/.gtkrc-2.0 :
|
||||
|
||||
include "/usr/X11R6/share/themes/Qt/gtk-2.0/gtkrc"
|
||||
|
||||
More info: http://www.freedesktop.org/Software/gtk-qt
|
||||
=====================================================
|
5
x11-themes/gtk-qt4-engine/pkg-descr
Normal file
5
x11-themes/gtk-qt4-engine/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
The GTK-QT Theme Engine allows GTK2 to use QT widget styles.
|
||||
|
||||
WWW: http://www.freedesktop.org/Software/gtk-qt
|
||||
|
||||
David Sansome <me@davidsansome.com>
|
7
x11-themes/gtk-qt4-engine/pkg-plist
Normal file
7
x11-themes/gtk-qt4-engine/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.so
|
||||
libdata/pkgconfig/gtk-qt-engine-2.pc
|
||||
share/themes/Qt/ICON.png
|
||||
share/themes/Qt/README.html
|
||||
share/themes/Qt/gtk-2.0/gtkrc
|
||||
@dirrm share/themes/Qt/gtk-2.0
|
||||
@dirrm share/themes/Qt
|
@ -58,6 +58,7 @@
|
||||
SUBDIR += gtk-industrial-theme
|
||||
SUBDIR += gtk-qn-x11-theme
|
||||
SUBDIR += gtk-qnxtheme
|
||||
SUBDIR += gtk-qt-engine
|
||||
SUBDIR += gtk-sharp
|
||||
SUBDIR += gtk-smooth-engine
|
||||
SUBDIR += gtk-xfce-engine
|
||||
|
41
x11-toolkits/gtk-qt-engine/Makefile
Normal file
41
x11-toolkits/gtk-qt-engine/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# 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.3
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= http://www.freedesktop.org/Software/gtk-qt/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= The GTK-QT Theme Engine allows GTK2 to use QT widget styles
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LIBTOOL_VER= 13
|
||||
WANT_GNOME= no
|
||||
USE_GNOME= gnomehack gtk20
|
||||
USE_QT_VER= 3
|
||||
USE_GCC= 3.3
|
||||
USE_REINPLACE= yes
|
||||
|
||||
PLIST_SUB= GTK_VER=2.4.0
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
pre-configure:
|
||||
@${RM} -f ${WRKSRC}/config.cache
|
||||
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
@${SED} -e "s:/usr/X11R6:${PREFIX}:" ${FILESDIR}/pkg-message.in \
|
||||
> ${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11-toolkits/gtk-qt-engine/distinfo
Normal file
2
x11-toolkits/gtk-qt-engine/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (gtk-qt-engine-0.3.tar.bz2) = 0685783bec472b682366f213134a6b3c
|
||||
SIZE (gtk-qt-engine-0.3.tar.bz2) = 170845
|
32
x11-toolkits/gtk-qt-engine/files/patch-configure
Normal file
32
x11-toolkits/gtk-qt-engine/files/patch-configure
Normal file
@ -0,0 +1,32 @@
|
||||
--- configure.orig Sun May 30 23:55:02 2004
|
||||
+++ configure Sun May 30 23:57:33 2004
|
||||
@@ -5733,12 +5733,15 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
|
||||
-# Prevent multiple expansion
|
||||
+# We have pkg-config in /usr/local, while gtk stuff is /usr/X11R6
|
||||
+PKG_CONFIG=%%LOCALBASE%%/bin/pkg-config
|
||||
|
||||
+# Prevent multiple expansion
|
||||
|
||||
|
||||
|
||||
@@ -5790,7 +5793,11 @@
|
||||
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
||||
else
|
||||
PKG_CONFIG_MIN_VERSION=0.9.0
|
||||
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
||||
+ # This seems to just decide that 0.9.0 > 0.15.0 which is not helpful
|
||||
+ #if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
||||
+ VER=`$PKG_CONFIG --version | sed s/"\."//g`
|
||||
+ MINVER=090
|
||||
+ if [ $VER -ge $MINVER ]; then
|
||||
echo $ac_n "checking for gtk+-2.0 >= 2.0.0""... $ac_c" 1>&6
|
||||
echo "configure:5796: checking for gtk+-2.0 >= 2.0.0" >&5
|
||||
|
11
x11-toolkits/gtk-qt-engine/files/patch-makefile.in
Normal file
11
x11-toolkits/gtk-qt-engine/files/patch-makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Mon Feb 23 16:14:53 2004
|
||||
+++ Makefile.in Mon Feb 23 16:35:40 2004
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
SUBDIRS = Theme
|
||||
|
||||
-QTDIR = /usr/lib/qt3
|
||||
+QTDIR = $(PREFIX)
|
||||
|
||||
INCLUDES = $(QTENGINE_CFLAGS) -I$(QTDIR)/include/
|
||||
|
9
x11-toolkits/gtk-qt-engine/files/patch-qt_theme_draw.c
Normal file
9
x11-toolkits/gtk-qt-engine/files/patch-qt_theme_draw.c
Normal file
@ -0,0 +1,9 @@
|
||||
--- qt_theme_draw.c.orig Mon Feb 9 19:50:12 2004
|
||||
+++ qt_theme_draw.c Tue Mar 30 02:09:08 2004
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
+#include <gdk/gdk.h>
|
||||
#include <gtk/gtkprogressbar.h>
|
||||
#include <gtk/gtkrange.h>
|
||||
#include <gtk/gtknotebook.h>
|
7
x11-toolkits/gtk-qt-engine/files/pkg-message.in
Normal file
7
x11-toolkits/gtk-qt-engine/files/pkg-message.in
Normal file
@ -0,0 +1,7 @@
|
||||
=====================================================
|
||||
NOTE: Add the following line to your ~/.gtkrc-2.0 :
|
||||
|
||||
include "/usr/X11R6/share/themes/Qt/gtk-2.0/gtkrc"
|
||||
|
||||
More info: http://www.freedesktop.org/Software/gtk-qt
|
||||
=====================================================
|
5
x11-toolkits/gtk-qt-engine/pkg-descr
Normal file
5
x11-toolkits/gtk-qt-engine/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
The GTK-QT Theme Engine allows GTK2 to use QT widget styles.
|
||||
|
||||
WWW: http://www.freedesktop.org/Software/gtk-qt
|
||||
|
||||
David Sansome <me@davidsansome.com>
|
7
x11-toolkits/gtk-qt-engine/pkg-plist
Normal file
7
x11-toolkits/gtk-qt-engine/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
lib/gtk-2.0/%%GTK_VER%%/engines/libqtengine.so
|
||||
libdata/pkgconfig/gtk-qt-engine-2.pc
|
||||
share/themes/Qt/ICON.png
|
||||
share/themes/Qt/README.html
|
||||
share/themes/Qt/gtk-2.0/gtkrc
|
||||
@dirrm share/themes/Qt/gtk-2.0
|
||||
@dirrm share/themes/Qt
|
Loading…
Reference in New Issue
Block a user