You are not logged in.
I saw that noone has made a freedesktop xserver package yet, so I did it. Tell me if I made any mistakes.
PKGBUILD
# Contributor: Rensel <rensel@email.it>
pkgname=xserver
pkgver=cvs
pkgrel=1
pkgdesc="The freedesktop.org XServer"
url="http://xserver.freedesktop.org/"
license="GPL"
depends=('pkgconfig' 'cvs')
backup=()
source=()
md5sums=()
install=xserver.install
build() {
export PKG_CONFIG_PATH="$startdir/pkg/opt/fdo/lib/pkgconfig:$PKG_CONFIG_PATH"
cd $startdir/src/
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xproto
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xdmcp
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co XExtensions
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co xtrans
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xau
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co X11
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xext
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Randr
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Render
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xrender
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xrandr
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co FixesExt
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co DamageExt
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xfont
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co ResourceExt
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co CompositeExt
cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/xserver co xserver
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xfixes
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xcomposite
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xdamage
cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/xapps co xcompmgr
cd Xproto
mv XOrgFoundation.man XOrgFoundation.7
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xdmcp
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../XExtensions
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../xtrans
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xau
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../X11
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xext
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Randr
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Render
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xrender
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xrandr
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../FixesExt
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../DamageExt
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xfont
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../ResourceExt
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../CompositeExt
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../xserver
./autogen.sh --prefix=$startdir/pkg/opt/fdo --enable-composite
make || return 1
install -d $startdir/pkg/opt/fdo/bin
make install
cd ../Xfixes
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xcomposite
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xdamage
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../xcompmgr
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
}
xserver.install
post_install() {
if ! [ `grep '/opt/fdo/lib' etc/ld.so.conf` ]; then
echo "/opt/fdo/lib" >>etc/ld.so.conf
sbin/ldconfig -r .
fi
}
post_upgrade() {
/bin/true
}
pre_remove() {
cat etc/ld.so.conf | grep -v '/opt/fdo/lib' >/tmp/.pacfdo
mv /tmp/.pacfdo etc/ld.so.conf
chmod 644 etc/ld.so.conf
sbin/ldconfig -r .
}
post_remove() {
/bin/true
}
op=$1
shift
$op $*
If it is OK I will upload these files and the compiled package to incoming
Arch GNU/Linux 0.7 Trusted User
"If I were more modest, I would be perfect"
Offline
nice work, it's cool pkg!
... but please do not upload the pkg itself to incoming - it makes no sense, as cvs is a living thing and i recommend all people who want to try this pkg to make it themselves - xserver is a huge pkg and it would cost a lot of bandwidth for nothing
you can upload the PKGBUILD to incoming if you want
The impossible missions are the only ones which succeed.
Offline
You're right, unfortunately I was already uploading it and now there is an uncomplete archive in incoming... please remove it
Arch GNU/Linux 0.7 Trusted User
"If I were more modest, I would be perfect"
Offline
how to use xserver? I install it but i dont know how to use it :oops:
PS: I mean i dont know how to setup transparent menus and windows
Offline
Doesn't it conflict with x.org/xfree at all?
Offline
Doesn't it conflict with x.org/xfree at all?
nope. Everything is installed to /opt/fdo, rather then /usr/X11R6. That's good, because I hate typing capital letters.
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Ah. Maybe I'll try it sometime...
Offline
It didn't compile here, I got the following error:
checking for randr render fixesext damageext xextensions xfont xproto xtrans xau compositeext xkbfile resourceext xdmcp... Package xkbfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `xkbfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xkbfile' found
Would this be a package error or something wrong in their CVS? Or is it my fault?
http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.
Offline
I get the same error.
Offline
I added xkbfile to your pkgbuild and it worked. here is the modified pkgbuild
PKGBUILD
# Contributor: Rensel <rensel@email.it>
pkgname=xserver
pkgver=cvs
pkgrel=1
pkgdesc="The freedesktop.org XServer"
url="http://xserver.freedesktop.org/"
license="GPL"
depends=('pkgconfig' 'cvs')
backup=()
source=()
md5sums=()
install=xserver.install
build() {
export PKG_CONFIG_PATH="$startdir/pkg/opt/fdo/lib/pkgconfig:$PKG_CONFIG_PATH"
cd $startdir/src/
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xproto
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xdmcp
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co XExtensions
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co xtrans
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xau
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co X11
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xext
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Randr
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Render
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xrender
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xrandr
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co FixesExt
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co DamageExt
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xfont
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co ResourceExt
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co CompositeExt
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co xkbfile
cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/xserver co xserver
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xfixes
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xcomposite
cvs -d :pserver:anoncvs@freedesktop.org:/cvs/xlibs co Xdamage
cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/xapps co xcompmgr
cd Xproto
mv XOrgFoundation.man XOrgFoundation.7
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xdmcp
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../XExtensions
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../xtrans
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xau
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../X11
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xext
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Randr
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Render
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xrender
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xrandr
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../FixesExt
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../DamageExt
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xfont
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../ResourceExt
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../CompositeExt
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../xkbfile
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../xserver
./autogen.sh --prefix=$startdir/pkg/opt/fdo --enable-composite
make || return 1
install -d $startdir/pkg/opt/fdo/bin
make install
cd ../Xfixes
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xcomposite
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../Xdamage
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
cd ../xcompmgr
./autogen.sh --prefix=$startdir/pkg/opt/fdo
make || return 1
make install
}
Offline
Cool, thanks a lot, works here now too. Now pity it's still running slow and crashy on my Radeon 8500...
Btw, when I tried to start the server for the first time (I've put an exec command in ~/.xserverrc), it told me the executable needed to be suid root. Would it be a good idea if this was done in the PKGBUILD file?
http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.
Offline
How to start it with transperant and shadow effect, could you post a simple start script here, thank you.
Offline