Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tcltk/tkimg: tkimg-1.4.20100510-r1.ebuild ChangeLog
Date: Mon, 03 Oct 2011 20:05:07
Message-Id: 20111003200457.72A692004B@flycatcher.gentoo.org
1 ssuominen 11/10/03 20:04:57
2
3 Modified: ChangeLog
4 Added: tkimg-1.4.20100510-r1.ebuild
5 Log:
6 Use bundled copy of libpng14 until bug #378261 is solved since this package is required by multiple reverse dependencies.
7
8 (Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.30 dev-tcltk/tkimg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 19 Sep 2011 16:18:00 -0000 1.29
24 +++ ChangeLog 3 Oct 2011 20:04:57 -0000 1.30
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-tcltk/tkimg
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.29 2011/09/19 16:18:00 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.30 2011/10/03 20:04:57 ssuominen Exp $
30 +
31 +*tkimg-1.4.20100510-r1 (03 Oct 2011)
32 +
33 + 03 Oct 2011; Samuli Suominen <ssuominen@g.o>
34 + +tkimg-1.4.20100510-r1.ebuild,
35 + +files/tkimg-1.4.20100510-gentoo+use_bundled_libpng14.patch:
36 + Use bundled copy of libpng14 until bug #378261 is solved since this package
37 + is required by multiple reverse dependencies.
38
39 19 Sep 2011; Justin Lecher <jlec@g.o> tkimg-1.4.ebuild,
40 tkimg-1.4-r1.ebuild, tkimg-1.5_pre324.ebuild:
41
42
43
44 1.1 dev-tcltk/tkimg/tkimg-1.4.20100510-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/tkimg-1.4.20100510-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tkimg/tkimg-1.4.20100510-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: tkimg-1.4.20100510-r1.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/dev-tcltk/tkimg/tkimg-1.4.20100510-r1.ebuild,v 1.1 2011/10/03 20:04:57 ssuominen Exp $
54
55 EAPI="3"
56
57 inherit eutils prefix virtualx
58
59 DESCRIPTION="Adds a lot of image formats to Tcl/Tk"
60 HOMEPAGE="http://sourceforge.net/projects/tkimg/"
61 # src built with:
62 # svn export https://tkimg.svn.sourceforge.net/svnroot/tkimg/trunk tkimg-1.4.YYYYMMDD
63 # tar cvfj tkimg-1.4.YYYYMMDD.tar.bz2 tkimg-1.4.YYYYMMDD
64 SRC_URI="mirror://gentoo/${P}.tar.bz2"
65
66 IUSE="doc"
67 SLOT="0"
68 LICENSE="BSD"
69 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
70
71 DEPEND="
72 dev-lang/tk
73 >=dev-tcltk/tcllib-1.11
74 virtual/jpeg
75 media-libs/tiff"
76 RDEPEND="${DEPEND}"
77
78 src_prepare() {
79 # Use bundled libpng14 temporarily to workaround #378261
80 epatch \
81 "${FILESDIR}"/${P}-gentoo+use_bundled_libpng14.patch \
82 "${FILESDIR}"/${P}-boolean.patch
83
84 eprefixify \
85 libjpeg/jpegtclDecls.h \
86 libtiff/tifftclDecls.h \
87 zlib/zlibtclDecls.h
88 }
89
90 src_test() {
91 Xemake test || die
92 }
93
94 src_install() {
95 emake \
96 DESTDIR="${D}" \
97 INSTALL_ROOT="${D}" \
98 install || die "emake install failed"
99 # Make library links
100 for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do
101 bl=$(basename $l)
102 dosym Img1.4/${bl} /usr/$(get_libdir)/${bl}
103 done
104
105 dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE || die
106 if use doc; then
107 insinto /usr/share/doc/${PF}
108 doins demo.tcl || die
109 insinto /usr/share/doc/${PF}/html
110 doins -r doc/* || die
111 fi
112 }