summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk-qt-engine/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk-qt-engine/files')
-rw-r--r--x11-toolkits/gtk-qt-engine/files/patch-configure32
-rw-r--r--x11-toolkits/gtk-qt-engine/files/patch-makefile.in11
-rw-r--r--x11-toolkits/gtk-qt-engine/files/patch-qt_theme_draw.c9
-rw-r--r--x11-toolkits/gtk-qt-engine/files/pkg-message.in7
4 files changed, 59 insertions, 0 deletions
diff --git a/x11-toolkits/gtk-qt-engine/files/patch-configure b/x11-toolkits/gtk-qt-engine/files/patch-configure
new file mode 100644
index 000000000000..f5fb108707f1
--- /dev/null
+++ b/x11-toolkits/gtk-qt-engine/files/patch-configure
@@ -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
+
diff --git a/x11-toolkits/gtk-qt-engine/files/patch-makefile.in b/x11-toolkits/gtk-qt-engine/files/patch-makefile.in
new file mode 100644
index 000000000000..e46ca6a3751e
--- /dev/null
+++ b/x11-toolkits/gtk-qt-engine/files/patch-makefile.in
@@ -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/
+
diff --git a/x11-toolkits/gtk-qt-engine/files/patch-qt_theme_draw.c b/x11-toolkits/gtk-qt-engine/files/patch-qt_theme_draw.c
new file mode 100644
index 000000000000..665215cd1b4f
--- /dev/null
+++ b/x11-toolkits/gtk-qt-engine/files/patch-qt_theme_draw.c
@@ -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>
diff --git a/x11-toolkits/gtk-qt-engine/files/pkg-message.in b/x11-toolkits/gtk-qt-engine/files/pkg-message.in
new file mode 100644
index 000000000000..8ba3b9ec025d
--- /dev/null
+++ b/x11-toolkits/gtk-qt-engine/files/pkg-message.in
@@ -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
+=====================================================