Commit Graph

75 Commits

Author SHA1 Message Date
Fernando Apesteguía 72b808f224 graphics/mupdf: update to 1.18.0
ChangeLog: https://mupdf.com/release_history.html

While here rework post-patch and remove noop REINPLACE_CMD

PR:	250473
Submitted by:	uzsolt@uzsolt.hu (maintainer)
2020-10-22 05:36:22 +00:00
Fernando Apesteguía 23b2a98cc6 graphics/mupdf: Update to 1.17
Apply patch in graphics/zathura-pdf-mupdf to use transition functions to the new
API (int fz_page_number_from_location(ctx, doc, location))

ChangeLog: https://www.mupdf.com/docs/api/changes.html

PR:	246532
Submitted by:	salil.wadnerkar@gmail.com
Approved by:	uzsolt@uzsolt.hu (maintainer)
2020-05-19 07:25:54 +00:00
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00
Kai Knoblich 8bb5689af1 graphics/mudpf, graphics/zathura-pdf-mudpf: Update to 1.16.0 and 0.3.5
* Update both ports as mupdf 1.16.0 would break zathura-pdf-mupdf <= 0.3.4
  and vice versa.

* zathura-pdf-mupdf: Change secondary entry of MASTER_SITES to maintainer's
  site as the previous one was provided by madpilot@ as an interim solution
  some time ago to cope with unreachability issues of pwmt.org. [1]

Notable changes for mudpf:

* api: Major overhaul of color management architecture.
* api: Improved functions to verify/sign PDF documents.
* epub: Changed default page size to A5.
* epub: New Noto fonts covering more unicode scripts.
* pdf: Add Redact annotation type and function to apply redactions.
* pdf: Add/remove/change encryption and password when saving PDF files.

https://mupdf.com/release_history.html

Changelog for zathura-pdf-mudpf:

* Adapted to MuPDF >= 1.16.x
* Use SPDX license identifiers

PR:		239598, 239815 [1]
Submitted by:	Zsolt Udvari <uzsolt@uzsolt.hu> (maintainer)
2019-08-14 13:31:43 +00:00
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Piotr Kubaj 606622d2e3 graphics/mupdf: fix build with big-endian architectures
Remove files/patch-thirdparty_lcms2_src_cmsmd5.c to fix build.

The port builds without this patch now and the patch actually breaks build.

PR:		237930
Approved by:	linimon (mentor), uzsolt@uzsolt.hu (maintainer)
Differential Revision:	https://reviews.freebsd.org/D20400
2019-05-29 07:44:01 +00:00
Alexandre C. Guimarães 790a3ac4c1 graphics/mupdf: Upate to 1.15.0
- bump graphics-zathura-mupdf

PR:		237770
PR:		236590
Submitted by:	Zsolt Udvari (maintainer)
Approved by:	tcberner (mentor)
MFH:		2019Q2
2019-05-07 19:36:10 +00:00
Alexandre C. Guimarães fa5d9a39eb graphics/mupdf: fix mupdf-gl not being built.
PR:		236002
Reported by:	Oleh Hushchenkov <o.hushchenkov@gmail.com>
Approved by:	tcberner (mentor)
2019-02-24 18:39:42 +00:00
Alexandre C. Guimarães a2a2555a0f graphics/mupdf: fix build when graphics/openjpeg15 is present.
PR:		235996
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Reported by:	Marco Beishuizen <mbeis@xs4all.nl>
Approved by:	tcberner (mentor)
2019-02-24 17:48:15 +00:00
Alexandre C. Guimarães d9286dc68b graphics/zathura: Update to 4.3.
- update graphics/mupdf to 1.14.0
- update graphics/zathura-pdf-mupdf to 0.3.4

PR:		235952
PR:		233727
PR:		229935
PR:		232902
PR:		233021
Approved by:	tcberner (mentor), Zsolt Udvari <uzsolt@uzsolt.hu> (maintainer), Quentin Stievenart <quentin.stievenart@gmail.com> (maintainer)
Differential Revision:	https://reviews.freebsd.org/D19301
2019-02-24 00:44:49 +00:00
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Mark Linimon 17e9d38ecb Fix build on big-endian architectures due to byte-swapping function.
PR:		232870
Submitted by:	Piotr Kubaj
Approved by:	maintainer
2018-11-11 03:49:19 +00:00
Tobias Kortkamp 563dce7f91 graphics/mupdf: Fix linking with libmupdf.so for third-party ports
libmupdf.so references symbols from libmupdfthird.so but does not
link directly against it.

This is problematic for ports using the --as-needed linker option,
such as graphics/zathura-pdf-mupdf (>= 0.3.3) due to Meson's defaults.
zathura-pdf-mupdf itself does not reference symbols from libmupdfthird.so,
and so despite being included in the linker arguments, libmupdfthird.so
is not actually linked in.

$ zathura --version
error: Could not load plugin '/usr/local/lib/zathura/libpdf-mupdf.so' (/usr/local/lib/libmupdf.so.1.13.0: Undefined symbol "js_tointeger").

This is a consequence of us providing shared libraries in spite of
upstream since r433550 to keep package sizes down, but not properly
understanding the dependency between libmupdfthird and libmupdf.

PR:		232059
Submitted by:	Albert Ou <aou@eecs.berkeley.edu>
2018-10-09 07:01:53 +00:00
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00
Dmitry Marakasov 23fb6e4f0f - Pet portlint
- Update WWW

Approved by:	portmgr blanket
2018-08-10 09:38:00 +00:00
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Yuri Victorovich a1fe8805db graphics/mupdf: Fix headers conflict with openjpeg15
Reported by:	Ajtim <starikarp@yandex.com> (on ports ML)
2018-07-15 06:29:36 +00:00
Thomas Zander 73663b8b51 Update to upstream version 1.13.0
Detailed maintainer log:
- Update to 1.13.0
- Install tools manually
- Changelog: https://mupdf.com/news.html

PR:		229110
Submitted by:	uzsolt@uzsolt.hu (maintainer)
2018-07-14 07:37:00 +00:00
Mark Linimon a78aef718d Mark ports broken on powerpc64, categories g-n.
While here, pet portlint and do some other cleanup.

Approved by:	portmgr (tier-2 blanket)
2018-06-18 14:00:43 +00:00
Tobias Kortkamp 2b120d188b graphics/mupdf: Update to 1.12.0
Changes:	http://git.ghostscript.com/?p=mupdf.git;a=blob;f=CHANGES;h=e37c478a397198eae4c62f623747229c18e9035d;hb=HEAD
PR:		224712
Submitted by:	Zsolt Udvari <uzsolt@uzsolt.hu> (maintainer)
2018-01-11 14:19:44 +00:00
Jimmy Olgeni 2fb9f25373 Fix whitespace issues (mixed tab/spaces, alignment) in a few ports. 2017-11-01 13:10:35 +00:00
Sunpoet Po-Chuan Hsieh d263cacb21 Update graphics/openjpeg to 2.3.0
Changes:	https://github.com/uclouvain/openjpeg/blob/master/CHANGELOG.md
PR:		222817
Exp-run by:	antoine
2017-10-10 17:45:57 +00:00
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Sunpoet Po-Chuan Hsieh 43ff00a57b Update graphics/openjpeg to 2.2.0
Changes:	https://github.com/uclouvain/openjpeg/blob/master/CHANGELOG.md
PR:		221478
Exp-run by:	antoine
2017-08-20 09:48:39 +00:00
Bradley T. Hughes b2ef031943 multiple ports: Update MAINTAINER
Change udvzsolt@gmail.com to uzsolt@uzsolt.hu on all relevant ports:
audio/musicpc
databases/adminer
deskutils/fet
graphics/mupdf
graphics/timg
graphics/zathura-pdf-mupdf
sysutils/rdiff-backup
textproc/urlview
www/kohana
x11/dzen2
x11-wm/herbstluftwm

