Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/svgalib: metadata.xml ChangeLog svgalib-1.9.25.ebuild
Date: Sat, 28 Feb 2009 00:12:16
Message-Id: E1LdCoQ-0004pJ-Vw@stork.gentoo.org
1 fauli 09/02/28 00:12:14
2
3 Modified: metadata.xml ChangeLog svgalib-1.9.25.ebuild
4 Log:
5 add patch from bug 252614 by Marco Leogrande <dark DOT knight DOT ita AT gmail DOT com> to fix compilation with Kernel 2.6.28. Also rename no-helper USE flag to kernel-helper and make it default with EAPI=1
6 (Portage version: 2.1.6.7/cvs/Linux i686)
7
8 Revision Changes Path
9 1.6 media-libs/svgalib/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/svgalib/metadata.xml?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/svgalib/metadata.xml?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/svgalib/metadata.xml?r1=1.5&r2=1.6
14
15 Index: metadata.xml
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-libs/svgalib/metadata.xml,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -u -r1.5 -r1.6
21 --- metadata.xml 14 Oct 2008 17:24:29 -0000 1.5
22 +++ metadata.xml 28 Feb 2009 00:12:14 -0000 1.6
23 @@ -3,6 +3,6 @@
24 <pkgmetadata>
25 <herd>no-herd</herd>
26 <use>
27 - <flag name="no-helper">Do not build the helper kernel module</flag>
28 + <flag name="kernel-helper">Build the helper kernel module</flag>
29 </use>
30 </pkgmetadata>
31
32
33
34 1.84 media-libs/svgalib/ChangeLog
35
36 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/svgalib/ChangeLog?rev=1.84&view=markup
37 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/svgalib/ChangeLog?rev=1.84&content-type=text/plain
38 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/svgalib/ChangeLog?r1=1.83&r2=1.84
39
40 Index: ChangeLog
41 ===================================================================
42 RCS file: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v
43 retrieving revision 1.83
44 retrieving revision 1.84
45 diff -u -r1.83 -r1.84
46 --- ChangeLog 28 Oct 2008 20:09:27 -0000 1.83
47 +++ ChangeLog 28 Feb 2009 00:12:14 -0000 1.84
48 @@ -1,6 +1,13 @@
49 # ChangeLog for media-libs/svgalib
50 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
51 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.83 2008/10/28 20:09:27 pauldv Exp $
52 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
53 +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.84 2009/02/28 00:12:14 fauli Exp $
54 +
55 + 28 Feb 2009; Christian Faulhammer <fauli@g.o>
56 + +files/svgalib-1.9.25-linux2.6.28.patch, metadata.xml,
57 + svgalib-1.9.25.ebuild:
58 + add patch from bug 252614 by Marco Leogrande <dark DOT knight DOT ita AT
59 + gmail DOT com> to fix compilation with Kernel 2.6.28. Also rename
60 + no-helper USE flag to kernel-helper and make it default with EAPI=1
61
62 28 Oct 2008; Paul de Vrieze <pauldv@g.o>
63 files/svgalib-1.9.25-linux2.6.patch:
64
65
66
67 1.8 media-libs/svgalib/svgalib-1.9.25.ebuild
68
69 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/svgalib/svgalib-1.9.25.ebuild?rev=1.8&view=markup
70 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/svgalib/svgalib-1.9.25.ebuild?rev=1.8&content-type=text/plain
71 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/svgalib/svgalib-1.9.25.ebuild?r1=1.7&r2=1.8
72
73 Index: svgalib-1.9.25.ebuild
74 ===================================================================
75 RCS file: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.25.ebuild,v
76 retrieving revision 1.7
77 retrieving revision 1.8
78 diff -u -r1.7 -r1.8
79 --- svgalib-1.9.25.ebuild 10 Apr 2008 04:43:56 -0000 1.7
80 +++ svgalib-1.9.25.ebuild 28 Feb 2009 00:12:14 -0000 1.8
81 @@ -1,6 +1,8 @@
82 -# Copyright 1999-2008 Gentoo Foundation
83 +# Copyright 1999-2009 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.25.ebuild,v 1.7 2008/04/10 04:43:56 vapier Exp $
86 +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.25.ebuild,v 1.8 2009/02/28 00:12:14 fauli Exp $
87 +
88 +EAPI=1
89
90 inherit eutils flag-o-matic toolchain-funcs linux-mod
91
92 @@ -11,9 +13,10 @@
93 LICENSE="BSD"
94 SLOT="0"
95 KEYWORDS="-* x86"
96 -IUSE="build no-helper"
97 +IUSE="build +kernel-helper"
98
99 DEPEND=""
100 +RDEPEND=""
101
102 MODULE_NAMES="svgalib_helper(misc:${S}/kernel/svgalib_helper)"
103 BUILD_TARGETS="default"
104 @@ -29,10 +32,11 @@
105 epatch "${FILESDIR}"/${PN}-1.9.25-linux2.6.patch
106 epatch "${FILESDIR}"/${PN}-1.9.19-pic.patch #51698
107 epatch "${FILESDIR}"/${PN}-1.9.25-build.patch
108 + epatch "${FILESDIR}"/${PN}-1.9.25-linux2.6.28.patch
109 }
110
111 src_compile() {
112 - use no-helper && export NO_HELPER=y
113 + use kernel-helper || export NO_HELPER=y
114
115 export CC=$(tc-getCC)
116
117 @@ -65,7 +69,7 @@
118 make OPTIMIZE="${CFLAGS} -I../gl" LDFLAGS='-L../sharedlib' \
119 demoprogs || die "Failed to build demoprogs!"
120
121 - ! use build && ! use no-helper && linux-mod_src_compile
122 + ! use build && use kernel-helper && linux-mod_src_compile
123 }
124
125 src_install() {
126 @@ -76,7 +80,7 @@
127 emake \
128 TOPDIR="${D}" OPTIMIZE="${CFLAGS}" INSTALLMODULE="" \
129 install || die "Failed to install svgalib!"
130 - ! use build && ! use no-helper && linux-mod_src_install
131 + ! use build && use kernel-helper && linux-mod_src_install
132
133 insinto /usr/include
134 doins gl/vgagl.h
135 @@ -116,5 +120,5 @@
136 }
137
138 pkg_postinst() {
139 - ! use build && ! use no-helper && linux-mod_pkg_postinst
140 + ! use build && use kernel-helper && linux-mod_pkg_postinst
141 }