Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 1999 22:20:19 +0200 (SAT)
From:      reg@shale.csir.co.za
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9811: New port: lang/gnomeguile
Message-ID:  <199901302020.WAA16237@shale.csir.co.za>

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

>Number:         9811
>Category:       ports
>Synopsis:       New port: lang/gnomeguile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 30 12:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Lea
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Arb's Inc.
>Environment:

	FreeBSD Ports collection

>Description:

	New port for gnomeguile-0.99.1.  Guile bindings for the GNOME
	desktop environment

>How-To-Repeat:

	

>Fix:
	
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./files
#	./files/md5
#	./patches
#	./patches/patch-aa
#	./patches/patch-ad
#	./patches/patch-ac
#	./patches/patch-ae
#	./patches/patch-ab
#	./pkg
#	./pkg/COMMENT
#	./pkg/DESCR
#	./pkg/PLIST
#	./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (gnome-guile-0.99.1.tar.gz) = 91c188e3f74acbcfdc60fc80aab32d00
END-of-./files/md5
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X--- configure.orig	Wed Jan  6 00:51:40 1999
X+++ configure	Sat Jan 30 21:44:16 1999
X@@ -1906,13 +1906,13 @@
X 	    fi
X 	
X 	    if test "$no_gnome_config" = "yes"; then
X-              echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6
X-echo "configure:1911: checking for gnomeConf.sh file in $gnome_prefix" >&5
X-	      if test -f $gnome_prefix/gnomeConf.sh; then
X+              echo $ac_n "checking for gnomeConf.sh file in $prefix/share/gnome""... $ac_c" 1>&6
X+echo "configure:1911: checking for gnomeConf.sh file in $prefix/share/gnome" >&5
X+	      if test -f $prefix/share/gnome/gnomeConf.sh; then
X 	        echo "$ac_t""found" 1>&6
X 	        echo "loading gnome configuration from" \
X-		     "$gnome_prefix/gnomeConf.sh"
X-	        . $gnome_prefix/gnomeConf.sh
X+		     "$prefix/share/gnome/gnomeConf.sh"
X+	        . $prefix/share/gnome/gnomeConf.sh
X 	        
X 	      else
X 	        echo "$ac_t""not found" 1>&6
X@@ -3045,10 +3040,6 @@
X       *) # Relative path.
X         ac_sub_cache_file="$ac_dots$cache_file" ;;
X       esac
X-  case "$ac_given_INSTALL" in
X-        [/$]*) INSTALL="$ac_given_INSTALL" ;;
X-        *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
X-        esac
X 
X       echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
X       # The eval makes quoting arguments work.
END-of-./patches/patch-aa
echo x - ./patches/patch-ad
sed 's/^X//' >./patches/patch-ad << 'END-of-./patches/patch-ad'
X--- guile-gtk/gtk-1.1.defs.orig	Tue Jan 19 23:34:37 1999
X+++ guile-gtk/gtk-1.1.defs	Tue Jan 19 23:35:20 1999
X@@ -642,18 +642,18 @@
X ;; (define-func gtk_container_enable_resize
X ;;   none
X ;;   ((GtkContainer container)))
X-
X-(define-func gtk_container_block_resize
X-  none
X-  ((GtkContainer container)))
X-
X-(define-func gtk_container_unblock_resize
X-  none
X-  ((GtkContainer container)))
X-
X-(define-func gtk_container_need_resize
X-  bool
X-  ((GtkContainer container)))
X+;; 
X+;; (define-func gtk_container_block_resize
X+;;   none
X+;;   ((GtkContainer container)))
X+;; 
X+;; (define-func gtk_container_unblock_resize
X+;;   none
X+;;   ((GtkContainer container)))
X+;; 
X+;; (define-func gtk_container_need_resize
X+;;   bool
X+;;   ((GtkContainer container)))
X 
X (define-func gtk_container_foreach_full 
X   none
END-of-./patches/patch-ad
echo x - ./patches/patch-ac
sed 's/^X//' >./patches/patch-ac << 'END-of-./patches/patch-ac'
X--- ltmain.sh.orig	Tue Jan  5 18:43:41 1999
X+++ ltmain.sh	Tue Jan  5 18:44:52 1999
X@@ -1030,6 +1030,16 @@
X 	  versuffix=".$current.$revision"
X 	  ;;
X 
X+	freebsd)
X+	  version_vars="$version_vars major versuffix"
X+	  major=".$current"
X+	  if [ $PORTOBJFORMAT = elf ]; then
X+	  versuffix=".$current"
X+	  else
X+	  versuffix=".$current.$revision"
X+	  fi
X+	  ;;
X+
X 	*)
X 	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
X 	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
X--- ltconfig.orig	Wed Jan  6 00:51:30 1999
X+++ ltconfig	Sat Jan 30 21:28:52 1999
X@@ -823,7 +823,7 @@
X     ;;
X 
X   # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
X-  freebsd3*)
X+  freebsd3* | freebsd4*)
X     archive_cmds='$CC -shared -o $lib$libobjs'
X     hardcode_libdir_flag_spec='-R$libdir'
X     hardcode_direct=yes
X@@ -1160,10 +1160,21 @@
X   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
X   ;;
X 
X-freebsd2* | freebsd3*)
X+freebsd2*)
X   version_type=sunos
X   library_names_spec='${libname}${release}.so$versuffix $libname.so'
X   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
X+  shlibpath_var=LD_LIBRARY_PATH
X+  ;;
X+
X+freebsd3* | freebsd4*)
X+  version_type=freebsd
X+  library_names_spec='${libname}${release}.so$versuffix $libname.so'
X+  if [ $PORTOBJFORMAT = elf ]; then
X+  finish_cmds='PATH="\$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir'
X+  else
X+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
X+  fi
X   shlibpath_var=LD_LIBRARY_PATH
X   ;;
X 
X--- guile-gtk/ltmain.sh.orig	Tue Jan  5 18:43:41 1999
X+++ guile-gtk/ltmain.sh	Tue Jan  5 18:44:52 1999
X@@ -1030,6 +1030,16 @@
X 	  versuffix=".$current.$revision"
X 	  ;;
X 
X+	freebsd)
X+	  version_vars="$version_vars major versuffix"
X+	  major=".$current"
X+	  if [ $PORTOBJFORMAT = elf ]; then
X+	  versuffix=".$current"
X+	  else
X+	  versuffix=".$current.$revision"
X+	  fi
X+	  ;;
X+
X 	*)
X 	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
X 	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
X--- guile-gtk/ltconfig.orig	Tue Jan  5 18:43:44 1999
X+++ guile-gtk/ltconfig	Tue Jan  5 18:45:47 1999
X@@ -823,7 +823,7 @@
X     ;;
X 
X   # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
X-  freebsd3*)
X+  freebsd3* | freebsd4*)
X     archive_cmds='$CC -shared -o $lib$libobjs'
X     hardcode_libdir_flag_spec='-R$libdir'
X     hardcode_direct=yes
X@@ -1160,10 +1160,21 @@
X   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
X   ;;
X 
X-freebsd2* | freebsd3*)
X+freebsd2*)
X   version_type=sunos
X   library_names_spec='${libname}${release}.so$versuffix $libname.so'
X   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
X+  shlibpath_var=LD_LIBRARY_PATH
X+  ;;
X+
X+freebsd3* | freebsd4*)
X+  version_type=freebsd
X+  library_names_spec='${libname}${release}.so$versuffix $libname.so'
X+  if [ $PORTOBJFORMAT = elf ]; then
X+  finish_cmds='PATH="\$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir'
X+  else
X+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
X+  fi
X   shlibpath_var=LD_LIBRARY_PATH
X   ;;
X 
END-of-./patches/patch-ac
echo x - ./patches/patch-ae
sed 's/^X//' >./patches/patch-ae << 'END-of-./patches/patch-ae'
X--- guile-gnome/gnome.defs.orig	Tue Jan 19 23:36:10 1999
X+++ guile-gnome/gnome.defs	Tue Jan 19 23:36:45 1999
X@@ -390,10 +390,10 @@
X    (int x2)
X    (int y2)))
X 
X-(define-object GnomeCanvasGroup (GnomeCanvasItem)
X-  (fields
X-   (double xpos)
X-   (double ypos)))
X+;; (define-object GnomeCanvasGroup (GnomeCanvasItem)
X+;;   (fields
X+;;    (double xpos)
X+;;    (double ypos)))
X 
X ;; XXX - build-guile-gtk needs varargs and GtkType to support these.
X ;; For now, there are `hand tweaked' versions in gnomeg.c
END-of-./patches/patch-ae
echo x - ./patches/patch-ab
sed 's/^X//' >./patches/patch-ab << 'END-of-./patches/patch-ab'
X--- guile-gtk/Makefile.in.orig	Tue Jan 19 23:38:22 1999
X+++ guile-gtk/Makefile.in	Tue Jan 19 23:38:49 1999
X@@ -114,7 +114,7 @@
X 			     gtk-glue.c
X 
X # Automake can't figure out the rpath for EXTRA_ libraries.  Yuck.
X-libguilegtk_1_0_la_LDFLAGS = -rpath $(libdir) -version-info 0:0:0 \
X+libguilegtk_1_0_la_LDFLAGS = -rpath $(libdir) -version-info 0:99:0 \
X                              -export-dynamic
X libguilegtk_1_0_la_LIBADD = $(GTK_LIBS)
X 
X@@ -126,12 +126,12 @@
X 	                     gdk-glue.c \
X 			     gtk-glue.c
X 
X-libguilegtk_1_1_la_LDFLAGS = -rpath $(libdir) -version-info 0:0:0 \
X+libguilegtk_1_1_la_LDFLAGS = -rpath $(libdir) -version-info 0:99:0 \
X                              -export-dynamic
X libguilegtk_1_1_la_LIBADD = $(GTK_LIBS)
X 
X libguiledlopenhelper_la_SOURCES = guiledlopenhelper.c
X-libguiledlopenhelper_la_LDFLAGS = -version-info 0:0:0 -export-dynamic
X+libguiledlopenhelper_la_LDFLAGS = -version-info 0:99:0 -export-dynamic
X 
X include_HEADERS = guile-gtk.h
X 
X--- guile-gnome/Makefile.in.orig	Tue Jan 19 23:39:26 1999
X+++ guile-gnome/Makefile.in	Tue Jan 19 23:40:10 1999
X@@ -99,7 +99,7 @@
X 
X libguilegnome_la_SOURCES = gnome-glue.c gnomeg.c
X libguilegnome_la_LIBADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS)
X-libguilegnome_la_LDFLAGS = -export-dynamic
X+libguilegnome_la_LDFLAGS = -version-info 0:99:0 -export-dynamic
X 
X gnomeg_SOURCES = main.c gnomeg.c client.c gnome-glue.c
X gnomeg_LDADD = \
END-of-./patches/patch-ab
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XGuile bindings for the Gnome Desktop Environment
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XGuile bindings for the Gnome Desktop Environment
END-of-./pkg/DESCR
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xbin/build-guile-gtk
Xbin/gnomeg
Xbin/guile-gtk-1.1
Xinclude/guile-gtk.h
Xlib/libguiledlopenhelper.a
Xlib/libguiledlopenhelper.la
Xlib/libguiledlopenhelper.so
Xlib/libguiledlopenhelper.so.0.99
Xlib/libguilegnome.a
Xlib/libguilegnome.la
Xlib/libguilegnome.so
Xlib/libguilegnome.so.0.99
Xlib/libguilegtk-1.1.a
Xlib/libguilegtk-1.1.la
Xlib/libguilegtk-1.1.so
Xlib/libguilegtk-1.1.so.0.99
X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
Xshare/gnome/guile-gtk/gdk-1.1.defs
Xshare/gnome/guile-gtk/gtk-1.1.defs
Xshare/gnome/guile/gnome/gnome.scm
Xshare/gnome/guile/gtk-1.1/gdk.scm
Xshare/gnome/guile/gtk-1.1/gtk.scm
Xshare/gnome/guile/gtk/dynlink.scm
Xshare/gnome/guile/gtk/gdk.scm
Xshare/gnome/guile/gtk/gtk.scm
Xshare/gnome/guile/site/event-repl.scm
X@dirrm share/gnome/guile-gtk/
X@dirrm share/gnome/guile/gnome/
X@dirrm share/gnome/guile/gtk-1.1/
X@dirrm share/gnome/guile/gtk/
X@dirrm share/gnome/guile/site/
X@dirrm share/gnome/guile/
END-of-./pkg/PLIST
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	gnomeguile
X# Version required:	0.99.1
X# Date created:		20 January 1999
X# Whom:			Jeremy Lea <reg@shale.csir.co.za>
X#
X# $Id$
X#
X
XDISTNAME=	gnome-guile-0.99.1
XPKGNAME=	gnomeguile-0.99.1
XCATEGORIES=	lang gnome
XMASTER_SITES=	ftp://ftp.home-of-linux.org/pub/libgtop/latest/
X
XMAINTAINER=	reg@shale.csir.co.za
X
XLIB_DEPENDS=	gnome.1:${PORTSDIR}/x11/gnomelibs \
X		guile.4:${PORTSDIR}/lang/guile
X
X# implicit dependencies:
X# gtk11-devel
X
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--localstatedir=${PREFIX}/share/gnome \
X		--datadir=${PREFIX}/share/gnome \
X		--with-gnome=${X11BASE}
XCONFIGURE_ENV=	GTK_CONFIG="${X11BASE}/bin/gtk11d-config"
X
Xpost-install:
X	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
X
X.include <bsd.port.mk>
END-of-./Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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