Difference between revisions of "CompilingAutopackage"
Jump to navigation
Jump to search
(Categorization) |
m |
||
Line 5: | Line 5: | ||
* You may need to tweak the specfile (packaging/autopackage/default.apspec.in) to fit your own needs. eg. add your name as the packager. :) | * You may need to tweak the specfile (packaging/autopackage/default.apspec.in) to fit your own needs. eg. add your name as the packager. :) | ||
* Collect static (*.a) versions of gtkmm, libgc and libpopt. It should be possible to obtain these libraries by installing the appropriate dev or devel packages for your distro. | * Collect static (*.a) versions of gtkmm, libgc and libpopt. It should be possible to obtain these libraries by installing the appropriate dev or devel packages for your distro. | ||
* It might be best to built your own static copy of libgc (the [http://www.hpl.hp.com/personal/Hans_Boehm/gc/ Boehm Garbage Collector]) to ensure it was built with C | * It might be best to built your own static copy of libgc (the [http://www.hpl.hp.com/personal/Hans_Boehm/gc/ Boehm Garbage Collector]) to ensure it was built with C support and to increase binary portability by using apbuild (included with the autopackage developer tools). | ||
**export CC=apgcc | **export CC=apgcc | ||
**export CXX=apg | **export CXX=apg | ||
**./configure --enable-cplusplus | **./configure --enable-cplusplus | ||
**make | **make | ||
Line 14: | Line 14: | ||
* Currently gtkspell must be disabled in configure.ac as below (this is a temporary fix that will be corrected in later versions) | * Currently gtkspell must be disabled in configure.ac as below (this is a temporary fix that will be corrected in later versions) | ||
-if pkg-conf --exists gtkspell-2.0; then | -if pkg-conf --exists gtkspell-2.0; then | ||
if false | |||
Revision as of 12:40, 12 April 2007
Autopackage is a set of tools for building low overhead, distribution-neutral packages, distributing them, and installing using with a variety of front-ends. Visit http://autopackage.org to learn more.
Prerequisites
- Download and install the Autopackage developer tools from http://autopackage.org/download-tools.html
- You may need to tweak the specfile (packaging/autopackage/default.apspec.in) to fit your own needs. eg. add your name as the packager. :)
- Collect static (*.a) versions of gtkmm, libgc and libpopt. It should be possible to obtain these libraries by installing the appropriate dev or devel packages for your distro.
- It might be best to built your own static copy of libgc (the Boehm Garbage Collector) to ensure it was built with C support and to increase binary portability by using apbuild (included with the autopackage developer tools).
- export CC=apgcc
- export CXX=apg
- ./configure --enable-cplusplus
- make
Compile
- ./autogen.sh
- Currently gtkspell must be disabled in configure.ac as below (this is a temporary fix that will be corrected in later versions)
-if pkg-conf --exists gtkspell-2.0; then if false