[pkg-kolab] r1366 - in php-kolab-filter/trunk/debian: . patches
Mathieu Parent
sathieu at alioth.debian.org
Sat Oct 17 14:16:54 UTC 2009
Author: sathieu
Date: 2009-10-17 14:16:54 +0000 (Sat, 17 Oct 2009)
New Revision: 1366
Modified:
php-kolab-filter/trunk/debian/changelog
php-kolab-filter/trunk/debian/patches/30-horde-path.diff
Log:
30-horde-path.diff: Updated. Avoid another Horde include error in
test/Horde/Kolab/Filter/ContentTest.php
Modified: php-kolab-filter/trunk/debian/changelog
===================================================================
--- php-kolab-filter/trunk/debian/changelog 2009-10-17 14:14:42 UTC (rev 1365)
+++ php-kolab-filter/trunk/debian/changelog 2009-10-17 14:16:54 UTC (rev 1366)
@@ -1,4 +1,4 @@
-php-kolab-filter (0.1.5-3~pre2) kolab-snapshots; urgency=low
+php-kolab-filter (0.1.5-3~pre3) kolab-snapshots; urgency=low
* NOT RELEASED YET
* Bump Standards-Version to 3.8.3: no changes
@@ -7,8 +7,10 @@
* Add README.source as required by policy 4.14
* Change my email address, as I am now Debian developer
* Depends on php5-imap due to the use of imap_rfc822_parse_adrlist
+ * 30-horde-path.diff: Updated. Avoid another Horde include error in
+ test/Horde/Kolab/Filter/ContentTest.php
- -- Mathieu Parent <sathieu at debian.org> Sat, 17 Oct 2009 16:13:40 +0200
+ -- Mathieu Parent <sathieu at debian.org> Sat, 17 Oct 2009 16:15:53 +0200
php-kolab-filter (0.1.5-2) unstable; urgency=low
Modified: php-kolab-filter/trunk/debian/patches/30-horde-path.diff
===================================================================
--- php-kolab-filter/trunk/debian/patches/30-horde-path.diff 2009-10-17 14:14:42 UTC (rev 1365)
+++ php-kolab-filter/trunk/debian/patches/30-horde-path.diff 2009-10-17 14:16:54 UTC (rev 1366)
@@ -41,8 +41,8 @@
===================================================================
--- a/Kolab_Filter-0.1.5/lib/Horde/Kolab/Resource.php
+++ b/Kolab_Filter-0.1.5/lib/Horde/Kolab/Resource.php
-@@ -5,6 +5,11 @@
- * @package Kolab_Filter
+@@ -14,6 +14,11 @@
+ * @link http://pear.horde.org/index.php?package=Kolab_Server
*/
+/** Debian Hack: use old Horde path until #510760 is fixed */
@@ -57,18 +57,19 @@
===================================================================
--- a/Kolab_Filter-0.1.5/test/Horde/Kolab/Filter/ContentTest.php
+++ b/Kolab_Filter-0.1.5/test/Horde/Kolab/Filter/ContentTest.php
-@@ -13,6 +13,11 @@
- require_once 'PHPUnit/Framework.php';
- require_once 'PHPUnit/Extensions/OutputTestCase.php';
+@@ -7,6 +7,12 @@
+ * @package Horde_Kolab_Filter
+ */
++
+/** Debian Hack: use old Horde path until #510760 is fixed */
+if(!preg_match('@:/usr/share/horde3/lib($|:)@', ini_get('include_path'))) {
+ ini_set('include_path', ini_get('include_path') . ':' . '/usr/share/horde3/lib');
+}
+
- require_once 'Horde.php';
- require_once 'Horde/Kolab/Filter/Content.php';
-
+ /**
+ * We need the unit test framework
+ */
Index: b/Kolab_Filter-0.1.5/test/Horde/Kolab/Filter/FilterTest.php
===================================================================
--- a/Kolab_Filter-0.1.5/test/Horde/Kolab/Filter/FilterTest.php
@@ -123,7 +124,7 @@
+++ b/Kolab_Filter-0.1.5/test/Horde/Kolab/Filter/ResourceTest.php
@@ -12,6 +12,11 @@
*/
- require_once 'Horde/Kolab/Test.php';
+ require_once 'Horde/Kolab/Test/Filter.php';
+/** Debian Hack: use old Horde path until #510760 is fixed */
+if(!preg_match('@:/usr/share/horde3/lib($|:)@', ini_get('include_path'))) {
More information about the pkg-kolab-devel
mailing list