Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/zbar: zbar-0.10-r4.ebuild ChangeLog
Date: Wed, 27 Nov 2013 23:12:04
Message-Id: 20131127231156.3081E2004B@flycatcher.gentoo.org
1 vapier 13/11/27 23:11:56
2
3 Modified: ChangeLog
4 Added: zbar-0.10-r4.ebuild
5 Log:
6 Fix from Debian for crash when importing the python module.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
9
10 Revision Changes Path
11 1.14 media-gfx/zbar/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 29 Jun 2013 09:37:13 -0000 1.13
24 +++ ChangeLog 27 Nov 2013 23:11:56 -0000 1.14
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-gfx/zbar
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v 1.13 2013/06/29 09:37:13 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v 1.14 2013/11/27 23:11:56 vapier Exp $
30 +
31 +*zbar-0.10-r4 (27 Nov 2013)
32 +
33 + 27 Nov 2013; Mike Frysinger <vapier@g.o>
34 + +files/zbar-0.10-python-crash.patch, +zbar-0.10-r4.ebuild:
35 + Fix from Debian for crash when importing the python module.
36
37 29 Jun 2013; Agostino Sarubbo <ago@g.o> zbar-0.10-r3.ebuild:
38 Stable for x86, wrt bug #474522
39
40
41
42 1.1 media-gfx/zbar/zbar-0.10-r4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/zbar-0.10-r4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/zbar-0.10-r4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: zbar-0.10-r4.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/zbar-0.10-r4.ebuild,v 1.1 2013/11/27 23:11:55 vapier Exp $
52
53 EAPI=5
54 PYTHON_DEPEND="2:2.6"
55
56 inherit autotools eutils flag-o-matic python
57
58 DESCRIPTION="Library and tools for reading barcodes from images or video"
59 HOMEPAGE="http://zbar.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/zbar/${P}.tar.bz2"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~amd64 ~arm ~x86"
65 IUSE="gtk imagemagick jpeg python qt4 static-libs +threads v4l X xv"
66
67 RDEPEND="gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 )
68 imagemagick? (
69 || ( media-gfx/imagemagick
70 media-gfx/graphicsmagick[imagemagick] ) )
71 jpeg? ( virtual/jpeg )
72 python? ( gtk? ( >=dev-python/pygtk-2 ) )
73 qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 )
74 X? ( x11-libs/libXext
75 xv? ( x11-libs/libXv ) )"
76 DEPEND="${RDEPEND}
77 virtual/pkgconfig"
78
79 pkg_setup() {
80 python_set_active_version 2
81 python_pkg_setup
82 }
83
84 src_prepare() {
85 epatch "${FILESDIR}"/${P}-no-v4l1-check.patch
86 epatch "${FILESDIR}"/${P}-errors.patch
87 epatch "${FILESDIR}"/${P}-python-crash.patch
88
89 python_convert_shebangs 2 examples/upcrpc.py test/{barcodetest,test_pygtk}.py
90
91 sed -i -e '/AM_INIT_AUTOMAKE/s:-Werror ::' configure.ac || die #423581
92 eautoreconf
93 }
94
95 src_configure() {
96 append-cppflags -DNDEBUG
97 econf \
98 $(use_with jpeg) \
99 $(use_with gtk) \
100 $(use_with imagemagick) \
101 $(use_with python) \
102 $(use_with qt4 qt) \
103 $(use_enable static-libs static) \
104 $(use_enable threads pthread) \
105 $(use_with X x) \
106 $(use_with xv xv) \
107 $(use_enable v4l video)
108 }
109
110 src_install() {
111 emake DESTDIR="${D}" install
112 dodoc HACKING NEWS README TODO
113 rm -r "${ED}"/usr/share/doc/${PN}
114 prune_libtool_files --all
115 }