Hello community,
here is the log from the commit of package PackageKit
checked in at Sun Apr 20 15:28:43 CEST 2008.
--------
--- PackageKit/PackageKit.changes 2008-04-14 17:05:25.000000000 +0200
+++ PackageKit/PackageKit.changes 2008-04-17 18:13:03.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Apr 17 18:12:55 CEST 2008 - schwab@suse.de
+
+- Fix configure script.
+
+-------------------------------------------------------------------
New:
----
PackageKit-ac.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ PackageKit.spec ++++++
--- /var/tmp/diff_new_pack.V18728/_old 2008-04-20 15:27:28.000000000 +0200
+++ /var/tmp/diff_new_pack.V18728/_new 2008-04-20 15:27:28.000000000 +0200
@@ -8,12 +8,11 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
Name: PackageKit
Version: 0.2.0
-Release: 1
+Release: 6
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: NetworkManager-devel PolicyKit-devel dbus-1-glib-devel fdupes gcc-c++ glib2-devel gtk-doc intltool libzypp-devel perl-XML-Parser python-devel sqlite-devel
@@ -22,6 +21,7 @@
Url: http://packagekit.org/
Source: %{name}-%{version}.tar.bz2
Patch: PackageKit_release.patch
+Patch1: PackageKit-ac.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Requires: dbus-1 PolicyKit
@@ -90,8 +90,9 @@
Scott Reeves
%prep
-%setup -n %{name}-%{version}
+%setup -q -n %{name}-%{version}
%patch -p1
+%patch1
%build
# uncomment out the following line if autotools should be run again (i.e.,
@@ -165,6 +166,8 @@
%{_libdir}/packagekit-backend/*.*a
%changelog
+* Thu Apr 17 2008 schwab@suse.de
+- Fix configure script.
* Mon Apr 14 2008 sreeves@suse.de
- Update to version 0.2.0
new dbus model
++++++ PackageKit-ac.patch ++++++
--- configure.ac
+++ configure.ac
@@ -18,6 +18,7 @@ DEVELOPMENT_RELEASE=yes
# REVISION If the API and ABI remains the same, but bugs are fixed.
# AGE If libpackagekit can be linked into executables which can be
# built with previous versions of this library. Don't use.
+m4_pattern_allow([^LT_(CURRENT|REVISION|AGE)$])dnl
LT_CURRENT=3
LT_REVISION=0
LT_AGE=0
@@ -26,6 +27,7 @@ AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
AC_PROG_CC
+AC_PROG_CXX
AC_PROG_INSTALL
AC_ISC_POSIX
AC_HEADER_STDC
@@ -398,7 +400,7 @@ AC_SUBST(DEFAULT_BACKEND, "$with_default
AC_DEFUN([APT_BACKEND],
[
- if test "$APT_PKG_TYPE" == "" ; then
+ if test "$APT_PKG_TYPE" = "" ; then
AC_LANG_PUSH(C++)
_libaptpkg_save_cppflags=$CPPFLAGS
CPPFLAGS="$APT_CFLAGS $CPPFLAGS"
@@ -412,12 +414,12 @@ AC_DEFUN([APT_BACKEND],
#include
#include
],[
- if (pkgInitConfig(*_config) == false)
+ if (!pkgInitConfig(*_config))
{
fprintf(stderr,"pkginitconfig was false");
return -1;
}
- if (pkgInitSystem(*_config, _system) == false)
+ if (!pkgInitSystem(*_config, _system))
{
fprintf(stderr,"pkginitsystem was false");
return -1;
@@ -458,7 +460,7 @@ if test x$enable_apt = xyes; then
AC_ARG_WITH(libapt-pkg-lib,
AC_HELP_STRING([--with-libapt-pkg-lib=DIR],[look for the libapt-pkg library in DIR]),
[_libaptpkg_with_lib=$withval],[_libaptpkg_with_lib=no])
- if test "$_libaptpkg_with_lib" == "no" ; then
+ if test "$_libaptpkg_with_lib" = "no" ; then
APT_LIBS="-lapt-pkg"
else
APT_LIBS="-L$withval -lapt-pkg"
@@ -467,7 +469,7 @@ if test x$enable_apt = xyes; then
AC_ARG_WITH(libapt-pkg-includes,
AC_HELP_STRING([--with-libapt-pkg-includes=DIR],[look for the libapt-pkg includes in DIR]),
[_libaptpkg_with_inc=$withval],[_libaptpkg_with_inc=no])
- if test "$_libaptpkg_with_inc" == "no" ; then
+ if test "$_libaptpkg_with_inc" = "no" ; then
APT_CFLAGS="-I/usr/include/apt-pkg"
else
APT_CFLAGS="-I$withval"
@@ -488,29 +490,29 @@ if test x$enable_apt = xyes; then
#include
#include
],[
- if (pkgInitConfig(*_config) == false)
+ if (!pkgInitConfig(*_config))
{
fprintf(stderr,"pkginitconfig was false");
return -1;
}
- if (pkgInitSystem(*_config, _system) == false)
+ if (!pkgInitSystem(*_config, _system))
{
fprintf(stderr,"pkginitsystem was false");
return -1;
}
return 0;
]),libaptpkg_usable=yes,AC_MSG_ERROR([libapt-pkg not found]))
+ AC_LANG_POP(C++)
CPPFLAGS=$_libaptpkg_save_cppflags
LIBS=$_libaptpkg_save_libs
unset _libaptpkg_save_cppflags
unset _libaptpkg_save_libs
])
- AC_LANG_POP(C++)
APT_BACKEND(deb,DEB)
APT_BACKEND(rpm,RPM)
- if test "$APT_PKG_TYPE" == "" ; then
+ if test "$APT_PKG_TYPE" = "" ; then
AC_MSG_ERROR([Couldn't find support for any type of packages that we know about for Apt!])
fi
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org