]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- patch to use system PEAR packages
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 25 Jan 2005 22:27:21 +0000 (22:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-PEAR.patch -> 1.1

eventum-PEAR.patch [new file with mode: 0644]

diff --git a/eventum-PEAR.patch b/eventum-PEAR.patch
new file mode 100644 (file)
index 0000000..268b370
--- /dev/null
@@ -0,0 +1,84 @@
+--- eventum-1.4/setup/config.inc.php~  2005-01-25 23:50:53.000000000 +0200
++++ eventum-1.4/setup/config.inc.php   2005-01-25 23:51:23.000000000 +0200
+@@ -54,9 +54,9 @@
+ }
+ @define("APP_PATH", $app_path);
+ @define("APP_INC_PATH", APP_PATH . "include/");
+-@define("APP_PEAR_PATH", APP_INC_PATH . "pear/");
++@define("APP_PEAR_PATH", "/usr/share/pear/");
+ @define("APP_TPL_PATH", APP_PATH . "templates/");
+-@define("APP_SMARTY_PATH", APP_INC_PATH . "Smarty/");
++@define("APP_SMARTY_PATH", APP_PEAR_PATH . "Smarty/");
+ @define("APP_JPGRAPH_PATH", APP_INC_PATH . "jpgraph/");
+ @define("APP_LOG_PATH", "/var/log/eventum/");
+ @define("APP_LOCKS_PATH", "/var/run/eventum/");
+--- eventum-1.4/setup/index.php~       2005-01-25 23:52:31.000000000 +0200
++++ eventum-1.4/setup/index.php        2005-01-25 23:52:33.000000000 +0200
+@@ -199,7 +199,7 @@
+ }
+ ini_set("include_path", '.');
+-include_once("../include/Smarty/Smarty.class.php");
++include_once("/usr/share/pear/Smarty/Smarty.class.php");
+ $tpl = new Smarty();
+ $tpl->template_dir = '../templates/en';
+--- eventum-1.4/misc/cli/config.inc.php~       2005-01-26 00:24:10.000000000 +0200
++++ eventum-1.4/misc/cli/config.inc.php        2005-01-26 00:24:12.000000000 +0200
+@@ -47,7 +47,7 @@
+ // definitions of path related variables
+ @define("APP_PATH", '/usr/share/eventum/misc/cli/');
+ @define("APP_INC_PATH", APP_PATH . "include/");
+-@define("APP_PEAR_PATH", APP_INC_PATH . "pear/");
++@define("APP_PEAR_PATH", "/usr/share/pear/");
+ ini_set("include_path", ".:" . APP_PEAR_PATH);
+ @define("APP_BENCHMARK", false);
+--- ./misc/cli/eventum~        2005-01-24 17:49:25.000000000 +0200
++++ ./misc/cli/eventum 2005-01-25 15:48:56.000000000 +0200
+@@ -13,7 +13,7 @@
+ //
+ include_once("/etc/eventum/cli.php");
+ include_once(APP_INC_PATH . "class.command_line.php");
+-include_once(APP_PEAR_PATH . "XML_RPC/RPC.php");
++include_once(APP_PEAR_PATH . "XML/RPC.php");
+ list($user_email, $user_password, $url, $port, $relative_url) = Command_Line::getEnvironmentSettings();
+ if (empty($port)) {
+--- ./misc/cli/include/class.command_line.php  2005-01-05 01:06:03.000000000 +0200
++++ ./misc/cli/include/class.command_line.php  2005-01-25 15:48:56.000000000 +0200
+@@ -29,7 +29,7 @@
+ //
+ include_once(APP_INC_PATH . "class.misc.php");
+-include_once(APP_PEAR_PATH . "XML_RPC/RPC.php");
++include_once(APP_PEAR_PATH . "XML/RPC.php");
+ $_displayed_confirmation = false;
+--- ./rpc/xmlrpc.php~  2005-01-05 01:06:19.000000000 +0200
++++ ./rpc/xmlrpc.php   2005-01-25 16:35:14.000000000 +0200
+@@ -41,7 +41,7 @@
+ include_once(APP_INC_PATH . "class.template.php");
+ include_once(APP_INC_PATH . "class.customer.php");
+ error_reporting(0);
+-include_once(APP_PEAR_PATH . "XML_RPC/Server.php");
++include_once(APP_PEAR_PATH . "XML/RPC/Server.php");
+ function authenticate($email, $password)
+ {
+--- ./include/class.notification.php~  2005-01-05 01:06:19.000000000 +0200
++++ ./include/class.notification.php   2005-01-25 16:41:23.000000000 +0200
+@@ -613,9 +613,9 @@
+         }
+         if ($old["iss_description"] != $new["description"]) {
+             // need real diff engine here
+-            include_once 'Text_Diff/Diff.php';
+-            include_once 'Text_Diff/Diff/Renderer.php';
+-            include_once 'Text_Diff/Diff/Renderer/unified.php';
++            include_once 'Text/Diff.php';
++            include_once 'Text/Diff/Renderer.php';
++            include_once 'Text/Diff/Renderer/unified.php';
+             $old['iss_description'] = explode("\n", $old['iss_description']);
+             $new['description'] = explode("\n", $new['description']);
+             $diff = &new Text_Diff($old["iss_description"], $new["description"]);
This page took 0.062015 seconds and 4 git commands to generate.