From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/konqueror/
Date: Sat, 9 Jul 2016 18:07:25 +0000 (UTC) [thread overview]
Message-ID: <1468087572.77a1463d2b54754a79129baa63dc14b0b0139459.johu@gentoo> (raw)
commit: 77a1463d2b54754a79129baa63dc14b0b0139459
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Mon May 16 23:39:09 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Jul 9 18:06:12 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=77a1463d
kde-apps/konqueror: Add KMEXTRA=dolphin for USE=filemanager
Gentoo-bug: 562224
Package-Manager: portage-2.2.28
Signed-off-by: Johannes Huber <johu <AT> gentoo.org>
kde-apps/konqueror/konqueror-16.04.3.ebuild | 44 ++++++++++++++++++++---
kde-apps/konqueror/konqueror-16.04.49.9999.ebuild | 44 ++++++++++++++++++++---
kde-apps/konqueror/konqueror-9999.ebuild | 44 ++++++++++++++++++++---
kde-apps/konqueror/metadata.xml | 1 +
4 files changed, 121 insertions(+), 12 deletions(-)
diff --git a/kde-apps/konqueror/konqueror-16.04.3.ebuild b/kde-apps/konqueror/konqueror-16.04.3.ebuild
index 09426ea..38fe745 100644
--- a/kde-apps/konqueror/konqueror-16.04.3.ebuild
+++ b/kde-apps/konqueror/konqueror-16.04.3.ebuild
@@ -14,12 +14,17 @@ HOMEPAGE="
https://konqueror.org/
"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+bookmarks debug svg"
+IUSE="+bookmarks debug +filemanager svg"
# 4 of 4 tests fail. Last checked for 4.0.3
RESTRICT="test"
DEPEND="
$(add_kdeapps_dep libkonq)
+ filemanager? (
+ $(add_kdebase_dep kactivities '' 4.13)
+ media-libs/phonon[qt4]
+ x11-libs/libXrender
+ )
"
# bug #544630: evince[nsplugin] crashes konqueror
@@ -28,8 +33,18 @@ RDEPEND="${DEPEND}
$(add_kdeapps_dep kfmclient)
$(add_kdeapps_dep kurifilter-plugins)
bookmarks? ( $(add_kdeapps_dep keditbookmarks) )
+ filemanager? (
+ $(add_kdeapps_dep kdebase-kioslaves)
+ $(add_kdeapps_dep kfind)
+ $(add_kdeapps_dep konsolepart)
+ )
svg? ( $(add_kdeapps_dep svgpart) )
!app-text/evince[nsplugin]
+ !kde-apps/dolphin:4
+"
+
+KMEXTRA="
+ dolphin/
"
KMEXTRACTONLY="
@@ -40,6 +55,14 @@ KMEXTRACTONLY="
src_prepare() {
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc
+ use filemanager || cmake_comment_add_subdirectory dolphin
+
+ # required for dolphin
+ sed -e "/konq_copytomenu.h/ s/# //" \
+ -e "/konq_copytomenu.h/ s/ - anyone needs it?//" \
+ -i lib/konq/CMakeLists.txt \
+ || die "Failed to fix libkonq CMakeLists.txt"
+
kde4-meta_src_prepare
# Do not install *.desktop files for kfmclient
@@ -47,12 +70,25 @@ src_prepare() {
|| die "Failed to omit .desktop files"
}
+src_configure() {
+ local mycmakeargs
+
+ if use filemanager ; then
+ mycmakeargs=(
+ -DWITH_Baloo=OFF
+ -DWITH_BalooWidgets=OFF
+ -DWITH_KFileMetaData=OFF
+ )
+ fi
+
+ kde4-meta_src_configure
+}
+
pkg_postinst() {
kde4-meta_pkg_postinst
- if ! has_version kde-apps/dolphin:${SLOT} ; then
- elog "If you want to use konqueror as a filemanager, install the dolphin kpart:"
- elog "kde-apps/dolphin:${SLOT}"
+ if use filemanager && ! has_version media-gfx/icoutils ; then
+ elog "For .exe file preview support, install media-gfx/icoutils."
fi
if ! has_version virtual/jre ; then
diff --git a/kde-apps/konqueror/konqueror-16.04.49.9999.ebuild b/kde-apps/konqueror/konqueror-16.04.49.9999.ebuild
index 4e181da..8dd0e92 100644
--- a/kde-apps/konqueror/konqueror-16.04.49.9999.ebuild
+++ b/kde-apps/konqueror/konqueror-16.04.49.9999.ebuild
@@ -14,12 +14,17 @@ HOMEPAGE="
https://konqueror.org/
"
KEYWORDS=""
-IUSE="+bookmarks debug svg"
+IUSE="+bookmarks debug +filemanager svg"
# 4 of 4 tests fail. Last checked for 4.0.3
RESTRICT="test"
DEPEND="
$(add_kdeapps_dep libkonq)
+ filemanager? (
+ $(add_kdebase_dep kactivities '' 4.13)
+ media-libs/phonon[qt4]
+ x11-libs/libXrender
+ )
"
# bug #544630: evince[nsplugin] crashes konqueror
@@ -28,8 +33,18 @@ RDEPEND="${DEPEND}
$(add_kdeapps_dep kfmclient)
$(add_kdeapps_dep kurifilter-plugins)
bookmarks? ( $(add_kdeapps_dep keditbookmarks) )
+ filemanager? (
+ $(add_kdeapps_dep kdebase-kioslaves)
+ $(add_kdeapps_dep kfind)
+ $(add_kdeapps_dep konsolepart)
+ )
svg? ( $(add_kdeapps_dep svgpart) )
!app-text/evince[nsplugin]
+ !kde-apps/dolphin:4
+"
+
+KMEXTRA="
+ dolphin/
"
KMEXTRACTONLY="
@@ -40,6 +55,14 @@ KMEXTRACTONLY="
src_prepare() {
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc
+ use filemanager || cmake_comment_add_subdirectory dolphin
+
+ # required for dolphin
+ sed -e "/konq_copytomenu.h/ s/# //" \
+ -e "/konq_copytomenu.h/ s/ - anyone needs it?//" \
+ -i lib/konq/CMakeLists.txt \
+ || die "Failed to fix libkonq CMakeLists.txt"
+
kde4-meta_src_prepare
# Do not install *.desktop files for kfmclient
@@ -47,12 +70,25 @@ src_prepare() {
|| die "Failed to omit .desktop files"
}
+src_configure() {
+ local mycmakeargs
+
+ if use filemanager ; then
+ mycmakeargs=(
+ -DWITH_Baloo=OFF
+ -DWITH_BalooWidgets=OFF
+ -DWITH_KFileMetaData=OFF
+ )
+ fi
+
+ kde4-meta_src_configure
+}
+
pkg_postinst() {
kde4-meta_pkg_postinst
- if ! has_version kde-apps/dolphin:${SLOT} ; then
- elog "If you want to use konqueror as a filemanager, install the dolphin kpart:"
- elog "kde-apps/dolphin:${SLOT}"
+ if use filemanager && ! has_version media-gfx/icoutils ; then
+ elog "For .exe file preview support, install media-gfx/icoutils."
fi
if ! has_version virtual/jre ; then
diff --git a/kde-apps/konqueror/konqueror-9999.ebuild b/kde-apps/konqueror/konqueror-9999.ebuild
index 4e181da..8dd0e92 100644
--- a/kde-apps/konqueror/konqueror-9999.ebuild
+++ b/kde-apps/konqueror/konqueror-9999.ebuild
@@ -14,12 +14,17 @@ HOMEPAGE="
https://konqueror.org/
"
KEYWORDS=""
-IUSE="+bookmarks debug svg"
+IUSE="+bookmarks debug +filemanager svg"
# 4 of 4 tests fail. Last checked for 4.0.3
RESTRICT="test"
DEPEND="
$(add_kdeapps_dep libkonq)
+ filemanager? (
+ $(add_kdebase_dep kactivities '' 4.13)
+ media-libs/phonon[qt4]
+ x11-libs/libXrender
+ )
"
# bug #544630: evince[nsplugin] crashes konqueror
@@ -28,8 +33,18 @@ RDEPEND="${DEPEND}
$(add_kdeapps_dep kfmclient)
$(add_kdeapps_dep kurifilter-plugins)
bookmarks? ( $(add_kdeapps_dep keditbookmarks) )
+ filemanager? (
+ $(add_kdeapps_dep kdebase-kioslaves)
+ $(add_kdeapps_dep kfind)
+ $(add_kdeapps_dep konsolepart)
+ )
svg? ( $(add_kdeapps_dep svgpart) )
!app-text/evince[nsplugin]
+ !kde-apps/dolphin:4
+"
+
+KMEXTRA="
+ dolphin/
"
KMEXTRACTONLY="
@@ -40,6 +55,14 @@ KMEXTRACTONLY="
src_prepare() {
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc
+ use filemanager || cmake_comment_add_subdirectory dolphin
+
+ # required for dolphin
+ sed -e "/konq_copytomenu.h/ s/# //" \
+ -e "/konq_copytomenu.h/ s/ - anyone needs it?//" \
+ -i lib/konq/CMakeLists.txt \
+ || die "Failed to fix libkonq CMakeLists.txt"
+
kde4-meta_src_prepare
# Do not install *.desktop files for kfmclient
@@ -47,12 +70,25 @@ src_prepare() {
|| die "Failed to omit .desktop files"
}
+src_configure() {
+ local mycmakeargs
+
+ if use filemanager ; then
+ mycmakeargs=(
+ -DWITH_Baloo=OFF
+ -DWITH_BalooWidgets=OFF
+ -DWITH_KFileMetaData=OFF
+ )
+ fi
+
+ kde4-meta_src_configure
+}
+
pkg_postinst() {
kde4-meta_pkg_postinst
- if ! has_version kde-apps/dolphin:${SLOT} ; then
- elog "If you want to use konqueror as a filemanager, install the dolphin kpart:"
- elog "kde-apps/dolphin:${SLOT}"
+ if use filemanager && ! has_version media-gfx/icoutils ; then
+ elog "For .exe file preview support, install media-gfx/icoutils."
fi
if ! has_version virtual/jre ; then
diff --git a/kde-apps/konqueror/metadata.xml b/kde-apps/konqueror/metadata.xml
index c1da49e..146bea6 100644
--- a/kde-apps/konqueror/metadata.xml
+++ b/kde-apps/konqueror/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<use>
<flag name="bookmarks">Add dependency on bookmark package.</flag>
+ <flag name="filemanager">Install the dolphin kpart for use as a file manager.</flag>
</use>
</pkgmetadata>
next reply other threads:[~2016-07-09 18:07 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-09 18:07 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-16 11:50 [gentoo-commits] proj/kde:master commit in: kde-apps/konqueror/ Andreas Sturmlechner
2024-06-23 14:04 Andreas Sturmlechner
2024-03-15 14:07 Andreas Sturmlechner
2024-03-03 9:38 Andreas Sturmlechner
2024-02-23 6:26 Sam James
2024-02-23 4:49 Sam James
2023-12-21 11:46 Andreas Sturmlechner
2023-11-11 20:05 Andreas Sturmlechner
2023-10-14 19:52 Andreas Sturmlechner
2023-07-06 12:00 Andreas Sturmlechner
2022-10-06 9:02 Andreas Sturmlechner
2022-08-04 9:35 Andreas Sturmlechner
2021-09-16 18:55 Andreas Sturmlechner
2021-05-12 7:50 Andreas Sturmlechner
2021-04-16 19:37 Andreas Sturmlechner
2021-04-04 19:21 Andreas Sturmlechner
2020-09-07 15:07 Andreas Sturmlechner
2020-07-21 11:17 Andreas Sturmlechner
2020-01-14 19:23 Andreas Sturmlechner
2020-01-07 19:42 Andreas Sturmlechner
2020-01-06 20:14 Andreas Sturmlechner
2020-01-05 12:25 Andreas Sturmlechner
2020-01-04 13:49 Andreas Sturmlechner
2019-01-19 12:22 Andreas Sturmlechner
2018-12-13 22:24 Andreas Sturmlechner
2018-08-06 23:59 Andreas Sturmlechner
2018-05-03 11:40 Andreas Sturmlechner
2018-02-04 21:14 Andreas Sturmlechner
2016-11-24 13:01 Michael Palimaka
2016-11-19 10:47 Michael Palimaka
2016-11-13 17:48 Michael Palimaka
2016-11-12 10:55 Michael Palimaka
2016-10-22 14:29 Michael Palimaka
2016-09-25 17:39 Michael Palimaka
2016-09-21 14:37 Michael Palimaka
2016-08-04 12:28 Michael Palimaka
2016-08-02 21:22 Johannes Huber
2016-08-02 21:22 Johannes Huber
2016-07-20 15:18 Michael Palimaka
2016-07-18 20:42 Johannes Huber
2016-04-04 22:51 Johannes Huber
2015-07-01 20:08 Johannes Huber
2015-06-12 19:09 Michael Palimaka
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=1468087572.77a1463d2b54754a79129baa63dc14b0b0139459.johu@gentoo \
--to=johu@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