From ed2c9ca8f60a5543e152e2e90962a6c3c5575602 Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 24 Oct 2022 20:58:23 -0300 Subject: [PATCH] jinx: a BUNCH of ports related to xorg and the build system --- distro-files/etc/xorg.conf | 8 + host-recipes/fontutil | 23 +++ host-recipes/libtool | 24 +++ host-recipes/pkgconfig | 35 +++++ host-recipes/util-macros | 24 +++ host-recipes/xorgproto | 23 +++ host-recipes/xtrans | 24 +++ patches/fontconfig/jinx-working-patch.patch | 13 ++ patches/libgpg-error/jinx-working-patch.patch | 31 ++++ patches/libtool/jinx-working-patch.patch | 138 ++++++++++++++++++ patches/libxcb/jinx-working-patch.patch | 12 ++ patches/xclock/jinx-working-patch.patch | 26 ++++ patches/xorgproto/jinx-working-patch.patch | 13 ++ recipes/fontconfig | 24 +++ recipes/fontutil | 24 +++ recipes/freetype | 24 +++ recipes/libXau | 24 +++ recipes/libXdmcp | 24 +++ recipes/libexpat | 24 +++ recipes/libfontenc | 24 +++ recipes/libgcrypt | 29 ++++ recipes/libgpg-error | 24 +++ recipes/libice | 24 +++ recipes/libsm | 24 +++ recipes/libx11 | 24 +++ recipes/libxaw | 24 +++ recipes/libxcb | 24 +++ recipes/libxcvt | 24 +++ recipes/libxdamage | 24 +++ recipes/libxext | 24 +++ recipes/libxfixes | 24 +++ recipes/libxfont2 | 24 +++ recipes/libxft | 24 +++ recipes/libxi | 24 +++ recipes/libxmu | 24 +++ recipes/libxpm | 24 +++ recipes/libxrender | 24 +++ recipes/libxt | 24 +++ recipes/pixman | 24 +++ recipes/xcb-proto | 24 +++ recipes/xclock | 24 +++ recipes/xeyes | 24 +++ recipes/xkbcomp | 24 +++ recipes/xkbfile | 24 +++ recipes/xkeyboardconfig | 24 +++ recipes/xorgproto | 24 +++ recipes/xtrans | 24 +++ recipes/zlib | 24 +++ source-recipes/fontconfig | 9 ++ source-recipes/fontutil | 9 ++ source-recipes/freetype | 10 ++ source-recipes/libXau | 9 ++ source-recipes/libXdmcp | 9 ++ source-recipes/libexpat | 9 ++ source-recipes/libfontenc | 10 ++ source-recipes/libgcrypt | 9 ++ source-recipes/libgpg-error | 9 ++ source-recipes/libice | 9 ++ source-recipes/libsm | 9 ++ source-recipes/libtool | 13 ++ source-recipes/libx11 | 9 ++ source-recipes/libxaw | 9 ++ source-recipes/libxcb | 9 ++ source-recipes/libxcvt | 8 + source-recipes/libxdamage | 9 ++ source-recipes/libxext | 9 ++ source-recipes/libxfixes | 9 ++ source-recipes/libxfont2 | 9 ++ source-recipes/libxft | 9 ++ source-recipes/libxi | 9 ++ source-recipes/libxmu | 9 ++ source-recipes/libxpm | 9 ++ source-recipes/libxrender | 9 ++ source-recipes/libxt | 9 ++ source-recipes/pixman | 8 + source-recipes/pkgconfig | 10 ++ source-recipes/util-macros | 8 + source-recipes/xcb-proto | 8 + source-recipes/xclock | 9 ++ source-recipes/xeyes | 9 ++ source-recipes/xkbcomp | 9 ++ source-recipes/xkbfile | 9 ++ source-recipes/xkeyboardconfig | 11 ++ source-recipes/xorgproto | 8 + source-recipes/xtrans | 9 ++ source-recipes/zlib | 8 + 86 files changed, 1584 insertions(+) create mode 100644 distro-files/etc/xorg.conf create mode 100644 host-recipes/fontutil create mode 100644 host-recipes/libtool create mode 100644 host-recipes/pkgconfig create mode 100644 host-recipes/util-macros create mode 100644 host-recipes/xorgproto create mode 100644 host-recipes/xtrans create mode 100644 patches/fontconfig/jinx-working-patch.patch create mode 100644 patches/libgpg-error/jinx-working-patch.patch create mode 100644 patches/libtool/jinx-working-patch.patch create mode 100644 patches/libxcb/jinx-working-patch.patch create mode 100644 patches/xclock/jinx-working-patch.patch create mode 100644 patches/xorgproto/jinx-working-patch.patch create mode 100644 recipes/fontconfig create mode 100644 recipes/fontutil create mode 100644 recipes/freetype create mode 100644 recipes/libXau create mode 100644 recipes/libXdmcp create mode 100644 recipes/libexpat create mode 100644 recipes/libfontenc create mode 100644 recipes/libgcrypt create mode 100644 recipes/libgpg-error create mode 100644 recipes/libice create mode 100644 recipes/libsm create mode 100644 recipes/libx11 create mode 100644 recipes/libxaw create mode 100644 recipes/libxcb create mode 100644 recipes/libxcvt create mode 100644 recipes/libxdamage create mode 100644 recipes/libxext create mode 100644 recipes/libxfixes create mode 100644 recipes/libxfont2 create mode 100644 recipes/libxft create mode 100644 recipes/libxi create mode 100644 recipes/libxmu create mode 100644 recipes/libxpm create mode 100644 recipes/libxrender create mode 100644 recipes/libxt create mode 100644 recipes/pixman create mode 100644 recipes/xcb-proto create mode 100644 recipes/xclock create mode 100644 recipes/xeyes create mode 100644 recipes/xkbcomp create mode 100644 recipes/xkbfile create mode 100644 recipes/xkeyboardconfig create mode 100644 recipes/xorgproto create mode 100644 recipes/xtrans create mode 100644 recipes/zlib create mode 100644 source-recipes/fontconfig create mode 100644 source-recipes/fontutil create mode 100644 source-recipes/freetype create mode 100644 source-recipes/libXau create mode 100644 source-recipes/libXdmcp create mode 100644 source-recipes/libexpat create mode 100644 source-recipes/libfontenc create mode 100644 source-recipes/libgcrypt create mode 100644 source-recipes/libgpg-error create mode 100644 source-recipes/libice create mode 100644 source-recipes/libsm create mode 100644 source-recipes/libtool create mode 100644 source-recipes/libx11 create mode 100644 source-recipes/libxaw create mode 100644 source-recipes/libxcb create mode 100644 source-recipes/libxcvt create mode 100644 source-recipes/libxdamage create mode 100644 source-recipes/libxext create mode 100644 source-recipes/libxfixes create mode 100644 source-recipes/libxfont2 create mode 100644 source-recipes/libxft create mode 100644 source-recipes/libxi create mode 100644 source-recipes/libxmu create mode 100644 source-recipes/libxpm create mode 100644 source-recipes/libxrender create mode 100644 source-recipes/libxt create mode 100644 source-recipes/pixman create mode 100644 source-recipes/pkgconfig create mode 100644 source-recipes/util-macros create mode 100644 source-recipes/xcb-proto create mode 100644 source-recipes/xclock create mode 100644 source-recipes/xeyes create mode 100644 source-recipes/xkbcomp create mode 100644 source-recipes/xkbfile create mode 100644 source-recipes/xkeyboardconfig create mode 100644 source-recipes/xorgproto create mode 100644 source-recipes/xtrans create mode 100644 source-recipes/zlib diff --git a/distro-files/etc/xorg.conf b/distro-files/etc/xorg.conf new file mode 100644 index 00000000..8c1a1e77 --- /dev/null +++ b/distro-files/etc/xorg.conf @@ -0,0 +1,8 @@ +Section "Module" + Load "fbdev" +EndSection + +Section "Device" + Identifier "Card0" + Driver "fbdev" +EndSection diff --git a/host-recipes/fontutil b/host-recipes/fontutil new file mode 100644 index 00000000..392681da --- /dev/null +++ b/host-recipes/fontutil @@ -0,0 +1,23 @@ +name=fontutil +revision=1 +from_source=fontutil +imagedeps="gcc" +hostdeps="gcc-cross binutils-cross pkgconfig util-macros xorgproto" + +configure() { + + ${source_dir}/configure --prefix=${prefix} + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/host-recipes/libtool b/host-recipes/libtool new file mode 100644 index 00000000..4103645f --- /dev/null +++ b/host-recipes/libtool @@ -0,0 +1,24 @@ +name=libtool +revision=1 +from_source=libtool +imagedeps="base-devel help2man" + + +configure() { + + ${source_dir}/configure --prefix=${prefix} + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make install DESTDIR="${dest_dir}" + +} + diff --git a/host-recipes/pkgconfig b/host-recipes/pkgconfig new file mode 100644 index 00000000..bb613462 --- /dev/null +++ b/host-recipes/pkgconfig @@ -0,0 +1,35 @@ +name=pkgconfig +revision=1 +from_source=pkgconfig +imagedeps="gcc base-devel" + + +configure() { + + ${source_dir}/configure --prefix=${prefix} + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make install DESTDIR="${dest_dir}" + mkdir -p ${dest_dir}${prefix}/share/pkgconfig/personality.d + + cat > ${dest_dir}${prefix}/share/pkgconfig/personality.d/x86_64-astral.personality << EOF +Triplet: x86_64-astral +SysrootDir: ${sysroot_dir} +DefaultSearchPaths: ${sysroot_dir}/usr/lib/pkgconfig:${sysroot_dir}/usr/share/pkgconfig +SystemIncludePaths: ${sysroot_dir}/usr/include +SystemLibraryPaths: ${sysroot_dir}/usr/lib +EOF + + ln -s pkgconf ${dest_dir}${prefix}/bin/x86_64-astral-pkg-config + +} + diff --git a/host-recipes/util-macros b/host-recipes/util-macros new file mode 100644 index 00000000..69cdd9bb --- /dev/null +++ b/host-recipes/util-macros @@ -0,0 +1,24 @@ +name=util-macros +revision=1 +from_source=util-macros +imagedeps="base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc" + +configure() { + + ${source_dir}/configure --host=x86_64-astral --prefix=${prefix} + +} + +build() { + + make -j ${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/host-recipes/xorgproto b/host-recipes/xorgproto new file mode 100644 index 00000000..c8e7501e --- /dev/null +++ b/host-recipes/xorgproto @@ -0,0 +1,23 @@ +name=xorgproto +revision=1 +from_source=xorgproto +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" + +configure() { + + meson --prefix=${prefix} -Dlegacy=true ${source_dir} + +} + +build() { + + ninja + +} + +install() { + + DESTDIR=${dest_dir} ninja install + +} diff --git a/host-recipes/xtrans b/host-recipes/xtrans new file mode 100644 index 00000000..4b819e6b --- /dev/null +++ b/host-recipes/xtrans @@ -0,0 +1,24 @@ +name=xtrans +revision=1 +from_source=xtrans +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc" + +configure() { + + ${source_dir}/configure --prefix=${prefix} + +} + +build() { + + make -j${parallelism} + +} + +install() { + + DESTDIR=${dest_dir} make install + +} diff --git a/patches/fontconfig/jinx-working-patch.patch b/patches/fontconfig/jinx-working-patch.patch new file mode 100644 index 00000000..43873464 --- /dev/null +++ b/patches/fontconfig/jinx-working-patch.patch @@ -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 */ diff --git a/patches/libgpg-error/jinx-working-patch.patch b/patches/libgpg-error/jinx-working-patch.patch new file mode 100644 index 00000000..764a1fe1 --- /dev/null +++ b/patches/libgpg-error/jinx-working-patch.patch @@ -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: ++## diff --git a/patches/libtool/jinx-working-patch.patch b/patches/libtool/jinx-working-patch.patch new file mode 100644 index 00000000..d6750734 --- /dev/null +++ b/patches/libtool/jinx-working-patch.patch @@ -0,0 +1,138 @@ +diff --git libtool-clean/build-aux/ltmain.in libtool-workdir/build-aux/ltmain.in +index a5f21a1..085711c 100644 +--- libtool-clean/build-aux/ltmain.in ++++ libtool-workdir/build-aux/ltmain.in +@@ -6497,7 +6497,7 @@ func_mode_link () + fi + else + # We cannot seem to hardcode it, guess we'll fake it. +- add_dir=-L$libdir ++ add_dir=-L$lt_sysroot$$libdir + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in +diff --git libtool-clean/libtoolize.in libtool-workdir/libtoolize.in +index 0c40fed..763619b 100644 +--- libtool-clean/libtoolize.in ++++ libtool-workdir/libtoolize.in +@@ -1891,7 +1891,7 @@ func_require_seen_libtool () + # Do not remove config.guess, config.sub or install-sh, we don't + # install them without --install, and the project may not be using + # Automake. Similarly, do not remove Gnulib files. +- all_pkgaux_files="compile depcomp missing ltmain.sh" ++ all_pkgaux_files="" + all_pkgmacro_files="libtool.m4 ltargz.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 ltversion.in ltversion.m4 lt~obsolete.m4" + all_pkgltdl_files="COPYING.LIB Makefile Makefile.in Makefile.inc Makefile.am README acinclude.m4 aclocal.m4 argz_.h argz.c config.h.in config-h.in configure configure.ac configure.in libltdl/lt__alloc.h libltdl/lt__argz.h libltdl/lt__dirent.h libltdl/lt__glibc.h libltdl/lt__private.h libltdl/lt__strl.h libltdl/lt_dlloader.h libltdl/lt_error.h libltdl/lt_system.h libltdl/slist.h loaders/dld_link.c loaders/dlopen.c loaders/dyld.c loaders/load_add_on.c loaders/loadlibrary.c loaders/preopen.c loaders/shl_load.c lt__alloc.c lt__argz.c lt__dirent.c lt__strl.c lt_dlloader.c lt_error.c ltdl.c ltdl.h ltdl.mk slist.c" + +diff --git libtool-clean/m4/libtool.m4 libtool-workdir/m4/libtool.m4 +index 79a2451..1682c56 100644 +--- libtool-clean/m4/libtool.m4 ++++ libtool-workdir/m4/libtool.m4 +@@ -1696,7 +1696,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + +- gnu*) ++ astral* | gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever +@@ -2521,6 +2521,18 @@ amigaos*) + esac + ;; + ++astral*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ++ soname_spec='$libname$release$shared_ext$major' ++ dynamic_linker='mlibc ld.so' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + beos*) + library_names_spec='$libname$shared_ext' + dynamic_linker="$host_os ld.so" +@@ -3468,6 +3480,10 @@ aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; + ++astral*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ + beos*) + lt_cv_deplibs_check_method=pass_all + ;; +@@ -4310,6 +4326,8 @@ m4_if([$1], [CXX], [ + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; ++ astral*) ++ ;; + chorus*) + case $cc_basename in + cxch68*) +@@ -4561,6 +4579,12 @@ m4_if([$1], [CXX], [ + ;; + esac + ;; ++ ++ astral*) ++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ++ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ++ ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. +@@ -5106,6 +5130,11 @@ _LT_EOF + ;; + esac + ;; ++ ++ astral*) ++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' ++ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ++ ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then +@@ -5570,7 +5599,8 @@ _LT_EOF + ;; + esac + ;; +- ++ astral*) ++ ;; + bsdi[[45]]*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; +@@ -6630,6 +6660,10 @@ if test yes != "$_lt_caught_CXX_error"; then + fi + fi + ;; ++ ++ astral*) ++ _LT_TAGVAR(ld_shlibs, $1)=yes ++ ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then +diff --git libtool-clean/m4/ltdl.m4 libtool-workdir/m4/ltdl.m4 +index 772c150..13807b5 100644 +--- libtool-clean/m4/ltdl.m4 ++++ libtool-workdir/m4/ltdl.m4 +@@ -466,6 +466,9 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen], + ;; + esac + ;; ++ astral*) ++ lt_cv_sys_dlopen_deplibs=yes ++ ;; + bitrig*) + lt_cv_sys_dlopen_deplibs=yes + ;; diff --git a/patches/libxcb/jinx-working-patch.patch b/patches/libxcb/jinx-working-patch.patch new file mode 100644 index 00000000..cdf0d02b --- /dev/null +++ b/patches/libxcb/jinx-working-patch.patch @@ -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) diff --git a/patches/xclock/jinx-working-patch.patch b/patches/xclock/jinx-working-patch.patch new file mode 100644 index 00000000..1d2d7956 --- /dev/null +++ b/patches/xclock/jinx-working-patch.patch @@ -0,0 +1,26 @@ +diff --git xclock-clean/Clock.c xclock-workdir/Clock.c +index de6beb6..0e92cb6 100644 +--- xclock-clean/Clock.c ++++ xclock-workdir/Clock.c +@@ -1281,6 +1281,8 @@ time_millis(struct tm *tm, struct timeval *tv) + static unsigned long + time_intervals(unsigned long millis, unsigned long interval) + { ++ if(!interval) ++ return millis; + return (millis + interval / 2) / interval; + } + +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" diff --git a/patches/xorgproto/jinx-working-patch.patch b/patches/xorgproto/jinx-working-patch.patch new file mode 100644 index 00000000..313b1204 --- /dev/null +++ b/patches/xorgproto/jinx-working-patch.patch @@ -0,0 +1,13 @@ +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 +-# 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 + # else + # ifndef index diff --git a/recipes/fontconfig b/recipes/fontconfig new file mode 100644 index 00000000..921e8683 --- /dev/null +++ b/recipes/fontconfig @@ -0,0 +1,24 @@ +name=fontconfig +revision=1 +from_source=fontconfig +imagedeps="base-devel python3 gperf" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc freetype libexpat" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/fontutil b/recipes/fontutil new file mode 100644 index 00000000..325573ff --- /dev/null +++ b/recipes/fontutil @@ -0,0 +1,24 @@ +name=fontutil +revision=1 +from_source=fontutil +imagedeps="gcc" +hostdeps="gcc-cross binutils-cross pkgconfig util-macros" +deps="mlibc xorgproto" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/recipes/freetype b/recipes/freetype new file mode 100644 index 00000000..a9044612 --- /dev/null +++ b/recipes/freetype @@ -0,0 +1,24 @@ +name=freetype +revision=1 +from_source=freetype +imagedeps="gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/recipes/libXau b/recipes/libXau new file mode 100644 index 00000000..ab8b5460 --- /dev/null +++ b/recipes/libXau @@ -0,0 +1,24 @@ +name=libXau +revision=1 +from_source=libXau +imagedeps="gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc xorgproto" + +configure() { + + ${source_dir}/configure --host=x86_64-astral --prefix=${prefix} + +} + +build() { + + make -j ${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/recipes/libXdmcp b/recipes/libXdmcp new file mode 100644 index 00000000..767c1cdd --- /dev/null +++ b/recipes/libXdmcp @@ -0,0 +1,24 @@ +name=libXdmcp +revision=1 +from_source=libXdmcp +imagedeps="gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc xorgproto" + +configure() { + + ${source_dir}/configure --host=x86_64-astral --prefix=${prefix} + +} + +build() { + + make -j ${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/recipes/libexpat b/recipes/libexpat new file mode 100644 index 00000000..c49d4ec1 --- /dev/null +++ b/recipes/libexpat @@ -0,0 +1,24 @@ +name=libexpat +revision=1 +from_source=libexpat +imagedeps="base-devel python3" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libfontenc b/recipes/libfontenc new file mode 100644 index 00000000..792313e1 --- /dev/null +++ b/recipes/libfontenc @@ -0,0 +1,24 @@ +name=libfontenc +revision=1 +from_source=libfontenc +imagedeps="gcc" +hostdeps="gcc-cross binutils-cross pkgconfig util-macros" +deps="mlibc zlib xorgproto" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/recipes/libgcrypt b/recipes/libgcrypt new file mode 100644 index 00000000..e3dd9912 --- /dev/null +++ b/recipes/libgcrypt @@ -0,0 +1,29 @@ +name=libgcrypt +revision=1 +from_source=libgcrypt +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig libtool" +deps="mlibc libgpg-error" + +configure() { + + ${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} + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/recipes/libgpg-error b/recipes/libgpg-error new file mode 100644 index 00000000..15cc1894 --- /dev/null +++ b/recipes/libgpg-error @@ -0,0 +1,24 @@ +name=libgpg-error +revision=1 +from_source=libgpg-error +imagedeps="gcc" +hostdeps="gcc-cross binutils-cross pkgconfig libtool" +deps="mlibc" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/recipes/libice b/recipes/libice new file mode 100644 index 00000000..94515b16 --- /dev/null +++ b/recipes/libice @@ -0,0 +1,24 @@ +name=libice +revision=1 +from_source=libice +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libsm b/recipes/libsm new file mode 100644 index 00000000..04591950 --- /dev/null +++ b/recipes/libsm @@ -0,0 +1,24 @@ +name=libsm +revision=1 +from_source=libsm +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig util-macros" +deps="mlibc xorgproto libx11 libice" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libx11 b/recipes/libx11 new file mode 100644 index 00000000..b7e86f49 --- /dev/null +++ b/recipes/libx11 @@ -0,0 +1,24 @@ +name=libx11 +revision=1 +from_source=libx11 +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc xorgproto xtrans libxcb" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-malloc0returnsnull + +} + +build() { + + make -j${parallelism} + +} + +install() { + + DESTDIR=${dest_dir} make install + +} diff --git a/recipes/libxaw b/recipes/libxaw new file mode 100644 index 00000000..b913b4d9 --- /dev/null +++ b/recipes/libxaw @@ -0,0 +1,24 @@ +name=libxaw +revision=1 +from_source=libxaw +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11 libxt libxext libxmu libxpm" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libxcb b/recipes/libxcb new file mode 100644 index 00000000..4c6857a1 --- /dev/null +++ b/recipes/libxcb @@ -0,0 +1,24 @@ +name=libxcb +revision=1 +from_source=libxcb +imagedeps="python gcc" +hostdeps="gcc-cross binutils-cross pkgconfig util-macros libtool autoconf automake" +deps="mlibc xorgproto libXau libXdmcp xcb-proto" + +configure() { + + ${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static --with-sysroot=${sysroot_dir} + +} + +build() { + + make -j ${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/recipes/libxcvt b/recipes/libxcvt new file mode 100644 index 00000000..de284935 --- /dev/null +++ b/recipes/libxcvt @@ -0,0 +1,24 @@ +name=libxcvt +revision=1 +from_source=libxcvt +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc" + +configure() { + + meson --cross-file=${base_dir}/util/crossfile --prefix=${prefix} ${source_dir} + +} + +build() { + + ninja + +} + +install() { + + DESTDIR=${dest_dir} ninja install + +} diff --git a/recipes/libxdamage b/recipes/libxdamage new file mode 100644 index 00000000..cd6701d7 --- /dev/null +++ b/recipes/libxdamage @@ -0,0 +1,24 @@ +name=libxdamage +revision=1 +from_source=libxdamage +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11 libxfixes" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libxext b/recipes/libxext new file mode 100644 index 00000000..c2041559 --- /dev/null +++ b/recipes/libxext @@ -0,0 +1,24 @@ +name=libxext +revision=1 +from_source=libxext +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libxfixes b/recipes/libxfixes new file mode 100644 index 00000000..d6cb7350 --- /dev/null +++ b/recipes/libxfixes @@ -0,0 +1,24 @@ +name=libxfixes +revision=1 +from_source=libxfixes +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libxfont2 b/recipes/libxfont2 new file mode 100644 index 00000000..0a9e78a5 --- /dev/null +++ b/recipes/libxfont2 @@ -0,0 +1,24 @@ +name=libxfont2 +revision=1 +from_source=libxfont2 +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc xorgproto freetype zlib xtrans libfontenc" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-malloc0returnsnull + +} + +build() { + + make -j${parallelism} + +} + +install() { + + DESTDIR=${dest_dir} make install + +} diff --git a/recipes/libxft b/recipes/libxft new file mode 100644 index 00000000..b08b4d4c --- /dev/null +++ b/recipes/libxft @@ -0,0 +1,24 @@ +name=libxft +revision=1 +from_source=libxft +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11 libxt libxrender freetype fontconfig" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libxi b/recipes/libxi new file mode 100644 index 00000000..a3292edf --- /dev/null +++ b/recipes/libxi @@ -0,0 +1,24 @@ +name=libxi +revision=1 +from_source=libxi +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11 libxext libxfixes" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libxmu b/recipes/libxmu new file mode 100644 index 00000000..42f214e0 --- /dev/null +++ b/recipes/libxmu @@ -0,0 +1,24 @@ +name=libxmu +revision=1 +from_source=libxmu +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11 libxt libxext" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libxpm b/recipes/libxpm new file mode 100644 index 00000000..05ceeb26 --- /dev/null +++ b/recipes/libxpm @@ -0,0 +1,24 @@ +name=libxpm +revision=1 +from_source=libxpm +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11 libxt libxext libxmu libxrender" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libxrender b/recipes/libxrender new file mode 100644 index 00000000..2d69ccfa --- /dev/null +++ b/recipes/libxrender @@ -0,0 +1,24 @@ +name=libxrender +revision=1 +from_source=libxrender +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc libx11" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/libxt b/recipes/libxt new file mode 100644 index 00000000..49c3efdf --- /dev/null +++ b/recipes/libxt @@ -0,0 +1,24 @@ +name=libxt +revision=1 +from_source=libxt +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig util-macros" +deps="mlibc xorgproto libx11 libice libsm" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static --disable-malloc0returnsnull + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/pixman b/recipes/pixman new file mode 100644 index 00000000..a9ba56a2 --- /dev/null +++ b/recipes/pixman @@ -0,0 +1,24 @@ +name=pixman +revision=1 +from_source=pixman +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc" + +configure() { + + meson --cross-file=${base_dir}/util/crossfile --prefix=${prefix} ${source_dir} + +} + +build() { + + ninja + +} + +install() { + + DESTDIR=${dest_dir} ninja install + +} diff --git a/recipes/xcb-proto b/recipes/xcb-proto new file mode 100644 index 00000000..499f8980 --- /dev/null +++ b/recipes/xcb-proto @@ -0,0 +1,24 @@ +name=xcb-proto +revision=1 +from_source=xcb-proto +imagedeps="base-devel python3" +hostdeps="gcc-cross binutils-cross" +deps="mlibc" + +configure() { + + PYTHON=python3 ${source_dir}/configure --host=x86_64-astral --prefix=${prefix} + +} + +build() { + + make -j ${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/recipes/xclock b/recipes/xclock new file mode 100644 index 00000000..d262f18c --- /dev/null +++ b/recipes/xclock @@ -0,0 +1,24 @@ +name=xclock +revision=1 +from_source=xclock +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc xorg-server libxmu libxaw libxft" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/xeyes b/recipes/xeyes new file mode 100644 index 00000000..63cf7f00 --- /dev/null +++ b/recipes/xeyes @@ -0,0 +1,24 @@ +name=xeyes +revision=1 +from_source=xeyes +imagedeps="meson ninja base-devel" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc xorg-server libxt libxmu libxext libxi libxrender" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/xkbcomp b/recipes/xkbcomp new file mode 100644 index 00000000..45cae51f --- /dev/null +++ b/recipes/xkbcomp @@ -0,0 +1,24 @@ +name=xkbcomp +revision=1 +from_source=xkbcomp +imagedeps="gcc" +hostdeps="gcc-cross binutils-cross pkgconfig automake autoconf util-macros libtool" +deps="mlibc libxcb xcb-proto xkbfile" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make DESTDIR=${dest_dir} install + +} diff --git a/recipes/xkbfile b/recipes/xkbfile new file mode 100644 index 00000000..6743ce53 --- /dev/null +++ b/recipes/xkbfile @@ -0,0 +1,24 @@ +name=xkbfile +revision=1 +from_source=xkbfile +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc xorgproto libx11" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral + +} + +build() { + + make -j${parallelism} + +} + +install() { + + DESTDIR=${dest_dir} make install + +} diff --git a/recipes/xkeyboardconfig b/recipes/xkeyboardconfig new file mode 100644 index 00000000..fb5bc30b --- /dev/null +++ b/recipes/xkeyboardconfig @@ -0,0 +1,24 @@ +name=xkeyboardconfig +revision=1 +from_source=xkeyboardconfig +imagedeps="gcc meson ninja" +hostdeps="gcc-cross binutils-cross pkgconfig automake autoconf util-macros libtool" +deps="mlibc" + +configure() { + + meson --cross-file ${base_dir}/util/crossfile --prefix=${prefix} ${source_dir} + +} + +build() { + + ninja + +} + +install() { + + DESTDIR=${dest_dir} ninja install + +} diff --git a/recipes/xorgproto b/recipes/xorgproto new file mode 100644 index 00000000..223d720b --- /dev/null +++ b/recipes/xorgproto @@ -0,0 +1,24 @@ +name=xorgproto +revision=1 +from_source=xorgproto +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc" + +configure() { + + meson --cross-file=${base_dir}/util/crossfile --prefix=${prefix} -Dlegacy=true ${source_dir} + +} + +build() { + + ninja + +} + +install() { + + DESTDIR=${dest_dir} ninja install + +} diff --git a/recipes/xtrans b/recipes/xtrans new file mode 100644 index 00000000..9cba9822 --- /dev/null +++ b/recipes/xtrans @@ -0,0 +1,24 @@ +name=xtrans +revision=1 +from_source=xtrans +imagedeps="meson ninja gcc" +hostdeps="gcc-cross binutils-cross pkgconfig util-macros" +deps="mlibc" + +configure() { + + ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral + +} + +build() { + + make -j${parallelism} + +} + +install() { + + DESTDIR=${dest_dir} make install + +} diff --git a/recipes/zlib b/recipes/zlib new file mode 100644 index 00000000..236cf6bc --- /dev/null +++ b/recipes/zlib @@ -0,0 +1,24 @@ +name=zlib +revision=1 +from_source=zlib +imagedeps="gcc" +hostdeps="gcc-cross binutils-cross pkgconfig" +deps="mlibc" + +configure() { + + prefix=${prefix} CC=x86_64-astral-gcc ${source_dir}/configure + +} + +build() { + + make -j${parallelism} + +} + +install() { + + make install DESTDIR=${dest_dir} + +} diff --git a/source-recipes/fontconfig b/source-recipes/fontconfig new file mode 100644 index 00000000..68066b05 --- /dev/null +++ b/source-recipes/fontconfig @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/fontutil b/source-recipes/fontutil new file mode 100644 index 00000000..21496d0c --- /dev/null +++ b/source-recipes/fontutil @@ -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=a +hostdeps="automake autoconf libtool pkgconfig util-macros" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/freetype b/source-recipes/freetype new file mode 100644 index 00000000..e30787f7 --- /dev/null +++ b/source-recipes/freetype @@ -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=a +hostdeps="autoconf automake libtool pkgconfig" +regenerate() { + ./autogen.sh + cp /usr/local/share/automake-*/config.sub builds/unix/ +} diff --git a/source-recipes/libXau b/source-recipes/libXau new file mode 100644 index 00000000..fb224ae3 --- /dev/null +++ b/source-recipes/libXau @@ -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=a +hostdeps="autoconf automake pkgconfig xorgproto libtool util-macros" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libXdmcp b/source-recipes/libXdmcp new file mode 100644 index 00000000..71272214 --- /dev/null +++ b/source-recipes/libXdmcp @@ -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=a +hostdeps="autoconf automake libtool pkgconfig xorgproto util-macros" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libexpat b/source-recipes/libexpat new file mode 100644 index 00000000..a091d318 --- /dev/null +++ b/source-recipes/libexpat @@ -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=a +hostdeps="autoconf automake pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libfontenc b/source-recipes/libfontenc new file mode 100644 index 00000000..85f260e7 --- /dev/null +++ b/source-recipes/libfontenc @@ -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=a +imagedeps="xorg-font-util" +hostdeps="autoconf automake libtool pkgconfig util-macros fontutil" +regenerate() { + autoreconf -fvi --verbose && libtoolize -cvf +} diff --git a/source-recipes/libgcrypt b/source-recipes/libgcrypt new file mode 100644 index 00000000..91980759 --- /dev/null +++ b/source-recipes/libgcrypt @@ -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=a +hostdeps="libtool automake autoconf pkgconfig" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libgpg-error b/source-recipes/libgpg-error new file mode 100644 index 00000000..9abe9bc9 --- /dev/null +++ b/source-recipes/libgpg-error @@ -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=a +hostdeps="automake autoconf pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libice b/source-recipes/libice new file mode 100644 index 00000000..a7c1cc59 --- /dev/null +++ b/source-recipes/libice @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libsm b/source-recipes/libsm new file mode 100644 index 00000000..d66a5a2f --- /dev/null +++ b/source-recipes/libsm @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libtool b/source-recipes/libtool new file mode 100644 index 00000000..5369c5ab --- /dev/null +++ b/source-recipes/libtool @@ -0,0 +1,13 @@ +name=libtool +version=2.4.7 +source_method=tarball +tarball_url="https://ftp.gnu.org/gnu/libtool/libtool-${version}.tar.gz" +tarball_sha512=a +imagedeps="autoconf automake base-devel help2man wget" +allow_network="yes" + +regenerate() { + wget https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-4b17a1ae49e69df1ac5dc35a4f60b20ab958baf2.tar.gz + tar -xf gnulib-4b17a1ae49e69df1ac5dc35a4f60b20ab958baf2.tar.gz + ./bootstrap --force --skip-git --skip-po --gnulib-srcdir=`pwd`/gnulib-4b17a1ae49e69df1ac5dc35a4f60b20ab958baf2 +} diff --git a/source-recipes/libx11 b/source-recipes/libx11 new file mode 100644 index 00000000..190da470 --- /dev/null +++ b/source-recipes/libx11 @@ -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=a +hostdeps="xorgproto autoconf automake libtool pkgconfig util-macros xtrans" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxaw b/source-recipes/libxaw new file mode 100644 index 00000000..d1031cac --- /dev/null +++ b/source-recipes/libxaw @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxcb b/source-recipes/libxcb new file mode 100644 index 00000000..3f8ff7c7 --- /dev/null +++ b/source-recipes/libxcb @@ -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=a +hostdeps="automake autoconf xorgproto util-macros libtool pkgconfig xtrans" +regenerate() { + autoreconf -vfi +} diff --git a/source-recipes/libxcvt b/source-recipes/libxcvt new file mode 100644 index 00000000..b8f39025 --- /dev/null +++ b/source-recipes/libxcvt @@ -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=a +regenerate() { + true +} diff --git a/source-recipes/libxdamage b/source-recipes/libxdamage new file mode 100644 index 00000000..47bde4a2 --- /dev/null +++ b/source-recipes/libxdamage @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxext b/source-recipes/libxext new file mode 100644 index 00000000..e52979ad --- /dev/null +++ b/source-recipes/libxext @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxfixes b/source-recipes/libxfixes new file mode 100644 index 00000000..a2360928 --- /dev/null +++ b/source-recipes/libxfixes @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxfont2 b/source-recipes/libxfont2 new file mode 100644 index 00000000..c4693614 --- /dev/null +++ b/source-recipes/libxfont2 @@ -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=a +hostdeps="autoconf automake libtool pkgconfig util-macros" +regenerate() { + autoreconf -vfi +} diff --git a/source-recipes/libxft b/source-recipes/libxft new file mode 100644 index 00000000..31f0da00 --- /dev/null +++ b/source-recipes/libxft @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxi b/source-recipes/libxi new file mode 100644 index 00000000..c397da13 --- /dev/null +++ b/source-recipes/libxi @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxmu b/source-recipes/libxmu new file mode 100644 index 00000000..fc10fcb5 --- /dev/null +++ b/source-recipes/libxmu @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxpm b/source-recipes/libxpm new file mode 100644 index 00000000..eb6cf1a3 --- /dev/null +++ b/source-recipes/libxpm @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxrender b/source-recipes/libxrender new file mode 100644 index 00000000..e36d4443 --- /dev/null +++ b/source-recipes/libxrender @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/libxt b/source-recipes/libxt new file mode 100644 index 00000000..d33f3bc6 --- /dev/null +++ b/source-recipes/libxt @@ -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=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/pixman b/source-recipes/pixman new file mode 100644 index 00000000..b7619de8 --- /dev/null +++ b/source-recipes/pixman @@ -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=a +regenerate() { + true +} diff --git a/source-recipes/pkgconfig b/source-recipes/pkgconfig new file mode 100644 index 00000000..1c76779c --- /dev/null +++ b/source-recipes/pkgconfig @@ -0,0 +1,10 @@ +name=pkgconfig +version=1.8.0 +source_method=tarball +tarball_url="https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-${version}.tar.gz" +tarball_sha512=a +imagedeps="autoconf automake" + +regenerate() { + ./autogen.sh +} diff --git a/source-recipes/util-macros b/source-recipes/util-macros new file mode 100644 index 00000000..3c15f32c --- /dev/null +++ b/source-recipes/util-macros @@ -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=a +regenerate() { + true +} diff --git a/source-recipes/xcb-proto b/source-recipes/xcb-proto new file mode 100644 index 00000000..25b22e03 --- /dev/null +++ b/source-recipes/xcb-proto @@ -0,0 +1,8 @@ +name=xcb-proto +version=1.15.2 +source_method=tarball +tarball_url="https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-${version}.tar.xz" +tarball_sha512=a +regenerate() { + true +} diff --git a/source-recipes/xclock b/source-recipes/xclock new file mode 100644 index 00000000..3b606832 --- /dev/null +++ b/source-recipes/xclock @@ -0,0 +1,9 @@ +name=xclock +version=1.1.1 +source_method=tarball +tarball_url="https://www.x.org/pub/individual/app/xclock-${version}.tar.xz" +tarball_sha512=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/xeyes b/source-recipes/xeyes new file mode 100644 index 00000000..32e1296f --- /dev/null +++ b/source-recipes/xeyes @@ -0,0 +1,9 @@ +name=xeyes +version=1.2.0 +source_method=tarball +tarball_url="https://www.x.org/pub/individual/app/xeyes-${version}.tar.gz" +tarball_sha512=a +hostdeps="autoconf automake util-macros pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/xkbcomp b/source-recipes/xkbcomp new file mode 100644 index 00000000..192a4d77 --- /dev/null +++ b/source-recipes/xkbcomp @@ -0,0 +1,9 @@ +name=xkbcomp +version=1.4.5 +source_method=tarball +tarball_url="https://www.x.org/archive//individual/app/xkbcomp-${version}.tar.gz" +tarball_sha512=a +hostdeps="autoconf automake libtool pkgconfig util-macros" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/xkbfile b/source-recipes/xkbfile new file mode 100644 index 00000000..c947adf9 --- /dev/null +++ b/source-recipes/xkbfile @@ -0,0 +1,9 @@ +name=xkbfile +version=1.1.1 +source_method=tarball +tarball_url="https://www.x.org/archive/individual/lib/libxkbfile-${version}.tar.gz" +tarball_sha512=a +hostdeps="autoconf automake libtool pkgconfig util-macros" +regenerate() { + autoreconf -vif +} diff --git a/source-recipes/xkeyboardconfig b/source-recipes/xkeyboardconfig new file mode 100644 index 00000000..65feaf25 --- /dev/null +++ b/source-recipes/xkeyboardconfig @@ -0,0 +1,11 @@ +name=xkeyboardconfig +version=2.36 +source_method=tarball +tarball_url="http://www.x.org/releases/individual/data/xkeyboard-config/xkeyboard-config-${version}.tar.xz" +tarball_sha512=a +hostdeps="autoconf automake libtool pkgconfig util-macros" +regenerate() { + pushd ${source_dir} + sed -i -E 's/(ln -s)/\1f/' rules/meson.build + popd +} diff --git a/source-recipes/xorgproto b/source-recipes/xorgproto new file mode 100644 index 00000000..9b2b2c69 --- /dev/null +++ b/source-recipes/xorgproto @@ -0,0 +1,8 @@ +name=xorgproto +version=2022.2 +source_method=tarball +tarball_url="https://xorg.freedesktop.org/archive/individual/proto/xorgproto-2022.2.tar.xz" +tarball_sha512=a +regenerate() { + true +} diff --git a/source-recipes/xtrans b/source-recipes/xtrans new file mode 100644 index 00000000..5ca13b88 --- /dev/null +++ b/source-recipes/xtrans @@ -0,0 +1,9 @@ +name=xtrans +version=1.4.0 +source_method=tarball +tarball_url="https://www.x.org/archive/individual/lib/xtrans-${version}.tar.gz" +tarball_sha512=a +hostdeps="autoconf automake libtool pkgconfig util-macros" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/zlib b/source-recipes/zlib new file mode 100644 index 00000000..f3aeb754 --- /dev/null +++ b/source-recipes/zlib @@ -0,0 +1,8 @@ +name=zlib +version=1.2.13 +source_method=tarball +tarball_url="https://zlib.net/zlib-${version}.tar.gz" +tarball_sha512=a +regenerate() { + true +}