Commit graph

126 commits

Author SHA1 Message Date
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
Jan Beich
25beeff079 devel/boost-*: update to 1.66.0
Changes:	http://www.boost.org/users/history/version_1_66_0.html
PR:		223922
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D13279
2018-01-18 04:11:02 +00:00
Don Lewis
0830d4503b Upgrade to Apache OpenOffice 4.1.5.
The following bugs are fixed:
    BZ 127568 Diagrams become corrupt (not retrievable) when Calc document
	      is saved

    BZ 127580 Fix for Issue 127568 created a new bug in Base

    BZ 127581 Writer crashes after copying all content
2017-12-31 00:00:06 +00:00
Don Lewis
c1527a09a5 Fix the table wizard in openoffice-base on FreeBSD 10 amd64. One of the
source files triggers a bug in the clang 3.4 code optimizer.

MFH:	2017Q4
2017-11-27 07:28:35 +00:00
Don Lewis
dedad37c84 Upgrade to Apache OpenOffice 4.1.4:
* Several updates for language dictionaries

    * Some translation fixes in the UI

    * Bug fixes

    * Security improvements

    * Updated graphics/logos (new Apache feather)

    * Enhancements to the build tools (for developers)

Clarify LICENSE entries, change MPL to MPL10 and MPL11 since code with
both of these licenses is bundled.

Make the java/jakarta-commons-httpclient dependency conditional
on the WIKI_PUBLISHER option.

The java/jakarta-commons-lang dependency should also be a RUN_DEPENDS.

Add CONFLICTS_INSTALL.

Move --with-ant-home and -with-jdk-home to Makefile from Makefile.knobs.

Portlint fixes: USES/USE, ONLY_FOR_ARCHES ordering.

MFH:		2017Q4
2017-10-20 16:02:12 +00:00
Jan Beich
98eb11b2f0 devel/boost-*: update to 1.65.1
Changes:	http://www.boost.org/users/history/version_1_65_1.html
PR:		218835
Approved by:	maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month)
Tested by:	jhibbits (on powerpc64, earlier version)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:08:16 +00:00
Jan Beich
7e21a6476a devel/boost-*: enable C++11 features
PR:		218835
Obtained from:	https://github.com/DragonFlyBSD/DeltaPorts/pull/690
Approved by:	maintainer timeout (2 months)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:05:05 +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
Don Lewis
5fa838568e Include <complex> instead of the obsolete <boost/tr1/complex.hpp>. The
upcoming boost 1.65 upgrade removes support for tr1.

Sort ONLY_FOR_ARCHS to pacify portlint.

No PORTREVISION bump since the code does not appear to change.

PR:		220723
2017-07-22 03:50:12 +00:00
Dmitry Marakasov
474069a465 - Update WWW
Approved by:	portmgr blanket
2017-07-14 17:20:34 +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
Jan Beich
b324ade02d devel/boost-*: update to 1.64.0
Changes:	http://www.boost.org/users/history/version_1_64_0.html
PR:		218835
Approved by:	office (bapt)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D10472
2017-05-02 06:48:10 +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
Don Lewis
95150ce111 On amd64, clang++ 4.0 uses the MOVAPS SSE instruction to initialize
sufficiently large objects returned by the "new" operator.  This
requires that the object have 16-byte alignment.  The FreeBSD
malloc() implementation does the correct thing here, but OpenOffice
has a couple of internal memory allocator implementations that only
align to 8-byte boundaries at most.  In addition OpenOffice overrides
the new operator to interpose a couple of layers of wrappers.  If
the --enable-debug option is passed to configure, the wrapper adds
8 to the size passed to the allocator and adds an 8 byte offset to
the pointer returned by the allocator to make room for a signature
that it adds to the beginning of the memory block (the signature
is validated and the inverse transformation is done when the memory
is freed).  This breaks the proper alignment done by the mamory
allocator.  Fix these problems by adding an EXTRA_PATCH that teaches
the internal OpenOffice memory allocators to do 16-byte alignment
and to use a 16-byte offset in the "new" wrapper, and apply this
patch on amd64 if clang 4.0 is the system compiler.
Pass the --with-alloc=system flag to configure so that the libc
version of malloc() is used instead of one of the internal memory
allocator implementations.

Fix a few mis-sorts in BUILD_DEPENDS and don't list www/p5-libwww
twice.

Fix a compile error in the bridges code when --enable-debug is
specified.

Fix a sporadic failure in the clear_001 QA test that occasionally
breaks the build.  The nominal mutex hold time is 5 seconds, but
because it is only checked one per second, the actual time is more
likely to be around 6 seconds.  When the before time value is
subtracted from the after time value, the result might be 7 whole
seconds and a large negative number of nanoseconds.  Since the
pass/fail check only looks at the difference in the seconds fields,
it will fail the "< 7" assertion.  Relax the assertion to "<= 7"
as a quick fix.

The editors/openoffice-4 port does not need poppler.  It is only
needed for the PDF import extension, which is not built in OpenOffice
4.1.x.

Cherrypick some cleanups from PR 216245 [1]:
 * The --without-stlport configure flag is not needed.

 * Pass the -with-build-version flag to configure (but use ${PKGNAME}
   for completeness instead of just  ${PORTNAME}-${PORTVERSION})

 * Tweak a comment in the Makefile.

PR:		216245
Submitted by:	pfg [1]
2017-01-31 03:42:07 +00:00
Don Lewis
1d63bf6a23 Clean up the logic for setting FREEBSD_ENV_SET.
Make a guess at the proper value of PACKAGE_MIDDLE for powerpc64 (needed
for solver and language packs).

A fixup for language packs on powerpc64 that was missed in the previous
commit.
2017-01-24 06:30:15 +00:00
Don Lewis
c4c86b054c Add PowerPC64 support. [1]
Add a section to pkg-message mentioning that spell check dictionaries
for the desired languages should be installed.  [2]

PR:		215130, 212103
Submitted by:	Curtis Hamilton <hamiltcl@verizon.net> [1]
Submitted by:	Arrigo Marchiori <ardovm AT yahoo.it> [2]
2017-01-24 02:09:10 +00:00