Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Michael on March 07, 2006, 03:14:48 pm

Title: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Michael on March 07, 2006, 03:14:48 pm
Hello,

I have a question, hope not to silly :D, but I would like to create a .deb package of C::B (ubuntu 5.10). I am aware that since rev2080 there is a debian folder for .deb creation, but I am not sure about the exact command I have to use. After a bit of research, I think that this should be the good one :):

Quote
sudo dpkg-buildpackage -rfakeroot -b


Is this command correct or not?

Thank you very much.

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Michael on March 08, 2006, 03:45:10 pm
Hello,

I have problems building a .deb package by using the debian repository coming with SVN sources.

After around 30 minutes of building, I got an error (and several warnings):

Quote
dpkg-db - error: (upstream) version (`svn`) doesn't contain any digits
dpkg-db: 1 error in control file
dh_builddeb: command returned error code 512
make: *** [binary-arch] Error 1

May be the command I have used is not correct or the problem is somewhere else...

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: mandrav on March 08, 2006, 03:52:31 pm
In debian/changelog, change (svn) to (1.0svn).
I thought I had updated it...
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Michael on March 08, 2006, 04:01:11 pm
In debian/changelog, change (svn) to (1.0svn).
I thought I had updated it...

Thank you very much :D. I will give another try.

I have checked and I have a codeblocks executable under:

Quote
~/devel/trunk/debian/codeblocks/usr/bin

This C::B is rev2133, but last time I have updated C::B was yesterday so it should be rev2156 :?.

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Michael on March 08, 2006, 06:08:37 pm
Hello,

I have "successfully" created a .deb package of CodeBlocks (thanks Yannis :D). Anyway, I have remarked some warnings:

Quote
dh_shlibdeps
dpkg-shlibdeps: warning: could not find path for libcodeblocks.so.0
dpkg-shlibdeps: warning: could not find path for libwxscintilla.so.0
dpkg-shlibdeps: warning: could not find path for libwxscintilla.so.0
dpkg-shlibdeps: warning: could not find path for libcodeblocks.so.0
dpkg-shlibdeps: warning: could not find path for libwxscintilla.so.0
...
dpkg-shlibdeps: warning: could not find any packages for  (libcodeblocks.so.0)
dpkg-shlibdeps: warning: unable to find dependency information for shared library libcodeblocks (soname 0, path , dependency field Depends)
dpkg-shlibdeps: warning: could not find any packages for  (libwxscintilla.so.0)
dpkg-shlibdeps: warning: unable to find dependency information for shared library libwxscintilla (soname 0, path , dependency field Depends)
dpkg-shlibdeps: warning: could not find any packages for  (libwxscintilla.so.0)
dpkg-shlibdeps: warning: unable to find dependency information for shared library libwxscintilla (soname 0, path , dependency field Depends)
...
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}

I am not sure if they are relevant or not. I just wanted let know about them.

Best wishes,
Michael
Title: .deb package of C::B rev2159 available
Post by: Michael on March 09, 2006, 01:35:24 pm
Hello,

I have just created my first .deb package (as cited above) and uploaded it here:

http://www.savefile.com/projects.php?pid=547711

The package installs rev2159 (unicode) and has been tested in kubuntu where it works fine. It should work in ubuntu/kubuntu/debian distros :).

Best wishes,
Michael
Title: .deb package of C::B rev2170 available
Post by: Michael on March 10, 2006, 10:43:52 pm
Hello,

I have uploaded the .deb package for C::B rev2170 (unicode). You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: sethjackson on March 10, 2006, 10:53:03 pm
Kewl.  8) That site has tons of ads tho....
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Michael on March 10, 2006, 10:59:32 pm
Kewl.  8) That site has tons of ads tho....

I am sorry about that :oops:, but I think that is the best you can get for free :). Anyway, it is a temporary solution.

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: sethjackson on March 11, 2006, 12:14:43 am
Kewl.  8) That site has tons of ads tho....

I am sorry about that :oops:, but I think that is the best you can get for free :). Anyway, it is a temporary solution.

Best wishes,
Michael


Hey not a problem. Its free (as in free Dr. Pepper) so it really isn't a problem.... :D Maybe these could be uploded to BerliOS like the nightlies or something?
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: killerbot on March 11, 2006, 09:46:11 am
Kewl.  8) That site has tons of ads tho....

I am sorry about that :oops:, but I think that is the best you can get for free :). Anyway, it is a temporary solution.

Best wishes,
Michael


Hey not a problem. Its free (as in free Dr. Pepper) so it really isn't a problem.... :D Maybe these could be uploded to BerliOS like the nightlies or something?

that's the plan ;-)
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: sethjackson on March 11, 2006, 01:30:47 pm
 8)
Title: .deb package of C::B rev2173 available
Post by: Michael on March 12, 2006, 12:11:19 am
Hello,

I have uploaded the .deb package for C::B rev2173 (unicode). You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael
Title: .deb package of C::B rev2178 available
Post by: Michael on March 12, 2006, 11:49:45 pm
Hello,

I have uploaded the .deb package for C::B rev2178 (unicode). You can find it here:

http://www.savefile.com/projects.php?pid=547711

The package has been tested in kubuntu where it works fine. It should work in ubuntu/kubuntu/debian/gentoo(?) distros :).

Best wishes,
Michael
Title: .deb package of C::B rev2189 available
Post by: Michael on March 13, 2006, 08:24:13 pm
Hello,

I have uploaded the .deb package for C::B rev2189 (unicode). You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael

Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: ZekeDragon on March 14, 2006, 08:40:03 am
Michael, I don't like ads, so I mirrored it on my own site.  Hope you don't mind, it's here:

