Opened 12 years ago

Closed 12 years ago

#34506 closed enhancement (fixed)

giflib: many new dependencies (because of xmlto)

Reported by: danielluke (Daniel J. Luke) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: giflib

Description

Can we maybe get a variant to the "lots of nice documentation and manpages now installed as well" part of r93239?

The following ports are dependencies of giflib @4.1.6_1:
  xorg-libsm
    pkgconfig
      glib2
        xz
          libiconv
            gperf
          gettext
            ncurses
            expat
        zlib
        libffi
        perl5
          perl5.12
            gdbm
    xorg-xtrans
    xorg-libice
      xorg-xproto
  xorg-libX11
    xorg-bigreqsproto
    xorg-xcmiscproto
    xorg-xextproto
    xorg-xf86bigfontproto
    xorg-inputproto
    xorg-libXdmcp
    xorg-libXau
    xorg-libxcb
      xorg-xcb-proto
        libxml2
        python27
          openssl
          sqlite3
            libedit
          db46
          bzip2
          python_select
      xorg-libpthread-stubs
    xorg-kbproto

vs.

  xmlto
    coreutils
      xz
        libiconv
          gperf
        gettext
          ncurses
          expat
      autoconf
        perl5
          perl5.12
            gdbm
        m4
        help2man
          p5.12-locale-gettext
      automake
      libtool
      gmp
    findutils
    getopt
    libpaper
    libxml2
      zlib
    libxslt
    docbook-xml
      docbook-xml-4.1.2
        unzip
        xmlcatmgr
      docbook-xml-4.2
      docbook-xml-4.3
      docbook-xml-4.4
      docbook-xml-4.5
      docbook-xml-5.0
    docbook-xsl
    fop
  xorg-libsm
    pkgconfig
      glib2
        libffi
    xorg-xtrans
    xorg-libice
      xorg-xproto
  xorg-libX11
    xorg-bigreqsproto
    xorg-xcmiscproto
    xorg-xextproto
    xorg-xf86bigfontproto
    xorg-inputproto
    xorg-libXdmcp
    xorg-libXau
    xorg-libxcb
      xorg-xcb-proto
        python27
          openssl
          sqlite3
            libedit
          db46
          bzip2
          python_select
      xorg-libpthread-stubs
    xorg-kbproto

Change History (5)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Type: defectenhancement

I considered that, but I didn't make it a variant for two reasons.

First, it was not immediately apparent to me how to prevent giflib from requiring xmlto. If you know how, let me know.

Second, the "nice documentation" isn't just html files, which might conceivable be considered optional; it's also manpages, which I view as more essential.

Oddly, though it seems to require xmlto at build time and always generates the manpages and html docs, it didn't automatically install them, so I copied them manually in post-destroot.

comment:2 Changed 12 years ago by danielluke (Daniel J. Luke)

It looks like the manages are in the tarball when first extracted. I think you could just take doc (and pic) out of SUBDIRS in the generated Makefile.

Since I don't care about the HTML docs, personally, I would prefer if there was a +extra_docs variant that wasn't default, but any way to remove the dependency on xmlto would make me happy :)

comment:3 in reply to:  2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newassigned

Replying to dluke@…:

It looks like the manages are in the tarball when first extracted.

You're right! I didn't notice that.

I think you could just take doc (and pic) out of SUBDIRS in the generated Makefile.

I'll give that a try.

comment:4 Changed 12 years ago by danielluke (Daniel J. Luke)

Just a note to say that I manually changed the Makefile to remove doc and pic from SUBDIRS (and commented out both the port:xmlto line and the line that copies the html docs to the destroot in the portfile) and it worked fine for me.

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

r93443. I didn't remove the "pic" directory because it doesn't seem to do anything either way. (Running "make" in the pic directory says "nothing to be done".)

Note: See TracTickets for help on using tickets.