New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17286 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

RFE: pdfjam can also work with pTeX.

Reported by: daviwak-macports@… Owned by: takanori@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: pdfjam Cc: milosh@…, jjstickel@…
Port: pTeX texlive

Description (last modified by blb@…) (diff)

The port pdfjam cannot be installed at the same time that the port pTeX.

I guess pdfjam should depend on TexLive OR pTeX.

Error: Target org.macports.activate returned: Image error: /opt/local/share/texmf-dist/bibtex/bst/adrconv/adrconv.bst is being used by the active pTeX port.  Please deactivate this port first, or use the -f flag to force the activation.
Error: The following dependencies failed to build: texlive texlive_base texlive_texmf-full texlive_texmf-minimal
Error: Status 1 encountered during processing.

Attachments

Portfile.diff (315 bytes) - added by jjstickel@… 5 years ago.
patch for textproc/pdfjam/Portfile

Change History

comment:1 Changed 5 years ago by blb@…

  • Description modified (diff)
  • Cc milosh@… added
  • Summary changed from The port pdfjam cannot be installed at the same time that the port pTeX. to texlive and pTeX both want to install /opt/local/share/texmf-dist/bibtex/bst/adrconv/adrconv.bst
  • Keywords pdfjam added; pTeX removed
  • Owner changed from macports-tickets@… to takanori@…
  • Port changed from pdfjam to pTeX texlive

comment:2 Changed 5 years ago by jmr@…

  • Cc jjstickel@… added

If pdfjam works with any of the TeX ports, the dependency can be changed to something like bin:tex:texlive.

comment:3 Changed 5 years ago by jjstickel@…

I think that pdfjam just requires pdftex. Can someone test that pdfjam works with the other TeX ports (is it just pTeX)?

comment:4 Changed 5 years ago by daviwak-macports@…

According to the web page of PDFjam http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/#prereq the only pre-requisites are:

  • A working, up-to-date installation of pdfTeX (including pdflatex and an up-to-date copy of pdftex.def)
  • A working installation of the LaTeX package pdfpages (version 0.2e or later)

It is reasonable to assume that they are provided with pTeX.

Changed 5 years ago by jjstickel@…

patch for textproc/pdfjam/Portfile

comment:5 Changed 5 years ago by jjstickel@…

I've attached a patch to make the suggested dependency change. It still works fine with texlive installed, as expected. I haven't tested to see what happens if installed with no exiting tex dependency, i.e. what does it pull for the dependency, nor have I tested it with pTeX.

comment:6 Changed 5 years ago by milosh@…

There was once agreement on using the following dependency scheme:

path:${prefix}/bin/pdflatex:texlive

Well it seems not so many ports use it in the end. However, it prevents a possibly erroneous installation of tex outside macports to be accepted.

comment:7 Changed 5 years ago by jjstickel@…

I am not very knowledgeable about dependency management in MacPorts. I'll go along with whatever is recommended.

comment:8 Changed 5 years ago by takanori@…

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from Port Bugs to Port Enhancements
  • Type changed from defect to enhancement
  • Summary changed from texlive and pTeX both want to install /opt/local/share/texmf-dist/bibtex/bst/adrconv/adrconv.bst to RFE: pdfjam can also work with pTeX.

fixed in r43301 - thanks.

comment:9 Changed 4 years ago by anonymous

  • Milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.