From cc07a449bd92fe67283a166cf55d3c645e89ccd9 Mon Sep 17 00:00:00 2001 From: Daniel Pielmeier Date: Sun, 24 Mar 2019 12:23:38 +0100 Subject: media-video/projectx: Add missing patches. Signed-off-by: Daniel Pielmeier Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- media-video/projectx/files/build-0.91.0.10.xml | 77 ++++++++++++++++++++++ .../projectx/files/projectx-0.91.0.10-bl2.patch | 15 +++++ .../files/projectx-0.91.0.10-idctfast.patch | 37 +++++++++++ .../files/projectx-0.91.0.10-stdout-corrupt.patch | 11 ++++ .../projectx/files/projectx-0.91.0.10-xdg.patch | 44 +++++++++++++ 5 files changed, 184 insertions(+) create mode 100644 media-video/projectx/files/build-0.91.0.10.xml create mode 100644 media-video/projectx/files/projectx-0.91.0.10-bl2.patch create mode 100644 media-video/projectx/files/projectx-0.91.0.10-idctfast.patch create mode 100644 media-video/projectx/files/projectx-0.91.0.10-stdout-corrupt.patch create mode 100644 media-video/projectx/files/projectx-0.91.0.10-xdg.patch (limited to 'media-video') diff --git a/media-video/projectx/files/build-0.91.0.10.xml b/media-video/projectx/files/build-0.91.0.10.xml new file mode 100644 index 000000000000..f35638733b13 --- /dev/null +++ b/media-video/projectx/files/build-0.91.0.10.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media-video/projectx/files/projectx-0.91.0.10-bl2.patch b/media-video/projectx/files/projectx-0.91.0.10-bl2.patch new file mode 100644 index 000000000000..3799c15e19cb --- /dev/null +++ b/media-video/projectx/files/projectx-0.91.0.10-bl2.patch @@ -0,0 +1,15 @@ +--- Project-X/src/net/sourceforge/dvb/projectx/gui/Html.java 2006-11-25 22:28:52.000000000 +0100 ++++ Project-X/src/net/sourceforge/dvb/projectx/gui/Html.java 2007-06-10 13:37:59.000000000 +0200 +@@ -159,9 +159,10 @@ + { + try + { +- BrowserLauncher.openURL(u.toString()); ++ BrowserLauncher launcher = new BrowserLauncher(); ++ launcher.openURLinBrowser(u.toString()); + } +- catch (IOException e) ++ catch (Exception e) + { + Common.setMessage(Resource.getString("msg.browser.launcher.error") + " " + e); + } diff --git a/media-video/projectx/files/projectx-0.91.0.10-idctfast.patch b/media-video/projectx/files/projectx-0.91.0.10-idctfast.patch new file mode 100644 index 000000000000..84b7893c835f --- /dev/null +++ b/media-video/projectx/files/projectx-0.91.0.10-idctfast.patch @@ -0,0 +1,37 @@ +--- Project-X/src/net/sourceforge/dvb/projectx/video/MpvDecoder.java 2009-12-31 15:24:13.000000000 +0100 ++++ Project-X/src/net/sourceforge/dvb/projectx/video/MpvDecoder.java 2010-07-31 14:32:19.945223425 +0200 +@@ -72,7 +72,7 @@ + + public class MpvDecoder extends Object { + +- private IDCTRefNative idct; ++ private IDCTFast idct; + private IDCTSseNative idctsse; + + private int preview_horizontal_size = 512; +@@ -134,13 +134,13 @@ + { + Arrays.fill(pixels2, 0xFF505050); + +- idct = new IDCTRefNative(); ++ idct = new IDCTFast(); + idctsse = new IDCTSseNative(); + +- if (IDCTRefNative.isLibraryLoaded()) ++ if (IDCTFast.isLibraryLoaded()) + idct.init(); + +- if (IDCTRefNative.isLibraryLoaded() || IDCTSseNative.isLibraryLoaded()) ++ if (IDCTFast.isLibraryLoaded() || IDCTSseNative.isLibraryLoaded()) + acceleration = true; + } + +@@ -2407,7 +2407,7 @@ + } + } + +- else if (IDCTRefNative.isLibraryLoaded() && isAccelerated()) ++ else if (IDCTFast.isLibraryLoaded() && isAccelerated()) + { + /* copy or add block data into picture */ + for (comp=0; comp