[Pkg-crosswire-devel] BibleTime packaging status: started work, but we're not there yet!

Dmitrijs Ledkovs dmitrij.ledkov at gmail.com
Fri Jan 30 22:28:38 GMT 2009



2009/1/30 Dmitrijs Ledkovs <dmitrij.ledkov at gmail.com>:
>
>
> 2009/1/30 Jordan Mantha <laserjock at ubuntu.com>:
>>
>> On Wed, Jan 28, 2009 at 3:35 AM, Jonathan Marsden <jmarsden at fastmail.fm>
>> wrote:
>>>
>>> I tried... made some progress... and then got stuck.
>>>
>>> I have a package tree for BibleTime 1.7beta3 on my machine that, when I
>>> run debuild, will configure and build fine, but then it fails at the
>>> install step, basically saying there is a problem with a relative path
>>> to the installation directory.
>>>
>>> I'm not a KDE or cmake-using kind of a person... and between CDBS and
>>> cmake, there seem to be so many layers that hide what is really
>>> happening, so I'm stuck for now on this.  Googling the error suggests
>>> that others have seen this error and not found solutions yet...
>>
>> Are you including the cmake CDBS class, i.e. putting:
>>
>> include /usr/share/cdbs/1/class/cmake.mk
>>
>
> kde4.mk depends on the cmake classs therefore only kde4 is required, if you
> include
> cmake.mk again strange things can happen =D (think copy random part of a
> makefile and
> reinsert it)
>
>> in debian/rules?
>>
>> If you have I'd maybe look at the CMakeLists.txt files and see if
>> there is a hard path set. They should be relative or using a variable.
>>
>> Do you have your packaging up somewhere? I can have a quick look to
>> see if I can find anything obvious.
>>
>
> I think it's on launchpad somewhere around code.launchpad.net/~jmorsdan I
> think
>
> I'm working on this now though. (Downloading all the kde libs now, cause I'm
> running Gnome)
>
>> -Jordan
>

It compiles! =D 20 mins of downloading. The dependencies are not set correctly so I can't install it (I'm not running KDE!)

So step by step.

Read the docs. If you have cdbs installed open firefox and open this page:
file:///usr/share/doc/cdbs/cdbs-doc.html

There is a nice dependency graph showing that kde4.mk depends on quilt, cmake and a few others. It doesn't depend on debhelper.mk.

So my rules file is, and it compiles

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/kde4.mk

If you have bzr and bzr-builddeb (bzr bd for short) installed you can compile same package as my machine by doing this in a temp directory

bzr bd lp:~dmitrij.ledkov/bibletime/dima

This will download my branch and build the deb on your machine.

Please do! Cause I don't know what runtime dependencies are needed, not being a KDE user and therefore I can't install it yet.

I think I should write a guide about packaging CDBS and how to use bzr AND most importantly bzr-builddeb.

There are a few warnings with this simple 1st step packaging but it works. I'll look through the warnings and I'll try to work them out.

20 minutes downloading libraries, 5 minutes deleting until minimum was left: 1xpatch, quilt series file, control, rules, compat, copyright, manpages. CDBS is simple don't complicate it.

Look at the bazaar branch and ask me if you have any questions I more than glad to help.

About testing. My machine is dual-core 32 bit intel does it qualify to test the threading quirks?

> --
> With best regards
>
>
> Ледков Дмитрий Юрьевич
>
>



-- 
With best regards


Ледков Дмитрий Юрьевич

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 270 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-crosswire-devel/attachments/20090130/24af0733/attachment.sig>


More information about the Pkg-crosswire-devel mailing list