]> git.pld-linux.org Git - packages/eventum.git/blob - autoload.patch
2659245ade4517e80e156ed3e185a01dc3cacb15
[packages/eventum.git] / autoload.patch
1 --- eventum-3.6.1-76-g74f125a7a/vendor/composer/autoload_classmap.php~  2019-03-07 17:19:22.676504958 +0200
2 +++ eventum-3.6.1-76-g74f125a7a/vendor/composer/autoload_classmap.php   2019-03-07 17:20:50.191892269 +0200
3 @@ -4,6 +4,7 @@
4  
5  $vendorDir = dirname(dirname(__FILE__));
6  $baseDir = dirname($vendorDir);
7 +$phpDir = PHP_DATADIR . '/php';
8  
9  return array(
10      'APIAuthToken' => $baseDir . '/lib/eventum/auth/APIAuthToken.php',
11 @@ -62,8 +62,6 @@
12      'News' => $baseDir . '/lib/eventum/class.news.php',
13      'Note' => $baseDir . '/lib/eventum/class.note.php',
14      'Notification' => $baseDir . '/lib/eventum/class.notification.php',
15 -    'PHPlot' => $vendorDir . '/phplot/phplot/phplot.php',
16 -    'PHPlot_truecolor' => $vendorDir . '/phplot/phplot/phplot.php',
17      'Pager' => $baseDir . '/lib/eventum/class.pager.php',
18      'Partner' => $baseDir . '/lib/eventum/class.partner.php',
19      'Phone_Support' => $baseDir . '/lib/eventum/class.phone_support.php',
20 @@ -94,12 +92,9 @@
21      'SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php',
22      'Setup' => $baseDir . '/lib/eventum/class.setup.php',
23      'Severity' => $baseDir . '/lib/eventum/class.severity.php',
24 -    'SphinxClient' => $vendorDir . '/sphinx/php-sphinxapi/sphinxapi.php',
25      'Sphinx_Fulltext_Search' => $baseDir . '/lib/eventum/search/class.sphinx_fulltext_search.php',
26      'Stats' => $baseDir . '/lib/eventum/class.stats.php',
27      'Status' => $baseDir . '/lib/eventum/class.status.php',
28 -    'StreamReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
29 -    'StringReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
30      'Support' => $baseDir . '/lib/eventum/class.support.php',
31      'SupportLevelNotFoundException' => $baseDir . '/lib/eventum/crm/class.support_level.php',
32      'Support_Level' => $baseDir . '/lib/eventum/crm/class.support_level.php',
33 @@ -110,3 +105,7 @@
34      'Workflow' => $baseDir . '/lib/eventum/class.workflow.php',
35 -    'gettext_reader' => $vendorDir . '/php-gettext/php-gettext/gettext.php',
36 +
37 +    // external deps
38 +    'PHPlot' => $phpDir .'/phplot/phplot.php',
39 +    'Smarty' => $phpDir. '/Smarty3/Smarty.class.php',
40 +    'SphinxClient' => $phpDir . '/sphinxapi.php',
41  );
42 --- eventum-3.6.5-35-g379513d37/vendor/composer/autoload_files.php~     2019-04-18 13:05:11.000000000 +0300
43 +++ eventum-3.6.5-35-g379513d37/vendor/composer/autoload_files.php      2019-04-18 14:27:33.184919302 +0300
44 @@ -4,14 +4,13 @@
45  
46  $vendorDir = dirname(dirname(__FILE__));
47  $baseDir = dirname($vendorDir);
48 +$phpDir = PHP_DATADIR . '/php';
49  
50  return array(
51      '72142d7b40a3a0b14e91825290b5ad82' => $vendorDir . '/cakephp/core/functions.php',
52      '028fdea3165c4ba1ecccc83b7fec69fc' => $vendorDir . '/cakephp/collection/functions.php',
53      '948ad5488880985ff1c06721a4e447fe' => $vendorDir . '/cakephp/utility/bootstrap.php',
54      '2cffec82183ee1cea088009cef9a6fc3' => $vendorDir . '/ezyang/htmlpurifier/library/HTMLPurifier.composer.php',
55 -    'f084d01b0a599f67676cffef638aa95b' => $vendorDir . '/smarty/smarty/libs/bootstrap.php',
56 -    'b2b3f01361f3aaeab67fde08ae76446f' => $vendorDir . '/smarty-gettext/smarty-gettext/block.t.php',
57 -    'd3114450b53a83020e2822546c24e1ad' => $vendorDir . '/smarty-gettext/smarty-gettext/function.locale.php',
58      'd12685060d57775f2bc3adf90c7d62bd' => $baseDir . '/lib/eventum/gettext.php',
59 +    'b2b3f01361f3aaeab67fde08ae76446f' => $phpDir. '/Smarty3/plugins/block.t.php',
60  );
61 --- eventum-3.7.1/vendor/composer/autoload_psr4.php~    2019-05-23 17:12:00.973032447 +0300
62 +++ eventum-3.7.1/vendor/composer/autoload_psr4.php     2019-05-23 17:12:19.062788377 +0300
63 @@ -4,18 +4,11 @@
64  
65  $vendorDir = dirname(dirname(__FILE__));
66  $baseDir = dirname($vendorDir);
67 +$phpDir = PHP_DATADIR . '/php';
68  
69  return array(
70      'malkusch\\lock\\' => array($vendorDir . '/malkusch/lock/classes'),
71 -    'glen\\FilenameNormalizer\\Test\\' => array($vendorDir . '/glen/filename-normalizer/tests'),
72      'glen\\FilenameNormalizer\\' => array($vendorDir . '/glen/filename-normalizer/src'),
73 -    'Zend\\Validator\\' => array($vendorDir . '/zendframework/zend-validator/src'),
74 -    'Zend\\Stdlib\\' => array($vendorDir . '/zendframework/zend-stdlib/src'),
75 -    'Zend\\ServiceManager\\' => array($vendorDir . '/zendframework/zend-servicemanager/src'),
76 -    'Zend\\Mime\\' => array($vendorDir . '/zendframework/zend-mime/src'),
77 -    'Zend\\Mail\\' => array($vendorDir . '/zendframework/zend-mail/src'),
78 -    'Zend\\Loader\\' => array($vendorDir . '/zendframework/zend-loader/src'),
79 -    'Zend\\Config\\' => array($vendorDir . '/zendframework/zend-config/src'),
80      'Webuni\\CommonMark\\TableExtension\\' => array($vendorDir . '/webuni/commonmark-table-extension/src'),
81      'TrueBV\\' => array($vendorDir . '/true/punycode/src'),
82      'Symfony\\Contracts\\' => array($vendorDir . '/symfony/contracts'),
83 @@ -33,14 +33,11 @@
84      'Symfony\\Bundle\\FrameworkBundle\\' => array($vendorDir . '/symfony/framework-bundle'),
85      'Silly\\' => array($vendorDir . '/mnapoli/silly/src'),
86      'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
87 -    'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
88 -    'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
89      'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'),
90      'PhpXmlRpc\\' => array($vendorDir . '/phpxmlrpc/phpxmlrpc/src'),
91      'Phlib\\Flysystem\\Pdo\\' => array($vendorDir . '/phlib/flysystem-pdo/src'),
92      'Phinx\\' => array($vendorDir . '/robmorgan/phinx/src/Phinx'),
93      'PackageVersions\\' => array($vendorDir . '/ocramius/package-versions/src/PackageVersions'),
94 -    'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
95      'Lossendae\\CommonMark\\TaskLists\\' => array($vendorDir . '/lossendae/commonmark-task-lists/src'),
96      'League\\Flysystem\\' => array($vendorDir . '/league/flysystem/src'),
97      'League\\CommonMark\\Ext\\InlinesOnly\\' => array($vendorDir . '/league/commonmark-ext-inlines-only/src'),
98 @@ -45,7 +45,6 @@
99      'League\\CommonMark\\' => array($vendorDir . '/league/commonmark/src'),
100      'Invoker\\' => array($vendorDir . '/php-di/invoker/src'),
101      'Interop\\Container\\' => array($vendorDir . '/container-interop/container-interop/src/Interop/Container'),
102 -    'Eventum\\Test\\' => array($baseDir . '/tests'),
103      'Eventum\\' => array($baseDir . '/src'),
104      'EmailReplyParser\\' => array($vendorDir . '/willdurand/email-reply-parser/src/EmailReplyParser'),
105      'Ds\\' => array($vendorDir . '/php-ds/php-ds/src'),
106 @@ -60,2 +50,12 @@
107      'Cake\\Cache\\' => array($vendorDir . '/cakephp/cache'),
108 +
109 +    'Zend\\Validator\\' =>  array($phpDir . '/Zend/Validator'),
110 +    'Zend\\ServiceManager\\' => array($phpDir . '/Zend/ServiceManager'),
111 +    'Zend\\Stdlib\\' => array($phpDir . '/Zend/Stdlib'),
112 +    'Zend\\Mime\\' => array($phpDir . '/Zend/Mime'),
113 +    'Zend\\Mail\\' => array($phpDir . '/Zend/Mail'),
114 +    'Zend\\Loader\\' => array($phpDir . '/Zend/Loader'),
115 +    'Zend\\Config\\' => array($phpDir . '/Zend/Config'),
116 +    'Monolog\\' => array($phpDir . '/Monolog'),
117 +    'Psr\\Log\\' => array($phpDir. '/Psr/Log'),
118  );
119 --- eventum-3.0.3-13-gfefa325/autoload.php~     2015-10-13 21:36:40.000000000 +0300
120 +++ eventum-3.0.3-13-gfefa325/autoload.php      2015-10-13 23:39:26.450266254 +0300
121 @@ -48,4 +48,4 @@
122  define('APP_PHP_GETTEXT_PATH', APP_PATH . '/vendor/php-gettext/php-gettext');
123  
124  // fonts directory for phplot
125 -define('APP_FONTS_PATH', APP_PATH . '/vendor/fonts/liberation');
126 +define('APP_FONTS_PATH', '/usr/share/fonts/TTF');
127 --- eventum-3.6.3-29-g154295bd2/vendor/composer/autoload_real.php~      2019-03-26 09:59:16.000000000 +0200
128 +++ eventum-3.6.3-29-g154295bd2/vendor/composer/autoload_real.php       2019-03-26 13:18:14.402093309 +0200
129 @@ -23,7 +23,7 @@
130          self::$loader = $loader = new \Composer\Autoload\ClassLoader();
131          spl_autoload_unregister(array('ComposerAutoloaderInitEventumCore', 'loadClassLoader'));
132  
133 -        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
134 +        $useStaticLoader = false; // autoload_static.php patching is annoying and not worth the effort
135          if ($useStaticLoader) {
136              require_once __DIR__ . '/autoload_static.php';
137  
This page took 0.042447 seconds and 2 git commands to generate.