summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-tv/tvbrowser
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-tv/tvbrowser')
-rw-r--r--media-tv/tvbrowser/Manifest52
-rw-r--r--media-tv/tvbrowser/files/3.4-build.xml.patch150
-rw-r--r--media-tv/tvbrowser/files/3.4-remove-registrykey.patch154
-rw-r--r--media-tv/tvbrowser/files/3.4.1.0-build.xml.patch109
-rw-r--r--media-tv/tvbrowser/files/3.4.1.0-remove-registrykey.patch150
-rw-r--r--media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml480
-rw-r--r--media-tv/tvbrowser/files/tvbrowser-9999-build.xml965
-rw-r--r--media-tv/tvbrowser/metadata.xml8
-rw-r--r--media-tv/tvbrowser/tvbrowser-3.2.1-r1.ebuild169
-rw-r--r--media-tv/tvbrowser/tvbrowser-3.4.1.0.ebuild99
-rw-r--r--media-tv/tvbrowser/tvbrowser-3.4.ebuild98
-rw-r--r--media-tv/tvbrowser/tvbrowser-9999.ebuild175
12 files changed, 2609 insertions, 0 deletions
diff --git a/media-tv/tvbrowser/Manifest b/media-tv/tvbrowser/Manifest
new file mode 100644
index 000000000000..46c4a6bb05e7
--- /dev/null
+++ b/media-tv/tvbrowser/Manifest
@@ -0,0 +1,52 @@
+DIST BeOSthemepack.zip 39412 SHA256 ec2acb46a77f38a9750ede23ab573b2c2773bedd37fa1ac7bbaa0bdc74982574 SHA512 479d9180cf8678cb555a86ecc80d19f0f615f7c2f5807acf550d117cfda44155ca80315f51f67c17799b71f9768e9988919d23bfd38abce0887195f30ecb97c3 WHIRLPOOL 430f961de95389f7b503da63fdb01881dad4a54f4799d99917336eff0b167f11b7d6287bc10618292255a93665e498b04d57e6e40526b8688bd3e09f94ea6959
+DIST amarachthemepack.zip 53700 SHA256 80bbe3df2c3e44f26bb390994e271264bcc71ff581527039bf677fa38df4a547 SHA512 da0a082dea2abccec47137ef1db54a57b1becfbf0fc1b99fe41c0f60c254f1963dfde032bd622d034a3abde4ead1c2aa00f3ea2d872859ad384168ebe8fd1c52 WHIRLPOOL d748b611c12a3dcfb148282cad27626c802f70b260ac20397548625c3803e821ba0fb0d0a0157c53d72462dc8179d03cecc701c22b72da5130690ff42f1db1e1
+DIST aquathemepack.zip 90542 SHA256 eabbfc07a3aa6172145c3786d5ec2abe5185daad358718305e9cd920642b4b01 SHA512 f73c60c0273f796487d04adbc9e6e535a6117f07154b48ad0d41725b50674762fa14b340cf3869167e8eac6f28ddb2e7b0133a0f5ab8fdf548fb7d6419ac9ceb WHIRLPOOL b8bff080331b67a3ebe8eedf5fd854efa95e3155ba5375b8d80ed3ba053ed8fd8de0761b83ae0a2139e47ec852aa0c1eb92a8b9c9df49f3b15b5c25aa52ada1a
+DIST architectBluethemepack.zip 52161 SHA256 4a6cb351ed88e924fb06a35f3e5a7bfbc01013c2464cb8a2edd0f15a9b7bc39b SHA512 67cff378b8b6eb033e61d8b1c1dc689316e4fe80233d7b2f40a1579bd8ae5b04de2797cbdfb2083bf4922594ffa2955ea0f920a9346e0ffc2dbc659cf864e408 WHIRLPOOL a8c89b8500a31e6cb681db11816d4afb49f6eed7c54458359837a8d025a688b62b2ac63b5eb4fa65ec1763f78177912988012c6003d191644b93a0f7d6700218
+DIST architectOlivethemepack.zip 52265 SHA256 eafff0696a2db1ee258448689d945d5720faa8e70877f44fb6c8de9847365693 SHA512 b2dd6cfa4ff0e45e663bb672cb53e58aa954f86b639f761df128c4fdaf9f37d5e9ff2b3f58b3aebe6c763943b69ec56fedda33ce342fe575c4e1ce5e2d6293f7 WHIRLPOOL b0b783d083003d1c6d28449030e951cad88b75731b163fd6cf1c6eccf4ad5454002b19bd312241b6b643c7883b39e593c0accd43fc8a0596f02d006a6d7a05fb
+DIST b0sumiErgothempack.zip 54621 SHA256 fedc7995976f35487a8c7acc2712d993e4a328352494ee8899c58d3ddce885f7 SHA512 6caf37070e214b5ebad3c18f6bf743f04d66b97334f154b698e9e502f56c459c7cf3dbc2101fba61312ca28e35712c0dd27ec64631cb8863b34f9228521955c9 WHIRLPOOL bc644f132025219d3e049f6cefba6bf445ada164b159a75c81d8875038839e4ea30384efea9b77cdffa05e3704bf0415eaae71ef01e3f8a66e1a6ed7f8121051
+DIST b0sumithemepack.zip 53817 SHA256 ba28a68ef1627ed44c67370645601d0a53ace6c9ed23ae139159d923d48ebc3f SHA512 77fca69c714e4f1966ec6a893e1ca990108bd2e967e4ab762445de8c57f6436d83d762c43fbae3d46a5631ced1166a74f4b67742a61b75b65d1f22e18c03360e WHIRLPOOL e556ef033a5e5d6da0727da8185b5e9e80910e7ae5c6be9a60be6d82b73b1bfc2ef6fcc2fd35ffe459d9b240cd036b82f2b22aae58e56e9b9a3ae6dde067cf6b
+DIST bbjthemepack.zip 63397 SHA256 e6d3900a0486c5bd808df5660329505cde601752ee7058fe2e1efe3cdc3a3ea3 SHA512 619787c2449bbecea496565e15ed49d7ca65b7d8a9a0122300c5f397ab921431e495cb7256166a908b82dc48f17dc3c4bfd559805c5c4325fa074c86ac3fac4c WHIRLPOOL acb633297a98e22bdef791304c7405a77a9bcbcd743bae98ce93a341fcdc160dc8b4dcbefcef100675ba2948603e322fd4ee537d8a04b17893556fb122aa4671
+DIST beigeazulthemepack.zip 81543 SHA256 185eae63d028f76923f201209d3fdd39222f9df6a73ee7d19b38a859551432e2 SHA512 7bf5529766f6ff19a8ce2c5ff6e2782d1deead8595efbc6b88a79fd8fa0be8f64e8e023d7997c1d0d8554beccde82e09c118e98bd3532faf63fa3466a15de392 WHIRLPOOL d7be6dbfcb7e89856fb7681b2c63cb6156c4006bbf04459a1a77d08ce880754546f9bf85eb8cd992481f597b2b4f8d52db9f530034b9470c96409437f2969b83
+DIST beosthemepack.zip 22851 SHA256 1a5744c1fdf68e0f6893ef27300de4be57327a532edfe751a808b1ae923815f7 SHA512 f1e49fa793e067c19d25576a4a4b1d18f6d78f7a5377da40c87d1d4829aa185581b75cda533e0bafd49db53f8f41e165be3145eabe4afac23503b42a42a593ff WHIRLPOOL 06b23321efa78375c4724f21a6d46a8d2d5d1595390306d1968bae1f07666c86beea18c137d36b2278b32ac01b0110e7938344addc4e811a8905b7c7eadada84
+DIST blueMetalthemepack.zip 67613 SHA256 205d44aa6a6035480c2e062c4b6876fa73545c45b513ec7bf1ce033cbc13336a SHA512 7b471a6debdb1fe42a4c005c768d2fa534ecf9f292f2ccce5f4e4d1968ccc57299e28e7f3ae9fcfecf032e924e0f3fd5186637d4676bebb80eea29170b5fc6f5 WHIRLPOOL fac2be1e4179850e1ed44d5249d000ac944ab97c690342cd013f7af106b812ea10fe447cb29388fdfc1a73b1f6e1929604e8f66fa444f593bb3c869938de6764
+DIST blueTurquesathemepack.zip 62676 SHA256 c3764fe15785e2aa63a5bd86f60d9d992fa8a52262cbc366d9b612286cf5abc3 SHA512 49be6c67e2e00eca499d92288f2d353971567046497286ab5b9c50c04a15429dcc11a8d35095af5e9f338fd375dd08ebbdba3acacfabef216142ed38d7abb652 WHIRLPOOL f0c58d78b78577c51e6098e888fb5e90688d429cfc7ac8916389d05d9654bbfa3c412e46fca6c691e08279b1ec26efcfd6cb81952990594319a84ba4cbb49da7
+DIST cellshadedthemepack.zip 54354 SHA256 bc2d594a4a4dce63b2db91bec7faa1f60398783fe0d26aed40215c004c6d8a24 SHA512 2d66e9c4dcc97a5e2bfef09d40e41c18ea5f285be5db8b2c62d9a7f1d6fbb51ca82f1ec2e656559bd25a5eddb9521e92ee609663dca612d7e4ba9d62a72a7f08 WHIRLPOOL f6d786ca4da3fd5ce3de53f28853a7758ae5296a681174259a2b057c11af6bbed10a235438e967886f71c71561bb2d7234cee85799bdd2720e8f3cd4d86ec903
+DIST chaNinja-Bluethemepack.zip 77692 SHA256 927bdc98a4cb1b26c5150f40d6e8825f33d34391b6703da8cc14c246dd8e461f SHA512 e2bd79f5ea5413df77f36b38a6922fdf7d55bdc4eb6be044b4ae2de97127d437f771b101e8349d1aef8b3e62a74838c3bce692d54b198691f6b477d882ccadf7 WHIRLPOOL 1c8e92d3d818fd7fa806e2f0d238a54de0afd65e52dac5bb709c065dc1685e0d209ce9660b5b98aa18913aa80284b07508eac7832142f66734ce9e52b015da13
+DIST coronaHthemepack.zip 82406 SHA256 79f1eab6d2c09c66001404bcb562d4db25edddfd142af2763c63fad6e96c775f SHA512 ad5ac7b3cb86f4dde835a880fe5fbca4a389a9b64c6404ace3ac809f1361d9524c298d579fd0de9da950d81cfff7d2cca6ff8fdfc502182d8b0e0d3fb6360898 WHIRLPOOL 20943fd9000a5ad8f654286ffda70f3e86ab9939bdbf2f11dc80b1fc71f51716ad1c98c00819c31f5131809eeb059b027daf9a76c1c9eb6ea4e82cb7362b4bd8
+DIST cougarthemepack.zip 49992 SHA256 d3b2b83ab1f149ee6cafe22e5bdb755ce1f46c68be43bdb989d8e9e63102d037 SHA512 687e776167b50a84863e97c3795280df68f65e1863f9655c5584b24ddf74a4509ac9ad769a3d939b9454c5835b08ea5d586ffbb249bf4307af7025a7a0369014 WHIRLPOOL 9343a2b9af429c15cf13e7a294ae8e9018675c60391f34ac2a0ae79bf82d73aaea2695123efdea6142f90d90729bf528a0e87b2c9266cef5e7ebbc44e3324cc3
+DIST crystal2themepack.zip 58696 SHA256 1b70750575aceca938f24ea7c25dccf4c899cccf926dda6bb4c1d3d8c10e2451 SHA512 875c4964af8fca451131ab2a071de094947528b648deb8aa653dd9a86832224d8ba92e19a22c926204acab7cf3342504ae8f28ba43bb5e911f886facdc4473b7 WHIRLPOOL 6ef37968c8a7aab088529c97592b60eabf2e90fe18def154278ae94498abc0c5950b18530d7fe83bc61e3ec9dc27afbadcd64cc26d596e8ecfd322f18e28eabe
+DIST fatalEthemepack.zip 57391 SHA256 c47933c59b6f55a2decea26b69f536c1d841b207d310c468586597af2659a553 SHA512 5dcf086e509be63a752ddab90e1d2691c194ec46f382f0a454f703694f562404e657ce434fed1cfe9c5760b541e44a71b1c43ce826d917f6f5c424ac1fd0fc1a WHIRLPOOL 436b50d947cdb7062081dab871aa631f019c3708294cd6f4e04c5656f7c1a71801487ae0795de7f837d4d694d7e900f52616db1ec712c28fbe3999b69fca2f89
+DIST gfxOasisthemepack.zip 55859 SHA256 2b9e71141ede87fee8dbef4858c3e707866ab96a1d070cd1745d54da62bf79d2 SHA512 6335fa82c27a92ee188318a4829fa4a50af5b6fafda102096a27239d236eb023ad45d43dcd08533bcc6442298ed323cba4db62278036a9da366a85c3fb73006c WHIRLPOOL 63b4c36ddb28bac1615b4037c1562f5728fe75b80ad136a5545bab44980315f7074ac2ae64d62ef7a43191c5cccf4fee63c45341cd95193c307216981509603e
+DIST gorillathemepack.zip 43281 SHA256 f508880ab9610fde40b187a14844c52f11197e331b98506a536b27733756cc60 SHA512 cbc53c8ad1ea8cda40bf1ff43d92da9890831e8d25945c0930bcadcf298e7640bb3d55511d5065e360a03c864db313dd602911ec25e8b8169d74b797d0a6263a WHIRLPOOL 0362893ac81e0c3493e0fdcd86f0dc12739d07a8ebee9c5beea4fb4947bd8baf5c69f2ae2d57d102df8a52fff4fd8ac930a0a9482a2f9b2e75320a257e19eb11
+DIST hmmXPBluethemepack.zip 40046 SHA256 42c18247445e3d6624b326cee90a81e1977891c8e580b649033a295585a72102 SHA512 1f0dc4d22171cb2430a5e7a1827262fa4b2530d6230b893e94d52933a94656392200047849fde652dee004303811d308ce98d95994c6580b26a4ed50915e42f8 WHIRLPOOL c8d39856fd4baf82fed262a0e479d2a2d4829e3d999dd5c0e8e12a53f74660df427deb9adbda6a4547a819a6f979c98c36841209153c057677d0fe9b9a78e7ea
+DIST hmmXPMonoBluethemepack.zip 39815 SHA256 7886dcc91c0d692c3d80b0016f89724187a8a90e70d59bfb6c64d9506ece77cb SHA512 4d8fd6f445234f8f1f50ec6a77dbef6d86521d910bc8ff54afba340d82a5a39b9227ec33e6889745c9ad6f607d023375ab3a2e7b97cc41744f4066209f0ac03a WHIRLPOOL 448fb99e9405cbe08c6d9b762e2ee1f0f07d87975ce74a2fffb6901fcf279a8a6ab5fa5486a11d1cf5e99a25ee6921013ec5608538f54653158b7a2e191b2cb6
+DIST iBarthemepack.zip 68829 SHA256 acf46246336007f161dd396cc92ff17927dc45991ffb8a54c24620493ed65b6b SHA512 c4a5d3921cba2980dd147d62ec4db9aee44b7be35af3c5a50adfbb861edd95ed61655b31346e51efa1b087f04891890ed44597c456cd7fd3704f8605375733d2 WHIRLPOOL 1fccd783da812cf88f9d8eca380639287af9c3ee9f30e03943a77d0764bcb0c785df7d6b2513cd57dd012dd55e217bbc59a6005669ee1c35ba36d846fb966ca9
+DIST macosthemepack.zip 38584 SHA256 3876e6adffff030bb5dc605c80632cfb3518f8f8d6d3540776c74c2662b14e17 SHA512 53dccdaacdcc277d9ae2464a85d285f7ea740d49e0464212b4089f0ce6f08ccb69b295bf9ac4bf8c324cef2f4cedce1b3dcc8e7cde9b0a510860c9071abbc191 WHIRLPOOL a1b81763dd71be046f39a07ee7e7e105f23458ad605af45ff93f725013a4a0907211ea57debecc1a93ccc3f0d2dd852516ccc975b694962d970646400a0b578c
+DIST midnightthemepack.zip 44585 SHA256 b3517806229fabcf5872da7acbe3d0878a710e4cee63908423a384bf5b4f8eed SHA512 be59dec17246aac30fd767de4e0d21fd467e17cc1f4ac8080e1b63d2d2e0d5e70424d0bd1e5b6be53d09167ff4c6af848807682c8bd514cdc7d879d13e96bfc2 WHIRLPOOL 9cb41da825560cbf884fd1906a55e43d1c96ae7f650d576fc4faea1e483ee4442c72588ce94c5ddd5ba0bdea3341141cfec05b4262936f5813609a49a6aa127a
+DIST mmMagra-Xthemepack.zip 76329 SHA256 e6c4062797568f4a1667974529e17d9c50ebc1a1fbcc826f0f536eaf4919ac34 SHA512 17838f010083298bdf652177c601ee73d2dfdc0661f03999992eefe2382302ad033a8e284c093d3a93698869a2e5e5617659618ba44e5b342cfb882bdd4282b0 WHIRLPOOL 0f71e67060a62b4c8bd5b4bb8a4899be48facc436976fdb24f2d90154c9223154a69188c0d97d1dc3a2efee138b83a496eea4270762de8feb1afa1ef02a10dc2
+DIST modernthemepack.zip 97490 SHA256 1b64d58c6ef0b00e3b7128bb242ae80da14977f7d54ef24b09102aa212b2ac70 SHA512 607df1e04b58dbdded89ec673b25046d254e49698c450e57dba43b6dad235e96b1521a5b604834626daa75b9922027dc985ffdf902216ffbe66f279258dc4caa WHIRLPOOL 5d823097b5a4b7a5287c0f2876c86641ca06a61f0cdc93023b44e1e0c9f3f999997535cdc65df3ac2c16bb924bdde76a48f54510b1aa2c95c434e954e8b967d1
+DIST noia.zip 174721 SHA256 bd6236c8c8cb7c38d667904130417927a154c4201b5373b65260466083fb7a7d SHA512 f883bcc8e8242b74a32252b1fcf2a87e4329b756eb52b0137b286cc7e766f5aebea31743cf7c95376034655c3f36fe81882be8cd0caa873dc99dbe2b18ebaa1f WHIRLPOOL 92700a98bfac5211e49d597aa533fc6c6db7d44c7b8c1745e4ebe082fd4ea810a6c29df0f37a42d29f063e0eaf8ca6b2dadc8c33434bfd72a2a7e8a07acaa872
+DIST nuvola.zip 286612 SHA256 8ac40d72387663961062d09dbc749f2b2a865aebca8243bf94cb8d5101e9e894 SHA512 db47fbaf0f3eb1cb3613c4e5878c98f7fcb4c9db7fccd65d0e443debaf7de6b98bf5a03510e6f6fc6bcd071ec0c814a39aba42c09b8ba29ca26ebb630d5e7a3e WHIRLPOOL 0150f8a396d08d524cec59dbb28521b4d7c077db65989c4dd63b6aa1fedbdf9661eb408329b81603be47cc0ecb2b46218c30025f80b8fd4be4a4bf517bd04c06
+DIST oliveGreenLunaXPthemepack.zip 62509 SHA256 bd71c50b464a5778a3af4c7c0eec18d6917b378a960b1ba7d31dfa272d13ab49 SHA512 0fc245c02907fdf0984963d77e2da47dcb7c5d54fd2f68f893759ebc9ceb8702267325373edce3def03e96c695965df6946ddcf3d58f144e20a51d52307d4024 WHIRLPOOL 29ef223d3ca76df2f00ed6ac05901e604e1687db125f2d72eb1f364abf8949846a445b61b0301ec7386e363ab1943d5c9e0e70e152c70351e4d1d689e79aa42e
+DIST opusLunaSilverthemepack.zip 55716 SHA256 c1e1e77e1f9bc328a5b472c522fc3c3daf69e6e86ced280cda57283a065f1bdc SHA512 4701d500aca71ff0524a463731a266a306db5bf3127d40143478fbe239039d0cd38b3765bd42037ade2a14e55e79f5d2de47902042ded385e7b4016228315a0a WHIRLPOOL fbd0a6108de8eba157cea391934faeb0bef04f053101114bd48f5e86835b737f647f2e6e92de630da18499349acd96daa2787771a7bf60fc6ae52f0509695061
+DIST opusOSBluethemepack.zip 56227 SHA256 bea825716bfb76959a33607b4e7894a5ac1b09a0ca2e505e8441ba892f5fefcf SHA512 f1aa79ee4d6c1ce8efe19be3c275851bb3588e71961fe3f3b1cf3bf013ab1e80f55fb6a62e475a6a92864b25db0f646fa2d44490c66403c387df9f2468d9f3b6 WHIRLPOOL b1314b333fb931c41f50e486f1f359a7ef38ed265381a4f4260c8f0f2e3d2c9041d53beb18121a8044f38daedd5faa1ac63b576cc9608c47f4612d864d2b6e45
+DIST opusOSDeepthemepack.zip 56418 SHA256 527ad7ae50992b2dbb52217658c03cb855451dd7731b0b71bbc16eabd0a503df SHA512 3b89a6fadcd10e4be8be5f0d1fc5c0f54d0904dd462f1aa3284717b841296a19f2985faf79333091f59de45567ed77114ee6fb8039a3047d0c16f26e19af2ed9 WHIRLPOOL 0f4edcc40a4a1cd90c00cc134679fc3be77b3bf3a527162792e79a7be8790eac0456bc9137f11be67e4a1422e920efe847481015bbbaf147c2409096a60555f3
+DIST opusOSOlivethemepack.zip 55758 SHA256 a1d9e1ef4f0047151a7966eb19b2b0721ccbe5cc31de378b0081ac787b348e92 SHA512 9b60f6af405653a97ba959ca1fedd2b0f16e704f7b027d5999dbdc6331c28a217adbf041cc55499ad2b7f1e3c3e466afd5491a761a9f0f20bcb19612dcb43549 WHIRLPOOL ff8f9fe290d2b1e8213f8c373ca623ea32f1fed5a824c64e5f859284954c4e04e44aec8e63b7ba84819cffed4b0ecd87147f3379c538ee1f5961adc84499aada
+DIST quickSilverRthemepack.zip 75812 SHA256 4e6c4597a56d4a75daf17b94717792ea0e3ad4eeeb0f3c6fc154c80d38ae7a4e SHA512 8cb111da5da83a37bdef84f4219416dfc6b3c58c5713ac36c364d720474978c9605ae99682b5bced884978b3cb303e4682f12ffd9b490f2888e31f25665b9a91 WHIRLPOOL c9204f627e3cd88dab303d8ee13e82929c0851367aebd27b7c5f67a2169c98bd5f204b4f9993714821b40f81a442f37def3577acb4b83241b6f99d56f841e11d
+DIST roueBluethemepack.zip 48959 SHA256 9514431ae6a4ecf8ad6621b00ff01b583a46efe570c4309e13c26750fa4e0035 SHA512 807012473bb25024856178a8b7fa00628b1514065184ef1c5b88f57528fcc448bc6f4969cf3b8c2a318c6e139fecdccf6b62d32ceace4344a72be3242e3d7bd3 WHIRLPOOL 627a743da69f6f7bd2365cd431574cff66210204843edf1b79d20eb4bf91bfc32f4f7d85d95bf8aabebeddb82639bdf20a8ab501d49837cca7e061fc683bcfd0
+DIST roueBrownthemepack.zip 49043 SHA256 f6c02ae51aa197cc43db9a1854da54e24efdb590c254a259cc1844ce1a0ead79 SHA512 84e3f6c6a37a687aad1c0c78a61631ee8fa08f9b3d539e619400e7f1d8bf2f07bc946a39bbc6b4d654131e8b31a3159b7ecd60fa6bb772e4579eaef4700e2d0a WHIRLPOOL 33e2e7e61bea66e816a700b882c5e1e365c8af60f9997bd52df839b15f3ca634b9377b479e96da3815d544b6e621fe52e5c2d9b33a04fd5e8df871e5cce501e4
+DIST roueGreenthemepack.zip 48957 SHA256 87402bf8f7b508e6be51bf0305a9ad3bcdc5e3c311149bb2db2d66b3c19782e8 SHA512 ba302cf75c387e7e01462ce2b65ca490ee68ae79fa4e1aaf100396bfc24ceac556248acc2828cde6489f9ddd2c738482f7cf763a39df820f34ede1d562045bbb WHIRLPOOL 6d9a378b12a8f38d7a66dcb1f7a7541db0446f54722581c9dd4fe704910b76454bcc785065675059222966cabd9ee0a589db1c695ebf0e40490ffd68f49a9d3a
+DIST royalInspiratthemepack.zip 50579 SHA256 fcc9bdb217c78d22fed169e8c3686a652afeff8b46a845832709bea13270eb02 SHA512 69b6ce41595b5325850a0d2930e714b568871bf4c237aeb6361a4b7dc7d842c5b5eb30cfabe42662b8decf8e0101816c932730e32291ba606ce18d7cb9e71cac WHIRLPOOL e41c0ee12bc9f9327049a7dbcfd1b56cf5eed2544286e65cbe77237e769b3f55fbf19b716e0364107afea094c5347d989d4f039431c0f89a75dbcb1524a9d781
+DIST silverLunaXPthemepack.zip 54618 SHA256 f53cfa989a023b28337a7794956746de2aae81ab43784360db18b73c29197d52 SHA512 2949b849c50adf7f07ecc6e208d31fc9417ebb3e4dd79b4508616440d9a2e408d7b899f51e3dbe69bb754a335fa45ae6ca5e79c19353bb759f3eb79608f663c0 WHIRLPOOL f4e97bb78b0445a38b83ab4d55412b8afaf55de51a80118ef1bb24e5a330729f8c4643592f7b3c6f1c07029c8fddbcf99e1bc05515252cca923c8d0fc702a573
+DIST solunaRthemepack.zip 59579 SHA256 49a561c657223de888dd390c2011edb1fac1dc6a95543ffc41f70c0fe015a9d8 SHA512 1082c24b1cfa881e03c7c3a398c2dfe3260459118763dd461cdfc09d11b16107f252b62ba56714acf897b8f3c2399478e5362b0d13f7dbeee7f809d0a76a2eb8 WHIRLPOOL 232419fb5258b01f6e92466e993bc5106dc08164b7af006e59411693e9a3a8ba71a2d97967bac0e1eb9f7335b05c04aa3ae70d2d01c92c5a6bb08e16dbeb53b6
+DIST tango_without_heart.zip 217125 SHA256 6c7fce9223d1827bea881c2b9901d0e5c8a111e09ebab6e45ec0a9d70b07e9a6 SHA512 03ba432c84b58acb1f488ef9d5fafef3523188948696fd9a8b707be55210db90d227d18f09999d43975a834dabdb89d939328cbef564ba05cf162271dee4fc7b WHIRLPOOL f37427d27b07bdf3c4a2b2e2b5dca44202a84d2461bb43174828c3892a220fb40c445c1ee9cac042b650ea26788f6f9339ad509ba10cefe0cab20162add1fdf0
+DIST tigerGraphitethemepack.zip 75611 SHA256 94d2b4978686158a421122dec73b385725b21408c0941984b6f37677c965fb35 SHA512 6b40a4f920f2ce1e63d365a0f56ab6babe280a6d4da193b39262d677f0cb3c92ceb98da84acf7aa9e94eab0e8bf0cc607ad48fe4a77e1976007479125b75ed5d WHIRLPOOL 70b22222cfc70773c361b658510477e44947be68d785867b445799bade497ee9a172b0099f04c62996e96f59af372a807d8d10b1993496fb1e33ef56e6579437
+DIST tigerthemepack.zip 77856 SHA256 55002367d55ffe7953e5e059d9357ce6d9111bbba303532b91263ca7ec69dbf5 SHA512 7d6fb04f2f69f97eab7b5b58fd3e3df421b015dd0a49a426c00458c0e17d7add84a389304cf850511ffe637d6e37c6b759d8dcd39091c03049d5cc4da085a991 WHIRLPOOL 4bc4bae43bd8236cdd8a64b85d7be0e91df48b7133b924d4d14458cf62ecfd162dc61cbbdb60f5a70f11f6e2891a977d9ed8a89b064d7d6af794cab8c63b64a5
+DIST toxicthemepack.zip 68233 SHA256 a3d6c2311f8a35381c8aa3ac9b7bead5ba81b00a47d4e4bd27b5e38de6322600 SHA512 350f091bd67b2c78a4c69936bce9d7f922c1b57f3711f173d4763856a6f60ba0f284a3cb63fbfe810381d6ea6d21afe14fec13fb6e2efb526c28d1d79501bf02 WHIRLPOOL 3b0bb5d288714014d6635cb6fe86fdb284d80698f95eb750c7fbd86b7de611f08fc59a7d656e1ed5a64b15e8e11401e24af0dcda3d53de14af2368085de04007
+DIST tulliana.zip 258520 SHA256 d9a7670c3933757f58bc6913433b6f00e984c0cbff17eaf59076d951ac195a88 SHA512 96ae1835892763e70dd02b2739837063a57318b32a106556415037e8e0688db4d8caa9e7c50495ad6dbfc6ed9499b08af10956c164f5435bde2942b90ddb291a WHIRLPOOL 57e2052bca12b0fcb7eb889d6b51d775d74a6f4cd3cd1b638ffd06fb74a3336e26a7c6626ddcbcd204342d1c7f71614cdc8247a4aa245f17eef9997075be5135
+DIST tvbrowser_3.2.1_src.zip 17580308 SHA256 21edb1920d0603465caaa970c879b3fb19b56e485053555e54c694c80e8b2c8f SHA512 7ad27e0f0a3471fa9c1a7ceaba8896079295b3bbc757dc56f93391bb34a8802220cc4269776d1a18330e53482bc1255d1467d68a63ef2c42596af60d52983bbe WHIRLPOOL 0cb639119e88dec53484d562d6f68f0bfdd43c30f5b90a5b636f6702e1b8949c753f0df7e8f79f228163395901df30da9edac2b7c3c193af487b19f04ae43cb5
+DIST tvbrowser_3.4.1.0_src.zip 14256785 SHA256 e9079d4bb8a2b823770c3590662fa5bf9575b3ab7985201faa17dba01130248d SHA512 ec95898449209863ecb800db8395436be8946c30947ef25075caebe03db27c0393451a25f123d99b5d1ed82638920fa5102d4c1b16ddfdd9fd316f19de75d07a WHIRLPOOL aea5673ef79c0d962e01176ad59fa5174529d87db9efed044c85400df6d6897ce4053a0514e03e1a4bf01dac63a76d62206c0cbd4fec3dddb7b1dc4228fca6db
+DIST tvbrowser_3.4_src.zip 13991299 SHA256 841065b189c027074e94a44df4bd3e9e87a4bc5b21e73245715255dd68876bc9 SHA512 9bd3e510805714bde1474fbb2e76353d801962f309933d666ad489fd5d6a50c5dfbeb4a8a037a253153fd89172bb89ad0b008418b4cac837d04c16012e909ef9 WHIRLPOOL 87e1d4c60501cc63db9cebc9ffcb35abdb689c0fa6006eae8bb2b32e4f840cb84820b6d65168935be974c1b9799ad7ba56835d185bdea635c643c8e54ea0a405
+DIST underlingthemepack.zip 59786 SHA256 67dfd8757162dce375e02c250403a7184b64fbd1c1eb754a11373467ff96eb44 SHA512 d123c6ddb8db820a6d825e36433d31505b88e5e5578d0e368d639c3817893e9300d85bcd7a16a7a7329e962bf87919fad250d87e3759ceb32db6ffc1d6290c0a WHIRLPOOL 15bcccc7704389dfdde629dee895ecb37ac56ae89680b3e8629fd8539fef0a0c9218cdfa4969b2a1b8c841e4b3b5f0164e6cec395f43ab9c3c409ba5bc6b4f8c
+DIST whistlerthemepack.zip 32206 SHA256 0d8e5fab4cc148d35610f11061ddc7cd8eb23116919d99c8c673c1956ae6711e SHA512 1d9969fa436b7065db57f06ccd6ffb6b3c395a3ca4f976b9eb69445de9f63bfb55755e832269b3192365b5c30fb953998ca95d2b16e7c8bd06d78d8a42703a3c WHIRLPOOL 2724a0d005876a976a701c69509b701957edabd919b6e3d1a2cdfce1827a9a198de64a3f402af79004dee5db212f3732dde4e799d3e5016bcc95f993c18be362
+DIST xplunathemepack.zip 63343 SHA256 c8a2328597e0b05866919a2c925baf39dad294d1feade9d28cf4cf01722b95ee SHA512 79698db5fc4dfdcf85d96f595227679c4bc593d7f8e89923a3af0243ebeb0cb0a101bc48821f37f736298406c564f0332ab7eed5748a4efb092acd95827b4a06 WHIRLPOOL 784531315de55bb917b9451b0c9dd84f8a6a297594f8742743ed64a3702d9833c83104b422874c972e1d92b8a971ddaf2ac4bd8670054e40c2c908a8eb2bbe72
diff --git a/media-tv/tvbrowser/files/3.4-build.xml.patch b/media-tv/tvbrowser/files/3.4-build.xml.patch
new file mode 100644
index 000000000000..a1d6db698d22
--- /dev/null
+++ b/media-tv/tvbrowser/files/3.4-build.xml.patch
@@ -0,0 +1,150 @@
+diff --git a/tvbrowser-3.4/build.xml b/tvbrowser-3.4/build.xml
+index 2073823..615f576 100644
+--- a/tvbrowser-3.4/build.xml
++++ b/tvbrowser-3.4/build.xml
+@@ -104,31 +104,6 @@
+ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+- <!-- Creates an .app file for Mac OS X (http://informagen.com/JarBundler/) -->
+- <taskdef name="jarbundler"
+- classpath="deployment/macosx/jarbundler-2.0.0.jar"
+- classname="net.sourceforge.jarbundler.JarBundler" />
+-
+- <!-- Creates a Windows Executable using launch4j (http://launch4j.sf.net) -->
+- <taskdef name="launch4j"
+- classname="net.sf.launch4j.ant.Launch4jTask"
+- classpath="${deployment.dir}/win/launch4j/launch4j.jar:${deployment.dir}/win/launch4j/lib/xstream.jar" />
+-
+- <!-- Creates a linux desktopEntry-->
+- <taskdef name="desktopEntry"
+- classname="com.googlecode.ant_deb_task.DesktopEntry"
+- classpathref="ant-deb.classpath"/>
+-
+- <!-- Creates an Ubuntu package-->
+- <taskdef name="deb"
+- classname="com.googlecode.ant_deb_task.Deb"
+- classpathref="ant-deb.classpath"/>
+-
+- <!-- Creates a RedHad package-->
+- <taskdef name="rrpm"
+- classname="org.redline_rpm.RedlineTask"
+- classpathref="ant-rpm.classpath"/>
+-
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ |
+ | Display all targets
+@@ -304,6 +279,7 @@
+ <echo message="Creating the jars ..."/>
+
+ <!-- Extract the libraries for the tvbrowser.jar into the temp.dir -->
++ <!--
+ <unjar src="${lib.dir}/${lib.skinlf.name}-${lib.skinlf.version}.jar" dest="${unpacked.dir}/${lib.skinlf.name}.jar"/>
+ <unjar src="${lib.dir}/${lib.bsh.name}-${lib.bsh.version}.jar" dest="${unpacked.dir}/${lib.bsh.name}.jar"/>
+ <unjar src="${lib.dir}/${lib.jgoodies-common.name}-${lib.jgoodies-common.version}.jar" dest="${unpacked.dir}/${lib.jgoodies-common.name}.jar"/>
+@@ -318,6 +294,7 @@
+ <unjar src="${lib.dir}/${lib.texhyphj.name}-${lib.texhyphj.version}.jar" dest="${unpacked.dir}/${lib.texhyphj.name}.jar" />
+ <unjar src="${lib.dir}/${lib.substance.name}-${lib.substance.version}.jar" dest="${unpacked.dir}/${lib.substance.name}.jar" />
+ <unjar src="${lib.dir}/${lib.trident.name}-${lib.trident.version}.jar" dest="${unpacked.dir}/${lib.trident.name}.jar" />
++ -->
+
+ <!-- Pack the tvbrowser.jar -->
+ <jar jarfile="${tvbrowser-default.runtime.dir}/tvbrowser.jar"
+@@ -333,6 +310,7 @@
+ <fileset dir="${classes.dir}" includes="util/**"/>
+ <fileset dir="${classes.dir}" includes="com/**"/>
+ <fileset dir="${classes.dir}/imgs" includes="splash.png"/>
++ <!--
+ <fileset dir="${unpacked.dir}/${lib.skinlf.name}.jar" includes="com/**"/>
+ <fileset dir="${unpacked.dir}/${lib.skinlf.name}.jar" includes="org/**"/>
+ <fileset dir="${unpacked.dir}/${lib.bsh.name}.jar" includes="bsh/**"/>
+@@ -348,6 +326,7 @@
+ <fileset dir="${unpacked.dir}/${lib.texhyphj.name}.jar" includes="net/**"/>
+ <fileset dir="${unpacked.dir}/${lib.substance.name}.jar" includes="org/**"/>
+ <fileset dir="${unpacked.dir}/${lib.trident.name}.jar" includes="org/**"/>
++ -->
+ </jar>
+
+ <!-- Copy the other stuff -->
+@@ -406,8 +385,9 @@
+
+ <!-- Extract the libraries for the tvbrowser.jar into the temp.dir -->
+ <mkdir dir="${unpacked.dir}/${lib.commons.net.name}.jar"/>
++ <!--
+ <unjar src="${lib.dir}/${lib.commons.net.name}-${lib.commons.net.version}.jar" dest="${unpacked.dir}/${lib.commons.net.name}.jar"/>
+-
++-->
+ </target>
+
+
+@@ -446,7 +426,7 @@
+
+ <!-- Creates the runtime folder for the Mac platform -->
+ <target name="runtime-mac" depends="clean-mac, make-mac, runtime, test">
+-
++<!--
+ <delete dir="${tvbrowser-mac.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-mac.runtime.dir}"/>
+
+@@ -477,11 +457,12 @@
+ <copy todir="${tvbrowser-mac.runtime.dir}/TV-Browser.app/Contents/Resources">
+ <fileset dir="${deployment.dir}" includes="osx.properties"/>
+ </copy>
+-
++-->
+ </target>
+
+ <!-- Creates the desktop entry file for Linux platforms -->
+ <target name="tvbrowser-desktop-entry">
++ <!--
+ <desktopEntry
+ toFile="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop"
+ name="TV-Browser"
+@@ -498,10 +479,12 @@
+ <comment lang="de" value="Anpassbare und einfach zu benutzende TV-Zeitschrift - geschrieben in Java"/>
+ </desktopEntry>
+ <echo file="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" append="true">StartupWMClass=tvbrowser-TVBrowser</echo>
++ -->
+ </target>
+
+ <!-- Creates the desktop entry file for Ubuntu platform -->
+ <target name="tvbrowser-desktop-entry-deb">
++ <!--
+ <desktopEntry
+ toFile="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop"
+ name="${programname}"
+@@ -518,6 +501,7 @@
+ <comment lang="de" value="Anpassbare und einfach zu benutzende TV-Zeitschrift - geschrieben in Java"/>
+ </desktopEntry>
+ <echo file="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" append="true">StartupWMClass=tvbrowser-TVBrowser</echo>
++ -->
+ </target>
+
+ <!-- Creates the runtime folder for linux platforms -->
+@@ -673,6 +657,7 @@
+
+ <!-- Creates the windows exe file -->
+ <target name="exe" depends="runtime-win">
++ <!--
+ <launch4j configFile="${deployment.dir}/win/launch4j/tvbrowser.xml"
+ fileversion="${tvbrowser.version.file}"
+ productversion="${tvbrowser.version.file}"
+@@ -683,15 +668,18 @@
+ productversion="${tvbrowser.version.file}"
+ txtfileversion="${tvbrowser.version}"
+ txtproductversion="${tvbrowser.version}"/>
++ -->
+ </target>
+
+ <!-- Creates the windows transportable exe file -->
+ <target name="transportable-exe" depends="runtime-transportable">
++ <!--
+ <launch4j configFile="${deployment.dir}/win/launch4j/tvbrowser-transportable.xml"
+ fileversion="${tvbrowser.version.file}"
+ productversion="${tvbrowser.version.file}"
+ txtfileversion="${tvbrowser.version}"
+ txtproductversion="${tvbrowser.version}"/>
++ -->
+ </target>
+
+ <!-- Creates the release binaries (.exe installer) for windows platforms -->
diff --git a/media-tv/tvbrowser/files/3.4-remove-registrykey.patch b/media-tv/tvbrowser/files/3.4-remove-registrykey.patch
new file mode 100644
index 000000000000..e886aaf22d1f
--- /dev/null
+++ b/media-tv/tvbrowser/files/3.4-remove-registrykey.patch
@@ -0,0 +1,154 @@
+diff --git a/tvbrowser-3.4/src/tvbrowser/TVBrowser.java b/tvbrowser-3.4/src/tvbrowser/TVBrowser.java
+index 1aaedb5..51558be 100644
+--- a/tvbrowser-3.4/src/tvbrowser/TVBrowser.java
++++ b/tvbrowser-3.4/src/tvbrowser/TVBrowser.java
+@@ -113,9 +113,6 @@ import util.ui.Localizer;
+ import util.ui.UIThreadRunner;
+ import util.ui.UiUtilities;
+ import util.ui.textcomponentpopup.TextComponentPopupEventQueue;
+-import ca.beq.util.win32.registry.RegistryKey;
+-import ca.beq.util.win32.registry.RegistryValue;
+-import ca.beq.util.win32.registry.RootKey;
+
+ import com.jgoodies.looks.LookUtils;
+ import com.l2fprod.gui.plaf.skin.SkinLookAndFeel;
+@@ -575,77 +572,6 @@ public class TVBrowser {
+ public void run() {
+ ChannelList.completeChannelLoading();
+ initializeAutomaticDownload();
+- if (Launch.isOsWindowsNtBranch()) {
+- try {
+- RegistryKey desktopSettings = new RegistryKey(
+- RootKey.HKEY_CURRENT_USER, "Control Panel\\Desktop");
+- RegistryValue autoEnd = desktopSettings
+- .getValue("AutoEndTasks");
+-
+- if (autoEnd.getData().equals("1")) {
+- RegistryValue killWait = desktopSettings
+- .getValue("WaitToKillAppTimeout");
+-
+- int i = Integer.parseInt(killWait.getData().toString());
+-
+- if (i < 5000) {
+- JOptionPane pane = new JOptionPane();
+-
+- String cancel = mLocalizer.msg("registryCancel",
+- "Close TV-Browser");
+- String dontDoIt = mLocalizer.msg("registryJumpOver",
+- "Not this time");
+-
+- pane.setOptions(new String[] {
+- Localizer.getLocalization(Localizer.I18N_OK), dontDoIt,
+- cancel });
+- pane.setOptionType(JOptionPane.YES_NO_CANCEL_OPTION);
+- pane.setMessageType(JOptionPane.WARNING_MESSAGE);
+- pane
+- .setMessage(mLocalizer
+- .msg(
+- "registryWarning",
+- "The fast shutdown of Windows is activated.\nThe timeout to wait for before Windows is closing an application is too short,\nto give TV-Browser enough time to save all settings.\n\nThe setting hasn't the default value. It was changed by a tool or by you.\nTV-Browser will now try to change the timeout.\n\nIf you don't want to change this timeout select 'Not this time' or 'Close TV-Browser'."));
+-
+- pane.setInitialValue(mLocalizer.msg("registryCancel",
+- "Close TV-Browser"));
+-
+- JDialog d = pane.createDialog(UiUtilities
+- .getLastModalChildOf(mainFrame), UIManager
+- .getString("OptionPane.messageDialogTitle"));
+- d.setModal(true);
+- UiUtilities.centerAndShow(d);
+-
+- if (pane.getValue() == null
+- || pane.getValue().equals(cancel)) {
+- mainFrame.quit();
+- } else if (!pane.getValue().equals(dontDoIt)) {
+- try {
+- killWait.setData("5000");
+- desktopSettings.setValue(killWait);
+- JOptionPane
+- .showMessageDialog(
+- UiUtilities.getLastModalChildOf(mainFrame),
+- mLocalizer
+- .msg("registryChanged",
+- "The timeout was changed successfully.\nPlease reboot Windows!"));
+- } catch (Exception registySetting) {
+- JOptionPane
+- .showMessageDialog(
+- UiUtilities.getLastModalChildOf(mainFrame),
+- mLocalizer
+- .msg(
+- "registryNotChanged",
+- "<html>The Registry value couldn't be changed. Maybe you haven't the right to do it.<br>If it is so contact you Administrator and let him do it for you.<br><br><b><Attention:/b> The following description is for experts. If you change or delete the wrong value in the Registry you could destroy your Windows installation.<br><br>To get no warning on TV-Browser start the Registry value <b>WaitToKillAppTimeout</b> in the Registry path<br><b>HKEY_CURRENT_USER\\Control Panel\\Desktop</b> have to be at least <b>5000</b> or the value for <b>AutoEndTasks</b> in the same path have to be <b>0</b>.</html>"),
+- Localizer.getLocalization(Localizer.I18N_ERROR),
+- JOptionPane.ERROR_MESSAGE);
+- }
+- }
+- }
+- }
+- } catch (Throwable registry) {
+- }
+- }
+
+ if (currentVersion != null
+ && currentVersion.compareTo(new Version(2, 71, false)) < 0) {
+diff --git a/tvbrowser-3.4/src/tvbrowser/ui/settings/StartupSettingsTab.java b/tvbrowser-3.4/src/tvbrowser/ui/settings/StartupSettingsTab.java
+index fa90661..fe13256 100644
+--- a/tvbrowser-3.4/src/tvbrowser/ui/settings/StartupSettingsTab.java
++++ b/tvbrowser-3.4/src/tvbrowser/ui/settings/StartupSettingsTab.java
+@@ -50,8 +50,6 @@ import tvbrowser.ui.mainframe.MainFrame;
+ import tvbrowser.ui.mainframe.PeriodItem;
+ import util.ui.Localizer;
+ import util.ui.UiUtilities;
+-import ca.beq.util.win32.registry.RegistryKey;
+-import ca.beq.util.win32.registry.RootKey;
+
+ import com.jgoodies.forms.builder.PanelBuilder;
+ import com.jgoodies.forms.factories.Borders;
+@@ -163,41 +161,6 @@ public class StartupSettingsTab implements devplugin.SettingsTab {
+ .getBoolean());
+ mSettingsPn.add(mShowStartScreenChB, cc.xy(2, ++y));
+
+- if (System.getProperty("os.name").toLowerCase().startsWith("windows") && !TVBrowser.isTransportable()) {
+- layout.insertRow(++y, RowSpec.decode("1dlu"));
+- layout.insertRow(++y, RowSpec.decode("pref"));
+-
+- try {
+- RegistryKey shellFolders = new RegistryKey(RootKey.HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders");
+- String path = shellFolders.getValue("Startup").getData().toString();
+-
+- if(path == null || path.length() < 1 || !(new File(path)).isDirectory()) {
+- throw new Exception();
+- }
+-
+- mLinkFileFile = new File(path,"TV-Browser.url");
+-
+- try {
+- mLinkFile = new LinkFile(mLinkFileFile);
+-
+- if(mLinkFileFile.isFile()) {
+- try {
+- if (!mLinkFile.hasTarget((new File("tvbrowser.exe")).getAbsoluteFile())) {
+- createLink(mLinkFile);
+- }
+- }catch(Exception linkException) {
+- mLinkFileFile.delete();
+- }
+- }
+- }catch(FileNotFoundException fe) {}
+-
+- mAutostartWithWindows = new JCheckBox(mLocalizer.msg("autostart","Start TV-Browser with Windows"),
+- mLinkFileFile.isFile());
+-
+- mSettingsPn.add(mAutostartWithWindows, cc.xy(2, y));
+- } catch (Throwable e) {e.printStackTrace();}
+- }
+-
+ y++;
+
+ mSettingsPn.add(createRefreshPanel(), cc.xyw(1,++y,5));
+@@ -513,4 +476,4 @@ public class StartupSettingsTab implements devplugin.SettingsTab {
+ return new File(mTarget).equals(file);
+ }
+ }
+-}
+\ No newline at end of file
++}
diff --git a/media-tv/tvbrowser/files/3.4.1.0-build.xml.patch b/media-tv/tvbrowser/files/3.4.1.0-build.xml.patch
new file mode 100644
index 000000000000..570bff32db76
--- /dev/null
+++ b/media-tv/tvbrowser/files/3.4.1.0-build.xml.patch
@@ -0,0 +1,109 @@
+--- build.xml.orig 2015-03-24 17:34:18.753531031 +0000
++++ build.xml 2015-03-24 17:38:48.013509290 +0000
+@@ -105,32 +105,6 @@
+ | Task definitions
+ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+-
+- <!-- Creates an .app file for Mac OS X (http://informagen.com/JarBundler/) -->
+- <taskdef name="jarbundler"
+- classpath="deployment/macosx/jarbundler-2.0.0.jar"
+- classname="net.sourceforge.jarbundler.JarBundler" />
+-
+- <!-- Creates a Windows Executable using launch4j (http://launch4j.sf.net) -->
+- <taskdef name="launch4j"
+- classname="net.sf.launch4j.ant.Launch4jTask"
+- classpath="${deployment.dir}/win/launch4j/launch4j.jar:${deployment.dir}/win/launch4j/lib/xstream.jar" />
+-
+- <!-- Creates a linux desktopEntry-->
+- <taskdef name="desktopEntry"
+- classname="com.googlecode.ant_deb_task.DesktopEntry"
+- classpathref="ant-deb.classpath"/>
+-
+- <!-- Creates an Ubuntu package-->
+- <taskdef name="deb"
+- classname="com.googlecode.ant_deb_task.Deb"
+- classpathref="ant-deb.classpath"/>
+-
+- <!-- Creates a RedHad package-->
+- <taskdef name="rrpm"
+- classname="org.redline_rpm.RedlineTask"
+- classpathref="ant-rpm.classpath"/>
+-
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ |
+ | Display all targets
+@@ -329,6 +303,7 @@
+ <echo message="Creating the jars ..."/>
+
+ <!-- Extract the libraries for the tvbrowser.jar into the temp.dir -->
++ <!--
+ <unjar src="${lib.dir}/${lib.skinlf.name}-${lib.skinlf.version}.jar" dest="${unpacked.dir}/${lib.skinlf.name}.jar"/>
+ <unjar src="${lib.dir}/${lib.bsh.name}-${lib.bsh.version}.jar" dest="${unpacked.dir}/${lib.bsh.name}.jar"/>
+ <unjar src="${lib.dir}/${lib.jgoodies-common.name}-${lib.jgoodies-common.version}.jar" dest="${unpacked.dir}/${lib.jgoodies-common.name}.jar"/>
+@@ -343,6 +318,7 @@
+ <unjar src="${lib.dir}/${lib.texhyphj.name}-${lib.texhyphj.version}.jar" dest="${unpacked.dir}/${lib.texhyphj.name}.jar" />
+ <unjar src="${lib.dir}/${lib.substance.name}-${lib.substance.version}.jar" dest="${unpacked.dir}/${lib.substance.name}.jar" />
+ <unjar src="${lib.dir}/${lib.trident.name}-${lib.trident.version}.jar" dest="${unpacked.dir}/${lib.trident.name}.jar" />
++ -->
+
+ <!-- Pack the tvbrowser.jar -->
+ <jar jarfile="${tvbrowser-default.runtime.dir}/tvbrowser.jar"
+@@ -357,6 +333,7 @@
+ <fileset dir="${classes.dir}" includes="tvdataservice/**"/>
+ <fileset dir="${classes.dir}" includes="util/**"/>
+ <fileset dir="${classes.dir}" includes="com/**"/>
++ <!--
+ <fileset dir="${classes.dir}/imgs" includes="splash.png"/>
+ <fileset dir="${unpacked.dir}/${lib.skinlf.name}.jar" includes="com/**"/>
+ <fileset dir="${unpacked.dir}/${lib.skinlf.name}.jar" includes="org/**"/>
+@@ -373,6 +350,7 @@
+ <fileset dir="${unpacked.dir}/${lib.texhyphj.name}.jar" includes="net/**"/>
+ <fileset dir="${unpacked.dir}/${lib.substance.name}.jar" includes="org/**"/>
+ <fileset dir="${unpacked.dir}/${lib.trident.name}.jar" includes="org/**"/>
++ -->
+ </jar>
+
+ <!-- Copy the other stuff -->
+@@ -431,7 +409,9 @@
+
+ <!-- Extract the libraries for the tvbrowser.jar into the temp.dir -->
+ <mkdir dir="${unpacked.dir}/${lib.commons.net.name}.jar"/>
++ <!--
+ <unjar src="${lib.dir}/${lib.commons.net.name}-${lib.commons.net.version}.jar" dest="${unpacked.dir}/${lib.commons.net.name}.jar"/>
++ -->
+
+ </target>
+
+@@ -555,6 +535,7 @@
+
+ <!-- Creates the desktop entry file for Linux platforms -->
+ <target name="tvbrowser-desktop-entry">
++ <!--
+ <desktopEntry
+ toFile="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop"
+ name="TV-Browser"
+@@ -571,6 +552,7 @@
+ <comment lang="de" value="Anpassbare und einfach zu benutzende TV-Zeitschrift - geschrieben in Java"/>
+ </desktopEntry>
+ <echo file="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" append="true">StartupWMClass=tvbrowser-TVBrowser</echo>
++ -->
+ </target>
+
+ <!-- Creates the desktop entry file for Ubuntu platform -->
+@@ -752,6 +734,7 @@
+
+ <!-- Creates the windows exe file -->
+ <target name="exe" depends="runtime-win">
++ <!--
+ <launch4j configFile="${deployment.dir}/win/launch4j/tvbrowser.xml"
+ fileversion="${tvbrowser.version.file}"
+ productversion="${tvbrowser.version.file}"
+@@ -762,6 +745,7 @@
+ productversion="${tvbrowser.version.file}"
+ txtfileversion="${tvbrowser.version}"
+ txtproductversion="${tvbrowser.version}"/>
++ -->
+ </target>
+
+ <!-- Creates the windows transportable exe file -->
diff --git a/media-tv/tvbrowser/files/3.4.1.0-remove-registrykey.patch b/media-tv/tvbrowser/files/3.4.1.0-remove-registrykey.patch
new file mode 100644
index 000000000000..2c52ddada29a
--- /dev/null
+++ b/media-tv/tvbrowser/files/3.4.1.0-remove-registrykey.patch
@@ -0,0 +1,150 @@
+--- src/tvbrowser/TVBrowser.java.orig 2015-03-24 17:41:56.811494046 +0000
++++ src/tvbrowser/TVBrowser.java 2015-03-24 17:43:30.625486471 +0000
+@@ -113,9 +113,6 @@
+ import util.ui.UIThreadRunner;
+ import util.ui.UiUtilities;
+ import util.ui.textcomponentpopup.TextComponentPopupEventQueue;
+-import ca.beq.util.win32.registry.RegistryKey;
+-import ca.beq.util.win32.registry.RegistryValue;
+-import ca.beq.util.win32.registry.RootKey;
+
+ import com.jgoodies.looks.LookUtils;
+ import com.l2fprod.gui.plaf.skin.SkinLookAndFeel;
+@@ -567,77 +564,6 @@
+ public void run() {
+ ChannelList.completeChannelLoading();
+ initializeAutomaticDownload();
+- if (Launch.isOsWindowsNtBranch()) {
+- try {
+- RegistryKey desktopSettings = new RegistryKey(
+- RootKey.HKEY_CURRENT_USER, "Control Panel\\Desktop");
+- RegistryValue autoEnd = desktopSettings
+- .getValue("AutoEndTasks");
+-
+- if (autoEnd.getData().equals("1")) {
+- RegistryValue killWait = desktopSettings
+- .getValue("WaitToKillAppTimeout");
+-
+- int i = Integer.parseInt(killWait.getData().toString());
+-
+- if (i < 5000) {
+- JOptionPane pane = new JOptionPane();
+-
+- String cancel = mLocalizer.msg("registryCancel",
+- "Close TV-Browser");
+- String dontDoIt = mLocalizer.msg("registryJumpOver",
+- "Not this time");
+-
+- pane.setOptions(new String[] {
+- Localizer.getLocalization(Localizer.I18N_OK), dontDoIt,
+- cancel });
+- pane.setOptionType(JOptionPane.YES_NO_CANCEL_OPTION);
+- pane.setMessageType(JOptionPane.WARNING_MESSAGE);
+- pane
+- .setMessage(mLocalizer
+- .msg(
+- "registryWarning",
+- "The fast shutdown of Windows is activated.\nThe timeout to wait for before Windows is closing an application is too short,\nto give TV-Browser enough time to save all settings.\n\nThe setting hasn't the default value. It was changed by a tool or by you.\nTV-Browser will now try to change the timeout.\n\nIf you don't want to change this timeout select 'Not this time' or 'Close TV-Browser'."));
+-
+- pane.setInitialValue(mLocalizer.msg("registryCancel",
+- "Close TV-Browser"));
+-
+- JDialog d = pane.createDialog(UiUtilities
+- .getLastModalChildOf(mainFrame), UIManager
+- .getString("OptionPane.messageDialogTitle"));
+- d.setModal(true);
+- UiUtilities.centerAndShow(d);
+-
+- if (pane.getValue() == null
+- || pane.getValue().equals(cancel)) {
+- mainFrame.quit();
+- } else if (!pane.getValue().equals(dontDoIt)) {
+- try {
+- killWait.setData("5000");
+- desktopSettings.setValue(killWait);
+- JOptionPane
+- .showMessageDialog(
+- UiUtilities.getLastModalChildOf(mainFrame),
+- mLocalizer
+- .msg("registryChanged",
+- "The timeout was changed successfully.\nPlease reboot Windows!"));
+- } catch (Exception registySetting) {
+- JOptionPane
+- .showMessageDialog(
+- UiUtilities.getLastModalChildOf(mainFrame),
+- mLocalizer
+- .msg(
+- "registryNotChanged",
+- "<html>The Registry value couldn't be changed. Maybe you haven't the right to do it.<br>If it is so contact you Administrator and let him do it for you.<br><br><b><Attention:/b> The following description is for experts. If you change or delete the wrong value in the Registry you could destroy your Windows installation.<br><br>To get no warning on TV-Browser start the Registry value <b>WaitToKillAppTimeout</b> in the Registry path<br><b>HKEY_CURRENT_USER\\Control Panel\\Desktop</b> have to be at least <b>5000</b> or the value for <b>AutoEndTasks</b> in the same path have to be <b>0</b>.</html>"),
+- Localizer.getLocalization(Localizer.I18N_ERROR),
+- JOptionPane.ERROR_MESSAGE);
+- }
+- }
+- }
+- }
+- } catch (Throwable registry) {
+- }
+- }
+
+ if (currentVersion != null
+ && currentVersion.compareTo(new Version(2, 71, false)) < 0) {
+--- src/tvbrowser/ui/settings/StartupSettingsTab.java.orig 2015-03-24 17:51:54.418445794 +0000
++++ src/tvbrowser/ui/settings/StartupSettingsTab.java 2015-03-24 17:52:23.370443456 +0000
+@@ -50,8 +50,6 @@
+ import tvbrowser.ui.mainframe.PeriodItem;
+ import util.ui.Localizer;
+ import util.ui.UiUtilities;
+-import ca.beq.util.win32.registry.RegistryKey;
+-import ca.beq.util.win32.registry.RootKey;
+
+ import com.jgoodies.forms.builder.PanelBuilder;
+ import com.jgoodies.forms.factories.Borders;
+@@ -163,41 +161,6 @@
+ .getBoolean());
+ mSettingsPn.add(mShowStartScreenChB, cc.xy(2, ++y));
+
+- if (System.getProperty("os.name").toLowerCase().startsWith("windows") && !TVBrowser.isTransportable()) {
+- layout.insertRow(++y, RowSpec.decode("1dlu"));
+- layout.insertRow(++y, RowSpec.decode("pref"));
+-
+- try {
+- RegistryKey shellFolders = new RegistryKey(RootKey.HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders");
+- String path = shellFolders.getValue("Startup").getData().toString();
+-
+- if(path == null || path.length() < 1 || !(new File(path)).isDirectory()) {
+- throw new Exception();
+- }
+-
+- mLinkFileFile = new File(path,"TV-Browser.url");
+-
+- try {
+- mLinkFile = new LinkFile(mLinkFileFile);
+-
+- if(mLinkFileFile.isFile()) {
+- try {
+- if (!mLinkFile.hasTarget((new File("tvbrowser.exe")).getAbsoluteFile())) {
+- createLink(mLinkFile);
+- }
+- }catch(Exception linkException) {
+- mLinkFileFile.delete();
+- }
+- }
+- }catch(FileNotFoundException fe) {}
+-
+- mAutostartWithWindows = new JCheckBox(mLocalizer.msg("autostart","Start TV-Browser with Windows"),
+- mLinkFileFile.isFile());
+-
+- mSettingsPn.add(mAutostartWithWindows, cc.xy(2, y));
+- } catch (Throwable e) {e.printStackTrace();}
+- }
+-
+ y++;
+
+ mSettingsPn.add(createRefreshPanel(), cc.xyw(1,++y,5));
+@@ -513,4 +476,4 @@
+ return new File(mTarget).equals(file);
+ }
+ }
+-}
+\ No newline at end of file
++}
diff --git a/media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml b/media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml
new file mode 100644
index 000000000000..a26bcc4d69ed
--- /dev/null
+++ b/media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml
@@ -0,0 +1,480 @@
+<?xml version="1.0"?>
+<!--
+ | Ant build script for the TV-Browser project.
+ |
+ | TV-Browser
+ | Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)
+ |
+ | This program is free software; you can redistribute it and/or
+ | modify it under the terms of the GNU General Public License
+ | as published by the Free Software Foundation; either version 2
+ | of the License, or (at your option) any later version.
+ |
+ | This program is distributed in the hope that it will be useful,
+ | but WITHOUT ANY WARRANTY; without even the implied warranty of
+ | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ | GNU General Public License for more details.
+ |
+ | You should have received a copy of the GNU General Public License
+ | along with this program; if not, write to the Free Software
+ | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ |
+ | CVS information:
+ | $RCSfile: tvbrowser-3.2.1-build.xml,v $
+ | $Source: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml,v $
+ | $Date: 2013/08/13 20:58:08 $
+ | $Author: tomwij $
+ | $Revision: 1.1 $
+ |
+ | Author: Til Schneider, www.murfman.de
+ |
+ | Modified by Gentoo Developers for Gentoo Linux packaging purposes.
+ +-->
+<project name="TV-Browser" default="targets" basedir=".">
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ |
+ | The properties and paths
+ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <property environment="env"/>
+ <property file="build.properties"/>
+ <property name="programname" value="TV-Browser"/>
+ <property name="programname.file" value="tvbrowser"/>
+ <property name="classes.dir" value="classes"/>
+ <property name="lib.dir" value="lib"/>
+ <property name="txt.dir" value="txt"/>
+ <property name="src.dir" value="src"/>
+ <property name="test.src.dir" value="test/src"/>
+ <property name="test.classes.dir" value="test/classes"/>
+ <property name="doc.dir" value="doc"/>
+ <property name="doc.header" value="${programname} ${tvbrowser.version} API"/>
+ <property name="doc.title" value="API documentation for ${programname} ${tvbrowser.version}"/>
+ <property name="doc.bottom" value="${programname} ${tvbrowser.version}, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)"/>
+
+ <property name="runtime.dir" value="runtime"/>
+ <property name="tvbrowser-default.runtime.dir" value="${runtime.dir}/tvbrowser_default"/>
+
+ <property name="tvbrowser-win.runtime.dir" value="${runtime.dir}/tvbrowser_win"/>
+ <property name="tvbrowser-linux.runtime.dir" value="${runtime.dir}/tvbrowser_linux"/>
+ <property name="tvbrowser-transportable.runtime.dir" value="${runtime.dir}/tvbrowser_transportable"/>
+ <property name="tvbrowser-nightly.runtime.dir" value="${runtime.dir}/tvbrowser_nightly"/>
+ <property name="tvbrowser-mac.runtime.dir" value="${runtime.dir}/tvbrowser_mac"/>
+ <property name="themepacks.dir" value="themepacks"/>
+ <property name="personas.dir" value="personas"/>
+
+ <property name="deployment.dir" value="deployment" />
+ <property name="win.dir" value="${deployment.dir}/win"/>
+ <property name="linux.dir" value="${deployment.dir}/linux"/>
+ <property name="x11.dir" value="${deployment.dir}/x11"/>
+ <property name="installer.dir" value="${win.dir}/installer"/>
+ <property name="package-lists.dir" value="${txt.dir}/package-lists"/>
+ <property name="public.dir" value="public"/>
+
+ <path id="sourcepath">
+ <pathelement location="${src.dir}"/>
+ </path>
+
+ <path id="classpath">
+ <pathelement location="${classes.dir}"/>
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ <exclude name="ant.jar"/>
+ </fileset>
+ </path>
+
+ <path id="docpath">
+ <path refid="sourcepath"/>
+ </path>
+
+ <path id="ant-deb.classpath">
+ <fileset dir="${deployment.dir}/linux/ant-deb-task" includes="*.jar"/>
+ </path>
+
+ <path id="ant-rpm.classpath">
+ <fileset dir="${deployment.dir}/linux/redline-rpm" includes="*.jar"/>
+ </path>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+|
+| Display all targets
+|
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <target name="targets" description="lists all the available public targets">
+ <echo message="usage: build [target]"/>
+ <echo message=""/>
+ <echo message="main targets:"/>
+ <echo message="============="/>
+ <echo message=" targets Shows this list of targets."/>
+ <echo message=" dump-info Dumps some information (VM-Version...)."/>
+ <echo message=" public-default Creates platform-independent binaries"/>
+ <echo message=" public-linux Creates binaries for Linux platforms"/>
+ <echo message=" public-nightly Creates platform-independent binaries for nightly transportable version of TV-Browser (without platform dependent starters)"/>
+ <echo message=" public-src Creates a .zip file containing the full source code of TV-Browser"/>
+ <echo message=" public-doc Generates the JavaDoc documentation."/>
+ <echo message=" release-packages Generates all packages needed for a TV-Browser release (without Mac version, works only under Windows)."/>
+ <echo message=""/>
+ <echo message="further targets:"/>
+ <echo message="================"/>
+ <echo message=" clean Deletes all class files, runtime directories and temporary files."/>
+ <echo message=" clean-runtime Deletes the runtime directory."/>
+ <echo message=" make-default Compiles the platform independent source code."/>
+ <echo message=" make-linux Compiles the source code for linux platforms."/>
+ <echo message=" runtime-default Creates the platform independent runtime directory" />
+ <echo message=" runtime-linux Creates a runtime directory for linux platforms" />
+ <echo message=" test Runs the JUnit tests."/>
+ </target>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ |
+ | Clean tasks: remove files
+ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+
+ <!-- Deletes the runtime director -->
+ <target name="clean">
+ <delete dir="${classes.dir}"/>
+ <delete dir="${test.classes.dir}"/>
+ </target>
+
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-default" depends="clean">
+ <delete dir="${tvbrowser-default.runtime.dir}"/>
+ </target>
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-transportable" depends="clean">
+ <delete dir="${tvbrowser-transportable.runtime.dir}"/>
+ </target>
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-win" depends="clean">
+ <delete dir="${tvbrowser-win.runtime.dir}"/>
+ </target>
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-linux" depends="clean">
+ <delete dir="${tvbrowser-linux.runtime.dir}"/>
+ </target>
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-mac" depends="clean">
+ <delete dir="${tvbrowser-mac.runtime.dir}"/>
+ </target>
+
+ <target name="clean-all" depends="clean-mac, clean-linux, clean-win, clean-default">
+ <delete dir="${public.dir}"/>
+ </target>
+
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+|
+| Make tasks: compile the source code
+|
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <target name="copy-resources">
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}" includes="**/*.gif"/>
+ <fileset dir="${src.dir}" includes="**/*.jpg"/>
+ <fileset dir="${src.dir}" includes="**/*.png"/>
+ <fileset dir="${src.dir}" includes="**/*.dtd"/>
+ <fileset dir="${src.dir}" includes="**/*.properties"/>
+ <fileset dir="${src.dir}" includes="**/*.theme"/>
+ <fileset dir="${src.dir}" includes="**/*.csv"/>
+ </copy>
+ </target>
+
+ <!-- Compiles the platform independent source code -->
+ <target name="make-default" depends="copy-resources">
+ <echo message="Compiling the source code ... "/>
+ <mkdir dir="${classes.dir}"/>
+ <javac destdir="${classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.6" source="1.6">
+ <src>
+ <path refid="sourcepath"/>
+ </src>
+ <classpath>
+ <path refid="classpath"/>
+ </classpath>
+ <exclude name="**/macosx/*"/>
+ </javac>
+
+
+ </target>
+
+
+ <!-- Compiles the source code for windows platforms -->
+ <target name="make-win" depends="make-default">
+
+ </target>
+
+
+ <!-- Compiles the source code for linux platforms -->
+ <target name="make-linux" depends="make-default">
+
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ |
+ | Runtime tasks: create runtime folders for the specified platform
+ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <target name="mkdirs">
+ <!-- Make the TV-Browser runtime -->
+ <delete dir="${tvbrowser-default.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-default.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-default.runtime.dir}/plugins"/>
+ </target>
+
+ <!-- Creates the platform independent runtime folder -->
+ <target name="runtime" depends="clean-default, make-default, mkdirs">
+ <echo message="Creating the jars ..."/>
+
+ <!-- Pack the tvbrowser.jar -->
+ <jar jarfile="${tvbrowser-default.runtime.dir}/tvbrowser.jar"
+ compress="true"
+ index="true">
+ <manifest>
+ <attribute name="Main-Class" value="tvbrowser.TVBrowser"/>
+ <attribute name="SplashScreen-Image" value="splash.png"/>
+ </manifest>
+ <fileset dir="${classes.dir}" includes="tvbrowser/**"/>
+ <fileset dir="${classes.dir}" includes="devplugin/**"/>
+ <fileset dir="${classes.dir}" includes="tvdataservice/**"/>
+ <fileset dir="${classes.dir}" includes="util/**"/>
+ <fileset dir="${classes.dir}" includes="com/**"/>
+ <fileset dir="${classes.dir}/imgs" includes="splash.png"/>
+ </jar>
+
+ <!-- Copy the other stuff -->
+ <echo message="Copying the images and all the other stuff ..."/>
+ <mkdir dir="${tvbrowser-default.runtime.dir}/imgs"/>
+ <copy todir="${tvbrowser-default.runtime.dir}/imgs">
+ <fileset dir="${classes.dir}/imgs" excludes="splash.png"/>
+ </copy>
+
+ <copy todir="${tvbrowser-default.runtime.dir}/imgs">
+ <fileset dir="./images/additional">
+ <include name="*.ico"/>
+ </fileset>
+ </copy>
+
+ <mkdir dir="${tvbrowser-default.runtime.dir}/personas"/>
+ <copy todir="${tvbrowser-default.runtime.dir}/personas">
+ <fileset dir="./personas"/>
+ </copy>
+ <copy todir="${tvbrowser-default.runtime.dir}">
+ <fileset dir="${txt.dir}" includes="LICENSE.txt"/>
+ <fileset dir="${txt.dir}" includes="COPYRIGHT.txt"/>
+ <fileset dir="${deployment.dir}/common" includes="**" />
+ <!-- <fileset dir="${txt.dir}" includes="website.url"/> -->
+ <!-- <fileset dir="${txt.dir}" includes="default.properties"/> -->
+ <!-- <fileset dir="${txt.dir}" includes="osx.properties"/> -->
+ <!-- <fileset dir="${txt.dir}" includes="windows.properties"/> -->
+ <!-- <fileset dir="${txt.dir}" includes="tvbrowser.sh"/> -->
+ </copy>
+
+ <!-- Themepacks -->
+ <mkdir dir="${tvbrowser-default.runtime.dir}/themepacks"/>
+ <copy todir="${tvbrowser-default.runtime.dir}/themepacks">
+ <fileset dir="themepacks"/>
+ </copy>
+
+ <!-- Icon-Themes -->
+ <mkdir dir="${tvbrowser-default.runtime.dir}/icons"/>
+
+ <zip destfile="${tvbrowser-default.runtime.dir}/icons/Tango.zip">
+ <zipfileset dir="images/themes/tango"></zipfileset>
+ </zip>
+ <zip destfile="${tvbrowser-default.runtime.dir}/icons/CrystalClear.zip">
+ <zipfileset dir="images/themes/CrystalClear"></zipfileset>
+ </zip>
+ </target>
+
+
+ <!-- Creates the default runtime folder (platform independent) -->
+ <target name="runtime-default" depends="clean-default, make-default, runtime, test">
+ </target>
+
+ <!-- Creates the runtime folder for linux platforms -->
+ <target name="runtime-linux" depends="clean-linux, make-linux, runtime">
+ <delete dir="${tvbrowser-linux.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-linux.runtime.dir}"/>
+ <copy todir="${tvbrowser-linux.runtime.dir}">
+ <fileset dir="${tvbrowser-default.runtime.dir}"/>
+ <fileset dir="${deployment.dir}" includes="linux.properties"/>
+ <fileset dir="${linux.dir}" includes="tvbrowser.sh"/>
+ <!-- <fileset dir="${linux.dir}" includes="tvbrowser.desktop"/>-->
+ </copy>
+ <chmod perm="u+x" file="${tvbrowser-linux.runtime.dir}/tvbrowser.sh"/>
+ </target>
+
+ <target name="release-packages" depends="public-linux, public-default, public-doc, public-src"/>
+
+ <!-- Creates the release binaries (.zip) for the platform independent TV-Browser version -->
+ <target name="public-default" depends="runtime-default" description="creates platform-independent binaries">
+ <mkdir dir="${public.dir}"/>
+
+ <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_bin.zip">
+ <zipfileset prefix="tvbrowser-${tvbrowser.version}"
+ dir="${tvbrowser-default.runtime.dir}"/>
+ </zip>
+ </target>
+
+ <target name="clean-public">
+ <delete>
+ <fileset dir="${public.dir}" includes="**/*"/>
+ </delete>
+ </target>
+
+ <target name="public-nightly" depends="clean-public" description="Creates platform-independent binaries for nightly transportable version of TV-Browser (without platform dependent starters)">
+ <mkdir dir="${public.dir}"/>
+
+ <tstamp>
+ <format property="TODAY" pattern="yyyy-MM-dd"/>
+ </tstamp>
+
+ <echo file="${tvbrowser-transportable.runtime.dir}/NIGHTLY_VALUES" append="false">${TODAY}-nightly</echo>
+
+ <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_${TODAY}_nightly_bin_transportable.zip">
+ <zipfileset prefix="tvbrowser-nightly-transportable" dir="${tvbrowser-transportable.runtime.dir}"/>
+ </zip>
+
+ </target>
+
+ <!-- Creates the release binaries (.tar.gz) for linux platforms -->
+ <target name="public-linux" depends="runtime-linux" description="Creates binaries for Linux platforms">
+ <mkdir dir="${public.dir}"/>
+
+ <tar tarfile="${public.dir}/tvbrowser_${tvbrowser.version}_bin.tar.gz" compression="gzip">
+ <tarfileset dir="${tvbrowser-linux.runtime.dir}" prefix="tvbrowser-${tvbrowser.version}" excludes="**/tvbrowser.sh"/>
+ <tarfileset dir="${tvbrowser-linux.runtime.dir}"
+ prefix="tvbrowser-${tvbrowser.version}"
+ mode="755" includes="**/tvbrowser.sh" />
+ </tar>
+
+ </target>
+
+ <!--
+ | Does the JUnit tests.
+ |
+ | If this target does not work, copy the file "junit.jar" from the directory "lib"
+ | in your ANT_HOME/lib directory. (ANT_HOME/lib is on my machine "/usr/share/ant/lib")
+ +-->
+ <target name="test" depends="make-default">
+ <echo>${ant.version}. JUnit4 tests will only work with Ant>=1.7</echo>
+ <mkdir dir="${test.classes.dir}"/>
+ <javac destdir="${test.classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.5" source="1.5">
+ <src>
+ <path path="${test.src.dir}"/>
+ </src>
+ <classpath>
+ <path refid="classpath"/>
+ </classpath>
+ </javac>
+
+ <copy todir="${test.classes.dir}">
+ <fileset dir="${test.src.dir}" includes="**/*.gif"/>
+ <fileset dir="${test.src.dir}" includes="**/*.jpg"/>
+ <fileset dir="${test.src.dir}" includes="**/*.png"/>
+ <fileset dir="${test.src.dir}" includes="**/*.dtd"/>
+ <fileset dir="${test.src.dir}" includes="**/*.properties"/>
+ <fileset dir="${test.src.dir}" includes="**/*.theme"/>
+ <fileset dir="${test.src.dir}" includes="**/*.txt"/>
+ </copy>
+
+
+ <junit haltonfailure="yes" fork="no" >
+ <classpath>
+ <path refid="classpath"/>
+ <path path="${test.classes.dir}"/>
+ </classpath>
+
+ <formatter type="brief" usefile="false"/>
+
+ <batchtest>
+ <fileset dir="${test.src.dir}">
+ <include name="**/*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+
+ <!--
+ | Generates the JavaDoc documentation.
+ +-->
+ <target name="public-doc" description="Generates the JavaDoc documentation">
+ <echo message="Generating JavaDoc documentation ..." />
+ <delete dir="${doc.dir}"/>
+ <mkdir dir="${doc.dir}"/>
+ <javadoc packagenames="*"
+ sourcepathref="docpath"
+ classpathref="classpath"
+ destdir="${doc.dir}"
+ doctitle="${doc.title}"
+ windowtitle="${doc.title}"
+ additionalparam="-breakiterator"
+ header="${doc.header}"
+ bottom="${doc.bottom}"
+ access="package"
+ failonerror="true"
+ encoding="UTF-8"
+ charset="UTF-8"
+ docencoding="UTF-8">
+ <link offline="true"
+ href="${java-api-location}"
+ packagelistLoc="${package-lists.dir}/jdk/"/>
+ </javadoc>
+
+
+ <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_doc.zip">
+ <zipfileset prefix="tvbrowser_v${tvbrowser.version}/doc"
+ dir="${doc.dir}"/>
+ </zip>
+
+ </target>
+
+ <!--
+ | Dump some information.
+ +-->
+ <target name="dump-info">
+ <echo message="JAVA_HOME=${env.JAVA_HOME}" />
+ <echo message="java.vm.info=${java.vm.info}" />
+ <echo message="java.vm.name=${java.vm.name}" />
+ <echo message="java.vm.vendor=${java.vm.vendor}" />
+ <echo message="java.vm.version=${java.vm.version}" />
+ <echo message="os.arch=${os.arch}" />
+ <echo message="os.name=${os.name}" />
+ <echo message="os.version=${os.version}" />
+ <echo message="file.encoding=${file.encoding}" />
+ <echo message="user.language=${user.language}" />
+ </target>
+
+
+
+
+ <target name="public-src" description="Creates a .zip file containing the full source code of TV-Browser">
+ <mkdir dir="${public.dir}"/>
+ <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_src.zip">
+ <zipfileset prefix="tvbrowser-${tvbrowser.version}"
+ dir=".">
+
+ <exclude name="${classes.dir}/**" />
+ <exclude name="${public.dir}/**" />
+ <exclude name="${runtime.dir}/**" />
+
+ </zipfileset>
+ </zip>
+ </target>
+
+ <target name="public-tvdatakit"></target>
+
+</project>
diff --git a/media-tv/tvbrowser/files/tvbrowser-9999-build.xml b/media-tv/tvbrowser/files/tvbrowser-9999-build.xml
new file mode 100644
index 000000000000..16143b7197d9
--- /dev/null
+++ b/media-tv/tvbrowser/files/tvbrowser-9999-build.xml
@@ -0,0 +1,965 @@
+<?xml version="1.0"?>
+<!--
+ | Ant build script for the TV-Browser project.
+ |
+ | TV-Browser
+ | Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)
+ |
+ | This program is free software; you can redistribute it and/or
+ | modify it under the terms of the GNU General Public License
+ | as published by the Free Software Foundation; either version 2
+ | of the License, or (at your option) any later version.
+ |
+ | This program is distributed in the hope that it will be useful,
+ | but WITHOUT ANY WARRANTY; without even the implied warranty of
+ | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ | GNU General Public License for more details.
+ |
+ | You should have received a copy of the GNU General Public License
+ | along with this program; if not, write to the Free Software
+ | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ |
+ | CVS information:
+ | $RCSfile: tvbrowser-9999-build.xml,v $
+ | $Source: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/files/tvbrowser-9999-build.xml,v $
+ | $Date: 2015/05/31 00:56:25 $
+ | $Author: monsieurp $
+ | $Revision: 1.1 $
+ |
+ | Author: Til Schneider, www.murfman.de
+ +-->
+<project name="TV-Browser" default="targets" basedir=".">
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ |
+ | The properties and paths
+ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <property environment="env"/>
+ <property file="build.properties"/>
+ <property name="programname" value="TV-Browser"/>
+ <property name="programname.file" value="tvbrowser"/>
+ <property name="classes.dir" value="classes"/>
+ <property name="lib.dir" value="lib"/>
+ <property name="txt.dir" value="txt"/>
+ <property name="src.dir" value="src"/>
+ <property name="test.src.dir" value="test/src"/>
+ <property name="test.classes.dir" value="test/classes"/>
+ <property name="doc.dir" value="doc"/>
+ <property name="doc.header" value="${programname} ${tvbrowser.version} API"/>
+ <property name="doc.title" value="API documentation for ${programname} ${tvbrowser.version}"/>
+ <property name="doc.bottom" value="${programname} ${tvbrowser.version}, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)"/>
+
+ <property name="unpacked.dir" value="unpacked"/>
+
+ <property name="runtime.dir" value="runtime"/>
+ <property name="tvbrowser-default.runtime.dir" value="${runtime.dir}/tvbrowser_default"/>
+
+ <property name="tvbrowser-win.runtime.dir" value="${runtime.dir}/tvbrowser_win"/>
+ <property name="tvbrowser-linux.runtime.dir" value="${runtime.dir}/tvbrowser_linux"/>
+ <property name="tvbrowser-transportable.runtime.dir" value="${runtime.dir}/tvbrowser_transportable"/>
+ <property name="tvbrowser-nightly.runtime.dir" value="${runtime.dir}/tvbrowser_nightly"/>
+ <property name="tvbrowser-mac.runtime.dir" value="${runtime.dir}/tvbrowser_mac"/>
+ <property name="tvbrowser-macjava.runtime.dir" value="${runtime.dir}/tvbrowser_macjava"/>
+ <property name="themepacks.dir" value="themepacks"/>
+ <property name="personas.dir" value="personas"/>
+
+ <property name="deployment.dir" value="deployment" />
+ <property name="win.dir" value="${deployment.dir}/win"/>
+ <property name="linux.dir" value="${deployment.dir}/linux"/>
+ <property name="osx.dir" value="${deployment.dir}/macosx"/>
+ <property name="x11.dir" value="${deployment.dir}/x11"/>
+ <property name="installer.dir" value="${win.dir}/installer"/>
+ <property name="package-lists.dir" value="${txt.dir}/package-lists"/>
+ <property name="public.dir" value="public"/>
+ <property name="newsplugin.url" value="http://www.tvbrowser.org/data/uploads/1372016422809_543/NewsPlugin.jar"/>
+
+ <path id="sourcepath">
+ <pathelement location="${src.dir}"/>
+ </path>
+
+ <path id="classpath">
+ <pathelement location="${classes.dir}"/>
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ <exclude name="ant.jar"/>
+ </fileset>
+ </path>
+
+ <path id="docpath">
+ <path refid="sourcepath"/>
+ </path>
+
+ <path id="ant-deb.classpath">
+ <fileset dir="${deployment.dir}/linux/ant-deb-task" includes="*.jar"/>
+ </path>
+
+ <path id="ant-rpm.classpath">
+ <fileset dir="${deployment.dir}/linux/redline-rpm" includes="*.jar"/>
+ </path>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ |
+ | Display all targets
+ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <target name="targets" description="lists all the available public targets">
+ <echo message="usage: build [target]"/>
+ <echo message=""/>
+ <echo message="main targets:"/>
+ <echo message="============="/>
+ <echo message=" targets Shows this list of targets."/>
+ <echo message=" download-libs Downloads all necessary libraries from the Internet."/>
+ <echo message=" dump-info Dumps some information (VM-Version...)."/>
+ <echo message=" public-default Creates platform-independent binaries"/>
+ <echo message=" public-mac Creates binaries for the Mac OS X (requires Mac OS X)"/>
+ <echo message=" public-macjava Creates binaries for the Mac OS X with Java from Oracle (requires Mac OS X)"/>
+ <echo message=" public-linux Creates binaries for Linux platforms"/>
+ <echo message=" public-ubuntu Creates binaries for Ubuntu platforms"/>
+ <echo message=" public-fedora Creates binaries for Fedora platforms"/>
+ <echo message=" public-transportable Creates platform-independent binaries for transportable version of TV-Browser (requires Windows)"/>
+ <echo message=" public-nightly Creates platform-independent binaries for nightly transportable version of TV-Browser (without platform dependent starters)"/>
+ <echo message=" public-src Creates a .zip file containing the full source code of TV-Browser"/>
+ <echo message=" public-doc Generates the JavaDoc documentation."/>
+ <echo message=" release-packages Generates all packages needed for a TV-Browser release (without Mac version, works only under Windows)."/>
+ <echo message=""/>
+ <echo message="further targets:"/>
+ <echo message="================"/>
+ <echo message=" clean Deletes all class files, runtime directories and temporary files."/>
+ <echo message=" clean-runtime Deletes the runtime directory."/>
+ <echo message=" make-default Compiles the platform independent source code."/>
+ <echo message=" make-transportable Compiles the platform independent source code for transportable version."/>
+ <echo message=" make-linux Compiles the source code for linux platforms."/>
+ <echo message=" make-win Compiles the source code for windows platforms."/>
+ <echo message=" make-mac Compiles the source code for Mac OS X."/>
+ <echo message=" make-macjava Compiles the source code for Mac OS X with Java from Oracle."/>
+ <echo message=" runtime-default Creates the platform independent runtime directory" />
+ <echo message=" runtime-transportable Creates the platform independent runtime directory for transportable version" />
+ <echo message=" runtime-linux Creates a runtime directory for linux platforms" />
+ <echo message=" runtime-mac Creates a runtime directory for Mac OS X" />
+ <echo message=" runtime-macjava Creates a runtime directory for Mac OS X with Java from Oracle" />
+ <echo message=" runtime-win Creates a runtime directory for MS Windows" />
+ <echo message=" test Runs the JUnit tests."/>
+ </target>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ |
+ | Clean tasks: remove files
+ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+
+ <!-- Deletes the runtime director -->
+ <target name="clean">
+ <delete dir="${classes.dir}"/>
+ <delete dir="${unpacked.dir}"/>
+ <delete dir="${test.classes.dir}"/>
+ </target>
+
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-default" depends="clean">
+ <delete dir="${tvbrowser-default.runtime.dir}"/>
+ </target>
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-transportable" depends="clean">
+ <delete dir="${tvbrowser-transportable.runtime.dir}"/>
+ </target>
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-win" depends="clean">
+ <delete dir="${tvbrowser-win.runtime.dir}"/>
+ </target>
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-linux" depends="clean">
+ <delete dir="${tvbrowser-linux.runtime.dir}"/>
+ </target>
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-mac" depends="clean">
+ <delete dir="${tvbrowser-mac.runtime.dir}"/>
+ </target>
+
+ <!-- Deletes the classes and the runtime directory. -->
+ <target name="clean-macjava" depends="clean">
+ <delete dir="${tvbrowser-macjava.runtime.dir}"/>
+ </target>
+
+ <target name="clean-all" depends="clean-mac, clean-macjava, clean-linux, clean-win, clean-default">
+ <delete dir="${public.dir}"/>
+ </target>
+
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+|
+| Make tasks: compile the source code
+|
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <target name="copy-resources">
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}" includes="**/*.gif"/>
+ <fileset dir="${src.dir}" includes="**/*.jpg"/>
+ <fileset dir="${src.dir}" includes="**/*.png"/>
+ <fileset dir="${src.dir}" includes="**/*.dtd"/>
+ <fileset dir="${src.dir}" includes="**/*.properties"/>
+ <fileset dir="${src.dir}" includes="**/*.theme"/>
+ <fileset dir="${src.dir}" includes="**/*.csv"/>
+ </copy>
+ </target>
+
+ <!-- Compiles the platform independent source code -->
+ <target name="make-default" depends="copy-resources">
+ <echo message="Compiling the source code ... "/>
+ <mkdir dir="${classes.dir}"/>
+ <javac destdir="${classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.6" source="1.6">
+ <src>
+ <path refid="sourcepath"/>
+ </src>
+ <classpath>
+ <path refid="classpath"/>
+ </classpath>
+ </javac>
+
+
+ </target>
+
+
+ <!-- Compiles the source code for windows platforms -->
+ <target name="make-win" depends="make-default">
+
+ </target>
+
+
+ <!-- Compiles the source code for linux platforms -->
+ <target name="make-linux" depends="make-default">
+
+ </target>
+
+ <!-- Compiles the source code for transportable version of TV-Browser -->
+ <target name="make-transportable" depends="make-default">
+
+ </target>
+
+ <!-- Compiles the source code for mac platforms -->
+ <target name="make-mac" depends="copy-resources">
+ <echo message="Compiling the source code ..."/>
+ <mkdir dir="${classes.dir}"/>
+ <javac destdir="${classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.5" source="1.5">
+ <src>
+ <path refid="sourcepath"/>
+ </src>
+ <classpath>
+ <path refid="classpath"/>
+ <path location="/System/Library/Java"/>
+ </classpath>
+ </javac>
+
+ </target>
+
+ <!-- Compiles the source code for mac platforms with Java from Oracle -->
+ <target name="make-macjava" depends="copy-resources">
+ <echo message="Compiling the source code ..."/>
+ <mkdir dir="${classes.dir}"/>
+ <javac destdir="${classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.6" source="1.6">
+ <src>
+ <path refid="sourcepath"/>
+ </src>
+ <classpath>
+ <path refid="classpath"/>
+ <path location="/Library/Java/JavaVirtualMachines"/>
+ </classpath>
+ </javac>
+
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ |
+ | Runtime tasks: create runtime folders for the specified platform
+ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <target name="mkdirs">
+ <!-- Make the TV-Browser runtime -->
+ <delete dir="${tvbrowser-default.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-default.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-default.runtime.dir}/plugins"/>
+ </target>
+
+ <!-- Creates the platform independent runtime folder -->
+ <target name="runtime" depends="clean-default, make-default, mkdirs">
+ <echo message="Creating the jars ..."/>
+
+ <!-- Pack the tvbrowser.jar -->
+ <jar jarfile="${tvbrowser-default.runtime.dir}/tvbrowser.jar"
+ compress="true"
+ index="true">
+ <manifest>
+ <attribute name="Main-Class" value="tvbrowser.TVBrowser"/>
+ <attribute name="SplashScreen-Image" value="splash.png"/>
+ </manifest>
+ <fileset dir="${classes.dir}" includes="tvbrowser/**"/>
+ <fileset dir="${classes.dir}" includes="devplugin/**"/>
+ <fileset dir="${classes.dir}" includes="tvdataservice/**"/>
+ <fileset dir="${classes.dir}" includes="util/**"/>
+ <fileset dir="${classes.dir}" includes="com/**"/>
+ <fileset dir="${classes.dir}/imgs" includes="splash.png"/>
+ </jar>
+
+ <!-- Copy the other stuff -->
+ <echo message="Copying the images and all the other stuff ..."/>
+ <mkdir dir="${tvbrowser-default.runtime.dir}/imgs"/>
+ <copy todir="${tvbrowser-default.runtime.dir}/imgs">
+ <fileset dir="${classes.dir}/imgs" excludes="splash.png"/>
+ </copy>
+
+ <copy todir="${tvbrowser-default.runtime.dir}/imgs">
+ <fileset dir="./images/additional">
+ <include name="*.ico"/>
+ </fileset>
+ </copy>
+
+ <mkdir dir="${tvbrowser-default.runtime.dir}/personas"/>
+ <copy todir="${tvbrowser-default.runtime.dir}/personas">
+ <fileset dir="./personas"/>
+ </copy>
+ <copy todir="${tvbrowser-default.runtime.dir}">
+ <fileset dir="${txt.dir}" includes="LICENSE.txt"/>
+ <fileset dir="${txt.dir}" includes="COPYRIGHT.txt"/>
+ <fileset dir="${deployment.dir}/common" includes="**" />
+ <!-- <fileset dir="${txt.dir}" includes="website.url"/> -->
+ <!-- <fileset dir="${txt.dir}" includes="default.properties"/> -->
+ <!-- <fileset dir="${txt.dir}" includes="osx.properties"/> -->
+ <!-- <fileset dir="${txt.dir}" includes="windows.properties"/> -->
+ <!-- <fileset dir="${txt.dir}" includes="tvbrowser.sh"/> -->
+ </copy>
+
+ <!-- Themepacks -->
+ <mkdir dir="${tvbrowser-default.runtime.dir}/themepacks"/>
+ <copy todir="${tvbrowser-default.runtime.dir}/themepacks">
+ <fileset dir="themepacks"/>
+ </copy>
+
+ <!-- Icon-Themes -->
+ <mkdir dir="${tvbrowser-default.runtime.dir}/icons"/>
+
+ <!-- Info-Icon-Themes -->
+ <mkdir dir="${tvbrowser-default.runtime.dir}/infothemes"/>
+
+ <zip destfile="${tvbrowser-default.runtime.dir}/infothemes/tvb_default.zip">
+ <zipfileset dir="images/infothemes/tvb_default"></zipfileset>
+ </zip>
+ <zip destfile="${tvbrowser-default.runtime.dir}/infothemes/tvb_colored.zip">
+ <zipfileset dir="images/infothemes/tvb_colored"></zipfileset>
+ </zip>
+
+ <zip destfile="${tvbrowser-default.runtime.dir}/icons/Tango.zip">
+ <zipfileset dir="images/themes/tango"></zipfileset>
+ </zip>
+ <zip destfile="${tvbrowser-default.runtime.dir}/icons/CrystalClear.zip">
+ <zipfileset dir="images/themes/CrystalClear"></zipfileset>
+ </zip>
+ </target>
+
+ <!-- Creates the default runtime folder (platform independent) -->
+ <target name="runtime-default" depends="clean-default, make-default, runtime">
+ </target>
+
+
+ <!-- Creates the runtime folder for the transportable version -->
+ <target name="runtime-transportable" depends="clean-transportable, make-transportable, runtime">
+ <echo message="deployment dir is ${deployment.dir}, win is ${win.dir}" />
+ <mkdir dir="${tvbrowser-transportable.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-transportable.runtime.dir}/settings"/>
+ <copy todir="${tvbrowser-transportable.runtime.dir}/settings">
+ <fileset dir="${deployment.dir}" includes="packer.txt"/>
+ </copy>
+ <copy todir="${tvbrowser-transportable.runtime.dir}">
+ <fileset dir="${tvbrowser-default.runtime.dir}"/>
+ <fileset dir="${win.dir}/jRegistryKey" includes="jRegistryKey.dll" />
+ </copy>
+ </target>
+
+ <!-- Creates the runtime folder for the windows platform -->
+ <target name="runtime-win" depends="clean-win, make-win, runtime">
+ <echo message="deployment dir is ${deployment.dir}, win is ${win.dir}" />
+ <mkdir dir="${tvbrowser-win.runtime.dir}"/>
+ <copy todir="${tvbrowser-win.runtime.dir}">
+ <fileset dir="${tvbrowser-default.runtime.dir}"/>
+ <fileset dir="${win.dir}/jRegistryKey" includes="jRegistryKey.dll" />
+ <fileset dir="${deployment.dir}" includes="windows.properties"/>
+ <fileset dir="${win.dir}" includes="tvbrowser_noDD.txt"/>
+ </copy>
+
+ </target>
+
+
+ <!-- Creates the runtime folder for the Mac platform -->
+ <target name="runtime-mac" depends="clean-mac, make-mac, runtime">
+
+ <delete dir="${tvbrowser-mac.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-mac.runtime.dir}"/>
+
+ <jarbundler dir="${tvbrowser-mac.runtime.dir}"
+ verbose="false"
+ name="TV-Browser"
+ icon="./images/additional/tvbrowser.icns"
+ mainclass="tvbrowser.TVBrowser"
+ extraclasspath="/System/Library/Java"
+ jvmversion="1.6+"
+ vmoptions="-Dpropertiesfile=osx.properties -Xmx256m"
+ bundleid="org.tvbrowser"
+ smalltabs="true"
+ antialiasedgraphics="true"
+ antialiasedtext="true"
+ liveresize="true"
+ growboxintrudes="false"
+ screenmenu="true"
+ developmentregion="Global"
+ version="${tvbrowser.version}"
+ workingdirectory="$APP_PACKAGE/Contents/Resources"
+ jars="${tvbrowser-default.runtime.dir}/tvbrowser.jar">
+ <resourcefileset dir="${tvbrowser-default.runtime.dir}">
+ <exclude name="tvbrowser.jar"/>
+ </resourcefileset>
+ </jarbundler>
+
+ <copy todir="${tvbrowser-mac.runtime.dir}/TV-Browser.app/Contents/Resources">
+ <fileset dir="${deployment.dir}" includes="osx.properties"/>
+ </copy>
+
+ </target>
+
+ <!-- Creates the runtime folder for the Mac platform with Java from Oracle->
+ <target name="runtime-macjava" depends="clean-macjava, make-macjava, runtime, test"-->
+ <target name="runtime-macjava" depends="clean-macjava, make-macjava, runtime">
+
+ <!-- Creates an .app file for Mac OS X with appbundler for Java SE 7+ from infinitekind -->
+ <taskdef name="appbundler"
+ classpath="deployment/macosx7/appbundler-1.0ea.jar"
+ classname="com.oracle.appbundler.AppBundlerTask" />
+
+ <!--runtime dir="${env.JAVA_HOME}"/-->
+
+ <delete dir="${tvbrowser-macjava.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-macjava.runtime.dir}"/>
+
+ <appbundler
+ outputdirectory="${tvbrowser-macjava.runtime.dir}"
+ name="TV-Browser"
+ icon="images/additional/tvbrowser.icns"
+ displayname="TV-Browser"
+ identifier="tvbrowser.TVBrowser"
+ shortversion="${tvbrowser.version}"
+ applicationCategory="public.app-category.entertainment"
+ workingDirectory="$APP_ROOT/Contents/Resources"
+ mainclassname="tvbrowser.TVBrowser"
+ highResolutionCapable="false">
+ <classpath dir="${tvbrowser-default.runtime.dir}">
+ <include name="*.jar"/>
+ </classpath>
+ <!-- OSX specific options, optional -->
+ <option value="-Dpropertiesfile=osx.properties"/>
+ <option value="-Dapple.laf.useScreenMenuBar=true"/>
+ <option value="-Dcom.apple.macos.use-file-dialog-packages=true"/>
+ <!--option value="-Dcom.apple.macos.useScreenMenuBar=true"/-->
+ <option value="-Dcom.apple.mrj.application.apple.menu.about.name=${bundle.name}"/>
+ <option value="-Dcom.apple.smallTabs=true"/>
+ <option value="-Xmx1024M"/>
+ </appbundler>
+
+ <copy todir="${tvbrowser-macjava.runtime.dir}/TV-Browser.app/Contents/Resources">
+ <fileset dir="${tvbrowser-default.runtime.dir}" excludes="tvbrowser.jar"/>
+ </copy>
+ <copy todir="${tvbrowser-macjava.runtime.dir}/TV-Browser.app/Contents/Resources">
+ <fileset dir="${deployment.dir}" includes="osx.properties"/>
+ </copy>
+
+ </target>
+
+
+ <!-- Creates the desktop entry file for Linux platforms -->
+ <target name="tvbrowser-desktop-entry">
+ <desktopEntry
+ toFile="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop"
+ name="TV-Browser"
+ icon="imgs/tvbrowser128.png"
+ exec="tvbrowser.sh"
+ tryExec="tvbrowser.sh"
+ categories="Video;AudioVideo;TV"
+ type="Application"
+ >
+ <name lang="de" value="${programname}"/>
+ <genericName value="Digital TV Guide"/>
+ <genericName lang="de" value="Digitale TV-Zeitschrift"/>
+ <comment value="Themeable and easy to use TV Guide - written in Java"/>
+ <comment lang="de" value="Anpassbare und einfach zu benutzende TV-Zeitschrift - geschrieben in Java"/>
+ </desktopEntry>
+ <echo file="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" append="true">StartupWMClass=tvbrowser-TVBrowser</echo>
+ </target>
+
+ <!-- Creates the desktop entry file for Ubuntu platform -->
+ <target name="tvbrowser-desktop-entry-deb">
+ <desktopEntry
+ toFile="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop"
+ name="${programname}"
+ icon="/usr/share/tvbrowser/imgs/tvbrowser128.png"
+ exec="tvbrowser"
+ categories="Video;AudioVideo;TV"
+ type="Application"
+ comment="Easy to use TV Guide - written in Java"
+ >
+ <name lang="de" value="${programname}"/>
+ <genericName value="Digital TV Guide"/>
+ <genericName lang="de" value="Digitale TV-Zeitschrift"/>
+ <comment value="Themeable and easy to use TV Guide - written in Java"/>
+ <comment lang="de" value="Anpassbare und einfach zu benutzende TV-Zeitschrift - geschrieben in Java"/>
+ </desktopEntry>
+ <echo file="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" append="true">StartupWMClass=tvbrowser-TVBrowser</echo>
+ </target>
+
+ <!-- Creates the runtime folder for linux platforms -->
+ <target name="runtime-linux" depends="clean-linux, make-linux, runtime">
+ <delete dir="${tvbrowser-linux.runtime.dir}"/>
+ <mkdir dir="${tvbrowser-linux.runtime.dir}"/>
+ <copy todir="${tvbrowser-linux.runtime.dir}">
+ <fileset dir="${tvbrowser-default.runtime.dir}"/>
+ <fileset dir="${deployment.dir}" includes="linux.properties"/>
+ <fileset dir="${linux.dir}" includes="tvbrowser.sh"/>
+ <!-- <fileset dir="${linux.dir}" includes="tvbrowser.desktop"/>-->
+ </copy>
+ <chmod perm="u+x" file="${tvbrowser-linux.runtime.dir}/tvbrowser.sh"/>
+ </target>
+
+ <target name="release-packages" depends="public-linux, public-ubuntu, public-fedora, public-default, public-doc, public-src"/>
+
+ <!-- Creates the release binaries (.zip) for the platform independent TV-Browser version -->
+ <target name="public-default" depends="runtime-default" description="creates platform-independent binaries">
+ <mkdir dir="${public.dir}"/>
+
+ <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_bin.zip">
+ <zipfileset prefix="tvbrowser-${tvbrowser.version}"
+ dir="${tvbrowser-default.runtime.dir}"/>
+ </zip>
+ </target>
+
+ <target name="clean-public">
+ <delete>
+ <fileset dir="${public.dir}" includes="**/*"/>
+ </delete>
+ </target>
+
+ <target name="public-nightly" depends="clean-public,runtime-transportable" description="Creates platform-independent binaries for nightly transportable version of TV-Browser (without platform dependent starters)">
+ <mkdir dir="${public.dir}"/>
+
+ <tstamp>
+ <format property="TODAY" pattern="yyyy-MM-dd"/>
+ </tstamp>
+
+ <echo file="${tvbrowser-transportable.runtime.dir}/NIGHTLY_VALUES" append="false">${TODAY}-nightly</echo>
+
+ <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_${TODAY}_nightly_bin_transportable.zip">
+ <zipfileset prefix="tvbrowser-nightly-transportable" dir="${tvbrowser-transportable.runtime.dir}"/>
+ </zip>
+
+ </target>
+
+ <target name="public-ubuntu" depends="runtime-linux, tvbrowser-desktop-entry-deb" description="Creates binaries for Ubuntu platforms">
+ <mkdir dir="${public.dir}"/>
+
+ <deb
+ todir="${public.dir}"
+ package="tvbrowser"
+ section="utils"
+ depends="sun-java6-jre | openjdk-6-jre | sun-java7-jre | openjdk-7-jre | openjdk-8-jre | default-jre | java6-runtime | java7-runtime | java8-runtime "
+ recommends="openjdk-6-jre">
+
+ <version upstream="${tvbrowser.version}"/>
+ <maintainer name="TV-Browser team" email="dev@tvbrowser.org"/>
+
+ <!-- do not indent the description, otherwise the indent will be visible in the package manager and other tools -->
+ <description synopsis="Digital TV Guide">Themeable and easy to use TV Guide - written in Java.</description>
+
+ <tarfileset dir="${tvbrowser-linux.runtime.dir}" prefix="usr/share/tvbrowser">
+ <include name="imgs/**"/>
+ <include name="plugins/**"/>
+ <include name="themepacks/**"/>
+ <include name="infothemes/**"/>
+ <exclude name="tvbrowser.sh"/>
+ <exclude name="tvbrowser.desktop"/>
+ <include name="*"/>
+ </tarfileset>
+
+ <tarfileset dir="${tvbrowser-linux.runtime.dir}/personas" prefix="usr/share/tvbrowser/personas" />
+
+ <tarfileset dir="${tvbrowser-linux.runtime.dir}/icons" prefix="usr/share/tvbrowser/icons">
+ <include name="*"/>
+ </tarfileset>
+ <tarfileset dir="${tvbrowser-linux.runtime.dir}" prefix="usr/share/tvbrowser" filemode="755" includes="**/tvbrowser.sh" />
+ <tarfileset dir="${tvbrowser-linux.runtime.dir}" prefix="usr/share/applications" includes="**/tvbrowser.desktop"/>
+ <tarfileset dir="${deployment.dir}/linux"
+ prefix="usr/bin"
+ filemode="755" includes="**/tvbrowser" />
+ </deb>
+ </target>
+
+ <target name="public-fedora" depends="runtime-linux, tvbrowser-desktop-entry-deb" description="Creates binaries for RedHat platforms">
+ <mkdir dir="${public.dir}"/>
+
+ <rrpm
+ destination="${public.dir}"
+ name="tvbrowser"
+ version="${tvbrowser.version}"
+ group="Java">
+
+ <zipfileset dir="${tvbrowser-linux.runtime.dir}" prefix="/usr/share/tvbrowser">
+ <include name="imgs/**"/>
+ <include name="plugins/**"/>
+ <include name="themepacks/**"/>
+ <include name="infothemes/**"/>
+ <exclude name="tvbrowser.sh"/>
+ <exclude name="tvbrowser.desktop"/>
+ <include name="*"/>
+ </zipfileset>
+
+ <zipfileset dir="${tvbrowser-linux.runtime.dir}/personas" prefix="/usr/share/tvbrowser/personas" />
+
+ <zipfileset dir="${tvbrowser-linux.runtime.dir}/icons" prefix="/usr/share/tvbrowser/icons">
+ <include name="*"/>
+ </zipfileset>
+ <zipfileset dir="${tvbrowser-linux.runtime.dir}" prefix="/usr/share/tvbrowser" filemode="755" includes="**/tvbrowser.sh" />
+ <zipfileset dir="${tvbrowser-linux.runtime.dir}" prefix="/usr/share/applications" includes="**/tvbrowser.desktop"/>
+ <zipfileset dir="${deployment.dir}/linux"
+ prefix="/usr/bin"
+ filemode="755" includes="**/tvbrowser" />
+ <depends name="java" version="1.6"/>
+ </rrpm>
+ </target>
+
+ <!-- Creates the release binaries (.tar.gz) for linux platforms -->
+ <target name="public-linux" depends="runtime-linux, tvbrowser-desktop-entry" description="Creates binaries for Linux platforms">
+ <mkdir dir="${public.dir}"/>
+
+ <tar tarfile="${public.dir}/tvbrowser_${tvbrowser.version}_bin.tar.gz" compression="gzip">
+ <tarfileset dir="${tvbrowser-linux.runtime.dir}" prefix="tvbrowser-${tvbrowser.version}" excludes="**/tvbrowser.sh"/>
+ <tarfileset dir="${tvbrowser-linux.runtime.dir}"
+ prefix="tvbrowser-${tvbrowser.version}"
+ mode="755" includes="**/tvbrowser.sh" />
+ </tar>
+
+ </target>
+
+ <!--
+ | Does the JUnit s.
+ |
+ | If this target does not work, copy the file "junit.jar" from the directory "lib"
+ | in your ANT_HOME/lib directory. (ANT_HOME/lib is on my machine "/usr/share/ant/lib")
+ +-->
+ <target name="test" depends="make-default">
+ <echo>${ant.version}. JUnit4 tests will only work with Ant>=1.7</echo>
+ <mkdir dir="${test.classes.dir}"/>
+ <javac destdir="${test.classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.5" source="1.5">
+ <src>
+ <path path="${test.src.dir}"/>
+ </src>
+ <classpath>
+ <path refid="classpath"/>
+ </classpath>
+ </javac>
+
+ <copy todir="${test.classes.dir}">
+ <fileset dir="${test.src.dir}" includes="**/*.gif"/>
+ <fileset dir="${test.src.dir}" includes="**/*.jpg"/>
+ <fileset dir="${test.src.dir}" includes="**/*.png"/>
+ <fileset dir="${test.src.dir}" includes="**/*.dtd"/>
+ <fileset dir="${test.src.dir}" includes="**/*.properties"/>
+ <fileset dir="${test.src.dir}" includes="**/*.theme"/>
+ <fileset dir="${test.src.dir}" includes="**/*.txt"/>
+ </copy>
+
+
+ <junit haltonfailure="yes" fork="no" >
+ <classpath>
+ <path refid="classpath"/>
+ <path path="${test.classes.dir}"/>
+ </classpath>
+
+ <formatter type="brief" usefile="false"/>
+
+ <batchtest>
+ <fileset dir="${test.src.dir}">
+ <include name="**/*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+
+ <!--
+ | Generates the JavaDoc documentation.
+ +-->
+ <target name="public-doc" description="Generates the JavaDoc documentation">
+ <echo message="Generating JavaDoc documentation ..." />
+ <delete dir="${doc.dir}"/>
+ <mkdir dir="${doc.dir}"/>
+ <javadoc packagenames="*"
+ sourcepathref="docpath"
+ classpathref="classpath"
+ destdir="${doc.dir}"
+ doctitle="${doc.title}"
+ windowtitle="${doc.title}"
+ additionalparam="-breakiterator"
+ header="${doc.header}"
+ bottom="${doc.bottom}"
+ access="package"
+ failonerror="false"
+ encoding="UTF-8"
+ charset="UTF-8"
+ docencoding="UTF-8">
+ <link offline="true"
+ href="${java-api-location}"
+ packagelistLoc="${package-lists.dir}/jdk/"/>
+ </javadoc>
+
+
+ <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_doc.zip">
+ <zipfileset prefix="tvbrowser_v${tvbrowser.version}/doc"
+ dir="${doc.dir}"/>
+ </zip>
+
+ </target>
+
+ <!--
+ | Dump some information.
+ +-->
+ <target name="dump-info">
+ <echo message="JAVA_HOME=${env.JAVA_HOME}" />
+ <echo message="java.vm.info=${java.vm.info}" />
+ <echo message="java.vm.name=${java.vm.name}" />
+ <echo message="java.vm.vendor=${java.vm.vendor}" />
+ <echo message="java.vm.version=${java.vm.version}" />
+ <echo message="os.arch=${os.arch}" />
+ <echo message="os.name=${os.name}" />
+ <echo message="os.version=${os.version}" />
+ <echo message="file.encoding=${file.encoding}" />
+ <echo message="user.language=${user.language}" />
+ </target>
+
+
+
+
+ <target name="public-src" description="Creates a .zip file containing the full source code of TV-Browser">
+ <mkdir dir="${public.dir}"/>
+ <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_src.zip">
+ <zipfileset prefix="tvbrowser-${tvbrowser.version}"
+ dir=".">
+
+ <exclude name="${classes.dir}/**" />
+ <exclude name="${public.dir}/**" />
+ <exclude name="${runtime.dir}/**" />
+ <exclude name="${unpacked.dir}/**" />
+
+ </zipfileset>
+ </zip>
+ </target>
+
+
+ <!-- - - - - - - - - - - - - - - - - -
+ internal target: download-zipped-lib
+ - - - - - - - - - - - - - - - - - -->
+ <target name="download-zipped-lib">
+
+ <macrodef name="propertycopy">
+ <attribute name="name"/>
+ <attribute name="from"/>
+ <sequential>
+ <property name="@{name}" value="${@{from}}"/>
+ </sequential>
+ </macrodef>
+
+ <propertycopy name="lib.url" from="lib.${lib}.url"/>
+ <propertycopy name="lib.name" from="lib.${lib}.name"/>
+ <propertycopy name="lib.version" from="lib.${lib}.version"/>
+
+ <get dest="${lib.dir}/download.zip" src="${lib.url}"/>
+ <unzip src="${lib.dir}/download.zip" dest="${lib.dir}/download">
+ <patternset>
+ <include name="**/${lib.name}*.jar"/>
+ </patternset>
+ <flattenmapper/>
+ </unzip>
+ <copy todir="${lib.dir}" verbose="true" overwrite="true">
+ <fileset dir="${lib.dir}/download">
+ <include name="${lib.name}.jar"/>
+ <include name="${lib.name}-?.?.jar"/>
+ <include name="${lib.name}-?.?.?.jar"/>
+ <include name="${lib.name}-?.?.??.jar"/>
+ <include name="${lib.name}-r*.jar"/>
+ </fileset>
+ <mapper>
+ <mergemapper to="${lib.name}-${lib.version}.jar"/>
+ </mapper>
+ </copy>
+ <delete dir="${lib.dir}/download"/>
+ </target>
+
+<!-- - - - - - - - - - - - - - - - - -
+ internal target: download-tarred-lib
+ - - - - - - - - - - - - - - - - - -->
+ <target name="download-tarred-lib">
+ <macrodef name="propertycopy">
+ <attribute name="name"/>
+ <attribute name="from"/>
+ <sequential>
+ <property name="@{name}" value="${@{from}}"/>
+ </sequential>
+ </macrodef>
+
+ <propertycopy name="lib.url" from="lib.${lib}.url"/>
+ <propertycopy name="lib.name" from="lib.${lib}.name"/>
+ <propertycopy name="lib.version" from="lib.${lib}.version"/>
+
+ <get dest="${lib.dir}/download.tar.gz" src="${lib.url}"/>
+ <gunzip src="${lib.dir}/download.tar.gz"/>
+ <untar src="${lib.dir}/download.tar" dest="${lib.dir}/download">
+ <patternset>
+ <include name="**/${lib.name}*.jar"/>
+ </patternset>
+ <flattenmapper/>
+ </untar>
+ <copy todir="${lib.dir}" verbose="true" overwrite="true">
+ <fileset dir="${lib.dir}/download">
+ <include name="${lib.name}.jar"/>
+ <include name="${lib.name}-?.?.jar"/>
+ <include name="${lib.name}-?.?.?.jar"/>
+ <include name="${lib.name}-?.?.??.jar"/>
+ </fileset>
+ <mapper>
+ <mergemapper to="${lib.name}-${lib.version}.jar"/>
+ </mapper>
+ </copy>
+ <delete dir="${lib.dir}/download"/>
+ </target>
+
+<!-- - - - - - - - - - - - - - - - - -
+ internal target: download-lib
+ - - - - - - - - - - - - - - - - - -->
+ <target name="download-lib">
+ <macrodef name="propertycopy">
+ <attribute name="name"/>
+ <attribute name="from"/>
+ <sequential>
+ <property name="@{name}" value="${@{from}}"/>
+ </sequential>
+ </macrodef>
+
+ <propertycopy name="lib.url" from="lib.${lib}.url"/>
+ <propertycopy name="lib.name" from="lib.${lib}.name"/>
+ <propertycopy name="lib.version" from="lib.${lib}.version"/>
+
+ <get dest="${lib.dir}/${lib.name}-${lib.version}.jar" src="${lib.url}"/>
+ </target>
+
+ <target name="download-libs" description="downloads all necessary library files">
+ <mkdir dir="${lib.dir}"/>
+
+ <!-- bsh -->
+ <antcall target="download-lib">
+ <param name="lib" value="bsh"/>
+ </antcall>
+
+ <!-- commons codec -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="commons.codec"/>
+ </antcall>
+
+ <!-- commons lang -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="commons.lang"/>
+ </antcall>
+
+ <!-- commons net -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="commons.net"/>
+ </antcall>
+
+ <!-- htmlparser -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="htmlparser"/>
+ </antcall>
+
+ <!-- jgoodies common -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="jgoodies-common"/>
+ </antcall>
+
+ <!-- jgoodies forms -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="jgoodies-forms"/>
+ </antcall>
+
+ <!-- jgoodies looks -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="jgoodies-looks"/>
+ </antcall>
+
+ <!-- jRegistryKey -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="jregistrykey"/>
+ </antcall>
+
+ <!-- l2prod common tasks -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="tasks"/>
+ </antcall>
+
+ <!-- opencsv -->
+ <antcall target="download-tarred-lib">
+ <param name="lib" value="opencsv"/>
+ </antcall>
+
+ <!-- skinlf -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="skinlf"/>
+ </antcall>
+
+ <!-- stax -->
+ <antcall target="download-lib">
+ <param name="lib" value="stax"/>
+ </antcall>
+ <antcall target="download-lib">
+ <param name="lib" value="stax.api"/>
+ </antcall>
+
+ <!-- substance -->
+ <antcall target="download-lib">
+ <param name="lib" value="substance"/>
+ </antcall>
+
+ <!-- texhyphj -->
+ <antcall target="download-zipped-lib">
+ <param name="lib" value="texhyphj"/>
+ </antcall>
+
+ <!-- trident -->
+ <antcall target="download-lib">
+ <param name="lib" value="trident"/>
+ </antcall>
+
+ <delete dir="${lib.dir}">
+ <patternset>
+ <include name="*.zip"/>
+ <include name="*.tar.gz"/>
+ <include name="*.tar"/>
+ </patternset>
+ </delete>
+ </target>
+ <target name="public-tvdatakit"></target>
+
+</project>
diff --git a/media-tv/tvbrowser/metadata.xml b/media-tv/tvbrowser/metadata.xml
new file mode 100644
index 000000000000..19aa81717c4f
--- /dev/null
+++ b/media-tv/tvbrowser/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <use>
+ <flag name="themes">Install extra theme packs</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-tv/tvbrowser/tvbrowser-3.2.1-r1.ebuild b/media-tv/tvbrowser/tvbrowser-3.2.1-r1.ebuild
new file mode 100644
index 000000000000..cf177b2c014a
--- /dev/null
+++ b/media-tv/tvbrowser/tvbrowser-3.2.1-r1.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2 flag-o-matic virtualx
+
+tp_base="http://javootoo.l2fprod.com/plaf/skinlf/themepacks"
+tvp_base="http://tvbrowser.org/downloads"
+
+DESCRIPTION="Themeable and easy to use TV Guide - written in Java"
+HOMEPAGE="http://www.tvbrowser.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.zip
+
+themes? (
+ ${tp_base}/BeOSthemepack.zip
+ ${tp_base}/amarachthemepack.zip
+ ${tp_base}/aquathemepack.zip
+ ${tp_base}/architectBluethemepack.zip
+ ${tp_base}/architectOlivethemepack.zip
+ ${tp_base}/b0sumiErgothempack.zip
+ ${tp_base}/b0sumithemepack.zip
+ ${tp_base}/bbjthemepack.zip
+ ${tp_base}/beigeazulthemepack.zip
+ ${tp_base}/beosthemepack.zip
+ ${tp_base}/blueMetalthemepack.zip
+ ${tp_base}/blueTurquesathemepack.zip
+ ${tp_base}/cellshadedthemepack.zip
+ ${tp_base}/chaNinja-Bluethemepack.zip
+ ${tp_base}/coronaHthemepack.zip
+ ${tp_base}/cougarthemepack.zip
+ ${tp_base}/crystal2themepack.zip
+ ${tp_base}/fatalEthemepack.zip
+ ${tp_base}/gfxOasisthemepack.zip
+ ${tp_base}/gorillathemepack.zip
+ ${tp_base}/hmmXPBluethemepack.zip
+ ${tp_base}/hmmXPMonoBluethemepack.zip
+ ${tp_base}/iBarthemepack.zip
+ ${tp_base}/macosthemepack.zip
+ ${tp_base}/midnightthemepack.zip
+ ${tp_base}/mmMagra-Xthemepack.zip
+ ${tp_base}/modernthemepack.zip
+ ${tp_base}/oliveGreenLunaXPthemepack.zip
+ ${tp_base}/opusLunaSilverthemepack.zip
+ ${tp_base}/opusOSBluethemepack.zip
+ ${tp_base}/opusOSDeepthemepack.zip
+ ${tp_base}/opusOSOlivethemepack.zip
+ ${tp_base}/quickSilverRthemepack.zip
+ ${tp_base}/roueBluethemepack.zip
+ ${tp_base}/roueBrownthemepack.zip
+ ${tp_base}/roueGreenthemepack.zip
+ ${tp_base}/royalInspiratthemepack.zip
+ ${tp_base}/silverLunaXPthemepack.zip
+ ${tp_base}/solunaRthemepack.zip
+ ${tp_base}/tigerGraphitethemepack.zip
+ ${tp_base}/tigerthemepack.zip
+ ${tp_base}/toxicthemepack.zip
+ ${tp_base}/underlingthemepack.zip
+ ${tp_base}/whistlerthemepack.zip
+ ${tp_base}/xplunathemepack.zip
+
+ ${tvp_base}/noia.zip
+ ${tvp_base}/nuvola.zip
+ ${tvp_base}/tulliana.zip
+ ${tvp_base}/tango_without_heart.zip
+)"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+
+IUSE="themes"
+
+COMMON_DEP="dev-java/bsh:0
+ dev-java/commons-codec:0
+ dev-java/commons-lang:2.1
+ dev-java/commons-net:0
+ dev-java/jakarta-oro:2.0
+ dev-java/jgoodies-forms:0
+ dev-java/jgoodies-looks:2.0
+ dev-java/l2fprod-common:0
+ dev-java/log4j:0
+ dev-java/skinlf:0
+ dev-java/stax:0
+ dev-java/swt:4.2
+ dev-java/xalan:0
+ x11-libs/libXt:0
+ x11-libs/libSM:0
+ x11-libs/libICE:0
+ x11-libs/libXext:0
+ x11-libs/libXtst:0
+ x11-libs/libX11:0
+ x11-libs/libXau:0
+ x11-libs/libXdmcp:0
+"
+
+DEPEND="${COMMON_DEP}
+ app-arch/unzip:0
+ >=virtual/jdk-1.6
+ test? ( dev-java/junit:0 dev-java/ant-junit:0 )
+"
+
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.6
+"
+
+java_prepare() {
+ cp "${FILESDIR}"/${P}-build.xml build.xml || die "Failed to replace build.xml."
+
+ local error="Failed to unbundle or remove libraries or classes."
+ pushd lib > /dev/null
+ rm -v bsh-*.jar commons*.jar jgoodies*.jar l2fprod-common-tasks*.jar \
+ skinlf*.jar stax*.jar || die ${error}
+ popd > /dev/null
+
+ find deployment -name '*.jar' -exec rm -v {} \; || die ${error}
+ find . -name '*.class' -exec rm -v {} \; || die ${error}
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="bsh,commons-codec,commons-lang-2.1,jgoodies-forms,jgoodies-looks-2.0,l2fprod-common,skinlf"
+EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},ant-junit,junit"
+
+EANT_BUILD_TARGET="runtime-linux"
+EANT_DOC_TARGET="public-doc"
+
+src_test() {
+ VIRTUALX_COMMAND="java-pkg-2_src_test" virtualmake
+}
+
+src_install() {
+ pushd runtime/${PN}_linux > /dev/null
+ java-pkg_dojar ${PN}.jar
+
+ local todir="${JAVA_PKG_SHAREPATH}"
+
+ cp -a {imgs,icons,plugins} "${D}/${todir}" || die "Failed to copy directories."
+ cp linux.properties "${D}/${todir}" || die "Failed to copy linux.properties."
+
+ insinto "${todir}/themepacks"
+ doins themepacks/themepack.zip
+
+ if use themes ; then
+ pushd "${DISTDIR}" > /dev/null
+ doins *pack.zip
+
+ insinto "${todir}/icons"
+ doins noia.zip nuvola.zip tulliana.zip tango_without_heart.zip
+ popd > /dev/null
+ fi
+
+ java-pkg_dolauncher "tvbrowser" \
+ --main tvbrowser.TVBrowser \
+ --pwd ${todir} \
+ --java_args " -Dpropertiesfile=${todir}/linux.properties"
+
+ make_desktop_entry ${PN} "TV-Browser" \
+ /usr/share/tvbrowser/imgs/tvbrowser128.png "AudioVideo;TV;Video"
+ popd > /dev/null
+
+ java-pkg_dojar lib/{htmlparser-1.6.jar,jRegistryKey-1.4.5.jar,opencsv-2.3.jar}
+ java-pkg_dojar lib/{quaqua-7.3.4.jar,substance-6.1.jar,texhyphj-1.1.jar,trident-1.3.jar}
+
+ use source && java-pkg_dosrc src
+ use doc && java-pkg_dojavadoc doc
+}
diff --git a/media-tv/tvbrowser/tvbrowser-3.4.1.0.ebuild b/media-tv/tvbrowser/tvbrowser-3.4.1.0.ebuild
new file mode 100644
index 000000000000..207aff66a520
--- /dev/null
+++ b/media-tv/tvbrowser/tvbrowser-3.4.1.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Themeable and easy to use TV Guide - written in Java"
+HOMEPAGE="http://www.tvbrowser.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.zip"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+IUSE=""
+
+COMMON_DEP="dev-java/bsh:0
+ dev-java/commons-codec:0
+ dev-java/commons-lang:3.1
+ dev-java/commons-net:0
+ dev-java/jakarta-oro:2.0
+ dev-java/jgoodies-common:1.8
+ dev-java/jgoodies-forms:1.8
+ dev-java/jgoodies-looks:2.6
+ dev-java/l2fprod-common:0
+ dev-java/htmlparser-org:0
+ dev-java/log4j:0
+ dev-java/skinlf:0
+ dev-java/stax:0
+ dev-java/xalan:0
+ dev-java/opencsv:0
+ dev-java/texhyphj:0
+ dev-java/trident:0
+ x11-libs/libXt
+ x11-libs/libSM
+ x11-libs/libICE
+ x11-libs/libXext
+ x11-libs/libXtst
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp"
+
+DEPEND="${COMMON_DEP}
+ app-arch/unzip
+ >=virtual/jdk-1.6"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.6"
+
+java_prepare() {
+ epatch "${FILESDIR}"/${PV}-*.patch
+ #epatch "${FILESDIR}"/${PV}-build.xml.patch
+
+ rm -v lib/{bsh-,commons,jgoodies,l2fprod-common-tasks,skinlf,stax,htmlparser,opencsv,trident,texhyphj,jRegistryKey}*.jar
+
+ find deployment -name '*.jar' -delete || die
+ find . -name '*.class' -delete || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="bsh
+ commons-codec
+ commons-lang-3.1
+ jgoodies-common-1.8
+ jgoodies-forms-1.8
+ jgoodies-looks-2.6
+ l2fprod-common
+ skinlf
+ htmlparser-org
+ opencsv
+ texhyphj"
+EANT_BUILD_TARGET="runtime-linux"
+EANT_DOC_TARGET="public-doc"
+
+src_install() {
+ java-pkg_dojar runtime/${PN}_linux/${PN}.jar
+ java-pkg_dojar lib/substance-6.1.jar
+ java-pkg_register-dependency trident,opencsv
+
+ insinto /usr/share/${PN}
+ doins -r runtime/${PN}_linux/{imgs,icons,plugins,infothemes}
+ doins runtime/${PN}_linux/linux.properties
+
+ insinto /usr/share/${PN}/themepacks
+ doins themepacks/themepack.zip
+
+ java-pkg_dolauncher "tvbrowser" \
+ --main tvbrowser.TVBrowser \
+ --pwd /usr/share/${PN} \
+ --java_args " -Dpropertiesfile=/usr/share/${PN}/linux.properties"
+
+ make_desktop_entry ${PN} "TV-Browser" \
+ /usr/share/tvbrowser/imgs/tvbrowser128.png "AudioVideo;TV;Video"
+
+ use source && java-pkg_dosrc src/*
+ use doc && java-pkg_dojavadoc doc
+}
diff --git a/media-tv/tvbrowser/tvbrowser-3.4.ebuild b/media-tv/tvbrowser/tvbrowser-3.4.ebuild
new file mode 100644
index 000000000000..9c32400677a3
--- /dev/null
+++ b/media-tv/tvbrowser/tvbrowser-3.4.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Themeable and easy to use TV Guide - written in Java"
+HOMEPAGE="http://www.tvbrowser.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.zip"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+IUSE=""
+
+COMMON_DEP="dev-java/bsh:0
+ dev-java/commons-codec:0
+ dev-java/commons-lang:3.1
+ dev-java/commons-net:0
+ dev-java/jakarta-oro:2.0
+ dev-java/jgoodies-common:1.8
+ dev-java/jgoodies-forms:1.8
+ dev-java/jgoodies-looks:2.6
+ dev-java/l2fprod-common:0
+ dev-java/htmlparser-org:0
+ dev-java/log4j:0
+ dev-java/skinlf:0
+ dev-java/stax:0
+ dev-java/xalan:0
+ dev-java/opencsv:0
+ dev-java/texhyphj:0
+ dev-java/trident:0
+ x11-libs/libXt
+ x11-libs/libSM
+ x11-libs/libICE
+ x11-libs/libXext
+ x11-libs/libXtst
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp"
+
+DEPEND="${COMMON_DEP}
+ app-arch/unzip
+ >=virtual/jdk-1.6"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.6"
+
+java_prepare() {
+ epatch "${FILESDIR}"/${PV}-*.patch
+
+ rm -v lib/{bsh-,commons,jgoodies,l2fprod-common-tasks,skinlf,stax,htmlparser,opencsv,trident,texhyphj,jRegistryKey}*.jar
+
+ find deployment -name '*.jar' -delete || die
+ find . -name '*.class' -delete || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="bsh
+ commons-codec
+ commons-lang-3.1
+ jgoodies-common-1.8
+ jgoodies-forms-1.8
+ jgoodies-looks-2.6
+ l2fprod-common
+ skinlf
+ htmlparser-org
+ opencsv
+ texhyphj"
+EANT_BUILD_TARGET="runtime-linux"
+EANT_DOC_TARGET="public-doc"
+
+src_install() {
+ java-pkg_dojar runtime/${PN}_linux/${PN}.jar
+ java-pkg_dojar lib/substance-6.1.jar
+ java-pkg_register-dependency trident,opencsv
+
+ insinto /usr/share/${PN}
+ doins -r runtime/${PN}_linux/{imgs,icons,plugins,infothemes}
+ doins runtime/${PN}_linux/linux.properties
+
+ insinto /usr/share/${PN}/themepacks
+ doins themepacks/themepack.zip
+
+ java-pkg_dolauncher "tvbrowser" \
+ --main tvbrowser.TVBrowser \
+ --pwd /usr/share/${PN} \
+ --java_args " -Dpropertiesfile=/usr/share/${PN}/linux.properties"
+
+ make_desktop_entry ${PN} "TV-Browser" \
+ /usr/share/tvbrowser/imgs/tvbrowser128.png "AudioVideo;TV;Video"
+
+ use source && java-pkg_dosrc src/*
+ use doc && java-pkg_dojavadoc doc
+}
diff --git a/media-tv/tvbrowser/tvbrowser-9999.ebuild b/media-tv/tvbrowser/tvbrowser-9999.ebuild
new file mode 100644
index 000000000000..aef81d7131fb
--- /dev/null
+++ b/media-tv/tvbrowser/tvbrowser-9999.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2 flag-o-matic virtualx subversion
+
+tp_base="http://javootoo.l2fprod.com/plaf/skinlf/themepacks"
+tvp_base="http://tvbrowser.org/downloads"
+
+DESCRIPTION="Themeable and easy to use TV Guide - written in Java"
+HOMEPAGE="http://www.tvbrowser.org/"
+ESVN_REPO_URI="https://tvbrowser.svn.sourceforge.net/svnroot/tvbrowser/trunk/tvbrowser"
+SRC_URI="
+themes? (
+ ${tp_base}/BeOSthemepack.zip
+ ${tp_base}/amarachthemepack.zip
+ ${tp_base}/aquathemepack.zip
+ ${tp_base}/architectBluethemepack.zip
+ ${tp_base}/architectOlivethemepack.zip
+ ${tp_base}/b0sumiErgothempack.zip
+ ${tp_base}/b0sumithemepack.zip
+ ${tp_base}/bbjthemepack.zip
+ ${tp_base}/beigeazulthemepack.zip
+ ${tp_base}/beosthemepack.zip
+ ${tp_base}/blueMetalthemepack.zip
+ ${tp_base}/blueTurquesathemepack.zip
+ ${tp_base}/cellshadedthemepack.zip
+ ${tp_base}/chaNinja-Bluethemepack.zip
+ ${tp_base}/coronaHthemepack.zip
+ ${tp_base}/cougarthemepack.zip
+ ${tp_base}/crystal2themepack.zip
+ ${tp_base}/fatalEthemepack.zip
+ ${tp_base}/gfxOasisthemepack.zip
+ ${tp_base}/gorillathemepack.zip
+ ${tp_base}/hmmXPBluethemepack.zip
+ ${tp_base}/hmmXPMonoBluethemepack.zip
+ ${tp_base}/iBarthemepack.zip
+ ${tp_base}/macosthemepack.zip
+ ${tp_base}/midnightthemepack.zip
+ ${tp_base}/mmMagra-Xthemepack.zip
+ ${tp_base}/modernthemepack.zip
+ ${tp_base}/oliveGreenLunaXPthemepack.zip
+ ${tp_base}/opusLunaSilverthemepack.zip
+ ${tp_base}/opusOSBluethemepack.zip
+ ${tp_base}/opusOSDeepthemepack.zip
+ ${tp_base}/opusOSOlivethemepack.zip
+ ${tp_base}/quickSilverRthemepack.zip
+ ${tp_base}/roueBluethemepack.zip
+ ${tp_base}/roueBrownthemepack.zip
+ ${tp_base}/roueGreenthemepack.zip
+ ${tp_base}/royalInspiratthemepack.zip
+ ${tp_base}/silverLunaXPthemepack.zip
+ ${tp_base}/solunaRthemepack.zip
+ ${tp_base}/tigerGraphitethemepack.zip
+ ${tp_base}/tigerthemepack.zip
+ ${tp_base}/toxicthemepack.zip
+ ${tp_base}/underlingthemepack.zip
+ ${tp_base}/whistlerthemepack.zip
+ ${tp_base}/xplunathemepack.zip
+
+ ${tvp_base}/noia.zip
+ ${tvp_base}/nuvola.zip
+ ${tvp_base}/tulliana.zip
+ ${tvp_base}/tango_without_heart.zip
+)"
+
+SLOT="0"
+KEYWORDS=""
+LICENSE="GPL-3"
+
+IUSE="themes"
+
+CDEPEND="dev-java/bsh:0
+ dev-java/commons-codec:0
+ dev-java/commons-lang:3.3
+ dev-java/commons-net:0
+ dev-java/jakarta-oro:2.0
+ dev-java/jgoodies-common:1.8
+ dev-java/jgoodies-forms:1.8
+ dev-java/jgoodies-looks:2.6
+ dev-java/l2fprod-common:0
+ dev-java/log4j:0
+ dev-java/skinlf:0
+ dev-java/stax:0
+ dev-java/swt:4.2
+ dev-java/xalan:0
+ x11-libs/libXt:0
+ x11-libs/libSM:0
+ x11-libs/libICE:0
+ x11-libs/libXext:0
+ x11-libs/libXtst:0
+ x11-libs/libX11:0
+ x11-libs/libXau:0
+ x11-libs/libXdmcp:0"
+
+DEPEND="${CDEPEND}
+ app-arch/unzip:0
+ >=virtual/jdk-1.6
+ test? ( dev-java/junit:0 dev-java/ant-junit:0 )"
+
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.6"
+
+src_prepare() {
+ cp "${FILESDIR}"/${P}-build.xml build.xml || die "Failed to replace build.xml."
+
+ # Yes, there are some bundled jars.
+ # Can't help but use them for the time being.
+ local error="Failed to unbundle or remove libraries or classes."
+ pushd lib > /dev/null
+ rm -v bsh-*.jar commons*.jar jgoodies*.jar l2fprod-common-tasks*.jar \
+ skinlf*.jar stax*.jar || die ${error}
+ popd > /dev/null
+
+ find deployment -name '*.jar' -exec rm -v {} \; || die ${error}
+ find . -name '*.class' -exec rm -v {} \; || die ${error}
+
+ # These tests fail.
+ rm -v \
+ test/src/util/misc/TextLineBreakerTest.java \
+ test/src/util/ui/html/HTMLTextHelperTest.java
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="bsh,commons-codec,commons-lang-3.3,jgoodies-common-1.8,jgoodies-forms-1.8,jgoodies-looks-2.6,l2fprod-common,skinlf"
+EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},ant-junit,junit"
+
+EANT_BUILD_TARGET="runtime-linux"
+EANT_DOC_TARGET="public-doc"
+
+src_test() {
+ VIRTUALX_COMMAND="java-pkg-2_src_test" virtualmake
+}
+
+src_install() {
+ pushd runtime/${PN}_linux > /dev/null
+ java-pkg_dojar ${PN}.jar
+
+ local todir="${JAVA_PKG_SHAREPATH}"
+
+ cp -a {imgs,icons,plugins} "${D}/${todir}" || die "Failed to copy directories."
+ cp linux.properties "${D}/${todir}" || die "Failed to copy linux.properties."
+
+ insinto "${todir}/themepacks"
+ doins themepacks/themepack.zip
+
+ if use themes ; then
+ pushd "${DISTDIR}" > /dev/null
+ doins *pack.zip
+
+ insinto "${todir}/icons"
+ doins noia.zip nuvola.zip tulliana.zip tango_without_heart.zip
+ popd > /dev/null
+ fi
+
+ java-pkg_dolauncher "tvbrowser" \
+ --main tvbrowser.TVBrowser \
+ --pwd ${todir} \
+ --java_args " -Dpropertiesfile=${todir}/linux.properties"
+
+ make_desktop_entry ${PN} "TV-Browser" \
+ /usr/share/tvbrowser/imgs/tvbrowser128.png "AudioVideo;TV;Video"
+ popd > /dev/null
+
+ java-pkg_dojar $(ls lib/*.jar)
+ #java-pkg_dojar lib/{htmlparser-1.6.jar,jRegistryKey-1.4.5.jar,opencsv-2.3.jar}
+ #java-pkg_dojar lib/{substance-6.1.jar,texhyphj-1.1.jar,trident-1.3.jar}
+
+ use source && java-pkg_dosrc src
+ use doc && java-pkg_dojavadoc doc
+}