add patched ebuild for exif

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1522 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-08-31 20:23:42 +00:00
parent 6b956f0f0f
commit 18d3439b97
8 changed files with 992 additions and 0 deletions

View File

@ -0,0 +1,688 @@
# ChangeLog for media-libs/libgphoto2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/ChangeLog,v 1.152 2009/08/30 14:58:33 mrpouet Exp $
*libgphoto2-2.4.7 (30 Aug 2009)
30 Aug 2009; Romain Perier <mrpouet@gentoo.org>
+libgphoto2-2.4.7.ebuild:
Version bump. 5 new cameras IDs, translation updates, bugfixes, bug #283133
18 Jul 2009; Daniel Gryniewicz <dang@gentoo.org> libgphoto2-2.4.6.ebuild:
Fix -exif sed. bug #275568
18 Jun 2009; <mrpouet@gentoo.org> libgphoto2-2.4.6.ebuild:
Fix missing eutils.eclass, bug #274596
*libgphoto2-2.4.6 (18 Jun 2009)
18 Jun 2009; Gilles Dartiguelongue <eva@gentoo.org>
+libgphoto2-2.4.6.ebuild:
Version bump. Enhancements to ptp2, canon and digigr8 drivers. Drop rpm
patch since it's now unneeded. Closes: #270677
*libgphoto2-2.4.5 (16 May 2009)
16 May 2009; Hanno Boeck <hanno@gentoo.org> +libgphoto2-2.4.5.ebuild:
Version bump, remove upstream applied patches, change virtual/libusb
dependency to SLOT.
16 May 2009; Robin H. Johnson <robbat2@gentoo.org>
libgphoto2-2.4.3.ebuild, libgphoto2-2.4.4.ebuild:
Migration to virtual/libusb. Verified by code inspection.
05 Apr 2009; Gilles Dartiguelongue <eva@gentoo.org>
-files/libgphoto2-2.4.0-as-needed.patch,
-files/libgphoto2-2.4.0-udev-rules-fix4.diff, -libgphoto2-2.4.1-r1.ebuild,
-libgphoto2-2.4.2.ebuild, libgphoto2-2.4.4.ebuild:
Honor exif USE flag, bug #259196. Remove old revisions.
16 Feb 2009; Brent Baude <ranger@gentoo.org> libgphoto2-2.4.3.ebuild:
Marking libgphoto2-2.4.3 ppc for bug 255825
07 Feb 2009; Jeroen Roovers <jer@gentoo.org> libgphoto2-2.4.3.ebuild:
Stable for HPPA (bug #255825).
04 Feb 2009; Raúl Porcel <armin76@gentoo.org> libgphoto2-2.4.3.ebuild:
ia64/sparc stable wrt #255825
*libgphoto2-2.4.4 (31 Jan 2009)
31 Jan 2009; Gilles Dartiguelongue <eva@gentoo.org>
+libgphoto2-2.4.4.ebuild:
Bump to 2.4.4. Lot of changes on PTP2 driver and bug fixes.
25 Jan 2009; Tobias Klausmann <klausman@gentoo.org>
libgphoto2-2.4.3.ebuild:
Stable on alpha, bug #255825
25 Jan 2009; Brent Baude <ranger@gentoo.org> libgphoto2-2.4.3.ebuild:
Marking libgphoto2-2.4.3 ppc64 for bug 255825
25 Jan 2009; Markus Meier <maekke@gentoo.org> libgphoto2-2.4.3.ebuild:
amd64/x86 stable, bug #255825
04 Dec 2008; Gilles Dartiguelongue <eva@gentoo.org>
+files/libgphoto2-2.4.3-gcc43.patch, libgphoto2-2.4.3.ebuild:
Fix compilation with gcc 4.3, bug #249677.
*libgphoto2-2.4.3 (29 Nov 2008)
29 Nov 2008; Gilles Dartiguelongue <eva@gentoo.org>
-files/libgphoto2-2.1.2-norpm.patch,
-files/libgphoto2-2.2.0-includes.patch,
-files/libgphoto2-2.2.1-backported-udev-fixes.diff,
-files/libgphoto-2.2.1-new-dbus-api.patch,
-files/libgphoto2-2.2.1-ngettext.patch, -files/libgphoto2-2.3.1-rpm.patch,
-files/libgphoto2-2.3.1-udev-rules-fix3.diff,
+files/libgphoto2-2.4.3-automagic.patch, metadata.xml,
+libgphoto2-2.4.3.ebuild:
Bump to 2.4.3, fix automagic dependencies. Clean up old patches.
08 Oct 2008; Gilles Dartiguelongue <eva@gentoo.org>
libgphoto2-2.4.2.ebuild:
Generate doxygen documentation, gtk-doc documentation is broken, bug
#235499.
04 Aug 2008; Gilles Dartiguelongue <eva@gentoo.org> ChangeLog:
bump to 2.4.2. Fixed udev rules generator.
03 Aug 2008; Gilles Dartiguelongue <eva@gentoo.org>
-libgphoto2-2.2.1-r1.ebuild, -libgphoto2-2.3.1-r5.ebuild,
-libgphoto2-2.4.0-r1.ebuild, -libgphoto2-2.4.1.ebuild:
clean up old revisions
03 Aug 2008; Gilles Dartiguelongue <eva@gentoo.org>
libgphoto2-2.4.1-r1.ebuild:
Stable on amd64 wrt bug #232202
24 Jul 2008; Raúl Porcel <armin76@gentoo.org> libgphoto2-2.4.1-r1.ebuild:
ia64/sparc/x86 stable wrt #232202
22 Jul 2008; Markus Rothe <corsair@gentoo.org> libgphoto2-2.4.1-r1.ebuild:
Stable on ppc64; bug #232202
21 Jul 2008; nixnut <nixnut@gentoo.org> libgphoto2-2.4.1-r1.ebuild:
Stable on ppc wrt bug 232202
18 Jul 2008; Jeroen Roovers <jer@gentoo.org> libgphoto2-2.4.1-r1.ebuild:
Stable for HPPA (bug #232202).
27 May 2008; Jeroen Roovers <jer@gentoo.org> libgphoto2-2.4.1-r1.ebuild:
Marked ~hppa (bug #223455).
25 May 2008; Markus Meier <maekke@gentoo.org> libgphoto2-2.4.1.ebuild:
amd64 stable, bug #221853
24 May 2008; Tobias Klausmann <klausman@gentoo.org>
libgphoto2-2.4.1-r1.ebuild:
Stable on alpha, bug #221853
*libgphoto2-2.4.1-r1 (24 May 2008)
24 May 2008; Markus Meier <maekke@gentoo.org> +files/gphoto2-ixany.patch,
libgphoto2-2.4.1.ebuild, +libgphoto2-2.4.1-r1.ebuild:
Fix building on alpha, bug #221853 comment #6, patch from fedora. Move
libtool to DEPEND.
20 May 2008; Raúl Porcel <armin76@gentoo.org> libgphoto2-2.2.1-r1.ebuild,
libgphoto2-2.3.1-r5.ebuild, libgphoto2-2.4.0-r1.ebuild,
libgphoto2-2.4.1.ebuild:
Restore ia64 keyword to satisfy kde
18 May 2008; Raúl Porcel <armin76@gentoo.org> libgphoto2-2.4.1.ebuild:
sparc stable wrt #221853
17 May 2008; Raúl Porcel <armin76@gentoo.org> libgphoto2-2.2.1-r1.ebuild,
libgphoto2-2.3.1-r5.ebuild, libgphoto2-2.4.0-r1.ebuild,
libgphoto2-2.4.1.ebuild:
Drop ia64, no hardware to test
17 May 2008; Christian Faulhammer <opfer@gentoo.org>
libgphoto2-2.4.1.ebuild:
stable x86, bug 221853
16 May 2008; nixnut <nixnut@gentoo.org> libgphoto2-2.4.1.ebuild:
Stable on ppc wrt bug 221853
14 May 2008; Markus Rothe <corsair@gentoo.org> libgphoto2-2.4.1.ebuild:
Stable on ppc64; bug #221853
13 May 2008; Jeroen Roovers <jer@gentoo.org> libgphoto2-2.2.1-r1.ebuild:
Stable for HPPA (bug #221063).
11 May 2008; Markus Meier <maekke@gentoo.org> libgphoto2-2.2.1-r1.ebuild,
libgphoto2-2.3.1-r5.ebuild, libgphoto2-2.4.0-r1.ebuild,
libgphoto2-2.4.1.ebuild:
add missing flex dependency, bug #221393
05 Apr 2008; Gilles Dartiguelongue <eva@gentoo.org>
libgphoto2-2.4.1.ebuild:
Fix bug #212721, libtool-2 failure. Fix bug #216206, libusb detection.
30 Mar 2008; Gilles Dartiguelongue <eva@gentoo.org>
libgphoto2-2.4.1.ebuild:
add some logic to workaround bug #172830
*libgphoto2-2.4.1 (30 Mar 2008)
30 Mar 2008; Gilles Dartiguelongue <eva@gentoo.org>
+libgphoto2-2.4.1.ebuild:
bump to 2.4.1
22 Mar 2008; Daniel Gryniewicz <dang@gentoo.org>
libgphoto2-2.4.0-r1.ebuild:
Make exif actually turn off with -exif. Bug #212167
06 Nov 2007; Gilles Dartiguelongue <eva@gentoo.org>
-files/libgphoto2-2.3.1-udev-rules-fix.diff,
-files/libgphoto2-2.3.1-udev-rules-fix2.diff, -libgphoto2-2.3.1-r2.ebuild,
-libgphoto2-2.3.1-r3.ebuild, -libgphoto2-2.3.1-r4.ebuild,
libgphoto2-2.4.0-r1.ebuild:
prune old versions
change location of the fdi file in 2.4.0
03 Oct 2007; Gilles Dartiguelongue <eva@gentoo.org>
libgphoto2-2.2.1-r1.ebuild:
adding RESTRICT=test per bug #147097 and bug #193933
27 Sep 2007; Gilles Dartiguelongue <eva@gentoo.org>
-libgphoto2-2.4.0.ebuild, libgphoto2-2.4.0-r1.ebuild:
fix typos in IUSE_CAMERAS per bug #193850
26 Sep 2007; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.4.0-r1.ebuild:
Change udev rules to no longer set wrong mode for device-nodes.
26 Sep 2007; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.4.0-r1.ebuild:
Moved udev rules file to 70-libgphoto2.rules.
*libgphoto2-2.4.0-r1 (26 Sep 2007)
26 Sep 2007; Matthias Schwarzott <zzam@gentoo.org>
+files/libgphoto2-2.4.0-udev-rules-fix4.diff, +libgphoto2-2.4.0-r1.ebuild:
Fix udev rules for kernel 2.6.22 and greater, now also got this patch into
upstream - will appear in next version.
25 Sep 2007; Gilles Dartiguelongue <eva@gentoo.org>
libgphoto2-2.4.0.ebuild:
add missing quotes from ebuild review
*libgphoto2-2.4.0 (24 Sep 2007)
24 Sep 2007; Gilles Dartiguelongue <eva@gentoo.org>
+files/libgphoto2-2.4.0-as-needed.patch,
+files/libgphoto2-2.4.0-rpm.patch, +libgphoto2-2.4.0.ebuild:
bump to 2.4.0
30 Aug 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing liquidx from metadata due to his retirement (see #171155 for
reference).
*libgphoto2-2.3.1-r5 (18 Aug 2007)
18 Aug 2007; Matthias Schwarzott <zzam@gentoo.org>
+files/libgphoto2-2.3.1-udev-rules-fix3.diff, +libgphoto2-2.3.1-r5.ebuild:
Updated udev rules, to work with kernel 2.6.22. This uses new udev-syntax,
so block versions before udev-114.
02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
libgphoto2-2.2.1-r1.ebuild:
(QA) RESTRICT clean up.
06 Jun 2007; Matthias Schwarzott <zzam@gentoo.org> metadata.xml,
libgphoto2-2.2.1-r1.ebuild:
I do no longer maintain libgphoto. Added to herd graphics.
28 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
-files/libgphoto2-2.1.6-gtk-doc-digit-attribute.patch,
-files/canon.powershot.usermap, -libgphoto2-2.1.6-r1.ebuild:
Removed old ebuild.
28 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.2.1-r1.ebuild:
Removed use-flag usb, now depending unconditionally on libusb, as else
configure dies, thanks to armin76 for noticing.
28 Mar 2007; Raúl Porcel <armin76@gentoo.org> libgphoto2-2.2.1-r1.ebuild:
ia64 stable wrt bug 158626
24 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.3.1-r2.ebuild, libgphoto2-2.3.1-r3.ebuild,
libgphoto2-2.3.1-r4.ebuild:
Readded the libusb depend, that was incorrectly removed, Bug #171939.
01 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.1.6-r1.ebuild, libgphoto2-2.2.1-r1.ebuild,
libgphoto2-2.3.1-r2.ebuild, libgphoto2-2.3.1-r3.ebuild,
libgphoto2-2.3.1-r4.ebuild:
Corrected comment about CAMERAS USE_EXPAND variable, Bug #168852.
*libgphoto2-2.3.1-r4 (26 Feb 2007)
26 Feb 2007; Matthias Schwarzott <zzam@gentoo.org>
+files/libgphoto2-2.3.1-udev-rules-fix2.diff, +libgphoto2-2.3.1-r4.ebuild:
Revert udev-rules to match also parent-devices (using ATTRS), Bug #166492.
17 Feb 2007; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.1.6-r1.ebuild, libgphoto2-2.2.1-r1.ebuild,
libgphoto2-2.3.1-r2.ebuild, libgphoto2-2.3.1-r3.ebuild:
No longer printing ROOT in an error message, Bug #167285. Removing all but
ia64 keyword from libgphoto2-2.1.6-r1.
31 Jan 2007; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.3.1-r3.ebuild:
Inherit multilib to make people happy, Bug #164715.
*libgphoto2-2.3.1-r3 (31 Jan 2007)
31 Jan 2007; Matthias Schwarzott <zzam@gentoo.org>
+libgphoto2-2.3.1-r3.ebuild:
Make position of udev-script check-ptp-camera also correct on multilib
systems, Bug #164715.
31 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> -libgphoto2-2.3.1-r1.ebuild,
libgphoto2-2.3.1-r2.ebuild:
Add new bug to track, cleanup
*libgphoto2-2.3.1-r2 (31 Jan 2007)
31 Jan 2007; Doug Goldstein <cardoe@gentoo.org>
+files/libgphoto2-2.3.1-udev-rules-fix.diff, +libgphoto2-2.3.1-r2.ebuild:
Fix for generating udev rules properly. Rather then recursive it just
changes the device. Also don't accidentally match on VendorID=0.
30 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> libgphoto2-2.3.1-r1.ebuild:
Fix an issue with gtk-doc installed, bug#164530
29 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org>
+files/libgphoto2-2.3.1-rpm.patch, libgphoto2-2.3.1-r1.ebuild:
Fixed rpm sandbox issue, closes bug#157773
*libgphoto2-2.3.1-r1 (28 Jan 2007)
28 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> -libgphoto2-2.3.1.ebuild,
+libgphoto2-2.3.1-r1.ebuild:
Fixed udev script location, thanks for zzam for reporting
*libgphoto2-2.3.1 (27 Jan 2007)
27 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> +libgphoto2-2.3.1.ebuild:
Version bump bug#157765, maintainer is not responsive
11 Jan 2007; Daniel Gryniewicz <dang@gentoo.org>
libgphoto2-2.2.1-r1.ebuild:
Marked stable on amd64 for bug #158626
06 Jan 2007; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.1.6-r1.ebuild, libgphoto2-2.2.1-r1.ebuild:
Converted to elog.
30 Dec 2006; Bryan Østergaard <kloeri@gentoo.org>
libgphoto2-2.2.1-r1.ebuild:
Stable on Alpha, bug 158684.
27 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
files/digest-libgphoto2-2.1.6-r1, Manifest:
Fixed digest, Bug #159160.
23 Dec 2006; Matthias Schwarzott <zzam@gentoo.org> metadata.xml:
Added me to maintainers.
22 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
libgphoto2-2.2.1-r1.ebuild:
Stable on ppc wrt bug #158684.
22 Dec 2006; Andrej Kacian <ticho@gentoo.org> libgphoto2-2.2.1-r1.ebuild:
Stable on x86, bug #158626.
21 Dec 2006; Markus Rothe <corsair@gentoo.org> libgphoto2-2.2.1-r1.ebuild:
Stable on ppc64; bug #158626
20 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org>
libgphoto2-2.2.1-r1.ebuild:
Stable on sparc wrt #158626
18 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.2.1-r1.ebuild:
Now it RDEPENDS on libtool for getting libltdl.so, thanks to flameeyes, Bug
#148845.
18 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.1.6-r1.ebuild, libgphoto2-2.2.1-r1.ebuild:
Removed dependency on sys-apps/hotplug.
14 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
libgphoto2-2.2.1-r1.ebuild:
Unconditionally installing udev-rules due to Bug #158114.
11 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
+files/libgphoto2-2.2.1-backported-udev-fixes.diff,
libgphoto2-2.2.1-r1.ebuild:
Added installation of udev-103 compliant rules, solving Bug #153471.
Correcting also installation of hal-file, Bug #147346.
07 Nov 2006; Hanno Boeck <hanno@gentoo.org>
+files/libgphoto-2.2.1-new-dbus-api.patch, libgphoto2-2.2.1-r1.ebuild:
Patch for new dbus api, backwards-compatible to both old and new api.
02 Sep 2006; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.2.1-r1.ebuild:
restrict build to -j1 to avoid documentation breakage (#139821)
20 Jul 2006; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.2.1-r1.ebuild:
Disabling tests due to (#141097)
18 Jul 2006; Alastair Tse <liquidx@gentoo.org>
-files/libgphoto2-2.1.1-norpm.patch, -files/libgphoto2-2.1.2-canon.patch,
-files/libgphoto2-2.1.3-canon.patch, -files/libgphoto2-2.1.4-blink2.patch,
-files/libgphoto2-2.1.4-canon.patch,
-files/libgphoto2-2.1.4-gcc2_fixes.patch,
+files/libgphoto2-2.1.6-gtk-doc-digit-attribute.patch,
-libgphoto2-2.1.4.ebuild, -libgphoto2-2.1.5.ebuild,
-libgphoto2-2.1.6.ebuild, libgphoto2-2.1.6-r1.ebuild,
-libgphoto2-2.1.6-r2.ebuild, -libgphoto2-2.2.0.ebuild,
libgphoto2-2.2.1-r1.ebuild:
Fixed bad installation for docs in 2.2.1 (#139812), added
docbook-sgml-dtd-4.2 to deps in attempt to fix doc problems
(#100660)(#139812), added patch to fix minor error in docgen for 2.1.6
(#134945)
11 Jul 2006; Daniel Drake <dsd@gentoo.org>
+files/libgphoto2-2.2.1-ngettext.patch, libgphoto2-2.2.1-r1.ebuild:
Fix -nls build breakage thanks to Samuli Suominen in bug #139534. Patch from
Andrew Resch.
*libgphoto2-2.2.1-r1 (10 Jul 2006)
10 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> -libgphoto2-2.2.1.ebuild,
+libgphoto2-2.2.1-r1.ebuild:
fix typo that kept usermap from being installed correctly. Bug #139650
07 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
libgphoto2-2.1.4.ebuild, libgphoto2-2.1.5.ebuild, libgphoto2-2.1.6.ebuild,
libgphoto2-2.1.6-r1.ebuild, libgphoto2-2.1.6-r2.ebuild,
libgphoto2-2.2.0.ebuild, libgphoto2-2.2.1.ebuild:
Restrict from using confcache, the double-configure run seems not to be
happy with it.
*libgphoto2-2.2.1 (06 Jul 2006)
06 Jul 2006; Daniel Gryniewicz <dang@gentoo.org>
+files/libgphoto2-2.2.0-includes.patch, libgphoto2-2.2.0.ebuild,
+libgphoto2-2.2.1.ebuild:
bump to 2.2.1, and add a patch to make both build when no libgphoto2 is
installed; fix bug #120812
*libgphoto2-2.2.0 (05 Jul 2006)
05 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> +libgphoto2-2.2.0.ebuild:
Bump to 2.2.0
17 Feb 2006; Aron Griffis <agriffis@gentoo.org>
libgphoto2-2.1.6-r1.ebuild:
Mark 2.1.6-r1 stable on ia64
*libgphoto2-2.1.6-r2 (10 Feb 2006)
10 Feb 2006; Alastair Tse <liquidx@gentoo.org>
+libgphoto2-2.1.6-r2.ebuild:
freebsd compat thanks to flameeyes (#102353)
07 Feb 2006; Aron Griffis <agriffis@gentoo.org>
libgphoto2-2.1.6-r1.ebuild:
Mark 2.1.6-r1 stable on alpha
08 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org>
libgphoto2-2.1.6-r1.ebuild:
ppc stable, bug #117596
05 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org>
libgphoto2-2.1.6-r1.ebuild:
Stable on sparc wrt #117596
04 Jan 2006; Petteri Räty <betelgeuse@gentoo.org>
libgphoto2-2.1.6-r1.ebuild:
Marked stable on x86 for bug #117596.
03 Jan 2006; Markus Rothe <corsair@gentoo.org> libgphoto2-2.1.6-r1.ebuild:
Stable on ppc64
03 Jan 2006; Luis Medinas <metalgod@gentoo.org> ChangeLog:
Stable on amd64. For bug #117596.
21 Oct 2005; Joe McCann <joem@gentoo.org> libgphoto2-2.1.6-r1.ebuild:
Only display error if use=jpeg and ! use=exif. It was confusing for users
and me to see the error message when we had the right combo of use flags
*libgphoto2-2.1.6-r1 (14 Oct 2005)
14 Oct 2005; John N. Laliberte <allanonjl@gentoo.org>
+libgphoto2-2.1.6-r1.ebuild:
install the .group file instead of using pam_console. use plugdev group
instead of default camera group in the .group file. Thanks to Rémi Cardona
<remi2402@free.fr> for testing and the updating of patches on bugzie. Fixes
#84628
03 Sep 2005; Markus Rothe <corsair@gentoo.org> libgphoto2-2.1.6.ebuild:
Stable on ppc64
02 Sep 2005; Michael Hanselmann <hansmi@gentoo.org>
libgphoto2-2.1.6.ebuild:
Stable on ppc.
29 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org>
libgphoto2-2.1.6.ebuild:
Stable on sparc
27 Aug 2005; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.6.ebuild:
stable on amd64 x86
26 Aug 2005; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.6.ebuild:
stable on alpha ia64
24 Aug 2005; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.5.ebuild:
stable on ia64
31 Jul 2005; Tobias Scherbaum <dertobi123@gentoo.org>
libgphoto2-2.1.5.ebuild:
ppc stable
06 Jul 2005; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.6.ebuild:
re-add jpeg to IUSE (#97923)
28 Jun 2005; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.6.ebuild:
Fix use invocation
27 Jun 2005; Markus Rothe <corsair@gentoo.org> libgphoto2-2.1.5.ebuild:
Stable on ppc64
25 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org>
libgphoto2-2.1.5.ebuild:
Stable on sparc
24 Jun 2005; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.6.ebuild:
change jpeg USE flag to exif (#93652)
*libgphoto2-2.1.6 (24 Jun 2005)
24 Jun 2005; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.5.ebuild,
+libgphoto2-2.1.6.ebuild:
version bump (#96879)
17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org>
libgphoto2-2.1.4.ebuild:
Stable on ppc.
08 May 2005; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.4.ebuild:
stable on ia64
30 Mar 2005; Bryan Østergaard <kloeri@gentoo.org>
libgphoto2-2.1.5.ebuild:
Add ~alpha keyword, bug 87009.
*libgphoto2-2.1.5 (13 Jan 2005)
13 Jan 2005; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.4-r1.ebuild,
+libgphoto2-2.1.5.ebuild:
version bump (#74640) thanks to Robert Davis <rdavis@unico.com>. updated
libusb deps (#76282), new 2.1.5 has nousb option (#58777).
*libgphoto2-2.1.4-r1 (23 Oct 2004)
23 Oct 2004; Alastair Tse <liquidx@gentoo.org>
+files/libgphoto2-2.1.4-canon.patch, -libgphoto2-2.1.3.ebuild,
+libgphoto2-2.1.4-r1.ebuild:
rev bump for new canon ids support (#67238). thanks to Robert Davis
<rdavis@unico.com>
17 Oct 2004; Dylan Carlson <absinthe@gentoo.org> libgphoto2-2.1.4.ebuild:
stable on amd64.
06 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org>
libgphoto2-2.1.3.ebuild, libgphoto2-2.1.4.ebuild:
get_libdir fixes.
31 Jul 2004; Tom Gall <tgall@gentoo.org> libgphoto2-2.1.4.ebuild:
stable on ppc64, bug #57131
24 Jul 2004; Alastair Tse <liquidx@gentoo.org> :
added blink2 patch thanks to xiando (#52932)
16 Jul 2004; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.4.ebuild:
fix 'no drivers compiled' bug introduced because of IUSE_* migration (#57158)
12 Jul 2004; Mike Frysinger <vapier@gentoo.org> libgphoto2-2.1.1-r2.ebuild,
libgphoto2-2.1.2-r1.ebuild, libgphoto2-2.1.3-r1.ebuild,
libgphoto2-2.1.3.ebuild, libgphoto2-2.1.4.ebuild:
Move GPHOTO_LIBS to use the IUSE_ syntax.
07 Jun 2004; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.2-r1.ebuild,
libgphoto2-2.1.3-r1.ebuild, libgphoto2-2.1.3.ebuild,
libgphoto2-2.1.4.ebuild:
Fix use invocation
06 May 2004; L. Boshell <leonardop@gentoo.org> libgphoto2-2.1.4.ebuild,
files/libgphoto2-2.1.4-gcc2_fixes.patch:
Added patch to make it compile under gcc-2.
27 Apr 2004; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.1-r2.ebuild,
libgphoto2-2.1.2-r1.ebuild, libgphoto2-2.1.3-r1.ebuild,
libgphoto2-2.1.3.ebuild, libgphoto2-2.1.4.ebuild:
Add inherit eutils
25 Apr 2004; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.1-r2.ebuild,
libgphoto2-2.1.2-r1.ebuild, libgphoto2-2.1.3-r1.ebuild,
libgphoto2-2.1.3.ebuild, libgphoto2-2.1.4.ebuild:
Add die following econf for bug 48950
23 Feb 2004; Sven Blumenstein <bazik@gentoo.org> libgphoto2-2.1.4.ebuild:
Stable on sparc.
18 Feb 2004; Aron Griffis <agriffis@gentoo.org> libgphoto2-2.1.3-r1.ebuild,
libgphoto2-2.1.4.ebuild:
add ia64/~ia64 keywords
05 Feb 2004; Luca Barbato <lu_zero@gentoo.org> libgphoto2-2.1.3-r1.ebuild:
Marked ppc
*libgphoto2-2.1.4 (01 Feb 2004)
01 Feb 2004; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.3-r1.ebuild,
libgphoto2-2.1.4.ebuild:
version bump (#38713)
*libgphoto2-2.1.3-r1 (09 Jan 2004)
09 Jan 2004; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.3-r1.ebuild,
files/libgphoto2-2.1.3-canon.patch:
new revision. backported missing canon powershot ids from CVS (Bug #35624) and
moved usb usermap id generation to pkg_postinst() to solve (bug #36685).
please note that now the usermaps are stored in
/etc/hotplug/usb/usbcam-gphoto2.usermap and users should not edit this file
but add custom ids in /etc/hotplug/usb/usbcam.usermap
29 Nov 2003; Brad House <brad_mssw@gentoo.org> libgphoto2-2.1.3.ebuild:
mark stable on amd64
17 Nov 2003; Jason Wever <weeve@gentoo.org> libgphoto2-2.1.2-r1.ebuild:
Marked stable on sparc.
*libgphoto2-2.1.3 (28 Oct 2003)
28 Oct 2003; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.3.ebuild:
version bump, removed canon patch and added support for GPHOTO_LIBS
environment variable to support optional restriction to driver compilation.
this is similar to ALSA_CARDS used in alsa-kernel. thanks to Robert Davis
<rdavis@uniformcompany.com> (#31566)
26 Oct 2003; Brad House <brad_mssw@gentoo.org> libgphoto2-2.1.2-r1.ebuild:
add ~amd64 flag
15 Oct 2003; Martin Holzer <mholzer@gentoo.org> libgphoto2-2.1.2-r1.ebuild:
adding patch in DEPEND. Closes #31114.
13 Oct 2003; Alastair Tse <liquidx@gentoo.org>
files/libgphoto2-2.1.2-canon.patch:
fix cvs ids conflict in canon patch
13 Oct 2003; Martin Holzer <mholzer@gentoo.org> libgphoto2-2.1.2-r1.ebuild,
files/libgphoto2-2.1.2-canon.patch:
Adding prefix from cvs. Closes #30880.
08 Oct 2003; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.1-r3.ebuild,
libgphoto2-2.1.2-r1.ebuild, libgphoto2-2.1.2.ebuild:
stable bump and cleanup
*libgphoto2-2.1.2-r1 (06 Sep 2003)
06 Sep 2003; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.2-r1.ebuild,
files/canon.powershot.usermap:
added Canon Powershow usb hotplug usermap. Compiled by james
<zeurx@hotmail.com> (#24988).
03 Sep 2003; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.2.ebuild:
added usbutils dep to make sure we get the latest non-conflicting
version with libusb (#25845).
*libgphoto2-2.1.2 (28 Aug 2003)
28 Aug 2003; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.2.ebuild,
files/libgphoto2-2.1.2-norpm.patch:
version bump with additions for usb hotplug permission support
*libgphoto2-2.1.1-r3 (20 Aug 2003)
20 Aug 2003; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.1-r3.ebuild,
metadata.xml, files/libgphoto2-2.1.1-norpm.patch:
added hotplug perms scripts and devmap, added hotplug RDEPEND, made docs
installation consistant
02 Jul 2003; Jason Wever <weeve@gentoo.org> libgphoto2-2.1.1-r2.ebuild:
Changed ~sparc keyword to sparc.
10 Jun 2003; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.1-r2.ebuild:
marked as stable x86
20 May 2003; Jason Wever <weeve@gentoo.org> libgphoto2-2.1.1-r2.ebuild:
Added ~sparc to keywords.
16 May 2003; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.1-r2.ebuild:
fix embedded path problems with install process
*libgphoto2-2.1.1-r2 (11 May 2003)
11 May 2003; Alastair Tse <liquidx@gentoo.org> libgphoto2-2.1.1-r2.ebuild,
files/libgphoto2-2.1.1-norpm.patch:
added optional exif support. Bug #12044.
*libgphoto2-2.1.1-r1 (12 Feb 2002)
12 Feb 2003; Spider <spider@gentoo.org> libgphoto2-2.1.1-r1.ebuild :
enabled doc, the problem was a compile race in the Makfile. solved with MAKETOPS="-j1"
*libgphoto2-2.1.1 (12 Feb 2002)
12 Feb 2003; Spider <spider@gentoo.org> libgphoto2-2.1.1.ebuild :
copied the gphoto2 ebuilds, bumped and tweaked
tried to enable doc's , but appears they dont work properly. disabled for now

View File

@ -0,0 +1,8 @@
AUX gphoto2-ixany.patch 533 RMD160 84c48af39a8e843765816060656132a4dd467b22 SHA1 2021fdc650a29c0faef13d5feba91ba635fc3d00 SHA256 abaffc4911b4cc60b0df55ad7055a0a71b2b1d79390ba21a20dd9c911954ffca
AUX libgphoto2-2.4.0-rpm.patch 452 RMD160 694c3f602a6b20fbcd135586d69551e335328f84 SHA1 ebbee5e9c4a6c1659e6fe7278733ce9b1702d430 SHA256 39501ccdfc6c780b3aa6a105584b32e9e4a6ad7195a14a341210be9f2e871149
AUX libgphoto2-2.4.3-automagic.patch 2111 RMD160 6cf8795ebfde7f20815979fa0a37152966ba768b SHA1 24d0e1278640918dbc182df38b2955fe5fab370c SHA256 5e259e288924cb1183c7953367e6f8933f99f358e4d43a1967b3273769725a90
AUX libgphoto2-2.4.3-gcc43.patch 518 RMD160 d7e97ebe24b021ec6cdf8e9cc6372349ca233da2 SHA1 5617c07b8667313151d0a0f0c04b7fbcad21f91b SHA256 72f955095498e4ae53f02ec68f2e0c433240340ebd542e7cfbd5c7921472453e
DIST libgphoto2-2.4.7.tar.bz2 5279581 RMD160 f5773f3b194f4dcc4a82ddbbf7ecad12e11dae93 SHA1 f91aef06204f3b1b0f3e07facba452881bedc2e1 SHA256 9e7613f21ac3dd7cf1decbab5c47c1e9a16d39c32062d7f8632adb4fc8d0271f
EBUILD libgphoto2-2.4.7.ebuild 5859 RMD160 ad22f046e21651c42fc792efb551b66ffd5770a6 SHA1 7886fe819446be30114b9504d7ebbd75acd9e268 SHA256 3ade48d430ec9ec5fe427f24c9e9a9cb85f9a62c3c69525a4f53ab0dfd902cfa
MISC ChangeLog 25194 RMD160 55f4243eca5ca39aefeafd22d7039f08934e37c1 SHA1 1721957248756bd3d96c66fe0f1a6803834d7b21 SHA256 5dd299a761c5691aefd20b2e5313e6344511d81f610e4a8aa02abd6eb3aa3c7e
MISC metadata.xml 255 RMD160 182d44452574b19b29c12dc7e757a2a4aa9cbc20 SHA1 7e912f6a5b9a294509849512ba044bd88b59065f SHA256 d2cc84bd8e8d171980c022b0af42cf2f2d829e37c05183988a211fccafcf363b

View File

@ -0,0 +1,14 @@
diff -up gphoto2-2.4.0/libgphoto2-2.4.0/libgphoto2_port/serial/unix.c.ixany gphoto2-2.4.0/libgphoto2-2.4.0/libgphoto2_port/serial/unix.c
--- libgphoto2-2.4.0/libgphoto2_port/serial/unix.c.ixany 2007-07-27 02:36:13.000000000 +0200
+++ libgphoto2-2.4.0/libgphoto2_port/serial/unix.c 2008-02-25 06:40:40.000000000 +0100
@@ -98,6 +98,10 @@
#define CHECK(result) {int r=(result); if (r<0) return (r);}
+#ifndef IXANY
+#define IXANY 0004000
+#endif
+
/* Linux */
#ifdef __linux__
/* devfs is accounted for in the implementation */

View File

@ -0,0 +1,11 @@
--- configure.old 2007-09-24 22:21:16.000000000 +0200
+++ configure 2007-09-24 22:21:27.000000000 +0200
@@ -26609,7 +26609,7 @@
# whether libusb-devel is installed or not defines whether the RPM
# packages we're going to build will depend on libusb and libusb-devel
# RPM packages or not.
- if rpm -q libusb-devel > /dev/null 2>&1; then
+ if false -q libusb-devel > /dev/null 2>&1; then
RPM_LIBUSB_DEVEL_TRUE=
RPM_LIBUSB_DEVEL_FALSE='#'
else

View File

@ -0,0 +1,65 @@
--- a/libgphoto2_port/configure.ac 2008-11-29 22:04:31.000000000 +0100
+++ b/libgphoto2_port/configure.ac 2008-11-29 22:10:50.000000000 +0100
@@ -161,14 +161,25 @@
])
])
+dnl ---------------------------------------------------------------------------
dnl Apple Bonjour / mDNSResponder multicast DNS queries.
+dnl ---------------------------------------------------------------------------
+
MDNS_LIBS=
-AC_CHECK_HEADER([dns_sd.h],[
- AC_CHECK_LIB(dns_sd,DNSServiceResolve,[
- MDNS_LIBS="-ldns_sd"
- AC_DEFINE(HAVE_MDNS_BONJOUR,1,[Define if you have Bonjour/mDNSResponder.])
- ])
-])
+have_bonjour=false
+
+AC_ARG_ENABLE([bonjour],
+ AS_HELP_STRING([--disable-bonjour], [disable Bonjour support]),
+ ,enable_bonjour=yes)
+
+if test "x$enable_bonjour" = "xyes"; then
+ AC_CHECK_HEADER([dns_sd.h],[
+ AC_CHECK_LIB(dns_sd,DNSServiceResolve,[
+ MDNS_LIBS="-ldns_sd"
+ AC_DEFINE(HAVE_MDNS_BONJOUR,1,[Define if you have Bonjour/mDNSResponder.])
+ ])
+ ])
+fi
dnl Check for mnt_mountp in struct mnttab
AC_MSG_CHECKING([for mnt_mountp in struct mnttab])
@@ -347,15 +358,24 @@
dnl ---------------------------------------------------------------------------
dnl disk - hal and various stuff
dnl ---------------------------------------------------------------------------
-PKG_CHECK_MODULES(HAL, [dbus-1 >= 0.31 hal >= 0.5.0],
+have_hal=false
+
+AC_ARG_ENABLE([hal],
+ AS_HELP_STRING([--disable-hal], [disable HAL support]),
+ ,enable_hal=yes)
+
+if test "x$enable_hal" = "xyes"; then
+ PKG_CHECK_MODULES(HAL, [dbus-1 >= 0.31 hal >= 0.5.0],
[have_hal=true],
[have_hal=false])
-if test "x$have_hal" = "xtrue"; then
- AC_SUBST(HAL_CFLAGS)
- AC_SUBST(HAL_LIBS)
- AC_DEFINE(HAVE_HAL,1,[defined if HAL is available])
+ if test "x$have_hal" = "xtrue"; then
+ AC_SUBST(HAL_CFLAGS)
+ AC_SUBST(HAL_LIBS)
+ AC_DEFINE(HAVE_HAL,1,[defined if HAL is available])
+ IOLIB_SUBDIRS="$IOLIB_SUBDIRS disk"
+ fi
fi
-IOLIB_SUBDIRS="$IOLIB_SUBDIRS disk"
+
dnl ptpip - works 'everywhere' with TCP/IP stack.
IOLIB_SUBDIRS="$IOLIB_SUBDIRS ptpip"

View File

@ -0,0 +1,14 @@
#
# Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=249677
#
diff -Naur libgphoto2-2.4.3-orig/camlibs/smal/ultrapocket.c libgphoto2-2.4.3/camlibs/smal/ultrapocket.c
--- libgphoto2-2.4.3-orig/camlibs/smal/ultrapocket.c 2008-10-18 11:55:46.000000000 -0600
+++ libgphoto2-2.4.3/camlibs/smal/ultrapocket.c 2008-12-02 20:41:07.000000000 -0600
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <locale.h>
#include <gphoto2/gphoto2-port-log.h>
#include <gphoto2/gphoto2-library.h>

View File

@ -0,0 +1,183 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.4.7.ebuild,v 1.1 2009/08/30 14:58:33 mrpouet Exp $
# TODO
# 1. Track upstream bug --disable-docs does not work.
# http://sourceforge.net/tracker/index.php?func=detail&aid=1643870&group_id=8874&atid=108874
EAPI="2"
inherit multilib eutils
DESCRIPTION="Library that implements support for numerous digital cameras"
HOMEPAGE="http://www.gphoto.org/"
SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="bonjour doc exif hal nls kernel_linux"
RESTRICT="test"
# By default, drivers for all supported cameras will be compiled.
# If you want to only compile for specific camera(s), set CAMERAS
# environment to a space-separated list (no commas) of drivers that
# you want to build.
IUSE_CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310
digigr8 digita dimera3500 directory enigma13 fuji gsmart300 hp215 iclick
jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200
konica konica_qm150 largan lg_gsm mars dimagev mustek panasonic_coolshot
panasonic_l859 panasonic_dc1000 panasonic_dc1580 pccam300 pccam600
polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung
sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55
soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11
topfield"
# jl2005c is still experimental -> not enabled
for camera in ${IUSE_CAMERAS}; do
IUSE="${IUSE} cameras_${camera}"
done
# libgphoto2 actually links to libtool
RDEPEND="virtual/libusb:0
bonjour? ( || (
net-dns/avahi[mdnsresponder-compat]
net-misc/mDNSResponder ) )
exif? ( >=media-libs/libexif-0.5.9 )
hal? (
>=sys-apps/hal-0.5
>=sys-apps/dbus-1 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/flex
>=sys-devel/gettext-0.14.1
doc? ( app-doc/doxygen )"
# FIXME: gtk-doc is broken
# >=dev-util/gtk-doc-1.10 )"
RDEPEND="${RDEPEND}
!<sys-fs/udev-114"
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."
ewarn "NOTICE: Upstream will not support you if you do not compile all camera drivers first"
fi
if use cameras_template || use cameras_sipix_blink; then
einfo "Upstream considers sipix_blink & template driver as obsolete"
fi
enewgroup plugdev
}
src_prepare() {
# Fix pkgconfig file when USE="-exif"
if ! use exif; then
sed -i "s/, @REQUIREMENTS_FOR_LIBEXIF@//" libgphoto2.pc.in || die " libgphoto2.pc sed failed"
fi
# Fix bug #216206, libusb detection
sed -i "s:usb_busses:usb_find_busses:g" libgphoto2_port/configure || die "libusb sed failed"
}
src_configure() {
local cameras
local cam
for cam in ${IUSE_CAMERAS} ; do
use "cameras_${cam}" && cameras="${cameras},${cam}"
done
[ -z "${cameras}" ] \
&& cameras="all" \
|| cameras="${cameras:1}"
einfo "Enabled camera drivers: ${cameras}"
[ "${cameras}" != "all" ] && \
ewarn "Upstream will not support you if you do not compile all camera drivers first"
econf \
--disable-docs \
--disable-gp2ddb \
$(use_with bonjour) \
$(use_with hal) \
$(use_enable nls) \
$(use_with exif libexif auto) \
--with-drivers=${cameras} \
--with-doc-dir=/usr/share/doc/${PF} \
--with-html-dir=/usr/share/doc/${PF}/html \
--with-hotplug-doc-dir=/usr/share/doc/${PF}/hotplug \
--with-rpmbuild=$(type -P true) \
udevscriptdir=/$(get_libdir)/udev
# FIXME: gtk-doc is currently broken
# $(use_enable doc docs)
}
src_compile() {
emake || die "make failed"
if use doc; then
doxygen doc/Doxyfile || die "Documentation generation failed"
fi
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
# FIXME: fixup autoconf bug
if ! use doc && [ -d "${D}/usr/share/doc/${PF}/apidocs.html" ]; then
rm -fr "${D}/usr/share/doc/${PF}/apidocs.html"
fi
# end fixup
dodoc ChangeLog NEWS* README AUTHORS TESTERS MAINTAINERS HACKING || die "dodoc failed"
HAL_FDI="/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi"
UDEV_RULES="/etc/udev/rules.d/70-libgphoto2.rules"
CAM_LIST="/usr/$(get_libdir)/libgphoto2/print-camera-list"
if [ -x "${D}"${CAM_LIST} ]; then
# Let print-camera-list find libgphoto2.so
export LD_LIBRARY_PATH="${D}/usr/$(get_libdir)"
# Let libgphoto2 find its camera-modules
export CAMLIBS="${D}/usr/$(get_libdir)/libgphoto2/${PV}"
if use hal && [ -n "$("${D}"${CAM_LIST} idlist)" ]; then
einfo "Generating HAL FDI files ..."
mkdir -p "${D}"/${HAL_FDI%/*}
"${D}"${CAM_LIST} hal-fdi >> "${D}"/${HAL_FDI} \
|| die "failed to create hal-fdi"
else
ewarn "No HAL FDI file generated because no real camera driver enabled"
fi
einfo "Generating UDEV-rules ..."
mkdir -p "${D}"/${UDEV_RULES%/*}
echo -e "# do not edit this file, it will be overwritten on update\n#" \
> "${D}"/${UDEV_RULES}
"${D}"${CAM_LIST} udev-rules version 0.98 group plugdev >> "${D}"/${UDEV_RULES} \
|| die "failed to create udev-rules"
else
eerror "Unable to find print-camera-list"
eerror "and therefore unable to generate hotplug usermap or HAL FDI files."
eerror "You will have to manually generate it by running:"
eerror " ${CAM_LIST} udev-rules version 0.98 group plugdev > ${UDEV_RULES}"
eerror " ${CAM_LIST} hal-fdi > ${HAL_FDI}"
fi
}
pkg_postinst() {
elog "Don't forget to add yourself to the plugdev group "
elog "if you want to be able to access your camera."
local OLD_UDEV_RULES="${ROOT}"etc/udev/rules.d/99-libgphoto2.rules
if [[ -f ${OLD_UDEV_RULES} ]]; then
rm -f "${OLD_UDEV_RULES}"
fi
}

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
<herd>graphics</herd>
<use>
<flag name="bonjour">Adds Bonjour/Zeroconf support.</flag>
</use>
</pkgmetadata>