Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/notecase: ChangeLog notecase-1.9.5.ebuild notecase-1.9.3.ebuild notecase-1.9.1.ebuild
Date: Tue, 26 Aug 2008 09:52:35
Message-Id: E1KXv2P-0005Hj-68@stork.gentoo.org
1 armin76 08/08/26 09:40:33
2
3 Modified: ChangeLog
4 Added: notecase-1.9.5.ebuild
5 Removed: notecase-1.9.3.ebuild notecase-1.9.1.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686)
9
10 Revision Changes Path
11 1.21 app-text/notecase/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 28 Jun 2008 14:42:30 -0000 1.20
24 +++ ChangeLog 26 Aug 2008 09:40:32 -0000 1.21
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-text/notecase
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.20 2008/06/28 14:42:30 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.21 2008/08/26 09:40:32 armin76 Exp $
30 +
31 +*notecase-1.9.5 (26 Aug 2008)
32 +
33 + 26 Aug 2008; Raúl Porcel <armin76@g.o> -files/1.9.3-gcc-4.3.patch,
34 + +files/1.9.5-gcc-4.3.patch, -notecase-1.9.1.ebuild,
35 + -notecase-1.9.3.ebuild, +notecase-1.9.5.ebuild:
36 + Version bump
37
38 28 Jun 2008; Raúl Porcel <armin76@g.o> +files/1.9.3-gcc-4.3.patch,
39 notecase-1.9.3.ebuild:
40
41
42
43 1.1 app-text/notecase/notecase-1.9.5.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/notecase-1.9.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/notecase-1.9.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: notecase-1.9.5.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/notecase/notecase-1.9.5.ebuild,v 1.1 2008/08/26 09:40:32 armin76 Exp $
53
54 inherit eutils fdo-mime
55
56 DESCRIPTION="Hierarchical note manager written using GTK+ and C++"
57 HOMEPAGE="http://notecase.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}_src.tar.gz"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="gnome nls"
64
65 RDEPEND=">=x11-libs/gtk+-2.6"
66 DEPEND="${RDEPEND}
67 dev-util/pkgconfig"
68
69 # test doesn't work
70 RESTRICT="test"
71
72 MAKEOPTS="${MAKEOPTS} -j1"
73
74 src_unpack() {
75 unpack ${A}
76 cd "${S}"
77
78 # Respect CFLAGS and don't use --as-needed by default
79 epatch "${FILESDIR}/notecase-1.7.2-CFLAGS.patch"
80 # Fix for gcc-4.3, bug #229865
81 epatch "${FILESDIR}"/1.9.5-gcc-4.3.patch
82
83 if ! use gnome; then
84 # Comment variable in the Makefile if we don't have gnome
85 sed -i -e 's/HAVE_GNOME_VFS=1/#HAVE_GNOME_VFS=1/g' \
86 -e 's/AUTODETECT_GNOME_VFS=1/#AUTODETECT_GNOME_VFS=1/g' \
87 Makefile || die "gnome sed failed"
88 fi
89
90 ! use nls && {
91 sed -i -e 's/notecase$(EXE) poinstall/notecase$(EXE)/g' \
92 Makefile || die "nls sed failed"
93 }
94 }
95
96 src_install() {
97 emake DESTDIR="${D}" install || die "make install failed"
98 dodoc readme.txt
99 }
100
101 pkg_postinst() {
102 fdo-mime_desktop_database_update
103 fdo-mime_mime_database_update
104 }
105
106 pkg_postrm() {
107 fdo-mime_desktop_database_update
108 fdo-mime_mime_database_update
109 }