aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-06-05 23:29:49 +0800
committervd <vd@FreeBSD.org>2006-06-05 23:29:49 +0800
commit7679a5785d7efb7130ca0c697a1401966048ad63 (patch)
tree9a28aaca545425432ba91d89114d1540da0ef902
parent8702b7880a42ba1fcd362e26f98bd305ba0d8874 (diff)
downloadfreebsd-ports-gnome-7679a5785d7efb7130ca0c697a1401966048ad63.tar.gz
freebsd-ports-gnome-7679a5785d7efb7130ca0c697a1401966048ad63.tar.zst
freebsd-ports-gnome-7679a5785d7efb7130ca0c697a1401966048ad63.zip
* Upgrade graphics/xaralx-devel from 0.5r1184 to 0.5r1250
* Add libtool dependency because configure.in mentions AC_PROG_LIBTOOL which seems to be defined by libtool.m4 installed by libtool. This allows us to drop the hack of removing it from configure.in * Invoking "pkg-config --cflags atk fontconfig gdk-2.0 pango" is not necessary anymore. Drop it. * Invoke autoreconf with a hacked value of ACLOCAL environment variable to make aclocal find gettext.m4 which is installed in /usr/local/aclocal/ but aclocal is searching /usr/local/aclocal19/. ade@ promised to fix this soon * Remove unnecessary changes to configure.in, they are not needed now
-rw-r--r--graphics/xaralx-devel/Makefile6
-rw-r--r--graphics/xaralx-devel/distinfo6
-rw-r--r--graphics/xaralx-devel/files/patch-configure.in22
-rw-r--r--graphics/xaralx/Makefile11
-rw-r--r--graphics/xaralx/files/patch-configure.in62
5 files changed, 48 insertions, 59 deletions
diff --git a/graphics/xaralx-devel/Makefile b/graphics/xaralx-devel/Makefile
index 89d617ed9936..823885ef298d 100644
--- a/graphics/xaralx-devel/Makefile
+++ b/graphics/xaralx-devel/Makefile
@@ -5,7 +5,8 @@
# $FreeBSD$
#
-PORTVERSION= 0.5r1184
+PORTVERSION= 0.5r1250
+PORTREVISION= 0
PKGNAMESUFFIX= -devel
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.bz2
@@ -14,4 +15,7 @@ COMMENT= Top-tier vector/general purpose graphics program (development version)
MASTERDIR= ${.CURDIR}/../xaralx
MD5_FILE= ${.CURDIR}/distinfo
+PATCHDIR= ${.CURDIR}/files
+EXTRA_PATCHES= ${MASTERDIR}/files/patch-PreComp_Makefile.am
+
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/xaralx-devel/distinfo b/graphics/xaralx-devel/distinfo
index a98167280fa6..4e6d5cf7c211 100644
--- a/graphics/xaralx-devel/distinfo
+++ b/graphics/xaralx-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (XaraLX-0.5r1184.tar.bz2) = 1ee08cef8862061a8b257eb164dcac59
-SHA256 (XaraLX-0.5r1184.tar.bz2) = 419f8d6521fac56f2b674d486d5c318a5f0d374b0b0bba7b422c1ed43d11fe0e
-SIZE (XaraLX-0.5r1184.tar.bz2) = 23498180
+MD5 (XaraLX-0.5r1250.tar.bz2) = ac939247f9ea84a673bfe40ae9bf7502
+SHA256 (XaraLX-0.5r1250.tar.bz2) = 88fa74abc984ef7870c520b96c2265213a4e5f1485dcb20d1272cfa5078b130c
+SIZE (XaraLX-0.5r1250.tar.bz2) = 23593964
diff --git a/graphics/xaralx-devel/files/patch-configure.in b/graphics/xaralx-devel/files/patch-configure.in
new file mode 100644
index 000000000000..cf6e135ded28
--- /dev/null
+++ b/graphics/xaralx-devel/files/patch-configure.in
@@ -0,0 +1,22 @@
+--- configure.in.orig Mon Jun 5 09:30:36 2006
++++ configure.in Mon Jun 5 10:14:28 2006
+@@ -165,7 +165,7 @@
+
+ if test "$InternationalEnable" = "yes"; then
+ AC_MSG_CHECKING([wxWidgets wxrc utility])
+- WXRC="`$WXCONFIG --utility=wxrc`"
++ WXRC="`$WXCONFIG --utility=wxrc-gtk2u`"
+
+ if test "$WXRC" = "" ; then
+ AC_MSG_RESULT([not found, disabling international build])
+@@ -277,8 +277,8 @@
+ fi
+
+ # pass the Pango, FreeType and GTK flags (required for wxGTK font rendering)
+-CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS $PANGO_CFLAGS $FT_CFLAGS $GTK_CFLAGS $LIBXML2_CFLAGS"
+-CXXFLAGS="$CXXFLAGS $WX_CPPFLAGS $PANGO_CFLAGS $FT_CFLAGS $GTK_CFLAGS $LIBXML2_CFLAGS"
++CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS $PANGO_CFLAGS $FT_CFLAGS $GTK_CFLAGS $LIBXML2_CFLAGS $CPPFLAGS_APPEND"
++CXXFLAGS="$CXXFLAGS $WX_CPPFLAGS $PANGO_CFLAGS $FT_CFLAGS $GTK_CFLAGS $LIBXML2_CFLAGS $CPPFLAGS_APPEND"
+
+ AC_MSG_CHECKING([Linker])
+ case $host in
diff --git a/graphics/xaralx/Makefile b/graphics/xaralx/Makefile
index 862455bcecfd..f0a37b148d1e 100644
--- a/graphics/xaralx/Makefile
+++ b/graphics/xaralx/Makefile
@@ -29,14 +29,12 @@ RUN_DEPENDS+= ${WXDEP}:${PORTSDIR}/x11-toolkits/wxgtk26-unicode
LIB_DEPENDS+= dlmalloc.2:${PORTSDIR}/devel/libdlmalloc \
xml2.5:${PORTSDIR}/textproc/libxml2
-USE_AUTOTOOLS= autoconf:259:env aclocal:19:env automake:19:env
+USE_AUTOTOOLS= autoconf:259:env aclocal:19:env automake:19:env libtool:15:env
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-wx-config=wxgtk2u-2.6-config \
--program-suffix=${PKGNAMESUFFIX}
-PKGCONFIGS=atk fontconfig gdk-2.0 pango
-CONFIGURE_ENV+= CPPFLAGS_APPEND="`pkg-config --cflags ${PKGCONFIGS}` \
- -I${LOCALBASE}/include/atk-1.0/atk \
+CONFIGURE_ENV+= CPPFLAGS_APPEND="-I${LOCALBASE}/include/atk-1.0/atk \
-I${X11BASE}/include/gtk-2.0/gtk"
# we're using dlmalloc because the stock libc does not have malloc_usable_size()
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -ldlmalloc"
@@ -88,7 +86,10 @@ post-patch:
${WRKSRC}/xaralx.desktop
pre-configure:
- cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -f -s -i
+ cd ${WRKSRC} && \
+ ${SETENV} ${AUTOTOOLS_ENV} \
+ ACLOCAL="${ACLOCAL} -I ${LOCALBASE}/share/aclocal" \
+ ${AUTORECONF} -f -i -s
.if !target(do-install)
do-install:
diff --git a/graphics/xaralx/files/patch-configure.in b/graphics/xaralx/files/patch-configure.in
index 8d33883a5b64..932bd36803e7 100644
--- a/graphics/xaralx/files/patch-configure.in
+++ b/graphics/xaralx/files/patch-configure.in
@@ -1,45 +1,15 @@
---- configure.in.orig Wed May 10 14:01:21 2006
-+++ configure.in Wed May 10 14:04:32 2006
-@@ -47,7 +47,7 @@
- AC_PROG_INSTALL
- # We don't need dlopen right now and it's not supported on Darwin
- # AC_LIBTOOL_DLOPEN
--AC_PROG_LIBTOOL
-+AC_PROG_RANLIB
-
- AC_C_BIGENDIAN
- AC_CHECK_SIZEOF(void*)
-@@ -141,7 +141,6 @@
- if echo $WX_CPPFLAGS | grep -q '__WXGTK__' ; then
- WX_GTK="yes"
- AC_MSG_RESULT([found])
-- PKG_CHECK_MODULES(GTK, [gtk+-2.0])
- else
- AC_MSG_RESULT([not found])
- fi
-@@ -215,20 +214,7 @@
- # GTK build, so call FTTEST function to test for FreeType
- FTTEST
- FT_CFLAGS="`$FTCONFIG --cflags`"
--
-- # check for the Pango package
-- PkgError="no"
-- PKG_CHECK_MODULES(PANGOX, pangox,
-- [
-- PANGO_CFLAGS="$PANGOX_CFLAGS"
-- ],
-- [
-- PkgError="yes"
-- ]
-- )
-- if test PkgError = "yes"; then
-- AC_MSG_ERROR([pangox library not found])
-- fi
-+ PANGO_CFLAGS=""
- else
- # non-GTK build, i.e., MacOS, so Pango and FreeType are not required
- FT_CFLAGS=""
-@@ -246,8 +232,8 @@
+--- configure.in.orig Mon Jun 5 15:06:26 2006
++++ configure.in Mon Jun 5 15:07:19 2006
+@@ -139,7 +139,7 @@
+ WX_CPPFLAGS="`$WXCONFIG --static=$StaticEnable --debug=$DebugEnable --unicode=yes --cppflags`"
+ WX_CXXFLAGS="`$WXCONFIG --static=$StaticEnable --debug=$DebugEnable --unicode=yes --cxxflags | sed -e 's/-fno-exceptions//'`"
+ WX_LIBS="`$WXCONFIG --static=$StaticEnable --debug=$DebugEnable --unicode=yes --libs`"
+- WXRC="`$WXCONFIG --utility=wxrc`"
++ WXRC="`$WXCONFIG --utility=wxrc-gtk2u`"
+
+ # See if we are running on GTK
+ WX_GTK="no"
+@@ -252,8 +252,8 @@
fi
# pass the Pango, FreeType and GTK flags (required for wxGTK font rendering)
@@ -50,11 +20,3 @@
AC_MSG_CHECKING([Linker])
case $host in
-@@ -286,6 +272,7 @@
- AM_CONDITIONAL(DARWIN_LINK, [test "$DarwinLink" = "yes"])
-
- AC_SUBST(TOPDIR)
-+AC_SUBST(WX_CPPFLAGS)
- AC_SUBST(WX_LIBS)
- AC_SUBST(XRCINCLUDE)
- AC_SUBST(XARALANGUAGE)