1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Update to 0.31.

This commit is contained in:
Joe Marcus Clarke 2003-05-02 03:19:47 +00:00
parent 34256c1b83
commit 7c6a77a591
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79980
6 changed files with 47 additions and 25 deletions

View File

@ -6,25 +6,27 @@
#
PORTNAME= guile-gtk
PORTVERSION= 0.20
PORTREVISION= 2
PORTVERSION= 0.31
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-guile/0.20
DISTNAME= gnome-guile-${PORTVERSION}
MASTER_SITES= http://savannah.nongnu.org/download/guile-gtk/
DISTNAME= ${PORTNAME}-1.2-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Guile binding library for GTK+
LIB_DEPENDS= guile.10:${PORTSDIR}/lang/guile
WRKSRC= ${WRKDIR}/${DISTNAME}/guile-gtk
LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
USE_X_PREFIX= yes
USE_GNOME= gtk12
USE_GMAKE= yes
USE_GNOME= gtk12 gnometarget
USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" HAVE_PKG_CONFIG="no"
LIBS="-L${LOCALBASE}/lib"
post-patch:
@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
's|gtk-1\.2/||g'
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (gnome-guile-0.20.tar.gz) = 2be739e8bbc9fffe70e7ef19950bc984
MD5 (guile-gtk-1.2-0.31.tar.gz) = b16d97570e1f06cbfdd232173ce9e179

View File

@ -1,11 +0,0 @@
--- Makefile.in.orig Wed Jun 19 16:06:19 2002
+++ Makefile.in Wed Jun 19 16:06:50 2002
@@ -623,7 +623,7 @@
$(INSTALL_DATA) $(srcdir)/gtk/repl.scm $(gtkmoduledir)/repl.scm
$(INSTALL_DATA) $(srcdir)/gtk/threads.scm $(gtkmoduledir)/threads.scm
.c.x:
- guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< >$<.tmp && mv $<.tmp $@
+ guile-snarf -o $<.tmp $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) && mv $<.tmp $@
gtk-glue.c: $(gtkdefs) $(gdkdefs) build-guile-gtk
$(BUILD) -I $(srcdir) glue $(gtkdefs) >tmpt && mv tmpt $@

View File

@ -0,0 +1,10 @@
--- configure.orig Wed Dec 11 18:31:51 2002
+++ configure Thu Dec 12 12:07:17 2002
@@ -7414,6 +7414,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View File

@ -0,0 +1,19 @@
--- guile-gtk.c.orig Wed Apr 30 23:26:36 2003
+++ guile-gtk.c Wed Apr 30 23:27:57 2003
@@ -19,6 +19,7 @@
#include <string.h>
#include <config.h>
#include <assert.h>
+#include <sys/types.h>
#ifdef GTK_2_0
#include <gtk-2.0/gtk/gtk.h>
#include <gtk-2.0/gdk/gdkprivate.h>
@@ -44,6 +45,8 @@
#ifndef SCM_VECTOR_SET
#define SCM_VECTOR_SET(obj,i,v) (SCM_VELTS(obj)[i]=(v))
#endif
+
+typedef unsigned long ulong;
static SCM
sgtk_make_cell (scm_t_bits word0, scm_t_bits word1)

View File

@ -1,17 +1,19 @@
bin/build-guile-gtk
bin/guile-gtk
bin/guile-gtk-1.2
bin/build-guile-gtk-1.2
include/guile-gtk.h
lib/libguilegtk-1.2.a
lib/libguilegtk-1.2.so
lib/libguilegtk-1.2.so.0
share/guile-gtk/gdk-1.2.defs
share/guile-gtk/gtk-1.2.defs
share/guile/gtk-1.2/config.scm
share/guile/gtk-1.2/dynlink.scm
share/guile/gtk-1.2/gdk.scm
share/guile/gtk-1.2/gtk.scm
share/guile/gtk-1.2/repl.scm
share/guile/gtk-1.2/threads.scm
share/guile/gtk/config.scm
share/guile/gtk/dynlink.scm
share/guile/gtk/dynlink-old.scm
share/guile/gtk/gdk.scm
share/guile/gtk/gtk.scm
share/guile/gtk/repl.scm