Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xchm: xchm-1.13.ebuild ChangeLog xchm-1.13-r1.ebuild
Date: Sat, 08 Dec 2007 23:51:25
Message-Id: E1J19S4-00087W-6B@stork.gentoo.org
1 dirtyepic 07/12/08 23:51:20
2
3 Modified: xchm-1.13.ebuild ChangeLog
4 Added: xchm-1.13-r1.ebuild
5 Log:
6 Revision bump to clean up ebuild. Dropped old MIME entries and move to fdo
7 shared-mime-info standard. Install one icon rather than half a dozen. Steal
8 .desktop file from Ubuntu.
9 (Portage version: 2.1.4_rc8)
10
11 Revision Changes Path
12 1.8 x11-misc/xchm/xchm-1.13.ebuild
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xchm/xchm-1.13.ebuild?rev=1.8&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xchm/xchm-1.13.ebuild?rev=1.8&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xchm/xchm-1.13.ebuild?r1=1.7&r2=1.8
17
18 Index: xchm-1.13.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xchm/xchm-1.13.ebuild,v
21 retrieving revision 1.7
22 retrieving revision 1.8
23 diff -u -r1.7 -r1.8
24 --- xchm-1.13.ebuild 7 Dec 2007 02:59:47 -0000 1.7
25 +++ xchm-1.13.ebuild 8 Dec 2007 23:51:19 -0000 1.8
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2007 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/xchm-1.13.ebuild,v 1.7 2007/12/07 02:59:47 dirtyepic Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/xchm-1.13.ebuild,v 1.8 2007/12/08 23:51:19 dirtyepic Exp $
31
32 inherit wxwidgets flag-o-matic fdo-mime gnome2-utils
33
34 @@ -66,7 +66,7 @@
35 install -m 644 "${S}"/art/xchmdoc-128.xpm \
36 "${D}"/usr/share/icons/hicolor/128x128/mimetypes/application-x-chm.xpm
37 insinto /usr/share/applications
38 - newins "${FILESDIR}"/${P}.desktop ${PN}.desktop
39 + doins "${FILESDIR}"/xchm.desktop
40 }
41
42 pkg_postinst() {
43
44
45
46 1.56 x11-misc/xchm/ChangeLog
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xchm/ChangeLog?rev=1.56&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xchm/ChangeLog?rev=1.56&content-type=text/plain
50 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xchm/ChangeLog?r1=1.55&r2=1.56
51
52 Index: ChangeLog
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xchm/ChangeLog,v
55 retrieving revision 1.55
56 retrieving revision 1.56
57 diff -u -r1.55 -r1.56
58 --- ChangeLog 7 Dec 2007 02:59:47 -0000 1.55
59 +++ ChangeLog 8 Dec 2007 23:51:19 -0000 1.56
60 @@ -1,6 +1,15 @@
61 # ChangeLog for x11-misc/xchm
62 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
63 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/ChangeLog,v 1.55 2007/12/07 02:59:47 dirtyepic Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/ChangeLog,v 1.56 2007/12/08 23:51:19 dirtyepic Exp $
65 +
66 +*xchm-1.13-r1 (08 Dec 2007)
67 +
68 + 08 Dec 2007; Ryan Hill <dirtyepic@g.o> -files/xchm-1.13.desktop,
69 + +files/xchm.desktop, +files/xchm.xml, xchm-1.13.ebuild,
70 + +xchm-1.13-r1.ebuild:
71 + Revision bump to clean up ebuild. Dropped old MIME entries and move to fdo
72 + shared-mime-info standard. Install one icon rather than half a dozen. Steal
73 + .desktop file from Ubuntu.
74
75 07 Dec 2007; Ryan Hill <dirtyepic@g.o> files/xchm-1.13.desktop,
76 xchm-1.13.ebuild:
77
78
79
80 1.1 x11-misc/xchm/xchm-1.13-r1.ebuild
81
82 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xchm/xchm-1.13-r1.ebuild?rev=1.1&view=markup
83 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xchm/xchm-1.13-r1.ebuild?rev=1.1&content-type=text/plain
84
85 Index: xchm-1.13-r1.ebuild
86 ===================================================================
87 # Copyright 1999-2007 Gentoo Foundation
88 # Distributed under the terms of the GNU General Public License v2
89 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/xchm-1.13-r1.ebuild,v 1.1 2007/12/08 23:51:19 dirtyepic Exp $
90
91 inherit wxwidgets flag-o-matic fdo-mime gnome2-utils
92
93 DESCRIPTION="Utility for viewing Microsoft .chm files."
94 HOMEPAGE="http://xchm.sf.net"
95 SRC_URI="mirror://sourceforge/xchm/${P}.tar.gz"
96
97 LICENSE="GPL-2"
98 SLOT="0"
99 KEYWORDS="~amd64 ~ppc ~x86"
100
101 IUSE="nls unicode"
102 DEPEND=">=app-doc/chmlib-0.36
103 =x11-libs/wxGTK-2.6*"
104 # Tested to work against a local install of 2.8.3
105
106 src_compile() {
107 local myconf
108 export WX_GTK_VER="2.6"
109
110 use unicode && need-wxwidgets unicode || need-wxwidgets ansi
111
112 append-flags -fno-strict-aliasing
113
114 myconf="${myconf} --with-wx-config=${WX_CONFIG}"
115
116 econf ${myconf} \
117 $(use_enable nls) \
118 || die "econf failed"
119
120 emake || die "emake failed"
121 }
122
123 src_install() {
124 emake DESTDIR="${D}" install || die "emake install failed"
125
126 dodoc AUTHORS README ChangeLog
127
128 cp "${D}"/usr/share/pixmaps/xchm-32.xpm "${D}"/usr/share/pixmaps/xchm.xpm
129 rm -f "${D}"/usr/share/pixmaps/xchm-*.xpm
130 rm -f "${D}"/usr/share/pixmaps/xchmdoc*.xpm
131
132 insinto /usr/share/applications
133 doins "${FILESDIR}"/xchm.desktop
134 insinto /usr/share/mime/packages
135 doins "${FILESDIR}"/xchm.xml
136 }
137
138 pkg_postinst() {
139 fdo-mime_desktop_database_update
140 gnome2_icon_cache_update
141 }
142
143 pkg_postrm() {
144 fdo-mime_desktop_database_update
145 gnome2_icon_cache_update
146 }
147
148
149
150 --
151 gentoo-commits@g.o mailing list