diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /kde-apps/kdebase-kioslaves |
reinit the tree, so we can have metadata
Diffstat (limited to 'kde-apps/kdebase-kioslaves')
5 files changed, 163 insertions, 0 deletions
diff --git a/kde-apps/kdebase-kioslaves/Manifest b/kde-apps/kdebase-kioslaves/Manifest new file mode 100644 index 000000000000..613c0896330c --- /dev/null +++ b/kde-apps/kdebase-kioslaves/Manifest @@ -0,0 +1,7 @@ +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 1205 SHA256 2c89f3720b0560c419339e50c887824ad27986d9c472cf3a31609e71f342233f SHA512 46a8b7e4fae40f9fe6a81fedbbbd739152378fff9e17c020c233d0f22f92d13a9ec2c81adba8ba45871c0426d35926f12afe12ddc4043be981fe035536e258d6 WHIRLPOOL cced7d8d94698957f92e967eb891869950c84bfc14c40fc944bb3a87d589ed1b724adbb709a9203fe59bd58fea7f330244207b05b3c73b36233034a8cd1107b5 +MISC ChangeLog 9103 SHA256 ee6bc3e5909f0855517e9c6fd535c2a9de8da8dd500aa7b2e7103b8775be4095 SHA512 86bcc0fed5a557bc35c5f31ed0d1aa971f56c97af82cf4e28f4df905a6c9edaef1c0e9478734d2f2e63488f597a500d33f793b321c02ac19179ddb4699be30b8 WHIRLPOOL ef6d41f4e8bda2f9f3cd7311e6116b7800fb342c6837271f735c6ba31bfeebe608a814e569c77047aea56940ca167b23f4c07c10ee742a1aec33f4b14da9dced +MISC ChangeLog-2015 52661 SHA256 04da1283d6b94cfee998ee389a4c05cf2edb59e87d988334cda14dcb71cf957e SHA512 07e7f9669e619985ae06c280736661bba9a8da688e7bc9586bd950e89b0cb07126d6241dedac947607156e8d1dc96d9e9444ae5c9220035a70f3609190b72ed5 WHIRLPOOL 843a740e1411bc8f239979fe19d9bae1fe88f6fa37cbe292c458796adc14da79b5b4af6c3e9c12d7b96f5de94a7f1e72b4931a00475f90aa3330f1b080ea431b +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 000000000000..487f408a5e0b --- /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 000000000000..0a4d19ef03ee --- /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 000000000000..88a155725b6b --- /dev/null +++ b/kde-apps/kdebase-kioslaves/kdebase-kioslaves-16.04.3-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 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 000000000000..931ef76cfbac --- /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> |