summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-05-21 18:28:45 +0000
committerPacho Ramos <pacho@gentoo.org>2014-05-21 18:28:45 +0000
commit6b77e85c9efe505780e20104389cb6b39ca67ef2 (patch)
treece2f84fdbdd66b12bc783e32ea5af61b45e68704 /media-libs/libgphoto2
parentVersion bump (diff)
downloadhistorical-6b77e85c9efe505780e20104389cb6b39ca67ef2.tar.gz
historical-6b77e85c9efe505780e20104389cb6b39ca67ef2.tar.bz2
historical-6b77e85c9efe505780e20104389cb6b39ca67ef2.zip
Version bump, fix gd detection (#510934 by mgorny), drop old
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'media-libs/libgphoto2')
-rw-r--r--media-libs/libgphoto2/ChangeLog14
-rw-r--r--media-libs/libgphoto2/Manifest31
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch34
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch15
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.4.9-dnl.patch24
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.5.2-canon-s100.patch11
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.5.2-libxml2-detection.patch30
-rw-r--r--media-libs/libgphoto2/files/libgphoto2-2.5.2-libxml2-detection2.patch16
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.4.14-r1.ebuild211
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.5.2-r1.ebuild220
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.5.4.ebuild (renamed from media-libs/libgphoto2/libgphoto2-2.5.2-r3.ebuild)38
11 files changed, 37 insertions, 607 deletions
diff --git a/media-libs/libgphoto2/ChangeLog b/media-libs/libgphoto2/ChangeLog
index 224f9f86b4fb..8c167277c509 100644
--- a/media-libs/libgphoto2/ChangeLog
+++ b/media-libs/libgphoto2/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for media-libs/libgphoto2
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/ChangeLog,v 1.256 2014/05/17 15:31:39 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/ChangeLog,v 1.257 2014/05/21 18:28:44 pacho Exp $
+
+*libgphoto2-2.5.4 (21 May 2014)
+
+ 21 May 2014; Pacho Ramos <pacho@gentoo.org> +libgphoto2-2.5.4.ebuild,
+ -files/libgphoto2-2.4.7-no-test-build.patch,
+ -files/libgphoto2-2.4.8-increase_max_entries.patch,
+ -files/libgphoto2-2.4.9-dnl.patch, -files/libgphoto2-2.5.2-canon-s100.patch,
+ -files/libgphoto2-2.5.2-libxml2-detection.patch,
+ -files/libgphoto2-2.5.2-libxml2-detection2.patch,
+ -libgphoto2-2.4.14-r1.ebuild, -libgphoto2-2.5.2-r1.ebuild,
+ -libgphoto2-2.5.2-r3.ebuild:
+ Version bump, fix gd detection (#510934 by mgorny), drop old
17 May 2014; Agostino Sarubbo <ago@gentoo.org> libgphoto2-2.5.3.1.ebuild:
Stable for alpha, wrt bug #508862
diff --git a/media-libs/libgphoto2/Manifest b/media-libs/libgphoto2/Manifest
index 7bb2cce4387d..21c3657af25d 100644
--- a/media-libs/libgphoto2/Manifest
+++ b/media-libs/libgphoto2/Manifest
@@ -1,36 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX libgphoto2-2.4.7-no-test-build.patch 910 SHA256 a5d7ab59c51bb9751ade660828447d4767ab6266192345dbb22c820232e9291e SHA512 bd0df64e9e449ae181394d10f3f0a75643cba4128a1c6d8947842c8d2e31e3a6bd8087b0919f2d72c189f1ce8bfbc4f7afea4c98e1fc4f041f61a53902623c67 WHIRLPOOL 6f24e29832f50115c408ffbd062509b58b43fa8235ae9641949a90d999bb71c1d4cd36cb503b18f7344f9968cfb7aa167ecaa4712843264aa8c66260eda93e3b
AUX libgphoto2-2.4.7-respect-bonjour.patch 643 SHA256 00b09825d9b6493a2a65577c6bf0b2a5549c6901b8b5fb839f886d989e29c055 SHA512 c6e07ffdfc8f81cee8624ce67df0480ca2fa98df1748906393ca196c73e11a482e62f59d1eb5bedc05ea3bb754ffdf4c23f4ed7f3a9d9264fbf81ed6554f4ead WHIRLPOOL 09a39eda0a3d40a8402b5483aa24d567b0da53926c7fcd85aebaca4a2510020fd8b273405d8407815f27ca1c57ab734565fe6b11fff158c9909391021c1008f2
-AUX libgphoto2-2.4.8-increase_max_entries.patch 477 SHA256 596ab7c4edc7573044e89ac548505b82de18f791616126273ff4fe13c935b4f8 SHA512 9a23b5b1787e1582a984dc096be3365c2a372ece8dfefa42d1ef05e5ce92ff26fc3562ff04da06766df69b0d587fdece5252c706abd4c57a556e6fb2257c8614 WHIRLPOOL b354a40426e6f731e57adf85ae11e1f9c87154dc48d6149e3e33887df60427e06bb907a8878d56427b7eb8211b7f5b1228b9d758ac4230fd47f214f82546d721
-AUX libgphoto2-2.4.9-dnl.patch 471 SHA256 6f657277d3262d8295b35d5bd49c79a229fef5a9b587191d9e1a91ed73564bf5 SHA512 85d6dd60c81f4b0c76894576483afa851fc3d4c7ff3644853a1db3147395ba5980b19dc4452094387a41fe26d3ab09a342f24acabcbf9d23e07c0f32e895327c WHIRLPOOL 168f23c3e2b720e2b4a1b9459ab5c10ace825d6f312a1bbcc93e139df0cb51759acaf3341d64cc51e39a4aecadbe5382f2f1b2f44a572ca8bea4e2c28a6e0ea2
-AUX libgphoto2-2.5.2-canon-s100.patch 1148 SHA256 8de2ca8a2cb6ceb3aea0588000a48e93d909578da277ed9633728bb16ed0f687 SHA512 07a6db0f29e42f89a8667f62098dd6702dc1f026f8842457fb44efa0e6377ccca120e4bcaabf2b841ed6bd193924704534a272fac58bd39c0397c4ae24d58716 WHIRLPOOL e5f6e3652181599dfd8e36c5e63222f02c08a06d84779906d6f621b818ce64fe32c14d301772a69a820730ebea8cfc595a3bb5a0cc5d5ec0b5975b0e93d105c8
-AUX libgphoto2-2.5.2-libxml2-detection.patch 1157 SHA256 cc99141f7467067325edeac8d14ec4a6c912817cdde181e078974e35435391a8 SHA512 bb874494a9b4718da96f9f5f9dc9a283623d0cb85c33fc23ce75c4739a23a6afc46f5ca3d6ca65afc17ef1f0d80631307f8b3fea56052ceb9103e052de850061 WHIRLPOOL 06bc555f7b1c56ed5cc8db1f25fcd682c49f5b64fe908de16fd30aeb469a414c62c4ca60c003cd44338ef31fc0e2dac3f5a6a58b600c32d51ec93093de4c7a2d
-AUX libgphoto2-2.5.2-libxml2-detection2.patch 579 SHA256 1f8270cd93e43cb5c55b6ba335a5b4d5f6ce3aad5d079e10001e727231322d03 SHA512 f1afb74da896def6ba16630bef187be405ebc91e87964bdd542632ef5a25afd7f2f2c9ee30914f0b811b74db7b29afaee23ed23d19ab4ee54d35d1bf6dfef50f WHIRLPOOL 6db454ffea7c4c7cab28b6a642f0b3188c18cab821fb867d5ff9b149d9145c04289e81a76cae5882fd2c3d532819c8e70747cb7479ee0a3197708cbb3022453f
-DIST libgphoto2-2.4.14.tar.bz2 4481384 SHA256 59b32d45252f67d066cc3bda7a59f8078e0cf4e7f23590a4b621633e81060292 SHA512 4abc89ee2d714deab98cdba84d0497b7262105ade3b3c43eaa8936b6e5359a8dc50c49c217fff37f013e0ce7404b82b4c7c2f90af49274a3ecb9f15e10747a73 WHIRLPOOL 0b9674c93f62cd060fc2134816b8dfd809e9276b8ffd943b9856ca57fac319dc4201aeab71a267a1d547bfcc7c4e80cd97d8a9d37528e16703adb57084630faf
-DIST libgphoto2-2.5.2.tar.bz2 6446235 SHA256 a32d113555bcb59e332b33ca00f28878b5a6151edb7f18735daee81d280a2838 SHA512 f572fc6bdcb6a6363ad3ad7ac86fdd401c1d86ce82497d36c2b3c6ca6242b880e72246d8fe3e9624ecb813b3c0b123bd14adf2d1bf69a2bee3a0e837b0a4a527 WHIRLPOOL 23db9e272f3d6038c1c7eb019996eceb67a1afbbda54d7101bcc3ccb44d3bebccdd836430aac5d6c7757f55fb544256ee3cf029304b9a9a493832b0fe11979a8
DIST libgphoto2-2.5.3.1.tar.bz2 6676451 SHA256 29322d3b163d1d91501280259ca16d1ba966e7d11739d8dc7cf07ef5e617cda2 SHA512 86dc8848103ead23e950d9e3cfd19bec14acc3ee654431731f07c9518c439c8d7d24f832e623d23f3eef0fb554641fa3da9f8ac5b8db99ee00ccf3aa478f4a6f WHIRLPOOL 7da218fe99d1d359277041f539e75032f3926178590f7b8ffb0c908e06f3c8367f160ccf730a3aadb0fe45e3687c792a086d514f03c34f05e189e1c2091d7243
-EBUILD libgphoto2-2.4.14-r1.ebuild 6241 SHA256 b77b42dfd70b09c438014e2e4185540e341ccc503c571aba8bc0e2a81362392e SHA512 334f86802898ca1c9c2d22ea1b0f90dc669c1cebdce94cced338611e25e1de62e30cddb1a0ca4ccfc888fe1939a836b4e4ddb22e0a0f4cee0c460813fa8e2068 WHIRLPOOL 5f70c4467b687f0fee934bc6e39a132fc22c24478f8215d568e42058b9da00cb72767a360af52c1d82b8750b498321babc370890f20034978955e08775b8fc60
-EBUILD libgphoto2-2.5.2-r1.ebuild 6476 SHA256 d40ec3af20dcf1418132b1ee79d3cdd9510b717aa86e6253ed3440f72f5419f2 SHA512 b2668061cbda97604c54bb9c88822542714633ae91c673131753dc26ba6df7ca0c0692f6d79f0cd4d57629e14217867f3e38af6a8dc6ca297454db2113ee61eb WHIRLPOOL 8f2e8af252e1f45a594b00366e3375c9928e162cf58d6fe8b014a52f93a87b46776dff10d2379c4700c551a139b7957035c42759dc108bd108ca19bacb0a66df
-EBUILD libgphoto2-2.5.2-r3.ebuild 6775 SHA256 9fdd6ce19cb6a61841dd1076a6c98abdf11bba67b076d473431cb2bd599e79bf SHA512 d614af76f8c5db9ce20ff143c85ecbb59065c42a61479543e6db96e8843a5f683723f43c230c179e156dd20d45491b3b940f4d60626d6bb3e642c9f4fadbac67 WHIRLPOOL 4ac2b7461b8367ed681d01d1e54022dce9c4db4a8b706e377209dc8d6a052eef97c7c4fb8c1788872374ba59b891d494b77f63b282f607b5eba764c05f85f717
+DIST libgphoto2-2.5.4.tar.bz2 6682743 SHA256 5fb412e28d3a8ed15bfe86df2173360fcccd29f3d2117e8329d827c356e60bc0 SHA512 04494918aedb4dcb1b7d57a5756b9a00366f87034d1c622dfaeb129fa7988974f3abba31f5acdd1f9041aaaf55a301128c906242610b6f5cb1796451240be9d5 WHIRLPOOL 173e3a0db98c06426a91a78e72e35618dc4cea095461d37e37826a96f14d53a32fa1074a67208b7f983396e36fe950264751ec52ddb6389b7b7c6c00287aff23
EBUILD libgphoto2-2.5.3.1.ebuild 6462 SHA256 9c2a20990f3fee63b435ae442995e2af66e029b17cf4934d01a810093f63c6b0 SHA512 d92d7e1381b3c64009dc529508fcbfd247b6149619bf224a73daa0954220f0fa878842b72133159b432995cb966681260726cb8fe8d5731834de2c21a6dd57a2 WHIRLPOOL d695636e0087837d945946dca4f6efd4205544af3b60154f88f0e9d1927b37454a0dfa2eb625b96ffe6e5427e37679e466ee38ed83112732beccfe3a1108ae95
-MISC ChangeLog 40723 SHA256 ab5ccaae6f8a3c8c51cffb096baf171f2fb3f4a7310e9a20e325a08fd89018b3 SHA512 d40baad81b9eb52eafe855de95ca8c9cd2b8c28681bfb9950df529c87bec80922ed9d489cbaafd7be227627ddb904e9fdcfbb948665a69a2b366c51d5248459e WHIRLPOOL a3860ae7927281dd6d5b9d96b90013f0d08ce4c770097b929073a5d418c2ae4b08ac9ea64b3f677b77e1d5f7c1a2aa548d9a420b749d594471225a1470b17757
+EBUILD libgphoto2-2.5.4.ebuild 6707 SHA256 97f29691fcaa5af6b19b99ed6ff7f688be17e1349049150bbc3b58767b44bb02 SHA512 4b4e11ae151a28dbbf4c2431c145cad97ef8a899f2cb6fcd67c45059c084e738f274bd32d0add3f27d90078adfbb97edcdded38a9c47aa40fb9395864846f709 WHIRLPOOL 822cefefd09d3515566077a69b63d488f249c518c1a0d65b3a6239cc49cd0b186f5d24f1119bcf78b5f3659653d3bca44d53dc4d21bb911ce307bcdcdb0d8967
+MISC ChangeLog 41269 SHA256 d74872fa94613e6a7ca7a61a726caafa87abe1379949c3b7cf220ed845e16a95 SHA512 bec1279b9c8d0c050fdab600e17a7ed3de2113cc6e3fc52e58c6e53b53f106767ee22dacd0345c62d354769ee3b3858bc6ce75bf3112e1880de3dcae7b202903 WHIRLPOOL 1e0aa9657b8c02e5b7b24d759de8b21055ef9bcd7ce4ed09ddc10e1bac6e450345e04b8febae9403ed85e2f38ed8240d444dcbe1a3101eb65cab1c70726e8296
MISC metadata.xml 253 SHA256 d588fba550907efea387719a7a12f54e6c0ec2ca03864f9f5cf828d26fdd0e4a SHA512 810bb24e1fadd707df227dc11b1a04f25e102364dc8a709e0a082a539081afef56beb2618e2e38ed5d0c7f34c8bda966035c6ad25598ced1ddd5202260cc8079 WHIRLPOOL 0773381f0be58cda0a2ecdca7cb89638cce7b1dc774e2c13500ff43d42f8c8c771e00cc91433ddc7e1213be6267f3ad02981dd20e11590371935d02a49247b2f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTd4DdAAoJELp701BxlEWfEKAQAJXTml1d5fGXpjxnCg0LkvEv
-6weeHdaQDtK5ZiVewEw9fpXWBQpjYyj97qdZMM6phuo1mDIT/eBFNjCJxgAQJhMB
-rPRuDdG6Y4FcI2GoZS9ca1CW60zXj6aXO6tyDRirDiz/ggw404PJaSxKewDWbxKt
-AV5z7iGVbPevGOBUIZMc+GDLbxcgrpcOheFSTTDOm5A9d1ipnB/UIt4sKVeEVho6
-lNKgU+LwIGIzmjw8386P7MYHLwMd5jxtGjtJfhZNRWmPAs7pwAxA28Xc+GKIHQBH
-z9xu7pcM0tl44WMoiCAs7fhWfalVXHjMTpV3q+ZK8TukkzhweXcSmrLtCiWBfM8Y
-O1lNmz25a6Wg6qwJZjy10P8HFjKZtvBiKqhT9lDy99rhSQfahseqIrl3UefrOBC/
-8tC4wd4pqoRLX7N0L5zJ59SenhrI7Xrbmtxn9bsyA2GW1m4+IJWSAEfLR7m3BWOO
-JMKhuw7NVdl3fdB0cx3IHuLmst0h+kQzu34VduFLgNyZDB/g4XtBhhuhzLk7xICq
-ujKefYuVAqzt2/XlVszLpmvAWah4wD/GzBp79CWZ9x/xyOKtWf2+iDnJhVb0MRMN
-EMKgywFKsSZESD9GpFigvAlVOTyXbXQE80swrxXwVxx2/cBqSshAliotKdNHzk9B
-5I1mVzpv8e1xm7jhd0aw
-=03q/
+iEYEAREIAAYFAlN88F0ACgkQCaWpQKGI+9THJwCfQ7+rU7ejKpJLURQA6CenIXt1
+YMoAn3TA20tMmdjGHG2ZugsE8bwfp7J7
+=qOVl
-----END PGP SIGNATURE-----
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch b/media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch
deleted file mode 100644
index 9fcabd9e8b0a..000000000000
--- a/media-libs/libgphoto2/files/libgphoto2-2.4.7-no-test-build.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-# Do not build tests if not running make check
-# Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=226241
---- a/libgphoto2_port/test/Makefile.am 2010-01-07 01:04:40.000000000 +0100
-+++ b/libgphoto2_port/test/Makefile.am 2010-01-07 01:04:57.000000000 +0100
-@@ -1,4 +1,4 @@
--noinst_PROGRAMS = test-gp-port
-+check_PROGRAMS = test-gp-port
-
- test_gp_port_CPPFLAGS = \
- $(AM_CPPFLAGS) $(CPPFLAGS) \
---- a/tests/Makefile.am 2010-01-07 00:56:14.000000000 +0100
-+++ b/tests/Makefile.am 2010-01-07 00:56:40.000000000 +0100
-@@ -2,7 +2,9 @@
-
- check_PROGRAMS = \
- test-camera-list \
-- test-pedantic-c
-+ test-pedantic-c \
-+ test-gphoto2 \
-+ test-filesys
-
- if HAVE_CXX
- check_PROGRAMS += test-pedantic-cxx
-@@ -22,10 +24,6 @@
-
- CLEANFILES = $(check_SCRIPTS)
-
--noinst_PROGRAMS = \
-- test-gphoto2 \
-- test-filesys
--
- test_gphoto2_SOURCE = test-gphoto2.c
- test_gphoto2_LDADD = \
- $(top_builddir)/libgphoto2/libgphoto2.la \
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch b/media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch
deleted file mode 100644
index 16aadd117528..000000000000
--- a/media-libs/libgphoto2/files/libgphoto2-2.4.8-increase_max_entries.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Increase max entries from 1024 to 8192 until
-http://sourceforge.net/tracker/index.php?func=detail&aid=1515453&group_id=8874&atid=108874
-fix is backported to 2.4 branch.
-This fixes http://bugs.gentoo.org/show_bug.cgi?id=291049
---- a/libgphoto2/gphoto2-list.c
-+++ b/libgphoto2/gphoto2-list.c
-@@ -72,7 +72,7 @@
-
- #ifdef CAMERALIST_STRUCT_COMPATIBILITY
-
--#define MAX_ENTRIES 1024
-+#define MAX_ENTRIES 8192
- #define MAX_LIST_STRING_LENGTH 128
- struct _CameraList {
- int count;
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.4.9-dnl.patch b/media-libs/libgphoto2/files/libgphoto2-2.4.9-dnl.patch
deleted file mode 100644
index 8ee30baf8f74..000000000000
--- a/media-libs/libgphoto2/files/libgphoto2-2.4.9-dnl.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-http://bugs.gentoo.org/336598
-
---- libgphoto2_port/m4/gp-libltdl.m4
-+++ libgphoto2_port/m4/gp-libltdl.m4
-@@ -23,7 +23,7 @@
-
- Please make sure that the proper development package is installed
- (libltdl-dev, libtool-ltdl-devel, etc.)
--])dnl
-+])[]dnl
- ])dnl
- ])
- else
---- m4m/gp-libltdl.m4
-+++ m4m/gp-libltdl.m4
-@@ -23,7 +23,7 @@
-
- Please make sure that the proper development package is installed
- (libltdl-dev, libtool-ltdl-devel, etc.)
--])dnl
-+])[]dnl
- ])dnl
- ])
- else
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.5.2-canon-s100.patch b/media-libs/libgphoto2/files/libgphoto2-2.5.2-canon-s100.patch
deleted file mode 100644
index 3e83213f2b3f..000000000000
--- a/media-libs/libgphoto2/files/libgphoto2-2.5.2-canon-s100.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libgphoto2-2.5.2.orig/camlibs/canon/canon.c
-+++ libgphoto2-2.5.2/camlibs/canon/canon.c
-@@ -125,7 +125,7 @@ const struct canonCamModelData models[]
- /* 3042 is a scanner, so it will never be added here. */
- {"Canon:PowerShot S20", CANON_CLASS_0, 0x04A9, 0x3043, CAP_NON, SL_MOVIE_SMALL, SL_THUMB, SL_PICTURE, "Canon PowerShot S20"},
- {"Canon:EOS D30", CANON_CLASS_4, 0x04A9, 0x3044, CAP_SUP, SL_MOVIE_SMALL, SL_THUMB, SL_PICTURE, NULL},
-- {"Canon:PowerShot S100", CANON_CLASS_0, 0x04A9, 0x3045, CAP_NON, SL_MOVIE_SMALL, SL_THUMB, SL_PICTURE, NULL},
-+ {"Canon:PowerShot S100 (2000)", CANON_CLASS_0, 0x04A9, 0x3045, CAP_NON, SL_MOVIE_SMALL, SL_THUMB, SL_PICTURE, NULL},
- {"Canon:IXY DIGITAL", CANON_CLASS_0, 0x04A9, 0x3046, CAP_NON, SL_MOVIE_SMALL, SL_THUMB, SL_PICTURE, NULL},
- {"Canon:Digital IXUS", CANON_CLASS_0, 0x04A9, 0x3047, CAP_NON, SL_MOVIE_SMALL, SL_THUMB, SL_PICTURE, NULL},
- {"Canon:PowerShot G1", CANON_CLASS_0, 0x04A9, 0x3048, CAP_SUP, SL_MOVIE_SMALL, SL_THUMB, SL_PICTURE, "Canon PowerShot G1"}, \ No newline at end of file
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.5.2-libxml2-detection.patch b/media-libs/libgphoto2/files/libgphoto2-2.5.2-libxml2-detection.patch
deleted file mode 100644
index 54f539f58f2a..000000000000
--- a/media-libs/libgphoto2/files/libgphoto2-2.5.2-libxml2-detection.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/trunk/libgphoto2/configure.ac
-+++ b/trunk/libgphoto2/configure.ac
-@@ -273,22 +273,14 @@
- GP_CONFIG_MSG([JPEG mangling support],[${libjpeg_msg}])
-
- dnl ---------------------------------------------------------------------------
--dnl check for libxml22
--dnl ---------------------------------------------------------------------------
--LIBXML2=""
--libxml2_msg="no"
--AC_SUBST(LIBXML2)
--AC_ARG_WITH([libxml2], AS_HELP_STRING([--without-libxml2], [Build without libxml2 library (default: no)]))
--AS_IF([test "x$with_libxml2" != "xno"], [
-- AC_CHECK_LIB(xml2,xmlFirstElementChild,[
-- AC_CHECK_HEADER(libxml/parser.h,[
-- AC_DEFINE(HAVE_LIBXML2,1,[define if we found LIBXML2 and its headers])
-- LIBXML2="-lxml2"
-- libxml2_msg="yes"
-- ])
-- ])
--])
--GP_CONFIG_MSG([LIBXML2 to support Olympus E remote control],[${libxml2_msg}])
-+dnl check for libxml2
-+dnl ---------------------------------------------------------------------------
-+GP_CONFIG_MSG([libxml2 support])
-+GP_CHECK_LIBRARY([LIBXML2],[libxml-2.0],[>= 2.0],
-+ [libxml/parser.h],[xmlFirstElementChild],[],[],
-+ [default-on],
-+ [http://xmlsoft.org]
-+)
diff --git a/media-libs/libgphoto2/files/libgphoto2-2.5.2-libxml2-detection2.patch b/media-libs/libgphoto2/files/libgphoto2-2.5.2-libxml2-detection2.patch
deleted file mode 100644
index a2d326bcd495..000000000000
--- a/media-libs/libgphoto2/files/libgphoto2-2.5.2-libxml2-detection2.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/trunk/libgphoto2/camlibs/ptp2/Makefile-files
-+++ b/trunk/libgphoto2/camlibs/ptp2/Makefile-files
-@@ -4,6 +4,7 @@
-
- EXTRA_LTLIBRARIES += ptp2.la
-
-+ptp2_la_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS) $(LIBXML2_CFLAGS)
- ptp2_la_SOURCES = \
- ptp2/ptp.c ptp2/ptp.h \
- ptp2/library.c ptp2/usb.c ptp2/ptp-bugs.h \
-@@ -12,4 +13,4 @@
- ptp2/olympus-wrap.c ptp2/olympus-wrap.h
- ptp2_la_LDFLAGS = $(camlib_ldflags)
- ptp2_la_DEPENDENCIES = $(camlib_dependencies)
--ptp2_la_LIBADD = $(camlib_libadd) $(LTLIBICONV) $(LIBXML2)
-+ptp2_la_LIBADD = $(camlib_libadd) $(LTLIBICONV) $(LIBXML2_LIBS)
diff --git a/media-libs/libgphoto2/libgphoto2-2.4.14-r1.ebuild b/media-libs/libgphoto2/libgphoto2-2.4.14-r1.ebuild
deleted file mode 100644
index a39f565158da..000000000000
--- a/media-libs/libgphoto2/libgphoto2-2.4.14-r1.ebuild
+++ /dev/null
@@ -1,211 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.4.14-r1.ebuild,v 1.12 2014/02/06 12:22:37 kensington 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="4"
-
-inherit autotools eutils multilib udev user toolchain-funcs
-
-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 ~amd64-fbsd ~x86-fbsd"
-IUSE="doc examples exif gd jpeg nls kernel_linux zeroconf"
-
-# 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 ax203
- barbie
- canon casio_qv clicksmart310
- digigr8 digita dimagev dimera3500 directory
- enigma13
- fuji
- gsmart300
- hp215
- iclick
- jamcam jd11 jl2005a jl2005c
- kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150
- largan lg_gsm
- mars 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 st2205 stv0674 stv0680 sx330z
- template toshiba_pdrm11 topfield tp6801
-"
-
-for camera in ${IUSE_CAMERAS}; do
- IUSE="${IUSE} cameras_${camera}"
-done
-
-# libgphoto2 actually links to libtool
-RDEPEND="virtual/libusb:0
- cameras_ax203? ( media-libs/gd )
- cameras_st2205? ( media-libs/gd )
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
- exif? ( >=media-libs/libexif-0.5.9 )
- gd? ( media-libs/gd[jpeg=] )
- jpeg? ( virtual/jpeg:0 )
- sys-devel/libtool"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/flex
- >=sys-devel/gettext-0.18.1
- doc? ( app-doc/doxygen )"
-# FIXME: gtk-doc is broken
-# >=dev-util/gtk-doc-1.10 )"
-
-RDEPEND="${RDEPEND}
- !<sys-fs/udev-136"
-
-pkg_setup() {
- if ! echo "${USE}" | grep "cameras_" > /dev/null 2>&1; then
- einfo "No camera drivers will be built since you did not specify any."
- fi
-
- if use cameras_template || use cameras_sipix_blink; then
- einfo "Upstream considers sipix_blink & template driver as obsolete"
- fi
-
- enewgroup plugdev
-}
-
-src_prepare() {
- # Handle examples ourselves
- sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
- || die "examples sed failed"
-
- # 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 USE=zeroconf, bug #283332
- epatch "${FILESDIR}/${PN}-2.4.7-respect-bonjour.patch"
-
- # Do not build test if not running make check, bug #226241
- epatch "${FILESDIR}/${PN}-2.4.7-no-test-build.patch"
-
- # Increase max entries from 1024 to 8192 to fix bug #291049
- epatch "${FILESDIR}/${PN}-2.4.8-increase_max_entries.patch"
-
- eautoreconf
-}
-
-src_configure() {
- local cameras
- local cam
- local cam_warn=no
- for cam in ${IUSE_CAMERAS} ; do
- if use "cameras_${cam}"; then
- cameras="${cameras},${cam}"
- else
- cam_warn=yes
- fi
- done
-
- if [ "${cam_warn}" = "yes" ]; then
- [ -z "${cameras}" ] || cameras="${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="all"
- einfo "Enabled camera drivers: all"
- fi
-
- local myconf
- use doc || myconf="ac_cv_path_DOXYGEN=false"
- econf \
- --disable-docs \
- --disable-gp2ddb \
- $(use_with zeroconf bonjour) \
- --without-hal \
- $(use_enable nls) \
- $(use_with exif libexif auto) \
- $(use_with gd) \
- $(use_with jpeg) \
- --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="$(udev_get_udevdir)" \
- ${myconf}
-
-# FIXME: gtk-doc is currently broken
-# $(use_enable doc docs)
-}
-
-src_compile() {
- emake
-
- if use doc; then
- doxygen doc/Doxyfile || die "Documentation generation failed"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- # Empty dependency_libs in .la files, bug #386665
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
-
- # Clean up unwanted files
- rm "${D}/usr/share/doc/${PF}/"{ABOUT-NLS,COPYING} || die "rm failed"
- dodoc ChangeLog NEWS* README* AUTHORS TESTERS MAINTAINERS HACKING
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins examples/README examples/*.c examples/*.h
- fi
-
- # 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
-
- UDEV_RULES="$(udev_get_udevdir)/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}"
-
- 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 136 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."
- eerror "You will have to manually generate it by running:"
- eerror " ${CAM_LIST} udev-rules version 136 group plugdev > ${UDEV_RULES}"
- fi
-
-}
-
-pkg_postinst() {
- if ! has_version "sys-auth/consolekit[acl]" ; then
- elog "Don't forget to add yourself to the plugdev group "
- elog "if you want to be able to access your camera."
- fi
-
- local OLD_UDEV_RULES="${ROOT}"etc/udev/rules.d/99-libgphoto2.rules
- if [[ -f ${OLD_UDEV_RULES} ]]; then
- rm -f "${OLD_UDEV_RULES}"
- fi
-}
diff --git a/media-libs/libgphoto2/libgphoto2-2.5.2-r1.ebuild b/media-libs/libgphoto2/libgphoto2-2.5.2-r1.ebuild
deleted file mode 100644
index 3bc85af896b9..000000000000
--- a/media-libs/libgphoto2/libgphoto2-2.5.2-r1.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.5.2-r1.ebuild,v 1.5 2014/02/06 12:22:37 kensington 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="5"
-
-inherit autotools eutils multilib udev user
-
-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/6" # libgphoto2.so soname version
-
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux"
-IUSE="doc examples exif gd jpeg nls zeroconf"
-
-# 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 ax203
- barbie
- canon casio_qv clicksmart310
- digigr8 digita dimagev dimera3500 directory
- enigma13
- fuji
- gsmart300
- hp215
- iclick
- jamcam jd11 jl2005a jl2005c
- kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150
- largan lg_gsm
- mars mustek
- panasonic_coolshot panasonic_l859 panasonic_dc1000 panasonic_dc1580 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2
- ricoh ricoh_g3
- samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z
- toshiba_pdrm11 topfield tp6801
-"
-
-for camera in ${IUSE_CAMERAS}; do
- IUSE="${IUSE} cameras_${camera}"
-done
-
-# libgphoto2 actually links to libtool
-RDEPEND="
- dev-libs/libxml2:2
- sys-devel/libtool
- virtual/libusb:0
- cameras_ax203? ( media-libs/gd:= )
- cameras_st2205? ( media-libs/gd:= )
- exif? ( >=media-libs/libexif-0.5.9:= )
- gd? ( media-libs/gd[jpeg=] )
- jpeg? ( virtual/jpeg:0 )
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
-"
-DEPEND="${RDEPEND}
- sys-devel/flex
- >=sys-devel/gettext-0.14.1
- virtual/pkgconfig
- doc? ( app-doc/doxygen )
-"
-# FIXME: gtk-doc is broken
-# >=dev-util/gtk-doc-1.10 )"
-
-RDEPEND="${RDEPEND}
- !<sys-fs/udev-175"
-
-pkg_pretend() {
- if ! echo "${USE}" | grep "cameras_" > /dev/null 2>&1; then
- einfo "No camera drivers will be built since you did not specify any."
- fi
-}
-
-pkg_setup() {
- enewgroup plugdev
-}
-
-src_prepare() {
- # Handle examples ourselves
- sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
- || die "examples sed failed"
-
- # 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
-
- # Leave GCC debug builds under user control
- sed -r '/(C|LD)FLAGS/ s/ -g( |")/\1/' \
- -i configure.ac libgphoto2_port/configure.ac || die
-
- sed -e 's/sleep 2//' -i m4m/gp-camlibs.m4 || die
-
- # Fix USE=zeroconf, bug #283332
- epatch "${FILESDIR}/${PN}-2.4.7-respect-bonjour.patch"
-
- # Fix libxml2 detection, bug #491782
- epatch "${FILESDIR}"/${PN}-2.5.2-libxml2-detection{,2}.patch
-
- eautoreconf
-}
-
-src_configure() {
- local cameras
- local cam
- local cam_warn=no
- for cam in ${IUSE_CAMERAS} ; do
- if use "cameras_${cam}"; then
- cameras="${cameras},${cam}"
- else
- cam_warn=yes
- fi
- done
-
- if [ "${cam_warn}" = "yes" ]; then
- [ -z "${cameras}" ] || cameras="${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="all"
- einfo "Enabled camera drivers: all"
- fi
-
- local myconf
- use doc || myconf="ac_cv_path_DOXYGEN=false"
-
- # Upstream doesn't default to --enable-option-checking due having another
- # configure in libgphoto2_port/ that also needs to be checked on every bump
- econf \
- --disable-docs \
- --disable-gp2ddb \
- $(use_with zeroconf bonjour) \
- $(use_enable nls) \
- $(use_with exif libexif auto) \
- $(use_with gd) \
- $(use_with jpeg) \
- --with-camlibs=${cameras} \
- --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} \
- --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \
- --with-hotplug-doc-dir="${EPREFIX}"/usr/share/doc/${PF}/hotplug \
- --with-rpmbuild=$(type -P true) \
- udevscriptdir="$(udev_get_udevdir)" \
- ${myconf}
-
-# FIXME: gtk-doc is currently broken
-# $(use_enable doc docs)
-}
-
-src_compile() {
- default
-
- if use doc; then
- doxygen doc/Doxyfile || die "Documentation generation failed"
- fi
-}
-
-src_install() {
- default
-
- # Empty dependency_libs in .la files, bug #386665
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
-
- # Clean up unwanted files
- rm "${ED}/usr/share/doc/${PF}/"{ABOUT-NLS,COPYING} || die "rm failed"
- dodoc ChangeLog NEWS* README* AUTHORS TESTERS MAINTAINERS HACKING
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins examples/README examples/*.c examples/*.h
- fi
-
- # FIXME: fixup autoconf bug
- if ! use doc && [ -d "${ED}/usr/share/doc/${PF}/apidocs.html" ]; then
- rm -fr "${ED}/usr/share/doc/${PF}/apidocs.html"
- fi
- # end fixup
-
- local udev_rules cam_list
- udev_rules="$(udev_get_udevdir)/rules.d/70-libgphoto2.rules"
- cam_list="/usr/$(get_libdir)/libgphoto2/print-camera-list"
-
- if [ -x "${ED}"${cam_list} ]; then
- # Let print-camera-list find libgphoto2.so
- export LD_LIBRARY_PATH="${ED}/usr/$(get_libdir)"
- # Let libgphoto2 find its camera-modules
- export CAMLIBS="${ED}/usr/$(get_libdir)/libgphoto2/${PV}"
-
- einfo "Generating UDEV-rules ..."
- mkdir -p "${ED}"/${udev_rules%/*}
- echo -e "# do not edit this file, it will be overwritten on update\n#" \
- > "${ED}"/${udev_rules}
- "${ED}"${cam_list} udev-rules version 175 group plugdev >> "${ED}"/${udev_rules} \
- || die "failed to create udev-rules"
- else
- eerror "Unable to find print-camera-list"
- eerror "and therefore unable to generate hotplug usermap."
- eerror "You will have to manually generate it by running:"
- eerror " ${cam_list} udev-rules version 175 group plugdev > ${udev_rules}"
- fi
-
-}
-
-pkg_postinst() {
- if ! has_version "sys-auth/consolekit[acl]" && ! has_version "sys-apps/systemd[acl]" ; then
- elog "Don't forget to add yourself to the plugdev group "
- elog "if you want to be able to access your camera."
- fi
-
- local old_udev_rules="${EROOT}"etc/udev/rules.d/99-libgphoto2.rules
- if [[ -f ${old_udev_rules} ]]; then
- rm -f "${old_udev_rules}"
- fi
-}
diff --git a/media-libs/libgphoto2/libgphoto2-2.5.2-r3.ebuild b/media-libs/libgphoto2/libgphoto2-2.5.4.ebuild
index b05c6a2ac5ca..a995bdcd518e 100644
--- a/media-libs/libgphoto2/libgphoto2-2.5.2-r3.ebuild
+++ b/media-libs/libgphoto2/libgphoto2-2.5.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.5.2-r3.ebuild,v 1.2 2014/02/06 12:22:37 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.5.4.ebuild,v 1.1 2014/05/21 18:28:44 pacho Exp $
# TODO
# 1. Track upstream bug --disable-docs does not work.
@@ -52,7 +52,7 @@ done
RDEPEND="
dev-libs/libxml2:2
sys-devel/libtool
- virtual/libusb:0
+ virtual/libusb:1
cameras_ax203? ( media-libs/gd:= )
cameras_st2205? ( media-libs/gd:= )
exif? ( >=media-libs/libexif-0.5.9:= )
@@ -60,18 +60,15 @@ RDEPEND="
jpeg? ( virtual/jpeg:0 )
serial? ( dev-libs/lockdev )
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
+ !<sys-fs/udev-175
"
DEPEND="${RDEPEND}
+ dev-util/gtk-doc-am
sys-devel/flex
>=sys-devel/gettext-0.14.1
virtual/pkgconfig
doc? ( app-doc/doxygen )
"
-# FIXME: gtk-doc is broken
-# >=dev-util/gtk-doc-1.10 )"
-
-RDEPEND="${RDEPEND}
- !<sys-fs/udev-175"
pkg_pretend() {
if ! echo "${USE}" | grep "cameras_" > /dev/null 2>&1; then
@@ -89,25 +86,17 @@ src_prepare() {
|| die "examples sed failed"
# Fix pkgconfig file when USE="-exif"
+ # https://sourceforge.net/p/gphoto/bugs/980/
if ! use exif; then
sed -i "s/, @REQUIREMENTS_FOR_LIBEXIF@//" libgphoto2.pc.in || die " libgphoto2.pc sed failed"
fi
- # Leave GCC debug builds under user control
- sed -r '/(C|LD)FLAGS/ s/ -g( |")/\1/' \
- -i configure.ac libgphoto2_port/configure.ac || die
-
sed -e 's/sleep 2//' -i m4m/gp-camlibs.m4 || die
# Fix USE=zeroconf, bug #283332
+ # https://sourceforge.net/p/gphoto/bugs/981/
epatch "${FILESDIR}/${PN}-2.4.7-respect-bonjour.patch"
- # Fix libxml2 detection, bug #491782
- epatch "${FILESDIR}"/${PN}-2.5.2-libxml2-detection{,2}.patch
-
- # Fix Canon S100 detection, bug #496754 (fixed in 2.5.3)
- epatch "${FILESDIR}"/${P}-canon-s100.patch
-
eautoreconf
}
@@ -135,6 +124,12 @@ src_configure() {
local myconf
use doc || myconf="ac_cv_path_DOXYGEN=false"
+ # gd detection is broken: https://sourceforge.net/p/gphoto/bugs/982/
+ if use gd; then
+ export LIBGD_CFLAGS=" "
+ export LIBGD_LIBS="-lgd"
+ fi
+
# Upstream doesn't default to --enable-option-checking due having another
# configure in libgphoto2_port/ that also needs to be checked on every bump
#
@@ -149,6 +144,8 @@ src_configure() {
$(use_with jpeg) \
$(use_enable serial) \
$(use_enable serial lockdev) \
+ --with-libusb=no \
+ --with-libusb-1.0=auto \
--disable-ttylock \
--with-camlibs=${cameras} \
--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} \
@@ -157,9 +154,6 @@ src_configure() {
--with-rpmbuild=$(type -P true) \
udevscriptdir="$(udev_get_udevdir)" \
${myconf}
-
-# FIXME: gtk-doc is currently broken
-# $(use_enable doc docs)
}
src_compile() {
@@ -176,6 +170,10 @@ src_install() {
# Empty dependency_libs in .la files, bug #386665
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
+ # Remove recursive symlink
+ # https://sourceforge.net/p/gphoto/bugs/983/
+ rm "${ED}/usr/include/gphoto2/gphoto2" || die
+
# Clean up unwanted files
rm "${ED}/usr/share/doc/${PF}/"{ABOUT-NLS,COPYING} || die "rm failed"
dodoc ChangeLog NEWS* README* AUTHORS TESTERS MAINTAINERS HACKING