.deb file (http://www.eonforge.com/mirrors/%5Bsavefile%5D060313141927_codeblocks_1.0svn_i386.deb)

.changes file (http://www.eonforge.com/mirrors/%5Bsavefile%5D060313142130_codeblocks_1.0svn_i386.changes)

Hope they make you happy, and I'd be willing to mirror the rest from now on, it's the least I can do, you guys help me so much.

- Zeke

EDIT: The .changes file was wrong... my bad.
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Michael on March 14, 2006, 11:10:12 am
Michael, I don't like ads, so I mirrored it on my own site.  Hope you don't mind, it's here:

.deb file (http://www.eonforge.com/mirrors/%5Bsavefile%5D060313141927_codeblocks_1.0svn_i386.deb)

.changes file (http://www.eonforge.com/mirrors/%5Bsavefile%5D060313142130_codeblocks_1.0svn_i386.changes)

Thank you very much. I am sure users will appreciate that :D.

I do no like ads too :D. Unfortunately, it is a free File Hosting. Most of the free File Hosting have ads if you do not pay :(. If someone know a better File Hosting, then I will change immediately :D.

Anyway, just 2 remarks. I normally update a new package several times a week depending on my time schedule (make a package takes me 1 hour or more). Soon, there will be Linux builds of C::B too. See the post of Killerbot (http://forums.codeblocks.org/index.php?topic=2567.msg20588#msg20588).

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: ZekeDragon on March 14, 2006, 12:02:36 pm
I'm going to set up a nice PHP script soon on my site that allows people to upload any files they want to mirror off of my site, completely ad-free.  However, because that kind of service might start getting 'expensive' on my bandwidth, I'm going to leave it as an invite only system, at least for now until I can take the load easier, probably when I install a server in my home.  The only thing I can imagine it not allowing to upload as it stands are script files which would run server side and allow a cracker to enter into my server unattended.  As long as that's out, I think it should be okay (and an invite-only system would make it pretty easy to keep unsavoury folks out.)

Basically make a nice image/file hoster, completely free and ad-less, because none of such exist.

- Zeke

Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Michael on March 14, 2006, 12:07:52 pm
Basically make a nice image/file hoster, completely free and ad-less, because none of such exist.

Cool 8).

Thank you :D.

Best wishes,
Michael
Title: .deb package of C::B rev2199 available
Post by: Michael on March 15, 2006, 08:24:07 pm
Hello,

I have uploaded the .deb package for C::B rev2199 (unicode). You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: ZekeDragon on March 15, 2006, 08:35:51 pm
And their according ad-free mirrors:

.deb file (http://www.eonforge.com/mirrors/%5Bsavefile%5D060315141818_codeblocks_1.0svn_i386.deb)

.changes file (http://www.eonforge.com/mirrors/%5Bsavefile%5D060315142113_codeblocks_1.0svn_i386.changes)

- Zeke
Title: .deb package of C::B rev2211 available
Post by: Michael on March 17, 2006, 07:42:07 pm
Hello,

I have uploaded the .deb package for C::B rev2211 (unicode). You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: ZekeDragon on March 17, 2006, 10:44:52 pm
You know the drill.

.deb file (http://www.eonforge.com/mirrors/%5Bsavefile%5D060317133821_codeblocks_1.0svn_i386.deb)

.changes file (http://www.eonforge.com/mirrors/%5Bsavefile%5D060317133949_codeblocks_1.0svn_i386.changes)

- Zeke
Title: .deb package of C::B rev2213 available
Post by: Michael on March 18, 2006, 08:07:38 pm
Hello,

I have uploaded the .deb package for C::B rev2213 (unicode). You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Michael on March 24, 2006, 03:22:01 pm
Hello,

Just for info. The .deb packages for ubuntu/kubuntu/debian/gentoo(?) are from now available in the Nightly builds sub-forum (http://forums.codeblocks.org/index.php?board=20.0).

No more ads :D.

Best wishes,
Michael
Title: .deb package of C::B rev2278 available
Post by: Michael on March 30, 2006, 09:19:26 pm
Hello,

As today probably Killerbot cannot upload a nightly build (windows and Linux), I have uploaded the .deb package for C::B rev2278 (unicode) to my File Hosting. You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael
Title: .deb package of C::B rev2290 available
Post by: Michael on April 04, 2006, 11:46:04 am
Hello,

As Killerbot is out for work and probably could not upload yesterday a nightly build (windows and Linux), I have uploaded the .deb package for C::B rev2290 (unicode) to my File Hosting. You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael
Title: .deb package of C::B rev2296 available
Post by: Michael on April 04, 2006, 10:20:20 pm
Hello,

As Killerbot is out for work and probably could not upload a nightly build (windows and Linux), I have uploaded the .deb package for C::B rev2296 (unicode) to my File Hosting. You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael
Title: .deb package of C::B rev2313 available
Post by: Michael on April 06, 2006, 10:48:37 am
Hello,

As Killerbot is out for work and probably could not upload yesterday a nightly build (windows and Linux), I have uploaded the .deb package for C::B rev2313 (unicode) to my File Hosting. You can find it here:

http://www.savefile.com/projects.php?pid=547711

Best wishes,
Michael
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Sepidar on December 29, 2006, 07:41:16 pm
No new packages since April?  :shock:
Title: Re: How to build a .deb package of C::B (ubuntu 5.10)
Post by: Game_Ender on December 29, 2006, 07:50:09 pm
Did you check the nightly builds (http://forums.codeblocks.org/index.php?board=20.0) forum?  Or try compiling from source?