From 2fc76c2b24bc3a7f97f277508e6aa35d74fd7d67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20V=C3=A1radi?= Date: Tue, 19 Nov 2019 19:32:47 +0100 Subject: [PATCH] Build for Debian stable and oldstable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: István Váradi --- admin/linux/debian/debian.oldstable/changelog | 48 +++++++++++ admin/linux/debian/debian.oldstable/control | 84 +++++++++++++++++++ admin/linux/debian/debian.stable/control | 1 + admin/linux/debian/drone-build.sh | 52 ++++++++---- 4 files changed, 169 insertions(+), 16 deletions(-) create mode 100644 admin/linux/debian/debian.oldstable/changelog create mode 100644 admin/linux/debian/debian.oldstable/control diff --git a/admin/linux/debian/debian.oldstable/changelog b/admin/linux/debian/debian.oldstable/changelog new file mode 100644 index 000000000..6423df260 --- /dev/null +++ b/admin/linux/debian/debian.oldstable/changelog @@ -0,0 +1,48 @@ +nextcloud-client (2.3.3-1.0~oldstable1) oldstable; urgency=medium + + * Debian build support for the forked client. + + -- István Váradi Mon, 6 Nov 2017 20:20:04 +0100 + +nextcloud-client (2.3.1-1.0) oldstable; urgency=medium + + * New upstream version + + -- István Váradi Thu, 23 Mar 2017 19:07:36 +0100 + +nextcloud-client (2.3.0-1.0) oldstable; urgency=medium + + * New upstream version + + -- István Váradi Tue, 21 Mar 2017 19:34:13 +0100 + +nextcloud-client (2.2.4-1.4) oldstable; urgency=medium + + * The locale-specific icon names are correct too + + -- István Váradi Tue, 7 Feb 2017 19:55:40 +0100 + +nextcloud-client (2.2.4-1.3) oldstable; urgency=medium + + * Caja syncstate plugin is built. + * The syncstate plugin has application-specific name + + -- István Váradi Fri, 27 Jan 2017 19:34:18 +0100 + +nextcloud-client (2.2.4-1.2) oldstable; urgency=medium + + * Fixed appname in the Nemo syncstate extension. + + -- István Váradi Thu, 19 Jan 2017 16:46:50 +0100 + +nextcloud-client (2.2.4-1.1) oldstable; urgency=medium + + * Added Nautilus and Nemo syncstate extensions. + + -- István Váradi Tue, 17 Jan 2017 19:55:32 +0100 + +nextcloud-client (2.2.4-1.0) oldstable; urgency=medium + + * Initial release. + + -- István Váradi Wed, 14 Dec 2016 20:07:46 +0100 diff --git a/admin/linux/debian/debian.oldstable/control b/admin/linux/debian/debian.oldstable/control new file mode 100644 index 000000000..4b0dcedc6 --- /dev/null +++ b/admin/linux/debian/debian.oldstable/control @@ -0,0 +1,84 @@ +Source: nextcloud-client +Section: contrib/devel +Priority: optional +Maintainer: István Váradi +Build-Depends: cmake, + debhelper, + cdbs, + dh-python, + extra-cmake-modules (>= 5.16), + kdelibs5-dev, + kio-dev, + libcmocka-dev, + libdbus-1-dev, + libhttp-dav-perl, + libinotify-dev [kfreebsd-any], + libqt5webkit5-dev, + libqt5svg5-dev, + libsqlite3-dev, + libssl-dev (>= 1.1.0), + zlib1g-dev, + optipng, + pkg-kde-tools, + python-sphinx | python3-sphinx, + python3-all, + qt5keychain-dev, + qtwebengine5-dev, + qtdeclarative5-dev, + qttools5-dev, + qttools5-dev-tools, + xvfb +Standards-Version: 3.9.8 +Homepage: https://github.com/nextcloud/client_theming +#Vcs-Git: git://anonscm.debian.org/collab-maint/nextcloud-client.git +#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/nextcloud-client.git + +Package: nextcloud-client +Architecture: any +Depends: libnextcloudsync0 (=${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, nextcloud-client-l10n +Recommends: libgnome-keyring0 +Description: Nextcloud desktop sync client + Use the desktop client to keep your files synchronized + between your Nextcloud server and your desktop. Select + one or more directories on your local machine and always + have access to your latest files wherever you are. + +Package: libnextcloudsync0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Nextcloud sync library + Used by the Nextcloud desktop client as the synchronization engine. + +Package: libnextcloudsync-dev +Architecture: any +Section: contrib/libdevel +Depends: libnextcloudsync0 (=${binary:Version}), ${misc:Depends} +Description: Nextcloud sync library development files + The headers and development library for the Nextcloud sync library. + +Package: nextcloud-client-l10n +Architecture: all +Depends: ${misc:Depends} +Description: Nextcloud client internatialization files + The translation files. + +Package: nextcloud-client-nautilus +Architecture: all +Depends: nextcloud-client (>=${binary:Version}), libnextcloudsync0, python-nautilus, nautilus, ${misc:Depends} +Description: Nautilus plugin for Nextcloud + This package contains a Nautilus plugin to display + synchronization status icons for Nextcloud files. + +Package: nextcloud-client-nemo +Architecture: all +Depends: nextcloud-client (>=${binary:Version}), libnextcloudsync0, python-nemo, nemo, ${misc:Depends} +Description: Nemo plugin for Nextcloud + This package contains a Nemo plugin to display + synchronization status icons for Nextcloud files. + +Package: nextcloud-client-caja +Architecture: all +Depends: nextcloud-client (>=${binary:Version}), libnextcloudsync0, python-caja, caja, ${misc:Depends} +Description: Caja plugin for Nextcloud + This package contains a Caja plugin to display + synchronization status icons for Nextcloud files. diff --git a/admin/linux/debian/debian.stable/control b/admin/linux/debian/debian.stable/control index 793df959f..d44861678 100644 --- a/admin/linux/debian/debian.stable/control +++ b/admin/linux/debian/debian.stable/control @@ -9,6 +9,7 @@ Build-Depends: cmake, extra-cmake-modules (>= 5.16), kdelibs5-dev, kio-dev, + libavcodec58, libcmocka-dev, libcloudproviders-dev, libdbus-1-dev, diff --git a/admin/linux/debian/drone-build.sh b/admin/linux/debian/drone-build.sh index 0909a262a..6902a56fa 100755 --- a/admin/linux/debian/drone-build.sh +++ b/admin/linux/debian/drone-build.sh @@ -51,7 +51,7 @@ if ! wget http://ppa.launchpad.net/${repo}/ubuntu/pool/main/n/nextcloud-client/n origsourceopt="-sa" fi -for distribution in xenial bionic disco eoan stable; do +for distribution in xenial bionic disco eoan stable oldstable; do rm -rf nextcloud-client_${basever} cp -a ${DRONE_WORKSPACE} nextcloud-client_${basever} @@ -98,26 +98,46 @@ if test "${pull_request}" = "master"; then PPA=$PPA_BETA OBS_PROJECT=$OBS_PROJECT_BETA fi - OBS_SUBDIR="${OBS_PROJECT}/${OBS_PACKAGE}" if test -f ~/.has_ppa_keys; then for changes in nextcloud-client_*~+([a-z])1_source.changes; do - dput $PPA $changes > /dev/null + case "${changes}" in + *oldstable1*) + ;; + *) + dput $PPA $changes > /dev/null + ;; + esac done - mkdir osc - cd osc - osc co ${OBS_PROJECT} ${OBS_PACKAGE} - if test "$(ls ${OBS_SUBDIR})"; then - osc delete ${OBS_SUBDIR}/* - fi - cp ../nextcloud-client*.orig.tar.* ${OBS_SUBDIR}/ - cp ../nextcloud-client_*[0-9.][0-9].dsc ${OBS_SUBDIR}/ - cp ../nextcloud-client_*[0-9.][0-9].debian.tar* ${OBS_SUBDIR}/ - cp ../nextcloud-client_*[0-9.][0-9]_source.changes ${OBS_SUBDIR}/ - osc add ${OBS_SUBDIR}/* + for distribution in stable oldstable; do + if test "${distribution}" = "oldstable"; then + pkgsuffix=".${distribution}" + pkgvertag="~${distribution}1" + else + pkgsuffix="" + pkgvertag="" + fi - cd ${OBS_SUBDIR} - osc commit -m "Travis update" + package="${OBS_PACKAGE}${pkgsuffix}" + OBS_SUBDIR="${OBS_PROJECT}/${package}" + + mkdir -p osc + pushd osc + osc co ${OBS_PROJECT} ${package} + if test "$(ls ${OBS_SUBDIR})"; then + osc delete ${OBS_SUBDIR}/* + fi + + cp ../nextcloud-client*.orig.tar.* ${OBS_SUBDIR}/ + cp ../nextcloud-client_*[0-9.][0-9]${pkgvertag}.dsc ${OBS_SUBDIR}/ + cp ../nextcloud-client_*[0-9.][0-9]${pkgvertag}.debian.tar* ${OBS_SUBDIR}/ + cp ../nextcloud-client_*[0-9.][0-9]${pkgvertag}_source.changes ${OBS_SUBDIR}/ + osc add ${OBS_SUBDIR}/* + + cd ${OBS_SUBDIR} + osc commit -m "Travis update" + popd + done fi fi