From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Pd8xK-00030M-Hk for garchives@archives.gentoo.org; Wed, 12 Jan 2011 22:14:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42305E0780; Wed, 12 Jan 2011 22:14:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 04F86E088A for ; Wed, 12 Jan 2011 22:14:07 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E6CB1B402E for ; Wed, 12 Jan 2011 22:14:07 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2184) id BA75420054; Wed, 12 Jan 2011 22:14:05 +0000 (UTC) From: "Gilles Dartiguelongue (eva)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, eva@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libgphoto2: ChangeLog libgphoto2-2.4.10.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog libgphoto2-2.4.10.ebuild X-VCS-Directories: media-libs/libgphoto2 X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue Content-Type: text/plain; charset=utf8 Message-Id: <20110112221405.BA75420054@flycatcher.gentoo.org> Date: Wed, 12 Jan 2011 22:14:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e54b411b-9029-4462-b3c6-0390bd4a0968 X-Archives-Hash: d5a05251acd1299a536ad654fa0dee22 eva 11/01/12 22:14:05 Modified: ChangeLog libgphoto2-2.4.10.ebuild Log: Change selective cameras build logic. Builds all when CAMERAS is set to= *, nothing if empty and only the ones specified otherwise in order to no= t violate package manager handling, bug #346491. =20 (Portage version: 2.2.0_alpha13/cvs/Linux x86_64) Revision Changes Path 1.183 media-libs/libgphoto2/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libgpho= to2/ChangeLog?rev=3D1.183&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libgpho= to2/ChangeLog?rev=3D1.183&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libgpho= to2/ChangeLog?r1=3D1.182&r2=3D1.183 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/ChangeLog,v retrieving revision 1.182 retrieving revision 1.183 diff -u -r1.182 -r1.183 --- ChangeLog 21 Nov 2010 22:29:53 -0000 1.182 +++ ChangeLog 12 Jan 2011 22:14:05 -0000 1.183 @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libgphoto2 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/ChangeLog,v 1.1= 82 2010/11/21 22:29:53 eva Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/ChangeLog,v 1.1= 83 2011/01/12 22:14:05 eva Exp $ + + 12 Jan 2011; Gilles Dartiguelongue libgphoto2-2.4.10.= ebuild: + Change selective cameras build logic. Builds all when CAMERAS is set t= o *, + nothing if empty and only the ones specified otherwise in order to not + violate package manager handling, bug #346491. =20 *libgphoto2-2.4.10 (21 Nov 2010) =20 1.2 media-libs/libgphoto2/libgphoto2-2.4.10.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libgpho= to2/libgphoto2-2.4.10.ebuild?rev=3D1.2&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libgpho= to2/libgphoto2-2.4.10.ebuild?rev=3D1.2&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libgpho= to2/libgphoto2-2.4.10.ebuild?r1=3D1.1&r2=3D1.2 Index: libgphoto2-2.4.10.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.4.10= .ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- libgphoto2-2.4.10.ebuild 21 Nov 2010 22:29:53 -0000 1.1 +++ libgphoto2-2.4.10.ebuild 12 Jan 2011 22:14:05 -0000 1.2 @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.4.= 10.ebuild,v 1.1 2010/11/21 22:29:53 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.4.= 10.ebuild,v 1.2 2011/01/12 22:14:05 eva Exp $ =20 # TODO # 1. Track upstream bug --disable-docs does not work. @@ -72,10 +72,7 @@ =20 pkg_setup() { if ! echo "${USE}" | grep "cameras_" > /dev/null 2>&1; then - einfo "libgphoto2 supports: all ${IUSE_CAMERAS}" - einfo "All camera drivers will be built since you did not specify" - einfo "via the CAMERAS variable what camera you use." - einfo "NOTICE: Upstream will not support you if you do not compile all= camera drivers first" + einfo "No camera drivers will be built since you did not specify any." fi =20 if use cameras_template || use cameras_sipix_blink; then @@ -116,17 +113,23 @@ src_configure() { local cameras local cam + local cam_warn=3Dno for cam in ${IUSE_CAMERAS} ; do - use "cameras_${cam}" && cameras=3D"${cameras},${cam}" + if use "cameras_${cam}"; then + cameras=3D"${cameras},${cam}" + else + cam_warn=3Dyes + fi done =20 - [ -z "${cameras}" ] \ - && cameras=3D"all" \ - || cameras=3D"${cameras:1}" - - einfo "Enabled camera drivers: ${cameras}" - [ "${cameras}" !=3D "all" ] && \ + if [ "${cam_warn}" =3D "yes" ]; then + [ -z "${cameras}" ] || cameras=3D"${cameras:1}" + einfo "Enabled camera drivers: ${cameras:-none}" ewarn "Upstream will not support you if you do not compile all camera = drivers first" + else + cameras=3D"all" + einfo "Enabled camera drivers: all" + fi =20 econf \ --disable-docs \