Commit Graph

32 Commits

Author SHA1 Message Date
Tobias C. Berner
d163307e80 graphics/poppler: update to 0.77.0
Release 0.77.0:
        core:
         * Fix crash on signature handling. Issue #766
         * Fix small memory leak in SignatureHandler::getCertificateInfo
         * Splash: Restrict filling of overlapping boxes. Issue #750
         * Fix crash on malformed files

        qt5:
         * Fix optional content handling with exclusive layers

        cpp:
         * Make render_page thread-safe

        utils:
         * pdfsig: Fix small memory leak
         * pdftotext: Fix typo in manpage

PR:		238115
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-06-01 06:39:22 +00:00
Kai Knoblich
36055a452b graphics/impressive: Update to 0.12.0
* Switch to MuPDF as default renderer for PDF files and give users the
  choice to choose alternate or additional PDF renderers (Ghostscript,
  Poppler and Xpdf)
* Make further dependencies optional but leave them as default to keep in
  sync with upstream's defaults
* Limit the port to Python 2.7 because Python 3 is not (yet) supported and
  add "python" to CATEGORIES to make searching somewhat easier
* Introduce a patch to prevent possible runtime errors if graphics/py-pillow
  is updated to 6.0.0 [1] [2]
* Pet portlint
* Take maintainership

Notable changes since 0.11.1:

* Many zoom mode related changes
* Many video related changes
* Made Impressive suitable for Raspberry Pi-based digital signage
* Fixed --auto mode that was broken in 0.11.2 (only worked properly for the
  first page)
* Fixed excessive mouse sensitivity in full-screen mode
* Fixed crashes when clicking hyperlinks in some PDFs
* Fixed non-working hyperlinks when more than one input document is specified
* Added new MuPDF renderer, uses no temporary files or named pipes on POSIX
  with MuPDF >= 1.4
* Can now use MuPDF's mutool instead of pdftk to get basic file information
  and unpack PDF files (for hyperlink decoding)
  * pdftk is no longer required to open "modern" PDF files
  * Only page title extraction still needs pdftk
* Input files are now checked for playability (to prevent users from
  accidentally playing .info files)
* Fixed non-responsiveness to any controls on slow systems where rendering a
  page takes longer than the --auto interval
* First page is now shown as early as possible (before fonts etc. have been
  preloaded)
* Fixed occasional re-rendering of pages that have already been rendered
* Fixed 'keys' PageProp that was broken since 0.11.0
* Fixed crash in --verbose mode
* Changed shebang line to 'python2' to avoid issues with Linux distributions
  that use Python 3.x by default

http://impressive.sourceforge.net/news.php

PR:		237426 (related) [1]
Obtained from:	Upstream [2]
2019-05-22 06:40:01 +00:00
Tijl Coosemans
1bf487d3e7 Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence.  If the
catch-all is last it captures everything.  In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API.  This only affects lld because GNU ld always gives the
catch-all lowest priority.

Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium.  Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3]  The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one.  If there's no such non-weak symbol the call
in the weak wrapper resolves to the weak wrapper itself creating an infinite
call loop that overflows the stack and causes a crash.  Some of the
allocation functions are variants of C++ new and delete and it probably
depends on the compiler whether these variants are used in other parts of
Qt5Webengine.

Remove the weak wrappers (make them Linux specific).  This isn't binary
compatible but we are already breaking that with the changes to the symbol
versions.

[1] 5c2cbfccf9
[2] 2ed5054e3a
[3] 009f5ebb4b

Bump all ports that depend on Qt5.

PR:		234070
Exp-run by:	antoine
Approved by:	kde (adridg)
2019-01-16 11:13:44 +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
Mathieu Arnold
8dcaabcd6e Add PY_FLAVOR to Python module dependencies.
Sponsored by:	Absolight
2018-05-22 13:15:13 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Rene Ladan
fbd43637e1 Reset vg@'s ports after he resigned.
With hat:	portmgr-secretary
2018-02-23 21:09:47 +00:00
Dmitry Marakasov
61d925c1bf - Pet portlint
- Fix shebangs
- Unsilence installation commands

