aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2018-01-12 08:14:37 +0100
committerAstroFloyd <AstroFloyd@gmail.com>2018-01-12 08:14:37 +0100
commit2a33cf3dcd870412c77a3157dac8b84c3b422903 (patch)
tree32cfaff1764416e899d02e1b8ceb3aa0f69c34b4
parentkde-apps/phonon-kde: copy from portage to keep until Plasma-5 version of Amar... (diff)
downloadAstroFloyd-2a33cf3dcd870412c77a3157dac8b84c3b422903.zip
AstroFloyd-2a33cf3dcd870412c77a3157dac8b84c3b422903.tar.gz
AstroFloyd-2a33cf3dcd870412c77a3157dac8b84c3b422903.tar.bz2
kde-apps/kdebase-kioslaves: copy from portage to keep until Plasma-5 version of Amarok is released
Package-Manager: Portage-2.3.13, Repoman-2.3.3
-rw-r--r--kde-apps/kdebase-kioslaves/ChangeLog8
-rw-r--r--kde-apps/kdebase-kioslaves/Manifest6
-rw-r--r--kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-16.04.3-perl-5.22.patch37
-rw-r--r--kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-16.04.3-webkit.patch50
-rw-r--r--kde-apps/kdebase-kioslaves/kdebase-kioslaves-16.04.3-r2.ebuild58
-rw-r--r--kde-apps/kdebase-kioslaves/metadata.xml11
6 files changed, 170 insertions, 0 deletions
diff --git a/kde-apps/kdebase-kioslaves/ChangeLog b/kde-apps/kdebase-kioslaves/ChangeLog
new file mode 100644
index 0000000..0d2ade3
--- /dev/null
+++ b/kde-apps/kdebase-kioslaves/ChangeLog
@@ -0,0 +1,8 @@
+*kdebase-kioslaves-16.04.3-r2 (12 Jan 2018)
+
+ 12 Jan 2018; AstroFloyd <AstroFloyd@gmail.com>
+ +files/kdebase-kioslaves-16.04.3-perl-5.22.patch,
+ +files/kdebase-kioslaves-16.04.3-webkit.patch,
+ +kdebase-kioslaves-16.04.3-r2.ebuild, +metadata.xml:
+ kde-apps/kdebase-kioslaves: copy from portage to keep until Plasma-5 version
+ of Amarok is released
diff --git a/kde-apps/kdebase-kioslaves/Manifest b/kde-apps/kdebase-kioslaves/Manifest
new file mode 100644
index 0000000..009582a
--- /dev/null
+++ b/kde-apps/kdebase-kioslaves/Manifest
@@ -0,0 +1,6 @@
+AUX kdebase-kioslaves-16.04.3-perl-5.22.patch 1532 SHA256 f67a9fbb3f541acfec2d8e95faeaf372ef80b8c0c50d1f9795bbb27aa99ac8d2 SHA512 feef68d8e1d76112762ddff2b0228ed5ed8ebd7a28144b8604014217fcc226cfddc39574c890a3c03c9d6a50db2678c4cce605e08a0b5a9bf0024c9d53d9728d WHIRLPOOL 7d325ce8c97d7792864d51a8910555cc0fbf2cc3369dda4c881a03dacfd8500261a0a1d922f3bb88e43afc460a5f0bf372df5d013a328611bd0d308b6a611a2c
+AUX kdebase-kioslaves-16.04.3-webkit.patch 1790 SHA256 f5aa7221fffa011e5c4d3a9ca84094aba8db33b917cc311ef4b1d972e6adf830 SHA512 6fb7fcab014a878cd63c57a71ce4800a4672ce51784b16e2923c734c61c7d9c968182a30f0813f5f5807f64144520b9ed0e8a5779e82221a05c94063f131d2ea WHIRLPOOL 5904963cc4cb706c50729f92f9371673fc6e77a23158c79c05e3e8dff03a2ecc5d66be9553e079918731351a7edf243fa58a3bd33df8278be01aaaa605adc933
+DIST kde-runtime-16.04.3.tar.xz 7903920 SHA256 690e0f848b305b8a2491dbcd01b6e511d64c98d991226cd8a1dc35f23372505d SHA512 df52cd4c423030d3457bb907eb0bef0cdd3c8bce283d9f181b7ae6b7b4ce9c59a34f874f9ac6d2bd59597647a3c6315d772b2551c739423378186d4debbb53ae WHIRLPOOL e4a4a6c3ab315517f757dce952db14e154d4674cf555e1315f018f10cc2a443deede74cf3d370f0c92ab839b35bce8bd360a958cd7edf1ae56720c5ec7d029b5
+EBUILD kdebase-kioslaves-16.04.3-r2.ebuild 1207 SHA256 8e4761bd98b7bfbda4d9952f0bee841ac5d2955098f33f1aeba57d327c8e6a1b SHA512 cf4af2ed66ff27d12e4cd9165cec100451365b31821925ba123eb4232ace8b2ad32523eda92b8eb3d563f5a1575aaf2a4a9fc7ff0012cd819d7c4d4905c54662 WHIRLPOOL a04982c42b7968b691e2276b5797e20eb38237420eb348c43597813ea7b9cb49cbcd1221f0e0fa243224c7516d20f337a0dff75c5e35afca4f7980d5f8ff00b1
+MISC ChangeLog 353 SHA256 bf189d225faaa5f06b604e6937482a945904055aa7a8a8c36ef2c99db6f170c4 SHA512 f1fab6cb2336a40532c398245721068e58d8c8015b2ebbd8dab47b94c11e0c918b2c4f6f4b3da3e337819a15312e3812fdd2d4debe26976bc479711383e5b01f WHIRLPOOL cfa569fe49b4e9922f392032f85bba004f0dcaaad495d80010a7e53bdce3c14b8cbf1d103511a768d12d588be92cb037da1bbdff3daaae087c820dd46382ee6d
+MISC metadata.xml 353 SHA256 be4e62f4aa8bee4a03fdc805937de2e098d4334de0ed0a21d1d9b83aabf274a9 SHA512 2229640c6ff1e0337fc4c3964359b1b91b1705466343788203fa6e899b25c06854fed4a23caac12bf52c413a45379b3236494dd760945067eb6162640c640e84 WHIRLPOOL 270c104976072937b3bbf931aee133c128abaf21673f6226e1b6eff22a4a50f774864767ca0dc2b3c029f8fa63d81940772dfa2fff4bc7a2b9a1ec1f04870b65
diff --git a/kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-16.04.3-perl-5.22.patch b/kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-16.04.3-perl-5.22.patch
new file mode 100644
index 0000000..487f408
--- /dev/null
+++ b/kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-16.04.3-perl-5.22.patch
@@ -0,0 +1,37 @@
+commit 36139181fff43c227023f4c03c1e1a31e1be9dda
+Author: Tomáš Trnka <tomastrnka@gmx.com>
+Date: Thu Jul 21 21:34:53 2016 +0200
+
+ info: remove extra defined(@array)
+
+ Such syntax is long deprecated and a fatal error in Perl 5.22.0 [1].
+
+ This commit is the KDE4 equivalent of kio-extras.git commit
+ af92d6180d479d1e56bc549bbda30a3036687182.
+
+ BUG: 359015
+
+ [1] http://perldoc.perl.org/perl5220delta.html
+
+diff --git a/kioslave/info/kde-info2html b/kioslave/info/kde-info2html
+index 8dcc28f..0f217ae 100755
+--- a/kioslave/info/kde-info2html
++++ b/kioslave/info/kde-info2html
+@@ -171,7 +171,7 @@ sub FileNotFound {
+ next if $looking && !/\* Menu/;
+ $looking = 0;
+ my @item = &ParseMenuItem($_,'dir');
+- if (!defined(@item)) { next }
++ if (!@item) { next }
+ my ($MenuLinkTag, $MenuLinkFile, $MenuLinkRef, $MenuLinkText) = @item;
+ if ($MenuLinkRef eq $FileName) {
+ &Redirect($MenuLinkFile, $MenuLinkTag);
+@@ -429,7 +429,7 @@ sub ParseMenuItem {
+ sub MenuItem2HTML {
+ my ($Line, $BaseInfoFile) = @_;
+ my @parse_results = &ParseMenuItem($Line, $BaseInfoFile);
+- if (!defined (@parse_results)) { return $Line; }
++ if (!@parse_results) { return $Line; }
+ my ($MenuLinkTag, $MenuLinkFile, $MenuLinkRef, $MenuLinkText) = @parse_results;
+ #-- produce a HTML line
+ return "<tr class=\"infomenutr\"><td class=\"infomenutd\" style=\"width:30%\"><ul><li><a href=\"info:/$MenuLinkFile/$MenuLinkTag\">$MenuLinkRef</a></ul></td><td class=\"infomenutd\">$MenuLinkText";
diff --git a/kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-16.04.3-webkit.patch b/kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-16.04.3-webkit.patch
new file mode 100644
index 0000000..0a4d19e
--- /dev/null
+++ b/kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-16.04.3-webkit.patch
@@ -0,0 +1,50 @@
+commit 7209a3d7aa400f6dec72eb40ff21077a40110927
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Tue Jul 26 18:22:02 2016 +0200
+
+ [kioslave] Make KDEWEBKIT optional
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8b4d0f2..520c00a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -62,6 +62,8 @@ set_package_properties(LibGcrypt PROPERTIES DESCRIPTION "Libgcrypt is a general
+ # Build options
+ option(KDERUNTIME_BUILD_NEPOMUK "Build the Nepomuk KCM and kioslaves" FALSE)
+
++option(WITH_KDEWEBKIT "Build features depending on KDEWEBKIT (currently HTML thumbnailer)" TRUE)
++
+ check_include_files(sys/wait.h HAVE_SYS_WAIT_H)
+ check_include_files(sys/time.h HAVE_SYS_TIME_H)
+
+diff --git a/kioslave/thumbnail/CMakeLists.txt b/kioslave/thumbnail/CMakeLists.txt
+index 8f28a4e..2d37906 100644
+--- a/kioslave/thumbnail/CMakeLists.txt
++++ b/kioslave/thumbnail/CMakeLists.txt
+@@ -89,7 +89,7 @@ install(TARGETS textthumbnail DESTINATION ${PLUGIN_INSTALL_DIR})
+
+ ########### next target ###############
+
+-if(NOT WINCE)
++if(NOT WINCE AND WITH_KDEWEBKIT)
+ set(htmlthumbnail_PART_SRCS htmlcreator.cpp)
+
+ kde4_add_plugin(htmlthumbnail ${htmlthumbnail_PART_SRCS})
+@@ -97,7 +97,8 @@ kde4_add_plugin(htmlthumbnail ${htmlthumbnail_PART_SRCS})
+ target_link_libraries(htmlthumbnail ${KDE4_KDEWEBKIT_LIBS})
+
+ install(TARGETS htmlthumbnail DESTINATION ${PLUGIN_INSTALL_DIR})
+-endif(NOT WINCE)
++install(FILES htmlthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR})
++endif(NOT WINCE AND WITH_KDEWEBKIT)
+
+ ########### next target ###############
+
+@@ -189,7 +190,6 @@ install(FILES
+ imagethumbnail.desktop
+ jpegthumbnail.desktop
+ textthumbnail.desktop
+- htmlthumbnail.desktop
+ djvuthumbnail.desktop
+ desktopthumbnail.desktop
+ comicbookthumbnail.desktop
diff --git a/kde-apps/kdebase-kioslaves/kdebase-kioslaves-16.04.3-r2.ebuild b/kde-apps/kdebase-kioslaves/kdebase-kioslaves-16.04.3-r2.ebuild
new file mode 100644
index 0000000..c8cedef
--- /dev/null
+++ b/kde-apps/kdebase-kioslaves/kdebase-kioslaves-16.04.3-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="optional"
+KMNAME="kde-runtime"
+KMMODULE="kioslave"
+WEBKIT_REQUIRED="never"
+inherit kde4-meta
+
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="KDE VFS framework - kioslaves present a filesystem-like view of arbitrary data"
+IUSE="+bzip2 exif debug lzma openexr samba +sftp"
+
+# tests hang, last checked for 4.2.96
+RESTRICT="test"
+
+DEPEND="
+ virtual/jpeg:0
+ x11-libs/libXcursor
+ bzip2? ( app-arch/bzip2 )
+ exif? ( media-gfx/exiv2:= )
+ openexr? ( media-libs/openexr:= )
+ samba? ( >=net-fs/samba-4.0.0_alpha1[client] )
+ sftp? ( >=net-libs/libssh-0.4.0:=[sftp] )
+"
+RDEPEND="${DEPEND}
+ kde-apps/kdialog:*
+ kde-frameworks/kdelibs:4[bzip2?,lzma?]
+ virtual/ssh
+ !kernel_SunOS? ( virtual/eject )
+"
+
+KMEXTRA="
+ kioexec
+ kdeeject
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-webkit.patch"
+ "${FILESDIR}/${P}-perl-5.22.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_SLP=OFF
+ -DWITH_KDEWEBKIT=OFF
+ -DWITH_BZip2=$(usex bzip2)
+ -DWITH_Exiv2=$(usex exif)
+ -DWITH_LibLZMA=$(usex lzma)
+ -DWITH_OpenEXR=$(usex openexr)
+ -DWITH_Samba=$(usex samba)
+ -DWITH_LibSSH=$(usex sftp)
+ )
+
+ kde4-meta_src_configure
+}
diff --git a/kde-apps/kdebase-kioslaves/metadata.xml b/kde-apps/kdebase-kioslaves/metadata.xml
new file mode 100644
index 0000000..931ef76
--- /dev/null
+++ b/kde-apps/kdebase-kioslaves/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <use>
+ <flag name="sftp">Enable SFTP protocol support using <pkg>net-libs/libssh</pkg></flag>
+ </use>
+</pkgmetadata>