Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/gxine: ChangeLog gxine-0.5.906-r1.ebuild
Date: Fri, 25 Nov 2011 18:13:17
Message-Id: 20111125181306.D5D9220061@flycatcher.gentoo.org
1 ssuominen 11/11/25 18:13:06
2
3 Modified: ChangeLog
4 Added: gxine-0.5.906-r1.ebuild
5 Log:
6 Fix segmentation fault in playlist wrt #390783 by Rafał Mużyło
7
8 (Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.113 media-video/gxine/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/ChangeLog?rev=1.113&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/ChangeLog?rev=1.113&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/ChangeLog?r1=1.112&r2=1.113
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v
20 retrieving revision 1.112
21 retrieving revision 1.113
22 diff -u -r1.112 -r1.113
23 --- ChangeLog 10 Oct 2011 19:33:57 -0000 1.112
24 +++ ChangeLog 25 Nov 2011 18:13:06 -0000 1.113
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-video/gxine
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.112 2011/10/10 19:33:57 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.113 2011/11/25 18:13:06 ssuominen Exp $
30 +
31 +*gxine-0.5.906-r1 (25 Nov 2011)
32 +
33 + 25 Nov 2011; Samuli Suominen <ssuominen@g.o> +gxine-0.5.906-r1.ebuild,
34 + +files/gxine-0.5.906-playlist_segfault.patch:
35 + Fix segmentation fault in playlist wrt #390783 by Rafał Mużyło
36
37 10 Oct 2011; Samuli Suominen <ssuominen@g.o> gxine-0.5.906.ebuild:
38 Release to ~arch for testing. This one works with mozjs185 wrt #360971 by
39
40
41
42 1.1 media-video/gxine/gxine-0.5.906-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/gxine-0.5.906-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/gxine-0.5.906-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gxine-0.5.906-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-video/gxine/gxine-0.5.906-r1.ebuild,v 1.1 2011/11/25 18:13:06 ssuominen Exp $
52
53 EAPI=4
54 inherit autotools eutils fdo-mime gnome2-utils multilib nsplugins
55
56 DESCRIPTION="GTK+ Front-End for libxine"
57 HOMEPAGE="http://xine.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
63 IUSE="gnome lirc nls nsplugin udev xcb xinerama"
64
65 RDEPEND=">=media-libs/xine-lib-1.1.17
66 >=x11-libs/gtk+-2.8:2
67 >=dev-libs/glib-2.10:2
68 >=x11-libs/pango-1.12
69 >=dev-lang/spidermonkey-1.8.2.15
70 x11-libs/libX11
71 x11-libs/libXext
72 x11-libs/libXrender
73 gnome? ( >=dev-libs/dbus-glib-0.88 )
74 lirc? ( app-misc/lirc )
75 nls? ( virtual/libintl )
76 nsplugin? ( dev-libs/nspr
77 x11-libs/libXaw
78 x11-libs/libXt )
79 udev? ( || ( >=sys-fs/udev-171-r1[gudev] <sys-fs/udev-171-r1[extras] ) )
80 xcb? ( x11-libs/libxcb )
81 xinerama? ( x11-libs/libXinerama )"
82 DEPEND="${RDEPEND}
83 dev-util/pkgconfig
84 nls? ( sys-devel/gettext )"
85
86 src_prepare() {
87 # ld: cannot find -ljs
88 sed -i -e '/JS_LIBS="`spidermonkey_locate_lib/s:js:mozjs:' m4/_js.m4 || die
89
90 epatch \
91 "${FILESDIR}"/${PN}-0.5.905-desktop.patch \
92 "${FILESDIR}"/${PN}-0.5.905-fix-nspr-useage.patch \
93 "${FILESDIR}"/${P}-endif.patch \
94 "${FILESDIR}"/${P}-playlist_segfault.patch
95
96 # need to disable calling of xine-list when running without
97 # userpriv, otherwise we get sandbox violations (bug #233847)
98 if [[ ${EUID} == "0" ]]; then
99 sed -i -e 's:^XINE_LIST=.*$:XINE_LIST=:' configure.ac || die
100 fi
101
102 eautoreconf
103 }
104
105 src_configure() {
106 econf \
107 $(use_enable nls) \
108 $(use_enable lirc) \
109 --enable-watchdog \
110 $(use_with xcb) \
111 $(has_version '<dev-lang/spidermonkey-1.8.5' && echo --with-spidermonkey=/usr/include/js) \
112 $(use_with nsplugin browser-plugin) \
113 $(use_with udev gudev) \
114 --without-hal \
115 $(use_with gnome dbus) \
116 $(use_with xinerama)
117 }
118
119 src_install() {
120 emake DESTDIR="${D}" \
121 docdir=/usr/share/doc/${PF} \
122 docsdir=/usr/share/doc/${PF} \
123 install
124
125 dodoc AUTHORS BUGS ChangeLog NEWS README{,.{cs,de},_l10n} TODO
126 use nsplugin && inst_plugin /usr/$(get_libdir)/gxine/gxineplugin.so
127 }
128
129 pkg_preinst() {
130 gnome2_icon_savelist
131 }
132
133 pkg_postinst() {
134 fdo-mime_desktop_database_update
135 fdo-mime_mime_database_update
136 gnome2_icon_cache_update
137 }
138
139 pkg_postrm() {
140 fdo-mime_desktop_database_update
141 fdo-mime_mime_database_update
142 gnome2_icon_cache_update
143 }