Commit graph

62 commits

Author SHA1 Message Date
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
Jonathan Chen
e1b29db6eb
java/eclipse: Update to 4.24
PR:		264864
2022-06-24 16:36:11 +08:00
Jonathan Chen
a0c13b4a90 java/eclipse: update 4.16 -> 4.21
This release is 1.5 years overdue and 6 months out-of-date, but is
an important interim step to the 4.24 release due in June 2022.

Massive thanks go to Patrick Mackinlay who resolved the 2 critical
bugs preventing update from coming out sooner!

Author:	Jonathan Chen <jonc@chen.org.nz>
PR:	264400
2022-06-03 12:06:36 +02:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Piotr Kubaj
56e7d83753 java/eclipse: port to powerpc64le
PR:		254149
Approved by:	jonc@chen.org.nz (maintainer)
2021-03-09 00:13:57 +00:00
Li-Wen Hsu
dc6f6aa457 Update to 4.16
PR:		247371
Submitted by:	Jonathan Chen <jonc@chen.org.nz> (maintainer)
2020-06-18 14:55:11 +00:00
Tobias C. Berner
e154663572 java/eclipse: update to 4.15
PR:		244927
Submitted by:	Jonathan Chen <jonc@chen.org.nz>  (maintainer)
2020-03-20 20:23:19 +00:00
Kurt Jaeger
ec45db21d5 java/eclipse: upgrade 4.12 -> 4.14
PR:		243017
Submitted by:	Jonathan Chen <jonc@chen.org.nz> (maintainer)
Relnotes:	https://www.eclipse.org/eclipseide/2019-12/noteworthy/
2020-01-02 11:19:08 +00:00
Diane Bruce
d9fd2e5236 Build broken
Simple fix to fix repo's URL

PR:		ports/242520
Submitted by:	vvd@unislabs.com
Reported by:	vvd@unislabs.com
Approved by:	Maintainer
2019-12-14 22:48:35 +00:00
Kurt Jaeger
9e13376fae java/eclipse: usablity patch for webkit2-gtk3 issues
- usability patch for PR:238844 (not a fix, but keeps Eclipse usable)
- use github.com servers in preference to git.eclipse.org for distfiles

PR:		240383
Submitted by:	Jonathan Chen <jonc@chen.org.nz> (maintainer)
2019-09-08 07:27:31 +00:00
Kurt Jaeger
02d28e745c java/eclipse: upgrade 4.11 -> 4.12
- Fallback MASTER_SITES, as git.eclipse.org is slow/unreliable.

PR:		239650
Submitted by:	Jonathan Chen <jonc@chen.org.nz> (maintainer)
Relnotes:	https://www.eclipse.org/eclipseide/2019-06/noteworthy/
2019-08-20 11:27:20 +00:00
Piotr Kubaj
69a055bbed java/eclipse: fix build
Require new GCC to build this port on GCC architectures.

PR:		238489
Approved by:	jonc@chen.org.nz (maintainer), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D20667
2019-06-16 22:58:16 +00:00
Steve Wills
953906fc5e java/eclipse: Fix build when using maven-3.6.1
While here, fix powerpc64 build and remove pkg-plist for dynamic plist
to cater for multiple ARCH builds.

PR:		238152
Submitted by:	Jonathan Chen <jonc@chen.org.nz> (maintainer)
2019-05-27 16:03:34 +00:00
Kurt Jaeger
765525b60a java/eclipse: update 4.6 -> 4.11, submitter becomes maintainer
- port is rewritten from scratch
- Warning: UI widgets are oddly sized, currently under investigation

PR:		236792
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
Reviewed by:	mizhka@gmail.com, Curtis Hamilton
Approved by:	ljboiler@gmail.com (maintainer timeout)
Relnotes:	https://www.eclipse.org/eclipseide/2019-03/noteworthy/
2019-04-14 09:14:32 +00:00
Antoine Brodin
48f5f5e82e Fix the context of some patches so that they apply with stricter patch(1)
PR:		223545
With hat:	portmgr
2017-11-09 20:45:04 +00:00
Alexey Dokuchaev
bbc0e7b376 - Double-quote $@ to properly propagate parameters down the execution path
- Consistently pad (separate) shebang in wrapper scripts with an empty line
2016-10-17 04:00:20 +00:00
Kurt Jaeger
0596259cb6 java/eclipse: 4.5.2 -> 4.6
- new MASTER_SITE

PR:		211764
Changes:	http://www.eclipse.org/neon/noteworthy/
		https://www.eclipse.org/eclipse/development/readme_eclipse_4.6.php
