Author Topic: How to build a .deb package of C::B (ubuntu 5.10)  (Read 22693 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