Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#17286 closed enhancement (fixed)

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@…)

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 (1)

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

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by blb@…

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

comment:2 Changed 12 years ago by jmroot (Joshua Root)

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 12 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 12 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 12 years ago by jjstickel@…

Attachment: Portfile.diff added

patch for textproc/pdfjam/Portfile

comment:5 Changed 12 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 12 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 12 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 12 years ago by takanori@…

Milestone: Port BugsPort Enhancements
Resolution: fixed
Status: newclosed
Summary: texlive and pTeX both want to install /opt/local/share/texmf-dist/bibtex/bst/adrconv/adrconv.bstRFE: pdfjam can also work with pTeX.
Type: defectenhancement

fixed in r43301 - thanks.

comment:9 Changed 12 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.