From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 037A3138A1F for ; Fri, 25 Apr 2014 22:26:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F41CE09D7; Fri, 25 Apr 2014 22:26:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE857E09D7 for ; Fri, 25 Apr 2014 22:26:43 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C9A133FEF1 for ; Fri, 25 Apr 2014 22:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 28CD018743 for ; Fri, 25 Apr 2014 22:26:41 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1398464785.2ab2aad1ec80ed7bdfb59a4e0b7f18fcc8454331.eva@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: net-libs/libsoup-gnome/, net-libs/libsoup-gnome/files/ X-VCS-Repository: proj/gnome X-VCS-Files: net-libs/libsoup-gnome/files/libsoup-gnome-2.44.2-system-lib.patch net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch net-libs/libsoup-gnome/libsoup-gnome-2.46.0.ebuild X-VCS-Directories: net-libs/libsoup-gnome/ net-libs/libsoup-gnome/files/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: 2ab2aad1ec80ed7bdfb59a4e0b7f18fcc8454331 X-VCS-Branch: master Date: Fri, 25 Apr 2014 22:26:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 89097a8c-4435-4e9b-95e7-d06ab6c233df X-Archives-Hash: 26567c3e33d856e3385cacc8a30a9e3a commit: 2ab2aad1ec80ed7bdfb59a4e0b7f18fcc8454331 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Fri Apr 25 21:43:40 2014 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Fri Apr 25 22:26:25 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=2ab2aad1 net-libs/libsoup-gnome: 2.44.2 → 2.46.0 --- ...patch => libsoup-gnome-2.46.0-system-lib.patch} | 50 ++++++++++--------- net-libs/libsoup-gnome/libsoup-gnome-2.46.0.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 85 insertions(+), 23 deletions(-) diff --git a/net-libs/libsoup-gnome/files/libsoup-gnome-2.44.2-system-lib.patch b/net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch similarity index 91% rename from net-libs/libsoup-gnome/files/libsoup-gnome-2.44.2-system-lib.patch rename to net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch index 9c7a94a..15f7724 100644 --- a/net-libs/libsoup-gnome/files/libsoup-gnome-2.44.2-system-lib.patch +++ b/net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch @@ -1,4 +1,4 @@ -From f8711d536d9605d3d9c773ccbba039a7828e026a Mon Sep 17 00:00:00 2001 +From 63db817bac0382f3f43947b8233bf4585ede0e0b Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Tue, 20 Dec 2011 15:42:44 +0200 Subject: [PATCH] Split support for libsoup-gnome @@ -8,12 +8,12 @@ https://bugzilla.gnome.org/show_bug.cgi?id=595065 Original patch by Romain Perier. --- Makefile.am | 12 +++++++++-- - configure.ac | 34 +++++++++++++++++++----------- + configure.ac | 35 ++++++++++++++++++++----------- libsoup/Makefile.am | 60 +++++++++++++++++++++++++++++++++++++++-------------- - 3 files changed, 76 insertions(+), 30 deletions(-) + 3 files changed, 77 insertions(+), 30 deletions(-) diff --git a/Makefile.am b/Makefile.am -index 66992d9..046f945 100644 +index c8fa95c..fc09778 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,11 @@ @@ -29,7 +29,7 @@ index 66992d9..046f945 100644 EXTRA_DIST = \ data/effective_tld_names.dat \ -@@ -16,7 +20,11 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection +@@ -18,7 +22,11 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection pkgconfigdir = $(libdir)/pkgconfig @@ -43,10 +43,10 @@ index 66992d9..046f945 100644 if BUILD_LIBSOUP_GNOME pkgconfig_DATA += libsoup-gnome-2.4.pc diff --git a/configure.ac b/configure.ac -index 4db8cd2..c1b17f4 100644 +index 96bb378..0153f10 100644 --- a/configure.ac +++ b/configure.ac -@@ -77,20 +77,26 @@ LT_INIT([win32-dll]) +@@ -77,23 +77,30 @@ LT_INIT([win32-dll]) dnl *********************** dnl *** Checks for glib *** dnl *********************** @@ -56,36 +56,40 @@ index 4db8cd2..c1b17f4 100644 + AS_HELP_STRING([--with-libsoup-system], [Use libsoup system library to build(default=no)]), + [with_libsoup_system=$withval], [with_libsoup_system=no]) +if test "$with_libsoup_system" = "no"; then -+ GLIB_REQUIRED=2.36.0 ++ GLIB_REQUIRED=2.38.0 + AM_PATH_GLIB_2_0($GLIB_REQUIRED,,,gobject gio) + if test "$GLIB_LIBS" = ""; then -+ AC_MSG_ERROR(GLIB $GLIB_REQUIRED or later is required to build libsoup) ++ AC_MSG_ERROR(GLIB $GLIB_REQUIRED or later is required to build libsoup) + fi -+ GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36" -+ GLIB_MAKEFILE='$(top_srcdir)/Makefile.glib' -+ AC_SUBST(GLIB_MAKEFILE) ++ GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38" --GLIB_REQUIRED=2.36.0 +-GLIB_REQUIRED=2.38.0 -AM_PATH_GLIB_2_0($GLIB_REQUIRED,,,gobject gio) -if test "$GLIB_LIBS" = ""; then - AC_MSG_ERROR(GLIB $GLIB_REQUIRED or later is required to build libsoup) +-fi +-GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38" ++ GLIB_MAKEFILE='$(top_srcdir)/Makefile.glib' ++ AC_SUBST(GLIB_MAKEFILE) + +-GLIB_MAKEFILE='$(top_srcdir)/Makefile.glib' +-AC_SUBST(GLIB_MAKEFILE) + PKG_CHECK_MODULES(XML, libxml-2.0) + AC_SUBST(XML_CFLAGS) + AC_SUBST(XML_LIBS) - fi --GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36" -- --GLIB_MAKEFILE='$(top_srcdir)/Makefile.glib' --AC_SUBST(GLIB_MAKEFILE) -- ++fi ++AM_CONDITIONAL(BUILD_LIBSOUP, test $with_libsoup_system = no) + + GLIB_TESTS + -PKG_CHECK_MODULES(XML, libxml-2.0) -AC_SUBST(XML_CFLAGS) -AC_SUBST(XML_LIBS) -+AM_CONDITIONAL(BUILD_LIBSOUP, test $with_libsoup_system = no) - +- PKG_CHECK_MODULES(SQLITE, sqlite3) AC_SUBST(SQLITE_CFLAGS) -@@ -139,6 +145,10 @@ AM_CONDITIONAL(BUILD_LIBSOUP_GNOME, test $with_gnome != no) + AC_SUBST(SQLITE_LIBS) +@@ -141,6 +148,10 @@ AM_CONDITIONAL(BUILD_LIBSOUP_GNOME, test $with_gnome != no) if test $with_gnome != no; then AC_DEFINE(HAVE_GNOME, 1, [Defined if GNOME support is enabled]) @@ -250,5 +254,5 @@ index 60920bd..26c5616 100644 endif -- -1.8.3.2 +1.9.0 diff --git a/net-libs/libsoup-gnome/libsoup-gnome-2.46.0.ebuild b/net-libs/libsoup-gnome/libsoup-gnome-2.46.0.ebuild new file mode 100644 index 0000000..7610a25 --- /dev/null +++ b/net-libs/libsoup-gnome/libsoup-gnome-2.46.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" + +MY_PN=${PN/-gnome} +MY_P=${MY_PN}-${PV} + +inherit autotools eutils gnome2 + +DESCRIPTION="GNOME plugin for libsoup" +HOMEPAGE="https://wiki.gnome.org/LibSoup" +SRC_URI="${SRC_URI//-gnome}" + +LICENSE="LGPL-2+" +SLOT="2.4" +IUSE="debug +introspection" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x86-solaris" + +RDEPEND=" + ~net-libs/libsoup-${PV}[introspection?] + dev-db/sqlite:3= + introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) + >=net-libs/libsoup-2.42.2-r1 +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.10 + >=dev-util/intltool-0.35 + sys-devel/gettext + virtual/pkgconfig +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # Use lib present on the system + epatch "${FILESDIR}"/${PN}-2.46.0-system-lib.patch + eautoreconf + gnome2_src_prepare +} + +src_configure() { + # FIXME: we need addpredict to workaround bug #324779 until + # root cause (bug #249496) is solved + addpredict /usr/share/snmp/mibs/.index + + # Disable apache tests until they are usable on Gentoo, bug #326957 + gnome2_src_configure \ + --disable-static \ + --disable-tls-check \ + $(use_enable introspection) \ + --with-libsoup-system \ + --with-gnome \ + --without-apache-httpd +}