Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 61678 Details for
Bug 89533
new package suggestion: Code::Blocks - a cross-platform C/C++ IDE
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Modifies Code::Blocks to use FHS compliant paths
fhs_paths.patch (text/plain), 1.93 KB, created by
Joshua Anderson
on 2005-06-21 16:02:17 UTC
(
hide
)
Description:
Modifies Code::Blocks to use FHS compliant paths
Filename:
MIME Type:
Creator:
Joshua Anderson
Created:
2005-06-21 16:02:17 UTC
Size:
1.93 KB
patch
obsolete
>diff -Naur src.original/src/app.cpp src/src/app.cpp >--- src.original/src/app.cpp 2005-06-20 20:21:05.000000000 -0500 >+++ src/src/app.cpp 2005-06-20 22:04:12.000000000 -0500 >@@ -86,7 +86,8 @@ > SetAppName(APP_NAME" v"APP_VERSION); > ConfigManager::Init(wxConfigBase::Get()); > ConfigManager::Get()->Write("app_path", GetAppPath()); >- ConfigManager::Get()->Write("data_path", GetAppPath() + "/share/CodeBlocks"); >+ ConfigManager::Get()->Write("data_path", "/usr/share/codeblocks"); >+ ConfigManager::Get()->Write("plugin_path", "/usr/lib/codeblocks"); > m_HasDebugLog = ConfigManager::Get()->Read("/message_manager/has_debug_log", (long int)0) | m_HasDebugLog; > ConfigManager::Get()->Write("/message_manager/has_debug_log", m_HasDebugLog); > if (ParseCmdLine(0L) != 0) >diff -Naur src.original/src/main.cpp src/src/main.cpp >--- src.original/src/main.cpp 2005-06-20 20:21:05.000000000 -0500 >+++ src/src/main.cpp 2005-06-20 22:07:14.000000000 -0500 >@@ -364,7 +364,7 @@ > if (forceShow || showAtStartup) > { > wxLogNull null; // disable error message if tips file does not exist >- wxString tipsFile = ConfigManager::Get()->Read("/app_path") + "/tips.txt"; >+ wxString tipsFile = ConfigManager::Get()->Read("/data_path") + "/tips.txt"; > long tipsIndex = ConfigManager::Get()->Read("/next_tip", (long)0); > wxTipProvider* tipProvider = wxCreateFileTipProvider(tipsFile, tipsIndex); > showAtStartup = wxShowTip(this, tipProvider, showAtStartup); >@@ -573,7 +573,7 @@ > > PluginManager* m_PluginManager = Manager::Get()->GetPluginManager(); > >- wxString path = ConfigManager::Get()->Read("data_path") + "/plugins"; >+ wxString path = ConfigManager::Get()->Read("plugin_path") + "/plugins"; > m_pMsgMan->Log(_("Scanning for plugins in %s..."), path.c_str()); > int count = m_PluginManager->ScanForPlugins(path); > m_pMsgMan->AppendLog(_("Found %d plugins: "), count);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 89533
:
61678
|
61679
|
61680
|
61687
|
64486
|
65194
|
65195
|
72819
|
72820
|
73968
|
75046
|
75048
|
76289
|
76841
|
77788
|
77813
|
81421
|
81457
|
82344
|
82345
|
82346
|
86408
|
86560
|
95867
|
101642
|
106987