[117643] trunk/dports/gnome/libgnomeui

devans at macports.org devans at macports.org
Thu Mar 6 13:40:44 PST 2014


Revision: 117643
          https://trac.macports.org/changeset/117643
Author:   devans at macports.org
Date:     2014-03-06 13:40:44 -0800 (Thu, 06 Mar 2014)
Log Message:
-----------
libgnomeui: use autoreconf in +x11 to fix intltool configuration, patch to fix format-nonliteral error when building with clang (#42734).

Modified Paths:
--------------
    trunk/dports/gnome/libgnomeui/Portfile

Added Paths:
-----------
    trunk/dports/gnome/libgnomeui/files/patch-libgnomeui-gnome-gconf-ui.c.diff

Modified: trunk/dports/gnome/libgnomeui/Portfile
===================================================================
--- trunk/dports/gnome/libgnomeui/Portfile	2014-03-06 20:44:30 UTC (rev 117642)
+++ trunk/dports/gnome/libgnomeui/Portfile	2014-03-06 21:40:44 UTC (rev 117643)
@@ -5,7 +5,7 @@
 
 name            libgnomeui
 version         2.24.5
-revision        11
+revision        12
 set branch      [join [lrange [split ${version} .] 0 1] .]
 maintainers     nomaintainer
 categories      gnome
@@ -34,7 +34,8 @@
                 port:libffi \
                 port:libgnome-keyring
 
-patchfiles      patch-configure.in.diff
+patchfiles      patch-configure.in.diff \
+                patch-libgnomeui-gnome-gconf-ui.c.diff
 
 use_autoreconf  yes
 autoreconf.args -fvi
@@ -50,7 +51,6 @@
     depends_lib-append      port:xorg-libsm \
                             port:xorg-libice \
                             port:xorg-libX11
-    use_autoreconf          no
     configure.args-append   --x-includes=${prefix}/include \
                             --x-libraries=${prefix}/lib
     configure.args-delete   --without-x

Added: trunk/dports/gnome/libgnomeui/files/patch-libgnomeui-gnome-gconf-ui.c.diff
===================================================================
--- trunk/dports/gnome/libgnomeui/files/patch-libgnomeui-gnome-gconf-ui.c.diff	                        (rev 0)
+++ trunk/dports/gnome/libgnomeui/files/patch-libgnomeui-gnome-gconf-ui.c.diff	2014-03-06 21:40:44 UTC (rev 117643)
@@ -0,0 +1,46 @@
+--- libgnomeui/gnome-gconf-ui.c.orig	2014-03-06 13:11:45.000000000 -0800
++++ libgnomeui/gnome-gconf-ui.c	2014-03-06 13:23:51.000000000 -0800
+@@ -168,24 +168,27 @@
+                 }
+ 
+                 if (have_overridden) {
+-                        fmt = _("The application \"%s\" attempted to change an "
+-                                "aspect of your configuration that your system "
+-                                "administrator or operating system vendor does not "
+-                                "allow you to change. Some of the settings you have "
+-                                "selected may not take effect, or may not be "
+-                                "restored next time you use the application.");
++                	dialog = gtk_message_dialog_new (NULL /* parent */,
++                                                 	0 /* flags */,
++                                                 	GTK_MESSAGE_ERROR,
++                                                 	GTK_BUTTONS_OK,
++                                                 	_("The application \"%s\" attempted to change an "
++                                                 	"aspect of your configuration that your system "
++                                                 	"administrator or operating system vendor does not "
++                                                 	"allow you to change. Some of the settings you have "
++                                                 	"selected may not take effect, or may not be "
++                                                 	"restored next time you use the application."),
++                                                 	gnome_program_get_human_readable_name(gnome_program_get()));
+                 } else {
+-                        fmt = _("An error occurred while loading or saving "
+-                                "configuration information for %s. Some of your "
+-                                "configuration settings may not work properly.");
++                	dialog = gtk_message_dialog_new (NULL /* parent */,
++                                                 	0 /* flags */,
++                                                 	GTK_MESSAGE_ERROR,
++                                                 	GTK_BUTTONS_OK,
++                                                 	_("An error occurred while loading or saving "
++                                			"configuration information for %s. Some of your "
++                                			"configuration settings may not work properly."),
++							gnome_program_get_human_readable_name(gnome_program_get()));
+                 }
+-
+-                dialog = gtk_message_dialog_new (NULL /* parent */,
+-                                                 0 /* flags */,
+-                                                 GTK_MESSAGE_ERROR,
+-                                                 GTK_BUTTONS_OK,
+-                                                 fmt,
+-                                                 gnome_program_get_human_readable_name(gnome_program_get()));
+                 gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
+                 g_signal_connect (dialog, "response",
+                                   G_CALLBACK (gtk_widget_destroy),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140306/d56761e0/attachment.html>


More information about the macports-changes mailing list