Hello community, here is the log from the commit of package PackageKit checked in at Thu Jul 31 02:11:36 CEST 2008. -------- --- PackageKit/PackageKit.changes 2008-07-18 17:57:18.000000000 +0200 +++ /mounts/work_src_done/STABLE/PackageKit/PackageKit.changes 2008-07-30 07:53:47.062171000 +0200 @@ -1,0 +2,5 @@ +Wed Jul 30 07:54:00 CEST 2008 - coolo@suse.de + +- getting it to compile (brute force) + +------------------------------------------------------------------- New: ---- PackageKit-bruteforce-to-compile.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PackageKit.spec ++++++ --- /var/tmp/diff_new_pack.J20717/_old 2008-07-31 02:11:31.000000000 +0200 +++ /var/tmp/diff_new_pack.J20717/_new 2008-07-31 02:11:31.000000000 +0200 @@ -12,7 +12,7 @@ Name: PackageKit Version: 0.2.3 -Release: 1 +Release: 5 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 +22,7 @@ Source: %{name}-%{version}.tar.bz2 Patch: PackageKit_release.patch Patch1: PackageKit-0.2.3-to-git20080717.patch +Patch2: PackageKit-bruteforce-to-compile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on Requires: dbus-1 PolicyKit @@ -93,6 +94,7 @@ %setup -q -n %{name}-%{version} %patch -p0 %patch1 -p1 +%patch2 -p1 %build # uncomment out the following line if autotools should be run again (i.e., @@ -175,6 +177,8 @@ %{_libdir}/libpackagekit.so %changelog +* Wed Jul 30 2008 coolo@suse.de +- getting it to compile (brute force) * Fri Jul 18 2008 sreeves@suse.de - Move to 0.2.3 Add PkCatalog for installing catalogs ++++++ PackageKit-bruteforce-to-compile.diff ++++++ diff -ru PackageKit-0.2.3.orig//backends/zypp/pk-backend-zypp.cpp PackageKit-0.2.3/backends/zypp/pk-backend-zypp.cpp --- PackageKit-0.2.3.orig//backends/zypp/pk-backend-zypp.cpp 2008-07-04 13:39:21.000000000 +0200 +++ PackageKit-0.2.3/backends/zypp/pk-backend-zypp.cpp 2008-07-30 07:40:14.567505000 +0200 @@ -819,7 +819,7 @@ zypp::sat::Solvable solvable = zypp_get_package_by_id (package_id); zypp::Capabilities obs = solvable.obsoletes (); - zypp::Capabilities upd = solvable.freshens (); + zypp::Capabilities upd; // = solvable.freshens (); gchar *obsoletes = zypp_build_package_id_capabilities (obs); gchar *updates = zypp_build_package_id_capabilities (upd); @@ -858,10 +858,12 @@ zypp::sat::SolvableSet content = patch->contents (); +#if 0 for (zypp::sat::SolvableSet::const_iterator it = content.begin (); it != content.end (); it++) { obsoletes = g_strconcat (obsoletes, zypp_build_package_id_capabilities (it->obsoletes ()), " ", (gchar *)NULL); updates = g_strconcat (updates, zypp_build_package_id_capabilities (it->freshens ()), " ", (gchar *)NULL); } +#endif } pk_backend_update_detail (backend, ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org