Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 349750 Details for
Bug 469696
kernel-2.eclass: New USE flags and dependencies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kernel-2.eclass.diff
kernel-2.eclass.diff (text/plain), 3.35 KB, created by
Roman Žilka
on 2013-05-31 17:59:07 UTC
(
hide
)
Description:
kernel-2.eclass.diff
Filename:
MIME Type:
Creator:
Roman Žilka
Created:
2013-05-31 17:59:07 UTC
Size:
3.35 KB
patch
obsolete
>--- kernel-2.eclass.orig 2013-05-31 19:51:37.307442179 +0200 >+++ kernel-2.eclass 2013-05-31 19:47:28.637449526 +0200 >@@ -1,6 +1,6 @@ > # Copyright 1999-2013 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.284 2013/04/29 22:14:23 tomwij Exp $ >+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v X.XXX 2013/XX/XX XX:XX:XX XXXXXX Exp $ > > # Description: kernel.eclass rewrite for a clean base regarding the 2.6 > # series of kernel with back-compatibility for 2.4 >@@ -415,19 +415,55 @@ > kernel_is 2 6 || kernel_is 2 5 > } > >-# Capture the sources type and set DEPENDs >+# Capture the sources type and set some basic variables. >+# See bug #469696 for discussion of *DEPEND, IUSE and more. > if [[ ${ETYPE} == sources ]]; then >- DEPEND="!build? ( sys-apps/sed >- >=sys-devel/binutils-2.11.90.0.31 )" >- RDEPEND="!build? ( >=sys-libs/ncurses-5.2 >- sys-devel/make >+ DEPEND="!build? ( sys-apps/sed )" >+ RDEPEND="!build? ( sys-apps/sed >+ sys-apps/coreutils >+ sys-apps/diffutils >+ sys-apps/findutils >+ sys-apps/grep >+ sys-apps/net-tools >+ sys-apps/which >+ sys-devel/make >+ sys-devel/gcc >+ >=sys-devel/binutils-2.11.90.0.31 >+ sys-devel/bc >+ virtual/awk > dev-lang/perl >- sys-devel/bc )" >+ ncurses? ( >=sys-libs/ncurses-5.2 ) >+ modules? ( virtual/modutils ) >+ gtk? ( virtual/pkgconfig >+ dev-libs/glib:2 >+ x11-libs/gtk+:2 >+ gnome-base/libglade:2.0 >+ ) >+ qt4? ( virtual/pkgconfig >+ sys-devel/gcc[cxx] >+ dev-qt/qtcore:4[qt3support] >+ dev-qt/qtgui:4[qt3support] >+ dev-qt/qt3support:4 >+ ) >+ lzo? ( app-arch/lzop ) >+ lzma? ( app-arch/xz-utils ) >+ gzip? ( app-arch/gzip ) >+ bzip2? ( app-arch/bzip2 ) >+ initramfs? ( app-arch/cpio ) >+ development? ( dev-util/ctags >+ dev-util/global >+ dev-ml/findlib >+ >=dev-lang/ocaml-3.11 >+ dev-util/coccinelle[python,ocaml] >+ ) >+ )" > PDEPEND="!build? ( virtual/dev-manager )" >+ REQUIRED_USE="!build? ( || ( lzo lzma gzip bzip2 ) )" > > SLOT="${PVR}" > DESCRIPTION="Sources based on the Linux Kernel." >- IUSE="symlink build" >+ IUSE="symlink build +modules ncurses gtk qt4 lzo lzma gzip bzip2 initramfs >+ development" > > # Bug #266157, deblob for libre support > if [[ -z ${K_PREDEBLOBBED} ]] ; then >@@ -770,7 +806,7 @@ > use deblob && \ > K_SECURITY_UNSUPPORTED=deblob > >- # if we are to forcably symlink, delete it if it already exists first. >+ # if we are to forcibly symlink, delete it if it already exists first. > if [[ ${K_SYMLINK} > 0 ]]; then > [[ -h ${ROOT}usr/src/linux ]] && rm ${ROOT}usr/src/linux > MAKELINK=1 >@@ -1231,7 +1267,16 @@ > > ABI="${KERNEL_ABI}" > [[ ${ETYPE} == headers ]] && setup_headers >- [[ ${ETYPE} == sources ]] && echo ">>> Preparing to unpack ..." >+ if [[ ${ETYPE} == sources ]]; then >+ if ! use ncurses && ! use gtk && ! use qt4; then >+ echo >+ ewarn "You have neither of the USE flags ncurses/gtk/qt4 turned on." >+ ewarn "Without these libraries you will be limited to very simple, line-based" >+ ewarn "kernel configuration means (make config, make oldconfig, ...)." >+ echo >+ fi >+ echo ">>> Preparing to unpack ..." >+ fi > } > > kernel-2_pkg_postrm() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 469696
:
348184
|
348186
|
348244
|
348246
| 349750