Bug 18044

Summary: php-twig, Twig, the flexible, fast, and secure template language for PHP
Product: Mageia Reporter: Frédéric "LpSolit" Buclin <LpSolit>
Component: New RPM package requestAssignee: PHP Stack Maintainers <php>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Normal CC: mageia, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: (php-)twig CVE:
Status comment:

Description Frédéric "LpSolit" Buclin 2016-03-20 19:35:38 CET
Drupal 8.0 recommends to install the C extension [1][2] of php-twig for improved performances, but this module is not available in Cauldron.

[1] http://twig.sensiolabs.org/doc/installation.html#installing-the-c-extension
[2] https://github.com/twigphp/Twig/tags

Once compiled and installed, it appears under /usr/lib/php/extensions/twig.so
Comment 1 Marja Van Waes 2016-03-21 10:26:23 CET
(In reply to Frédéric Buclin from comment #0)
> Drupal 8.0 recommends to install the C extension [1][2] of php-twig for
> improved performances, but this module is not available in Cauldron.
> 
> [1]
> http://twig.sensiolabs.org/doc/installation.html#installing-the-c-extension
> [2] https://github.com/twigphp/Twig/tags
> 
> Once compiled and installed, it appears under /usr/lib/php/extensions/twig.so

I still don't get when package names should be the same as upstream names, and when they need to be preceded with their langueage :-(

CC: (none) => marja11
Assignee: bugsquad => pkg-bugs
Summary: Provide php-twig => php-twig, Twig, the flexible, fast, and secure template language for PHP
Source RPM: (none) => (php-)twig

Comment 2 Marja Van Waes 2017-12-03 21:28:51 CET
I should have assigned this bug to the php maintainer group instead of to all packagers collectively.

Assignee: pkg-bugs => php

Comment 3 Marc Krämer 2017-12-05 00:45:22 CET
The new version of twig doesn't use / require a c-extension.
There is no need to provide an extension anymore. Twig should be installed via composer.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX
CC: (none) => mageia