[gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/files/, games-misc/opengfx/
commit: 3cfcb55139d4d882efa2cbc9143169c9ebec58d2 Author: Lars Wendler gentoo org> AuthorDate: Tue Mar 26 14:15:25 2019 + Commit: Lars Wendler gentoo org> CommitDate: Tue Mar 26 14:15:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cfcb551 games-misc/opengfx: Bump to version 0.5.5 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> games-misc/opengfx/Manifest| 1 + .../opengfx/files/opengfx-0.5.5-Makefile.patch | 22 ++ games-misc/opengfx/opengfx-0.5.5.ebuild| 35 ++ 3 files changed, 58 insertions(+) diff --git a/games-misc/opengfx/Manifest b/games-misc/opengfx/Manifest index 829d62e6fc8..cb8f5b3a92a 100644 --- a/games-misc/opengfx/Manifest +++ b/games-misc/opengfx/Manifest @@ -1 +1,2 @@ DIST opengfx-0.5.4-source.tar.xz 9638204 BLAKE2B bff7e5f7f72b62584c280ce2af2ad53df40027a7075ea5858a53f45a71be07db480cf61a603fc8e5df69b8c7d73284bf92e430a3fe130ae34ad1a921d8603925 SHA512 42f8438c747b42a77cf9d86c5da60ce3ce84ed347d714c345f3871806f9e35f2ed4729b445e0ee319f3e2edd53458dfbaad5ca42e389c3a2e800bce19223cdb1 +DIST opengfx-0.5.5-source.tar.xz 9639584 BLAKE2B 49af829802adf3756e89728697ea796b98422bd0e314cd21d34910f8f7428963c2d4799a933e861ae344a2e83dd748289bbe501bccb77aba647b484ed07de376 SHA512 952fb52e19bd790e335a9df0f11fa29b2fc570b49903419904956cc65883adde93d432160b16682366ab8b973b7852d2d30f574f1840f6fbd082e1addbe5bfe8 diff --git a/games-misc/opengfx/files/opengfx-0.5.5-Makefile.patch b/games-misc/opengfx/files/opengfx-0.5.5-Makefile.patch new file mode 100644 index 000..dca9615140d --- /dev/null +++ b/games-misc/opengfx/files/opengfx-0.5.5-Makefile.patch @@ -0,0 +1,22 @@ +--- opengfx-0.5.5-source/Makefile opengfx-0.5.5-source/Makefile +@@ -99,8 +99,8 @@ + AWK?= awk + GREP ?= grep + PYTHON ?= python +-UNIX2DOS ?= $(shell which unix2dos) +-UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null && echo "-q" || echo "") ++UNIX2DOS ?= $(shell which unix2dos 2>/dev/null) ++UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null >&2 && echo "-q" || echo "") + + # Graphics processing + GIMP ?= gimp +@@ -719,7 +719,7 @@ + $(_E) + endif + $(_E) "Release:" +- $(_E) "bananas: Upload bundle to BaNaNaS ++ $(_E) "bananas: Upload bundle to BaNaNaS" + $(_E) + $(_E) "Valid command line variables are:" + $(_E) "Helper programmes:" diff --git a/games-misc/opengfx/opengfx-0.5.5.ebuild b/games-misc/opengfx/opengfx-0.5.5.ebuild new file mode 100644 index 000..dc39acc0d27 --- /dev/null +++ b/games-misc/opengfx/opengfx-0.5.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="OpenGFX data files for OpenTTD" +HOMEPAGE="http://bundles.openttdcoop.org/opengfx/; +SRC_URI="http://bundles.openttdcoop.org/opengfx/releases/${PV}/${P}-source.tar.xz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" +RESTRICT="test" # nml version affects the checksums that the test uses (bug #451444) + +DEPEND=">=games-util/nml-0.4.0 + games-util/grfcodec" +RDEPEND="" + +S="${WORKDIR}/${P}-source" + +PATCHES=( + "${FILESDIR}/${PN}-0.5.5-Makefile.patch" +) + +src_compile() { + emake GIMP="" help # print out the env to make bug reports better + emake GIMP="" _V="" bundle_tar +} + +src_install() { + insinto "/usr/share/games/openttd/data/" + doins *.grf opengfx.obg + dodoc docs/{changelog.txt,readme.txt} +}
[gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/files/, games-misc/opengfx/
commit: 88870669fd6c389e4f873715ec2aa8ee49ded6f2 Author: Michael Sterrett gentoo org> AuthorDate: Tue Apr 5 01:30:42 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Apr 5 01:30:42 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88870669 games-misc/opengfx: version bump Package-Manager: portage-2.2.26 games-misc/opengfx/Manifest| 1 + .../opengfx/files/opengfx-0.5.4-Makefile.patch | 31 ++ games-misc/opengfx/opengfx-0.5.4.ebuild| 38 ++ 3 files changed, 70 insertions(+) diff --git a/games-misc/opengfx/Manifest b/games-misc/opengfx/Manifest index e582bef..a4fce1b 100644 --- a/games-misc/opengfx/Manifest +++ b/games-misc/opengfx/Manifest @@ -1 +1,2 @@ DIST opengfx-0.5.3-source.tar.xz 9638892 SHA256 28d253ffa7a3618f7c4efb3b1076bc652204c2412d3cee57a6b9ffc13bda4014 SHA512 41b41192dcf95e2ac03e7028f55aca486c13a8709a62fe5970918494b0009ee07118e0d04d10426fea35ee82c842d28fc58f8c258df2e8ebe0b17e40c892f829 WHIRLPOOL 309c8e5ef1fb83328712c0516c55ecbc53f75117a1fc2aedbe9e61db05bf14ffe4f9fec6ff6a1f50dfc408735de3d5b754d97b026957b02271b213ffc32a9872 +DIST opengfx-0.5.4-source.tar.xz 9638204 SHA256 6b6e33dbe11b2c668c3b7ac1534b7a8eb567d702f42c99bd871c69e6682ee655 SHA512 42f8438c747b42a77cf9d86c5da60ce3ce84ed347d714c345f3871806f9e35f2ed4729b445e0ee319f3e2edd53458dfbaad5ca42e389c3a2e800bce19223cdb1 WHIRLPOOL 3cd952b9f0cc61acc6077f828c40eccf87835964a9ecdf5b1e27e4e6569a13acce9224a0ba52b4ba2fca5906a3b990c24ac11bfbfeb6c3e5c1f859928184 diff --git a/games-misc/opengfx/files/opengfx-0.5.4-Makefile.patch b/games-misc/opengfx/files/opengfx-0.5.4-Makefile.patch new file mode 100644 index 000..169df96 --- /dev/null +++ b/games-misc/opengfx/files/opengfx-0.5.4-Makefile.patch @@ -0,0 +1,31 @@ +--- opengfx-0.5.3-source/Makefile opengfx-0.5.3-source/Makefile +@@ -99,8 +99,8 @@ + AWK?= awk + GREP ?= grep + PYTHON ?= python +-UNIX2DOS ?= $(shell which unix2dos) +-UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null && echo "-q" || echo "") ++UNIX2DOS ?= $(shell which unix2dos 2>/dev/null) ++UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null >&2 && echo "-q" || echo "") + + # Graphics processing + GIMP ?= gimp +@@ -196,7 +196,7 @@ + endif + + # Days of commit since 2000-1-1 00-00 +-REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print (date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days") ++REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print ((date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days)") + + # Filename addition, if we're not building the default branch + REPO_BRANCH_STRING ?= $(shell if [ "$(REPO_BRANCH)" = "$(DEFAULT_BRANCH_NAME)" ]; then echo ""; else echo "-$(REPO_BRANCH)"; fi) +@@ -719,7 +719,7 @@ + $(_E) + endif + $(_E) "Release:" +- $(_E) "bananas: Upload bundle to BaNaNaS ++ $(_E) "bananas: Upload bundle to BaNaNaS" + $(_E) + $(_E) "Valid command line variables are:" + $(_E) "Helper programmes:" diff --git a/games-misc/opengfx/opengfx-0.5.4.ebuild b/games-misc/opengfx/opengfx-0.5.4.ebuild new file mode 100644 index 000..bc897b1 --- /dev/null +++ b/games-misc/opengfx/opengfx-0.5.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils games + +DESCRIPTION="OpenGFX data files for OpenTTD" +HOMEPAGE="http://bundles.openttdcoop.org/opengfx/; +SRC_URI="http://bundles.openttdcoop.org/opengfx/releases/${PV}/${P}-source.tar.xz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="" +RESTRICT="test" # nml version affects the checksums that the test uses (bug #451444) + +DEPEND=">=games-util/nml-0.4.0 + games-util/grfcodec" +RDEPEND="" + +S=${WORKDIR}/${P}-source + +src_prepare() { + epatch "${FILESDIR}/${P}-Makefile.patch" +} + +src_compile() { + GIMP= emake help # print out the env to make bug reports better + GIMP= _V= emake bundle_tar +} + +src_install() { + insinto "${GAMES_DATADIR}/openttd/data/" + doins *.grf opengfx.obg + dodoc docs/{changelog.txt,readme.txt} + prepgamesdirs +}
[gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/files/, games-misc/opengfx/
commit: 7a1a7e7591e29822e59197b6f4affad14ffe5580 Author: Michael Sterrett gentoo org> AuthorDate: Sat Nov 21 04:58:42 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Sat Nov 21 06:03:04 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a1a7e75 clean old Package-Manager: portage-2.2.20.1 games-misc/opengfx/Manifest| 1 - games-misc/opengfx/files/opengfx-0.5.1-gcc48.patch | 16 - games-misc/opengfx/opengfx-0.5.1.ebuild| 42 -- 3 files changed, 59 deletions(-) diff --git a/games-misc/opengfx/Manifest b/games-misc/opengfx/Manifest index 39ecdc3..311c4e3 100644 --- a/games-misc/opengfx/Manifest +++ b/games-misc/opengfx/Manifest @@ -1,3 +1,2 @@ -DIST opengfx-0.5.1-source.tar.xz 9553608 SHA256 5737760de04034504dbf552f75a45d713a59659dca4bfbdd4e215429c148d7a9 SHA512 30dee5ae2065d76205d21c911b875777878fc66c3df159ca49d8745db843bc8c00f9d022670ceb872f20bc8b64d41fbe3f12cb8ce3b3eb0e8b9c30a6e5bfde04 WHIRLPOOL f387e474ad8d1fa6b43adfce00df64a388702d5f21350ad60a76d25577aba18af798ba7cc4cb8a0ab06d49f76c48f7f59757cdb384e3630d5ff7d63b9a47da4b DIST opengfx-0.5.2-source.tar.xz 9639176 SHA256 fba70b19e9e69e1f51a0b36675e25c5ec90157dc842de9a405c0d5700f36e647 SHA512 d42d819bec314c3e29c68e8bbb60e40c5d43ff52878f5e771edd49b27d8dabe7406a8c5050797934dc4ba78a30e1fd543482c8ea86a3e562670ce71c04e50d22 WHIRLPOOL 4fa6ebf69e2d7495658fd799329fac3127363e2d3265ecdd85f2ed2d20689a675120b669335308ef15da2b6e6b1a818d93fe8dad691134bd3894b45c523b64b4 DIST opengfx-0.5.3-source.tar.xz 9638892 SHA256 28d253ffa7a3618f7c4efb3b1076bc652204c2412d3cee57a6b9ffc13bda4014 SHA512 41b41192dcf95e2ac03e7028f55aca486c13a8709a62fe5970918494b0009ee07118e0d04d10426fea35ee82c842d28fc58f8c258df2e8ebe0b17e40c892f829 WHIRLPOOL 309c8e5ef1fb83328712c0516c55ecbc53f75117a1fc2aedbe9e61db05bf14ffe4f9fec6ff6a1f50dfc408735de3d5b754d97b026957b02271b213ffc32a9872 diff --git a/games-misc/opengfx/files/opengfx-0.5.1-gcc48.patch b/games-misc/opengfx/files/opengfx-0.5.1-gcc48.patch deleted file mode 100644 index 51a32c8..000 --- a/games-misc/opengfx/files/opengfx-0.5.1-gcc48.patch +++ /dev/null @@ -1,16 +0,0 @@ scripts/Makefile.nml.old -+++ scripts/Makefile.nml -@@ -14,11 +14,11 @@ - - %.src.dep: $(SRC_DIR)/%.pnml - $(_E) "[DEP] $@" -- $(_V) $(CC) -C -M -MF $@ -E -MT $(patsubst %.src.dep,%.nml,$@) - < $< -+ $(_V) $(CC) -P -C -M -MF $@ -E -MT $(patsubst %.src.dep,%.nml,$@) - < $< - - %.nml: $(SRC_DIR)/%.pnml $(TAG_FILENAME) - $(_E) "[CPP] $@" -- $(_V) $(CC) -D REPO_REVISION=$(REPO_REVISION) $(CC_FLAGS) $< > $@ -+ $(_V) $(CC) -P -D REPO_REVISION=$(REPO_REVISION) $(CC_FLAGS) $< > $@ - - %.gfx.dep: %.nml - $(_E) "[DEP] $@" diff --git a/games-misc/opengfx/opengfx-0.5.1.ebuild b/games-misc/opengfx/opengfx-0.5.1.ebuild deleted file mode 100644 index f73d4b6..000 --- a/games-misc/opengfx/opengfx-0.5.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils games - -DESCRIPTION="OpenGFX data files for OpenTTD" -HOMEPAGE="http://bundles.openttdcoop.org/opengfx/; -SRC_URI="http://bundles.openttdcoop.org/opengfx/releases/${PV}/${P}-source.tar.xz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc x86" -IUSE="" -RESTRICT="test" # nml version affects the checksums that the test uses (bug #451444) - -DEPEND=">=games-util/nml-0.3.0 - games-util/grfcodec" -RDEPEND="" - -S=${WORKDIR}/${P}-source - -src_prepare() { - # ensure that we will not use gimp to regenerate the pngs - # causes sandbox violations and not worth the effort anyway - sed -i -e '/^GFX_SCRIPT_LIST_FILES/s/^/#/' Makefile.config || die - # work with later versions of unix2dos from app-text/dos2unix - sed -i -e '/^UNIX2DOS_FLAGS/s/null/null >&2/' Makefile || die -} - -src_compile() { - emake help # print out the env to make bug reports better - _V= emake bundle_tar -} - -src_install() { - insinto "${GAMES_DATADIR}/openttd/data/" - doins *.grf opengfx.obg - dodoc docs/{changelog.txt,readme.txt} - prepgamesdirs -}
[gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/files/, games-misc/opengfx/
commit: cdaf165f0d6d197d8327e05cd97a70f8d135f68f Author: Michael Sterrett gentoo org> AuthorDate: Wed Oct 21 07:45:44 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Wed Oct 21 07:46:18 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdaf165f version bump with Makefile patch update by Lars Wendler (bug #563634) Package-Manager: portage-2.2.20.1 games-misc/opengfx/Manifest| 1 + .../opengfx/files/opengfx-0.5.2-Makefile.patch | 5 ++- ...Makefile.patch => opengfx-0.5.3-Makefile.patch} | 22 +++-- games-misc/opengfx/opengfx-0.5.3.ebuild| 38 ++ 4 files changed, 45 insertions(+), 21 deletions(-) diff --git a/games-misc/opengfx/Manifest b/games-misc/opengfx/Manifest index bc6cfc5..39ecdc3 100644 --- a/games-misc/opengfx/Manifest +++ b/games-misc/opengfx/Manifest @@ -1,2 +1,3 @@ DIST opengfx-0.5.1-source.tar.xz 9553608 SHA256 5737760de04034504dbf552f75a45d713a59659dca4bfbdd4e215429c148d7a9 SHA512 30dee5ae2065d76205d21c911b875777878fc66c3df159ca49d8745db843bc8c00f9d022670ceb872f20bc8b64d41fbe3f12cb8ce3b3eb0e8b9c30a6e5bfde04 WHIRLPOOL f387e474ad8d1fa6b43adfce00df64a388702d5f21350ad60a76d25577aba18af798ba7cc4cb8a0ab06d49f76c48f7f59757cdb384e3630d5ff7d63b9a47da4b DIST opengfx-0.5.2-source.tar.xz 9639176 SHA256 fba70b19e9e69e1f51a0b36675e25c5ec90157dc842de9a405c0d5700f36e647 SHA512 d42d819bec314c3e29c68e8bbb60e40c5d43ff52878f5e771edd49b27d8dabe7406a8c5050797934dc4ba78a30e1fd543482c8ea86a3e562670ce71c04e50d22 WHIRLPOOL 4fa6ebf69e2d7495658fd799329fac3127363e2d3265ecdd85f2ed2d20689a675120b669335308ef15da2b6e6b1a818d93fe8dad691134bd3894b45c523b64b4 +DIST opengfx-0.5.3-source.tar.xz 9638892 SHA256 28d253ffa7a3618f7c4efb3b1076bc652204c2412d3cee57a6b9ffc13bda4014 SHA512 41b41192dcf95e2ac03e7028f55aca486c13a8709a62fe5970918494b0009ee07118e0d04d10426fea35ee82c842d28fc58f8c258df2e8ebe0b17e40c892f829 WHIRLPOOL 309c8e5ef1fb83328712c0516c55ecbc53f75117a1fc2aedbe9e61db05bf14ffe4f9fec6ff6a1f50dfc408735de3d5b754d97b026957b02271b213ffc32a9872 diff --git a/games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch b/games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch index ee301b8..b683500 100644 --- a/games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch +++ b/games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch @@ -1,6 +1,5 @@ -diff -ru opengfx-0.5.2-source.orig/Makefile opengfx-0.5.2-source/Makefile opengfx-0.5.2-source.orig/Makefile 2015-04-12 12:57:17.0 -0400 -+++ opengfx-0.5.2-source/Makefile 2015-07-28 21:13:46.496708233 -0400 +--- opengfx-0.5.2-source.orig/Makefile opengfx-0.5.2-source/Makefile @@ -99,8 +99,8 @@ AWK?= awk GREP ?= grep diff --git a/games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch b/games-misc/opengfx/files/opengfx-0.5.3-Makefile.patch similarity index 65% copy from games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch copy to games-misc/opengfx/files/opengfx-0.5.3-Makefile.patch index ee301b8..169df96 100644 --- a/games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch +++ b/games-misc/opengfx/files/opengfx-0.5.3-Makefile.patch @@ -1,11 +1,10 @@ -diff -ru opengfx-0.5.2-source.orig/Makefile opengfx-0.5.2-source/Makefile opengfx-0.5.2-source.orig/Makefile 2015-04-12 12:57:17.0 -0400 -+++ opengfx-0.5.2-source/Makefile 2015-07-28 21:13:46.496708233 -0400 +--- opengfx-0.5.3-source/Makefile opengfx-0.5.3-source/Makefile @@ -99,8 +99,8 @@ AWK?= awk GREP ?= grep PYTHON ?= python --UNIX2DOS ?= unix2dos +-UNIX2DOS ?= $(shell which unix2dos) -UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null && echo "-q" || echo "") +UNIX2DOS ?= $(shell which unix2dos 2>/dev/null) +UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null >&2 && echo "-q" || echo "") @@ -21,20 +20,7 @@ diff -ru opengfx-0.5.2-source.orig/Makefile opengfx-0.5.2-source/Makefile # Filename addition, if we're not building the default branch REPO_BRANCH_STRING ?= $(shell if [ "$(REPO_BRANCH)" = "$(DEFAULT_BRANCH_NAME)" ]; then echo ""; else echo "-$(REPO_BRANCH)"; fi) -@@ -377,7 +377,11 @@ - | sed -e "s/$(REPLACE_REVISION)/$(NEWGRF_VERSION)/" \ - | sed -e "s/$(REPLACE_FILENAME)/$(OUTPUT_FILENAME)/" \ - > $@ -- $(_V) [ -z "$(UNIX2DOS)" ] || $(UNIX2DOS) $(UNIX2DOS_FLAGS) $@ -+ifeq ($(UNIX2DOS),) -+ $(_E) Warning: unix2dos not available. $@ keeps current eol style. -+else -+ $(_V) $(UNIX2DOS) $(UNIX2DOS_FLAGS) $@ -+endif - - clean:: - $(_E) "[CLEAN DOC]" -@@ -714,7 +718,7 @@ +@@ -719,7 +719,7 @@ $(_E) endif $(_E) "Release:" diff --git a/games-misc/opengfx/opengfx-0.5.3.ebuild b/games-misc/opengfx/opengfx-0.5.3.ebuild new file mode 100644 index 000..49a9825 --- /dev/null +++ b/games-misc/opengfx/opengfx-0.5.3.ebuild @@ -0,0 +1,38