Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455718 - app-text/pdfsandwich: awk dependency
Summary: app-text/pdfsandwich: awk dependency
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Kahle (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 418473
  Show dependency tree
 
Reported: 2013-02-05 20:14 UTC by Christoph Junghans (RETIRED)
Modified: 2013-02-26 14:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Junghans (RETIRED) gentoo-dev 2013-02-05 20:14:18 UTC
Can you please have a look if virtual/awk is sufficient or if gawk is needed.
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2013-02-24 20:45:38 UTC
txt2man uses interval expression, so it depends on sys/gawk.

However $0 ~ /^ {1,4}/ in txt2man could rewritten into traditional regular expression as
$0 ~ /^  ? ? ?/, otherwise everything seems posix-conform.
Comment 2 Thomas Kahle (RETIRED) gentoo-dev 2013-02-25 09:09:36 UTC
Sorry for slacking here.  What are platforms on which we don't have gawk? 
pdfsandwich depends on the tesseract library which only works on mainstream platforms anyway...
Comment 3 Christoph Junghans (RETIRED) gentoo-dev 2013-02-26 02:35:52 UTC
(In reply to comment #2)
> Sorry for slacking here.  What are platforms on which we don't have gawk? 
> pdfsandwich depends on the tesseract library which only works on mainstream
> platforms anyway...
We might replace sys-apps/gawk in the system set by virtual/awk, so I am looking, which package really depend on gawk. 

I leave it to you guys to decide, feel free to close this bugs as WONTFIX or make the awk call posix conform as suggested in comment 2.
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2013-02-26 14:19:13 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Sorry for slacking here.  What are platforms on which we don't have gawk? 
> > pdfsandwich depends on the tesseract library which only works on mainstream
> > platforms anyway...
> We might replace sys-apps/gawk in the system set by virtual/awk, so I am
> looking, which package really depend on gawk. 
> 
> I leave it to you guys to decide, feel free to close this bugs as WONTFIX or
> make the awk call posix conform as suggested in comment 2.

After talking to Tobias we will stick with the explicit gawk dependency.  Next time I touch the ebuild I'll replace it with a dependency on txt2man which would be more honest (and also pull in gawk).

From the txt2man webpage:

"Txt2man converts flat ASCII text into the man page format. This allows man pages to be authored without knowledge of nroff macros. It is a shell script that uses GNU awk, and it should run on any Unix-like system."