Bug 241957

Summary: misc/shared-mime-info: OPTIONize NLS
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: buildisok
Priority: --- Flags: amdmi3: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch none

Description Dmitry Marakasov freebsd_committer 2019-11-13 20:11:58 UTC
Created attachment 209137 [details]
Patch

Optionize NLS for shared-mime-info: this would allow to free around to 2MB of space which is useful for VMs and embedded systems.

NB: It doesn't seem to properly handle --disable-nls, so it links gettext regardless.

% pkg info -ql shared-mime-info-1.10_1 | xargs ls -l | awk '$9~/LC_MESSAGES/{s+=$5}END{printf("%.2fMiB\n", s/1024.0/1024.0)}'
1.99MiB
Comment 1 Automation User 2019-11-28 00:10:40 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/99098331
Comment 2 commit-hook freebsd_committer 2019-12-03 11:54:18 UTC
A commit references this bug:

Author: amdmi3
Date: Tue Dec  3 11:53:43 UTC 2019
New revision: 518935
URL: https://svnweb.freebsd.org/changeset/ports/518935

Log:
  - OPTIONize NLS

  PR:		241957
  Submitted by:	amdmi3
  Approved by:	maintainer timeout (desktop, 2 weeks)

Changes:
  head/misc/shared-mime-info/Makefile
  head/misc/shared-mime-info/pkg-plist