Bug 259566 - graphics/pstoedit: change to use ImageMagick7 (instead of ImageMagick6) leads to port installation conflicts
Summary: graphics/pstoedit: change to use ImageMagick7 (instead of ImageMagick6) leads...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2021-10-31 07:57 UTC by Martin Birgmeier
Modified: 2022-01-05 08:57 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2021-10-31 07:57:51 UTC
- FreeBSD 12.2 latest patchlevel
- Latest ports
- Upgrading ports using "portmaster -a"

- graphics/pstoedit has switched from using ImageMagick6 to ImageMagick7
- this results in an install conflict because ImageMagick6 is needed for other ports

- graphics/pstoedit is used by editors/calligra
- ImageMagick6 is used by:
  . php74-pecl-imagick-3.5.1
  ... nextcloud-php74-22.2.0
  ... mediawiki136-php74-1.36.2
  . digikam-7.3.0
  . pstoedit-3.70_10
  ... calligra-3.2.1_29
  . dvdauthor-
  ... kdenlive-21.08.2

At least kdenlive is part of a standard KDE installation, and calligra is also strongly tied to KDE, so the switch of pstoedit will lead to conflicting ports for many people.

At least the programs listed above, which I believe are fairly standard, would need to be switched to ImageMagick7 simultaneously.

-- Martin
Comment 1 Graham Perrin 2021-10-31 09:06:23 UTC
See also <https://reviews.freebsd.org/D32754>

> ⚙ D32754 magick.mk: Add new Uses file 'magick' for graphics/ImageMagick* 

– in particular, <https://reviews.freebsd.org/differential/changeset/?ref=967026#C967026NL13>
Comment 2 Martin Birgmeier 2021-10-31 09:34:13 UTC
From https://reviews.freebsd.org/D32754 it seems that in all likelihood both ImageMagick version are needed simultaneously. Looking at their current plists, it seems that mostly the files in bin and man conflict, plus a few files in pkgconfig and perl5.

Maybe ImageMagick6 should be modified to use the -6 suffix for all its files so that both packages can be installed at the same time?

The pstoedit update should wait until this is resolved.

-- Martin
Comment 3 Graham Perrin 2021-10-31 10:26:56 UTC
(In reply to Martin Birgmeier from comment #0)



Bug 257479

> graphics/pecl-imagick and -im7 why?








<https://www.freshports.org/graphics/kxstitch/#requiredforRun> not required for run by any other port. 

More broadly

Depends run <https://www.freshports.org/search.php?stype=depends_run&method=match&query=ImageMagick6&num=500&orderby=category&orderbyupdown=asc&search=Search&format=plaintext&branch=head> – an alternative HTML view finds nothing maintained by kde@

Depends lib <https://www.freshports.org/search.php?stype=depends_lib&method=match&query=ImageMagick6&num=500&orderby=category&orderbyupdown=asc&search=Search&format=plaintext&branch=head> – an alternative view finds digikam and kxstitch (both above) maintained by kde@
Comment 4 VVD 2022-01-04 17:29:45 UTC
(In reply to Martin Birgmeier from comment #0)

>  . php74-pecl-imagick-3.5.1
>  ... nextcloud-php74-22.2.0
>  ... mediawiki136-php74-1.36.2
You can replace with php74-pecl-imagick-im7 or use my patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257479

>  . digikam-7.3.0
It's support ImageMagick7 - just rebuild with IM7.

>  . dvdauthor-
>  ... kdenlive-21.08.2
You can use GraphicsMagick instead ImageMagick6.
Comment 5 Martin Birgmeier 2022-01-05 08:57:50 UTC
Closing this as ImageMagick7 can now indeed be used for most of what I need.

-- Martin