+++ /dev/null
---- 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;
- }
-
+++ /dev/null
-<?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>
+++ /dev/null
-# 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
-}
# Removal in 30 days. Bug #697238.
net-misc/hsc
-# Michał Górny <mgorny@gentoo.org> (2019-11-06)
-# EAPI 0. Last bumped in 2004, and no new releases since.
-# Removal in 30 days. Bug #697286.
-media-gfx/opcion
-
# Michał Górny <mgorny@gentoo.org> (2019-10-20)
# Testing version that breaks multiple plugins. Let's keep it masked
# until upstream releases fixed versions.