xproto - X.org X11Proto protocol headers ChangeLog

HOWTO


# xproto 7.0.29
# =============
# If you don't have X installed, you still need this for 'makedepend' if
# you're compiling something that uses it like cyrus-imap

# Git repository

# Slackware 13.37: xproto 7.0.21
# Slackware 14.0: xproto 7.0.23
# Slackware 14.1: xproto 7.0.24
# Slackware 14.2: xproto 7.0.29

# Prerequisites:
# pkg-config >= 0.9.0
# util-macros (xorg-macros)
# xmlto
# Apache FOP (optional; for documentation)
# xsltproc
# X.org SGML entities >= 1.18 (optional)

# Get it
cd
test -f installed/xproto-7.0.29.tar.bz2 &&
mv -f installed/xproto-7.0.29.tar.bz2 .
test ! -f xproto-7.0.29.tar.bz2 &&
wget --no-check-certificate \
https://www.x.org/releases/individual/proto/xproto-7.0.29.tar.bz2

### Verify tarball w/ gpg:
##( gpg --list-keys 56F8CFAD > /dev/null 2>&1 || gpg --recv-keys 56F8CFAD ) &&
## wget --no-check-certificate \
##https://www.x.org/releases/individual/proto/xproto-7.0.29.tar.bz2.sig &&
##  gpg --verify xproto-7.0.29.tar.bz2.sig && rm xproto-7.0.29.tar.bz2.sig
#
# There is a .sig file there, but this happens:
# gpg: key 0905E40C: rejected by import filter

# Extract the source
mkdir -p -m 0700 src
cd src
tar xjvf ~/xproto-7.0.29.tar.bz2
cd xproto-7.0.29
test $UID = 0 && chown -R root:root .

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg xproto

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --prefix=/usr --docdir=/usr/doc/xproto-7.0.29 \
--libdir=/usr/lib64

# Configure the build for anything else
test $(uname -m) != 'x86_64' &&
./configure --prefix=/usr --docdir=/usr/doc/xproto-7.0.29

# Install it as root
su -c "make install"

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/xproto-*.tar.*
mv -f xproto-7.0.29.tar.bz2 installed/


# If you ever want to uninstall xproto, this should do it:
cd
su
test -d src/xproto-* && ( cd src/xproto-* ; make uninstall )
test -d /usr/doc/xproto && rm -r /usr/doc/xproto
find /usr/doc -maxdepth 1 -type d -name "xproto-*" exec rm -r {} \;
test -d /usr/include/X11 &&
( cd /usr/include/X11
   rm -f Xfuncproto.h Xpoll.h ap_keysym.h DECkeysym.h HPkeysym.h \
    keysymdef.h keysym.h Sunkeysym.h Xalloca.h Xarch.h Xatom.h Xdefs.h \
    XF86keysym.h Xfuncs.h X.h Xmd.h Xosdefs.h Xos.h Xos_r.h Xproto.h \
    Xprotostr.h Xthreads.h Xw32defs.h XWDFile.h Xwindows.h Xwinsock.h )
test -d /usr/lib/pkgconfig && rm -f /usr/lib/pkgconfig/xproto.pc
test -d /usr/lib64/pkgconfig && rm -f /usr/lib64/pkgconfig/xproto.pc
test -d /usr/share/doc/xproto && rm -r /usr/share/doc/xproto
exit
find ~/src -maxdepth 1 -type d -name "xproto-*" -exec rm -r {} \;
rm -f ~/installed/xproto-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2016-07-23 4:59pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]