diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-02-19 01:43:16 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-02-19 01:43:16 +0000 |
commit | 8cb1e9b2815668fc98b0ede271421ffc9c25843f (patch) | |
tree | f393551e5e78b67ed4da1a85efffa8d53470a94d /games-action | |
parent | old (diff) | |
download | gentoo-2-8cb1e9b2815668fc98b0ede271421ffc9c25843f.tar.gz gentoo-2-8cb1e9b2815668fc98b0ede271421ffc9c25843f.tar.bz2 gentoo-2-8cb1e9b2815668fc98b0ede271421ffc9c25843f.zip |
old
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action')
4 files changed, 7 insertions, 175 deletions
diff --git a/games-action/openclonk/ChangeLog b/games-action/openclonk/ChangeLog index 4f36b0111cbc..122567d8ef6b 100644 --- a/games-action/openclonk/ChangeLog +++ b/games-action/openclonk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-action/openclonk # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/openclonk/ChangeLog,v 1.23 2015/02/10 10:06:43 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/openclonk/ChangeLog,v 1.24 2015/02/19 01:43:16 mr_bones_ Exp $ + + 19 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> + -files/openclonk-5.3.3-jpeg9.patch, + -files/openclonk-5.3.3-xrandr-primary-output.patch, + -openclonk-5.3.3-r1.ebuild: + old 10 Feb 2015; Agostino Sarubbo <ago@gentoo.org> openclonk-5.5.1.ebuild: Stable for x86, wrt bug #539024 diff --git a/games-action/openclonk/files/openclonk-5.3.3-jpeg9.patch b/games-action/openclonk/files/openclonk-5.3.3-jpeg9.patch deleted file mode 100644 index 7d0de49892eb..000000000000 --- a/games-action/openclonk/files/openclonk-5.3.3-jpeg9.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/graphics/C4SurfaceLoaders.cpp.old 2015-01-02 17:31:30.976182860 +0100 -+++ src/graphics/C4SurfaceLoaders.cpp 2015-01-02 17:31:56.488698202 +0100 -@@ -306,7 +306,7 @@ - // The doc says to give fake end-of-inputs if there is no more data - cinfo->src->next_input_byte = &end_of_input; - cinfo->src->bytes_in_buffer = 1; -- return true; -+ return (boolean)true; - } - static void skip_input_data (j_decompress_ptr cinfo, long num_bytes) - { -@@ -357,7 +357,7 @@ - blub.term_source = jpeg_noop; - - // a missing image is an error -- jpeg_read_header(&cinfo, true); -+ jpeg_read_header(&cinfo, (boolean)true); - - // Let libjpeg convert for us - cinfo.out_color_space = JCS_RGB; diff --git a/games-action/openclonk/files/openclonk-5.3.3-xrandr-primary-output.patch b/games-action/openclonk/files/openclonk-5.3.3-xrandr-primary-output.patch deleted file mode 100644 index 55fb423bb498..000000000000 --- a/games-action/openclonk/files/openclonk-5.3.3-xrandr-primary-output.patch +++ /dev/null @@ -1,38 +0,0 @@ -Description: fix XRandr use -Author: Guillem Jover <guillem@debian.org> - ---- a/src/platform/C4AppGTK.cpp -+++ b/src/platform/C4AppGTK.cpp -@@ -212,20 +212,25 @@ static XRROutputInfo* GetXRROutputInfoFo - XRRScreenResources * r = XRRGetScreenResources(dpy, w); - if (!r) return NULL; - -- XRROutputInfo * info = XRRGetOutputInfo(dpy, r, XRRGetOutputPrimary(dpy, w)); -- if (!info) -+ XRROutputInfo * info; -+ RROutput primary = XRRGetOutputPrimary(dpy, w); -+ if (primary == None) -+ info = NULL; -+ else - { -- XRRFreeScreenResources(r); -- return NULL; -+ info = XRRGetOutputInfo(dpy, r, primary); -+ if (info->connection == RR_Disconnected || info->crtc == 0) -+ { -+ XRRFreeOutputInfo(info); -+ info = NULL; -+ } - } - -- if(info->connection == RR_Disconnected || info->crtc == 0) -+ if (info == NULL) - { - // The default "primary" output does not seem to be connected - // to a piece of actual hardware. As a fallback, go through - // all outputs and choose the first active one. -- XRRFreeOutputInfo(info); -- info = NULL; - for(int i = 0; i < r->noutput; ++i) - { - info = XRRGetOutputInfo(dpy, r, r->outputs[i]); diff --git a/games-action/openclonk/openclonk-5.3.3-r1.ebuild b/games-action/openclonk/openclonk-5.3.3-r1.ebuild deleted file mode 100644 index a3c424a61a0c..000000000000 --- a/games-action/openclonk/openclonk-5.3.3-r1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/openclonk/openclonk-5.3.3-r1.ebuild,v 1.5 2015/01/02 17:19:01 tupone Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_6 python2_7 ) -inherit autotools eutils flag-o-matic gnome2-utils python-any-r1 toolchain-funcs games - -MY_P=${PN}-release-${PV}-src - -DESCRIPTION="A free multiplayer action game where you control clonks" -HOMEPAGE="http://openclonk.org/" -SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz - http://${PN}.org/homepage/icon.png -> ${PN}.png" - -LICENSE="BSD ISC CLONK-trademark LGPL-2.1 POSTGRESQL" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="dedicated doc mp3 sound upnp" - -RDEPEND=" - media-libs/libpng:0 - sys-libs/zlib - virtual/jpeg - !dedicated? ( - media-libs/freetype:2 - media-libs/glew - media-libs/libsdl[X,opengl,video] - virtual/opengl - virtual/glu - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:3 - x11-libs/libXrandr - x11-libs/libX11 - sound? ( - media-libs/libsdl[sound] - media-libs/sdl-mixer[mp3?,vorbis,wav] - ) - ) - dedicated? ( sys-libs/readline:0 ) - upnp? ( net-libs/libupnp )" -DEPEND="${RDEPEND} - >=dev-libs/boost-1.40 - virtual/pkgconfig - doc? ( - ${PYTHON_DEPS} - dev-libs/libxml2[python] - sys-devel/gettext - )" - -pkg_setup() { - games_pkg_setup - use doc && python-any-r1_pkg_setup -} - -src_prepare() { - # remove license files - sed \ - -e '/dist_doc_DATA/s#planet/COPYING ##' \ - -e '/dist_doc_DATA/s#licenses/LGPL.txt ##' \ - -i Makefile.am || die - - epatch "${FILESDIR}"/${P}-xrandr-primary-output.patch \ - "${FILESDIR}"/${P}-jpeg9.patch - - eautoreconf -} - -src_configure() { - egamesconf \ - --docdir=/usr/share/doc/${PF} \ - $(use_enable dedicated console) \ - $(use_enable sound) \ - $(use_enable mp3) \ - $(usex dedicated "--with-gtk=no" "--with-gtk=3.0") \ - $(use_with upnp) \ - --without-openal \ - --disable-autoupdate -} - -src_compile() { - emake AR=$(tc-getAR) - - if use doc ; then - emake -C docs - fi -} - -src_install() { - emake DESTDIR="${D}" install - - if ! use dedicated; then - newgamesbin "${FILESDIR}"/${PN}-wrapper-script.sh ${PN} - doicon -s 64 "${DISTDIR}"/${PN}.png - make_desktop_entry ${PN} - fi - use doc && dohtml -r docs/online/* - - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} |