summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-07-12 18:20:57 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-07-12 18:20:57 +0000
commit53303e85094166c25b3e9f9173f73ffbd8609cec (patch)
treef636f7b4da38a5b0d26ade8a45d3155e001dd29a /media-sound/jtagger
parent 05 May 2008; Colin Morey <peitolm@gentoo.org> (diff)
downloadgentoo-2-53303e85094166c25b3e9f9173f73ffbd8609cec.tar.gz
gentoo-2-53303e85094166c25b3e9f9173f73ffbd8609cec.tar.bz2
gentoo-2-53303e85094166c25b3e9f9173f73ffbd8609cec.zip
Fix compilation errors with Java 1.5. Reported by Kenneth Prugh <ken69267@gentoo.org> in bug #231571.
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64)
Diffstat (limited to 'media-sound/jtagger')
-rw-r--r--media-sound/jtagger/ChangeLog8
-rw-r--r--media-sound/jtagger/files/jtagger-2008.04.28-override-annotation.patch332
-rw-r--r--media-sound/jtagger/jtagger-2008.04.28.ebuild3
3 files changed, 341 insertions, 2 deletions
diff --git a/media-sound/jtagger/ChangeLog b/media-sound/jtagger/ChangeLog
index 5cc47b685fad..58c819eae8de 100644
--- a/media-sound/jtagger/ChangeLog
+++ b/media-sound/jtagger/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/jtagger
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jtagger/ChangeLog,v 1.9 2008/07/12 15:55:05 ken69267 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jtagger/ChangeLog,v 1.10 2008/07/12 18:20:57 serkan Exp $
+
+ 12 Jul 2008; Serkan Kaba <serkan@gentoo.org>
+ +files/jtagger-2008.04.28-override-annotation.patch,
+ jtagger-2008.04.28.ebuild:
+ Fix compilation errors with Java 1.5. Reported by Kenneth Prugh
+ <ken69267@gentoo.org> in bug #231571.
12 Jul 2008; Kenneth Prugh <ken69267@gentoo.org>
jtagger-2008.04.28.ebuild:
diff --git a/media-sound/jtagger/files/jtagger-2008.04.28-override-annotation.patch b/media-sound/jtagger/files/jtagger-2008.04.28-override-annotation.patch
new file mode 100644
index 000000000000..fe52070b6110
--- /dev/null
+++ b/media-sound/jtagger/files/jtagger-2008.04.28-override-annotation.patch
@@ -0,0 +1,332 @@
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/albumtab/AlbumOptionsPanel.java jtagger_patched/com/googlepages/dronten/jtagger/gui/albumtab/AlbumOptionsPanel.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/albumtab/AlbumOptionsPanel.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/albumtab/AlbumOptionsPanel.java 2008-07-12 19:46:48.000000000 +0300
+@@ -190,7 +190,7 @@
+ *
+ * @param actionEvent
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ if (actionEvent.getSource() == aResetButton) {
+ aArtistCheck.setSelected(false);
+ aArtistInput.setText("");
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/dlg/MessageDialog.java jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/MessageDialog.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/dlg/MessageDialog.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/MessageDialog.java 2008-07-12 19:56:29.000000000 +0300
+@@ -56,7 +56,7 @@
+ /**
+ * @param actionEvent
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ setVisible(false);
+ }
+
+@@ -81,4 +81,4 @@
+ public void setText(String text) {
+ aEditor.setText(text);
+ }
+-}
+\ Dosya sonunda yenisatır yok.
++}
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/dlg/ProgressDialog.java jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/ProgressDialog.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/dlg/ProgressDialog.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/ProgressDialog.java 2008-07-12 19:56:12.000000000 +0300
+@@ -168,7 +168,7 @@
+ *
+ * @param actionEvent
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ close();
+ }
+
+@@ -309,4 +309,4 @@
+ aMajorProgress.setVisible(true);
+ pack();
+ }
+-}
+\ Dosya sonunda yenisatır yok.
++}
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/dlg/setup/GeneralSetup.java jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/setup/GeneralSetup.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/dlg/setup/GeneralSetup.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/setup/GeneralSetup.java 2008-07-12 19:58:00.000000000 +0300
+@@ -50,7 +50,7 @@
+ /**
+ * @param actionEvent
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ if (actionEvent.getSource() == aBrowseDir) {
+ JFileChooser chooser = new JFileChooser();
+
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/dlg/setup/MP3Setup.java jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/setup/MP3Setup.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/dlg/setup/MP3Setup.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/setup/MP3Setup.java 2008-07-12 19:57:45.000000000 +0300
+@@ -55,7 +55,7 @@
+ /**
+ * @param actionEvent
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ }
+
+
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/dlg/setup/SetupDialog.java jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/setup/SetupDialog.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/dlg/setup/SetupDialog.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/dlg/setup/SetupDialog.java 2008-07-12 19:57:06.000000000 +0300
+@@ -76,7 +76,7 @@
+ *
+ * @param actionEvent
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ for (BaseSetup panel : aSetupPanels) {
+ panel.save();
+ }
+@@ -87,7 +87,7 @@
+ /**
+ * @param listSelectionEvent
+ */
+- @Override public void valueChanged(ListSelectionEvent listSelectionEvent) {
++ public void valueChanged(ListSelectionEvent listSelectionEvent) {
+ int index = aList.getSelectedIndex();
+
+ if (aCurrentSetup != null) {
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/filenametab/FileOptionsPanel.java jtagger_patched/com/googlepages/dronten/jtagger/gui/filenametab/FileOptionsPanel.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/filenametab/FileOptionsPanel.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/filenametab/FileOptionsPanel.java 2008-07-12 19:46:13.000000000 +0300
+@@ -205,7 +205,7 @@
+ *
+ * @param actionEvent
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ aUseTitle.setSelected(false);
+ aUseText.setSelected(false);
+ aInsertAlbum.setSelected(false);
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/leftpanel/DirTree.java jtagger_patched/com/googlepages/dronten/jtagger/gui/leftpanel/DirTree.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/leftpanel/DirTree.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/leftpanel/DirTree.java 2008-07-12 20:39:09.000000000 +0300
+@@ -150,7 +150,7 @@
+ *
+ * @param e
+ */
+- @Override public void actionPerformed(ActionEvent e) {
++ public void actionPerformed(ActionEvent e) {
+ if (aSelected == null || aSelected == aTop) {
+ return;
+ }
+@@ -376,7 +376,7 @@
+ /**
+ * @param event
+ */
+- @Override public void treeCollapsed(TreeExpansionEvent event) {
++ public void treeCollapsed(TreeExpansionEvent event) {
+ }
+
+
+@@ -385,7 +385,7 @@
+ *
+ * @param event
+ */
+- @Override public void treeExpanded(TreeExpansionEvent event) {
++ public void treeExpanded(TreeExpansionEvent event) {
+ //DefaultMutableTreeNode dirNode = (DefaultMutableTreeNode) event.getPath().getLastPathComponent();
+
+ //addSubDirs(dirNode);
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/leftpanel/LeftPanel.java jtagger_patched/com/googlepages/dronten/jtagger/gui/leftpanel/LeftPanel.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/leftpanel/LeftPanel.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/leftpanel/LeftPanel.java 2008-07-12 19:34:49.000000000 +0300
+@@ -89,7 +89,7 @@
+ *
+ * @param path
+ */
+- @Override public void valueChanged(String path) {
++ public void valueChanged(String path) {
+ AudioThread.get().stopPlaying();
+
+ if (path != null) {
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/tracktab/TrackOptionsPanel.java jtagger_patched/com/googlepages/dronten/jtagger/gui/tracktab/TrackOptionsPanel.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/tracktab/TrackOptionsPanel.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/tracktab/TrackOptionsPanel.java 2008-07-12 19:47:43.000000000 +0300
+@@ -202,7 +202,7 @@
+ *
+ * @param actionEvent Event message
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ if (actionEvent.getSource() == aUpdateButton) {
+ writeTags();
+ }
+diff -Nur jtagger/com/googlepages/dronten/jtagger/gui/tracktab/TrackTablePanel.java jtagger_patched/com/googlepages/dronten/jtagger/gui/tracktab/TrackTablePanel.java
+--- jtagger/com/googlepages/dronten/jtagger/gui/tracktab/TrackTablePanel.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/gui/tracktab/TrackTablePanel.java 2008-07-12 19:45:27.000000000 +0300
+@@ -112,7 +112,7 @@
+ *
+ * @param actionEvent
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ try {
+ if (actionEvent.getSource() == aDeleteButton) {
+ ListSelectionModel lsm = aTable.getSelectionModel();
+diff -Nur jtagger/com/googlepages/dronten/jtagger/JTagger.java jtagger_patched/com/googlepages/dronten/jtagger/JTagger.java
+--- jtagger/com/googlepages/dronten/jtagger/JTagger.java 2008-04-28 21:10:08.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/JTagger.java 2008-07-12 19:32:58.000000000 +0300
+@@ -116,7 +116,7 @@
+ *
+ * @param actionEvent Menu action event
+ */
+- @Override public void actionPerformed(ActionEvent actionEvent) {
++ public void actionPerformed(ActionEvent actionEvent) {
+ if (actionEvent.getSource() == aReloadItem) {
+ reloadDirectory();
+ }
+diff -Nur jtagger/com/googlepages/dronten/jtagger/model/AlbumModel.java jtagger_patched/com/googlepages/dronten/jtagger/model/AlbumModel.java
+--- jtagger/com/googlepages/dronten/jtagger/model/AlbumModel.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/model/AlbumModel.java 2008-07-12 20:45:14.000000000 +0300
+@@ -49,7 +49,7 @@
+ *
+ * @param event
+ */
+- @Override public void actionPerformed(ActionEvent event) {
++ public void actionPerformed(ActionEvent event) {
+ if (event.getSource() == JTagger.get().getMainWindow().getAlbumPane().getAlbumTable().aTestRenameButton) {
+ try {
+ AlbumRenamer renamer = JTagger.get().getMainWindow().getAlbumPane().getAlbumOptionsPanel().getRenamer();
+@@ -120,7 +120,7 @@
+ /**
+ * @return column count
+ */
+- @Override public int getColumnCount() {
++ public int getColumnCount() {
+ return 6;
+ }
+
+@@ -159,7 +159,7 @@
+ /**
+ * @return number of rows
+ */
+- @Override public int getRowCount() {
++ public int getRowCount() {
+ return JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getRowCount();
+ }
+
+@@ -169,7 +169,7 @@
+ * @param col
+ * @return get object to paint
+ */
+- @Override public Object getValueAt(int row, int col) {
++ public Object getValueAt(int row, int col) {
+ AudioTrack track = JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getTrack(row);
+ AudioTrack testTrack = JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getTestTrack(row);
+
+diff -Nur jtagger/com/googlepages/dronten/jtagger/model/FileModel.java jtagger_patched/com/googlepages/dronten/jtagger/model/FileModel.java
+--- jtagger/com/googlepages/dronten/jtagger/model/FileModel.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/model/FileModel.java 2008-07-12 20:37:57.000000000 +0300
+@@ -49,7 +49,7 @@
+ *
+ * @param event Action event
+ */
+- @Override public void actionPerformed(ActionEvent event) {
++ public void actionPerformed(ActionEvent event) {
+ if (event.getSource() == JTagger.get().getMainWindow().getFilePane().getFileTable().aTestRenameButton) {
+ try {
+ FileRenamer renamer = JTagger.get().getMainWindow().getFilePane().getFileOptionsPanel().getRenamer();
+@@ -120,7 +120,7 @@
+ /**
+ * @return Number of columns
+ */
+- @Override public int getColumnCount() {
++ public int getColumnCount() {
+ return 3;
+ }
+
+@@ -146,7 +146,7 @@
+ /**
+ * @return Number of rows
+ */
+- @Override public int getRowCount() {
++ public int getRowCount() {
+ return JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getRowCount();
+ }
+
+@@ -156,7 +156,7 @@
+ * @param col
+ * @return Object to paint in cell
+ */
+- @Override public Object getValueAt(int row, int col) {
++ public Object getValueAt(int row, int col) {
+ AudioTrack track = JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getTrack(row);
+ AudioTrack testTrack = JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getTestTrack(row);
+
+diff -Nur jtagger/com/googlepages/dronten/jtagger/model/TitleModel.java jtagger_patched/com/googlepages/dronten/jtagger/model/TitleModel.java
+--- jtagger/com/googlepages/dronten/jtagger/model/TitleModel.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/model/TitleModel.java 2008-07-12 20:54:34.000000000 +0300
+@@ -49,7 +49,7 @@
+ *
+ * @param event Action event
+ */
+- @Override public void actionPerformed(ActionEvent event) {
++ public void actionPerformed(ActionEvent event) {
+ if (event.getSource() == JTagger.get().getMainWindow().getTitlePane().getTitleTable().aTestRenameButton) {
+ try {
+ TitleRenamer renamer = JTagger.get().getMainWindow().getTitlePane().getTitleOptionsPanel().getRenamer();
+@@ -120,7 +120,7 @@
+ /**
+ * @return column count
+ */
+- @Override public int getColumnCount() {
++ public int getColumnCount() {
+ return 3;
+ }
+
+@@ -150,7 +150,7 @@
+ /**
+ * @return number of rows
+ */
+- @Override public int getRowCount() {
++ public int getRowCount() {
+ return JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getRowCount();
+ }
+
+@@ -160,7 +160,7 @@
+ * @param col
+ * @return get object to paint
+ */
+- @Override public Object getValueAt(int row, int col) {
++ public Object getValueAt(int row, int col) {
+ AudioTrack track = JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getTrack(row);
+ AudioTrack track_ = JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getTestTrack(row);
+
+diff -Nur jtagger/com/googlepages/dronten/jtagger/model/TrackModel.java jtagger_patched/com/googlepages/dronten/jtagger/model/TrackModel.java
+--- jtagger/com/googlepages/dronten/jtagger/model/TrackModel.java 2008-04-28 20:58:50.000000000 +0300
++++ jtagger_patched/com/googlepages/dronten/jtagger/model/TrackModel.java 2008-07-12 20:30:40.000000000 +0300
+@@ -100,7 +100,7 @@
+ *
+ * @return Columns
+ */
+- @Override public int getColumnCount() {
++ public int getColumnCount() {
+ return 3;
+ }
+
+@@ -149,7 +149,7 @@
+ *
+ * @return Number of rows
+ */
+- @Override public int getRowCount() {
++ public int getRowCount() {
+ return aAudioFiles.size();
+ }
+
+@@ -204,7 +204,7 @@
+ * @param col
+ * @return Object to paint
+ */
+- @Override public Object getValueAt(int row, int col) {
++ public Object getValueAt(int row, int col) {
+ AudioTrack track = getTrack(row);
+ AudioTrack track_ = JTagger.get().getMainWindow().getTrackPane().getTrackTable().getTrackModel().getTestTrack(row);
+
diff --git a/media-sound/jtagger/jtagger-2008.04.28.ebuild b/media-sound/jtagger/jtagger-2008.04.28.ebuild
index cd7f8097e9bd..28d7fdc996b4 100644
--- a/media-sound/jtagger/jtagger-2008.04.28.ebuild
+++ b/media-sound/jtagger/jtagger-2008.04.28.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jtagger/jtagger-2008.04.28.ebuild,v 1.3 2008/07/12 15:55:05 ken69267 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jtagger/jtagger-2008.04.28.ebuild,v 1.4 2008/07/12 18:20:57 serkan Exp $
EAPI="1"
@@ -34,6 +34,7 @@ src_unpack() {
unpack ${A}
unzip -q ${PN}.jar || die
+ epatch "${FILESDIR}"/${P}-override-annotation.patch
rm -vr ${PN}.jar javazoom org META-INF || die
find . -name '*.class' -delete || die