Add image handling support in nix shell.

This commit is contained in:
Daniel Siepmann 2024-07-23 14:46:07 +02:00
parent 2168412ae5
commit a02435b909
4 changed files with 33 additions and 4 deletions

View file

@ -0,0 +1,27 @@
4.1.9
=====
Breaking
--------
Nothing
Features
--------
Nothing
Fixes
-----
Nothing
Tasks
-----
* Add image handling support in nix shell.
Deprecation
-----------
Nothing

View file

@ -79,9 +79,9 @@ abstract class AbstractFunctionalTestCase extends FunctionalTestCase
], ],
'GFX' => [ 'GFX' => [
'processor_enabled' => true, 'processor_enabled' => true,
'processor_path' => '/usr/bin/', 'processor_path' => getenv('GRAPHICSMAGICK_PATH') ?: '/usr/bin/',
'processor_path_lzw' => '/usr/bin/', 'processor_path_lzw' => getenv('GRAPHICSMAGICK_PATH') ?: '/usr/bin/',
'processor' => 'ImageMagick', 'processor' => getenv('GRAPHICSMAGICK_PATH') ? 'GraphicsMagick' : 'ImageMagick',
], ],
]); ]);

View file

@ -9,7 +9,7 @@ $EM_CONF['events'] = [
'author' => 'Dirk Koritnik, Daniel Siepmann', 'author' => 'Dirk Koritnik, Daniel Siepmann',
'author_email' => 'koritnik@werkraum-media.de, coding@daniel-siepmann.de', 'author_email' => 'koritnik@werkraum-media.de, coding@daniel-siepmann.de',
'state' => 'stable', 'state' => 'stable',
'version' => '4.0.1', 'version' => '4.1.0',
'constraints' => [ 'constraints' => [
'depends' => [ 'depends' => [
'typo3' => '', 'typo3' => '',

View file

@ -129,6 +129,8 @@ in pkgs.mkShell {
composer composer
]; ];
GRAPHICSMAGICK_PATH = pkgs.lib.makeBinPath [ pkgs.graphicsmagick ] + "/";
shellHook = '' shellHook = ''
export typo3DatabaseDriver=pdo_sqlite export typo3DatabaseDriver=pdo_sqlite
''; '';