[108075] trunk/dports/gnome/xchat-gnome
devans at macports.org
devans at macports.org
Fri Jul 12 10:39:12 PDT 2013
Revision: 108075
https://trac.macports.org/changeset/108075
Author: devans at macports.org
Date: 2013-07-12 10:39:11 -0700 (Fri, 12 Jul 2013)
Log Message:
-----------
xchat-gnome: fix build by allowing deprecated usages, update desktop database, hicolor icon cache post activate, closes #34752, #25790.
Modified Paths:
--------------
trunk/dports/gnome/xchat-gnome/Portfile
Added Paths:
-----------
trunk/dports/gnome/xchat-gnome/files/
trunk/dports/gnome/xchat-gnome/files/patch-configure.diff
Modified: trunk/dports/gnome/xchat-gnome/Portfile
===================================================================
--- trunk/dports/gnome/xchat-gnome/Portfile 2013-07-12 15:57:42 UTC (rev 108074)
+++ trunk/dports/gnome/xchat-gnome/Portfile 2013-07-12 17:39:11 UTC (rev 108075)
@@ -39,9 +39,7 @@
port:openssl \
port:python27
-pre-configure {
- reinplace "s|-fgnu89-inline||" ${worksrcpath}/configure
-}
+patchfiles patch-configure.diff
configure.python ${prefix}/bin/python2.7
@@ -51,6 +49,8 @@
post-activate {
system "${prefix}/bin/scrollkeeper-update"
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
}
Added: trunk/dports/gnome/xchat-gnome/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/xchat-gnome/files/patch-configure.diff (rev 0)
+++ trunk/dports/gnome/xchat-gnome/files/patch-configure.diff 2013-07-12 17:39:11 UTC (rev 108075)
@@ -0,0 +1,20 @@
+--- configure.orig 2009-04-12 10:48:10.000000000 -0700
++++ configure 2013-07-12 10:10:42.000000000 -0700
+@@ -13439,7 +13439,7 @@
+
+
+ if test $USE_MAINTAINER_MODE = yes; then
+- DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
++ DISABLE_DEPRECATED="-DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
+ else
+ DISABLE_DEPRECATED=""
+ fi
+@@ -17310,7 +17310,7 @@
+
+ # warning flags
+ AM_CPPFLAGS="$AM_CPPFLAGS $DISABLE_DEPRECATED"
+-AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS -fgnu89-inline"
++AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS "
+
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130712/d1a88df8/attachment.html>
More information about the macports-changes
mailing list