Comparar commits
49 Commits
| Autor | SHA1 | Data | |
|---|---|---|---|
| 5fdd72232a | |||
| 4bf8caf0af | |||
| 474292c8ab | |||
| 2aa15eaed9 | |||
| 2cfd87bff2 | |||
| c6c84b5639 | |||
| e34f4a21b9 | |||
| 02723bdd7e | |||
| 3a27c67e29 | |||
| 284cedbef0 | |||
| 88ff5d1e2e | |||
| e08bf1f10d | |||
| 273527c0b8 | |||
| 89b3516457 | |||
| 025cc4db16 | |||
| 995937942a | |||
| 42ccc48a80 | |||
| 0d340688e9 | |||
| 1160a797e3 | |||
| 2e57739f07 | |||
| 8f3cdd75a6 | |||
| 76222eab29 | |||
| 462225e117 | |||
| 45ff99224e | |||
| aebd06d001 | |||
| 4bd21ca34c | |||
| 8ced158900 | |||
| ae0cdb7cd4 | |||
| 241716e8b0 | |||
| a480beb7ab | |||
| a733a04416 | |||
| 672ac7f3cf | |||
| e6223521c3 | |||
| bd3b7e6da8 | |||
| 0e51ed7825 | |||
| 7dc61cf7c7 | |||
| 28fb278efe | |||
| 47c50c5e42 | |||
| f9f5cea4a8 | |||
| 829cfe8618 | |||
| 2758a6269a | |||
| 5f943450ab | |||
| d4055ed6eb | |||
| 8aade24147 | |||
| cda39f5a8b | |||
| c107002d2f | |||
| c9df05498d | |||
| 4f17ab2729 | |||
| bed45021bb |
@@ -0,0 +1,7 @@
|
||||
os: linux
|
||||
sudo: true
|
||||
dist: trusty
|
||||
language: cpp
|
||||
|
||||
script:
|
||||
- bash -ex linux/build.sh
|
||||
+2
-5
@@ -1,4 +1,4 @@
|
||||
# nextcloud desktop client
|
||||
# nextcloud desktop client [](https://travis-ci.org/nextcloud/client_theming)
|
||||
:computer: theme and build instructions for the nextcloud desktop client
|
||||
|
||||
Based on https://github.com/owncloud/client/blob/master/doc/building.rst
|
||||
@@ -7,10 +7,7 @@ Based on https://github.com/owncloud/client/blob/master/doc/building.rst
|
||||
|
||||
Run:
|
||||
```bash
|
||||
git submodule update --init
|
||||
cd client
|
||||
git submodule update --init
|
||||
cd ...
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
## Building on Linux
|
||||
|
||||
+1
-1
Submodule client updated: e6d3a5a252...eaeed08544
@@ -0,0 +1,126 @@
|
||||
#!/bin/bash
|
||||
|
||||
########################################################################
|
||||
# Build as per the instructions, but install in /app rather than /usr
|
||||
########################################################################
|
||||
|
||||
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
|
||||
sudo sh -c "echo 'deb-src http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
|
||||
wget http://download.opensuse.org/repositories/isv:ownCloud:desktop/Ubuntu_14.04/Release.key
|
||||
sudo apt-key add - < Release.key
|
||||
sudo apt-get update
|
||||
sudo apt-get -y build-dep owncloud-client
|
||||
|
||||
git submodule update --init --recursive
|
||||
mkdir build-linux
|
||||
cd build-linux
|
||||
cmake -D CMAKE_INSTALL_PREFIX=/app -D OEM_THEME_DIR=`pwd`/../nextcloudtheme ../client
|
||||
make
|
||||
find .
|
||||
sudo make install
|
||||
find /app
|
||||
|
||||
########################################################################
|
||||
# Package the binaries built on Travis-CI as an AppImage
|
||||
# By Simon Peter 2016
|
||||
# For more information, see http://appimage.org/
|
||||
########################################################################
|
||||
|
||||
export ARCH=$(arch)
|
||||
|
||||
APP=Nextcloud
|
||||
LOWERAPP=${APP,,}
|
||||
|
||||
GIT_REV=$(git rev-parse --short HEAD)
|
||||
echo $GIT_REV
|
||||
|
||||
mkdir -p $HOME/$APP/$APP.AppDir/usr/
|
||||
|
||||
cd $HOME/$APP/
|
||||
|
||||
wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./functions.sh
|
||||
. ./functions.sh
|
||||
|
||||
cd $APP.AppDir
|
||||
|
||||
sudo chown -R $USER /app/
|
||||
sed -i -e 's|/app|././|g' /app/bin/nextcloud
|
||||
|
||||
cp -r /app/* ./usr/
|
||||
|
||||
########################################################################
|
||||
# Copy desktop and icon file to AppDir for AppRun to pick them up
|
||||
########################################################################
|
||||
|
||||
get_apprun
|
||||
|
||||
cp /app/share/applications/nextcloud.desktop .
|
||||
cp /app/share/icons/hicolor/256x256/apps/Nextcloud.png nextcloud.png
|
||||
|
||||
########################################################################
|
||||
# Copy in the dependencies that cannot be assumed to be available
|
||||
# on all target systems
|
||||
########################################################################
|
||||
|
||||
# FIXME: How to find out which subset of plugins is really needed?
|
||||
mkdir -p ./usr/lib/qt5/plugins/
|
||||
PLUGINS=/usr/lib/x86_64-linux-gnu/qt5/plugins/
|
||||
cp -r $PLUGINS/{bearer,generic,imageformats,platforminputcontexts,platforms,platformthemes} ./usr/lib/qt5/plugins/
|
||||
|
||||
copy_deps
|
||||
|
||||
########################################################################
|
||||
# Delete stuff that should not go into the AppImage
|
||||
########################################################################
|
||||
|
||||
# Delete dangerous libraries; see
|
||||
# https://github.com/probonopd/AppImages/blob/master/excludelist
|
||||
delete_blacklisted
|
||||
|
||||
# We don't bundle the developer stuff
|
||||
rm -rf usr/include || true
|
||||
rm -rf usr/lib/cmake || true
|
||||
rm -rf usr/lib/pkgconfig || true
|
||||
find . -name '*.la' | xargs -i rm {}
|
||||
strip usr/bin/* usr/lib/* || true
|
||||
rm -rf app/ || true
|
||||
# Copy, since libssl must be in sync with libcrypto
|
||||
cp /lib/x86_64-linux-gnu/libssl.so.1.0.0 usr/lib/
|
||||
|
||||
########################################################################
|
||||
# desktopintegration asks the user on first run to install a menu item
|
||||
########################################################################
|
||||
|
||||
get_desktopintegration $LOWERAPP
|
||||
|
||||
########################################################################
|
||||
# Determine the version of the app; also include needed glibc version
|
||||
########################################################################
|
||||
|
||||
GLIBC_NEEDED=$(glibc_needed)
|
||||
VERSION=git$GIT_REV-glibc$GLIBC_NEEDED
|
||||
|
||||
########################################################################
|
||||
# Patch away absolute paths; it would be nice if they were relative
|
||||
########################################################################
|
||||
|
||||
# patch_usr
|
||||
# Possibly need to patch additional hardcoded paths away, replace
|
||||
# "/usr" with "././" which means "usr/ in the AppDir"
|
||||
|
||||
########################################################################
|
||||
# AppDir complete
|
||||
# Now packaging it as an AppImage
|
||||
########################################################################
|
||||
|
||||
cd .. # Go out of AppImage
|
||||
|
||||
mkdir -p ../out/
|
||||
generate_appimage
|
||||
|
||||
########################################################################
|
||||
# Upload the AppDir
|
||||
########################################################################
|
||||
|
||||
transfer ../out/*
|
||||
echo "AppImage has been uploaded to the URL above; use something like GitHub Releases for permanent storage"
|
||||
@@ -0,0 +1,35 @@
|
||||
- .pbuilderrc:
|
||||
|
||||
COMPONENTS="main restricted universe multiverse"
|
||||
|
||||
OTHERMIRROR="deb [trusted=yes] file:///${HOME}/pbuilder/deps ./"
|
||||
HOOKDIR="${HOME}/pbuilder/hook.d"
|
||||
BINDMOUNTS="${HOME}/pbuilder/deps"
|
||||
|
||||
EXTRAPACKAGES="apt-utils"
|
||||
|
||||
- pbuilder/hook.d/D70setupdeps: hook to create a Packages file for the
|
||||
packages in pbuilder/deps
|
||||
|
||||
- pbuilder-dist trusty create --override-config --othermirror "deb [trusted=yes] file:///${HOME}/pbuilder/deps ./"
|
||||
|
||||
The OTHERMIRROR setting in .pbuilderrc is overridden by pbuilder-dist!
|
||||
|
||||
- scripts:
|
||||
|
||||
config.sh: basic configuration variables
|
||||
|
||||
create_debdir.sh <package> <tag> <version> <distribution>:
|
||||
create the Debian-conformant source directory and .orig.tar.bz2
|
||||
in the build area
|
||||
build.sh <package> <tag> <version> <distribution> <debuild options...>:
|
||||
call create_debdir.sh and then debuild
|
||||
build_all.sh <distribution>:
|
||||
build all packages for the given distribution
|
||||
pbuilder_all.sh <distribution>:
|
||||
build the existing source packages with pbuilder-dist. The qtkeychain
|
||||
packages are copied to pbuilder/deps so that nextcloud-client could be
|
||||
built properly
|
||||
pbuild_all.sh <distribution>:
|
||||
build the source packages with build_all.sh and then all
|
||||
pbuilder_all.sh
|
||||
Arquivo executável
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat /etc/apt/sources.list
|
||||
(cd ${HOME}/pbuilder/deps; apt-ftparchive packages . > Packages)
|
||||
apt-get update
|
||||
@@ -0,0 +1,17 @@
|
||||
nextcloud-client (2.2.4-1.2) stable; urgency=medium
|
||||
|
||||
* Fixed appname in the Nemo syncstate extension.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Thu, 19 Jan 2017 16:46:50 +0100
|
||||
|
||||
nextcloud-client (2.2.4-1.1) stable; urgency=medium
|
||||
|
||||
* Added Nautilus and Nemo syncstate extensions.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Tue, 17 Jan 2017 19:55:32 +0100
|
||||
|
||||
nextcloud-client (2.2.4-1.0) stable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Wed, 14 Dec 2016 20:07:46 +0100
|
||||
@@ -0,0 +1,52 @@
|
||||
Source: nextcloud-client
|
||||
Section: contrib/devel
|
||||
Priority: optional
|
||||
Maintainer: István Váradi <ivaradi@varadiistvan.hu>
|
||||
Build-Depends: debhelper (>= 9), cdbs, cmake, libssl-dev (>= 1.0.0), libsqlite3-dev (>=3.5.9),
|
||||
qtkeychain-dev (>=0.7.0), libqtwebkit-dev, pkg-config
|
||||
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
|
||||
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.
|
||||
@@ -0,0 +1,17 @@
|
||||
nextcloud-client (2.2.4-1.2~trusty1) trusty; urgency=medium
|
||||
|
||||
* Fixed appname in the Nemo syncstate extension.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Thu, 19 Jan 2017 16:46:50 +0100
|
||||
|
||||
nextcloud-client (2.2.4-1.1~trusty1) trusty; urgency=medium
|
||||
|
||||
* Added Nautilus and Nemo syncstate extensions.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Tue, 17 Jan 2017 19:55:32 +0100
|
||||
|
||||
nextcloud-client (2.2.4-1.0~trusty1) trusty; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Wed, 14 Dec 2016 20:07:46 +0100
|
||||
@@ -0,0 +1,17 @@
|
||||
nextcloud-client (2.2.4-1.2~xenial1) xenial; urgency=medium
|
||||
|
||||
* Fixed appname in the Nemo syncstate extension.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Thu, 19 Jan 2017 16:46:50 +0100
|
||||
|
||||
nextcloud-client (2.2.4-1.1~xenial1) xenial; urgency=medium
|
||||
|
||||
* Added Nautilus and Nemo syncstate extensions.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Tue, 17 Jan 2017 19:55:32 +0100
|
||||
|
||||
nextcloud-client (2.2.4-1.0~xenial1) xenial; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Wed, 14 Dec 2016 20:07:46 +0100
|
||||
@@ -0,0 +1 @@
|
||||
fs.inotify.max_user_watches = 524288
|
||||
@@ -0,0 +1,17 @@
|
||||
nextcloud-client (2.2.4-1.2~yakkety1) yakkety; urgency=medium
|
||||
|
||||
* Fixed appname in the Nemo syncstate extension.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Thu, 19 Jan 2017 16:46:50 +0100
|
||||
|
||||
nextcloud-client (2.2.4-1.1~yakkety1) yakkety; urgency=medium
|
||||
|
||||
* Added Nautilus and Nemo syncstate extensions.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Tue, 17 Jan 2017 19:55:32 +0100
|
||||
|
||||
nextcloud-client (2.2.4-1.0~yakkety1) yakkety; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Wed, 14 Dec 2016 20:07:46 +0100
|
||||
@@ -0,0 +1 @@
|
||||
9
|
||||
@@ -0,0 +1,52 @@
|
||||
Source: nextcloud-client
|
||||
Section: contrib/devel
|
||||
Priority: optional
|
||||
Maintainer: István Váradi <ivaradi@varadiistvan.hu>
|
||||
Build-Depends: debhelper (>= 9), cdbs, cmake, libssl-dev (>= 1.0.0), libsqlite3-dev (>=3.8.0),
|
||||
qtkeychain-dev (>=0.7.0), libqtwebkit-dev, pkg-config
|
||||
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
|
||||
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.
|
||||
@@ -0,0 +1,3 @@
|
||||
Files: *
|
||||
Copyright: 2012-2015 ownCloud, inc.; Nuernberg, Germany., 2016 Nextcloud GmbH
|
||||
License: GPL-2+
|
||||
@@ -0,0 +1,3 @@
|
||||
usr/include
|
||||
usr/lib/*/libnextcloudsync.so
|
||||
usr/lib/*/nextcloud/libocsync.so
|
||||
@@ -0,0 +1,3 @@
|
||||
etc
|
||||
usr/lib/*/libnextcloudsync.so.?*
|
||||
usr/lib/*/nextcloud/libocsync.so.?*
|
||||
@@ -0,0 +1 @@
|
||||
usr/share/nextcloud/i18n
|
||||
@@ -0,0 +1 @@
|
||||
usr/share/nautilus-python
|
||||
@@ -0,0 +1 @@
|
||||
usr/share/nemo-python
|
||||
@@ -0,0 +1,4 @@
|
||||
usr/bin
|
||||
usr/share/applications
|
||||
usr/share/icons
|
||||
debian/101-sync-inotify.conf etc/sysctl.d
|
||||
@@ -0,0 +1,2 @@
|
||||
nextcloud-client: binary-or-shlib-defines-rpath
|
||||
nextcloud-client: binary-without-manpage
|
||||
@@ -0,0 +1,36 @@
|
||||
Description: <short summary of the patch>
|
||||
TODO: Put a short summary on the line above and replace this paragraph
|
||||
with a longer explanation of this change. Complete the meta-information
|
||||
with other relevant fields (see below for details). To make it easier, the
|
||||
information below has been extracted from the changelog. Adjust it or drop
|
||||
it.
|
||||
.
|
||||
nextcloud-client (2.2.4-1) yakkety; urgency=medium
|
||||
.
|
||||
* Initial release.
|
||||
Author: István Váradi <ivaradi@varadiistvan.hu>
|
||||
|
||||
---
|
||||
The information above should follow the Patch Tagging Guidelines, please
|
||||
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
|
||||
are templates for supplementary fields that you might want to add:
|
||||
|
||||
Origin: <vendor|upstream|other>, <url of original patch>
|
||||
Bug: <url in upstream bugtracker>
|
||||
Bug-Debian: https://bugs.debian.org/<bugnumber>
|
||||
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
|
||||
Forwarded: <no|not-needed|url proving that it has been forwarded>
|
||||
Reviewed-By: <name and email of someone who approved the patch>
|
||||
Last-Update: 2016-12-20
|
||||
|
||||
--- nextcloud-client-2.2.4.orig/client/mirall.desktop.in
|
||||
+++ nextcloud-client-2.2.4/client/mirall.desktop.in
|
||||
@@ -5,7 +5,7 @@ Exec=@APPLICATION_EXECUTABLE@
|
||||
Name=@APPLICATION_NAME@ desktop sync client
|
||||
Comment=@APPLICATION_NAME@ desktop synchronization client
|
||||
GenericName=Folder Sync
|
||||
-Icon=@APPLICATION_EXECUTABLE@
|
||||
+Icon=@APPLICATION_SHORTNAME@
|
||||
Keywords=@APPLICATION_NAME@;syncing;file;sharing;
|
||||
X-GNOME-Autostart-Delay=3
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
Description: <short summary of the patch>
|
||||
TODO: Put a short summary on the line above and replace this paragraph
|
||||
with a longer explanation of this change. Complete the meta-information
|
||||
with other relevant fields (see below for details). To make it easier, the
|
||||
information below has been extracted from the changelog. Adjust it or drop
|
||||
it.
|
||||
.
|
||||
nextcloud-client (2.2.4-1.0~trusty1) trusty; urgency=medium
|
||||
.
|
||||
* Initial release.
|
||||
Author: István Váradi <ivaradi@varadiistvan.hu>
|
||||
|
||||
---
|
||||
The information above should follow the Patch Tagging Guidelines, please
|
||||
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
|
||||
are templates for supplementary fields that you might want to add:
|
||||
|
||||
Origin: <vendor|upstream|other>, <url of original patch>
|
||||
Bug: <url in upstream bugtracker>
|
||||
Bug-Debian: http://bugs.debian.org/<bugnumber>
|
||||
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
|
||||
Forwarded: <no|not-needed|url proving that it has been forwarded>
|
||||
Reviewed-By: <name and email of someone who approved the patch>
|
||||
Last-Update: <YYYY-MM-DD>
|
||||
|
||||
--- nextcloud-client-2.2.4.orig/client/shell_integration/nautilus/CMakeLists.txt
|
||||
+++ nextcloud-client-2.2.4/client/shell_integration/nautilus/CMakeLists.txt
|
||||
@@ -3,7 +3,6 @@
|
||||
if( UNIX AND NOT APPLE )
|
||||
|
||||
configure_file(syncstate.py syncstate.py COPYONLY)
|
||||
- configure_file(syncstate.py syncstate_nemo.py COPYONLY)
|
||||
|
||||
# Call the setupappname.sh script to set the custom app name.
|
||||
set (cmd "${CMAKE_CURRENT_SOURCE_DIR}/setappname.sh")
|
||||
--- nextcloud-client-2.2.4.orig/client/shell_integration/nautilus/createnemoplugin.sh
|
||||
+++ nextcloud-client-2.2.4/client/shell_integration/nautilus/createnemoplugin.sh
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
# this script creates a plugin for nemo, just be replacing
|
||||
# all occurences of Nautilus with Nemo.
|
||||
-
|
||||
+cp syncstate.py syncstate_nemo.py
|
||||
sed -i.org -e 's/autilus/emo/g' syncstate_nemo.py
|
||||
@@ -0,0 +1,2 @@
|
||||
fix-application-icon-name.patch
|
||||
fix-synctstate-nemo-branding.patch
|
||||
Arquivo executável
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/make -f
|
||||
# See debhelper(7) (uncomment to enable)
|
||||
# output every command that modifies files on the build system.
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/class/cmake.mk
|
||||
|
||||
DEB_SHLIBDEPS_INCLUDE=$(CURDIR)/$(DEB_BUILDDIR)/csync/src
|
||||
|
||||
DEB_SRCDIR=client
|
||||
DEB_CMAKE_EXTRA_FLAGS = -DOEM_THEME_DIR=$(CURDIR)/nextcloudtheme -DCMAKE_SKIP_RPATH=OFF -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
|
||||
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
@@ -0,0 +1,8 @@
|
||||
nextcloud-client source: source-is-missing client/doc/ocdoc/_shared_assets/themes/bootstrap/static/bootstrap.js line length is 22206 characters (>512)
|
||||
nextcloud-client source: source-is-missing client/doc/ocdoc/_shared_assets/themes/bootstrap/static/jquery.js
|
||||
nextcloud-client source: source-is-missing client/doc/ocdoc/_shared_assets/themes/bootstrap/static/jquery.js line length is 32412 characters (>512)
|
||||
nextcloud-client source: source-is-missing client/doc/ocdoc/_shared_assets/themes/owncloud_com/static/bootstrap.js line length is 22206 characters (>512)
|
||||
nextcloud-client source: source-is-missing client/doc/ocdoc/_shared_assets/themes/owncloud_com/static/jquery.js line length is 32412 characters (>512)
|
||||
nextcloud-client source: source-is-missing client/doc/ocdoc/_shared_assets/themes/owncloud_release/static/bootstrap.js line length is 22206 characters (>512)
|
||||
nextcloud-client source: source-is-missing client/doc/ocdoc/_shared_assets/themes/owncloud_release/static/jquery.js line length is 32412 characters (>512)
|
||||
nextcloud-client source: source-is-missing client/doc/ocdoc/_shared_assets/themes/owncloud_org/static/js/jquery-1.11.0.min.js
|
||||
@@ -0,0 +1,5 @@
|
||||
qtkeychain (0.7.0-1.0) stable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Fri, 23 Dec 2016 16:28:38 +0100
|
||||
@@ -0,0 +1,5 @@
|
||||
qtkeychain (0.7.0-1.0ppa1~trusty1) trusty; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Fri, 23 Dec 2016 16:28:38 +0100
|
||||
@@ -0,0 +1,5 @@
|
||||
qtkeychain (0.7.0-1.0ppa1~xenial1) xenial; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Fri, 23 Dec 2016 16:28:38 +0100
|
||||
@@ -0,0 +1,5 @@
|
||||
qtkeychain (0.7.0-1.0ppa1~yakkety1) yakkety; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- István Váradi <ivaradi@varadiistvan.hu> Fri, 23 Dec 2016 16:28:38 +0100
|
||||
@@ -0,0 +1 @@
|
||||
9
|
||||
@@ -0,0 +1,23 @@
|
||||
Source: qtkeychain
|
||||
Section: contrib/devel
|
||||
Priority: optional
|
||||
Maintainer: István Váradi <ivaradi@varadiistvan.hu>
|
||||
Build-Depends: debhelper (>=9), cdbs, cmake, libqt4-dev
|
||||
Standards-Version: 3.9.8
|
||||
Homepage: https://github.com/frankosterfeld/qtkeychain
|
||||
#Vcs-Git: git://anonscm.debian.org/collab-maint/nextcloud-client.git
|
||||
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/nextcloud-client.git
|
||||
|
||||
Package: libqtkeychain1
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Cross platform password store library
|
||||
Platform-independent Qt API for storing passwords securely.
|
||||
|
||||
Package: qtkeychain-dev
|
||||
Architecture: any
|
||||
Section: contrib/libdevel
|
||||
Depends: libqtkeychain1 (=${binary:Version}), ${misc:Depends}
|
||||
Description: Cross platform password store library development files
|
||||
Development files for the platform-independent Qt API for storing
|
||||
passwords securely.
|
||||
@@ -0,0 +1,3 @@
|
||||
Files: *
|
||||
Copyright: 2011-2015 Frank Osterfeld <frank.osterfeld@gmail.com>
|
||||
License: BSD-2-clause
|
||||
@@ -0,0 +1 @@
|
||||
usr/lib/*/libqtkeychain.so.?*
|
||||
@@ -0,0 +1,3 @@
|
||||
usr/include
|
||||
usr/lib/*/cmake
|
||||
usr/lib/*/libqtkeychain.so
|
||||
Arquivo executável
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/make -f
|
||||
# See debhelper(7) (uncomment to enable)
|
||||
# output every command that modifies files on the build system.
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/class/cmake.mk
|
||||
|
||||
#DEB_SHLIBDEPS_INCLUDE=$(CURDIR)/$(DEB_BUILDDIR)/csync/src
|
||||
|
||||
#DEB_SRCDIR=client
|
||||
#DEB_CMAKE_EXTRA_FLAGS = -DOEM_THEME_DIR=$(CURDIR)/nextcloudtheme -DCMAKE_SKIP_RPATH=OFF -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
|
||||
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
Arquivo executável
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e -u
|
||||
|
||||
scriptdir=`dirname $0`
|
||||
scriptdir=`cd "${scriptdir}" && pwd`
|
||||
|
||||
. "${scriptdir}/config.sh"
|
||||
|
||||
package="${1}"
|
||||
tag="${2}"
|
||||
version="${3}"
|
||||
distribution="${4}"
|
||||
shift 4
|
||||
|
||||
pushd /
|
||||
|
||||
"${scriptdir}/create_debdir.sh" "${package}" "${tag}" "${version}" "${distribution}"
|
||||
|
||||
(cd "${BUILDAREA}/${package}_${version}"; debuild "$@")
|
||||
|
||||
popd
|
||||
Arquivo executável
+20
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e -u
|
||||
|
||||
scriptdir=`dirname $0`
|
||||
scriptdir=`cd "${scriptdir}" && pwd`
|
||||
|
||||
. "${scriptdir}/config.sh"
|
||||
|
||||
distribution="${1}"
|
||||
shift
|
||||
|
||||
rm -rf "${BUILDAREA}"
|
||||
|
||||
pushd /
|
||||
|
||||
"${scriptdir}/build.sh" qtkeychain "${QTKEYCHAIN_TAG}" "${QTKEYCHAIN_VERSION}" "${distribution}" "$@"
|
||||
"${scriptdir}/build.sh" nextcloud-client "${NEXTCLOUD_CLIENT_TAG}" "${NEXTCLOUD_CLIENT_VERSION}" "${distribution}" "$@"
|
||||
|
||||
popd
|
||||
@@ -0,0 +1,35 @@
|
||||
# The directory where the sources are found
|
||||
SOURCES="${HOME}/sources/nextcloud"
|
||||
|
||||
# The directory into which the packages should be genereated
|
||||
BUILDAREA="${SOURCES}/build-area"
|
||||
|
||||
# The directory containing the Git repositories
|
||||
GITROOTS="${SOURCES}/git"
|
||||
|
||||
# The pbuilder root directory
|
||||
PBUILDER_ROOT="${HOME}/pbuilder"
|
||||
|
||||
# The dependencies directory for pbuilder
|
||||
PBUILDER_DEPS="${PBUILDER_ROOT}/deps"
|
||||
|
||||
# The version of the qtkeychain package
|
||||
QTKEYCHAIN_VERSION=0.7.0
|
||||
|
||||
# The full version of the qtkeychain package
|
||||
QTKEYCHAIN_FULL_VERSION="${QTKEYCHAIN_VERSION}-1.0ppa1~@DISTRIBUTION@1"
|
||||
|
||||
# The tag of the qtkeychain package
|
||||
QTKEYCHAIN_TAG="v${QTKEYCHAIN_VERSION}"
|
||||
|
||||
# The version of the nextcloud-client package
|
||||
NEXTCLOUD_CLIENT_VERSION=2.2.4
|
||||
|
||||
# The FULL version of the nextcloud-client package
|
||||
NEXTCLOUD_CLIENT_FULL_VERSION="${NEXTCLOUD_CLIENT_VERSION}-1.2~@DISTRIBUTION@1"
|
||||
|
||||
# The tag of the nextcloud-client package
|
||||
NEXTCLOUD_CLIENT_TAG="v${NEXTCLOUD_CLIENT_VERSION}"
|
||||
|
||||
# The number of CPUs that can be used for paralel builds
|
||||
NUMCPUS=4
|
||||
Arquivo executável
+76
@@ -0,0 +1,76 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e -u
|
||||
|
||||
scriptdir=`dirname $0`
|
||||
scriptdir=`cd "${scriptdir}" && pwd`
|
||||
|
||||
. "${scriptdir}/config.sh"
|
||||
|
||||
package="${1}"
|
||||
tag="${2}"
|
||||
version="${3}"
|
||||
distribution="${4}"
|
||||
|
||||
gitdir="${GITROOTS}/${package}"
|
||||
packagedir="${BUILDAREA}/${package}_${version}"
|
||||
origtarname="${package}_${version}.orig.tar.bz2"
|
||||
origtar="${BUILDAREA}/${origtarname}"
|
||||
|
||||
archive_submodules()
|
||||
{
|
||||
local subdir="${1}"
|
||||
local treeish="${2}"
|
||||
|
||||
local dir="${gitdir}"
|
||||
local destdir="${packagedir}"
|
||||
if test "${subdir}"; then
|
||||
echo " copying submodule ${subdir}"
|
||||
dir="${dir}/${subdir}"
|
||||
destdir="${destdir}/${subdir}"
|
||||
fi
|
||||
|
||||
mkdir -p "${destdir}"
|
||||
|
||||
(cd "${dir}"; git archive "${treeish}" | tar xf - -C "${destdir}")
|
||||
|
||||
(cd "${dir}"; git ls-tree "${treeish}" -r) | while read mode type object file; do
|
||||
if test "${type}" = "commit"; then
|
||||
sdir="${file}"
|
||||
if test "${subdir}"; then
|
||||
sdir="${subdir}/${sdir}"
|
||||
fi
|
||||
archive_submodules "${sdir}" "${object}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
rm -rf "${packagedir}"
|
||||
mkdir -p "${packagedir}"
|
||||
|
||||
echo "Updating submodules"
|
||||
commit=`cd "${GITROOTS}/${package}"; git rev-parse HEAD`
|
||||
(cd "${GITROOTS}/${package}"; git checkout "${tag}"; git submodule update --recursive --init)
|
||||
|
||||
echo "Copying sources"
|
||||
archive_submodules "" "${tag}"
|
||||
|
||||
if test -f "${GITROOTS}/${origtarname}"; then
|
||||
echo "Copying orig archive from ${GITROOTS}"
|
||||
cp -a "${GITROOTS}/${origtarname}" "${BUILDAREA}"
|
||||
else
|
||||
echo "Creating orig archive"
|
||||
tar cjf "${origtar}" -C "${BUILDAREA}" "${package}_${version}"
|
||||
fi
|
||||
|
||||
echo "Restoring Git state"
|
||||
(cd "${GITROOTS}/${package}"; git checkout "${commit}")
|
||||
cd "${scriptdir}"
|
||||
|
||||
echo "Copying Debian files"
|
||||
mkdir -p "${packagedir}/debian"
|
||||
tar cf - -C "${scriptdir}/../${package}/debian" . | tar xf - -C "${packagedir}/debian"
|
||||
|
||||
if test -d "${scriptdir}/../${package}/debian.${distribution}"; then
|
||||
tar cf - -C "${scriptdir}/../${package}/debian.${distribution}" . | tar xf - -C "${packagedir}/debian"
|
||||
fi
|
||||
Arquivo executável
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e -u
|
||||
|
||||
scriptdir=`dirname $0`
|
||||
scriptdir=`cd "${scriptdir}" && pwd`
|
||||
|
||||
. "${scriptdir}/config.sh"
|
||||
|
||||
distribution="${1}"
|
||||
shift
|
||||
|
||||
pushd /
|
||||
"${scriptdir}/build_all.sh" "${distribution}" -S "$@"
|
||||
|
||||
"${scriptdir}/pbuilder_all.sh" "${distribution}" "$@"
|
||||
popd
|
||||
Arquivo executável
+25
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e -u
|
||||
|
||||
scriptdir=`dirname $0`
|
||||
|
||||
. "${scriptdir}/config.sh"
|
||||
|
||||
distribution="${1}"
|
||||
shift
|
||||
|
||||
resultdir="${PBUILDER_ROOT}/${distribution}_result"
|
||||
|
||||
rm -f "${PBUILDER_DEPS}/"*.deb
|
||||
echo -n > "${PBUILDER_DEPS}/Packages"
|
||||
rm -f "${resultdir}/"*
|
||||
|
||||
source "${HOME}/.pbuilderrc"
|
||||
|
||||
dscversion=`echo ${QTKEYCHAIN_FULL_VERSION} | sed "s:@DISTRIBUTION@:${distribution}:g"`
|
||||
pbuilder-dist "${distribution}" build --othermirror "${OTHERMIRROR}" --debbuildopts "-j${NUMCPUS}" "$@" "${BUILDAREA}/qtkeychain_${dscversion}.dsc"
|
||||
cp "${resultdir}/"*.deb "${PBUILDER_DEPS}"
|
||||
|
||||
dscversion=`echo ${NEXTCLOUD_CLIENT_FULL_VERSION} | sed "s:@DISTRIBUTION@:${distribution}:g"`
|
||||
pbuilder-dist "${distribution}" build --othermirror "${OTHERMIRROR}" --debbuildopts "-j${NUMCPUS}" "$@" "${BUILDAREA}/nextcloud-client_${dscversion}.dsc"
|
||||
@@ -1,4 +1,5 @@
|
||||
set( APPLICATION_NAME "Nextcloud" )
|
||||
set( APPLICATION_SHORTNAME "Nextcloud" )
|
||||
set( APPLICATION_EXECUTABLE "nextcloud" )
|
||||
set( APPLICATION_DOMAIN "nextcloud.com" )
|
||||
set( APPLICATION_VENDOR "Nextcloud GmbH" )
|
||||
|
||||
+7
-2
@@ -12,7 +12,7 @@ sudo rm -rf install
|
||||
cd ~
|
||||
git clone --recursive https://github.com/owncloud/client.git
|
||||
cd client
|
||||
git checkout v2.2.3
|
||||
git checkout v2.2.4
|
||||
git submodule update --recursive
|
||||
|
||||
# Build qtkeychain
|
||||
@@ -26,7 +26,12 @@ cp client_theming/osx/dsa_pub.pem client/admin/osx/sparkle/
|
||||
rm -rf build-mac
|
||||
mkdir build-mac
|
||||
cd build-mac
|
||||
cmake -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 -DCMAKE_INSTALL_PREFIX=/Users/builder/install -DCMAKE_PREFIX_PATH=/Users/builder/Qt/5.4/clang_64 -D SPARKLE_INCLUDE_DIR=/Users/builder/Library/Frameworks/Sparkle.framework/ -D SPARKLE_LIBRARY=/Users/builder/Library/Frameworks/Sparkle.framework/ -D OEM_THEME_DIR=/Users/builder/client_theming/nextcloudtheme -DWITH_CRASHREPORTER=ON -DMIRALL_VERSION_SUFFIX=rc1 -DMIRALL_VERSION_BUILD=3 ../client
|
||||
cmake -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 -DCMAKE_INSTALL_PREFIX=/Users/builder/install -DCMAKE_PREFIX_PATH=/Users/builder/Qt/5.4/clang_64 -D SPARKLE_INCLUDE_DIR=/Users/builder/Library/Frameworks/Sparkle.framework/ -D SPARKLE_LIBRARY=/Users/builder/Library/Frameworks/Sparkle.framework/ -D OEM_THEME_DIR=/Users/builder/client_theming/nextcloudtheme -DWITH_CRASHREPORTER=ON -DMIRALL_VERSION_BUILD=1 ../client
|
||||
make
|
||||
sudo make install
|
||||
sudo ~/client_theming/client/admin/osx/sign_app.sh ~/install/nextcloud.app 14C6139C495F80E3086E9912410161BFB41F0578
|
||||
sudo ./admin/osx/create_mac.sh ../install/ . 3EA9DE660A8EE9ED0852BEEEA29269A22E97D427
|
||||
|
||||
# Generate a sparkle signature for the tbz
|
||||
openssl dgst -sha1 -binary < ~/install/*.tbz | openssl dgst -dss1 -sign ~/dsa_priv.pem | openssl enc -base64 > ~/sig.txt
|
||||
sudo mv ~/sig.txt ~/install/signature.txt
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário