package rosa import "hakurei.app/internal/pkg" func (t Toolchain) newUtilMacros() (pkg.Artifact, string) { const ( version = "1.20.2" checksum = "Ze8QH3Z3emC0pWFP-0nUYeMy7aBW3L_dxBBmVgcumIHNzEKc1iGTR-yUFR3JcM1G" ) return t.NewPackage("util-macros", version, newTar( "https://www.x.org/releases/individual/util/"+ "util-macros-"+version+".tar.gz", checksum, pkg.TarGzip, ), nil, (*MakeHelper)(nil)), version } func init() { artifactsM[utilMacros] = Metadata{ f: Toolchain.newUtilMacros, Name: "util-macros", Description: "X.Org Autotools macros", Website: "https://xorg.freedesktop.org/", ID: 5252, } } func (t Toolchain) newLibxtrans() (pkg.Artifact, string) { const ( version = "1.6.0" checksum = "1cxDCF59fLf1HyGDMcjR1L50ZbjD0RTTEDUpOJYcHXu6HUK_Ds0x-KREY7rLNxu9" ) return t.NewPackage("libxtrans", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxtrans", "xtrans-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, ), version } func init() { artifactsM[Libxtrans] = Metadata{ f: Toolchain.newLibxtrans, Name: "libxtrans", Description: "X Window System Protocols Transport layer shared code", Website: "https://gitlab.freedesktop.org/xorg/lib/libxtrans", ID: 13441, } } func (t Toolchain) newXorgProto() (pkg.Artifact, string) { const ( version = "2025.1" checksum = "pTwJiBJHKA6Rgm3cVDXy1lyvXNIUzTRaukvvYdk1xWoJ_1G-Dfjm9MyewuyIjoHz" ) return t.NewPackage("xorgproto", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/proto/xorgproto", "xorgproto-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, PkgConfig, utilMacros, ), version } func init() { artifactsM[XorgProto] = Metadata{ f: Toolchain.newXorgProto, Name: "xorgproto", Description: "X Window System unified protocol definitions", Website: "https://gitlab.freedesktop.org/xorg/proto/xorgproto", ID: 17190, } } func (t Toolchain) newLibXau() (pkg.Artifact, string) { const ( version = "1.0.12" checksum = "G9AjnU_C160q814MCdjFOVt_mQz_pIt4wf4GNOQmGJS3UuuyMw53sfPvJ7WOqwXN" ) return t.NewPackage("libXau", version, newTar( "https://www.x.org/releases/individual/lib/"+ "libXau-"+version+".tar.gz", checksum, pkg.TarGzip, ), nil, &MakeHelper{ // ancient configure script Generate: "autoreconf -if", }, Automake, Libtool, PkgConfig, utilMacros, XorgProto, ), version } func init() { artifactsM[LibXau] = Metadata{ f: Toolchain.newLibXau, Name: "libXau", Description: "functions for handling Xauthority files and entries", Website: "https://gitlab.freedesktop.org/xorg/lib/libxau", Dependencies: P{ XorgProto, }, ID: 1765, } } func (t Toolchain) newXCBProto() (pkg.Artifact, string) { const ( version = "1.17.0" checksum = "_NtbKaJ_iyT7XiJz25mXQ7y-niTzE8sHPvLXZPcqtNoV_-vTzqkezJ8Hp2U1enCv" ) return t.NewPackage("xcb-proto", version, newTar( "https://xcb.freedesktop.org/dist/xcb-proto-"+version+".tar.gz", checksum, pkg.TarGzip, ), nil, (*MakeHelper)(nil), Python, ), version } func init() { artifactsM[XCBProto] = Metadata{ f: Toolchain.newXCBProto, Name: "xcb-proto", Description: "XML-XCB protocol descriptions used by libxcb for the X11 protocol & extensions", Website: "https://gitlab.freedesktop.org/xorg/proto/xcbproto", ID: 13646, } } func (t Toolchain) newXCB() (pkg.Artifact, string) { const ( version = "1.17.0" checksum = "hjjsc79LpWM_hZjNWbDDS6qRQUXREjjekS6UbUsDq-RR1_AjgNDxhRvZf-1_kzDd" ) return t.NewPackage("xcb", version, newTar( "https://xcb.freedesktop.org/dist/libxcb-"+version+".tar.gz", checksum, pkg.TarGzip, ), nil, (*MakeHelper)(nil), Python, PkgConfig, XCBProto, LibXau, ), version } func init() { artifactsM[XCB] = Metadata{ f: Toolchain.newXCB, Name: "xcb", Description: "The X protocol C-language Binding", Website: "https://xcb.freedesktop.org/", Dependencies: P{ XCBProto, LibXau, }, ID: 1767, } } func (t Toolchain) newXCBUtilKeysyms() (pkg.Artifact, string) { const ( version = "0.4.1" checksum = "-EEje12UEjtFBuIjb6Fy4cxEghV20BXwQ1BLvhtvSuVcrFkp_X-ZHRM48wAspXZ4" ) return t.NewPackage("xcb-util-keysyms", version, newTar( "https://xcb.freedesktop.org/dist/xcb-util-keysyms-"+version+".tar.gz", checksum, pkg.TarGzip, ), nil, (*MakeHelper)(nil), PkgConfig, XCB, ), version } func init() { artifactsM[XCBUtilKeysyms] = Metadata{ f: Toolchain.newXCBUtilKeysyms, Name: "xcb-util-keysyms", Description: "standard X key constants and conversion to/from keycodes", Website: "https://gitlab.freedesktop.org/xorg/lib/libxcb-keysyms", Dependencies: P{ XCB, }, ID: 5168, } } func (t Toolchain) newLibxcbRenderUtil() (pkg.Artifact, string) { const ( version = "0.3.10" checksum = "n08L8PyCoOd7v2vb6fSVq5Pq6JtteXVh9K2wrQMTNwGMf_Fjpi6i3HWF-TMFSVTI" ) return t.NewPackage("libxcb-render-util", version, newTar( "https://www.x.org/releases/individual/xcb/"+ "xcb-util-renderutil-"+version+".tar.gz", checksum, pkg.TarGzip, ), nil, (*MakeHelper)(nil), PkgConfig, utilMacros, XCB, ), version } func init() { artifactsM[LibxcbRenderUtil] = Metadata{ f: Toolchain.newLibxcbRenderUtil, Name: "libxcb-render-util", Description: "XCB convenience functions for the Render extension", Website: "https://gitlab.freedesktop.org/xorg/lib/libxcb-render-util", Dependencies: P{ XCB, }, ID: 5169, } } func (t Toolchain) newLibX11() (pkg.Artifact, string) { const ( version = "1.8.13" checksum = "ARh-cuZY_U2v3DbPS1byc7ybh9NInZc-yav7SJiusk_C7408s058qWV83ocMd2pT" ) return t.NewPackage("libX11", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libx11", "libX11-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", Configure: []KV{ {"enable-static"}, {"without-xmlto"}, }, }, Automake, Libtool, PkgConfig, utilMacros, Libxtrans, XorgProto, XCB, ), version } func init() { artifactsM[LibX11] = Metadata{ f: Toolchain.newLibX11, Name: "libX11", Description: `Core X11 protocol client library (aka "Xlib")`, Website: "https://gitlab.freedesktop.org/xorg/lib/libx11", Dependencies: P{ XCB, }, ID: 1764, } } func (t Toolchain) newLibXext() (pkg.Artifact, string) { const ( version = "1.3.7" checksum = "-0wvUDaucLPLNOrK1pcKhHNoO-5nUqQyyw6JAbhx65gRjuMiNKKaF2_tcrbC_KNq" ) return t.NewPackage("libXext", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxext", "libXext-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, LibX11, ), version } func init() { artifactsM[LibXext] = Metadata{ f: Toolchain.newLibXext, Name: "libXext", Description: "Xlib-based library for common extensions to the X11 protocol", Website: "https://gitlab.freedesktop.org/xorg/lib/libxext", Dependencies: P{ LibX11, }, ID: 1774, } } func (t Toolchain) newLibXfixes() (pkg.Artifact, string) { const ( version = "6.0.2" checksum = "_-kJfKZ7cE3NNeMr6NLSXCmsyP7MVEHVPLNfxatz2qBy3_fZJvPMQwZNOC9y6V5L" ) return t.NewPackage("libXfixes", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxfixes", "libXfixes-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, XorgProto, LibX11, ), version } func init() { artifactsM[LibXfixes] = Metadata{ f: Toolchain.newLibXfixes, Name: "libXfixes", Description: "Xlib-based library for the XFIXES Extension", Website: "https://www.freedesktop.org/wiki/Software/FixesExt/", Dependencies: P{ LibX11, }, ID: 1775, } } func (t Toolchain) newLibXrender() (pkg.Artifact, string) { const ( version = "0.9.12" checksum = "s6nWn-r17X_W-7anaS7wIcq5_Levf9zAigwJDD9Klp-cCJTVDhLo7GufuVOrxVP0" ) return t.NewPackage("libXrender", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxrender", "libXrender-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, LibX11, ), version } func init() { artifactsM[LibXrender] = Metadata{ f: Toolchain.newLibXrender, Name: "libXrender", Description: "Xlib library for the Render Extension to the X11 protocol", Website: "https://gitlab.freedesktop.org/xorg/lib/libxrender", Dependencies: P{ LibX11, }, ID: 1789, } } func (t Toolchain) newLibxshmfence() (pkg.Artifact, string) { const ( version = "1.3.3" checksum = "JamExTPg81By2fs3vWdeo_dzlpBQeAwXr2sDXeHJqm9XBoLW5pamiD6FgAWtAKyA" ) return t.NewPackage("libxshmfence", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxshmfence", "libxshmfence-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, XorgProto, ), version } func init() { artifactsM[Libxshmfence] = Metadata{ f: Toolchain.newLibxshmfence, Name: "libxshmfence", Description: "shared memory 'SyncFence' synchronization primitive", Website: "https://gitlab.freedesktop.org/xorg/lib/libxshmfence", ID: 1792, } } func (t Toolchain) newLibXxf86vm() (pkg.Artifact, string) { const ( version = "1.1.7" checksum = "mS4cgKWrwz6M1Lb6Qu4ZVh8Xn2Ca_4HXPxr3LDad4iYY1LecZfeLUPW1hkp6amX_" ) return t.NewPackage("libXxf86vm", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxxf86vm", "libXxf86vm-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, LibXext, XorgProto, ), version } func init() { artifactsM[LibXxf86vm] = Metadata{ f: Toolchain.newLibXxf86vm, Name: "libXxf86vm", Description: "Xlib-based library for the XFree86-VidMode X extension", Website: "https://gitlab.freedesktop.org/xorg/lib/libxxf86vm", Dependencies: P{ LibXext, }, ID: 1799, } } func (t Toolchain) newLibXrandr() (pkg.Artifact, string) { const ( version = "1.5.5" checksum = "OF7C7VC5MwnFue9UX5UnIkG1PIWvn9bBMq6d4mVyJJ_rcF0w4Kedn1lfxBsXEKAP" ) return t.NewPackage("libXrandr", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxrandr", "libXrandr-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, LibXext, LibXrender, XorgProto, ), version } func init() { artifactsM[LibXrandr] = Metadata{ f: Toolchain.newLibXrandr, Name: "libXrandr", Description: "Xlib Resize, Rotate and Reflection (RandR) extension library", Website: "https://gitlab.freedesktop.org/xorg/lib/libxrandr", Dependencies: P{ LibXext, LibXrender, }, ID: 1788, } } func (t Toolchain) newFontUtil() (pkg.Artifact, string) { const ( version = "1.4.2" checksum = "YWiaIxkq-N2yNdbGa_RF1S0UkQq6xsgoRT73WZP2DOmyH_CJ0TAkpQjId657MQmh" ) return t.NewPackage("font-util", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/font/util", "font-util-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, ), version } func init() { artifactsM[FontUtil] = Metadata{ f: Toolchain.newFontUtil, Name: "font-util", Description: "X.Org font package creation/installation utilities", Website: "https://gitlab.freedesktop.org/xorg/font/util", ID: 15055, } } func (t Toolchain) newLibfontenc() (pkg.Artifact, string) { const ( version = "1.1.9" checksum = "XqosXfbVwaoYzG9vVyRCl3eatwjASoJdLZsxQ37NN8S_jTyqNmbxpRSJGImJj7RS" ) return t.NewPackage("libfontenc", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libfontenc", "libfontenc-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, FontUtil, XorgProto, ), version } func init() { artifactsM[Libfontenc] = Metadata{ f: Toolchain.newLibfontenc, Name: "libfontenc", Description: "X font encoding library", Website: "https://gitlab.freedesktop.org/xorg/lib/libfontenc", ID: 1613, } } func (t Toolchain) newLibxkbfile() (pkg.Artifact, string) { const ( version = "1.2.0" checksum = "WUtph1ab0AyATahlwljchBxZJcpjYrjyhCK9DW2VO0uXEXaN22GWmUaibcA83i_B" ) return t.NewPackage("libxkbfile", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxkbfile", "libxkbfile-"+version, checksum, ), nil, (*MesonHelper)(nil), LibX11, ), version } func init() { artifactsM[Libxkbfile] = Metadata{ f: Toolchain.newLibxkbfile, Name: "libxkbfile", Description: "XKB file handling routines", Website: "http://www.x.org/wiki/XKB", Dependencies: P{ LibX11, }, ID: 1781, } } func (t Toolchain) newXkbcomp() (pkg.Artifact, string) { const ( version = "1.5.0" checksum = "ttICW8ZPbljI-nw2kknvxFhwFoDK40iAMBeZDLAHYsHf3B6UPO_zc9TpzZYRRyZH" ) return t.NewPackage("xkbcomp", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/app/xkbcomp", "xkbcomp-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, Bison, utilMacros, Libxkbfile, ), version } func init() { artifactsM[Xkbcomp] = Metadata{ f: Toolchain.newXkbcomp, Name: "xkbcomp", Description: "XKB keyboard description compiler", Website: "http://www.x.org/wiki/XKB", Dependencies: P{ Libxkbfile, }, ID: 15018, } } func (t Toolchain) newLibXfont2() (pkg.Artifact, string) { const ( version = "2.0.7" checksum = "jv9BZNA02493KB8j1lfAErF5SA3ZFcAhm3_UVJ--Bp1maz-vNprl_wXpkHApBi9M" ) return t.NewPackage("libXfont2", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxfont", "libXfont2-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, Freetype, XorgProto, Libxtrans, Libfontenc, ), version } func init() { artifactsM[LibXfont2] = Metadata{ f: Toolchain.newLibXfont2, Name: "libXfont2", Description: "X font handling library for server & utilities", Website: "https://gitlab.freedesktop.org/xorg/lib/libxfont", Dependencies: P{ Freetype, Libfontenc, }, ID: 17165, } } func (t Toolchain) newLibxcvt() (pkg.Artifact, string) { const ( version = "0.1.3" checksum = "IfIA7SxlHMWh681e1AgYmZcRAfkZd5LlzmqcMRifNY5nNVRrUx_wnoaidAv0Yu03" ) return t.NewPackage("libxcvt", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxcvt", "libxcvt-"+version, checksum, ), nil, (*MesonHelper)(nil)), version } func init() { artifactsM[Libxcvt] = Metadata{ f: Toolchain.newLibxcvt, Name: "libxcvt", Description: "VESA CVT standard timing modeline generation library & utility", Website: "https://gitlab.freedesktop.org/xorg/lib/libxcvt", ID: 235147, } } func (t Toolchain) newLibXdmcp() (pkg.Artifact, string) { const ( version = "1.1.5" checksum = "N6AJSv9pmeBedFn8KuSIOUGvTken4rkypNWVE2KfPlliwkfIbhfXrt5YHZkBMUHp" ) return t.NewPackage("libXdmcp", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libxdmcp", "libXdmcp-"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", }, Automake, Libtool, PkgConfig, utilMacros, XorgProto, ), version } func init() { artifactsM[LibXdmcp] = Metadata{ f: Toolchain.newLibXdmcp, Name: "libXdmcp", Description: "X Display Manager Control Protocol library", Website: "https://gitlab.freedesktop.org/xorg/lib/libxdmcp", ID: 1772, } } func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) { const ( version = "0.19" checksum = "84H0c_U_7fMqo81bpuwyXGXtk4XvvFH_YK00UiOriv3YGsuAhmbo2IkFhmJnvu2x" ) return t.NewPackage("libpciaccess", version, newFromGitLab( "gitlab.freedesktop.org", "xorg/lib/libpciaccess", "libpciaccess-"+version, checksum, ), nil, &MesonHelper{ Setup: []KV{ {"Dzlib", "enabled"}, }, }), version } func init() { artifactsM[Libpciaccess] = Metadata{ f: Toolchain.newLibpciaccess, Name: "libpciaccess", Description: "generic PCI access library", Website: "https://gitlab.freedesktop.org/xorg/lib/libpciaccess", Dependencies: P{ Zlib, }, ID: 1703, } }