Converseen-0.9.6.2 was released on 28 feb 2017. Gwenview:5 has no batch images processing more due to absence of it in kipi-plugins:5 as this functions was moved directly to digikam code. Current version of converseen in Gentoo tree is 0.6.8 and depends on Qt4. Please review attached .ebuild to update media-gfx/converseen package. Reproducible: Always
Created attachment 490194 [details] media-gfx/converseen-0.9.6.2.ebuild
Comment on attachment 490194 [details] media-gfx/converseen-0.9.6.2.ebuild ># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >#EAPI="5" >EAPI="6" >LANGSLONG="cs_CZ da_DK de_DE fr_FR hu_HU it_IT ja_JP pl_PL pt_BR ru_RU tr_TR" >LANGS="es_CL" > >inherit cmake-utils > >DESCRIPTION="Batch image converter and resizer based on ImageMagick" >HOMEPAGE="http://converseen.sourceforge.net" >RESTRICT="mirror" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="debug" >for x in ${LANGS}; do > IUSE="${IUSE} linguas_${x}" >done >for x in ${LANGSLONG}; do > IUSE="${IUSE} linguas_${x%_*}" >done > ># FIXME: graphicsmagick dependency does not work properly, failures when compiling ># || ( media-gfx/imagemagick[cxx] media-gfx/graphicsmagick[cxx,imagemagick] ) >RDEPEND=" > dev-qt/qtcore:5 > dev-qt/qtgui:5 > media-gfx/imagemagick:=[cxx] >" >DEPEND="${RDEPEND}" > >DOCS=( README.md ) > >src_prepare() { > for x in ${LANGSLONG}; do > if use !linguas_${x%_*}; then > rm -f "loc/${PN}_${x}."* || die > sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die > fi > done > for x in ${LANGS}; do > if use !linguas_${x}; then > rm -f "loc/${PN}_${x}."* || die > sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die > fi > done > eapply_user >}
Sorry, I forgot to add "da_DK" LANGSLONG use flag to initial ebuild.
Created attachment 490196 [details] media-gfx/converseen-0.9.6.2.ebuild
Created attachment 490198 [details] media-gfx/converseen-0.9.6.2.ebuild
It seems I found the way to compile Converseen with GraphicsMagick[cxx,imagemagick] versus ImageMagick[cxx] but it needs FindGraphicsMagick.cmake and LibFindMacros.cmake from Darktable project (https://github.com/darktable-org/darktable/tree/master/cmake/modules) and also some modification of ./CMakLIsts.txt and ./src{converter.cpp,globals.h} files. I successfully build modified sources, launch Converseen and "Resize" -> 50% several jpg-files. I need some additional tests before uploading patch if it requires for this .ebuild.
Created attachment 494788 [details, diff] converseen-0.9.6.2-r1_graphicsmagick.diff Patch that allows to build and use Converseen(-0.9.6.2-r1) with media-gfx/graphicsmagick[cxx,imagemagick] backend instead of media-gfx/imagemagick[cxx] ones. I decided not to use external .cmake files (FindGraphicsMagick.cmake and LibFindMacros.cmake from Darktable project) ad just modified ./CMakLIsts.txt and ./src{converter.cpp,globals.h} files. With builded in graphicsmagick successfully resize, rotate and flip images. But for 1 file I got the entirely black image after change format form png to jpg via Converseen, while "convert test.png -resize 50% test.jpg" results normal image.
Created attachment 494790 [details] converseen-0.9.6.2-r1.ebuild
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f01d583d3b144b0d102c7f9bc6cabcdff60eefe commit 4f01d583d3b144b0d102c7f9bc6cabcdff60eefe Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-01-09 01:15:13 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-01-09 01:22:45 +0000 media-gfx/converseen: 0.9.6.2 version bump Thanks-to: Sergey Torokhov <torokhov_s_a@mail.ru> Bug: https://bugs.gentoo.org/628688 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-gfx/converseen/Manifest | 1 + media-gfx/converseen/converseen-0.9.6.2.ebuild | 32 +++++++++++ .../files/converseen-0.9.6.2-gnuinstalldirs.patch | 64 ++++++++++++++++++++++ media-gfx/converseen/metadata.xml | 2 +- 4 files changed, 98 insertions(+), 1 deletion(-)}
(In reply to Sergey Torokhov from comment #7) > Created attachment 494788 [details, diff] [details, diff] > converseen-0.9.6.2-r1_graphicsmagick.diff Thanks for your work. This patch should be submitted upstream. I guess for upstream, the cmake-module approach would be better. No need to reinvent the wheel when there are existing solutions.
version bump was done by asturm. -no graphicsmagick support
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8351df9051c2173bb6177b900225203a604633a commit d8351df9051c2173bb6177b900225203a604633a Author: Philipp Rösner <rndxelement@protonmail.com> AuthorDate: 2023-03-20 09:07:07 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-04-10 07:37:20 +0000 media-gfx/converseen: add 0.9.11.1 Add ebuild for converseen-0.9.11.1 with support for media-gfx/graphicsmagick through the patch converseen-0.9.11.1-graphicsmagick-support.patch. Closes: https://bugs.gentoo.org/628688 Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/30308 Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-gfx/converseen/Manifest | 1 + media-gfx/converseen/converseen-0.9.11.1.ebuild | 68 ++++++++++++++++++++++ ...onverseen-0.9.11.1-graphicsmagick-support.patch | 53 +++++++++++++++++ 3 files changed, 122 insertions(+)