me

/

vinix-ports Public
382 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

Build the X Athena widget set, XTEST and X11 session utilities

diviocity committed 5 days ago · e1d763971f24357dd15083f87cd4b7748eac5ae4 View patch
Unverified signature 5 files changed +129 -0
libxaw/PKGBUILD.vile new file +27 -0

@@ -0,0 +1,27 @@

1+defpkgbuild(libxaw,

2+ #:pkgname, "libxaw",

3+ #:pkgver, "1.0.16",

4+ #:pkgrel, 1,

5+ #:pkgdesc, "X Athena Widget Set",

6+ #:arch, [#:x86-64, #:aarch64],

7+ #:license, "MIT",

8+ #:url, "https://www.x.org/",

9+ #:depends, ["libxt", "libxext", "libxmu", "libxpm"],

10+ #:makedepends, ["xorgproto"],

11+ #:source, ["https://xorg.freedesktop.org/archive/individual/lib/libXaw-1.0.16.tar.xz"],

12+ #:sha256sums, ["731d572b54c708f81e197a6afa8016918e2e06dfd3025e066ca642a5b8c39c8f"],

13+

14+ #:build, fn() {

15+ run("vinix-configure", "libXaw-1.0.16/configure", "--disable-specs", "--disable-xaw6")

16+ run("make")

17+ },

18+ #:check, fn() {

19+ run("test", "-s", "src/.libs/libXaw7.so")

20+ run("readelf", "-d", "src/.libs/libXaw7.so")

21+ },

22+ #:package, fn() {

23+ run("make", "install", string-append("DESTDIR=", pkgdir()))

24+ run("find", pkgdir(), "-name", "*.la", "-delete")

25+ run("install", "-Dm644", "libXaw-1.0.16/COPYING",

26+ string-append(pkgdir(), "/usr/share/licenses/libxaw/COPYING"))

27+ })

libxtst/PKGBUILD.vile new file +27 -0

@@ -0,0 +1,27 @@

1+defpkgbuild(libxtst,

2+ #:pkgname, "libxtst",

3+ #:pkgver, "1.2.5",

4+ #:pkgrel, 2,

5+ #:pkgdesc, "X11 XTEST and RECORD client library",

6+ #:arch, [#:x86-64, #:aarch64],

7+ #:license, "MIT",

8+ #:url, "https://www.x.org/",

9+ #:depends, ["libx11", "libxext", "libxi"],

10+ #:makedepends, ["xorgproto"],

11+ #:source, ["https://xorg.freedesktop.org/archive/individual/lib/libXtst-1.2.5.tar.xz"],

12+ #:sha256sums, ["b50d4c25b97009a744706c1039c598f4d8e64910c9fde381994e1cae235d9242"],

13+

14+ #:build, fn() {

15+ run("vinix-configure", "libXtst-1.2.5/configure", "--disable-specs")

16+ run("make")

17+ },

18+ #:check, fn() {

19+ run("test", "-s", "src/.libs/libXtst.so")

20+ run("readelf", "-d", "src/.libs/libXtst.so")

21+ },

22+ #:package, fn() {

23+ run("make", "install", string-append("DESTDIR=", pkgdir()))

24+ run("find", pkgdir(), "-name", "*.la", "-delete")

25+ run("install", "-Dm644", "libXtst-1.2.5/COPYING",

26+ string-append(pkgdir(), "/usr/share/licenses/libxtst/COPYING"))

27+ })

xauth/PKGBUILD.vile new file +25 -0

@@ -0,0 +1,25 @@

1+defpkgbuild(xauth,

2+ #:pkgname, "xauth",

3+ #:pkgver, "1.1.3",

4+ #:pkgrel, 1,

5+ #:pkgdesc, "X.Org authorization settings program",

6+ #:arch, [#:x86-64, #:aarch64],

7+ #:license, "MIT",

8+ #:url, "https://www.x.org/",

9+ #:depends, ["libx11", "libxau", "libxext", "libxmu"],

10+ #:makedepends, ["xorgproto"],

11+ #:source, ["https://xorg.freedesktop.org/archive/individual/app/xauth-1.1.3.tar.xz"],

12+ #:sha256sums, ["e7075498bae332f917f01d660f9b940c0752b2556a8da61ccb62a44d0ffe9d33"],

13+

14+ #:build, fn() {

15+ run("vinix-configure", "xauth-1.1.3/configure")

16+ run("make")

17+ },

18+ #:check, fn() {

19+ run("vinix-run", "./xauth", "-V")

20+ },

21+ #:package, fn() {

22+ run("make", "install", string-append("DESTDIR=", pkgdir()))

23+ run("install", "-Dm644", "xauth-1.1.3/COPYING",

24+ string-append(pkgdir(), "/usr/share/licenses/xauth/COPYING"))

25+ })

xrdb/PKGBUILD.vile new file +25 -0

@@ -0,0 +1,25 @@

1+defpkgbuild(xrdb,

2+ #:pkgname, "xrdb",

3+ #:pkgver, "1.2.2",

4+ #:pkgrel, 1,

5+ #:pkgdesc, "X server resource database utility",

6+ #:arch, [#:x86-64, #:aarch64],

7+ #:license, "MIT",

8+ #:url, "https://www.x.org/",

9+ #:depends, ["libx11", "libxmu"],

10+ #:makedepends, ["xorgproto"],

11+ #:source, ["https://xorg.freedesktop.org/archive/individual/app/xrdb-1.2.2.tar.xz"],

12+ #:sha256sums, ["31f5fcab231b38f255b00b066cf7ea3b496df712c9eb2d0d50c670b63e5033f4"],

13+

14+ #:build, fn() {

15+ run("vinix-configure", "xrdb-1.2.2/configure", "--with-cpp=/usr/bin/cpp")

16+ run("make")

17+ },

18+ #:check, fn() {

19+ run("vinix-run", "./xrdb", "-version")

20+ },

21+ #:package, fn() {

22+ run("make", "install", string-append("DESTDIR=", pkgdir()))

23+ run("install", "-Dm644", "xrdb-1.2.2/COPYING",

24+ string-append(pkgdir(), "/usr/share/licenses/xrdb/COPYING"))

25+ })

xset/PKGBUILD.vile new file +25 -0

@@ -0,0 +1,25 @@

1+defpkgbuild(xset,

2+ #:pkgname, "xset",

3+ #:pkgver, "1.2.5",

4+ #:pkgrel, 1,

5+ #:pkgdesc, "X.Org xset application",

6+ #:arch, [#:x86-64, #:aarch64],

7+ #:license, "MIT",

8+ #:url, "https://www.x.org/",

9+ #:depends, ["libx11", "libxmu", "libxext"],

10+ #:makedepends, ["xorgproto"],

11+ #:source, ["https://xorg.freedesktop.org/archive/individual/app/xset-1.2.5.tar.xz"],

12+ #:sha256sums, ["9f692d55635b3862cd63633b1222a87680ec283c7a8e8ed6dd698a3147f75e2f"],

13+

14+ #:build, fn() {

15+ run("vinix-configure", "xset-1.2.5/configure")

16+ run("make")

17+ },

18+ #:check, fn() {

19+ run("vinix-run", "./xset", "-version")

20+ },

21+ #:package, fn() {

22+ run("make", "install", string-append("DESTDIR=", pkgdir()))

23+ run("install", "-Dm644", "xset-1.2.5/COPYING",

24+ string-append(pkgdir(), "/usr/share/licenses/xset/COPYING"))

25+ })