From: "Jonathan Callen (abcd)" <abcd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: kde4-base.eclass
Date: Fri, 22 Apr 2011 18:48:03 +0000 (UTC) [thread overview]
Message-ID: <20110422184803.738AE20054@flycatcher.gentoo.org> (raw)
abcd 11/04/22 18:48:03
Modified: kde4-base.eclass
Log:
Move more fixes from overlay:
EAPI-4 autocompresses /usr/share/doc: exclude /usr/share/doc/HTML
Fix underquoted USE dep for kde-l10n
Various other issues
Revision Changes Path
1.90 eclass/kde4-base.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde4-base.eclass?rev=1.90&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde4-base.eclass?rev=1.90&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/kde4-base.eclass?r1=1.89&r2=1.90
Index: kde4-base.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- kde4-base.eclass 22 Apr 2011 11:18:34 -0000 1.89
+++ kde4-base.eclass 22 Apr 2011 18:48:03 -0000 1.90
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.89 2011/04/22 11:18:34 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.90 2011/04/22 18:48:03 abcd Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@@ -167,8 +167,9 @@
# Set this varible if you want your live package to manage its
# translations. (Mostly all kde ebuilds does not ship documentation
# and translations in live ebuilds)
-if [[ ${BUILD_TYPE} == live && -z ${KDE_LINGUAS_LIVE_OVERRIDE} && ${KDEBASE} != "kde-base" ]]; then
- KDE_HANDBOOK=never
+if [[ ${BUILD_TYPE} == live && -z ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then
+ # Kdebase actualy provides the handbooks even for live stuff
+ [[ ${KDEBASE} == kde-base ]] || KDE_HANDBOOK=never
KDE_LINGUAS=""
fi
@@ -376,15 +377,15 @@
kderdepend+=" $(add_kdebase_dep oxygen-icons)"
fi
-# add a dependency over kde-l10n if EAPI4 is around
-if [[ ${KDEBASE} != "kde-base" ]] && [[ -n ${KDE_LINGUAS} ]] && has "${EAPI:-0}" 4; then
+# add a dependency over kde-l10n if EAPI4 or better is around
+if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} && ${EAPI:-0} != 3 ]]; then
for _lingua in ${KDE_LINGUAS}; do
# if our package has lignuas, pull in kde-l10n with selected lingua enabled,
# but only for selected ones.
# this can't be done on one line because if user doesn't use any localisation
# then he is probably not interested in kde-l10n at all.
kderdepend+="
- linguas_${_lingua}? ( $(add_kdebase_dep kde-l10n linguas_${_lingua}(+)?) )
+ linguas_${_lingua}? ( $(add_kdebase_dep kde-l10n "linguas_${_lingua}(+)?") )
"
done
unset _lingua
@@ -467,11 +468,11 @@
case ${KDEBASE} in
kde-base)
case ${PV} in
- 4.[456].8[05] | 4.[456].9[023568] | 4.5.94.1)
+ 4.[456].8[05] | 4.[456].9[023568])
# Unstable KDE SC releases
SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2"
# KDEPIM IS SPECIAL
- [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/unstable/kdepim/${PV}/src/${_kmname_pv}.tar.bz2"
+ [[ ${KMNAME} == "kdepim" || ${KMNAME} == "kdepim-runtime" ]] && SRC_URI="mirror://kde/unstable/kdepim/${PV}/${_kmname_pv}.tar.bz2"
;;
4.4.[6789] | 4.4.1?*)
# Stable kdepim releases
@@ -743,10 +744,10 @@
: ${KDE_DOC_DIRS:=doc}
local dir
for dir in ${KDE_DOC_DIRS}; do
- sed -e "/^[[:space:]]*add_subdirectory[[:space:]]*([[:space:]]*${dir}[[:space:]]*)/s/^/#DONOTCOMPILE /" \
- -e "/^[[:space:]]*ADD_SUBDIRECTORY[[:space:]]*([[:space:]]*${dir}[[:space:]]*)/s/^/#DONOTCOMPILE /" \
- -e "/^[[:space:]]*macro_optional_add_subdirectory[[:space:]]*([[:space:]]*${dir}[[:space:]]*)/s/^/#DONOTCOMPILE /" \
- -e "/^[[:space:]]*MACRO_OPTIONAL_ADD_SUBDIRECTORY[[:space:]]*([[:space:]]*${dir}[[:space:]]*)/s/^/#DONOTCOMPILE /" \
+ sed -e "\!^[[:space:]]*add_subdirectory[[:space:]]*([[:space:]]*${dir}[[:space:]]*)!s/^/#DONOTCOMPILE /" \
+ -e "\!^[[:space:]]*ADD_SUBDIRECTORY[[:space:]]*([[:space:]]*${dir}[[:space:]]*)!s/^/#DONOTCOMPILE /" \
+ -e "\!^[[:space:]]*macro_optional_add_subdirectory[[:space:]]*([[:space:]]*${dir}[[:space:]]*)!s/^/#DONOTCOMPILE /" \
+ -e "\!^[[:space:]]*MACRO_OPTIONAL_ADD_SUBDIRECTORY[[:space:]]*([[:space:]]*${dir}[[:space:]]*)!s/^/#DONOTCOMPILE /" \
-i CMakeLists.txt || die "failed to comment out handbook"
done
fi
@@ -938,6 +939,11 @@
fi
cmake-utils_src_install
+
+ # In EAPI 4+, we don't want ${PREFIX}/share/doc/HTML to be compressed,
+ # because then khelpcenter can't find the docs
+ [[ ${EAPI:-0} != 3 && -d ${ED}/${PREFIX}/share/doc/HTML ]] &&
+ docompress -x ${PREFIX}/share/doc/HTML
}
# @FUNCTION: kde4-base_pkg_preinst
next reply other threads:[~2011-04-22 18:48 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-22 18:48 Jonathan Callen (abcd) [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-07-10 3:46 [gentoo-commits] gentoo-x86 commit in eclass: kde4-base.eclass Patrick Lauer (patrick)
2011-10-21 23:00 Andreas HAttel (dilfridge)
2011-09-07 17:34 Alexey Shvetsov (alexxy)
2011-08-31 23:44 Andreas HAttel (dilfridge)
2011-07-27 9:30 Alexey Shvetsov (alexxy)
2011-07-11 18:27 Andreas HAttel (dilfridge)
2011-07-11 17:16 Tomas Chvatal (scarabeus)
2011-07-06 19:26 Andreas HAttel (dilfridge)
2011-06-06 18:42 Jonathan Callen (abcd)
2011-05-23 22:56 Jonathan Callen (abcd)
2011-05-14 16:03 Andreas HAttel (dilfridge)
2011-04-22 11:18 Tomas Chvatal (scarabeus)
2011-04-21 20:01 Andreas HAttel (dilfridge)
2011-04-06 8:53 Andreas HAttel (dilfridge)
2011-03-16 22:45 Andreas HAttel (dilfridge)
2011-01-11 13:15 Kacper Kowalik (xarthisius)
2010-11-24 23:54 Andreas HAttel (dilfridge)
2010-10-27 21:24 Andreas HAttel (dilfridge)
2010-09-13 21:47 Maciej Mrozowski (reavertm)
2010-09-11 5:18 Maciej Mrozowski (reavertm)
2010-09-11 4:37 Maciej Mrozowski (reavertm)
2010-08-13 5:05 Maciej Mrozowski (reavertm)
2010-08-12 19:32 Maciej Mrozowski (reavertm)
2010-06-26 16:02 Maciej Mrozowski (reavertm)
2010-06-26 1:33 Maciej Mrozowski (reavertm)
2010-05-15 14:03 Maciej Mrozowski (reavertm)
2010-04-07 21:16 Tomas Chvatal (scarabeus)
2009-11-25 19:51 Theo Chatzimichos (tampakrap)
2009-10-28 15:50 Tomas Chvatal (scarabeus)
2009-10-28 14:27 Jonathan Callen (abcd)
2009-10-28 14:23 Jonathan Callen (abcd)
2009-10-27 17:43 Tomas Chvatal (scarabeus)
2009-10-27 14:20 Tomas Chvatal (scarabeus)
2009-06-05 9:48 Tomas Chvatal (scarabeus)
2009-06-04 13:50 Tomas Chvatal (scarabeus)
2009-04-18 21:33 Tomas Chvatal (scarabeus)
2009-04-15 11:09 Tomas Chvatal (scarabeus)
2009-03-26 21:55 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2009-03-11 17:40 Tomas Chvatal (scarabeus)
2009-02-02 21:35 Tomas Chvatal (scarabeus)
2009-01-31 21:31 Patrick Lauer (patrick)
2009-01-31 14:00 Ben de Groot (yngwin)
2009-01-24 23:24 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2009-01-18 15:12 Alexey Shvetsov (alexxy)
2009-01-06 10:55 Tomas Chvatal (scarabeus)
2008-12-07 11:39 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-11-22 1:23 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-11-21 17:06 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-11-09 22:52 Tomas Chvatal (scarabeus)
2008-10-11 3:05 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-10-04 14:51 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-04-14 13:23 Bo Oersted Andresen (zlin)
2008-04-06 21:36 Bo Oersted Andresen (zlin)
2008-04-03 18:12 Wulf Krueger (philantrop)
2008-03-26 20:39 Bo Oersted Andresen (zlin)
2008-03-14 15:51 Ingmar Vanhassel (ingmar)
2008-03-10 21:41 Bo Oersted Andresen (zlin)
2008-02-18 17:00 Ingmar Vanhassel (ingmar)
2008-01-18 2:37 Ingmar Vanhassel (ingmar)
2008-01-16 22:50 Ingmar Vanhassel (ingmar)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110422184803.738AE20054@flycatcher.gentoo.org \
--to=abcd@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox