diff --git a/www-apps/piwigo/Manifest b/www-apps/piwigo/Manifest index a0a0bde84ac8..126ef2c90e47 100644 --- a/www-apps/piwigo/Manifest +++ b/www-apps/piwigo/Manifest @@ -1,2 +1,3 @@ DIST piwigo-15.6.0.zip 18698794 BLAKE2B 9f9000ac9d13b7d512aada0a9f3a9b0c123905805d3e3d89e3d644c164fc0678f638ba6e5ed1e3b7c8f8a30c815d00154545f746a4b452974cf4b5a6b29e3993 SHA512 bb26d62f373217f6087f54166046884a7ed766146e9fa8dcb65ea05920b3c395bcdc6070eb0e9616c3137f8e9002b9854784239d5082807fcdc82cabb8ccf309 DIST piwigo-15.7.0.zip 18747448 BLAKE2B bd833d40ce1d5c8bfc49baee576a13db4aff1958c2603ca1196b0fb14d0608a48909733044b2f930016cd62cd60a1f887e5609baf9bc5fdc9bea45b90f898f9b SHA512 8ec25812076d658d1e946afcaa1716208a43d521939d1eb899d21bc55b33a9d12fd9e90676aece1adc027a1a1ee01f944ddb4328a6f1c1d650ace1f734ee6841 +DIST piwigo-16.0.0.zip 19411149 BLAKE2B a90dbdb3764a624ecbe1474e3d305ac653dfdc4fb4e09af4f62c9c0cc1a148e29d3a1ff718382878ef27c26d77b0ddebf2fa9b3ea7d245470b3a39966f2a618e SHA512 74c1ffcbadf14d349125faaefcebfd27f2c84ba7e0713da1b93a92c6a627280224d9b8813e98cc0d6faff0a15bd84b4d48664c1b7b85245fe2223bec6ebb579e diff --git a/www-apps/piwigo/files/piwigo-16.0.0-imagemagick.patch b/www-apps/piwigo/files/piwigo-16.0.0-imagemagick.patch new file mode 100644 index 000000000000..5d61fedc06e7 --- /dev/null +++ b/www-apps/piwigo/files/piwigo-16.0.0-imagemagick.patch @@ -0,0 +1,28 @@ +From 66f0ef574d2aac24b4a4b969f2df71003a2c2a8a Mon Sep 17 00:00:00 2001 +From: plegall +Date: Mon, 1 Dec 2025 15:07:40 +0100 +Subject: [PATCH] fixes #2462 magick Vs convert: return only command name, not + full path + +--- + admin/include/image.class.php | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/admin/include/image.class.php b/admin/include/image.class.php +index 2b1119e3f5..67718acf2c 100644 +--- a/admin/include/image.class.php ++++ b/admin/include/image.class.php +@@ -380,11 +380,11 @@ static function get_ext_imagick_command() + exec('command -v '.$conf['ext_imagick_dir'].'magick', $cmd_out , $retval ); + if (0 == $retval) + { +- $page['ext_imagick_command'] = $cmd_out[0]; ++ $page['ext_imagick_command'] = 'magick'; + } + else + { +- $page['ext_imagick_command'] = $conf['ext_imagick_dir'].'convert'; ++ $page['ext_imagick_command'] = 'convert'; + } + } + diff --git a/www-apps/piwigo/piwigo-16.0.0.ebuild b/www-apps/piwigo/piwigo-16.0.0.ebuild new file mode 100644 index 000000000000..88f40f56be2d --- /dev/null +++ b/www-apps/piwigo/piwigo-16.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit webapp + +DESCRIPTION="a photo gallery software for the web" +HOMEPAGE="http://piwigo.org/" +SRC_URI="http://piwigo.org/download/dlcounter.php?code=${PV} -> ${P}.zip" +S=${WORKDIR}/${PN} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="+exif +gd imagemagick" + +RDEPEND=" + imagemagick? ( virtual/imagemagick-tools ) + dev-lang/php[ctype,exif?,gd?,filter,iconv,json(+),mysqli] + >=virtual/mysql-5.0 + virtual/httpd-php" +BDEPEND="app-arch/unzip" + +REQUIRED_USE="|| ( gd imagemagick )" + +PATCHES=( "${FILESDIR}"/${P}-imagemagick.patch ) + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + # Local configuration, and parts that can be updated + webapp_serverowned "${MY_HTDOCSDIR}"/_data + webapp_serverowned -R "${MY_HTDOCSDIR}"/galleries + webapp_serverowned -R "${MY_HTDOCSDIR}"/language + webapp_serverowned -R "${MY_HTDOCSDIR}"/local + webapp_serverowned -R "${MY_HTDOCSDIR}"/plugins + webapp_serverowned -R "${MY_HTDOCSDIR}"/template-extension + webapp_serverowned -R "${MY_HTDOCSDIR}"/themes + webapp_serverowned "${MY_HTDOCSDIR}"/upload + + webapp_src_install +}