Commit graph

15 commits

Author SHA1 Message Date
Jan Beich
4bbb4133b2 devel/icu: update to 65.1
Changes:	http://site.icu-project.org/download/65
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
2019-10-03 20:35:29 +00:00
Max Brazhnikov
d5a70bcc44 java/openjfx8-devel:
- Switch from x11-toolkits/swt-devel to x11-toolkits/swt, which is newer
  than -devel variant.

PR:		219186
Approved by:	maintainer (tobik)
2019-10-01 09:18:28 +00:00
Tobias Kortkamp
0455f383ae java/openjfx8-devel: Update to 8u202-b07
- Also update devel/gradle to the latest version on the 4.x branch.
  Gradle >=4.8<5 is required to build OpenJFX now.
- GStreamer-lite is now based on GStreamer 1.0, so update the sndio
  backend accordingly.
- Add a bunch of missing platform checks which will make it
  actually use system fonts as configured.

OpenJFX 8 is unmaintained upstream and has been for a while [1].
Deprecate the port as noone seems to have stepped up to take over
maintainership.  No expiration date since this port has multiple
consumers and there is no alternative.

[1] https://mail.openjdk.java.net/pipermail/openjfx-dev/2018-December/023007.html

PR:		237443
2019-07-23 05:34:21 +00:00
Jan Beich
07e038e429 www/webkit2-gtk3, java/openjfx8-devel: unbreak with libc++ 7
In file included from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
In file included from Source/JavaScriptCore/bytecode/ArrayProfile.h:29:
In file included from Source/JavaScriptCore/runtime/Structure.h:28:
In file included from Source/JavaScriptCore/runtime/ClassInfo.h:25:
In file included from Source/JavaScriptCore/interpreter/CallFrame.h:30:
In file included from Source/JavaScriptCore/runtime/VM.h:40:
In file included from Source/JavaScriptCore/runtime/FunctionHasExecutedCache.h:28:
In file included from /usr/include/c++/v1/unordered_map:385:
In file included from /usr/include/c++/v1/__node_handle:16:
/usr/include/c++/v1/optional:171:29: error: redefinition of 'bad_optional_access'
class _LIBCPP_EXCEPTION_ABI bad_optional_access
                            ^
DerivedSources/ForwardingHeaders/wtf/Optional.h:295:7: note: previous definition is here
class bad_optional_access : public std::logic_error {
      ^

PR:		230464 230600
Submitted by:	dim
2018-08-22 19:38:08 +00:00
Tobias Kortkamp
f95f2ae918 java/openjfx8-devel: Update to 8u172-b11 2018-04-21 18:51:13 +00:00
Tobias Kortkamp
f09c06cf38 java/openjfx8-devel: Update to 8u172-b03
Make SWT support optional and disable it by default.  swt-devel is
unmaintained, quite the heavy dependency, and SWT support is not used
by any port in the tree.
2018-02-01 15:17:06 +00:00
Tobias Kortkamp
a225df30e4 Make sure that java/openjfx8-devel can load libavcodec.so.57 and
unlock support for more media formats.
2017-10-04 12:28:42 +00:00
Tobias Kortkamp
c7e43fec34 java/openjfx8-devel: Update to 8u172-b00
- Move to the regular OpenJFX 8 repository [1], add all *BSD specific
  patches to the port, and stop using the repository at [2].  This
  should make port contributions and updates a lot easier going forward.
- Bump PORTEPOCH and start using version numbers based on the tags from [1]
- Prepare the port for supporting multiple audio backend options
- Fix PREFIX/LOCALBASE confusion and get all Java dependencies from LOCALBASE
  and not from PREFIX
- Respect CC and CXX during the WebKit build.  Clang in FreeBSD 10.3
  segfaults while building it now, so make sure we use Clang from
  devel/llvm40 via compiler:c++14-lang instead.

[1] http://hg.openjdk.java.net/openjfx/8u/rt/
[2] https://bitbucket.org/tobik/openjfx-rt
2017-10-03 21:24:58 +00:00
Tobias Kortkamp
225bf1ceda java/openjfx8-devel: Unbreak build with ICU 59.1
modules/web/src/main/native/Source/JavaScriptCore/API/JSStringRef.cpp:40:13: error: no matching function for call to 'create'
    return &OpaqueJSString::create(chars, numChars).leakRef();
            ^~~~~~~~~~~~~~~~~~~~~~
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:48:32: note: candidate function not viable: no known conversion from 'const JSChar *' (aka 'const unsigned short *') to 'const LChar *' (aka 'const unsigned char *') for 1st argument
    static Ref<OpaqueJSString> create(const LChar* characters, unsigned length)
                               ^
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:53:32: note: candidate function not viable: no known conversion from 'const JSChar *' (aka 'const unsigned short *') to 'const UChar *' (aka 'const char16_t *') for 1st argument
    static Ref<OpaqueJSString> create(const UChar* characters, unsigned length)
                               ^
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:43:32: note: candidate function not viable: requires 0 arguments, but 2 were provided
    static Ref<OpaqueJSString> create()
                               ^
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:58:53: note: candidate function not viable: requires 1 argument, but 2 were provided
    JS_EXPORT_PRIVATE static RefPtr<OpaqueJSString> create(const String&);
                                                    ^
modules/web/src/main/native/Source/JavaScriptCore/API/JSStringRef.cpp:65:35: error: no matching function for call to 'createWithoutCopying'
    return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars)).leakRef();
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modules/web/src/main/native/Source/WTF/wtf/text/StringImpl.h:385:50: note: candidate function not viable: no known conversion from 'const JSChar *' (aka 'const unsigned short *') to 'const UChar *' (aka 'const char16_t *') for 1st argument
    WTF_EXPORT_STRING_API static Ref<StringImpl> createWithoutCopying(const UChar* characters, unsigned length);
                                                 ^
