Magellan Linux

Annotation of /smage/trunk/core/kdrive/kdrive-1.7.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 338 - (hide annotations) (download)
Thu Apr 29 22:04:19 2010 UTC (14 years ago) by niro
File size: 3731 byte(s)
-support for other sha1 implementation
1 niro 335 # $Id$
2    
3     PNAME="kdrive"
4     PVER="1.7.6"
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     DEPEND=">= x11-libs/libXfont-1.4.1
14     >= x11-libs/libXau-1.0.5
15     >= x11-libs/libXext-1.1
16     >= x11-libs/libX11-1.3.1
17     >= x11-libs/libXdmcp-1.0.3
18 niro 338 >= x11-libs/libxkbfile-1.0.6
19 niro 335 >= x11-libs/pixman-0.16.2
20     >= media-libs/freetype-2.3.9
21     >= media-fonts/font-misc-misc-1
22 niro 337 >= media-fonts/font-cursor-misc-1
23     >= dev-libs/libsha1-0.2"
24 niro 335 # >= x11-libs/libXv-1.0.5
25    
26     SDEPEND=">= x11-libs/xtrans-1.2
27     >= x11-proto/randrproto-1.3
28     < x11-proto/renderproto-0.11
29     >= x11-proto/fixesproto-4.1
30     >= x11-proto/damageproto-1.2
31     >= x11-proto/xextproto-7.1.1
32     >= x11-proto/xproto-7.0.16
33     >= x11-proto/xf86dgaproto-2.1
34     >= x11-proto/xf86miscproto-0.9.3
35     >= x11-proto/xf86vidmodeproto-2.3
36     >= x11-proto/xf86bigfontproto-1.2.0
37     >= x11-proto/compositeproto-0.4.1
38     >= x11-proto/recordproto-1.14
39     >= x11-proto/resourceproto-1.1.0
40     >= x11-proto/videoproto-2.3.0
41     >= x11-proto/scrnsaverproto-1.2.0
42     >= x11-proto/evieext-1.1.0
43     >= x11-proto/xineramaproto-1.2
44     >= x11-proto/fontsproto-2.1.0
45     >= x11-proto/kbproto-1.0.4
46     >= x11-proto/inputproto-2.0
47     >= x11-proto/bigreqsproto-1.1.0
48     >= x11-proto/xcmiscproto-1.2.0
49     >= x11-apps/mkfontdir-1.0.5
50     >= x11-apps/mkfontscale-1.0.7"
51    
52     PROVIDE="virtual/x11"
53    
54     MCORE_ONLY_KEEP="usr/bin usr/share/X11/xkb"
55     sminclude xorg mtools cleanutils mcore-split
56    
57     SRCFILE="xorg-server-${PVER}.tar.bz2"
58     SRCDIR="${BUILDDIR}/xorg-server-${PVER}"
59    
60     SRC_URI=(
61     http://ftp.x.org/pub/individual/xserver/${SRCFILE}
62     mirror://xorg-server/${SRCFILE}
63     mirror://xorg-server/xorg-server-1.4-fpic-libxf86config.patch
64     mirror://xorg-server/xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch
65 niro 336 mirror://xorg-server/xorg-server-1.7.6-libsha1-support.patch
66 niro 335 )
67    
68     UP2SUBDIR="xserver"
69     UP2DATE="updatecmd_xorg xorg-server"
70    
71     src_prepare()
72     {
73     munpack ${SRCFILE} || die
74     cd ${SRCDIR}
75    
76     # fixes fpic issues with libxf86config on 64bit systems
77     mpatch xorg-server-1.4-fpic-libxf86config.patch || die
78    
79     # adopted from redhat; use a black background
80     mpatch xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch || die
81    
82 niro 336 # support other sha1 implemtations as well
83     mpatch xorg-server-1.7.6-libsha1-support.patch || die
84    
85 niro 335 # fix build issues, some wrapper files which should be generated
86     # at build time exist and the makefile doesn't whipe them. we patch
87     # the makefile to clean them and whipe these wrapper files
88     rm -f ${SRCDIR}/hw/xprint/*-wrapper.c || die
89    
90     autoreconf --install --force || die
91     }
92    
93     src_compile()
94     {
95     cd ${SRCDIR}
96    
97     xorg_src_configure \
98     --sysconfdir=/etc/X11 \
99     --localstatedir=/var \
100     --with-default-font-path=built-ins \
101     --enable-install-setuid \
102     --enable-ipv6 \
103     --enable-kdrive \
104     --disable-xephyr \
105     --disable-static \
106     --disable-dmx \
107     --disable-xvfb \
108     --disable-xnest \
109     --disable-install-libxf86config \
110     --disable-dri \
111     --disable-dri2 \
112     --disable-xorg \
113     --disable-xprint \
114     --disable-glx-tls \
115     --disable-glx \
116     --disable-composite \
117     --disable-xorgcfg \
118     --disable-screensaver \
119     --disable-xdmcp \
120     --disable-xinerama \
121     --disable-dga \
122     --disable-xkb \
123     --disable-xevie \
124     --disable-xprint \
125     --disable-xtrap \
126     --disable-w100 \
127     --disable-xsdl \
128     --disable-config-dbus \
129     --disable-config-hal \
130     || die
131    
132     mmake || die
133     }
134    
135     src_install()
136     {
137     cd ${SRCDIR}
138     xorg_src_install
139    
140     # suid all tinyX servers
141     mchmod 4755 /usr/bin/X\* || die
142    
143     # cleanup
144     zapmost ${BINDIR}/usr bin share/man || die
145    
146     if [[ -e ${BINDIR}/usr/bin/Xephyr ]]
147     then
148     rm ${BINDIR}/usr/bin/Xephyr || die
149     fi
150    
151     if [[ -e ${BINDIR}/usr/share/man1/Xephyr.1 ]]
152     then
153     rm ${BINDIR}/usr/share/man1/Xephyr.1 || die
154     fi
155    
156     # needed directory
157     mkeepdir /usr/share/X11/xkb/compiled || die
158     }

Properties

Name Value
svn:keywords Id