[atomix] 30/32: Add icon-path.patch

Markus Koschany apo-guest at moszumanska.debian.org
Thu Mar 19 18:30:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository atomix.

commit d7524a0b8558785e0907343b5de0a5f02ba963ef
Author: Markus Koschany <apo at gambaru.de>
Date:   Thu Mar 19 19:18:26 2015 +0100

    Add icon-path.patch
    
    Since DATADIR is /usr/share/games in Debian this patch is necessary for finding
    atomix-icon.png. It can be dropped when upstream fixes the installation path
    and installs the icon to the hicolor directory.
---
 debian/patches/icon-path.patch | 21 +++++++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/icon-path.patch b/debian/patches/icon-path.patch
new file mode 100644
index 0000000..d0aa1ac
--- /dev/null
+++ b/debian/patches/icon-path.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Thu, 19 Mar 2015 19:18:09 +0100
+Subject: icon path
+
+---
+ src/main.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/main.c b/src/main.c
+index 51e8d40..2278d1b 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -653,7 +653,7 @@ static AtomixApp *create_gui (void)
+   app->lb_formula = GTK_WIDGET (gtk_builder_get_object (builder, "formula_value"));
+   app->lb_score = GTK_WIDGET (gtk_builder_get_object (builder, "score_value"));
+ 
+-  gtk_window_set_default_icon_from_file (g_build_filename (DATADIR,
++  gtk_window_set_default_icon_from_file (g_build_filename ("/usr/share/",
+ 							   "pixmaps",
+ 							   "atomix-icon.png",
+ 							   NULL),
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8a8553b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+icon-path.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/atomix.git



More information about the Pkg-games-commits mailing list