ports/131727: [maintainer update] x11-toolkits/slgtk to 0.7.5

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Sun Feb 15 23:30:02 UTC 2009


>Number:         131727
>Category:       ports
>Synopsis:       [maintainer update] x11-toolkits/slgtk to 0.7.5
>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:   Sun Feb 15 23:30:01 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: Sat Feb 14 01:29:05 CET 2009     root at wep4035:/usr/obj/usr/src/sys/NOUSB  amd64
>Description:
This update solves minor issues left after update to 0.7.4.
The main problem of FITS image format pixbuf loader not recognizing
FITS images is due to different definitions of FITS mime type.
The loader uses image/fits (official RFC 4047 mime type) while
shared-mime-info contains image/x-fits.
The proper way to go would be fixing shared-mime-info (any help here
is very appreciated) and the port could go as it is.
Changing either loader to use image/x-fits or freedesktop.org.xml
database to contain image/fits fixes the issue.

BTW: Interesting, neither Mac OS with gtk-2.14.7
nor Ubuntu with the same gtk seem to be affected.
FreeBSD with gtk-2.12 series is also unaffected.
What I've managed to dig is that gtk-2.14 uses gio-based mime-matching
code now.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN slgtk.orig/Makefile slgtk/Makefile
--- slgtk.orig/Makefile	2009-01-29 21:44:57.000000000 +0100
+++ slgtk/Makefile	2009-02-07 22:40:06.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	slgtk
-PORTVERSION=	0.7.4
+PORTVERSION=	0.7.5
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	ftp://space.mit.edu/pub/cxc/modules/slgtk/
 
@@ -43,8 +43,6 @@
 		${WRKSRC}/examples/main.sl
 	@${REINPLACE_CMD} -e '/rm -f devel/d ; /ln -sf @prefix@ devel/d' \
 		${WRKSRC}/Makefile.in
-	@${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)
diff -ruN slgtk.orig/distinfo slgtk/distinfo
--- slgtk.orig/distinfo	2009-01-29 21:44:57.000000000 +0100
+++ slgtk/distinfo	2009-02-07 22:40:09.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (slgtk-0.7.4.tar.gz) = 0e3a91a11b2253308c9cc032c0dcfe9c
-SHA256 (slgtk-0.7.4.tar.gz) = f33c7a26451da701884c0df9589c404fbf689869502828f1495e082d316bed71
-SIZE (slgtk-0.7.4.tar.gz) = 1014457
+MD5 (slgtk-0.7.5.tar.gz) = 99a2b4e313daebb53218b9af41874d4f
+SHA256 (slgtk-0.7.5.tar.gz) = 06f390bd58c404693a152077c39f2116c7782e42e13aca9423787ecd463066a4
+SIZE (slgtk-0.7.5.tar.gz) = 1014634
diff -ruN slgtk.orig/pkg-plist slgtk/pkg-plist
--- slgtk.orig/pkg-plist	2009-01-29 21:44:57.000000000 +0100
+++ slgtk/pkg-plist	2009-02-07 22:42:17.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.4
+lib/slang/v2/modules/libslgtk.so.0.7.5
 %%PORTDOCS%%%%DOCSDIR%%/slgtk.txt
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/buttonbox.sl


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



More information about the freebsd-ports-bugs mailing list