Considering this package uses newer code than the stable release xorg-server
, I'd say in addition to my other suggestion for fixing the naming scheme, and honestly probably even more important than that, is fixing the X-ABI-VIDEODRV_VERSION
. xorg-server
is on 25.2. This package reports 24. That makes it impossible to install things like xf86-video-fbdev
because it requires a version greater than 24 and less than 26 (as of me typing this).
Search Criteria
Package Details: xorg-server-devel-git 21.1.99.1.r1061.ge61bd1e5f-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xorg-server-git.git (read-only, click to copy) |
---|---|
Package Base: | xorg-server-git |
Description: | Development files for the X.Org X server (git version) |
Upstream URL: | https://xorg.freedesktop.org |
Keywords: | git x-server xorg xorg-server |
Licenses: | custom |
Groups: | xorg |
Conflicts: | xorg-server-devel |
Provides: | xorg-server-devel |
Submitter: | ilikenwf |
Maintainer: | JstKddng (yurikoles) |
Last Packager: | JstKddng |
Votes: | 51 |
Popularity: | 0.048024 |
First Submitted: | 2008-08-07 19:05 (UTC) |
Last Updated: | 2024-05-20 14:06 (UTC) |
Dependencies (35)
- libpciaccess (libpciaccess-gitAUR)
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-minimal-gitAUR, mesa-amber)
- xorg-util-macros
- xorgproto-gitAUR
- git (git-gitAUR, git-glAUR) (make)
- libepoxy (libepoxy-gitAUR) (make)
- libpciaccess (libpciaccess-gitAUR) (make)
- libunwind (libunwind-carbonAUR, libunwind-gitAUR) (make)
- libx11 (libx11-gitAUR) (make)
- libxaw (xawmAUR) (make)
- libxcvt (libxcvt-gitAUR) (make)
- libxfont2 (make)
- libxi (libxi-gitAUR) (make)
- libxkbfile (make)
- libxmu (make)
- libxrender (make)
- libxres (make)
- libxshmfence (make)
- libxtst (make)
- libxv (make)
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-minimal-gitAUR, mesa-amber) (make)
- mesa-libgl (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa) (make)
- meson (meson-gitAUR) (make)
- pixman (pixman-gitAUR) (make)
- systemd (systemd-fmlAUR, systemd-selinuxAUR, systemd-gitAUR) (make)
- xcb-util (make)
- xcb-util-image (make)
- xcb-util-keysyms (make)
- xcb-util-renderutil (make)
- xcb-util-wm (make)
- xorg-font-util (make)
- xorg-util-macros (make)
- xorg-xkbcomp (make)
- xorgproto-gitAUR (make)
- xtrans (make)
Required by (96)
- amdvlk-2021q2.5 (requires xorg-server-devel) (make)
- amdvlk-2023q3.3 (requires xorg-server-devel) (make)
- amdvlk-debug (requires xorg-server-devel) (make)
- amdvlk-git (requires xorg-server-devel) (make)
- buici-clock (requires xorg-server-devel)
- ctrlwm (requires xorg-server-devel) (make)
- cutefish-core-git (requires xorg-server-devel) (make)
- danser (requires xorg-server-devel) (make)
- danser-git (requires xorg-server-devel) (make)
- doomsday (requires xorg-server-devel) (make)
- easystroke (requires xorg-server-devel) (make)
- easystroke-git (requires xorg-server-devel) (make)
- eruption (requires xorg-server-devel) (make)
- eruption-git (requires xorg-server-devel) (make)
- fortunate (requires xorg-server-devel) (make)
- frame (requires xorg-server-devel) (make)
- gpt-cli (requires xorg-server-devel)
- itgui-git (requires xorg-server-devel) (make)
- lib32-amdvlk-2021q2.5 (requires xorg-server-devel) (make)
- lib32-amdvlk-2023q3.3 (requires xorg-server-devel) (make)
- Show 76 more...
Sources (3)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 25 Next › Last »
gardotd426 commented on 2022-02-03 04:07 (UTC)
gardotd426 commented on 2021-11-23 15:29 (UTC) (edited on 2021-12-08 22:50 (UTC) by gardotd426)
The versioning method needs to be changed. I've come up with a proper one, read on for the explanation and one-liner:
The current method gives the incorrect version (21.0.99). The xserver repo's meson.build always contains the correct version (currently 21.1.99.1).
Still use git describe
to append the current commit hash to the end of the pkgver, but not use it for the pkgver number. Because right now, you end up with xorg-server-git 21.0.99.1.r127.gda9d012a9-1
, but it's really 21.1.99. 21.1.1 was released a few weeks ago.
Since meson.build
always has the proper version, I actually have tweaked your command into a one-liner that will always get the correct version:
git describe --long --tags | sed "s/$(git describe --long --tags | cut -d- -f3)/$(grep -m 1 version meson.build | awk '{print $2}' | sed "s/'//g;s/,//g")/g" | sed 's/^xorg.server.//;s/\([^-]*-g\)/r\1/;s/-/./g'
gives us:
21.1.99.1.r127.gda9d012a9
and the package named:
xorg-server-git-21.1.99.1.r127.gda9d012a9-1-x86_64.pkg.tar.zst
So literally all you have to do is replace the one line in the PKGBUILD, and xorg-server-git will always be the true accurate version. This will avoid situations like the current one where xorg-server is on 21.1.1 but xorg-server-git is on 20.0.99 despite being actually built on 21.1.99.
You could also take a slightly different versioning approach like other -git packages do (for example libva-vdpau-driver-vp9-git) and use git rev-parse and rev-list, and use this:
printf ".r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | sed "s/^/$(grep -m 1 version meson.build | awk '{print $2}' | cut -d"'" -f2)/g"
which gives:
xorg-server-git-21.1.99.1.r17753.gda9d012a9-1-x86_64.pkg.tar.zst
Either one will always make sure the version is correct while appending the commit hash, the way it should be.
EndlessEden commented on 2021-09-19 01:05 (UTC)
ERROR: Unknown options: "os_vendor"
feral_hedgehog commented on 2021-08-13 21:59 (UTC) (edited on 2021-08-13 21:59 (UTC) by feral_hedgehog)
Hello! cvt support appears to have moved to a separate libxcvt library.
build() currently fails if the package is missing and package_xorg-server-git() fails if it's installed (it tries to copy the now missing cvt binary and manpage).
Could you please update the deps and _install?
Thank you for this package!
tsweet64 commented on 2021-07-15 21:24 (UTC)
This needs xorgproto-git to compile
carador commented on 2021-05-29 10:42 (UTC)
Quickly 'resolved' the previous issue by commenting out the last line in PKGBUILD
find fakeinstall -depth -print0 | xargs -0 rmdir
Although there might be a better solution.
cranerja commented on 2021-05-01 18:10 (UTC)
Even with the fixed mesonbuild, I still get a build error.
rmdir: failed to remove 'fakeinstall/usr/bin/X': Not a directory
rmdir: failed to remove 'fakeinstall/usr/bin': Directory not empty
rmdir: failed to remove 'fakeinstall/usr': Directory not empty
rmdir: failed to remove 'fakeinstall': Directory not empty
==> ERROR: A failure occurred in package_xorg-server-devel-git().
Aborting...
error making: xorg-server-git
ashb commented on 2021-04-23 20:24 (UTC)
@xenu https://github.com/mesonbuild/meson/pull/8569/files -- it appears to be a bug in mesonbuild
xenu commented on 2021-03-30 21:00 (UTC)
I have been getting a build error the last couple of days probably due to upstream commits to Xorg.wrap on 2021-03-25:
Installing hw/xfree86/Xorg.wrap to ./xorg-server-git/src/fakeinstall/usr/lib
'./xorg-server-git/src/fakeinstall/usr/lib/Xorg.wrap': Unable to set owner 0 and group 0: Operation not permitted, ignoring...
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/mesonbuild/mesonmain.py", line 132, in run
return options.run_func(options)
File "/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 702, in run
installer.do_install(datafilename)
File "/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 503, in do_install
self.install_targets(d, dm, destdir, fullprefix)
File "/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 656, in install_targets
self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path,
File "/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 322, in fix_rpath
depfixer.fix_rpath(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/depfixer.py", line 468, in fix_rpath
fix_elf(fname, rpath_dirs_to_remove, new_rpath, verbose)
File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/depfixer.py", line 369, in fix_elf
with Elf(fname, verbose) as e:
File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/depfixer.py", line 123, in __init__
self.bf = open(bfile, 'r+b')
PermissionError: [Errno 13] Permission denied: './xorg-server-git/src/fakeinstall/usr/lib/Xorg.wrap'
Exception ignored in: <function Elf.__del__ at 0x7f2b88463d30>
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/depfixer.py", line 140, in __del__
if self.bf:
AttributeError: 'Elf' object has no attribute 'bf'
FAILED: meson-install
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
JstKddng commented on 2020-12-16 19:59 (UTC) (edited on 2020-12-16 20:01 (UTC) by JstKddng)
@Rucikir
fair enough, if xorg-xwayland exists no point maintaining it here.
Pinned Comments
yurikoles commented on 2022-03-18 01:04 (UTC)
check()
function was added, if unit tests fail, you may ignore them by appending--nocheck
tomakepkg
.yurikoles commented on 2019-05-29 15:00 (UTC)
PRs are welcome: https://github.com/yurikoles-aur/xorg-server-git