[arch-commits] Commit in kio-extras/repos (3 files)
Date: Saturday, March 21, 2020 @ 10:09:02 Author: arojas Revision: 378200 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kio-extras/repos/kde-unstable-x86_64/ kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 378199, kio-extras/kde-unstable/PKGBUILD) kio-extras/repos/kde-unstable-x86_64/kio-extras-kdsoap.patch (from rev 378199, kio-extras/kde-unstable/kio-extras-kdsoap.patch) -+ PKGBUILD| 44 kio-extras-kdsoap.patch | 12 2 files changed, 56 insertions(+) Copied: kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 378199, kio-extras/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2020-03-21 10:09:02 UTC (rev 378200) @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=20.03.80 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities-stats phonon-qt5 syntax-highlighting kdsoap-ws-discovery-client) +makedepends=(extra-cmake-modules kdoctools gperf taglib libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' 'perl: info kioslave' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} + kio-extras-kdsoap.patch) +sha256sums=('f041f2a7c13eaaf3e486a4ea39208b0e2c2e9f422e234cc392e7ad4396d36ce7' +'SKIP' +'4e3504556cdd01cf638d2957e55a7c09a304a64eee59a542165204181bb04492') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-kdsoap.patch # Fix build with external kdsoap-ws-discovery-client +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DLIBAPPIMAGE_LIBRARIES=libappimage.so \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/kde-unstable-x86_64/kio-extras-kdsoap.patch (from rev 378199, kio-extras/kde-unstable/kio-extras-kdsoap.patch) === --- kde-unstable-x86_64/kio-extras-kdsoap.patch (rev 0) +++ kde-unstable-x86_64/kio-extras-kdsoap.patch 2020-03-21 10:09:02 UTC (rev 378200) @@ -0,0 +1,12 @@ +diff --git a/smb/CMakeLists.txt b/smb/CMakeLists.txt +index 45cd1f11..b4d59160 100644 +--- a/smb/CMakeLists.txt b/smb/CMakeLists.txt +@@ -3,6 +3,7 @@ find_package(KDSoapWSDiscoveryClient QUIET) + set(INTERNAL_WSDCLIENT ${BUILD_KDSoapWSDiscoveryClient}) + if(KDSoapWSDiscoveryClient_FOUND) + set(INTERNAL_WSDCLIENT OFF) ++find_package(KDSoap) + endif() + if(INTERNAL_WSDCLIENT) + # Special internal version, mangled to be a STATIC lib.
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Monday, November 18, 2019 @ 00:19:18 Author: arojas Revision: 369162 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kio-extras/repos/kde-unstable-x86_64/ kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 369161, kio-extras/kde-unstable/PKGBUILD) kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 369161, kio-extras/kde-unstable/kio-extras-rpc.patch) --+ PKGBUILD | 44 kio-extras-rpc.patch | 45 + 2 files changed, 89 insertions(+) Copied: kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 369161, kio-extras/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2019-11-18 00:19:18 UTC (rev 369162) @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=19.11.80 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities-stats phonon-qt5 syntax-highlighting) +makedepends=(extra-cmake-modules kdoctools gperf taglib libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('7d487eee91e5156c82ce58f7699af329b9e6a58f4f5a8f55f987851b827ba1c5' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DLIBAPPIMAGE_LIBRARIES=libappimage.so \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 369161, kio-extras/kde-unstable/kio-extras-rpc.patch) === --- kde-unstable-x86_64/kio-extras-rpc.patch(rev 0) +++ kde-unstable-x86_64/kio-extras-rpc.patch2019-11-18 00:19:18 UTC (rev 369162) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Friday, October 18, 2019 @ 23:39:34 Author: arojas Revision: 365182 archrelease: copy trunk to staging-x86_64 Added: kio-extras/repos/staging-x86_64/ kio-extras/repos/staging-x86_64/PKGBUILD (from rev 365181, kio-extras/trunk/PKGBUILD) kio-extras/repos/staging-x86_64/kio-extras-rpc.patch (from rev 365181, kio-extras/trunk/kio-extras-rpc.patch) --+ PKGBUILD | 44 kio-extras-rpc.patch | 45 + 2 files changed, 89 insertions(+) Copied: kio-extras/repos/staging-x86_64/PKGBUILD (from rev 365181, kio-extras/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-10-18 23:39:34 UTC (rev 365182) @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=19.08.2 +pkgrel=2 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities syntax-highlighting) +makedepends=(extra-cmake-modules kdoctools gperf taglib khtml libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave' 'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('a0b8f08ab8f9d36cfdc950470f75726e90e9fba159bc2035931cfa6efbfe4394' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DLIBAPPIMAGE_LIBRARIES=libappimage.so \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/staging-x86_64/kio-extras-rpc.patch (from rev 365181, kio-extras/trunk/kio-extras-rpc.patch) === --- staging-x86_64/kio-extras-rpc.patch (rev 0) +++ staging-x86_64/kio-extras-rpc.patch 2019-10-18 23:39:34 UTC (rev 365182) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Tuesday, August 20, 2019 @ 09:05:11 Author: felixonmars Revision: 360372 archrelease: copy trunk to testing-x86_64 Added: kio-extras/repos/testing-x86_64/ kio-extras/repos/testing-x86_64/PKGBUILD (from rev 360371, kio-extras/trunk/PKGBUILD) kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 360371, kio-extras/trunk/kio-extras-rpc.patch) --+ PKGBUILD | 46 ++ kio-extras-rpc.patch | 45 + 2 files changed, 91 insertions(+) Copied: kio-extras/repos/testing-x86_64/PKGBUILD (from rev 360371, kio-extras/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-08-20 09:05:11 UTC (rev 360372) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=19.08.0 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities syntax-highlighting) +makedepends=(extra-cmake-modules kdoctools gperf taglib khtml libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave' 'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('792a6a6d1ea2457dda10aedc6cefd3518064c8f47c62f9c3c4a508442b83d3cd' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DLIBAPPIMAGE_LIBRARIES=libappimage.so \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 360371, kio-extras/trunk/kio-extras-rpc.patch) === --- testing-x86_64/kio-extras-rpc.patch (rev 0) +++ testing-x86_64/kio-extras-rpc.patch 2019-08-20 09:05:11 UTC (rev 360372) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Friday, July 19, 2019 @ 19:54:58 Author: arojas Revision: 358331 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kio-extras/repos/kde-unstable-x86_64/ kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 358330, kio-extras/kde-unstable/PKGBUILD) kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 358330, kio-extras/kde-unstable/kio-extras-rpc.patch) --+ PKGBUILD | 46 ++ kio-extras-rpc.patch | 45 + 2 files changed, 91 insertions(+) Copied: kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 358330, kio-extras/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2019-07-19 19:54:58 UTC (rev 358331) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=19.07.80 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities syntax-highlighting) +makedepends=(extra-cmake-modules kdoctools gperf taglib khtml libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave' 'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('a65ff087d9f3a78f34c08e0e8c01a0bd53c9b6fb36099277c69fcec08fb4cdb3' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DLIBAPPIMAGE_LIBRARIES=libappimage.so \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 358330, kio-extras/kde-unstable/kio-extras-rpc.patch) === --- kde-unstable-x86_64/kio-extras-rpc.patch(rev 0) +++ kde-unstable-x86_64/kio-extras-rpc.patch2019-07-19 19:54:58 UTC (rev 358331) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Saturday, April 20, 2019 @ 16:47:28 Author: arojas Revision: 351119 archrelease: copy trunk to testing-x86_64 Added: kio-extras/repos/testing-x86_64/ kio-extras/repos/testing-x86_64/PKGBUILD (from rev 351117, kio-extras/trunk/PKGBUILD) kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 351117, kio-extras/trunk/kio-extras-rpc.patch) --+ PKGBUILD | 46 ++ kio-extras-rpc.patch | 45 + 2 files changed, 91 insertions(+) Copied: kio-extras/repos/testing-x86_64/PKGBUILD (from rev 351117, kio-extras/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-04-20 16:47:28 UTC (rev 351119) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=19.04.0 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities syntax-highlighting) +makedepends=(extra-cmake-modules kdoctools gperf taglib khtml libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave' 'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('0f3f2eaf40512cf4a61b09b94ca365d7d05c7b1a75f4e8afd047143a8e962d85' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DLIBAPPIMAGE_LIBRARIES=libappimage.so \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 351117, kio-extras/trunk/kio-extras-rpc.patch) === --- testing-x86_64/kio-extras-rpc.patch (rev 0) +++ testing-x86_64/kio-extras-rpc.patch 2019-04-20 16:47:28 UTC (rev 351119) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Monday, April 1, 2019 @ 20:13:36 Author: arojas Revision: 349562 archrelease: copy trunk to staging-x86_64 Added: kio-extras/repos/staging-x86_64/ kio-extras/repos/staging-x86_64/PKGBUILD (from rev 349561, kio-extras/trunk/PKGBUILD) kio-extras/repos/staging-x86_64/kio-extras-rpc.patch (from rev 349561, kio-extras/trunk/kio-extras-rpc.patch) --+ PKGBUILD | 46 ++ kio-extras-rpc.patch | 45 + 2 files changed, 91 insertions(+) Copied: kio-extras/repos/staging-x86_64/PKGBUILD (from rev 349561, kio-extras/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-04-01 20:13:36 UTC (rev 349562) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=18.12.3 +pkgrel=2 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities) +makedepends=(extra-cmake-modules kdoctools gperf taglib khtml libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave' 'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('f8879abaea6fcf31ee0bd4a55d0c24a5fded6d61abed1b059f704f797793aef2' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DLIBAPPIMAGE_LIBRARIES=libappimage.so \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/staging-x86_64/kio-extras-rpc.patch (from rev 349561, kio-extras/trunk/kio-extras-rpc.patch) === --- staging-x86_64/kio-extras-rpc.patch (rev 0) +++ staging-x86_64/kio-extras-rpc.patch 2019-04-01 20:13:36 UTC (rev 349562) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Saturday, March 23, 2019 @ 00:45:30 Author: arojas Revision: 349057 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kio-extras/repos/kde-unstable-x86_64/ kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 349056, kio-extras/kde-unstable/PKGBUILD) kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 349056, kio-extras/kde-unstable/kio-extras-rpc.patch) --+ PKGBUILD | 46 ++ kio-extras-rpc.patch | 45 + 2 files changed, 91 insertions(+) Copied: kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 349056, kio-extras/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2019-03-23 00:45:30 UTC (rev 349057) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=19.03.80 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities syntax-highlighting) +makedepends=(extra-cmake-modules kdoctools gperf taglib khtml libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave' 'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('4d5b6b85280218764550e02c855f2f25d3ba17a07e80122c94ce11da7f4192ef' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DLIBAPPIMAGE_LIBRARIES=libappimage.so \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 349056, kio-extras/kde-unstable/kio-extras-rpc.patch) === --- kde-unstable-x86_64/kio-extras-rpc.patch(rev 0) +++ kde-unstable-x86_64/kio-extras-rpc.patch2019-03-23 00:45:30 UTC (rev 349057) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Thursday, December 13, 2018 @ 11:57:30 Author: arojas Revision: 341796 archrelease: copy trunk to testing-x86_64 Added: kio-extras/repos/testing-x86_64/ kio-extras/repos/testing-x86_64/PKGBUILD (from rev 341795, kio-extras/trunk/PKGBUILD) kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 341795, kio-extras/trunk/kio-extras-rpc.patch) --+ PKGBUILD | 45 + kio-extras-rpc.patch | 45 + 2 files changed, 90 insertions(+) Copied: kio-extras/repos/testing-x86_64/PKGBUILD (from rev 341795, kio-extras/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-12-13 11:57:30 UTC (rev 341796) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=18.12.0 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities) +makedepends=(extra-cmake-modules kdoctools gperf taglib khtml libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave' 'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('c5ac845efcc37f1710d3a5204181bbb27f9bd06429ec95d018c63bc2503d74e9' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 341795, kio-extras/trunk/kio-extras-rpc.patch) === --- testing-x86_64/kio-extras-rpc.patch (rev 0) +++ testing-x86_64/kio-extras-rpc.patch 2018-12-13 11:57:30 UTC (rev 341796) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Saturday, November 17, 2018 @ 01:10:04 Author: arojas Revision: 339959 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kio-extras/repos/kde-unstable-x86_64/ kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 339958, kio-extras/kde-unstable/PKGBUILD) kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 339958, kio-extras/kde-unstable/kio-extras-rpc.patch) --+ PKGBUILD | 45 + kio-extras-rpc.patch | 45 + 2 files changed, 90 insertions(+) Copied: kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 339958, kio-extras/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2018-11-17 01:10:04 UTC (rev 339959) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=18.11.80 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities) +makedepends=(extra-cmake-modules kdoctools gperf taglib khtml libappimage) +optdepends=('qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave' 'phonon-qt5: audio file previews' 'libappimage: AppImage thumbnails') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('c0d7e7509382e071cb552f2a33a624e4f7f74c62044ec182d080aa78600808de' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 339958, kio-extras/kde-unstable/kio-extras-rpc.patch) === --- kde-unstable-x86_64/kio-extras-rpc.patch(rev 0) +++ kde-unstable-x86_64/kio-extras-rpc.patch2018-11-17 01:10:04 UTC (rev 339959) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Monday, August 20, 2018 @ 20:53:22 Author: arojas Revision: 332717 archrelease: copy trunk to testing-x86_64 Added: kio-extras/repos/testing-x86_64/ kio-extras/repos/testing-x86_64/PKGBUILD (from rev 332716, kio-extras/trunk/PKGBUILD) kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 332716, kio-extras/trunk/kio-extras-rpc.patch) --+ PKGBUILD | 46 ++ kio-extras-rpc.patch | 45 + 2 files changed, 91 insertions(+) Copied: kio-extras/repos/testing-x86_64/PKGBUILD (from rev 332716, kio-extras/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-08-20 20:53:22 UTC (rev 332717) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=18.08.0 +pkgrel=3 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities) +makedepends=(extra-cmake-modules kdoctools qt5-webengine gperf taglib khtml) +optdepends=('qt5-webengine: HTML thumbnailer' 'qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('764cb0e970da6df0e775d8eb793930005e893e8a2093fdb4a54ef36fc4ffaacc' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 332716, kio-extras/trunk/kio-extras-rpc.patch) === --- testing-x86_64/kio-extras-rpc.patch (rev 0) +++ testing-x86_64/kio-extras-rpc.patch 2018-08-20 20:53:22 UTC (rev 332717) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Sunday, August 19, 2018 @ 08:58:41 Author: arojas Revision: 332630 archrelease: copy trunk to staging-x86_64 Added: kio-extras/repos/staging-x86_64/ kio-extras/repos/staging-x86_64/PKGBUILD (from rev 332629, kio-extras/trunk/PKGBUILD) kio-extras/repos/staging-x86_64/kio-extras-rpc.patch (from rev 332629, kio-extras/trunk/kio-extras-rpc.patch) --+ PKGBUILD | 47 +++ kio-extras-rpc.patch | 45 + 2 files changed, 92 insertions(+) Copied: kio-extras/repos/staging-x86_64/PKGBUILD (from rev 332629, kio-extras/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-08-19 08:58:41 UTC (rev 332630) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=18.08.0 +pkgrel=2 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities) +makedepends=(extra-cmake-modules kdoctools qt5-webengine gperf taglib khtml) +optdepends=('qt5-webengine: HTML thumbnailer' 'qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('764cb0e970da6df0e775d8eb793930005e893e8a2093fdb4a54ef36fc4ffaacc' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} + Copied: kio-extras/repos/staging-x86_64/kio-extras-rpc.patch (from rev 332629, kio-extras/trunk/kio-extras-rpc.patch) === --- staging-x86_64/kio-extras-rpc.patch (rev 0) +++ staging-x86_64/kio-extras-rpc.patch 2018-08-19 08:58:41 UTC (rev 332630) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Friday, August 17, 2018 @ 14:51:52 Author: arojas Revision: 331819 archrelease: copy trunk to testing-x86_64 Added: kio-extras/repos/testing-x86_64/ kio-extras/repos/testing-x86_64/PKGBUILD (from rev 331818, kio-extras/trunk/PKGBUILD) kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 331818, kio-extras/trunk/kio-extras-rpc.patch) --+ PKGBUILD | 47 +++ kio-extras-rpc.patch | 45 + 2 files changed, 92 insertions(+) Copied: kio-extras/repos/testing-x86_64/PKGBUILD (from rev 331818, kio-extras/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-08-17 14:51:52 UTC (rev 331819) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=18.08.0 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities) +makedepends=(extra-cmake-modules kdoctools qt5-webengine gperf taglib khtml) +optdepends=('qt5-webengine: HTML thumbnailer' 'qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('764cb0e970da6df0e775d8eb793930005e893e8a2093fdb4a54ef36fc4ffaacc' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} + Copied: kio-extras/repos/testing-x86_64/kio-extras-rpc.patch (from rev 331818, kio-extras/trunk/kio-extras-rpc.patch) === --- testing-x86_64/kio-extras-rpc.patch (rev 0) +++ testing-x86_64/kio-extras-rpc.patch 2018-08-17 14:51:52 UTC (rev 331819) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)
[arch-commits] Commit in kio-extras/repos (3 files)
Date: Friday, July 20, 2018 @ 22:44:21 Author: arojas Revision: 329288 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kio-extras/repos/kde-unstable-x86_64/ kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 329287, kio-extras/kde-unstable/PKGBUILD) kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 329287, kio-extras/kde-unstable/kio-extras-rpc.patch) --+ PKGBUILD | 47 +++ kio-extras-rpc.patch | 45 + 2 files changed, 92 insertions(+) Copied: kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 329287, kio-extras/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2018-07-20 22:44:21 UTC (rev 329288) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kio-extras +pkgver=18.07.80 +pkgrel=1 +pkgdesc="Additional components to increase the functionality of KIO" +arch=(x86_64) +url='https://www.kde.org/applications/internet/' +license=(LGPL) +depends=(kio kdnssd libssh smbclient exiv2 openexr libmtp kpty kactivities) +makedepends=(extra-cmake-modules kdoctools qt5-webengine gperf taglib khtml) +optdepends=('qt5-webengine: HTML thumbnailer' 'qt5-imageformats: thumbnails for additional image formats' +'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails' +'khtml: man kioslave') +groups=(kde-applications kdenetwork) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} +kio-extras-rpc.patch) +sha256sums=('793a54f22fc2ed3e2f80582eebda8941006b2a966ec1facadabc7cbfb653181d' +'SKIP' +'94d9fd44daddb07fcd18d4c49c379838bdc5e4f0bdd9e03519814295eb6b7895') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kio-extras-rpc.patch # fix build of kio-nfs with glibc 2.27 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} + Copied: kio-extras/repos/kde-unstable-x86_64/kio-extras-rpc.patch (from rev 329287, kio-extras/kde-unstable/kio-extras-rpc.patch) === --- kde-unstable-x86_64/kio-extras-rpc.patch(rev 0) +++ kde-unstable-x86_64/kio-extras-rpc.patch2018-07-20 22:44:21 UTC (rev 329288) @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 97528179..bf82cfac 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -170,9 +170,9 @@ if(NOT WIN32) +if(Gperf_FOUND AND KF5KHtml_FOUND) + add_subdirectory( man ) +endif() +- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) +- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") +- if(HAVE_RPC_RPC_H) ++ find_path(RPC_H_DIR rpc/rpc.h PATH_SUFFIXES tirpc) ++ add_feature_info("NFS kioslave" RPC_H_DIR "The RPC library is needed to build the NFS kioslave") ++ if(RPC_H_DIR) + add_subdirectory( nfs ) +endif() + endif() +diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +index 3dce1c1e..461620c7 100644 +--- a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt +@@ -1,6 +1,11 @@ + ## Check for XDR functions + include(CheckFunctionExists) + ++if (${RPC_H_DIR} MATCHES tirpc) ++ find_library(TIRPC_LIB tirpc) ++endif() ++set(CMAKE_REQUIRED_LIBRARIES ${TIRPC_LIB}) ++ + CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T) + CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T) + CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER) +@@ -24,9 +29,10 @@ if (HAVE_XDR_U_LONGLONG_T) + endif (HAVE_XDR_U_LONGLONG_T) + + add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\") ++include_directories(${RPC_H_DIR}) + + add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c) +-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network) ++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIB}) + set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs") + + install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio)