Commit graph

5301 commits

Author SHA1 Message Date
Greg Lewis
fbeb951105 java/openjdk11: Update to 11.0.20 2023-07-22 23:57:35 -07:00
Greg Lewis
7f655e725d java/openjdk8: Update to 8u382 2023-07-22 23:56:37 -07:00
Mikael Urankar
cdf28617b4 lang/rust: Bump revisions after 1.71.0
PR:		272449
2023-07-17 17:58:38 +02:00
Michael Zhilin
fc5a2b197e java/eclipse-pydev: update to 10.2.1
Changelog: https://www.pydev.org/history_pydev.html#release-10-2-1-2023-07-02
2023-07-03 23:53:12 +03:00
Rene Ladan
3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00
Muhammad Moinur Rahman
436f58ed00 java/jikes: Fix build with llvm16
- Pet portclippy

Sponsored by:	The FreeBSD Foundation
2023-06-25 20:09:47 +02:00
Muhammad Moinur Rahman
3a8cd0d0c8 java/openjfx14: Fix build with llvm16
Sponsored by:	The FreeBSD Foundation
2023-06-25 20:09:46 +02:00
Alex Dupre
af73c93c3a java/apache-commons-codec: update to 1.16.0 release 2023-06-23 10:48:41 +02:00
Muhammad Moinur Rahman
f2734cc7f4 java/netty: Fix buils with llvm15
- OPTOINIZE DOCS install

Approved by:	portmgr (blanket)
2023-06-12 21:45:17 +02:00
Mikael Urankar
e1d1045bc7 lang/rust: Bump revisions after 1.70.0
PR:		271797
2023-06-09 13:38:16 +02:00
Greg Lewis
261cada65b java/openjdk17: Update to 17.0.7 2023-04-29 10:28:30 -07:00
Greg Lewis
3cbb3b9302 java/openjdk11: Update to 11.0.19 2023-04-29 10:27:57 -07:00
Dimitry Andric
6c7525282e java/openjdk8: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because java/openjdk8's build infrastructure does not explicitly set its
C++ standard, this leads to several errors:

  /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1/hotspot/src/share/vm/adlc/arena.cpp:82:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register Chunk *k = _first;
    ^~~~~~~~~
  /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1/hotspot/src/share/vm/adlc/arena.cpp:96:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register Chunk *k = _chunk;   // Get filled-up chunk address
    ^~~~~~~~~
  2 errors generated.
  /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1/hotspot/src/share/vm/adlc/adlparse.cpp:4567:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register char c;
    ^~~~~~~~~
  /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1/hotspot/src/share/vm/adlc/adlparse.cpp:4765:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register char c;
    ^~~~~~~~~

For newer versions of OpenJDK this has been fixed by removing the
'register' keyword, but upstream has not yet backported it to OpenJDK 8.
To work around the errors, define the register keyword away using a
command line flag.

PR:		271080
Approved by:	glewis (maintainer)
MFH:		2023Q2
2023-04-29 10:45:36 +02:00
Greg Lewis
a17847a234 java/openjdk8: Update to 8u372 2023-04-29 00:11:41 -07:00
Daniel Engberg
f7accb23bf */*: Bump all users of multimedia/ffmpeg*
...to make sure all picks up new version(s)
2023-04-27 14:01:46 +02:00
Daniel Engberg
1c4a5a439b java/openjfx14: Move to FFmpeg 4
Fails to build with FFmpeg 6

PR:		261302
Reported by:	antoine (via exp-run)
Approved by:	portmgr (blanket, build fix)
Sponsored by:	Blinkinblox
2023-04-27 14:01:42 +02:00
Christian Weisgerber
feb1fa34f5 audio/opus: bump consumers after update to 1.4 2023-04-25 17:17:15 +02:00
Mikael Urankar
3db55c4e97 lang/rust: Bump revisions after 1.69.0
PR:		270953
2023-04-23 15:14:05 +02:00
Koop Mast
eee74bf9b0 java/netbeans: Update to 17.
Changelog: https://github.com/apache/netbeans/releases/tag/17
2023-04-23 14:16:47 +02:00
Gerald Pfeifer
8d3e020ed0 *: Bump PORTREVISIONs for math/mpc update to 1.3.1 2023-04-23 09:09:58 +00:00
Koichiro Iwao
cef7c27c03 java/eclipse: return to pool as per maintainer's request
PR:		270885
2023-04-18 10:55:17 +09:00
Greg Lewis
f1d77a965b java/openjdk17: Fix use of printf (causes build failures for poudriere)
PR:             267690
Obtained from:  Michael Osipov <michael.osipov@siemens.com>
2023-04-16 15:48:44 -07:00
Greg Lewis
4e9379877c java/openjdk11: Fix use of printf (causes build failures for poudriere)
PR:             267690
Obtained from:  Michael Osipov <michael.osipov@siemens.com>
2023-04-16 15:48:44 -07:00
Greg Lewis
03c1303690 java/openjdk8: Fix use of printf (causes build failures for poudriere)
PR:             267690
Obtained from:  Michael Osipov <michael.osipov@siemens.com>
2023-04-16 15:48:44 -07:00
Eugene Grosbein
3f3975ef8c
java/openjdk11: add new CUPS port option
UniFi controller is headless Java application that requires
OpenJDK that depends on full CUPS port. In fact, the latter originally
required cups-client port only that was later removed and merged
to full cups port, so openjdk11 now requires full CUPS.

However, OpenJDK really needs only some header files out of CUPS distribution
and officially supports building --with-cups-include instead of --with-cups.

This change introduces new CUPS port option to java/openjdk11
that defaults to ON to preserve current behaviour.
With CUPS option turned OFF it skips build dependency on full cups:
instead, it downloads and extracts its distfile and
builds --with-cups-include pointing to extracted cups distfile.

Default build not affected, so PORTREVISION not changed.

PR:		264792
Approved by:	java (maintainer timeout, over 7 months)
2023-04-15 11:27:37 +07:00
Jan Beich
f1f1a8be88 devel/icu: update to 73.1
- Temporarily switch to GitHub auto archive (release artifacts are N/A atm)

Changes:	https://github.com/unicode-org/icu/releases/tag/release-73-1
Reported by:	GitHub (watch releases)
PR:		270422
Exp-run by:	antoine
2023-04-13 00:56:37 +00:00
Muhammad Moinur Rahman
2c2dd85355 */*: Adopt ports from swills@ 2023-04-11 15:46:12 -05:00
Rene Ladan
4f538db960 all: return swills' ports to the pools after safeeping his ports bit.
With hat:	portmgr-secretary
2023-04-11 22:34:04 +02:00
Muhammad Moinur Rahman
4cda17ab14 */*: Refactor java/openjdk7 removal
- java/openjdk7* has been removed from the tree since 2022-09-03 however
  the relevant codebases in bsd.java.mk has not been removed and the
  consumers has also not been updated to use the next jdk version. This
  commit updates all relevant consumers to use JAVA_VERSION=8 instead of
  JAVA_VERSION=1.7
- Since the introduction of jdk version 18 it looks like similar with
  jdk version 8(java version string 1.8). This is prone to error as it
  looks similar and is only seperated by a '.'. Remove using
  JAVA_VERSION with dotted fomat of java version string and update all
  consumers to utilize version 8 instead of 1.8.

Approved by:	portmgr (blanket)
2023-04-04 13:10:53 -05:00
Mikael Urankar
ebf29acc6c lang/rust: Bump revisions after 1.68.0
PR:		270080
2023-03-16 12:11:52 +01:00
Tobias C. Berner
fa81a4f5f8 accessibility/at-spi2-core: update to 2.46.0
What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the address
  not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

- accessibility/atk and accessibility/at-spi2-atk have been merged into
  accessibility/at-spi2-core

- accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk

PR:		269704
Exp-run by:	antoine
---
2023-03-02 06:23:10 +01:00
Piotr Kubaj
27753529c1 java/openjdk8: commit forgotten patch
Reported by:	mikael
2023-02-20 14:44:06 +01:00
Piotr Kubaj
7c57122016 java/openjdk8: fix build on powerpc64* with clang 15
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1/hotspot/agent/src/os/bsd/symtab.c:266:14: warning: call to undeclared function 'find_section_by_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  opd_sect = find_section_by_name(".opd", fd, &ehdr, scn_cache);
             ^
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1/hotspot/agent/src/os/bsd/symtab.c:266:12: error: incompatible integer to pointer conversion assigning to 'struct elf_section *' from 'int' [-Wint-conversion]
  opd_sect = find_section_by_name(".opd", fd, &ehdr, scn_cache);
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bump PORTREVISION because the issue actually existed with previous clang versions, but didn't cause an error.
find_section_by_name() is copied from Linux's symtab.c.
2023-02-19 23:28:58 +01:00
Mikael Urankar
607ecddd93 java/openjfx14: Drop maintainership 2023-02-14 17:17:18 +01:00
Mikael Urankar
17ec21b2ab java/openjfx14: unbreak build with LLVM15
Pass -Wno-int-conversion to CFLAGS fixes error with strict conversion rules introduced in LLVM15

/wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.graphics/src/main/native-font/pango.c:245:73: error: incompatible integer to pointer conversion passing 'jlong' (aka 'long long') to parameter of type 'void *' [-Wint-conversion]
                rc = (jboolean)((jboolean (*)(void *, const char *))fp)(arg0, text);
                                                                        ^~~~
2023-02-14 17:17:18 +01:00
Mikael Urankar
109e35fd59 lang/rust: Bump revisions after 1.67.1
PR:		269336
2023-02-13 15:52:59 +01:00
Greg Lewis
fd7028d749 java/openjdk19: Fix the build on aarch64
* Apply a similar patch as was applied to java/openjdk17
2023-02-11 11:08:28 -08:00
Michael Zhilin
9de5a66b4e java/eclipse-pydev: update to 10.1.3
Changelog: https://www.pydev.org/history_pydev.html#release-10-1-3-2023-01-23
2023-02-04 10:16:19 +03:00
Greg Lewis
5d7631b456 java/openjdk18: Fix the build on aarch64
* Apply a similar patch as was applied to java/openjdk17
* Remove a patch which has been upstreamed
2023-02-01 20:49:05 -08:00
Greg Lewis
8c49e908cf java/openjdk19: Fix the build on x86 2023-01-25 22:51:23 -08:00
Greg Lewis
357fe86fdd java/openjdk19: Fix the build on x86 2023-01-24 17:43:44 -08:00
Greg Lewis
b39d592147 java/openjdk17: Fix the build on some aarch64 machines
* Disable CompressedClassPointers on aarch64.  This fixes the build
  on some aarch64 machines where it previously failed, e.g. RPI4,
  and doesn't seem to affect the build on others (AWS aarch64 hardware).

This is based on and uses a patch initially created by ronald@

PR:		260187
Tested by:	ronald@
2023-01-23 21:19:21 -08:00
Greg Lewis
e9904dbfcd java/openjdk19: Update to 19.0.2 2023-01-22 23:04:28 -08:00
Greg Lewis
15284be7b3 java/openjdk17: Update to 17.0.6 2023-01-22 22:06:15 -08:00
Greg Lewis
cb5f8daf22 java/openjdk11: Update to 11.0.18 2023-01-22 21:36:55 -08:00
Greg Lewis
abec68416a java/openjdk8: Update to 8u362 2023-01-22 17:07:41 -08:00
Dimitry Andric
55820d3f16 java/eclipse: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
java/eclipse failed to build with clang 15:

  [INFO]      [exec] Building GTK3 bindings:
  [INFO]      [exec] gmake[1]: Entering directory '/wrkdirs/usr/ports/java/eclipse/work/eclipse.platform.releng.aggregator-R4_24/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/tmpdir'
  ...
  [INFO]      [exec] cc -O -Wall -fPIC -DSWT_VERSION=4952r11    -DFREEBSD -DGTK -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk11/include -I/usr/local/openjdk11/include/freebsd -DJNI64 -m64 -Werror `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -c os.c
  [INFO]      [exec] os.c:10086:31: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
  [INFO]      [exec]         rc = (jint)((jint (*)())arg0)(arg1, arg2, arg3);
  [INFO]      [exec]                                      ^
  [INFO]      [exec] os.c:10098:31: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
  [INFO]      [exec]         rc = (jint)((jint (*)())arg0)(arg1, arg2);
  [INFO]      [exec]                                      ^
  [INFO]      [exec] os.c:10704:33: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
  [INFO]      [exec]         rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4);
  [INFO]      [exec]                                        ^
  [INFO]      [exec] os.c:10716:33: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
  [INFO]      [exec]         rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4, arg5, arg6);
  [INFO]      [exec]                                        ^
  [INFO]      [exec] os.c:10728:33: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
  [INFO]      [exec]         rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
  [INFO]      [exec]                                        ^

These -Werror warnings are in code generated by JNIGenerator, so they
cannot directly be fixed (at least not without hacking on JNIGenerator
itself).

Instead we need to add -Wno-deprecated-non-prototype for clang 15 and
higher. To achieve this, we have to pass CFLAGS to MAVEN_ENV, and adjust
the gtk build.sh script to respect the CFLAGS setting in the
environment.

PR:		269034
Approved by:	jonc@chen.org.nz (maintainer)
MFH:		2023Q1
2023-01-22 19:58:23 +01:00
Muhammad Moinur Rahman
2d00178fd4 */*: Fix some ports conversion from USE_RUBY to USES=ruby
In my previous commit 18c6e18 I missed some ports where RUBY was
optional. This commit fixes those missing ports and fixes INDEX build.

Approved by:	portmgr
Fixes: 18c6e18 Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
2023-01-14 20:45:23 -06:00
Muhammad Moinur Rahman
18c6e18276 Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk

Notable changes are.

- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
  USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.

This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863

I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.

Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D37925
2023-01-14 17:08:33 -06:00
Michael Zhilin
3646ce8465 java/eclipse-pydev: update to 10.1.1
Changelog: https://www.pydev.org/history_pydev.html#release-10-1-1-2023-01-09
2023-01-10 10:54:22 +03:00