From owner-freebsd-ports-bugs@freebsd.org Wed Aug 23 09:59:42 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6720ADE2C77 for ; Wed, 23 Aug 2017 09:59:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 546FE697CB for ; Wed, 23 Aug 2017 09:59:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7N9xgwk001532 for ; Wed, 23 Aug 2017 09:59:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221737] [NEW PORT] graphics/pdfsandwich - http://www.tobias-elze.de/pdfsandwich/ Date: Wed, 23 Aug 2017 09:59:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2017 09:59:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221737 Bug ID: 221737 Summary: [NEW PORT] graphics/pdfsandwich - http://www.tobias-elze.de/pdfsandwich/ Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: vermaden@interia.pl The PDFSANDWITCH ( http://www.tobias-elze.de/pdfsandwich/ ) works like a ch= arm compiled from source, would be nice to have it in Ports. % svn checkout svn://svn.code.sf.net/p/pdfsandwich/code/trunk/src pdfsandwi= ch A pdfsandwich/pdfsandwich.ml A pdfsandwich/Makefile A pdfsandwich/changelog A pdfsandwich/manual.txt A pdfsandwich/pdfsandwich_version A pdfsandwich/make_control.pl A pdfsandwich/copyright A pdfsandwich/ebuild-stub A pdfsandwich/make_portfile.pl A pdfsandwich/changelog2deb.pl A pdfsandwich/configure A pdfsandwich/txt2man Checked out revision 71. % cd pdfsandwich=20 % ./configure --prefix=3D/opt/pdfsandwich=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 ./configure: ocamlc: not found ./configure: ocamlopt: not found ocmalc not found, configuration failed. # pkg install ocaml % gmake clean rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a *.so depend pdfsandwich rm -f pdfsandwich_version.ml pdfsandwich.1.gz rm -rf pdfsandwich-0.1.6 pdfsandwich-0.1.6.tar.bz2 pdfsandwich_0.1.6_i386 pdfsandwich_0.1.6_i386.deb % ./configure --prefix=3D/opt/pdfsandwich ocamlc found in /usr/local/lib/ocaml ocamlopt found in /usr/local/lib/ocaml PREFIX=3D/opt/pdfsandwich makefile.installprefix written. % gmake=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 echo "let pdfsandwich_version=3D\"0.1.6\";; (*automatically generated from = file pdfsandwich_version*)" > pdfsandwich_version.ml ocamlopt -thread -w s str.cmxa unix.cmxa threads.cmxa -c pdfsandwich_version.ml ocamlopt -thread -w s str.cmxa unix.cmxa threads.cmxa -o pdfsandwich pdfsandwich_version.cmx pdfsandwich.ml # you need gawk for this: ./txt2man -t PDFSANDWICH manual.txt | gzip -9 > pdfsandwich.1.gz # gmake install (umask 0022; mkdir -p /opt/pdfsandwich/bin /opt/pdfsandwich/share/doc/pdfsandwich /opt/pdfsandwich/share/man/man1) install -s pdfsandwich /opt/pdfsandwich/bin cp copyright changelog /opt/pdfsandwich/share/doc/pdfsandwich gzip -9 /opt/pdfsandwich/share/doc/pdfsandwich/changelog cp pdfsandwich.1.gz /opt/pdfsandwich/share/man/man1 chmod 644 /opt/pdfsandwich/share/doc/pdfsandwich/* /opt/pdfsandwich/share/man/man1/* % find /opt/pdfsandwich=20 /opt/pdfsandwich /opt/pdfsandwich/share /opt/pdfsandwich/share/man /opt/pdfsandwich/share/man/man1 /opt/pdfsandwich/share/man/man1/pdfsandwich.1.gz /opt/pdfsandwich/share/doc /opt/pdfsandwich/share/doc/pdfsandwich /opt/pdfsandwich/share/doc/pdfsandwich/changelog.gz /opt/pdfsandwich/share/doc/pdfsandwich/copyright /opt/pdfsandwich/bin /opt/pdfsandwich/bin/pdfsandwich % ./pdfsandwich=20=20=20=20=20=20=20=20=20=20=20=20=20 Fatal error: exception Failure("Could not find program unpaper. Make sure t= his program exists and can be found in your search path.\nUse command line opti= ons to specify a custom binary.") # pkg install tesseract % ./pdfsandwich=20 Fatal error: exception Failure("Could not find program tesseract. Make sure this program exists and can be found in your search path.\nUse command line options to specify a custom binary.") # pkg install unpaper % /opt/pdfsandwich/bin/pdfsandwich=20 Fatal error: exception Failure("Could not open file ") Known dependencies are for sure: gmake/gawk/ocaml/tesseract/unpaper Regards, vermaden --=20 You are receiving this mail because: You are the assignee for the bug.=