]> git.pld-linux.org Git - packages/eventum.git/blob - autoload.patch
up to 3.7.3
[packages/eventum.git] / autoload.patch
1 --- eventum-3.7.2-52-g4b3cb3541/vendor/composer/autoload_classmap.php~  2019-08-02 00:49:33.602293956 +0300
2 +++ eventum-3.7.2-52-g4b3cb3541/vendor/composer/autoload_classmap.php   2019-08-02 00:50:28.511499620 +0300
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 @@ -132,13 +132,10 @@
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      'SqlFormatter' => $vendorDir . '/jdorn/sql-formatter/lib/SqlFormatter.php',
27      'Stats' => $baseDir . '/lib/eventum/class.stats.php',
28      'Status' => $baseDir . '/lib/eventum/class.status.php',
29 -    'StreamReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
30 -    'StringReader' => $vendorDir . '/php-gettext/php-gettext/streams.php',
31      'Support' => $baseDir . '/lib/eventum/class.support.php',
32      'SupportLevelNotFoundException' => $baseDir . '/lib/eventum/crm/class.support_level.php',
33      'Support_Level' => $baseDir . '/lib/eventum/crm/class.support_level.php',
34 @@ -110,3 +105,7 @@
35      'Workflow' => $baseDir . '/lib/eventum/class.workflow.php',
36 -    'gettext_reader' => $vendorDir . '/php-gettext/php-gettext/gettext.php',
37 +
38 +    // external deps
39 +    'PHPlot' => $phpDir .'/phplot/phplot.php',
40 +    'Smarty' => $phpDir. '/Smarty3/Smarty.class.php',
41 +    'SphinxClient' => $phpDir . '/sphinxapi.php',
42  );
43 --- eventum-3.7.2/vendor/composer/autoload_files.php~   2019-07-06 20:22:42.000000000 +0300
44 +++ eventum-3.7.2/vendor/composer/autoload_files.php    2019-07-06 20:32:18.581001458 +0300
45 @@ -4,6 +4,7 @@
46  
47  $vendorDir = dirname(dirname(__FILE__));
48  $baseDir = dirname($vendorDir);
49 +$phpDir = PHP_DATADIR . '/php';
50  
51  return array(
52      '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php',
53 @@ -13,8 +14,6 @@
54      '028fdea3165c4ba1ecccc83b7fec69fc' => $vendorDir . '/cakephp/collection/functions.php',
55      '948ad5488880985ff1c06721a4e447fe' => $vendorDir . '/cakephp/utility/bootstrap.php',
56      '2cffec82183ee1cea088009cef9a6fc3' => $vendorDir . '/ezyang/htmlpurifier/library/HTMLPurifier.composer.php',
57 -    'f084d01b0a599f67676cffef638aa95b' => $vendorDir . '/smarty/smarty/libs/bootstrap.php',
58 -    'b2b3f01361f3aaeab67fde08ae76446f' => $vendorDir . '/smarty-gettext/smarty-gettext/block.t.php',
59 -    'd3114450b53a83020e2822546c24e1ad' => $vendorDir . '/smarty-gettext/smarty-gettext/function.locale.php',
60      'd12685060d57775f2bc3adf90c7d62bd' => $baseDir . '/lib/eventum/gettext.php',
61 +    'b2b3f01361f3aaeab67fde08ae76446f' => $phpDir. '/Smarty3/plugins/block.t.php',
62  );
63 --- eventum-3.7.2-52-g4b3cb3541/vendor/composer/autoload_psr4.php~      2019-08-02 00:49:33.602293956 +0300
64 +++ eventum-3.7.2-52-g4b3cb3541/vendor/composer/autoload_psr4.php       2019-08-02 00:51:06.877611283 +0300
65 @@ -4,10 +4,10 @@
66  
67  $vendorDir = dirname(dirname(__FILE__));
68  $baseDir = dirname($vendorDir);
69 +$phpDir = PHP_DATADIR . '/php';
70  
71  return array(
72      'malkusch\\lock\\' => array($vendorDir . '/malkusch/lock/classes'),
73 -    'glen\\FilenameNormalizer\\Test\\' => array($vendorDir . '/glen/filename-normalizer/tests'),
74      'glen\\FilenameNormalizer\\' => array($vendorDir . '/glen/filename-normalizer/src'),
75      'Zend\\Validator\\' => array($vendorDir . '/zendframework/zend-validator/src'),
76      'Zend\\Stdlib\\' => array($vendorDir . '/zendframework/zend-stdlib/src'),
77 @@ -51,7 +51,6 @@
78      'Silly\\' => array($vendorDir . '/mnapoli/silly/src'),
79      'Seld\\Signal\\' => array($vendorDir . '/seld/signal-handler/src'),
80      'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
81 -    'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
82      'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
83      'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'),
84      'Port\\Tests\\' => array($vendorDir . '/portphp/portphp/tests'),
85 @@ -66,7 +66,6 @@
86      'Phlib\\Flysystem\\Pdo\\' => array($vendorDir . '/phlib/flysystem-pdo/src'),
87      'Phinx\\' => array($vendorDir . '/robmorgan/phinx/src/Phinx'),
88      'PackageVersions\\' => array($vendorDir . '/ocramius/package-versions/src/PackageVersions'),
89 -    'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
90      'League\\Flysystem\\' => array($vendorDir . '/league/flysystem/src'),
91      'League\\CommonMark\\Ext\\TaskList\\' => array($vendorDir . '/league/commonmark-ext-task-list/src'),
92      'League\\CommonMark\\Ext\\Table\\' => array($vendorDir . '/league/commonmark-ext-table/src'),
93 @@ -45,7 +53,6 @@
94      'League\\CommonMark\\' => array($vendorDir . '/league/commonmark/src'),
95      'Invoker\\' => array($vendorDir . '/php-di/invoker/src'),
96      'Interop\\Container\\' => array($vendorDir . '/container-interop/container-interop/src/Interop/Container'),
97 -    'Eventum\\Test\\' => array($baseDir . '/tests'),
98      'Eventum\\' => array($baseDir . '/src'),
99      'EmailReplyParser\\' => array($vendorDir . '/willdurand/email-reply-parser/src/EmailReplyParser'),
100      'Ds\\' => array($vendorDir . '/php-ds/php-ds/src'),
101 @@ -60,2 +58,5 @@
102      'Cake\\Cache\\' => array($vendorDir . '/cakephp/cache'),
103 +
104 +    'Monolog\\' => array($phpDir . '/Monolog'),
105 +    'Psr\\Log\\' => array($phpDir. '/Psr/Log'),
106  );
107 --- eventum-3.0.3-13-gfefa325/autoload.php~     2015-10-13 21:36:40.000000000 +0300
108 +++ eventum-3.0.3-13-gfefa325/autoload.php      2015-10-13 23:39:26.450266254 +0300
109 @@ -48,4 +48,4 @@
110  define('APP_PHP_GETTEXT_PATH', APP_PATH . '/vendor/php-gettext/php-gettext');
111  
112  // fonts directory for phplot
113 -define('APP_FONTS_PATH', APP_PATH . '/vendor/fonts/liberation');
114 +define('APP_FONTS_PATH', '/usr/share/fonts/TTF');
115 --- eventum-3.6.3-29-g154295bd2/vendor/composer/autoload_real.php~      2019-03-26 09:59:16.000000000 +0200
116 +++ eventum-3.6.3-29-g154295bd2/vendor/composer/autoload_real.php       2019-03-26 13:18:14.402093309 +0200
117 @@ -23,7 +23,7 @@
118          self::$loader = $loader = new \Composer\Autoload\ClassLoader();
119          spl_autoload_unregister(array('ComposerAutoloaderInitEventumCore', 'loadClassLoader'));
120  
121 -        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
122 +        $useStaticLoader = false; // autoload_static.php patching is annoying and not worth the effort
123          if ($useStaticLoader) {
124              require_once __DIR__ . '/autoload_static.php';
125  
This page took 0.080812 seconds and 4 git commands to generate.