Bug 223933 - wrapper breaks textproc/unoconv
Summary: wrapper breaks textproc/unoconv
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 08:26 UTC by ice
Modified: 2017-12-13 02:18 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback? (koalative)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ice 2017-11-28 08:26:45 UTC
$ ls
document-example.odt
$ unoconv document-example.odt 
unoconv: file `document-example.odt' does not exist.
unoconv: RuntimeException during import phase:
Office probably died. Unsupported URL <file:///usr/local/share/unoconv/document-example.odt>: "type detection failed"
$ cat `which unoconv`
#!/bin/sh
#
# $FreeBSD: head/textproc/unoconv/files/unoconv.in 336717 2013-12-17 11:46:29Z nemysis $
#

cd "/usr/local/share/unoconv"
exec ./unoconv "$@"
$ /usr/local/share/unoconv/unoconv document-example.odt 
$ ls
document-example.odt    document-example.pdf
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-12-13 02:16:53 UTC
A commit references this bug:

Author: swills
Date: Wed Dec 13 02:16:29 UTC 2017
New revision: 456188
URL: https://svnweb.freebsd.org/changeset/ports/456188

Log:
  textproc/unoconv: Fix wrapper

  PR:		223933
  Reported by:	ice@extreme.hu
  Approved by:	koalative@gmail.com (maintainer timeout, >2 weeks)

Changes:
  head/textproc/unoconv/Makefile
  head/textproc/unoconv/files/unoconv.in
Comment 2 Steve Wills freebsd_committer freebsd_triage 2017-12-13 02:18:57 UTC
Fix committed.