]> git.pld-linux.org Git - packages/geany.git/blobdiff - geany-doc_dir.patch
- up to 0.13
[packages/geany.git] / geany-doc_dir.patch
index db7ac621e0271d0c24c0bbd21fff91c74e62459d..6c2b628f8ab2f764481caaaa273a10ca9d50045b 100644 (file)
@@ -20,15 +20,15 @@ diff -aurN geany-0.8.orig/doc/Makefile.am geany-0.8/doc/Makefile.am
 -      $(INSTALL_DATA) $(top_srcdir)/TODO $(DOCDIR)
 -      $(INSTALL_DATA) $(top_srcdir)/scintilla/License.txt $(DOCDIR)/ScintillaLicense.txt
 -
-diff -aurN geany-0.8.orig/src/main.c geany-0.8/src/main.c
---- geany-0.8.orig/src/main.c  2006-08-09 13:06:51.000000000 +0200
-+++ geany-0.8/src/main.c       2006-08-12 00:52:04.532866874 +0200
-@@ -480,7 +480,7 @@
+diff -aurN geany-0.13.orig/src/main.c geany-0.13/src/main.c
+--- geany-0.13.orig/src/main.c 2008-04-11 14:09:34.396089080 +0200
++++ geany-0.13/src/main.c      2008-04-11 14:10:06.920977289 +0200
+@@ -382,7 +382,7 @@ static void setup_paths()
        g_free(install_dir);
  #else
-       data_dir = g_strdup(PACKAGE_DATA_DIR "/" PACKAGE "/"); // e.g. /usr/share/geany
--      doc_dir = g_strdup(PACKAGE_DATA_DIR "/doc/" PACKAGE "/html/");
-+      doc_dir = g_strdup(PACKAGE_DATA_DIR "/" PACKAGE "/doc/html/");
+       data_dir = g_strconcat(GEANY_DATADIR, "/geany/", NULL); // e.g. /usr/share/geany
+-      doc_dir = g_strconcat(GEANY_DATADIR, "/doc/geany/html/", NULL);
++      doc_dir = g_strconcat(GEANY_DATADIR, "/doc/geany-", VERSION, "/html/", NULL);
  #endif
  
+       // convert path names to locale encoding
This page took 0.073171 seconds and 4 git commands to generate.