diff options
author | rh <rh> | 1999-03-14 17:08:59 +0000 |
---|---|---|
committer | rh <rh> | 1999-03-14 17:08:59 +0000 |
commit | b147f6dce31e0f0bc315931179a309471480db06 (patch) | |
tree | 2bbfca0984dbfe8494d38a44b1775ba6f9930af2 /x11 | |
parent | ad03bd7c7c49817ca20d2e0def92f6d137ec0f8d (diff) | |
download | pkgsrc-b147f6dce31e0f0bc315931179a309471480db06.tar.gz |
Initial import of FreeBSD port for gtk-- (0.9.14)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtk--/Makefile | 31 | ||||
-rw-r--r-- | x11/gtk--/files/md5 | 1 | ||||
-rw-r--r-- | x11/gtk--/patches/patch-aa | 33 | ||||
-rw-r--r-- | x11/gtk--/patches/patch-ab | 16 | ||||
-rw-r--r-- | x11/gtk--/patches/patch-ac | 15 | ||||
-rw-r--r-- | x11/gtk--/patches/patch-ad | 13 | ||||
-rw-r--r-- | x11/gtk--/patches/patch-ae | 97 | ||||
-rw-r--r-- | x11/gtk--/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/gtk--/pkg/DESCR | 1 | ||||
-rw-r--r-- | x11/gtk--/pkg/PLIST | 96 |
10 files changed, 304 insertions, 0 deletions
diff --git a/x11/gtk--/Makefile b/x11/gtk--/Makefile new file mode 100644 index 00000000000..c0ffe6516bb --- /dev/null +++ b/x11/gtk--/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: gtk-- +# Version required: 0.9.14 +# Date created: 11 May 1998 +# Whom: Yukihiro Nakai <Nakai@technologist.com> +# +# $Id: Makefile,v 1.1.1.1 1999/03/14 17:08:59 rh Exp $ +# + +DISTNAME= Gtk---0.9.14 +PKGNAME= gtk---0.9.14 +CATEGORIES= x11-toolkits +MASTER_SITES= ftp://ftp.gimp.org/pub/gtk/gtk--/ + +MAINTAINER= nacai@iname.com + +BROKEN= build + +LIB_DEPENDS= gtk11.1:${PORTSDIR}/x11-toolkits/gtk11 +BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 + +# Why gtk11 port renames gtk-config to gtk11-config? (patch-ae) +#GNU_CONFIGURE= yes +USE_AUTOCONF= yes +# for the future GNOME support +#CONFIGURE_ARGS= --with-gnome=${X11BASE} +USE_GMAKE= yes + +post-install: + ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/x11/gtk--/files/md5 b/x11/gtk--/files/md5 new file mode 100644 index 00000000000..c3f1636e827 --- /dev/null +++ b/x11/gtk--/files/md5 @@ -0,0 +1 @@ +MD5 (Gtk---0.9.14.tar.gz) = d06ab557247b3b223c6661d41633f256 diff --git a/x11/gtk--/patches/patch-aa b/x11/gtk--/patches/patch-aa new file mode 100644 index 00000000000..e79f6967f99 --- /dev/null +++ b/x11/gtk--/patches/patch-aa @@ -0,0 +1,33 @@ +--- src/gensig/gensig.cc.orig Wed May 13 16:25:09 1998 ++++ src/gensig/gensig.cc Wed May 13 16:26:02 1998 +@@ -680,3 +680,30 @@ + system(buf); + return 0; + } ++ ++ ++/* basename function from MOROHOSHI Akihiko <moro@race.u-tokyo.ac.jp> */ ++char * ++basename(const char * str) { ++ const char *s,*t; ++ char *r; ++ if (str == NULL) ++ return strdup("."); ++ ++ if( *str == '\0' ) ++ return strdup("."); ++ ++ for (s=str+strlen(str)-1; *s=='/' && s>str; s--) /* trim trailing '/'s */ ++ ; ++ t=s+1; ++ for (; s>=str; s--) ++ if (*s == '/') { ++ if (t-s>1) ++ str=s+1; /* t-s==1 is special case: str=~^/+$ */ ++ break; ++ } ++ r=(char *)malloc(t-str+1); ++ strncpy(r,str,t-str); ++ r[t-str]='\0'; ++ return r; ++} diff --git a/x11/gtk--/patches/patch-ab b/x11/gtk--/patches/patch-ab new file mode 100644 index 00000000000..67b05290351 --- /dev/null +++ b/x11/gtk--/patches/patch-ab @@ -0,0 +1,16 @@ +--- src/build_sources/Makefile.in.orig Sun Aug 23 07:09:33 1998 ++++ src/build_sources/Makefile.in Mon Aug 24 20:03:46 1998 +@@ -324,10 +324,12 @@ + + $(gensourcedir)/%.h: $(srcdir)/%.h.m4 + rm -f $(gensourcedir)/$(notdir $*).h +- m4 $(srcdir)/$(notdir $*).h.m4 >$(gensourcedir)/$(notdir $*).h ++ gm4 $(srcdir)/$(notdir $*).h.m4 >$(gensourcedir)/$(notdir $*).h + + $(gensourcedir)/%.cc $(gensourcedir)/%.h: $(srcdir)/../%.gen_h $(srcdir)/../gensig/gensig.cc + ../gensig/gensig $(srcdir)/../$(notdir $*).gen_h $(gensourcedir)/$(notdir $*) ++ perl -pi -e 's/^#line.*$$//' $(gensourcedir)/$(notdir $*).h ++ perl -pi -e 's/^#line.*$$//' $(gensourcedir)/$(notdir $*).cc + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/x11/gtk--/patches/patch-ac b/x11/gtk--/patches/patch-ac new file mode 100644 index 00000000000..b22f366b43d --- /dev/null +++ b/x11/gtk--/patches/patch-ac @@ -0,0 +1,15 @@ +--- src/fontselection.gen_h.orig Mon Aug 24 20:10:08 1998 ++++ src/fontselection.gen_h Mon Aug 24 20:10:55 1998 +@@ -169,7 +169,11 @@ + apply_button(GTK_BUTTON(gtkobj()->apply_button)), + cancel_button(GTK_BUTTON(gtkobj()->cancel_button)) + { +- set_title(title.length() ? title : "Font Selection"); ++ if( title.length() ) { ++ set_title(title); ++ } else { ++ set_title("Font Selection"); ++ } + } + + Gtk_FontSelectionDialog::Gtk_FontSelectionDialog(GtkFontSelectionDialog *castitem) diff --git a/x11/gtk--/patches/patch-ad b/x11/gtk--/patches/patch-ad new file mode 100644 index 00000000000..189603b5002 --- /dev/null +++ b/x11/gtk--/patches/patch-ad @@ -0,0 +1,13 @@ +--- Makefile.in.orig Mon Aug 24 20:14:17 1998 ++++ Makefile.in Mon Aug 24 20:16:23 1998 +@@ -97,8 +97,8 @@ + gnomemm_libdir = @gnomemm_libdir@ + gnomemm_prefix = @gnomemm_prefix@ + +-SUBDIRS = src examples docgen docs html @GNOME_SUBDIR@ +-DIST_SUBDIRS = src examples docgen docs html macros gnome-- ++SUBDIRS = src examples docgen docs html #@GNOME_SUBDIR@ ++DIST_SUBDIRS = src examples docgen docs html macros #gnome-- + + bin_SCRIPTS = gtkmm-config + diff --git a/x11/gtk--/patches/patch-ae b/x11/gtk--/patches/patch-ae new file mode 100644 index 00000000000..a61eb7a5289 --- /dev/null +++ b/x11/gtk--/patches/patch-ae @@ -0,0 +1,97 @@ +--- aclocal.m4.orig Sun Aug 23 07:04:16 1998 ++++ aclocal.m4 Sat Aug 29 14:42:00 1998 +@@ -176,7 +176,7 @@ + dnl + AC_DEFUN(AM_PATH_GTK, + [dnl +-dnl Get the cflags and libraries from the gtk-config script ++dnl Get the cflags and libraries from the gtk11-config script + dnl + AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)], + gtk_config_prefix="$withval", gtk_config_prefix="") +@@ -188,17 +188,17 @@ + if test x$gtk_config_exec_prefix != x ; then + gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" + if test x${GTK_CONFIG+set} != xset ; then +- GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config ++ GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk11-config + fi + fi + if test x$gtk_config_prefix != x ; then + gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" + if test x${GTK_CONFIG+set} != xset ; then +- GTK_CONFIG=$gtk_config_prefix/bin/gtk-config ++ GTK_CONFIG=$gtk_config_prefix/bin/gtk11-config + fi + fi + +- AC_PATH_PROG(GTK_CONFIG, gtk-config, no) ++ AC_PATH_PROG(GTK_CONFIG, gtk11-config, no) + min_gtk_version=ifelse([$1], ,0.99.7,$1) + AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) + no_gtk="" +@@ -220,7 +220,7 @@ + LIBS="$LIBS $GTK_LIBS" + dnl + dnl Now check if the installed GTK is sufficiently new. (Also sanity +-dnl checks the results of gtk-config to some extent ++dnl checks the results of gtk11-config to some extent + dnl + rm -f conf.gtktest + AC_TRY_RUN([ +@@ -247,16 +247,16 @@ + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { +- printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", ++ printf("\n*** 'gtk11-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); +- printf ("*** was found! If gtk-config was correct, then it is best\n"); ++ printf ("*** was found! If gtk11-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); +- printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); +- printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); ++ printf("*** If gtk11-config was wrong, set the environment variable GTK_CONFIG\n"); ++ printf("*** to point to the correct copy of gtk11-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } + else if ((gtk_major_version != GTK_MAJOR_VERSION) || +@@ -285,10 +285,10 @@ + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); +- printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); ++ printf("*** probably means that the wrong copy of the gtk11-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); +- printf("*** correct copy of gtk-config. (In this case, you will have to\n"); ++ printf("*** correct copy of gtk11-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } +@@ -306,10 +306,10 @@ + else + AC_MSG_RESULT(no) + if test "$GTK_CONFIG" = "no" ; then +- echo "*** The gtk-config script installed by GTK could not be found" ++ echo "*** The gtk11-config script installed by GTK could not be found" + echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the GTK_CONFIG environment variable to the" +- echo "*** full path to gtk-config." ++ echo "*** full path to gtk11-config." + else + if test -f conf.gtktest ; then + : +@@ -338,7 +338,7 @@ + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK was incorrectly installed" + echo "*** or that you have moved GTK since it was installed. In the latter case, you" +- echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) ++ echo "*** may want to edit the gtk11-config script: $GTK_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi diff --git a/x11/gtk--/pkg/COMMENT b/x11/gtk--/pkg/COMMENT new file mode 100644 index 00000000000..656cd11549c --- /dev/null +++ b/x11/gtk--/pkg/COMMENT @@ -0,0 +1 @@ +C++ wrapper for gtk, a x11 graphics library diff --git a/x11/gtk--/pkg/DESCR b/x11/gtk--/pkg/DESCR new file mode 100644 index 00000000000..656cd11549c --- /dev/null +++ b/x11/gtk--/pkg/DESCR @@ -0,0 +1 @@ +C++ wrapper for gtk, a x11 graphics library diff --git a/x11/gtk--/pkg/PLIST b/x11/gtk--/pkg/PLIST new file mode 100644 index 00000000000..f048bbca9fe --- /dev/null +++ b/x11/gtk--/pkg/PLIST @@ -0,0 +1,96 @@ +bin/gensig +bin/gtkmm-config +include/gtk--.h +include/gtk--/accelgroup.h +include/gtk--/adjustment.h +include/gtk--/alignment.h +include/gtk--/arrow.h +include/gtk--/aspectframe.h +include/gtk--/base.h +include/gtk--/bin.h +include/gtk--/box.h +include/gtk--/button.h +include/gtk--/buttonbox.h +include/gtk--/checkbutton.h +include/gtk--/checkmenuitem.h +include/gtk--/clist.h +include/gtk--/colorselection.h +include/gtk--/colorselectiondialog.h +include/gtk--/combo.h +include/gtk--/container.h +include/gtk--/ctree.h +include/gtk--/curve.h +include/gtk--/data.h +include/gtk--/dialog.h +include/gtk--/drawingarea.h +include/gtk--/editable.h +include/gtk--/entry.h +include/gtk--/eventbox.h +include/gtk--/fileselection.h +include/gtk--/fixed.h +include/gtk--/fontselection.h +include/gtk--/frame.h +include/gtk--/gc.h +include/gtk--/handlebox.h +include/gtk--/image.h +include/gtk--/inputdialog.h +include/gtk--/item.h +include/gtk--/itemfactory.h +include/gtk--/label.h +include/gtk--/list.h +include/gtk--/listitem.h +include/gtk--/main.h +include/gtk--/menu.h +include/gtk--/menubar.h +include/gtk--/menufactory.h +include/gtk--/menuitem.h +include/gtk--/menupath.h +include/gtk--/menushell.h +include/gtk--/misc.h +include/gtk--/notebook.h +include/gtk--/object.h +include/gtk--/optionmenu.h +include/gtk--/paned.h +include/gtk--/pixmap.h +include/gtk--/preview.h +include/gtk--/progress.h +include/gtk--/progressbar.h +include/gtk--/radiobutton.h +include/gtk--/radiomenuitem.h +include/gtk--/range.h +include/gtk--/ruler.h +include/gtk--/scale.h +include/gtk--/scrollbar.h +include/gtk--/scrolledwindow.h +include/gtk--/separator.h +include/gtk--/spinbutton.h +include/gtk--/statusbar.h +include/gtk--/style.h +include/gtk--/table.h +include/gtk--/text.h +include/gtk--/tipsquery.h +include/gtk--/togglebutton.h +include/gtk--/toolbar.h +include/gtk--/tooltips.h +include/gtk--/tree.h +include/gtk--/treeitem.h +include/gtk--/viewport.h +include/gtk--/widget.h +include/gtk--/window.h +include/gtk--sig.h +include/gtk--sigcommon.h +include/gtk--sigconn.h +include/gtk--sigcpp.h +include/gtk--sigproxy.h +include/gtk--sigslot.h +lib/Gtk--/include/gtk--config.h +lib/libgtkmm-1.1.a +lib/libgtkmm-1.1.la +lib/libgtkmm-1.1.so +lib/libgtkmm-1.1.so.1.1 +@exec /sbin/ldconfig -m %B +@unexec /sbin/ldconfig -R +share/aclocal/gtk--.m4 +@dirrm include/gtk-- +@dirrm lib/Gtk--/include +@dirrm lib/Gtk-- |