Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/gdk-pixbuf: gdk-pixbuf-2.28.0.ebuild ChangeLog
Date: Thu, 28 Mar 2013 15:58:02
Message-Id: 20130328155759.254292171D@flycatcher.gentoo.org
1 pacho 13/03/28 15:57:59
2
3 Modified: ChangeLog
4 Added: gdk-pixbuf-2.28.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.82 x11-libs/gdk-pixbuf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.82&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.82&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?r1=1.81&r2=1.82
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v
20 retrieving revision 1.81
21 retrieving revision 1.82
22 diff -u -r1.81 -r1.82
23 --- ChangeLog 3 Mar 2013 09:02:31 -0000 1.81
24 +++ ChangeLog 28 Mar 2013 15:57:58 -0000 1.82
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-libs/gdk-pixbuf
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v 1.81 2013/03/03 09:02:31 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v 1.82 2013/03/28 15:57:58 pacho Exp $
30 +
31 +*gdk-pixbuf-2.28.0 (28 Mar 2013)
32 +
33 + 28 Mar 2013; Pacho Ramos <pacho@g.o> +gdk-pixbuf-2.28.0.ebuild:
34 + Version bump
35
36 03 Mar 2013; Mike Frysinger <vapier@g.o> gdk-pixbuf-2.26.4.ebuild,
37 gdk-pixbuf-2.26.5.ebuild:
38
39
40
41 1.1 x11-libs/gdk-pixbuf/gdk-pixbuf-2.28.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.28.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.28.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gdk-pixbuf-2.28.0.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.28.0.ebuild,v 1.1 2013/03/28 15:57:58 pacho Exp $
51
52 EAPI="5"
53 inherit eutils gnome.org multilib libtool
54
55 DESCRIPTION="Image loading library for GTK+"
56 HOMEPAGE="http://www.gtk.org/"
57
58 LICENSE="LGPL-2+"
59 SLOT="2"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
61 IUSE="+X debug +introspection jpeg jpeg2k tiff test"
62
63 COMMON_DEPEND="
64 >=dev-libs/glib-2.34.0:2
65 >=media-libs/libpng-1.4:0=
66 introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
67 jpeg? ( virtual/jpeg:= )
68 jpeg2k? ( media-libs/jasper:= )
69 tiff? ( >=media-libs/tiff-3.9.2:0= )
70 X? ( x11-libs/libX11 )"
71 DEPEND="${COMMON_DEPEND}
72 >=dev-util/gtk-doc-am-1.11
73 >=sys-devel/gettext-0.17
74 virtual/pkgconfig"
75 # librsvg blocker is for the new pixbuf loader API, you lose icons otherwise
76 RDEPEND="${COMMON_DEPEND}
77 !<gnome-base/gail-1000
78 !<gnome-base/librsvg-2.31.0
79 !<x11-libs/gtk+-2.21.3:2
80 !<x11-libs/gtk+-2.90.4:3"
81
82 src_prepare() {
83 # This will avoid polluting the pkg-config file with versioned libpng,
84 # which is causing problems with libpng14 -> libpng15 upgrade
85 # See upstream bug #667068
86 sed -e 's:libpng15:libpng libpng15:' \
87 -i configure || die
88 default
89 elibtoolize # for Darwin modules
90 }
91
92 src_configure() {
93 # png always on to display icons (foser)
94 econf \
95 $(usex debug --enable-debug=yes "") \
96 $(use_with jpeg libjpeg) \
97 $(use_with jpeg2k libjasper) \
98 $(use_with tiff libtiff) \
99 $(use_enable introspection) \
100 $(use_with X x11) \
101 --with-libpng
102 }
103
104 src_install() {
105 default
106 dodoc AUTHORS NEWS* README*
107 prune_libtool_files --modules
108 }
109
110 pkg_postinst() {
111 # causes segfault if set, see bug 375615
112 unset __GL_NO_DSO_FINALIZER
113
114 tmp_file=$(mktemp -t tmp_gdk_pixbuf_ebuild.XXXXXXXXXX)
115 # be atomic!
116 gdk-pixbuf-query-loaders > "${tmp_file}"
117 if [ "${?}" = "0" ]; then
118 cat "${tmp_file}" > "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache"
119 else
120 ewarn "Cannot update loaders.cache, gdk-pixbuf-query-loaders failed to run"
121 fi
122 rm "${tmp_file}"
123
124 if [ -e "${EROOT}"usr/lib/gtk-2.0/2.*/loaders ]; then
125 elog "You need to rebuild ebuilds that installed into" "${EROOT}"usr/lib/gtk-2.0/2.*/loaders
126 elog "to do that you can use qfile from portage-utils:"
127 elog "emerge -va1 \$(qfile -qC ${EPREFIX}/usr/lib/gtk-2.0/2.*/loaders)"
128 fi
129 }