--- codeblocks-8.02.orig/debian/codeblocks.sharedmime
+++ codeblocks-8.02/debian/codeblocks.sharedmime
@@ -0,0 +1,13 @@
+
+
+
+ Code::Blocks Project
+
+
+
+
+ Code::Blocks Workspace
+
+
+
+
--- codeblocks-8.02.orig/debian/watch
+++ codeblocks-8.02/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/codeblocks/codeblocks-(.+)-src\.tar\.bz2
--- codeblocks-8.02.orig/debian/codeblocks.dirs
+++ codeblocks-8.02/debian/codeblocks.dirs
@@ -0,0 +1 @@
+usr/lib/codeblocks/plugins
--- codeblocks-8.02.orig/debian/rules
+++ codeblocks-8.02/debian/rules
@@ -1,14 +1,15 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+# Code::Blocks debian/rules file
+
+# enable dpatch
+include /usr/share/dpatch/dpatch.make
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# Get the package version from the changelog
+VERSION=$(shell parsechangelog | grep ^Version | awk -F": " '{print $$2}' | cut -d"-" -f1)
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
@@ -24,15 +25,24 @@
CFLAGS += -O2
endif
-config.status: configure
+config.status: configure patch-stamp
dh_testdir
- # Add here commands to configure the package.
+
+ # Update config.sub/guess
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
CFLAGS="$(CFLAGS)" \
./configure \
--with-contrib-plugins=all \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
+ --docdir=\$${prefix}/share/doc \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info
@@ -44,26 +54,22 @@
# Add here commands to compile the package.
$(MAKE)
- #docbook-to-man debian/codeblocks.sgml > codeblocks.1
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
- -$(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
-
+ [ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
+ dh_clean rm config.log \
+ config.status \
+ config.sub config.guess \
+ src/plugins/contrib/codesnippets/resources/codesnippets.zip \
+ src/plugins/scriptedwizard/resources/scriptedwizard.zip
install: build
dh_testdir
@@ -73,6 +79,14 @@
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+ # Move the plugins folder from /usr/share/codeblocks/plugins to its proper place
+ mkdir -p $(CURDIR)/debian/tmp/usr/lib/codeblocks/plugins
+ mv $(CURDIR)/debian/tmp/usr/share/codeblocks/plugins/ $(CURDIR)/debian/tmp/usr/lib/codeblocks/
+
+ # Add the override to its proper place
+ mkdir -p $(CURDIR)/debian/tmp/usr/share/lintian/overrides
+ cp $(CURDIR)/debian/codeblocks.lintian-overrides $(CURDIR)/debian/tmp/usr/share/lintian/overrides/codeblocks
+
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
@@ -86,21 +100,15 @@
dh_installexamples
dh_install --fail-missing --sourcedir=debian/tmp
dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
+ dh_installinfo
dh_installman
+ dh_installmime
+ dh_desktop
+ dh_icons
dh_link
- dh_strip --dbg-package=codeblocks
+ dh_strip --dbg-package=codeblocks-dbg
dh_compress
dh_fixperms
-# dh_perl
-# dh_python
dh_makeshlibs
dh_installdeb
dh_shlibdeps
@@ -108,5 +116,11 @@
dh_md5sums
dh_builddeb
+get-orig-source:
+ cd .. && wget http://internap.dl.sourceforge.net/sourceforge/codeblocks/codeblocks-8.02-src.tar.bz2 && \
+ bunzip2 codeblocks-${VERSION}-src.tar.bz2 && \
+ gzip -9 codeblocks-${VERSION}-src.tar && \
+ mv codeblocks-${VERSION}-src.tar.gz codeblocks_${VERSION}.orig.tar.gz
+
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
--- codeblocks-8.02.orig/debian/README.Debian
+++ codeblocks-8.02/debian/README.Debian
@@ -0,0 +1,9 @@
+README file for Debian Code::Blocks package
+---
+
+To comply with the Debian Policy Manual, the plugins directory
+for global plugins has been moved to /usr/lib/codeblocks/plugins
+
+The user plugin directory remains in .codeblocks/share/plugins
+
+-- Michael Casadevall
--- codeblocks-8.02.orig/debian/changelog
+++ codeblocks-8.02/debian/changelog
@@ -1,6 +1,19 @@
-codeblocks (8.02) dapper; urgency=low
+codeblocks (8.02-0ubuntu2) intrepid; urgency=low
- * Release 8.02
+ * Expanded control file entries as per archive admin request.
+ * Corrected original maintainer which had accidently been left as
+ the maintainer set in the upstream Debian folder, and not as myself
- -- Yiannis Mandravellos Wed, 27 Feb 2008 17:07:00 +0200
+ -- Michael Casadevall Thu, 24 Jul 2008 09:47:33 -0400
+codeblocks (8.02-0ubuntu1) intrepid; urgency=low
+
+ * Inital Release based off existing codeblocks debian folder (LP: #105428)
+ * Modify Maintainer from original debian folder to match
+ the DebianMaintainerField specification.
+ * Added 01_codeblocks_plugin_path.dpatch to move the plugins path
+ * Noted the LGPL licensing for some of the files in copyright, and
+ pinged upstream to please include a COPYING.LGPL file in the source
+ tarball
+
+ -- Michael Casadevall Thu, 17 Jul 2008 04:39:23 +0000
--- codeblocks-8.02.orig/debian/copyright
+++ codeblocks-8.02/debian/copyright
@@ -1,10 +1,37 @@
-This package was debianized by Yiannis Mandravellos on
-Sat, 25 Feb 2006 12:26:36 +0200.
+This package was debianized by Michael Casadevall on Thu, Jul 17, 2008, 00:41 based off
+work of Yiannis Mandravellos .
-It was exported from svn://svn.berlios.de/codeblocks/trunk.
-The only extra thing performed before debianization, was to run bootstrap to generate the autotools build configuration.
+It was acquired from
-Copyright Holder: Yiannis Mandravellos
+Copyright (C) 2004-2008 Code::Block Team
-License: see /usr/share/common-licenses/GPL
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; This program is distributed in the hope
+that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+You should have received a copy of the GNU General Public License with
+the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-3;
+if not, write to the Free Software Foundation, Inc., 51 Franklin St,
+Fifth Floor, Boston, MA 02110-1301, USA.
+
+Additionally, parts of this package are licensed under the GNU Lesser
+General Public License.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; This program is distributed in the hope that it
+will be useful, but WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Lesser General Public License for more details
+
+You should have received a copy of the GNU Lesser General Public License,
+Version 3 with the Debian GNU/Linux distribution in file
+/usr/share/common-licenses/LGPL-3; if not, it is available online
+at http://www.gnu.org/licenses/lgpl-3.0.html"
+
+The Debian packaging is (C) 2008, Michael Casadevall and
+(C) 2006, Yiannis Mandravellos is licensed under the
+GPL, see `/usr/share/common-licenses/GPL'.
--- codeblocks-8.02.orig/debian/compat
+++ codeblocks-8.02/debian/compat
@@ -1 +1 @@
-4
+5
--- codeblocks-8.02.orig/debian/codeblocks.lintian-overrides
+++ codeblocks-8.02/debian/codeblocks.lintian-overrides
@@ -0,0 +1,5 @@
+# This lintian override is here because lexer_bash.sample is a test for the
+# bash lexer in the IDE. It is not susposed to be run as it only serves as a
+# test file, and not an actual program.
+
+codeblocks: script-not-executable ./usr/share/codeblocks/lexers/lexer_bash.sample
--- codeblocks-8.02.orig/debian/control
+++ codeblocks-8.02/debian/control
@@ -1,95 +1,171 @@
-Source: codeblocks
-Section: x11
-Priority: optional
-Maintainer: Yiannis Mandravellos
-Build-Depends: debhelper, autotools-dev, libc6-dev, libstdc++6-4.0-dev, libwxgtk2.6-dev, wx-common, zip
-Standards-Version: 3.6.1
-
-Package: libcodeblocks0
-Architecture: any
-Depends: binutils (>= 2.14.90.0.7), coreutils, file, libc6, libgcc1 (>= 1 ), libmagic1, libncurses5, libstdc++6, zlib1g
-Description: Code::Blocks shared library
- This package contains the Code::Blocks shared library
- .
- http://www.codeblocks.org
-
-Package: codeblocks
-Architecture: any
-Depends: libcodeblocks0
-Recommends: gcc | g++, gdb, codeblocks-contrib
-Suggests: libwxgtk2.6-dev, wx-common
-Description: Code::Blocks integrated development environment (IDE)
- Code::Blocks is the open-source, cross-platform Integrated Development
- Environment (IDE).
- It is based on a self-developed plugin framework allowing unlimited
- extensibility. Most of its functionality is already provided by plugins.
- Plugins included in the base package are:
- * Compiler frontend to many free compilers
- * Debugger frontend for GDB (and CDB for windows platforms)
- * Source formatter (based on AStyle)
- * Wizard to create new C++ classes
- * Code-completion / symbols-browser (work in progress)
- * Default MIME handler
- * Wizard to create new Code::Blocks plugins
- * To-do list
- * Extensible wizard based on scripts (for creating new projects/targets/etc)
- * Autosave (saves your work in the unfortunate case of a crash)
- .
- http://www.codeblocks.org
-
-Package: codeblocks-dbg
-Architecture: any
-Depends: codeblocks
-Description: Code::Blocks debugging libraries
- These are the debugging libraries for the 'codeblocks' package.
- .
- http://www.codeblocks.org
-
-Package: libwxsmithlib0
-Architecture: any
-Depends: libcodeblocks0
-Description: wxSmith shared library (wxSmith is a Code::Blocks plugin for RAD GUI editing)
- This package contains the wxSmith shared library.
- .
- http://www.codeblocks.org
-
-Package: codeblocks-contrib
-Architecture: any
-Depends: codeblocks, libwxsmithlib0
-Description: Contrib plugins for Code::Blocks IDE
- This package extends Code::Blocks functionality a great deal with the included
- plugins. These are:
- * Code profiler (based on gprof)
- * Code statistics (SLOCs etc)
- * DragScroll (enhances mouse operations)
- * Setting of environment variables
- * Source exporter to PDF/HTML/ODT/RTF
- * Help
- * Keyboard shortcuts configuration
- * GUI RAD builder (wxSmith)
- * Selection of small games for relaxing between coding sessions! (BYOGames)
- * WYSIWYG forms designer for wxWidgets (wxSmith)
- * Autoversioning
- * ThreadSearch
- * BrowseTracker
- .
- http://www.codeblocks.org
-
-Package: codeblocks-dev
-Architecture: any
-Section: devel
-Depends: libcodeblocks0
-Description: Code::Blocks development files (SDK)
- Contains the development files (headers and libraries) for creating
- Code::Blocks plugins.
- .
- http://www.codeblocks.org
-
-Package: libwxsmithlib0-dev
-Architecture: any
-Section: devel
-Depends: libcodeblocks0
-Description: wxSmith development files
- Contains the development libraries for wxSmith (Code::Blocks plugin)
- .
- http://www.codeblocks.org
+Source: codeblocks
+Section: x11
+Priority: optional
+Maintainer: Ubuntu MOTU Developers
+XSBC-Original-Maintainer: Michael Casadevall
+Build-Depends: debhelper (>= 6), autotools-dev, libwxgtk2.8-dev, libgtk2.0-dev, wx-common, zip, libtool, dpatch
+Standards-Version: 3.8.0
+Homepage: http://codeblocks.org
+
+Package: libcodeblocks0
+Architecture: any
+Section: libs
+Depends: binutils (>= 2.14.90.0.7), file, ${shlibs:Depends}
+Recommends: codeblocks
+Description: Code::Blocks shared library
+ Code::Blocks is the open-source, cross-platform Integrated Development
+ Environment (IDE).
+ It is based on a self-developed plugin framework allowing unlimited
+ extensibility. Most of its functionality is already provided by plugins.
+ Plugins included in the base package are:
+ * Compiler frontend to many free compilers
+ * Debugger frontend for GDB (and CDB for windows platforms)
+ * Source formatter (based on AStyle)
+ * Wizard to create new C++ classes
+ * Code-completion / symbols-browser (work in progress)
+ * Default MIME handler
+ * Wizard to create new Code::Blocks plugins
+ * To-do list
+ * Extensible wizard based on scripts (for creating new projects/targets/etc)
+ * Autosave (saves your work in the unfortunate case of a crash)
+ .
+ This package contains the Code::Blocks shared library.
+
+Package: codeblocks
+Architecture: any
+Section: devel
+Depends: libcodeblocks0, ${shlibs:Depends}
+Recommends: gcc | g++, gdb
+Suggests: libwxgtk2.8-dev, wx-common, codeblocks-contrib
+Description: Code::Blocks integrated development environment (IDE)
+ Code::Blocks is the open-source, cross-platform Integrated Development
+ Environment (IDE).
+ It is based on a self-developed plugin framework allowing unlimited
+ extensibility. Most of its functionality is already provided by plugins.
+ Plugins included in the base package are:
+ * Compiler frontend to many free compilers
+ * Debugger frontend for GDB (and CDB for windows platforms)
+ * Source formatter (based on AStyle)
+ * Wizard to create new C++ classes
+ * Code-completion / symbols-browser (work in progress)
+ * Default MIME handler
+ * Wizard to create new Code::Blocks plugins
+ * To-do list
+ * Extensible wizard based on scripts (for creating new projects/targets/etc)
+ * Autosave (saves your work in the unfortunate case of a crash)
+
+Package: codeblocks-dbg
+Priority: extra
+Architecture: any
+Section: devel
+Depends: codeblocks (= ${binary:Version}), ${shlibs:Depends}
+Description: Code::Blocks debugging libraries
+ Code::Blocks is the open-source, cross-platform Integrated Development
+ Environment (IDE).
+ It is based on a self-developed plugin framework allowing unlimited
+ extensibility. Most of its functionality is already provided by plugins.
+ Plugins included in the base package are:
+ * Compiler frontend to many free compilers
+ * Debugger frontend for GDB (and CDB for windows platforms)
+ * Source formatter (based on AStyle)
+ * Wizard to create new C++ classes
+ * Code-completion / symbols-browser (work in progress)
+ * Default MIME handler
+ * Wizard to create new Code::Blocks plugins
+ * To-do list
+ * Extensible wizard based on scripts (for creating new projects/targets/etc)
+ * Autosave (saves your work in the unfortunate case of a crash)
+ .
+ This package contains the debugging libraries for the 'codeblocks' package.
+
+Package: libwxsmithlib0
+Architecture: any
+Section: devel
+Depends: codeblocks, libcodeblocks0, ${shlibs:Depends}
+Description: wxSmith shared library (wxSmith is a Code::Blocks plugin for RAD GUI editing)
+ Code::Blocks is the open-source, cross-platform Integrated Development
+ Environment (IDE).
+ It is based on a self-developed plugin framework allowing unlimited
+ extensibility. Most of its functionality is already provided by plugins.
+ Plugins included in the base package are:
+ * Compiler frontend to many free compilers
+ * Debugger frontend for GDB (and CDB for windows platforms)
+ * Source formatter (based on AStyle)
+ * Wizard to create new C++ classes
+ * Code-completion / symbols-browser (work in progress)
+ * Default MIME handler
+ * Wizard to create new Code::Blocks plugins
+ * To-do list
+ * Extensible wizard based on scripts (for creating new projects/targets/etc)
+ * Autosave (saves your work in the unfortunate case of a crash)
+ .
+ This package contains the wxSmith shared library.
+
+Package: codeblocks-contrib
+Architecture: any
+Section: devel
+Depends: codeblocks, libwxsmithlib0, ${shlibs:Depends}
+Description: Contrib plugins for Code::Blocks IDE
+ This package extends Code::Blocks functionality a great deal with the included
+ plugins. These are:
+ * Code profiler (based on gprof)
+ * Code statistics (SLOCs etc)
+ * DragScroll (enhances mouse operations)
+ * Setting of environment variables
+ * Source exporter to PDF/HTML/ODT/RTF
+ * Help
+ * Keyboard shortcuts configuration
+ * GUI RAD builder (wxSmith)
+ * Selection of small games for relaxing between coding sessions! (BYOGames)
+ * WYSIWYG forms designer for wxWidgets (wxSmith)
+ * Autoversioning
+ * ThreadSearch
+ * BrowseTracker
+
+Package: codeblocks-dev
+Architecture: any
+Section: libdevel
+Depends: libcodeblocks0, ${shlibs:Depends}
+Description: Code::Blocks development files (SDK)
+ Code::Blocks is the open-source, cross-platform Integrated Development
+ Environment (IDE).
+ It is based on a self-developed plugin framework allowing unlimited
+ extensibility. Most of its functionality is already provided by plugins.
+ Plugins included in the base package are:
+ * Compiler frontend to many free compilers
+ * Debugger frontend for GDB (and CDB for windows platforms)
+ * Source formatter (based on AStyle)
+ * Wizard to create new C++ classes
+ * Code-completion / symbols-browser (work in progress)
+ * Default MIME handler
+ * Wizard to create new Code::Blocks plugins
+ * To-do list
+ * Extensible wizard based on scripts (for creating new projects/targets/etc)
+ * Autosave (saves your work in the unfortunate case of a crash)
+ .
+ This package contains the development files (headers and libraries) for creating
+ Code::Blocks plugins.
+
+Package: libwxsmithlib0-dev
+Architecture: any
+Section: libdevel
+Depends: libwxsmithlib0 (= ${binary:Version}), libcodeblocks0, ${shlibs:Depends}
+Description: wxSmith development files
+ Code::Blocks is the open-source, cross-platform Integrated Development
+ Environment (IDE).
+ It is based on a self-developed plugin framework allowing unlimited
+ extensibility. Most of its functionality is already provided by plugins.
+ Plugins included in the base package are:
+ * Compiler frontend to many free compilers
+ * Debugger frontend for GDB (and CDB for windows platforms)
+ * Source formatter (based on AStyle)
+ * Wizard to create new C++ classes
+ * Code-completion / symbols-browser (work in progress)
+ * Default MIME handler
+ * Wizard to create new Code::Blocks plugins
+ * To-do list
+ * Extensible wizard based on scripts (for creating new projects/targets/etc)
+ * Autosave (saves your work in the unfortunate case of a crash)
+ .
+ This package ontains the development libraries for wxSmith
+ (Code::Blocks plugin).
--- codeblocks-8.02.orig/debian/codeblocks-contrib.install
+++ codeblocks-8.02/debian/codeblocks-contrib.install
@@ -20,22 +20,21 @@
usr/share/codeblocks/images/wxsmith*
usr/share/codeblocks/images/ThreadSearch*
usr/share/codeblocks/lib_finder/*
-usr/share/codeblocks/plugins/libAutoVersioning.*
-usr/share/codeblocks/plugins/libBrowseTracker.*
-usr/share/codeblocks/plugins/libbyogames.*
-usr/share/codeblocks/plugins/libcb_koders.*
-usr/share/codeblocks/plugins/libcodesnippets.*
-usr/share/codeblocks/plugins/libcodestat.*
-usr/share/codeblocks/plugins/libdragscroll.*
-usr/share/codeblocks/plugins/libenvvars.*
-usr/share/codeblocks/plugins/libexporter.*
-usr/share/codeblocks/plugins/libhelp_plugin.*
-usr/share/codeblocks/plugins/libkeybinder.*
-usr/share/codeblocks/plugins/liblib_finder.*
-usr/share/codeblocks/plugins/libProfiler.*
-usr/share/codeblocks/plugins/libRegExTestbed.*
-usr/share/codeblocks/plugins/libSymTab.*
-usr/share/codeblocks/plugins/libThreadSearch.*
-usr/share/codeblocks/plugins/libwxsmith.*
-usr/share/codeblocks/plugins/libwxsmithcontribitems.*
-
+usr/lib/codeblocks/plugins/libAutoVersioning.*
+usr/lib/codeblocks/plugins/libBrowseTracker.*
+usr/lib/codeblocks/plugins/libbyogames.*
+usr/lib/codeblocks/plugins/libcb_koders.*
+usr/lib/codeblocks/plugins/libcodesnippets.*
+usr/lib/codeblocks/plugins/libcodestat.*
+usr/lib/codeblocks/plugins/libdragscroll.*
+usr/lib/codeblocks/plugins/libenvvars.*
+usr/lib/codeblocks/plugins/libexporter.*
+usr/lib/codeblocks/plugins/libhelp_plugin.*
+usr/lib/codeblocks/plugins/libkeybinder.*
+usr/lib/codeblocks/plugins/liblib_finder.*
+usr/lib/codeblocks/plugins/libProfiler.*
+usr/lib/codeblocks/plugins/libRegExTestbed.*
+usr/lib/codeblocks/plugins/libSymTab.*
+usr/lib/codeblocks/plugins/libThreadSearch.*
+usr/lib/codeblocks/plugins/libwxsmith.*
+usr/lib/codeblocks/plugins/libwxsmithcontribitems.*
--- codeblocks-8.02.orig/debian/codeblocks.menu
+++ codeblocks-8.02/debian/codeblocks.menu
@@ -1,2 +1,2 @@
-?package(codeblocks):needs="X11" section="Apps/Programming"\
+?package(codeblocks):needs="X11" section="Applications/Programming"\
title="codeblocks" command="/usr/bin/codeblocks"
--- codeblocks-8.02.orig/debian/patches/00list
+++ codeblocks-8.02/debian/patches/00list
@@ -0,0 +1 @@
+01_codeblocks_plugin_path.dpatch
--- codeblocks-8.02.orig/debian/patches/01_codeblocks_plugin_path.dpatch
+++ codeblocks-8.02/debian/patches/01_codeblocks_plugin_path.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_codeblocks_plugin_path.dpatch by Michael Casadevall
+##
+## DP: Hardcode the proper plugins folder to /usr/lib/codeblocks/plugins
+
+@DPATCH@
+diff -urNad codeblocks-8.02~/src/sdk/configmanager.cpp codeblocks-8.02/src/sdk/configmanager.cpp
+--- codeblocks-8.02~/src/sdk/configmanager.cpp 2008-07-17 14:24:05.000000000 -0400
++++ codeblocks-8.02/src/sdk/configmanager.cpp 2008-07-17 19:47:22.000000000 -0400
+@@ -467,7 +467,7 @@
+ return ::wxGetCwd();
+
+ case sdPluginsGlobal:
+- return ConfigManager::data_path_global + _T("/plugins");
++ return _T("/usr/lib/codeblocks/plugins");
+
+ case sdPluginsUser:
+ return ConfigManager::data_path_user + _T("/plugins");
--- codeblocks-8.02.orig/debian/codeblocks.install
+++ codeblocks-8.02/debian/codeblocks.install
@@ -6,17 +6,17 @@
usr/share/codeblocks/images/codecompletion
usr/share/codeblocks/images/settings
usr/share/codeblocks/lexers
-usr/share/codeblocks/plugins/libastyle.*
-usr/share/codeblocks/plugins/libautosave.*
-usr/share/codeblocks/plugins/libclasswizard.*
-usr/share/codeblocks/plugins/libcodecompletion.*
-usr/share/codeblocks/plugins/libcompiler.*
-usr/share/codeblocks/plugins/libdebugger.*
-usr/share/codeblocks/plugins/libdefaultmimehandler.*
-usr/share/codeblocks/plugins/libopenfileslist.*
-usr/share/codeblocks/plugins/libprojectsimporter.*
-usr/share/codeblocks/plugins/libscriptedwizard.*
-usr/share/codeblocks/plugins/libtodo.*
+usr/lib/codeblocks/plugins/libastyle.*
+usr/lib/codeblocks/plugins/libautosave.*
+usr/lib/codeblocks/plugins/libclasswizard.*
+usr/lib/codeblocks/plugins/libcodecompletion.*
+usr/lib/codeblocks/plugins/libcompiler.*
+usr/lib/codeblocks/plugins/libdebugger.*
+usr/lib/codeblocks/plugins/libdefaultmimehandler.*
+usr/lib/codeblocks/plugins/libopenfileslist.*
+usr/lib/codeblocks/plugins/libprojectsimporter.*
+usr/lib/codeblocks/plugins/libscriptedwizard.*
+usr/lib/codeblocks/plugins/libtodo.*
usr/share/codeblocks/scripts
usr/share/codeblocks/templates
usr/share/codeblocks/astyle.zip*
@@ -39,3 +39,4 @@
usr/share/man
usr/share/mime
usr/share/pixmaps
+usr/share/lintian/overrides