modules/web/src/main/native/Source/WTF/wtf/text/StringImpl.h:386:50: note: candidate function not viable: no known conversion from 'const JSChar *' (aka 'const unsigned short *') to 'const LChar *' (aka 'const unsigned char *') for 1st argument
    WTF_EXPORT_STRING_API static Ref<StringImpl> createWithoutCopying(const LChar* characters, unsigned length);
                                                 ^
modules/web/src/main/native/Source/JavaScriptCore/API/JSStringRef.cpp:90:12: error: cannot initialize return object of type 'const JSChar *' (aka 'const unsigned short *') with an rvalue of type 'const UChar *' (aka 'const char16_t *')
    return string->characters();
           ^~~~~~~~~~~~~~~~~~~~
modules/web/src/main/native/Source/WTF/wtf/unicode/java/UnicodeJava.h:21:18: error: typedef redefinition with different types ('uint16_t' (aka 'unsigned short') vs 'char16_t')
typedef uint16_t UChar;
                 ^
/usr/local/include/unicode/umachine.h:347:22: note: previous definition is here
    typedef char16_t UChar;

PR:		218788, 222270
Submitted by:	jbeich
Reviewed by:	jbeich
Obtained from:	WebKit (rebased)
2017-09-21 17:55:30 +00:00
Tobias Kortkamp
092b72c9e9 java/openjfx8-devel
- Enable OpenGL Prism backend by default on FreeBSD too
- Add missing platform check.  FreeBSD is "a form of Linux or Solaris" too.

Submitted by:	Gareth Wyn Roberts <g.w.roberts@glyndwr.ac.uk> (via mail)
2017-08-24 17:48:55 +00:00
Tobias Kortkamp
7de7dddc28 java/openjfx8-devel: Update to a more recent snapshot
- Add new default options MEDIA and WEBKIT to enable building of the
  media and web modules
- Take back maintainership

Running e.g. AsciidocFX on FreeBSD should be possible now.

PR:		218014
Reported by:	Dr. Jochen Raßler <jochen.rassler@gmail.com>, mr (via mail)
2017-07-22 22:05:21 +00:00
Tobias Kortkamp
3b42faefe9 Add missing Pango symbols
Currently Pango functions are hidden behind __linux__ and not compiled
in as part of the build.  Not all JavaFX applications are affected by
this, but applications that do advanced text layout that require Pango
internally cause an UnsatisfiedLinkError at runtime.

Caused by: java.lang.UnsatisfiedLinkError: com.sun.javafx.font.freetype.OSPango.pango_ft2_font_map_new()J
	at com.sun.javafx.font.freetype.OSPango.pango_ft2_font_map_new(Native Method)
	at com.sun.javafx.font.freetype.PangoGlyphLayout.layout(PangoGlyphLayout.java:88)
	at com.sun.javafx.text.PrismTextLayout.shape(PrismTextLayout.java:834)
	at com.sun.javafx.text.PrismTextLayout.layout(PrismTextLayout.java:1064)
	at com.sun.javafx.text.PrismTextLayout.ensureLayout(PrismTextLayout.java:223)
	...

PR:		220566
Submitted by:	Stefan Ehmann <shoesoft@gmx.net>
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D11545
MFH:	2017Q3
2017-07-11 13:20:17 +00:00
Alan Somers
aa76e1de42 java/openjfx8-devel fix build with Gradle 3.2.1
Add a missing build dependency on junit to the Makefile, and fix the
path to Hamcrest in build.gradle.  Also, reset MAINTAINER by request of
the current maintainer.

PR:		215677
Reviewed by:	brd, Tobias Kortkamp
Approved by:	brd (ports)
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D9005
2017-01-04 15:54:28 +00:00
Kurt Jaeger
51ad4ed52d java/openjfx8-devel: Unbreak build after Gradle update
- fix the build after recent update to Gradle 2.12.

PR:		208470
MFH:		2016Q3
Submitted by:	Tobias Kortkamp <t@tobik.me> (maintainer)
2016-07-10 12:16:35 +00:00
Steve Wills
5e8662c609 java/openjfx8-devel: create port
OpenJFX is an open source, next generation client application platform for
desktop and embedded systems based on JavaSE. It is a collaborative effort by
many individuals and companies with the goal of producing a modern, efficient,
and fully featured toolkit for developing rich client applications.

WWW: http://openjdk.java.net/projects/openjfx/

PR:		207566
Submitted by:	Tobias Kortkamp <t@tobik.me>
2016-03-20 23:06:19 +00:00