Submitted by:	Jimmy Kelley <ljboiler@gmail.com> (maintainer)
Reviewed by:	Michael Zhilin <mizhka@gmail.com>, kappei84@gmail.com
2016-10-06 20:05:06 +00:00
Vanilla I. Shu
f1bfb634a2 Update to 4.5.2.
PR:		207863
Submitted by:	maintainer
2016-03-12 12:56:28 +00:00
Kurt Jaeger
16fb85bfce java/eclipse: 4.4.2 -> 4.5.1
- Bump to Eclipse 4.5.1
- Switch to using Maven 3.3
- add fix for running Eclipse build for Gtk2 only on a system where
  Gtk3 might also be installed.
- Details:
  https://projects.eclipse.org/releases/mars/details
- Bugs fixed:
  https://bugs.eclipse.org/bugs/buglist.cgi?classification=Eclipse&classification=RT&product=Equinox&product=JDT&product=PDE&product=Platform&query_format=advanced&resolution=FIXED&target_milestone=4.5.1

PR:		203689
Submitted by:	Jimmy Kelley <ljboiler@gmail.com> (maintainer)
2015-12-02 19:57:29 +00:00
John Marino
bb867d1e1b java/eclipse: Upgrade version 4.3.2 => 4.4.2
Note that Eclipse now requires openJDK8 to build.

PR:		195985
Submitted by:	Jimmy Kelley (maintainer)
2015-03-21 10:40:50 +00:00
Bartek Rutkowski
fc2ede033f java/eclipse: Set a default theme and external browser
PR:		192696
Submitted by:	Jimmy Kelley <ljboiler@gmail.com>
Reviewed by:	swills (mentor), marino (mentor)
Approved by:	mentors (implicit)
2014-08-27 14:23:57 +00:00
John Marino
7a492ac2b5 java/eclipse: Update version 3.7.1 => 4.3.2 and assign maintainer
At long last, eclipse has been updated to the latest release and is now
under the stewardship of Jimmy Kelly.  This version supports OpenJDK8
runtime environments.  A special thanks to Jonathan Chen for getting the
ball rolling after the PR stalled.

PR:		188659
Submitted by:	Jimmy Kelly
Distfiles by:	Jonathan Chen
Verified by:	F10/amd64 poudriere
2014-06-26 08:48:10 +00:00
Baptiste Daroussin
985dbbf071 Do not hard code gcc but rather use cc, which allows building without gcc in base 2013-08-26 13:48:01 +00:00
Greg Lewis
a04e6900be . Fix build error for java/eclipse with current glib
PR:		177582
Submitted by:	Jimmy Kelley <ljboiler@gmail.com>
Approved by:	portmgr (miwi)
2013-04-06 17:21:21 +00:00
Greg Lewis
a4674fe177 . Use the webkit-gtk2 library to provide the SWT browser functions instead
of libxul since the SWT plugin libraries in the eclipse-devel port will
  not compile using libxul version 10.

PR:		174846
Submitted by:	Jimmy Kelley <ljboiler@gmail.com>
2013-03-03 02:51:25 +00:00
Greg Lewis
8df24cfa43 . Update to 3.7.1. 2012-05-06 03:27:22 +00:00
Greg Lewis
403554a2c9 . Update to 3.6.2.
Submitted by:	tg@
2011-05-13 06:08:47 +00:00
Greg Lewis
0250a1de37 . Update to 3.6.1 (Helios).
Submitted by:	tg
2010-12-13 21:05:04 +00:00
Greg Lewis
839a7edf3e . Fix overwriting of JUnit 4 during installation.
Submitted by:	tg@
2010-10-03 06:23:58 +00:00
Greg Lewis
14c52b7db6 . Fix the build with the latest libxul update. Without this the build
completes but eclipse won't run.

Submitted by:	stefanf@
2010-08-09 03:27:17 +00:00
Greg Lewis
284dad3f6d . Update to 3.5.2. 2010-07-10 19:34:30 +00:00
Greg Lewis
34968d4761 . Update to 3.4.2, including:
. We are now installing a real eclipse product.
  . Only the jar files for the platform are built, dramatically reducing
    the time necessary to build (thanks to the Fedora devs for the idea
    and the basic procedure).
  . Lot of small fixes to the build procedure to make future imports easier
  . Some of the bundles are pre-extracted during install to improve
    launching time.
  . JDK 1.6 is required to build but any jre (1.5 or 1.6) can be used in
    Preferences->Java->Installed JREs. JDK 1.4 is unfortunately not
    supported at this time.
  . Switch to x86_64 architecture name instead of amd64 to be more in-line
    with mainline eclipse.

Note that after this update you will need to reinstall any plugins you've
installed with the built in Update Manager.  This is a one time thing.

