Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#27993 closed submission (fixed)

new port liblouisxml: Braille transcription services for xml documents

Reported by: boris.dusek@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: braille a11y accessibility Cc:
Port: liblouisxml

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Please comment and/or commit.

I also explicitely ask for review of two things:

  1. the line "depends_build port:pkgconfig". The library searches for libxml2 and liblouis using pkgconfig. I don't know which port then should depend on pkgconfig - whether the ones that are declaring their existence using pkgconfig (like libxml2 and liblouis), or the ones that use pkgconfig to find other libraries (liblouisxml).
  1. I also encountered problem with filesystem:
Warning: violation by /opt/local/info
Warning: violation by /opt/local/man
Warning: liblouisxml violates the layout of the ports-filesystems!

I solved this (after consulting Raim in IRC) by adding the line "configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info". But I wonder why MacPorts does not pass these arguments itself since it supports autoconf-based systems out-of-the-box and should know these dark corners (so that portwriters don't have to take care of them in every port).

Thanks.

Attachments (1)

Portfile (1.2 KB) - added by boris.dusek@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by boris.dusek@…

Attachment: Portfile added

comment:1 in reply to:  description Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks for the port!

Replying to boris.dusek@…:

  1. the line "depends_build port:pkgconfig". The library searches for libxml2 and liblouis using pkgconfig. I don't know which port then should depend on pkgconfig - whether the ones that are declaring their existence using pkgconfig (like libxml2 and liblouis), or the ones that use pkgconfig to find other libraries (liblouisxml).

Since it is liblouisxml that uses pkg-config at build time, it is liblouisxml that needs the build dependency on port:pkgconfig.

  1. I also encountered problem with filesystem:

Warning: violation by /opt/local/info
Warning: violation by /opt/local/man
Warning: liblouisxml violates the layout of the ports-filesystems!


I solved this (after consulting Raim in IRC) by adding the line "configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info". But I wonder why MacPorts does not pass these arguments itself since it supports autoconf-based systems out-of-the-box and should know these dark corners (so that portwriters don't have to take care of them in every port).

Most autoconfed software knows (because it obeys the FHS) that this is where those files should go and so those arguments would be superfluous. Most non-autoconfed software knows this as well. In other words, it is an exceptional case to need to specify this at all. Some software that doesn't already know this does not respond to the --mandir or --infodir configure arguments either; some might silently ignore it, some might complain. It is therefore better for the ports that require special handling for the mandir and infodir to do so themselves, in whatever way is appropriate for that software.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Added port in r75310.

comment:3 Changed 14 years ago by boris.dusek@…

Thanks for the commit and for answering my 2 questions.

Note: See TracTickets for help on using tickets.