49 Commits

Autor SHA1 Mensagem Data
Daniel Hansson 5fdd72232a Merge pull request #65 from nextcloud/ivaradi-patch-1
Various changes for the Ubuntu/Debian build files
2017-01-22 16:41:46 +01:00
István Váradi 4bf8caf0af Support for Debian builds 2017-01-20 20:32:16 +01:00
István Váradi 474292c8ab Paralel build support 2017-01-20 20:31:53 +01:00
István Váradi 2aa15eaed9 appaname is correct in Nemo syncstate handler 2017-01-19 16:55:00 +01:00
István Váradi 2cfd87bff2 lintian is now satisfied 2017-01-17 21:15:47 +01:00
István Váradi c6c84b5639 Debian build script fixes 2017-01-17 20:43:02 +01:00
István Váradi e34f4a21b9 Nemo and Nautilus extensions for Ubuntu 2017-01-17 20:06:40 +01:00
Roeland Jago Douma 02723bdd7e Merge pull request #60 from nextcloud/patch-travis
Add Travis CI build status indicator
2017-01-13 20:22:18 +01:00
probonopd 3a27c67e29 Add Travis CI build status indicator 2017-01-13 19:25:07 +01:00
Roeland Jago Douma 284cedbef0 Merge pull request #59 from probonopd/patch-1
Fix AppImage
2017-01-13 19:12:19 +01:00
probonopd 88ff5d1e2e Merge pull request #2 from nextcloud/master
Update
2017-01-12 22:27:12 +01:00
probonopd e08bf1f10d Update build.sh 2017-01-12 22:25:57 +01:00
probonopd 273527c0b8 Qt 5 2017-01-12 21:44:47 +01:00
Roeland Jago Douma 89b3516457 Merge pull request #29 from probonopd/patch-1
AppImage for Linux
2017-01-12 21:11:51 +01:00
Roeland Jago Douma 025cc4db16 Merge pull request #37 from tpokorra/master
add APPLICATION_SHORTNAME
2017-01-12 10:30:19 +01:00
Roeland Jago Douma 995937942a Merge pull request #54 from ivaradi/debian
Debian (Ubuntu) PPA build files
2017-01-12 10:29:28 +01:00
István Váradi 42ccc48a80 Debian (Ubuntu) PPA build files 2017-01-05 10:58:19 +01:00
Timotheus Pokorra 0d340688e9 add APPLICATION_SHORTNAME
this is used in https://github.com/owncloud/client/blob/master/shell_integration/nautilus/CMakeLists.txt for the nautilus shell integration
fixes https://github.com/tpokorra/lbs-nextcloud/issues/1
2016-10-21 14:25:33 +02:00
probonopd 1160a797e3 Merge pull request #1 from malfunc/patch-1
revert changes from 4bd21ca34c, 462225e…
2016-10-02 09:34:50 +02:00
malfunc 2e57739f07 . 2016-10-02 04:58:07 +02:00
malfunc 8f3cdd75a6 . 2016-10-02 04:57:49 +02:00
malfunc 76222eab29 revert changes from 4bd21ca34c, 462225e117 and add libssl.so.1.0.0 from build-env, since in different versions the old and new symbols might not be ABI-compatible. 2016-10-02 04:49:46 +02:00
probonopd 462225e117 Update build.sh 2016-10-01 23:58:44 +02:00
probonopd 45ff99224e Update build.sh 2016-10-01 23:33:57 +02:00
probonopd aebd06d001 Update build.sh 2016-10-01 23:24:13 +02:00
probonopd 4bd21ca34c Delete libcrypto
Fix "symbol lookup error: /usr/lib/libssl.so.1.0.0: undefined symbol: EVP_idea_cbc"
2016-10-01 22:48:55 +02:00
probonopd 8ced158900 Update build.sh 2016-10-01 18:30:44 +02:00
probonopd ae0cdb7cd4 Update build.sh 2016-10-01 18:20:17 +02:00
probonopd 241716e8b0 Update build.sh 2016-10-01 18:18:07 +02:00
probonopd a480beb7ab Update build.sh 2016-10-01 18:10:15 +02:00
probonopd a733a04416 Update build.sh 2016-10-01 18:05:29 +02:00
probonopd 672ac7f3cf Update build.sh 2016-10-01 17:49:04 +02:00
probonopd e6223521c3 Update build.sh 2016-10-01 17:37:46 +02:00
probonopd bd3b7e6da8 Update .travis.yml 2016-10-01 17:33:19 +02:00
probonopd 0e51ed7825 Update build.sh 2016-10-01 17:25:17 +02:00
probonopd 7dc61cf7c7 Update build.sh 2016-10-01 17:20:16 +02:00
probonopd 28fb278efe Update build.sh 2016-10-01 17:19:33 +02:00
probonopd 47c50c5e42 Update build.sh 2016-10-01 17:15:00 +02:00
probonopd f9f5cea4a8 Create build.sh 2016-10-01 17:09:02 +02:00
probonopd 829cfe8618 Update .travis.yml 2016-10-01 17:08:26 +02:00
probonopd 2758a6269a Update .travis.yml 2016-10-01 17:05:46 +02:00
probonopd 5f943450ab Update .travis.yml 2016-10-01 16:27:27 +02:00
probonopd d4055ed6eb Create .travis.yml 2016-10-01 16:21:23 +02:00
Lukas Reschke 8aade24147 2.2.4 2016-09-30 20:09:37 +02:00
Roeland Jago Douma cda39f5a8b Client v2.2.4 2016-09-30 15:12:40 +02:00
Roeland Jago Douma c107002d2f Merge pull request #17 from nextcloud/fix_path_optim
Make the submodule one command
2016-09-03 11:53:42 +02:00
LEDfan c9df05498d Make the submodule one command
The `cd ...` must also be `..`
2016-09-03 11:22:19 +02:00
Lukas Reschke 4f17ab2729 It's the final build now 2016-08-26 10:28:45 +02:00
Lukas Reschke bed45021bb Add app and Sparkle signing 2016-08-26 10:22:53 +02:00
47 arquivos alterados com 738 adições e 8 exclusões
+7
Ver Arquivo
@@ -0,0 +1,7 @@
os: linux
sudo: true
dist: trusty
language: cpp
script:
- bash -ex linux/build.sh
+2 -5
Ver Arquivo
@@ -1,4 +1,4 @@
# nextcloud desktop client
# nextcloud desktop client [![Build Status](https://travis-ci.org/nextcloud/client_theming.svg?branch=master)](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
+126
Ver Arquivo
@@ -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"
+35
Ver Arquivo
@@ -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
+5
Ver Arquivo
@@ -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
+52
Ver Arquivo
@@ -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
+12
Ver Arquivo
@@ -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
+5
Ver Arquivo
@@ -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
+1
Ver Arquivo
@@ -0,0 +1 @@
9
+23
Ver Arquivo
@@ -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.
+3
Ver Arquivo
@@ -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
+12
Ver Arquivo
@@ -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)
+22
Ver Arquivo
@@ -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
+20
Ver Arquivo
@@ -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
+35
Ver Arquivo
@@ -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
+76
Ver Arquivo
@@ -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
+17
Ver Arquivo
@@ -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
+25
Ver Arquivo
@@ -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
Ver Arquivo
@@ -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
Ver Arquivo
@@ -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