[packagekit] Packagkit Compilation HowTo Document Initial Version

Balaji G balajig.foss at gmail.com
Fri Mar 27 09:07:58 PDT 2009


Hi Everyone

Please find the attached file which contains notes on how to compile
Packagekit and gnome-Packagekit. This document is the initial version and
hence please let me know your comments and suggestions and feel free to add
on to the document if you have any more.

Thanks,
Cheers,
Balaji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20090327/360ee375/attachment-0002.htm>
-------------- next part --------------
			PackageKit Compilation Notes

SOFTWARE REQUIREMENTS
TBD

DOWNLOADING SOURCE CODE

You could get the latest Packagekit daemon and GNOME frontend from the git
repositories which is 

  git clone git://anongit.freedesktop.org/git/packagekit/PackageKit
  git clone git://people.freedesktop.org/~hughsient/gnome-packagekit

COMPILING PACKAGEKIT

Once the source code is downloaded, execute the autogen.sh script which is
found in the Packagekit directory. You could give options to autogen.sh script
as command line parameters to build Packagekit in a separate directory so that
the existing Packagekit version does not get overwritten.

	./autogen.sh --prefix=$PATH_TO_PACKAGEKIT_SOURCE_CODE 

	Example:
	./autogen.sh --prefix=/home/balaji/PackageKit/
Running the ./autogen.sh takes a while.While running, it prints some messages
notifying the features its checking for.

On the completion of the autogen script, type make to compile the package and 
then type make install to install it. The Package gets installed in the path
given as the parameter with autogen.sh script.


COMPILING GNOME-PACKAGEKIT

Once the source code is downloaded,export the following variables 

export PACKAGEKIT_LIBS=$PATH_TO_PACKAGEKIT_SOURCE_CODE/lib/packagekit-glib/libpackagekit-glib.la 
export PACKAGEKIT_CFLAGS=-I$PATH_TO_PACKAGEKIT_SOURCE_CODE/lib

    Example:
	  export PACKAGEKIT_LIBS=/home/balaji/Codes/PackageKit/lib/packagekit-glib/libpackagekit-glib.la 
	  export PACKAGEKIT_CFLAGS=-I/home/balaji/Codes/PackageKit/lib

Execute the autogen.sh script which is found in the Packagekit directory. You 
could give options to autogen.sh script as command line parameters to build 
Packagekit in a separate directory so that the existing Packagekit 
version does not get overwritten.

	 ./autogen.sh --prefix=$PATH_TO_PACKAGEKIT_SOURCE_CODE 
Example:
         ./autogen.sh --prefix=/home/balaji/gnome-packagekit/

On the completion of the autogen script, type make to compile the package and 
then type make install to install it. The Package gets installed in the path
given as the parameter with autogen.sh script.









More information about the PackageKit mailing list