[Bug 257583] www/redmine4 and www/redmine42: remove dependency on mimemagic

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 Aug 2021 09:30:04 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257583

            Bug ID: 257583
           Summary: www/redmine4 and www/redmine42: remove dependency on
                    mimemagic
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael_at_FreeBSD.org
          Reporter: tphilipp_at_potion-studios.com
          Assignee: mikael_at_FreeBSD.org
             Flags: maintainer-feedback?(mikael_at_FreeBSD.org)

Hello,

thanks for maintaining the redmine port. This is more of a suggestion to
simplify the build and reduce runtime dependencies. Redmine seems to have
removed the dependency on mimemagic for redmine >= 4.0.9, and replaced it with
marcel, a gem that comes with rails: https://www.redmine.org/issues/34969

This means the ports www/redmine4 and www/redmine42 could remove the
misc/rubygem-mimemagic runtime dependencies, also, which would simplify the
build and also save 160+mb in space as it would drop an implicit dependency on
python (as misc/rubygem-mimemagic depends on misc/shared-mime-info which
depends on glib which depends on python).

I gave it a try locally and it seems to work. That said, I don't know if my
usage of redmine ever triggered anything that depends on mimemagic/marcel, but
given the redmine issue mentioned above, this should be safe. Anyways, as said,
this is a suggestion, as nothing per-se is broken here.

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Aug 03 2021 - 09:30:04 UTC

Original text of this message