Ravenports generated: 05 Dec 2021 03:19
[ravenports.git] / bucket_F1 / xinit
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xinit
4 VERSION=                1.4.1
5 KEYWORDS=               x11
6 VARIANTS=               standard
7 SDESC[standard]=        X Window System initializer
8 HOMEPAGE=               https://www.x.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            XORG/individual/app
13 DISTFILE[1]=            xinit-1.4.1.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   cpe
21 XORG_COMPONENTS=        x11
22
23 CPE_VENDOR=             x.org
24 FPC_EQUIVALENT=         x11/xinit
25
26 MUST_CONFIGURE=         gnu
27
28 INSTALL_TARGET=         install-strip
29
30 post-patch:
31         ${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' ${WRKSRC}/configure
32         ${REINPLACE_CMD} -e 's|hexdump|/usr/bin/hexdump|' ${WRKSRC}/startx.cpp
33         ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/man/xinit.man
34
35 [FILE:62:descriptions/desc.single]
36 This package contains xinit, the X Window System initializer.
37
38
39 [FILE:98:distinfo]
40 de9b8f617b68a70f6caf87da01fcf0ebd2b75690cdcba9c921d0ef54fa54abb9       176206 xinit-1.4.1.tar.bz2
41
42
43 [FILE:83:manifests/plist.single]
44 bin/
45  startx
46  xinit
47 etc/X11/xinit/xinitrc
48 share/man/man1/
49  startx.1.gz
50  xinit.1.gz
51
52
53 [FILE:1125:patches/patch-startx.cpp]
54 #
55 # generate displayname as dictated in the xauth manpage
56 #
57 --- startx.cpp.orig     2018-03-10 01:46:03 UTC
58 +++ startx.cpp
59 @@ -166,7 +166,7 @@ while [ x"$1" != x ]; do
60         else
61             XCOMM display must be the FIRST server argument
62             if [ x"$serverargs" = x ] && @@
63 -                expr "$1" : ':[0-9][0-9]*$' > /dev/null 2>&1; then
64 +               expr \( "$1" \) : ':[0-9][0-9]*$' > /dev/null 2>&1; then
65                 display="$1"
66             else
67                 serverargs="$serverargs $1"
68 @@ -296,9 +296,9 @@ EOF
69      XCOMM now add the same credentials to the client authority file
70      XCOMM if '$displayname' already exists do not overwrite it as another
71      XCOMM server may need it. Add them to the '$xserverauthfile' instead.
72 -    for displayname in $authdisplay $hostname$authdisplay; do
73 +    for displayname in $authdisplay $hostname/unix$authdisplay; do
74          authcookie=`XAUTH list "$displayname" @@
75 -        | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
76 +        | sed -n "s|.*$displayname[[:space:]*].*[[:space:]*]||p"` 2>/dev/null;
77          if [ "z${authcookie}" = "z" ] ; then
78              XAUTH -q << EOF 
79  add $displayname . $mcookie
80