Submitted by:	sepotvin@ (maintainer)
2009-06-06 20:58:22 +00:00
Greg Lewis
98c91f0659 . Update to 3.4.1 (from eclipse-devel). 2009-02-15 03:19:44 +00:00
Greg Lewis
371035ab61 . Update to Eclipse Europa, copied over from eclipse-devel. 2008-09-06 19:30:17 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Greg Lewis
6602230e32 . Force eclipse to use one of the jdk* ports rather than the diablo-jdk15
port on FreeBSD 7.x and higher as mixing the native 7.x libraries of
  eclipse and the native 6.x libraries of diablo-jdk is a recipe for trouble.

PR:		118115
2008-01-17 07:51:46 +00:00
Tong LIU
0d5b2a9414 - Update to 3.2.2
- Assign eclipse@FreeBSD.org as maintainer

PR:		ports/113435
Submitted by:	Rick Petty, tmclaugh
Approved by:	maintainer timeout (more than 3 months)
Approved by:	delphij (mentor)
2007-08-03 03:44:22 +00:00
Tom McLaughlin
5a821ecb4b - Fixes for internal web browser [1]
- Fixes for internal web browser on amd64 [2]
- Convert to USE_GECKO [3]

Note: Port defaults to xulrunner as the preffered gecko port because it is
the only port which allows the internal web browser to work but eclipse will
build using other gecko ports (ie. firefox, mozilla, seamonkey) though it
will lack a working internal web browser.  An argument can be made that
xulrunner should be the only available gecko but maybe 5 people have
xulrunner installed and it's another 45 minute mozilla dependency on even my
speedy machine.  The maintainer mentioned working on getting the internal
web browser to work with firefox so I'm leaving well enough alone.  When
eclipse fully works with firefox the USE_GECKO ordering should probably be
revistited.

PR:             105581
Submitted by:   Maintainer [1], Kurt Miller <lists at intricatesoftware.com> [2], me [3]
2007-01-03 18:13:55 +00:00
Rong-En Fan
d1f0b59040 - Respect X11BASE
This is the same fix as I did for x11-toolkits/swt

Reported by:	pointyhat
Approved by:	portmgr (linimon)
2006-12-12 07:38:50 +00:00
Alexander Kabaev
7247b8444b Update Eclipse to version 3.2.1. Assign port maintainership to
submitter.

Submitted by:	David Sledge
2006-11-04 02:06:50 +00:00
Joe Marcus Clarke
29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00
Norikatsu Shigemura
d6becae53d Update to 3.1.2.
Submitted by:	tmclaugh
References:	http://lists.freebsd.org/pipermail/freebsd-eclipse/2006-January/000327.html
Noticed by:	Panagiotis Astithas <past@ebs.gr>
2006-02-08 15:01:39 +00:00
Alexander Nedotsukov
b21cdf2cf2 Unbreak build with cairo 1.0.
Patch by:	Andreas Kohn <andreas@syndrom23.de>
2005-11-06 12:44:04 +00:00
Herve Quiroz
0b2143107d Fix javavmwrapper support added in last commit: the launcher now enforces
JAVA_VERSION and JAVA_OS values so that no wrong JDK can be picked up by
javavm(1).

PR:		86860
Discussed with:	Panagiotis Astithas <past@ebs.gr>
2005-10-18 02:42:04 +00:00
Norikatsu Shigemura
0febb29e81 Update to 3.1.1.
PR:		ports/86860, ports/86900
Submitted by:	Panagiotis Astithas <past@ebs.gr>
2005-10-09 14:54:21 +00:00
Norikatsu Shigemura
a79b1c3ad3 Fix build error by wrong gtk libraries.
PR:		ports/86538
Submitted by:	Mark Hobden <markhobden@gmail.com>
2005-09-25 09:55:29 +00:00
Norikatsu Shigemura
5ddd31a2e0 Fix build error WITH_MOTIF.
Add a desktop meny entry under GNOME.

PR:		ports/86086
Submitted by:	Panagiotis Astithas <past@ebs.gr>
2005-09-14 14:46:36 +00:00
Greg Lewis
1aa9870884 . Fix compilation after the recent nspr split from mozilla/firefox.
Although I can't reproduce this problem, it doesn't break anything
  for me and other users have independently verified it fixes the
  build for them.
. Remove an unnecessary patch.

PR:		85590
Submitted by:	Panagiotis Astithas <past@ebs.gr>
2005-09-08 18:11:41 +00:00
Norikatsu Shigemura
b08d8fc94b Fix the internal browser issue.
PR:		ports/84672
Submitted by:	Panagiotis Astithas <past@ebs.gr>
2005-08-28 07:26:40 +00:00
Norikatsu Shigemura
0be0fb477c Update to 3.1.
o java/eclipse-devel is IGNOREd now until 3.2+.
o change MAINTAINERship to java@ on java/eclipse-devel. [1]

PR:		ports/84252
Submitted by:	Panagiotis Astithas <past@ebs.gr>
Requested by:	devel/eclipse-devel's maintainer [1]
Tested by:	java@
2005-07-31 05:26:16 +00:00