ports: a lot of webkitgtk dependencies

This commit is contained in:
Matheus
2026-06-01 02:00:25 -03:00
parent 9eb54353a1
commit 91d93872ad
61 changed files with 870 additions and 0 deletions
@@ -0,0 +1,25 @@
diff --git gst-plugins-sndio-clean/Makefile gst-plugins-sndio-workdir/Makefile
index a1aa363..4bfcfe5 100644
--- gst-plugins-sndio-clean/Makefile
+++ gst-plugins-sndio-workdir/Makefile
@@ -1,9 +1,9 @@
BSD_INSTALL_LIB?= install -s -m 444
MKDIR?= mkdir -p
-GST_CFLAGS!= pkg-config --cflags gstreamer-plugins-base-1.0 gstreamer-audio-1.0
-GST_LIBS!= pkg-config --libs gstreamer-plugins-base-1.0 gstreamer-audio-1.0
-GST_PLUGINDIR!= pkg-config --variable=pluginsdir gstreamer-plugins-base-1.0
+GST_CFLAGS!= ${PKGCONFIG} --cflags gstreamer-plugins-base-1.0 gstreamer-audio-1.0
+GST_LIBS!= ${PKGCONFIG} --libs gstreamer-plugins-base-1.0 gstreamer-audio-1.0
+GST_PLUGINDIR!= ${PKGCONFIG} --variable=pluginsdir gstreamer-plugins-base-1.0
CFLAGS+= -DHAVE_CONFIG_H -fPIC ${GST_CFLAGS}
@@ -22,5 +22,5 @@ clean:
rm -f libgstsndio.so ${OBJS}
install:
- ${MKDIR} ${DESTDIR}${GST_PLUGINDIR}
- ${BSD_INSTALL_LIB} libgstsndio.so ${DESTDIR}${GST_PLUGINDIR}
+ ${MKDIR} ${DESTDIR}/usr/lib/gstreamer-1.0
+ ${BSD_INSTALL_LIB} libgstsndio.so ${DESTDIR}/usr/lib/gstreamer-1.0/
+13
View File
@@ -0,0 +1,13 @@
diff --git libidn2-clean/unistring/wchar.in.h libidn2-workdir/unistring/wchar.in.h
index c20040b..1e1393c 100644
--- libidn2-clean/unistring/wchar.in.h
+++ libidn2-workdir/unistring/wchar.in.h
@@ -179,7 +179,7 @@
/* mingw and MSVC define wint_t as 'unsigned short' in <crtdefs.h> or
<stddef.h>. This is too small: ISO C 99 section 7.24.1.(2) says that
wint_t must be "unchanged by default argument promotions". Override it. */
-# if @GNULIBHEADERS_OVERRIDE_WINT_T@
+# if 0
# if !GNULIB_defined_wint_t
# if @HAVE_CRTDEFS_H@
# include <crtdefs.h>
@@ -0,0 +1,15 @@
diff --git libsecret-clean/libsecret/meson.build libsecret-workdir/libsecret/meson.build
index 3c534d0..74480e9 100644
--- libsecret-clean/libsecret/meson.build
+++ libsecret-workdir/libsecret/meson.build
@@ -62,6 +62,10 @@ _dbus_generated = gnome.gdbus_codegen('secret-dbus-generated',
sources: 'org.freedesktop.Secrets.xml',
interface_prefix: 'org.freedesktop.Secret.',
namespace: '_SecretGen',
+ extra_args: [
+ '--glib-min-required=2.30',
+ '--glib-max-allowed=2.80',
+ ],
)
_enums_generated = gnome.mkenums('secret-enum-types',
+34
View File
@@ -0,0 +1,34 @@
diff --git openjpeg-clean/src/bin/jp2/opj_decompress.c openjpeg-workdir/src/bin/jp2/opj_decompress.c
index ba26bfb..165945e 100644
--- openjpeg-clean/src/bin/jp2/opj_decompress.c
+++ openjpeg-workdir/src/bin/jp2/opj_decompress.c
@@ -39,6 +39,8 @@
*/
#include "opj_apps_config.h"
+#include <sys/time.h>
+#include <sys/resource.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -1000,7 +1002,7 @@ static OPJ_FLOAT64 opj_clock(void)
QueryPerformanceCounter(& t) ;
return freq.QuadPart ? ((OPJ_FLOAT64)t.QuadPart / (OPJ_FLOAT64)freq.QuadPart) :
0;
-#elif defined(__linux)
+#elif defined(__linux) || defined(__astral__)
struct timespec ts;
clock_gettime(CLOCK_REALTIME, &ts);
return ((OPJ_FLOAT64)ts.tv_sec + (OPJ_FLOAT64)ts.tv_nsec * 1e-9);
diff --git openjpeg-clean/src/lib/openjp2/opj_clock.c openjpeg-workdir/src/lib/openjp2/opj_clock.c
index 24f79a9..3915e96 100644
--- openjpeg-clean/src/lib/openjp2/opj_clock.c
+++ openjpeg-workdir/src/lib/openjp2/opj_clock.c
@@ -29,6 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/resource.h>
#include "opj_includes.h"
#ifdef _WIN32
+31
View File
@@ -0,0 +1,31 @@
diff --git ruby-clean/configure.ac ruby-workdir/configure.ac
index fced42e..f7563a5 100644
--- ruby-clean/configure.ac
+++ ruby-workdir/configure.ac
@@ -1287,6 +1287,10 @@ main()
ac_cv_func_round=no
ac_cv_func___builtin_setjmp=no
],
+[astral*],[
+ RUBY_APPEND_OPTIONS(CFLAGS, -D_XOPEN_SOURCE -D_GNU_SOURCE)
+ RUBY_APPEND_OPTIONS(CPPFLAGS, -D_XOPEN_SOURCE -D_GNU_SOURCE)
+ ],
[linux*],[ LIBS="-lm $LIBS"
# __builtin_longjmp in ppc64* Linux does not restore
# the TOC register (r2), which is problematic
diff --git ruby-clean/math.c ruby-workdir/math.c
index 2394fe9..7266696 100644
--- ruby-clean/math.c
+++ ruby-workdir/math.c
@@ -9,6 +9,11 @@
**********************************************************************/
+double __lgamma_r(double, int *);
+double lgamma_r(double v, int *p) {
+ return __lgamma_r(v, p);
+}
+
#include "ruby/internal/config.h"
#ifdef _MSC_VER
+12
View File
@@ -0,0 +1,12 @@
diff --git sqlite-clean/autosetup/autosetup-config.sub sqlite-workdir/autosetup/autosetup-config.sub
index 4aaae46..8f3e836 100755
--- sqlite-clean/autosetup/autosetup-config.sub
+++ sqlite-workdir/autosetup/autosetup-config.sub
@@ -2108,6 +2108,7 @@ case $os in
| skyos* \
| solaris* \
| solidbsd* \
+ | astral* \
| sortix* \
| storm-chaos* \
| sunos \