Bug 190816 - graphics/tiff should provide a -x11 binary package
Summary: graphics/tiff should provide a -x11 binary package
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-09 04:10 UTC by The Anarcat
Modified: 2014-06-10 17:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description The Anarcat 2014-06-09 04:10:16 UTC
it has always been disturbing to see the tiff package install a bunch of x11 libraries when installed. this is especially frustrating in pkgng, because it seems impossible to install any package with some kind of dependence on tiff without installing those libraries.

i believe that the "tiff" lib should be x11-free, and there should be a separate binary package for tiff+x11 (named tiff-x11).
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-06-09 07:16:50 UTC
Over to maintainer.
Comment 2 Dirk Meyer freebsd_committer 2014-06-10 03:21:18 UTC
A second package will not solve the problem,
as you will end up with conflicting dependencies to tiff and tiff-x11.

For servers please add to your /etc/make.conf

OPTIONS_UNSET=X11
Comment 3 The Anarcat 2014-06-10 13:20:15 UTC
that applies only if you're ready to stop using binary packages altogether. i have built tiff by hand and if i want to upgrade it or install one of its dependencies, it will reinstall it with all the dependencies:

        Reinstalling tiff-4.0.3_2 (options changed)

Can't tiff-x11 "provide" in some way the regular tiff package dependency?
Comment 4 commit-hook freebsd_committer 2014-06-10 16:11:31 UTC
A commit references this bug:

Author: dinoex
Date: Tue Jun 10 16:10:55 UTC 2014
New revision: 357344
URL: http://svnweb.freebsd.org/changeset/ports/357344

Log:
  - drop option X11
  - remove "tiffgt" from port
  PR:		190816

Changes:
  head/graphics/tiff/Makefile
  head/graphics/tiff/pkg-plist
Comment 5 commit-hook freebsd_committer 2014-06-10 16:15:32 UTC
A commit references this bug:

Author: dinoex
Date: Tue Jun 10 16:15:25 UTC 2014
New revision: 357346
URL: http://svnweb.freebsd.org/changeset/ports/357346

Log:
  This software provides support for the Tag Image File Format (TIFF),
  a widely used format for storing image data.

  Included in this software distribution is a small collection of tools
  for doing simple manipulations of TIFF images on UNIX systems.

  LICENSE: Permission to use, copy, modify, distribute, and sell for any purpose

  WWW: http://www.remotesensing.org/libtiff/
  PR:		190816

Changes:
  head/graphics/Makefile
  head/graphics/tiffgt/
  head/graphics/tiffgt/Makefile
  head/graphics/tiffgt/distinfo
  head/graphics/tiffgt/files/
  head/graphics/tiffgt/files/patch-Makefile.in
  head/graphics/tiffgt/pkg-descr
Comment 6 Dirk Meyer freebsd_committer 2014-06-10 16:31:32 UTC
After analyzing the makefiles, the X11 libs are only used in the tools and
not in the library itself.

I split this too from the tiff port into a new one "tiffgt".

So binary packages should now work for everyone.
Comment 7 The Anarcat 2014-06-10 17:10:40 UTC
thanks, you're awesome. :)