[Bug 265907] x11-wm/awesome: don't require ImageMagick6 for build (either 6 or 7 works fine)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 Aug 2022 16:22:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265907

            Bug ID: 265907
           Summary: x11-wm/awesome: don't require ImageMagick6 for build
                    (either 6 or 7 works fine)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rigoletto@freebsd.org
          Reporter: jcfyecrayz@liamekaens.com
          Assignee: rigoletto@freebsd.org
             Flags: maintainer-feedback?(rigoletto@freebsd.org)

ImageMagick6 and ImageMagick7 conflict - they each install some files that are
the same (e.g., bin/convert used by the build of x11-wm/awesome).

I built x11-wm/awesome with ImageMagick7 installed, and the port
built/installed without any problem.  Given that the built just uses 'convert'
to modify some .png files, I think that the restriction for ImageMagick6
specifically can be relaxed.

--- a/x11-wm/awesome/Makefile
+++ b/x11-wm/awesome/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS=  libcairo.so:graphics/cairo \

 CONFLICTS_INSTALL=     awesome3

-USES=          cmake compiler:c11 gettext gnome iconv magick:6,build pkgconfig
lua \
+USES=          cmake compiler:c11 gettext gnome iconv magick,build pkgconfig
lua \
                shebangfix xorg
 USE_GITHUB=    yes
 GH_ACCOUNT=    awesomewm


I don't think PORTREVISION needs to be bumped. ImageMagick7 is the default, but
that is only a build dependency. 'convert' could be subtly different between 6
& 7, however, and this could result in slightly different .png files in the
package.  One could bump PORTREVISION because of this.  Functionally, there
should be no change even if the bits of some files are different.  Given that
this is a lightweight package that is easy to build, I might bump PORTREVISION.

-- 
You are receiving this mail because:
You are the assignee for the bug.