You are not logged in.
Hello
I want to build xorg-server-git from AUR I modifeted PKGBUILD becouse old can't be build.
That's my PKGBUILD:
pkgname=xorg-server-git
pkgver=20090731
pkgrel=1
pkgdesc="X.Org X servers"
arch=('x86_64')
license=('custom')
url="http://xorg.freedesktop.org"
depends=('libxfont>=1.4.0' 'openssl>=0.9.8k' 'libpciaccess>=0.10.6' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xkeyboard-config>=1.6' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils' )
makedepends=('libx11>=1.2.1' 'mesa>=7.5' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'glproto>=1.4.9' 'xorg-util-macros')
conflicts=('catalyst-utils<=9.2')
options=('!libtool')
_gitver=1.6.2.1
provides=('x-server')
groups=('xorg')
install=xorg-server.install
_gitroot="git://anongit.freedesktop.org/git/xorg/xserver"
_gitname="xserver"
source=("xorg-redhat-die-ugly-pattern-die-die-die.patch")
md5sums=('1a336eb22e27cbf443ec5a2ecddfa93c')
build() {
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d $startdir/src/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
cp -a "${srcdir}/$_gitname/" "${srcdir}/$_gitname-build/"
msg "GIT checkout done or server timeout"
msg "Starting make..."
cd "${srcdir}/$_gitname-build"
msg "Patching sources..."
# Fix dbus config path
sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
msg "Preparing sources for configure..."
autoreconf -v --install || return 1
msg "Starting configure for: $pkgname"
./configure --prefix=/usr \
--disable-ipv6 \
--disable-dri2 \
--disable-dri \
--disable-dmx \
--disable-xvfb \
--disable-xnest \
--disable-composite \
--disable-xcsecurity \
--enable-xorg \
--disable-xephyr \
--disable-glx-tls \
--disable-kdrive \
--enable-install-setuid \
--disable-config-hal \
--enable-config-dbus \
--disable-record \
--disable-xfbdev \
--disable-xfake \
--disable-xsdl \
--disable-static \
--sysconfdir=/etc/X11 \
--localstatedir=/var \
--with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
# --without-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
msg "Starting make..."
make || return 1
make DESTDIR="${pkgdir}" install || return 1
msg "Creating the appropriate X.org directories..."
install -m755 -d "${pkgdir}/etc/X11" || return 1
install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
msg "Backing up libwfb.so..."
mv "${pkgdir}/usr/lib/xorg/modules/libwfb.so" \
"${pkgdir}/usr/lib/xorg/modules/libwfb.so.1.4" || return 1
msg "Fixes for non-Mesa drivers..."
ln -s "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
msg "Cleaning build area..."
rm -rf "${srcdir}/$_gitname-build"
rm -rf "${pkgdir}/var/log"
}
And It's my error when i try to make it:
In file included from xfixesint.h:63,
from xfixes.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
In file included from xfixesint.h:63,
from saveset.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
make[1]: *** [xfixes.lo] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
make[1]: *** [saveset.lo] Błąd 1
In file included from xfixesint.h:63,
from region.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
In file included from xfixesint.h:63,
from select.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
In file included from xfixesint.h:63,
from cursor.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
region.c: In function 'ProcXFixesSetWindowShapeRegion':
region.c:695: error: 'ShapeBounding' undeclared (first use in this function)
region.c:695: error: (Each undeclared identifier is reported only once
region.c:695: error: for each function it appears in.)
region.c:696: error: 'ShapeClip' undeclared (first use in this function)
region.c:697: error: 'ShapeInput' undeclared (first use in this function)
make[1]: *** [region.lo] Błąd 1
make[1]: *** [select.lo] Błąd 1
make[1]: *** [cursor.lo] Błąd 1
make: *** [all-recursive] Błąd 1
==> BŁĄD: Budowanie nie powiodło się.
Przerywam...
Thanks for help and advice
Last edited by SpeedVin (2009-07-31 14:06:30)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
add xextproto to makedepends
Offline
I do it but now I got this error:
In file included from xfixesint.h:63,
from saveset.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
In file included from xfixesint.h:63,
from cursor.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
make[1]: *** [saveset.lo] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
In file included from xfixesint.h:63,
from region.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
make[1]: *** [cursor.lo] Błąd 1
In file included from xfixesint.h:63,
from select.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
region.c: In function 'ProcXFixesSetWindowShapeRegion':
region.c:695: error: 'ShapeBounding' undeclared (first use in this function)
region.c:695: error: (Each undeclared identifier is reported only once
region.c:695: error: for each function it appears in.)
region.c:696: error: 'ShapeClip' undeclared (first use in this function)
region.c:697: error: 'ShapeInput' undeclared (first use in this function)
make[1]: *** [select.lo] Błąd 1
In file included from xfixesint.h:63,
from xfixes.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
make[1]: *** [region.lo] Błąd 1
make[1]: *** [xfixes.lo] Błąd 1
make: *** [all-recursive] Błąd 1
==> BŁĄD: Budowanie nie powiodło się.
Last edited by SpeedVin (2009-07-31 09:46:20)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Ι had this PKGBUILD adopted, but it seems that it needs newer versions of quite a few packages from freedesktop.org, like pixman, or xextproto or libxext, so it seems impossible to have this package maintained (you have to create $pkgname-newest PKGBUILDs on AUR for many packages),so I disowned it. If someone has the time to create those dependencies on AUR, it would be good for xorg-server-git (the PKGBUILD itself is almost ready for use).
Last edited by flamelab (2009-07-31 12:57:22)
Offline
I got this packages and I was thinking about adopting this package (when it build finnaly) and upload this depencies to AUR
pixman 0.15.14-1
renderproto 0.11-1
xextproto 7.0.99.3-1
inputproto 1.9.99.15-1
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Change the names first. It's not proper to have two different versions of the same package in the official repos + on AUR
Something like: xextproto-newest and in the PKGBUILD: _realname=xextproto, _latestver=<the ver in configure.ac in srcdir>, provides="${_realname}-${_latestver}"
Last edited by flamelab (2009-07-31 13:50:44)
Offline
Change the names first. It's not proper to have two different versions of the same package in the official repos + on AUR
Something like: xextproto-newest and in the PKGBUILD: _realname=xextproto, _latestver=<the ver in configure.ac in srcdir>, provides="${_realname}-${_latestver}"
Ok no problem but what with xorg-server-git still it can't build
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Can you please post an output of this error with english messages ? I don't understand Polish
It says "No such file or directory" I suppose ?
Last edited by flamelab (2009-07-31 13:56:36)
Offline
Can you please post an output of this error with english messages ? I don't understand Polish
It says "No such file or directory" I suppose ?
Yes that's right I'm not good at tranlate but I will try
In file included from xfixesint.h:63,
from saveset.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
In file included from xfixesint.h:63,
from cursor.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
make[1]: *** [saveset.lo] Error 1
make[1]: *** Waiting for not end tasks....
In file included from xfixesint.h:63,
from region.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
make[1]: *** [cursor.lo] Error 1
In file included from xfixesint.h:63,
from select.c:27:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
region.c: In function 'ProcXFixesSetWindowShapeRegion':
region.c:695: error: 'ShapeBounding' undeclared (first use in this function)
region.c:695: error: (Each undeclared identifier is reported only once
region.c:695: error: for each function it appears in.)
region.c:696: error: 'ShapeClip' undeclared (first use in this function)
region.c:697: error: 'ShapeInput' undeclared (first use in this function)
make[1]: *** [select.lo] Błąd 1
In file included from xfixesint.h:63,
from xfixes.c:54:
/usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
make[1]: *** [region.lo] Error 1
make[1]: *** [xfixes.lo] Error 1
make: *** [all-recursive] Error 1
==> Error: Make fail
Last edited by SpeedVin (2009-07-31 14:02:05)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Maybe it needs this ? --> http://cgit.freedesktop.org/xorg/proto/fixesproto/
Last edited by flamelab (2009-07-31 14:25:58)
Offline
I was thinking about it and now make it PKGBUILD for fixes proto and now it's build fine
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
It'd be better to inform a TU to rename your new packages (in order to add a "-newest" in their pkgname)
Then fix them properly (add variables like those I posted before)
Offline
I named my packages as package-git.
Packages that are not in oficcial repos named normal:
fixesproto.
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline