me

/

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

Keep packaged compiler and X11 paths accessible to desktop users

diviocity committed 4 days ago · 6327522add55a5e4c9661d5b3c7570aabcc7c481 View patch
Unverified signature 6 files changed +13 -6
ports/binutils/PKGBUILD.vile +2 -1

@@ -17,7 +17,7 @@ check-tool := fn(dir, name, args) {

1717defpkgbuild(binutils,

1818 #:pkgname, "binutils",

1919 #:pkgver, "2.43.1",

20- #:pkgrel, if string=?(arch, "aarch64") { 4 } else { 3 },

20+ #:pkgrel, 5,

2121 #:pkgdesc, "GNU assembler, linker, and binary utilities for Vinix",

2222 #:arch, [#:x86-64, #:aarch64],

2323 #:url, "https://www.gnu.org/software/binutils/",

@@ -111,4 +111,5 @@ defpkgbuild(binutils,

111111 }, list("i386pe", "i386pep"))

112112 }

113113 run("install", "-Dm644", "binutils-2.43.1/COPYING3", string-append(pkgdir(), "/usr/share/licenses/binutils/COPYING3"))

114+ run("find", string-append(pkgdir(), "/usr"), "-type", "d", "-exec", "chmod", "755", "{}", "+")

114115 })

ports/freeglut/PKGBUILD.vile +2 -1

@@ -1,7 +1,7 @@

11defpkgbuild(freeglut,

22 #:pkgname, "freeglut",

33 #:pkgver, "3.4.0",

4- #:pkgrel, 1,

4+ #:pkgrel, 2,

55 #:pkgdesc, "OpenGL Utility Toolkit for X11",

66 #:arch, [#:x86-64, #:aarch64],

77 #:url, "https://freeglut.sourceforge.net/",

@@ -25,4 +25,5 @@ defpkgbuild(freeglut,

2525 run("test", "-s", string-append(pkgdir(), "/usr/lib/pkgconfig/glut.pc"))

2626 run("ln", "-s", "glut.pc", string-append(pkgdir(), "/usr/lib/pkgconfig/freeglut.pc"))

2727 run("install", "-Dm644", "freeglut-3.4.0/COPYING", string-append(pkgdir(), "/usr/share/licenses/freeglut/COPYING"))

28+ run("find", string-append(pkgdir(), "/usr"), "-type", "d", "-exec", "chmod", "755", "{}", "+")

2829 })

ports/gcc/PKGBUILD.vile +2 -1

@@ -38,7 +38,7 @@ itm-compiler := fn() {

3838defpkgbuild(gcc,

3939 #:pkgname, "gcc",

4040 #:pkgver, "14.2.0",

41- #:pkgrel, 2,

41+ #:pkgrel, 3,

4242 #:pkgdesc, "GNU C and C++ compilers, headers and development libraries for Vinix",

4343 #:arch, [#:x86-64, #:aarch64],

4444 #:url, "https://gcc.gnu.org/",

@@ -169,4 +169,5 @@ defpkgbuild(gcc,

169169 run("install", "-Dm644", string-append(build-dir(), "/gcc-14.2.0/COPYING.RUNTIME"), string-append(pkgdir(), "/usr/share/licenses/gcc/COPYING.RUNTIME"))

170170 ; The worker's private umask must not restrict public compiler paths.

171171 run("find", pkgdir(), "-type", "d", "-exec", "chmod", "755", "{}", "+")

172+ run("find", string-append(pkgdir(), "/usr"), "-type", "f", "-exec", "chmod", "a+rX", "{}", "+")

172173 })

ports/xf86-video-fbdev/PKGBUILD.vile +2 -1

@@ -1,7 +1,7 @@

11defpkgbuild(xf86-video-fbdev,

22 #:pkgname, "xf86-video-fbdev",

33 #:pkgver, "0.5.1",

4- #:pkgrel, 1,

4+ #:pkgrel, 2,

55 #:pkgdesc, "Vinix Xorg framebuffer driver",

66 #:arch, [#:x86-64, #:aarch64],

77 #:license, "MIT",

@@ -33,4 +33,5 @@ defpkgbuild(xf86-video-fbdev,

3333 run("make", "install", "moduledir=/usr/lib/xorg/modules", string-append("DESTDIR=", pkgdir()))

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

3535 run("install", "-Dm644", "xf86-video-fbdev-0.5.1/COPYING", string-append(pkgdir(), "/usr/share/licenses/xf86-video-fbdev/COPYING"))

36+ run("find", string-append(pkgdir(), "/usr"), "-type", "d", "-exec", "chmod", "755", "{}", "+")

3637 })

ports/xinit/PKGBUILD.vile +3 -1

@@ -1,7 +1,7 @@

11defpkgbuild(xinit,

22 #:pkgname, "xinit",

33 #:pkgver, "1.4.2",

4- #:pkgrel, 1,

4+ #:pkgrel, 2,

55 #:pkgdesc, "X.Org initialisation program",

66 #:arch, [#:x86-64, #:aarch64],

77 #:license, "MIT AND GPL-2.0-or-later",

@@ -25,4 +25,6 @@ defpkgbuild(xinit,

2525 run("install", "-m755", "vinix-startx", string-append(pkgdir(), "/usr/bin/startx"))

2626 run("install", "-Dm644", "xinit-1.4.2/COPYING",

2727 string-append(pkgdir(), "/usr/share/licenses/xinit/COPYING"))

28+ run("find", string-append(pkgdir(), "/etc"), string-append(pkgdir(), "/usr"),

29+ "-type", "d", "-exec", "chmod", "755", "{}", "+")

2830 })

ports/xorg-server/PKGBUILD.vile +2 -1

@@ -1,7 +1,7 @@

11defpkgbuild(xorg-server,

22 #:pkgname, "xorg-server",

33 #:pkgver, "21.1.16",

4- #:pkgrel, 1,

4+ #:pkgrel, 2,

55 #:pkgdesc, "Vinix Xorg server and GLX-enabled Xvfb",

66 #:arch, [#:x86-64, #:aarch64],

77 #:license, "MIT",

@@ -40,4 +40,5 @@ defpkgbuild(xorg-server,

4040 run("rm", "-f", string-append(pkgdir(), "/usr/share/man/man1/Xvfb.1"))

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

4242 run("install", "-Dm644", "xorg-server-21.1.16/COPYING", string-append(pkgdir(), "/usr/share/licenses/xorg-server/COPYING"))

43+ run("find", string-append(pkgdir(), "/usr"), "-type", "d", "-exec", "chmod", "755", "{}", "+")

4344 })