upg cython xorg-xwayland
This commit is contained in:
parent
f405100692
commit
2b6787cf69
7 changed files with 144 additions and 37 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=cython
|
||||
pkgver=3.0.10
|
||||
pkgrel=03
|
||||
pkgrel=05
|
||||
pkgdesc='C-Extensions for Python'
|
||||
url='https://cython.org'
|
||||
depends=(python)
|
||||
|
@ -49,4 +49,4 @@ license=(Apache-2.0)
|
|||
|
||||
#sha256sums=(00f97476cef9fcd9a89f9d2a49be3b518e1a74b91f377fe08c97fcb44bc0f7d7) # cython-3.0.10.tar.gz
|
||||
sha256sums=(e2cfd1ac69cc31cc3762cf2fa8355228f046748cae7e48622b78f57908b38a64) # cython
|
||||
e6523fe152ebc5d731ce4e69dce9f527c7c7cefe17bc8bb0ae0ea4262ac896e0 cython-3.0.10-03-x86_64.pkg.tar.lz
|
||||
de0c156db39d8f9fd1ce342c8b292aa427d9868f306f4ba00b79d44e20496c5d cython-3.0.10-05-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
pkgname=cython
|
||||
pkgver=3.0.10
|
||||
pkgrel=3
|
||||
pkgrel=5
|
||||
pkgdesc='C-Extensions for Python'
|
||||
arch=(x86_64)
|
||||
url='https://cython.org'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/bash
|
||||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
|
@ -6,45 +6,67 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=xorg-xwayland
|
||||
pkgver=23.2.6
|
||||
pkgver=24.1.0.r184.ga6a993f95
|
||||
#pkgver=24.1.0
|
||||
#_commit=039b07a838015da5c0173da1ef151eb53d56201b ## tags/xwayland-24.1.0
|
||||
pkgrel=02
|
||||
groups=('xorg')
|
||||
url="https://xorg.freedesktop.org"
|
||||
pkgdesc="run X clients under wayland w/o ipv6 just like xorg-server"
|
||||
provides=('xorg-server-xwayland')
|
||||
depends=('nettle' 'libepoxy' 'libxfont2' 'libei'
|
||||
'pixman' 'xorg-server-common' 'libxcvt' 'mesa'
|
||||
'libglvnd' 'libxau' 'wayland' 'libdrm' 'libtirpc'
|
||||
'libxshmfence' 'glibc')
|
||||
makedepends=('meson' 'xorgproto' 'xtrans' 'libxkbfile' # 'dbus'
|
||||
'xorg-font-util' 'wayland-protocols' 'mesa-libgl'
|
||||
'egl-wayland')
|
||||
source=(https://xorg.freedesktop.org/archive/individual/xserver/xwayland-$pkgver.tar.xz{,.sig})
|
||||
provides=('xorg-server-xwayland')
|
||||
conflicts=('xorg-server-xwayland')
|
||||
replaces=('xorg-server-xwayland')
|
||||
pkgdesc="latest rc - Run X clients under wayland w/o ipv6 just like xorg-server"
|
||||
depends=('nettle' 'libepoxy' 'libxfont2' 'pixman' 'xorg-server-common' 'libxcvt' 'mesa'
|
||||
'libglvnd' 'libxau' 'wayland' 'libdrm' 'libtirpc' 'libei' 'libxshmfence' 'glibc')
|
||||
makedepends=('meson' 'xorgproto' 'xtrans' 'libxkbfile' 'dbus' 'git'
|
||||
'xorg-font-util' 'wayland-protocols' 'mesa')
|
||||
#source=(git+https://gitlab.freedesktop.org/xorg/xserver.git#commit=$_commit)
|
||||
source=("xserver::git+https://gitlab.freedesktop.org/xorg/xserver.git")
|
||||
provides=('xorg-xwayland' 'xorg-server-xwayland' 'xorg-server-xwayland-git')
|
||||
conflicts=('xorg-xwayland-git' 'xorg-server-xwayland' 'xorg-server-xwayland-git')
|
||||
replaces=('xorg-server-xwayland-git')
|
||||
|
||||
pkgver() {
|
||||
cd xserver
|
||||
local branch=origin/xwayland-24.1
|
||||
local head=$(git rev-parse --short HEAD)
|
||||
local tag=$(git describe --abbrev=0 "$branch")
|
||||
local revisions=$(git rev-list "${tag}..HEAD" --count)
|
||||
printf "%s.r%d.g%s" "$(echo "$tag" | sed 's/^xwayland.//')" "$revisions" "$head"
|
||||
}
|
||||
|
||||
build() {
|
||||
arch-meson xwayland-$pkgver build \
|
||||
# Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
|
||||
# With them, module fail to load with undefined symbol.
|
||||
# See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
|
||||
# export CFLAGS=${CFLAGS/-fno-plt}
|
||||
# export CXXFLAGS=${CXXFLAGS/-fno-plt}
|
||||
# export LDFLAGS=${LDFLAGS/,-z,now}
|
||||
|
||||
# -D xorg=false \
|
||||
# -D xephyr=false \
|
||||
|
||||
arch-meson xserver build \
|
||||
-D ipv6=false \
|
||||
-D xvfb=false \
|
||||
-D xnest=false \
|
||||
-D xdmcp=false \
|
||||
-D xcsecurity=true \
|
||||
-D xorg=false \
|
||||
-D xephyr=false \
|
||||
-D xwayland=true \
|
||||
-D xwin=false \
|
||||
-D xquartz=false \
|
||||
-D dri3=true \
|
||||
-D xwayland_eglstream=true \
|
||||
-D glamor=true \
|
||||
-D xkb_dir=/usr/share/X11/xkb \
|
||||
-D xkb_output_dir=/var/lib/xkb
|
||||
|
||||
# Print config
|
||||
meson configure build
|
||||
# meson configure build
|
||||
|
||||
ninja -C build
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
DESTDIR="${pkgdir}" ninja -C build install
|
||||
# xorg-server-common file /usr/lib/xorg/protocol.txt
|
||||
rm "${pkgdir}"/usr/lib/xorg/protocol.txt
|
||||
|
@ -52,7 +74,7 @@ package() {
|
|||
rm "${pkgdir}"/usr/share/man/man1/Xserver.1
|
||||
|
||||
# license
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xwayland-$pkgver/COPYING
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
@ -61,14 +83,7 @@ arch=(x86_64)
|
|||
|
||||
license=(LicenseRef-Adobe-Display-PostScript BSD-3-Clause LicenseRef-DEC-3-Clause HPND LicenseRef-HPND-sell-MIT-disclaimer-xserver HPND-sell-variant ICU ISC MIT MIT-open-group NTP SGI-B-2.0 SMLNJ X11 X11-distribute-modifications-variant)
|
||||
|
||||
#validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # "Michel Daenzer <michel@daenzer.net>"
|
||||
#validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
|
||||
validpgpkeys=('67DC86F2623FC5FD4BB5225D14706DBE1E4B4540') # "Olivier Fourdan <fourdan@xfce.org>"
|
||||
sha256sums=(SKIP)
|
||||
|
||||
sha512sums=('9e3c2253af335a559d0f890fa8f9bc381beca6531e0842d739ac15cbca008b3d07c0eefafd03611b04917c626861a7871a83657afa2a298994f4b162f714fc49'
|
||||
'SKIP')
|
||||
sha256sums=(1c9a366b4e7ccadba0f9bd313c59eae12d23bd72543b22a26eaf8b20835cfc6d # xwayland-23.2.6.tar.xz
|
||||
5c2b30ba2bd562d73f9dbf996eacd6586a1c07ee78813b54ab3b09eb92d95fa1) # xwayland-23.2.6.tar.xz.sig
|
||||
|
||||
## b76a92d1337475ee83ce267d33eeed80d16ac97527458700d2411f65e29d92ea xorg-xwayland-23.2.6-02-x86_64.pkg.tar.lz
|
||||
## 01950fcd99b747572042ba566bc0b7fba23585fb9a26d36d39a64f43a2bd6c30 xorg-xwayland-24.1.0.r184.ga6a993f95-02-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
87
xorg-xwayland/PKGBUILD-aur
Normal file
87
xorg-xwayland/PKGBUILD-aur
Normal file
|
@ -0,0 +1,87 @@
|
|||
# Maintainer: Xuanrui Qi <me@xuanruiqi.com>
|
||||
# Contributor: Antonin Décimo <antonin dot decimo at gmail dot com>
|
||||
# Contributor: AndyRTR <andyrtr@archlinux.org>
|
||||
|
||||
pkgname=xorg-xwayland-git
|
||||
pkgver=24.0.99.901.r102.g08113b892
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
license=(
|
||||
LicenseRef-Adobe-Display-PostScript
|
||||
BSD-3-Clause
|
||||
LicenseRef-DEC-3-Clause
|
||||
HPND
|
||||
LicenseRef-HPND-sell-MIT-disclaimer-xserver
|
||||
HPND-sell-variant
|
||||
ICU
|
||||
ISC
|
||||
MIT
|
||||
MIT-open-group
|
||||
NTP
|
||||
SGI-B-2.0
|
||||
SMLNJ
|
||||
X11
|
||||
X11-distribute-modifications-variant)
|
||||
groups=('xorg')
|
||||
url="https://xorg.freedesktop.org"
|
||||
pkgdesc="Run X clients under Wayland (git version)"
|
||||
depends=('nettle' 'libepoxy' 'systemd-libs' 'libxfont2'
|
||||
'pixman' 'xorg-server-common' 'libxcvt' 'mesa'
|
||||
'libglvnd' 'libxau' 'wayland' 'libdrm' 'libtirpc'
|
||||
'libei' 'libxshmfence' 'glibc')
|
||||
makedepends=('meson' 'xorgproto' 'xtrans' 'libxkbfile' 'dbus'
|
||||
'xorg-font-util' 'wayland-protocols' 'mesa-libgl'
|
||||
'systemd' 'git')
|
||||
source=("xserver::git+https://gitlab.freedesktop.org/xorg/xserver.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
provides=('xorg-xwayland' 'xorg-server-xwayland' 'xorg-server-xwayland-git')
|
||||
conflicts=('xorg-xwayland' 'xorg-server-xwayland' 'xorg-server-xwayland-git')
|
||||
replaces=('xorg-server-xwayland-git')
|
||||
|
||||
pkgver() {
|
||||
cd xserver
|
||||
local branch=origin/xwayland-24.1
|
||||
local head=$(git rev-parse --short HEAD)
|
||||
local tag=$(git describe --abbrev=0 "$branch")
|
||||
local revisions=$(git rev-list "${tag}..HEAD" --count)
|
||||
printf "%s.r%d.g%s" "$(echo "$tag" | sed 's/^xwayland.//')" "$revisions" "$head"
|
||||
}
|
||||
|
||||
build() {
|
||||
# Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
|
||||
# With them, module fail to load with undefined symbol.
|
||||
# See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
|
||||
# export CFLAGS=${CFLAGS/-fno-plt}
|
||||
# export CXXFLAGS=${CXXFLAGS/-fno-plt}
|
||||
# export LDFLAGS=${LDFLAGS/,-z,now}
|
||||
|
||||
arch-meson xserver build \
|
||||
-D ipv6=true \
|
||||
-D xvfb=false \
|
||||
-D xnest=false \
|
||||
-D xdmcp=false \
|
||||
-D xcsecurity=true \
|
||||
-D xorg=false \
|
||||
-D xephyr=false \
|
||||
-D xwayland=true \
|
||||
-D xwin=false \
|
||||
-D xquartz=false \
|
||||
-D dri3=true \
|
||||
-D glamor=true \
|
||||
-D xkb_dir=/usr/share/X11/xkb \
|
||||
-D xkb_output_dir=/var/lib/xkb
|
||||
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="${pkgdir}" ninja -C build install
|
||||
# xorg-server-common file /usr/lib/xorg/protocol.txt
|
||||
rm "${pkgdir}"/usr/lib/xorg/protocol.txt
|
||||
rmdir "${pkgdir}"/usr/lib/xorg
|
||||
rm "${pkgdir}"/usr/share/man/man1/Xserver.1
|
||||
|
||||
# license
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
|
||||
}
|
|
@ -1 +1 @@
|
|||
rm -rf {src,pkg,*tar.xz*}
|
||||
rm -rf {src,pkg,xserver}
|
||||
|
|
|
@ -4,14 +4,19 @@ pixman
|
|||
xorg-server-common
|
||||
libxcvt
|
||||
xorg-font-util
|
||||
libglvnd
|
||||
libxau
|
||||
wayland
|
||||
wayland-protocols
|
||||
libdrm
|
||||
egl-wayland
|
||||
mesa
|
||||
libxkbfile
|
||||
libxshmfence
|
||||
meson
|
||||
xorgproto
|
||||
xtrans
|
||||
libei
|
||||
dbus
|
||||
git
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
|
||||
real 1m5.107s
|
||||
user 2m58.246s
|
||||
sys 0m19.087s
|
||||
real 0m42.984s
|
||||
user 3m0.958s
|
||||
sys 0m15.506s
|
||||
|
||||
|
|
Loading…
Reference in a new issue