ports/131132: [MAINTAINER] x11-toolkits/slgtk update to 0.7.4 & unBREAK

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Thu Jan 29 20:10:04 UTC 2009


>Number:         131132
>Category:       ports
>Synopsis:       [MAINTAINER] x11-toolkits/slgtk update to 0.7.4 & unBREAK
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 29 20:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Shuvaev
>Release:        8.0-CURRENT
>Organization:
University of Wuerzburg
>Environment:
FreeBSD wep4035 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Jan 14 22:02:23 CET 2009     root at wep4035:/usr/obj/usr/src/sys/NOUSB  amd64
>Description:
Update x11-toolkits/slgtk to 0.7.4 making it again buildable with gtk-2.14.7
There are still some medium- and minor-severe problems (with FITS
pixbuf loader and in provided examples) but overall it is better than
the current state.

Note the removal of USE_LDCONFIG. It is really not necessary.
The *.so files installed by the port go into directory out of ldconfig's path
(${PREFIX}/lib/slang/v2/modules/) and are meant to loaded by dlopen()
family of functions.

Finally excerpt from CHANGELOG:

Version 0.7.4:
   .    Renamed PACKAGES macro in Makefiles, to avoid conflicts with
        FreeBSD build env (reported/fixd by Alexey Shuvaev)
   .    Established compatibility w/ Gtk 2.14.7, which introduced several
        functions with same names as wrappers SLgtk has provided for years
        i.e.  gtk_widget_get_window(), gtk_adjustment_get_upper() etc; SLgtk
        now provides these only for Gtk < 2.14 (reported by Alexey Shuvaev)
   .    Imdisplay 0.3.6:
           - Ensure that saved files reflect size/orientation/etc of
             final rendered image, not that of source image(s).
   .    Added OO-like connect()/disconnect()/block()/unblock() methods
        to GtkPlotDescriptor, for more elegant signal management
   .    VWhere 1.3.10:
           - Upgrade SLang prompt field from a simple text entry widget
             to the full gprompt terminal widget (described below).
           - Region filters now support exclusion:  pressing the 'e' key
             while creating a region (or after selecting one) marks it
             with a slash so as to exclude the points it contains

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN slgtk.orig/Makefile slgtk/Makefile
--- slgtk.orig/Makefile	2009-01-25 22:05:09.000000000 +0100
+++ slgtk/Makefile	2009-01-29 20:35:55.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	slgtk
-PORTVERSION=	0.7.3
+PORTVERSION=	0.7.4
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	ftp://space.mit.edu/pub/cxc/modules/slgtk/
 
@@ -15,12 +15,9 @@
 
 LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
 
-BROKEN=		does not compile
-
 USE_GNOME=	gtk20
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	LDFLAGS=-lncurses
-USE_LDCONFIG=	yes
 
 MAN1=		imdisplay.1
 
@@ -46,8 +43,8 @@
 		${WRKSRC}/examples/main.sl
 	@${REINPLACE_CMD} -e '/rm -f devel/d ; /ln -sf @prefix@ devel/d' \
 		${WRKSRC}/Makefile.in
-	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|PACKAGES|SLGTK_PACKAGES|g'
+	@${REINPLACE_CMD} -e 's|"\.\./images/test\.xpm"|path_concat(SLGTK_IMAGES_DIR,"test\.xpm")|' ${WRKSRC}/examples/textview.sl \
+		${WRKSRC}/examples/wmhints.sl
 
 post-install:
 .if !defined(NOPORTDOCS)
@@ -60,6 +57,7 @@
 	${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/*.sl ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/packages/wdisplay.sl ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/images/gtk-logo-rgb.gif ${EXAMPLESDIR}/images
 	${INSTALL_DATA} ${WRKSRC}/images/test.xpm ${EXAMPLESDIR}/images
 	${INSTALL_DATA} ${WRKSRC}/images/stars.fits ${EXAMPLESDIR}/images
 .endif
diff -ruN slgtk.orig/distinfo slgtk/distinfo
--- slgtk.orig/distinfo	2008-06-29 15:05:14.000000000 +0200
+++ slgtk/distinfo	2009-01-29 20:13:51.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (slgtk-0.7.3.tar.gz) = 6659a04f0aa4b7d766f0c07ab29c8bff
-SHA256 (slgtk-0.7.3.tar.gz) = 00c5f8959da505cfa3de9d355ee7b54770a63cc9eeb66b84e2102274da2042b6
-SIZE (slgtk-0.7.3.tar.gz) = 1008004
+MD5 (slgtk-0.7.4.tar.gz) = 0e3a91a11b2253308c9cc032c0dcfe9c
+SHA256 (slgtk-0.7.4.tar.gz) = f33c7a26451da701884c0df9589c404fbf689869502828f1495e082d316bed71
+SIZE (slgtk-0.7.4.tar.gz) = 1014457
diff -ruN slgtk.orig/pkg-plist slgtk/pkg-plist
--- slgtk.orig/pkg-plist	2008-06-29 15:05:14.000000000 +0200
+++ slgtk/pkg-plist	2009-01-29 01:58:02.000000000 +0100
@@ -5,7 +5,7 @@
 lib/slang/v2/modules/gtkextra-module.so
 lib/slang/v2/modules/libslgtk.so
 lib/slang/v2/modules/libslgtk.so.0
-lib/slang/v2/modules/libslgtk.so.0.7.3
+lib/slang/v2/modules/libslgtk.so.0.7.4
 %%PORTDOCS%%%%DOCSDIR%%/slgtk.txt
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/buttonbox.sl
@@ -28,6 +28,7 @@
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gprompt_example.sl
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtkmainloop.sl
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/handlebox.sl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/gtk-logo-rgb.gif
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/test.xpm
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/stars.fits
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/labels.sl


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



More information about the freebsd-ports-bugs mailing list