commit: 198799d5c4b4b124f95e784aaa489e5fb7e83ae1 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> AuthorDate: Sat Aug 26 17:55:49 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Mon Aug 28 07:21:23 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=198799d5
net-misc/cernbox-client: drop 3.2.0.10193 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com> Closes: https://github.com/gentoo/sci/pull/1214 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> .../cernbox-client-3.2.0.10193.ebuild | 92 ---------------------- .../owncloud-client-3.2.0.10193-fix-mirall.patch | 73 ----------------- 2 files changed, 165 deletions(-) diff --git a/net-misc/cernbox-client/cernbox-client-3.2.0.10193.ebuild b/net-misc/cernbox-client/cernbox-client-3.2.0.10193.ebuild deleted file mode 100644 index 476c2838e..000000000 --- a/net-misc/cernbox-client/cernbox-client-3.2.0.10193.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake rpm xdg - -DESCRIPTION="Synchronize files from CERNBox EOS with your computer" - -# Origin is classic owncloud-client, branded for CERN during compilation. -ORIGIN_PN="ownCloud" -BRANDED_P="cernbox" -BRANDED_PV="3.2.1" -BRANDED_REL="10562" -REGRAPHAPI_PV="1.0.1" -HOMEPAGE="https://cernbox.cern.ch/" -SRC_URI="https://download.owncloud.com/desktop/${ORIGIN_PN}/stable/${PV}/source/${ORIGIN_PN}-${PV}.tar.xz - https://cernboxdistr.web.cern.ch/cernboxdistr/Linux/repo.future/Fedora_37/src/${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm - https://cern.ch/ofreyerm/gentoo/cernbox/${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm - https://github.com/owncloud/libre-graph-api-cpp-qt-client/archive/refs/tags/v${REGRAPHAPI_PV}.tar.gz - -> libregraphapi-${REGRAPHAPI_PV}.tar.gz" - -LICENSE="CC-BY-3.0 GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dolphin keyring nautilus test" -RESTRICT="!test? ( test )" - -RDEPEND=">=dev-db/sqlite-3.4:3 - dev-libs/qtkeychain[keyring?,qt5(+)] - dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5[ssl] - dev-qt/qtsql:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - sys-fs/inotify-tools - dolphin? ( - kde-frameworks/kcoreaddons:5 - kde-frameworks/kio:5 - ) - nautilus? ( dev-python/nautilus-python )" - -DEPEND="${RDEPEND} - test? ( - dev-util/cmocka - dev-qt/qttest:5 - )" - -BDEPEND=" - dev-qt/linguist-tools:5 - kde-frameworks/extra-cmake-modules" - -S=${WORKDIR}/${ORIGIN_PN}-${PV} - -src_unpack() { - rpm_src_unpack ${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm || die "failed to extract branding RPM" - mv ${PN%-*}-${BRANDED_PV}.${BRANDED_REL}/branding "${S}" || die "failed to extract branding" -} - -PATCHES=( - "${FILESDIR}"/owncloud-client-3.1.0.9872-no_cmake_fetch.patch - "${FILESDIR}"/owncloud-client-3.2.0.10193-no_fortify_override.patch - "${FILESDIR}"/owncloud-client-3.2.0.10193-fix-mirall.patch -) - -src_prepare() { - mv ../libre-graph-api-cpp-qt-client-${REGRAPHAPI_PV} \ - src/libsync/libregraphapisrc-src || die - - # Keep tests in ${T} - sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die - - if ! use nautilus; then - pushd shell_integration > /dev/null || die - cmake_comment_add_subdirectory nautilus - popd > /dev/null || die - fi - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} - -DBUILD_SHELL_INTEGRATION_DOLPHIN=$(usex dolphin) - -DBUILD_TESTING=$(usex test) - ) - - cmake_src_configure -} diff --git a/net-misc/cernbox-client/files/owncloud-client-3.2.0.10193-fix-mirall.patch b/net-misc/cernbox-client/files/owncloud-client-3.2.0.10193-fix-mirall.patch deleted file mode 100644 index f276d232e..000000000 --- a/net-misc/cernbox-client/files/owncloud-client-3.2.0.10193-fix-mirall.patch +++ /dev/null @@ -1,73 +0,0 @@ -From: Fabian Müller <[email protected]> -Bug: https://github.com/owncloud/client/pull/10969 - -Fix installation of branded client in parallel to unbranded client. - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 9b33b555f..f6c8ddd5c 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -52,10 +52,12 @@ endif(NOT BUILD_LIBRARIES_ONLY) - - add_subdirectory(plugins) - --install(EXPORT ownCloudConfig DESTINATION "${KDE_INSTALL_CMAKEPACKAGEDIR}/ownCloud" NAMESPACE ownCloud::) -+install(EXPORT ${APPLICATION_SHORTNAME}Config DESTINATION "${KDE_INSTALL_CMAKEPACKAGEDIR}/${APPLICATION_SHORTNAME}" NAMESPACE ownCloud::) - --ecm_setup_version(PROJECT VARIABLE_PREFIX ownCloud -- PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/ownCloudConfigVersion.cmake" -- SOVERSION ${MIRALL_SOVERSION}) -+ecm_setup_version(PROJECT -+ VARIABLE_PREFIX ${APPLICATION_SHORTNAME} -+ PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/${APPLICATION_SHORTNAME}ConfigVersion.cmake" -+ SOVERSION ${MIRALL_SOVERSION} -+) - --install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ownCloudConfigVersion.cmake" DESTINATION "${KDE_INSTALL_CMAKEPACKAGEDIR}/ownCloud") -+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${APPLICATION_SHORTNAME}ConfigVersion.cmake" DESTINATION "${KDE_INSTALL_CMAKEPACKAGEDIR}/${APPLICATION_SHORTNAME}") -diff --git a/src/csync/CMakeLists.txt b/src/csync/CMakeLists.txt -index 17bbec855..eec545c21 100644 ---- a/src/csync/CMakeLists.txt -+++ b/src/csync/CMakeLists.txt -@@ -92,10 +92,10 @@ INSTALL( - ../common/filesystembase.h - ../common/utility.h - DESTINATION -- ${INCLUDE_INSTALL_DIR}/ownCloud/common -+ ${INCLUDE_INSTALL_DIR}/${APPLICATION_SHORTNAME}/common - ) - --INSTALL(TARGETS csync EXPORT ownCloudConfig ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) -+INSTALL(TARGETS csync EXPORT ${APPLICATION_SHORTNAME}Config ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) - - configure_file(config_csync.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config_csync.h) - -diff --git a/src/libsync/CMakeLists.txt b/src/libsync/CMakeLists.txt -index c709acc0b..bd285c46e 100644 ---- a/src/libsync/CMakeLists.txt -+++ b/src/libsync/CMakeLists.txt -@@ -87,7 +87,7 @@ INSTALL( - ${CMAKE_CURRENT_BINARY_DIR}/owncloudlib.h - logger.h - accessmanager.h -- DESTINATION ${INCLUDE_INSTALL_DIR}/ownCloud/libsync -+ DESTINATION ${INCLUDE_INSTALL_DIR}/${APPLICATION_SHORTNAME}/libsync - ) - - add_library(libsync SHARED ${libsync_SRCS}) -@@ -138,4 +138,4 @@ set_target_properties(libsync PROPERTIES - VERSION ${MIRALL_VERSION} - SOVERSION ${MIRALL_SOVERSION} - ) --install(TARGETS libsync EXPORT ownCloudConfig ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) -+install(TARGETS libsync EXPORT ${APPLICATION_SHORTNAME}Config ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) -diff --git a/src/resources/CMakeLists.txt b/src/resources/CMakeLists.txt -index 4f6fe1b0e..2905f55e6 100644 ---- a/src/resources/CMakeLists.txt -+++ b/src/resources/CMakeLists.txt -@@ -40,4 +40,4 @@ if(Qt5LinguistTools_FOUND) - ) - endif() - --install(TARGETS owncloudResources ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) -+install(TARGETS owncloudResources EXPORT ${APPLICATION_SHORTNAME}Config ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
