Magellan Linux

Diff of /smage/trunk/extras/tigervnc/tigervnc-1.0.90_svn4262-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1237 by niro, Tue Feb 1 13:21:31 2011 UTC revision 1238 by niro, Tue Feb 1 13:26:14 2011 UTC
# Line 21  XORGDDIR="${SRCDIR}/unix/xserver" Line 21  XORGDDIR="${SRCDIR}/unix/xserver"
21  DEPEND=">= virtual/x11"  DEPEND=">= virtual/x11"
22  SDEPEND=">= dev-lang/nasm-2"  SDEPEND=">= dev-lang/nasm-2"
23    
 sminclude alx cleanutils  
   
24  SRC_URI=(  SRC_URI=(
25   http://mesh.dl.sourceforge.net/project/${PNAME}/${PNAME}/${PVER}/${SRCFILE}   http://mesh.dl.sourceforge.net/project/${PNAME}/${PNAME}/${PVER}/${SRCFILE}
26   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
27   http://ftp.x.org/pub/individual/xserver/${XORG}   http://ftp.x.org/pub/individual/xserver/${XORG}
28   mirror://xorg-server/${XORG}   mirror://xorg-server/${XORG}
29   mirror://${PNAME}/tigervnc_48.png   mirror://${PNAME}/tigervnc_48.png
30     mirror://${PNAME}/${PNAME}-1.0.90-102434.patch
31     mirror://${PNAME}/${PNAME}-1.0.90-cookie.patch
32     mirror://${PNAME}/${PNAME}-0.0.90-viewer-reparent.patch
33  )  )
34    
35  src_prepare()  src_prepare()
# Line 39  src_prepare() Line 40  src_prepare()
40   cd ${SRCDIR}   cd ${SRCDIR}
41    
42   # patchwork   # patchwork
43     # force vncviewer to read password from stdin
44     mpatch ${PNAME}-1.0.90-102434.patch || die
45     # create X server cookie via mcookie
46     mpatch ${PNAME}-1.0.90-cookie.patch || die
47     # add reparent support for x window
48     mpatch ${PNAME}-0.0.90-viewer-reparent.patch || die
49    
50   # apply the included xorg patch   # apply the included xorg patch
51   cd ${XORGDDIR}   cd ${XORGDDIR}
# Line 59  src_prepare() Line 66  src_prepare()
66    
67  src_compile()  src_compile()
68  {  {
69   cd ${SRCDIR}/unix   cd ${SRCDIR}
70   mconfigure --disable-static || die   mconfigure --disable-static || die
71   # only build neccessary things   # only build neccessary things
72   # fix broken libtool: it calles sed and it ends in an infinite loop   # fix broken libtool: it calles sed and it ends in an infinite loop
# Line 106  src_compile() Line 113  src_compile()
113    
114  src_install()  src_install()
115  {  {
116   cd ${SRCDIR}/unix   cd ${SRCDIR}
117   # fix broken libtool: it calles sed and it ends in an infinite loop   # fix broken libtool: it calles sed and it ends in an infinite loop
118   mmake -C vncpasswd DESTDIR=${BINDIR} LIBTOOL="$(which libtool)" install || die   mmake -C vncpasswd DESTDIR=${BINDIR} LIBTOOL="$(which libtool)" install || die
119    

Legend:
Removed from v.1237  
changed lines
  Added in v.1238