[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Creating libatk1.0-dev package



Hi!

I want to work with java-gnome project, and for this reason I need to
install at least libatk 1.9.0 version (the current SID package: 1.8.0-4)

So I have downloaded the source:
ftp://ftp.gtk.org/pub/gtk/v2.6/atk-1.9.0.tar.bz2

And unpacked:
tar -xjf atk-1.9.0.tar.bz2
mv atk-1.9.0 libatk1.0-0-1.9.0
tar -czf libatk1.0-0-1.9.0.tar.gz libatk1.0-0-1.9.0
cd libatk1.0-0-1.9.0

And created a .deb package from the source:
dh_make -e lama@khiraly.hu -f ../libatk1.0-0-1.9.0.tar.gz
(single)
rm debian/*EX
dpkg-buildpackage -rfakeroot

It worked fine, now I have a 'libatk1.0-0' package:
libatk1.0-0_1.9.0-1_i386.deb

But in debian this package is split to two package:
libatk1.0-0
libatk1.0-dev

And my package have all of this file, just I dont have libatk1.0-dev
package on my system. 

And all the dependencies (libgtk2.0-dev and others (libbonoboui-dev,
libgnome2-dec, etc))is missed.

So my question is: 
- How can I compile the atk source code into 2 package (the normal one
and the development version)
So how can I have 
libatk1.0-0 and libatk1.0-dev package (verison 1.9.0) ?

Can somebody point me a good tutorial? (splitting a program into 2
package (base, development)). Or is it a manual for this? Where can I
start?

Best regards, 
 Khiraly

ps: I hope this is the right list for discussing such problem.
ps2:  Sorry for my ugly english.





Reply to: