Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/amsn: ChangeLog amsn-0.98.4-r1.ebuild
Date: Mon, 03 Oct 2011 11:05:26
Message-Id: 20111003110513.B157D2004B@flycatcher.gentoo.org
1 ssuominen 11/10/03 11:05:13
2
3 Modified: ChangeLog amsn-0.98.4-r1.ebuild
4 Log:
5 Fix icon cache update and raise EAPI to 4 by "ago" from Freenode.
6
7 (Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.107 net-im/amsn/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/ChangeLog?rev=1.107&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/ChangeLog?rev=1.107&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/ChangeLog?r1=1.106&r2=1.107
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v
19 retrieving revision 1.106
20 retrieving revision 1.107
21 diff -u -r1.106 -r1.107
22 --- ChangeLog 3 Oct 2011 09:31:36 -0000 1.106
23 +++ ChangeLog 3 Oct 2011 11:05:13 -0000 1.107
24 @@ -1,6 +1,9 @@
25 # ChangeLog for net-im/amsn
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.106 2011/10/03 09:31:36 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.107 2011/10/03 11:05:13 ssuominen Exp $
29 +
30 + 03 Oct 2011; Samuli Suominen <ssuominen@g.o> amsn-0.98.4-r1.ebuild:
31 + Fix icon cache update and raise EAPI to 4 by "ago" from Freenode.
32
33 03 Oct 2011; Samuli Suominen <ssuominen@g.o> amsn-0.98.4-r1.ebuild:
34 The libpng15 patch imported from NetBSD is not compatible with libpng14 wrt
35
36
37
38 1.4 net-im/amsn/amsn-0.98.4-r1.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild?rev=1.4&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild?rev=1.4&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild?r1=1.3&r2=1.4
43
44 Index: amsn-0.98.4-r1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild,v
47 retrieving revision 1.3
48 retrieving revision 1.4
49 diff -u -r1.3 -r1.4
50 --- amsn-0.98.4-r1.ebuild 3 Oct 2011 09:31:36 -0000 1.3
51 +++ amsn-0.98.4-r1.ebuild 3 Oct 2011 11:05:13 -0000 1.4
52 @@ -1,23 +1,18 @@
53 # Copyright 1999-2011 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild,v 1.3 2011/10/03 09:31:36 ssuominen Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild,v 1.4 2011/10/03 11:05:13 ssuominen Exp $
57
58 -EAPI=2
59 -
60 -inherit autotools eutils fdo-mime gnome2-utils
61 +EAPI=4
62 +inherit autotools eutils fdo-mime gnome2-utils toolchain-funcs
63
64 MY_P=${P/_rc/RC}
65 -S="${WORKDIR}/${MY_P}"
66
67 DESCRIPTION="aMSN Messenger client"
68 SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}-src.tar.bz2"
69 HOMEPAGE="http://www.amsn-project.net"
70
71 -# The tests are interactive
72 -RESTRICT="test"
73 -
74 -SLOT="0"
75 LICENSE="GPL-2"
76 +SLOT="0"
77 KEYWORDS="~alpha ~amd64 ~hppa ~ppc -sparc ~x86"
78 IUSE="debug"
79
80 @@ -40,6 +35,13 @@
81 # >=media-libs/gst-plugins-bad-0.10.13
82 # >=media-plugins/gst-plugins-ffmpeg-0.10.7
83
84 +# The tests are interactive
85 +RESTRICT="test"
86 +
87 +S=${WORKDIR}/${MY_P}
88 +
89 +DOCS=( AGREEMENT TODO README FAQ CREDITS )
90 +
91 src_prepare() {
92 epatch \
93 "${FILESDIR}"/${PN}-0.98-noautoupdate.patch \
94 @@ -52,21 +54,21 @@
95 # only portage should strip files, bug 285682
96 sed -i -e "s/LDFLAGS += -s/LDFLAGS += /" Makefile.in || die "sed failed"
97 # Ships with a 32-bit binary, we want to rebuild it
98 - rm -f plugins/amsnplus/snapshot
99 + rm -f plugins/amsnplus/snapshot || die
100 eautoreconf
101 }
102
103 src_configure() {
104 - econf $(use_enable debug) || die "configure script failed"
105 + tc-export CC
106 + econf $(use_enable debug)
107 }
108
109 src_install() {
110 - make -C plugins/amsnplus || die
111 - make DESTDIR="${D}" install || die
112 - dodoc AGREEMENT TODO README FAQ CREDITS
113 + emake -C plugins/amsnplus
114 + default
115
116 domenu amsn.desktop
117 - sed -i -e s:.png:: "${D}/usr/share/applications/amsn.desktop"
118 + sed -i -e s:.png:: "${D}"/usr/share/applications/amsn.desktop || die
119
120 cd desktop-icons
121 for i in *; do
122 @@ -77,11 +79,13 @@
123 done
124 }
125
126 +pkg_preinst() {
127 + gnome2_icon_savelist
128 +}
129 +
130 pkg_postinst() {
131 fdo-mime_desktop_database_update
132 gnome2_icon_cache_update
133 -
134 - ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up."
135 }
136
137 pkg_postrm() {