Changes of Revision 2

0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch Added
x
 
1
@@ -0,0 +1,32 @@
2
+diff -rupN a/tests/bootstrap.php b/tests/bootstrap.php
3
+--- a/tests/bootstrap.php  2015-06-02 17:44:08.000000000 +0200
4
++++ b/tests/bootstrap.php  2016-06-25 11:01:21.283744068 +0200
5
+@@ -2,19 +2,16 @@
6
+ 
7
+ date_default_timezone_set('UTC');
8
+ 
9
+-$try = array(
10
+-    __DIR__ . '/../vendor/autoload.php',
11
+-    __DIR__ . '/../../../autoload.php',
12
+-);
13
++require_once 'Symfony/Component/ClassLoader/ClassLoader.php';
14
++use Symfony\Component\ClassLoader\ClassLoader;
15
++$loader = new ClassLoader();
16
++$loader->setUseIncludePath(true);
17
++$loader->register();
18
++$loader->addPrefixes(array(
19
++  'Sabre' => __DIR__.'/../lib',
20
++  'SabreTest' => __DIR__,
21
++));
22
+ 
23
+-foreach($try as $path) {
24
+-    if (file_exists($path)) {
25
+-        $autoLoader = include $path;
26
+-        break;
27
+-    }
28
+-}
29
+-
30
+-$autoLoader->addPsr4('Sabre\\VObject\\',__DIR__ . '/VObject');
31
+ 
32
+ if (!defined('SABRE_TEMPDIR')) {
33
+   define('SABRE_TEMPDIR', __DIR__ . '/temp/');
34
debian.changelog Added
78
 
1
@@ -0,0 +1,76 @@
2
+php-sabre-vobject (3.4.5-1) unstable; urgency=low
3
+
4
+  * Upstream Version Bump
5
+  * Initlal Release for Kolab Winterfell
6
+
7
+ -- hede <kolab983@der-he.de>  Sat, 25 Jun 2013 12:00:00 +0200
8
+
9
+php-sabre-vobject (2.1.5-3) unstable; urgency=medium
10
+
11
+  * Fix testsuite for php >= 5.6.1
12
+  * Document current Git branch
13
+
14
+ -- David Prévot <taffit@debian.org>  Sun, 26 Oct 2014 15:42:24 -0400
15
+
16
+php-sabre-vobject (2.1.5-2) unstable; urgency=medium
17
+
18
+  * No tests if DEB_BUILD_OPTIONS contains nocheck
19
+  * Add hint about security maintenance in Jessie
20
+  * Drop now useless XS-Testsuite
21
+  * Bump standards version to 3.9.6
22
+  * Drop reference to long gone php-sabredav
23
+
24
+ -- David Prévot <taffit@debian.org>  Mon, 29 Sep 2014 15:53:28 -0400
25
+
26
+php-sabre-vobject (2.1.5-1) unstable; urgency=medium
27
+
28
+  [ Evert Pot ]
29
+  * Updated copyright years.
30
+  * Bumped version
31
+
32
+  [ David Prévot ]
33
+  * Update upstream URL
34
+
35
+ -- David Prévot <taffit@debian.org>  Tue, 10 Jun 2014 11:38:04 -0400
36
+
37
+php-sabre-vobject (2.1.4-1) unstable; urgency=medium
38
+
39
+  [ Evert Pot ]
40
+  * Fix for #87 (Several compatibility fixes related to timezone handling
41
+    changes in PHP 5.5.10)
42
+
43
+ -- David Prévot <taffit@debian.org>  Sun, 30 Mar 2014 20:13:10 -0400
44
+
45
+php-sabre-vobject (2.1.3-2) unstable; urgency=medium
46
+
47
+  * Track 2.1 releases for unstable
48
+  * Bump standards version to 3.9.5
49
+  * Run the test suite on packaging
50
+  * Add DEP-8 compliant tests
51
+  * Upload 2.1 to unstable, as a dependency of recent php-sabre-dav 1.7
52
+
53
+ -- David Prévot <taffit@debian.org>  Wed, 19 Mar 2014 11:41:23 -0400
54
+
55
+php-sabre-vobject (2.1.3-1) experimental; urgency=low
56
+
57
+  * Imported Upstream version 2.1.3
58
+  * Drop php5-json build-dependency
59
+  * Do not claim copyright on trivial packaging
60
+
61
+ -- David Prévot <taffit@debian.org>  Sat, 12 Oct 2013 18:13:58 -0400
62
+
63
+php-sabre-vobject (2.1.0-1) experimental; urgency=low
64
+
65
+  * New upstream release
66
+  * Adapt to upstream repository move and versions
67
+  * Update copyright
68
+  * Use phpcomposer build helper
69
+  * Use canonical Vcs- fields
70
+
71
+ -- David Prévot <taffit@debian.org>  Thu, 20 Jun 2013 17:17:18 -0400
72
+
73
+php-sabre-vobject (2.0.7-1) unstable; urgency=low
74
+
75
+  * Initial release. (Closes: #704008)
76
+
77
+ -- David Prévot <taffit@debian.org>  Thu, 28 Mar 2013 14:42:14 -0400
78
debian.control Added
28
 
1
@@ -0,0 +1,26 @@
2
+Source: php-sabre-vobject
3
+Section: php
4
+Priority: optional
5
+Maintainer: ownCloud for Debian maintainers <pkg-owncloud-maintainers@lists.alioth.debian.org>
6
+Uploaders: David Prévot <taffit@debian.org>
7
+Build-Depends: debhelper (>= 9),
8
+               php-symfony-classloader,
9
+               phpunit,
10
+               pkg-php-tools (>= 1.7~)
11
+Standards-Version: 3.9.6
12
+Homepage: http://sabre.io/vobject/
13
+Vcs-Git: git://anonscm.debian.org/pkg-owncloud/php-sabre-vobject.git -b 2.1
14
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-owncloud/php-sabre-vobject.git
15
+
16
+Package: php-sabre-vobject
17
+Architecture: all
18
+Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
19
+Suggests: ${phpcomposer:Debian-suggest}
20
+Description: library to parse and manipulate iCalendar and vCard objects
21
+ The SabreTooth VObject library allows one to easily parse and
22
+ manipulate iCalendar and vCard objects using PHP. The goal of the
23
+ VObject library is to create a very complete library, with an easy to
24
+ use API.
25
+ .
26
+ This project is a spin-off from SabreDAV, where it has been used for
27
+ several years.
28
debian.rules Added
29
 
1
@@ -0,0 +1,27 @@
2
+#!/usr/bin/make -f
3
+%:
4
+   dh $@ --with phpcomposer
5
+
6
+override_dh_auto_build:
7
+   # resort folder structure
8
+   mv lib VObject
9
+   mkdir -p lib/Sabre
10
+   mv VObject lib/Sabre/
11
+   mkdir -p tests/Sabre
12
+   mv tests/VObject tests/Sabre/
13
+   #forward to original dh_auto_build
14
+   dh_auto_build
15
+
16
+override_dh_auto_clean:
17
+   rm -rf tests/temp
18
+   dh_auto_clean
19
+
20
+override_dh_auto_test:
21
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
22
+   cd tests && phpunit
23
+else
24
+   @echo "** tests disabled"
25
+endif
26
+
27
+get-orig-source:
28
+   uscan --verbose --rename --force
29
debian.series Added
4
 
1
@@ -0,0 +1,2 @@
2
+0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch -p1
3
+sabre-vobject-bin.patch -p0
4
debian.tar.gz Added
php-sabre-vobject.dsc Added
19
 
1
@@ -0,0 +1,17 @@
2
+Format: 1.0
3
+Source: php-sabre-vobject
4
+Binary: php-sabre-vobject
5
+Architecture: all
6
+Version: 3.4.5-1
7
+Maintainer: ownCloud for Debian maintainers <pkg-owncloud-maintainers@lists.alioth.debian.org>
8
+Uploaders: David Prévot <taffit@debian.org>
9
+Homepage: http://sabre.io/vobject/
10
+Standards-Version: 3.9.3
11
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-owncloud/php-sabre-vobject.git
12
+Vcs-Git: git://anonscm.debian.org/pkg-owncloud/php-sabre-vobject.git -b 2.1
13
+Build-Depends: debhelper (>= 9), php-symfony-classloader, phpunit, pkg-php-tools (>= 1.7~)
14
+Package-List:
15
+ php-sabre-vobject deb php optional arch=all
16
+Files:
17
+ 00000000000000000000000000000000 0 sabre-vobject-3.4.5.tar.gz
18
+ 00000000000000000000000000000000 0 debian.tar.gz
19