~ubuntu-branches/debian/sid/gmtp/sid

« back to all changes in this revision

Viewing changes to debian/patches/04-fix_application_path.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-06 00:57:14 UTC
  • Revision ID: james.westby@ubuntu.com-20101106005714-h86w2021ha9x0535
Tags: 0.6-2
* Correct linking order to pass LDFLAGS to the compiler.
* Add patch to makes the program look for the data files under
  /usr/share/gmtp rather than under /usr/share/gMTP.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Alessio Treglia <alessio@debian.org>
 
2
Description: Application's graphics and other goodies are installed in
 
3
 /usr/share/gmtp.
 
4
Forwarded: no
 
5
---
 
6
 main.c |    6 +++---
 
7
 1 file changed, 3 insertions(+), 3 deletions(-)
 
8
 
 
9
--- gmtp.orig/main.c
 
10
+++ gmtp/main.c
 
11
@@ -75,11 +75,11 @@ main (int argc, char *argv[])
 
12
 void setFilePaths(int argc, char *argv[]){
 
13
     applicationpath = getRuntimePath(argc, argv);
 
14
     file_icon_png = g_string_new(applicationpath);
 
15
-    file_icon_png = g_string_append(file_icon_png, "/../share/gMTP/icon.png");
 
16
+    file_icon_png = g_string_append(file_icon_png, "/../share/gmtp/icon.png");
 
17
     file_icon16_png = g_string_new(applicationpath);
 
18
-    file_icon16_png = g_string_append(file_icon16_png, "/../share/gMTP/icon-16.png");
 
19
+    file_icon16_png = g_string_append(file_icon16_png, "/../share/gmtp/icon-16.png");
 
20
     file_about_png = g_string_new(applicationpath);
 
21
-    file_about_png = g_string_append(file_about_png, "/../share/gMTP/stock-about-16.png");
 
22
+    file_about_png = g_string_append(file_about_png, "/../share/gmtp/stock-about-16.png");
 
23
 }
 
24
 
 
25
 gchar *getRuntimePath(int argc, char *argv[]){