Compare commits
No commits in common. "main" and "main" have entirely different histories.
|
@ -15,10 +15,14 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-qt/qtcore-5* dev-qt/qtconcurrent dev-libs/icu dev-libs/tuiwidgets dev-libs/posixsignalmanager"
|
||||
DEPEND="=dev-qt/qtcore-5* dev-libs/icu dev-libs/tuiwidgets dev-libs/posixsignalmanager"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-meson-install.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
@ -32,3 +36,4 @@ src_install() {
|
|||
meson_src_install
|
||||
doman manpages/*
|
||||
}
|
||||
|
||||
|
|
20
app-editors/chr/files/chr-9999-meson-install.patch
Normal file
20
app-editors/chr/files/chr-9999-meson-install.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff --git a/src/meson.build b/src/meson.build
|
||||
index 3bb30c1..83e1651 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -90,11 +90,13 @@ editor_lib = static_library('editor', editor_sources,
|
||||
include_directories: include_directories('.'),
|
||||
dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
|
||||
|
||||
-executable('editor', main,
|
||||
+executable('chr', main,
|
||||
vcs_dep,
|
||||
include_directories: include_directories('.'),
|
||||
link_with: editor_lib,
|
||||
- dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
|
||||
+ dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep],
|
||||
+ install: true,
|
||||
+ install_dir: '/usr/bin/')
|
||||
|
||||
executable('tests', tests,
|
||||
qt5.preprocess(moc_headers: tests_headers, moc_sources: tests,
|
|
@ -1,2 +1 @@
|
|||
DIST tuxedo-keyboard-3.2.13.tar.gz 63015 BLAKE2B c89e60e7e4ff8a0b94521483859b94bb83506abb2d9a30d16c6b325e0a6f9282df83b2f2e27b81682d650c0f5771ae3ce480b0c194c22d4239814572865c66dc SHA512 412cba6b228198534525205d2d0c9336b16c981b993880b28edf688da99e1c63fd266d8d48634eddfa4d9e5525d1d980f8f2383128be5ebef8b90348e15b09f9
|
||||
DIST tuxedo-keyboard-3.2.8.tar.gz 62464 BLAKE2B 55eb97f50f4fd0e4912893af1e09a9cddc9c5b73ad099f7eb85340733fadd627b43f970ab1262d6f3ad1fabe6c356553eb9918051f7447c009b7d1fbff4aefba SHA512 a37f73c8f92108c9f3cd82b5519202a41f9285e4b555e157bea038f65d8e876941e72b7b31180a9043f42ea2f184486579b650ecfd9c3a188acdaa6ba68b1c2a
|
||||
DIST tuxedo-keyboard-3.1.4.tar.gz 57310 BLAKE2B 6ee4bdde33a58ffe3421df8141d4a02dcf1a2e14692712c3e6b9255e454187aeb9fd9a21c732b7d25f847ee483f751c9373ff338a87a9e2bd8f332fc34557534 SHA512 5afd43705791c47d484887d217469c111c01c72d0aa1a52a8cb1f0406fe766f56dcbb056bbce364ab9d48428dbc8a93c8066c06bb03a631df5e98317fe7613b4
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
CONFIG_CHECK="ACPI_WMI INPUT_SPARSEKMAP"
|
||||
|
||||
inherit linux-mod-r1
|
||||
|
||||
DESCRIPTION="Kernel Module for Tuxedo Keyboard"
|
||||
HOMEPAGE="https://github.com/tuxedocomputers/tuxedo-keyboard"
|
||||
SRC_URI="https://github.com/tuxedocomputers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
PATCHES=( )
|
||||
|
||||
src_compile() {
|
||||
local modlist=(
|
||||
clevo_acpi=tuxedo::src
|
||||
clevo_wmi=tuxedo::src
|
||||
uniwill_wmi=tuxedo::src
|
||||
tuxedo_keyboard=tuxedo::src
|
||||
tuxedo_io=tuxedo::src/tuxedo_io
|
||||
)
|
||||
local modargs=( KDIR=${KV_OUT_DIR} )
|
||||
|
||||
linux-mod-r1_src_compile
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
DIST gradle-4.10.3-bin.zip 78422006 BLAKE2B f565e591751acb5b05c261b3d8dbc8e07f76b48c73516f6cb1b2846ebf0bbf38000b9a61790e9b3055bddd9f9846d61979d187f4a30c317a1de98546891d9d2d SHA512 fd3f4cfbd5262cc8514b7fb3e303ef46b9ca4b22901f1fe848ec4679f8d6bc283bde12ec584437624f0acf5486e5663966ad0736bf8ab341ac3e2667f514ceec
|
||||
DIST openjfx-8.1000-backports.tar.bz2 9142182 BLAKE2B 58ea420ec015c49d2755105a3d11675a92ecab337c7bda5a1ad72e84d0b35f04ed4252cee24da89b1e7b1b5b8b8b9fea7db93364434800246b87827b21970cc3 SHA512 077392368947cb9da1b5c7e14b641d6edcddd9821eb4f16dbea33e8986568211e93799aca29e70b490c8ef2125d69f8372abd1b1ce428a95420f62ff15c414d6
|
||||
DIST openjfx-8.1000.tar.bz2 62286455 BLAKE2B c9a714a618d9ae02768dae6128756d64b2b6299a36a6ad9828bf2213dc641cbbcaa2d3f3e0b4913bb60893419a2d5c730ca2db88f759bbd94b3e83112199278c SHA512 6049730b72e569939fed3d62b46a409e949b4c2309f4355253c8c891799c7fb5138e20aa217454fbbd78b1dd99c254b34b3fe6c9cbb35854bd8656993655bf32
|
|
@ -1,14 +0,0 @@
|
|||
--- rt-8u202-b02/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp 2018-10-29 16:26:04.000000000 +0100
|
||||
+++ rt-8u202-b02-patched/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp 2018-11-27 15:34:52.170181958 +0100
|
||||
@@ -232,10 +232,7 @@
|
||||
pid_t wpid = 0;
|
||||
|
||||
//TODO Use waitpid instead of wait
|
||||
-#ifdef LINUX
|
||||
- wait(&status);
|
||||
-#endif
|
||||
-#ifdef MAC
|
||||
+#if defined(LINUX) || defined(MAC)
|
||||
wpid = wait(&status);
|
||||
#endif
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
--- rt-8u202-b02/build.gradle
|
||||
+++ rt-8u202-b02-patched/build.gradle
|
||||
@@ -3268,38 +3268,38 @@
|
||||
// The apps build is Ant based, and gradle lets us "import" ant build.xml
|
||||
// into our configuration.
|
||||
|
||||
- ant.importBuild 'build.xml'
|
||||
+ //ant.importBuild 'build.xml'
|
||||
|
||||
// Download the Lucene libraries needed for the Ensemble8 app
|
||||
- def luceneVersion = "7.4.0"
|
||||
- getConfigurations().create("lucene");
|
||||
- dependencies {
|
||||
- lucene group: "org.apache.lucene", name: "lucene-core", version: luceneVersion
|
||||
- lucene group: "org.apache.lucene", name: "lucene-grouping", version: luceneVersion
|
||||
- lucene group: "org.apache.lucene", name: "lucene-queryparser", version: luceneVersion
|
||||
- }
|
||||
+ //def luceneVersion = "7.4.0"
|
||||
+ //getConfigurations().create("lucene");
|
||||
+ //dependencies {
|
||||
+ // lucene group: "org.apache.lucene", name: "lucene-core", version: luceneVersion
|
||||
+ // lucene group: "org.apache.lucene", name: "lucene-grouping", version: luceneVersion
|
||||
+ // lucene group: "org.apache.lucene", name: "lucene-queryparser", version: luceneVersion
|
||||
+ //}
|
||||
|
||||
// Copy Lucene libraries into the Ensemble8/lib directory
|
||||
- File ensembleLibDir = rootProject.file("apps/samples/Ensemble8/lib");
|
||||
- def libNames = [ "lucene-core-${luceneVersion}.jar",
|
||||
- "lucene-grouping-${luceneVersion}.jar",
|
||||
- "lucene-queryparser-${luceneVersion}.jar" ]
|
||||
-
|
||||
-
|
||||
- task getLucene(type: Copy) {
|
||||
- doFirst {
|
||||
- ensembleLibDir.mkdirs();
|
||||
- }
|
||||
- into ensembleLibDir
|
||||
- includeEmptyDirs = false
|
||||
- configurations.lucene.files.each { f ->
|
||||
- libNames.each { name ->
|
||||
- if (name == f.getName()) {
|
||||
- from f.getPath()
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
+ //File ensembleLibDir = rootProject.file("apps/samples/Ensemble8/lib");
|
||||
+ //def libNames = [ "lucene-core-${luceneVersion}.jar",
|
||||
+ // "lucene-grouping-${luceneVersion}.jar",
|
||||
+ // "lucene-queryparser-${luceneVersion}.jar" ]
|
||||
+
|
||||
+
|
||||
+ //task getLucene(type: Copy) {
|
||||
+ // doFirst {
|
||||
+ // ensembleLibDir.mkdirs();
|
||||
+ // }
|
||||
+ // into ensembleLibDir
|
||||
+ // includeEmptyDirs = false
|
||||
+ // configurations.lucene.files.each { f ->
|
||||
+ // libNames.each { name ->
|
||||
+ // if (name == f.getName()) {
|
||||
+ // from f.getPath()
|
||||
+ // }
|
||||
+ // }
|
||||
+ // }
|
||||
+ //}
|
||||
|
||||
compileTargets { t ->
|
||||
// The apps build is Ant based, and gradle lets us "import" ant apps/build.xml
|
||||
@@ -3310,7 +3310,7 @@
|
||||
def jfxrtJar = "${rootProject.buildDir}/${sdkDirName}/rt/lib/ext/jfxrt.jar"
|
||||
|
||||
def appsJar = project.task("appsJar${t.capital}") {
|
||||
- dependsOn(sdk, getLucene)
|
||||
+ dependsOn(sdk)
|
||||
doLast() {
|
||||
ant.properties['targetBld'] = "$t.name"
|
||||
if (!rootProject.ext[t.upper].compileSwing) {
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
From 36b952bdcdc301a600009308bff90440b6ceab5b Mon Sep 17 00:00:00 2001
|
||||
From: Mat Booth <mat.booth@redhat.com>
|
||||
Date: Thu, 21 Jun 2018 15:57:01 +0100
|
||||
Subject: [PATCH 4/4] fix cast between incompatible function types
|
||||
|
||||
---
|
||||
modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp | 8 ++++++--
|
||||
.../src/main/native-glass/gtk/glass_window_ime.cpp | 9 +++------
|
||||
2 files changed, 9 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp b/modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp
|
||||
index f85b1dae..3b9225f7 100644
|
||||
--- a/modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp
|
||||
+++ b/modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp
|
||||
@@ -556,7 +556,7 @@ static GdkDragContext *get_drag_context() {
|
||||
return ctx;
|
||||
}
|
||||
|
||||
-static gboolean dnd_finish_callback() {
|
||||
+static gboolean dnd_finish_callback(gpointer data) {
|
||||
if (dnd_window) {
|
||||
dnd_set_performed_action(
|
||||
translate_gdk_action_to_glass(
|
||||
@@ -1079,6 +1079,10 @@ gboolean DragView::get_drag_image_offset(int* x, int* y) {
|
||||
return offset_set;
|
||||
}
|
||||
|
||||
+static void on_pixbuf_destroy_notify(guchar *pixels, gpointer data) {
|
||||
+ g_free(pixels);
|
||||
+}
|
||||
+
|
||||
GdkPixbuf* DragView::get_drag_image(gboolean* is_raw_image, gint* width, gint* height) {
|
||||
GdkPixbuf *pixbuf = NULL;
|
||||
gboolean is_raw = FALSE;
|
||||
@@ -1106,7 +1110,7 @@ GdkPixbuf* DragView::get_drag_image(gboolean* is_raw_image, gint* width, gint* h
|
||||
if (data) {
|
||||
memcpy(data, (raw + whsz), nraw - whsz);
|
||||
pixbuf = gdk_pixbuf_new_from_data(data, GDK_COLORSPACE_RGB, TRUE, 8,
|
||||
- w, h, w * 4, (GdkPixbufDestroyNotify) g_free, NULL);
|
||||
+ w, h, w * 4, (GdkPixbufDestroyNotify) on_pixbuf_destroy_notify, NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
diff --git a/modules/graphics/src/main/native-glass/gtk/glass_window_ime.cpp b/modules/graphics/src/main/native-glass/gtk/glass_window_ime.cpp
|
||||
index 82e54d11..51af2a6a 100644
|
||||
--- a/modules/graphics/src/main/native-glass/gtk/glass_window_ime.cpp
|
||||
+++ b/modules/graphics/src/main/native-glass/gtk/glass_window_ime.cpp
|
||||
@@ -122,15 +122,12 @@ bool WindowContextBase::filterIME(GdkEvent * event) {
|
||||
}
|
||||
}
|
||||
|
||||
-//Note: this function must return int, despite the fact it doesn't conform to XIMProc type.
|
||||
-// This is required in documentation of XIM
|
||||
-static int im_preedit_start(XIM im_xim, XPointer client, XPointer call) {
|
||||
+static void im_preedit_start(XIM im_xim, XPointer client, XPointer call) {
|
||||
(void)im_xim;
|
||||
(void)call;
|
||||
|
||||
mainEnv->CallVoidMethod((jobject) client, jViewNotifyPreeditMode, JNI_TRUE);
|
||||
- CHECK_JNI_EXCEPTION_RET(mainEnv, -1);
|
||||
- return -1; // No restrictions
|
||||
+ CHECK_JNI_EXCEPTION(mainEnv);
|
||||
}
|
||||
|
||||
static void im_preedit_done(XIM im_xim, XPointer client, XPointer call) {
|
||||
@@ -234,7 +231,7 @@ void WindowContextBase::enableOrResetIME() {
|
||||
return;
|
||||
}
|
||||
|
||||
- XIMCallback startCallback = {(XPointer) jview, (XIMProc) im_preedit_start};
|
||||
+ XIMCallback startCallback = {(XPointer) jview, im_preedit_start};
|
||||
XIMCallback doneCallback = {(XPointer) jview, im_preedit_done};
|
||||
XIMCallback drawCallback = {(XPointer) jview, im_preedit_draw};
|
||||
XIMCallback caretCallback = {(XPointer) jview, im_preedit_caret};
|
||||
--
|
||||
2.17.1
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
--- rt-8u202-b07/buildSrc/linux.gradle
|
||||
+++ rt-8u202-b07-patched/buildSrc/linux.gradle
|
||||
@@ -54,7 +54,7 @@
|
||||
def ccFlags = [
|
||||
commonFlags, "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c",
|
||||
"-ffunction-sections", "-fdata-sections",
|
||||
- IS_DEBUG_NATIVE ? ["-ggdb", "-DVERBOSE"] : ["-O2", "-DNDEBUG"]].flatten()
|
||||
+ IS_DEBUG_NATIVE ? ["-ggdb", "-DNDEBUG"] : ["-O2", "-DNDEBUG"]].flatten()
|
||||
def ccFlagsGTK3 = ccFlags
|
||||
//ccFlags.addAll(["-Wnon-virtual-dtor", "-Woverloaded-virtual", "-std=c++0x"])
|
||||
def linkFlags = ["-static-libgcc", "-static-libstdc++", "-shared", commonFlags,
|
||||
|
||||
--- rt-8u202-b07/buildSrc/x86egl.gradle
|
||||
+++ rt-8u202-b07-patched/buildSrc/x86egl.gradle
|
||||
@@ -99,7 +99,7 @@
|
||||
def ccFlags = [
|
||||
commonFlags,
|
||||
"-I$JDK_HOME/include", "-I$JDK_HOME/include/${jniPlatform}", "-c",
|
||||
- IS_DEBUG_NATIVE ? ["-ggdb", "-DVERBOSE"] : ["-O2", "-DNDEBUG"]].flatten()
|
||||
+ IS_DEBUG_NATIVE ? ["-ggdb", "-DNDEBUG"] : ["-O2", "-DNDEBUG"]].flatten()
|
||||
//ccFlags.addAll(["-Wnon-virtual-dtor", "-Woverloaded-virtual", "-std=c++0x"])
|
||||
def linkFlags = ["-shared", commonFlags].flatten()
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
From 597f200762be416d5a62f1efd351cba6e47c1c4c Mon Sep 17 00:00:00 2001
|
||||
From: Georgy Yakovlev <gyakovlev@gentoo.org>
|
||||
Date: Thu, 30 May 2019 12:07:30 -0700
|
||||
Subject: [PATCH] don't include xlocale.h
|
||||
|
||||
---
|
||||
.../gstreamer/3rd_party/glib/glib-2.56.1/glib/gstrfuncs.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/modules/media/src/main/native/gstreamer/3rd_party/glib/glib-2.56.1/glib/gstrfuncs.c b/modules/media/src/main/native/gstreamer/3rd_party/glib/glib-2.56.1/glib/gstrfuncs.c
|
||||
index 72dc1301..32669789 100644
|
||||
--- a/modules/media/src/main/native/gstreamer/3rd_party/glib/glib-2.56.1/glib/gstrfuncs.c
|
||||
+++ b/modules/media/src/main/native/gstreamer/3rd_party/glib/glib-2.56.1/glib/gstrfuncs.c
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
#ifdef HAVE_XLOCALE_H
|
||||
/* Needed on BSD/OS X for e.g. strtod_l */
|
||||
-#include <xlocale.h>
|
||||
+#include <locale.h>
|
||||
#endif
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
--
|
||||
2.21.0
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
Description: Disable the architecture verification which is limited to i386 and amd64
|
||||
Author: Emmanuel Bourg <ebourg@apache.org>
|
||||
Forwarded: no
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -699,6 +699,7 @@
|
||||
// at present building on PI is not supported, but we would only need to make
|
||||
// some changes on assumptions on what should be built (like SWT / Swing) and
|
||||
// such and we could probably make it work.
|
||||
+/*
|
||||
if (!IS_MAC && !IS_WINDOWS && !IS_LINUX) logger.error("Unsupported build OS ${OS_NAME}")
|
||||
if (IS_WINDOWS && OS_ARCH != "x86" && OS_ARCH != "amd64") {
|
||||
throw new Exception("Unknown and unsupported build architecture: $OS_ARCH")
|
||||
@@ -707,6 +708,7 @@
|
||||
} else if (IS_LINUX && OS_ARCH != "i386" && OS_ARCH != "amd64") {
|
||||
throw new Exception("Unknown and unsupported build architecture: $OS_ARCH")
|
||||
}
|
||||
+*/
|
||||
|
||||
// Sanity check that we actually have a list of compile targets to execute
|
||||
if (COMPILE_TARGETS == null || COMPILE_TARGETS == "") {
|
|
@ -1,21 +0,0 @@
|
|||
Description: Set the locale of the javadoc to make the build reproducible
|
||||
Author: Emmanuel Bourg <ebourg@apache.org>
|
||||
Forwarded: no
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -1218,6 +1218,7 @@
|
||||
} else {
|
||||
options.links(JDK_DOCS);
|
||||
}
|
||||
+ options.locale("en");
|
||||
options.addBooleanOption("XDignore.symbol.file").setValue(true);
|
||||
options.addBooleanOption("Xdoclint:none").setValue(!IS_DOC_LINT);
|
||||
options.addBooleanOption("javafx").setValue(true);
|
||||
@@ -2769,6 +2770,7 @@
|
||||
options.windowTitle("${javadocTitle}")
|
||||
options.header("${javadocHeader}")
|
||||
options.bottom("${javadocBottom}")
|
||||
+ options.locale("en");
|
||||
if (BUILD_CLOSED) {
|
||||
options.linksOffline(JDK_DOCS, JDK_DOCS_CLOSED);
|
||||
} else {
|
|
@ -1,30 +0,0 @@
|
|||
diff --git a/build.gradle b/build.gradle
|
||||
index 0914d7d..6bd9e78 100644
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -1309,6 +1309,7 @@ project(":graphics") {
|
||||
antlr3 group: "org.antlr", name: "antlr", version: "3.1.3"
|
||||
antlr3 group: "org.antlr", name: "antlr-runtime", version: "3.1.3"
|
||||
antlr3 group: "org.antlr", name: "stringtemplate", version: "3.2"
|
||||
+ antlr3 group: "antlr", name: "antlr", version: "2.7.7"
|
||||
}
|
||||
|
||||
// Create a single "native" task which will depend on all the individual native tasks for graphics
|
||||
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
|
||||
index 25f88d1..642450d 100644
|
||||
--- a/buildSrc/build.gradle
|
||||
+++ b/buildSrc/build.gradle
|
||||
@@ -82,10 +82,13 @@ getConfigurations().create("antlr3");
|
||||
|
||||
dependencies {
|
||||
compile group: "org.antlr", name: "antlr", version: "3.1.3"
|
||||
+ compile group: "org.antlr", name: "antlr-runtime", version: "3.1.3"
|
||||
+ compile group: "org.antlr", name: "stringtemplate", version: "3.2"
|
||||
testCompile group: "junit", name: "junit", version: "4.8.2"
|
||||
antlr3 group: "org.antlr", name: "antlr-runtime", version: "3.1.3"
|
||||
antlr3 group: "org.antlr", name: "stringtemplate", version: "3.2"
|
||||
antlr3 group: "org.antlr", name: "antlr", version: "3.1.3"
|
||||
+ antlr3 group: "antlr", name: "antlr", version: "2.7.7"
|
||||
}
|
||||
|
||||
// At the moment the ASM library shipped with Gradle that is used to
|
|
@ -1,90 +0,0 @@
|
|||
From 822bf818933311327c5b73cb1b185484f22f55fb Mon Sep 17 00:00:00 2001
|
||||
From: Georgy Yakovlev <gyakovlev@gentoo.org>
|
||||
Date: Sun, 26 Apr 2020 21:15:36 -0700
|
||||
Subject: [PATCH] Wno-error
|
||||
|
||||
---
|
||||
buildSrc/armv5sf.gradle | 1 -
|
||||
buildSrc/armv6hf.gradle | 1 -
|
||||
buildSrc/armv6sf.gradle | 1 -
|
||||
buildSrc/armv7hf.gradle | 1 -
|
||||
buildSrc/armv7sf.gradle | 1 -
|
||||
buildSrc/linux.gradle | 6 +++---
|
||||
buildSrc/x86egl.gradle | 1 -
|
||||
7 files changed, 3 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/buildSrc/armv5sf.gradle b/buildSrc/armv5sf.gradle
|
||||
index ee154182..bee6003e 100644
|
||||
--- a/buildSrc/armv5sf.gradle
|
||||
+++ b/buildSrc/armv5sf.gradle
|
||||
@@ -135,7 +135,6 @@ def dfbLFlags = ["-ldl"]
|
||||
def lensLFlags = [extraLFlags, "-lpthread", "-ludev", "-ldl", "-lm"].flatten()
|
||||
def monocleCFlags = [
|
||||
extraCFlags,
|
||||
- "-Werror",
|
||||
"-I", file("modules/graphics/src/main/native-glass/monocle/")].flatten();
|
||||
def monocleLFlags = [extraLFlags, "-ldl", "-lm"].flatten()
|
||||
def glassCFlags = ["-ffast-math"]
|
||||
diff --git a/buildSrc/armv6hf.gradle b/buildSrc/armv6hf.gradle
|
||||
index dfdff237..0f090f23 100644
|
||||
--- a/buildSrc/armv6hf.gradle
|
||||
+++ b/buildSrc/armv6hf.gradle
|
||||
@@ -131,7 +131,6 @@ def extraLFlags = [
|
||||
def lensLFlags = [extraLFlags, "-lpthread", "-ludev", "-ldl", "-lm"].flatten()
|
||||
def monocleCFlags = [
|
||||
extraCFlags,
|
||||
- "-Werror",
|
||||
"-I", file("modules/graphics/src/main/native-glass/monocle/")].flatten();
|
||||
def monocleLFlags = [extraLFlags, "-ldl", "-lm"].flatten()
|
||||
|
||||
diff --git a/buildSrc/armv6sf.gradle b/buildSrc/armv6sf.gradle
|
||||
index ee6615f0..6ebbdd90 100644
|
||||
--- a/buildSrc/armv6sf.gradle
|
||||
+++ b/buildSrc/armv6sf.gradle
|
||||
@@ -135,7 +135,6 @@ def dfbLFlags = ["-ldl"]
|
||||
def lensLFlags = [extraLFlags, "-lpthread", "-ludev", "-ldl", "-lm"].flatten()
|
||||
def monocleCFlags = [
|
||||
extraCFlags,
|
||||
- "-Werror",
|
||||
"-I", file("modules/graphics/src/main/native-glass/monocle/")].flatten();
|
||||
def monocleLFlags = [extraLFlags, "-ldl", "-lm"].flatten()
|
||||
def glassCFlags = ["-ffast-math"]
|
||||
diff --git a/buildSrc/armv7hf.gradle b/buildSrc/armv7hf.gradle
|
||||
index e75bf8a9..092be817 100644
|
||||
--- a/buildSrc/armv7hf.gradle
|
||||
+++ b/buildSrc/armv7hf.gradle
|
||||
@@ -131,7 +131,6 @@ def extraLFlags = [
|
||||
def lensLFlags = [extraLFlags, "-lpthread", "-ludev", "-ldl", "-lm"].flatten()
|
||||
def monocleCFlags = [
|
||||
extraCFlags,
|
||||
- "-Werror",
|
||||
"-I", file("modules/graphics/src/main/native-glass/monocle/")].flatten();
|
||||
def monocleLFlags = [extraLFlags, "-ldl", "-lm"].flatten()
|
||||
|
||||
diff --git a/buildSrc/armv7sf.gradle b/buildSrc/armv7sf.gradle
|
||||
index 0bb8a530..38e98303 100644
|
||||
--- a/buildSrc/armv7sf.gradle
|
||||
+++ b/buildSrc/armv7sf.gradle
|
||||
@@ -135,7 +135,6 @@ def dfbLFlags = ["-ldl"]
|
||||
def lensLFlags = [extraLFlags, "-lpthread", "-ludev", "-ldl", "-lm"].flatten()
|
||||
def monocleCFlags = [
|
||||
extraCFlags,
|
||||
- "-Werror",
|
||||
"-I", file("modules/graphics/src/main/native-glass/monocle/")].flatten();
|
||||
def monocleLFlags = [extraLFlags, "-ldl", "-lm"].flatten()
|
||||
def glassCFlags = ["-ffast-math"]
|
||||
diff --git a/buildSrc/x86egl.gradle b/buildSrc/x86egl.gradle
|
||||
index 6bf6196b..ff24207d 100644
|
||||
--- a/buildSrc/x86egl.gradle
|
||||
+++ b/buildSrc/x86egl.gradle
|
||||
@@ -118,7 +118,6 @@ def extraLFlags = [
|
||||
def lensLFlags = [extraLFlags, "-lpthread", "-ludev", "-ldl", "-lm"].flatten()
|
||||
def monocleCFlags = [
|
||||
extraCFlags,
|
||||
- "-Werror",
|
||||
"-I", file("modules/graphics/src/main/native-glass/monocle/")].flatten();
|
||||
def monocleLFlags = [extraLFlags, "-ldl", "-lm"].flatten()
|
||||
|
||||
--
|
||||
2.26.2
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
diff --git a/build.gradle b/build.gradle
|
||||
index df82f63..3f920b6 100644
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -1135,17 +1135,17 @@ allprojects {
|
||||
// "artifact" in the pattern below. Note that the closed builds use different repositories
|
||||
// so if you are debugging a closed-build artifact related build issue, check out the
|
||||
// closed gradle file instead.
|
||||
- if (!BUILD_CLOSED) {
|
||||
- repositories {
|
||||
- mavenCentral()
|
||||
- ivy {
|
||||
- url "http://download.eclipse.org/eclipse/updates/4.6/R-4.6.3-201703010400/plugins/"
|
||||
- layout "pattern", {
|
||||
- artifact "[artifact].[ext]"
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
+ // if (!BUILD_CLOSED) {
|
||||
+ // repositories {
|
||||
+ // mavenCentral()
|
||||
+ // ivy {
|
||||
+ // url "http://download.eclipse.org/eclipse/updates/4.6/R-4.6.3-201703010400/plugins/"
|
||||
+ // layout "pattern", {
|
||||
+ // artifact "[artifact].[ext]"
|
||||
+ // }
|
||||
+ // }
|
||||
+ // }
|
||||
+ // }
|
||||
|
||||
// We want to configure all projects as java projects and use the same compile settings
|
||||
// etc, except for the root project which we just want to ignore (and for now media)
|
||||
@@ -1785,13 +1785,13 @@ project(":fxpackager") {
|
||||
}
|
||||
// fxpackager has a dependency on ant in order to build the ant jar,
|
||||
// and as such needs to point to the apache binary repository
|
||||
- if (!BUILD_CLOSED) {
|
||||
- repositories {
|
||||
- maven {
|
||||
- url "https://repository.apache.org"
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
+ // if (!BUILD_CLOSED) {
|
||||
+ // repositories {
|
||||
+ // maven {
|
||||
+ // url "https://repository.apache.org"
|
||||
+ // }
|
||||
+ // }
|
||||
+ // }
|
||||
|
||||
dependencies {
|
||||
compile group: "org.apache.ant", name: "ant", version: "1.8.2"
|
|
@ -1,51 +0,0 @@
|
|||
From 6483d73551590e8036cd5ec6d317e8114b403f36 Mon Sep 17 00:00:00 2001
|
||||
From: Georgy Yakovlev <gyakovlev@gentoo.org>
|
||||
Date: Sun, 26 Apr 2020 20:57:39 -0700
|
||||
Subject: [PATCH] don't force msse
|
||||
|
||||
---
|
||||
.../main/native/gstreamer/projects/linux/avplugin/Makefile | 1 -
|
||||
.../native/gstreamer/projects/linux/fxplugins/Makefile | 1 -
|
||||
.../media/src/main/native/jfxmedia/projects/linux/Makefile | 1 -
|
||||
modules/web/src/main/native/Tools/Scripts/webkitdirs.pm | 7 -------
|
||||
4 files changed, 10 deletions(-)
|
||||
|
||||
diff --git a/modules/media/src/main/native/gstreamer/projects/linux/avplugin/Makefile b/modules/media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
|
||||
index df9f7f21..f82f0537 100644
|
||||
--- a/modules/media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
|
||||
+++ b/modules/media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
|
||||
@@ -28,7 +28,6 @@ CFLAGS = -fPIC \
|
||||
-Wformat-security \
|
||||
-Werror=implicit-function-declaration \
|
||||
-fstack-protector \
|
||||
- -msse2 \
|
||||
-fbuiltin \
|
||||
-DHAVE_STDINT_H \
|
||||
-DLINUX \
|
||||
diff --git a/modules/media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile b/modules/media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
|
||||
index fd3847d0..3887ac6d 100644
|
||||
--- a/modules/media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
|
||||
+++ b/modules/media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
|
||||
@@ -25,7 +25,6 @@ CFLAGS = -fPIC \
|
||||
-Wformat-security \
|
||||
-Werror=implicit-function-declaration \
|
||||
-fstack-protector \
|
||||
- -msse2 \
|
||||
-fbuiltin \
|
||||
-DHAVE_STDINT_H \
|
||||
-DLINUX \
|
||||
diff --git a/modules/media/src/main/native/jfxmedia/projects/linux/Makefile b/modules/media/src/main/native/jfxmedia/projects/linux/Makefile
|
||||
index 3d089501..10fad68f 100644
|
||||
--- a/modules/media/src/main/native/jfxmedia/projects/linux/Makefile
|
||||
+++ b/modules/media/src/main/native/jfxmedia/projects/linux/Makefile
|
||||
@@ -44,7 +44,6 @@ ifdef HOST_COMPILE
|
||||
-Wformat-security \
|
||||
-fstack-protector \
|
||||
-Werror=implicit-function-declaration \
|
||||
- -msse2 \
|
||||
-DGSTREAMER_LITE
|
||||
|
||||
INCLUDES = $(BASE_INCLUDES) \
|
||||
--
|
||||
2.26.2
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
From 26d59b7c8cc2b40277756f55387606ba8a852b31 Mon Sep 17 00:00:00 2001
|
||||
From: Georgy Yakovlev <gyakovlev@gentoo.org>
|
||||
Date: Fri, 18 Sep 2020 21:43:57 -0700
|
||||
Subject: [PATCH] fxpackager: don't include obsolete sys/sysctl.h
|
||||
|
||||
---
|
||||
.../fxpackager/src/main/native/library/common/PosixPlatform.cpp | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp b/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp
|
||||
index 5ea3bc6..b5d167b 100644
|
||||
--- a/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp
|
||||
+++ b/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp
|
||||
@@ -43,7 +43,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
-#include <sys/sysctl.h>
|
||||
#include <iostream>
|
||||
#include <dlfcn.h>
|
||||
#include <signal.h>
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -1,213 +0,0 @@
|
|||
From 102cfe6848fe3e67c3d85cca8f3c02c1f316845b Mon Sep 17 00:00:00 2001
|
||||
From: Georgy Yakovlev <gyakovlev@gentoo.org>
|
||||
Date: Thu, 25 Mar 2021 10:06:49 -0700
|
||||
Subject: [PATCH] respect flags
|
||||
|
||||
---
|
||||
buildSrc/linux.gradle | 4 ++++
|
||||
.../gstreamer/projects/linux/avplugin/Makefile | 16 ++++++----------
|
||||
.../gstreamer/projects/linux/fxplugins/Makefile | 17 ++++++-----------
|
||||
.../gstreamer/projects/linux/glib-lite/Makefile | 11 +++--------
|
||||
.../projects/linux/gstreamer-lite/Makefile | 16 ++++++----------
|
||||
.../gstreamer/projects/linux/libffi/Makefile | 6 ------
|
||||
6 files changed, 25 insertions(+), 45 deletions(-)
|
||||
|
||||
diff --git a/buildSrc/linux.gradle b/buildSrc/linux.gradle
|
||||
index a8886c16..e2397a54 100644
|
||||
--- a/buildSrc/linux.gradle
|
||||
+++ b/buildSrc/linux.gradle
|
||||
@@ -46,6 +46,9 @@ def commonFlags = [
|
||||
"-fstack-protector",
|
||||
"-W", "-Wall", "-Wno-unused", "-Wno-parentheses", "-Werror=implicit-function-declaration"] // warning flags
|
||||
|
||||
+
|
||||
+commonFlags.addAll(System.getenv('CFLAGS').trim().split(" "))
|
||||
+
|
||||
if (!IS_64) {
|
||||
commonFlags += "-m32"
|
||||
}
|
||||
@@ -61,6 +64,7 @@ def linkFlags = ["-static-libgcc", "-static-libstdc++", "-shared", commonFlags,
|
||||
"-z", "relro",
|
||||
"-Wl,--gc-sections"].flatten()
|
||||
def defaultLinkFlags = linkFlags.flatten()
|
||||
+linkFlags.addAll(System.getenv('LDFLAGS').trim().split(" "))
|
||||
|
||||
def toolchainDir
|
||||
if (hasProperty('toolchainDir')) {
|
||||
diff --git a/modules/media/src/main/native/gstreamer/projects/linux/avplugin/Makefile b/modules/media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
|
||||
index f82f0537..01e069b1 100644
|
||||
--- a/modules/media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
|
||||
+++ b/modules/media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
|
||||
@@ -22,7 +22,7 @@ TARGET = $(BUILD_DIR)/lib$(BASE_NAME).so
|
||||
OBJBASE_DIR = $(BUILD_DIR)/obj/plugins/avplugin
|
||||
endif
|
||||
|
||||
-CFLAGS = -fPIC \
|
||||
+CFLAGS := -fPIC \
|
||||
-Wformat \
|
||||
-Wextra \
|
||||
-Wformat-security \
|
||||
@@ -34,13 +34,8 @@ CFLAGS = -fPIC \
|
||||
-DGST_DISABLE_LOADSAVE \
|
||||
-DGSTREAMER_LITE \
|
||||
-DG_DISABLE_DEPRECATED \
|
||||
- -ffunction-sections -fdata-sections
|
||||
-
|
||||
-ifeq ($(BUILD_TYPE), Release)
|
||||
- CFLAGS += -Os
|
||||
-else
|
||||
- CFLAGS += -g -Wall
|
||||
-endif
|
||||
+ -ffunction-sections -fdata-sections \
|
||||
+ ${CFLAGS}
|
||||
|
||||
INCLUDES= -I../../../plugins \
|
||||
-I../../../plugins/av \
|
||||
@@ -50,11 +45,12 @@ INCLUDES= -I../../../plugins \
|
||||
-I$(GLIB_DIR)/glib \
|
||||
-I$(GLIB_DIR)/gmodule
|
||||
|
||||
-LDFLAGS = -L$(BUILD_DIR) \
|
||||
+LDFLAGS := -L$(BUILD_DIR) \
|
||||
-z relro \
|
||||
-lgstreamer-lite \
|
||||
-lglib-lite \
|
||||
- -static-libgcc -static-libstdc++ -Wl,--gc-sections
|
||||
+ -static-libgcc -static-libstdc++ -Wl,--gc-sections \
|
||||
+ ${LDFLAGS}
|
||||
|
||||
ifneq ($(strip $(LIBAV_DIR)),)
|
||||
INCLUDES += -I$(LIBAV_DIR)/include
|
||||
diff --git a/modules/media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile b/modules/media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
|
||||
index 3887ac6d..99c82718 100644
|
||||
--- a/modules/media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
|
||||
+++ b/modules/media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
|
||||
@@ -19,7 +19,7 @@ DIRLIST = progressbuffer \
|
||||
|
||||
TARGET = $(BUILD_DIR)/lib$(BASE_NAME).so
|
||||
|
||||
-CFLAGS = -fPIC \
|
||||
+CFLAGS := -fPIC \
|
||||
-Wformat \
|
||||
-Wextra \
|
||||
-Wformat-security \
|
||||
@@ -35,14 +35,8 @@ CFLAGS = -fPIC \
|
||||
-DGST_DISABLE_GST_DEBUG \
|
||||
-DGSTREAMER_LITE \
|
||||
-DG_DISABLE_DEPRECATED \
|
||||
- -ffunction-sections -fdata-sections
|
||||
-
|
||||
-ifeq ($(BUILD_TYPE), Release)
|
||||
- CFLAGS += -Os
|
||||
-else
|
||||
- CFLAGS += -g -Wall
|
||||
-endif
|
||||
-
|
||||
+ -ffunction-sections -fdata-sections \
|
||||
+ ${CFLAGS}
|
||||
|
||||
INCLUDES = -I$(SRCBASE_DIR) \
|
||||
$(addprefix -I$(SRCBASE_DIR)/,$(DIRLIST)) \
|
||||
@@ -52,9 +46,10 @@ INCLUDES = -I$(SRCBASE_DIR) \
|
||||
-I$(GLIB_DIR)/glib \
|
||||
-I$(GLIB_DIR)/gmodule
|
||||
|
||||
-LDFLAGS = -L$(BUILD_DIR) -lgstreamer-lite -lglib-lite \
|
||||
+LDFLAGS := -L$(BUILD_DIR) -lgstreamer-lite -lglib-lite \
|
||||
-z relro \
|
||||
- -static-libgcc -static-libstdc++ -Wl,--gc-sections
|
||||
+ -static-libgcc -static-libstdc++ -Wl,--gc-sections \
|
||||
+ ${LDFLAGS}
|
||||
|
||||
ifeq ($(ARCH), x32)
|
||||
CFLAGS += -m32
|
||||
diff --git a/modules/media/src/main/native/gstreamer/projects/linux/glib-lite/Makefile b/modules/media/src/main/native/gstreamer/projects/linux/glib-lite/Makefile
|
||||
index c5b4b0a6..b0e6d6f9 100644
|
||||
--- a/modules/media/src/main/native/gstreamer/projects/linux/glib-lite/Makefile
|
||||
+++ b/modules/media/src/main/native/gstreamer/projects/linux/glib-lite/Makefile
|
||||
@@ -40,20 +40,15 @@ CFLAGS += -fPIC \
|
||||
-DMATCH_LIMIT=10000000 \
|
||||
-DMATCH_LIMIT_RECURSION=10000000
|
||||
|
||||
-ifeq ($(BUILD_TYPE), Release)
|
||||
- CFLAGS += -Os
|
||||
-else
|
||||
- CFLAGS += -g -Wall
|
||||
-endif
|
||||
-
|
||||
INCLUDES = -I$(SRCBASE_DIR) \
|
||||
-I$(SRCBASE_DIR)/glib \
|
||||
-I$(SRCBASE_DIR)/build/linux \
|
||||
-I$(LIBFFI_DIR)/include
|
||||
|
||||
-LDFLAGS = -L$(BUILD_DIR) -lffi \
|
||||
+LDFLAGS := -L$(BUILD_DIR) -lffi \
|
||||
-z relro \
|
||||
- -static-libgcc -static-libstdc++ -Wl,--gc-sections
|
||||
+ -static-libgcc -static-libstdc++ -Wl,--gc-sections \
|
||||
+ ${LDFLAGS}
|
||||
|
||||
ifeq ($(ARCH), x32)
|
||||
CFLAGS += -m32
|
||||
diff --git a/modules/media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile b/modules/media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
|
||||
index 8634b559..109375f5 100644
|
||||
--- a/modules/media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
|
||||
+++ b/modules/media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
|
||||
@@ -41,7 +41,7 @@ DIRLIST = gstreamer/gst \
|
||||
|
||||
TARGET = $(BUILD_DIR)/lib$(BASE_NAME).so
|
||||
|
||||
-CFLAGS =-fPIC \
|
||||
+CFLAGS :=-fPIC \
|
||||
-Wformat \
|
||||
-Wextra \
|
||||
-Wformat-security \
|
||||
@@ -56,13 +56,8 @@ CFLAGS =-fPIC \
|
||||
-DGST_DISABLE_GST_DEBUG \
|
||||
-DGST_DISABLE_LOADSAVE \
|
||||
-DG_DISABLE_DEPRECATED \
|
||||
- -ffunction-sections -fdata-sections
|
||||
-
|
||||
-ifeq ($(BUILD_TYPE), Release)
|
||||
- CFLAGS += -Os
|
||||
-else
|
||||
- CFLAGS += -g -Wall
|
||||
-endif
|
||||
+ -ffunction-sections -fdata-sections \
|
||||
+ ${CFLAGS}
|
||||
|
||||
INCLUDES = -I$(BASE_DIR)/plugins \
|
||||
-I$(SRCBASE_DIR)/projects/build/linux/common \
|
||||
@@ -83,9 +78,10 @@ INCLUDES = -I$(BASE_DIR)/plugins \
|
||||
PACKAGES_INCLUDES := $(shell pkg-config --cflags alsa)
|
||||
PACKAGES_LIBS := $(shell pkg-config --libs alsa)
|
||||
|
||||
-LDFLAGS = -L$(BUILD_DIR) -lm -lglib-lite $(PACKAGES_LIBS) \
|
||||
+LDFLAGS := -L$(BUILD_DIR) -lm -lglib-lite $(PACKAGES_LIBS) \
|
||||
-z relro \
|
||||
- -static-libgcc -static-libstdc++ -Wl,--gc-sections
|
||||
+ -static-libgcc -static-libstdc++ -Wl,--gc-sections \
|
||||
+ ${LDFLAGS}
|
||||
|
||||
ifeq ($(ARCH), x32)
|
||||
CFLAGS += -m32
|
||||
diff --git a/modules/media/src/main/native/gstreamer/projects/linux/libffi/Makefile b/modules/media/src/main/native/gstreamer/projects/linux/libffi/Makefile
|
||||
index 62f1b802..54e0a63b 100644
|
||||
--- a/modules/media/src/main/native/gstreamer/projects/linux/libffi/Makefile
|
||||
+++ b/modules/media/src/main/native/gstreamer/projects/linux/libffi/Makefile
|
||||
@@ -20,12 +20,6 @@ CFLAGS += -c \
|
||||
-DHAVE_AS_X86_PCREL \
|
||||
-DGSTREAMER_LITE
|
||||
|
||||
-ifeq ($(BUILD_TYPE), Release)
|
||||
- CFLAGS += -Os
|
||||
-else
|
||||
- CFLAGS += -O0 -g -Wall
|
||||
-endif
|
||||
-
|
||||
INCLUDES = -I$(SRCBASE_DIR)/include
|
||||
|
||||
C_SOURCES = src/closures.c \
|
||||
--
|
||||
2.31.0
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gyakovlev@gentoo.org</email>
|
||||
<name>Georgy Yakovlev</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
OpenJFX is an open source, next generation client application platform for desktop,
|
||||
mobile and embedded systems built on Java.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="media">Compile media module, based on gstreamer-minimal (does not pull gstreamer)</flag>
|
||||
<flag name="source">Install JavaFX sources</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,195 +0,0 @@
|
|||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit flag-o-matic java-pkg-2 java-pkg-simple multiprocessing toolchain-funcs
|
||||
|
||||
EGRADLE_VER="4.10.3"
|
||||
EHG_COMMIT="9f49e3b6147f"
|
||||
|
||||
DESCRIPTION="Java OpenJFX 8 client application platform"
|
||||
HOMEPAGE="https://openjfx.io"
|
||||
SRC_URI="
|
||||
https://hg.openjdk.java.net/${PN}/8u-dev/rt/archive/${EHG_COMMIT}.tar.bz2 -> ${P}.tar.bz2
|
||||
https://dev.gentoo.org/~gyakovlev/distfiles/${P}-backports.tar.bz2
|
||||
https://downloads.gradle.org/distributions/gradle-${EGRADLE_VER}-bin.zip
|
||||
"
|
||||
# eclass overrides it, set back to normal
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~ppc64"
|
||||
IUSE="debug doc media cpu_flags_x86_sse2"
|
||||
REQUIRED_USE="amd64? ( cpu_flags_x86_sse2 )"
|
||||
RESTRICT="test" # needs junit version we don't have, fragile
|
||||
|
||||
DEPEND="
|
||||
app-arch/unzip
|
||||
>=dev-java/ant-1.8.2:0
|
||||
>=dev-java/antlr-2.7.7-r7:0
|
||||
dev-java/antlr:3
|
||||
dev-java/openjdk:8
|
||||
dev-java/stringtemplate:0
|
||||
dev-java/swt:4.10[cairo,opengl]
|
||||
app-alternatives/yacc
|
||||
app-alternatives/lex
|
||||
virtual/jdk:1.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dev-java/swt:4.10[cairo,opengl]
|
||||
virtual/jre:1.8
|
||||
"
|
||||
|
||||
# FIXME: majority of flags are honored, needs a bit more patching
|
||||
QA_FLAGS_IGNORED=".*"
|
||||
|
||||
JAVA_PKG_WANT_BUILD_VM="openjdk-8"
|
||||
JAVA_PKG_WANT_SOURCE="1.8"
|
||||
JAVA_PKG_WANT_TARGET="1.8"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/8/99-sysdeps.patch
|
||||
"${FILESDIR}"/8/disable-online-repos.patch
|
||||
"${FILESDIR}"/8/respect_flags.patch
|
||||
"${FILESDIR}"/8/0000-Fix-wait-call-in-PosixPlatform.patch
|
||||
"${FILESDIR}"/8/0001-Change-Lucene.patch
|
||||
"${FILESDIR}"/8/0003-fix-cast-between-incompatible-function-types.patch
|
||||
"${FILESDIR}"/8/0004-Fix-Compilation-Flags.patch
|
||||
"${FILESDIR}"/8/0005-don-t-include-xlocale.h.patch
|
||||
"${FILESDIR}"/8/06-disable-architecture-verification.patch
|
||||
"${FILESDIR}"/8/10-javadoc-locale.patch
|
||||
"${FILESDIR}"/8/Wno-error.patch
|
||||
"${FILESDIR}"/8/don-t-force-msse.patch
|
||||
"${FILESDIR}"/8/fxpackager-don-t-include-obsolete-sys-sysctl.h.patch
|
||||
)
|
||||
|
||||
egradle() {
|
||||
local GRADLE_HOME="${WORKDIR}/gradle-${EGRADLE_VER}"
|
||||
local gradle="${GRADLE_HOME}/bin/gradle"
|
||||
local gradle_args=(
|
||||
--info
|
||||
--stacktrace
|
||||
--no-build-cache
|
||||
--no-daemon
|
||||
--offline
|
||||
--gradle-user-home "${T}/gradle_user_home"
|
||||
--project-cache-dir "${T}/gradle_project_cache"
|
||||
)
|
||||
|
||||
export GRADLE_HOME
|
||||
|
||||
# FIXME: build.gradle believes $ANT_HOME/bin/ant shoud exist
|
||||
unset ANT_HOME
|
||||
|
||||
einfo "gradle "${gradle_args[@]}" ${@}"
|
||||
# TERM needed, otherwise gradle may fail on terms it does not know about
|
||||
TERM="xterm" "${gradle}" "${gradle_args[@]}" ${@} || die "gradle failed"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv -v "rt-${EHG_COMMIT}" "${P}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${WORKDIR}/${P}-backports"
|
||||
default
|
||||
|
||||
# this will create local jar storage to be used as ivy repo
|
||||
local d="${T}/jars"
|
||||
mkdir "${d}" || die
|
||||
|
||||
# we need jars subdir in every prokect so gradle can find them
|
||||
# only system jars, no bundling
|
||||
local target targets
|
||||
targets=(
|
||||
jars
|
||||
buildSrc/jars
|
||||
modules/{base,builders,controls,extensions,fxml}/jars
|
||||
modules/{graphics,jmx,media,swing,swt,web,fxpackager}/jars
|
||||
)
|
||||
einfo "Copying system jars"
|
||||
for target in ${targets[@]}; do
|
||||
ln -vs "${T}/jars" "${target}" || die
|
||||
done
|
||||
|
||||
local swt_file_name="$(java-pkg_getjars swt-4.10)"
|
||||
java-pkg_jar-from --build-only --into "${d}" ant ant.jar ant-1.8.2.jar
|
||||
java-pkg_jar-from --build-only --into "${d}" ant ant-launcher.jar ant-launcher-1.8.2.jar
|
||||
java-pkg_jar-from --build-only --into "${d}" antlr antlr.jar antlr-2.7.7.jar
|
||||
java-pkg_jar-from --build-only --into "${d}" antlr-3 antlr-tool.jar antlr-3.1.3.jar
|
||||
java-pkg_jar-from --build-only --into "${d}" antlr-3 antlr-runtime.jar antlr-runtime-3.1.3.jar
|
||||
java-pkg_jar-from --build-only --into "${d}" stringtemplate stringtemplate.jar stringtemplate-3.2.jar
|
||||
sed -i "s#compile name: SWT_FILE_NAME#compile files(\"${swt_file_name}\")#" "${S}"/build.gradle || die
|
||||
|
||||
sed -i 's/-rpath/-rpath-link/g' modules/media/src/main/native/jfxmedia/projects/linux/Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# see gradle.properties.template in ${S}
|
||||
cat <<- _EOF_ > "${S}"/gradle.properties
|
||||
COMPILE_TARGETS = linux
|
||||
GRADLE_VERSION_CHECK = false
|
||||
COMPILE_AVPLUGIN = $(usex media true false)
|
||||
COMPILE_MEDIA = $(usex media true false)
|
||||
COMPILE_WEBKIT = false
|
||||
BUILD_JAVADOC = $(usex doc true false)
|
||||
BUILD_SRC_ZIP = $(usex source true false)
|
||||
FULL_TEST = false
|
||||
CONF = $(usex debug DebugNative Release)
|
||||
NUM_COMPILE_THREADS = $(makeopts_jobs)
|
||||
_EOF_
|
||||
|
||||
local repostring='
|
||||
repositories {
|
||||
ivy {
|
||||
url file("${projectDir}/jars")
|
||||
layout "pattern", {
|
||||
artifact "[artifact]-[revision].[ext]"
|
||||
artifact "[artifact].[ext]"
|
||||
}
|
||||
}
|
||||
mavenLocal()
|
||||
}'
|
||||
|
||||
cat <<- _EOF_ > "${S}"/buildSrc/gentoo.gradle
|
||||
${repostring}
|
||||
_EOF_
|
||||
|
||||
cat <<- _EOF_ > "${S}"/gentoo.gradle
|
||||
${repostring}
|
||||
allprojects {
|
||||
${repostring}
|
||||
}
|
||||
_EOF_
|
||||
|
||||
echo "apply from: 'gentoo.gradle'" >> build.gradle || die
|
||||
echo "apply from: 'gentoo.gradle'" >> buildSrc/build.gradle || die
|
||||
sed -i 's/mavenCentral/mavenLocal/g' build.gradle || die
|
||||
sed -i 's/mavenCentral/mavenLocal/g' buildSrc/build.gradle || die
|
||||
einfo "Configured with the following settings:"
|
||||
cat gradle.properties || die
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-cflags '-fcommon'
|
||||
tc-export_build_env CC CXX PKG_CONFIG
|
||||
rm -r tests buildSrc/src/test || die
|
||||
egradle openExportLinux
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/openjdk-${SLOT}"
|
||||
local ddest="${ED}${dest}"
|
||||
dodir "${dest}"
|
||||
pushd build/export/sdk > /dev/null || die
|
||||
cp -pPRv * "${ddest}" || die
|
||||
popd > /dev/null || die
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
DIST legendary-0.20.34.tar.gz 148218 BLAKE2B d68e14b17024d389f382238be3482436f2b8fdc64f6500c81bd0c400fc9348ff287dd407dc60cda5c880c830b87b5d436c37a9e3319ef5f29621f00b7109e6d7 SHA512 37ad1f7478d85fe38708acce76cb933c85bd2fb342fc8367423e3eb0d314fc85cea7ff2ae48385d507ba3bc7085f813efed257ac2aa95637b4dbc1a0aec57af8
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A free and open-source replacement for the Epic Games Launcher"
|
||||
HOMEPAGE="https://github.com/derrod/legendary"
|
||||
SRC_URI="https://github.com/derrod/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="webview"
|
||||
|
||||
# NOTE: dev-python/pywebview[qt5] is not much tested and does not function
|
||||
# correctly in some cases, according to release notes for 0.20.16.
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/filelock[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-3.0[${PYTHON_USEDEP}]
|
||||
webview? ( dev-python/pywebview[gtk,${PYTHON_USEDEP}] )
|
||||
')
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>tastytea</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Legendary is an open-source game launcher that can download and install
|
||||
games from the Epic Games platform on Linux and Windows. It's name is a
|
||||
tongue-in-cheek play on tiers of item rarity in many MMORPGs.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">derrod/legendary</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="webview">Use dev-python/pywebview for the sign-in process</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1 +0,0 @@
|
|||
DIST mangohud-0.6.9.tar.xz 16508064 BLAKE2B 421b691444df1080eab8cf45f6260006caa421bf2c3e8fc633202b335377f19469d4559b28a3b18a81951b5c04c66bbb300e48c3296d0df41c30724c590ba90c SHA512 305597ed49b48664aa559bd6199db8517c08f0631fedce8c0df526cc85b97f3ab5e7f4602b67f12e1e0365b972cd877b79fdd95811cbc2fbcb541d274f4c431e
|
|
@ -1,117 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit meson distutils-r1 multilib-minimal flag-o-matic
|
||||
|
||||
DESCRIPTION="A Vulkan/OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more."
|
||||
HOMEPAGE="https://github.com/flightlessmango/MangoHud"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git"
|
||||
RESTRICT="network-sandbox" # for imgui subproject
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/flightlessmango/MangoHud/releases/download/v${PV}/MangoHud-v${PV}-Source.tar.xz -> ${P}.tar.xz
|
||||
"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="+dbus debug tools +X xnvctrl wayland video_cards_nvidia"
|
||||
|
||||
REQUIRED_USE="
|
||||
xnvctrl? ( video_cards_nvidia )"
|
||||
|
||||
BDEPEND="dev-python/mako[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="
|
||||
dev-util/glslang
|
||||
>=dev-util/vulkan-headers-1.2
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
dev-libs/spdlog[${MULTILIB_USEDEP}]
|
||||
media-libs/libglvnd[${MULTILIB_USEDEP}]
|
||||
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
tools? (
|
||||
media-libs/glfw
|
||||
)
|
||||
X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
|
||||
video_cards_nvidia? (
|
||||
x11-drivers/nvidia-drivers[${MULTILIB_USEDEP}]
|
||||
xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
|
||||
)
|
||||
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
if ! [[ ${PV} == "9999" ]]; then
|
||||
S="${WORKDIR}"/MangoHud-v${PV}
|
||||
fi
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
-Dappend_libdir_mangohud=false
|
||||
-Duse_system_spdlog=enabled
|
||||
-Dinclude_doc=false
|
||||
-Dwith_nvml=$(usex video_cards_nvidia enabled disabled)
|
||||
-Dwith_xnvctrl=$(usex xnvctrl enabled disabled)
|
||||
-Dwith_x11=$(usex X enabled disabled)
|
||||
-Dwith_wayland=$(usex wayland enabled disabled)
|
||||
-Dwith_dbus=$(usex dbus enabled disabled)
|
||||
)
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
emesonargs+=(
|
||||
--wrap-mode default
|
||||
)
|
||||
fi
|
||||
if multilib_is_native_abi; then
|
||||
emesonargs+=(
|
||||
-Dmangoapp=$(usex tools true false)
|
||||
-Dmangohudctl=$(usex tools true false)
|
||||
-Dmangoapp_layer=$(usex tools true false)
|
||||
)
|
||||
fi
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
meson_src_compile
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
meson_src_install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc "${S}/data/MangoHud.conf"
|
||||
doman "${S}/data/mangohud.1"
|
||||
if use tools; then
|
||||
doman "${S}/data/mangoapp.1"
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use xnvctrl; then
|
||||
einfo ""
|
||||
einfo "If mangohud can't get GPU load, or other GPU information,"
|
||||
einfo "and you have an older Nvidia device."
|
||||
einfo ""
|
||||
einfo "Try enabling the 'xnvctrl' useflag."
|
||||
einfo ""
|
||||
fi
|
||||
}
|
|
@ -1,117 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit meson distutils-r1 multilib-minimal flag-o-matic
|
||||
|
||||
DESCRIPTION="A Vulkan/OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more."
|
||||
HOMEPAGE="https://github.com/flightlessmango/MangoHud"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git"
|
||||
RESTRICT="network-sandbox" # for imgui subproject
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/flightlessmango/MangoHud/releases/download/v${PV}/MangoHud-v${PV}-Source.tar.xz -> ${P}.tar.xz
|
||||
"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="+dbus debug tools +X xnvctrl wayland video_cards_nvidia"
|
||||
|
||||
REQUIRED_USE="
|
||||
xnvctrl? ( video_cards_nvidia )"
|
||||
|
||||
BDEPEND="dev-python/mako[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="
|
||||
dev-util/glslang
|
||||
>=dev-util/vulkan-headers-1.2
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
dev-libs/spdlog[${MULTILIB_USEDEP}]
|
||||
media-libs/libglvnd[${MULTILIB_USEDEP}]
|
||||
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
tools? (
|
||||
media-libs/glfw
|
||||
)
|
||||
X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
|
||||
video_cards_nvidia? (
|
||||
x11-drivers/nvidia-drivers[${MULTILIB_USEDEP}]
|
||||
xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
|
||||
)
|
||||
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
if ! [[ ${PV} == "9999" ]]; then
|
||||
S="${WORKDIR}"/MangoHud-v${PV}
|
||||
fi
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
-Dappend_libdir_mangohud=false
|
||||
-Duse_system_spdlog=enabled
|
||||
-Dinclude_doc=false
|
||||
-Dwith_nvml=$(usex video_cards_nvidia enabled disabled)
|
||||
-Dwith_xnvctrl=$(usex xnvctrl enabled disabled)
|
||||
-Dwith_x11=$(usex X enabled disabled)
|
||||
-Dwith_wayland=$(usex wayland enabled disabled)
|
||||
-Dwith_dbus=$(usex dbus enabled disabled)
|
||||
)
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
emesonargs+=(
|
||||
--wrap-mode default
|
||||
)
|
||||
fi
|
||||
if multilib_is_native_abi; then
|
||||
emesonargs+=(
|
||||
-Dmangoapp=$(usex tools true false)
|
||||
-Dmangohudctl=$(usex tools true false)
|
||||
-Dmangoapp_layer=$(usex tools true false)
|
||||
)
|
||||
fi
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
meson_src_compile
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
meson_src_install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc "${S}/data/MangoHud.conf"
|
||||
doman "${S}/data/mangohud.1"
|
||||
if use tools; then
|
||||
doman "${S}/data/mangoapp.1"
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use xnvctrl; then
|
||||
einfo ""
|
||||
einfo "If mangohud can't get GPU load, or other GPU information,"
|
||||
einfo "and you have an older Nvidia device."
|
||||
einfo ""
|
||||
einfo "Try enabling the 'xnvctrl' useflag."
|
||||
einfo ""
|
||||
fi
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>james@thegreatmcpain.xyz</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="tools">"Installs the 'mangoapp' and 'mangohudctl' binaries."</flag>
|
||||
<flag name="xnvctrl">"Use XNVctrl as fall back for older Nvidia devices."</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,2 +0,0 @@
|
|||
DIST gamescope-3.13.8.tar.gz 476534 BLAKE2B 33ecb51ec7e2d0f730a932c163387dad5a7194d152fe35700df3b311f886845de85fb218791a3af32f6ee7f77f8e4647bf5efc5dba2bf86b225f75972a827136 SHA512 392beb0587efb275ce02e91ddf88345ab1088c8e364b83ff4da8fb2d3884f2d7f13ccd6b695e16bfce1a48a5566fba0d1de4f9bb02140bd8d01ac2256afdeb2b
|
||||
DIST reshade-9fdbea6892f9959fdc18095d035976c574b268b7.tar.gz 1543894 BLAKE2B 5e2b643ffbbda3ad078deb075a6fada1d0a560c6d865b7febee6a8eaade83ec90db3c5a8f4130d27b6dfaa8ee7b899edd214c23c947678eed28fb8e7165d9bd2 SHA512 4565d094e1c2d53d5073b4976874665d38dcf7ca86e982e569cc76923eaa9187fa32a4385fc577a3a867d2917596e6377e5a023a34bc2d389ff899d5b69764fb
|
|
@ -1,94 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit fcaps meson
|
||||
|
||||
RESHADE_COMMIT="9fdbea6892f9959fdc18095d035976c574b268b7"
|
||||
MY_PV=$(ver_rs 3 -)
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
DESCRIPTION="Efficient micro-compositor for running games"
|
||||
HOMEPAGE="https://github.com/ValveSoftware/gamescope"
|
||||
SRC_URI="https://github.com/ValveSoftware/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/Joshua-Ashton/reshade/archive/${RESHADE_COMMIT}.tar.gz -> reshade-${RESHADE_COMMIT}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="pipewire +wsi-layer"
|
||||
|
||||
RDEPEND="
|
||||
=dev-libs/libliftoff-0.4*
|
||||
>=dev-libs/wayland-1.21
|
||||
>=dev-libs/wayland-protocols-1.17
|
||||
=gui-libs/wlroots-0.16*[X,libinput(+)]
|
||||
>=media-libs/libdisplay-info-0.1.1
|
||||
media-libs/libsdl2[video,vulkan]
|
||||
media-libs/vulkan-loader
|
||||
sys-apps/hwdata
|
||||
sys-libs/libcap
|
||||
>=x11-libs/libdrm-2.4.109
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXres
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
pipewire? ( >=media-video/pipewire-0.3:= )
|
||||
wsi-layer? ( x11-libs/libxcb )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/stb
|
||||
dev-util/vulkan-headers
|
||||
media-libs/glm
|
||||
dev-util/spirv-headers
|
||||
wsi-layer? ( >=media-libs/vkroots-0_p20231108 )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/glslang
|
||||
dev-util/wayland-scanner
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
FILECAPS=(
|
||||
cap_sys_nice usr/bin/${PN}
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Normally wraps stb with Meson. Upstream does not ship a pkg-config file so
|
||||
# we don't install one. Work around this using symlinks.
|
||||
mkdir subprojects/stb || die
|
||||
ln -sn "${ESYSROOT}"/usr/include/stb/* "${S}"/subprojects/packagefiles/stb/* subprojects/stb/ || die
|
||||
|
||||
# ReShade is bundled as a git submodule, but it references an unofficial
|
||||
# fork, so we cannot unbundle it. Symlink to its extracted sources.
|
||||
rmdir src/reshade || die
|
||||
ln -snfT ../../reshade-${RESHADE_COMMIT} src/reshade || die
|
||||
|
||||
# SPIRV-Headers is required by ReShade. It is bundled as a git submodule but
|
||||
# not wrapped with Meson, so we can symlink to our system-wide headers.
|
||||
mkdir thirdparty/SPIRV-Headers/include || die
|
||||
ln -snf "${ESYSROOT}"/usr/include/spirv thirdparty/SPIRV-Headers/include/ || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
--force-fallback-for=
|
||||
-Dbenchmark=disabled
|
||||
-Denable_openvr_support=false
|
||||
$(meson_feature pipewire)
|
||||
$(meson_use wsi-layer enable_gamescope_wsi_layer)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chewi@gentoo.org</email>
|
||||
<name>James Le Cuirot</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ValveSoftware/gamescope</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="pipewire">Enable screen capture via PipeWire</flag>
|
||||
<flag name="wsi-layer">Enable the WSI layer (required for HDR)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
Reference in a new issue