Building ubuntu/debian package from svn
Dear list,
Im trying to build a .deb package to test out the greatest and newest feature of inkscape. I have read this documentation: http://wiki.inkscape.org/wiki/index.php/CompilingDebian
I have downloaded the daily snapshot: http://inkscape.modevia.com/svn-snap/inkscape-current.tar.bz2
I followed the steps without success. I suspect, the documentation is outdated. There is no debian/ directory in the inkscape source. The inkscape does not use autoconfig but cmake if I see it correctly. So creating the debian/ directory using the dh_make command, and building the package fails. (make[1]: *** No rule to make target `clean'. Stop.)
So can somebody direct me to an updated documentation? How can I create a proper debian/ directory, and building the package with help of this directory? Using this command: dpkg-buildpackage -uc -us -rfakeroot
In summary a step-by-step tutorial would be really helpful! Im using ubuntu 8.10 currently.
Thank you in advance, Khiraly
I compile two ways in Ubuntu (8.10). This is after I do a "sudo apt-get build-dep inkscape" then install "libgsl*-dev" package to get all of the dependencies.
A. Compiling without making a deb package and without installing over the stable version (Ted Gould's method):
1. download latest from: http://inkscape.modevia.com/svn-snap/?M=D 2. extract archive 3. cd inkscape-xxxxx 4. ./autogen.sh 5. mkdir build 6. cd build 7. ../configure --prefix=`pwd`/../install 8. make install 9. run executable in /install/bin/inkscape
B. Compiling and making a deb package without installing the deb package automatically. Be careful, this will overwrite the stable version if installed.
1. download latest from: http://inkscape.modevia.com/svn-snap/?M=D 2. dh_make -r -s -p inkscape-svn 3. dpkg-buildpackage -rfakeroot 4. look for inkscape_XXXXXX-1_i386.deb to be in /home/user/ dir
I'm sure these instructions could be cleaned up a bit but they work for me.
heathenx
On Sat, Feb 14, 2009 at 5:41 PM, Kalman KHIRALY <khiraly123@...240...> wrote:
Dear list,
Im trying to build a .deb package to test out the greatest and newest feature of inkscape. I have read this documentation: http://wiki.inkscape.org/wiki/index.php/CompilingDebian
I have downloaded the daily snapshot: http://inkscape.modevia.com/svn-snap/inkscape-current.tar.bz2
I followed the steps without success. I suspect, the documentation is outdated. There is no debian/ directory in the inkscape source. The inkscape does not use autoconfig but cmake if I see it correctly. So creating the debian/ directory using the dh_make command, and building the package fails. (make[1]: *** No rule to make target `clean'. Stop.)
So can somebody direct me to an updated documentation? How can I create a proper debian/ directory, and building the package with help of this directory? Using this command: dpkg-buildpackage -uc -us -rfakeroot
In summary a step-by-step tutorial would be really helpful! Im using ubuntu 8.10 currently.
Thank you in advance, Khiraly
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Khiraly wrote:
I have read this documentation: http://wiki.inkscape.org/wiki/index.php/CompilingDebian
This documentation is indeed ancient and won't work, you'll need to debianize the package yourself. Debian says that packages should not ship their own debian directories, so it's actually good it doesn't work.
There is no debian/ directory in the inkscape source. The inkscape does not use autoconfig but cmake if I see it correctly.
It uses automake / autoconf, but formerly there were some attempts to use CMake. Currently the CMake system doesn't work, at least on Linux, mainly due to link order issues.
So can somebody direct me to an updated documentation? How can I create a proper debian/ directory, and building the package with help of this directory?
Try to copy over the debian directory of the Inkscape package that's shipped in Ubuntu repos.
Using this command: dpkg-buildpackage -uc -us -rfakeroot
It's better to use debuild -uc -us instead.
I hope this helps a bit.
Regards, Krzysztof Kosiński
participants (3)
-
heathenx
-
Kalman KHIRALY
-
Krzysztof Kosiński