diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-10-27 17:49:45 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:58:02 -0500 |
commit | dbe3cda0e72f219259498620f5b0c6430f01da98 (patch) | |
tree | 9f17721b252ec209b5eb2937a41394c3f24d1b32 | |
parent | 4ddfef0e60373938b54dfcc6f99be6b839a85957 (diff) |
desktop/seafile-client: Added (Seafile Desktop applet)
This replaces seafile-gui.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | desktop/seafile-client/README (renamed from network/seafile-client/README) | 9 | ||||
-rw-r--r-- | desktop/seafile-client/doinst.sh | 9 | ||||
-rw-r--r-- | desktop/seafile-client/seafile-client.SlackBuild (renamed from network/seafile-client/seafile-client.SlackBuild) | 44 | ||||
-rw-r--r-- | desktop/seafile-client/seafile-client.info | 10 | ||||
-rw-r--r-- | desktop/seafile-client/slack-desc (renamed from network/seafile-client/slack-desc) | 8 | ||||
-rw-r--r-- | network/seafile-client/seafile-client.info | 10 |
6 files changed, 42 insertions, 48 deletions
diff --git a/network/seafile-client/README b/desktop/seafile-client/README index 937324eae1073..94ced6564e79d 100644 --- a/network/seafile-client/README +++ b/desktop/seafile-client/README @@ -1,5 +1,6 @@ -Seafile is a next-generation open source cloud storage system with -advanced support for file syncing, privacy protection and teamwork. +Graphical desktop client for the Seafile next-generation open +source cloud storage system with advanced support for file syncing, +privacy protection and teamwork. Collections of files are called libraries, and each library can be synced separately. A library can be encrypted with a user chosen @@ -9,7 +10,3 @@ server admin cannot view a file's contents. Seafile allows users to create groups with file syncing, wiki, and discussion to enable easy collaboration around documents within a team. - -Note: -This package conflicts with seafile-server. Install just one of -them at the same time. diff --git a/desktop/seafile-client/doinst.sh b/desktop/seafile-client/doinst.sh new file mode 100644 index 0000000000000..65c7e2eeb9aa5 --- /dev/null +++ b/desktop/seafile-client/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/network/seafile-client/seafile-client.SlackBuild b/desktop/seafile-client/seafile-client.SlackBuild index 205c0af1481c1..a50bcb32481b1 100644 --- a/network/seafile-client/seafile-client.SlackBuild +++ b/desktop/seafile-client/seafile-client.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for "seafile-client". +# Slackware build script for seafile-client. # Copyright 2015 Marcel Saegebarth <marc@mos6581.de> # All rights reserved. @@ -25,14 +25,13 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=seafile-client -SRCNAM=seafile -VERSION=${VERSION:-4.4.6} +VERSION=${VERSION:-6.2.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -43,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/v$VERSION-server.tar.gz || tar xvf $CWD/$SRCNAM-$VERSION-server.tar.gz -cd $SRCNAM-$VERSION-server +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -72,32 +71,21 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sh autogen.sh -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-client \ - --enable-static=no \ - --build=$ARCH-slackware-linux - +cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release . make -make install-strip DESTDIR=$PKG +make install/strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE.txt README.markdown $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/seafile-client/seafile-client.info b/desktop/seafile-client/seafile-client.info new file mode 100644 index 0000000000000..92933b6c01f34 --- /dev/null +++ b/desktop/seafile-client/seafile-client.info @@ -0,0 +1,10 @@ +PRGNAM="seafile-client" +VERSION="6.2.5" +HOMEPAGE="http://seafile.com/" +DOWNLOAD="https://github.com/haiwen/seafile-client/archive/v6.2.5/seafile-client-6.2.5.tar.gz" +MD5SUM="3f3cd465109e1d49888fbca310033a3b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="qt5 seafile" +MAINTAINER="Marcel Saegebarth" +EMAIL="marc@mos6581.de" diff --git a/network/seafile-client/slack-desc b/desktop/seafile-client/slack-desc index e41d278faaf6f..2f39a14e335ca 100644 --- a/network/seafile-client/slack-desc +++ b/desktop/seafile-client/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -seafile-client: seafile-client (Cloud Storage System) +seafile-client: seafile-client (Seafile Desktop Client) seafile-client: -seafile-client: Seafile is a next-generation open source cloud storage system with -seafile-client: advanced support for file syncing, privacy protection and teamwork. +seafile-client: Graphical desktop client for the Seafile next-generation open +seafile-client: source cloud storage system with advanced support for file syncing, +seafile-client: privacy protection and teamwork. seafile-client: seafile-client: Homepage: http://seafile.com/ seafile-client: seafile-client: seafile-client: seafile-client: -seafile-client: diff --git a/network/seafile-client/seafile-client.info b/network/seafile-client/seafile-client.info deleted file mode 100644 index ef875c1f8fbda..0000000000000 --- a/network/seafile-client/seafile-client.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="seafile-client" -VERSION="4.4.6" -HOMEPAGE="http://seafile.com/" -DOWNLOAD="https://github.com/haiwen/seafile/archive/v4.4.6-server.tar.gz" -MD5SUM="753db8ec00c8f4e43270afff097a23af" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="ccnet libevhtp" -MAINTAINER="Marcel Saegebarth" -EMAIL="marc@mos6581.de" |