Fix prefer x11 patch used on RHEL
This commit is contained in:
parent
f04da6c579
commit
645f7eef9b
@ -40,7 +40,7 @@ Epoch: 1
|
|||||||
Summary: An open, extensible IDE
|
Summary: An open, extensible IDE
|
||||||
Name: eclipse
|
Name: eclipse
|
||||||
Version: 4.9.0
|
Version: 4.9.0
|
||||||
Release: 0.2%{?dist}
|
Release: 0.3%{?dist}
|
||||||
License: EPL-2.0
|
License: EPL-2.0
|
||||||
URL: http://www.eclipse.org/
|
URL: http://www.eclipse.org/
|
||||||
|
|
||||||
@ -1069,6 +1069,9 @@ fi
|
|||||||
%{_eclipsedir}/plugins/org.eclipse.osgi.util_*
|
%{_eclipsedir}/plugins/org.eclipse.osgi.util_*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 22 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.3
|
||||||
|
- Fix prefer x11 patch used on RHEL
|
||||||
|
|
||||||
* Mon Aug 20 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.2
|
* Mon Aug 20 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.2
|
||||||
- Fix secondary arch build
|
- Fix secondary arch build
|
||||||
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
--- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c.orig 2016-10-13 16:53:39.092748697 +0100
|
--- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c.orig 2018-08-22 15:19:04.602623018 +0100
|
||||||
+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c 2016-10-13 17:01:12.350231281 +0100
|
+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c 2018-08-22 15:20:03.453348722 +0100
|
||||||
@@ -119,6 +119,11 @@
|
@@ -111,6 +111,11 @@
|
||||||
setenv("OXYGEN_DISABLE_INNER_SHADOWS_HACK", "1", 0);
|
#define DLFLAGS RTLD_LAZY
|
||||||
}
|
#endif
|
||||||
|
|
||||||
+ char *gdkBackend = getenv("GDK_BACKEND");
|
+ char *gdkBackend = getenv("GDK_BACKEND");
|
||||||
+ if (gdkBackend == NULL) {
|
+ if (gdkBackend == NULL) {
|
||||||
+ setenv("GDK_BACKEND", "x11", 0);
|
+ setenv("GDK_BACKEND", "x11", 0);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
/* Disable GTK scaling*/
|
void *gioLib = NULL, *glibLib = NULL, *gdkLib = NULL, *gtkLib = NULL, *objLib = NULL, *pixLib = NULL;
|
||||||
setenv("GDK_SCALE", "1", 1);
|
|
||||||
|
|
||||||
|
char *gtk3 = getenv("SWT_GTK3");
|
||||||
|
Loading…
Reference in New Issue
Block a user