mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Repocopy x11-toolkits/gtk-qt-engine to x11-themes/gtk-qt-engine.
PR: ports/67415 Submitted by: thierry Requested by: pav Repocopied by: marcus.
This commit is contained in:
parent
b9603077c3
commit
214334beb7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110641
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gtk-qt-engine
|
||||
PORTVERSION= 0.3
|
||||
CATEGORIES= x11-toolkits
|
||||
CATEGORIES= x11-themes
|
||||
MASTER_SITES= http://www.freedesktop.org/Software/gtk-qt/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gtk-qt-engine
|
||||
PORTVERSION= 0.3
|
||||
CATEGORIES= x11-toolkits
|
||||
CATEGORIES= x11-themes
|
||||
MASTER_SITES= http://www.freedesktop.org/Software/gtk-qt/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
@ -1,40 +0,0 @@
|
||||
# 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_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>
|
@ -1,2 +0,0 @@
|
||||
MD5 (gtk-qt-engine-0.3.tar.bz2) = 0685783bec472b682366f213134a6b3c
|
||||
SIZE (gtk-qt-engine-0.3.tar.bz2) = 170845
|
@ -1,32 +0,0 @@
|
||||
--- 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
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- 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/
|
||||
|
@ -1,78 +0,0 @@
|
||||
--- qt_theme_draw.c.orig Mon May 31 01:16:28 2004
|
||||
+++ qt_theme_draw.c Mon May 31 03:19:50 2004
|
||||
@@ -257,6 +256,9 @@
|
||||
gint height)
|
||||
{
|
||||
|
||||
+GdkGC *gc1 = NULL;
|
||||
+GdkGC *gc2 = NULL;
|
||||
+
|
||||
if (!widget) return;
|
||||
|
||||
sanitize_size(window, &width, &height);
|
||||
@@ -300,8 +302,6 @@
|
||||
}
|
||||
|
||||
return;
|
||||
- GdkGC *gc1 = NULL;
|
||||
- GdkGC *gc2 = NULL;
|
||||
|
||||
g_return_if_fail(style != NULL);
|
||||
g_return_if_fail(window != NULL);
|
||||
@@ -687,9 +687,6 @@
|
||||
GtkArrowType arrow_type,
|
||||
gint fill, gint x, gint y, gint width, gint height)
|
||||
{
|
||||
- if (DETAIL("hscrollbar") || DETAIL("vscrollbar"))
|
||||
- return;
|
||||
- /*printf("Arrow (%d,%d,%d,%d) Widget: %s Detail: %s\n",x,y,width,height,gtk_widget_get_name(widget),detail);*/
|
||||
GdkGC *gc1;
|
||||
GdkGC *gc2;
|
||||
GdkGC *gc3;
|
||||
@@ -698,6 +695,10 @@
|
||||
gint half_height;
|
||||
gint ax, ay, aw, ah;
|
||||
|
||||
+ if (DETAIL("hscrollbar") || DETAIL("vscrollbar"))
|
||||
+ return;
|
||||
+ /*printf("Arrow (%d,%d,%d,%d) Widget: %s Detail: %s\n",x,y,width,height,gtk_widget_get_name(widget),detail);*/
|
||||
+
|
||||
g_return_if_fail(style != NULL);
|
||||
g_return_if_fail(window != NULL);
|
||||
|
||||
@@ -1095,7 +1096,10 @@
|
||||
gint y,
|
||||
gint width,
|
||||
gint height)
|
||||
-{
|
||||
+{
|
||||
+ GdkGC *light_gc, *dark_gc;
|
||||
+ GtkOrientation orientation;
|
||||
+
|
||||
sanitize_size(window, &width, &height);
|
||||
/*printf("Box (%d,%d,%d,%d) Widget: %s Detail: %s\n",x,y,width,height,gtk_widget_get_name(widget),detail);*/
|
||||
if (WIDGET("GtkHScrollbar") || WIDGET("GtkVScrollbar"))
|
||||
@@ -1136,9 +1140,6 @@
|
||||
|
||||
/*printf("Box (%d,%d,%d,%d) Widget: %s Detail: %s\n",x,y,width,height,gtk_widget_get_name(widget),detail);*/
|
||||
|
||||
- GdkGC *light_gc, *dark_gc;
|
||||
- GtkOrientation orientation;
|
||||
-
|
||||
g_return_if_fail(style != NULL);
|
||||
g_return_if_fail(window != NULL);
|
||||
|
||||
@@ -1716,12 +1717,12 @@
|
||||
gint height,
|
||||
GtkOrientation orientation)
|
||||
{
|
||||
- return;
|
||||
GdkPoint pointsh[7];
|
||||
GdkRegion *clipreg;
|
||||
GdkRectangle rec;
|
||||
int i, rect = FALSE, midlines = MARKS_SLASH;
|
||||
int modx, mody;
|
||||
+ return;
|
||||
|
||||
|
||||
g_return_if_fail(style != NULL);
|
@ -1,7 +0,0 @@
|
||||
=====================================================
|
||||
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
|
||||
=====================================================
|
@ -1,5 +0,0 @@
|
||||
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>
|
@ -1,7 +0,0 @@
|
||||
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