You are not logged in.

#1 2004-08-30 13:47:58

The Analog Kid
Member
From: Pennsylvania, USA
Registered: 2004-01-05
Posts: 27

Xorg CVS PKGBUILD

 <>

pkgname=xorg
pkgver=cvs
pkgrel=1
pkgdesc="A CVS build of Xorg's X server"
url="http://www.x.org"
depends=('glibc' 'freetype1' 'fontconfig' 'gcc' 'libpng')
makedepends=('perl' 'cvs')
conflicts=('ttf-bitstream-vera' 'xfree86')
provides=('x-server' 'xfree86')
replaces=('x')
install=x.install
cvsroot=":pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg"
cvsmod="xc"

build() {
  cd $startdir/src
  msg "Connecting to Freedesktop.org CVS server...please press 'enter'"
  cvs -d $cvsroot login
  msg "Checking out Xorg....this will take awhile"
  cvs -d $cvsroot co -P $cvsmod
  cd $startdir/src/xc
  echo $'#define HasZlib YESn' >config/cf/host.def
  echo $'#define HasNCurses YESn' >>config/cf/host.def
  echo $'#define HasFontconfig YESn' >>config/cf/host.def
  echo $'#define HasFreetype2 YESn' >>config/cf/host.def
  echo $'#define HasExpat YESn' >>config/cf/hos.def
  echo $'#define BuildComposite YESn' >>config//host.def
  make World || return 1
  make DESTDIR=$startdir/pkg install
  make DESTDIR=$startdir/pkg install.man
  (cd $startdir/pkg/usr/include && ln -sf ../X11R6/include/X11 X11)
  (cd $startdir/pkg/usr/include && ln -sf ../X11R6/include/GL GL)

  # get the pkgconfig .pc files in the right place
  mkdir -p $startdir/pkg/usr/lib/pkgconfig
  mv $startdir/pkg/usr/X11R6/lib/pkgconfig/* $startdir/pkg/usr/lib/pkgconfig
  # remove docs
  rm -rf $startdir/pkg/usr/X11R6/lib/X11/doc/html
  # create a libXinerama.so
  #cd $startdir/pkg/usr/X11R6/lib
  #ld --whole-archive -share -o libXinerama.so.1 libXinerama.a
  #ln -s libXinerama.so.1 libXinerama.so
  # install -D -m644 $startdir/src/xdm.pam $startdir/pkg/etc/pam.d/xdm
  # XKB compatibility for kde/gnome
  #cd $startdir/pkg/usr/X11R6/lib/X11/xkb/rules/
  #ln -s xorg.xml xfree86.xml
  #ln -s xorg.lst xfree86.lst
}

To enable compositing you have to add this to your xorg.conf

Section Extensions
Option "Composite" "Enable"
End Section

You will also need to grab xcompmgr and transset for shadows and transparency effects.  Also, enabling RenderAccel will greatly speed up and make everything run smoother.

xcompmgr-cvs

# Contributor: 
pkgname=xcompmgr
pkgver=cvs
pkgrel=1
pkgdesc="A sample compositing manager"
url="http://www.freedesktop.org"
depends=('xorg')
provides=('xcompmgr')
cvsroot=":pserver:anoncvs@cvs.freedesktop.org:/cvs/xapps"
cvsmod="xcompmgr"

build() {
cd $startdir/src
msg "Connecting to Freedesktop.org CVS server....please press 'enter'"
cvs -d $cvsroot login
msg "Checking out xcompmgr"
cvs -d $cvsroot co $cvsmod
cd $startdir/src/xcompmgr
sh autogen.sh --prefix=$startdir/pkg
make && make install
}

transset-cvs

# Contributor:  <>
pkgname=transset
pkgver=cvs
pkgrel=1
pkgdesc="A utility to set the transparency of windows as a whole"
url="http://www.freedesktop.org"
depends=('xorg')
provides=('transset')
cvsroot=":pserver:anoncvs@cvs.freedesktop.org:/cvs/xapps"
cvsmod="transset"

build() {
cd $startdir/src
msg "Connecting to Freedesktop.org CVS server....please press 'enter'"
cvs -d $cvsroot login
msg "Checking out transset"
cvs -d $cvsroot co $cvsmod
cd $startdir/src/transset
make
mkdir $startdir/pkg/bin
cp $startdir/src/transset/transset $startdir/pkg/bin
}

As a common courtesy please do not beat the hell out of the CVS server, build a new package minimally once a week no less. We don't want to delay the release any longer because the Arch users killed their CVS server.

The script should build the package if it breaks other than the code at fault(it is bleeding edge after all)  please post here, email me or PM me.


Fixes for problems that I've encountered

1. When Xcompmgr is enabled through a terminal the windows when maximized cover the panel bars at the top and bottom in Gnome. To fix this add xcompmgr -c to your session startup.

2. To add better stability do not pass the -s options when starting xcompmgr.

3. Transset defaults it's transparnecy to 0.75, to change the degree of transparency add a  decimal number ranging from 0(completely transparent) to 1(opaque)  so a 0.1 add to the end would make the window almost completely transparent while 1 would return the window to normal.

[url=]Transset set to 0.1[/url]
[url=]Transset set to 0.7[/url]

Last edited by The Analog Kid (2007-12-22 00:00:54)

Offline

#2 2004-08-30 17:36:06

whatah
Member
Registered: 2003-08-10
Posts: 114

Re: Xorg CVS PKGBUILD

If we don't want to beat the shit out of their CVS server, we should have someone host the package. I might be able to host the packages on uni. bandwidth, i just don't want to build them.

Offline

#3 2004-08-30 18:52:03

The Analog Kid
Member
From: Pennsylvania, USA
Registered: 2004-01-05
Posts: 27

Re: Xorg CVS PKGBUILD

It should be fine as long as someone isn't constantly updating their cvs source over and over again.

Offline

#4 2004-09-05 16:45:49

mzruya
Member
Registered: 2004-05-14
Posts: 20

Re: Xorg CVS PKGBUILD

I installed all 3 packages ... now how do i enable the transperency ?
and how do you enable RenderAccel ?

Offline

#5 2004-09-06 00:54:46

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 707
Website

Re: Xorg CVS PKGBUILD

I would host the xorg-cvs package in my TUR... But, it's gonna come out this week... So we might as well wait.  If it doesn't come out in a week (thatd be 9/12/04), i'll host it in my TUR.  Unless it's like, coming out that day or tommorrow.  Or something.  Chances are you won't see it in my TUR.


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

#6 2004-09-06 03:59:28

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: Xorg CVS PKGBUILD

the trees? free will? a fellow rush fan, i gather.

tongue i saw them live in toronto a couple weeks ago

Offline

#7 2004-09-08 17:35:28

LavaPunk
Member
Registered: 2004-03-05
Posts: 129

Re: Xorg CVS PKGBUILD

I saw rush live in vancouver, wa about a month ago.  Talk about an awesome show!

Offline

#8 2004-09-08 19:06:04

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 707
Website

Re: Xorg CVS PKGBUILD

LavaPunk wrote:

I saw rush live in vancouver, wa about a month ago.  Talk about an awesome show!

Rush is an awesome band... closer to the heart, awesome song...


Anyway, xorg came out today.  good thing i didn't release a cvs version


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

#9 2004-09-08 19:09:59

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: Xorg CVS PKGBUILD

It's out smile!

Well at least says this german news page: http://www.heise.de/newsticker/meldung/50779
Should be released later this day smile.

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#10 2004-09-09 14:19:50

Loki|muh
Member
Registered: 2004-05-25
Posts: 17

Re: Xorg CVS PKGBUILD

Offline

Board footer

Powered by FluxBB