Approved by:	portmgr blanket
2017-07-12 09:00:21 +00:00
Thomas Zander
b50a4186ce Chase ffmpeg 3.3 update (ABI changes)
PR:		218658
Submitted by:	riggs
2017-04-25 08:20:30 +00:00
Veniamin Gvozdikov
0e40f4eef5 - Update to 0.11.1
PR:		ports/206529
Submitted by:	Maciej Pasternacki <maciej@pasternacki.net>
2016-08-23 06:17:33 +00:00
Kurt Jaeger
89103d4390 graphics/impressive: Fix depend on graphics/py-PyOpenGL
PR:		205472
Reported by:	antoine
2016-05-10 21:37:39 +00:00
Kurt Jaeger
96fdc0d606 graphics/py-opengl{-accelerate}: 3.0.1 -> 3.1.0, change to PyPI naming
- upgrade fixes the use of the port
- py-opengl -> py-PyOpenGL
- py-opengl-accelerate -> py-PyOpenGL-accelerate

PR:		205472
Submitted by:	matthew@reztek.cz
Reviewed by:	koobs
2016-05-09 19:26:26 +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
Tijl Coosemans
77760fcb63 Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.

Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.

Fix print/ghostscript9-agpl-base to install eps2write.

Update math/asymptote to 2.37 to support newer Ghostscript.

PR:		208159
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-24 15:47:50 +00:00
Dmitry Marakasov
f3ace4251b - Switch to options helpers
- While here, add some NO_ARCHes

Approved by:	portmgr blanket
2015-08-26 18:26:14 +00:00
Hiroki Sato
27470e1676 - Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base

   Installs Ghostscript binary, libgs, and related files.
   These ports do not depend on X11 libraries (i.e. x11* devices
   are not available).  USES=ghostscript will set dependency on
   one of them depending on GHOSTSCRIPT_DEFAULT.

   The default device is set to "display" or "bbox".

 * print/ghostscript{7,8,9,9-agpl}-x11

   Installs a shared library which provides X11 support to
   the installed Ghostscript binaries.  x11* devices will be
   enabled when the library is available.

   This depends on *-base (RUN_DEPENDS).  USES=ghostscript:x11
   will set dependency on one of them.

- Fix integer overflow reported as CVE-2015-3228.

- Update Uses/ghostscript.mk:

 * Add x11 keyword.  nox11 keyword is now obsolete.

 * Use packagename in *_DEPENDS line to prevent relationship between
   -base and -x11 packages from being broken.

- Fix x11/nox11 keyword and bump PORTREVISION in ports using
  USES=ghostscript to update dependency of pre-compiled packages.
2015-08-22 17:48:35 +00:00
Koop Mast
68f883edfc Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
2015-07-16 20:53:28 +00:00
William Grzybowski
950071eb62 graphics/impressive: switch from py-imaging to py-pillow
- USES python

With hat:	python
Approved by:	portmgr (bdrewery, implicit)
2014-10-07 16:48:54 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Veniamin Gvozdikov
82d49f7eb2 - Support staging
Submitted by:	myself
2014-06-30 15:38:43 +00:00
Gerald Pfeifer
1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00
Emanuel Haupt
e51ae914b5 Remove trailing whitespaces from category graphics 2014-02-21 13:37:15 +00:00
Emanuel Haupt
5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00
Daichi GOTO
8890587e5d fixed a wrong RUN_DEPENDS
PR:		ports/183944
Submitted by:	Koichiro IWAO <meta+ports@vmeta.jp>
2013-11-24 23:59:53 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin
eb08c5441c Add NO_STAGE all over the place in preparation for the staging support (cat: graphics) 2013-09-20 18:35:44 +00:00
Veniamin Gvozdikov
862c06b489 - Changed my email
- Trim Makefile headers and positions name and surname within

Approved by:	eadler, rm (mentors)
2013-07-22 14:34:22 +00:00
Beech Rintoul
937e628c14 - Convert to OptionsNG
- Makefile tweaks

PR:		ports/177295
Submitted by:	nemysis <nemysis@gmx.ch>
Approved by:	Veniamin Gvozdikov <g.veniamin@googlemail.com> (maintainer)
2013-03-24 22:22:15 +00:00
Max Brazhnikov
630ca2285f Bump PORTREVISION after open-mofit update 2011-05-02 12:44:53 +00:00
Max Brazhnikov
dbc2762821 Update to 0.10.3
PR:		ports/156063
Submitted by:	Gvozdikov Veniamin (maintainer)
2011-04-10 19:58:24 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Dmitry Marakasov
2796833d8e Impressive is a program that displays PDF presentation slides with style.
Smooth alpha-blended slide transitions are provided for the sake of eye
candy, but in addition to this, Impressive offers some unique tools that
are very useful for presentations.

WWW:	http://impressive.sourceforge.net/

PR:		143840
Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>
Feature safe:	yes
2010-02-18 18:33:10 +00:00