[maemo-commits] [maemo-commits] r8900 - projects/haf/branches/maemo-af-desktop/python-hildon-desktop

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Dec 29 17:34:37 EET 2006
Author: lucasr
Date: 2006-12-29 17:34:36 +0200 (Fri, 29 Dec 2006)
New Revision: 8900

Added:
   projects/haf/branches/maemo-af-desktop/python-hildon-desktop/python-hildon-desktop.pc.in
Modified:
   projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/python-hildon-desktop/Makefile.am
   projects/haf/branches/maemo-af-desktop/python-hildon-desktop/configure.ac
Log:
2006-12-29  lucas rocha  <lucas.rocha at nokia.com>

	* Makefile.am, configure.ac, python-hildon-desktop.pc.in: install pc file for
	dependency checks from other modules.


Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog	2006-12-29 15:16:24 UTC (rev 8899)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/ChangeLog	2006-12-29 15:34:36 UTC (rev 8900)
@@ -1,3 +1,8 @@
+2006-12-29  lucas rocha  <lucas.rocha at nokia.com>
+
+	* Makefile.am, configure.ac, python-hildon-desktop.pc.in: install pc file for
+	dependency checks from other modules.
+
 2006-12-29  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* libhildondesktop/hildondesktop.defs: update class names to make them
@@ -3,4 +8,7 @@
 	valid in the python module.
 
+	* libhildondesktop/hildondesktop.defs: update class names to make them
+	valid in the python module.
+
 2006-12-29  Lucas Rocha  <lucas.rocha at nokia.com>
 

Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/Makefile.am
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/Makefile.am	2006-12-29 15:16:24 UTC (rev 8899)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/Makefile.am	2006-12-29 15:34:36 UTC (rev 8900)
@@ -1 +1,4 @@
 SUBDIRS = libhildondesktop 
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = python-hildon-desktop.pc

Modified: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/configure.ac
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/configure.ac	2006-12-29 15:16:24 UTC (rev 8899)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/configure.ac	2006-12-29 15:34:36 UTC (rev 8900)
@@ -22,9 +22,10 @@
 
 AC_SUBST(CFLAGS)
 
-dnl ---------------
-dnl Hildon Desktop
-dnl ---------------
+#++++++++++++++++
+# Hildon Desktop
+#++++++++++++++++
+
 PKG_CHECK_MODULES(LIBHILDONDESKTOP, libhildondesktop >= 3.9)
 AC_SUBST(LIBHILDONDESKTOP_LIBS)
 AC_SUBST(LIBHILDONDESKTOP_CFLAGS)
@@ -32,9 +33,10 @@
 hildondesktopincludedir=`pkg-config libhildondesktop --variable=includedir`
 AC_SUBST(hildondesktopincludedir)
 
-dnl -------
-dnl Python
-dnl -------
+#++++++++
+# Python
+#++++++++
+
 if test "x$have_python" != "xno"; then
         AM_PATH_PYTHON([2.3],[],[no])
         if test "x$PYTHON" = "x:"; then
@@ -85,7 +87,6 @@
         AC_MSG_RESULT([$pygtkdefsdir])
         AC_SUBST(pygtkdefsdir)
 
-
         AC_MSG_CHECKING([for pygtk exec])
         pygtkexecdir=`$PKG_CONFIG --variable=pyexecdir pygtk-2.0`
         AC_MSG_RESULT([$pygtkexecdir])
@@ -107,12 +108,13 @@
 	AC_SUBST(NO_STRICT_ALIASING_CFLAGS)
 fi
 
-if test "x$have_python" == "xno"; then
+if test "x$have_python" = "xno"; then
         AC_MSG_ERROR([Python not found])
 fi
 
 AC_CONFIG_FILES([
 Makefile
+python-hildon-desktop.pc
 libhildondesktop/Makefile
 ])
 

Added: projects/haf/branches/maemo-af-desktop/python-hildon-desktop/python-hildon-desktop.pc.in
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildon-desktop/python-hildon-desktop.pc.in	2006-12-29 15:16:24 UTC (rev 8899)
+++ projects/haf/branches/maemo-af-desktop/python-hildon-desktop/python-hildon-desktop.pc.in	2006-12-29 15:34:36 UTC (rev 8900)
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+includedir=${prefix}/include
+libdir=@libdir@
+
+Name: python-hildon-desktop
+Description: Hildon Lib Desktop Python Bindings
+Requires: libhildondesktop
+Version: @VERSION@
+Cflags: -I${includedir}


More information about the maemo-commits mailing list