Commit graph

98 commits

Author SHA1 Message Date
Tobias C. Berner
7dd73cf435 graphics/poppler: bump portrevision of consumers
Bump revisions after 0ee787592d due to so-version bump.

PR:		 263009
2022-04-26 18:59:28 +02:00
Tobias C. Berner
6f59b7b9ba graphics/poppler: bump consumers
Bump consumers of graphics/poppler after e25859e093
2022-03-29 20:37:09 +02:00
Muhammad Moinur Rahman
8374a33c80 tex* : Update version 20150521=>20210325
- Update MASTER_SITES_TEX_CTAN from https://tug.org/historic/
- Update texlua to use texlua53 library
- Deprecate CSLaTeX format
- Remove aleph as per Upstream
- Add common variables TEXLIVE_YEAR and TEXLIVE_VERSION to be used in
  all ports related to tex*
- Fix dependency of print/texlive-texmf-source [1]
- devel/tex-kpathsea: Update version 6.2.1=>6.3.3
- devel/tex-libtexlua: Update version 5.2.4=>5.3.6
- devel/tex-libtexluajit: Update version 2.0.3=>2.1.0
- devel/tex-synctex: Update version 1.17.0=>2.0.0
- devel/tex-web2c: Update version 20150521=>20210325
- editors/texworks: Fix build with newer tex version
- print/tex-basic-engines: Update version 20150521=>20210325
- print/tex-dvipdfmax: Update version 20150521=>20210325
- print/tex-dvipsk: Update version 5.995=>20210325.1
- print/tex-formats: Update version 20150521=>20210325
- print/tex-jadetex:
- print/tex-luatex: Update version 0.80.0=>1.12.0
  * Convert to dynamic pkg-plist
- print/tex-ptexenc: Update version 1.3.3=>1.3.9
- print/tex-xetex: Update version 0.99992=>0.99993
  * Convert to dynamic pkg-plist
- print/texlive-base: Update version 20150521=>20210325
- print/texlive-docs: Update version 20150521=>20210325
  * Convert to dynamic pkg-plist
- print/texlive-full: Update version 20150521=>20210325
- print/texlive-texmf-source: Update version 20150521=>20210325
- print/texlive-texmf: Update version 20150521=>20210325
  * Convert to dynamic pkg-plist
- print/texlive-tlmgr: Update version 20150521=>20210325
- print/xpdfopen: Transfer MAINTAINER to tex@ as xpdfopen is an
  integral part of tex after poppler support has been deprecated from
  tex [2]
- textproc/dblatex: Update version 0.3.11=>0.3.12
  * Take MAINTAINERship
- textproc/gastex: Fix build
- textproc/metauml: Fix build

PR:		226983 [1]
Reported by:	Trond.Endrestol@ximalas.info [1]
Reviewed by:	tcberner (private repo)
Approved by:	hrs (maintainer-timeout) [2]
Relnotes: https://tug.org/texlive/doc/texlive-en/texlive-en.html#news
Sponsored by:	Nepustil.net
2022-02-18 20:25:00 -06:00
Tobias C. Berner
fd68e9e2b6 graphics/poppler: update to 21.12
Release 21.12.0:
    core:
         * Add API to add images
         * CairoOutputDev: Fix de-duping of Flate images
         * Fix crash on broken files when using non-default ENABLE_ZLIB_UNCOMPRESS. Issue #393
         * Minor code improvements

    glib:
         * Add API for validation of signatures
         * Add API to read/save to file descriptor

    utils:
         * pdftohtml: Reduce sensitivity of duplicate detection. Issue #1117

    build system:
         * Increase C++ standard to 17

Exp-run by:	antoine
PR:		260344
2021-12-13 21:13:45 +01:00
Gleb Popov
e886c38c6e Bump PORTREVISION of graphics/poppler consumers.
PR:		259656
2021-11-08 18:16:57 +03:00
Tobias C. Berner
e140c1eb79 graphics/poppler: bump consumers after 2dee0997fb 2021-10-12 20:23:21 +02:00
Tobias C. Berner
d98b56f1de graphics/poppler: update to 21.09
Release 21.09.0:
        core:
         * Splash: Massive speed improvement on files that use lots of save/restore (q/Q) operators
         * Correct decoding of signature properties Reason & Location when they are Unicode
         * Fix issues with malformed files
         * MSVC build fixes

        build system:
         * Call cmake_minium_required() before project()
         * Always append to CMAKE_{C,CXX}_FLAGS_${CMAKE_BUILD_TYPE}
         * correctly forward user-provided flags to try_compile()

Exp-run by:	antoine
PR:		258206
2021-09-06 18:31:18 +02:00
Tobias C. Berner
9a1df6a85c graphics/poppler: update to 21.08.0
Release 21.08.0:
        core:
         * Add API to allow addition and modification of outlines into a PDF
         * Use additional samples to test for constant parts of an axial gradient
         * forms: Create fallback fonts for some well known font names
         * Support reading the PDF Version from the Catalog
         * Fix XRef::copy when there are modified objects
         * Take into account that Date string may be in unicode
         * JBIG2Stream: Fix regression in "Do not consider a size-0 to be an error"
         * Replace a local bubble sort implementation by std::sort
         * Fix issues with malformed files

        build system:
         * Better error message when libjpeg is not found
         * Better error messages when libopenjpeg2 is not found

        qt5/qt6:
         * Document that a document has to outlive its pages
         * Make getPdfVersion return a dedicated version object

        glib:
         * mimick TextSelectionDumper logic change for spaceAfter

Exp-run by:	antoine
PR:		257539
2021-08-15 07:42:37 +02:00
Tobias C. Berner
fac489c164 graphics/poppler: update to 21.07.0
Release 21.07.0:
        core:
         * JBIG2Stream: Do not consider a size-0 to be an error. Issue #535
         * PSOutputDev: fix off-by-one error for image masking in L1/L2 output. Issue #1088
         * CairoOutputDev: Fix memory leak on broken files
         * Minor code improvements

        build system:
         * set C standard to 11 without extensions

Exp-run by:	antoine
PR:		256981
2021-07-06 22:00:58 +02:00
Tobias C. Berner
c567676136 graphics/poppler: update to 21.06.0
Release 21.06.0:
        core:
         * Fix rendering of some extended latin1 characters in annotations. Issue #1070
         * Support some not so well formed documents with password. Issue #1083
         * Add API to get notified if the xref is reconstructed
         * Add somewhat fancier left/right signature visual representation
         * Fix crashes in malformed files
         * Minor code improvements

        qt6:
         * Change some functions to return std::unique_ptr

        qt5/qt6:
         * Add API to get notified if the xref is reconstructed
         * Add somewhat fancier left/right signature visual representation
         * Don't assert when trying to invert singular matrices

        build system:
         * make boost opt-out if building splash

- Add dependency on boost to enable the splash backend.

PR:		256370
Exp-run by:	antoine
2021-06-07 15:26:18 +02:00
Tobias C. Berner
cc4315b370 graphics/poppler: update to 21.05.0
Release 21.05.0:
        core:
         * Fix crashes in malformed files
         * Export SplashFont* symbols used by Scribus
         * Minor code improvements

        qt5/qt6:
         * Make sure new signatures are always properly oriented
         * Allow to pass the border width when signing

        glib:
         * Enhance find to support multi-line matching

        utils:
         * pdftoppm: Fix regression when using single scaleTo. Issue #1062

        build system:
         * Allow to disable building manual tests

PR:		255562
Exp-run by:	antoine
2021-05-06 06:12:26 +02:00
Tobias C. Berner
2f973a2955 graphics/poppler: update to 21.04.0
Release 21.04.0:
        core:
         * Hide symbols by default
         * TextSelectionDumper: fix word order for RTL text
         * Fix rendering of text in some files. Issue #1052
         * Implement rendering of Masks of Image subtype. Issue #1058
         * Forms: fix unclicking standalone form buttons. Issue #1034

        glib:
         * Expose more fields from MediaRendition in PopplerMedia
         * Use stock glib macro to define boxed type
         * Remove incorrecly used volatile from enum type registration code

        qt5:
         * Fix crash in files with malformed signatures
         * Fix memory leak when QImage constructor "fails"

        qt6:
         * Fix crash in files with malformed signatures
         * Fix memory leak when QImage constructor "fails"

        utils:
         * pdfsig: New paragraph for "-sign" in manpage
         * pdfimages: Do not assert in "too big images". Issue #1061

        build system:
         * Require cmake >= 3.10
         * Require Qt 5 >= 5.9
         * Require glib >= 2.56
         * Require gtk 3 >= 3.22
         * Require gdk-pixbuf >= 2.36

PR:		poppler-21.04.0
Exp-run by:	antoine
2021-04-16 06:29:51 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Tobias C. Berner
0ef82d433f graphics/poppler: update to 21.03.0
Release 21.03.0:
        core:
         * Fix parsing text in some broken pdf files. Issue #1040
         * Fix memory issue when using threads. Issue #1050
         * TextSelectionDumper: Fix getText() for space after word
         * Change signature of OutputDev:tilingPatternFill
         * Make PDFDocBuilder return a std::unique_ptr
         * Improve well formed check for shading functions
         * Fix leak in case of fread failing
         * Fix memory leak in broken file in JBIG2Stream::readGenericBitmap
         * PSOutputDev: Fix stack overflow in broken files

        glib:
         * poppler_annot_free_text_get_callout_line: Fix wrong static cast
         * poppler-structure-element: fix memleak
         * Improve documentation
         * demo: keep same visual appearance between displayed and copied text

        utils:
         * pdftotext: Add -cropbox option
         * pdftoppm: Add -progress option
         * pdftoppm: Fix rounding bug in computation of output bitmap size. Issue #927

        qt6:
         * Add missing poppler-qt6.pc.cmake

PR:		253953
Exp-run by:	antoine
2021-03-08 19:32:55 +00:00
Tobias C. Berner
ed28803b50 graphics/poppler: update to 21.02
Release 21.02.0:
        core:
         * GfxCal*ColorSpace: introduce Bradford transform for chromatic adaptation
         * Fix memory leak if saving the file fails
         * Internal code improvements
         * Fix various issues handling broken files
         * Make checkedAdd work for long long in MSVC

        qt5:
         * Properly export NewSignatureData class
         * Fix regression in QIODeviceOutStream + MSVC

        qt6:
         * Properly export NewSignatureData class
         * Fix regression in QIODeviceOutStream + MSVC

        utils:
         * pdftohtml: Fix error() parameter type

PR:		253183
Exp-run by:	antoine
2021-02-09 11:10:57 +00:00
Tobias C. Berner
c565bdb335 graphics/poppler: update to 21.01.0
Release 21.01.0:
        core:
         * Faster routines for jpeg decoding
         * Fix reading signatures in encrypted files
         * Add white point correction when lcms is used
         * JBIG2Stream: Fix byte counting
         * Fix potential data loss if we try to fetch a non existing Ref after modifying the document
         * Specifically use DeviceGray instead of DefaultGray for softmasks
         * Fix various issues handling broken files

        utils:
         * pdftocairo: Setmode binary for windows
         * pdfsig: Add hability to digitally sign files
         * pdftoppm: add options to set DeviceGray/DeviceRGB/DeviceCMYK
         * pdftops: add options to set DeviceGray/DeviceRGB/DeviceCMYK
         * pdfimages: Account for rotation in PPI calculation

        qt5:
         * Add hability to digitally sign files

        qt6:
         * Add hability to digitally sign files

        build system:
         * Enable clang-tidy bugprone-signed-char-misuse

PR:		252377
Exp-run by:	antoine
2021-01-07 19:23:00 +00:00
Tobias C. Berner
773872818c graphics/poppler: update to 20.12.0
Changelog:
        core:
         * Draw better circles for circle annotations
         * Fix annotation line width if no appearance stream or style are given
         * Tweak rendering of highlight annotations
         * Fix border rendering of some annotations
         * Fix rendering of some files. Issue #976 Issue #567
         * PSOutputDev: provide options to set the rasterization color space and ICC profile
         * PSOutputDev: for splashModeCMYK8 and language level >=2 activate overprint emulation
         * PSOutputDev: use the DeviceN8 bitmap for rasterization with CMYK-output + overprint
         * Use the font name without subset tag when querying for a system font
         * Splash: Fix wrong x adjustment during clipping
         * Splash: Fix blitImage in uncolored tiling patterns
         * timeToDateString: We forgot the ' after the minutes
         * Move psLevel to PSOutputDev creation
         * Fix several issues in broken files

        utils:
         * pdftops: provide options to set the rasterization color space and ICC profile
         * pdftops: for splashModeCMYK8 and language level >=2 activate overprint emulation

        cpp:
         * New fuzzers

        glib:
         * New fuzzers

        qt5:
         * New fuzzers

        build system:
         * gcc: Enable -fno-operator-names
         * Remove obsolete bool-to-binary macro
         * Remove obsolete version-check macro for pkgconfig
         * Remove .pc files for private back-ends
         * Remove redundant unit-test macro

PR:		251537
Exp-run by:	antoine
2020-12-11 20:10:03 +00:00
Tobias C. Berner
a831c679c4 graphics/poppler: update to 20.11.0
Release 20.11.0:
        core:
         * More work on rendering of standalone Annot Widgets. Issue #806
         * Fix crashes in embedded file handling on broken files. Issue #967
         * Fix uninitialized memory read on broken files
         * Save a bit of memory in Dict data

        cpp:
         * Fix crashes in embedded file handling on broken files. Issue #966

        utils:
         * pdftohtml: HTML and XML output includes font opacity.

        qt5:
         * Rename ArthurOutputDev to QPainterOutputDev

        build system:
         * Fix linker error when gtk is not in a default location
         * Add some checks for gtk-doc support
         * Reorganize GObject introspection config
         * Enable CMAKE_LINK_DEPENDS_NO_SHARED

PR:		250786
Exp-run by:	antoine
2020-11-03 19:48:54 +00:00
Tobias C. Berner
aa3db148fc graphics/poppler: update to 20.10.0
Release 20.10.0:
        core:
         * Filter out repeated forms
         * Implement EmbedStream::reset()
         * CairoOutputDev: evict just font faces owned solely by cache.
         * Splash: Rename Yd to Ydown, Xu to Xup, etc.
         * Splash: fix crash in out-of-memory situation.
         * Fix some undefined behaviour situation with forged files

PR:		250052
Exp-run by:	antoine
2020-10-11 10:58:15 +00:00
Tobias C. Berner
5dc59a82ae graphics/poppler: update to 20.09.0
Release 20.09.0:
        core:
         * Compability fix for Forms
         * Fix fetching of Objects failing in some cases
         * Fix clearing date in Annot setModified/setDate
         * TextSelectionPainter: support glyphless fonts
         * Splash: Don't try read past end of image
         * avoid abort() on large memory allocation
         * Fix memory leak on broken files
         * Fix potential invalid memory read
         * Small code improvements

        qt5:
         * Document TextAnnotation::inplaceAlign
         * Make Annotation::setModification/CreationDate work on existing annots
         * Be a bit more stubborn converting dates that come from xml
         * Clean as many null characters from the end as possible when converting strings

        glib:
         * Add accessor functions for PopplerAttachment
         * Deprecate PopplerAttachment GTime fields
         * Deprecate PopplerDocument date properties

        utils:
         * pdftoppm: report error and exit if output file cannot be written
         * Document that PDF-file can be '-' to read it from stdin

        build system:
         * cmake: Modern way to link against libpng, zlib and libtiff
         * cmake: Remove stray support for lcms1 in pdftocairo

PR:		249060
Exp-run by:	antoine
2020-09-10 18:32:06 +00:00
Tobias C. Berner
97cf82ea46 Bump revisions of poppler consumers after r544863 2020-08-14 04:22:13 +00:00
Tobias C. Berner
5060d003ef graphics/poppler: update to 0.90
Release 0.90.0:
        core:
         * Color profile tweaks
         * Small signature improvements
         * BBoxOutputDev: Fix calculation when type3 fonts are involved
         * Fix potential crash when reading Forms
         * Fix infinite loop in broken file
        glib:
         * Fix adding annots in rotated pages
         * Add ability to reset forms
         * Several fixes to the documentation
        qt5:
         * Make it clear we require Qt 5.5
         * demo: Fix crash on broken files
         * Small documentation improvements
        utils:
         * pdftoppm: Add option to set display profile
         * pdftops: Add a -rasterize option with values always, never, or whenneeded
        build system:
         * Require cmake 3.5
         * More modern cmake way to link against curl

PR:		247736
Exp-run by:	antoine
2020-07-06 06:17:18 +00:00
Tobias C. Berner
99bd3bb02d graphics/poppler: update to 0.89.0
Release 0.89.0:
        core:
         * Add support for ResetForm action. Issue #225
         * Fix crash in PDFDoc::getSignatureFields when there's no Forms at all
         * Fix exporting to PS of some files with CID fonts
         * Use ICC profiles in PS output (if new enough lcms is used)
         * Allow almost-singular tiling pattern matrices. Issue #894
         * Fix memory leak when failing to load some fonts
         * CairoOutputDev: Use stroke opacity when clipping to a stroke path
         * CairoOutputDev: Fix tiling patterns when pattern cell is too far. Issue #190

        glib:
         * Add poppler_movie_get_aspect

        cpp:
         * Add the font infos to the text_box object

Exp-run by:	antoine
PR:		246848
2020-06-02 14:47:29 +00:00
Tobias C. Berner
a3ba8a0170 editors/texworks: prepare for Qt5-5.15 2020-05-18 16:22:53 +00:00
Tobias C. Berner
1c19339682 graphics/poppler: update to 0.88.0
Release 0.88.0:

        core:
         * Support Widget Annotation Buttons not linked to any Form
         * SplashOuputDev: Use stroking opacity when clipping to a stroke path
         * Handle 1 bit RGB images in ICC colorspace
         * Internal code improvements

        qt5:
         * Add Document::signatures. Returns signatures not attached to any page
         * ArthurOutputDev: Fix font hinting
         * ArthurOutputDev: Set the opacity when filling with axial gradients
         * ArthurOutputDev: Implement the clipToStrokePath method
         * ArthurOutputDev: Use stroking opacity when clipping to a stroke path

        glib:
         * Add poppler_page_get_bounding_box
         * Add poppler_form_field_get_alternate_ui_name
         * Implement rotation for 'flagNoRotate' annots. Issue #767

        cpp:
         * Add non_raw_non_physical layout for page::text()

        utils:
         * pdftohtml: Fix noRoundedCoordinates->noroundcoord in man page
         * pdfsig: Show also signatures that aren't attached to any page
2020-05-02 10:00:12 +00:00
Tobias C. Berner
ff3b39857e graphics/poppler: update to 0.87.0
Release 0.87.0:
        core:
         * Fix crashes due to inconsistent vtables for Clang builds
         * Fix leak in broken files
         * Internal code improvements

        qt5:
         * Add option to get form choice for export value
         * ArthurOutputDev: Avoid division by zero in updateLineDash. Issue #695

        glib:
         * Internal code improvements

         utils:
         * pdftohtml: Fix memory leak in HtmlOutputDev::getLinkDest

PR:		245150
Exp-run by:	antoine
2020-04-02 04:41:02 +00:00
Tobias C. Berner
8e124cb8fb Update poppler to 0.86.1
Release 0.86.1:
        core:
         * Fix regression in Browse Link handling
         * Internal code improvements

Release 0.86.0:
        core:
         * Fix link content exfiltration attack
         * Splash: Implement gouraudTriangleShadedFill for some non parametrized shadings. Issue #881
         * Fix case unsensitive search for Old Hungarian, Warang Citi, Medefaidrin and Adlam
         * Internal code improvements

        glib:
         * Automatic handle of page's cropbox on annots. Issue #129
         * Fix memory leak if poppler_document_new_from_file fails
         * Minor speed optimization on poppler_page_get_annot_mapping

         utils:
         * pdfdetach: add 'savefile' option
         * pdftoppm/pdftocairo: Fix more odd/even mismatch

        qt5:
         * Fix loading from iodevice

PR:		244827
Exp-run by:	antoine
2020-03-21 12:57:09 +00:00
Tobias C. Berner
336f10c8b0 Bump revision of poppler dependencies
- poppler was updated in r525051, bump revisions
2020-02-03 19:32:51 +00:00
Tobias C. Berner
90a4ed701a graphics/poppler: update to 0.84.0
Release 0.84.0:
        core:
         * Fix crash when converting from Unicode to ASCII-7
         * Splash::scaleImageYdXu: Protect against crash if srcWidth is too big
         * JBIG2Stream: fix potential crash in malformed documents
         * JBIG2Stream: fix leak in reset() if called several times
         * Internal code improvements

        utils:
         * pdfimages: Add error message if first page is larger then number of pages.
         * pdfinfo: Improved paper size recognition
         * pdfsig: Fix exit code when dumping signatures
         * pdftocairo: Error out when even/odd selects 0 pages
         * pdftohtml: Fix memory leak
         * pdftoppm: Add an option to scale before rotate
         * pdftoppm: Add -hide-annotations option
         * pdftoppm: Error out when even/odd selects 0 pages
         * pdftops: Improve -optimizecolorspace

        qt5:
         * Code cleanups

        glib:
         * Fix compiler warnings

Release 0.83.0
        core:
         * Improve when a file is recognized as Linearized
         * Improve const-ness of the code
         * Make code a bit more readable/maintanable
         * Fix uninitialized memory uses in broken files

        utils:
         * pdffonts: Make code a bit more readable/maintanable
         * pdftohtml: Make code a bit more readable/maintanable

        qt5:
         * Remove a bunch of unused internal functions
         * trUtf8 -> tr (less warnings)

        build system:
         * make-glib-api-docs: switch to python3

PR:		243433
Exp-run by:	antoine
2020-01-22 17:59:22 +00:00
Tobias C. Berner
3ca3ffe455 graphics/poppler: update to 0.82.0
Release 0.82.0:
        core:
         * Fix not being able to open some files. Issue #832
         * Fix crashes in malformed files
         * Fix memory leak on broken files
         * Minor performance improvements
         * Minor code improvements

        glib:
         * Add poppler_document_new_from_bytes
         * PopplerAttachment: Silence deprecation warnings for ctime/mtime

        build system:
         * pdf-inspector: Support builddir != srcdir
         * Install Cairo* headers if Cairo has been found

Thanks to adridg@ for fixing all the fallout.

Exp-run by:	antoine
PR:		241532
Approved by:	gnome (kwm, implicit)
2019-11-01 21:51:36 +00:00
Tobias C. Berner
f4566d704a graphics/poppler: update to 0.81.0
Release 0.81.0:
        core:
         * Splash: Always enable support for CMYK rasterization
         * CairoOutputDev: Check scaled dimensions for 0. Issue #737
         * BaseCryptStream: Fix potential uninitialized memory read
         * SplashBitmap: Fix wrong width condition for splashModeDeviceN8
         * Fix crashes in malformed files

PR:		240781
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-09-29 07:25:04 +00:00
Tobias C. Berner
0ee39c1b52 graphics/poppler: update to 0.80.0
Release 0.80.0:
core:
 * Annotations: Implement support for setting a different text in the appearance stream than the real text
 * Splash: Optionally use small_vector from boost
 * Fix memory leaks on broken files
 * Fix abort on broken files
 * Small code simplifications
 * Remove USE_FIXEDPOINT support. Issue #821

qt5:
 * Fix MSVC build
 * Add subsitute-font information
 * Fix since marker of some functions
 * Fix leak when aborting text extraction
 * Small code simplifications

glib:
 * Make print scaling getter visible
 * Make Duplex/NumCopies/PrintPageRange preference available in API
 * Implement Movie API

utils:
 * pdftotext: Add -nodiag flag to remove diagonal text on output

build system:
 * Mark external lib include dirs as SYSTEM

PR:		240176
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-09-01 20:46:38 +00:00
Tobias C. Berner
a5b210399a graphics/poppler: update to 0.79.0
Release 0.79.0:
        core:
         * Fix regression on TextSelectionPainter
         * Fix parsing of DefaultAppearance
         * Fix memory leak in PostScriptFunction
         * Fix crashes in fuzzed files

        qt5:
         * Implemented support for setIcon by changing appearance
         * Added option to set the form available to print
         * QString::null is deprecated, use QString()
         * Replace deprecated qStableSort with std::stable_sort

        build system:
         * Turn README into README.md and expand it

PR:		239277
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-07-31 21:14:15 +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
Tobias C. Berner
4d160bfcf5 graphics/poppler: update to 0.78.0
Release 0.78.0:
        core:
         * Fix line annotation arrows for usage in dimensioning
         * Handle Ink annots without an InkList but with an AP
         * Fix typos preventing parsing of Movie start and duration
         * Fix crash on malformed files

        glib:
         * Add poppler_document_create_dests_tree()
         * Don't use the deprecated g_type_class_add_private()
         * Document the differences between render() and render_for_printing()
         * Fix introspection for poppler_document_new_from_data
         * Don't create PopplerInputStream with length 0. Issue #414
         * Document G_IO_ERROR as a possible error condition
         * docs: Add index for API new in 0.78

        build system:
         * Fixes cross compilation of gir in Void Linux
         * Add -Wshadow to the default warning flags
         * install pkg-config pc files if pkg-config is found

PR:		238857
Exp-run by:	antoine
Approved by:	gnome (kwm, implicit)
2019-06-29 08:55:17 +00:00
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
Tobias C. Berner
753388101e graphics/poppler: update to 0.76.1
From Changelog at https://poppler.freedesktop.org/releases.html :

Release 0.76.1:
        core:
         * Make the mul tables be calculated at compile time with constexpr.
         * splash: Fix compile with SPLASH_CMYK enabled
         * Some typo fixing in error messages

        qt5:
         * Fix regression in annotation handling

        build system:
         * Fix some typos in build system output and comments

Release 0.76.0:

        core:
         * Fix regression on case-insensitive search. Issue #743
         * Remove GooList, use std::vector instead
         * Fix radiobutton reporting wrong state. Issue #159
         * Handle UTF16-LE strings
         * Don't error out if there's no DA in FreeText annotation
         * cairo: Compute correct coverage values for box filter.
         * cairo: Constrain number of cycles in rescale filter.
         * Read more fields from ViewerPreferences
         * Introduce and use Ref::INVALID
         * Fix crashes in broken files
         * Fix mismatched free/delete
         * Add missing include guards

        utils:
         * pdftohtml: Properly initialize HtmlOutputDev::page to avoid SIGSEGV upon error exit. Issue #742

All the required patches have been obtained via gentoo.

PR:		237846
Exp-run by:	antoine
Approved by:	kwm
2019-05-13 18:33:10 +00:00
Tobias C. Berner
4cc15e71ec graphics/poppler: update to 0.75
Release 0.75.0:
	core:
		* Fix rendering of some annotations
		* Fix crashes in broken files
		* Small internal code improvements

	cpp:
		* Improve documentation
		* tests: Add showing version information to poppler-dump

	utils:
		* pdfattach: new util
		* pdftohtml: add -dataurls parameter
		* pdftoppm: add -sep and -forcenum parameters
		* pdftohtml: make singleHtml and stout not mutually exclusive
		* pdfsig: fix use after free

- bump revisions of dependent ports due to shlib version change

PR:		236791
Exp-run by:	antoine
Approved by:	kwm (gnome)
2019-03-27 21:29:30 +00:00
Mark Linimon
7006624066 Fix build on gcc-based architectures:
The compiler feature "cxx_decltype" is not known to CXX compiler "GNU" version 4.2.1.

Approved by:	portmgr (tier-2 blanket)
2019-03-14 23:50:26 +00:00
Tobias C. Berner
b316a92062 Bump revisions after poppler upgrade.
As reported libreoffice requires a bump in revision, to be on the save
side, bump all the consumers of poppler.

Reported by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
2019-02-11 19:44:51 +00:00
Jan Beich
91ea5c3247 textproc/hunspell: update to 1.7.0
- Drop const optimization as v2 API moved to nuspell

Changes:	https://github.com/hunspell/hunspell/releases/tag/v1.7.0
2019-01-18 21:14:41 +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
Tobias C. Berner
707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00
Alexandre C. Guimarães
ef681eb8d5 editors/texworks: compliance: re-order variables.
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D17577
2018-10-16 15:17:33 +00:00
Alexandre C. Guimarães
a4b80a6ec8 editors/texworks: Update to version 0.6.2.
Texworks is available now as Qt5 only because the upcoming poppler update will not include a Qt4 version.

PR:		200302
Submitted by:	tkato432@yahoo.com (original version)
Reviewed by:	mat (mentor)
Approved by:	tcberner (mentor), hrs (maintainer, timeout)
Differential Revision:	https://reviews.freebsd.org/D17177
2018-10-14 18:28: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
Tobias C. Berner
b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00
Mark Linimon
efc62e6bcd Adjust USES to fix builds on gcc-based architectures.
While here, pet portlint.

Tested for no regression on amd64.

Approved by:	portmgr (tier-2 blanket)
2018-06-18 19:03:03 +00:00
Mark Linimon
0e37259a8a Mark broken on armvX.
Approved by:	portmgr (tier-2 blanket)
2018-03-18 05:09:21 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00