summaryrefslogtreecommitdiff
path: root/devel/glade--/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glade--/files')
-rw-r--r--devel/glade--/files/patch-aa18
-rw-r--r--devel/glade--/files/patch-ab17
-rw-r--r--devel/glade--/files/patch-ac34
3 files changed, 69 insertions, 0 deletions
diff --git a/devel/glade--/files/patch-aa b/devel/glade--/files/patch-aa
new file mode 100644
index 000000000000..091fe2201bd4
--- /dev/null
+++ b/devel/glade--/files/patch-aa
@@ -0,0 +1,18 @@
+--- configure.orig Wed Jun 7 02:49:17 2000
++++ configure Tue Oct 10 12:34:46 2000
+@@ -2065,11 +2065,11 @@
+
+ echo $ac_n "checking your gtk version""... $ac_c" 1>&6
+ echo "configure:2068: checking your gtk version" >&5
+-case `gtk-config --version` in
++case `$GTK_CONFIG --version` in
+ *.*.*)
+- GTK_MAJOR=`gtk-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+- GTK_MINOR=`gtk-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
+- GTK_MICRO=`gtk-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
++ GTK_MAJOR=`$GTK_CONFIG --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
++ GTK_MINOR=`$GTK_CONFIG --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
++ GTK_MICRO=`$GTK_CONFIG --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
+ ;;
+ *)
+ echo "configure: warning: Can't determine your gtk version, assuming 1.2.2" 1>&2
diff --git a/devel/glade--/files/patch-ab b/devel/glade--/files/patch-ab
new file mode 100644
index 000000000000..128593b9be65
--- /dev/null
+++ b/devel/glade--/files/patch-ab
@@ -0,0 +1,17 @@
+--- src/glade--.cc.orig Thu May 4 06:02:30 2000
++++ src/glade--.cc Tue Oct 10 12:36:14 2000
+@@ -89,3 +89,3 @@
+ { char buf[80];
+- FILE *f=popen("gtk-config --version","r");
++ FILE *f=popen("%%GTK_CONFIG%% --version","r");
+ if (f)
+@@ -98,3 +98,3 @@
+ Configuration.gtk_version=v;
+- else cerr << "gtk-config --version: strange result '" << buf << "'\n";
++ else cerr << "%%GTK_CONFIG%% --version: strange result '" << buf << "'\n";
+ }
+@@ -102,3 +102,3 @@
+ }
+- else perror("gtk-config");
++ else perror("%%GTK_CONFIG%%");
+ f=popen("gtkmm-config --version","r");
diff --git a/devel/glade--/files/patch-ac b/devel/glade--/files/patch-ac
new file mode 100644
index 000000000000..a21b642c4b64
--- /dev/null
+++ b/devel/glade--/files/patch-ac
@@ -0,0 +1,34 @@
+--- src/Cxx.cc.orig Wed May 3 10:13:56 2000
++++ src/Cxx.cc Tue Oct 10 12:50:19 2000
+@@ -491,10 +491,3 @@
+ if (Configuration.gnome_support)
+- f << "if test -r /usr/lib/gnomemmConf.sh ; then\n"
+- " source /usr/lib/gnomemmConf.sh\n"
+- "elif test -r /opt/gnome/lib/gnomemmConf.sh ; then\n"
+- " source /opt/gnome/lib/gnomemmConf.sh\n"
+- "elif test -r /usr/local/lib/gnomemmConf.sh ; then\n"
+- " source /usr/local/lib/gnomemmConf.sh\n"
+- "else echo \"Cant find gnomemmConf.sh.\"\n"
+- "fi\n"
++ f << "source %%X11BASE%%/etc/gnomemmConf.sh\n"
+ "AC_SUBST(GNOMEMM_INCLUDEDIR)\n"
+@@ -540,17 +533,5 @@
+ if (Configuration.gnome_support)
+- f << "# Search for glade\\'s gnome.m4 directory (contains gnome macros).\n"
+- "# If you include gnome-common/macros in your application (recommended)\n"
+- "# also replace this autogen.sh.\n"
+- "if [ -r /opt/gnome/share/glade/gnome/gnome.m4 ]\n"
+- "then \n"
+- " aclocal -I /opt/gnome/share/glade/gnome\n"
+- "elif [ -r /usr/local/share/glade/gnome/gnome.m4 ]\n"
+- "then\n"
+- " aclocal -I /usr/local/share/glade/gnome\n"
+- "else\n"
+- " echo \"Can't find glade's gnome.m4 directory (gnome macros)\"\n"
+- " exit 2\n"
+- "fi\n";
++ f << "aclocal -I %%X11BASE%%/share/aclocal -I %%X11BASE%%/share/gnome/glade/gnome\n";
+ else
+- f << "aclocal\n";
++ f << "aclocal -I %%X11BASE%%/share/aclocal\n";
+ f << "automake --add-missing --copy --gnu\n"