diff options
author | 2019-12-06 20:42:14 +0100 | |
---|---|---|
committer | 2019-12-06 20:42:14 +0100 | |
commit | 0072d8292f4cf32fc4418949775c023ab33c1799 (patch) | |
tree | 9e712e710c8bb6b4376c804b651ee5785c327c23 /media-gfx | |
parent | media-gfx/aoi: Remove last-rited pkg (diff) | |
download | gentoo-0072d8292f4cf32fc4418949775c023ab33c1799.tar.gz gentoo-0072d8292f4cf32fc4418949775c023ab33c1799.tar.bz2 gentoo-0072d8292f4cf32fc4418949775c023ab33c1799.zip |
media-gfx/opcion: Remove last-rited pkg
Closes: https://bugs.gentoo.org/697286
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/opcion/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/opcion/files/opcion-1.1.1-fix-source.patch | 15 | ||||
-rw-r--r-- | media-gfx/opcion/metadata.xml | 11 | ||||
-rw-r--r-- | media-gfx/opcion/opcion-1.1.1-r2.ebuild | 59 |
4 files changed, 0 insertions, 86 deletions
diff --git a/media-gfx/opcion/Manifest b/media-gfx/opcion/Manifest deleted file mode 100644 index 3833b4860686..000000000000 --- a/media-gfx/opcion/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST Opcion_v1.1.1_src.zip 319793 BLAKE2B 1c374f7e52ce7f313b8bc5b99ffcc990ccef3776a4e48d2499d3c3e8dccdbca353e00b109dc2f1fceacf020d095106d1c67569a23f65f1b891dc0bdbdf902070 SHA512 47b4729a54b4b76fdd5ece01f40e700f6c942df60a36956e08383aa24bb436e59b40df25d42d2d7c6b01633a92c7449a8c7f0acb9a9e63af76d1054373f51f14 diff --git a/media-gfx/opcion/files/opcion-1.1.1-fix-source.patch b/media-gfx/opcion/files/opcion-1.1.1-fix-source.patch deleted file mode 100644 index 4c5f1dc9c9e3..000000000000 --- a/media-gfx/opcion/files/opcion-1.1.1-fix-source.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- FontViewer/components/AAToggleButton.java 2007-04-29 12:20:16.000000000 +0200 -+++ FontViewer/components/AAToggleButton.java 2007-04-29 12:10:53.000000000 +0200 -@@ -38,7 +38,11 @@ - this.setToolTipText(fname + " (" + floc + ")"); - } - -- public String getFName() { -+ public AAToggleButton(String s) { -+ super(s); -+ } -+ -+ public String getFName() { - return fname; - } - diff --git a/media-gfx/opcion/metadata.xml b/media-gfx/opcion/metadata.xml deleted file mode 100644 index 99e11a0882f4..000000000000 --- a/media-gfx/opcion/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>fonts@gentoo.org</email> - <name>Fonts</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">opcion</remote-id> - </upstream> -</pkgmetadata> diff --git a/media-gfx/opcion/opcion-1.1.1-r2.ebuild b/media-gfx/opcion/opcion-1.1.1-r2.ebuild deleted file mode 100644 index 9d00507f7c00..000000000000 --- a/media-gfx/opcion/opcion-1.1.1-r2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils java-pkg-2 - -MY_P="Opcion_v${PV}" - -DESCRIPTION="Free font viewer written in Java" -HOMEPAGE="http://opcion.sourceforge.net/" -SRC_URI="mirror://sourceforge/opcion/${MY_P}_src.zip" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" -COMMON_DEP="=dev-java/jgoodies-looks-1.2*" -RDEPEND=">=virtual/jre-1.4 - ${COMMON_DEP}" -DEPEND=">=virtual/jdk-1.4 - ${COMMON_DEP} - app-arch/unzip" - -S=${WORKDIR} - -src_unpack() { - unpack ${A} - cd "${S}" - - # add missing constructor - epatch "${FILESDIR}/${P}-fix-source.patch" - - # calls nonexisting constructor and seems unused - rm FontViewer/windows/test.java || die - - rm -rf com/jgoodies || die - find . -name '*.class' -delete || die - rm *.txt || die -} - -src_compile() { - find . -name '*.java' > "${T}/src.list" - local cp="$(java-pkg_getjars jgoodies-looks-1.2)" - mkdir build || die - # quite icky way to copy resources - cp -R FontViewer com build || die - find build -name '*.java' -delete - ejavac -nowarn -classpath "${cp}" -d build "@${T}/src.list" - jar cf ${PN}.jar -C build . || die -} - -src_install() { - java-pkg_dojar ${PN}.jar - - java-pkg_dolauncher ${PN} --main FontViewer.Opcion - - newicon FontViewer/resources/icons/IconSmall.png ${PN}-icon.png - make_desktop_entry ${PN} opcion ${PN}-icon -} |