View | Details | Raw Unified | Return to bug 764677
Collapse All | Expand All

(-)PackageKit-0.7.4/backends/zypp/pk-backend-zypp.cpp (+6 lines)
Lines 19-24 Link Here
19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
 */
20
 */
21
21
22
#include "config.h"
23
22
#include <gmodule.h>
24
#include <gmodule.h>
23
#include <glib.h>
25
#include <glib.h>
24
#include <pk-backend.h>
26
#include <pk-backend.h>
Lines 571-577 backend_get_details_thread (PkBackend *b Link Here
571
						    group,
573
						    group,
572
						    package.lookupStrAttribute (sat::SolvAttr::description).c_str (),
574
						    package.lookupStrAttribute (sat::SolvAttr::description).c_str (),
573
						    package.lookupStrAttribute (sat::SolvAttr::url).c_str (),
575
						    package.lookupStrAttribute (sat::SolvAttr::url).c_str (),
576
#if ZYPP_RETURN_BYTES
577
						    size);
578
#else /* ZYPP_RETURN_BYTES */
574
						    size * 1024);
579
						    size * 1024);
580
#endif /* ZYPP_RETURN_BYTES */
575
			}
581
			}
576
582
577
		} catch (const target::rpm::RpmException &ex) {
583
		} catch (const target::rpm::RpmException &ex) {
(-)PackageKit-0.7.4/configure.ac (+4 lines)
Lines 699-704 fi Link Here
699
699
700
if test x$enable_zypp = xyes; then
700
if test x$enable_zypp = xyes; then
701
	PKG_CHECK_MODULES(ZYPP, libzypp >= 6.16.0)
701
	PKG_CHECK_MODULES(ZYPP, libzypp >= 6.16.0)
702
	PKG_CHECK_EXISTS(libzypp >= 11.4.0, [ ZYPP_RETURN_BYTES="yes" ], [ZYPP_RETURN_BYTES="no" ])
703
	if test "x$ZYPP_RETURN_BYTES" = "xyes"; then
704
	    AC_DEFINE(ZYPP_RETURN_BYTES, 1, [define if libzypp return package size is bytes])
705
	fi
702
fi
706
fi
703
707
704
if test x$enable_slapt = xyes; then
708
if test x$enable_slapt = xyes; then

Return to bug 764677