Bug 172157 - x11/babl: Version 0.1.10 avaialble and usable
Summary: x11/babl: Version 0.1.10 avaialble and usable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-29 14:00 UTC by O. Hartmann
Modified: 2013-03-11 12:30 UTC (History)
0 users

See Also:


Attachments
file.shar (6.03 KB, text/plain)
2012-09-29 14:00 UTC, O. Hartmann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2012-09-29 14:00:19 UTC
More modern libraries like GEGL 0.2.0 require more modern libraries like x11/babl version 0.1.10. FreeBSD ports contain the outdated 0.1.6.

I was able to compile (CLANG 3.2 and GCC 4.6) and use 0.1.10 with Gimp.

More testing with other on x11/babl dependend ports necessary.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-29 14:00:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2012-12-29 05:29:28 UTC
State Changed
From-To: open->patched

http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ports/x11/babl/
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-03-11 12:17:28 UTC
Author: kwm
Date: Mon Mar 11 12:17:15 2013
New Revision: 313870
URL: http://svnweb.freebsd.org/changeset/ports/313870

Log:
  Update to 0.1.10
  Convert to OtionsNG, switch to pathfix from gnomehack.
  
  PR:		ports/172157
  Sumbitted by:	Oliver Hartmann <ohartman@zedat.fu-berlin.de>
  Obtained from:	gnome team repo

Added:
  head/x11/babl/files/patch-babl_babl-palette.c   (contents, props changed)
Modified:
  head/x11/babl/Makefile
  head/x11/babl/distinfo   (contents, props changed)
  head/x11/babl/pkg-plist   (contents, props changed)

Modified: head/x11/babl/Makefile
==============================================================================
--- head/x11/babl/Makefile	Mon Mar 11 11:41:57 2013	(r313869)
+++ head/x11/babl/Makefile	Mon Mar 11 12:17:15 2013	(r313870)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	babl
-PORTVERSION=	0.1.6
+PORTVERSION=	0.1.10
 CATEGORIES=	x11
 MASTER_SITES=	ftp://ftp.gimp.org/pub/%SUBDIR%/ \
 		http://gimp.mirrors.hoobly.com/%SUBDIR%/ \
@@ -16,21 +16,20 @@ MASTER_SITE_SUBDIR=	babl/${PORTVERSION:R
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Dynamic pixel format conversion library
 
-BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-
 USE_LDCONFIG=	yes
 USE_BZIP2=	yes
 USE_AUTOTOOLS=	libtool
-USE_GNOME=	gnomehack ltverhack
+USE_GNOME=	ltverhack
 USE_PKGCONFIG=	build
+USES=		pathfix
 USE_GMAKE=	yes
-MAKE_JOBS_UNSAFE=yes
+CONFIGURE_ARGS=	--disable-introspection
 
-OPTIONS=	SIMD "Use cpu-specific optimizations if available" off
+OPTIONS_DEFINE=	SIMD
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITHOUT_SIMD)
+.if ${PORT_OPTIONS:MSIMD}
 CONFIGURE_ARGS+=--disable-mmx \
 		--disable-sse \
 		--disable-altivec
@@ -40,4 +39,4 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|x86_64|amd64|g' \
 		${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/x11/babl/distinfo
==============================================================================
--- head/x11/babl/distinfo	Mon Mar 11 11:41:57 2013	(r313869)
+++ head/x11/babl/distinfo	Mon Mar 11 12:17:15 2013	(r313870)
@@ -1,2 +1,2 @@
-SHA256 (babl-0.1.6.tar.bz2) = 319b9004a5366101fd522da02cc983a5d0f50a17af0fa5cbce3535e31bce19a4
-SIZE (babl-0.1.6.tar.bz2) = 462712
+SHA256 (babl-0.1.10.tar.bz2) = 943fc36ceac7dd25bc928256bc7b535a42989c6b971578146869eee5fe5955f4
+SIZE (babl-0.1.10.tar.bz2) = 449537

Added: head/x11/babl/files/patch-babl_babl-palette.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/babl/files/patch-babl_babl-palette.c	Mon Mar 11 12:17:15 2013	(r313870)
@@ -0,0 +1,14 @@
+--- babl/babl-palette.c.orig	2012-05-04 12:44:48.000000000 +0200
++++ babl/babl-palette.c	2012-05-04 12:47:11.000000000 +0200
+@@ -19,8 +19,11 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
++#ifdef __linux__
+ #include <values.h>
++#endif
+ #include <assert.h>
++#include <sys/limits.h>
+ #include "config.h"
+ #include "babl-internal.h"
+ #include "babl.h"

Modified: head/x11/babl/pkg-plist
==============================================================================
--- head/x11/babl/pkg-plist	Mon Mar 11 11:41:57 2013	(r313869)
+++ head/x11/babl/pkg-plist	Mon Mar 11 12:17:15 2013	(r313870)
@@ -5,6 +5,15 @@ include/babl-0.1/babl/babl.h
 lib/babl-0.1/CIE.a
 lib/babl-0.1/CIE.la
 lib/babl-0.1/CIE.so
+lib/babl-0.1/cairo.a
+lib/babl-0.1/cairo.la
+lib/babl-0.1/cairo.so
+lib/babl-0.1/fast-float.a
+lib/babl-0.1/fast-float.la
+lib/babl-0.1/fast-float.so
+lib/babl-0.1/float.a
+lib/babl-0.1/float.la
+lib/babl-0.1/float.so
 lib/babl-0.1/gegl-fixups.a
 lib/babl-0.1/gegl-fixups.la
 lib/babl-0.1/gegl-fixups.so
@@ -23,15 +32,11 @@ lib/babl-0.1/naive-CMYK.so
 lib/babl-0.1/sse-fixups.a
 lib/babl-0.1/sse-fixups.la
 lib/babl-0.1/sse-fixups.so
-lib/girepository-1.0/Babl-0.1.typelib
 lib/libbabl-0.1.a
 lib/libbabl-0.1.la
 lib/libbabl-0.1.so
 lib/libbabl-0.1.so.0
 libdata/pkgconfig/babl.pc
-share/gir-1.0/Babl-0.1.gir
-@dirrmtry share/gir-1.0
-@dirrmtry lib/girepository-1.0
 @dirrm lib/babl-0.1
 @dirrm include/babl-0.1/babl
 @dirrm include/babl-0.1
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Koop Mast freebsd_committer freebsd_triage 2013-03-11 12:29:04 UTC
State Changed
From-To: patched->closed

Update committed to ports, please send only send shars for new ports.  
For update please use diff -u. Thanks