Commit graph

36 commits

Author SHA1 Message Date
ast
5408fc05c1 pdfgrep: fix compile with pre-2016/12/16 dirent.h on NetBSD
dirent.h v1.35 from before 2016-12-16 has a different prototype for
scandir() and thus cache.cc won't compile there. Added a configure
section to detect this so that both v1.35 and v1.36 dirent.h work.
2017-09-15 22:18:00 +00:00
ryoon
6a23a6f319 Recursive revbump from poppler update 2017-09-04 20:20:53 +00:00
wiz
43d2eb37ae Recursive bump for poppler 0.58 shlib bump. 2017-09-04 15:08:51 +00:00
nros
ad3d32892e Revbump due to poppler update to verson 0.57.0. 2017-08-15 11:52:22 +00:00
ryoon
9e94c60c8a Add patches/ 2017-08-11 01:00:25 +00:00
ryoon
efc7af2ae7 Update to 2.0.1
* Disable C++ locale on NetBSD to avoid runtime error in non-C locale case

Changelog:
Version 2.0.1  [2017-03-06]
---------------------------

  - Bugfix: Fix --cache when used with recursive search

Version 2.0  [2017-01-25]
-------------------------

  - **Incompatible change**: `--context/-C` is now line based as opposed to
    character based and works just like grep
  - Two new options from grep: `-A/--after-context` and `-B/--before-context`
  - Lines with multiple matches are now printed only once
  - Optional caching of pdf-text for faster operation (by Christian Dietrich)
    This adds a **new dependency**: libgcrypt
  - Bash-completion improvements (by Rainer Müller)
  - Bugfix: Fixed string search (`-F`) now works as advertised with multiple
    patterns
  - Bugfix: Empty pages can now be matched with `^$`
  - Bugfix: The pattern `^` now matches *only* at the beginning of pages
  - Bugfix: Text outside of PDF's CropBox but inside the MediaBox is not
    ignored anymore.
  - Various fixes for BSD support
2017-08-11 00:59:45 +00:00
wiz
c983c47ae4 Recursive bump for poppler-0.54.0 2017-05-02 13:37:30 +00:00
wiz
c0f6ef5abd Recursive bump for poppler update 2017-01-25 14:36:37 +00:00
wiz
e7e0a8e2d1 Recursive bump for poppler-0.48.0. 2016-11-08 10:51:26 +00:00
wiz
3f62e6c6c5 Recursive PKGREVISION bump for poppler-0.46.0 shlib major bump. 2016-08-01 14:23:55 +00:00
wiz
3296aaf672 Recursive bump for poppler* update to 0.44.0. 2016-05-22 18:20:46 +00:00
wiz
fb8c764355 Recursive PKGREVISION bump for poppler-0.42.0. 2016-04-15 14:42:51 +00:00
ryoon
4bd6c0d059 Update to 1.4.1
* Update HOMEPAGE and MASTER_SITES

Changelog:
Version 1.4.1  [2015-09-24]
---------------------------

        - Test suite added
        - Bugfix: The tarball contains HACKING and README again
        - Bugfix: The zsh completion completes options as first
          argument correctly
        - Bugfix: Exit status is set as advertised
        - Bugfix: Spurious null bytes removed from output
        - Bugfix: Skipping of some matches in certain conditions fixed.
        - Bugfix: Empty matches don't trigger a loop

Version 1.4.0  [2015-08-14]
---------------------------

        - PCRE support (by Julius Plenz)
        - Fixed string search
        - Ability to pass multiple passwords
        - Option to change the colon as prefix separator
        - Optional warning about PDFs that contain no searchable text
        - New option from grep: +--only-matching+
        - New option from grep: +--null+
        - Bugfix: Correctly print unicode characters
        - Installation: New configure flag +--without-libpcre+
        - Installation: New configure flag +--disable-doc+ to disable
          manpage generation with asciidoc
        - Installation: pdfgrep now requires c++11
2016-03-23 12:40:00 +00:00
wiz
1442111255 Recursive PKGREVISION bump for poppler shlib bump. 2016-01-27 10:31:28 +00:00
wiz
3d3d931aa4 Bump PKGREVISION for poppler shlib major bump. 2015-11-23 10:30:15 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
wiz
9817f8ef3a Recursive revbump for poppler-0.36.0 shlib bump. 2015-10-01 05:37:00 +00:00
wiz
e8ba89b8e5 Bump PKGREVISION for poppler shlib major bump. 2015-07-15 15:09:37 +00:00
wiz
fd822f880c Recursive bump for poppler-0.32.0 shlib major bump. 2015-03-09 09:02:19 +00:00
ryoon
40d0137b03 Update to 1.3.1
* zsh completion module is not installed.

Changelog:
Release 1.3.1    [2014-08-10]

        - INCOMPATIBLE CHANGE: -r doesn't follow symlinks
        - A zsh completion module
        - Support for password-protected PDFs
        - Allow to omit '.' with -r to search current directory
        - Add -p or --page-count to count matches per page (by Jascha Knack)
        - Add -m or --max-count to limit matches per file (by Thibault Marin)
2015-02-15 11:15:05 +00:00
wiz
b65b63f568 Recursive PKGREVISION bump for poppler shlib major bump. 2015-01-08 10:20:34 +00:00
wiz
edd5600a85 Recursive bump for poppler shlib major bump. 2014-11-20 16:04:14 +00:00
wiz
93f5049478 recursive PKGREVISION bump for poppler shlib major change 2014-04-29 07:57:13 +00:00
wiz
7bef39b836 Recursive PKGREVISION bump for poppler-0.24.4. 2013-12-06 13:23:45 +00:00
prlw1
7c95fa6f13 To quote an earlier commit message:
Recursive revbump because poppler updated its shlib major for a
x.y.z+1 change, again...
2013-08-22 09:21:57 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
53745b22ea Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:05:17 +00:00
wiz
2c8f1b3a15 Recursive revbump because poppler updated its shlib major for a
x.y.z+1 change, again...

Noted by tron.
2013-05-29 22:13:16 +00:00
obache
1a3bece9a8 missing recursive bump from poppler-0.22.3 shlib major change. 2013-05-04 07:19:01 +00:00
obache
11942a54c1 missing recursive bump from poppler-0.22.2 shlib major change. 2013-03-31 08:13:27 +00:00
wiz
d1b820f37b Recursive bump for png-1.6. 2013-02-16 11:18:58 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
ryoon
65205ffc9e Update to 1.3.0
* Buildlink to print/poppler-cpp
* Fix build with popplar-0.20

Changelog:
Release 1.3.0    [2012-02-14]

        - Experimental support for libunac (removing accents and ligatures before search)
        - Recursive search [--recursive] (by Mahmut Gundes)
        - Don't use colors on dumb terminals
        - A few minor bug fixes
        - Use poppler-cpp instead of the poppler core library (by Pino Toscano)
2012-07-21 14:32:54 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
ryoon
e1917891f2 Import pdfgrep-1.2 as textproc/pdfgrep from wip/pdfgrep
Pdfgrep is a tool to search text in PDF files. It works similar to
grep.

Features
========
* search for regular expressions.
* support for some important grep options, including:
      o filename output.
      o page number output.
      o optional case insensitivity.
      o count occurrences.
* and the most important feature: color output!
2011-10-28 22:00:13 +00:00