summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2020-06-09 13:54:12 +0200
committerDaniel Pielmeier <billie@gentoo.org>2020-06-09 13:54:12 +0200
commitd3281559023b42969aedac6224cbf6c88e5351ae (patch)
treecb6c00bb531cb1d0b009c7a8dd6c1f5a95523d1d /media-video
parentmedia-tv/channeleditor: Remove old channeleditor-1.9.2.1-r1. (diff)
downloadgentoo-d3281559023b42969aedac6224cbf6c88e5351ae.tar.gz
gentoo-d3281559023b42969aedac6224cbf6c88e5351ae.tar.bz2
gentoo-d3281559023b42969aedac6224cbf6c88e5351ae.zip
media-video/projectx: Remove old projectx-0.91.0.10-r1.
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Daniel Pielmeier <billie@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/projectx/files/build-0.90.4.00_p33.xml77
-rw-r--r--media-video/projectx/files/projectx-0.90.4.00_p33-bl2.patch15
-rw-r--r--media-video/projectx/files/projectx-0.90.4.00_p33-idctfast.patch37
-rw-r--r--media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch11
-rw-r--r--media-video/projectx/files/projectx-0.90.4.00_p33-xdg.patch44
-rw-r--r--media-video/projectx/projectx-0.91.0.10-r1.ebuild128
6 files changed, 0 insertions, 312 deletions
diff --git a/media-video/projectx/files/build-0.90.4.00_p33.xml b/media-video/projectx/files/build-0.90.4.00_p33.xml
deleted file mode 100644
index f35638733b13..000000000000
--- a/media-video/projectx/files/build-0.90.4.00_p33.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="projectx" default="jar">
- <!-- some properties -->
- <property name="src.dir" value="src" />
- <property name="build.dir" value="build" />
- <property name="docs.dir" value="apidocs" />
- <property name="dist.dir" value="dist" />
- <property name="lib.dir" value="lib" />
- <property name="resources.dir" value="resources" />
- <property name="project.jar" value="${dist.dir}/${ant.project.name}.jar" />
- <property name="target.jdk" value="1.5" />
-
- <!-- classpath -->
- <path id="refcp">
- <fileset dir="${lib.dir}">
- <include name="**/*.jar" />
- </fileset>
- </path>
-
- <!-- init -->
- <target name="init">
- <mkdir dir="${dist.dir}" />
- <mkdir dir="${docs.dir}" />
- <mkdir dir="${build.dir}" />
- </target>
-
- <!-- compile everything -->
- <target name="compile" depends="init">
- <javac srcdir="${src.dir}"
- destdir="${build.dir}"
- source="${target.jdk}"
- target="${target.jdk}"
- classpathref="refcp"
- encoding="ISO-8859-1"/>
- <copy todir="${build.dir}">
- <fileset dir="${resources.dir}" />
- </copy>
- </target>
-
- <!-- build the jar files -->
- <target name="build" depends="compile">
- <jar jarfile="${project.jar}" basedir="${build.dir}">
- <manifest>
- <attribute name="Main-Class" value="${manifest.mainclass}" />
- </manifest>
- </jar>
- </target>
-
- <!-- generate javadocs -->
- <target name="javadoc" depends="init">
- <javadoc sourcepath="${src.dir}"
- packagenames="*"
- destdir="${docs.dir}"
- author="true"
- version="true"
- use="true"
- charset="UTF-8"
- encoding="ISO-8859-1"
- windowtitle="${ant.project.name} API" />
- </target>
-
- <!-- clean up -->
- <target name="clean">
- <delete dir="${build.dir}" />
- <delete dir="${docs.dir}" />
- <delete dir="${dist.dir}" />
- </target>
-
- <!-- zip the sources -->
- <target name="sourcezip">
- <zip destfile="${dist.dir}/${ant.project.name}-src.zip">
- <zipfileset dir="${src.dir}" />
- </zip>
- </target>
-
-</project>
diff --git a/media-video/projectx/files/projectx-0.90.4.00_p33-bl2.patch b/media-video/projectx/files/projectx-0.90.4.00_p33-bl2.patch
deleted file mode 100644
index 7c5b48263cec..000000000000
--- a/media-video/projectx/files/projectx-0.90.4.00_p33-bl2.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/net/sourceforge/dvb/projectx/gui/Html.java 2006-11-25 22:28:52.000000000 +0100
-+++ 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.90.4.00_p33-idctfast.patch b/media-video/projectx/files/projectx-0.90.4.00_p33-idctfast.patch
deleted file mode 100644
index 8421dd36ae94..000000000000
--- a/media-video/projectx/files/projectx-0.90.4.00_p33-idctfast.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- src/net/sourceforge/dvb/projectx/video/MpvDecoder.java 2009-12-31 15:24:13.000000000 +0100
-+++ 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;
- }
-
-@@ -2399,7 +2399,7 @@
- }
- }
-
-- else if (IDCTRefNative.isLibraryLoaded() && isAccelerated())
-+ else if (IDCTFast.isLibraryLoaded() && isAccelerated())
- {
- /* copy or add block data into picture */
- for (comp=0; comp<block_count; comp++)
diff --git a/media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch b/media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch
deleted file mode 100644
index 47f7d71c04cb..000000000000
--- a/media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/net/sourceforge/dvb/projectx/common/GuiInterface.java 2008-12-04 01:47:03.000000000 +0100
-+++ src/net/sourceforge/dvb/projectx/common/GuiInterface.java 2008-12-04 02:21:11.342918380 +0100
-@@ -190,7 +190,7 @@
- impl.updateProgressBar(percent);
-
- else
-- System.out.print("\r" + percent + " %");
-+ System.out.print(percent + " %");
- }
-
- /**
diff --git a/media-video/projectx/files/projectx-0.90.4.00_p33-xdg.patch b/media-video/projectx/files/projectx-0.90.4.00_p33-xdg.patch
deleted file mode 100644
index 1cb675af4ebb..000000000000
--- a/media-video/projectx/files/projectx-0.90.4.00_p33-xdg.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- src/net/sourceforge/dvb/projectx/common/Settings.java 2008-02-18 19:34:48.000000000 +0100
-+++ src/net/sourceforge/dvb/projectx/common/Settings.java 2010-07-31 19:44:59.151224244 +0200
-@@ -46,6 +46,8 @@
- import java.util.Set;
- import java.util.TreeMap;
-
-+import xdg.*;
-+
- import net.sourceforge.dvb.projectx.xinput.XInputDirectory;
-
- /**
-@@ -56,7 +58,7 @@
- public class Settings extends Object {
-
- /** the default ini filename */
-- private static final String DEFAULT_INI = "X.ini";
-+ private static final String DEFAULT_INI = "Project-X.ini";
-
- /** the current ini filename */
- private String inifile = "";
-@@ -75,7 +77,7 @@
- */
- public Settings()
- {
-- this(Resource.workdir + Resource.filesep + DEFAULT_INI);
-+ this(xdg.config_home() + Resource.filesep + DEFAULT_INI);
- }
-
- /**
-@@ -161,6 +163,7 @@
- str = inifile;
-
- try {
-+ xdg.mkdirs_file(str);
- PrintWriter w = new PrintWriter(new FileWriter(str));
-
- String base_key = "# Project-X INI";
-@@ -714,4 +717,4 @@
- return inifile;
- }
-
--}
-\ Kein Zeilenumbruch am Dateiende.
-+}
diff --git a/media-video/projectx/projectx-0.91.0.10-r1.ebuild b/media-video/projectx/projectx-0.91.0.10-r1.ebuild
deleted file mode 100644
index 4b8c94a37d78..000000000000
--- a/media-video/projectx/projectx-0.91.0.10-r1.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-JAVA_PKG_IUSE="doc source"
-
-inherit eutils toolchain-funcs java-pkg-2 java-ant-2
-
-XDG_P="xdg-20100731"
-
-DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings"
-HOMEPAGE="http://project-x.sourceforge.net/"
-SRC_URI="https://dev.gentoo.org/~billie/distfiles/${P}.tar.xz
- https://dev.gentoo.org/~billie/distfiles/${PN}-idctfast.tar.xz
- https://dev.gentoo.org/~billie/distfiles/${XDG_P}.java.xz
- https://dev.gentoo.org/~billie/distfiles/${PN}-icon.png"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
-IUSE="X cpu_flags_x86_mmx cpu_flags_x86_sse"
-
-COMMON_DEP="dev-java/commons-net:0
- X? ( dev-java/browserlauncher2:1.0 )"
-
-RDEPEND=">=virtual/jre-1.5
- ${COMMON_DEP}"
-
-DEPEND=">=virtual/jdk-1.5
- app-arch/xz-utils
- virtual/libiconv
- ${COMMON_DEP}"
-
-S="${WORKDIR}/Project-X"
-
-mainclass() {
- # read Main-Class from MANIFEST.MF
- sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF" || die
-}
-
-src_prepare() {
- default
-
- local X
-
- # apply stdout corruption patch (zzam@gentoo.org)
- epatch "${FILESDIR}/${PN}-0.90.4.00_p33-stdout-corrupt.patch"
-
- # apply BrowserLauncher2 patch
- use X && epatch "${FILESDIR}/${PN}-0.90.4.00_p33-bl2.patch"
- rm -rf src/edu || die
-
- # apply IDCTFast patch
- epatch "${FILESDIR}/${PN}-0.90.4.00_p33-idctfast.patch"
-
- # apply XDG patch
- cp -f "${WORKDIR}/${XDG_P}.java" "${S}/src/xdg.java" || die
- epatch "${FILESDIR}/${PN}-0.90.4.00_p33-xdg.patch"
-
- # copy build.xml
- cp -f "${FILESDIR}/build-0.90.4.00_p33.xml" build.xml || die
-
- # patch executable and icon
- sed -i -e "s:^\(Exec=\).*:\1${PN}_gui:g" \
- -e "s:^\(Icon=\).*:\1${PN}:g" *.desktop || die
-
- # convert CRLF to LF
- edos2unix *.txt MANIFEST.MF
-
- # convert docs to utf-8
- if [ -x "$(type -p iconv)" ]; then
- for X in zutun.txt; do
- iconv -f LATIN1 -t UTF8 -o "${X}~" "${X}" && mv -f "${X}~" "${X}" || die
- done
- fi
-
- # merge/remove resources depending on USE="X"
- if use X; then
- mv -f htmls resources/ || die
- else
- rm -rf src/net/sourceforge/dvb/projectx/gui || die
- rm resources/*.gif || die
- fi
-
- # update library packages
- cd lib || die
- rm -f {commons-net,jakarta-oro}*.jar || die
- java-pkg_jar-from commons-net
- use X && java-pkg_jar-from browserlauncher2-1.0
- java-pkg_ensure-no-bundled-jars
-}
-
-src_compile() {
- local IDCT="idct-mjpeg" # default IDCT implementation
- if use x86 || use amd64; then
- use cpu_flags_x86_mmx && IDCT="idct-mjpeg-mmx"
- use cpu_flags_x86_sse && IDCT="idct-mjpeg-sse"
- fi
-
- eant build $(use_doc) -Dmanifest.mainclass=$(mainclass)
-
- cd lib/PORTABLE || die
- emake CC=$(tc-getCC) IDCT="${IDCT}" LDFLAGS="${LDFLAGS}" \
- CPLAT="${CFLAGS} -O3 -ffast-math -fPIC"
-}
-
-src_install() {
- java-pkg_dojar dist/${PN}.jar
- java-pkg_doso lib/PORTABLE/libidctfast.so
-
- java-pkg_dolauncher ${PN}_cli --main $(mainclass) \
- --java_args "-Djava.awt.headless=true -Xmx256m"
-
- if use X; then
- java-pkg_dolauncher ${PN}_gui --main $(mainclass) \
- --java_args "-Xmx256m"
- dosym ${PN}_gui /usr/bin/${PN}
- newicon "${DISTDIR}/${PN}-icon.png" "${PN}.png"
- domenu *.desktop
- else
- dosym ${PN}_cli /usr/bin/${PN}
- fi
-
- dodoc *.txt
- use doc && java-pkg_dojavadoc apidocs
- use source && java-pkg_dosrc src
-}