]> git.pld-linux.org Git - packages/eventum.git/blame - autoload.patch
drop pear dependencies; mostly inaccurate and deps already listed
[packages/eventum.git] / autoload.patch
CommitLineData
36395687
ER
1--- eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_classmap.php~ 2018-03-13 23:23:55.986285399 +0200
2+++ eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_classmap.php 2018-03-13 23:25:42.798025491 +0200
8c25237f 3@@ -4,6 +4,7 @@
3c566b65
ER
4
5 $vendorDir = dirname(dirname(__FILE__));
6 $baseDir = dirname($vendorDir);
3c566b65
ER
7+$phpDir = PHP_DATADIR . '/php';
8
9 return array(
da6e9570
ER
10 'APIAuthToken' => $baseDir . '/lib/eventum/auth/APIAuthToken.php',
11@@ -24,7 +25,6 @@
3c566b65
ER
12 'CLI_Misc' => $baseDir . '/lib/eventum/class.cli_misc.php',
13 'CRM' => $baseDir . '/lib/eventum/class.crm.php',
14 'CRMException' => $baseDir . '/lib/eventum/class.crmexception.php',
15- 'CachedFileReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
16 'Category' => $baseDir . '/lib/eventum/class.category.php',
17 'Command_Line' => $baseDir . '/lib/eventum/class.command_line.php',
18 'Contact' => $baseDir . '/lib/eventum/crm/class.contact.php',
2185236d 19@@ -45,7 +45,6 @@
3c566b65 20 'Email_Response' => $baseDir . '/lib/eventum/class.email_response.php',
35bb76a6 21 'Eventum_Bot' => $baseDir . '/lib/eventum/irc/Eventum_Bot.php',
3c566b65 22 'FAQ' => $baseDir . '/lib/eventum/class.faq.php',
3c566b65 23- 'FileReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
3c566b65
ER
24 'Filter' => $baseDir . '/lib/eventum/class.filter.php',
25 'Group' => $baseDir . '/lib/eventum/class.group.php',
26 'Help' => $baseDir . '/lib/eventum/class.help.php',
36395687 27@@ -60,19 +60,13 @@
b58d6a84 28 'Link_Filter' => $baseDir . '/lib/eventum/class.link_filter.php',
3c566b65
ER
29 'Mail_Helper' => $baseDir . '/lib/eventum/class.mail_helper.php',
30 'Mail_Queue' => $baseDir . '/lib/eventum/class.mail_queue.php',
3c566b65
ER
31- 'Math_Stats' => $vendorDir . '/pear-pear.php.net/Math_Stats/Math/Stats.php',
32 'Mime_Helper' => $baseDir . '/lib/eventum/class.mime_helper.php',
33 'Misc' => $baseDir . '/lib/eventum/class.misc.php',
3c566b65
ER
34 'MySQL_Fulltext_Search' => $baseDir . '/lib/eventum/search/class.mysql_fulltext_search.php',
35 'Mysql_Auth_Backend' => $baseDir . '/lib/eventum/auth/class.mysql_auth_backend.php',
3c566b65 36- 'Net_POP3' => $vendorDir . '/pear-pear.php.net/Net_POP3/Net/POP3.php',
3c566b65
ER
37- 'Net_Socket' => $vendorDir . '/pear-pear.php.net/Net_Socket/Net/Socket.php',
38- 'Net_URL' => $vendorDir . '/pear-pear.php.net/Net_URL/Net/URL.php',
39 'News' => $baseDir . '/lib/eventum/class.news.php',
40 'Note' => $baseDir . '/lib/eventum/class.note.php',
41 'Notification' => $baseDir . '/lib/eventum/class.notification.php',
42- 'PHPlot' => $vendorDir . '/phplot/phplot/phplot.php',
43- 'PHPlot_truecolor' => $vendorDir . '/phplot/phplot/phplot.php',
44 'Pager' => $baseDir . '/lib/eventum/class.pager.php',
36395687 45 'ParseError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ParseError.php',
3c566b65 46 'Partner' => $baseDir . '/lib/eventum/class.partner.php',
36395687
ER
47@@ -99,44 +93,21 @@
48 'SessionUpdateTimestampHandlerInterface' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php',
da6e9570 49 'Setup' => $baseDir . '/lib/eventum/class.setup.php',
3c566b65 50 'Severity' => $baseDir . '/lib/eventum/class.severity.php',
6688122a 51- 'SphinxClient' => $vendorDir . '/sphinx/php-sphinxapi/sphinxapi.php',
3c566b65
ER
52 'Sphinx_Fulltext_Search' => $baseDir . '/lib/eventum/search/class.sphinx_fulltext_search.php',
53 'Stats' => $baseDir . '/lib/eventum/class.stats.php',
54 'Status' => $baseDir . '/lib/eventum/class.status.php',
55- 'StreamReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
56- 'StringReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
57 'Support' => $baseDir . '/lib/eventum/class.support.php',
58 'SupportLevelNotFoundException' => $baseDir . '/lib/eventum/crm/class.support_level.php',
59 'Support_Level' => $baseDir . '/lib/eventum/crm/class.support_level.php',
3c566b65
ER
60 'Template_Helper' => $baseDir . '/lib/eventum/class.template_helper.php',
61- 'Text_Diff' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
62- 'Text_Diff3' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff3.php',
63- 'Text_Diff3_BlockBuilder' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff3.php',
64- 'Text_Diff3_Op' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff3.php',
65- 'Text_Diff3_Op_copy' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff3.php',
66- 'Text_Diff_Engine_native' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Engine/native.php',
67- 'Text_Diff_Engine_shell' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Engine/shell.php',
68- 'Text_Diff_Engine_string' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Engine/string.php',
69- 'Text_Diff_Engine_xdiff' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Engine/xdiff.php',
70- 'Text_Diff_Mapped' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Mapped.php',
71- 'Text_Diff_Op' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
72- 'Text_Diff_Op_add' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
73- 'Text_Diff_Op_change' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
74- 'Text_Diff_Op_copy' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
75- 'Text_Diff_Op_delete' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
76- 'Text_Diff_Renderer' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Renderer.php',
77- 'Text_Diff_Renderer_context' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Renderer/context.php',
78- 'Text_Diff_Renderer_inline' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Renderer/inline.php',
79- 'Text_Diff_Renderer_unified' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Renderer/unified.php',
80- 'Text_Diff_ThreeWay' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/ThreeWay.php',
81- 'Text_Diff_ThreeWay_BlockBuilder' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/ThreeWay.php',
82- 'Text_Diff_ThreeWay_Op' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/ThreeWay.php',
83- 'Text_Diff_ThreeWay_Op_copy' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/ThreeWay.php',
84- 'Text_MappedDiff' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
85 'Time_Tracking' => $baseDir . '/lib/eventum/class.time_tracking.php',
36395687 86 'TypeError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
3c566b65
ER
87 'User' => $baseDir . '/lib/eventum/class.user.php',
88 'Validation' => $baseDir . '/lib/eventum/class.validation.php',
89 'Workflow' => $baseDir . '/lib/eventum/class.workflow.php',
3c566b65
ER
90- 'gettext_reader' => $vendorDir . '/php-gettext/php-gettext/gettext.php',
91+
92+ // external deps
93+ 'PHPlot' => $phpDir .'/phplot/phplot.php',
94+ 'Smarty' => $phpDir. '/Smarty3/Smarty.class.php',
2c1b4fd2 95+ 'SphinxClient' => $phpDir . '/sphinxapi.php',
3c566b65 96 );
36395687
ER
97--- eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_files.php~ 2018-03-13 23:16:48.000000000 +0200
98+++ eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_files.php 2018-03-13 23:30:31.740381964 +0200
99@@ -4,13 +4,12 @@
b01e96c4
ER
100
101 $vendorDir = dirname(dirname(__FILE__));
3c566b65 102 $baseDir = dirname($vendorDir);
1468f295 103+$phpDir = PHP_DATADIR . '/php';
3c566b65
ER
104
105 return array(
36395687
ER
106 '5255c38a0faeba867671b61dfda6d864' => $vendorDir . '/paragonie/random_compat/lib/random.php',
107 '023d27dca8066ef29e6739335ea73bad' => $vendorDir . '/symfony/polyfill-php70/bootstrap.php',
9b6df4e7 108- 'f084d01b0a599f67676cffef638aa95b' => $vendorDir . '/smarty/smarty/libs/bootstrap.php',
da6e9570
ER
109 '8170285c807a9f24f165f37b15bc9a36' => $vendorDir . '/defuse/php-encryption/Crypto.php',
110- 'b2b3f01361f3aaeab67fde08ae76446f' => $vendorDir . '/smarty-gettext/smarty-gettext/block.t.php',
111- 'd3114450b53a83020e2822546c24e1ad' => $vendorDir . '/smarty-gettext/smarty-gettext/function.locale.php',
112 'd12685060d57775f2bc3adf90c7d62bd' => $baseDir . '/lib/eventum/gettext.php',
113+ 'b2b3f01361f3aaeab67fde08ae76446f' => $phpDir. '/Smarty3/plugins/block.t.php',
3c566b65 114 );
36395687
ER
115--- eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_namespaces.php~ 2018-03-13 23:16:48.000000000 +0200
116+++ eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_namespaces.php 2018-03-13 23:31:58.989080399 +0200
117@@ -3,18 +3,21 @@
da6e9570
ER
118 // autoload_namespaces.php @generated by Composer
119
37f06e5c 120 $vendorDir = dirname(dirname(__FILE__));
3c566b65
ER
121-$baseDir = dirname($vendorDir);
122+$pearDir = PEAR_INSTALL_DIR . '/';
5a65085c 123+$phpDir = PHP_DATADIR . '/php';
3c566b65
ER
124
125 return array(
37f06e5c
ER
126 'SecurityLib' => array($vendorDir . '/ircmaxell/security-lib/lib'),
127 'RandomLib' => array($vendorDir . '/ircmaxell/random-lib/lib'),
3c566b65 128- 'PEAR' => array($vendorDir . '/pear/pear_exception'),
1beb4932 129- 'Net' => array($vendorDir . '/pear/net_smartirc/Net', $vendorDir . '/pear/net_smtp'),
36395687
ER
130 'Doctrine\\ORM\\' => array($vendorDir . '/doctrine/orm/lib'),
131 'Doctrine\\DBAL\\' => array($vendorDir . '/doctrine/dbal/lib'),
132 'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/lib'),
133 'Doctrine\\Common\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib'),
134 'Doctrine\\Common\\Collections\\' => array($vendorDir . '/doctrine/collections/lib'),
3c566b65
ER
135- 'Auth' => array($vendorDir . '/pear/auth_sasl'),
136- '' => array($vendorDir . '/pear/pear-core-minimal/src'),
36395687 137+ // PEAR deps
3c566b65 138+ 'Auth' => array($pearDir),
37f06e5c
ER
139+ 'Mail' => array($pearDir),
140+ 'Net' => array($pearDir),
141+ 'PEAR' => array($pearDir),
8c25237f 142+ 'Text' => array($pearDir),
fae27ee6 143 );
36395687
ER
144--- eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_psr4.php~ 2018-03-13 23:16:48.000000000 +0200
145+++ eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_psr4.php 2018-03-13 23:33:17.547908446 +0200
d0a18312 146@@ -7,13 +7,6 @@
3c566b65 147
9d207070 148 return array(
4d5632cc
ER
149 'malkusch\\lock\\' => array($vendorDir . '/malkusch/lock/classes'),
150- 'Zend\\Validator\\' => array($vendorDir . '/zendframework/zend-validator/src'),
151- 'Zend\\Stdlib\\' => array($vendorDir . '/zendframework/zend-stdlib/src'),
1beb4932 152- 'Zend\\ServiceManager\\' => array($vendorDir . '/zendframework/zend-servicemanager/src'),
4d5632cc
ER
153- 'Zend\\Mime\\' => array($vendorDir . '/zendframework/zend-mime/src'),
154- 'Zend\\Mail\\' => array($vendorDir . '/zendframework/zend-mail/src'),
155- 'Zend\\Loader\\' => array($vendorDir . '/zendframework/zend-loader/src'),
156- 'Zend\\Config\\' => array($vendorDir . '/zendframework/zend-config/src'),
36395687 157 'Symfony\\Polyfill\\Php70\\' => array($vendorDir . '/symfony/polyfill-php70'),
d0a18312
ER
158 'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'),
159 'Symfony\\Component\\Serializer\\' => array($vendorDir . '/symfony/serializer'),
36395687
ER
160@@ -26,16 +19,12 @@
161 'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
162 'Symfony\\Component\\Config\\' => array($vendorDir . '/symfony/config'),
b58d6a84 163 'Silly\\' => array($vendorDir . '/mnapoli/silly/src'),
4d5632cc 164- 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
b58d6a84 165- 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
9b6df4e7 166 'PhpXmlRpc\\' => array($vendorDir . '/phpxmlrpc/phpxmlrpc/src'),
b58d6a84 167 'Phlib\\Flysystem\\Pdo\\' => array($vendorDir . '/phlib/flysystem-pdo/src'),
1beb4932 168 'Phinx\\' => array($vendorDir . '/robmorgan/phinx/src/Phinx'),
4d5632cc 169- 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
b58d6a84
ER
170 'League\\Flysystem\\' => array($vendorDir . '/league/flysystem/src'),
171 'Invoker\\' => array($vendorDir . '/php-di/invoker/src'),
172 'Interop\\Container\\' => array($vendorDir . '/container-interop/container-interop/src/Interop/Container'),
8be9fbff 173- 'Eventum\\Test\\' => array($baseDir . '/tests', $baseDir . '/tests/src'),
376f0835
ER
174 'Eventum\\' => array($baseDir . '/src'),
175 'EmailReplyParser\\' => array($vendorDir . '/willdurand/email-reply-parser/src/EmailReplyParser'),
36395687
ER
176 'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
177@@ -43,4 +32,14 @@
178 'Doctrine\\Common\\Annotations\\' => array($vendorDir . '/doctrine/annotations/lib/Doctrine/Common/Annotations'),
179 'Doctrine\\Common\\' => array($vendorDir . '/doctrine/common/lib/Doctrine/Common'),
2f4f114e 180 'Cascade\\' => array($vendorDir . '/theorchard/monolog-cascade/src'),
b58d6a84 181+
1beb4932
ER
182+ 'Zend\\Validator\\' => array($phpDir . '/Zend/Validator'),
183+ 'Zend\\ServiceManager\\' => array($phpDir . '/Zend/ServiceManager'),
184+ 'Zend\\Stdlib\\' => array($phpDir . '/Zend/Stdlib'),
185+ 'Zend\\Mime\\' => array($phpDir . '/Zend/Mime'),
186+ 'Zend\\Mail\\' => array($phpDir . '/Zend/Mail'),
187+ 'Zend\\Loader\\' => array($phpDir . '/Zend/Loader'),
188+ 'Zend\\Config\\' => array($phpDir . '/Zend/Config'),
1beb4932
ER
189+ 'Monolog\\' => array($phpDir . '/Monolog'),
190+ 'Psr\\Log\\' => array($phpDir. '/Psr/Log'),
191 );
37f06e5c
ER
192--- eventum-3.0.3-13-gfefa325/autoload.php~ 2015-10-13 21:36:40.000000000 +0300
193+++ eventum-3.0.3-13-gfefa325/autoload.php 2015-10-13 23:39:26.450266254 +0300
194@@ -48,4 +48,4 @@
195 define('APP_PHP_GETTEXT_PATH', APP_PATH . '/vendor/php-gettext/php-gettext');
3c566b65 196
37f06e5c
ER
197 // fonts directory for phplot
198-define('APP_FONTS_PATH', APP_PATH . '/vendor/fonts/liberation');
199+define('APP_FONTS_PATH', '/usr/share/fonts/TTF');
36395687
ER
200--- eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_real.php~ 2018-03-13 23:16:48.000000000 +0200
201+++ eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_real.php 2018-03-13 23:35:23.062702617 +0200
da6e9570 202@@ -23,11 +23,7 @@
8f48fa6e
ER
203 self::$loader = $loader = new \Composer\Autoload\ClassLoader();
204 spl_autoload_unregister(array('ComposerAutoloaderInitEventumCore', 'loadClassLoader'));
205
206- $includePaths = require __DIR__ . '/include_paths.php';
36395687 207- $includePaths[] = get_include_path();
4d5632cc 208- set_include_path(implode(PATH_SEPARATOR, $includePaths));
8f48fa6e 209-
e0b1a19f 210- $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
36395687 211+ $useStaticLoader = false; // autoload_static.php patching is annoying and not worth the effort
da6e9570
ER
212 if ($useStaticLoader) {
213 require_once __DIR__ . '/autoload_static.php';
4d5632cc 214
This page took 0.071548 seconds and 4 git commands to generate.