]> git.pld-linux.org Git - packages/eventum.git/blame - autoload.patch
fix Math_Stats autoload
[packages/eventum.git] / autoload.patch
CommitLineData
6933980a
ER
1--- eventum-3.3.4-387-geb24072d/vendor/composer/autoload_classmap.php~ 2018-03-15 13:08:57.843633962 +0200
2+++ eventum-3.3.4-387-geb24072d/vendor/composer/autoload_classmap.php 2018-03-15 13:09:53.566126362 +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',
6933980a 27@@ -60,20 +60,14 @@
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',
6933980a 40 'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
3c566b65
ER
41 'Note' => $baseDir . '/lib/eventum/class.note.php',
42 'Notification' => $baseDir . '/lib/eventum/class.notification.php',
43- 'PHPlot' => $vendorDir . '/phplot/phplot/phplot.php',
44- 'PHPlot_truecolor' => $vendorDir . '/phplot/phplot/phplot.php',
45 'Pager' => $baseDir . '/lib/eventum/class.pager.php',
36395687 46 'ParseError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ParseError.php',
3c566b65 47 'Partner' => $baseDir . '/lib/eventum/class.partner.php',
36395687
ER
48@@ -99,44 +93,21 @@
49 'SessionUpdateTimestampHandlerInterface' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php',
da6e9570 50 'Setup' => $baseDir . '/lib/eventum/class.setup.php',
3c566b65 51 'Severity' => $baseDir . '/lib/eventum/class.severity.php',
6688122a 52- 'SphinxClient' => $vendorDir . '/sphinx/php-sphinxapi/sphinxapi.php',
3c566b65
ER
53 'Sphinx_Fulltext_Search' => $baseDir . '/lib/eventum/search/class.sphinx_fulltext_search.php',
54 'Stats' => $baseDir . '/lib/eventum/class.stats.php',
55 'Status' => $baseDir . '/lib/eventum/class.status.php',
56- 'StreamReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
57- 'StringReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
58 'Support' => $baseDir . '/lib/eventum/class.support.php',
59 'SupportLevelNotFoundException' => $baseDir . '/lib/eventum/crm/class.support_level.php',
60 'Support_Level' => $baseDir . '/lib/eventum/crm/class.support_level.php',
3c566b65
ER
61 'Template_Helper' => $baseDir . '/lib/eventum/class.template_helper.php',
62- 'Text_Diff' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
63- 'Text_Diff3' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff3.php',
64- 'Text_Diff3_BlockBuilder' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff3.php',
65- 'Text_Diff3_Op' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff3.php',
66- 'Text_Diff3_Op_copy' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff3.php',
67- 'Text_Diff_Engine_native' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Engine/native.php',
68- 'Text_Diff_Engine_shell' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Engine/shell.php',
69- 'Text_Diff_Engine_string' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Engine/string.php',
70- 'Text_Diff_Engine_xdiff' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Engine/xdiff.php',
71- 'Text_Diff_Mapped' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Mapped.php',
72- 'Text_Diff_Op' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
73- 'Text_Diff_Op_add' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
74- 'Text_Diff_Op_change' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
75- 'Text_Diff_Op_copy' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
76- 'Text_Diff_Op_delete' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
77- 'Text_Diff_Renderer' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Renderer.php',
78- 'Text_Diff_Renderer_context' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Renderer/context.php',
79- 'Text_Diff_Renderer_inline' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Renderer/inline.php',
80- 'Text_Diff_Renderer_unified' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/Renderer/unified.php',
81- 'Text_Diff_ThreeWay' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/ThreeWay.php',
82- 'Text_Diff_ThreeWay_BlockBuilder' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/ThreeWay.php',
83- 'Text_Diff_ThreeWay_Op' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/ThreeWay.php',
84- 'Text_Diff_ThreeWay_Op_copy' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff/ThreeWay.php',
85- 'Text_MappedDiff' => $vendorDir . '/pear-pear.php.net/Text_Diff/Text/Diff.php',
86 'Time_Tracking' => $baseDir . '/lib/eventum/class.time_tracking.php',
36395687 87 'TypeError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
3c566b65
ER
88 'User' => $baseDir . '/lib/eventum/class.user.php',
89 'Validation' => $baseDir . '/lib/eventum/class.validation.php',
90 'Workflow' => $baseDir . '/lib/eventum/class.workflow.php',
3c566b65
ER
91- 'gettext_reader' => $vendorDir . '/php-gettext/php-gettext/gettext.php',
92+
93+ // external deps
94+ 'PHPlot' => $phpDir .'/phplot/phplot.php',
95+ 'Smarty' => $phpDir. '/Smarty3/Smarty.class.php',
2c1b4fd2 96+ 'SphinxClient' => $phpDir . '/sphinxapi.php',
3c566b65 97 );
514e13cf
ER
98--- eventum-3.5.2/vendor/composer/autoload_files.php 2018-07-06 10:56:53.018210155 +0300
99+++ eventum-3.5.2/vendor/composer/autoload_files.php 2018-07-06 10:57:42.254191350 +0300
100@@ -6,12 +6,10 @@
3c566b65 101 $baseDir = dirname($vendorDir);
1468f295 102+$phpDir = PHP_DATADIR . '/php';
3c566b65
ER
103
104 return array(
514e13cf 105- '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
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',
6933980a 109 'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
da6e9570
ER
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 );
ea627041
ER
115--- eventum-3.4.2-27-g4318eb0a/vendor/composer/autoload_namespaces.php~ 2018-05-20 15:47:14.000000000 +0300
116+++ eventum-3.4.2-27-g4318eb0a/vendor/composer/autoload_namespaces.php 2018-05-20 15:55:55.040415223 +0300
f593668f 117@@ -3,19 +3,23 @@
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'),
ea627041 129- 'Net' => array($vendorDir . '/pear/net_smtp'),
c1d49ae4 130 'Enrise\\' => array($vendorDir . '/enrise/urihelper/src'),
36395687
ER
131 'Doctrine\\ORM\\' => array($vendorDir . '/doctrine/orm/lib'),
132 'Doctrine\\DBAL\\' => array($vendorDir . '/doctrine/dbal/lib'),
133 'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/lib'),
134 'Doctrine\\Common\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib'),
135 'Doctrine\\Common\\Collections\\' => array($vendorDir . '/doctrine/collections/lib'),
3c566b65
ER
136- 'Auth' => array($vendorDir . '/pear/auth_sasl'),
137- '' => array($vendorDir . '/pear/pear-core-minimal/src'),
ea627041 138+ // PEAR deps
3c566b65 139+ 'Auth' => array($pearDir),
37f06e5c 140+ 'Mail' => array($pearDir),
f593668f 141+ 'Math' => array($pearDir),
37f06e5c
ER
142+ 'Net' => array($pearDir),
143+ 'PEAR' => array($pearDir),
8c25237f 144+ 'Text' => array($pearDir),
fae27ee6 145 );
c1d49ae4
ER
146--- eventum-3.3.4-421-g0643f20c/vendor/composer/autoload_psr4.php~ 2018-04-14 03:48:20.217212779 +0300
147+++ eventum-3.3.4-421-g0643f20c/vendor/composer/autoload_psr4.php 2018-04-14 03:48:39.833586386 +0300
148@@ -10,13 +10,6 @@
6933980a
ER
149 'glen\\FilenameNormalizer\\Test\\' => array($vendorDir . '/glen/filename-normalizer/tests'),
150 'glen\\FilenameNormalizer\\' => array($vendorDir . '/glen/filename-normalizer/src'),
c1d49ae4 151 'cebe\\markdown\\' => array($vendorDir . '/cebe/markdown'),
4d5632cc
ER
152- 'Zend\\Validator\\' => array($vendorDir . '/zendframework/zend-validator/src'),
153- 'Zend\\Stdlib\\' => array($vendorDir . '/zendframework/zend-stdlib/src'),
1beb4932 154- 'Zend\\ServiceManager\\' => array($vendorDir . '/zendframework/zend-servicemanager/src'),
4d5632cc
ER
155- 'Zend\\Mime\\' => array($vendorDir . '/zendframework/zend-mime/src'),
156- 'Zend\\Mail\\' => array($vendorDir . '/zendframework/zend-mail/src'),
157- 'Zend\\Loader\\' => array($vendorDir . '/zendframework/zend-loader/src'),
158- 'Zend\\Config\\' => array($vendorDir . '/zendframework/zend-config/src'),
36395687 159 'Symfony\\Polyfill\\Php70\\' => array($vendorDir . '/symfony/polyfill-php70'),
6933980a 160 'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'),
d0a18312 161 'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'),
36395687
ER
162@@ -26,16 +19,12 @@
163 'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
164 'Symfony\\Component\\Config\\' => array($vendorDir . '/symfony/config'),
b58d6a84 165 'Silly\\' => array($vendorDir . '/mnapoli/silly/src'),
4d5632cc 166- 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
b58d6a84 167- 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
9b6df4e7 168 'PhpXmlRpc\\' => array($vendorDir . '/phpxmlrpc/phpxmlrpc/src'),
b58d6a84 169 'Phlib\\Flysystem\\Pdo\\' => array($vendorDir . '/phlib/flysystem-pdo/src'),
1beb4932 170 'Phinx\\' => array($vendorDir . '/robmorgan/phinx/src/Phinx'),
4d5632cc 171- 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
b58d6a84
ER
172 'League\\Flysystem\\' => array($vendorDir . '/league/flysystem/src'),
173 'Invoker\\' => array($vendorDir . '/php-di/invoker/src'),
174 'Interop\\Container\\' => array($vendorDir . '/container-interop/container-interop/src/Interop/Container'),
8be9fbff 175- 'Eventum\\Test\\' => array($baseDir . '/tests', $baseDir . '/tests/src'),
376f0835
ER
176 'Eventum\\' => array($baseDir . '/src'),
177 'EmailReplyParser\\' => array($vendorDir . '/willdurand/email-reply-parser/src/EmailReplyParser'),
36395687
ER
178 'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
179@@ -43,4 +32,14 @@
180 'Doctrine\\Common\\Annotations\\' => array($vendorDir . '/doctrine/annotations/lib/Doctrine/Common/Annotations'),
181 'Doctrine\\Common\\' => array($vendorDir . '/doctrine/common/lib/Doctrine/Common'),
2f4f114e 182 'Cascade\\' => array($vendorDir . '/theorchard/monolog-cascade/src'),
b58d6a84 183+
1beb4932
ER
184+ 'Zend\\Validator\\' => array($phpDir . '/Zend/Validator'),
185+ 'Zend\\ServiceManager\\' => array($phpDir . '/Zend/ServiceManager'),
186+ 'Zend\\Stdlib\\' => array($phpDir . '/Zend/Stdlib'),
187+ 'Zend\\Mime\\' => array($phpDir . '/Zend/Mime'),
188+ 'Zend\\Mail\\' => array($phpDir . '/Zend/Mail'),
189+ 'Zend\\Loader\\' => array($phpDir . '/Zend/Loader'),
190+ 'Zend\\Config\\' => array($phpDir . '/Zend/Config'),
1beb4932
ER
191+ 'Monolog\\' => array($phpDir . '/Monolog'),
192+ 'Psr\\Log\\' => array($phpDir. '/Psr/Log'),
193 );
37f06e5c
ER
194--- eventum-3.0.3-13-gfefa325/autoload.php~ 2015-10-13 21:36:40.000000000 +0300
195+++ eventum-3.0.3-13-gfefa325/autoload.php 2015-10-13 23:39:26.450266254 +0300
196@@ -48,4 +48,4 @@
197 define('APP_PHP_GETTEXT_PATH', APP_PATH . '/vendor/php-gettext/php-gettext');
3c566b65 198
37f06e5c
ER
199 // fonts directory for phplot
200-define('APP_FONTS_PATH', APP_PATH . '/vendor/fonts/liberation');
201+define('APP_FONTS_PATH', '/usr/share/fonts/TTF');
36395687
ER
202--- eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_real.php~ 2018-03-13 23:16:48.000000000 +0200
203+++ eventum-3.3.4-365-g65c5538f/vendor/composer/autoload_real.php 2018-03-13 23:35:23.062702617 +0200
da6e9570 204@@ -23,11 +23,7 @@
8f48fa6e
ER
205 self::$loader = $loader = new \Composer\Autoload\ClassLoader();
206 spl_autoload_unregister(array('ComposerAutoloaderInitEventumCore', 'loadClassLoader'));
207
208- $includePaths = require __DIR__ . '/include_paths.php';
36395687 209- $includePaths[] = get_include_path();
4d5632cc 210- set_include_path(implode(PATH_SEPARATOR, $includePaths));
8f48fa6e 211-
e0b1a19f 212- $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
36395687 213+ $useStaticLoader = false; // autoload_static.php patching is annoying and not worth the effort
da6e9570
ER
214 if ($useStaticLoader) {
215 require_once __DIR__ . '/autoload_static.php';
4d5632cc 216
This page took 0.19487 seconds and 4 git commands to generate.