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
+++ /dev/null
-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 @@
- |\r
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->\r
- \r
-- <!-- Creates an .app file for Mac OS X (http://informagen.com/JarBundler/) -->\r
-- <taskdef name="jarbundler"\r
-- classpath="deployment/macosx/jarbundler-2.0.0.jar"\r
-- classname="net.sourceforge.jarbundler.JarBundler" />\r
--\r
-- <!-- Creates a Windows Executable using launch4j (http://launch4j.sf.net) -->\r
-- <taskdef name="launch4j"\r
-- classname="net.sf.launch4j.ant.Launch4jTask"\r
-- classpath="${deployment.dir}/win/launch4j/launch4j.jar:${deployment.dir}/win/launch4j/lib/xstream.jar" />\r
--\r
-- <!-- Creates a linux desktopEntry-->\r
-- <taskdef name="desktopEntry"\r
-- classname="com.googlecode.ant_deb_task.DesktopEntry"\r
-- classpathref="ant-deb.classpath"/>\r
--\r
-- <!-- Creates an Ubuntu package-->\r
-- <taskdef name="deb"\r
-- classname="com.googlecode.ant_deb_task.Deb"\r
-- classpathref="ant-deb.classpath"/>\r
-- \r
-- <!-- Creates a RedHad package-->\r
-- <taskdef name="rrpm"\r
-- classname="org.redline_rpm.RedlineTask"\r
-- classpathref="ant-rpm.classpath"/>\r
--\r
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
- |\r
- | Display all targets\r
-@@ -304,6 +279,7 @@
- <echo message="Creating the jars ..."/>\r
- \r
- <!-- Extract the libraries for the tvbrowser.jar into the temp.dir -->\r
-+ <!--\r
- <unjar src="${lib.dir}/${lib.skinlf.name}-${lib.skinlf.version}.jar" dest="${unpacked.dir}/${lib.skinlf.name}.jar"/>\r
- <unjar src="${lib.dir}/${lib.bsh.name}-${lib.bsh.version}.jar" dest="${unpacked.dir}/${lib.bsh.name}.jar"/>\r
- <unjar src="${lib.dir}/${lib.jgoodies-common.name}-${lib.jgoodies-common.version}.jar" dest="${unpacked.dir}/${lib.jgoodies-common.name}.jar"/>\r
-@@ -318,6 +294,7 @@
- <unjar src="${lib.dir}/${lib.texhyphj.name}-${lib.texhyphj.version}.jar" dest="${unpacked.dir}/${lib.texhyphj.name}.jar" />\r
- <unjar src="${lib.dir}/${lib.substance.name}-${lib.substance.version}.jar" dest="${unpacked.dir}/${lib.substance.name}.jar" />\r
- <unjar src="${lib.dir}/${lib.trident.name}-${lib.trident.version}.jar" dest="${unpacked.dir}/${lib.trident.name}.jar" />\r
-+ -->\r
- \r
- <!-- Pack the tvbrowser.jar -->\r
- <jar jarfile="${tvbrowser-default.runtime.dir}/tvbrowser.jar"\r
-@@ -333,6 +310,7 @@
- <fileset dir="${classes.dir}" includes="util/**"/>\r
- <fileset dir="${classes.dir}" includes="com/**"/>\r
- <fileset dir="${classes.dir}/imgs" includes="splash.png"/>\r
-+ <!--\r
- <fileset dir="${unpacked.dir}/${lib.skinlf.name}.jar" includes="com/**"/>\r
- <fileset dir="${unpacked.dir}/${lib.skinlf.name}.jar" includes="org/**"/>\r
- <fileset dir="${unpacked.dir}/${lib.bsh.name}.jar" includes="bsh/**"/>\r
-@@ -348,6 +326,7 @@
- <fileset dir="${unpacked.dir}/${lib.texhyphj.name}.jar" includes="net/**"/>\r
- <fileset dir="${unpacked.dir}/${lib.substance.name}.jar" includes="org/**"/>\r
- <fileset dir="${unpacked.dir}/${lib.trident.name}.jar" includes="org/**"/>\r
-+ -->\r
- </jar>\r
- \r
- <!-- Copy the other stuff -->\r
-@@ -406,8 +385,9 @@
- \r
- <!-- Extract the libraries for the tvbrowser.jar into the temp.dir -->\r
- <mkdir dir="${unpacked.dir}/${lib.commons.net.name}.jar"/>\r
-+ <!--\r
- <unjar src="${lib.dir}/${lib.commons.net.name}-${lib.commons.net.version}.jar" dest="${unpacked.dir}/${lib.commons.net.name}.jar"/>\r
--\r
-+-->\r
- </target>\r
- \r
- \r
-@@ -446,7 +426,7 @@
- \r
- <!-- Creates the runtime folder for the Mac platform -->\r
- <target name="runtime-mac" depends="clean-mac, make-mac, runtime, test">\r
--\r
-+<!--\r
- <delete dir="${tvbrowser-mac.runtime.dir}"/>\r
- <mkdir dir="${tvbrowser-mac.runtime.dir}"/>\r
- \r
-@@ -477,11 +457,12 @@
- <copy todir="${tvbrowser-mac.runtime.dir}/TV-Browser.app/Contents/Resources">\r
- <fileset dir="${deployment.dir}" includes="osx.properties"/>\r
- </copy>\r
--\r
-+-->\r
- </target>\r
- \r
- <!-- Creates the desktop entry file for Linux platforms -->\r
- <target name="tvbrowser-desktop-entry">\r
-+ <!--\r
- <desktopEntry\r
- toFile="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop"\r
- name="TV-Browser"\r
-@@ -498,10 +479,12 @@
- <comment lang="de" value="Anpassbare und einfach zu benutzende TV-Zeitschrift - geschrieben in Java"/>\r
- </desktopEntry>\r
- <echo file="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" append="true">StartupWMClass=tvbrowser-TVBrowser</echo>\r
-+ -->\r
- </target>\r
- \r
- <!-- Creates the desktop entry file for Ubuntu platform -->\r
- <target name="tvbrowser-desktop-entry-deb">\r
-+ <!--\r
- <desktopEntry\r
- toFile="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop"\r
- name="${programname}"\r
-@@ -518,6 +501,7 @@
- <comment lang="de" value="Anpassbare und einfach zu benutzende TV-Zeitschrift - geschrieben in Java"/>\r
- </desktopEntry>\r
- <echo file="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" append="true">StartupWMClass=tvbrowser-TVBrowser</echo>\r
-+ -->\r
- </target>\r
- \r
- <!-- Creates the runtime folder for linux platforms -->\r
-@@ -673,6 +657,7 @@
- \r
- <!-- Creates the windows exe file -->\r
- <target name="exe" depends="runtime-win">\r
-+ <!--\r
- <launch4j configFile="${deployment.dir}/win/launch4j/tvbrowser.xml"\r
- fileversion="${tvbrowser.version.file}"\r
- productversion="${tvbrowser.version.file}"\r
-@@ -683,15 +668,18 @@
- productversion="${tvbrowser.version.file}"\r
- txtfileversion="${tvbrowser.version}"\r
- txtproductversion="${tvbrowser.version}"/>\r
-+ -->\r
- </target>\r
- \r
- <!-- Creates the windows transportable exe file -->\r
- <target name="transportable-exe" depends="runtime-transportable">\r
-+ <!--\r
- <launch4j configFile="${deployment.dir}/win/launch4j/tvbrowser-transportable.xml"\r
- fileversion="${tvbrowser.version.file}"\r
- productversion="${tvbrowser.version.file}"\r
- txtfileversion="${tvbrowser.version}"\r
- txtproductversion="${tvbrowser.version}"/>\r
-+ -->\r
- </target>\r
- \r
- <!-- Creates the release binaries (.exe installer) for windows platforms -->\r
+++ /dev/null
-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;\r
- import util.ui.UiUtilities;\r
- import util.ui.textcomponentpopup.TextComponentPopupEventQueue;\r
--import ca.beq.util.win32.registry.RegistryKey;\r
--import ca.beq.util.win32.registry.RegistryValue;\r
--import ca.beq.util.win32.registry.RootKey;\r
- \r
- import com.jgoodies.looks.LookUtils;\r
- import com.l2fprod.gui.plaf.skin.SkinLookAndFeel;\r
-@@ -575,77 +572,6 @@ public class TVBrowser {
- public void run() {\r
- ChannelList.completeChannelLoading();\r
- initializeAutomaticDownload();\r
-- if (Launch.isOsWindowsNtBranch()) {\r
-- try {\r
-- RegistryKey desktopSettings = new RegistryKey(\r
-- RootKey.HKEY_CURRENT_USER, "Control Panel\\Desktop");\r
-- RegistryValue autoEnd = desktopSettings\r
-- .getValue("AutoEndTasks");\r
--\r
-- if (autoEnd.getData().equals("1")) {\r
-- RegistryValue killWait = desktopSettings\r
-- .getValue("WaitToKillAppTimeout");\r
--\r
-- int i = Integer.parseInt(killWait.getData().toString());\r
--\r
-- if (i < 5000) {\r
-- JOptionPane pane = new JOptionPane();\r
--\r
-- String cancel = mLocalizer.msg("registryCancel",\r
-- "Close TV-Browser");\r
-- String dontDoIt = mLocalizer.msg("registryJumpOver",\r
-- "Not this time");\r
--\r
-- pane.setOptions(new String[] {\r
-- Localizer.getLocalization(Localizer.I18N_OK), dontDoIt,\r
-- cancel });\r
-- pane.setOptionType(JOptionPane.YES_NO_CANCEL_OPTION);\r
-- pane.setMessageType(JOptionPane.WARNING_MESSAGE);\r
-- pane\r
-- .setMessage(mLocalizer\r
-- .msg(\r
-- "registryWarning",\r
-- "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'."));\r
--\r
-- pane.setInitialValue(mLocalizer.msg("registryCancel",\r
-- "Close TV-Browser"));\r
--\r
-- JDialog d = pane.createDialog(UiUtilities\r
-- .getLastModalChildOf(mainFrame), UIManager\r
-- .getString("OptionPane.messageDialogTitle"));\r
-- d.setModal(true);\r
-- UiUtilities.centerAndShow(d);\r
--\r
-- if (pane.getValue() == null\r
-- || pane.getValue().equals(cancel)) {\r
-- mainFrame.quit();\r
-- } else if (!pane.getValue().equals(dontDoIt)) {\r
-- try {\r
-- killWait.setData("5000");\r
-- desktopSettings.setValue(killWait);\r
-- JOptionPane\r
-- .showMessageDialog(\r
-- UiUtilities.getLastModalChildOf(mainFrame),\r
-- mLocalizer\r
-- .msg("registryChanged",\r
-- "The timeout was changed successfully.\nPlease reboot Windows!"));\r
-- } catch (Exception registySetting) {\r
-- JOptionPane\r
-- .showMessageDialog(\r
-- UiUtilities.getLastModalChildOf(mainFrame),\r
-- mLocalizer\r
-- .msg(\r
-- "registryNotChanged",\r
-- "<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>"),\r
-- Localizer.getLocalization(Localizer.I18N_ERROR),\r
-- JOptionPane.ERROR_MESSAGE);\r
-- }\r
-- }\r
-- }\r
-- }\r
-- } catch (Throwable registry) {\r
-- }\r
-- }\r
- \r
- if (currentVersion != null\r
- && currentVersion.compareTo(new Version(2, 71, false)) < 0) {\r
-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;\r
- import util.ui.Localizer;\r
- import util.ui.UiUtilities;\r
--import ca.beq.util.win32.registry.RegistryKey;\r
--import ca.beq.util.win32.registry.RootKey;\r
- \r
- import com.jgoodies.forms.builder.PanelBuilder;\r
- import com.jgoodies.forms.factories.Borders;\r
-@@ -163,41 +161,6 @@ public class StartupSettingsTab implements devplugin.SettingsTab {
- .getBoolean());\r
- mSettingsPn.add(mShowStartScreenChB, cc.xy(2, ++y));\r
- \r
-- if (System.getProperty("os.name").toLowerCase().startsWith("windows") && !TVBrowser.isTransportable()) {\r
-- layout.insertRow(++y, RowSpec.decode("1dlu"));\r
-- layout.insertRow(++y, RowSpec.decode("pref"));\r
--\r
-- try {\r
-- RegistryKey shellFolders = new RegistryKey(RootKey.HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders");\r
-- String path = shellFolders.getValue("Startup").getData().toString();\r
--\r
-- if(path == null || path.length() < 1 || !(new File(path)).isDirectory()) {\r
-- throw new Exception();\r
-- }\r
--\r
-- mLinkFileFile = new File(path,"TV-Browser.url");\r
--\r
-- try {\r
-- mLinkFile = new LinkFile(mLinkFileFile);\r
--\r
-- if(mLinkFileFile.isFile()) {\r
-- try {\r
-- if (!mLinkFile.hasTarget((new File("tvbrowser.exe")).getAbsoluteFile())) {\r
-- createLink(mLinkFile);\r
-- }\r
-- }catch(Exception linkException) {\r
-- mLinkFileFile.delete();\r
-- }\r
-- }\r
-- }catch(FileNotFoundException fe) {}\r
--\r
-- mAutostartWithWindows = new JCheckBox(mLocalizer.msg("autostart","Start TV-Browser with Windows"),\r
-- mLinkFileFile.isFile());\r
--\r
-- mSettingsPn.add(mAutostartWithWindows, cc.xy(2, y));\r
-- } catch (Throwable e) {e.printStackTrace();}\r
-- }\r
--\r
- y++;\r
- \r
- mSettingsPn.add(createRefreshPanel(), cc.xyw(1,++y,5));\r
-@@ -513,4 +476,4 @@ public class StartupSettingsTab implements devplugin.SettingsTab {
- return new File(mTarget).equals(file);\r
- }\r
- }\r
--}
-\ No newline at end of file
-+}\r
+++ /dev/null
-<?xml version="1.0"?>\r
-<!--\r
- | Ant build script for the TV-Browser project.\r
- |\r
- | TV-Browser\r
- | Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)\r
- |\r
- | This program is free software; you can redistribute it and/or\r
- | modify it under the terms of the GNU General Public License\r
- | as published by the Free Software Foundation; either version 2\r
- | of the License, or (at your option) any later version.\r
- |\r
- | This program is distributed in the hope that it will be useful,\r
- | but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- | GNU General Public License for more details.\r
- |\r
- | You should have received a copy of the GNU General Public License\r
- | along with this program; if not, write to the Free Software\r
- | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\r
- |\r
- | CVS information:\r
- | $RCSfile: tvbrowser-3.2.1-build.xml,v $\r
- | $Source: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml,v $\r
- | $Date: 2013/08/13 20:58:08 $\r
- | $Author: tomwij $\r
- | $Revision: 1.1 $\r
- |\r
- | Author: Til Schneider, www.murfman.de\r
- | \r
- | Modified by Gentoo Developers for Gentoo Linux packaging purposes.\r
- +-->\r
-<project name="TV-Browser" default="targets" basedir=".">\r
-\r
-\r
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
- |\r
- | The properties and paths\r
- |\r
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->\r
-\r
- <property environment="env"/>\r
- <property file="build.properties"/>\r
- <property name="programname" value="TV-Browser"/>\r
- <property name="programname.file" value="tvbrowser"/>\r
- <property name="classes.dir" value="classes"/>\r
- <property name="lib.dir" value="lib"/>\r
- <property name="txt.dir" value="txt"/>\r
- <property name="src.dir" value="src"/>\r
- <property name="test.src.dir" value="test/src"/>\r
- <property name="test.classes.dir" value="test/classes"/>\r
- <property name="doc.dir" value="doc"/>\r
- <property name="doc.header" value="${programname} ${tvbrowser.version} API"/>\r
- <property name="doc.title" value="API documentation for ${programname} ${tvbrowser.version}"/>\r
- <property name="doc.bottom" value="${programname} ${tvbrowser.version}, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)"/>\r
-\r
- <property name="runtime.dir" value="runtime"/>\r
- <property name="tvbrowser-default.runtime.dir" value="${runtime.dir}/tvbrowser_default"/>\r
-\r
- <property name="tvbrowser-win.runtime.dir" value="${runtime.dir}/tvbrowser_win"/>\r
- <property name="tvbrowser-linux.runtime.dir" value="${runtime.dir}/tvbrowser_linux"/>\r
- <property name="tvbrowser-transportable.runtime.dir" value="${runtime.dir}/tvbrowser_transportable"/>\r
- <property name="tvbrowser-nightly.runtime.dir" value="${runtime.dir}/tvbrowser_nightly"/>\r
- <property name="tvbrowser-mac.runtime.dir" value="${runtime.dir}/tvbrowser_mac"/>\r
- <property name="themepacks.dir" value="themepacks"/>\r
- <property name="personas.dir" value="personas"/>\r
-\r
- <property name="deployment.dir" value="deployment" />\r
- <property name="win.dir" value="${deployment.dir}/win"/>\r
- <property name="linux.dir" value="${deployment.dir}/linux"/>\r
- <property name="x11.dir" value="${deployment.dir}/x11"/>\r
- <property name="installer.dir" value="${win.dir}/installer"/>\r
- <property name="package-lists.dir" value="${txt.dir}/package-lists"/>\r
- <property name="public.dir" value="public"/>\r
-\r
- <path id="sourcepath">\r
- <pathelement location="${src.dir}"/>\r
- </path>\r
-\r
- <path id="classpath">\r
- <pathelement location="${classes.dir}"/>\r
- <fileset dir="${lib.dir}">\r
- <include name="*.jar"/>\r
- <exclude name="ant.jar"/>\r
- </fileset>\r
- </path>\r
-\r
- <path id="docpath">\r
- <path refid="sourcepath"/>\r
- </path>\r
-\r
- <path id="ant-deb.classpath">\r
- <fileset dir="${deployment.dir}/linux/ant-deb-task" includes="*.jar"/>\r
- </path>\r
- \r
- <path id="ant-rpm.classpath">\r
- <fileset dir="${deployment.dir}/linux/redline-rpm" includes="*.jar"/>\r
- </path>\r
-\r
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
-|\r
-| Display all targets\r
-|\r
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->\r
-\r
- <target name="targets" description="lists all the available public targets">\r
- <echo message="usage: build [target]"/>\r
- <echo message=""/>\r
- <echo message="main targets:"/>\r
- <echo message="============="/>\r
- <echo message=" targets Shows this list of targets."/>\r
- <echo message=" dump-info Dumps some information (VM-Version...)."/>\r
- <echo message=" public-default Creates platform-independent binaries"/>\r
- <echo message=" public-linux Creates binaries for Linux platforms"/>\r
- <echo message=" public-nightly Creates platform-independent binaries for nightly transportable version of TV-Browser (without platform dependent starters)"/>\r
- <echo message=" public-src Creates a .zip file containing the full source code of TV-Browser"/>\r
- <echo message=" public-doc Generates the JavaDoc documentation."/>\r
- <echo message=" release-packages Generates all packages needed for a TV-Browser release (without Mac version, works only under Windows)."/>\r
- <echo message=""/>\r
- <echo message="further targets:"/>\r
- <echo message="================"/>\r
- <echo message=" clean Deletes all class files, runtime directories and temporary files."/>\r
- <echo message=" clean-runtime Deletes the runtime directory."/>\r
- <echo message=" make-default Compiles the platform independent source code."/>\r
- <echo message=" make-linux Compiles the source code for linux platforms."/>\r
- <echo message=" runtime-default Creates the platform independent runtime directory" />\r
- <echo message=" runtime-linux Creates a runtime directory for linux platforms" />\r
- <echo message=" test Runs the JUnit tests."/>\r
- </target>\r
-\r
-\r
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
- |\r
- | Clean tasks: remove files\r
- |\r
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->\r
-\r
-\r
- <!-- Deletes the runtime director -->\r
- <target name="clean">\r
- <delete dir="${classes.dir}"/>\r
- <delete dir="${test.classes.dir}"/>\r
- </target>\r
-\r
-\r
- <!-- Deletes the classes and the runtime directory. -->\r
- <target name="clean-default" depends="clean">\r
- <delete dir="${tvbrowser-default.runtime.dir}"/>\r
- </target>\r
-\r
- <!-- Deletes the classes and the runtime directory. -->\r
- <target name="clean-transportable" depends="clean">\r
- <delete dir="${tvbrowser-transportable.runtime.dir}"/>\r
- </target>\r
-\r
- <!-- Deletes the classes and the runtime directory. -->\r
- <target name="clean-win" depends="clean">\r
- <delete dir="${tvbrowser-win.runtime.dir}"/>\r
- </target>\r
-\r
- <!-- Deletes the classes and the runtime directory. -->\r
- <target name="clean-linux" depends="clean">\r
- <delete dir="${tvbrowser-linux.runtime.dir}"/>\r
- </target>\r
-\r
- <!-- Deletes the classes and the runtime directory. -->\r
- <target name="clean-mac" depends="clean">\r
- <delete dir="${tvbrowser-mac.runtime.dir}"/>\r
- </target>\r
-\r
- <target name="clean-all" depends="clean-mac, clean-linux, clean-win, clean-default">\r
- <delete dir="${public.dir}"/>\r
- </target>\r
-\r
-\r
-\r
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
-|\r
-| Make tasks: compile the source code\r
-|\r
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->\r
- <target name="copy-resources">\r
- <copy todir="${classes.dir}">\r
- <fileset dir="${src.dir}" includes="**/*.gif"/>\r
- <fileset dir="${src.dir}" includes="**/*.jpg"/>\r
- <fileset dir="${src.dir}" includes="**/*.png"/>\r
- <fileset dir="${src.dir}" includes="**/*.dtd"/>\r
- <fileset dir="${src.dir}" includes="**/*.properties"/>\r
- <fileset dir="${src.dir}" includes="**/*.theme"/>\r
- <fileset dir="${src.dir}" includes="**/*.csv"/>\r
- </copy>\r
- </target>\r
-\r
- <!-- Compiles the platform independent source code -->\r
- <target name="make-default" depends="copy-resources">\r
- <echo message="Compiling the source code ... "/>\r
- <mkdir dir="${classes.dir}"/>\r
- <javac destdir="${classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.6" source="1.6">\r
- <src>\r
- <path refid="sourcepath"/>\r
- </src>\r
- <classpath>\r
- <path refid="classpath"/>\r
- </classpath>\r
- <exclude name="**/macosx/*"/>\r
- </javac>\r
-\r
-\r
- </target>\r
-\r
-\r
- <!-- Compiles the source code for windows platforms -->\r
- <target name="make-win" depends="make-default">\r
-\r
- </target>\r
-\r
-\r
- <!-- Compiles the source code for linux platforms -->\r
- <target name="make-linux" depends="make-default">\r
-\r
- </target>\r
- \r
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
- |\r
- | Runtime tasks: create runtime folders for the specified platform\r
- |\r
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->\r
-\r
- <target name="mkdirs">\r
- <!-- Make the TV-Browser runtime -->\r
- <delete dir="${tvbrowser-default.runtime.dir}"/>\r
- <mkdir dir="${tvbrowser-default.runtime.dir}"/>\r
- <mkdir dir="${tvbrowser-default.runtime.dir}/plugins"/> \r
- </target>\r
- \r
- <!-- Creates the platform independent runtime folder -->\r
- <target name="runtime" depends="clean-default, make-default, mkdirs">\r
- <echo message="Creating the jars ..."/>\r
-\r
- <!-- Pack the tvbrowser.jar -->\r
- <jar jarfile="${tvbrowser-default.runtime.dir}/tvbrowser.jar"\r
- compress="true"\r
- index="true">\r
- <manifest>\r
- <attribute name="Main-Class" value="tvbrowser.TVBrowser"/>\r
- <attribute name="SplashScreen-Image" value="splash.png"/>\r
- </manifest>\r
- <fileset dir="${classes.dir}" includes="tvbrowser/**"/>\r
- <fileset dir="${classes.dir}" includes="devplugin/**"/>\r
- <fileset dir="${classes.dir}" includes="tvdataservice/**"/>\r
- <fileset dir="${classes.dir}" includes="util/**"/>\r
- <fileset dir="${classes.dir}" includes="com/**"/>\r
- <fileset dir="${classes.dir}/imgs" includes="splash.png"/>\r
- </jar>\r
-\r
- <!-- Copy the other stuff -->\r
- <echo message="Copying the images and all the other stuff ..."/>\r
- <mkdir dir="${tvbrowser-default.runtime.dir}/imgs"/>\r
- <copy todir="${tvbrowser-default.runtime.dir}/imgs">\r
- <fileset dir="${classes.dir}/imgs" excludes="splash.png"/>\r
- </copy>\r
-\r
- <copy todir="${tvbrowser-default.runtime.dir}/imgs">\r
- <fileset dir="./images/additional">\r
- <include name="*.ico"/>\r
- </fileset>\r
- </copy>\r
- \r
- <mkdir dir="${tvbrowser-default.runtime.dir}/personas"/>\r
- <copy todir="${tvbrowser-default.runtime.dir}/personas">\r
- <fileset dir="./personas"/>\r
- </copy>\r
- <copy todir="${tvbrowser-default.runtime.dir}">\r
- <fileset dir="${txt.dir}" includes="LICENSE.txt"/>\r
- <fileset dir="${txt.dir}" includes="COPYRIGHT.txt"/>\r
- <fileset dir="${deployment.dir}/common" includes="**" />\r
- <!-- <fileset dir="${txt.dir}" includes="website.url"/> -->\r
- <!-- <fileset dir="${txt.dir}" includes="default.properties"/> -->\r
- <!-- <fileset dir="${txt.dir}" includes="osx.properties"/> -->\r
- <!-- <fileset dir="${txt.dir}" includes="windows.properties"/> -->\r
- <!-- <fileset dir="${txt.dir}" includes="tvbrowser.sh"/> -->\r
- </copy>\r
-\r
- <!-- Themepacks -->\r
- <mkdir dir="${tvbrowser-default.runtime.dir}/themepacks"/>\r
- <copy todir="${tvbrowser-default.runtime.dir}/themepacks">\r
- <fileset dir="themepacks"/>\r
- </copy>\r
-\r
- <!-- Icon-Themes -->\r
- <mkdir dir="${tvbrowser-default.runtime.dir}/icons"/>\r
-\r
- <zip destfile="${tvbrowser-default.runtime.dir}/icons/Tango.zip">\r
- <zipfileset dir="images/themes/tango"></zipfileset>\r
- </zip>\r
- <zip destfile="${tvbrowser-default.runtime.dir}/icons/CrystalClear.zip">\r
- <zipfileset dir="images/themes/CrystalClear"></zipfileset>\r
- </zip>\r
- </target>\r
-\r
-\r
- <!-- Creates the default runtime folder (platform independent) -->\r
- <target name="runtime-default" depends="clean-default, make-default, runtime, test">\r
- </target>\r
-\r
- <!-- Creates the runtime folder for linux platforms -->\r
- <target name="runtime-linux" depends="clean-linux, make-linux, runtime">\r
- <delete dir="${tvbrowser-linux.runtime.dir}"/>\r
- <mkdir dir="${tvbrowser-linux.runtime.dir}"/>\r
- <copy todir="${tvbrowser-linux.runtime.dir}">\r
- <fileset dir="${tvbrowser-default.runtime.dir}"/>\r
- <fileset dir="${deployment.dir}" includes="linux.properties"/>\r
- <fileset dir="${linux.dir}" includes="tvbrowser.sh"/>\r
- <!-- <fileset dir="${linux.dir}" includes="tvbrowser.desktop"/>-->\r
- </copy>\r
- <chmod perm="u+x" file="${tvbrowser-linux.runtime.dir}/tvbrowser.sh"/>\r
- </target>\r
-\r
- <target name="release-packages" depends="public-linux, public-default, public-doc, public-src"/>\r
-\r
- <!-- Creates the release binaries (.zip) for the platform independent TV-Browser version -->\r
- <target name="public-default" depends="runtime-default" description="creates platform-independent binaries">\r
- <mkdir dir="${public.dir}"/>\r
-\r
- <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_bin.zip">\r
- <zipfileset prefix="tvbrowser-${tvbrowser.version}"\r
- dir="${tvbrowser-default.runtime.dir}"/>\r
- </zip>\r
- </target>\r
-\r
- <target name="clean-public">\r
- <delete>\r
- <fileset dir="${public.dir}" includes="**/*"/>\r
- </delete>\r
- </target>\r
- \r
- <target name="public-nightly" depends="clean-public" description="Creates platform-independent binaries for nightly transportable version of TV-Browser (without platform dependent starters)">\r
- <mkdir dir="${public.dir}"/>\r
-\r
- <tstamp>\r
- <format property="TODAY" pattern="yyyy-MM-dd"/>\r
- </tstamp>\r
-\r
- <echo file="${tvbrowser-transportable.runtime.dir}/NIGHTLY_VALUES" append="false">${TODAY}-nightly</echo>\r
-\r
- <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_${TODAY}_nightly_bin_transportable.zip">\r
- <zipfileset prefix="tvbrowser-nightly-transportable" dir="${tvbrowser-transportable.runtime.dir}"/>\r
- </zip>\r
-\r
- </target>\r
-\r
- <!-- Creates the release binaries (.tar.gz) for linux platforms -->\r
- <target name="public-linux" depends="runtime-linux" description="Creates binaries for Linux platforms">\r
- <mkdir dir="${public.dir}"/>\r
-\r
- <tar tarfile="${public.dir}/tvbrowser_${tvbrowser.version}_bin.tar.gz" compression="gzip">\r
- <tarfileset dir="${tvbrowser-linux.runtime.dir}" prefix="tvbrowser-${tvbrowser.version}" excludes="**/tvbrowser.sh"/>\r
- <tarfileset dir="${tvbrowser-linux.runtime.dir}"\r
- prefix="tvbrowser-${tvbrowser.version}"\r
- mode="755" includes="**/tvbrowser.sh" />\r
- </tar>\r
-\r
- </target>\r
-\r
- <!--\r
- | Does the JUnit tests.\r
- |\r
- | If this target does not work, copy the file "junit.jar" from the directory "lib"\r
- | in your ANT_HOME/lib directory. (ANT_HOME/lib is on my machine "/usr/share/ant/lib")\r
- +-->\r
- <target name="test" depends="make-default">\r
- <echo>${ant.version}. JUnit4 tests will only work with Ant>=1.7</echo>\r
- <mkdir dir="${test.classes.dir}"/>\r
- <javac destdir="${test.classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.5" source="1.5">\r
- <src>\r
- <path path="${test.src.dir}"/>\r
- </src>\r
- <classpath>\r
- <path refid="classpath"/>\r
- </classpath>\r
- </javac>\r
-\r
- <copy todir="${test.classes.dir}">\r
- <fileset dir="${test.src.dir}" includes="**/*.gif"/>\r
- <fileset dir="${test.src.dir}" includes="**/*.jpg"/>\r
- <fileset dir="${test.src.dir}" includes="**/*.png"/>\r
- <fileset dir="${test.src.dir}" includes="**/*.dtd"/>\r
- <fileset dir="${test.src.dir}" includes="**/*.properties"/>\r
- <fileset dir="${test.src.dir}" includes="**/*.theme"/>\r
- <fileset dir="${test.src.dir}" includes="**/*.txt"/>\r
- </copy>\r
-\r
-\r
- <junit haltonfailure="yes" fork="no" >\r
- <classpath>\r
- <path refid="classpath"/>\r
- <path path="${test.classes.dir}"/>\r
- </classpath>\r
-\r
- <formatter type="brief" usefile="false"/>\r
-\r
- <batchtest>\r
- <fileset dir="${test.src.dir}">\r
- <include name="**/*Test.java"/>\r
- </fileset>\r
- </batchtest>\r
- </junit>\r
- </target>\r
-\r
-\r
- <!--\r
- | Generates the JavaDoc documentation.\r
- +-->\r
- <target name="public-doc" description="Generates the JavaDoc documentation">\r
- <echo message="Generating JavaDoc documentation ..." />\r
- <delete dir="${doc.dir}"/>\r
- <mkdir dir="${doc.dir}"/>\r
- <javadoc packagenames="*"\r
- sourcepathref="docpath"\r
- classpathref="classpath"\r
- destdir="${doc.dir}"\r
- doctitle="${doc.title}"\r
- windowtitle="${doc.title}"\r
- additionalparam="-breakiterator"\r
- header="${doc.header}"\r
- bottom="${doc.bottom}"\r
- access="package"\r
- failonerror="true"\r
- encoding="UTF-8"\r
- charset="UTF-8" \r
- docencoding="UTF-8">\r
- <link offline="true"\r
- href="${java-api-location}"\r
- packagelistLoc="${package-lists.dir}/jdk/"/>\r
- </javadoc>\r
-\r
-\r
- <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_doc.zip">\r
- <zipfileset prefix="tvbrowser_v${tvbrowser.version}/doc"\r
- dir="${doc.dir}"/>\r
- </zip>\r
-\r
- </target>\r
-\r
- <!--\r
- | Dump some information.\r
- +-->\r
- <target name="dump-info">\r
- <echo message="JAVA_HOME=${env.JAVA_HOME}" />\r
- <echo message="java.vm.info=${java.vm.info}" />\r
- <echo message="java.vm.name=${java.vm.name}" />\r
- <echo message="java.vm.vendor=${java.vm.vendor}" />\r
- <echo message="java.vm.version=${java.vm.version}" />\r
- <echo message="os.arch=${os.arch}" />\r
- <echo message="os.name=${os.name}" />\r
- <echo message="os.version=${os.version}" />\r
- <echo message="file.encoding=${file.encoding}" />\r
- <echo message="user.language=${user.language}" />\r
- </target>\r
-\r
-\r
-\r
-\r
- <target name="public-src" description="Creates a .zip file containing the full source code of TV-Browser">\r
- <mkdir dir="${public.dir}"/>\r
- <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_src.zip">\r
- <zipfileset prefix="tvbrowser-${tvbrowser.version}"\r
- dir=".">\r
-\r
- <exclude name="${classes.dir}/**" />\r
- <exclude name="${public.dir}/**" />\r
- <exclude name="${runtime.dir}/**" />\r
-\r
- </zipfileset>\r
- </zip>\r
- </target>\r
-\r
- <target name="public-tvdatakit"></target>\r
-\r
-</project>\r
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}