PR:		220323
Submitted by:	Zsolt Udvari <uzsolt@uzsolt.hu> (maintainer)
Approved by:	mat (co-mentor)
Differential Revision:	https://reviews.freebsd.org/D11469
2017-07-04 19:41:21 +00:00
Matthew Rezny b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Tobias Kortkamp fb788017cd Update to 1.11
- Prevent linking with libcrypto when a pkg-config file for it exists
  on the system [1]
- Bump PORTREVISION of dependent ports

PR:		218996, 218688 [1]
Reported by:	rsmith@xs4all.nl [1]
Submitted by:	Zsolt Udvari <udvzsolt@gmail.com> (maintainer)
Approved by:	lme (mentor)
Differential Revision:	https://reviews.freebsd.org/D10561
2017-05-02 12:22:21 +00:00
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Tijl Coosemans d11e9a6cb1 Patch graphics/mupdf to build shared libraries instead of static ones.
Because the libraries are faily big this significantly reduces the size of
programs linking to it.  Use PORTVERSION as the library version because
upstream does not guarantee compatibility between any two versions.

Add an upstream patch to graphics/llpp to fix brightness increase key.

PR:		216823
Submitted by:	Tobias Kortkamp <t@tobik.me> (maintainer of llpp)
Approved by:	Zsolt Udvari <udvzsolt@gmail.com> (maintainer)
Obtained from:	OpenBSD
2017-02-07 13:39:59 +00:00
Joseph Mingrone c7f1eb7d4d graphics/mupdf: Update to version 1.10a.
Other port changes:
- Remove unnecessary WRKSRC definition.
- Do not strip binaries that are already stripped.
- Remove old patches.

Upstream changelog: http://mupdf.com/news

PR:		216061
Submitted by:	udvzsolt@gmail.com (maintainer)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9178
2017-01-15 02:29:00 +00:00
Mark Felder f9c982ea66 graphics/mupdf: Patch to resolve CVEs
PR:		212207
MFH:		2016Q4
Security:	CVE-2016-6525
Security:	CVE-2016-6265
2016-10-12 00:11:07 +00:00
Pawel Pekala 9653d4a209 Remove -I${LOCALBASE}/include from CFLAGS, it leads to
broken build when older version is already installed on the
system. Newer mupdf tries to build against old headers and in
meanwhile API has changed considerably.

PR:		210741
Submitted by:	Tobias Kortkamp
Reported by:	drhowarddrfine@charter.net
2016-07-02 11:41:26 +00:00
Pawel Pekala 5557089bd7 - Update graphics/mupdf to version 1.9a [1]
- Fix graphics/zathura-pdf-mupdf after mupdf update [1]
- Fix graphics/llpp after mupdf update [2]

PR:		210398
Submitted by:	Zsolt Udvari (maintainer) [1]
		Tobias Kortkamp (maintainer) [2]
2016-06-30 16:05:54 +00:00
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Sunpoet Po-Chuan Hsieh 8bdcfd803f - Update to 1.8
Changes:	http://git.ghostscript.com/?p=mupdf.git;a=blob;f=CHANGES;hb=HEAD
PR:		205057
Submitted by:	Zsolt Udvari <udvzsolt@gmail.com> (maintainer)
2015-12-06 17:52:51 +00:00
Sunpoet Po-Chuan Hsieh 5b540146f1 - Fix build with jbig2dec 0.12
- Add LICENSE_FILE

Approved by:	portmgr (blanket)
2015-12-05 05:50:04 +00:00
Sunpoet Po-Chuan Hsieh f2385cdbe7 - Fix patch
PR:		203327
Submitted by:	Wolfgang Jenkner <wjenkner@inode.at>
Approved by:	Zsolt Udvari <udvzsolt@gmail.com> (maintainer, implicit)
2015-10-09 18:33:09 +00:00
Sunpoet Po-Chuan Hsieh 10cec83bc5 - Fix build with openjpeg 2.1.1
- Bump PORTREVISION
- While I'm here:
  - Update MASTER_SITES: make 1.7 fetchable
  - Use DISTVERSIONSUFFIX instead of EXTRACT_SUFX
  - Convert to new options helper

