Author Topic: How to build a .deb package of C::B (ubuntu 5.10)  (Read 22682 times)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
How to build a .deb package of C::B (ubuntu 5.10)
« 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #1 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #2 on: March 08, 2006, 03:52:31 pm »
In debian/changelog, change (svn) to (1.0svn).
I thought I had updated it...
Be patient!
This bug will be fixed soon...

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #3 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #4 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2159 available
« Reply #5 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
« Last Edit: March 13, 2006, 03:12:16 pm by Michael »

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2170 available
« Reply #6 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

sethjackson

  • Guest
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #7 on: March 10, 2006, 10:53:03 pm »
Kewl.  8) That site has tons of ads tho....

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #8 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

sethjackson

  • Guest
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #9 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?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5177
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #10 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 ;-)

sethjackson

  • Guest
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #11 on: March 11, 2006, 01:30:47 pm »
 8)

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2173 available
« Reply #12 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2178 available
« Reply #13 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
« Last Edit: March 13, 2006, 03:13:19 pm by Michael »

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2189 available
« Reply #14 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


Offline ZekeDragon

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #15 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

.changes file

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.
I broke it again.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #16 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

.changes file

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.

Best wishes,
Michael

Offline ZekeDragon

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #17 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

I broke it again.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #18 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2199 available
« Reply #19 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

Offline ZekeDragon

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #20 on: March 15, 2006, 08:35:51 pm »
And their according ad-free mirrors:

.deb file

.changes file

- Zeke
I broke it again.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2211 available
« Reply #21 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

Offline ZekeDragon

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #22 on: March 17, 2006, 10:44:52 pm »
You know the drill.

.deb file

.changes file

- Zeke
I broke it again.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2213 available
« Reply #23 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #24 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.

No more ads :D.

Best wishes,
Michael

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2278 available
« Reply #25 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2290 available
« Reply #26 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2296 available
« Reply #27 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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
.deb package of C::B rev2313 available
« Reply #28 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

Offline Sepidar

  • Single posting newcomer
  • *
  • Posts: 3
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #29 on: December 29, 2006, 07:41:16 pm »
No new packages since April?  :shock:

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: How to build a .deb package of C::B (ubuntu 5.10)
« Reply #30 on: December 29, 2006, 07:50:09 pm »
Did you check the nightly builds forum?  Or try compiling from source?