Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://bugs.gentoo.org/show_bug.cgi?id=891079
- Loading branch information
EinstokFair
committed
Jan 23, 2023
1 parent
e42714c
commit a674a65
Showing
30 changed files
with
139 additions
and
1,996 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
AUX commons-cli-1.3.patch 791 BLAKE2B 3fde34112ae8fba464a1dc9d282fce6a7eddb37c802861588005c44e3b5f1cf22d9b2495553954ab47681fa016c1c7cb9ff5b0887e48e67381d1d73a7ec58ea6 SHA512 eb2e1eeb5fe02d8d8601b1577847195f2b5a83ba875d70010f33ef8fe1fe57706e01a84ee442cd43bcbb72dc22d79a8e6de832be0e23742dae23e8e38bf6aa48 | ||
AUX freecol-0.11.6-gentoo.patch 923 BLAKE2B f1e8632a75a3a9e4c1b2433eefdf50dc6b437da7052b2531e1a8d67fac1887a4ebad888795a9e96567ce4e5faaf5a2bc643b93f72cf72165de1b4e4146aed4d2 SHA512 85a1a7f9ac9031e61e57bbe88a292716d0249109308a6da0ef60f2e0ea547674f0d379b1f516980bfde567e2d8a2c518eef873fe40159af772b950791bec7bdf | ||
AUX freecol-1.0.0-gentoo.patch 922 BLAKE2B 867120d64f571c98bbac878b012dbdc7d37126b7e63a0c41e47bcb76bae2d6ab3c6181049f9fde961812c4bf57ce2a97c4c13d91d2b5058da2ff953932ccd7b2 SHA512 7a0760d8a5f04956932f9a4480875ebf2ac81eeffc6aafb12ba54e8c0230083959b4953d331d2b54716235cb7ea34106724ee8fc7f1839f48cc6b665581af59e | ||
DIST freecol-1.0.0-src.zip 159875314 BLAKE2B 6153be9553ded4c2a1f9635d67e48165d07b5d1634f26a44d2f01195e1610d6cb525ffa60368f3225cdf62ffd7751242942fd86b5735455e7396deca68d8350d SHA512 68b313b42fc38e6ea95a4a04ca5af534c4487709fb036018d6d09f6de3455325031ad1fd0ae4c6415cbbeebd3f181e598a2602ad7be6cca9150ad9523b8bb3c2 | ||
EBUILD freecol-1.0.0.ebuild 1146 BLAKE2B 0872566f2cd3cdef71c15f3b4c6479317a4bddf5bfb53ea6c825a159e0a2a39cc8bf2418f862adc0d159d426ae67401d1f4074c0cd5471ec68880c3f831a5353 SHA512 30a7cf836501ef971cfe9110cb96edb8c1662487afe285da2cb601196027d79b786ccfa9e550869cde034dc6065ff2ffc96c66f99723466d79f6f419f6d87602 | ||
MISC metadata.xml 331 BLAKE2B 0fb24fdd71c8c9a1bbaf56edf8f996eb05f35dc0783a38a77aa2cba930d3054c88a6002e79825baf273062dcc8ade2b9e01bd62850a46e980c1170ed96b1b1d6 SHA512 a4afba79448310d83eb3e5d91bfcf7b03ab1a7f77069478b8ff44ed3b07c79ffc7d83aa1d9d715294bdb5ee661c22736f0fe9414511ab9894fb93ecfed79c0a0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From: Markus Koschany <apo@debian.org> | ||
Date: Sun, 20 Dec 2015 18:49:11 +0100 | ||
Subject: commons-cli 1.3 | ||
|
||
Forwarded: not-needed | ||
--- | ||
src/net/sf/freecol/FreeCol.java | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/net/sf/freecol/FreeCol.java b/src/net/sf/freecol/FreeCol.java | ||
index d05ae3d..99b9cdc 100644 | ||
--- a/src/net/sf/freecol/FreeCol.java | ||
+++ b/src/net/sf/freecol/FreeCol.java | ||
@@ -426,7 +426,7 @@ public final class FreeCol { | ||
private static void handleArgs(String[] args) { | ||
Options options = new Options(); | ||
final String help = Messages.message("cli.help"); | ||
- final File dummy = new File("dummy"); | ||
+ final Class dummy = null; | ||
final String argDirectory = Messages.message("cli.arg.directory"); | ||
|
||
// Help options. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff -Naur a/build.xml b/build.xml | ||
--- a/build.xml 2015-10-17 07:54:48.000000000 +0100 | ||
+++ b/build.xml 2019-04-13 21:51:21.679100596 +0100 | ||
@@ -162,14 +162,9 @@ | ||
|
||
<target name="manifest" depends="git-revision" | ||
description="Creates the Manifest file."> | ||
- <manifestclasspath property="jar.classpath" | ||
- jarfile="Freecol.jar"> | ||
- <classpath refid="libraries.classpath" /> | ||
- </manifestclasspath> | ||
<manifest file="${basedir}/src/MANIFEST.MF"> | ||
<attribute name="Created-By" value="FreeCol Team"/> | ||
<attribute name="Main-Class" value="net.sf.freecol.FreeCol"/> | ||
- <attribute name="Class-Path" value="${jar.classpath}"/> | ||
<attribute name="Product-Name" value="FreeCol"/> | ||
<attribute name="Package-Title" value="FreeCol"/> | ||
<attribute name="Package-Version" value="${FreeCol.Revision}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff -Naur a/build.xml b/build.xml | ||
--- a/build.xml 2023-01-11 19:07:38.804495414 +0300 | ||
+++ a/build.xml 2023-01-11 19:09:26.239496868 +0300 | ||
@@ -165,14 +165,9 @@ | ||
|
||
<target name="manifest" depends="git-revision" | ||
description="Creates the Manifest file."> | ||
- <manifestclasspath property="jar.classpath" | ||
- jarfile="Freecol.jar"> | ||
- <classpath refid="libraries.classpath" /> | ||
- </manifestclasspath> | ||
<manifest file="${basedir}/src/MANIFEST.MF"> | ||
<attribute name="Created-By" value="FreeCol Team"/> | ||
<attribute name="Main-Class" value="${freecol.main.class}"/> | ||
- <attribute name="Class-Path" value="${jar.classpath}"/> | ||
<attribute name="Product-Name" value="FreeCol"/> | ||
<attribute name="Package-Title" value="FreeCol"/> | ||
<attribute name="Package-Version" value="${FreeCol.Revision}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit desktop java-pkg-2 java-ant-2 | ||
|
||
DESCRIPTION="An open source clone of the game Colonization" | ||
HOMEPAGE="http://www.freecol.org/" | ||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" | ||
LICENSE="GPL-2+" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
# Rightly or wrongly, jogg and jorbis are bundled within Cortado but we | ||
# don't have packages for them anyway. | ||
|
||
CP_DEPEND=" | ||
dev-java/commons-cli:1 | ||
dev-java/cortado:0 | ||
dev-java/miglayout:0 | ||
" | ||
|
||
DEPEND=">=virtual/jdk-1.8 | ||
app-arch/unzip | ||
${CP_DEPEND}" | ||
|
||
RDEPEND=">=virtual/jre-1.8 | ||
${CP_DEPEND}" | ||
|
||
S="${WORKDIR}/${PN}" | ||
|
||
PATCHES=( | ||
"${FILESDIR}"/${P}-gentoo.patch | ||
) | ||
|
||
|
||
JAVA_ANT_REWRITE_CLASSPATH=true | ||
EANT_BUILD_TARGET=package | ||
|
||
src_prepare() { | ||
default | ||
rm -v jars/* || die | ||
java-pkg-2_src_prepare | ||
} | ||
|
||
src_install() { | ||
local datadir=/usr/share/${PN} | ||
|
||
java-pkg_dojar FreeCol.jar | ||
java-pkg_dolauncher ${PN} \ | ||
--pwd ${datadir} \ | ||
--main net.sf.freecol.FreeCol \ | ||
--java_args -Xmx2000M | ||
|
||
insinto ${datadir} | ||
doins -r data schema | ||
|
||
doicon data/${PN}.png | ||
make_desktop_entry ${PN} FreeCol | ||
|
||
dodoc README | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="project"> | ||
<email>games@gentoo.org</email> | ||
<name>Gentoo Games Project</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="sourceforge">freecol</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.