Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libwmf: libwmf-0.2.8.4-r4.ebuild ChangeLog
Date: Fri, 01 Jul 2011 21:03:59
Message-Id: 20110701210348.CF3942004B@flycatcher.gentoo.org
1 scarabeus 11/07/01 21:03:48
2
3 Modified: ChangeLog
4 Added: libwmf-0.2.8.4-r4.ebuild
5 Log:
6 Revision bump in order to fix gdk-pixbuf split and use system fonts. Fixes bugs #256087 and #368485.
7
8 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.71 media-libs/libwmf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libwmf/ChangeLog?rev=1.71&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libwmf/ChangeLog?rev=1.71&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libwmf/ChangeLog?r1=1.70&r2=1.71
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v
20 retrieving revision 1.70
21 retrieving revision 1.71
22 diff -u -r1.70 -r1.71
23 --- ChangeLog 23 May 2011 17:18:32 -0000 1.70
24 +++ ChangeLog 1 Jul 2011 21:03:48 -0000 1.71
25 @@ -1,6 +1,14 @@
26 # ChangeLog for media-libs/libwmf
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.70 2011/05/23 17:18:32 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.71 2011/07/01 21:03:48 scarabeus Exp $
30 +
31 +*libwmf-0.2.8.4-r4 (01 Jul 2011)
32 +
33 + 01 Jul 2011; Tomáš Chvátal <scarabeus@g.o>
34 + +libwmf-0.2.8.4-r4.ebuild, +files/libwmf-0.2.8.4-gdk-pixbuf.patch,
35 + +files/libwmf-0.2.8.4-use-system-fonts.patch:
36 + Revision bump in order to fix gdk-pixbuf split and use system fonts. Fixes
37 + bugs #256087 and #368485.
38
39 23 May 2011; Tomáš Chvátal <scarabeus@g.o>
40 libwmf-0.2.8.4-r3.ebuild, +files/libwmf-0.2.8.4-libpng-1.5.patch:
41
42
43
44 1.1 media-libs/libwmf/libwmf-0.2.8.4-r4.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libwmf/libwmf-0.2.8.4-r4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libwmf/libwmf-0.2.8.4-r4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: libwmf-0.2.8.4-r4.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/libwmf-0.2.8.4-r4.ebuild,v 1.1 2011/07/01 21:03:48 scarabeus Exp $
54
55 EAPI=4
56
57 inherit eutils autotools
58
59 #The configure script finds the 5.50 ghostscript Fontmap file while run.
60 #This will probably work, especially since the real one (6.50) in this case
61 #is empty. However beware in case there is any trouble
62
63 DESCRIPTION="library for converting WMF files"
64 HOMEPAGE="http://wvware.sourceforge.net/"
65 SRC_URI="mirror://sourceforge/wvware/${P}.tar.gz"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris"
70 IUSE="X debug doc expat xml"
71
72 RDEPEND="app-text/ghostscript-gpl
73 media-fonts/urw-fonts
74 >=media-libs/freetype-2.0.1
75 >=media-libs/libpng-1.4
76 sys-libs/zlib
77 x11-libs/gdk-pixbuf:2[X?]
78 virtual/jpeg
79 expat? ( dev-libs/expat )
80 xml? ( dev-libs/libxml2 )
81 X? (
82 x11-libs/libICE
83 x11-libs/libSM
84 x11-libs/libX11
85 )
86 "
87 DEPEND="${RDEPEND}
88 dev-util/pkgconfig
89 X? (
90 x11-libs/libXt
91 x11-libs/libXpm
92 )"
93 # plotutils are not really supported yet, so looks like that's it
94
95 REQUIRED_USE="xml? ( !expat ) expat? ( !xml )"
96
97 DOCS=( README AUTHORS CREDITS ChangeLog NEWS TODO )
98
99 src_prepare() {
100 if ! use doc ; then
101 sed -e 's:doc::' -i Makefile.am || die
102 fi
103 epatch \
104 "${FILESDIR}"/${P}-intoverflow.patch \
105 "${FILESDIR}"/${P}-build.patch \
106 "${FILESDIR}"/${P}-pngfix.patch \
107 "${FILESDIR}"/${P}-libpng-1.5.patch \
108 "${FILESDIR}"/${P}-use-system-fonts.patch \
109 "${FILESDIR}"/${P}-gdk-pixbuf.patch
110
111 eautoreconf
112 }
113
114 src_configure() {
115 # NOTE: The gd that is included is gd-2.0.0. Even with --with-sys-gd, that gd is built
116 # and included in libwmf. Since nothing in-tree seems to use media-libs/libwmf[gd],
117 # we're explicitly disabling gd use w.r.t. bug 268161
118 econf \
119 --disable-static \
120 $(use_enable debug) \
121 $(use_with X x) \
122 $(use_with expat) \
123 $(use_with xml libxml2) \
124 --disable-gd \
125 --with-sys-gd \
126 --with-gsfontdir="${EPREFIX}"/usr/share/ghostscript/fonts \
127 --with-fontdir="${EPREFIX}"/usr/share/fonts/urw-fonts/ \
128 --with-docdir="${EPREFIX}"/usr/share/doc/${PF}
129 }
130
131 src_install() {
132 MAKEOPTS+=" -j1" default
133 find "${ED}" -name '*.la' -exec rm -f '{}' +
134 }