Magellan Linux

Annotation of /trunk/extras/kdrive/kdrive-1.4.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1414 - (hide annotations) (download)
Wed May 6 11:04:06 2009 UTC (15 years, 4 months ago) by niro
File size: 3895 byte(s)
-import from cvs

1 niro 1414 # $Header: /magellan-cvs/smage/kdrive/kdrive-1.4.2-r1.smage2,v 1.4 2008/09/24 14:54:51 niro Exp $
2    
3     PNAME="kdrive"
4     PVER="1.4.2"
5     PBUILD="r1"
6    
7     PCATEGORIE="x11-base"
8     STATE="unstable"
9    
10     DESCRIPTION="Modular X.Org X Server."
11     HOMEPAGE="http://xorg.freedesktop.org"
12    
13     sminclude xorg mtools
14    
15     PROVIDE="virtual/x11"
16    
17     DEPEND=">= x11-libs/libXfont-1
18     >= x11-libs/libXau-1
19     >= x11-libs/libXext-1
20     >= x11-libs/libX11-1
21     >= x11-libs/libXdmcp-1
22     >= x11-libs/pixman-0.9
23     >= media-libs/freetype-2
24     >= media-fonts/font-misc-misc-1
25     >= media-fonts/font-cursor-misc-1"
26    
27     # >= x11-proto/renderproto-0.9.3 only works with >= xorg-server-1.4
28     SDEPEND=">= x11-libs/xtrans-1
29     >= x11-proto/randrproto-1
30     < x11-proto/renderproto-0.9.3
31     >= x11-proto/fixesproto-1
32     >= x11-proto/damageproto-1
33     >= x11-proto/xextproto-1
34     >= x11-proto/xproto-1
35     >= x11-proto/xf86dgaproto-1
36     >= x11-proto/xf86miscproto-1
37     >= x11-proto/xf86rushproto-1
38     >= x11-proto/xf86vidmodeproto-1
39     >= x11-proto/xf86bigfontproto-1
40     >= x11-proto/compositeproto-1
41     >= x11-proto/recordproto-1
42     >= x11-proto/resourceproto-1
43     >= x11-proto/videoproto-1
44     >= x11-proto/scrnsaverproto-1
45     >= x11-proto/evieext-1
46     >= x11-proto/trapproto-1
47     >= x11-proto/xineramaproto-1.1
48     >= x11-proto/fontsproto-1
49     >= x11-proto/kbproto-1.0
50     >= x11-proto/inputproto-1
51     >= x11-proto/bigreqsproto-1
52     >= x11-proto/xcmiscproto-1
53     >= x11-proto/printproto-1
54     >= x11-apps/mkfontdir-1
55     >= x11-apps/mkfontscale-1"
56     # >= x11-proto/xf86driproto-1"
57    
58     SRCFILE="xorg-server-${PVER}.tar.bz2"
59     SRCDIR="${BUILDDIR}/xorg-server-${PVER}"
60    
61     SRC_URI=(
62     http://ftp.x.org/pub/individual/xserver/${SRCFILE}
63     mirror://xorg-server/${SRCFILE}
64     mirror://xorg-server/xorg-server-1.4-fpic-libxf86config.patch
65     mirror://xorg-server/xorg-server-1.4-document-new-font-catalogs.patch
66     mirror://xorg-server/xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch
67     mirror://xorg-server/xorg-server-1.4.99.901-no-evdev-keyboards.patch
68     )
69    
70     src_prepare()
71     {
72     munpack ${SRCFILE} || die
73     cd ${SRCDIR}
74    
75     # fixes fpic issues with libxf86config on 64bit systems
76     mpatch xorg-server-1.4-fpic-libxf86config.patch || die
77    
78     # fixes some hints about new font catalogs in the documentation
79     mpatch xorg-server-1.4-document-new-font-catalogs.patch || die
80    
81     # adopted from redhat; use a black background
82     mpatch xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch || die
83    
84     # no evdev keyboarding; it is just too broken
85     mpatch xorg-server-1.4.99.901-no-evdev-keyboards.patch || die
86    
87     # fix build issues, some wrapper files which should be generated
88     # at build time exist and the makefile doesn't whipe them. we patch
89     # the makefile to clean them and whipe these wrapper files
90     rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die
91    
92     autoreconf --install --force || die
93     }
94    
95     src_compile()
96     {
97     cd ${SRCDIR}
98    
99     # fixes compilation on x86_64; kdrive cannot build natively on 64bit
100     # the drivers are using 32bit-only asm and does not build.
101     # fbdev only works on 64bit hosts and that does not satisfy us.
102     if [[ ${ARCH} = x86_64 ]]
103     then
104     export CC="gcc -m32"
105     export CXX="g++ -m32"
106     fi
107    
108     xorg_src_configure \
109     --sysconfdir=/etc/X11 \
110     --localstatedir=/var \
111     --with-default-font-path=built-ins \
112     --enable-install-setuid \
113     --enable-ipv6 \
114     --enable-kdrive \
115     --disable-static \
116     --disable-dmx \
117     --disable-xvfb \
118     --disable-xnest \
119     --disable-install-libxf86config \
120     --disable-dri \
121     --disable-xorg \
122     --disable-xprint \
123     --disable-glx-tls \
124     --disable-glx \
125     --disable-composite \
126     --disable-xorgcfg \
127     --disable-screensaver \
128     --disable-xdmcp \
129     --disable-xinerama \
130     --disable-dga \
131     --disable-xf86misc \
132     --disable-xf86vidmode \
133     --disable-xkb \
134     --disable-xevie \
135     --disable-xprint \
136     --disable-xtrap \
137     --disable-w100 \
138     --disable-xsdl \
139     --disable-config-dbus \
140     --disable-config-hal \
141     || die
142    
143     mmake || die
144     }
145    
146     src_install()
147     {
148     cd ${SRCDIR}
149     xorg_src_install
150    
151     # suid all tinyX servers
152     mchmod 4755 /usr/bin/X\* || die
153     }

Properties

Name Value
svn:keywords Id