~ubuntu-branches/ubuntu/maverick/codelite/maverick

« back to all changes in this revision

Viewing changes to debian/patches/04_change-installpath.patch

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin, Chow Loong Jin, Morten Kjeldgaard
  • Date: 2009-01-12 15:46:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090112154655-xe3e1x66fzj1g6mk
Tags: 1.0.2674+dfsg-0ubuntu1
[ Chow Loong Jin ]
* Initial release (LP: #298030)
* debian/patches/01_fix-symlink.patch:
  + Fix issue where /usr/bin/CodeLite points at the build directory
* debian/patches/02_fix-desktop.patch:
  + Fix issue where no menu entry appears for CodeLite
  + Fix issue where menu entry has no icon
* debian/patches/03_fix-sh.patch:
  + Removed .sh suffix from /usr/bin/le_*
* debian/patches/04_change-installpath.patch:
  + Make CodeLite look in /usr/lib/codelite for files instead of
    /usr/share/codelite
* Original .tar.gz has been repackaged, removing all .exe and .dll
  files, as well as sdk/curl, sdk/astyle, sdk/src, and sdk/wxconfig, 
  which are Windows-specific and/or unneeded.

[ Morten Kjeldgaard ]
* removed sdk/wxsqlite3/sqlite3 from upstream tarball, and added
  libsqlite3-dev as Build-Depends. Added README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: codelite-1.0.2527/LiteEditor/app.cpp
 
2
===================================================================
 
3
--- codelite-1.0.2527.orig/LiteEditor/app.cpp   2008-12-29 04:25:31.000000000 +0800
 
4
+++ codelite-1.0.2527/LiteEditor/app.cpp        2008-12-29 04:29:46.000000000 +0800
 
5
@@ -218,7 +218,7 @@
 
6
                wxMkDir((homeDir + wxT("/config/")).ToAscii(), 0777);
 
7
 
 
8
                //copy the settings from the global location if needed
 
9
-               wxString installPath( wxStandardPaths::Get().GetDataDir() );
 
10
+               wxString installPath( wxStandardPaths::Get().GetPluginsDir() );
 
11
                if ( ! CopySettings(homeDir, installPath ) ) return false;
 
12
                ManagerST::Get()->SetInstallDir( installPath );
 
13