News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

How to build a .deb package of C::B (ubuntu 5.10)

Started by Michael, March 07, 2006, 03:14:48 PM

Previous topic - Next topic

Michael

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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Michael

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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

mandrav

In debian/changelog, change (svn) to (1.0svn).
I thought I had updated it...
Be patient!
This bug will be fixed soon...

Michael

Quote from: mandrav on March 08, 2006, 03:52:31 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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Michael

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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Michael

#5
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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Michael

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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

sethjackson


Michael

Quote from: sethjackson on March 10, 2006, 10:53:03 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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

sethjackson

Quote from: Michael on March 10, 2006, 10:59:32 PM
Quote from: sethjackson on March 10, 2006, 10:53:03 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


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?

killerbot

Quote from: sethjackson on March 11, 2006, 12:14:43 AM
Quote from: Michael on March 10, 2006, 10:59:32 PM
Quote from: sethjackson on March 10, 2006, 10:53:03 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


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 ;-)


Michael

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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Michael

#13
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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Michael

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

[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]