rpms/libgnome/devel libgnome-2.18.0-prgname.patch, NONE, 1.1 libgnome-2.17.90-default-icontheme.patch, 1.1, 1.2 libgnome.spec, 1.82, 1.83

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sat Mar 31 18:13:48 UTC 2007


Author: mclasen

Update of /cvs/dist/rpms/libgnome/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14353

Modified Files:
	libgnome-2.17.90-default-icontheme.patch libgnome.spec 
Added Files:
	libgnome-2.18.0-prgname.patch 
Log Message:
set program name correctly


libgnome-2.18.0-prgname.patch:
 gnome-program.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

--- NEW FILE libgnome-2.18.0-prgname.patch ---
--- libgnome-2.18.0/libgnome/gnome-program.c.prgname	2007-01-12 07:30:06.000000000 -0500
+++ libgnome-2.18.0/libgnome/gnome-program.c	2007-03-31 13:56:05.000000000 -0400
@@ -1296,6 +1296,7 @@
     GnomeModuleInfo *a_module;
     poptContext argctx = NULL;
     int i;
+    char *prgname;
 
     g_return_val_if_fail (program != NULL, NULL);
     g_return_val_if_fail (GNOME_IS_PROGRAM (program), NULL);
@@ -1305,12 +1306,13 @@
 	return NULL;
 
     /* Store invocation name */
-    g_set_prgname (argv[0]);
+    prgname = g_path_get_basename (argv[0]);
+    g_set_prgname (prgname);
+    g_free (prgname);
 
     /* 0. Misc setup */
     g_free (program->_priv->app_id);
     program->_priv->app_id = g_strdup (app_id);
-    g_set_prgname (app_id);
     g_free (program->_priv->app_version);
     program->_priv->app_version = g_strdup (app_version);
     program->_priv->argc = argc;

libgnome-2.17.90-default-icontheme.patch:
 0 files changed

Index: libgnome-2.17.90-default-icontheme.patch
===================================================================
RCS file: /cvs/dist/rpms/libgnome/devel/libgnome-2.17.90-default-icontheme.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libgnome-2.17.90-default-icontheme.patch	22 Jan 2007 18:37:09 -0000	1.1
+++ libgnome-2.17.90-default-icontheme.patch	31 Mar 2007 18:13:46 -0000	1.2
@@ -1,11 +0,0 @@
---- libgnome-2.7.2/schemas/desktop_gnome_interface.schemas.in.in.default-icontheme	2004-08-11 13:39:30.388822836 +0200
-+++ libgnome-2.7.2/schemas/desktop_gnome_interface.schemas.in.in	2004-08-11 13:39:49.028077407 +0200
-@@ -130,7 +130,7 @@
-       <applyto>/desktop/gnome/interface/icon_theme</applyto>
-       <owner>gnome</owner>
-       <type>string</type>
--      <default>gnome</default>
-+      <default>Echo</default>
-       <locale name="C">
-         <short>Icon Theme</short>
-         <long>Icon theme to use for the panel, nautilus etc.</long>


Index: libgnome.spec
===================================================================
RCS file: /cvs/dist/rpms/libgnome/devel/libgnome.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- libgnome.spec	13 Mar 2007 17:10:17 -0000	1.82
+++ libgnome.spec	31 Mar 2007 18:13:46 -0000	1.83
@@ -13,7 +13,7 @@
 Summary: GNOME base library
 Name: libgnome
 Version: 2.18.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: ftp://ftp.gnome.org
 Source0: http://ftp.gnome.org/pub/gnome/sources/libgnome/2.18/%{name}-%{version}.tar.bz2
 Source1: desktop_gnome_peripherals_monitor.schemas
@@ -61,6 +61,7 @@
 Patch5: libgnome-2.8.0-default-browser.patch
 Patch6: libgnome-2.15.1-stat-homedir.patch
 Patch7: libgnome-2.15.1-turn-off-im-menu.patch
+Patch8: libgnome-2.18.0-prgname.patch
 
 
 %description
@@ -111,6 +112,7 @@
 %patch5 -p1 -b .default-browser
 %patch6 -p1 -b .stat-homedir
 %patch7 -p1 -b .turn-off-im-menu
+%patch8 -p1 -b .prgname
 
 %build
 %configure --disable-gtk-doc --disable-static
@@ -180,6 +182,9 @@
 %{_datadir}/gtk-doc
 
 %changelog
+* Sat Mar 31 2007 Matthias Clasen <mclasen at redhat.com> - 2.18.0-2
+- Set program name correctly
+
 * Tue Mar 13 2007 Matthias Clasen <mclasen at redhat.com> - 2.18.0-1
 - Update to 2.18.0
 




More information about the fedora-cvs-commits mailing list