Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-apps/ccsm: ChangeLog ccsm-0.8.4-r5.ebuild
Date: Thu, 23 Jan 2014 08:08:43
Message-Id: 20140123080839.320A82004C@flycatcher.gentoo.org
1 pinkbyte 14/01/23 08:08:39
2
3 Modified: ChangeLog
4 Added: ccsm-0.8.4-r5.ebuild
5 Log:
6 Revision bump: add workaround for bug #487106, patch by Small_Penguin <dark.shadow AT gmx.at>
7
8 (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
9
10 Revision Changes Path
11 1.31 x11-apps/ccsm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/ccsm/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/ccsm/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/ccsm/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 25 Aug 2013 15:01:19 -0000 1.30
24 +++ ChangeLog 23 Jan 2014 08:08:38 -0000 1.31
25 @@ -1,6 +1,13 @@
26 # ChangeLog for x11-apps/ccsm
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ChangeLog,v 1.30 2013/08/25 15:01:19 pinkbyte Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ChangeLog,v 1.31 2014/01/23 08:08:38 pinkbyte Exp $
31 +
32 +*ccsm-0.8.4-r5 (23 Jan 2014)
33 +
34 + 23 Jan 2014; Sergey Popov <pinkbyte@g.o> +ccsm-0.8.4-r5.ebuild,
35 + +files/ccsm-0.8.4-pygobject-glib-fix.patch:
36 + Revision bump: add workaround for bug #487106, patch by Small_Penguin
37 + <dark.shadow AT gmx.at>
38
39 25 Aug 2013; Sergey Popov <pinkbyte@g.o> -ccsm-0.8.4-r2.ebuild:
40 Drop old revision
41
42
43
44 1.1 x11-apps/ccsm/ccsm-0.8.4-r5.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/ccsm/ccsm-0.8.4-r5.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/ccsm/ccsm-0.8.4-r5.ebuild?rev=1.1&content-type=text/plain
48
49 Index: ccsm-0.8.4-r5.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ccsm-0.8.4-r5.ebuild,v 1.1 2014/01/23 08:08:38 pinkbyte Exp $
54
55 EAPI="5"
56
57 PYTHON_COMPAT=( python2_{6,7} )
58 DISTUTILS_IN_SOURCE_BUILD=1
59 inherit distutils-r1
60
61 DESCRIPTION="Compizconfig Settings Manager"
62 HOMEPAGE="http://www.compiz.org/"
63 SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
68
69 RDEPEND="
70 >=dev-python/compizconfig-python-${PV}[${PYTHON_USEDEP}]
71 >=dev-python/pygtk-2.12:2[${PYTHON_USEDEP}]
72 gnome-base/librsvg
73 "
74
75 # missing icons and text fix, bug #487106
76 PATCHES=( "${FILESDIR}/${P}-pygobject-glib-fix.patch" )
77
78 DOCS=( AUTHORS )
79
80 python_prepare_all() {
81 # return error if wrong arguments passed to setup.py
82 sed -i -e 's/raise SystemExit/\0(1)/' setup.py || die 'sed on setup.py failed'
83 # fix desktop file
84 sed -i \
85 -e '/Categories/s/Compiz/X-\0/' \
86 -e '/Encoding/d' \
87 ccsm.desktop.in || die 'sed on ccsm.desktop.in failed'
88
89 # correct gettext behavior
90 if [[ -n "${LINGUAS+x}" ]] ; then
91 for i in $(cd po ; echo *po | sed 's/\.po//g') ; do
92 if ! has ${i} ${LINGUAS} ; then
93 rm po/${i}.po || die
94 fi
95 done
96 fi
97
98 distutils-r1_python_prepare_all
99 }
100
101 python_configure_all() {
102 #set prefix
103 mydistutilsargs=( build --prefix=/usr )
104 }