[29736] trunk/dports/gnome/libgnomeprint
source_changes at macosforge.org
source_changes at macosforge.org
Mon Oct 8 03:09:55 PDT 2007
Revision: 29736
http://trac.macosforge.org/projects/macports/changeset/29736
Author: nox at macports.org
Date: 2007-10-08 03:09:55 -0700 (Mon, 08 Oct 2007)
Log Message:
-----------
libgnomeprint:
* Updated to 2.18.2.
* mathematic library is not needed on Darwin, so let's patch around configure script to disable it.
* Added a bunch of dependencies based on configure.ac file.
* Added md5 and sha1 checksums.
Modified Paths:
--------------
trunk/dports/gnome/libgnomeprint/Portfile
Added Paths:
-----------
trunk/dports/gnome/libgnomeprint/files/
trunk/dports/gnome/libgnomeprint/files/patch-configure
Modified: trunk/dports/gnome/libgnomeprint/Portfile
===================================================================
--- trunk/dports/gnome/libgnomeprint/Portfile 2007-10-08 09:34:33 UTC (rev 29735)
+++ trunk/dports/gnome/libgnomeprint/Portfile 2007-10-08 10:09:55 UTC (rev 29736)
@@ -3,7 +3,7 @@
PortSystem 1.0
name libgnomeprint
-version 2.12.1
+version 2.18.2
set branch [join [lrange [split ${version} .] 0 1] .]
description This is an implementation of the Gnome Printing Architecture
@@ -14,22 +14,32 @@
platforms darwin
homepage http://www.levien.com/gnome/print-arch.html
master_sites gnome:sources/${name}/${branch}/
-checksums rmd160 40e906f9b59e68802afbe322739956b57084b6ab
-depends_lib port:libxml2 \
- port:zlib \
- port:pango port:libart_lgpl \
- port:libgnomecups \
- port:popt
-depends_build port:bison
+checksums md5 b1f6c95a8dbb8ce17ab00fc2eea2aa91 \
+ sha1 25c468b78fedfc708b26e95941d51dddbbf25562 \
+ rmd160 53126d1ff565e1fefd66d33eb6380a6a55c5a1cc
+depends_build port:pkgconfig \
+ port:bison \
+ port:perl5.8 \
+ port:p5-xml-parser
+
+depends_lib port:glib2 \
+ port:libart_lgpl \
+ port:pango \
+ port:libxml2 \
+ port:fontconfig \
+ port:freetype \
+ port:popt \
+ port:libgnomecups \
+ port:zlib
+
use_bzip2 yes
-configure.args --mandir=${prefix}/share/man
-configure.cflags-append -L/usr/lib
-configure.cflags-append -I/usr/include
-configure.cppflags-append -lm
+patchfiles patch-configure
+configure.args --disable-gtk-doc
+
livecheck.check regex
livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Added: trunk/dports/gnome/libgnomeprint/files/patch-configure
===================================================================
--- trunk/dports/gnome/libgnomeprint/files/patch-configure (rev 0)
+++ trunk/dports/gnome/libgnomeprint/files/patch-configure 2007-10-08 10:09:55 UTC (rev 29736)
@@ -0,0 +1,26 @@
+--- configure.in.orig 2007-10-08 11:30:34.000000000 +0200
++++ configure.in 2007-10-08 11:32:54.000000000 +0200
+@@ -148,9 +148,6 @@
+ dnl Checking for libm
+ dnl =================================
+ AC_CHECK_LIBM
+-if test "x$LIBM" = "x"; then
+- AC_MSG_ERROR(You need -lm(mathematic library) for this version of libgnomeprint.)
+-fi
+ LDFLAGS="$LDFLAGS $LIBM"
+
+ dnl =================================
+--- configure.orig 2007-10-08 11:30:26.000000000 +0200
++++ configure 2007-10-08 11:32:53.000000000 +0200
+@@ -23821,11 +23821,6 @@
+ ;;
+ esac
+
+-if test "x$LIBM" = "x"; then
+- { { echo "$as_me:$LINENO: error: You need -lm(mathematic library) for this version of libgnomeprint." >&5
+-echo "$as_me: error: You need -lm(mathematic library) for this version of libgnomeprint." >&2;}
+- { (exit 1); exit 1; }; }
+-fi
+ LDFLAGS="$LDFLAGS $LIBM"
+
+ FREETYPE_LIBS=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071008/33900172/attachment.html
More information about the macports-changes
mailing list