Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
missing tinystr.h causing plugin compilation problems (Pasgui PPA)
dmoore:
--- Quote from: oBFusCATed on October 14, 2013, 10:44:21 pm ---
--- Quote from: jens on October 14, 2013, 09:55:38 pm ---Probably nobody has ever used devpackages for building plugins.
--- End quote ---
In fact, I use it, but probably I'm not using this header.
--- End quote ---
If you include configmanager.h, that's when you will have a problem.
@jens: Thanks.
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)
Link: https://code.launchpad.net/~damien-moore/+recipe/codeblocks-daily
Jenna:
--- Quote from: dmoore on October 14, 2013, 11:55:06 pm ---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)
--- End quote ---
This should work, if you use the rules-file from svn:
--- Code: ------ 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)))
--- End code ---
dmoore:
--- Quote from: jens on October 15, 2013, 12:26:00 am ---
This should work, if you use the rules-file from svn:
--- End quote ---
That works, thanks! Now the remaining problem is to get a revision number for the splash and start page to not be zero. I tried tweaking update_revision.sh to look up the official svn repo but it didn't work presumably because launchpad servers (or deb builds?) don't allow this. Also the package versioning is screwy because bzr rev <> svn rev.
For now here's the recipe: https://code.launchpad.net/~damien-moore/+recipe/codeblocks-daily
And here's the PPA: https://code.launchpad.net/~damien-moore/+archive/codeblocks
Jenna:
--- Quote from: dmoore on October 15, 2013, 04:07:40 pm ---
--- Quote from: jens on October 15, 2013, 12:26:00 am ---
This should work, if you use the rules-file from svn:
--- End quote ---
That works, thanks! Now the remaining problem is to get a revision number for the splash and start page to not be zero. I tried tweaking update_revision.sh to look up the official svn repo but it didn't work presumably because launchpad servers (or deb builds?) don't allow this. Also the package versioning is screwy because bzr rev <> svn rev.
For now here's the recipe: https://code.launchpad.net/~damien-moore/+recipe/codeblocks-daily
And here's the PPA: https://code.launchpad.net/~damien-moore/+archive/codeblocks
--- End quote ---
Fetching the svn revision should also be possible with bazaar, because the log contains the svn revision also.
I will see what I can do.
Jenna:
If you are inside a bzr working copy this patch should work:
--- Code: ---=== 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=""
--- End code ---
Created with "bzr diff" inside a working copy of your launchpad repo.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version