Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473968 - app-misc/golly-2.5 version bump
Summary: app-misc/golly-2.5 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-06-20 20:32 UTC by Maks Verver
Modified: 2013-06-21 16:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild (golly-2.5.ebuild,999 bytes, text/plain)
2013-06-20 20:33 UTC, Maks Verver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maks Verver 2013-06-20 20:32:59 UTC
Golly 2.5 has been released.

I'll attach an updated ebuild, that I tested on amd64.

Reproducible: Always
Comment 1 Maks Verver 2013-06-20 20:33:43 UTC
Created attachment 351494 [details]
Updated ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-21 13:02:06 UTC
Comment on attachment 351494 [details]
Updated ebuild

--- golly-2.4-r1.ebuild 2013-05-15 09:09:23.000000000 +0200
+++ -   2013-06-21 15:01:49.808847757 +0200
@@ -1,17 +1,17 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/golly/golly-2.4-r1.ebuild,v 1.1 2013/05/15 07:09:23 xmw Exp $
+# $Header: $
 
 EAPI=5
 WX_GTK_VER=2.8
-
 PYTHON_COMPAT=( python{2_5,2_6,2_7} )

-inherit eutils python-single-r1 wxwidgets
+inherit eutils python-single-r1 gnome2-utils wxwidgets

+MY_P=${P}-src
 DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
 HOMEPAGE="http://golly.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -23,19 +23,28 @@
        x11-libs/wxGTK:${WX_GTK_VER}[X]"
 RDEPEND="${DEPEND}"

-S=${WORKDIR}/${P}-src
-
-src_prepare() {
-       sed -e 's:-O2::' -i configure Makefile.{am,in} || die
-}
+S=${WORKDIR}/${MY_P}
+ECONF_SOURCE=gui-wx/configure
 
 src_configure() {
-       econf \
-               --with-perl-shlib="libperl.so"
+       econf --with-perl-shlib="libperl.so"
 }
 
 src_install() {
        emake docdir= DESTDIR="${D}" install
-       newicon appicon.xpm ${PN}.xpm
-       dodoc README TODO
+       dodoc docs/ReadMe.html
+       newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm
+       make_desktop_entry ${PN} "Golly" ${PN} "Science"
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
 }
Comment 3 Michael Weber (RETIRED) gentoo-dev 2013-06-21 16:04:18 UTC
+*golly-2.5 (21 Jun 2013)
+
+  21 Jun 2013; Michael Weber <xmw@gentoo.org> +golly-2.5.ebuild,
+  -golly-2.3-r1.ebuild, golly-2.4-r1.ebuild:
+  Version bump by Maks Verver (bug 473968), respect AR (bug 447748), drop old.
+