PR:		203327
Submitted by:	Walter Schwarzenfeld <w.litter@aon.at>
Approved by:	Zsolt Udvari <udvzsolt@gmail.com> (maintainer)
2015-10-04 18:01:53 +00:00
Antoine Brodin fc2dfd2b9d Mark BROKEN: fails to link with openjpeg 2.1.1
cc  -fstack-protector -o build/release/mudraw build/release/tools/mudraw.o build/release/libmupdf.a -L/usr/local/lib  -lm -L/usr/local/lib -lfreetype   -ljbig2dec -ljpeg -L/usr/local/lib -lopenjp2    -lz
build/release/libmupdf.a(load-jpx.o): In function `fz_load_jpx':
source/fitz/load-jpx.c:(.text+0x56): undefined reference to `opj_set_default_decoder_parameters'
source/fitz/load-jpx.c:(.text+0x69): undefined reference to `opj_create_decompress'
source/fitz/load-jpx.c:(.text+0x84): undefined reference to `opj_set_info_handler'

Reported by:	pkg-fallout
2015-09-27 06:19:05 +00:00
Antoine Brodin 6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Jan Beich bc494fd545 graphics/mupdf: drop obsolete mirror from MASTER_SITES
GOOGLE_CODE page says:

  Downloads are not hosted on google code anymore.
  Go to the official MuPDF page instead.

=> mupdf-1.7-source.tar.gz doesn't seem to exist in /usr/ports/distfiles.
=> Attempting to fetch http://mupdf.googlecode.com/files/mupdf-1.7-source.tar.gz
fetch: http://mupdf.googlecode.com/files/mupdf-1.7-source.tar.gz: Not Found

Submitted by:	Herbert J. Skuhra <herbert@oslo.ath.cx>
Approved by:	Zsolt Udvari <udvzsolt@gmail.com> (maintainer)
2015-05-03 18:50:54 +00:00
Jan Beich 5c71524634 graphics/mupdf: update to 1.7
Changes:	http://mupdf.com/news
PR:		199576
Submitted by:	Zsolt Udvari <udvzsolt@gmail.com> (maintainer)
2015-05-03 07:30:00 +00:00
Dmitry Marakasov 649f1d996e - Add CPE info
Approved by:	portmgr blanket
2015-04-16 06:34:52 +00:00
Dmitry Marakasov 66c97ce6bc - Update to 1.6
- Drop @dirrm from pkg-plist

PR:		194194
Submitted by:	udvzsolt@gmail.com (maintainer)
2014-10-15 19:48:22 +00:00
Tijl Coosemans 2fbc95a10a - Add dependency on libcurl
- Remove a patch and simplify the Makefile a bit
- Create and install libmupdf_pic.a which can be linked into shared
  libraries such as the zathura-pdf-mupdf plugin

PR:		192397
Approved by:	Zsolt Udvari <udvzsolt@gmail.com> (maintainer)
2014-08-05 19:05:34 +00:00
Kurt Jaeger d9d7c9a7b9 graphics/mupdf: 1.2 -> 1.5
- For changes since 1.2 see http://www.mupdf.com/news
- new maintainer: Zsolt Udvari

PR:		184335
Submitted by:	Zsolt Udvari <udvzsolt@gmail.com>
Approved by:	lichray@gmail.com (maintainer timeout)
2014-08-04 20:19:28 +00:00
John Marino 9951638e48 2 more ports: convert to USES+= zip
USES=zip is currently desired when all distfiles are zip archives, unless
the after-extraction arguments are tailored for ${TAR}.  Currently
USES=zip is incompatible with multiple distfiles of different formats,
but this is being worked on.

Approved by:	general infrastructure blanket
2014-05-29 20:18:17 +00:00
Martin Wilke 0ecb0840c0 - Convert gmake,bzip2,xz to USES
Approved by:	portmgr
2014-05-29 11:28:16 +00:00
Koop Mast 097c01dd0a Update openjpeg to 2.1.0.
Version 2.x is incompatible with openjpeg 1.5. Preserve it as openjpeg15
and update users.

Approved by:	portmgr (implicit) for NO_STAGE ports
2014-05-26 14:42:44 +00:00
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00