[35449] trunk/dports/xfce/libxfcegui4

afb at macports.org afb at macports.org
Fri Mar 28 11:59:10 PDT 2008


Revision: 35449
          http://trac.macosforge.org/projects/macports/changeset/35449
Author:   afb at macports.org
Date:     2008-03-28 11:59:09 -0700 (Fri, 28 Mar 2008)

Log Message:
-----------
mass upgrade from Xfce 4.2.4 to Xfce 4.4.2 (#12749)

Modified Paths:
--------------
    trunk/dports/xfce/libxfcegui4/Portfile

Added Paths:
-----------
    trunk/dports/xfce/libxfcegui4/files/
    trunk/dports/xfce/libxfcegui4/files/libtool.patch
    trunk/dports/xfce/libxfcegui4/files/patch-environ.diff

Modified: trunk/dports/xfce/libxfcegui4/Portfile
===================================================================
--- trunk/dports/xfce/libxfcegui4/Portfile	2008-03-28 18:59:04 UTC (rev 35448)
+++ trunk/dports/xfce/libxfcegui4/Portfile	2008-03-28 18:59:09 UTC (rev 35449)
@@ -3,21 +3,29 @@
 PortSystem 1.0
 
 name		libxfcegui4
-version		4.2.4
+version		4.4.2
 categories	xfce
 platforms	darwin
-maintainers	nomaintainer
+maintainers	afb at macports.org
 description	various gtk widgets for xfce
 long_description ${description}
 homepage	http://www.xfce.org/
-master_sites	http://www.us.xfce.org/archive/xfce-${version}/src/
-checksums	md5 40c3a5874021e2aaf73fd66df496d38f \
-		sha1 fa92b33e756bee9f77ec4bf5b2a3fdfd1fbc349b \
-		rmd160 381c661822836a4a7be1989f63cde56c0e1a6866
+master_sites	http://www.ca-us.xfce.org/archive/xfce-${version}/src/
+use_bzip2	yes
+checksums	md5 799a4869138c605126e8e71d58189bfd \
+		sha1 554a30c02c92b76c8caad444040e18d8ec1737bc \
+		rmd160 1de306d67f9a38d72ec184e00471e4d53db3801d
 
-configure.args	--disable-debug --enable-final
+configure.args	--enable-startup-notification
 
 depends_lib	port:libxfce4util \
 		port:libxfce4mcs \
-		port:gtk-xfce-engine port:libxml2 \
-		port:dbh
+		port:gtk-xfce-engine \
+		port:libxml2 \
+		port:startup-notification
+
+patchfiles	patch-environ.diff
+
+post-configure {
+	system "cd $worksrcpath && patch -p0 -i $filespath/libtool.patch"
+}

Added: trunk/dports/xfce/libxfcegui4/files/libtool.patch
===================================================================
--- trunk/dports/xfce/libxfcegui4/files/libtool.patch	                        (rev 0)
+++ trunk/dports/xfce/libxfcegui4/files/libtool.patch	2008-03-28 18:59:09 UTC (rev 35449)
@@ -0,0 +1,24 @@
+--- libtool.old	2007-09-09 20:23:21.000000000 -0500
++++ libtool	2007-09-09 20:21:31.000000000 -0500
+@@ -214,8 +214,8 @@
+ old_archive_from_expsyms_cmds=""
+ 
+ # Commands used to build and install a shared archive.
+-archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring"
+-archive_expsym_cmds="sed -e \\\"s,#.*,,\\\" -e \\\"s,^[    ]*,,\\\" -e \\\"s,^\\\\(..*\\\\),_&,\\\" < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring~nmedit -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
++archive_cmds="\$CC -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring"
++archive_expsym_cmds="sed -e \\\"s,#.*,,\\\" -e \\\"s,^[    ]*,,\\\" -e \\\"s,^\\\\(..*\\\\),_&,\\\" < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring~nmedit -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
+ postinstall_cmds=""
+ postuninstall_cmds=""
+ 
+@@ -7433,8 +7433,8 @@
+ old_archive_from_expsyms_cmds=""
+ 
+ # Commands used to build and install a shared archive.
+-archive_cmds="\$CC -dynamiclib -single_module \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring"
+-archive_expsym_cmds="sed -e \\\"s,#.*,,\\\" -e \\\"s,^[    ]*,,\\\" -e \\\"s,^\\\\(..*\\\\),_&,\\\" < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib -single_module \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring~nmedit -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
++archive_cmds="\$CC -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -single_module \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring"
++archive_expsym_cmds="sed -e \\\"s,#.*,,\\\" -e \\\"s,^[    ]*,,\\\" -e \\\"s,^\\\\(..*\\\\),_&,\\\" < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -single_module \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring~nmedit -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
+ postinstall_cmds=""
+ postuninstall_cmds=""
+ 

Added: trunk/dports/xfce/libxfcegui4/files/patch-environ.diff
===================================================================
--- trunk/dports/xfce/libxfcegui4/files/patch-environ.diff	                        (rev 0)
+++ trunk/dports/xfce/libxfcegui4/files/patch-environ.diff	2008-03-28 18:59:09 UTC (rev 35449)
@@ -0,0 +1,36 @@
+--- libxfcegui4/dialogs.c.orig	2007-01-25 21:48:59.000000000 +0100
++++ libxfcegui4/dialogs.c	2007-09-20 14:26:18.000000000 +0200
+@@ -60,7 +60,15 @@
+ /* max. length of a message */
+ #define MAXMESSAGELEN   2048
+ 
++/* Darwin does not have a variable named environ
++   but has a function which you can get the environ
++   variable with.  */
++#if defined(__APPLE__) && defined(__MACH__)
++#include <crt_externs.h>
++#define environ (*_NSGetEnviron())
++#else
+ extern char **environ;
++#endif
+ 
+ /* create a header with optional icon (may be NULL) in larger bold font;
+  * background and foreground colors are taken from gtk */
+--- libxfcegui4/xfce-exec.c.orig	2007-01-25 21:48:59.000000000 +0100
++++ libxfcegui4/xfce-exec.c	2007-09-20 14:35:04.000000000 +0200
+@@ -55,7 +55,15 @@
+ #include "xfce-exec.h"
+ #include "xfce-startup-notification.h"
+ 
++/* Darwin does not have a variable named environ
++   but has a function which you can get the environ
++   variable with.  */
++#if defined(__APPLE__) && defined(__MACH__)
++#include <crt_externs.h>
++#define environ (*_NSGetEnviron())
++#else
+ extern char **environ;
++#endif
+ 
+ static void
+ child_setup_async(gpointer user_data)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080328/d9189036/attachment-0001.html


More information about the macports-changes mailing list