Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xorg-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
obextra
xorg-server
Commits
55abea29
Commit
55abea29
authored
5 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
upgpkg: 1.20.6-2
parent
434737b1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
trunk/0002-fix-libshadow-2.patch
+19
-13
19 additions, 13 deletions
trunk/0002-fix-libshadow-2.patch
trunk/PKGBUILD
+32
-13
32 additions, 13 deletions
trunk/PKGBUILD
with
51 additions
and
26 deletions
trunk/0002-fix-libshadow-2.patch
+
19
−
13
View file @
55abea29
From
9ed4ae9cf207360000742c09007a32ad144b52db
Mon Sep 17 00:00:00 2001
From:
fafryd <dz1125.bug.tracker@gmail
.com>
Date:
Fri, 25 May 2018 20:17:35 +02
00
Subject: [PATCH]
f
ix libshadow
From
a530b6e8923f2b9153a773c8618a1e2f41619288
Mon Sep 17 00:00:00 2001
From:
Adam Jackson <ajax@redhat
.com>
Date:
Tue, 30 Apr 2019 18:01:27 -04
00
Subject: [PATCH]
meson: F
ix libshadow
.so linkage
Don't link against fb, it's the driver's responsibility to load that
first. Underlinking like this is unpleasant but this matches what
autotools does.
Fixes: xorg/xserver#540
---
hw/xfree86/dixmods/meson.build |
1
+
1 file changed, 1 insertion(+)
hw/xfree86/dixmods/meson.build |
2
+
-
1 file changed, 1 insertion(+)
, 1 deletion(-)
diff --git a/hw/xfree86/dixmods/meson.build b/hw/xfree86/dixmods/meson.build
index 835d23215..
6bd8029b6
100644
index 835d23215..
0562b630f
100644
--- a/hw/xfree86/dixmods/meson.build
+++ b/hw/xfree86/dixmods/meson.build
@@ -38,6 +38,7 @@
shared_module(
@@ -34,7 +34,7 @@
shared_module(
c_args: xorg_c_args,
dependencies: common_dep,
link_whole: libxserver_miext_shadow,
- link_with: [fb, e],
+ link_with: e,
install: true,
install_dir: module_dir,
+ install_rpath: '$ORIGIN/./',
)
if build_glx
--
2.
17
.0
2.
22
.0
This diff is collapsed.
Click to expand it.
trunk/PKGBUILD
+
32
−
13
View file @
55abea29
...
...
@@ -10,15 +10,15 @@
#--------------------------------------------------------------------------------------
pkgbase
=
xorg-server
pkgname
=(
'xorg-server'
'xorg-server-xephyr'
'xorg-server-xdmx'
'xorg-server-xvfb'
'xorg-server-xnest'
'xorg-server-xwayland'
'xorg-server-common'
'xorg-server-devel'
)
pkgver
=
1.20.5
pkg
rel
=
5
arch
=(
'x86_64'
)
license
=(
'CUSTOM'
)
pkg
ver
=
1.20.6
pkgrel
=
2
url
=
"https://xorg.freedesktop.org/releases/individual/xserver"
source
=(
"
${
url
}
/
${
pkgbase
}
-
${
pkgver
}
.tar.bz2"
{
,.sig
}
'xwayland-config.h.meson.in::https://cgit.freedesktop.org/xorg/xserver/plain/include/xwayland-config.h.meson.in?id=xorg-server-1.20.0'
'xserver-autobind-hotplug.patch'
'0001-v2-FS-58644.patch'
'0002-fix-libshadow-2.patch'
...
...
@@ -26,11 +26,8 @@ source=("${url}/${pkgbase}-${pkgver}.tar.bz2"{,.sig}
'xvfb-run.1'
'Xwrapper.config'
)
groups
=(
'xorg'
)
#-------------------------------------| BUILD CONFIGURATION |-----------------------------------
backup
=(
'etc/X11/Xwrapper.config'
)
makedepends
=(
'xorgproto'
...
...
@@ -65,7 +62,8 @@ makedepends=(
'egl-wayland'
'meson'
)
#--------------------------------------------------------------------------------------
#--------------------------------------| BUILD PREPARATION |------------------------------------
prepare
()
{
cp
xwayland-config.h.meson.in
${
pkgbase
}
-
${
pkgver
}
/include/
...
...
@@ -78,10 +76,11 @@ prepare() {
patch
-Np1
-i
../0001-v2-FS-58644.patch
## Fix libshadow.so: libfb.so => not found - FS#58731
## https://bugs.freedesktop.org/show_bug.cgi?id=106656
patch
-Np1
-i
../0002-fix-libshadow-2.patch
patch
-Np1
-i
../0002-fix-libshadow-2.patch
}
#--------------------------------------------| BUILD |------------------------------------------
build
()
{
## Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
...
...
@@ -118,6 +117,12 @@ build() {
DESTDIR
=
"
${
srcdir
}
/fakeinstall"
ninja
-C
build
install
}
#--------------------------------------------| CHECK |------------------------------------------
#-------------------------------------------| PACKAGE |-----------------------------------------
_install
()
{
local
src f
dir
for
src
;
do
...
...
@@ -316,7 +321,21 @@ package_xorg-server-devel() {
find fakeinstall
-depth
-print0
| xargs
-0
rmdir
}
#--------------------------------------------------------------------------------------
#------------------------------------| INSTALL CONFIGURATION |----------------------------------
arch
=(
'x86_64'
)
groups
=(
'xorg'
)
backup
=(
'etc/X11/Xwrapper.config'
)
#-------------------------------------| SECURITY AND LICENCE |----------------------------------
license
=(
'CUSTOM'
)
validpgpkeys
=(
'7B27A3F1A6E18CD9588B4AE8310180050905E40C'
'C383B778255613DFDB409D91DB221A6900000011'
'DD38563A8A8224537D1F90E45B8A2D50A0ECD0D3'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment