Skip site navigation (1)Skip section navigation (2)
Date:      28 Sep 1997 19:42:43 -0000
From:      vanilla@MinJe.com.TW
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/4649: New ports gtk-970925 
Message-ID:  <19970928194243.10604.qmail@MinJe.com.TW>
Resent-Message-ID: <199709281950.MAA19582@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4649
>Category:       ports
>Synopsis:       New ports gtk-970925
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 28 12:50:01 PDT 1997
>Last-Modified:
>Originator:     Vanill I. Shu
>Organization:
Cray running FreeBSD
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	FreeBSD 3.0C, XFree86 3.3.1

>Description:

	GTK is General ToolKit, a powerful X11 GUI library.
	it need by newer gimp version(0.99.12 or later)

>How-To-Repeat:

>Fix:
	
diff -ruN gtk.orig/Makefile gtk/Makefile
--- gtk.orig/Makefile	Thu Jan  1 08:00:00 1970
+++ gtk/Makefile	Mon Sep 29 03:13:09 1997
@@ -0,0 +1,28 @@
+# New ports collection makefile for:	gtk
+# Version required:	970925
+# Date Created:		28 Sep 1997
+# Whom:			Vanilla I. Shu <vanilla@MinJe.com.TW>
+#
+# $Id$
+#
+
+DISTNAME=	gtk+970925
+PKGNAME=	gtk-970925
+CATEGORIES=	x11
+MASTER_SITES=	ftp://ftp.gimp.org/pub/gtk/
+
+MAINTAINER=	vanilla@MinJe.com.TW
+
+GNU_CONFIGURE=	yes
+USE_GMAKE=	yes
+USE_X11=	yes
+
+post-extract:
+	@ cd ${WRKSRC}/docs ; ${RM} gtk.info*
+
+pre-install:
+	@ if [ ! -f ${PREFIX}/info/dir ]; then \
+	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+	fi
+
+.include <bsd.port.mk>
diff -ruN gtk.orig/files/md5 gtk/files/md5
--- gtk.orig/files/md5	Thu Jan  1 08:00:00 1970
+++ gtk/files/md5	Sun Sep 28 11:19:38 1997
@@ -0,0 +1 @@
+MD5 (gtk+970925.tar.gz) = 0bbb0f2fc262a529f59c0ea3a496afac
diff -ruN gtk.orig/patches/patch-aa gtk/patches/patch-aa
--- gtk.orig/patches/patch-aa	Thu Jan  1 08:00:00 1970
+++ gtk/patches/patch-aa	Sun Sep 28 11:23:19 1997
@@ -0,0 +1,20 @@
+--- glib/configure.orig	Sun Sep 28 11:15:33 1997
++++ glib/configure	Sun Sep 28 11:15:53 1997
+@@ -561,6 +561,7 @@
+ # AFS /usr/afsws/bin/install, which mishandles nonexistent args
+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+ # ./install, which can be erroneously created by make from ./install.sh.
++INSTALL="/usr/bin/install -c"
+ echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+ echo "configure:566: checking for a BSD compatible install" >&5
+ if test -z "$INSTALL"; then
+--- configure.orig	Sun Sep 28 11:16:00 1997
++++ configure	Sun Sep 28 11:16:20 1997
+@@ -571,6 +571,7 @@
+ # AFS /usr/afsws/bin/install, which mishandles nonexistent args
+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+ # ./install, which can be erroneously created by make from ./install.sh.
++INSTALL="/usr/bin/install -c"
+ echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+ echo "configure:576: checking for a BSD compatible install" >&5
+ if test -z "$INSTALL"; then
diff -ruN gtk.orig/patches/patch-ab gtk/patches/patch-ab
--- gtk.orig/patches/patch-ab	Thu Jan  1 08:00:00 1970
+++ gtk/patches/patch-ab	Mon Sep 29 03:32:00 1997
@@ -0,0 +1,22 @@
+--- gdk/Makefile.in.orig	Fri Sep 26 01:00:51 1997
++++ gdk/Makefile.in	Mon Sep 29 03:30:59 1997
+@@ -153,7 +153,7 @@
+ gxid_OBJECTS =  gxid.o
+ gxid_DEPENDENCIES = 
+ gxid_LDFLAGS = 
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -DX_LOCALE
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+ LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+--- gdk/gdk.c.orig	Sun Sep 28 11:17:31 1997
++++ gdk/gdk.c	Sun Sep 28 11:17:39 1997
+@@ -18,7 +18,7 @@
+ #include "../config.h"
+ 
+ #include <ctype.h>
+-#include <locale.h>
++#include <X11/Xlocale.h>
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
diff -ruN gtk.orig/patches/patch-ac gtk/patches/patch-ac
--- gtk.orig/patches/patch-ac	Thu Jan  1 08:00:00 1970
+++ gtk/patches/patch-ac	Mon Sep 29 02:54:06 1997
@@ -0,0 +1,11 @@
+--- docs/Makefile.in.orig	Fri Sep 26 01:01:11 1997
++++ docs/Makefile.in	Sun Sep 28 11:24:06 1997
+@@ -116,7 +116,7 @@
+ .texi.info:
+ 	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+ 	cd $(srcdir) \
+-	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
++	  && $(MAKEINFO) --no-split `echo $< | sed 's,.*/,,'`
+ 
+ .texi.dvi:
+ 	TEXINPUTS=$(srcdir):$$TEXINPUTS \
diff -ruN gtk.orig/pkg/COMMENT gtk/pkg/COMMENT
--- gtk.orig/pkg/COMMENT	Thu Jan  1 08:00:00 1970
+++ gtk/pkg/COMMENT	Sun Sep 28 11:12:32 1997
@@ -0,0 +1 @@
+General Toolkit for X11 GUI.
diff -ruN gtk.orig/pkg/DESCR gtk/pkg/DESCR
--- gtk.orig/pkg/DESCR	Thu Jan  1 08:00:00 1970
+++ gtk/pkg/DESCR	Sun Sep 28 11:14:40 1997
@@ -0,0 +1,18 @@
+   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 (*note 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@MinJe.com.TW
diff -ruN gtk.orig/pkg/PLIST gtk/pkg/PLIST
--- gtk.orig/pkg/PLIST	Thu Jan  1 08:00:00 1970
+++ gtk/pkg/PLIST	Mon Sep 29 03:07:43 1997
@@ -0,0 +1,119 @@
+include/glib.h
+include/glibconfig.h
+include/gdk/gdk.h
+include/gdk/gdkcursors.h
+include/gdk/gdkinput.h
+include/gdk/gdkinputcommon.h
+include/gdk/gdkinputgxi.h
+include/gdk/gdkinputnone.h
+include/gdk/gdkinputxfree.h
+include/gdk/gdkkeysyms.h
+include/gdk/gdkprivate.h
+include/gdk/gdktypes.h
+include/gdk/gdkx.h
+include/gdk/gxid_lib.h
+include/gdk/gxid_proto.h
+include/gtk/gtk.h
+include/gtk/gtkaccelerator.h
+include/gtk/gtkadjustment.h
+include/gtk/gtkalignment.h
+include/gtk/gtkarrow.h
+include/gtk/gtkaspectframe.h
+include/gtk/gtkbbox.h
+include/gtk/gtkbin.h
+include/gtk/gtkbox.h
+include/gtk/gtkbutton.h
+include/gtk/gtkcheckbutton.h
+include/gtk/gtkcheckmenuitem.h
+include/gtk/gtkcolorsel.h
+include/gtk/gtkcontainer.h
+include/gtk/gtkcurve.h
+include/gtk/gtkdata.h
+include/gtk/gtkdialog.h
+include/gtk/gtkdrawingarea.h
+include/gtk/gtkentry.h
+include/gtk/gtkenums.h
+include/gtk/gtkeventbox.h
+include/gtk/gtkfilesel.h
+include/gtk/gtkfixed.h
+include/gtk/gtkframe.h
+include/gtk/gtkgamma.h
+include/gtk/gtkgc.h
+include/gtk/gtkhbbox.h
+include/gtk/gtkhbox.h
+include/gtk/gtkhpaned.h
+include/gtk/gtkhruler.h
+include/gtk/gtkhscale.h
+include/gtk/gtkhscrollbar.h
+include/gtk/gtkhseparator.h
+include/gtk/gtkimage.h
+include/gtk/gtkinputdialog.h
+include/gtk/gtkitem.h
+include/gtk/gtklabel.h
+include/gtk/gtklist.h
+include/gtk/gtklistitem.h
+include/gtk/gtkmain.h
+include/gtk/gtkmenu.h
+include/gtk/gtkmenubar.h
+include/gtk/gtkmenufactory.h
+include/gtk/gtkmenuitem.h
+include/gtk/gtkmenushell.h
+include/gtk/gtkmisc.h
+include/gtk/gtknotebook.h
+include/gtk/gtkobject.h
+include/gtk/gtkoptionmenu.h
+include/gtk/gtkpaned.h
+include/gtk/gtkpixmap.h
+include/gtk/gtkpreview.h
+include/gtk/gtkprogressbar.h
+include/gtk/gtkradiobutton.h
+include/gtk/gtkradiomenuitem.h
+include/gtk/gtkrange.h
+include/gtk/gtkrc.h
+include/gtk/gtkruler.h
+include/gtk/gtkscale.h
+include/gtk/gtkscrollbar.h
+include/gtk/gtkscrolledwindow.h
+include/gtk/gtkselection.h
+include/gtk/gtkseparator.h
+include/gtk/gtksignal.h
+include/gtk/gtkstyle.h
+include/gtk/gtktable.h
+include/gtk/gtktext.h
+include/gtk/gtktogglebutton.h
+include/gtk/gtktooltips.h
+include/gtk/gtktree.h
+include/gtk/gtktreeitem.h
+include/gtk/gtktypebuiltins.h
+include/gtk/gtktypeutils.h
+include/gtk/gtkvbbox.h
+include/gtk/gtkvbox.h
+include/gtk/gtkviewport.h
+include/gtk/gtkvpaned.h
+include/gtk/gtkvruler.h
+include/gtk/gtkvscale.h
+include/gtk/gtkvscrollbar.h
+include/gtk/gtkvseparator.h
+include/gtk/gtkwidget.h
+include/gtk/gtkwindow.h
+@unexec install-info --delete %D/info/gdk.info %D/info/dir
+@unexec install-info --delete %D/info/gtk.info %D/info/dir
+info/gdk.info
+info/gtk.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/gdk.info %D/info/dir
+@exec install-info %D/info/gtk.info %D/info/dir
+lib/libgdk.a
+lib/libgdk.la
+lib/libgdk.so
+lib/libgdk.so.1.0
+lib/libglib.a
+lib/libglib.la
+lib/libglib.so
+lib/libglib.so.1.0
+lib/libgtk.a
+lib/libgtk.la
+lib/libgtk.so
+lib/libgtk.so.1.0
+@dirrm include/gdk
+@dirrm include/gtk
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970928194243.10604.qmail>