Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 694812 Details for
Bug 778542
games-puzzle/enigma-1.30 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch adding enigma-1.30-alpha to the gentoo tree
0001-games-puzzle-enigma-add-1.30_alpha-now-using-EAPI-7.patch (text/plain), 5.86 KB, created by
Khumba
on 2021-03-27 08:48:46 UTC
(
hide
)
Description:
Patch adding enigma-1.30-alpha to the gentoo tree
Filename:
MIME Type:
Creator:
Khumba
Created:
2021-03-27 08:48:46 UTC
Size:
5.86 KB
patch
obsolete
>From 4acfa70b5bd81cff994d7986db8d82dca19facc1 Mon Sep 17 00:00:00 2001 >From: Bryan Gardiner <bog@khumba.net> >Date: Sat, 27 Mar 2021 01:32:17 -0700 >Subject: [PATCH] games-puzzle/enigma: add 1.30_alpha, now using EAPI 7 > >Package-Manager: Portage-3.0.13, Repoman-3.0.2 >Signed-off-by: Bryan Gardiner <bog@khumba.net> >--- > games-puzzle/enigma/Manifest | 1 + > games-puzzle/enigma/enigma-1.30_alpha.ebuild | 78 +++++++++++++++++++ > .../files/enigma-1.30_alpha-build.patch | 71 +++++++++++++++++ > 3 files changed, 150 insertions(+) > create mode 100644 games-puzzle/enigma/enigma-1.30_alpha.ebuild > create mode 100644 games-puzzle/enigma/files/enigma-1.30_alpha-build.patch > >diff --git a/games-puzzle/enigma/Manifest b/games-puzzle/enigma/Manifest >index 124a8a76540..7a99a7d77b0 100644 >--- a/games-puzzle/enigma/Manifest >+++ b/games-puzzle/enigma/Manifest >@@ -1 +1,2 @@ > DIST enigma-1.21.tar.gz 56409951 BLAKE2B c03cf3c66cb1df771671c6c92d5a64e66ab78c2abbf25008285dedb5db10fb1c8daf2053c15a09147e00f0a22a7882e47b1c6ed66588b2397deec084456af1b9 SHA512 0cca56a193f0f416e0fde02caf2e30b61eef506b6c62e151ff575f5c130f1e2e778d77149007b114ebaeec3a3e793434328555cb5190954a0ae13ed6cee229f0 >+DIST enigma-1.30-alpha.tar.gz 58473909 BLAKE2B 88ef045996160129c0ab61fb236548a2d8b20ef910e414924e9bf62c659ba8d0f66dd3824f4067942d7e8ef55f44150084d0c3c931dcdd47f93dfeb14a0f1eae SHA512 44e9de1fe0523906cd1456c7b5e452ef774fcaa6383f89b86307bc032ad89838a35438ac0faa8281e3a903013a8056d1991ed4a668e779a9721edbeceff2daac >diff --git a/games-puzzle/enigma/enigma-1.30_alpha.ebuild b/games-puzzle/enigma/enigma-1.30_alpha.ebuild >new file mode 100644 >index 00000000000..dc84301522d >--- /dev/null >+++ b/games-puzzle/enigma/enigma-1.30_alpha.ebuild >@@ -0,0 +1,78 @@ >+# Copyright 1999-2021 Gentoo Authors >+# Distributed under the terms of the GNU General Public License v2 >+ >+EAPI=7 >+inherit autotools xdg-utils >+ >+MY_PV="${PV/_/-}" >+MY_P_LONG="${PN}-${MY_PV}" >+MY_P_SHORT="${PN}-${PV%%_*}" >+DESCRIPTION="Puzzle game similar to Oxyd" >+HOMEPAGE="http://www.nongnu.org/enigma/" >+SRC_URI="https://github.com/Enigma-Game/Enigma/releases/download/${MY_PV}/${MY_P_LONG}.tar.gz" >+ >+LICENSE="GPL-2+" >+SLOT="0" >+KEYWORDS="~amd64 ~x86" >+IUSE="nls" >+ >+COMMON_DEPS=" >+ media-libs/sdl2-ttf >+ media-libs/libsdl2[video] >+ media-libs/sdl2-mixer >+ media-libs/sdl2-image[jpeg,png] >+ media-libs/libpng:0= >+ sys-libs/zlib >+ net-misc/curl >+ || ( >=dev-libs/xerces-c-3[icu] >=dev-libs/xerces-c-3[-icu,-iconv] ) >+ net-libs/enet:= >+ nls? ( virtual/libintl ) >+" >+DEPEND="${COMMON_DEPS} >+ sys-devel/gettext >+" >+RDEPEND="${COMMON_DEPS} >+ media-fonts/dejavu >+ x11-misc/xdg-utils >+" >+ >+S="${WORKDIR}/${MY_P_SHORT}" >+ >+PATCHES=( >+ "${FILESDIR}/${PN}-1.30_alpha-build.patch" >+) >+ >+src_prepare() { >+ default >+ cp /usr/share/gettext/config.rpath . >+ sed -i \ >+ -e "s:DOCDIR:\"/usr/share/doc/${MY_P_SHORT}/html\":" \ >+ src/main.cc || die >+ eautoreconf >+} >+ >+src_configure() { >+ econf \ >+ --with-system-enet \ >+ $(use_enable nls) >+} >+ >+src_install() { >+ HTML_DOCS="doc/*" DOCS="ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING" \ >+ default >+ dosym \ >+ ../../fonts/dejavu/DejaVuSansCondensed.ttf \ >+ /usr/share/${PN}/fonts/DejaVuSansCondensed.ttf >+ dosym \ >+ ../../fonts/dejavu/DejaVuSans.ttf \ >+ /usr/share/${PN}/fonts/vera_sans.ttf >+ doman doc/enigma.6 >+} >+ >+pkg_postinst() { >+ xdg_icon_cache_update >+} >+ >+pkg_postrm() { >+ xdg_icon_cache_update >+} >diff --git a/games-puzzle/enigma/files/enigma-1.30_alpha-build.patch b/games-puzzle/enigma/files/enigma-1.30_alpha-build.patch >new file mode 100644 >index 00000000000..6d4d500058f >--- /dev/null >+++ b/games-puzzle/enigma/files/enigma-1.30_alpha-build.patch >@@ -0,0 +1,71 @@ >+diff -ru enigma-1.30/configure.ac enigma-1.30.b/configure.ac >+--- enigma-1.30/configure.ac 2020-12-22 16:15:30.000000000 -0800 >++++ enigma-1.30.b/configure.ac 2021-03-03 17:49:35.013242521 -0800 >+@@ -286,7 +286,6 @@ >+ CXXFLAGS="$CXXFLAGS -O2 -ffast-math -fomit-frame-pointer" >+ AC_MSG_RESULT(yes) >+ else >+- CXXFLAGS="$CXXFLAGS -g" >+ AC_MSG_RESULT(no) >+ fi >+ >+diff -ru enigma-1.30/etc/enigma.desktop enigma-1.30.b/etc/enigma.desktop >+--- enigma-1.30/etc/enigma.desktop 2020-12-22 16:15:30.000000000 -0800 >++++ enigma-1.30.b/etc/enigma.desktop 2021-03-03 17:50:48.639908016 -0800 >+@@ -1,5 +1,5 @@ >+ [Desktop Entry] >+-Version=1.30 >++Version=1.0 >+ Name=Enigma >+ Name[be]=Enigma >+ Name[cs]=Enigma >+@@ -44,5 +44,5 @@ >+ StartupNotify=false >+ Icon=enigma >+ Type=Application >+-Categories=Application;Game;PuzzleGame; >++Categories=Game;LogicGame; >+ >+diff -ru enigma-1.30/etc/Makefile.am enigma-1.30.b/etc/Makefile.am >+--- enigma-1.30/etc/Makefile.am 2020-12-22 16:15:30.000000000 -0800 >++++ enigma-1.30.b/etc/Makefile.am 2021-03-03 18:12:31.809887292 -0800 >+@@ -1,18 +1,18 @@ >+ # if !MINGW32 >+ # Comply with xdg icon theme specification >+-icondir = $(prefix)/share/icons/hicolor/48x48/apps >++icondir = /usr/share/icons/hicolor/48x48/apps >+ icon_DATA = enigma.png >+ >+ # Backwards-compatible global search location for images >+-pixmapdir = $(prefix)/share/pixmaps >++pixmapdir = /usr/share/pixmaps >+ pixmap_DATA = enigma.png >+ >+ # Install .desktop file in xdg standard location >+-desktopdir = $(prefix)/share/applications >++desktopdir = /usr/share/applications >+ desktop_DATA = enigma.desktop >+ >+ # Install AppData file >+-appdatadir = $(prefix)/share/appdata >++appdatadir = /usr/share/metainfo >+ dist_appdata_DATA = enigma.appdata.xml >+ # endif !MINGW32 >+ >+diff -ru enigma-1.30/Makefile.am enigma-1.30.b/Makefile.am >+--- enigma-1.30/Makefile.am 2020-12-22 16:15:30.000000000 -0800 >++++ enigma-1.30.b/Makefile.am 2021-03-03 18:10:21.456556039 -0800 >+@@ -3,12 +3,9 @@ >+ # tools -> lib-src/lua >+ # src -> tools, lib-src >+ # >+-SUBDIRS = m4 lib-src tools intl src data doc po etc >++SUBDIRS = m4 lib-src tools intl src data po etc >+ EXTRA_DIST = enigma CHANGES ACKNOWLEDGEMENTS >+ >+-docdir = @datadir@/doc/enigma >+-doc_DATA = README CHANGES COPYING ACKNOWLEDGEMENTS >+- >+ ACLOCAL_AMFLAGS = -I m4 >+ >+ .PHONY: tolua >-- >2.26.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 778542
:
694602
|
694605
|
694812
|
860502
|
860503
|
860504
|
860505