Trying to build my usual plugins on Ubuntu 12.04 with Pasgui's PPA (SVN 9156) I am getting compilation issues
In file included from /usr/include/codeblocks/sdk_common.h:130:0,
from /usr/include/codeblocks/sdk_precomp.h:13,
from /usr/include/codeblocks/sdk.h:17,
from /home/damien/src/cbilplugin/PythonDebugger/debuggeroptionsdlg.cpp:10:
/usr/include/codeblocks/configmanager.h:15:29: fatal error: tinyxml/tinystr.h: No such file or directory
and indeed if I ls /usr/include/codeblocks/tinyxml there is no tinystr.h
Has something changed with tinyxml that hasn't been reflected in the makefiles or is this some other packaging/makefile problem?
slightly different topic...I have been trying to set up a daily C::B build for all supported Ubuntu by importing trunk into launchpad then creating a "recipe". Having a few issues with this, the main one being to make something like bootstrap gets called from the deb builder. Any ideas? (The recipe will let me merge in a branch containing whatever deb tweaks are needed)
This should work, if you use the rules-file from svn:
--- codeblocks-12.11svn-download/codeblocks-12.11svn/debian/rules 2013-03-30 10:58:01.000000000 +0100
+++ codeblocks-12.11svn/debian/rules 2013-04-03 16:00:01.000000000 +0200
@@ -2,6 +2,9 @@
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
+clean::
+ ./bootstrap
+
DEB_BUILD_PARALLEL= yes
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
If you are inside a bzr working copy this patch should work:
=== modified file 'update_revision.sh'
--- update_revision.sh 2013-08-09 04:35:45 +0000
+++ update_revision.sh 2013-10-15 17:31:40 +0000
@@ -38,6 +38,10 @@
echo "Using 'git log --graph' to get the revision"
REV=`git log --graph | grep 'git-svn-id' | head -n 1 | grep -o -e "@\([0-9]*\)" | tr -d '@ '`
LCD=`git log --date=iso --max-count=1 | grep -o -e "Date: \(.*\)" | cut -d ' ' -f 2- | sed 's/^ *//' | cut -f -2 -d ' '`
+elif bzr log --show-ids -l 1 >/dev/null 2>&1; then
+ echo "Using 'bzr log --show-ids' to get the revision"
+ REV=`bzr log --show-ids -l 1 | grep revision-id | sed -e 's/.*:trunk:\([0-9]*\)/\1/'`
+ LCD=`bzr log --show-ids -l 1 | grep -o -e "timestamp: \(.*\)" | cut -d ' ' -f 3- | cut -f -2 -d ' '`
else
REV=0
LCD=""
Created with "bzr diff" inside a working copy of your launchpad repo.