1 |
commit: 90e89b4fe092a712f97b1085f282916159016380 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 25 23:09:03 2015 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 23:09:03 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e89b4f |
7 |
|
8 |
media-tv/tvbrowser: Remove old |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
media-tv/tvbrowser/Manifest | 2 - |
13 |
media-tv/tvbrowser/files/3.4-build.xml.patch | 150 ------- |
14 |
.../tvbrowser/files/3.4-remove-registrykey.patch | 154 ------- |
15 |
media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml | 480 --------------------- |
16 |
media-tv/tvbrowser/tvbrowser-3.2.1-r1.ebuild | 169 -------- |
17 |
media-tv/tvbrowser/tvbrowser-3.4.ebuild | 98 ----- |
18 |
6 files changed, 1053 deletions(-) |
19 |
|
20 |
diff --git a/media-tv/tvbrowser/Manifest b/media-tv/tvbrowser/Manifest |
21 |
index 46c4a6b..5a3e406 100644 |
22 |
--- a/media-tv/tvbrowser/Manifest |
23 |
+++ b/media-tv/tvbrowser/Manifest |
24 |
@@ -44,9 +44,7 @@ DIST tigerGraphitethemepack.zip 75611 SHA256 94d2b4978686158a421122dec73b385725b |
25 |
DIST tigerthemepack.zip 77856 SHA256 55002367d55ffe7953e5e059d9357ce6d9111bbba303532b91263ca7ec69dbf5 SHA512 7d6fb04f2f69f97eab7b5b58fd3e3df421b015dd0a49a426c00458c0e17d7add84a389304cf850511ffe637d6e37c6b759d8dcd39091c03049d5cc4da085a991 WHIRLPOOL 4bc4bae43bd8236cdd8a64b85d7be0e91df48b7133b924d4d14458cf62ecfd162dc61cbbdb60f5a70f11f6e2891a977d9ed8a89b064d7d6af794cab8c63b64a5 |
26 |
DIST toxicthemepack.zip 68233 SHA256 a3d6c2311f8a35381c8aa3ac9b7bead5ba81b00a47d4e4bd27b5e38de6322600 SHA512 350f091bd67b2c78a4c69936bce9d7f922c1b57f3711f173d4763856a6f60ba0f284a3cb63fbfe810381d6ea6d21afe14fec13fb6e2efb526c28d1d79501bf02 WHIRLPOOL 3b0bb5d288714014d6635cb6fe86fdb284d80698f95eb750c7fbd86b7de611f08fc59a7d656e1ed5a64b15e8e11401e24af0dcda3d53de14af2368085de04007 |
27 |
DIST tulliana.zip 258520 SHA256 d9a7670c3933757f58bc6913433b6f00e984c0cbff17eaf59076d951ac195a88 SHA512 96ae1835892763e70dd02b2739837063a57318b32a106556415037e8e0688db4d8caa9e7c50495ad6dbfc6ed9499b08af10956c164f5435bde2942b90ddb291a WHIRLPOOL 57e2052bca12b0fcb7eb889d6b51d775d74a6f4cd3cd1b638ffd06fb74a3336e26a7c6626ddcbcd204342d1c7f71614cdc8247a4aa245f17eef9997075be5135 |
28 |
-DIST tvbrowser_3.2.1_src.zip 17580308 SHA256 21edb1920d0603465caaa970c879b3fb19b56e485053555e54c694c80e8b2c8f SHA512 7ad27e0f0a3471fa9c1a7ceaba8896079295b3bbc757dc56f93391bb34a8802220cc4269776d1a18330e53482bc1255d1467d68a63ef2c42596af60d52983bbe WHIRLPOOL 0cb639119e88dec53484d562d6f68f0bfdd43c30f5b90a5b636f6702e1b8949c753f0df7e8f79f228163395901df30da9edac2b7c3c193af487b19f04ae43cb5 |
29 |
DIST tvbrowser_3.4.1.0_src.zip 14256785 SHA256 e9079d4bb8a2b823770c3590662fa5bf9575b3ab7985201faa17dba01130248d SHA512 ec95898449209863ecb800db8395436be8946c30947ef25075caebe03db27c0393451a25f123d99b5d1ed82638920fa5102d4c1b16ddfdd9fd316f19de75d07a WHIRLPOOL aea5673ef79c0d962e01176ad59fa5174529d87db9efed044c85400df6d6897ce4053a0514e03e1a4bf01dac63a76d62206c0cbd4fec3dddb7b1dc4228fca6db |
30 |
-DIST tvbrowser_3.4_src.zip 13991299 SHA256 841065b189c027074e94a44df4bd3e9e87a4bc5b21e73245715255dd68876bc9 SHA512 9bd3e510805714bde1474fbb2e76353d801962f309933d666ad489fd5d6a50c5dfbeb4a8a037a253153fd89172bb89ad0b008418b4cac837d04c16012e909ef9 WHIRLPOOL 87e1d4c60501cc63db9cebc9ffcb35abdb689c0fa6006eae8bb2b32e4f840cb84820b6d65168935be974c1b9799ad7ba56835d185bdea635c643c8e54ea0a405 |
31 |
DIST underlingthemepack.zip 59786 SHA256 67dfd8757162dce375e02c250403a7184b64fbd1c1eb754a11373467ff96eb44 SHA512 d123c6ddb8db820a6d825e36433d31505b88e5e5578d0e368d639c3817893e9300d85bcd7a16a7a7329e962bf87919fad250d87e3759ceb32db6ffc1d6290c0a WHIRLPOOL 15bcccc7704389dfdde629dee895ecb37ac56ae89680b3e8629fd8539fef0a0c9218cdfa4969b2a1b8c841e4b3b5f0164e6cec395f43ab9c3c409ba5bc6b4f8c |
32 |
DIST whistlerthemepack.zip 32206 SHA256 0d8e5fab4cc148d35610f11061ddc7cd8eb23116919d99c8c673c1956ae6711e SHA512 1d9969fa436b7065db57f06ccd6ffb6b3c395a3ca4f976b9eb69445de9f63bfb55755e832269b3192365b5c30fb953998ca95d2b16e7c8bd06d78d8a42703a3c WHIRLPOOL 2724a0d005876a976a701c69509b701957edabd919b6e3d1a2cdfce1827a9a198de64a3f402af79004dee5db212f3732dde4e799d3e5016bcc95f993c18be362 |
33 |
DIST xplunathemepack.zip 63343 SHA256 c8a2328597e0b05866919a2c925baf39dad294d1feade9d28cf4cf01722b95ee SHA512 79698db5fc4dfdcf85d96f595227679c4bc593d7f8e89923a3af0243ebeb0cb0a101bc48821f37f736298406c564f0332ab7eed5748a4efb092acd95827b4a06 WHIRLPOOL 784531315de55bb917b9451b0c9dd84f8a6a297594f8742743ed64a3702d9833c83104b422874c972e1d92b8a971ddaf2ac4bd8670054e40c2c908a8eb2bbe72 |
34 |
|
35 |
diff --git a/media-tv/tvbrowser/files/3.4-build.xml.patch b/media-tv/tvbrowser/files/3.4-build.xml.patch |
36 |
deleted file mode 100644 |
37 |
index a1d6db6..0000000 |
38 |
--- a/media-tv/tvbrowser/files/3.4-build.xml.patch |
39 |
+++ /dev/null |
40 |
@@ -1,150 +0,0 @@ |
41 |
-diff --git a/tvbrowser-3.4/build.xml b/tvbrowser-3.4/build.xml |
42 |
-index 2073823..615f576 100644 |
43 |
---- a/tvbrowser-3.4/build.xml |
44 |
-+++ b/tvbrowser-3.4/build.xml |
45 |
-@@ -104,31 +104,6 @@ |
46 |
- | |
47 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
48 |
- |
49 |
-- <!-- Creates an .app file for Mac OS X (http://informagen.com/JarBundler/) --> |
50 |
-- <taskdef name="jarbundler" |
51 |
-- classpath="deployment/macosx/jarbundler-2.0.0.jar" |
52 |
-- classname="net.sourceforge.jarbundler.JarBundler" /> |
53 |
-- |
54 |
-- <!-- Creates a Windows Executable using launch4j (http://launch4j.sf.net) --> |
55 |
-- <taskdef name="launch4j" |
56 |
-- classname="net.sf.launch4j.ant.Launch4jTask" |
57 |
-- classpath="${deployment.dir}/win/launch4j/launch4j.jar:${deployment.dir}/win/launch4j/lib/xstream.jar" /> |
58 |
-- |
59 |
-- <!-- Creates a linux desktopEntry--> |
60 |
-- <taskdef name="desktopEntry" |
61 |
-- classname="com.googlecode.ant_deb_task.DesktopEntry" |
62 |
-- classpathref="ant-deb.classpath"/> |
63 |
-- |
64 |
-- <!-- Creates an Ubuntu package--> |
65 |
-- <taskdef name="deb" |
66 |
-- classname="com.googlecode.ant_deb_task.Deb" |
67 |
-- classpathref="ant-deb.classpath"/> |
68 |
-- |
69 |
-- <!-- Creates a RedHad package--> |
70 |
-- <taskdef name="rrpm" |
71 |
-- classname="org.redline_rpm.RedlineTask" |
72 |
-- classpathref="ant-rpm.classpath"/> |
73 |
-- |
74 |
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
75 |
- | |
76 |
- | Display all targets |
77 |
-@@ -304,6 +279,7 @@ |
78 |
- <echo message="Creating the jars ..."/> |
79 |
- |
80 |
- <!-- Extract the libraries for the tvbrowser.jar into the temp.dir --> |
81 |
-+ <!-- |
82 |
- <unjar src="${lib.dir}/${lib.skinlf.name}-${lib.skinlf.version}.jar" dest="${unpacked.dir}/${lib.skinlf.name}.jar"/> |
83 |
- <unjar src="${lib.dir}/${lib.bsh.name}-${lib.bsh.version}.jar" dest="${unpacked.dir}/${lib.bsh.name}.jar"/> |
84 |
- <unjar src="${lib.dir}/${lib.jgoodies-common.name}-${lib.jgoodies-common.version}.jar" dest="${unpacked.dir}/${lib.jgoodies-common.name}.jar"/> |
85 |
-@@ -318,6 +294,7 @@ |
86 |
- <unjar src="${lib.dir}/${lib.texhyphj.name}-${lib.texhyphj.version}.jar" dest="${unpacked.dir}/${lib.texhyphj.name}.jar" /> |
87 |
- <unjar src="${lib.dir}/${lib.substance.name}-${lib.substance.version}.jar" dest="${unpacked.dir}/${lib.substance.name}.jar" /> |
88 |
- <unjar src="${lib.dir}/${lib.trident.name}-${lib.trident.version}.jar" dest="${unpacked.dir}/${lib.trident.name}.jar" /> |
89 |
-+ --> |
90 |
- |
91 |
- <!-- Pack the tvbrowser.jar --> |
92 |
- <jar jarfile="${tvbrowser-default.runtime.dir}/tvbrowser.jar" |
93 |
-@@ -333,6 +310,7 @@ |
94 |
- <fileset dir="${classes.dir}" includes="util/**"/> |
95 |
- <fileset dir="${classes.dir}" includes="com/**"/> |
96 |
- <fileset dir="${classes.dir}/imgs" includes="splash.png"/> |
97 |
-+ <!-- |
98 |
- <fileset dir="${unpacked.dir}/${lib.skinlf.name}.jar" includes="com/**"/> |
99 |
- <fileset dir="${unpacked.dir}/${lib.skinlf.name}.jar" includes="org/**"/> |
100 |
- <fileset dir="${unpacked.dir}/${lib.bsh.name}.jar" includes="bsh/**"/> |
101 |
-@@ -348,6 +326,7 @@ |
102 |
- <fileset dir="${unpacked.dir}/${lib.texhyphj.name}.jar" includes="net/**"/> |
103 |
- <fileset dir="${unpacked.dir}/${lib.substance.name}.jar" includes="org/**"/> |
104 |
- <fileset dir="${unpacked.dir}/${lib.trident.name}.jar" includes="org/**"/> |
105 |
-+ --> |
106 |
- </jar> |
107 |
- |
108 |
- <!-- Copy the other stuff --> |
109 |
-@@ -406,8 +385,9 @@ |
110 |
- |
111 |
- <!-- Extract the libraries for the tvbrowser.jar into the temp.dir --> |
112 |
- <mkdir dir="${unpacked.dir}/${lib.commons.net.name}.jar"/> |
113 |
-+ <!-- |
114 |
- <unjar src="${lib.dir}/${lib.commons.net.name}-${lib.commons.net.version}.jar" dest="${unpacked.dir}/${lib.commons.net.name}.jar"/> |
115 |
-- |
116 |
-+--> |
117 |
- </target> |
118 |
- |
119 |
- |
120 |
-@@ -446,7 +426,7 @@ |
121 |
- |
122 |
- <!-- Creates the runtime folder for the Mac platform --> |
123 |
- <target name="runtime-mac" depends="clean-mac, make-mac, runtime, test"> |
124 |
-- |
125 |
-+<!-- |
126 |
- <delete dir="${tvbrowser-mac.runtime.dir}"/> |
127 |
- <mkdir dir="${tvbrowser-mac.runtime.dir}"/> |
128 |
- |
129 |
-@@ -477,11 +457,12 @@ |
130 |
- <copy todir="${tvbrowser-mac.runtime.dir}/TV-Browser.app/Contents/Resources"> |
131 |
- <fileset dir="${deployment.dir}" includes="osx.properties"/> |
132 |
- </copy> |
133 |
-- |
134 |
-+--> |
135 |
- </target> |
136 |
- |
137 |
- <!-- Creates the desktop entry file for Linux platforms --> |
138 |
- <target name="tvbrowser-desktop-entry"> |
139 |
-+ <!-- |
140 |
- <desktopEntry |
141 |
- toFile="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" |
142 |
- name="TV-Browser" |
143 |
-@@ -498,10 +479,12 @@ |
144 |
- <comment lang="de" value="Anpassbare und einfach zu benutzende TV-Zeitschrift - geschrieben in Java"/> |
145 |
- </desktopEntry> |
146 |
- <echo file="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" append="true">StartupWMClass=tvbrowser-TVBrowser</echo> |
147 |
-+ --> |
148 |
- </target> |
149 |
- |
150 |
- <!-- Creates the desktop entry file for Ubuntu platform --> |
151 |
- <target name="tvbrowser-desktop-entry-deb"> |
152 |
-+ <!-- |
153 |
- <desktopEntry |
154 |
- toFile="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" |
155 |
- name="${programname}" |
156 |
-@@ -518,6 +501,7 @@ |
157 |
- <comment lang="de" value="Anpassbare und einfach zu benutzende TV-Zeitschrift - geschrieben in Java"/> |
158 |
- </desktopEntry> |
159 |
- <echo file="${tvbrowser-linux.runtime.dir}/tvbrowser.desktop" append="true">StartupWMClass=tvbrowser-TVBrowser</echo> |
160 |
-+ --> |
161 |
- </target> |
162 |
- |
163 |
- <!-- Creates the runtime folder for linux platforms --> |
164 |
-@@ -673,6 +657,7 @@ |
165 |
- |
166 |
- <!-- Creates the windows exe file --> |
167 |
- <target name="exe" depends="runtime-win"> |
168 |
-+ <!-- |
169 |
- <launch4j configFile="${deployment.dir}/win/launch4j/tvbrowser.xml" |
170 |
- fileversion="${tvbrowser.version.file}" |
171 |
- productversion="${tvbrowser.version.file}" |
172 |
-@@ -683,15 +668,18 @@ |
173 |
- productversion="${tvbrowser.version.file}" |
174 |
- txtfileversion="${tvbrowser.version}" |
175 |
- txtproductversion="${tvbrowser.version}"/> |
176 |
-+ --> |
177 |
- </target> |
178 |
- |
179 |
- <!-- Creates the windows transportable exe file --> |
180 |
- <target name="transportable-exe" depends="runtime-transportable"> |
181 |
-+ <!-- |
182 |
- <launch4j configFile="${deployment.dir}/win/launch4j/tvbrowser-transportable.xml" |
183 |
- fileversion="${tvbrowser.version.file}" |
184 |
- productversion="${tvbrowser.version.file}" |
185 |
- txtfileversion="${tvbrowser.version}" |
186 |
- txtproductversion="${tvbrowser.version}"/> |
187 |
-+ --> |
188 |
- </target> |
189 |
- |
190 |
- <!-- Creates the release binaries (.exe installer) for windows platforms --> |
191 |
|
192 |
diff --git a/media-tv/tvbrowser/files/3.4-remove-registrykey.patch b/media-tv/tvbrowser/files/3.4-remove-registrykey.patch |
193 |
deleted file mode 100644 |
194 |
index e886aaf..0000000 |
195 |
--- a/media-tv/tvbrowser/files/3.4-remove-registrykey.patch |
196 |
+++ /dev/null |
197 |
@@ -1,154 +0,0 @@ |
198 |
-diff --git a/tvbrowser-3.4/src/tvbrowser/TVBrowser.java b/tvbrowser-3.4/src/tvbrowser/TVBrowser.java |
199 |
-index 1aaedb5..51558be 100644 |
200 |
---- a/tvbrowser-3.4/src/tvbrowser/TVBrowser.java |
201 |
-+++ b/tvbrowser-3.4/src/tvbrowser/TVBrowser.java |
202 |
-@@ -113,9 +113,6 @@ import util.ui.Localizer; |
203 |
- import util.ui.UIThreadRunner; |
204 |
- import util.ui.UiUtilities; |
205 |
- import util.ui.textcomponentpopup.TextComponentPopupEventQueue; |
206 |
--import ca.beq.util.win32.registry.RegistryKey; |
207 |
--import ca.beq.util.win32.registry.RegistryValue; |
208 |
--import ca.beq.util.win32.registry.RootKey; |
209 |
- |
210 |
- import com.jgoodies.looks.LookUtils; |
211 |
- import com.l2fprod.gui.plaf.skin.SkinLookAndFeel; |
212 |
-@@ -575,77 +572,6 @@ public class TVBrowser { |
213 |
- public void run() { |
214 |
- ChannelList.completeChannelLoading(); |
215 |
- initializeAutomaticDownload(); |
216 |
-- if (Launch.isOsWindowsNtBranch()) { |
217 |
-- try { |
218 |
-- RegistryKey desktopSettings = new RegistryKey( |
219 |
-- RootKey.HKEY_CURRENT_USER, "Control Panel\\Desktop"); |
220 |
-- RegistryValue autoEnd = desktopSettings |
221 |
-- .getValue("AutoEndTasks"); |
222 |
-- |
223 |
-- if (autoEnd.getData().equals("1")) { |
224 |
-- RegistryValue killWait = desktopSettings |
225 |
-- .getValue("WaitToKillAppTimeout"); |
226 |
-- |
227 |
-- int i = Integer.parseInt(killWait.getData().toString()); |
228 |
-- |
229 |
-- if (i < 5000) { |
230 |
-- JOptionPane pane = new JOptionPane(); |
231 |
-- |
232 |
-- String cancel = mLocalizer.msg("registryCancel", |
233 |
-- "Close TV-Browser"); |
234 |
-- String dontDoIt = mLocalizer.msg("registryJumpOver", |
235 |
-- "Not this time"); |
236 |
-- |
237 |
-- pane.setOptions(new String[] { |
238 |
-- Localizer.getLocalization(Localizer.I18N_OK), dontDoIt, |
239 |
-- cancel }); |
240 |
-- pane.setOptionType(JOptionPane.YES_NO_CANCEL_OPTION); |
241 |
-- pane.setMessageType(JOptionPane.WARNING_MESSAGE); |
242 |
-- pane |
243 |
-- .setMessage(mLocalizer |
244 |
-- .msg( |
245 |
-- "registryWarning", |
246 |
-- "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'.")); |
247 |
-- |
248 |
-- pane.setInitialValue(mLocalizer.msg("registryCancel", |
249 |
-- "Close TV-Browser")); |
250 |
-- |
251 |
-- JDialog d = pane.createDialog(UiUtilities |
252 |
-- .getLastModalChildOf(mainFrame), UIManager |
253 |
-- .getString("OptionPane.messageDialogTitle")); |
254 |
-- d.setModal(true); |
255 |
-- UiUtilities.centerAndShow(d); |
256 |
-- |
257 |
-- if (pane.getValue() == null |
258 |
-- || pane.getValue().equals(cancel)) { |
259 |
-- mainFrame.quit(); |
260 |
-- } else if (!pane.getValue().equals(dontDoIt)) { |
261 |
-- try { |
262 |
-- killWait.setData("5000"); |
263 |
-- desktopSettings.setValue(killWait); |
264 |
-- JOptionPane |
265 |
-- .showMessageDialog( |
266 |
-- UiUtilities.getLastModalChildOf(mainFrame), |
267 |
-- mLocalizer |
268 |
-- .msg("registryChanged", |
269 |
-- "The timeout was changed successfully.\nPlease reboot Windows!")); |
270 |
-- } catch (Exception registySetting) { |
271 |
-- JOptionPane |
272 |
-- .showMessageDialog( |
273 |
-- UiUtilities.getLastModalChildOf(mainFrame), |
274 |
-- mLocalizer |
275 |
-- .msg( |
276 |
-- "registryNotChanged", |
277 |
-- "<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>"), |
278 |
-- Localizer.getLocalization(Localizer.I18N_ERROR), |
279 |
-- JOptionPane.ERROR_MESSAGE); |
280 |
-- } |
281 |
-- } |
282 |
-- } |
283 |
-- } |
284 |
-- } catch (Throwable registry) { |
285 |
-- } |
286 |
-- } |
287 |
- |
288 |
- if (currentVersion != null |
289 |
- && currentVersion.compareTo(new Version(2, 71, false)) < 0) { |
290 |
-diff --git a/tvbrowser-3.4/src/tvbrowser/ui/settings/StartupSettingsTab.java b/tvbrowser-3.4/src/tvbrowser/ui/settings/StartupSettingsTab.java |
291 |
-index fa90661..fe13256 100644 |
292 |
---- a/tvbrowser-3.4/src/tvbrowser/ui/settings/StartupSettingsTab.java |
293 |
-+++ b/tvbrowser-3.4/src/tvbrowser/ui/settings/StartupSettingsTab.java |
294 |
-@@ -50,8 +50,6 @@ import tvbrowser.ui.mainframe.MainFrame; |
295 |
- import tvbrowser.ui.mainframe.PeriodItem; |
296 |
- import util.ui.Localizer; |
297 |
- import util.ui.UiUtilities; |
298 |
--import ca.beq.util.win32.registry.RegistryKey; |
299 |
--import ca.beq.util.win32.registry.RootKey; |
300 |
- |
301 |
- import com.jgoodies.forms.builder.PanelBuilder; |
302 |
- import com.jgoodies.forms.factories.Borders; |
303 |
-@@ -163,41 +161,6 @@ public class StartupSettingsTab implements devplugin.SettingsTab { |
304 |
- .getBoolean()); |
305 |
- mSettingsPn.add(mShowStartScreenChB, cc.xy(2, ++y)); |
306 |
- |
307 |
-- if (System.getProperty("os.name").toLowerCase().startsWith("windows") && !TVBrowser.isTransportable()) { |
308 |
-- layout.insertRow(++y, RowSpec.decode("1dlu")); |
309 |
-- layout.insertRow(++y, RowSpec.decode("pref")); |
310 |
-- |
311 |
-- try { |
312 |
-- RegistryKey shellFolders = new RegistryKey(RootKey.HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders"); |
313 |
-- String path = shellFolders.getValue("Startup").getData().toString(); |
314 |
-- |
315 |
-- if(path == null || path.length() < 1 || !(new File(path)).isDirectory()) { |
316 |
-- throw new Exception(); |
317 |
-- } |
318 |
-- |
319 |
-- mLinkFileFile = new File(path,"TV-Browser.url"); |
320 |
-- |
321 |
-- try { |
322 |
-- mLinkFile = new LinkFile(mLinkFileFile); |
323 |
-- |
324 |
-- if(mLinkFileFile.isFile()) { |
325 |
-- try { |
326 |
-- if (!mLinkFile.hasTarget((new File("tvbrowser.exe")).getAbsoluteFile())) { |
327 |
-- createLink(mLinkFile); |
328 |
-- } |
329 |
-- }catch(Exception linkException) { |
330 |
-- mLinkFileFile.delete(); |
331 |
-- } |
332 |
-- } |
333 |
-- }catch(FileNotFoundException fe) {} |
334 |
-- |
335 |
-- mAutostartWithWindows = new JCheckBox(mLocalizer.msg("autostart","Start TV-Browser with Windows"), |
336 |
-- mLinkFileFile.isFile()); |
337 |
-- |
338 |
-- mSettingsPn.add(mAutostartWithWindows, cc.xy(2, y)); |
339 |
-- } catch (Throwable e) {e.printStackTrace();} |
340 |
-- } |
341 |
-- |
342 |
- y++; |
343 |
- |
344 |
- mSettingsPn.add(createRefreshPanel(), cc.xyw(1,++y,5)); |
345 |
-@@ -513,4 +476,4 @@ public class StartupSettingsTab implements devplugin.SettingsTab { |
346 |
- return new File(mTarget).equals(file); |
347 |
- } |
348 |
- } |
349 |
--} |
350 |
-\ No newline at end of file |
351 |
-+} |
352 |
|
353 |
diff --git a/media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml b/media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml |
354 |
deleted file mode 100644 |
355 |
index a26bcc4..0000000 |
356 |
--- a/media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml |
357 |
+++ /dev/null |
358 |
@@ -1,480 +0,0 @@ |
359 |
-<?xml version="1.0"?> |
360 |
-<!-- |
361 |
- | Ant build script for the TV-Browser project. |
362 |
- | |
363 |
- | TV-Browser |
364 |
- | Copyright (C) 04-2003 Martin Oberhauser (martin@×××××××××.org) |
365 |
- | |
366 |
- | This program is free software; you can redistribute it and/or |
367 |
- | modify it under the terms of the GNU General Public License |
368 |
- | as published by the Free Software Foundation; either version 2 |
369 |
- | of the License, or (at your option) any later version. |
370 |
- | |
371 |
- | This program is distributed in the hope that it will be useful, |
372 |
- | but WITHOUT ANY WARRANTY; without even the implied warranty of |
373 |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
374 |
- | GNU General Public License for more details. |
375 |
- | |
376 |
- | You should have received a copy of the GNU General Public License |
377 |
- | along with this program; if not, write to the Free Software |
378 |
- | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
379 |
- | |
380 |
- | CVS information: |
381 |
- | $RCSfile: tvbrowser-3.2.1-build.xml,v $ |
382 |
- | $Source: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/files/tvbrowser-3.2.1-build.xml,v $ |
383 |
- | $Date: 2013/08/13 20:58:08 $ |
384 |
- | $Author: tomwij $ |
385 |
- | $Revision: 1.1 $ |
386 |
- | |
387 |
- | Author: Til Schneider, www.murfman.de |
388 |
- | |
389 |
- | Modified by Gentoo Developers for Gentoo Linux packaging purposes. |
390 |
- +--> |
391 |
-<project name="TV-Browser" default="targets" basedir="."> |
392 |
- |
393 |
- |
394 |
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
395 |
- | |
396 |
- | The properties and paths |
397 |
- | |
398 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
399 |
- |
400 |
- <property environment="env"/> |
401 |
- <property file="build.properties"/> |
402 |
- <property name="programname" value="TV-Browser"/> |
403 |
- <property name="programname.file" value="tvbrowser"/> |
404 |
- <property name="classes.dir" value="classes"/> |
405 |
- <property name="lib.dir" value="lib"/> |
406 |
- <property name="txt.dir" value="txt"/> |
407 |
- <property name="src.dir" value="src"/> |
408 |
- <property name="test.src.dir" value="test/src"/> |
409 |
- <property name="test.classes.dir" value="test/classes"/> |
410 |
- <property name="doc.dir" value="doc"/> |
411 |
- <property name="doc.header" value="${programname} ${tvbrowser.version} API"/> |
412 |
- <property name="doc.title" value="API documentation for ${programname} ${tvbrowser.version}"/> |
413 |
- <property name="doc.bottom" value="${programname} ${tvbrowser.version}, Copyright (C) 2004-2008 TV-Browser Team (dev@×××××××××.org)"/> |
414 |
- |
415 |
- <property name="runtime.dir" value="runtime"/> |
416 |
- <property name="tvbrowser-default.runtime.dir" value="${runtime.dir}/tvbrowser_default"/> |
417 |
- |
418 |
- <property name="tvbrowser-win.runtime.dir" value="${runtime.dir}/tvbrowser_win"/> |
419 |
- <property name="tvbrowser-linux.runtime.dir" value="${runtime.dir}/tvbrowser_linux"/> |
420 |
- <property name="tvbrowser-transportable.runtime.dir" value="${runtime.dir}/tvbrowser_transportable"/> |
421 |
- <property name="tvbrowser-nightly.runtime.dir" value="${runtime.dir}/tvbrowser_nightly"/> |
422 |
- <property name="tvbrowser-mac.runtime.dir" value="${runtime.dir}/tvbrowser_mac"/> |
423 |
- <property name="themepacks.dir" value="themepacks"/> |
424 |
- <property name="personas.dir" value="personas"/> |
425 |
- |
426 |
- <property name="deployment.dir" value="deployment" /> |
427 |
- <property name="win.dir" value="${deployment.dir}/win"/> |
428 |
- <property name="linux.dir" value="${deployment.dir}/linux"/> |
429 |
- <property name="x11.dir" value="${deployment.dir}/x11"/> |
430 |
- <property name="installer.dir" value="${win.dir}/installer"/> |
431 |
- <property name="package-lists.dir" value="${txt.dir}/package-lists"/> |
432 |
- <property name="public.dir" value="public"/> |
433 |
- |
434 |
- <path id="sourcepath"> |
435 |
- <pathelement location="${src.dir}"/> |
436 |
- </path> |
437 |
- |
438 |
- <path id="classpath"> |
439 |
- <pathelement location="${classes.dir}"/> |
440 |
- <fileset dir="${lib.dir}"> |
441 |
- <include name="*.jar"/> |
442 |
- <exclude name="ant.jar"/> |
443 |
- </fileset> |
444 |
- </path> |
445 |
- |
446 |
- <path id="docpath"> |
447 |
- <path refid="sourcepath"/> |
448 |
- </path> |
449 |
- |
450 |
- <path id="ant-deb.classpath"> |
451 |
- <fileset dir="${deployment.dir}/linux/ant-deb-task" includes="*.jar"/> |
452 |
- </path> |
453 |
- |
454 |
- <path id="ant-rpm.classpath"> |
455 |
- <fileset dir="${deployment.dir}/linux/redline-rpm" includes="*.jar"/> |
456 |
- </path> |
457 |
- |
458 |
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
459 |
-| |
460 |
-| Display all targets |
461 |
-| |
462 |
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
463 |
- |
464 |
- <target name="targets" description="lists all the available public targets"> |
465 |
- <echo message="usage: build [target]"/> |
466 |
- <echo message=""/> |
467 |
- <echo message="main targets:"/> |
468 |
- <echo message="============="/> |
469 |
- <echo message=" targets Shows this list of targets."/> |
470 |
- <echo message=" dump-info Dumps some information (VM-Version...)."/> |
471 |
- <echo message=" public-default Creates platform-independent binaries"/> |
472 |
- <echo message=" public-linux Creates binaries for Linux platforms"/> |
473 |
- <echo message=" public-nightly Creates platform-independent binaries for nightly transportable version of TV-Browser (without platform dependent starters)"/> |
474 |
- <echo message=" public-src Creates a .zip file containing the full source code of TV-Browser"/> |
475 |
- <echo message=" public-doc Generates the JavaDoc documentation."/> |
476 |
- <echo message=" release-packages Generates all packages needed for a TV-Browser release (without Mac version, works only under Windows)."/> |
477 |
- <echo message=""/> |
478 |
- <echo message="further targets:"/> |
479 |
- <echo message="================"/> |
480 |
- <echo message=" clean Deletes all class files, runtime directories and temporary files."/> |
481 |
- <echo message=" clean-runtime Deletes the runtime directory."/> |
482 |
- <echo message=" make-default Compiles the platform independent source code."/> |
483 |
- <echo message=" make-linux Compiles the source code for linux platforms."/> |
484 |
- <echo message=" runtime-default Creates the platform independent runtime directory" /> |
485 |
- <echo message=" runtime-linux Creates a runtime directory for linux platforms" /> |
486 |
- <echo message=" test Runs the JUnit tests."/> |
487 |
- </target> |
488 |
- |
489 |
- |
490 |
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
491 |
- | |
492 |
- | Clean tasks: remove files |
493 |
- | |
494 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
495 |
- |
496 |
- |
497 |
- <!-- Deletes the runtime director --> |
498 |
- <target name="clean"> |
499 |
- <delete dir="${classes.dir}"/> |
500 |
- <delete dir="${test.classes.dir}"/> |
501 |
- </target> |
502 |
- |
503 |
- |
504 |
- <!-- Deletes the classes and the runtime directory. --> |
505 |
- <target name="clean-default" depends="clean"> |
506 |
- <delete dir="${tvbrowser-default.runtime.dir}"/> |
507 |
- </target> |
508 |
- |
509 |
- <!-- Deletes the classes and the runtime directory. --> |
510 |
- <target name="clean-transportable" depends="clean"> |
511 |
- <delete dir="${tvbrowser-transportable.runtime.dir}"/> |
512 |
- </target> |
513 |
- |
514 |
- <!-- Deletes the classes and the runtime directory. --> |
515 |
- <target name="clean-win" depends="clean"> |
516 |
- <delete dir="${tvbrowser-win.runtime.dir}"/> |
517 |
- </target> |
518 |
- |
519 |
- <!-- Deletes the classes and the runtime directory. --> |
520 |
- <target name="clean-linux" depends="clean"> |
521 |
- <delete dir="${tvbrowser-linux.runtime.dir}"/> |
522 |
- </target> |
523 |
- |
524 |
- <!-- Deletes the classes and the runtime directory. --> |
525 |
- <target name="clean-mac" depends="clean"> |
526 |
- <delete dir="${tvbrowser-mac.runtime.dir}"/> |
527 |
- </target> |
528 |
- |
529 |
- <target name="clean-all" depends="clean-mac, clean-linux, clean-win, clean-default"> |
530 |
- <delete dir="${public.dir}"/> |
531 |
- </target> |
532 |
- |
533 |
- |
534 |
- |
535 |
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
536 |
-| |
537 |
-| Make tasks: compile the source code |
538 |
-| |
539 |
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
540 |
- <target name="copy-resources"> |
541 |
- <copy todir="${classes.dir}"> |
542 |
- <fileset dir="${src.dir}" includes="**/*.gif"/> |
543 |
- <fileset dir="${src.dir}" includes="**/*.jpg"/> |
544 |
- <fileset dir="${src.dir}" includes="**/*.png"/> |
545 |
- <fileset dir="${src.dir}" includes="**/*.dtd"/> |
546 |
- <fileset dir="${src.dir}" includes="**/*.properties"/> |
547 |
- <fileset dir="${src.dir}" includes="**/*.theme"/> |
548 |
- <fileset dir="${src.dir}" includes="**/*.csv"/> |
549 |
- </copy> |
550 |
- </target> |
551 |
- |
552 |
- <!-- Compiles the platform independent source code --> |
553 |
- <target name="make-default" depends="copy-resources"> |
554 |
- <echo message="Compiling the source code ... "/> |
555 |
- <mkdir dir="${classes.dir}"/> |
556 |
- <javac destdir="${classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.6" source="1.6"> |
557 |
- <src> |
558 |
- <path refid="sourcepath"/> |
559 |
- </src> |
560 |
- <classpath> |
561 |
- <path refid="classpath"/> |
562 |
- </classpath> |
563 |
- <exclude name="**/macosx/*"/> |
564 |
- </javac> |
565 |
- |
566 |
- |
567 |
- </target> |
568 |
- |
569 |
- |
570 |
- <!-- Compiles the source code for windows platforms --> |
571 |
- <target name="make-win" depends="make-default"> |
572 |
- |
573 |
- </target> |
574 |
- |
575 |
- |
576 |
- <!-- Compiles the source code for linux platforms --> |
577 |
- <target name="make-linux" depends="make-default"> |
578 |
- |
579 |
- </target> |
580 |
- |
581 |
- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
582 |
- | |
583 |
- | Runtime tasks: create runtime folders for the specified platform |
584 |
- | |
585 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
586 |
- |
587 |
- <target name="mkdirs"> |
588 |
- <!-- Make the TV-Browser runtime --> |
589 |
- <delete dir="${tvbrowser-default.runtime.dir}"/> |
590 |
- <mkdir dir="${tvbrowser-default.runtime.dir}"/> |
591 |
- <mkdir dir="${tvbrowser-default.runtime.dir}/plugins"/> |
592 |
- </target> |
593 |
- |
594 |
- <!-- Creates the platform independent runtime folder --> |
595 |
- <target name="runtime" depends="clean-default, make-default, mkdirs"> |
596 |
- <echo message="Creating the jars ..."/> |
597 |
- |
598 |
- <!-- Pack the tvbrowser.jar --> |
599 |
- <jar jarfile="${tvbrowser-default.runtime.dir}/tvbrowser.jar" |
600 |
- compress="true" |
601 |
- index="true"> |
602 |
- <manifest> |
603 |
- <attribute name="Main-Class" value="tvbrowser.TVBrowser"/> |
604 |
- <attribute name="SplashScreen-Image" value="splash.png"/> |
605 |
- </manifest> |
606 |
- <fileset dir="${classes.dir}" includes="tvbrowser/**"/> |
607 |
- <fileset dir="${classes.dir}" includes="devplugin/**"/> |
608 |
- <fileset dir="${classes.dir}" includes="tvdataservice/**"/> |
609 |
- <fileset dir="${classes.dir}" includes="util/**"/> |
610 |
- <fileset dir="${classes.dir}" includes="com/**"/> |
611 |
- <fileset dir="${classes.dir}/imgs" includes="splash.png"/> |
612 |
- </jar> |
613 |
- |
614 |
- <!-- Copy the other stuff --> |
615 |
- <echo message="Copying the images and all the other stuff ..."/> |
616 |
- <mkdir dir="${tvbrowser-default.runtime.dir}/imgs"/> |
617 |
- <copy todir="${tvbrowser-default.runtime.dir}/imgs"> |
618 |
- <fileset dir="${classes.dir}/imgs" excludes="splash.png"/> |
619 |
- </copy> |
620 |
- |
621 |
- <copy todir="${tvbrowser-default.runtime.dir}/imgs"> |
622 |
- <fileset dir="./images/additional"> |
623 |
- <include name="*.ico"/> |
624 |
- </fileset> |
625 |
- </copy> |
626 |
- |
627 |
- <mkdir dir="${tvbrowser-default.runtime.dir}/personas"/> |
628 |
- <copy todir="${tvbrowser-default.runtime.dir}/personas"> |
629 |
- <fileset dir="./personas"/> |
630 |
- </copy> |
631 |
- <copy todir="${tvbrowser-default.runtime.dir}"> |
632 |
- <fileset dir="${txt.dir}" includes="LICENSE.txt"/> |
633 |
- <fileset dir="${txt.dir}" includes="COPYRIGHT.txt"/> |
634 |
- <fileset dir="${deployment.dir}/common" includes="**" /> |
635 |
- <!-- <fileset dir="${txt.dir}" includes="website.url"/> --> |
636 |
- <!-- <fileset dir="${txt.dir}" includes="default.properties"/> --> |
637 |
- <!-- <fileset dir="${txt.dir}" includes="osx.properties"/> --> |
638 |
- <!-- <fileset dir="${txt.dir}" includes="windows.properties"/> --> |
639 |
- <!-- <fileset dir="${txt.dir}" includes="tvbrowser.sh"/> --> |
640 |
- </copy> |
641 |
- |
642 |
- <!-- Themepacks --> |
643 |
- <mkdir dir="${tvbrowser-default.runtime.dir}/themepacks"/> |
644 |
- <copy todir="${tvbrowser-default.runtime.dir}/themepacks"> |
645 |
- <fileset dir="themepacks"/> |
646 |
- </copy> |
647 |
- |
648 |
- <!-- Icon-Themes --> |
649 |
- <mkdir dir="${tvbrowser-default.runtime.dir}/icons"/> |
650 |
- |
651 |
- <zip destfile="${tvbrowser-default.runtime.dir}/icons/Tango.zip"> |
652 |
- <zipfileset dir="images/themes/tango"></zipfileset> |
653 |
- </zip> |
654 |
- <zip destfile="${tvbrowser-default.runtime.dir}/icons/CrystalClear.zip"> |
655 |
- <zipfileset dir="images/themes/CrystalClear"></zipfileset> |
656 |
- </zip> |
657 |
- </target> |
658 |
- |
659 |
- |
660 |
- <!-- Creates the default runtime folder (platform independent) --> |
661 |
- <target name="runtime-default" depends="clean-default, make-default, runtime, test"> |
662 |
- </target> |
663 |
- |
664 |
- <!-- Creates the runtime folder for linux platforms --> |
665 |
- <target name="runtime-linux" depends="clean-linux, make-linux, runtime"> |
666 |
- <delete dir="${tvbrowser-linux.runtime.dir}"/> |
667 |
- <mkdir dir="${tvbrowser-linux.runtime.dir}"/> |
668 |
- <copy todir="${tvbrowser-linux.runtime.dir}"> |
669 |
- <fileset dir="${tvbrowser-default.runtime.dir}"/> |
670 |
- <fileset dir="${deployment.dir}" includes="linux.properties"/> |
671 |
- <fileset dir="${linux.dir}" includes="tvbrowser.sh"/> |
672 |
- <!-- <fileset dir="${linux.dir}" includes="tvbrowser.desktop"/>--> |
673 |
- </copy> |
674 |
- <chmod perm="u+x" file="${tvbrowser-linux.runtime.dir}/tvbrowser.sh"/> |
675 |
- </target> |
676 |
- |
677 |
- <target name="release-packages" depends="public-linux, public-default, public-doc, public-src"/> |
678 |
- |
679 |
- <!-- Creates the release binaries (.zip) for the platform independent TV-Browser version --> |
680 |
- <target name="public-default" depends="runtime-default" description="creates platform-independent binaries"> |
681 |
- <mkdir dir="${public.dir}"/> |
682 |
- |
683 |
- <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_bin.zip"> |
684 |
- <zipfileset prefix="tvbrowser-${tvbrowser.version}" |
685 |
- dir="${tvbrowser-default.runtime.dir}"/> |
686 |
- </zip> |
687 |
- </target> |
688 |
- |
689 |
- <target name="clean-public"> |
690 |
- <delete> |
691 |
- <fileset dir="${public.dir}" includes="**/*"/> |
692 |
- </delete> |
693 |
- </target> |
694 |
- |
695 |
- <target name="public-nightly" depends="clean-public" description="Creates platform-independent binaries for nightly transportable version of TV-Browser (without platform dependent starters)"> |
696 |
- <mkdir dir="${public.dir}"/> |
697 |
- |
698 |
- <tstamp> |
699 |
- <format property="TODAY" pattern="yyyy-MM-dd"/> |
700 |
- </tstamp> |
701 |
- |
702 |
- <echo file="${tvbrowser-transportable.runtime.dir}/NIGHTLY_VALUES" append="false">${TODAY}-nightly</echo> |
703 |
- |
704 |
- <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_${TODAY}_nightly_bin_transportable.zip"> |
705 |
- <zipfileset prefix="tvbrowser-nightly-transportable" dir="${tvbrowser-transportable.runtime.dir}"/> |
706 |
- </zip> |
707 |
- |
708 |
- </target> |
709 |
- |
710 |
- <!-- Creates the release binaries (.tar.gz) for linux platforms --> |
711 |
- <target name="public-linux" depends="runtime-linux" description="Creates binaries for Linux platforms"> |
712 |
- <mkdir dir="${public.dir}"/> |
713 |
- |
714 |
- <tar tarfile="${public.dir}/tvbrowser_${tvbrowser.version}_bin.tar.gz" compression="gzip"> |
715 |
- <tarfileset dir="${tvbrowser-linux.runtime.dir}" prefix="tvbrowser-${tvbrowser.version}" excludes="**/tvbrowser.sh"/> |
716 |
- <tarfileset dir="${tvbrowser-linux.runtime.dir}" |
717 |
- prefix="tvbrowser-${tvbrowser.version}" |
718 |
- mode="755" includes="**/tvbrowser.sh" /> |
719 |
- </tar> |
720 |
- |
721 |
- </target> |
722 |
- |
723 |
- <!-- |
724 |
- | Does the JUnit tests. |
725 |
- | |
726 |
- | If this target does not work, copy the file "junit.jar" from the directory "lib" |
727 |
- | in your ANT_HOME/lib directory. (ANT_HOME/lib is on my machine "/usr/share/ant/lib") |
728 |
- +--> |
729 |
- <target name="test" depends="make-default"> |
730 |
- <echo>${ant.version}. JUnit4 tests will only work with Ant>=1.7</echo> |
731 |
- <mkdir dir="${test.classes.dir}"/> |
732 |
- <javac destdir="${test.classes.dir}" debug="${debug}" deprecation="true" encoding="UTF-8" target="1.5" source="1.5"> |
733 |
- <src> |
734 |
- <path path="${test.src.dir}"/> |
735 |
- </src> |
736 |
- <classpath> |
737 |
- <path refid="classpath"/> |
738 |
- </classpath> |
739 |
- </javac> |
740 |
- |
741 |
- <copy todir="${test.classes.dir}"> |
742 |
- <fileset dir="${test.src.dir}" includes="**/*.gif"/> |
743 |
- <fileset dir="${test.src.dir}" includes="**/*.jpg"/> |
744 |
- <fileset dir="${test.src.dir}" includes="**/*.png"/> |
745 |
- <fileset dir="${test.src.dir}" includes="**/*.dtd"/> |
746 |
- <fileset dir="${test.src.dir}" includes="**/*.properties"/> |
747 |
- <fileset dir="${test.src.dir}" includes="**/*.theme"/> |
748 |
- <fileset dir="${test.src.dir}" includes="**/*.txt"/> |
749 |
- </copy> |
750 |
- |
751 |
- |
752 |
- <junit haltonfailure="yes" fork="no" > |
753 |
- <classpath> |
754 |
- <path refid="classpath"/> |
755 |
- <path path="${test.classes.dir}"/> |
756 |
- </classpath> |
757 |
- |
758 |
- <formatter type="brief" usefile="false"/> |
759 |
- |
760 |
- <batchtest> |
761 |
- <fileset dir="${test.src.dir}"> |
762 |
- <include name="**/*Test.java"/> |
763 |
- </fileset> |
764 |
- </batchtest> |
765 |
- </junit> |
766 |
- </target> |
767 |
- |
768 |
- |
769 |
- <!-- |
770 |
- | Generates the JavaDoc documentation. |
771 |
- +--> |
772 |
- <target name="public-doc" description="Generates the JavaDoc documentation"> |
773 |
- <echo message="Generating JavaDoc documentation ..." /> |
774 |
- <delete dir="${doc.dir}"/> |
775 |
- <mkdir dir="${doc.dir}"/> |
776 |
- <javadoc packagenames="*" |
777 |
- sourcepathref="docpath" |
778 |
- classpathref="classpath" |
779 |
- destdir="${doc.dir}" |
780 |
- doctitle="${doc.title}" |
781 |
- windowtitle="${doc.title}" |
782 |
- additionalparam="-breakiterator" |
783 |
- header="${doc.header}" |
784 |
- bottom="${doc.bottom}" |
785 |
- access="package" |
786 |
- failonerror="true" |
787 |
- encoding="UTF-8" |
788 |
- charset="UTF-8" |
789 |
- docencoding="UTF-8"> |
790 |
- <link offline="true" |
791 |
- href="${java-api-location}" |
792 |
- packagelistLoc="${package-lists.dir}/jdk/"/> |
793 |
- </javadoc> |
794 |
- |
795 |
- |
796 |
- <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_doc.zip"> |
797 |
- <zipfileset prefix="tvbrowser_v${tvbrowser.version}/doc" |
798 |
- dir="${doc.dir}"/> |
799 |
- </zip> |
800 |
- |
801 |
- </target> |
802 |
- |
803 |
- <!-- |
804 |
- | Dump some information. |
805 |
- +--> |
806 |
- <target name="dump-info"> |
807 |
- <echo message="JAVA_HOME=${env.JAVA_HOME}" /> |
808 |
- <echo message="java.vm.info=${java.vm.info}" /> |
809 |
- <echo message="java.vm.name=${java.vm.name}" /> |
810 |
- <echo message="java.vm.vendor=${java.vm.vendor}" /> |
811 |
- <echo message="java.vm.version=${java.vm.version}" /> |
812 |
- <echo message="os.arch=${os.arch}" /> |
813 |
- <echo message="os.name=${os.name}" /> |
814 |
- <echo message="os.version=${os.version}" /> |
815 |
- <echo message="file.encoding=${file.encoding}" /> |
816 |
- <echo message="user.language=${user.language}" /> |
817 |
- </target> |
818 |
- |
819 |
- |
820 |
- |
821 |
- |
822 |
- <target name="public-src" description="Creates a .zip file containing the full source code of TV-Browser"> |
823 |
- <mkdir dir="${public.dir}"/> |
824 |
- <zip destfile="${public.dir}/tvbrowser_${tvbrowser.version}_src.zip"> |
825 |
- <zipfileset prefix="tvbrowser-${tvbrowser.version}" |
826 |
- dir="."> |
827 |
- |
828 |
- <exclude name="${classes.dir}/**" /> |
829 |
- <exclude name="${public.dir}/**" /> |
830 |
- <exclude name="${runtime.dir}/**" /> |
831 |
- |
832 |
- </zipfileset> |
833 |
- </zip> |
834 |
- </target> |
835 |
- |
836 |
- <target name="public-tvdatakit"></target> |
837 |
- |
838 |
-</project> |
839 |
|
840 |
diff --git a/media-tv/tvbrowser/tvbrowser-3.2.1-r1.ebuild b/media-tv/tvbrowser/tvbrowser-3.2.1-r1.ebuild |
841 |
deleted file mode 100644 |
842 |
index cf177b2..0000000 |
843 |
--- a/media-tv/tvbrowser/tvbrowser-3.2.1-r1.ebuild |
844 |
+++ /dev/null |
845 |
@@ -1,169 +0,0 @@ |
846 |
-# Copyright 1999-2015 Gentoo Foundation |
847 |
-# Distributed under the terms of the GNU General Public License v2 |
848 |
-# $Id$ |
849 |
- |
850 |
-EAPI="5" |
851 |
- |
852 |
-JAVA_PKG_IUSE="doc source test" |
853 |
- |
854 |
-inherit eutils java-pkg-2 java-ant-2 flag-o-matic virtualx |
855 |
- |
856 |
-tp_base="http://javootoo.l2fprod.com/plaf/skinlf/themepacks" |
857 |
-tvp_base="http://tvbrowser.org/downloads" |
858 |
- |
859 |
-DESCRIPTION="Themeable and easy to use TV Guide - written in Java" |
860 |
-HOMEPAGE="http://www.tvbrowser.org/" |
861 |
-SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.zip |
862 |
- |
863 |
-themes? ( |
864 |
- ${tp_base}/BeOSthemepack.zip |
865 |
- ${tp_base}/amarachthemepack.zip |
866 |
- ${tp_base}/aquathemepack.zip |
867 |
- ${tp_base}/architectBluethemepack.zip |
868 |
- ${tp_base}/architectOlivethemepack.zip |
869 |
- ${tp_base}/b0sumiErgothempack.zip |
870 |
- ${tp_base}/b0sumithemepack.zip |
871 |
- ${tp_base}/bbjthemepack.zip |
872 |
- ${tp_base}/beigeazulthemepack.zip |
873 |
- ${tp_base}/beosthemepack.zip |
874 |
- ${tp_base}/blueMetalthemepack.zip |
875 |
- ${tp_base}/blueTurquesathemepack.zip |
876 |
- ${tp_base}/cellshadedthemepack.zip |
877 |
- ${tp_base}/chaNinja-Bluethemepack.zip |
878 |
- ${tp_base}/coronaHthemepack.zip |
879 |
- ${tp_base}/cougarthemepack.zip |
880 |
- ${tp_base}/crystal2themepack.zip |
881 |
- ${tp_base}/fatalEthemepack.zip |
882 |
- ${tp_base}/gfxOasisthemepack.zip |
883 |
- ${tp_base}/gorillathemepack.zip |
884 |
- ${tp_base}/hmmXPBluethemepack.zip |
885 |
- ${tp_base}/hmmXPMonoBluethemepack.zip |
886 |
- ${tp_base}/iBarthemepack.zip |
887 |
- ${tp_base}/macosthemepack.zip |
888 |
- ${tp_base}/midnightthemepack.zip |
889 |
- ${tp_base}/mmMagra-Xthemepack.zip |
890 |
- ${tp_base}/modernthemepack.zip |
891 |
- ${tp_base}/oliveGreenLunaXPthemepack.zip |
892 |
- ${tp_base}/opusLunaSilverthemepack.zip |
893 |
- ${tp_base}/opusOSBluethemepack.zip |
894 |
- ${tp_base}/opusOSDeepthemepack.zip |
895 |
- ${tp_base}/opusOSOlivethemepack.zip |
896 |
- ${tp_base}/quickSilverRthemepack.zip |
897 |
- ${tp_base}/roueBluethemepack.zip |
898 |
- ${tp_base}/roueBrownthemepack.zip |
899 |
- ${tp_base}/roueGreenthemepack.zip |
900 |
- ${tp_base}/royalInspiratthemepack.zip |
901 |
- ${tp_base}/silverLunaXPthemepack.zip |
902 |
- ${tp_base}/solunaRthemepack.zip |
903 |
- ${tp_base}/tigerGraphitethemepack.zip |
904 |
- ${tp_base}/tigerthemepack.zip |
905 |
- ${tp_base}/toxicthemepack.zip |
906 |
- ${tp_base}/underlingthemepack.zip |
907 |
- ${tp_base}/whistlerthemepack.zip |
908 |
- ${tp_base}/xplunathemepack.zip |
909 |
- |
910 |
- ${tvp_base}/noia.zip |
911 |
- ${tvp_base}/nuvola.zip |
912 |
- ${tvp_base}/tulliana.zip |
913 |
- ${tvp_base}/tango_without_heart.zip |
914 |
-)" |
915 |
- |
916 |
-SLOT="0" |
917 |
-KEYWORDS="~amd64 ~x86" |
918 |
-LICENSE="GPL-3" |
919 |
- |
920 |
-IUSE="themes" |
921 |
- |
922 |
-COMMON_DEP="dev-java/bsh:0 |
923 |
- dev-java/commons-codec:0 |
924 |
- dev-java/commons-lang:2.1 |
925 |
- dev-java/commons-net:0 |
926 |
- dev-java/jakarta-oro:2.0 |
927 |
- dev-java/jgoodies-forms:0 |
928 |
- dev-java/jgoodies-looks:2.0 |
929 |
- dev-java/l2fprod-common:0 |
930 |
- dev-java/log4j:0 |
931 |
- dev-java/skinlf:0 |
932 |
- dev-java/stax:0 |
933 |
- dev-java/swt:4.2 |
934 |
- dev-java/xalan:0 |
935 |
- x11-libs/libXt:0 |
936 |
- x11-libs/libSM:0 |
937 |
- x11-libs/libICE:0 |
938 |
- x11-libs/libXext:0 |
939 |
- x11-libs/libXtst:0 |
940 |
- x11-libs/libX11:0 |
941 |
- x11-libs/libXau:0 |
942 |
- x11-libs/libXdmcp:0 |
943 |
-" |
944 |
- |
945 |
-DEPEND="${COMMON_DEP} |
946 |
- app-arch/unzip:0 |
947 |
- >=virtual/jdk-1.6 |
948 |
- test? ( dev-java/junit:0 dev-java/ant-junit:0 ) |
949 |
-" |
950 |
- |
951 |
-RDEPEND="${COMMON_DEP} |
952 |
- >=virtual/jre-1.6 |
953 |
-" |
954 |
- |
955 |
-java_prepare() { |
956 |
- cp "${FILESDIR}"/${P}-build.xml build.xml || die "Failed to replace build.xml." |
957 |
- |
958 |
- local error="Failed to unbundle or remove libraries or classes." |
959 |
- pushd lib > /dev/null |
960 |
- rm -v bsh-*.jar commons*.jar jgoodies*.jar l2fprod-common-tasks*.jar \ |
961 |
- skinlf*.jar stax*.jar || die ${error} |
962 |
- popd > /dev/null |
963 |
- |
964 |
- find deployment -name '*.jar' -exec rm -v {} \; || die ${error} |
965 |
- find . -name '*.class' -exec rm -v {} \; || die ${error} |
966 |
-} |
967 |
- |
968 |
-JAVA_ANT_REWRITE_CLASSPATH="true" |
969 |
-EANT_GENTOO_CLASSPATH="bsh,commons-codec,commons-lang-2.1,jgoodies-forms,jgoodies-looks-2.0,l2fprod-common,skinlf" |
970 |
-EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},ant-junit,junit" |
971 |
- |
972 |
-EANT_BUILD_TARGET="runtime-linux" |
973 |
-EANT_DOC_TARGET="public-doc" |
974 |
- |
975 |
-src_test() { |
976 |
- VIRTUALX_COMMAND="java-pkg-2_src_test" virtualmake |
977 |
-} |
978 |
- |
979 |
-src_install() { |
980 |
- pushd runtime/${PN}_linux > /dev/null |
981 |
- java-pkg_dojar ${PN}.jar |
982 |
- |
983 |
- local todir="${JAVA_PKG_SHAREPATH}" |
984 |
- |
985 |
- cp -a {imgs,icons,plugins} "${D}/${todir}" || die "Failed to copy directories." |
986 |
- cp linux.properties "${D}/${todir}" || die "Failed to copy linux.properties." |
987 |
- |
988 |
- insinto "${todir}/themepacks" |
989 |
- doins themepacks/themepack.zip |
990 |
- |
991 |
- if use themes ; then |
992 |
- pushd "${DISTDIR}" > /dev/null |
993 |
- doins *pack.zip |
994 |
- |
995 |
- insinto "${todir}/icons" |
996 |
- doins noia.zip nuvola.zip tulliana.zip tango_without_heart.zip |
997 |
- popd > /dev/null |
998 |
- fi |
999 |
- |
1000 |
- java-pkg_dolauncher "tvbrowser" \ |
1001 |
- --main tvbrowser.TVBrowser \ |
1002 |
- --pwd ${todir} \ |
1003 |
- --java_args " -Dpropertiesfile=${todir}/linux.properties" |
1004 |
- |
1005 |
- make_desktop_entry ${PN} "TV-Browser" \ |
1006 |
- /usr/share/tvbrowser/imgs/tvbrowser128.png "AudioVideo;TV;Video" |
1007 |
- popd > /dev/null |
1008 |
- |
1009 |
- java-pkg_dojar lib/{htmlparser-1.6.jar,jRegistryKey-1.4.5.jar,opencsv-2.3.jar} |
1010 |
- java-pkg_dojar lib/{quaqua-7.3.4.jar,substance-6.1.jar,texhyphj-1.1.jar,trident-1.3.jar} |
1011 |
- |
1012 |
- use source && java-pkg_dosrc src |
1013 |
- use doc && java-pkg_dojavadoc doc |
1014 |
-} |
1015 |
|
1016 |
diff --git a/media-tv/tvbrowser/tvbrowser-3.4.ebuild b/media-tv/tvbrowser/tvbrowser-3.4.ebuild |
1017 |
deleted file mode 100644 |
1018 |
index 9c32400..0000000 |
1019 |
--- a/media-tv/tvbrowser/tvbrowser-3.4.ebuild |
1020 |
+++ /dev/null |
1021 |
@@ -1,98 +0,0 @@ |
1022 |
-# Copyright 1999-2015 Gentoo Foundation |
1023 |
-# Distributed under the terms of the GNU General Public License v2 |
1024 |
-# $Id$ |
1025 |
- |
1026 |
-EAPI="5" |
1027 |
- |
1028 |
-JAVA_PKG_IUSE="doc source test" |
1029 |
- |
1030 |
-inherit java-pkg-2 java-ant-2 |
1031 |
- |
1032 |
-DESCRIPTION="Themeable and easy to use TV Guide - written in Java" |
1033 |
-HOMEPAGE="http://www.tvbrowser.org/" |
1034 |
-SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.zip" |
1035 |
- |
1036 |
-SLOT="0" |
1037 |
-KEYWORDS="~amd64 ~x86" |
1038 |
-LICENSE="GPL-3" |
1039 |
-IUSE="" |
1040 |
- |
1041 |
-COMMON_DEP="dev-java/bsh:0 |
1042 |
- dev-java/commons-codec:0 |
1043 |
- dev-java/commons-lang:3.1 |
1044 |
- dev-java/commons-net:0 |
1045 |
- dev-java/jakarta-oro:2.0 |
1046 |
- dev-java/jgoodies-common:1.8 |
1047 |
- dev-java/jgoodies-forms:1.8 |
1048 |
- dev-java/jgoodies-looks:2.6 |
1049 |
- dev-java/l2fprod-common:0 |
1050 |
- dev-java/htmlparser-org:0 |
1051 |
- dev-java/log4j:0 |
1052 |
- dev-java/skinlf:0 |
1053 |
- dev-java/stax:0 |
1054 |
- dev-java/xalan:0 |
1055 |
- dev-java/opencsv:0 |
1056 |
- dev-java/texhyphj:0 |
1057 |
- dev-java/trident:0 |
1058 |
- x11-libs/libXt |
1059 |
- x11-libs/libSM |
1060 |
- x11-libs/libICE |
1061 |
- x11-libs/libXext |
1062 |
- x11-libs/libXtst |
1063 |
- x11-libs/libX11 |
1064 |
- x11-libs/libXau |
1065 |
- x11-libs/libXdmcp" |
1066 |
- |
1067 |
-DEPEND="${COMMON_DEP} |
1068 |
- app-arch/unzip |
1069 |
- >=virtual/jdk-1.6" |
1070 |
-RDEPEND="${COMMON_DEP} |
1071 |
- >=virtual/jre-1.6" |
1072 |
- |
1073 |
-java_prepare() { |
1074 |
- epatch "${FILESDIR}"/${PV}-*.patch |
1075 |
- |
1076 |
- rm -v lib/{bsh-,commons,jgoodies,l2fprod-common-tasks,skinlf,stax,htmlparser,opencsv,trident,texhyphj,jRegistryKey}*.jar |
1077 |
- |
1078 |
- find deployment -name '*.jar' -delete || die |
1079 |
- find . -name '*.class' -delete || die |
1080 |
-} |
1081 |
- |
1082 |
-JAVA_ANT_REWRITE_CLASSPATH="true" |
1083 |
-EANT_GENTOO_CLASSPATH="bsh |
1084 |
- commons-codec |
1085 |
- commons-lang-3.1 |
1086 |
- jgoodies-common-1.8 |
1087 |
- jgoodies-forms-1.8 |
1088 |
- jgoodies-looks-2.6 |
1089 |
- l2fprod-common |
1090 |
- skinlf |
1091 |
- htmlparser-org |
1092 |
- opencsv |
1093 |
- texhyphj" |
1094 |
-EANT_BUILD_TARGET="runtime-linux" |
1095 |
-EANT_DOC_TARGET="public-doc" |
1096 |
- |
1097 |
-src_install() { |
1098 |
- java-pkg_dojar runtime/${PN}_linux/${PN}.jar |
1099 |
- java-pkg_dojar lib/substance-6.1.jar |
1100 |
- java-pkg_register-dependency trident,opencsv |
1101 |
- |
1102 |
- insinto /usr/share/${PN} |
1103 |
- doins -r runtime/${PN}_linux/{imgs,icons,plugins,infothemes} |
1104 |
- doins runtime/${PN}_linux/linux.properties |
1105 |
- |
1106 |
- insinto /usr/share/${PN}/themepacks |
1107 |
- doins themepacks/themepack.zip |
1108 |
- |
1109 |
- java-pkg_dolauncher "tvbrowser" \ |
1110 |
- --main tvbrowser.TVBrowser \ |
1111 |
- --pwd /usr/share/${PN} \ |
1112 |
- --java_args " -Dpropertiesfile=/usr/share/${PN}/linux.properties" |
1113 |
- |
1114 |
- make_desktop_entry ${PN} "TV-Browser" \ |
1115 |
- /usr/share/tvbrowser/imgs/tvbrowser128.png "AudioVideo;TV;Video" |
1116 |
- |
1117 |
- use source && java-pkg_dosrc src/* |
1118 |
- use doc && java-pkg_dojavadoc doc |
1119 |
-} |