Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 772332 - dev-php/pecl-imagick - please add php 8.0 support
Summary: dev-php/pecl-imagick - please add php 8.0 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-24 07:10 UTC by Thomas Stein
Modified: 2021-06-18 10:27 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
git master ebuild (pecl-imagick-9999.ebuild,905 bytes, text/plain)
2021-06-04 10:51 UTC, Tom-Steve Watzke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Stein 2021-02-24 07:10:21 UTC
Hi Devs.

Just switched to php 8.0 and noticed there is no pecl-imagick ebuild for it. I had to do:

git clone https://github.com/Imagick/imagick
cd imagick
phpize && ./configure
make
make install

which works just fine. Although there is no official new release compiling from trunk works. Could we please have a pecl-imagick-9999 ebuild which does just that?

cheers, t.

Reproducible: Always
Comment 1 Xavier Miller 2021-02-26 20:19:12 UTC
Hi,

I tried to add php8-0 in the targets, but the current version doesn't compile (don't have the builds logs anyway, I reverted to php 7.4 until it will be fixed)
Comment 2 daniel 2021-04-18 14:22:46 UTC
(In reply to Thomas Stein from comment #0)
> Hi Devs.
> 
> Just switched to php 8.0 and noticed there is no pecl-imagick ebuild for it.
> I had to do:
> 
> git clone https://github.com/Imagick/imagick
> cd imagick
> phpize && ./configure
> make
> make install
> 
> which works just fine. Although there is no official new release compiling
> from trunk works. Could we please have a pecl-imagick-9999 ebuild which does
> just that?
> 
> cheers, t.
> 
> Reproducible: Always

+1

Installing manually from git works fine.
Comment 3 A Collector 2021-05-16 23:26:28 UTC
+2 :)
PHP8 isn't something terribly new... would love to have it properly ready for Gentoo. Thanks
Comment 4 Tom-Steve Watzke 2021-06-04 10:51:11 UTC
Created attachment 713568 [details]
git master ebuild

Here is a typical ebuild using the git master branch.

For local usage, copy the default portage dir to your local portage:

# mkdir -p /usr/local/portage/dev-php/pecl-imagick
# cp -R /usr/portage/dev-php/pecl-imagick /usr/local/portage/dev-php/pecl-imagick

and copy in the ebuild and run:

# ebuild pecl-imagick-9999.ebuild digest

and to add it to the keywords:

# echo "dev-php/pecl-imagick **" >>/etc/portage/package.accept_keywords

then emerge the pecl :)
Comment 5 Larry the Git Cow gentoo-dev 2021-06-18 10:27:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d01849ddef124578ac7e7fed3411dfd84e1cef3

commit 7d01849ddef124578ac7e7fed3411dfd84e1cef3
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-06-18 10:17:32 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-06-18 10:27:32 +0000

    dev-php/pecl-imagick: bump to v3.5.0
    
    Closes: https://bugs.gentoo.org/772332
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-php/pecl-imagick/Manifest                  |  1 +
 dev-php/pecl-imagick/pecl-imagick-3.5.0.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)