diff --git a/main/ant-kit/pom.xml b/main/ant-kit/pom.xml index f951cf281..824699e71 100644 --- a/main/ant-kit/pom.xml +++ b/main/ant-kit/pom.xml @@ -56,17 +56,15 @@ src/main/resources true - - logback.xml - fixed-binaries/** - + + build.xml + src/main/resources false logback.xml - fixed-binaries/** diff --git a/main/ant-kit/src/main/resources/build.xml b/main/ant-kit/src/main/resources/build.xml index 4252f0716..aae41cbe3 100644 --- a/main/ant-kit/src/main/resources/build.xml +++ b/main/ant-kit/src/main/resources/build.xml @@ -1,6 +1,6 @@ - + @@ -20,51 +20,25 @@ - - - - + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/main/ant-kit/src/main/resources/fixed-binaries/linux-launcher-x64 b/main/ant-kit/src/main/resources/fixed-binaries/linux-launcher-x64 deleted file mode 100644 index bffda959a..000000000 Binary files a/main/ant-kit/src/main/resources/fixed-binaries/linux-launcher-x64 and /dev/null differ diff --git a/main/ant-kit/src/main/resources/fixed-binaries/linux-launcher-x86 b/main/ant-kit/src/main/resources/fixed-binaries/linux-launcher-x86 deleted file mode 100644 index 805062d62..000000000 Binary files a/main/ant-kit/src/main/resources/fixed-binaries/linux-launcher-x86 and /dev/null differ diff --git a/main/ant-kit/src/main/resources/package/linux/Cryptomator.png b/main/ant-kit/src/main/resources/package/linux/Cryptomator.png deleted file mode 100644 index 1e0832c42..000000000 Binary files a/main/ant-kit/src/main/resources/package/linux/Cryptomator.png and /dev/null differ diff --git a/main/ant-kit/src/main/resources/package/linux/control b/main/ant-kit/src/main/resources/package/linux/control deleted file mode 100644 index 95d2a7148..000000000 --- a/main/ant-kit/src/main/resources/package/linux/control +++ /dev/null @@ -1,16 +0,0 @@ -Package: APPLICATION_PACKAGE -Version: APPLICATION_VERSION -Section: contrib/utils -Maintainer: Sebastian Stenzel -Homepage: https://cryptomator.org -Vcs-Git: https://github.com/totalvoidness/cryptomator.git -Vcs-Browser: https://github.com/totalvoidness/cryptomator -Priority: optional -Architecture: APPLICATION_ARCH -Provides: APPLICATION_PACKAGE -Installed-Size: APPLICATION_INSTALLED_SIZE -Depends: gvfs-bin, gvfs-backends, gvfs-fuse -Description: Multi-platform client-side encryption of your cloud files. - Cryptomator provides free client-side AES encryption for your cloud files. - Create encrypted vaults, which get mounted as virtual volumes. Whatever - you save on one of these volumes will end up encrypted inside your vault. diff --git a/main/ant-kit/src/main/resources/package/linux/copyright b/main/ant-kit/src/main/resources/package/linux/copyright deleted file mode 100644 index 3323c421d..000000000 --- a/main/ant-kit/src/main/resources/package/linux/copyright +++ /dev/null @@ -1,23 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: cryptomator -Source: - -Copyright: 2015 Sebastian Stenzel and contributors. -License: MIT - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following conditions: - . - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - . - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY - CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/main/ant-kit/src/main/resources/package/linux/postinst b/main/ant-kit/src/main/resources/package/linux/postinst deleted file mode 100644 index ee09f3b1d..000000000 --- a/main/ant-kit/src/main/resources/package/linux/postinst +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh -# postinst script for APPLICATION_NAME -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - -case "$1" in - configure) - echo Adding shortcut to the menu -SECONDARY_LAUNCHERS_INSTALL -APP_CDS_CACHE - mkdir -pm 644 /usr/share/desktop-directories - xdg-desktop-menu install --novendor /opt/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME.desktop -FILE_ASSOCIATION_INSTALL - - rm /opt/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME - if [ $(uname -m) = "x86_64" ]; then - mv /opt/APPLICATION_FS_NAME/app/linux-launcher-x64 /opt/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME - else - mv /opt/APPLICATION_FS_NAME/app/linux-launcher-x86 /opt/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME - fi - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/main/ant-kit/src/main/resources/package/linux/spec b/main/ant-kit/src/main/resources/package/linux/spec deleted file mode 100644 index b40f9224e..000000000 --- a/main/ant-kit/src/main/resources/package/linux/spec +++ /dev/null @@ -1,54 +0,0 @@ -Summary: APPLICATION_SUMMARY -Name: APPLICATION_PACKAGE -Version: APPLICATION_VERSION -Release: 1 -License: APPLICATION_LICENSE_TYPE -Vendor: APPLICATION_VENDOR -Prefix: /opt -Provides: APPLICATION_PACKAGE -Requires: ld-linux.so.2 libX11.so.6 libXext.so.6 libXi.so.6 libXrender.so.1 libXtst.so.6 libasound.so.2 libc.so.6 libdl.so.2 libgcc_s.so.1 libm.so.6 libpthread.so.0 libthread_db.so.1 -Autoprov: 0 -Autoreq: 0 - -#avoid ARCH subfolder -%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm - -#comment line below to enable effective jar compression -#it could easily get your package size from 40 to 15Mb but -#build time will substantially increase and it may require unpack200/system java to install -%define __jar_repack %{nil} - -%description -APPLICATION_DESCRIPTION - -%prep - -%build - -%install -rm -rf %{buildroot} -mkdir -p %{buildroot}/opt -cp -r %{_sourcedir}/APPLICATION_FS_NAME %{buildroot}/opt - -%files -APPLICATION_LICENSE_FILE -/opt/APPLICATION_FS_NAME - -%post -SECONDARY_LAUNCHERS_INSTALL -APP_CDS_CACHE -xdg-desktop-menu install --novendor /opt/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME.desktop -FILE_ASSOCIATION_INSTALL -rm /opt/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME -if [ $(uname -m) = "x86_64" ]; then - mv /opt/APPLICATION_FS_NAME/app/linux-launcher-x64 /opt/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME -else - mv /opt/APPLICATION_FS_NAME/app/linux-launcher-x86 /opt/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME -fi - -%preun -SECONDARY_LAUNCHERS_REMOVE -xdg-desktop-menu uninstall --novendor /opt/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME.desktop -FILE_ASSOCIATION_REMOVE - -%clean