r36583 - /desktop/experimental/glib2.0/debian/patches/92_revert_appinfo_command_line.patch
mpitt at users.alioth.debian.org
mpitt at users.alioth.debian.org
Tue Jan 15 10:13:08 UTC 2013
Author: mpitt
Date: Tue Jan 15 10:13:07 2013
New Revision: 36583
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36583
Log:
92_revert_appinfo_command_line.patch: Fix harder
Modified:
desktop/experimental/glib2.0/debian/patches/92_revert_appinfo_command_line.patch
Modified: desktop/experimental/glib2.0/debian/patches/92_revert_appinfo_command_line.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/patches/92_revert_appinfo_command_line.patch?rev=36583&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/patches/92_revert_appinfo_command_line.patch [utf-8] (original)
+++ desktop/experimental/glib2.0/debian/patches/92_revert_appinfo_command_line.patch [utf-8] Tue Jan 15 10:13:07 2013
@@ -1,7 +1,7 @@
-Index: glib2.0-2.35.4/gio/tests/appinfo-test.desktop
+Index: glib2.0-exp/gio/tests/appinfo-test.desktop
===================================================================
---- glib2.0-2.35.4.orig/gio/tests/appinfo-test.desktop 2012-08-19 04:19:25.000000000 +0200
-+++ glib2.0-2.35.4/gio/tests/appinfo-test.desktop 2013-01-15 09:54:26.000000000 +0100
+--- glib2.0-exp.orig/gio/tests/appinfo-test.desktop 2013-01-15 11:12:11.007356023 +0100
++++ glib2.0-exp/gio/tests/appinfo-test.desktop 2013-01-15 11:12:11.003356023 +0100
@@ -9,7 +9,6 @@
Comment[de]=GAppInfo Beispiel
Exec=./appinfo-test --option %U %i --name %c --filename %k %m %%
@@ -10,11 +10,11 @@
StartupNotify=true
StartupWMClass=appinfo-class
MimeType=image/png;image/jpeg;
-Index: glib2.0-2.35.4/gio/tests/desktop-app-info.c
+Index: glib2.0-exp/gio/tests/desktop-app-info.c
===================================================================
---- glib2.0-2.35.4.orig/gio/tests/desktop-app-info.c 2012-11-22 03:13:00.000000000 +0100
-+++ glib2.0-2.35.4/gio/tests/desktop-app-info.c 2013-01-15 09:55:24.315133072 +0100
-@@ -360,7 +360,7 @@
+--- glib2.0-exp.orig/gio/tests/desktop-app-info.c 2013-01-15 11:12:11.007356023 +0100
++++ glib2.0-exp/gio/tests/desktop-app-info.c 2013-01-15 11:12:43.843357612 +0100
+@@ -360,16 +360,13 @@
appinfo = g_desktop_app_info_new_from_filename (SRCDIR "/appinfo-test.desktop");
g_assert (appinfo != NULL);
@@ -23,3 +23,12 @@
g_assert (!g_desktop_app_info_has_key (appinfo, "Bratwurst"));
s = g_desktop_app_info_get_string (appinfo, "StartupWMClass");
+ g_assert_cmpstr (s, ==, "appinfo-class");
+ g_free (s);
+
+- b = g_desktop_app_info_get_boolean (appinfo, "Terminal");
+- g_assert (b);
+-
+ g_object_unref (appinfo);
+ }
+
More information about the pkg-gnome-commits
mailing list