summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk12
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-19 00:55:13 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-19 00:55:13 +0800
commit2e35a4f026ad6019b5c15650f66e3642c491f502 (patch)
tree9e1eda29566712652cd0b0093db711e0e4dc3966 /x11-toolkits/gtk12
parenta89d3ae00c9679c9f929d3a93a484027d5c79933 (diff)
downloadmarcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar
marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.gz
marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.bz2
marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.lz
marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.xz
marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.zst
marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6640 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gtk12')
-rw-r--r--x11-toolkits/gtk12/Makefile51
-rw-r--r--x11-toolkits/gtk12/distinfo3
-rw-r--r--x11-toolkits/gtk12/files/patch-aa28
-rw-r--r--x11-toolkits/gtk12/files/patch-ab19
-rw-r--r--x11-toolkits/gtk12/files/patch-ad45
-rw-r--r--x11-toolkits/gtk12/files/patch-ae34
-rw-r--r--x11-toolkits/gtk12/files/patch-af11
-rw-r--r--x11-toolkits/gtk12/files/patch-ag52
-rw-r--r--x11-toolkits/gtk12/files/patch-ah11
-rw-r--r--x11-toolkits/gtk12/files/patch-gdk.pc.in10
-rw-r--r--x11-toolkits/gtk12/files/patch-gdk::Makefile.in11
-rw-r--r--x11-toolkits/gtk12/files/patch-gdk::gdkimage.c11
-rw-r--r--x11-toolkits/gtk12/files/patch-gtk+.pc.in9
-rw-r--r--x11-toolkits/gtk12/pkg-descr19
-rw-r--r--x11-toolkits/gtk12/pkg-plist233
15 files changed, 547 insertions, 0 deletions
diff --git a/x11-toolkits/gtk12/Makefile b/x11-toolkits/gtk12/Makefile
new file mode 100644
index 000000000..6cb00da72
--- /dev/null
+++ b/x11-toolkits/gtk12/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: gtk12
+# Date Created: 28 Sep 1997
+# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gtk
+PORTVERSION= 1.2.10
+PORTREVISION= 16
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gtk+/1.2
+DISTNAME= gtk+-${PORTVERSION}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Gimp Toolkit for X11 GUI (previous stable version)
+
+USE_XLIB= yes
+USE_PERL5= yes
+USE_GNOME= glib12
+INSTALLS_SHLIB= yes
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12 --with-native-locale \
+ --with-xinput=xfree
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ X_CFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+INFO= gdk gtk
+MAN1= gtk-config.1
+
+pre-build:
+ ${RM} -rf ${WRKSRC}/docs/gtk.info*
+
+post-install:
+ @${MKDIR} ${PREFIX}/lib/gtk/themes/engines
+ @${LN} -sf ${PREFIX}/bin/gtk-config ${PREFIX}/bin/gtk12-config
+.for lib in gdk gtk
+ @${RM} ${PREFIX}/lib/lib${lib}.la ${PREFIX}/lib/lib${lib}.so
+ @${MV} ${PREFIX}/lib/lib${lib}.a ${PREFIX}/lib/lib${lib}-12.a
+.endfor
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/gtk12/distinfo b/x11-toolkits/gtk12/distinfo
new file mode 100644
index 000000000..dfd06caf4
--- /dev/null
+++ b/x11-toolkits/gtk12/distinfo
@@ -0,0 +1,3 @@
+MD5 (gtk+-1.2.10.tar.gz) = 4d5cb2fc7fb7830e4af9747a36bfce20
+SHA256 (gtk+-1.2.10.tar.gz) = 3fb843ea671c89b909fd145fa09fd2276af3312e58cbab29ed1c93b462108c34
+SIZE (gtk+-1.2.10.tar.gz) = 2868322
diff --git a/x11-toolkits/gtk12/files/patch-aa b/x11-toolkits/gtk12/files/patch-aa
new file mode 100644
index 000000000..258db1343
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-aa
@@ -0,0 +1,28 @@
+--- Makefile.in.orig Sun Apr 1 23:14:07 2001
++++ Makefile.in Wed Nov 20 14:56:58 2002
+@@ -35,7 +35,7 @@
+ DESTDIR =
+
+ pkgdatadir = $(datadir)/@PACKAGE@
+-pkglibdir = $(libdir)/@PACKAGE@
++pkglibdir = $(prefix)/libdata/pkgconfig
+ pkgincludedir = $(includedir)/@PACKAGE@
+
+ top_builddir = .
+@@ -136,7 +136,7 @@
+ EXTRA_DIST = HACKING gtk+.spec.in gtk.m4 makecopyright TODO NEWS.pre-1-0 ChangeLog.pre-1-0 README.cvs-commits intl/libgettext.h intl/po2tbl.sed.in examples/aspectframe/Makefile examples/aspectframe/aspectframe.c examples/Makefile examples/README.1ST examples/extract.awk examples/extract.sh examples/base/Makefile examples/base/base.c examples/buttons/Makefile examples/buttons/buttons.c examples/buttons/info.xpm examples/calendar/Makefile examples/calendar/calendar.c examples/clist/Makefile examples/clist/clist.c examples/entry/Makefile examples/entry/entry.c examples/eventbox/Makefile examples/eventbox/eventbox.c examples/filesel/Makefile examples/filesel/filesel.c examples/gtkdial/Makefile examples/gtkdial/dial_test.c examples/gtkdial/gtkdial.c examples/gtkdial/gtkdial.h examples/helloworld/Makefile examples/helloworld/helloworld.c examples/helloworld2/Makefile examples/helloworld2/helloworld2.c examples/list/Makefile examples/list/list.c examples/menu/Makefile examples/menu/menu.c examples/menu/itemfactory.c examples/notebook/Makefile examples/notebook/notebook.c examples/packbox/Makefile examples/packbox/packbox.c examples/packer/Makefile examples/packer/pack.c examples/paned/Makefile examples/paned/paned.c examples/pixmap/Makefile examples/pixmap/pixmap.c examples/progressbar/Makefile examples/progressbar/progressbar.c examples/radiobuttons/Makefile examples/radiobuttons/radiobuttons.c examples/rangewidgets/Makefile examples/rangewidgets/rangewidgets.c examples/rulers/Makefile examples/rulers/rulers.c examples/scribble-simple/Makefile examples/scribble-simple/scribble-simple.c examples/scrolledwin/Makefile examples/scrolledwin/scrolledwin.c examples/selection/Makefile examples/selection/gettargets.c examples/selection/setselection.c examples/statusbar/Makefile examples/statusbar/statusbar.c examples/table/Makefile examples/table/table.c examples/text/Makefile examples/text/text.c examples/tictactoe/Makefile examples/tictactoe/tictactoe.c examples/tictactoe/tictactoe.h examples/tictactoe/ttt_test.c examples/tree/Makefile examples/tree/tree.c examples/wheelbarrow/Makefile examples/wheelbarrow/wheelbarrow.c examples/fixed/fixed.c examples/fixed/Makefile examples/frame/frame.c examples/frame/Makefile examples/spinbutton/spinbutton.c examples/spinbutton/Makefile examples/find-examples.sh gdk.pc.in gtk+.pc.in
+
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(pkglibdir)
+ pkgconfig_DATA = gdk.pc gtk+.pc
+
+ m4datadir = $(datadir)/aclocal
+@@ -438,7 +438,6 @@
+ || exit 1; \
+ fi; \
+ done
+- $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+ info-am:
+ info: info-recursive
+ dvi-am:
diff --git a/x11-toolkits/gtk12/files/patch-ab b/x11-toolkits/gtk12/files/patch-ab
new file mode 100644
index 000000000..5ef60b088
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-ab
@@ -0,0 +1,19 @@
+--- gtk-config.in.orig Sat Oct 21 18:20:40 2000
++++ gtk-config.in Tue Mar 6 10:11:59 2001
+@@ -91,7 +91,7 @@
+ fi
+
+ if test "$echo_cflags" = "yes"; then
+- echo -I@includedir@/gtk-1.2 $glib_cflags @x_cflags@
++ echo -I@includedir@ $glib_cflags @x_cflags@
+ fi
+
+ if test "$echo_libs" = "yes"; then
+@@ -107,6 +107,6 @@
+ fi
+ done
+
+- echo $libdirs @x_ldflags@ -lgtk -lgdk $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ -lm
++ echo $libdirs @x_ldflags@ -lgtk-@LT_RELEASE@ -lgdk-@LT_RELEASE@ $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ -lm
+ fi
+
diff --git a/x11-toolkits/gtk12/files/patch-ad b/x11-toolkits/gtk12/files/patch-ad
new file mode 100644
index 000000000..71121eda4
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-ad
@@ -0,0 +1,45 @@
+--- gtk/gtkrc.c.orig Thu Mar 15 13:41:40 2001
++++ gtk/gtkrc.c Fri Apr 16 00:24:54 2004
+@@ -260,9 +260,9 @@
+
+ var = getenv("GTK_DATA_PREFIX");
+ if (var)
+- path = g_strdup_printf("%s%s", var, "/share/gtk/themes");
++ path = g_strdup_printf("%s%s", var, "/share/themes");
+ else
+- path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/gtk/themes");
++ path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/themes");
+
+ for (n = 0; pixmap_path[n]; n++) ;
+ if (n >= GTK_RC_MAX_PIXMAP_PATHS - 1)
+@@ -294,7 +294,7 @@
+
+ var = g_get_home_dir ();
+ if (var)
+- module_path[n++] = g_strdup_printf("%s%s", var, "/.gtk/lib/themes/engines");
++ module_path[n++] = g_strdup_printf("%s%s", var, "/.gtk/themes/engines");
+ module_path[n] = NULL;
+ }
+
+@@ -312,6 +312,10 @@
+ gtk_rc_default_files[0] = NULL;
+ init = TRUE;
+
++ str = g_strdup_printf ("%s%s", GTK_SYSCONFDIR, "/gtkrc");
++ gtk_rc_add_default_file (str);
++ g_free (str);
++
+ var = getenv("GTK_RC_FILES");
+ if (var)
+ {
+@@ -326,10 +330,6 @@
+ }
+ else
+ {
+- str = g_strdup_printf ("%s%s", GTK_SYSCONFDIR, "/gtk/gtkrc");
+- gtk_rc_add_default_file (str);
+- g_free (str);
+-
+ var = g_get_home_dir ();
+ if (var)
+ {
diff --git a/x11-toolkits/gtk12/files/patch-ae b/x11-toolkits/gtk12/files/patch-ae
new file mode 100644
index 000000000..c29a6955e
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-ae
@@ -0,0 +1,34 @@
+--- configure.orig Tue May 11 05:42:09 1999
++++ configure Mon May 17 22:59:13 1999
+@@ -606,10 +606,10 @@
+
+
+ # libtool versioning
+-LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
+-LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
+-LT_REVISION=$GTK_INTERFACE_AGE
+-LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
++LT_RELEASE=12
++LT_CURRENT=2
++LT_REVISION=0
++LT_AGE=0
+
+
+
+@@ -3689,7 +3689,7 @@
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CATOBJEXT=.mo
+- DATADIRNAME=lib
++ DATADIRNAME=share
+ fi
+ rm -f conftest*
+ INSTOBJEXT=.mo
+@@ -4446,6 +4446,7 @@
+ glib_thread_cflags="$GLIB_CFLAGS"
+ glib_libs=`$GLIB_CONFIG glib gmodule --libs`
+ glib_thread_libs="$GLIB_LIBS"
++ GLIB_CFLAGS="$glib_cflags"
+ GLIB_LIBS="$glib_libs"
+ GLIB_DEPLIBS="$glib_libs"
+ else
diff --git a/x11-toolkits/gtk12/files/patch-af b/x11-toolkits/gtk12/files/patch-af
new file mode 100644
index 000000000..8c6d078a9
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-af
@@ -0,0 +1,11 @@
+--- gtk/gtkrc.ru.orig Fri May 19 13:18:08 2000
++++ gtk/gtkrc.ru Fri Feb 9 22:53:43 2001
+@@ -1,7 +1,5 @@
+ style "gtk-default-ru" {
+- fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-*,\
+- -*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
+- -cronyx-helvetica-medium-r-normal--12-*-*-*-*-*-koi8-r,\
++ fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-koi8-r,\
+ -*-arial-medium-r-normal--12-*-*-*-*-*-koi8-r,*-r-*"
+ }
+ class "GtkWidget" style "gtk-default-ru"
diff --git a/x11-toolkits/gtk12/files/patch-ag b/x11-toolkits/gtk12/files/patch-ag
new file mode 100644
index 000000000..ce3ac1f0c
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-ag
@@ -0,0 +1,52 @@
+--- gtk/Makefile.in.orig Mon Apr 2 12:14:13 2001
++++ gtk/Makefile.in Wed Apr 20 14:32:17 2005
+@@ -125,7 +125,7 @@
+ x_libs = @x_libs@
+ xinput_progs = @xinput_progs@
+
+-INCLUDES = @STRIP_BEGIN@ -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"$(libdir)\" -DGTK_DATA_PREFIX=\"$(prefix)\" -DGTK_SYSCONFDIR=\"$(sysconfdir)\" -DGTK_LOCALEDIR=\"$(gtklocaledir)\" -I$(top_srcdir) @GTK_DEBUG_FLAGS@ @GTK_XIM_FLAGS@ @GTK_LOCALE_FLAGS@ @GLIB_CFLAGS@ @x_cflags@ @STRIP_END@
++INCLUDES = @STRIP_BEGIN@ -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"$(libdir)\" -DGTK_DATA_PREFIX=\"$(prefix)\" -DGTK_SYSCONFDIR=\"$(gtkconfdir)\" -DGTK_LOCALEDIR=\"$(gtklocaledir)\" -I$(top_srcdir) @GTK_DEBUG_FLAGS@ @GTK_XIM_FLAGS@ @GTK_LOCALE_FLAGS@ @GLIB_CFLAGS@ @x_cflags@ @STRIP_END@
+
+
+ #
+@@ -134,10 +134,8 @@
+ lib_LTLIBRARIES = libgtk.la
+
+ # libtool stuff: set version and export symbols for resolving
+-libgtkincludedir = $(includedir)/gtk-1.2/gtk
+-libgtk_la_LDFLAGS = @STRIP_BEGIN@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -export-dynamic @GLIB_DEPLIBS@ @x_ldflags@ @x_libs@ -lm @STRIP_END@
+-
+-# $(top_builddir)/gdk/libgdk.la
++libgtkincludedir = $(includedir)/gtk
++libgtk_la_LDFLAGS = @STRIP_BEGIN@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -export-dynamic @GLIB_DEPLIBS@ @x_ldflags@ @x_libs@ -lm $(top_builddir)/gdk/libgdk.la @STRIP_END@
+
+ #
+ # setup source file variables
+@@ -190,8 +188,8 @@
+ gen_sources = xgen-gdef xgen-gtbh xgen-gtbvc xgen-gtbic xgen-gtbec xgen-gmh xgen-gmc
+ CLEANFILES = $(gen_sources)
+
+-gtkconfdir = $(sysconfdir)/gtk
+-gtkconf_DATA = gtkrc.az gtkrc.el gtkrc.eo gtkrc.he gtkrc.hy gtkrc.ja gtkrc.ko gtkrc.ru gtkrc.tr gtkrc.th gtkrc.uk gtkrc.iso-8859-2 gtkrc.iso-8859-5 gtkrc.iso-8859-13 gtkrc.iso-8859-14 gtkrc.iso-8859-15 gtkrc.zh_CN gtkrc.zh_TW.big5 gtkrc.ka_GE.georgianacademy gtkrc.ka_GE.georgianps gtkrc.vi_VN.tcvn gtkrc.vi_VN.viscii gtkrc.cp1251 gtkrc.cp1255
++gtkconfdir = $(datadir)/themes/Default/gtk
++gtkconf_DATA = gtkrc.az gtkrc.el gtkrc.eo gtkrc.he gtkrc.hy gtkrc.ja gtkrc.ko gtkrc.ru gtkrc.tr gtkrc.th gtkrc.uk gtkrc.iso-8859-2 gtkrc.iso-8859-5 gtkrc.iso-8859-13 gtkrc.iso-8859-14 gtkrc.iso-8859-15 gtkrc.zh_CN gtkrc.ka_GE.georgianacademy gtkrc.ka_GE.georgianps gtkrc.vi_VN.tcvn gtkrc.vi_VN.viscii gtkrc.cp1251 gtkrc.cp1255
+
+
+ #
+@@ -415,6 +413,7 @@
+ $(INSTALL_DATA) $$p $(DESTDIR)$(gtkconfdir)/$$p; \
+ fi; fi; \
+ done
++ $(INSTALL_DATA) gtkrc.zh_TW.big5 $(DESTDIR)$(gtkconfdir)/gtkrc.zh_TW.Big5
+
+ uninstall-gtkconfDATA:
+ @$(NORMAL_UNINSTALL)
+@@ -1362,7 +1361,7 @@
+ uninstall-am: uninstall-libLTLIBRARIES uninstall-gtkconfDATA \
+ uninstall-libgtkincludeHEADERS uninstall-local
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS)
++all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
+ all-redirect: all-am
+ install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
diff --git a/x11-toolkits/gtk12/files/patch-ah b/x11-toolkits/gtk12/files/patch-ah
new file mode 100644
index 000000000..fe8134b8f
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-ah
@@ -0,0 +1,11 @@
+--- docs/Makefile.in.orig Fri Sep 24 09:13:34 1999
++++ docs/Makefile.in Sat Oct 9 22:15:26 1999
+@@ -99,7 +99,7 @@
+ LT_RELEASE = @LT_RELEASE@
+ LT_REVISION = @LT_REVISION@
+ MAINT = @MAINT@
+-MAKEINFO = @MAKEINFO@
++MAKEINFO = @MAKEINFO@ --no-split
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ NM = @NM@
+ OBJDUMP = @OBJDUMP@
diff --git a/x11-toolkits/gtk12/files/patch-gdk.pc.in b/x11-toolkits/gtk12/files/patch-gdk.pc.in
new file mode 100644
index 000000000..5db084b04
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-gdk.pc.in
@@ -0,0 +1,10 @@
+--- gdk.pc.in.orig Wed Nov 29 20:18:35 2000
++++ gdk.pc.in Fri Jun 14 00:04:34 2002
+@@ -7,5 +7,5 @@
+ Description: GIMP Drawing Kit
+ Version: @VERSION@
+ Requires: glib
+-Libs: -L${libdir} @x_ldflags@ -lgdk @INTLLIBS@ @GDK_WLIBS@ @x_libs@ -lm
+-Cflags: -I${includedir}/gtk-1.2 @x_cflags@
++Libs: -L${libdir} @x_ldflags@ -lgdk-12 @INTLLIBS@ @GDK_WLIBS@ @x_libs@ -lm
++Cflags: -I${includedir} @x_cflags@
diff --git a/x11-toolkits/gtk12/files/patch-gdk::Makefile.in b/x11-toolkits/gtk12/files/patch-gdk::Makefile.in
new file mode 100644
index 000000000..c9887ad4a
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-gdk::Makefile.in
@@ -0,0 +1,11 @@
+--- gdk/Makefile.in.orig Tue Mar 6 10:45:09 2001
++++ gdk/Makefile.in Tue Mar 6 10:45:21 2001
+@@ -134,7 +134,7 @@
+ lib_LTLIBRARIES = libgdk.la
+
+ # libtool stuff: set version and export symbols for resolving
+-libgdkincludedir = $(includedir)/gtk-1.2/gdk
++libgdkincludedir = $(includedir)/gdk
+ libgdk_la_LDFLAGS = @STRIP_BEGIN@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -export-dynamic @GLIB_DEPLIBS@ @x_ldflags@ @x_libs@ -lm @STRIP_END@
+
+
diff --git a/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c b/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c
new file mode 100644
index 000000000..ba18a6230
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-gdk::gdkimage.c
@@ -0,0 +1,11 @@
+--- gdk/gdkimage.c.orig Wed Dec 19 08:39:12 2001
++++ gdk/gdkimage.c Wed Dec 19 08:39:19 2001
+@@ -213,7 +213,7 @@
+
+ x_shm_info->shmid = shmget (IPC_PRIVATE,
+ private->ximage->bytes_per_line * private->ximage->height,
+- IPC_CREAT | 0777);
++ IPC_CREAT | SHM_R | SHM_W);
+
+ if (x_shm_info->shmid == -1)
+ {
diff --git a/x11-toolkits/gtk12/files/patch-gtk+.pc.in b/x11-toolkits/gtk12/files/patch-gtk+.pc.in
new file mode 100644
index 000000000..d9ab159ec
--- /dev/null
+++ b/x11-toolkits/gtk12/files/patch-gtk+.pc.in
@@ -0,0 +1,9 @@
+--- gtk+.pc.in 2002/06/10 15:32:34 1.1
++++ gtk+.pc.in 2002/06/10 15:32:40
+@@ -7,5 +7,5 @@
+ Description: GIMP Tool Kit
+ Version: @VERSION@
+ Requires: gdk
+-Libs: -L${libdir} -lgtk
++Libs: -L${libdir} -lgtk-12
+ Cflags:
diff --git a/x11-toolkits/gtk12/pkg-descr b/x11-toolkits/gtk12/pkg-descr
new file mode 100644
index 000000000..5777ae3c6
--- /dev/null
+++ b/x11-toolkits/gtk12/pkg-descr
@@ -0,0 +1,19 @@
+ GTK is a library for creating graphical user interfaces similar to
+the Motif "look and feel". It is designed to be small and efficient, but
+still flexible enough to allow the programmer freedom in the interfaces
+created. GTK allows the programmer to use a variety of standard user
+interface widgets such as push, radio and check buttons, menus, lists
+and frames. It also provides several "container" widgets which can be
+used to control the layout of the user interface elements.
+
+ GTK provides some unique features. (At least, I know of no other
+widget library which provides them). For example, a button does not
+contain a label, it contains a child widget, which in most instances
+will be a label. However, the child widget can also be a pixmap, image
+or any combination possible the programmer desires. This flexibility is
+adhered to throughout the library.
+
+- Vanilla
+vanilla@FreeBSD.org
+
+WWW: http://www.gtk.org/
diff --git a/x11-toolkits/gtk12/pkg-plist b/x11-toolkits/gtk12/pkg-plist
new file mode 100644
index 000000000..85bb6e41b
--- /dev/null
+++ b/x11-toolkits/gtk12/pkg-plist
@@ -0,0 +1,233 @@
+bin/gtk-config
+bin/gtk12-config
+include/gtk12/gdk/gdk.h
+include/gtk12/gdk/gdkcursors.h
+include/gtk12/gdk/gdki18n.h
+include/gtk12/gdk/gdkkeysyms.h
+include/gtk12/gdk/gdkprivate.h
+include/gtk12/gdk/gdkrgb.h
+include/gtk12/gdk/gdktypes.h
+include/gtk12/gdk/gdkx.h
+include/gtk12/gtk/gtk.h
+include/gtk12/gtk/gtkaccelgroup.h
+include/gtk12/gtk/gtkaccellabel.h
+include/gtk12/gtk/gtkadjustment.h
+include/gtk12/gtk/gtkalignment.h
+include/gtk12/gtk/gtkarg.h
+include/gtk12/gtk/gtkarrow.h
+include/gtk12/gtk/gtkaspectframe.h
+include/gtk12/gtk/gtkbbox.h
+include/gtk12/gtk/gtkbin.h
+include/gtk12/gtk/gtkbindings.h
+include/gtk12/gtk/gtkbox.h
+include/gtk12/gtk/gtkbutton.h
+include/gtk12/gtk/gtkcalendar.h
+include/gtk12/gtk/gtkcheckbutton.h
+include/gtk12/gtk/gtkcheckmenuitem.h
+include/gtk12/gtk/gtkclist.h
+include/gtk12/gtk/gtkcolorsel.h
+include/gtk12/gtk/gtkcombo.h
+include/gtk12/gtk/gtkcompat.h
+include/gtk12/gtk/gtkcontainer.h
+include/gtk12/gtk/gtkctree.h
+include/gtk12/gtk/gtkcurve.h
+include/gtk12/gtk/gtkdata.h
+include/gtk12/gtk/gtkdebug.h
+include/gtk12/gtk/gtkdialog.h
+include/gtk12/gtk/gtkdnd.h
+include/gtk12/gtk/gtkdrawingarea.h
+include/gtk12/gtk/gtkeditable.h
+include/gtk12/gtk/gtkentry.h
+include/gtk12/gtk/gtkenums.h
+include/gtk12/gtk/gtkeventbox.h
+include/gtk12/gtk/gtkfeatures.h
+include/gtk12/gtk/gtkfilesel.h
+include/gtk12/gtk/gtkfixed.h
+include/gtk12/gtk/gtkfontsel.h
+include/gtk12/gtk/gtkframe.h
+include/gtk12/gtk/gtkgamma.h
+include/gtk12/gtk/gtkgc.h
+include/gtk12/gtk/gtkhandlebox.h
+include/gtk12/gtk/gtkhbbox.h
+include/gtk12/gtk/gtkhbox.h
+include/gtk12/gtk/gtkhpaned.h
+include/gtk12/gtk/gtkhruler.h
+include/gtk12/gtk/gtkhscale.h
+include/gtk12/gtk/gtkhscrollbar.h
+include/gtk12/gtk/gtkhseparator.h
+include/gtk12/gtk/gtkimage.h
+include/gtk12/gtk/gtkinputdialog.h
+include/gtk12/gtk/gtkinvisible.h
+include/gtk12/gtk/gtkitem.h
+include/gtk12/gtk/gtkitemfactory.h
+include/gtk12/gtk/gtklabel.h
+include/gtk12/gtk/gtklayout.h
+include/gtk12/gtk/gtklist.h
+include/gtk12/gtk/gtklistitem.h
+include/gtk12/gtk/gtkmain.h
+include/gtk12/gtk/gtkmarshal.h
+include/gtk12/gtk/gtkmenu.h
+include/gtk12/gtk/gtkmenubar.h
+include/gtk12/gtk/gtkmenufactory.h
+include/gtk12/gtk/gtkmenuitem.h
+include/gtk12/gtk/gtkmenushell.h
+include/gtk12/gtk/gtkmisc.h
+include/gtk12/gtk/gtknotebook.h
+include/gtk12/gtk/gtkobject.h
+include/gtk12/gtk/gtkoptionmenu.h
+include/gtk12/gtk/gtkpacker.h
+include/gtk12/gtk/gtkpaned.h
+include/gtk12/gtk/gtkpixmap.h
+include/gtk12/gtk/gtkplug.h
+include/gtk12/gtk/gtkpreview.h
+include/gtk12/gtk/gtkprivate.h
+include/gtk12/gtk/gtkprogress.h
+include/gtk12/gtk/gtkprogressbar.h
+include/gtk12/gtk/gtkradiobutton.h
+include/gtk12/gtk/gtkradiomenuitem.h
+include/gtk12/gtk/gtkrange.h
+include/gtk12/gtk/gtkrc.h
+include/gtk12/gtk/gtkruler.h
+include/gtk12/gtk/gtkscale.h
+include/gtk12/gtk/gtkscrollbar.h
+include/gtk12/gtk/gtkscrolledwindow.h
+include/gtk12/gtk/gtkselection.h
+include/gtk12/gtk/gtkseparator.h
+include/gtk12/gtk/gtksignal.h
+include/gtk12/gtk/gtksocket.h
+include/gtk12/gtk/gtkspinbutton.h
+include/gtk12/gtk/gtkstatusbar.h
+include/gtk12/gtk/gtkstyle.h
+include/gtk12/gtk/gtktable.h
+include/gtk12/gtk/gtktearoffmenuitem.h
+include/gtk12/gtk/gtktext.h
+include/gtk12/gtk/gtkthemes.h
+include/gtk12/gtk/gtktipsquery.h
+include/gtk12/gtk/gtktogglebutton.h
+include/gtk12/gtk/gtktoolbar.h
+include/gtk12/gtk/gtktooltips.h
+include/gtk12/gtk/gtktree.h
+include/gtk12/gtk/gtktreeitem.h
+include/gtk12/gtk/gtktypebuiltins.h
+include/gtk12/gtk/gtktypeutils.h
+include/gtk12/gtk/gtkvbbox.h
+include/gtk12/gtk/gtkvbox.h
+include/gtk12/gtk/gtkviewport.h
+include/gtk12/gtk/gtkvpaned.h
+include/gtk12/gtk/gtkvruler.h
+include/gtk12/gtk/gtkvscale.h
+include/gtk12/gtk/gtkvscrollbar.h
+include/gtk12/gtk/gtkvseparator.h
+include/gtk12/gtk/gtkwidget.h
+include/gtk12/gtk/gtkwindow.h
+lib/libgdk-12.a
+lib/libgdk-12.so
+lib/libgdk-12.so.2
+lib/libgtk-12.a
+lib/libgtk-12.so
+lib/libgtk-12.so.2
+libdata/pkgconfig/gdk.pc
+libdata/pkgconfig/gtk+.pc
+share/aclocal/gtk.m4
+%%NLS%%share/locale/az/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/et/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/no/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sp/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/wa/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/zh_CN.GB2312/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/gtk+.mo
+share/themes/Default/gtk/gtkrc
+share/themes/Default/gtk/gtkrc.az
+share/themes/Default/gtk/gtkrc.be
+share/themes/Default/gtk/gtkrc.bg
+share/themes/Default/gtk/gtkrc.bg_BG.iso88595
+share/themes/Default/gtk/gtkrc.cp1251
+share/themes/Default/gtk/gtkrc.cp1255
+share/themes/Default/gtk/gtkrc.cs
+share/themes/Default/gtk/gtkrc.cy
+share/themes/Default/gtk/gtkrc.el
+share/themes/Default/gtk/gtkrc.eo
+share/themes/Default/gtk/gtkrc.et
+share/themes/Default/gtk/gtkrc.ga
+share/themes/Default/gtk/gtkrc.he
+share/themes/Default/gtk/gtkrc.he_IL.cp1255
+share/themes/Default/gtk/gtkrc.he_IL.microsoftcp1255
+share/themes/Default/gtk/gtkrc.hr
+share/themes/Default/gtk/gtkrc.hu
+share/themes/Default/gtk/gtkrc.hy
+share/themes/Default/gtk/gtkrc.iso-8859-13
+share/themes/Default/gtk/gtkrc.iso-8859-14
+share/themes/Default/gtk/gtkrc.iso-8859-15
+share/themes/Default/gtk/gtkrc.iso-8859-2
+share/themes/Default/gtk/gtkrc.iso-8859-5
+share/themes/Default/gtk/gtkrc.ja
+share/themes/Default/gtk/gtkrc.ka
+share/themes/Default/gtk/gtkrc.ka_GE.georgianacademy
+share/themes/Default/gtk/gtkrc.ka_GE.georgianps
+share/themes/Default/gtk/gtkrc.ko
+share/themes/Default/gtk/gtkrc.lt
+share/themes/Default/gtk/gtkrc.lv
+share/themes/Default/gtk/gtkrc.mi
+share/themes/Default/gtk/gtkrc.mk
+share/themes/Default/gtk/gtkrc.pl
+share/themes/Default/gtk/gtkrc.ro
+share/themes/Default/gtk/gtkrc.ru
+share/themes/Default/gtk/gtkrc.ru_RU.iso88595
+share/themes/Default/gtk/gtkrc.sk
+share/themes/Default/gtk/gtkrc.sl
+share/themes/Default/gtk/gtkrc.sp
+share/themes/Default/gtk/gtkrc.sq
+share/themes/Default/gtk/gtkrc.sr
+share/themes/Default/gtk/gtkrc.th
+share/themes/Default/gtk/gtkrc.tr
+share/themes/Default/gtk/gtkrc.uk
+share/themes/Default/gtk/gtkrc.vi
+share/themes/Default/gtk/gtkrc.vi_VN.tcvn
+share/themes/Default/gtk/gtkrc.vi_VN.viscii
+share/themes/Default/gtk/gtkrc.vi_VN.viscii111
+share/themes/Default/gtk/gtkrc.yi
+share/themes/Default/gtk/gtkrc.zh_CN
+share/themes/Default/gtk/gtkrc.zh_TW.Big5
+@exec mkdir -p %D/lib/gtk/themes/engines
+%%NLS%%@dirrmtry share/locale/sp/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/sp
+@dirrm lib/gtk/themes/engines
+@dirrm lib/gtk/themes
+@dirrm lib/gtk
+@dirrm share/themes/Default/gtk
+@dirrm share/themes/Default
+@dirrm include/gtk12/gtk
+@dirrm include/gtk12/gdk
+@dirrm include/gtk12
+@unexec /bin/rmdir %D/share/themes 2>/dev/null || /usr/bin/true