dpkg-buildpackage: source package is codeblocks
dpkg-buildpackage: source version is 1.0svn4266
dpkg-buildpackage: source changed by Yiannis Mandravellos <mandrav@codeblocks.org>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 1.0svn4266
dpkg-checkbuilddeps: Unmet build dependencies: libstdc++6-4.0-dev
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dh_installexamples
dh_install --fail-missing --sourcedir=debian/tmp
cp: Aufruf von stat für „debian/tmp/usr/lib/libcodeblocks.so.0“ nicht möglich: No such file or directory
dh_install: command returned error code 256
make: *** [binary-arch] Fehler 1
What we need now is a repository that one could add and get automatic updates of the packages.
Just a few comments for the debian directory:
1. You basically hardcoded all dependencies. That's a big no-no for several reasons. You should use ${shlibs:Depends}.
I can fix the packages to work correctly with ${shlibs:Depends} if you are interested and send a patch here.
2. The -devel prefix is -dev in the Debian/Ubuntu world.
3. You can build-depend on a specific version of libstdc++-dev, but you should also provide | libstdc++-dev as an alternative for people with
other versions of g++.
4. You shouldn't install the .la files. All library packages remove those as they cause problems.
Mandrav: is there a wiki entry explaining how to use these things correctly? (even just command lines and required packages for deb/rpm systems)
These are the generated packages (if one would build them)
You can install Codeblocks like this but when you do this you will be unable to remove CB again vie apt
a simple way to additionally achive this is by installing checkinstall (I don't need to say how to install this right?) and typing sudo checkinstall instead of sudo make install.
Note that you need to change the version number so it doesn't contain any whitespaces any longer. You can do this in the interactive phase of checkinstall, it's quite simple.
A more complex way to build codeblocks is by typing sudo dpkg-buildpackage -uc -us (-b -nc) instead of make and make install and installing the generated *.deb(s).
dpkg-buildpackage doesn't work for me with the new autotools-setup but I hop it soon will. checkinstall and make install may or may not work with this update, you'll simply have to try and eventually check out a older debian/ directory meanwhile
fakeroot debian/rules binary
Just a few comments for the debian directory:
1. You basically hardcoded all dependencies. That's a big no-no for several reasons. You should use ${shlibs:Depends}.
I can fix the packages to work correctly with ${shlibs:Depends} if you are interested and send a patch here.
2. The -devel prefix is -dev in the Debian/Ubuntu world.
3. You can build-depend on a specific version of libstdc++-dev, but you should also provide | libstdc++-dev as an alternative for people with
other versions of g++.
4. You shouldn't install the .la files. All library packages remove those as they cause problems.
Thx for the comments. Patches are welcome ;)
Not sure if it goes here right but the rev-Number should be upgraded in the changelog right?
Here it stays 4268 as is the Version in the Repos.
Now that I 'm also struggling with automake, adding a contrib plugin I have an idea on the generation of codeblocks packages. Instead of one codeblocks-contrib break it up in various codeblocks-contrib-<plugin name> and probably when the time comes to add it in a repository create a meta package named codeblocks-contrib that will install the "officially approved" plugins. It was a great help to use the existing automake structure you have for codeblocks to add another contrib but there is no point to creating a codeblocks-contrib including my plugin as the official one will not include it.
Oh and Yianni, in http://forums.codeblocks.org/index.php/topic,6428.msg49530.html#msg49530 you have a little typo that cost me :lol: