Commit graph

141 commits

Author SHA1 Message Date
Don Lewis
3adea779c6 editors/openoffice*: unbreak build with clang 13+
The include file vigra/memory.hxx from the graphics/vigra port
has this error:
 /usr/local/include/vigra/memory.hxx:43:12: fatal error: 'tr1/memory' file not found
 #  include <tr1/memory>
           ^~~~~~~~~~~~
when compiling with clang 13.0 or newer in -std=gnu++98 mode.

MFH:		2021Q4
2021-12-01 01:53:11 -08:00
Stefan Eßer
04b9da4140 */*: Remove redundant '-*' from CONFLICTS definitions
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-25 22:40:11 +01:00
Baptiste Daroussin
2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00
Don Lewis
35590404fe editors/openoffice-4: Upgrade to version 4.1.11:
- Fix CVE-2021-33035 - Buffer overflow from a crafted DBF file

Release Notes:
  https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.11+Release+Notes

The CVE-2021-40439 - Billion Laughs issue for the FreeBSD port was
fixed some time ago when the textproc/expat2 port was updated.  Unlike
other distributions, the FreeBSD port uses the system expat2 instead
of bundling an old version.

Update MASTER_SITES, the source is not mirrored on the usual Apache
mirror sites.  Prefer the Apache CDN.

Update dependencies, mostly due to math/coinmp refactoring.

Remove some bundled python shared libraries that look less than useful
and link to other dependencies.

MFH:		2021Q4
Security:	04d2cf7f-2942-11ec-b48c-1c1b0d9ea7e6
Differential Revision:	https://reviews.freebsd.org/D32400
2021-10-09 14:53:03 -07:00
Kevin Bowling
da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00
Don Lewis
ad5d8f0484 editors/openoffice-4: Upgrade to 4.1.10
* Fixes CVE 2021-30245

  * Fixes https://bz.apache.org/ooo/show_bug.cgi?id=128439
2021-04-29 20:21:09 -07:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Don Lewis
d4e4c868fc Upgraded enditors/openoffice-4 to version 4.1.9:
* Headless mode: Crash on DOC to PDF conversion
  * Various fixes for non-FreeBSD platforms

Unbreak after gnome-vfs removal
2021-02-09 07:12:47 +00:00
Baptiste Daroussin
7d5aafb64f Remove dependency on deprecated gnome2 libraries:
gnomevfs and gconf
2021-02-06 19:45:40 +00:00
Don Lewis
ca33ce6532 Upgrade editors/openoffice-4 to version 4.1.8.
Fix bugs in LICENSE_FILE extraction.

Don't pass LD_FLAGS to the inner make.  It can cause problems.

Many of our local patches have been upstreamed.
2020-11-09 09:23:56 +00:00
Baptiste Daroussin
50965e7909 Remove the MMEDIA option
openoffice depends on the expired gstreamer 0.10 for multimedia support,
gstreamer 0.10 is about to be removed from the ports tree, let's remove the
option in preparation for that
2020-11-08 19:35:20 +00:00
Sunpoet Po-Chuan Hsieh
3f66b8f906 Fix build with bison 3.6.2 2020-05-25 18:25:19 +00:00
Don Lewis
183faeb510 Switch from system python2 to bundled python. 2020-05-18 17:30:25 +00:00
Tijl Coosemans
7d4723292c Update devel/gmake to 4.3.
Some changes have been made in this release that break backwards
compatibility.  Let USES=gmake force users to upgrade to this version so
port maintainers don't have to support older versions.

PR:		245725
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2020-05-09 19:24:49 +00:00
Mathieu Arnold
b2dcd7927c Ports MUST NOT set WITH_DEBUG.
WITH_DEBUG is a user facing variable.  When a user wants to build a port
with debugging symbols enabled, they either set WITH_DEBUG globally, or
WITH_DEBUG_PORTS+=category/port.

Approved by:	bapt
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D23940
2020-03-03 12:56:15 +00:00
Alex Dupre
948a28f6b6 Rename my jakarta- ports to apache- 2019-12-30 09:15:29 +00:00
Jan Beich
701aa3bcf8 devel/boost-*: update to 1.72.0
Changes:	http://www.boost.org/users/history/version_1_72_0.html
PR:		241449
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D22136
2019-12-11 17:53:48 +00:00
Don Lewis
12e233de82 Attempt to fix gcc builds on powerpc, that were broken by a boost upgrade.
Clang builds using -std=gnu++98 can use the STL headers in
/usr/include/c++/v1, but recent versions of the gcc headers forbid this.
As a fallback, OpenOffice tries to use the TR1 headers supplied by boost,
but recent versions of boost no longer have those headers.  In theory
the gcc TR1 headers should work, but I was not able to make those work.
Solve this problem by doing gcc builds using the "bundled" version of
boost which is much older rather that boost from ports.

Patch the "bundled" boost to fix the compiler feature detection logic
to get rid of a bunch of compiler warnings.

The headers in the ports version of vigra has some C++11 stuff that
gcc also complains about, so use the "bundled" version of vigra for
gcc builds as well.

The icu patch may only be needed for non-default values of LOCALBASE.

Comment out an unused method in basebmp/inc/basebmp/packedpixeliterator.hxx
that contains some broken code that causes gcc to error out.

Add a missing include to l10ntools/source/inireader.cxx to resolve
a compile error.

Add a missing include to scripting/source/protocolhandler/scripthandler.cxx
to resolve a compile error.

No PORTREVISION bump since amd64 and i386 builds should be unchanged.

Tested by:	Curtis Hamilton clhamilto AT gmail.com
2019-12-08 22:49:11 +00:00
Jung-uk Kim
5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00
Pedro F. Giffuni
9912bf7f40 editors/openoffice-4: bump revision.
This port was frogotten from r513899.

Reported by:	truckman
Approved by:	thierry (mentor)(implicit)
2019-10-07 11:09:48 +00:00
Antoine Brodin
76f5d68d90 Fix dependencies 2019-10-06 21:33:41 +00:00
Don Lewis
aa4b132ed3 Upgrade editors/openoffice-4 to 4.1.7.
The build wants to include the git hash value in the build artifact
for display on the Help -> About popup, but it can't determine that
when building from a source tarball, as opposed to a git checkout.
Patch around that until upstream implements a way to include this
info into the tarball and pick it up from there.

Add xorg to USES for correctness.

patch-i127929 has been committed upstream.
2019-09-20 16:56:36 +00:00
Jan Beich
befa71e0f3 devel/boost-*: update to 1.71.0
Changes:	http://www.boost.org/users/history/version_1_71_0.html
PR:		238827
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D20774
2019-08-19 15:35:27 +00:00
Mathieu Arnold
79698c8457 Convert to UCL & cleanup pkg-message (categories e-g) 2019-08-13 16:03:11 +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
Jan Beich
9b21a3a084 devel/boost-*: update to 1.70.0
Changes:	http://www.boost.org/users/history/version_1_70_0.html
PR:		235956
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D19303
2019-04-12 06:36:31 +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
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
Jan Beich
7c879267dc devel/boost-*: update to 1.69.0
Changes:	http://www.boost.org/users/history/version_1_69_0.html
PR:		232525
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17645
2018-12-12 00:15:49 +00:00
Antoine Brodin
c06409c76b Spell CHOSEN_COMPILER_TYPE correctly
PR:		199098
With hat:	portmgr
2018-12-11 10:10:02 +00:00
Don Lewis
cad6fef0d4 Fix for crash in Freetype code. Check the return value of the
FT_Get_Glyph() function.  See
https://bz.apache.org/ooo/show_bug.cgi?id=127929 [1]

Ensure that unowinreg.dll is included in DISTFILES when running the
makesum and distclean targets.

PR:		233404 [1]
Obtained from:	upstream [1]
MFH:		2018Q4
2018-11-23 19:26:37 +00:00
Don Lewis
ccb82ee972 Get unoregwin.dll back into distinfo. It seems that something has changed
in the ports framework such that "make makesum" drops optional distfiles
from distinfo if the option to use that distfile is not enabled.

Reported by:	brian mckeon <brianjwb AT gmail.com>
MFH:		2018Q4
2018-11-21 07:10:11 +00:00
Don Lewis
2a32f7ad3b Upgrade editors/openoffice-4 to version 4.1.6:
* Fixed bugs which caused improper handling (crashes) when using
    Microsoft Drawing Binary File format

  * Fix a loop that visits all objects on a page so that all objects get
    visited

  * Updated logos

Release notes: https://s.apache.org/AOO-416releasenotes

Pet portlint (add missing USES= entries).

MFH:		2018Q4
2018-11-18 22:08:20 +00:00
Don Lewis
a8a746de0d editors/openoffice-4, editors/openoffice-devel:
Fix build with OpenSSL 1.1.x

	Pet portlint (USES block location)

PR:		232265
Reported by:	pkg-fallout
2018-10-15 17:27:41 +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
Don Lewis
786af9e75a Explicitly depend on python2 since the OpenOffice pyuno module fails
to build with python3.  No PORTREVISION bump since this does not change
the package.

PR:		229408
Submitted by:	Curtis Villamizar <curtis@ipv6.occnc.com>
2018-08-17 21:44:28 +00:00
Jan Beich
0b055d47f2 devel/boost-*: update to 1.68.0
- Switch to C++14 for libboost_system to support C++14 consumers

Changes:	http://www.boost.org/users/history/version_1_68_0.html
PR:		229569
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D16165
2018-08-09 06:58:30 +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
Don Lewis
32aa25d3bc Instead of symlinking the directory containing the OpenOffice .desktop
files under $PREFIX/share/applications, symlink the individual .desktop
files.  This is what upstream does on Linux and what LibreOffice does
as well.  The Plasma 5 desktop ignores symlinks to directories when it
is scanning for .desktop files.

PR:		228030
Reported by:	kan@FreeBSD.org
2018-06-12 03:55:02 +00:00
Don Lewis
efbdfc3f12 Fix editors/openoffice-4 build with boost 1.67 by checking the boost
version and including <boost/next_prior.hpp> instead of
<boost/utility.hpp> when the new version of boost is detected.

PR:		227553
Reported by:	jbeich
2018-04-18 21:06:00 +00:00
Jan Beich
cc95712fbe devel/boost-*: update to 1.67.0
Changes:	http://www.boost.org/users/history/version_1_67_0.html
PR:		227427
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15030
2018-04-18 13:57:42 +00:00
Bernard Spil
abd6f84396 devel/apr1: Bump portrevision
- Repair my rookie mistake of earlier today
 - Bump revision of dependent ports (again)

Reported by:	antoine
2018-03-21 21:24:43 +00:00
Bernard Spil
636881f4c2 devel/apr1: Fix runtime issues of dependent port
- iconv is in base in all supported FreeBSD versions
 - Fix build with MariaDB 10.2 [2]
 - Bump portrevision in dependencies

PR:		226705 [1], 226026 [2]
With hat:	apache
Approved by:	joneum (apache)
2018-03-21 19:50:35 +00:00
Don Lewis
1dbd75825c Set WITH_DEBUG if the CRASHDUMP option is set rather than bailing
out if CRASHDUMP is selected and WITH_DEBUG is not set.

Suggested by:	jbeich
2018-01-28 04:16:23 +00:00
Don Lewis
db161a2654 Don't enable crashdumps by default. This build knob causes the build
to be done with debug symbols, which greatly increase the size of the
build, but this is all in vain because the executables and libraries
are subsequently stripped.

Build with debug symbols if WITH_DEBUG is set.

Build with -fstack-protector.

Only fetch unowinreg.dll when building the SDK.

Add three new options:

  CRASHDUMP - Enable crashdumps, requires WITH_DEBUG

  DBGUTIL   - Enable assertions, object counting, and other
              non-production runtime debugging.

  DEBUG     - Compile with -O0 for better debugability.  The ports
              framework also sets WITH_DEBUG.

Fold a couple long lines in the Makefile.
2018-01-26 18:33:08 +00:00
Alex Kozlov
7fa9c70193 - Update name of autoreconf WRKSRC variable in comment
- Fix a few ports with invalid USES autoreconf arguments
- Add check for invalid USES autoreconf arguments

Differential Revision:	https://reviews.freebsd.org/D14004
Approved by:	tijl (autotools maintainer), portmgr (mat)
2018-01-24 09:41:04 +00:00
Don Lewis
5d34385aa7 Remove the CCACHE option and other ccache code from the Makefile
and use the ccache code in the ports framework handle all of the
details.

Don't prepend ${WRKSRC}/solenv/bin to PATH in CONFIGURE_ENV since
it is no longer needed and blocks the framework from adding
CCACHE_WRAPPER_PATH to PATH in CONFIGURE_ENV and MAKE_ENV.

Sanitize MAKE_ENV and export its to the build, similar to what is
done by the default do-build target.  This passes CCACHE_DIR and
HOME (set to WRKDIR) to the build, so the $HOME override in r459316
is no longer needed.  We need to remove the CPPFLAGS setting from
MAKE_ENV before exporting to the build because it breaks the build
of the bundled icu module.  CFLAGS and CXXFLAGS are also removed
because they would interfere with the carefully constructed compiler
flags set by the port.  The include paths are already handled by
the port, and the port also modifies the optmization flags for some
files to work around compiler bugs.

While here, remove files/ooo.sh files/generate.pl since they have
been obsolete for a long while.

No PORTREVISION bump since the package should be unchanged.

PR:		224276
2018-01-19 19:40:46 +00:00
Don Lewis
b547c0edb5 Remove some leftovers from an earlier version of the $HOME fix. 2018-01-18 09:43:38 +00:00
Don Lewis
eb06125319 Fix editors/openoffice-4 build with clang 6.0.0 by compiling with
-std=gnu++98 since that was the default for the compilers historically
used for the build.  It turns out that -std=c++98 does not work
because the vigra headers depend on LLONG_MAX and friends, which
are not defined without the GNU extensions.

Compensate for a recent poudriere change by overriding $HOME and
setting it to /tmp if $HOME is not writeable.  Some of the test
code run during the build wants to use mkstemp() to create temporary
directories under $HOME, which does not work for the "nobody" user
which points $HOME at /nonexistent.

No PORTREVISION bump since this is a build fix and there is no
change to the package.

PR:		225129
Reported by:	jbeich
2018-01-18 07:31:31 +00:00