mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: xorg port
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
name=fontutil
|
||||||
|
revision=1
|
||||||
|
from_source=fontutil
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros xorgproto"
|
||||||
|
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix}
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name=util-macros
|
||||||
|
revision=1
|
||||||
|
from_source=util-macros
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||||
|
make -j ${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
name=xorgproto
|
||||||
|
revision=1
|
||||||
|
from_source=xorgproto
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
meson --prefix=${prefix} -Dlegacy=true ${source_dir}
|
||||||
|
ninja
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} ninja install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xtrans
|
||||||
|
revision=1
|
||||||
|
from_source=xtrans
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix}
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} make install
|
||||||
|
}
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
diff --git ace-of-penguins-clean/lib/Makefile.am ace-of-penguins-workdir/lib/Makefile.am
|
||||||
|
index 2056424..e93f8bd 100644
|
||||||
|
--- ace-of-penguins-clean/lib/Makefile.am
|
||||||
|
+++ ace-of-penguins-workdir/lib/Makefile.am
|
||||||
|
@@ -6,7 +6,7 @@ noinst_HEADERS = cards.h
|
||||||
|
CLEANFILES = images.c images.d
|
||||||
|
|
||||||
|
INCLUDES = $(X_CFLAGS) @PDA@
|
||||||
|
-AM_LDFLAGS = $(X_LIBS)
|
||||||
|
+AM_LDFLAGS = $(X_LIBS) -lpng -lz -lm
|
||||||
|
|
||||||
|
BUILD_CC = @BUILD_CC@
|
||||||
|
AR = @AR@
|
||||||
|
diff --git ace-of-penguins-clean/lib/make-imglib.c ace-of-penguins-workdir/lib/make-imglib.c
|
||||||
|
index 84cda12..dde0ffa 100644
|
||||||
|
--- ace-of-penguins-clean/lib/make-imglib.c
|
||||||
|
+++ ace-of-penguins-workdir/lib/make-imglib.c
|
||||||
|
@@ -86,7 +86,7 @@ scan_image_directory ()
|
||||||
|
png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, 0, 0, 0);
|
||||||
|
info_ptr = png_create_info_struct (png_ptr);
|
||||||
|
|
||||||
|
- if (setjmp (png_ptr->jmpbuf)) {
|
||||||
|
+ if (setjmp (png_jmpbuf(png_ptr))) {
|
||||||
|
fclose (f);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
diff --git ace-of-penguins-clean/lib/xwin.c ace-of-penguins-workdir/lib/xwin.c
|
||||||
|
index e4bcca2..724be23 100644
|
||||||
|
--- ace-of-penguins-clean/lib/xwin.c
|
||||||
|
+++ ace-of-penguins-workdir/lib/xwin.c
|
||||||
|
@@ -55,7 +55,7 @@ OptionDesc xwin_options_list[] = {
|
||||||
|
{ "-visual", OPTION_INTEGER, &visual_id },
|
||||||
|
{ 0, 0, 0 }
|
||||||
|
};
|
||||||
|
-OptionDesc *xwin_options = xwin_options_list;
|
||||||
|
+//OptionDesc *xwin_options = xwin_options_list;
|
||||||
|
|
||||||
|
Display *display=0;
|
||||||
|
int screen=0;
|
||||||
|
@@ -89,10 +89,10 @@ int help_background;
|
||||||
|
/* Motif window hints */
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
- unsigned flags;
|
||||||
|
- unsigned functions;
|
||||||
|
- unsigned decorations;
|
||||||
|
- int inputMode;
|
||||||
|
+ unsigned long flags;
|
||||||
|
+ unsigned long functions;
|
||||||
|
+ unsigned long decorations;
|
||||||
|
+ long inputMode;
|
||||||
|
} PropMotifWmHints;
|
||||||
|
|
||||||
|
typedef PropMotifWmHints PropMwmHints;
|
||||||
|
@@ -841,13 +841,13 @@ build_image (image *src)
|
||||||
|
png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, 0, 0, 0);
|
||||||
|
info_ptr = png_create_info_struct (png_ptr);
|
||||||
|
|
||||||
|
- if (setjmp (png_ptr->jmpbuf)) {
|
||||||
|
+ if (setjmp (png_jmpbuf(png_ptr))) {
|
||||||
|
fprintf(stderr, "Invalid PNG image!\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
file_bytes = src->file_data;
|
||||||
|
- png_set_read_fn (png_ptr, (voidp)&file_bytes, (png_rw_ptr)png_reader);
|
||||||
|
+ png_set_read_fn (png_ptr, (void*)&file_bytes, (png_rw_ptr)png_reader);
|
||||||
|
|
||||||
|
png_read_info (png_ptr, info_ptr);
|
||||||
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git fontconfig-clean/src/fcstat.c fontconfig-workdir/src/fcstat.c
|
||||||
|
index 4f69eae..03c1b95 100644
|
||||||
|
--- fontconfig-clean/src/fcstat.c
|
||||||
|
+++ fontconfig-workdir/src/fcstat.c
|
||||||
|
@@ -386,7 +386,7 @@ FcFStatFs (int fd, FcStatFS *statb)
|
||||||
|
# endif
|
||||||
|
# if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
|
||||||
|
p = buf.f_fstypename;
|
||||||
|
-# elif defined(__linux__) || defined (__EMSCRIPTEN__)
|
||||||
|
+# elif defined(__linux__) || defined (__EMSCRIPTEN__) || defined(__astral__)
|
||||||
|
switch (buf.f_type)
|
||||||
|
{
|
||||||
|
case 0x6969: /* nfs */
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
diff --git libgpg-error-workdir/src/syscfg/lock-obj-pub.astral.h libgpg-error-workdir/src/syscfg/lock-obj-pub.astral.h
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..0dd6431
|
||||||
|
--- /dev/null
|
||||||
|
+++ libgpg-error-workdir/src/syscfg/lock-obj-pub.astral.h
|
||||||
|
@@ -0,0 +1,25 @@
|
||||||
|
+## lock-obj-pub.x86_64-pc-linux-gnu.h
|
||||||
|
+## File created by gen-posix-lock-obj - DO NOT EDIT
|
||||||
|
+## To be included by mkheader into gpg-error.h
|
||||||
|
+
|
||||||
|
+typedef struct
|
||||||
|
+{
|
||||||
|
+ long _vers;
|
||||||
|
+ union {
|
||||||
|
+ volatile char _priv[40];
|
||||||
|
+ long _x_align;
|
||||||
|
+ long *_xp_align;
|
||||||
|
+ } u;
|
||||||
|
+} gpgrt_lock_t;
|
||||||
|
+
|
||||||
|
+#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
|
||||||
|
+ 0,0,0,0,0,0,0,0, \
|
||||||
|
+ 0,0,0,0,0,0,0,0, \
|
||||||
|
+ 0,0,0,0,0,0,0,0, \
|
||||||
|
+ 0,0,0,0,0,0,0,0}}}
|
||||||
|
+##
|
||||||
|
+## Local Variables:
|
||||||
|
+## mode: c
|
||||||
|
+## buffer-read-only: t
|
||||||
|
+## End:
|
||||||
|
+##
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
diff --git libxcb-clean/configure.ac libxcb-workdir/configure.ac
|
||||||
|
index 4198a50..d583696 100644
|
||||||
|
--- libxcb-clean/configure.ac
|
||||||
|
+++ libxcb-workdir/configure.ac
|
||||||
|
@@ -54,6 +54,7 @@ PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.14)
|
||||||
|
NEEDED="xau >= 0.99.2"
|
||||||
|
case $host_os in
|
||||||
|
linux*) ;;
|
||||||
|
+astral*) ;;
|
||||||
|
*) NEEDED="$NEEDED pthread-stubs" ;;
|
||||||
|
esac
|
||||||
|
PKG_CHECK_MODULES(NEEDED, $NEEDED)
|
||||||
@@ -188,7 +188,7 @@ index 0000000..e5b087a
|
|||||||
+
|
+
|
||||||
diff --git mlibc-workdir/sysdeps/astral/generic/generic.cpp mlibc-workdir/sysdeps/astral/generic/generic.cpp
|
diff --git mlibc-workdir/sysdeps/astral/generic/generic.cpp mlibc-workdir/sysdeps/astral/generic/generic.cpp
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..fce0f3b
|
index 0000000..3d53e6b
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ mlibc-workdir/sysdeps/astral/generic/generic.cpp
|
+++ mlibc-workdir/sysdeps/astral/generic/generic.cpp
|
||||||
@@ -0,0 +1,594 @@
|
@@ -0,0 +1,594 @@
|
||||||
@@ -399,7 +399,7 @@ index 0000000..fce0f3b
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ int sys_rename(const char *path, const char *new_path) {
|
+ int sys_rename(const char *path, const char *new_path) {
|
||||||
+ sys_renameat(AT_FDCWD, path, AT_FDCWD, new_path);
|
+ return sys_renameat(AT_FDCWD, path, AT_FDCWD, new_path);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ int sys_utimensat(int dirfd, const char *pathname, const struct timespec times[2], int flags) {
|
+ int sys_utimensat(int dirfd, const char *pathname, const struct timespec times[2], int flags) {
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
diff --git xclock-clean/Clock.c xclock-workdir/Clock.c
|
||||||
|
index de6beb6..6d726ef 100644
|
||||||
|
--- xclock-clean/Clock.c
|
||||||
|
+++ xclock-workdir/Clock.c
|
||||||
|
@@ -1292,7 +1292,7 @@ static void
|
||||||
|
round_time(float _update, struct tm *tm, struct timeval *tv)
|
||||||
|
{
|
||||||
|
/* interval in milliseconds */
|
||||||
|
- unsigned long update = (int) (_update * 1000.0 + 0.5);
|
||||||
|
+ unsigned long update = roundf(_update * 1000.0 + 0.5);
|
||||||
|
|
||||||
|
/* compute milliseconds since midnight */
|
||||||
|
unsigned long old_secs = time_seconds(tm);
|
||||||
|
diff --git xclock-clean/configure.ac xclock-workdir/configure.ac
|
||||||
|
index 7d9847b..e15fecd 100644
|
||||||
|
--- xclock-clean/configure.ac
|
||||||
|
+++ xclock-workdir/configure.ac
|
||||||
|
@@ -41,8 +41,6 @@ XORG_DEFAULT_OPTIONS
|
||||||
|
|
||||||
|
AC_CHECK_FUNCS([strlcpy getpid nl_langinfo])
|
||||||
|
|
||||||
|
-AM_ICONV
|
||||||
|
-
|
||||||
|
dnl Required dependencies
|
||||||
|
PKG_CHECK_MODULES(XCLOCK, [xaw7 xmu x11 xproto >= 7.0.17])
|
||||||
|
XCLOCK_LIBS="$XCLOCK_LIBS $LIBICONV"
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
diff --git xedit-clean/lisp/mathimp.c xedit-workdir/lisp/mathimp.c
|
||||||
|
index 0433968..3734efb 100644
|
||||||
|
--- xedit-clean/lisp/mathimp.c
|
||||||
|
+++ xedit-workdir/lisp/mathimp.c
|
||||||
|
@@ -29,6 +29,7 @@
|
||||||
|
|
||||||
|
/* $XFree86: xc/programs/xedit/lisp/mathimp.c,v 1.14tsi Exp $ */
|
||||||
|
|
||||||
|
+int finite(double);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Defines
|
||||||
|
diff --git xedit-clean/lisp/mp/mpi.c xedit-workdir/lisp/mp/mpi.c
|
||||||
|
index 7fcc30e..6984f09 100644
|
||||||
|
--- xedit-clean/lisp/mp/mpi.c
|
||||||
|
+++ xedit-workdir/lisp/mp/mpi.c
|
||||||
|
@@ -29,6 +29,8 @@
|
||||||
|
|
||||||
|
/* $XFree86: xc/programs/xedit/lisp/mp/mpi.c,v 1.12 2002/11/20 07:44:43 paulo Exp $ */
|
||||||
|
|
||||||
|
+int finite(double);
|
||||||
|
+
|
||||||
|
#include "mp.h"
|
||||||
|
|
||||||
|
#if defined(__UNIXOS2__) || defined(__APPLE__)
|
||||||
|
diff --git xedit-clean/lisp/read.c xedit-workdir/lisp/read.c
|
||||||
|
index 4103736..8898b1b 100644
|
||||||
|
--- xedit-clean/lisp/read.c
|
||||||
|
+++ xedit-workdir/lisp/read.c
|
||||||
|
@@ -29,6 +29,8 @@
|
||||||
|
|
||||||
|
/* $XFree86: xc/programs/xedit/lisp/read.c,v 1.36tsi Exp $ */
|
||||||
|
|
||||||
|
+int finite(double);
|
||||||
|
+
|
||||||
|
#include <errno.h>
|
||||||
|
#include "lisp/read.h"
|
||||||
|
#include "lisp/package.h"
|
||||||
@@ -0,0 +1,179 @@
|
|||||||
|
diff --git xf86-input-keyboard-clean/configure.ac xf86-input-keyboard-workdir/configure.ac
|
||||||
|
index 0f71ce3..024edd3 100644
|
||||||
|
--- xf86-input-keyboard-clean/configure.ac
|
||||||
|
+++ xf86-input-keyboard-workdir/configure.ac
|
||||||
|
@@ -57,6 +57,11 @@ AC_SUBST(inputdir)
|
||||||
|
|
||||||
|
# The keyboard driver code is O/S specific
|
||||||
|
case $host_os in
|
||||||
|
+
|
||||||
|
+ astral*)
|
||||||
|
+ IS_ASTRAL="yes"
|
||||||
|
+ ;;
|
||||||
|
+
|
||||||
|
linux*)
|
||||||
|
AC_MSG_ERROR([This is not the keyboard driver you are looking for. Use evdev or libinput.])
|
||||||
|
;;
|
||||||
|
@@ -95,6 +100,7 @@ case $host_os in
|
||||||
|
esac
|
||||||
|
AC_SUBST([OS_FLAGS])
|
||||||
|
|
||||||
|
+AM_CONDITIONAL(ASTRAL, [test "x$IS_ASTRAL" = xyes])
|
||||||
|
AM_CONDITIONAL(BSD, [test "x$IS_BSD" = xyes])
|
||||||
|
AM_CONDITIONAL(SOLARIS, [test "x$IS_SOLARIS" = xyes])
|
||||||
|
AM_CONDITIONAL(HURD, [test "x$IS_HURD" = xyes])
|
||||||
|
diff --git xf86-input-keyboard-clean/src/Makefile.am xf86-input-keyboard-workdir/src/Makefile.am
|
||||||
|
index 52f5f4d..7de71b9 100644
|
||||||
|
--- xf86-input-keyboard-clean/src/Makefile.am
|
||||||
|
+++ xf86-input-keyboard-workdir/src/Makefile.am
|
||||||
|
@@ -26,10 +26,15 @@ kbd_drv_la_SOURCES = kbd.c xf86OSKbd.h xf86Keymap.h atKeynames.h
|
||||||
|
kbd_drv_la_LIBADD = $(XORG_LIBS)
|
||||||
|
kbd_drv_ladir = @inputdir@
|
||||||
|
|
||||||
|
+ASTRAL_SRCS = astral_kbd.c astral_KbdMap.c
|
||||||
|
BSD_SRCS = bsd_KbdMap.c bsd_kbd.c bsd_kbd.h at_scancode.c
|
||||||
|
HURD_SRCS = hurd_kbd.c at_scancode.c
|
||||||
|
SOLARIS_SRCS = sun_kbd.c sun_kbd.h sun_kbdMap.c
|
||||||
|
|
||||||
|
+if ASTRAL
|
||||||
|
+kbd_drv_la_SOURCES += $(ASTRAL_SRCS)
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
if BSD
|
||||||
|
kbd_drv_la_SOURCES += $(BSD_SRCS)
|
||||||
|
endif
|
||||||
|
@@ -42,4 +47,4 @@ if HURD
|
||||||
|
kbd_drv_la_SOURCES += $(HURD_SRCS)
|
||||||
|
endif
|
||||||
|
|
||||||
|
-EXTRA_DIST = $(BSD_SRCS) $(HURD_SRCS) $(SOLARIS_SRCS)
|
||||||
|
+EXTRA_DIST = $(ASTRAL_SRCS) $(BSD_SRCS) $(HURD_SRCS) $(SOLARIS_SRCS)
|
||||||
|
diff --git xf86-input-keyboard-workdir/src/astral_KbdMap.c xf86-input-keyboard-workdir/src/astral_KbdMap.c
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..2ca19fd
|
||||||
|
--- /dev/null
|
||||||
|
+++ xf86-input-keyboard-workdir/src/astral_KbdMap.c
|
||||||
|
@@ -0,0 +1,27 @@
|
||||||
|
+#ifdef HAVE_CONFIG_H
|
||||||
|
+#include <config.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#include <xorg-server.h>
|
||||||
|
+#include <X11/X.h>
|
||||||
|
+
|
||||||
|
+#include "compiler.h"
|
||||||
|
+
|
||||||
|
+#include "xf86.h"
|
||||||
|
+#include "xf86Priv.h"
|
||||||
|
+#include "xf86_OSlib.h"
|
||||||
|
+
|
||||||
|
+#include "xf86Xinput.h"
|
||||||
|
+#include "xf86OSKbd.h"
|
||||||
|
+#include "atKeynames.h"
|
||||||
|
+#include "xf86Keymap.h"
|
||||||
|
+
|
||||||
|
+#include <stdio.h>
|
||||||
|
+#include <errno.h>
|
||||||
|
+
|
||||||
|
+void getmap(InputInfoPtr info, KeySymsPtr syms, CARD8 *map){
|
||||||
|
+ syms->map = map;
|
||||||
|
+ syms->mapWidth = GLYPHS_PER_KEY;
|
||||||
|
+ syms->minKeyCode = MIN_KEYCODE;
|
||||||
|
+ syms->maxKeyCode = MAX_KEYCODE;
|
||||||
|
+}
|
||||||
|
diff --git xf86-input-keyboard-workdir/src/astral_kbd.c xf86-input-keyboard-workdir/src/astral_kbd.c
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..c902c94
|
||||||
|
--- /dev/null
|
||||||
|
+++ xf86-input-keyboard-workdir/src/astral_kbd.c
|
||||||
|
@@ -0,0 +1,90 @@
|
||||||
|
+#ifdef HAVE_CONFIG_H
|
||||||
|
+#include <config.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#include <xorg-server.h>
|
||||||
|
+#include <X11/X.h>
|
||||||
|
+
|
||||||
|
+#include "compiler.h"
|
||||||
|
+
|
||||||
|
+#include "xf86.h"
|
||||||
|
+#include "xf86Priv.h"
|
||||||
|
+#include "xf86_OSlib.h"
|
||||||
|
+
|
||||||
|
+#include "xf86Xinput.h"
|
||||||
|
+#include "xf86OSKbd.h"
|
||||||
|
+#include "atKeynames.h"
|
||||||
|
+#include "xf86Keymap.h"
|
||||||
|
+
|
||||||
|
+#include <stdio.h>
|
||||||
|
+#include <errno.h>
|
||||||
|
+
|
||||||
|
+// astral stuff
|
||||||
|
+
|
||||||
|
+#define KBPACKET_FLAGS_RELEASED 1
|
||||||
|
+#define KBPACKET_FLAGS_LEFTCTRL 2
|
||||||
|
+#define KBPACKET_FLAGS_CAPSLOCK 4
|
||||||
|
+#define KBPACKET_FLAGS_LEFTALT 8
|
||||||
|
+#define KBPACKET_FLAGS_RIGHTALT 16
|
||||||
|
+#define KBPACKET_FLAGS_LEFTSHIFT 32
|
||||||
|
+#define KBPACKET_FLAGS_RIGHTCTRL 64
|
||||||
|
+#define KBPACKET_FLAGS_RIGHTSHIFT 128
|
||||||
|
+
|
||||||
|
+typedef struct {
|
||||||
|
+ char ascii;
|
||||||
|
+ uintmax_t keycode;
|
||||||
|
+ int flags;
|
||||||
|
+} kbpacket_t;
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+// interface
|
||||||
|
+
|
||||||
|
+static int nop(){
|
||||||
|
+ return Success;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+static int getleds(InputInfoPtr pInfo){return 0;}
|
||||||
|
+
|
||||||
|
+static int init(InputInfoPtr, int){return Success;}
|
||||||
|
+
|
||||||
|
+static void kbdread(InputInfoPtr info){
|
||||||
|
+ KbdDevPtr kbd = (KbdDevPtr) info->private;
|
||||||
|
+ kbpacket_t packet;
|
||||||
|
+
|
||||||
|
+ while(read(info->fd, &packet, sizeof(kbpacket_t)))
|
||||||
|
+ kbd->PostEvent(info, packet.keycode, packet.flags & KBPACKET_FLAGS_RELEASED ? FALSE : TRUE);
|
||||||
|
+
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+static Bool openkeyboard(InputInfoPtr info){
|
||||||
|
+ char *kbdPath = xf86SetStrOption(info->options, "Device", "/dev/keyboard");
|
||||||
|
+ info->fd = open("/dev/keyboard", O_NONBLOCK | O_RDONLY);
|
||||||
|
+ if(info->fd == -1)
|
||||||
|
+ FatalError("Failed to open keyboard (%s)\n",strerror(errno));
|
||||||
|
+
|
||||||
|
+ info->read_input = kbdread;
|
||||||
|
+
|
||||||
|
+ return TRUE;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+void getmap(InputInfoPtr info, KeySymsPtr syms, CARD8 *map);
|
||||||
|
+
|
||||||
|
+Bool xf86OSKbdPreInit(InputInfoPtr info){
|
||||||
|
+
|
||||||
|
+ KbdDevPtr kbd = info->private;
|
||||||
|
+
|
||||||
|
+ kbd->KbdInit = init;
|
||||||
|
+ kbd->KbdOn = nop;
|
||||||
|
+ kbd->KbdOff = nop;
|
||||||
|
+ kbd->Bell = nop;
|
||||||
|
+ kbd->SetLeds = nop;
|
||||||
|
+ kbd->GetLeds = getleds;
|
||||||
|
+ kbd->KbdGetMapping = getmap;
|
||||||
|
+ kbd->RemapScanCode = 0;
|
||||||
|
+ kbd->OpenKeyboard = openkeyboard;
|
||||||
|
+
|
||||||
|
+ kbd->private = NULL;
|
||||||
|
+
|
||||||
|
+ return TRUE;
|
||||||
|
+}
|
||||||
@@ -0,0 +1,146 @@
|
|||||||
|
diff --git xf86-input-mouse-clean/configure.ac xf86-input-mouse-workdir/configure.ac
|
||||||
|
index 6c453cd..e27bdcb 100644
|
||||||
|
--- xf86-input-mouse-clean/configure.ac
|
||||||
|
+++ xf86-input-mouse-workdir/configure.ac
|
||||||
|
@@ -84,6 +84,9 @@ case $host_os in
|
||||||
|
gnu*)
|
||||||
|
OS_MOUSE_NAME=hurd
|
||||||
|
;;
|
||||||
|
+ astral*)
|
||||||
|
+ OS_MOUSE_NAME=astral
|
||||||
|
+ ;;
|
||||||
|
esac
|
||||||
|
AC_SUBST([OS_MOUSE_NAME])
|
||||||
|
|
||||||
|
diff --git xf86-input-mouse-workdir/src/astral_mouse.c xf86-input-mouse-workdir/src/astral_mouse.c
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..49644ac
|
||||||
|
--- /dev/null
|
||||||
|
+++ xf86-input-mouse-workdir/src/astral_mouse.c
|
||||||
|
@@ -0,0 +1,126 @@
|
||||||
|
+#ifdef HAVE_XORG_CONFIG_H
|
||||||
|
+#include <xorg-config.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#include <xorg-server.h>
|
||||||
|
+#include <X11/X.h>
|
||||||
|
+#include <X11/Xproto.h>
|
||||||
|
+#include "inputstr.h"
|
||||||
|
+#include "scrnintstr.h"
|
||||||
|
+#include "mipointer.h"
|
||||||
|
+
|
||||||
|
+#include "xf86.h"
|
||||||
|
+#include "xf86Xinput.h"
|
||||||
|
+#include "mouse.h"
|
||||||
|
+#include "xf86_OSlib.h"
|
||||||
|
+#include "xisb.h"
|
||||||
|
+
|
||||||
|
+#include <stdio.h>
|
||||||
|
+#include <errno.h>
|
||||||
|
+#include <stdbool.h>
|
||||||
|
+
|
||||||
|
+#include <sys/stat.h>
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+#define MOUSE_FLAG_RB 1
|
||||||
|
+#define MOUSE_FLAG_MB 2
|
||||||
|
+#define MOUSE_FLAG_LB 4
|
||||||
|
+#define MOUSE_FLAG_B4 8
|
||||||
|
+#define MOUSE_FLAG_B5 16
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+typedef struct {
|
||||||
|
+ int flags;
|
||||||
|
+ int x,y,z;
|
||||||
|
+} mousepacket_t;
|
||||||
|
+
|
||||||
|
+static void astralReadInput(InputInfoPtr pInfo){
|
||||||
|
+ MouseDevPtr mouse = pInfo->private;
|
||||||
|
+ mousepacket_t packet;
|
||||||
|
+
|
||||||
|
+ while(read(pInfo->fd, &packet, sizeof(packet)) == sizeof(packet)){
|
||||||
|
+ int b = mouse->lastButtons;
|
||||||
|
+ b &= ~0x7;
|
||||||
|
+ b |= (packet.flags & MOUSE_FLAG_RB) ? 1 : 0;
|
||||||
|
+ b |= (packet.flags & MOUSE_FLAG_MB) ? 2 : 0;
|
||||||
|
+ b |= (packet.flags & MOUSE_FLAG_LB) ? 4 : 0;
|
||||||
|
+
|
||||||
|
+ mouse->PostEvent(pInfo, b, packet.x, -packet.y, packet.z, 0);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+static Bool astralPreInit(InputInfoPtr pInfo, const char* proto, int flag){
|
||||||
|
+
|
||||||
|
+ MouseDevPtr mouse;
|
||||||
|
+
|
||||||
|
+ mouse = pInfo->private;
|
||||||
|
+
|
||||||
|
+ mouse->protocol = proto;
|
||||||
|
+
|
||||||
|
+ xf86ProcessCommonOptions(pInfo, pInfo->options);
|
||||||
|
+
|
||||||
|
+ pInfo->fd = xf86OpenSerial(pInfo->options);
|
||||||
|
+ if(pInfo->fd == -1){
|
||||||
|
+ xf86Msg(X_ERROR, "%s: cannot open mouse device!\n", pInfo->name);
|
||||||
|
+ return FALSE;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ mouse->CommonOptions(pInfo);
|
||||||
|
+ pInfo->read_input = astralReadInput;
|
||||||
|
+ return true;
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+#define DEVPATH "/dev/mouse"
|
||||||
|
+
|
||||||
|
+static const char* getdevice(InputInfoPtr pInfo, const char* proto, int flag){
|
||||||
|
+
|
||||||
|
+ struct stat st;
|
||||||
|
+
|
||||||
|
+ if(stat(DEVPATH, &st) == -1)
|
||||||
|
+ return NULL;
|
||||||
|
+
|
||||||
|
+ pInfo->options = xf86AddNewOption(pInfo->options, "Device", DEVPATH);
|
||||||
|
+
|
||||||
|
+ return DEVPATH;
|
||||||
|
+
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+static int interfacesupport(){
|
||||||
|
+ return MSE_PS2;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+static const char* names[] = {
|
||||||
|
+ "AstralMouseDev", NULL
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+static const char** protonames(){
|
||||||
|
+ return names;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+static const char* defaultproto(){
|
||||||
|
+ return "AstralMouseDev";
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+static Bool isdefault(const char *protocol){
|
||||||
|
+ return strcmp(protocol, defaultproto()) == 0;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+OSMouseInfoPtr OSMouseInit(int flag){
|
||||||
|
+ OSMouseInfoPtr p;
|
||||||
|
+
|
||||||
|
+ p = calloc(sizeof(OSMouseInfoRec), 1);
|
||||||
|
+
|
||||||
|
+ if (!p)
|
||||||
|
+ return NULL;
|
||||||
|
+ p->SupportedInterfaces = interfacesupport;
|
||||||
|
+ p->BuiltinNames = protonames;
|
||||||
|
+ p->FindDevice = getdevice;
|
||||||
|
+ p->DefaultProtocol = defaultproto;
|
||||||
|
+ p->CheckProtocol = isdefault;
|
||||||
|
+ p->PreInit = astralPreInit;
|
||||||
|
+ return p;
|
||||||
|
+}
|
||||||
|
+
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
diff --git xf86-video-fbdev-clean/configure.ac xf86-video-fbdev-workdir/configure.ac
|
||||||
|
index 27778cd..4e53999 100644
|
||||||
|
--- xf86-video-fbdev-clean/configure.ac
|
||||||
|
+++ xf86-video-fbdev-workdir/configure.ac
|
||||||
|
@@ -55,11 +55,6 @@ AC_ARG_ENABLE(pciaccess, AS_HELP_STRING([--enable-pciaccess],
|
||||||
|
[Enable use of libpciaccess (default: disabled)]),
|
||||||
|
[PCIACCESS=$enableval], [PCIACCESS=no])
|
||||||
|
|
||||||
|
-# Store the list of server defined optional extensions in REQUIRED_MODULES
|
||||||
|
-XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
|
||||||
|
-XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
|
||||||
|
-XORG_DRIVER_CHECK_EXT(XV, videoproto)
|
||||||
|
-
|
||||||
|
# Obtain compiler/linker options for the driver dependencies
|
||||||
|
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES])
|
||||||
|
|
||||||
|
@@ -86,6 +81,8 @@ AC_SUBST([moduledir])
|
||||||
|
DRIVER_NAME=fbdev
|
||||||
|
AC_SUBST([DRIVER_NAME])
|
||||||
|
|
||||||
|
+AC_SUBST([SYSROOT])
|
||||||
|
+
|
||||||
|
AC_CONFIG_FILES([
|
||||||
|
Makefile
|
||||||
|
src/Makefile
|
||||||
|
diff --git xf86-video-fbdev-clean/src/Makefile.am xf86-video-fbdev-workdir/src/Makefile.am
|
||||||
|
index fbe420e..1ef5f49 100644
|
||||||
|
--- xf86-video-fbdev-clean/src/Makefile.am
|
||||||
|
+++ xf86-video-fbdev-workdir/src/Makefile.am
|
||||||
|
@@ -25,7 +25,7 @@
|
||||||
|
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
|
||||||
|
AM_CFLAGS = @XORG_CFLAGS@
|
||||||
|
fbdev_drv_la_LTLIBRARIES = fbdev_drv.la
|
||||||
|
-fbdev_drv_la_LDFLAGS = -module -avoid-version
|
||||||
|
+fbdev_drv_la_LDFLAGS = -module -avoid-version -R@moduledir@ -L@SYSROOT@@moduledir@ -lfbdevhw -lshadow
|
||||||
|
fbdev_drv_ladir = @moduledir@/drivers
|
||||||
|
|
||||||
|
fbdev_drv_la_SOURCES = \
|
||||||
|
diff --git xf86-video-fbdev-clean/src/fbdev.c xf86-video-fbdev-workdir/src/fbdev.c
|
||||||
|
index f25ef72..cc92cb1 100644
|
||||||
|
--- xf86-video-fbdev-clean/src/fbdev.c
|
||||||
|
+++ xf86-video-fbdev-workdir/src/fbdev.c
|
||||||
|
@@ -339,7 +339,7 @@ FBDevProbe(DriverPtr drv, int flags)
|
||||||
|
|
||||||
|
dev = xf86FindOptionValue(devSections[i]->options,"fbdev");
|
||||||
|
if (devSections[i]->busID) {
|
||||||
|
-#ifndef XSERVER_LIBPCIACCESS
|
||||||
|
+#if 0
|
||||||
|
if (xf86ParsePciBusString(devSections[i]->busID,&bus,&device,
|
||||||
|
&func)) {
|
||||||
|
if (!xf86CheckPciSlot(bus,device,func))
|
||||||
|
@@ -358,7 +358,7 @@ FBDevProbe(DriverPtr drv, int flags)
|
||||||
|
if (fbdevHWProbe(NULL,dev,NULL)) {
|
||||||
|
pScrn = NULL;
|
||||||
|
if (isPci) {
|
||||||
|
-#ifndef XSERVER_LIBPCIACCESS
|
||||||
|
+#if 0
|
||||||
|
/* XXX what about when there's no busID set? */
|
||||||
|
int entity;
|
||||||
|
|
||||||
|
@@ -444,6 +444,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags)
|
||||||
|
fPtr->pEnt = xf86GetEntityInfo(pScrn->entityList[0]);
|
||||||
|
|
||||||
|
#ifndef XSERVER_LIBPCIACCESS
|
||||||
|
+#if 0
|
||||||
|
pScrn->racMemFlags = RAC_FB | RAC_COLORMAP | RAC_CURSOR | RAC_VIEWPORT;
|
||||||
|
/* XXX Is this right? Can probably remove RAC_FB */
|
||||||
|
pScrn->racIoFlags = RAC_FB | RAC_COLORMAP | RAC_CURSOR | RAC_VIEWPORT;
|
||||||
|
@@ -454,6 +455,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags)
|
||||||
|
"xf86RegisterResources() found resource conflicts\n");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
#else
|
||||||
|
if (fPtr->pEnt->location.type == BUS_PCI)
|
||||||
|
pci_dev = fPtr->pEnt->location.id.pci;
|
||||||
|
@@ -1010,7 +1012,7 @@ FBDevScreenInit(SCREEN_INIT_ARGS_DECL)
|
||||||
|
fPtr->CloseScreen = pScreen->CloseScreen;
|
||||||
|
pScreen->CloseScreen = FBDevCloseScreen;
|
||||||
|
|
||||||
|
-#if XV
|
||||||
|
+#ifdef XV
|
||||||
|
{
|
||||||
|
XF86VideoAdaptorPtr *ptr;
|
||||||
|
|
||||||
@@ -0,0 +1,264 @@
|
|||||||
|
diff --git xorg-server-clean/hw/xfree86/common/xf86Bus.c xorg-server-workdir/hw/xfree86/common/xf86Bus.c
|
||||||
|
index fd144db..b232e27 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/common/xf86Bus.c
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/common/xf86Bus.c
|
||||||
|
@@ -556,6 +556,7 @@ xf86GetDevFromEntity(int entityIndex, int instance)
|
||||||
|
void
|
||||||
|
xf86PostProbe(void)
|
||||||
|
{
|
||||||
|
+#if 0
|
||||||
|
if (fbSlotClaimed && (
|
||||||
|
#if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__)
|
||||||
|
sbusSlotClaimed ||
|
||||||
|
@@ -571,6 +572,7 @@ xf86PostProbe(void)
|
||||||
|
))
|
||||||
|
FatalError("Cannot run in framebuffer mode. Please specify busIDs "
|
||||||
|
" for all framebuffer devices\n");
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
Bool
|
||||||
|
diff --git xorg-server-clean/hw/xfree86/common/xf86Config.c xorg-server-workdir/hw/xfree86/common/xf86Config.c
|
||||||
|
index 5d814c1..14ebfe6 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/common/xf86Config.c
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/common/xf86Config.c
|
||||||
|
@@ -49,6 +49,8 @@
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <grp.h>
|
||||||
|
|
||||||
|
+#include <sys/stat.h>
|
||||||
|
+
|
||||||
|
#include "xf86.h"
|
||||||
|
#include "xf86Modes.h"
|
||||||
|
#include "xf86Parser.h"
|
||||||
|
diff --git xorg-server-clean/hw/xfree86/common/xf86Configure.c xorg-server-workdir/hw/xfree86/common/xf86Configure.c
|
||||||
|
index 4347f6d..dc929f9 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/common/xf86Configure.c
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/common/xf86Configure.c
|
||||||
|
@@ -42,6 +42,8 @@
|
||||||
|
#include "misc.h"
|
||||||
|
#include "loaderProcs.h"
|
||||||
|
|
||||||
|
+#include <errno.h>
|
||||||
|
+
|
||||||
|
typedef struct _DevToConfig {
|
||||||
|
GDevRec GDev;
|
||||||
|
struct pci_device *pVideo;
|
||||||
|
diff --git xorg-server-clean/hw/xfree86/common/xf86Events.c xorg-server-workdir/hw/xfree86/common/xf86Events.c
|
||||||
|
index 395bbc7..4bf86cb 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/common/xf86Events.c
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/common/xf86Events.c
|
||||||
|
@@ -53,6 +53,8 @@
|
||||||
|
#include <xorg-config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include <errno.h>
|
||||||
|
+
|
||||||
|
#include <X11/X.h>
|
||||||
|
#include <X11/Xproto.h>
|
||||||
|
#include <X11/Xatom.h>
|
||||||
|
diff --git xorg-server-clean/hw/xfree86/common/xf86Helper.c xorg-server-workdir/hw/xfree86/common/xf86Helper.c
|
||||||
|
index 0389945..286f271 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/common/xf86Helper.c
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/common/xf86Helper.c
|
||||||
|
@@ -34,6 +34,8 @@
|
||||||
|
* different drivers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <sys/stat.h>
|
||||||
|
+
|
||||||
|
#ifdef HAVE_XORG_CONFIG_H
|
||||||
|
#include <xorg-config.h>
|
||||||
|
#endif
|
||||||
|
diff --git xorg-server-clean/hw/xfree86/common/xf86Init.c xorg-server-workdir/hw/xfree86/common/xf86Init.c
|
||||||
|
index 5695e71..c9230aa 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/common/xf86Init.c
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/common/xf86Init.c
|
||||||
|
@@ -34,6 +34,7 @@
|
||||||
|
#include <xorg-config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include <sys/stat.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
diff --git xorg-server-clean/hw/xfree86/fbdevhw/fbdevhw.c xorg-server-workdir/hw/xfree86/fbdevhw/fbdevhw.c
|
||||||
|
index 3d8b92e..31a0430 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/fbdevhw/fbdevhw.c
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/fbdevhw/fbdevhw.c
|
||||||
|
@@ -9,13 +9,10 @@
|
||||||
|
#include "xf86Modes.h"
|
||||||
|
#include "xf86_OSproc.h"
|
||||||
|
|
||||||
|
-/* pci stuff */
|
||||||
|
-#include "xf86Pci.h"
|
||||||
|
-
|
||||||
|
#include "xf86cmap.h"
|
||||||
|
|
||||||
|
#include "fbdevhw.h"
|
||||||
|
-#include "fbpriv.h"
|
||||||
|
+#include <linux/fb.h>
|
||||||
|
#include "globals.h"
|
||||||
|
#include <X11/extensions/dpmsconst.h>
|
||||||
|
|
||||||
|
@@ -259,6 +256,7 @@ fbdev2xfree_timing(struct fb_var_screeninfo *var, DisplayModePtr mode)
|
||||||
|
/**
|
||||||
|
* Try to find the framebuffer device for a given PCI device
|
||||||
|
*/
|
||||||
|
+#if 0
|
||||||
|
static int
|
||||||
|
fbdev_open_pci(struct pci_device *pPci, char **namep)
|
||||||
|
{
|
||||||
|
@@ -303,6 +301,7 @@ fbdev_open_pci(struct pci_device *pPci, char **namep)
|
||||||
|
xf86DrvMsg(-1, X_ERROR, "Unable to find a valid framebuffer device\n");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
static int
|
||||||
|
fbdev_open(int scrnIndex, const char *dev, char **namep)
|
||||||
|
@@ -328,7 +327,7 @@ fbdev_open(int scrnIndex, const char *dev, char **namep)
|
||||||
|
xf86DrvMsg(scrnIndex, X_ERROR, "open %s: %s\n", dev, strerror(errno));
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
-
|
||||||
|
+#if 0
|
||||||
|
/* only touch non-PCI devices on this path */
|
||||||
|
{
|
||||||
|
char buf[PATH_MAX] = {0};
|
||||||
|
@@ -344,7 +343,7 @@ fbdev_open(int scrnIndex, const char *dev, char **namep)
|
||||||
|
}
|
||||||
|
free(sysfs_path);
|
||||||
|
}
|
||||||
|
-
|
||||||
|
+#endif
|
||||||
|
if (namep) {
|
||||||
|
if (-1 == ioctl(fd, FBIOGET_FSCREENINFO, (void *) (&fix))) {
|
||||||
|
*namep = NULL;
|
||||||
|
@@ -363,14 +362,10 @@ fbdev_open(int scrnIndex, const char *dev, char **namep)
|
||||||
|
/* -------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
Bool
|
||||||
|
-fbdevHWProbe(struct pci_device *pPci, char *device, char **namep)
|
||||||
|
+fbdevHWProbe(void* pPci, char *device, char **namep)
|
||||||
|
{
|
||||||
|
- int fd;
|
||||||
|
-
|
||||||
|
- if (pPci)
|
||||||
|
- fd = fbdev_open_pci(pPci, namep);
|
||||||
|
- else
|
||||||
|
- fd = fbdev_open(-1, device, namep);
|
||||||
|
+
|
||||||
|
+ int fd = fbdev_open(-1, device, namep);
|
||||||
|
|
||||||
|
if (-1 == fd)
|
||||||
|
return FALSE;
|
||||||
|
@@ -379,7 +374,7 @@ fbdevHWProbe(struct pci_device *pPci, char *device, char **namep)
|
||||||
|
}
|
||||||
|
|
||||||
|
Bool
|
||||||
|
-fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device *pPci, char *device)
|
||||||
|
+fbdevHWInit(ScrnInfoPtr pScrn, void *pPci, char *device)
|
||||||
|
{
|
||||||
|
fbdevHWPtr fPtr;
|
||||||
|
|
||||||
|
@@ -387,10 +382,9 @@ fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device *pPci, char *device)
|
||||||
|
fPtr = FBDEVHWPTR(pScrn);
|
||||||
|
|
||||||
|
/* open device */
|
||||||
|
- if (pPci)
|
||||||
|
- fPtr->fd = fbdev_open_pci(pPci, NULL);
|
||||||
|
- else
|
||||||
|
- fPtr->fd = fbdev_open(pScrn->scrnIndex, device, NULL);
|
||||||
|
+
|
||||||
|
+ fPtr->fd = fbdev_open(pScrn->scrnIndex, device, NULL);
|
||||||
|
+
|
||||||
|
if (-1 == fPtr->fd) {
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
||||||
|
"Failed to open framebuffer device, consult warnings"
|
||||||
|
diff --git xorg-server-clean/hw/xfree86/fbdevhw/fbdevhw.h xorg-server-workdir/hw/xfree86/fbdevhw/fbdevhw.h
|
||||||
|
index 4984ccf..bb3e2f8 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/fbdevhw/fbdevhw.h
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/fbdevhw/fbdevhw.h
|
||||||
|
@@ -16,9 +16,9 @@ extern _X_EXPORT void fbdevHWFreeRec(ScrnInfoPtr pScrn);
|
||||||
|
|
||||||
|
extern _X_EXPORT int fbdevHWGetFD(ScrnInfoPtr pScrn);
|
||||||
|
|
||||||
|
-extern _X_EXPORT Bool fbdevHWProbe(struct pci_device *pPci, char *device,
|
||||||
|
+extern _X_EXPORT Bool fbdevHWProbe(void *pPci, char *device,
|
||||||
|
char **namep);
|
||||||
|
-extern _X_EXPORT Bool fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device *pPci,
|
||||||
|
+extern _X_EXPORT Bool fbdevHWInit(ScrnInfoPtr pScrn, void *pPci,
|
||||||
|
char *device);
|
||||||
|
|
||||||
|
extern _X_EXPORT char *fbdevHWGetName(ScrnInfoPtr pScrn);
|
||||||
|
diff --git xorg-server-clean/hw/xfree86/os-support/shared/posix_tty.c xorg-server-workdir/hw/xfree86/os-support/shared/posix_tty.c
|
||||||
|
index 0cb9788..d6df170 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/os-support/shared/posix_tty.c
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/os-support/shared/posix_tty.c
|
||||||
|
@@ -56,6 +56,8 @@
|
||||||
|
#include <xorg-config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include <termios.h>
|
||||||
|
+#include <errno.h>
|
||||||
|
#include <X11/X.h>
|
||||||
|
#include <xserver_poll.h>
|
||||||
|
#include "xf86.h"
|
||||||
|
diff --git xorg-server-clean/hw/xfree86/os-support/shared/sigio.c xorg-server-workdir/hw/xfree86/os-support/shared/sigio.c
|
||||||
|
index ad8af60..88eb52f 100644
|
||||||
|
--- xorg-server-clean/hw/xfree86/os-support/shared/sigio.c
|
||||||
|
+++ xorg-server-workdir/hw/xfree86/os-support/shared/sigio.c
|
||||||
|
@@ -56,6 +56,8 @@
|
||||||
|
#include <xorg-config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include <sys/stat.h>
|
||||||
|
+#include <errno.h>
|
||||||
|
#include <X11/X.h>
|
||||||
|
#include <xserver_poll.h>
|
||||||
|
#include "xf86.h"
|
||||||
|
diff --git xorg-server-clean/include/os.h xorg-server-workdir/include/os.h
|
||||||
|
index bb3348b..aac6cce 100644
|
||||||
|
--- xorg-server-clean/include/os.h
|
||||||
|
+++ xorg-server-workdir/include/os.h
|
||||||
|
@@ -51,6 +51,9 @@ SOFTWARE.
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
+#ifdef __astral__
|
||||||
|
+#include <strings.h>
|
||||||
|
+#endif
|
||||||
|
#ifdef MONOTONIC_CLOCK
|
||||||
|
#include <time.h>
|
||||||
|
#endif
|
||||||
|
diff --git xorg-server-clean/os/access.c xorg-server-workdir/os/access.c
|
||||||
|
index b170304..53b90c5 100644
|
||||||
|
--- xorg-server-clean/os/access.c
|
||||||
|
+++ xorg-server-workdir/os/access.c
|
||||||
|
@@ -116,7 +116,7 @@ SOFTWARE.
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#if defined(SVR4) || (defined(SYSV) && defined(__i386__)) || defined(__GNU__)
|
||||||
|
+#if defined(SVR4) || (defined(SYSV) && defined(__i386__)) || defined(__GNU__) || defined(__astral__)
|
||||||
|
#include <sys/utsname.h>
|
||||||
|
#endif
|
||||||
|
#if defined(SYSV) && defined(__i386__)
|
||||||
|
diff --git xorg-server-clean/os/ospoll.c xorg-server-workdir/os/ospoll.c
|
||||||
|
index c68aabc..e74fdbe 100644
|
||||||
|
--- xorg-server-clean/os/ospoll.c
|
||||||
|
+++ xorg-server-workdir/os/ospoll.c
|
||||||
|
@@ -45,12 +45,6 @@
|
||||||
|
#define HAVE_OSPOLL 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#if !HAVE_OSPOLL && defined(HAVE_EPOLL_CREATE1)
|
||||||
|
-#include <sys/epoll.h>
|
||||||
|
-#define EPOLL 1
|
||||||
|
-#define HAVE_OSPOLL 1
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#if !HAVE_OSPOLL
|
||||||
|
#include "xserver_poll.h"
|
||||||
|
#define POLL 1
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
diff --git xorgproto-clean/include/X11/Xfuncs.h xorgproto-workdir/include/X11/Xfuncs.h
|
||||||
|
index b23c283..82c856c 100644
|
||||||
|
--- xorgproto-clean/include/X11/Xfuncs.h
|
||||||
|
+++ xorgproto-workdir/include/X11/Xfuncs.h
|
||||||
|
@@ -44,7 +44,7 @@ void bcopy();
|
||||||
|
# define bcmp(b1,b2,len) memcmp(b1, b2, len)
|
||||||
|
# else
|
||||||
|
# include <string.h>
|
||||||
|
-# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__)
|
||||||
|
+# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__astral__)
|
||||||
|
# include <strings.h>
|
||||||
|
# endif
|
||||||
|
# define _XFUNCS_H_INCLUDED_STRING_H
|
||||||
|
diff --git xorgproto-clean/include/X11/Xos.h xorgproto-workdir/include/X11/Xos.h
|
||||||
|
index 28dfc67..f46490a 100644
|
||||||
|
--- xorgproto-clean/include/X11/Xos.h
|
||||||
|
+++ xorgproto-workdir/include/X11/Xos.h
|
||||||
|
@@ -60,7 +60,7 @@ in this Software without prior written authorization from The Open Group.
|
||||||
|
*/
|
||||||
|
|
||||||
|
# include <string.h>
|
||||||
|
-# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__)
|
||||||
|
+# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__astral__)
|
||||||
|
# include <strings.h>
|
||||||
|
# else
|
||||||
|
# ifndef index
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=ace-of-penguins
|
||||||
|
revision=1
|
||||||
|
from_source=ace-of-penguins
|
||||||
|
imagedeps="meson ninja base-devel libpng"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 libxpm libpng zlib"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=fontconfig
|
||||||
|
revision=1
|
||||||
|
from_source=fontconfig
|
||||||
|
imagedeps="base-devel python3 gperf"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc freetype libexpat"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=fontutil
|
||||||
|
revision=1
|
||||||
|
from_source=fontutil
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros"
|
||||||
|
deps="mlibc xorgproto"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=freetype
|
||||||
|
revision=1
|
||||||
|
from_source=freetype
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libXau
|
||||||
|
revision=1
|
||||||
|
from_source=libXau
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorgproto"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||||
|
make -j ${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libXdmcp
|
||||||
|
revision=1
|
||||||
|
from_source=libXdmcp
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorgproto"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||||
|
make -j ${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libexpat
|
||||||
|
revision=1
|
||||||
|
from_source=libexpat
|
||||||
|
imagedeps="base-devel python3"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
name=libfontenc
|
||||||
|
revision=1
|
||||||
|
from_source=libfontenc
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros"
|
||||||
|
deps="mlibc zlib xorgproto"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
name=libgcrypt
|
||||||
|
revision=1
|
||||||
|
from_source=libgcrypt
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||||
|
deps="mlibc libgpg-error"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-doc \
|
||||||
|
--disable-dev-random \
|
||||||
|
--disable-asm \
|
||||||
|
--with-libgpg-error-prefix=${sysroot_dir}/${prefix}
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libgpg-error
|
||||||
|
revision=1
|
||||||
|
from_source=libgpg-error
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig libtool"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name=libice
|
||||||
|
revision=1
|
||||||
|
from_source=libice
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11"
|
||||||
|
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libpng
|
||||||
|
revision=1
|
||||||
|
from_source=libpng
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="xgcc xbinutils"
|
||||||
|
deps="mlibc zlib"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR="${dest_dir}"
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libsm
|
||||||
|
revision=1
|
||||||
|
from_source=libsm
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros"
|
||||||
|
deps="mlibc xorgproto libx11 libice"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name=libx11
|
||||||
|
revision=1
|
||||||
|
from_source=libx11
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorgproto xtrans libxcb"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-malloc0returnsnull
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} make install
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxaw
|
||||||
|
revision=1
|
||||||
|
from_source=libxaw
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 libxt libxext libxmu libxpm"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxcb
|
||||||
|
revision=1
|
||||||
|
from_source=libxcb
|
||||||
|
imagedeps="python gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros libtool autoconf automake"
|
||||||
|
deps="mlibc xorgproto libXau libXdmcp xcb-proto"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static --with-sysroot=${sysroot_dir}
|
||||||
|
make -j ${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxcursor
|
||||||
|
revision=1
|
||||||
|
from_source=libxcursor
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libxrender libxfixes libx11"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} make install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxcvt
|
||||||
|
revision=1
|
||||||
|
from_source=libxcvt
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
meson --cross-file=${base_dir}/util/crossfile --prefix=${prefix} ${source_dir}
|
||||||
|
ninja
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} ninja install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxdamage
|
||||||
|
revision=1
|
||||||
|
from_source=libxdamage
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 libxfixes"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxext
|
||||||
|
revision=1
|
||||||
|
from_source=libxext
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxfixes
|
||||||
|
revision=1
|
||||||
|
from_source=libxfixes
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxfont2
|
||||||
|
revision=1
|
||||||
|
from_source=libxfont2
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorgproto freetype zlib xtrans libfontenc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-malloc0returnsnull
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} make install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxft
|
||||||
|
revision=1
|
||||||
|
from_source=libxft
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 libxt libxrender freetype fontconfig"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxi
|
||||||
|
revision=1
|
||||||
|
from_source=libxi
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 libxext libxfixes"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxinerama
|
||||||
|
revision=1
|
||||||
|
from_source=libxinerama
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros"
|
||||||
|
deps="mlibc xorgproto libx11 libxext"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-malloc0returnsnull
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} make install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxmu
|
||||||
|
revision=1
|
||||||
|
from_source=libxmu
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 libxt libxext"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxpm
|
||||||
|
revision=1
|
||||||
|
from_source=libxpm
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 libxt libxext libxmu libxrender"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxrandr
|
||||||
|
revision=1
|
||||||
|
from_source=libxrandr
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros"
|
||||||
|
deps="mlibc libx11 xorgproto util-macros libxext libxrender"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-malloc0returnsnull
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxrender
|
||||||
|
revision=1
|
||||||
|
from_source=libxrender
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=libxt
|
||||||
|
revision=1
|
||||||
|
from_source=libxt
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros"
|
||||||
|
deps="mlibc xorgproto libx11 libice libsm"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=pixman
|
||||||
|
revision=1
|
||||||
|
from_source=pixman
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
meson --cross-file=${base_dir}/util/crossfile --prefix=${prefix} ${source_dir}
|
||||||
|
ninja
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} ninja install
|
||||||
|
}
|
||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
name=twm
|
||||||
|
revision=1
|
||||||
|
from_source=twm
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorg-server xsetroot"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=util-macros
|
||||||
|
revision=1
|
||||||
|
from_source=util-macros
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||||
|
make -j ${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
name=xbitmaps
|
||||||
|
revision=1
|
||||||
|
from_source=xbitmaps
|
||||||
|
imagedeps="meson base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xcb-proto
|
||||||
|
revision=1
|
||||||
|
from_source=xcb-proto
|
||||||
|
imagedeps="base-devel python3"
|
||||||
|
hostdeps="xgcc xbinutils"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
PYTHON=python3 ${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||||
|
make -j ${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xclock
|
||||||
|
revision=1
|
||||||
|
from_source=xclock
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorg-server libxmu libxaw libxft"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xedit
|
||||||
|
revision=1
|
||||||
|
from_source=xedit
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 xorgproto libxt libxaw libxmu"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
name=xev
|
||||||
|
revision=1
|
||||||
|
from_source=xev
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 xorgproto libxrandr"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xeyes
|
||||||
|
revision=1
|
||||||
|
from_source=xeyes
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorg-server libxt libxmu libxext libxi libxrender"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xf86-input-keyboard
|
||||||
|
revision=1
|
||||||
|
from_source=xf86-input-keyboard
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig automake autoconf util-macros libtool"
|
||||||
|
deps="mlibc xorg-server"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
SYSROOT=${sysroot_dir} ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xf86-input-mouse
|
||||||
|
revision=1
|
||||||
|
from_source=xf86-input-mouse
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig automake autoconf util-macros libtool"
|
||||||
|
deps="mlibc xorg-server"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
SYSROOT=${sysroot_dir} ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-static
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xf86-video-fbdev
|
||||||
|
revision=1
|
||||||
|
from_source=xf86-video-fbdev
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig automake autoconf util-macros libtool"
|
||||||
|
deps="mlibc xorg-server"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
SYSROOT=${sysroot_dir} ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-static --disable-pciaccess
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xkbcomp
|
||||||
|
revision=1
|
||||||
|
from_source=xkbcomp
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig automake autoconf util-macros libtool"
|
||||||
|
deps="mlibc libxcb xcb-proto xkbfile"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xkbfile
|
||||||
|
revision=1
|
||||||
|
from_source=xkbfile
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorgproto libx11"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} make install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xkeyboardconfig
|
||||||
|
revision=1
|
||||||
|
from_source=xkeyboardconfig
|
||||||
|
imagedeps="gcc meson ninja"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig automake autoconf util-macros libtool"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} ${source_dir}
|
||||||
|
ninja
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} ninja install
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name=xorg-server
|
||||||
|
revision=1
|
||||||
|
from_source=xorg-server
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig autoconf automake libtool pkgconfig util-macros fontutil xtrans"
|
||||||
|
deps="mlibc libxcvt pixman xorgproto xtrans xkbfile libxfont2 fontutil libgcrypt freetype xkeyboardconfig xkbcomp libxi libxrender libxcb libxext pixman libxdamage"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-pciaccess --disable-libdrm --disable-glx --disable-int10-module --disable-glamor --disable-vgahw --disable-dri3 --disable-dri2 --disable-dri --disable-xephyr --disable-xwayland --disable-xnest --disable-dmx
|
||||||
|
make -j${parallelism}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name=xorgproto
|
||||||
|
revision=1
|
||||||
|
from_source=xorgproto
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
meson --cross-file=${base_dir}/util/crossfile --prefix=${prefix} -Dlegacy=true ${source_dir}
|
||||||
|
ninja
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} ninja install
|
||||||
|
rm -v ${dest_dir}/${prefix}/include/X11/extensions/XKBgeom.h # installed by libx11
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xrandr
|
||||||
|
revision=1
|
||||||
|
from_source=xrandr
|
||||||
|
imagedeps="gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorgproto libx11 libxrandr"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xsetroot
|
||||||
|
revision=1
|
||||||
|
from_source=xsetroot
|
||||||
|
imagedeps="meson ninja base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc xorg-server libxmu xbitmaps libxcursor"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name=xtrans
|
||||||
|
revision=1
|
||||||
|
from_source=xtrans
|
||||||
|
imagedeps="meson ninja gcc"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR=${dest_dir} make install
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=ace-of-penguins
|
||||||
|
version=1.4
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.delorie.com/store/ace/ace-1.4.tar.gz"
|
||||||
|
tarball_sha512=cd382db95dc17d75a76809c7f1e096e14f5863c1166aa5db7f93204ce949a9ed21979212946b9d3a09667f4a93b30f4cc44a220940f9b5dd8996f28ecb4a6dcc
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=fontconfig
|
||||||
|
version=2.14.0
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz"
|
||||||
|
tarball_sha512="a5257249d031b3cd1a7b1521cd58f48d235a970020da4136a727db5407ec98e74a3776bc467d7e39f30ec664f56ff9fe39068317744a5e737a65109f7a005bfc"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=fontutil
|
||||||
|
version=1.3.3
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive//individual/font/font-util-${version}.tar.xz"
|
||||||
|
tarball_sha512="5e1cb8af44fe0bea72b1a6a4e455f50ca49b7531c2f4b605800c0b2b7578b9826ccf17fa195c505ab1d6339fd4ad697c01ba3b9777616f354ab62b23434d47c9"
|
||||||
|
hostdeps="automake autoconf libtool pkgconfig util-macros"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
name=freetype
|
||||||
|
version=2.12.1
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://downloads.sourceforge.net/freetype/freetype-${version}.tar.xz"
|
||||||
|
tarball_sha512="6482de1748dc2cc01e033d21a3b492dadb1f039d13d9179685fdcf985e24d7f587cbca4c27ed8a7fdb7d9ad59612642ac5f4db062443154753295363f45c052f"
|
||||||
|
hostdeps="autoconf automake libtool pkgconfig"
|
||||||
|
regenerate() {
|
||||||
|
./autogen.sh
|
||||||
|
cp /usr/local/share/automake-*/config.sub builds/unix/
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libXau
|
||||||
|
version=1.0.9
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/pub/individual/lib/libXau-${version}.tar.bz2"
|
||||||
|
tarball_sha512="3ca454ba466a807ea28b0f715066d73dc76ad312697b121d43e4d5766215052e9b7ffb8fe3ed3e496fa3f2a13f164ac692ff85cc428e26731b679f0f06a1d562"
|
||||||
|
hostdeps="autoconf automake pkgconfig xorgproto libtool util-macros"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libXdmcp
|
||||||
|
version=1.1.3
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/pub/individual/lib/libXdmcp-${version}.tar.bz2"
|
||||||
|
tarball_sha512="cb1d4650f97d66e73acd2465ec7d757b9b797cce2f85e301860a44997a461837eea845ec9bd5b639ec5ca34c804f8bdd870697a5ce3f4e270b687c9ef74f25ec"
|
||||||
|
hostdeps="autoconf automake libtool pkgconfig xorgproto util-macros"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libexpat
|
||||||
|
version=2.4.9
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://github.com/libexpat/libexpat/releases/download/R_2_4_9/expat-${version}.tar.xz"
|
||||||
|
tarball_sha512="8508379b4915d84d50f3638678a90792179c98247d1cb5e6e6387d117af4dc148ac7031c1debea8b96e7b710ef436cf0dd5da91f3d22b8186a00cfafe1201169"
|
||||||
|
hostdeps="autoconf automake pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
name=libfontenc
|
||||||
|
version=1.1.6
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libfontenc-${version}.tar.gz"
|
||||||
|
tarball_sha512="0fec921d23ef6680b563f37bebc63d9a70a8d9adfe158c31e62cbb2cacb55086fd55932c146a9b3a758725f0130bd649979b100e8a631b64aa453121a9e2beef"
|
||||||
|
imagedeps="xorg-font-util"
|
||||||
|
hostdeps="autoconf automake libtool pkgconfig util-macros fontutil"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi --verbose && libtoolize -cvf
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libgcrypt
|
||||||
|
version=1.10.1
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2"
|
||||||
|
tarball_sha512="e5ca7966624fff16c3013795836a2c4377f0193dbb4ac5ad2b79654b1fa8992e17d83816569a402212dc8367a7980d4141f5d6ac282bae6b9f02186365b61f13"
|
||||||
|
hostdeps="libtool automake autoconf pkgconfig"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libgpg-error
|
||||||
|
version=1.45
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${version}.tar.bz2"
|
||||||
|
tarball_sha512="882f2dd617e89137d7a9d61b60488dac32321dd4fdb699e9687b6bd9380c056c027da502837f4482289c0fe00e7de01210e804428f05a0843ae2ca23fdcc6457"
|
||||||
|
hostdeps="automake autoconf pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libice
|
||||||
|
version=1.0.10
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libICE-${version}.tar.gz"
|
||||||
|
tarball_sha512="2d4757f7325eb01180b5d7433cc350eb9606bd3afe82dabc8aa164feda75ef03a0624d74786e655c536c24a80d0ccb2f1e3ecbb04d3459b23f85455006ca8a91"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libpng
|
||||||
|
version=1.6.37
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://downloads.sourceforge.net/libpng/libpng-${version}.tar.xz"
|
||||||
|
tarball_sha512=59e8c1059013497ae616a14c3abbe239322d3873c6ded0912403fc62fb260561768230b6ab997e2cccc3b868c09f539fd13635616b9fa0dd6279a3f63ec7e074
|
||||||
|
hostdeps="autoconf automake libtool pkgconfig"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -vfi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libsm
|
||||||
|
version=1.2.3
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libSM-${version}.tar.gz"
|
||||||
|
tarball_sha512="03b77d86b33cdb3df4f9d65131a0025182f3cb0c17b33a90d236e8563b3011d225b9d006186302d07850edafa5b899aec6a086b8d437d357cd69fedd5f22d94b"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libx11
|
||||||
|
version=1.8.1
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libX11-${version}.tar.gz"
|
||||||
|
tarball_sha512="ac73ff99abfc13a0b8d04e3e4fde2a3b97813120c73c4dbf57e0ec56bbde8cd0272f1c09f417f10561f57def22878509adced897ebb2adfc1cb0d30385ee9396"
|
||||||
|
hostdeps="xorgproto autoconf automake libtool pkgconfig util-macros xtrans"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxaw
|
||||||
|
version=1.0.14
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXaw-${version}.tar.gz"
|
||||||
|
tarball_sha512="1205481443627b428f6c447a3926a060af30440badc401ca8d209849faef21ce967cf7f26ab452b47a64071980f9892cce83b2d70db0c2b7d6cabf838ab93884"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxcb
|
||||||
|
version=1.15
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://xorg.freedesktop.org/archive/individual/lib/libxcb-${version}.tar.xz"
|
||||||
|
tarball_sha512="f6c7d766b7cf9cab6abe948ee424cbae6951dbfe2f76fa58a109cdc05b0f0919dcc4e38176a22ff4b95fc1e38596115317e32ba33b24cae0035a4e30dbcbdad9"
|
||||||
|
hostdeps="automake autoconf xorgproto util-macros libtool pkgconfig xtrans"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -vfi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxcursor
|
||||||
|
version=1.2.1
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXcursor-${version}.tar.gz"
|
||||||
|
tarball_sha512="381c8762b5aa0dedb610e563bc595f901ec06eac0da832be4829f413869ce5092b47b33c2059d816e29dc525e5615358add98c305b9bda63c5ffac8b52b2e287"
|
||||||
|
hostdeps="autoconf automake libtool pkgconfig util-macros"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
name=libxcvt
|
||||||
|
version=0.1.2
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/pub/individual/lib/libxcvt-${version}.tar.xz"
|
||||||
|
tarball_sha512="3f6b2baca712a4608780686932f8881255c07bb74b1a788f9b07d4e22975c038d75111cd6b452257882a0b2bad57eebb2002f80a3e435d2e2d16936597f039b0"
|
||||||
|
regenerate() {
|
||||||
|
true
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxdamage
|
||||||
|
version=1.1.5
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXdamage-${version}.tar.gz"
|
||||||
|
tarball_sha512="fe0bdf86f2bddd3dddd4362e9c83c6cbb894f9384cab41b76a9e6a7e1da1d1187dcb4339868b429dc7ddbf69df86c880b4e2ce6b0fe2f9124ad43dfbde45ed59"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxext
|
||||||
|
version=1.3.4
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXext-${version}.tar.gz"
|
||||||
|
tarball_sha512="4eebd639fd57cb9b84a1e17e368f82fbf3d9f021eef5ad3fe31dd128500db57862a82c1e0d214d447cb7641b2be3fd7e949ee1196f2a482793c6628fb1e5cd70"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxfixes
|
||||||
|
version=6.0.0
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXfixes-${version}.tar.gz"
|
||||||
|
tarball_sha512="422ff6aa6dddbb5d790ddf351b12556d37312d67b3adc8c276fb507b8278703b30841f81e526f119b9ab53a3bb8c7c5a742a43826287110ef5417dd84f01348a"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxfont2
|
||||||
|
version=2.0.6
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXfont2-${version}.tar.gz"
|
||||||
|
tarball_sha512="58b51281e930b1b99f2eee7edbbc08e5bd34b135dd2ac145d600181557e1a465b3d65fdaae7b964fc39a6e7ad09a0b7cc7026a4c013ef7ff1cdce094723eedac"
|
||||||
|
hostdeps="autoconf automake libtool pkgconfig util-macros"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -vfi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxft
|
||||||
|
version=2.3.6
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXft-${version}.tar.gz"
|
||||||
|
tarball_sha512="291bec2cc297a6e39baff5c2dec37017f37f97b438468a6d6b66f496a9987936da6ee2e3ace77e4527d8c5fd09e1dd731b2f042fa74880f667b8a03a913512d2"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxi
|
||||||
|
version=1.8
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXi-${version}.tar.gz"
|
||||||
|
tarball_sha512="98b65084065cb28395cbd75213d7b52ac857840237d544714cf3cbddba6f940f93dd5846546365613da02fd5b4cd8c5be01ef2ac34b2503e500ea189e3c81005"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxinerama
|
||||||
|
version=1.1.4
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXinerama-${version}.tar.gz"
|
||||||
|
tarball_sha512="fa2cc45214cc591da8867dcd7e332312e8d224c390912dc8580f8b15c3c9d8ffc797eee97c20263faf129fbfc6b0d931b6bf10dc04b8ec439b852451886eba75"
|
||||||
|
hostdeps="autoconf automake libtool pkgconfig util-macros xtrans"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxmu
|
||||||
|
version=1.1.4
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXmu-${version}.tar.xz"
|
||||||
|
tarball_sha512="3cf90cb3ff380aafefbb39297bdd95b9e1e6d6618cecb53ff09faf38f9b9c54599d28367f07a9ec77a20214c6c3e661b8d0a12b38082556790a79a59942039c1"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxpm
|
||||||
|
version=3.5.13
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXpm-${version}.tar.gz"
|
||||||
|
tarball_sha512="faf9c75f969da2738ab01b7a28c85ad2bb42a4421509769b56ef9ddaabb0eacb1b06553cfcb1daa03d7fdceb1d3a7c5eee078c3bc3f5e3902fec41b82d3f8d82"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxrandr
|
||||||
|
version=1.5.2
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/pub/individual/lib/libXrandr-${version}.tar.gz"
|
||||||
|
tarball_sha512="309df91127ae17d8bb5a4382b22d1cf788733775dfddcb7932b3edb6f4121728daa7bba1e95ee5e250b2f8b03907a2564dcb3d645d7a5ef6314d0d7b09bac75d"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxrender
|
||||||
|
version=0.9.11
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXrender-${version}.tar.gz"
|
||||||
|
tarball_sha512="48b490f707f39a33b4a408610cababfa45c0942441cc55da9278323791344e8eded1d730f4b003e655e718467964808ef0673df4f74408937e45a7375c7861c4"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxt
|
||||||
|
version=1.2.1
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXt-${version}.tar.gz"
|
||||||
|
tarball_sha512="73c2fd8a6590ab5ee93cf646e4f41fb71d424961ecbf9bc13c68abdf539c63ab0c59a4d3b22195ba21859523f4cf0e937648424532794a1350a5891061096503"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
name=pixman
|
||||||
|
version=0.40.0
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.cairographics.org/releases/pixman-${version}.tar.gz"
|
||||||
|
tarball_sha512="063776e132f5d59a6d3f94497da41d6fc1c7dca0d269149c78247f0e0d7f520a25208d908cf5e421d1564889a91da44267b12d61c0bd7934cd54261729a7de5f"
|
||||||
|
regenerate() {
|
||||||
|
true
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=twm
|
||||||
|
version=1.0.12
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/pub/individual/app/twm-${version}.tar.xz"
|
||||||
|
tarball_sha512="f3d68df7e06516f6b74f19181efcfd9db2479c8ea0c72c3a6ed0dc1b222405b40d81a2dea17b662955e0c1783e87d0d3eb067c3b6e7c6eed8c0d38d03d362260"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
name=util-macros
|
||||||
|
version=1.19.3
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/pub/individual/util/util-macros-${version}.tar.bz2"
|
||||||
|
tarball_sha512="b9c7398a912c688a782eab5b1e0f6da2df11a430775c5c98fc3269f73a665de6eeb60d300a849e38d345714a6e51f74e9334cb6039767304cca4b93d823a53a2"
|
||||||
|
regenerate() {
|
||||||
|
true
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=xbitmaps
|
||||||
|
version=1.1.2
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/pub/individual/data/xbitmaps-${version}.tar.bz2"
|
||||||
|
tarball_sha512="eed5e2fce9fc6c532984e6ed1262e440591e311ca6c61a7fe7a5c877df84bfc2d7aff388fb9c894fc098785b8e5352f0bd7c918252247a040cf123874847450d"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user