Set correct qmake location (bug #539838). Make repoman happy by removing unknown...
authorBen de Groot <yngwin@gentoo.org>
Thu, 12 Feb 2015 07:26:55 +0000 (07:26 +0000)
committerBen de Groot <yngwin@gentoo.org>
Thu, 12 Feb 2015 07:26:55 +0000 (07:26 +0000)
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0x4FDF9CFD2FAC514E!

13 files changed:
app-text/calibre/ChangeLog
app-text/calibre/Manifest
app-text/calibre/calibre-1.2.ebuild [deleted file]
app-text/calibre/calibre-1.25.ebuild [deleted file]
app-text/calibre/calibre-1.29.ebuild [deleted file]
app-text/calibre/calibre-1.43.ebuild [deleted file]
app-text/calibre/calibre-1.48-r1.ebuild
app-text/calibre/calibre-1.48.ebuild [deleted file]
app-text/calibre/calibre-2.12.0.ebuild [deleted file]
app-text/calibre/calibre-2.18.0.ebuild
app-text/calibre/calibre-2.19.0.ebuild
app-text/calibre/calibre-2.7.0.ebuild [deleted file]
app-text/calibre/calibre-2.9.0.ebuild [deleted file]

index f8d1c4cce8b3dd34c77082db50ac3b9b8b5d2ec7..bbd06cce7892f6178d59e8728b4599c73a72cb13 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for app-text/calibre
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.341 2015/02/10 08:52:44 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.342 2015/02/12 07:26:43 yngwin Exp $
+
+  12 Feb 2015; Ben de Groot <yngwin@gentoo.org> -calibre-1.2.ebuild,
+  -calibre-1.25.ebuild, -calibre-1.29.ebuild, -calibre-1.43.ebuild,
+  -calibre-1.48.ebuild, -calibre-2.12.0.ebuild, -calibre-2.7.0.ebuild,
+  -calibre-2.9.0.ebuild, calibre-1.48-r1.ebuild, calibre-2.18.0.ebuild,
+  calibre-2.19.0.ebuild:
+  Set correct qmake location (bug #539838). Make repoman happy by removing
+  unknown dependency. Clean up old versions.
 
 *calibre-2.19.0 (10 Feb 2015)
 
index fb081ea6219c0bae1bacc93587987f9423d13972..a0f1a922c26ae8b43759709d7c97c102d443d287 100644 (file)
@@ -8,49 +8,34 @@ AUX calibre-disable_plugins.patch 1042 SHA256 4921ba7be29d8e2789f3e31d23faa96f30
 AUX calibre-no_updates_dialog.patch 891 SHA256 59cbef4d8026241bd198f36728c4dfde6fa063af393788c3126f788730d375a5 SHA512 f7cfa4b0675146275c155897b3bced4899487dcd6e3f5d94719d25dd698b4b74b9bb13477552f0ade3d243a35146e4cda36c46cad8bb74c57dcb549825428117 WHIRLPOOL 138bdd85270076d2a5f8560cbc994bc91bddec2385713c19237fe4db665dbf0bedc62941ec70c39b418c469de2fed036a00bfa9639832f7d435bd6bddad391ef
 AUX calibre-server.conf 523 SHA256 55b20e6a208f7eb7128e0f8e0f8ead83a55ef80bcb62737d1658074141a5b213 SHA512 4595786d9b6ed7662a1124e8acc32e03e0149f614a07890f9df08d05811a1b8de51cc33cc1bfbf30b072c7ad75dc3b8247e9de53d20ee2b45017cb4160437058 WHIRLPOOL a4ba22fb5a9893c2db6254e2ee569514dd132284e0f4e8b62561ec3def773c917d17d6718975b1ecbd02197cb3330506e48b6dd656c20cfacfd610a680e34db1
 AUX calibre-server.init 1928 SHA256 d5632da5955d1304a0b750850b8933eb053ee3462d0a9f74c941a45d8b65707b SHA512 c51c7cae899bebe7fb339f9cfd4070caa778f86ce997dce26052e158dac12444d3a72db91fd83528ccad07d9bd9a9e72edca9ba91d1805e91c91a0a6ed32f579 WHIRLPOOL cf91dc9993b0329821a9a7b9b4a5245c8ef7a6a2a407cddae4b7b94aff1698e663e9ba08352b61b48fe34a1e3c83701ac71ac549142fd12795e1828d5d8f779d
-DIST calibre-1.2.0.tar.xz 29652528 SHA256 d27fdbe981620aa63f5c70909c63a3a7b747ced1da2ee7065879f07b8a75ca40 SHA512 11f6550ae9cce8bb4fbe47d2c715376d2ae3e3651e21016409f131db8abae0c7bf7c8c5d1d30ee25d1726ddf44089b13f9b404468700a6f74c40c0ba9fa513bd WHIRLPOOL 3b10a4f52ca8e976ddc3c240a3d5ece937603572a2d70d73afe6599bb99adad7f08d3402320e00e2532bed85b3c06acb734b12ff6c626278f4934f56aa7c5528
 DIST calibre-1.20.0.tar.xz 32430560 SHA256 475e09b1be4b9977240cbbe6743ab79da4b1f1afe3fe6015d212d868e8f2fac4 SHA512 84ac25080cf4948398b79f9a1af688cca9cf9a5a9200b2aad649f5fda1cd0556be4ade0c8b09ea6ffcc95654eac0aaaa5b8f8ed6ea9830174bc150e64de85e31 WHIRLPOOL 61b6ecde2e3f8679c1afea95dcd152a94ce03522c06dff34b406a5705f6255243f0565fbb5f9bef3ac96d7127190bd1b4363233fa24fafcd0412e061201f6fe8
-DIST calibre-1.25.0.tar.xz 32683456 SHA256 cd95f64b721c6e7d0f392a7fce2c177bc8e1dec6a367891b3582e0b74b0e42f8 SHA512 fde5abbff3c4785160aa6286a8a50ae80ebf97a262b6902d6158648ba08c6d030e6031ced168131891d4cc7c291c74b6c3c7ce72be23c62c2dd783f47f0473b4 WHIRLPOOL f3cd373e8dbdfaff2d9e00cb7449916b0c6d2ae4530466ce1e98c8e5cb91e667db2a19952a11d5d35c044d6eb6804fc583d584753bec708560544e75c299aaf0
-DIST calibre-1.29.0.tar.xz 33022868 SHA256 b9cc2081528b72d7082e15efbc75b4edccf3e504d30697886bf23da4fa834faa SHA512 17a1e83c610122ef1bd0e4e0162bd907eec17fe7b012fb5476d3eb3d7e65df6d7b3e609d4b32cd6489fcddbfc55ac521b0e5f88d7cc2b2ccbf5f566e53c2f126 WHIRLPOOL e4501c9ed09b27853158c7485304c30be3cf4e1223ed5950d6d2ad1fb193941ea9a4ba4e1c7b37efe8252439993d51d15efaeadb190e5a3f25fe36455ff7a33b
-DIST calibre-1.43.0.tar.xz 35549180 SHA256 3c4ef17591e033e39ba804d18442f63c3ebc1683da776833d47d8aa2900f724d SHA512 ca3282e77da985bd6117c640f8665e92d664d8749897facb0c419f7427b850fb381e0b10b5c481f8b01434c3fe6faf7dc47c9f99d3bd9a485b3e15be9f045d81 WHIRLPOOL f6039261f9c986c7293b39d03d7aaafb6dabbbf3a9e586dc35b267950cebe9a1f5a5e09b179fdb55e921725a7e8a15ef1eb328d28cf169dde4cb9de972e57b5a
 DIST calibre-1.47.0.tar.xz 36581960 SHA256 efeb71a5bb4742a9c0a99038fdd97baa55c35e8ba5312e19e422c004bbf5b8c2 SHA512 c6131422891bed0615644336ad1dfc52803ff28d7d33994bea4a34f70655d12ab6b638432156665132805a900324742c41f8d5b7963f24eee4b68359fc433ece WHIRLPOOL dac2b04e195206d7956d7bdb5f45b37cd1e7a873db542d26bd0802d886fb9111aba1e603a795d03a2bf3b55d8cdb92671e11dfdc9fdcdc0707e280a380548f0b
 DIST calibre-1.48.0.tar.xz 35126680 SHA256 e704090f6611c5e374252c3f1b58e077ccd3170a3ea39893e5bf687287abf472 SHA512 0b70f16b10e6c9bbc24955baf74e8fc8e116aaaa1d75d018f5135f657606286de3bfffbebf3b367b2be52708deb05a162de919bba930dcbff59c4ec15c13b28d WHIRLPOOL 1a07a8c916119e92bdf41276db1aef572b704271808bcd6c3a0a4e823c8a76bd2f4267765dee2f378430beec401288b25b35dee6859980adf5b7a9ebe885eff9
-DIST calibre-2.12.0.tar.xz 35743900 SHA256 8e32f55086ce2f64855fae33df1799758b6b5cfbd9c8052af2ee59e30c56e3e2 SHA512 76c131d1b8c919abf96414f7b782040c75123b06ee9f097c1cd00c19b0b23148b7e4f0c44a95fbb76cb5d2b1219f9af175d5552a3b3344d5633c062567407bfe WHIRLPOOL 57a7422756f4b9cc00f0a35df2581e38af45fcafbca4a3e53280fb649d2f02f37164a80dbb545035462c3931716441740f7361aee4263b6fb120b724eb3d05a5
 DIST calibre-2.18.0.tar.xz 36196564 SHA256 bd470b1dc3e286912866e83f2fa23646594065102896f8efb6705502a39bc716 SHA512 bad35d108e5a46c56e901c006e07f4897eab82a02ff1cc064763bcee913cac278ba31454a0ea0a047f214810fda52f9a1dc0357849864f3071994f63ca9e44d9 WHIRLPOOL 5f56cc8337e6d0a8d300eb134beaa88884831b96824cceca138057099aac3e576a6c0f5d67fea5e6f58c54d4154d984a05789ba5efc551d0a992142f004bc3a5
 DIST calibre-2.19.0.tar.xz 36149428 SHA256 76318803979456e9dbac5903436ea8a1a47355a22d69f6a44c292e0a510c92a9 SHA512 8535e4fc27b9196a3f72134d73fb0496ee0c95cb0615f4e1c4abf392022498aabfa7abb3cfa24262e03f77710754a2eea53e5a4d906d76ac815bab72567b975e WHIRLPOOL 5593a9f200ea16a140ad6306253dd80521d2f030437bd9b803794050b5f686cefae1a8989747d9741ffb462d424b2a9b94c35c3562efc1a523856b87d232a1f4
-DIST calibre-2.7.0.tar.xz 35548068 SHA256 4100ffc390a4c852a267c959b94d0c6d9606fb2a70f03b120826b99e59bb1e49 SHA512 9fbc9bf6a2bb72e17656b8f09690d6078dd8aa455c6c70b68b421ec24631f80e48928ba1820bd69f18caa29ef0b76d0f34b7910bd8e747003ebab930ea8654dd WHIRLPOOL d913898d024d6e36a04ffc7ddeafa1df6e6db793458a675db7f2880e6202891cd6c897fd3f51fd58f5031a0eb276bcc16f27ce13d90819b73e435279e1b5aa9d
-DIST calibre-2.9.0.tar.xz 35753312 SHA256 bc517af040066cadf44c62a15b45b4aadacdeeb1ef0dae2a42fa9a71a082db3c SHA512 5d402af6591befa304d35b911cb10fa44eadb744b1fc308043d0689278f31fa6dce150be40aec9f07c12d43ab5cde1b5ec657b8d94ab9f2b9eeb465a33ca0dfa WHIRLPOOL b72179ff97f4e4a9cf3b3aecfb3b9697c6b0076d4628e8957381ecc9e36640db2c51ef788c1f7c90f9d569adbc5adf05505b92ec2ff254fe9a4469ae00ebe1a2
-EBUILD calibre-1.2.ebuild 7216 SHA256 627f78a4880d9899c90524d3cc692f45c6d124704602c746fd637e4e2a6229e2 SHA512 4ce7cc4889e254fef24c6b3c3e510d1a4d2d24b1ceeb696a6ddae338cf7b1ceff21138f552bdf715a2f20d1df7fd6f8d59d614b21b0c494e3a09171f42505c8d WHIRLPOOL e53728b654c34d6ced29918ca1de0cc32c992672fa7608eef6d9315f4f7d1f984faf05bc6750aa5c33458a9fedb60726419445b4d9b4dbe73c0190c7d7ecefb9
 EBUILD calibre-1.20.ebuild 6864 SHA256 f72bad654047edc0d438edbef206230658563b4b4aede88779d34470f40d37ba SHA512 7448c04c3d4ab79da6a25f103ec13f980dae3b65bddd81c71a5d2a369816282e506f89c77b4fccf218f0dad3af4393fa928b90be4eb03c3abc57be4c07e3a98a WHIRLPOOL d9626f4350c65a84974acc361ff3194674c1a8e21d88e3fb7c3e59462dc93e6a73d0fcfb5d77e72952a0ea1e10f7bcaf74e01c7c0de3eabe494d06c690f2801d
-EBUILD calibre-1.25.ebuild 6866 SHA256 7e91b8f0d570a31b6ad5de2ef50e00938176a456618f7c6d4c649fcc7c3dc860 SHA512 2f430589e3718fd15b78bacea51c70ec7dbcd4ad9ef40b51de9b7b6b6f77cff7a3db3bca65b7cb368288758bfefc9b2db0009c43d61d9e8a2713b3bc15d1d5e3 WHIRLPOOL c3c38ac9a840ffe6ef2e40fd400f42f85a4e054c565b06e11e4e55a28bf05e56381828d136c709bc78b568b4e3d82d0ed914d43732da9ef9595628aa23d664af
-EBUILD calibre-1.29.ebuild 6877 SHA256 d90780aff0f34bed24447028ed0893c184f28bb924992c6d3eeec60e613e9083 SHA512 0d65541435f9e5ea40448c8c36e66997e34e86f887f84c2e5b411e0a4f2832847a38e1f8ce2507e81e58c2d02cf14199dcc571c0725251ceee7700d2df5bb719 WHIRLPOOL b242d53362b00556a6b7bd523e3528b72e9415211472bdbd83ab3023cafd5bd251be5f1259218725c504016cd5118a130c6bff5b70b9f839fccd0b2301dcf265
-EBUILD calibre-1.43.ebuild 7618 SHA256 dcbdc08725e1aa2d7cf2f59b534dc769716c325b34b6aa28ea0f01e70a4a91b4 SHA512 a1ab94dc6e09500c48f2c536e8cc1d67c5756c0d8628a947b0388e9a8182365941b47dc8633f9a5b017e6a105eb90179dea6423881021ef4ca113c9187fc27e8 WHIRLPOOL 4497c9ff4d73bc5364b0f425462e1f0deb7e44b6a8d4952cc1314ae42fa81ecde9d9e647296ddeacf6a3703c058ba9ce26abbe7110709dbd85880d51ac23a623
 EBUILD calibre-1.47.ebuild 7928 SHA256 ade95436b733ff6f03bca9389d3c42b45c5786ee62dcf8d3360e0c39adf1fb44 SHA512 13f53ba909b309368b413d16f125e44cb2a9ac0e927b19ba6e898b24f77768a4f862e442846ab4570410a4cc01b4e6a308aa85905b3bfe1ce2eb8d814a38344c WHIRLPOOL 74c4ee4e9cad8936ecd39e8fb3fcbba46c19dc59ab3629165682c51f5eea833885226a798e3949decbd308d5e63a5c937902b2c79215e72592c2ca9f411609cb
-EBUILD calibre-1.48-r1.ebuild 7899 SHA256 b07b09db62e9eae94d59c9401bbd39191fd525d307c362337866338a037e7ef0 SHA512 c2f2cd748dc3ca7d5480e8d410e41f661efbf547009b878ac498daaee2733cb8db069cfc40d3628940456eec962c4a8592432091a6c56757888f0c6cc7621257 WHIRLPOOL e414405b0be405210a69bd4b1b4758edf8e07598f2d1b093a9f9ba62538652206cf100b6be4fcb614b715fc1d25c82bd10a8ff21e6b04fe3c89b175fba0d63e3
-EBUILD calibre-1.48.ebuild 7928 SHA256 294a160ad70a49273d2a4a6bbb814426d81cbe5a826616a2810da1dccffc0455 SHA512 31c71cb9f1e05e1f645fdd98080175f0ad9bebab3b5c6482c3216694e3112a2804f4f17308f2a5e2f851c74c5aa690f449a1bf8f8717b441a738dce5e60e2923 WHIRLPOOL 141115e28c2ad2c273edbd54a5113aac5677efcf3738a20e565b4fa051b1161e4ac8278fbf026677681fdc387a6b2c8543991455a97e5179cdf8f47f8bb2406c
-EBUILD calibre-2.12.0.ebuild 8149 SHA256 5a4946e8d1f8c7847da2e2ba396fc6959382dd86aa99d97e94f7f154d5aed5e1 SHA512 f1e61dcb82f957be7532057e2726512f5b5aa7c610b0d59c4866f128d22827d3b9c300a6aad18f2c597bb3dfc8ff528d2ec9080f69ca81ad1ade370b9d07e05c WHIRLPOOL 111b07280fc544ffd4e22a09ccad72a2e1325500e9bf0ec1fb59c760968021c23d3ed4a498df8839dbc0a278d39bee045c5f67f4c23dde7084732747e49a24d0
-EBUILD calibre-2.18.0.ebuild 8158 SHA256 6f9c714d23b8c5b81429de49fc1b4806ba4daf2c260bf5db61dbdb6e8be151f0 SHA512 f57a804c430373a69ee61782d1da360ac3857af3414b8d6411b6d9244c4fd94d9a7eb0c1f8565bec83dbaca2db583c16ba175db1f62a2cbfa9b14f5e45d39499 WHIRLPOOL 6ba860dea665672333c1d33d3f3a9c7d4f6e3ab6dd7c864459bbee597895f689f47bb94d455d43cd12ab5dda7fa356bd3e22b5ad62e080731cc4861493f63198
-EBUILD calibre-2.19.0.ebuild 8157 SHA256 e38be43a75bd14043d490f22b07a5000809bc414c29dcf47c3191b6fdac72bc4 SHA512 9529ab8d74ed4ac8ff77acd22af7a95132ae3efd0b959e7059fd75558441a6130d8cf0f789f5e6bf3c3d33440d63dcea04d3ace3b0b08c9663c757531099b506 WHIRLPOOL 07a545bf258efdc64c4bbf1969beb4186055b82c2bf757eb83130de086fc7ff99e7bd4f9ca93cf4df9714cf015029745e12d9131a2e2e1c7c61f6a4211fe150f
-EBUILD calibre-2.7.0.ebuild 7885 SHA256 37b95a846898f4456dcb855e32b69882e6c5bf455b0e32e646ecf0bd7b0cc796 SHA512 43ffc977a8c79a8180a2f8b520c7a7564d7625ea80ccf767c523b65d0eaf867d4caa8c162a8a03015e57086cc3a55fd416d43c8ae502317cfcac0caaded9f5ab WHIRLPOOL 9b9de3fc99f5d8428597851c05e328052cd11b60dda11b1db5f55a372446033a2f1a16bdcd2e686f911cbf8faf67315af5d8b7fec4f183b33dd2dc0a49176f6e
-EBUILD calibre-2.9.0.ebuild 8151 SHA256 0ca512e8e7cadf4cd8b9989397061e546002e100ffb32a090179c4652a70e247 SHA512 6af373d39b1eeeae3b0c1db929a68d43b5eaa064228fe2351a05618dd1ee678ba68028cb942490d917a68f6d02c75bc5728c9cd177bcec68e2ed96450ead1fff WHIRLPOOL 1e1b9b7d8e462f7bd67f350454a4d57f147ca4a490bb282a25fcf497c1285d6275b17357557fb472cd739334ac6d076aa08e2c92fd9b3a60cb12dffb4ffd8c6d
-MISC ChangeLog 54310 SHA256 bf54a5e48551a667d4e215c7b5236321e65fa4abd3822e99889e479bb8b3ef38 SHA512 5b6a94dffa5adff8db93b79f5ceafd4b28dcebda275a6d2739f386ea008bb2386a83e205d81289ae3e179f6475f9120c3543c5c29c0d40cea0b4550c90150b1f WHIRLPOOL edcf2677407f34de595468d5466cd350b305e40fae77db9bdc6ecb72b649f9d9273c43e1d2f9fab59fac9a0702aec111f36e72c5026eb782f2231a5aec0ab53d
+EBUILD calibre-1.48-r1.ebuild 7828 SHA256 096ce258db2208a54df84876cecd2ae2a88ac17097c6430651b171506228b43c SHA512 0808b869979f3ad50c67bcc8e6e9626a343fcde1f9804036bb104c6697a0fb1046434ce72ffcd491cebfb0eedc1da3b28890cdc6530a94a25266feaab6c1d24a WHIRLPOOL 53fa6241fb283369bff2e7d532e9b2f3f36488139490263ac68b2af5cc67cd3c98caec73c4acc9eba2e818bc7b3e13d2e40faa3537ce8b0978691c61ec5f30a2
+EBUILD calibre-2.18.0.ebuild 8177 SHA256 d08ce902728036eda71a887ee2abdffb4a805bfcf08dccdf7cd0938f840e19ca SHA512 f1e5902f36d45bc527496317192b420f9a0b5bbc12e79a58d4de7441761ed031a16f9c9d2524458d0cf8efb9f05ec51269c58e4ac6ce612caab94b695fe13108 WHIRLPOOL 05fe1ab8f9dd29f85723c05aa29d0001564ef92c8489fc47ea7c02fc67a0e68ddb5927ad2c8b2894587e2d75a63ba2b7d06b944769957d34177e68c6b084de59
+EBUILD calibre-2.19.0.ebuild 8177 SHA256 101724baf97e0b679b7e69b3c5f8b888298b0604d2fa6668ff64befcbfc9f328 SHA512 44bcaf92f4d67a6f648d753d33973f84b1caa35cee8974f6c8ea1c1654768d89d94088516ba7eccdfbe9d0d2a46d24141f58b78d6681c14a3587559468985d61 WHIRLPOOL bb8fde8d314a95f79801762282416397c4165999459b8aa5054f81d01845525e4ebff6c8b6cbbf277993bf6c9ce96f9b0b197356c973875882d5e47271c4efe6
+MISC ChangeLog 54736 SHA256 ba9a3402c30670442a30066e3dbd3adb83e1817660340f5c4fc5a82a048cce85 SHA512 172bc343b70fb766c60c73c7fb8319098fab196a8875a51cbb16b9df030915caef48cd3651135d13f90cd45949786895ba2d501ade56568822eb97998e1da948 WHIRLPOOL 8ac73465b13d153f0c29a0a129f9648f7d61df27dffa802e682472339414a736fef4272be8241fff25a260d8b6a2dc8e0414c0a2be8fe301865fb379c8f6e696
 MISC metadata.xml 341 SHA256 796a5a95967784ec0e9295b5745962d2a20dd678fd7425e6bd6414b9b1fbae33 SHA512 0fa9fd10e81ff337e7e7d9a55d492f4cbcee79fd1771497214c39c0c2491759ba0ce7f62a1aade44e2165617da40111d0ba3a3802b679db66f60e66bff70e2ca WHIRLPOOL bd14a2fa77fbf2f7e3e30725ef299809e11696d5779ea80d8252efcd64e79bad7db9c331f8617ce220cfeaa6136e932130db85aeecf35412f99d9957cf3e9f08
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0
 
-iQJ8BAEBCABmBQJU2cbeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCABmBQJU3FW9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5MTlDREQ0NUU5Mjc4RkU2RjJDNTAyNzU0
-RkRGOUNGRDJGQUM1MTRFAAoJEE/fnP0vrFFO0QAQALadGjXI/PS/kEvKXqXv5ULJ
-DvmKZrfpVWNqn0datE+1kyjQpsfAu9h1SqA2BQ3fzirWmGkQa70qFXHlMY/gilQf
-jnQqITIoszPX+gzCuxYJzebR9m8UEhkPa3W6JhC7HgmykQFo/M39LmsZJcmqM334
-T9OFuhTXrcIsn1/n11G7xzbhFIDR+Sh4iBUgiRPKai99Q94nJPLNzH/SjduY1hGB
-gLOakfOy51Fzi4CCRxvlGmoxlQN97UIFD+6bQjggM5uDoypJRG1RkA9kQlVzYsEl
-iicTXjcXCtOmyQHEA5Q8Mzx4x12c1sCyeprWv8GcRTdAqTPLx/bNl25RE8SJLU39
-buAWyACI8RsnfBFCKptLa4iNLEQ1w9ENnT1uHo0TyKTGKjbpullGP55I61w69wYI
-yx6in3PbVU2FH6JgTkwfqqnSTcLmyhbvptaaEgQQfD0I6i0dx7PM0WsIXQkNpkbR
-YFqUksblrle8FXkTtqsTtxLFGH+PzQcHk2Dhrt5ymWV/QBVfbq0MEX+YY6tlv+1h
-fa86CI4m5ConAewz0uLndJDZHi0SRy/vG+TfSBer0ce4E+sVoa+zeELGxqPuRiJR
-NUJm0PmGVHE0ax3phCP9grZFVe02+gKMxU6LPncFX7VXTn/b0z+goo6dLAN5Yc74
-xxkfYcf3u+APRrQQ/+8Z
-=XWPP
+RkRGOUNGRDJGQUM1MTRFAAoJEE/fnP0vrFFO26gQAL6sTRwjlpTLOlmHmMNYJY+O
+Tv9BQiBEG0CqzcEoPwYXAk4jUVbDK5EnQGfGbWVsSzT17HcOsDWe8fkANbOO2XfC
+v2dlauyIVTEFdsqBJvTw0w7+5YhlsgTnz0AXRG1XfQqrmLUxzyWhA25uo6kcJW2Z
+EgrJZqUDxv4DQ7wVtF8GN6BX+zEq183qu8w435s2ai9jYFryjqNoO1gZy4MUAxoo
+G7tXksYWHnC5pHT6YTYQGMkB/7PNFVaRjTgzdPCJCwWeHLMmeWIQ2YPi+smnIKYK
+eDejvc5O+b7zNd8+jaii7ayPeg9lGQHuIWXdmqFtFnVj/IkuYUYgDrM8RgDyOnas
+IwSOAmlSU7criBJh2rWgjXmrU2bBzxCBK/unjHiipbNL6xvLbvQ2omgMs3F4llvm
+6/lj5+6BWlw5K7d2Az07p93RDcBBzM6QQlUwFe4tjebhisc/EVVTXPHHeo4R8+qI
+kGeWesMZFW9M2CJAAJe/QLVvzCLZ6RXm+BNFZmcHV1prygq7nHp4L3d7lU3birBp
+7hZ6clWmvRtWXhDDMue8c3vv1YYvhBPhf/bDDWw4EYX8bt/HLyRbqJZTdHVVhvuR
+rHvhZUPnp8zB2cCL4/FUcb19h/koScRx3iyBF5hJL9v+Qpv8TU22Xkl4B64y05VM
+6y4TVH+0H9AVIebJ2sFU
+=4zAf
 -----END PGP SIGNATURE-----
diff --git a/app-text/calibre/calibre-1.2.ebuild b/app-text/calibre/calibre-1.2.ebuild
deleted file mode 100644 (file)
index 4b11e05..0000000
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.2.ebuild,v 1.5 2014/10/16 20:49:55 zmedico Exp $
-
-EAPI=5
-
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
-
-DESCRIPTION="Ebook management application"
-HOMEPAGE="http://calibre-ebook.com/"
-[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
-SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
-
-# Restrict mirror due non-free prs500 fonts (bug #470212).
-RESTRICT="mirror"
-
-LICENSE="
-       GPL-3+
-       GPL-3
-       GPL-2+
-       GPL-2
-       GPL-1+
-       LGPL-3+
-       LGPL-2.1+
-       LGPL-2.1
-       BSD
-       MIT
-       Old-MIT
-       Apache-2.0
-       public-domain
-       || ( Artistic GPL-1+ )
-       CC-BY-3.0
-       OFL-1.1
-       PSF-2
-       unRAR
-"
-
-KEYWORDS="amd64 x86"
-
-SLOT="0"
-
-IUSE="+udisks"
-
-COMMON_DEPEND="
-       >=app-text/podofo-0.8.2:=
-       >=app-text/poppler-0.12.3-r3:=[qt4,xpdf-headers(+)]
-       >=dev-lang/python-2.7.1:2.7[sqlite,ssl]
-       >=dev-libs/chmlib-0.40:=
-       >=dev-libs/icu-4.4:=
-       dev-python/apsw
-       >=dev-python/beautifulsoup-3.0.5:python-2
-       dev-python/netifaces
-       >=dev-python/dnspython-1.6.0
-       >=dev-python/cssselect-0.7.1
-       >=dev-python/cssutils-0.9.9
-       >=dev-python/dbus-python-0.82.2
-       virtual/python-imaging
-       >=dev-python/lxml-2.2.1
-       >=dev-python/mechanize-0.1.11
-       >=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
-       >=dev-python/PyQt4-4.9.1[X,svg,webkit]
-       media-fonts/liberation-fonts
-       >=media-gfx/imagemagick-6.5.9[jpeg,png]
-       >=media-libs/freetype-2:=
-       >=media-libs/libwmf-0.2.8
-       >=media-libs/libmtp-1.1.4:=
-       virtual/libusb:1=
-       dev-qt/qtdbus:4=
-       dev-qt/qtsvg:4=
-       >=x11-misc/xdg-utils-1.0.2-r2"
-
-RDEPEND="${COMMON_DEPEND}
-       udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
-
-DEPEND="${COMMON_DEPEND}
-       >=dev-python/setuptools-0.6_rc5
-       >=virtual/podofo-build-0.8.2"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
-       # Fix outdated version constant.
-       #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
-       #       -i src/calibre/constants.py || \
-       #       die "sed failed to patch constants.py"
-
-       # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
-       # calls xdg-* (bug #258938).
-       sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-               -e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-               -e "s|PreserveMIMEDefaults():||" \
-               -e "s|xdg-icon-resource install|\\0 --mode user|" \
-               -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|xdg-mime install|\\0 --mode user|" \
-               -i src/calibre/linux.py || die "sed failed to patch linux.py"
-
-       # Disable unnecessary privilege dropping for bug #287067.
-       sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-               -i setup/install.py || die "sed failed to patch install.py"
-
-       sed -e "/^            self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
-\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
-'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
-'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
-'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
-'-i', 'Makefile'])" \
-               -i setup/extensions.py || die "sed failed to patch extensions.py"
-
-       # no_updates: do not annoy user with "new version is availible all the time
-       # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
-       epatch \
-               "${FILESDIR}/${PN}-no_updates_dialog.patch" \
-               "${FILESDIR}/${PN}-disable_plugins.patch"
-
-       # Remove non-free fonts (bug #470212).
-       rm -r resources/fonts/prs500 || die
-}
-
-src_install() {
-       # Bypass kbuildsycoca and update-mime-database in order to
-       # avoid sandbox violations if xdg-mime tries to call them.
-       cat - > "${T}/kbuildsycoca" <<-EOF
-       #!${BASH}
-       exit 0
-       EOF
-
-       cp "${T}"/{kbuildsycoca,update-mime-database}
-       chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
-       # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
-       # violation with kbuildsycoca as in bug #287067, comment #13.
-       export -n DISPLAY
-
-       # Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
-       #   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
-       #    return _parse_localename(localename)
-       #  File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
-       #    raise ValueError, 'unknown locale: %s' % localename
-       #ValueError: unknown locale: 46
-       export -n LANGUAGE
-
-       # Bug #295672 - Avoid sandbox violation in ~/.config by forcing
-       # variables to point to our fake temporary $HOME.
-       export HOME="${T}/fake_homedir"
-       export XDG_CONFIG_HOME="${HOME}/.config"
-       export XDG_DATA_HOME="${HOME}/.local/share"
-       export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
-       mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
-
-       tc-export CC CXX
-       # Bug #334243 - respect LDFLAGS when building calibre-mount-helper
-       export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
-       local libdir=$(get_libdir)
-       [[ -n $libdir ]] || die "get_libdir returned an empty string"
-
-       # Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
-       local x
-       for x in /dev/dri/card[0-9] ; do
-               [[ -e ${x} ]] && addpredict ${x}
-       done
-
-       dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
-       PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
-       "${EPREFIX}"/usr/bin/python2.7 setup.py install \
-               --root="${D}" \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/${libdir}" \
-               --staging-root="${ED}usr" \
-               --staging-libdir="${ED}usr/${libdir}" || die
-
-       grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
-               die "failed to fix harcoded \$D in paths"
-
-       # Remove dummy calibre-mount-helper which is unused since calibre-0.8.25
-       # due to bug #389515 (instead, calibre now calls udisks via dbus).
-       rm "${ED}usr/bin/calibre-mount-helper" || die
-
-       # The menu entries end up here due to '--mode user' being added to
-       # xdg-* options in src_prepare.
-       dodir /usr/share/mime/packages
-       chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
-       mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
-               die "failed to register mime types"
-       dodir /usr/share/icons
-       mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
-               die "failed to install icon files"
-
-       domenu "${HOME}"/.local/share/applications/*.desktop ||
-               die "failed to install .desktop menu files"
-
-       dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
-       rm -r "${ED}"usr/etc/bash_completion.d
-       find "${ED}"usr/etc -type d -empty -delete
-
-       cd "${ED}"/usr/share/calibre/fonts/liberation || die
-       local x
-       for x in * ; do
-               [[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
-               ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
-       done
-
-       einfo "Converting python shebangs"
-       while read -r -d $'\0' ; do
-               local shebang=$(head -n1 "$REPLY")
-               if [[ ${shebang} == "#!"*python* ]] ; then
-                       sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
-                               die "sed failed"
-               fi
-       done < <(find "${ED}" -type f -print0)
-
-       einfo "Compiling python modules"
-       "${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
-               -d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
-
-       newinitd "${FILESDIR}"/calibre-server.init calibre-server
-       newconfd "${FILESDIR}"/calibre-server.conf calibre-server
-}
-
-pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-}
diff --git a/app-text/calibre/calibre-1.25.ebuild b/app-text/calibre/calibre-1.25.ebuild
deleted file mode 100644 (file)
index ad478c7..0000000
+++ /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/app-text/calibre/calibre-1.25.ebuild,v 1.3 2014/10/16 20:49:55 zmedico Exp $
-
-EAPI=5
-
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
-
-DESCRIPTION="Ebook management application"
-HOMEPAGE="http://calibre-ebook.com/"
-[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
-SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
-
-LICENSE="
-       GPL-3+
-       GPL-3
-       GPL-2+
-       GPL-2
-       GPL-1+
-       LGPL-3+
-       LGPL-2.1+
-       LGPL-2.1
-       BSD
-       MIT
-       Old-MIT
-       Apache-2.0
-       public-domain
-       || ( Artistic GPL-1+ )
-       CC-BY-3.0
-       OFL-1.1
-       PSF-2
-       unRAR
-"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="+udisks"
-
-COMMON_DEPEND="
-       >=app-text/podofo-0.8.2:=
-       >=app-text/poppler-0.12.3-r3:=[qt4,xpdf-headers(+)]
-       >=dev-lang/python-2.7.1:2.7[sqlite,ssl]
-       >=dev-libs/chmlib-0.40:=
-       >=dev-libs/icu-4.4:=
-       dev-python/apsw
-       >=dev-python/beautifulsoup-3.0.5:python-2
-       dev-python/netifaces
-       >=dev-python/dnspython-1.6.0
-       >=dev-python/cssselect-0.7.1
-       >=dev-python/cssutils-0.9.9
-       >=dev-python/dbus-python-0.82.2
-       virtual/python-imaging
-       >=dev-python/lxml-2.2.1
-       >=dev-python/mechanize-0.1.11
-       >=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
-       >=dev-python/PyQt4-4.9.1[X,svg,webkit]
-       media-fonts/liberation-fonts
-       >=media-gfx/imagemagick-6.5.9[jpeg,png]
-       >=media-libs/freetype-2:=
-       >=media-libs/libwmf-0.2.8
-       >=media-libs/libmtp-1.1.4:=
-       virtual/libusb:1=
-       dev-qt/qtdbus:4=
-       dev-qt/qtsvg:4=
-       >=x11-misc/xdg-utils-1.0.2-r2"
-
-RDEPEND="${COMMON_DEPEND}
-       udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
-
-DEPEND="${COMMON_DEPEND}
-       >=dev-python/setuptools-0.6_rc5
-       >=virtual/podofo-build-0.8.2"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
-       # Fix outdated version constant.
-       #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
-       #       -i src/calibre/constants.py || \
-       #       die "sed failed to patch constants.py"
-
-       # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
-       # calls xdg-* (bug #258938).
-       sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-               -e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-               -e "s|PreserveMIMEDefaults():||" \
-               -e "s|xdg-icon-resource install|\\0 --mode user|" \
-               -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|xdg-mime install|\\0 --mode user|" \
-               -i src/calibre/linux.py || die "sed failed to patch linux.py"
-
-       # Disable unnecessary privilege dropping for bug #287067.
-       sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-               -i setup/install.py || die "sed failed to patch install.py"
-
-       sed -e "/^            self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
-\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
-'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
-'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
-'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
-'-i', 'Makefile'])" \
-               -i setup/extensions.py || die "sed failed to patch extensions.py"
-
-       # no_updates: do not annoy user with "new version is availible all the time
-       # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
-       epatch \
-               "${FILESDIR}/${PN}-1.20-no_updates_dialog.patch" \
-               "${FILESDIR}/${PN}-disable_plugins.patch"
-}
-
-src_install() {
-       # Bypass kbuildsycoca and update-mime-database in order to
-       # avoid sandbox violations if xdg-mime tries to call them.
-       cat - > "${T}/kbuildsycoca" <<-EOF
-       #!${BASH}
-       exit 0
-       EOF
-
-       cp "${T}"/{kbuildsycoca,update-mime-database}
-       chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
-       # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
-       # violation with kbuildsycoca as in bug #287067, comment #13.
-       export -n DISPLAY
-
-       # Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
-       #   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
-       #    return _parse_localename(localename)
-       #  File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
-       #    raise ValueError, 'unknown locale: %s' % localename
-       #ValueError: unknown locale: 46
-       export -n LANGUAGE
-
-       # Bug #295672 - Avoid sandbox violation in ~/.config by forcing
-       # variables to point to our fake temporary $HOME.
-       export HOME="${T}/fake_homedir"
-       export XDG_CONFIG_HOME="${HOME}/.config"
-       export XDG_DATA_HOME="${HOME}/.local/share"
-       export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
-       mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
-
-       tc-export CC CXX
-       # Bug #334243 - respect LDFLAGS when building extensions
-       export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
-       local libdir=$(get_libdir)
-       [[ -n $libdir ]] || die "get_libdir returned an empty string"
-
-       # Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
-       local x
-       for x in /dev/dri/card[0-9] ; do
-               [[ -e ${x} ]] && addpredict ${x}
-       done
-
-       dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
-       PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
-       "${EPREFIX}"/usr/bin/python2.7 setup.py install \
-               --root="${D}" \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/${libdir}" \
-               --staging-root="${ED}usr" \
-               --staging-libdir="${ED}usr/${libdir}" || die
-
-       grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
-               die "failed to fix harcoded \$D in paths"
-
-       # The menu entries end up here due to '--mode user' being added to
-       # xdg-* options in src_prepare.
-       dodir /usr/share/mime/packages
-       chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
-       mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
-               die "failed to register mime types"
-       dodir /usr/share/icons
-       mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
-               die "failed to install icon files"
-
-       domenu "${HOME}"/.local/share/applications/*.desktop ||
-               die "failed to install .desktop menu files"
-
-       dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
-       rm -r "${ED}"usr/etc/bash_completion.d
-       find "${ED}"usr/etc -type d -empty -delete
-
-       cd "${ED}"/usr/share/calibre/fonts/liberation || die
-       local x
-       for x in * ; do
-               [[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
-               ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
-       done
-
-       einfo "Converting python shebangs"
-       while read -r -d $'\0' ; do
-               local shebang=$(head -n1 "$REPLY")
-               if [[ ${shebang} == "#!"*python* ]] ; then
-                       sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
-                               die "sed failed"
-               fi
-       done < <(find "${ED}" -type f -print0)
-
-       einfo "Compiling python modules"
-       "${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
-               -d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
-
-       newinitd "${FILESDIR}"/calibre-server.init calibre-server
-       newconfd "${FILESDIR}"/calibre-server.conf calibre-server
-}
-
-pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-}
diff --git a/app-text/calibre/calibre-1.29.ebuild b/app-text/calibre/calibre-1.29.ebuild
deleted file mode 100644 (file)
index b92120b..0000000
+++ /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/app-text/calibre/calibre-1.29.ebuild,v 1.3 2014/10/16 20:49:55 zmedico Exp $
-
-EAPI=5
-
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
-
-DESCRIPTION="Ebook management application"
-HOMEPAGE="http://calibre-ebook.com/"
-[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
-SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
-
-LICENSE="
-       GPL-3+
-       GPL-3
-       GPL-2+
-       GPL-2
-       GPL-1+
-       LGPL-3+
-       LGPL-2.1+
-       LGPL-2.1
-       BSD
-       MIT
-       Old-MIT
-       Apache-2.0
-       public-domain
-       || ( Artistic GPL-1+ )
-       CC-BY-3.0
-       OFL-1.1
-       PSF-2
-       unRAR
-"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="+udisks"
-
-COMMON_DEPEND="
-       >=app-text/podofo-0.8.2:=
-       >=app-text/poppler-0.12.3-r3:=[qt4,xpdf-headers(+)]
-       >=dev-lang/python-2.7.1:2.7[sqlite,ssl]
-       >=dev-libs/chmlib-0.40:=
-       >=dev-libs/icu-4.4:=
-       dev-python/apsw
-       >=dev-python/beautifulsoup-3.0.5:python-2
-       dev-python/netifaces
-       >=dev-python/dnspython-1.6.0
-       >=dev-python/cssselect-0.7.1
-       >=dev-python/cssutils-0.9.9
-       >=dev-python/dbus-python-0.82.2
-       >=dev-python/lxml-2.2.1
-       >=dev-python/mechanize-0.1.11
-       >=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
-       >=dev-python/PyQt4-4.9.1[X,svg,webkit]
-       dev-qt/qtdbus:4=
-       dev-qt/qtsvg:4=
-       media-fonts/liberation-fonts
-       >=media-gfx/imagemagick-6.5.9[jpeg,png]
-       >=media-libs/freetype-2:=
-       >=media-libs/libwmf-0.2.8
-       >=media-libs/libmtp-1.1.4:=
-       virtual/libusb:1=
-       virtual/python-imaging
-       >=x11-misc/xdg-utils-1.0.2-r2"
-
-RDEPEND="${COMMON_DEPEND}
-       udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
-
-DEPEND="${COMMON_DEPEND}
-       >=dev-python/setuptools-0.6_rc5
-       >=virtual/podofo-build-0.8.2"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
-       # Fix outdated version constant.
-       #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
-       #       -i src/calibre/constants.py || \
-       #       die "sed failed to patch constants.py"
-
-       # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
-       # calls xdg-* (bug #258938).
-       sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-               -e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-               -e "s|PreserveMIMEDefaults():||" \
-               -e "s|xdg-icon-resource install|\\0 --mode user|" \
-               -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
-               -i src/calibre/linux.py || die "sed failed to patch linux.py"
-
-       # Disable unnecessary privilege dropping for bug #287067.
-       sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-               -i setup/install.py || die "sed failed to patch install.py"
-
-       sed -e "/^            self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
-\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
-'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
-'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
-'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
-'-i', 'Makefile'])" \
-               -i setup/extensions.py || die "sed failed to patch extensions.py"
-
-       # no_updates: do not annoy user with "new version is availible all the time
-       # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
-       epatch \
-               "${FILESDIR}/${PN}-1.20-no_updates_dialog.patch" \
-               "${FILESDIR}/${PN}-disable_plugins.patch"
-}
-
-src_install() {
-       # Bypass kbuildsycoca and update-mime-database in order to
-       # avoid sandbox violations if xdg-mime tries to call them.
-       cat - > "${T}/kbuildsycoca" <<-EOF
-       #!${BASH}
-       exit 0
-       EOF
-
-       cp "${T}"/{kbuildsycoca,update-mime-database}
-       chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
-       # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
-       # violation with kbuildsycoca as in bug #287067, comment #13.
-       export -n DISPLAY
-
-       # Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
-       #   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
-       #    return _parse_localename(localename)
-       #  File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
-       #    raise ValueError, 'unknown locale: %s' % localename
-       #ValueError: unknown locale: 46
-       export -n LANGUAGE
-
-       # Bug #295672 - Avoid sandbox violation in ~/.config by forcing
-       # variables to point to our fake temporary $HOME.
-       export HOME="${T}/fake_homedir"
-       export XDG_CONFIG_HOME="${HOME}/.config"
-       export XDG_DATA_HOME="${HOME}/.local/share"
-       export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
-       mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
-
-       tc-export CC CXX
-       # Bug #334243 - respect LDFLAGS when building extensions
-       export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
-       local libdir=$(get_libdir)
-       [[ -n $libdir ]] || die "get_libdir returned an empty string"
-
-       # Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
-       local x
-       for x in /dev/dri/card[0-9] ; do
-               [[ -e ${x} ]] && addpredict ${x}
-       done
-
-       dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
-       PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
-       "${EPREFIX}"/usr/bin/python2.7 setup.py install \
-               --root="${D}" \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/${libdir}" \
-               --staging-root="${ED}usr" \
-               --staging-libdir="${ED}usr/${libdir}" || die
-
-       grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
-               die "failed to fix harcoded \$D in paths"
-
-       # The menu entries end up here due to '--mode user' being added to
-       # xdg-* options in src_prepare.
-       dodir /usr/share/mime/packages
-       chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
-       mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
-               die "failed to register mime types"
-       dodir /usr/share/icons
-       mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
-               die "failed to install icon files"
-
-       domenu "${HOME}"/.local/share/applications/*.desktop ||
-               die "failed to install .desktop menu files"
-
-       dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
-       rm -r "${ED}"usr/etc/bash_completion.d
-       find "${ED}"usr/etc -type d -empty -delete
-
-       cd "${ED}"/usr/share/calibre/fonts/liberation || die
-       local x
-       for x in * ; do
-               [[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
-               ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
-       done
-
-       einfo "Converting python shebangs"
-       while read -r -d $'\0' ; do
-               local shebang=$(head -n1 "$REPLY")
-               if [[ ${shebang} == "#!"*python* ]] ; then
-                       sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
-                               die "sed failed"
-               fi
-       done < <(find "${ED}" -type f -print0)
-
-       einfo "Compiling python modules"
-       "${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
-               -d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
-
-       newinitd "${FILESDIR}"/calibre-server.init calibre-server
-       newconfd "${FILESDIR}"/calibre-server.conf calibre-server
-}
-
-pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-}
diff --git a/app-text/calibre/calibre-1.43.ebuild b/app-text/calibre/calibre-1.43.ebuild
deleted file mode 100644 (file)
index d38e5d2..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.43.ebuild,v 1.2 2014/10/16 20:49:55 zmedico Exp $
-
-EAPI=5
-
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
-
-DESCRIPTION="Ebook management application"
-HOMEPAGE="http://calibre-ebook.com/"
-[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
-SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
-
-LICENSE="
-       GPL-3+
-       GPL-3
-       GPL-2+
-       GPL-2
-       GPL-1+
-       LGPL-3+
-       LGPL-2.1+
-       LGPL-2.1
-       BSD
-       MIT
-       Old-MIT
-       Apache-2.0
-       public-domain
-       || ( Artistic GPL-1+ )
-       CC-BY-3.0
-       OFL-1.1
-       PSF-2
-       unRAR
-"
-
-KEYWORDS="~amd64 ~arm ~x86"
-SLOT="0"
-IUSE="+udisks"
-
-COMMON_DEPEND="
-       >=app-text/podofo-0.8.2:=
-       >=app-text/poppler-0.20.2:=[qt4,xpdf-headers(+)]
-       >=dev-lang/python-2.7.1:2.7[sqlite,ssl]
-       >=dev-libs/chmlib-0.40:=
-       >=dev-libs/icu-4.4:=
-       >=dev-python/apsw-3.7.17[python_targets_python2_7(-)]
-       >=dev-python/beautifulsoup-3.0.5:python-2[python_targets_python2_7(-)]
-       dev-python/netifaces[python_targets_python2_7(-)]
-       >=dev-python/dnspython-1.6.0[python_targets_python2_7(-)]
-       >=dev-python/cssselect-0.7.1[python_targets_python2_7(-)]
-       >=dev-python/cssutils-0.9.9[python_targets_python2_7(-)]
-       >=dev-python/dbus-python-0.82.2[python_targets_python2_7(-)]
-       >=dev-python/lxml-3.2.1[python_targets_python2_7(-)]
-       >=dev-python/mechanize-0.1.11[python_targets_python2_7(-)]
-       >=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
-       >=dev-python/PyQt4-4.9.6[X,svg,webkit,python_targets_python2_7(-)]
-       dev-qt/qtdbus:4=
-       dev-qt/qtsvg:4=
-       media-fonts/liberation-fonts
-       >=media-gfx/imagemagick-6.5.9[jpeg,png]
-       >=media-libs/freetype-2:=
-       >=media-libs/libwmf-0.2.8
-       >=media-libs/libmtp-1.1.5:=
-       virtual/libusb:1=
-       virtual/python-imaging[python_targets_python2_7(-)]
-       >=x11-misc/xdg-utils-1.0.2-r2"
-
-RDEPEND="${COMMON_DEPEND}
-       udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
-
-DEPEND="${COMMON_DEPEND}
-       >=dev-python/setuptools-0.6_rc5
-       >=virtual/podofo-build-0.8.2"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
-       # Fix outdated version constant.
-       #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
-       #       -i src/calibre/constants.py || \
-       #       die "sed failed to patch constants.py"
-
-       # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
-       # calls xdg-* (bug #258938).
-       sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-               -e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-               -e "s|PreserveMIMEDefaults():||" \
-               -e "s|xdg-icon-resource install|\\0 --mode user|" \
-               -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
-               -i src/calibre/linux.py || die "sed failed to patch linux.py"
-
-       # Disable unnecessary privilege dropping for bug #287067.
-       sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-               -i setup/install.py || die "sed failed to patch install.py"
-
-       sed -e "/^            self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
-\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
-'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
-'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
-'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
-'-i', 'Makefile'])" \
-               -i setup/extensions.py || die "sed failed to patch extensions.py"
-
-       # use system beautifulsoup, instead of bundled
-       rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py || die "could not remove bundled beautifulsoup"
-       find "${S}" -type f -name \*.py -exec \
-               sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
-               || die "could not sed bundled beautifulsoup out of the source tree"
-
-       # no_updates: do not annoy user with "new version is availible all the time
-       # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
-       # C locale: if LC_ALL=C do not raise an exception when locale cannot be canonicalized
-       epatch \
-               "${FILESDIR}/${PN}-1.34-no_updates_dialog.patch" \
-               "${FILESDIR}/${PN}-disable_plugins.patch"
-}
-
-src_install() {
-       # Bypass kbuildsycoca and update-mime-database in order to
-       # avoid sandbox violations if xdg-mime tries to call them.
-       cat - > "${T}/kbuildsycoca" <<-EOF
-       #!${BASH}
-       exit 0
-       EOF
-
-       cp "${T}"/{kbuildsycoca,update-mime-database}
-       chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
-       # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
-       # violation with kbuildsycoca as in bug #287067, comment #13.
-       export -n DISPLAY
-
-       # Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
-       #   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
-       #    return _parse_localename(localename)
-       #  File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
-       #    raise ValueError, 'unknown locale: %s' % localename
-       #ValueError: unknown locale: 46
-       export -n LANGUAGE
-
-       # Bug #295672 - Avoid sandbox violation in ~/.config by forcing
-       # variables to point to our fake temporary $HOME.
-       export HOME="${T}/fake_homedir"
-       export XDG_CONFIG_HOME="${HOME}/.config"
-       export XDG_DATA_HOME="${HOME}/.local/share"
-       export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
-       mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
-
-       tc-export CC CXX
-       # Bug #334243 - respect LDFLAGS when building extensions
-       export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
-       local libdir=$(get_libdir)
-       [[ -n $libdir ]] || die "get_libdir returned an empty string"
-
-       # Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
-       local x
-       for x in /dev/dri/card[0-9] ; do
-               [[ -e ${x} ]] && addpredict ${x}
-       done
-
-       dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
-       PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
-       "${EPREFIX}"/usr/bin/python2.7 setup.py install \
-               --root="${D}" \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/${libdir}" \
-               --staging-root="${ED}usr" \
-               --staging-libdir="${ED}usr/${libdir}" || die
-
-       grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
-               die "failed to fix harcoded \$D in paths"
-
-       # The menu entries end up here due to '--mode user' being added to
-       # xdg-* options in src_prepare.
-       dodir /usr/share/mime/packages
-       chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
-       mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
-               die "failed to register mime types"
-       dodir /usr/share/icons
-       mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
-               die "failed to install icon files"
-
-       domenu "${HOME}"/.local/share/applications/*.desktop ||
-               die "failed to install .desktop menu files"
-
-       dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
-       rm -r "${ED}"usr/etc/bash_completion.d
-       find "${ED}"usr/etc -type d -empty -delete
-
-       cd "${ED}"/usr/share/calibre/fonts/liberation || die
-       local x
-       for x in * ; do
-               [[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
-               ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
-       done
-
-       einfo "Converting python shebangs"
-       while read -r -d $'\0' ; do
-               local shebang=$(head -n1 "$REPLY")
-               if [[ ${shebang} == "#!"*python* ]] ; then
-                       sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
-                               die "sed failed"
-               fi
-       done < <(find "${ED}" -type f -print0)
-
-       einfo "Compiling python modules"
-       "${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
-               -d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
-
-       newinitd "${FILESDIR}"/calibre-server.init calibre-server
-       newconfd "${FILESDIR}"/calibre-server.conf calibre-server
-}
-
-pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-}
index 2aa985138550b04ad0c06f5db951fdb919925073..bbc173a16c9ac70c2ee758f45fd4206431017e17 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.48-r1.ebuild,v 1.2 2014/12/05 18:04:47 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.48-r1.ebuild,v 1.3 2015/02/12 07:26:43 yngwin Exp $
 
 EAPI=5
 
@@ -53,10 +53,7 @@ COMMON_DEPEND="
        >=dev-python/lxml-3.2.1[${PYTHON_USEDEP}]
        >=dev-python/mechanize-0.1.11[${PYTHON_USEDEP}]
        >=dev-python/python-dateutil-1.4.1[${PYTHON_USEDEP}]
-       || (
-               <dev-python/PyQt4-4.11.3[X,svg,webkit,${PYTHON_USEDEP}]
-               =dev-python/PyQt4-4.11.3-r1000[X,svg,webkit,${PYTHON_USEDEP}]
-       )
+       <dev-python/PyQt4-4.11.3[X,svg,webkit,${PYTHON_USEDEP}]
        dev-python/netifaces[${PYTHON_USEDEP}]
        dev-qt/qtdbus:4=
        dev-qt/qtsvg:4=
diff --git a/app-text/calibre/calibre-1.48.ebuild b/app-text/calibre/calibre-1.48.ebuild
deleted file mode 100644 (file)
index 843cfb7..0000000
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.48.ebuild,v 1.2 2014/10/16 20:49:55 zmedico Exp $
-
-EAPI=5
-
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
-
-DESCRIPTION="Ebook management application"
-HOMEPAGE="http://calibre-ebook.com/"
-[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
-SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
-
-LICENSE="
-       GPL-3+
-       GPL-3
-       GPL-2+
-       GPL-2
-       GPL-1+
-       LGPL-3+
-       LGPL-2.1+
-       LGPL-2.1
-       BSD
-       MIT
-       Old-MIT
-       Apache-2.0
-       public-domain
-       || ( Artistic GPL-1+ )
-       CC-BY-3.0
-       OFL-1.1
-       PSF-2
-       unRAR
-"
-
-KEYWORDS="~amd64 ~arm ~x86"
-SLOT="0"
-IUSE="+udisks"
-
-COMMON_DEPEND="
-       >=app-text/podofo-0.8.2:=
-       >=app-text/poppler-0.20.2:=[qt4,xpdf-headers(+)]
-       >=dev-lang/python-2.7.1:2.7[sqlite,ssl]
-       >=dev-libs/chmlib-0.40:=
-       >=dev-libs/icu-4.4:=
-       >=dev-python/apsw-3.7.17[python_targets_python2_7(-)]
-       >=dev-python/beautifulsoup-3.0.5:python-2[python_targets_python2_7(-)]
-       dev-python/netifaces[python_targets_python2_7(-)]
-       >=dev-python/dnspython-1.6.0[python_targets_python2_7(-)]
-       >=dev-python/cssselect-0.7.1[python_targets_python2_7(-)]
-       >=dev-python/cssutils-0.9.9[python_targets_python2_7(-)]
-       >=dev-python/dbus-python-0.82.2[python_targets_python2_7(-)]
-       >=dev-python/lxml-3.2.1[python_targets_python2_7(-)]
-       >=dev-python/mechanize-0.1.11[python_targets_python2_7(-)]
-       >=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
-       >=dev-python/PyQt4-4.9.6[X,svg,webkit,python_targets_python2_7(-)]
-       dev-qt/qtdbus:4=
-       dev-qt/qtsvg:4=
-       media-fonts/liberation-fonts
-       >=media-gfx/imagemagick-6.5.9[jpeg,png]
-       >=media-libs/freetype-2:=
-       >=media-libs/libwmf-0.2.8
-       >=media-libs/libmtp-1.1.5:=
-       virtual/libusb:1=
-       virtual/python-imaging[python_targets_python2_7(-)]
-       >=x11-misc/xdg-utils-1.0.2-r2"
-
-RDEPEND="${COMMON_DEPEND}
-       udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
-
-DEPEND="${COMMON_DEPEND}
-       >=dev-python/setuptools-0.6_rc5
-       >=virtual/podofo-build-0.8.2"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
-       # Fix outdated version constant.
-       #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
-       #       -i src/calibre/constants.py || \
-       #       die "sed failed to patch constants.py"
-
-       # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
-       # calls xdg-* (bug #258938).
-       sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-               -e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-               -e "s|PreserveMIMEDefaults():||" \
-               -e "s|xdg-icon-resource install|\\0 --mode user|" \
-               -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
-               -i src/calibre/linux.py || die "sed failed to patch linux.py"
-
-       # Disable unnecessary privilege dropping for bug #287067.
-       sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-               -i setup/install.py || die "sed failed to patch install.py"
-
-       sed -e "/^            self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
-\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
-'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
-'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
-'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
-'-i', 'Makefile'])" \
-               -i setup/extensions.py || die "sed failed to patch extensions.py"
-
-       # use system beautifulsoup, instead of bundled
-       rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py || die "could not remove bundled beautifulsoup"
-       find "${S}" -type f -name \*.py -exec \
-               sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
-               || die "could not sed bundled beautifulsoup out of the source tree"
-
-       # no_updates: do not annoy user with "new version is availible all the time
-       # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
-       # C locale: if LC_ALL=C do not raise an exception when locale cannot be canonicalized
-       epatch \
-               "${FILESDIR}/${PN}-1.34-no_updates_dialog.patch" \
-               "${FILESDIR}/${PN}-disable_plugins.patch"
-
-       # override install path for bash-completions
-       local mybcd="${D}/$(get_bashcompdir)"
-       sed -e "s#^def \(get_bash_completion_path.*\)\$#def \1\n    return os.path.join('${mybcd}','calibre')\n\ndef old_\1#" \
-         -i "${S}"/src/calibre/linux.py || die "Could not fix bash-completions install path"
-}
-
-src_install() {
-       # Bypass kbuildsycoca and update-mime-database in order to
-       # avoid sandbox violations if xdg-mime tries to call them.
-       cat - > "${T}/kbuildsycoca" <<-EOF
-       #!${BASH}
-       exit 0
-       EOF
-
-       cp "${T}"/{kbuildsycoca,update-mime-database}
-       chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
-       # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
-       # violation with kbuildsycoca as in bug #287067, comment #13.
-       export -n DISPLAY
-
-       # Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
-       #   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
-       #    return _parse_localename(localename)
-       #  File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
-       #    raise ValueError, 'unknown locale: %s' % localename
-       #ValueError: unknown locale: 46
-       export -n LANGUAGE
-
-       # Bug #295672 - Avoid sandbox violation in ~/.config by forcing
-       # variables to point to our fake temporary $HOME.
-       export HOME="${T}/fake_homedir"
-       export XDG_CONFIG_HOME="${HOME}/.config"
-       export XDG_DATA_HOME="${HOME}/.local/share"
-       export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
-       mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
-
-       tc-export CC CXX
-       # Bug #334243 - respect LDFLAGS when building extensions
-       export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
-       local libdir=$(get_libdir)
-       [[ -n $libdir ]] || die "get_libdir returned an empty string"
-
-       # Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
-       local x
-       for x in /dev/dri/card[0-9] ; do
-               [[ -e ${x} ]] && addpredict ${x}
-       done
-
-       dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
-       PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
-       "${EPREFIX}"/usr/bin/python2.7 setup.py install \
-               --root="${D}" \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/${libdir}" \
-               --staging-root="${ED}usr" \
-               --staging-libdir="${ED}usr/${libdir}" || die
-
-       grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
-               die "failed to fix harcoded \$D in paths"
-
-       # The menu entries end up here due to '--mode user' being added to
-       # xdg-* options in src_prepare.
-       dodir /usr/share/mime/packages
-       chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
-       mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
-               die "failed to register mime types"
-       dodir /usr/share/icons
-       mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
-               die "failed to install icon files"
-
-       domenu "${HOME}"/.local/share/applications/*.desktop ||
-               die "failed to install .desktop menu files"
-
-#      dobashcomp "${ED}"usr/share/bash-completion/completions/calibre
-#      rm -r "${ED}"usr/share/bash-completion
-       find "${ED}"usr/share -type d -empty -delete
-
-       cd "${ED}"/usr/share/calibre/fonts/liberation || die
-       local x
-       for x in * ; do
-               [[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
-               ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
-       done
-
-       einfo "Converting python shebangs"
-       while read -r -d $'\0' ; do
-               local shebang=$(head -n1 "$REPLY")
-               if [[ ${shebang} == "#!"*python* ]] ; then
-                       sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
-                               die "sed failed"
-               fi
-       done < <(find "${ED}" -type f -print0)
-
-       einfo "Compiling python modules"
-       "${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
-               -d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
-
-       newinitd "${FILESDIR}"/calibre-server.init calibre-server
-       newconfd "${FILESDIR}"/calibre-server.conf calibre-server
-}
-
-pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-}
diff --git a/app-text/calibre/calibre-2.12.0.ebuild b/app-text/calibre/calibre-2.12.0.ebuild
deleted file mode 100644 (file)
index 0a00105..0000000
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-2.12.0.ebuild,v 1.1 2014/12/09 16:24:29 axs Exp $
-
-EAPI=5
-
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
-
-DESCRIPTION="Ebook management application"
-HOMEPAGE="http://calibre-ebook.com/"
-[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
-SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
-
-LICENSE="
-       GPL-3+
-       GPL-3
-       GPL-2+
-       GPL-2
-       GPL-1+
-       LGPL-3+
-       LGPL-2.1+
-       LGPL-2.1
-       BSD
-       MIT
-       Old-MIT
-       Apache-2.0
-       public-domain
-       || ( Artistic GPL-1+ )
-       CC-BY-3.0
-       OFL-1.1
-       PSF-2
-       unRAR
-"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="+udisks"
-
-# Note, dropped dep on         >=app-text/poppler-0.20.2:=[qt4,xpdf-headers(+)] as #1, its qt5 now, and
-# 2, because repoman blew up when it was there, and my installed copy doesnt seem to link to it.
-
-COMMON_DEPEND="
-       >=app-text/podofo-0.8.2:=
-       >=dev-lang/python-2.7.1:2.7[sqlite,ssl]
-       >=dev-libs/chmlib-0.40:=
-       >=dev-libs/icu-4.4:=
-       dev-libs/glib:2
-       dev-qt/qtcore:5
-       dev-qt/qtgui:5
-       dev-qt/qtwidgets:5
-       >=media-gfx/imagemagick-6.5.9[jpeg,png]
-       media-libs/fontconfig
-       >=media-libs/freetype-2:=
-       >=media-libs/libmtp-1.1.5:=
-       sys-libs/zlib
-       udisks? ( virtual/libudev )
-       x11-libs/libX11
-       x11-libs/libXext
-       x11-libs/libXrender
-       >=dev-python/apsw-3.7.17[python_targets_python2_7(-)]
-       >=dev-python/beautifulsoup-3.0.5:python-2[python_targets_python2_7(-)]
-       dev-python/netifaces[python_targets_python2_7(-)]
-       >=dev-python/dnspython-1.6.0[python_targets_python2_7(-)]
-       >=dev-python/cssselect-0.7.1[python_targets_python2_7(-)]
-       >=dev-python/cssutils-0.9.9[python_targets_python2_7(-)]
-       >=dev-python/dbus-python-0.82.2[python_targets_python2_7(-)]
-       >=dev-python/lxml-3.2.1[python_targets_python2_7(-)]
-       >=dev-python/mechanize-0.1.11[python_targets_python2_7(-)]
-       >=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
-       >=dev-python/PyQt5-5.2.0[gui,svg,webkit,widgets,network,printsupport,python_targets_python2_7(-)]
-       media-fonts/liberation-fonts
-       >=media-libs/libwmf-0.2.8
-       virtual/libusb:1=
-       virtual/python-imaging[python_targets_python2_7(-)]
-       >=x11-misc/xdg-utils-1.0.2-r2"
-
-RDEPEND="${COMMON_DEPEND}
-       udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
-
-DEPEND="${COMMON_DEPEND}
-       >=dev-python/setuptools-0.6_rc5
-       >=virtual/podofo-build-0.8.2"
-
-src_prepare() {
-       # Fix outdated version constant.
-       #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
-       #       -i src/calibre/constants.py || \
-       #       die "sed failed to patch constants.py"
-
-       # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
-       # calls xdg-* (bug #258938).
-       sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-               -e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-               -e "s|PreserveMIMEDefaults():||" \
-               -e "s|xdg-icon-resource install|\\0 --mode user|" \
-               -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
-               -i src/calibre/linux.py || die "sed failed to patch linux.py"
-
-       # Disable unnecessary privilege dropping for bug #287067.
-       sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-               -i setup/install.py || die "sed failed to patch install.py"
-
-       sed -e "/^            self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
-\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
-'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
-'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
-'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
-'-i', 'Makefile'])" \
-               -i setup/extensions.py || die "sed failed to patch extensions.py"
-
-       # use system beautifulsoup, instead of bundled
-       rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \
-               || die "could not remove bundled beautifulsoup"
-       find "${S}" -type f -name \*.py -exec \
-               sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
-               || die "could not sed bundled beautifulsoup out of the source tree"
-
-       # avoid failure of xdg tools to recognize vendor prefix
-       sed -e "s|xdg-icon-resource install|xdg-icon-resource install --novendor|" \
-               -e "s|'xdg-mime', 'install'|'xdg-mime', 'install', '--novendor'|" \
-               -e "s|'xdg-desktop-menu', 'install'|'xdg-desktop-menu', 'install', '--novendor'|" \
-               -i "${S}"/src/calibre/linux.py || die 'sed failed'
-
-       # no_updates: do not annoy user with "new version is availible all the time
-       # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
-       epatch \
-               "${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \
-               "${FILESDIR}/${PN}-disable_plugins.patch"
-}
-
-src_install() {
-       # Bypass kbuildsycoca and update-mime-database in order to
-       # avoid sandbox violations if xdg-mime tries to call them.
-       cat - > "${T}/kbuildsycoca" <<-EOF
-       #!${BASH}
-       echo $0 : $@
-       exit 0
-       EOF
-
-       cp "${T}"/{kbuildsycoca,update-mime-database}
-       chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
-       export QMAKE="/usr/lib/qt5/bin/qmake"
-
-       # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
-       # violation with kbuildsycoca as in bug #287067, comment #13.
-       export -n DISPLAY
-
-       # Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
-       #   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
-       #    return _parse_localename(localename)
-       #  File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
-       #    raise ValueError, 'unknown locale: %s' % localename
-       #ValueError: unknown locale: 46
-       export -n LANGUAGE
-
-       # Bug #295672 - Avoid sandbox violation in ~/.config by forcing
-       # variables to point to our fake temporary $HOME.
-       export HOME="${T}/fake_homedir"
-       export XDG_CONFIG_HOME="${HOME}/.config"
-       export XDG_DATA_HOME="${HOME}/.local/share"
-       export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
-       mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
-
-       tc-export CC CXX
-       # Bug #334243 - respect LDFLAGS when building extensions
-       export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
-       local libdir=$(get_libdir)
-       [[ -n $libdir ]] || die "get_libdir returned an empty string"
-
-       # Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
-       local x
-       for x in /dev/dri/card[0-9] ; do
-               [[ -e ${x} ]] && addpredict ${x}
-       done
-
-       dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
-       PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
-       "${EPREFIX}"/usr/bin/python2.7 setup.py install \
-               --root="${D}" \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/${libdir}" \
-               --staging-root="${ED}usr" \
-               --staging-libdir="${ED}usr/${libdir}" || die
-
-       grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
-               die "failed to fix harcoded \$D in paths"
-
-       # The menu entries end up here due to '--mode user' being added to
-       # xdg-* options in src_prepare.
-       dodir /usr/share/mime/packages
-       chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
-       mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
-               die "failed to register mime types"
-       dodir /usr/share/icons
-       mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
-               die "failed to install icon files"
-
-       domenu "${HOME}"/.local/share/applications/*.desktop ||
-               die "failed to install .desktop menu files"
-
-       find "${ED}"usr/share -type d -empty -delete
-
-       cd "${ED}"/usr/share/calibre/fonts/liberation || die
-       local x
-       for x in * ; do
-               [[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
-               ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
-       done
-
-       einfo "Converting python shebangs"
-       while read -r -d $'\0' ; do
-               local shebang=$(head -n1 "$REPLY")
-               if [[ ${shebang} == "#!"*python* ]] ; then
-                       sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
-                               die "sed failed"
-               fi
-       done < <(find "${ED}" -type f -print0)
-
-       einfo "Compiling python modules"
-       "${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
-               -d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
-
-       newinitd "${FILESDIR}"/calibre-server.init calibre-server
-       newconfd "${FILESDIR}"/calibre-server.conf calibre-server
-}
-
-pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-}
index c5b7b6263571b444ea0923a38555973ca3f72ff3..d799b0190c13338bae4106abc04e1b7ca829bdce 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-2.18.0.ebuild,v 1.2 2015/02/02 19:33:00 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-2.18.0.ebuild,v 1.3 2015/02/12 07:26:43 yngwin Exp $
 
 EAPI=5
 
@@ -142,7 +142,7 @@ src_install() {
        cp "${T}"/{kbuildsycoca,update-mime-database}
        chmod +x "${T}"/{kbuildsycoca,update-mime-database}
 
-       export QMAKE="/usr/lib/qt5/bin/qmake"
+       export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
 
        # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
        # violation with kbuildsycoca as in bug #287067, comment #13.
index 7045c985f01032010eb1ae4a0d3d0580f4eab4ca..8a39e903831b1be9a515e931304c80ed199ad95e 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-2.19.0.ebuild,v 1.1 2015/02/10 08:52:44 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-2.19.0.ebuild,v 1.2 2015/02/12 07:26:43 yngwin Exp $
 
 EAPI=5
 
@@ -142,7 +142,7 @@ src_install() {
        cp "${T}"/{kbuildsycoca,update-mime-database}
        chmod +x "${T}"/{kbuildsycoca,update-mime-database}
 
-       export QMAKE="/usr/lib/qt5/bin/qmake"
+       export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
 
        # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
        # violation with kbuildsycoca as in bug #287067, comment #13.
diff --git a/app-text/calibre/calibre-2.7.0.ebuild b/app-text/calibre/calibre-2.7.0.ebuild
deleted file mode 100644 (file)
index c20e055..0000000
+++ /dev/null
@@ -1,227 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-2.7.0.ebuild,v 1.1 2014/10/24 21:26:21 axs Exp $
-
-EAPI=5
-
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
-
-DESCRIPTION="Ebook management application"
-HOMEPAGE="http://calibre-ebook.com/"
-[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
-SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
-
-LICENSE="
-       GPL-3+
-       GPL-3
-       GPL-2+
-       GPL-2
-       GPL-1+
-       LGPL-3+
-       LGPL-2.1+
-       LGPL-2.1
-       BSD
-       MIT
-       Old-MIT
-       Apache-2.0
-       public-domain
-       || ( Artistic GPL-1+ )
-       CC-BY-3.0
-       OFL-1.1
-       PSF-2
-       unRAR
-"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="+udisks"
-
-# Note, dropped dep on         >=app-text/poppler-0.20.2:=[qt4,xpdf-headers(+)] as #1, its qt5 now, and
-# 2, because repoman blew up when it was there, and my installed copy doesnt seem to link to it.
-
-COMMON_DEPEND="
-       >=app-text/podofo-0.8.2:=
-       >=dev-lang/python-2.7.1:2.7[sqlite,ssl]
-       >=dev-libs/chmlib-0.40:=
-       >=dev-libs/icu-4.4:=
-       dev-libs/glib:2
-       dev-qt/qtcore:5
-       dev-qt/qtgui:5
-       dev-qt/qtwidgets:5
-       >=media-gfx/imagemagick-6.5.9[jpeg,png]
-       media-libs/fontconfig
-       >=media-libs/freetype-2:=
-       >=media-libs/libmtp-1.1.5:=
-       sys-libs/zlib
-       udisks? ( virtual/libudev )
-       x11-libs/libX11
-       x11-libs/libXext
-       x11-libs/libXrender
-       >=dev-python/apsw-3.7.17[python_targets_python2_7(-)]
-       >=dev-python/beautifulsoup-3.0.5:python-2[python_targets_python2_7(-)]
-       dev-python/netifaces[python_targets_python2_7(-)]
-       >=dev-python/dnspython-1.6.0[python_targets_python2_7(-)]
-       >=dev-python/cssselect-0.7.1[python_targets_python2_7(-)]
-       >=dev-python/cssutils-0.9.9[python_targets_python2_7(-)]
-       >=dev-python/dbus-python-0.82.2[python_targets_python2_7(-)]
-       >=dev-python/lxml-3.2.1[python_targets_python2_7(-)]
-       >=dev-python/mechanize-0.1.11[python_targets_python2_7(-)]
-       >=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
-       >=dev-python/PyQt5-5.2.0[gui,svg,webkit,widgets,network,printsupport,python_targets_python2_7(-)]
-       media-fonts/liberation-fonts
-       >=media-libs/libwmf-0.2.8
-       virtual/libusb:1=
-       virtual/python-imaging[python_targets_python2_7(-)]
-       >=x11-misc/xdg-utils-1.0.2-r2"
-
-RDEPEND="${COMMON_DEPEND}
-       udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
-
-DEPEND="${COMMON_DEPEND}
-       >=dev-python/setuptools-0.6_rc5
-       >=virtual/podofo-build-0.8.2"
-
-src_prepare() {
-       # Fix outdated version constant.
-       #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
-       #       -i src/calibre/constants.py || \
-       #       die "sed failed to patch constants.py"
-
-       # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
-       # calls xdg-* (bug #258938).
-       sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-               -e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-               -e "s|PreserveMIMEDefaults():||" \
-               -e "s|xdg-icon-resource install|\\0 --mode user|" \
-               -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
-               -i src/calibre/linux.py || die "sed failed to patch linux.py"
-
-       # Disable unnecessary privilege dropping for bug #287067.
-       sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-               -i setup/install.py || die "sed failed to patch install.py"
-
-       sed -e "/^            self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
-\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
-'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
-'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
-'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
-'-i', 'Makefile'])" \
-               -i setup/extensions.py || die "sed failed to patch extensions.py"
-
-       # use system beautifulsoup, instead of bundled
-       rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py || die "could not remove bundled beautifulsoup"
-       find "${S}" -type f -name \*.py -exec \
-               sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
-               || die "could not sed bundled beautifulsoup out of the source tree"
-
-       # no_updates: do not annoy user with "new version is availible all the time
-       # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
-       # C locale: if LC_ALL=C do not raise an exception when locale cannot be canonicalized
-       epatch \
-               "${FILESDIR}/${PN}-1.34-no_updates_dialog.patch" \
-               "${FILESDIR}/${PN}-disable_plugins.patch"
-}
-
-src_install() {
-       # Bypass kbuildsycoca and update-mime-database in order to
-       # avoid sandbox violations if xdg-mime tries to call them.
-       cat - > "${T}/kbuildsycoca" <<-EOF
-       #!${BASH}
-       echo $0 : $@
-       exit 0
-       EOF
-
-       cp "${T}"/{kbuildsycoca,update-mime-database}
-       chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
-       export QMAKE="/usr/lib/qt5/bin/qmake"
-
-       # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
-       # violation with kbuildsycoca as in bug #287067, comment #13.
-       export -n DISPLAY
-
-       # Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
-       #   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
-       #    return _parse_localename(localename)
-       #  File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
-       #    raise ValueError, 'unknown locale: %s' % localename
-       #ValueError: unknown locale: 46
-       export -n LANGUAGE
-
-       # Bug #295672 - Avoid sandbox violation in ~/.config by forcing
-       # variables to point to our fake temporary $HOME.
-       export HOME="${T}/fake_homedir"
-       export XDG_CONFIG_HOME="${HOME}/.config"
-       export XDG_DATA_HOME="${HOME}/.local/share"
-       export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
-       mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
-
-       tc-export CC CXX
-       # Bug #334243 - respect LDFLAGS when building extensions
-       export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
-       local libdir=$(get_libdir)
-       [[ -n $libdir ]] || die "get_libdir returned an empty string"
-
-       # Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
-       local x
-       for x in /dev/dri/card[0-9] ; do
-               [[ -e ${x} ]] && addpredict ${x}
-       done
-
-       dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
-       PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
-       "${EPREFIX}"/usr/bin/python2.7 setup.py install \
-               --root="${D}" \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/${libdir}" \
-               --staging-root="${ED}usr" \
-               --staging-libdir="${ED}usr/${libdir}" || die
-
-       grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
-               die "failed to fix harcoded \$D in paths"
-
-       # The menu entries end up here due to '--mode user' being added to
-       # xdg-* options in src_prepare.
-       dodir /usr/share/mime/packages
-       chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
-       mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
-               die "failed to register mime types"
-       dodir /usr/share/icons
-       mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
-               die "failed to install icon files"
-
-       domenu "${HOME}"/.local/share/applications/*.desktop ||
-               die "failed to install .desktop menu files"
-
-       find "${ED}"usr/share -type d -empty -delete
-
-       cd "${ED}"/usr/share/calibre/fonts/liberation || die
-       local x
-       for x in * ; do
-               [[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
-               ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
-       done
-
-       einfo "Converting python shebangs"
-       while read -r -d $'\0' ; do
-               local shebang=$(head -n1 "$REPLY")
-               if [[ ${shebang} == "#!"*python* ]] ; then
-                       sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
-                               die "sed failed"
-               fi
-       done < <(find "${ED}" -type f -print0)
-
-       einfo "Compiling python modules"
-       "${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
-               -d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
-
-       newinitd "${FILESDIR}"/calibre-server.init calibre-server
-       newconfd "${FILESDIR}"/calibre-server.conf calibre-server
-}
-
-pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-}
diff --git a/app-text/calibre/calibre-2.9.0.ebuild b/app-text/calibre/calibre-2.9.0.ebuild
deleted file mode 100644 (file)
index d4fb899..0000000
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-2.9.0.ebuild,v 1.2 2014/11/09 13:18:44 yngwin Exp $
-
-EAPI=5
-
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
-
-DESCRIPTION="Ebook management application"
-HOMEPAGE="http://calibre-ebook.com/"
-[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
-SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
-
-LICENSE="
-       GPL-3+
-       GPL-3
-       GPL-2+
-       GPL-2
-       GPL-1+
-       LGPL-3+
-       LGPL-2.1+
-       LGPL-2.1
-       BSD
-       MIT
-       Old-MIT
-       Apache-2.0
-       public-domain
-       || ( Artistic GPL-1+ )
-       CC-BY-3.0
-       OFL-1.1
-       PSF-2
-       unRAR
-"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="+udisks"
-
-# Note, dropped dep on         >=app-text/poppler-0.20.2:=[qt4,xpdf-headers(+)] as #1, its qt5 now, and
-# 2, because repoman blew up when it was there, and my installed copy doesnt seem to link to it.
-
-COMMON_DEPEND="
-       >=app-text/podofo-0.8.2:=
-       >=dev-lang/python-2.7.1:2.7[sqlite,ssl]
-       >=dev-libs/chmlib-0.40:=
-       >=dev-libs/icu-4.4:=
-       dev-libs/glib:2
-       dev-qt/qtcore:5
-       dev-qt/qtgui:5
-       dev-qt/qtwidgets:5
-       >=media-gfx/imagemagick-6.5.9[jpeg,png]
-       media-libs/fontconfig
-       >=media-libs/freetype-2:=
-       >=media-libs/libmtp-1.1.5:=
-       sys-libs/zlib
-       udisks? ( virtual/libudev )
-       x11-libs/libX11
-       x11-libs/libXext
-       x11-libs/libXrender
-       >=dev-python/apsw-3.7.17[python_targets_python2_7(-)]
-       >=dev-python/beautifulsoup-3.0.5:python-2[python_targets_python2_7(-)]
-       dev-python/netifaces[python_targets_python2_7(-)]
-       >=dev-python/dnspython-1.6.0[python_targets_python2_7(-)]
-       >=dev-python/cssselect-0.7.1[python_targets_python2_7(-)]
-       >=dev-python/cssutils-0.9.9[python_targets_python2_7(-)]
-       >=dev-python/dbus-python-0.82.2[python_targets_python2_7(-)]
-       >=dev-python/lxml-3.2.1[python_targets_python2_7(-)]
-       >=dev-python/mechanize-0.1.11[python_targets_python2_7(-)]
-       >=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
-       >=dev-python/PyQt5-5.2.0[gui,svg,webkit,widgets,network,printsupport,python_targets_python2_7(-)]
-       media-fonts/liberation-fonts
-       >=media-libs/libwmf-0.2.8
-       virtual/libusb:1=
-       virtual/python-imaging[python_targets_python2_7(-)]
-       >=x11-misc/xdg-utils-1.0.2-r2"
-
-RDEPEND="${COMMON_DEPEND}
-       udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
-
-DEPEND="${COMMON_DEPEND}
-       >=dev-python/setuptools-0.6_rc5
-       >=virtual/podofo-build-0.8.2"
-
-src_prepare() {
-       # Fix outdated version constant.
-       #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
-       #       -i src/calibre/constants.py || \
-       #       die "sed failed to patch constants.py"
-
-       # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
-       # calls xdg-* (bug #258938).
-       sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-               -e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-               -e "s|PreserveMIMEDefaults():||" \
-               -e "s|xdg-icon-resource install|\\0 --mode user|" \
-               -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
-               -i src/calibre/linux.py || die "sed failed to patch linux.py"
-
-       # Disable unnecessary privilege dropping for bug #287067.
-       sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-               -i setup/install.py || die "sed failed to patch install.py"
-
-       sed -e "/^            self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
-\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
-'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
-'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
-'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
-'-i', 'Makefile'])" \
-               -i setup/extensions.py || die "sed failed to patch extensions.py"
-
-       # use system beautifulsoup, instead of bundled
-       rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \
-               || die "could not remove bundled beautifulsoup"
-       find "${S}" -type f -name \*.py -exec \
-               sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
-               || die "could not sed bundled beautifulsoup out of the source tree"
-
-       # avoid failure of xdg tools to recognize vendor prefix
-       sed -e "s|xdg-icon-resource install|xdg-icon-resource install --novendor|" \
-               -e "s|'xdg-mime', 'install'|'xdg-mime', 'install', '--novendor'|" \
-               -e "s|'xdg-desktop-menu', 'install'|'xdg-desktop-menu', 'install', '--novendor'|" \
-               -i "${S}"/src/calibre/linux.py || die 'sed failed'
-
-       # no_updates: do not annoy user with "new version is availible all the time
-       # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
-       epatch \
-               "${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \
-               "${FILESDIR}/${PN}-disable_plugins.patch"
-}
-
-src_install() {
-       # Bypass kbuildsycoca and update-mime-database in order to
-       # avoid sandbox violations if xdg-mime tries to call them.
-       cat - > "${T}/kbuildsycoca" <<-EOF
-       #!${BASH}
-       echo $0 : $@
-       exit 0
-       EOF
-
-       cp "${T}"/{kbuildsycoca,update-mime-database}
-       chmod +x "${T}"/{kbuildsycoca,update-mime-database}
-
-       export QMAKE="/usr/lib/qt5/bin/qmake"
-
-       # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
-       # violation with kbuildsycoca as in bug #287067, comment #13.
-       export -n DISPLAY
-
-       # Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
-       #   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
-       #    return _parse_localename(localename)
-       #  File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
-       #    raise ValueError, 'unknown locale: %s' % localename
-       #ValueError: unknown locale: 46
-       export -n LANGUAGE
-
-       # Bug #295672 - Avoid sandbox violation in ~/.config by forcing
-       # variables to point to our fake temporary $HOME.
-       export HOME="${T}/fake_homedir"
-       export XDG_CONFIG_HOME="${HOME}/.config"
-       export XDG_DATA_HOME="${HOME}/.local/share"
-       export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
-       mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
-
-       tc-export CC CXX
-       # Bug #334243 - respect LDFLAGS when building extensions
-       export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
-       local libdir=$(get_libdir)
-       [[ -n $libdir ]] || die "get_libdir returned an empty string"
-
-       # Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
-       local x
-       for x in /dev/dri/card[0-9] ; do
-               [[ -e ${x} ]] && addpredict ${x}
-       done
-
-       dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
-       PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
-       "${EPREFIX}"/usr/bin/python2.7 setup.py install \
-               --root="${D}" \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/${libdir}" \
-               --staging-root="${ED}usr" \
-               --staging-libdir="${ED}usr/${libdir}" || die
-
-       grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
-               die "failed to fix harcoded \$D in paths"
-
-       # The menu entries end up here due to '--mode user' being added to
-       # xdg-* options in src_prepare.
-       dodir /usr/share/mime/packages
-       chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
-       mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
-               die "failed to register mime types"
-       dodir /usr/share/icons
-       mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
-               die "failed to install icon files"
-
-       domenu "${HOME}"/.local/share/applications/*.desktop ||
-               die "failed to install .desktop menu files"
-
-       find "${ED}"usr/share -type d -empty -delete
-
-       cd "${ED}"/usr/share/calibre/fonts/liberation || die
-       local x
-       for x in * ; do
-               [[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
-               ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
-       done
-
-       einfo "Converting python shebangs"
-       while read -r -d $'\0' ; do
-               local shebang=$(head -n1 "$REPLY")
-               if [[ ${shebang} == "#!"*python* ]] ; then
-                       sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
-                               die "sed failed"
-               fi
-       done < <(find "${ED}" -type f -print0)
-
-       einfo "Compiling python modules"
-       "${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
-               -d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
-
-       newinitd "${FILESDIR}"/calibre-server.init calibre-server
-       newconfd "${FILESDIR}"/calibre-server.conf calibre-server
-}
-
-pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-}