mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
Bullseye alongside Bookworm (#61)
* revert to bullseye. * add bookworm. * add bookworm to variants. * include xf86-video-dummy because the remote git instance is offline. * fix configure.
This commit is contained in:
parent
3dbcc41795
commit
014c8fa586
@ -58,7 +58,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|||||||
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
||||||
&& apt-get -y install --no-install-recommends \
|
&& apt-get -y install --no-install-recommends \
|
||||||
wget ca-certificates supervisor \
|
wget ca-certificates supervisor \
|
||||||
pulseaudio xserver-xorg-video-dummy \
|
pulseaudio dbus-x11 xserver-xorg-video-dummy \
|
||||||
libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx6 \
|
libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx6 \
|
||||||
#
|
#
|
||||||
# needed for profile upload preStop hook
|
# needed for profile upload preStop hook
|
||||||
@ -122,6 +122,7 @@ COPY --from=xorg-deps /usr/local/lib/xorg/modules/drivers/dummy_drv.so /usr/lib/
|
|||||||
COPY --from=xorg-deps /usr/local/lib/xorg/modules/input/neko_drv.so /usr/lib/xorg/modules/input/neko_drv.so
|
COPY --from=xorg-deps /usr/local/lib/xorg/modules/input/neko_drv.so /usr/lib/xorg/modules/input/neko_drv.so
|
||||||
|
|
||||||
# copy runtime files
|
# copy runtime files
|
||||||
|
COPY runtime/dbus /usr/bin/dbus
|
||||||
COPY runtime/default.pa /etc/pulse/default.pa
|
COPY runtime/default.pa /etc/pulse/default.pa
|
||||||
COPY runtime/supervisord.conf /etc/neko/supervisord.conf
|
COPY runtime/supervisord.conf /etc/neko/supervisord.conf
|
||||||
COPY runtime/xorg.conf /etc/neko/xorg.conf
|
COPY runtime/xorg.conf /etc/neko/xorg.conf
|
||||||
@ -132,7 +133,8 @@ COPY dev/runtime/config.yml /etc/neko/neko.yml
|
|||||||
COPY dev/runtime/supervisord.conf /etc/neko/supervisord/dev.conf
|
COPY dev/runtime/supervisord.conf /etc/neko/supervisord/dev.conf
|
||||||
|
|
||||||
# customized scripts
|
# customized scripts
|
||||||
RUN echo '#!/bin/sh\nsleep infinity' > /usr/bin/neko; \
|
RUN chmod +x /usr/bin/dbus;\
|
||||||
|
echo '#!/bin/sh\nsleep infinity' > /usr/bin/neko; \
|
||||||
chmod +x /usr/bin/neko; \
|
chmod +x /usr/bin/neko; \
|
||||||
echo '#!/bin/sh\nsudo sh -c "export USER='$USERNAME'\nexport HOME=/home/'$USERNAME'\n/usr/bin/supervisord -c /etc/neko/supervisord.conf"' > /usr/bin/deps; \
|
echo '#!/bin/sh\nsudo sh -c "export USER='$USERNAME'\nexport HOME=/home/'$USERNAME'\n/usr/bin/supervisord -c /etc/neko/supervisord.conf"' > /usr/bin/deps; \
|
||||||
chmod +x /usr/bin/deps; \
|
chmod +x /usr/bin/deps; \
|
||||||
|
7
.github/workflows/build_variants.yml
vendored
7
.github/workflows/build_variants.yml
vendored
@ -19,7 +19,12 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
- variant: bookworm
|
||||||
|
dockerfile: Dockerfile.bookworm
|
||||||
- variant: nvidia
|
- variant: nvidia
|
||||||
|
dockerfile: Dockerfile.nvidia
|
||||||
|
- variant: nvidia_bookworm
|
||||||
|
dockerfile: Dockerfile.nvidia.bookworm
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -42,7 +47,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: Dockerfile.${{ matrix.variant }}
|
file: ${{ matrix.dockerfile }}
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
36
Dockerfile
36
Dockerfile
@ -1,7 +1,10 @@
|
|||||||
|
ARG BASE_IMAGE=debian:bullseye-slim
|
||||||
|
ARG BUILD_IMAGE=golang:1.21-bullseye
|
||||||
|
|
||||||
#
|
#
|
||||||
# Stage 0: Build xorg dependencies.
|
# Stage 0: Build xorg dependencies.
|
||||||
#
|
#
|
||||||
FROM debian:bookworm-slim as xorg-deps
|
FROM $BASE_IMAGE as xorg-deps
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
@ -15,13 +18,12 @@ WORKDIR /xorg
|
|||||||
|
|
||||||
COPY xorg/ /xorg/
|
COPY xorg/ /xorg/
|
||||||
|
|
||||||
# build xserver-xorg-video-dummy 0.3.8-2 with RandR support.
|
# build xf86-video-dummy v0.3.8 with RandR support
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
cd xf86-video-dummy; \
|
cd xf86-video-dummy/v0.3.8; \
|
||||||
git clone --depth 1 --branch xserver-xorg-video-dummy-1_0.3.8-2 https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-dummy; \
|
patch -p1 < ../01_v0.3.8_xdummy-randr.patch; \
|
||||||
cd xserver-xorg-video-dummy; \
|
autoreconf -v --install; \
|
||||||
patch -p1 < ../xdummy-randr.patch; \
|
./configure; \
|
||||||
./autogen.sh; \
|
|
||||||
make -j$(nproc); \
|
make -j$(nproc); \
|
||||||
make install;
|
make install;
|
||||||
|
|
||||||
@ -36,7 +38,7 @@ RUN set -eux; \
|
|||||||
#
|
#
|
||||||
# Stage 1: Build.
|
# Stage 1: Build.
|
||||||
#
|
#
|
||||||
FROM golang:1.21-bookworm as build
|
FROM $BUILD_IMAGE as build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -45,8 +47,12 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev libxcvt-dev \
|
libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev \
|
||||||
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev; \
|
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev; \
|
||||||
|
# install libxcvt-dev (not available in debian:bullseye)
|
||||||
|
wget http://ftp.de.debian.org/debian/pool/main/libx/libxcvt/libxcvt-dev_0.1.2-1_amd64.deb; \
|
||||||
|
wget http://ftp.de.debian.org/debian/pool/main/libx/libxcvt/libxcvt0_0.1.2-1_amd64.deb; \
|
||||||
|
apt-get install --no-install-recommends ./libxcvt0_0.1.2-1_amd64.deb ./libxcvt-dev_0.1.2-1_amd64.deb; \
|
||||||
#
|
#
|
||||||
# clean up
|
# clean up
|
||||||
apt-get clean -y; \
|
apt-get clean -y; \
|
||||||
@ -64,7 +70,7 @@ RUN ./build
|
|||||||
#
|
#
|
||||||
# Stage 2: Runtime.
|
# Stage 2: Runtime.
|
||||||
#
|
#
|
||||||
FROM debian:bookworm-slim as runtime
|
FROM $BASE_IMAGE as runtime
|
||||||
|
|
||||||
#
|
#
|
||||||
# set custom user
|
# set custom user
|
||||||
@ -79,8 +85,8 @@ RUN set -eux; \
|
|||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
wget ca-certificates supervisor \
|
wget ca-certificates supervisor \
|
||||||
pulseaudio xserver-xorg-video-dummy \
|
pulseaudio dbus-x11 xserver-xorg-video-dummy \
|
||||||
libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx7 libxcvt0 \
|
libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx6 \
|
||||||
#
|
#
|
||||||
# needed for profile upload preStop hook
|
# needed for profile upload preStop hook
|
||||||
zip curl \
|
zip curl \
|
||||||
@ -92,6 +98,10 @@ RUN set -eux; \
|
|||||||
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
|
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
|
||||||
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
|
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
|
||||||
gstreamer1.0-pulseaudio; \
|
gstreamer1.0-pulseaudio; \
|
||||||
|
# install libxcvt0 (not available in debian:bullseye)
|
||||||
|
wget http://ftp.de.debian.org/debian/pool/main/libx/libxcvt/libxcvt0_0.1.2-1_amd64.deb; \
|
||||||
|
apt-get install --no-install-recommends ./libxcvt0_0.1.2-1_amd64.deb; \
|
||||||
|
rm ./libxcvt0_0.1.2-1_amd64.deb; \
|
||||||
#
|
#
|
||||||
# create a non-root user
|
# create a non-root user
|
||||||
groupadd --gid $USER_GID $USERNAME; \
|
groupadd --gid $USER_GID $USERNAME; \
|
||||||
@ -133,8 +143,10 @@ COPY --from=xorg-deps /usr/local/lib/xorg/modules/input/neko_drv.so /usr/lib/xor
|
|||||||
#
|
#
|
||||||
# copy runtime configs
|
# copy runtime configs
|
||||||
COPY --chown=neko:neko runtime/.Xresources /home/$USERNAME/.Xresources
|
COPY --chown=neko:neko runtime/.Xresources /home/$USERNAME/.Xresources
|
||||||
|
COPY runtime/dbus /usr/bin/dbus
|
||||||
COPY runtime/default.pa /etc/pulse/default.pa
|
COPY runtime/default.pa /etc/pulse/default.pa
|
||||||
COPY runtime/supervisord.conf /etc/neko/supervisord.conf
|
COPY runtime/supervisord.conf /etc/neko/supervisord.conf
|
||||||
|
COPY runtime/supervisord.dbus.conf /etc/neko/supervisord.dbus.conf
|
||||||
COPY runtime/xorg.conf /etc/neko/xorg.conf
|
COPY runtime/xorg.conf /etc/neko/xorg.conf
|
||||||
|
|
||||||
#
|
#
|
||||||
|
172
Dockerfile.bookworm
Normal file
172
Dockerfile.bookworm
Normal file
@ -0,0 +1,172 @@
|
|||||||
|
ARG BASE_IMAGE=debian:bookworm-slim
|
||||||
|
ARG BUILD_IMAGE=golang:1.21-bookworm
|
||||||
|
|
||||||
|
#
|
||||||
|
# Stage 0: Build xorg dependencies.
|
||||||
|
#
|
||||||
|
FROM $BASE_IMAGE as xorg-deps
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y \
|
||||||
|
git gcc pkgconf autoconf automake libtool make xorg-dev xutils-dev \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*;
|
||||||
|
|
||||||
|
WORKDIR /xorg
|
||||||
|
|
||||||
|
COPY xorg/ /xorg/
|
||||||
|
|
||||||
|
# build xf86-video-dummy v0.3.8 with RandR support
|
||||||
|
RUN set -eux; \
|
||||||
|
cd xf86-video-dummy/v0.3.8; \
|
||||||
|
patch -p1 < ../01_v0.3.8_xdummy-randr.patch; \
|
||||||
|
autoreconf -v --install; \
|
||||||
|
./configure; \
|
||||||
|
make -j$(nproc); \
|
||||||
|
make install;
|
||||||
|
|
||||||
|
# build custom input driver
|
||||||
|
RUN set -eux; \
|
||||||
|
cd xf86-input-neko; \
|
||||||
|
./autogen.sh --prefix=/usr; \
|
||||||
|
./configure; \
|
||||||
|
make -j$(nproc); \
|
||||||
|
make install;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Stage 1: Build.
|
||||||
|
#
|
||||||
|
FROM $BUILD_IMAGE as build
|
||||||
|
WORKDIR /src
|
||||||
|
|
||||||
|
#
|
||||||
|
# install dependencies
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev libxcvt-dev \
|
||||||
|
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev; \
|
||||||
|
#
|
||||||
|
# clean up
|
||||||
|
apt-get clean -y; \
|
||||||
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||||
|
|
||||||
|
ARG GIT_COMMIT
|
||||||
|
ARG GIT_BRANCH
|
||||||
|
ARG GIT_TAG
|
||||||
|
|
||||||
|
#
|
||||||
|
# build server
|
||||||
|
COPY . .
|
||||||
|
RUN ./build
|
||||||
|
|
||||||
|
#
|
||||||
|
# Stage 2: Runtime.
|
||||||
|
#
|
||||||
|
FROM $BASE_IMAGE as runtime
|
||||||
|
|
||||||
|
#
|
||||||
|
# set custom user
|
||||||
|
ARG USERNAME=neko
|
||||||
|
ARG USER_UID=1000
|
||||||
|
ARG USER_GID=$USER_UID
|
||||||
|
|
||||||
|
#
|
||||||
|
# install dependencies
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
wget ca-certificates supervisor \
|
||||||
|
pulseaudio xserver-xorg-video-dummy \
|
||||||
|
libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx7 libxcvt0 \
|
||||||
|
#
|
||||||
|
# needed for profile upload preStop hook
|
||||||
|
zip curl \
|
||||||
|
#
|
||||||
|
# file chooser handler, clipboard, drop
|
||||||
|
xdotool xclip libgtk-3-0 \
|
||||||
|
#
|
||||||
|
# gst
|
||||||
|
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
|
||||||
|
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
|
||||||
|
gstreamer1.0-pulseaudio; \
|
||||||
|
#
|
||||||
|
# create a non-root user
|
||||||
|
groupadd --gid $USER_GID $USERNAME; \
|
||||||
|
useradd --uid $USER_UID --gid $USERNAME --shell /bin/bash --create-home $USERNAME; \
|
||||||
|
adduser $USERNAME audio; \
|
||||||
|
adduser $USERNAME video; \
|
||||||
|
adduser $USERNAME pulse; \
|
||||||
|
#
|
||||||
|
# workaround for an X11 problem: http://blog.tigerteufel.de/?p=476
|
||||||
|
mkdir /tmp/.X11-unix; \
|
||||||
|
chmod 1777 /tmp/.X11-unix; \
|
||||||
|
chown $USERNAME /tmp/.X11-unix/; \
|
||||||
|
#
|
||||||
|
# make directories for neko
|
||||||
|
mkdir -p /etc/neko /var/www; \
|
||||||
|
chown -R $USERNAME:$USERNAME /home/$USERNAME; \
|
||||||
|
#
|
||||||
|
# install fonts
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
# Emojis
|
||||||
|
fonts-noto-color-emoji \
|
||||||
|
# Chinese fonts
|
||||||
|
fonts-arphic-ukai fonts-arphic-uming \
|
||||||
|
# Japanese fonts
|
||||||
|
fonts-ipafont-mincho fonts-ipafont-gothic \
|
||||||
|
# Korean fonts
|
||||||
|
fonts-unfonts-core \
|
||||||
|
# Indian fonts
|
||||||
|
fonts-indic; \
|
||||||
|
#
|
||||||
|
# clean up
|
||||||
|
apt-get clean -y; \
|
||||||
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||||
|
|
||||||
|
# copy dependencies from previous stage
|
||||||
|
COPY --from=xorg-deps /usr/local/lib/xorg/modules/drivers/dummy_drv.so /usr/lib/xorg/modules/drivers/dummy_drv.so
|
||||||
|
COPY --from=xorg-deps /usr/local/lib/xorg/modules/input/neko_drv.so /usr/lib/xorg/modules/input/neko_drv.so
|
||||||
|
|
||||||
|
#
|
||||||
|
# copy runtime configs
|
||||||
|
COPY --chown=neko:neko runtime/.Xresources /home/$USERNAME/.Xresources
|
||||||
|
COPY runtime/default.pa /etc/pulse/default.pa
|
||||||
|
COPY runtime/supervisord.conf /etc/neko/supervisord.conf
|
||||||
|
COPY runtime/xorg.conf /etc/neko/xorg.conf
|
||||||
|
|
||||||
|
#
|
||||||
|
# copy runtime folders
|
||||||
|
COPY --chown=neko:neko runtime/icon-theme /home/$USERNAME/.icons/default
|
||||||
|
COPY runtime/fontconfig/* /etc/fonts/conf.d/
|
||||||
|
COPY runtime/fonts /usr/local/share/fonts
|
||||||
|
|
||||||
|
#
|
||||||
|
# set default envs
|
||||||
|
ENV USER=$USERNAME
|
||||||
|
ENV DISPLAY=:99.0
|
||||||
|
ENV PULSE_SERVER=unix:/tmp/pulseaudio.socket
|
||||||
|
ENV NEKO_SERVER_BIND=:8080
|
||||||
|
ENV NEKO_PLUGINS_ENABLED=true
|
||||||
|
ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/
|
||||||
|
|
||||||
|
#
|
||||||
|
# copy plugins from previous stage
|
||||||
|
COPY --from=build /src/bin/plugins/ $NEKO_PLUGINS_DIR
|
||||||
|
|
||||||
|
#
|
||||||
|
# copy executable from previous stage
|
||||||
|
COPY --from=build /src/bin/neko /usr/bin/neko
|
||||||
|
|
||||||
|
#
|
||||||
|
# add healthcheck
|
||||||
|
HEALTHCHECK --interval=10s --timeout=5s --retries=8 \
|
||||||
|
CMD wget -O - http://localhost:${NEKO_SERVER_BIND#*:}/health || exit 1
|
||||||
|
|
||||||
|
#
|
||||||
|
# run neko
|
||||||
|
CMD ["/usr/bin/supervisord", "-s", "-c", "/etc/neko/supervisord.conf"]
|
@ -1,7 +1,7 @@
|
|||||||
ARG UBUNTU_RELEASE=22.04
|
ARG UBUNTU_RELEASE=20.04
|
||||||
ARG CUDA_VERSION=12.2.0
|
ARG CUDA_VERSION=11.4.3
|
||||||
ARG VIRTUALGL_VERSION=3.1
|
ARG VIRTUALGL_VERSION=3.1
|
||||||
ARG GSTREAMER_VERSION=1.22
|
ARG GSTREAMER_VERSION=1.20
|
||||||
|
|
||||||
#
|
#
|
||||||
# Stage 0: Build gstreamer with nvidia plugins.
|
# Stage 0: Build gstreamer with nvidia plugins.
|
||||||
@ -56,7 +56,7 @@ RUN set -eux; \
|
|||||||
#
|
#
|
||||||
# Stage 0: Build xorg dependencies.
|
# Stage 0: Build xorg dependencies.
|
||||||
#
|
#
|
||||||
FROM debian:bookworm-slim as xorg-deps
|
FROM debian:bullseye-slim as xorg-deps
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
@ -70,13 +70,12 @@ WORKDIR /xorg
|
|||||||
|
|
||||||
COPY xorg/ /xorg/
|
COPY xorg/ /xorg/
|
||||||
|
|
||||||
# build xserver-xorg-video-dummy 0.3.8-2 with RandR support.
|
# build xf86-video-dummy v0.3.8 with RandR support
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
cd xf86-video-dummy; \
|
cd xf86-video-dummy/v0.3.8; \
|
||||||
git clone --depth 1 --branch xserver-xorg-video-dummy-1_0.3.8-2 https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-dummy; \
|
patch -p1 < ../01_v0.3.8_xdummy-randr.patch; \
|
||||||
cd xserver-xorg-video-dummy; \
|
autoreconf -v --install; \
|
||||||
patch -p1 < ../xdummy-randr.patch; \
|
./configure; \
|
||||||
./autogen.sh; \
|
|
||||||
make -j$(nproc); \
|
make -j$(nproc); \
|
||||||
make install;
|
make install;
|
||||||
|
|
||||||
@ -91,7 +90,7 @@ RUN set -eux; \
|
|||||||
#
|
#
|
||||||
# Stage 1: Build.
|
# Stage 1: Build.
|
||||||
#
|
#
|
||||||
FROM golang:1.21-bookworm as build
|
FROM golang:1.21-bullseye as build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -100,8 +99,12 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev libxcvt-dev \
|
libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev \
|
||||||
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev; \
|
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev; \
|
||||||
|
# install libxcvt-dev (not available in debian:bullseye)
|
||||||
|
wget http://ftp.de.debian.org/debian/pool/main/libx/libxcvt/libxcvt-dev_0.1.2-1_amd64.deb; \
|
||||||
|
wget http://ftp.de.debian.org/debian/pool/main/libx/libxcvt/libxcvt0_0.1.2-1_amd64.deb; \
|
||||||
|
apt-get install --no-install-recommends ./libxcvt0_0.1.2-1_amd64.deb ./libxcvt-dev_0.1.2-1_amd64.deb; \
|
||||||
#
|
#
|
||||||
# clean up
|
# clean up
|
||||||
apt-get clean -y; \
|
apt-get clean -y; \
|
||||||
@ -189,8 +192,8 @@ RUN set -eux; \
|
|||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
wget ca-certificates supervisor \
|
wget ca-certificates supervisor \
|
||||||
pulseaudio xserver-xorg-video-dummy \
|
pulseaudio dbus-x11 xserver-xorg-video-dummy \
|
||||||
libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx7 libx264-163 libvo-aacenc0 librtmp1 libxcvt0 \
|
libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx6 libx264-155 libvo-aacenc0 librtmp1 libxcvt0 \
|
||||||
libgtk-3-bin software-properties-common cabextract aptitude vim curl \
|
libgtk-3-bin software-properties-common cabextract aptitude vim curl \
|
||||||
#
|
#
|
||||||
# needed for profile upload preStop hook
|
# needed for profile upload preStop hook
|
||||||
@ -198,6 +201,10 @@ RUN set -eux; \
|
|||||||
#
|
#
|
||||||
# file chooser handler, clipboard, drop
|
# file chooser handler, clipboard, drop
|
||||||
xdotool xclip libgtk-3-0; \
|
xdotool xclip libgtk-3-0; \
|
||||||
|
# install libxcvt0 (not available in debian:bullseye)
|
||||||
|
wget http://ftp.de.debian.org/debian/pool/main/libx/libxcvt/libxcvt0_0.1.2-1_amd64.deb; \
|
||||||
|
apt-get install --no-install-recommends ./libxcvt0_0.1.2-1_amd64.deb; \
|
||||||
|
rm ./libxcvt0_0.1.2-1_amd64.deb; \
|
||||||
#
|
#
|
||||||
# create a non-root user
|
# create a non-root user
|
||||||
groupadd --gid $USER_GID $USERNAME; \
|
groupadd --gid $USER_GID $USERNAME; \
|
||||||
@ -279,8 +286,10 @@ RUN set -eux; \
|
|||||||
#
|
#
|
||||||
# copy runtime configs
|
# copy runtime configs
|
||||||
COPY --chown=neko:neko runtime/.Xresources /home/$USERNAME/.Xresources
|
COPY --chown=neko:neko runtime/.Xresources /home/$USERNAME/.Xresources
|
||||||
|
COPY runtime/dbus /usr/bin/dbus
|
||||||
COPY runtime/default.pa /etc/pulse/default.pa
|
COPY runtime/default.pa /etc/pulse/default.pa
|
||||||
COPY runtime/supervisord.conf /etc/neko/supervisord.conf
|
COPY runtime/supervisord.conf /etc/neko/supervisord.conf
|
||||||
|
COPY runtime/supervisord.dbus.conf /etc/neko/supervisord.dbus.conf
|
||||||
COPY runtime/xorg.conf /etc/neko/xorg.conf
|
COPY runtime/xorg.conf /etc/neko/xorg.conf
|
||||||
|
|
||||||
#
|
#
|
||||||
|
325
Dockerfile.nvidia.bookworm
Normal file
325
Dockerfile.nvidia.bookworm
Normal file
@ -0,0 +1,325 @@
|
|||||||
|
ARG UBUNTU_RELEASE=22.04
|
||||||
|
ARG CUDA_VERSION=12.2.0
|
||||||
|
ARG VIRTUALGL_VERSION=3.1
|
||||||
|
ARG GSTREAMER_VERSION=1.22
|
||||||
|
|
||||||
|
#
|
||||||
|
# Stage 0: Build gstreamer with nvidia plugins.
|
||||||
|
#
|
||||||
|
FROM ubuntu:${UBUNTU_RELEASE} AS gstreamer
|
||||||
|
ARG GSTREAMER_VERSION
|
||||||
|
|
||||||
|
#
|
||||||
|
# install dependencies
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
# Install essentials
|
||||||
|
curl build-essential ca-certificates git \
|
||||||
|
# Install pip and ninja
|
||||||
|
python3-pip python-gi-dev ninja-build \
|
||||||
|
# Install build deps
|
||||||
|
autopoint autoconf automake autotools-dev libtool gettext bison flex gtk-doc-tools \
|
||||||
|
# Install libraries
|
||||||
|
librtmp-dev \
|
||||||
|
libvo-aacenc-dev \
|
||||||
|
libtool-bin \
|
||||||
|
libgtk2.0-dev \
|
||||||
|
libgl1-mesa-dev \
|
||||||
|
libopus-dev \
|
||||||
|
libpulse-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libx264-dev \
|
||||||
|
libvpx-dev; \
|
||||||
|
# Install meson
|
||||||
|
pip3 install meson; \
|
||||||
|
#
|
||||||
|
# clean up
|
||||||
|
apt-get clean -y; \
|
||||||
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||||
|
|
||||||
|
#
|
||||||
|
# build gstreamer
|
||||||
|
RUN set -eux; \
|
||||||
|
git clone --depth 1 --branch $GSTREAMER_VERSION https://gitlab.freedesktop.org/gstreamer/gstreamer.git /gstreamer/src; \
|
||||||
|
cd /gstreamer/src; \
|
||||||
|
mkdir -p /usr/share/gstreamer; \
|
||||||
|
meson --prefix /usr/share/gstreamer \
|
||||||
|
-Dgpl=enabled \
|
||||||
|
-Dugly=enabled \
|
||||||
|
-Dgst-plugins-ugly:x264=enabled \
|
||||||
|
build; \
|
||||||
|
ninja -C build; \
|
||||||
|
meson install -C build;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Stage 0: Build xorg dependencies.
|
||||||
|
#
|
||||||
|
FROM debian:bookworm-slim as xorg-deps
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y \
|
||||||
|
git gcc pkgconf autoconf automake libtool make xorg-dev xutils-dev \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*;
|
||||||
|
|
||||||
|
WORKDIR /xorg
|
||||||
|
|
||||||
|
COPY xorg/ /xorg/
|
||||||
|
|
||||||
|
# build xf86-video-dummy v0.3.8 with RandR support
|
||||||
|
RUN set -eux; \
|
||||||
|
cd xf86-video-dummy/v0.3.8; \
|
||||||
|
patch -p1 < ../01_v0.3.8_xdummy-randr.patch; \
|
||||||
|
autoreconf -v --install; \
|
||||||
|
./configure; \
|
||||||
|
make -j$(nproc); \
|
||||||
|
make install;
|
||||||
|
|
||||||
|
# build custom input driver
|
||||||
|
RUN set -eux; \
|
||||||
|
cd xf86-input-neko; \
|
||||||
|
./autogen.sh --prefix=/usr; \
|
||||||
|
./configure; \
|
||||||
|
make -j$(nproc); \
|
||||||
|
make install;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Stage 1: Build.
|
||||||
|
#
|
||||||
|
FROM golang:1.21-bookworm as build
|
||||||
|
WORKDIR /src
|
||||||
|
|
||||||
|
#
|
||||||
|
# install dependencies
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev libxcvt-dev \
|
||||||
|
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev; \
|
||||||
|
#
|
||||||
|
# clean up
|
||||||
|
apt-get clean -y; \
|
||||||
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||||
|
|
||||||
|
ARG GIT_COMMIT
|
||||||
|
ARG GIT_BRANCH
|
||||||
|
ARG GIT_TAG
|
||||||
|
|
||||||
|
#
|
||||||
|
# build server
|
||||||
|
COPY . .
|
||||||
|
RUN ./build
|
||||||
|
|
||||||
|
#
|
||||||
|
# Stage 2: Runtime.
|
||||||
|
#
|
||||||
|
FROM nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_RELEASE} as runtime
|
||||||
|
ARG UBUNTU_RELEASE
|
||||||
|
ARG VIRTUALGL_VERSION
|
||||||
|
|
||||||
|
# Make all NVIDIA GPUs visible by default
|
||||||
|
ENV NVIDIA_VISIBLE_DEVICES all
|
||||||
|
# All NVIDIA driver capabilities should preferably be used, check `NVIDIA_DRIVER_CAPABILITIES` inside the container if things do not work
|
||||||
|
ENV NVIDIA_DRIVER_CAPABILITIES all
|
||||||
|
|
||||||
|
#
|
||||||
|
# set vgl-display to headless 3d gpu card/// correct values are egl[n] or /dev/dri/card0:if this is passed into container
|
||||||
|
ENV VGL_DISPLAY egl
|
||||||
|
|
||||||
|
#
|
||||||
|
# set custom user
|
||||||
|
ARG USERNAME=neko
|
||||||
|
ARG USER_UID=1000
|
||||||
|
ARG USER_GID=$USER_UID
|
||||||
|
|
||||||
|
#
|
||||||
|
# install hardware accleration dependencies
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN set -eux; \
|
||||||
|
dpkg --add-architecture i386; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
# opengl base: https://gitlab.com/nvidia/container-images/opengl/-/blob/ubuntu20.04/base/Dockerfile
|
||||||
|
libxau6 libxau6:i386 \
|
||||||
|
libxdmcp6 libxdmcp6:i386 \
|
||||||
|
libxcb1 libxcb1:i386 \
|
||||||
|
libxext6 libxext6:i386 \
|
||||||
|
libx11-6 libx11-6:i386 \
|
||||||
|
# opengl runtime: https://gitlab.com/nvidia/container-images/opengl/-/blob/ubuntu20.04/glvnd/runtime/Dockerfile
|
||||||
|
libglvnd0 libglvnd0:i386 \
|
||||||
|
libgl1 libgl1:i386 \
|
||||||
|
libglx0 libglx0:i386 \
|
||||||
|
libegl1 libegl1:i386 \
|
||||||
|
libgles2 libgles2:i386 \
|
||||||
|
# hardware accleration utilities
|
||||||
|
libglu1 libglu1:i386 \
|
||||||
|
libvulkan-dev libvulkan-dev:i386 \
|
||||||
|
mesa-utils mesa-utils-extra \
|
||||||
|
mesa-va-drivers mesa-vulkan-drivers \
|
||||||
|
vainfo vdpauinfo; \
|
||||||
|
#
|
||||||
|
# install vulkan-utils or vulkan-tools depending on ubuntu release
|
||||||
|
if [ "${UBUNTU_RELEASE}" = "18.04" ]; then \
|
||||||
|
apt-get install -y --no-install-recommends vulkan-utils; \
|
||||||
|
else \
|
||||||
|
apt-get install -y --no-install-recommends vulkan-tools; \
|
||||||
|
fi; \
|
||||||
|
#
|
||||||
|
# create symlink for libnvrtc.so (needed for cudaconvert)
|
||||||
|
find /usr/local/cuda/lib64/ -maxdepth 1 -type l -name "*libnvrtc.so.*" -exec sh -c 'ln -sf {} /usr/local/cuda/lib64/libnvrtc.so' \;; \
|
||||||
|
#
|
||||||
|
# clean up
|
||||||
|
apt-get clean -y; \
|
||||||
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||||
|
|
||||||
|
#
|
||||||
|
# add cuda to ld path, for gstreamer cuda plugins
|
||||||
|
ENV LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}:/usr/local/cuda/lib:/usr/local/cuda/lib64"
|
||||||
|
|
||||||
|
#
|
||||||
|
# install dependencies
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
wget ca-certificates supervisor \
|
||||||
|
pulseaudio xserver-xorg-video-dummy \
|
||||||
|
libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx7 libx264-163 libvo-aacenc0 librtmp1 libxcvt0 \
|
||||||
|
libgtk-3-bin software-properties-common cabextract aptitude vim curl \
|
||||||
|
#
|
||||||
|
# needed for profile upload preStop hook
|
||||||
|
zip curl \
|
||||||
|
#
|
||||||
|
# file chooser handler, clipboard, drop
|
||||||
|
xdotool xclip libgtk-3-0; \
|
||||||
|
#
|
||||||
|
# create a non-root user
|
||||||
|
groupadd --gid $USER_GID $USERNAME; \
|
||||||
|
useradd --uid $USER_UID --gid $USERNAME --shell /bin/bash --create-home $USERNAME; \
|
||||||
|
adduser $USERNAME audio; \
|
||||||
|
adduser $USERNAME video; \
|
||||||
|
adduser $USERNAME pulse; \
|
||||||
|
#
|
||||||
|
# workaround for an X11 problem: http://blog.tigerteufel.de/?p=476
|
||||||
|
mkdir /tmp/.X11-unix; \
|
||||||
|
chmod 1777 /tmp/.X11-unix; \
|
||||||
|
chown $USERNAME /tmp/.X11-unix/; \
|
||||||
|
#
|
||||||
|
# make directories for neko
|
||||||
|
mkdir -p /etc/neko /var/www; \
|
||||||
|
chown -R $USERNAME:$USERNAME /home/$USERNAME; \
|
||||||
|
#
|
||||||
|
# install fonts
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
# Emojis
|
||||||
|
fonts-noto-color-emoji \
|
||||||
|
# Chinese fonts
|
||||||
|
fonts-arphic-ukai fonts-arphic-uming \
|
||||||
|
# Japanese fonts
|
||||||
|
fonts-ipafont-mincho fonts-ipafont-gothic \
|
||||||
|
# Korean fonts
|
||||||
|
fonts-unfonts-core \
|
||||||
|
# Indian fonts
|
||||||
|
fonts-indic; \
|
||||||
|
#
|
||||||
|
# clean up
|
||||||
|
apt-get clean -y; \
|
||||||
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||||
|
|
||||||
|
# copy dependencies from previous stage
|
||||||
|
COPY --from=xorg-deps /usr/local/lib/xorg/modules/drivers/dummy_drv.so /usr/lib/xorg/modules/drivers/dummy_drv.so
|
||||||
|
COPY --from=xorg-deps /usr/local/lib/xorg/modules/input/neko_drv.so /usr/lib/xorg/modules/input/neko_drv.so
|
||||||
|
|
||||||
|
#
|
||||||
|
# configure EGL and Vulkan manually
|
||||||
|
RUN VULKAN_API_VERSION=$(dpkg -s libvulkan1 | grep -oP 'Version: [0-9|\.]+' | grep -oP '[0-9]+(\.[0-9]+)(\.[0-9]+)') && \
|
||||||
|
# Configure EGL manually
|
||||||
|
mkdir -p /usr/share/glvnd/egl_vendor.d/ && \
|
||||||
|
echo "{\n\
|
||||||
|
\"file_format_version\" : \"1.0.0\",\n\
|
||||||
|
\"ICD\": {\n\
|
||||||
|
\"library_path\": \"libEGL_nvidia.so.0\"\n\
|
||||||
|
}\n\
|
||||||
|
}" > /usr/share/glvnd/egl_vendor.d/10_nvidia.json && \
|
||||||
|
# Configure Vulkan manually
|
||||||
|
mkdir -p /etc/vulkan/icd.d/ && \
|
||||||
|
echo "{\n\
|
||||||
|
\"file_format_version\" : \"1.0.0\",\n\
|
||||||
|
\"ICD\": {\n\
|
||||||
|
\"library_path\": \"libGLX_nvidia.so.0\",\n\
|
||||||
|
\"api_version\" : \"${VULKAN_API_VERSION}\"\n\
|
||||||
|
}\n\
|
||||||
|
}" > /etc/vulkan/icd.d/nvidia_icd.json
|
||||||
|
|
||||||
|
#
|
||||||
|
# install VirtualGL and make libraries available for preload
|
||||||
|
RUN set -eux; \
|
||||||
|
apt-get update; \
|
||||||
|
wget "https://sourceforge.net/projects/virtualgl/files/virtualgl_${VIRTUALGL_VERSION}_amd64.deb"; \
|
||||||
|
wget "https://sourceforge.net/projects/virtualgl/files/virtualgl32_${VIRTUALGL_VERSION}_amd64.deb"; \
|
||||||
|
apt-get install -y --no-install-recommends ./virtualgl_${VIRTUALGL_VERSION}_amd64.deb ./virtualgl32_${VIRTUALGL_VERSION}_amd64.deb; \
|
||||||
|
rm -f "virtualgl_${VIRTUALGL_VERSION}_amd64.deb" "virtualgl32_${VIRTUALGL_VERSION}_amd64.deb"; \
|
||||||
|
chmod u+s /usr/lib/libvglfaker.so; \
|
||||||
|
chmod u+s /usr/lib/libdlfaker.so; \
|
||||||
|
chmod u+s /usr/lib32/libvglfaker.so; \
|
||||||
|
chmod u+s /usr/lib32/libdlfaker.so; \
|
||||||
|
chmod u+s /usr/lib/i386-linux-gnu/libvglfaker.so; \
|
||||||
|
chmod u+s /usr/lib/i386-linux-gnu/libdlfaker.so; \
|
||||||
|
#
|
||||||
|
# clean up
|
||||||
|
apt-get clean -y; \
|
||||||
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*;
|
||||||
|
|
||||||
|
#
|
||||||
|
# copy runtime configs
|
||||||
|
COPY --chown=neko:neko runtime/.Xresources /home/$USERNAME/.Xresources
|
||||||
|
COPY runtime/default.pa /etc/pulse/default.pa
|
||||||
|
COPY runtime/supervisord.conf /etc/neko/supervisord.conf
|
||||||
|
COPY runtime/xorg.conf /etc/neko/xorg.conf
|
||||||
|
|
||||||
|
#
|
||||||
|
# copy runtime folders
|
||||||
|
COPY --chown=neko:neko runtime/icon-theme /home/$USERNAME/.icons/default
|
||||||
|
COPY runtime/fontconfig/* /etc/fonts/conf.d/
|
||||||
|
COPY runtime/fonts /usr/local/share/fonts
|
||||||
|
|
||||||
|
#
|
||||||
|
# set default envs
|
||||||
|
ENV USER=$USERNAME
|
||||||
|
ENV DISPLAY=:99.0
|
||||||
|
ENV PULSE_SERVER=unix:/tmp/pulseaudio.socket
|
||||||
|
ENV NEKO_SERVER_BIND=:8080
|
||||||
|
ENV NEKO_PLUGINS_ENABLED=true
|
||||||
|
ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/
|
||||||
|
|
||||||
|
#
|
||||||
|
# set gstreamer envs
|
||||||
|
ENV PATH="/usr/share/gstreamer/bin:${PATH}"
|
||||||
|
ENV LD_LIBRARY_PATH="/usr/share/gstreamer/lib/x86_64-linux-gnu${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
|
||||||
|
ENV PKG_CONFIG_PATH="/usr/share/gstreamer/lib/x86_64-linux-gnu/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}"
|
||||||
|
|
||||||
|
#
|
||||||
|
# copy gstreamer from previous stage
|
||||||
|
COPY --from=gstreamer /usr/share/gstreamer /usr/share/gstreamer
|
||||||
|
|
||||||
|
#
|
||||||
|
# copy plugins from previous stage
|
||||||
|
COPY --from=build /src/bin/plugins/ $NEKO_PLUGINS_DIR
|
||||||
|
|
||||||
|
#
|
||||||
|
# copy executable from previous stage
|
||||||
|
COPY --from=build /src/bin/neko /usr/bin/neko
|
||||||
|
|
||||||
|
#
|
||||||
|
# add healthcheck
|
||||||
|
HEALTHCHECK --interval=10s --timeout=5s --retries=8 \
|
||||||
|
CMD wget -O - http://localhost:${NEKO_SERVER_BIND#*:}/health || exit 1
|
||||||
|
|
||||||
|
#
|
||||||
|
# run neko
|
||||||
|
CMD ["/usr/bin/supervisord", "-s", "-c", "/etc/neko/supervisord.conf"]
|
11
runtime/dbus
Executable file
11
runtime/dbus
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ ! -d /var/run/dbus ]; then
|
||||||
|
mkdir -p /var/run/dbus
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f /var/run/dbus/pid ]; then
|
||||||
|
rm -f /var/run/dbus/pid
|
||||||
|
fi
|
||||||
|
|
||||||
|
/usr/bin/dbus-daemon --nofork --print-pid --config-file=/usr/share/dbus-1/system.conf
|
9
runtime/supervisord.dbus.conf
Normal file
9
runtime/supervisord.dbus.conf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[program:dbus]
|
||||||
|
environment=HOME="/root",USER="root"
|
||||||
|
command=/usr/bin/dbus
|
||||||
|
autorestart=true
|
||||||
|
priority=100
|
||||||
|
user=root
|
||||||
|
stdout_logfile=/dev/stderr
|
||||||
|
stdout_logfile_maxbytes=0
|
||||||
|
redirect_stderr=true
|
@ -1,4 +1,4 @@
|
|||||||
FROM debian:bookworm-slim
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
2
xorg/xf86-video-dummy/README.md
Normal file
2
xorg/xf86-video-dummy/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
From: https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-dummy
|
||||||
|
Branch: xserver-xorg-video-dummy-1_0.3.8-2
|
2
xorg/xf86-video-dummy/v0.3.8/COPYING
Normal file
2
xorg/xf86-video-dummy/v0.3.8/COPYING
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Copyright 2002, SuSE Linux AG, Author: Egbert Eich
|
||||||
|
|
809
xorg/xf86-video-dummy/v0.3.8/ChangeLog
Normal file
809
xorg/xf86-video-dummy/v0.3.8/ChangeLog
Normal file
@ -0,0 +1,809 @@
|
|||||||
|
commit 4a6df6b4eecae769771eba0136bf8271d01258fb
|
||||||
|
Author: Julien Cristau <jcristau@debian.org>
|
||||||
|
Date: Wed Dec 14 21:57:18 2016 +0100
|
||||||
|
|
||||||
|
xf86-video-dummy 0.3.8
|
||||||
|
|
||||||
|
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
||||||
|
|
||||||
|
commit 52a6346c63c20c79f54c34e2950ccc5f1d2fb138
|
||||||
|
Author: Julien Cristau <jcristau@debian.org>
|
||||||
|
Date: Wed Dec 14 21:59:29 2016 +0100
|
||||||
|
|
||||||
|
configure: require xorg-server 1.4.99.901
|
||||||
|
|
||||||
|
dixChangeWindowProperty was introduced in that release.
|
||||||
|
|
||||||
|
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
||||||
|
|
||||||
|
commit e434975017eb90fa702653592ae590bc22aa483c
|
||||||
|
Author: Aaron Plattner <aplattner@nvidia.com>
|
||||||
|
Date: Thu Sep 22 09:14:26 2016 -0700
|
||||||
|
|
||||||
|
Remove pointless empty functions
|
||||||
|
|
||||||
|
These functions might be useful in a real driver, but with no
|
||||||
|
hardware, they're pointless. Get rid of them.
|
||||||
|
|
||||||
|
v2: Rebase, get rid of pointless calls to DUMMYAdjustFrame, return TRUE from
|
||||||
|
DUMMYSwitchMode.
|
||||||
|
|
||||||
|
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
|
||||||
|
Reviewed-by: Antoine Martin <antoine@nagafix.co.uk>
|
||||||
|
Tested-by: Antoine Martin <antoine@nagafix.co.uk>
|
||||||
|
|
||||||
|
commit 367c778240b4266958f33cec3653d5389e283557
|
||||||
|
Author: Antoine Martin <antoine@nagafix.co.uk>
|
||||||
|
Date: Tue Sep 20 13:34:40 2016 +0700
|
||||||
|
|
||||||
|
remove dead code in dummy driver
|
||||||
|
|
||||||
|
Signed-off-by: Antoine Martin <antoine@nagafix.co.uk>
|
||||||
|
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
|
||||||
|
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
|
||||||
|
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
|
||||||
|
|
||||||
|
commit 8706f60ab457867c120dd44e812b8fadc2be7179
|
||||||
|
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
|
Date: Thu Jan 14 10:30:40 2016 +1000
|
||||||
|
|
||||||
|
Switch to using dixChangeWindowProperty
|
||||||
|
|
||||||
|
eb36924ead40564325aa56d54a973dc8fb4eae83 removed ChangeWindowProperty from the
|
||||||
|
server.
|
||||||
|
|
||||||
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
|
Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
|
||||||
|
|
||||||
|
commit 29433844c8b8989ea2ac64bd92b3ad61b6f9cf10
|
||||||
|
Author: Antoine Martin <antoine@nagafix.co.uk>
|
||||||
|
Date: Thu Sep 17 10:55:25 2015 -0400
|
||||||
|
|
||||||
|
Honor DacSpeed setting in xorg.conf
|
||||||
|
|
||||||
|
Reviewed-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
Signed-off-by: Antoine Martin <antoine@nagafix.co.uk>
|
||||||
|
|
||||||
|
commit 0e339b256a858bfd832c92e3c14619023dea826c
|
||||||
|
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||||
|
Date: Sat May 31 21:39:32 2014 -0700
|
||||||
|
|
||||||
|
autogen.sh: Honor NOCONFIGURE=1
|
||||||
|
|
||||||
|
See http://people.gnome.org/~walters/docs/build-api.txt
|
||||||
|
|
||||||
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||||
|
|
||||||
|
commit 85402253d0f9ca464d54336e48e9a7ac91fc39bb
|
||||||
|
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||||
|
Date: Sat May 31 21:38:41 2014 -0700
|
||||||
|
|
||||||
|
configure: Drop AM_MAINTAINER_MODE
|
||||||
|
|
||||||
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||||
|
|
||||||
|
commit 4160421c642fc6b2dd3100a06f236efc6bbe0e08
|
||||||
|
Author: Julien Cristau <jcristau@debian.org>
|
||||||
|
Date: Mon Sep 9 19:45:23 2013 +0200
|
||||||
|
|
||||||
|
Bump to 0.3.7
|
||||||
|
|
||||||
|
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
||||||
|
|
||||||
|
commit 44f04fd3046043ed31369025f34353c4e0e5c1cd
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Tue Sep 25 08:54:36 2012 -0400
|
||||||
|
|
||||||
|
Remove mibstore.h
|
||||||
|
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
|
||||||
|
commit fee6b520a620eed80e22840b8149abc50815f771
|
||||||
|
Author: Dave Airlie <airlied@gmail.com>
|
||||||
|
Date: Wed Jul 18 19:39:32 2012 +1000
|
||||||
|
|
||||||
|
dummy: bump to 0.3.6 for release
|
||||||
|
|
||||||
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
||||||
|
|
||||||
|
commit 1491470ee0745bf8303fa085bd30f7464098f1f2
|
||||||
|
Author: Dave Airlie <airlied@redhat.com>
|
||||||
|
Date: Tue Jun 5 11:14:37 2012 +0100
|
||||||
|
|
||||||
|
dummy: convert to the new server APIs.
|
||||||
|
|
||||||
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
||||||
|
|
||||||
|
commit 6ff612955a1a8591bf21f6aa56e7b6ebd8e2db48
|
||||||
|
Author: Dave Airlie <airlied@redhat.com>
|
||||||
|
Date: Wed May 23 11:37:01 2012 +0100
|
||||||
|
|
||||||
|
dummy: convert to new scrn conversion APIs.
|
||||||
|
|
||||||
|
Generated from util/modular/x-driver-screen-scrn-conv.sh
|
||||||
|
|
||||||
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
||||||
|
|
||||||
|
commit 20fcd59d3f8d7393586d8b64bfac18adede726ca
|
||||||
|
Author: Dave Airlie <airlied@redhat.com>
|
||||||
|
Date: Wed May 23 11:36:22 2012 +0100
|
||||||
|
|
||||||
|
dummy: add scrn conversion api compat header.
|
||||||
|
|
||||||
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
||||||
|
|
||||||
|
commit a78d524cfb332909dba89df5d709081515f0ed36
|
||||||
|
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
||||||
|
Date: Wed Mar 28 00:07:28 2012 -0500
|
||||||
|
|
||||||
|
Add XORG_LIBS to LIBADD
|
||||||
|
|
||||||
|
This affects only Cygwin, where drivers must be linked against the
|
||||||
|
Xorg implib. On other systems, XORG_LIBS will be empty.
|
||||||
|
|
||||||
|
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
||||||
|
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||||
|
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
|
||||||
|
commit 668223a665af38600b8b20152c7e53e731c76234
|
||||||
|
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
||||||
|
Date: Wed Mar 28 00:06:32 2012 -0500
|
||||||
|
|
||||||
|
Only include Xv headers if server supports it
|
||||||
|
|
||||||
|
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
||||||
|
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
|
||||||
|
commit 02918fd53434a23a72fe878a90f4ec48ef0e0416
|
||||||
|
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
Date: Mon Jan 9 01:00:40 2012 -0800
|
||||||
|
|
||||||
|
Don't use XFreeXDGA to determine DGA support
|
||||||
|
|
||||||
|
If our server supports DGA and we want to build the dummy driver without it,
|
||||||
|
XFreeXDGA will be defined by the server and will be picked up rather than
|
||||||
|
our configuration option. This change forces us to honor our configuration
|
||||||
|
hoice.
|
||||||
|
|
||||||
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
|
||||||
|
commit bccf37f052748386902112b770b89d81bddfaeb8
|
||||||
|
Author: Cyril Brulebois <kibi@debian.org>
|
||||||
|
Date: Sun Jan 1 07:15:36 2012 +0100
|
||||||
|
|
||||||
|
dummy 0.3.5
|
||||||
|
|
||||||
|
Signed-off-by: Cyril Brulebois <kibi@debian.org>
|
||||||
|
|
||||||
|
commit dd9be3b21842aacdee5501cd2e0bfafb11b5ec08
|
||||||
|
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
Date: Wed Sep 14 14:50:36 2011 -0500
|
||||||
|
|
||||||
|
Add a configure option to disable dga
|
||||||
|
|
||||||
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
Reviewed-by: Jamey Sharp <jamey@minilop.net>
|
||||||
|
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
||||||
|
|
||||||
|
commit dd598ca433d2386687f9543457e4c6ffdb16d7c4
|
||||||
|
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
Date: Wed Sep 14 14:32:02 2011 -0500
|
||||||
|
|
||||||
|
Use malloc/free instead of deprecated X versions
|
||||||
|
|
||||||
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
Reviewed-by: Jamey Sharp <jamey@minilop.net>
|
||||||
|
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
||||||
|
|
||||||
|
commit d70dde48087a0d5c3930860ab97585d39de7b57e
|
||||||
|
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
Date: Wed Sep 14 14:30:55 2011 -0500
|
||||||
|
|
||||||
|
Dummy drivers don't need PCI.
|
||||||
|
|
||||||
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||||
|
Reviewed-by: Jamey Sharp <jamey@minilop.net>
|
||||||
|
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
||||||
|
|
||||||
|
commit bdc59411136b16ca3447336f22e95010bf709a53
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Wed May 25 06:05:29 2011 -0400
|
||||||
|
|
||||||
|
Port away from xalloc/xfree
|
||||||
|
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
|
||||||
|
commit 7f57ed6be7c561b83da44a6ecb0562e8f562e48e
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Wed May 25 06:04:39 2011 -0400
|
||||||
|
|
||||||
|
Fix DGA includes
|
||||||
|
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
|
||||||
|
commit fb0888f90d5d1c10d69ec2add0a66e88c94f5d5c
|
||||||
|
Author: Antoine Martin <antoine@devloop.org.uk>
|
||||||
|
Date: Wed May 25 06:03:10 2011 -0400
|
||||||
|
|
||||||
|
Increase the maximum framebuffer size to 32767x32767
|
||||||
|
|
||||||
|
Reviewed-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
Signed-off-by: Antoine Martin <antoine@devloop.org.uk>
|
||||||
|
Tested-by: Antoine Martin <antoine@devloop.org.uk>
|
||||||
|
|
||||||
|
commit f8dc281042b328c2fad4df38f8fb3f967a025c6f
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Wed Jul 21 16:49:04 2010 -0400
|
||||||
|
|
||||||
|
config: add comments for main statements
|
||||||
|
|
||||||
|
commit ca77f09bd68587e7579f139660c8cef81662fdd0
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Wed Jul 21 16:07:00 2010 -0400
|
||||||
|
|
||||||
|
config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit 945a1619300291ffe08c82f19bea6bb2e1da8f86
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Wed Jul 21 14:05:22 2010 -0400
|
||||||
|
|
||||||
|
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit 8fbbafb7ed5988a63d16d3d9fad17dd336a32b82
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Wed Jul 21 09:27:42 2010 -0400
|
||||||
|
|
||||||
|
config: complete AC_INIT m4 quoting
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit 93898c6d620cb005bca60ed20b89faf9a3b8434e
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Tue Jul 20 20:24:42 2010 -0400
|
||||||
|
|
||||||
|
config: remove unrequired AC_HEADER_STDC
|
||||||
|
|
||||||
|
Autoconf says:
|
||||||
|
"This macro is obsolescent, as current systems have conforming
|
||||||
|
header files. New programs need not use this macro".
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit c26603e9c0ab3cb04bcac5a370c9b5de9fe0d1d6
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Tue Jul 20 19:41:30 2010 -0400
|
||||||
|
|
||||||
|
config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
|
||||||
|
|
||||||
|
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
|
||||||
|
AC_PROG_C_C99. This sets gcc with -std=gnu99.
|
||||||
|
If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit 839b7420661db5e1a9e6cffe97308a34f3196e58
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Tue Jul 20 18:45:18 2010 -0400
|
||||||
|
|
||||||
|
config: update AC_PREREQ statement to 2.60
|
||||||
|
|
||||||
|
Unrelated to the previous patches, the new value simply reflects
|
||||||
|
the reality that the minimum level for autoconf to configure
|
||||||
|
all x.org modules is 2.60 dated June 2006.
|
||||||
|
|
||||||
|
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit 51642de730f264fdfaf1c78f68a767a9347e1520
|
||||||
|
Author: Dave Airlie <airlied@redhat.com>
|
||||||
|
Date: Mon Jul 5 12:05:40 2010 +1000
|
||||||
|
|
||||||
|
dummy 0.3.4
|
||||||
|
|
||||||
|
commit 77ae177fd77e90a6eaeebde9df88911256264329
|
||||||
|
Author: Jamey Sharp <jamey@minilop.net>
|
||||||
|
Date: Fri Jun 4 16:09:34 2010 -0700
|
||||||
|
|
||||||
|
Use new server API to find the root window.
|
||||||
|
|
||||||
|
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
||||||
|
|
||||||
|
commit 2503a68673c6012a0bf2abba58aa5060654965f9
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Sat Jun 12 15:39:03 2010 -0400
|
||||||
|
|
||||||
|
COPYING: replace stub file with actual Copyright notice
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit c4134a6cb6bf3d9364fd2374e79647859dbd57c3
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Mon Feb 8 20:08:52 2010 -0500
|
||||||
|
|
||||||
|
config: move compiler flags from configure.ac to Makefile.am
|
||||||
|
|
||||||
|
CFLAGS is an automake defined variable that should not be set
|
||||||
|
by the module. It should not be AC_SUBST either, it already is.
|
||||||
|
|
||||||
|
Use AM_CFLAGS in Makefile.am. This will allow the user to override
|
||||||
|
the flags as they will be in the right order.
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit 3370539eea599ff51a556507ec16a1570b8ed076
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Mon Feb 8 19:07:22 2010 -0500
|
||||||
|
|
||||||
|
config: remove unrequired '-I$(top_srcdir)/src'
|
||||||
|
|
||||||
|
The current dir is already included by default in the makefile
|
||||||
|
top_builddir = ..
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(top_builddir)
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit ea7cc253b0f4ea97a197ec36b3ac06279b0b95f6
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Mon Feb 8 18:42:52 2010 -0500
|
||||||
|
|
||||||
|
config: remove unused INCLUDES='-I$(top_srcdir)/src'
|
||||||
|
|
||||||
|
This statement is redundant and not used in the makefile
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit bff6fc2f25648df0bbc0ea0723636260df987d34
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Mon Feb 8 17:45:42 2010 -0500
|
||||||
|
|
||||||
|
config: remove unused variable XORG_INCS
|
||||||
|
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit 17f6ec36df36a8999a95fd86e17013b1c44a7a2e
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Tue Dec 15 20:59:46 2009 -0500
|
||||||
|
|
||||||
|
configure.ac: sdkdir usage duplicates the sdk include dir
|
||||||
|
|
||||||
|
The sdkdir variable provides a duplicate copy of the include/xorg
|
||||||
|
directory. The statement is removed as this was it's only used.
|
||||||
|
In the Makefile, there is now only one instance of the -I sdkdir
|
||||||
|
The sdkdir is provided in XORG_CFLAGS.
|
||||||
|
|
||||||
|
Acked-by: Dan Nicholson <dbn.lists@gmail.com>
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit 86a7baa4156dc9569b7dde51b3042b7fd8093821
|
||||||
|
Author: Michael Olbrich <m.olbrich@pengutronix.de>
|
||||||
|
Date: Thu Dec 10 14:53:50 2009 -0500
|
||||||
|
|
||||||
|
configure.ac: remove wrong include path. #24675
|
||||||
|
|
||||||
|
Don't use $(prefix)/include as include path. It can break things
|
||||||
|
when cross-compiling with DESTDIR and prefix=/usr
|
||||||
|
|
||||||
|
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
||||||
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
|
||||||
|
commit 483db0376d08be806c9bd51646f226f9510a4e48
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Tue Dec 1 10:51:30 2009 -0500
|
||||||
|
|
||||||
|
dummy 0.3.3
|
||||||
|
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
|
||||||
|
commit 1ea8367691e69b289c2b5ca67d8ace39994347f8
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Tue Dec 1 10:36:35 2009 -0500
|
||||||
|
|
||||||
|
Don't try to make an INSTALL file
|
||||||
|
|
||||||
|
INSTALL_CMD is empty. This breaks make distcheck. I don't know why,
|
||||||
|
but I also don't care.
|
||||||
|
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
|
||||||
|
commit 84b8dac3e6d869aa7e7b012add892fad9c3ce136
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Mon Nov 23 09:25:05 2009 -0500
|
||||||
|
|
||||||
|
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
|
||||||
|
|
||||||
|
Now that the INSTALL file is generated.
|
||||||
|
Allows running make maintainer-clean.
|
||||||
|
|
||||||
|
commit be0e614859c5754a18dc7c8ad2dd55090ab166c7
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Wed Oct 28 14:41:41 2009 -0400
|
||||||
|
|
||||||
|
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
|
||||||
|
|
||||||
|
Automake 'foreign' option is specified in configure.ac.
|
||||||
|
Remove from Makefile.am
|
||||||
|
|
||||||
|
commit 2fc665b979a56faaac388b065c4cd91e0d2994d3
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Wed Oct 28 14:09:09 2009 -0400
|
||||||
|
|
||||||
|
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
|
||||||
|
|
||||||
|
Add missing INSTALL file. Use standard GNU file on building tarball
|
||||||
|
README may have been updated
|
||||||
|
Remove AUTHORS file as it is empty and no content available yet.
|
||||||
|
Remove NEWS file as it is empty and no content available yet.
|
||||||
|
|
||||||
|
commit 27946998e6ec8537e7137fd453e229d81c092f54
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Mon Oct 26 12:54:21 2009 -0400
|
||||||
|
|
||||||
|
Several driver modules do not have a ChangeLog target in Makefile.am #23814
|
||||||
|
|
||||||
|
The git generated ChangeLog replaces the hand written one.
|
||||||
|
Update configure.ac to xorg-macros level 1.3.
|
||||||
|
Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros
|
||||||
|
Update Makefile.am to add ChangeLog target if missing
|
||||||
|
Remove ChangeLog from EXTRA_DIST or *CLEAN variables
|
||||||
|
This is a pre-req for the INSTALL_CMD
|
||||||
|
|
||||||
|
commit 50b546f499ae1cafbdf8e890234616733e2e6633
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Thu Oct 22 13:00:42 2009 -0400
|
||||||
|
|
||||||
|
.gitignore: use common defaults with custom section # 24239
|
||||||
|
|
||||||
|
Using common defaults will reduce errors and maintenance.
|
||||||
|
Only the very small or inexistent custom section need periodic maintenance
|
||||||
|
when the structure of the component changes. Do not edit defaults.
|
||||||
|
|
||||||
|
commit 7aefb53beeaac7de52c44be0032a5a699706b74b
|
||||||
|
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||||
|
Date: Thu Oct 22 12:34:16 2009 -0400
|
||||||
|
|
||||||
|
.gitignore: use common defaults with custom section # 24239
|
||||||
|
|
||||||
|
Using common defaults will reduce errors and maintenance.
|
||||||
|
Only the very small or inexistent custom section need periodic maintenance
|
||||||
|
when the structure of the component changes. Do not edit defaults.
|
||||||
|
|
||||||
|
commit 4d4e41812e21490e39da34ac123b2c66bf20598c
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Wed Nov 18 09:37:49 2009 -0500
|
||||||
|
|
||||||
|
Canonically re-wrap too.
|
||||||
|
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
|
||||||
|
commit b5983dbbd5f0cb4416b0e484fb43c80208feca25
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Wed Nov 18 09:36:34 2009 -0500
|
||||||
|
|
||||||
|
Compile fix.
|
||||||
|
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
|
||||||
|
commit e39d9a265572c273915f1803a729e7211d7b247b
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Tue Nov 17 13:46:27 2009 -0500
|
||||||
|
|
||||||
|
Add support for HW_SKIP_CONSOLE
|
||||||
|
|
||||||
|
Acked-by: Aaron Plattner <aplattner@nvidia.com>
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
|
||||||
|
commit a8366277a70797a7fa9c8c0b739a5fdac066816f
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Tue Nov 17 13:36:30 2009 -0500
|
||||||
|
|
||||||
|
Properly un/rewrap CreateWindow
|
||||||
|
|
||||||
|
Acked-by: Aaron Plattner <aplattner@nvidia.com>
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
|
||||||
|
commit ecf513ae11399c5778ff7d988e838a2b6211a88b
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Thu Jul 2 11:08:25 2009 -0400
|
||||||
|
|
||||||
|
dummy 0.3.2
|
||||||
|
|
||||||
|
commit 8fe24e48acc7ec03972ee0acb5d7ab205ecbf7e0
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Thu May 28 14:54:17 2009 -0400
|
||||||
|
|
||||||
|
Remove useless loader symbol lists.
|
||||||
|
|
||||||
|
commit 17885c5cb1dbcfb48ee593260bcd1b1ff2887989
|
||||||
|
Author: Alan Coopersmith <alan.coopersmith@sun.com>
|
||||||
|
Date: Fri Jan 30 20:38:25 2009 -0800
|
||||||
|
|
||||||
|
Add README with pointers to mailing list, bugzilla & git repos
|
||||||
|
|
||||||
|
commit d876e719969e9d33e7e4502448a544f12eb0fab8
|
||||||
|
Author: Julien Cristau <jcristau@debian.org>
|
||||||
|
Date: Sun Jan 25 23:25:33 2009 +0100
|
||||||
|
|
||||||
|
dummy 0.3.1
|
||||||
|
|
||||||
|
commit 33e86171bd1815a23f35bb992a91c02785c22402
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Fri Aug 15 14:05:04 2008 -0400
|
||||||
|
|
||||||
|
Uninclude xf86Version.h
|
||||||
|
|
||||||
|
commit 0dcdce106d01aa6ff611436c3f8374241e7a8da8
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Wed Mar 19 17:31:28 2008 -0400
|
||||||
|
|
||||||
|
dummy 0.3.0
|
||||||
|
|
||||||
|
commit ba7ab1d468e9a5ba37c064b3b128fa3bbb721044
|
||||||
|
Author: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Wed Mar 19 17:26:51 2008 -0400
|
||||||
|
|
||||||
|
Death to RCS tags.
|
||||||
|
|
||||||
|
commit 2aeec40b3d48705bc1de9da3f06deac365c25895
|
||||||
|
Author: James Cloos <cloos@jhcloos.com>
|
||||||
|
Date: Mon Sep 3 05:52:30 2007 -0400
|
||||||
|
|
||||||
|
Add *~ to .gitignore to skip patch/emacs droppings
|
||||||
|
|
||||||
|
commit 1874204e0c807c1686c28782d5eef62bd49fab04
|
||||||
|
Author: James Cloos <cloos@jhcloos.com>
|
||||||
|
Date: Thu Aug 23 19:25:48 2007 -0400
|
||||||
|
|
||||||
|
Rename .cvsignore to .gitignore
|
||||||
|
|
||||||
|
commit 345de2bd048fcc7b177a3b504522fe100b34f1e0
|
||||||
|
Author: Brice Goglin <bgoglin@debian.org>
|
||||||
|
Date: Tue Aug 7 10:50:06 2007 +0200
|
||||||
|
|
||||||
|
Define DUMMY_*_VERSION* using PACKAGE_VERSION_*
|
||||||
|
|
||||||
|
commit 22e38bed8cd2d1e54c47d0763436012eeccb2d32
|
||||||
|
Author: Adam Jackson <ajax@nwnk.net>
|
||||||
|
Date: Fri Apr 7 18:59:48 2006 +0000
|
||||||
|
|
||||||
|
VERSION -> DUMMY_VERSION
|
||||||
|
|
||||||
|
commit 7432eaf48b70437bd55e5cc98833cce224d9e131
|
||||||
|
Author: Adam Jackson <ajax@nwnk.net>
|
||||||
|
Date: Fri Apr 7 18:50:19 2006 +0000
|
||||||
|
|
||||||
|
Unlibcwrap. Bump server version requirement. Bump to 1.1.0.
|
||||||
|
|
||||||
|
commit 474af880791908da7e006c4d500bc7318107bbd1
|
||||||
|
Author: Kevin E Martin <kem@kem.org>
|
||||||
|
Date: Wed Dec 21 02:29:59 2005 +0000
|
||||||
|
|
||||||
|
Update package version for X11R7 release.
|
||||||
|
|
||||||
|
commit 9b9ea496e698e4d078c67b8f5674fd6479e3b2bb
|
||||||
|
Author: Adam Jackson <ajax@nwnk.net>
|
||||||
|
Date: Mon Dec 19 16:25:53 2005 +0000
|
||||||
|
|
||||||
|
Stub COPYING files
|
||||||
|
|
||||||
|
commit d2cff58c1e7ff03109bd17c5f8247b9b166b71f2
|
||||||
|
Author: Kevin E Martin <kem@kem.org>
|
||||||
|
Date: Thu Dec 15 00:24:17 2005 +0000
|
||||||
|
|
||||||
|
Update package version number for final X11R7 release candidate.
|
||||||
|
|
||||||
|
commit 39f1e4449acb3e5da96aaaaa86e2544e9be968b1
|
||||||
|
Author: Kevin E Martin <kem@kem.org>
|
||||||
|
Date: Sat Dec 3 05:49:33 2005 +0000
|
||||||
|
|
||||||
|
Update package version number for X11R7 RC3 release.
|
||||||
|
|
||||||
|
commit 1b47f2e8f47501122a3b613b95ea5de99f76a8c2
|
||||||
|
Author: Kevin E Martin <kem@kem.org>
|
||||||
|
Date: Fri Dec 2 02:16:08 2005 +0000
|
||||||
|
|
||||||
|
Remove extraneous AC_MSG_RESULT.
|
||||||
|
|
||||||
|
commit c2c245b18409db7013dee0b0b4b7176daae7e290
|
||||||
|
Author: Adam Jackson <ajax@nwnk.net>
|
||||||
|
Date: Tue Nov 29 23:29:58 2005 +0000
|
||||||
|
|
||||||
|
Only build dlloader modules by default.
|
||||||
|
|
||||||
|
commit e6887d858e8b837c29c7833ab4b55034b736c6d8
|
||||||
|
Author: Eric Anholt <anholt@freebsd.org>
|
||||||
|
Date: Mon Nov 21 10:49:12 2005 +0000
|
||||||
|
|
||||||
|
Add .cvsignores for drivers.
|
||||||
|
|
||||||
|
commit ec562722d0ae21f82a0dcc1a4a3e45ed52592aed
|
||||||
|
Author: Kevin E Martin <kem@kem.org>
|
||||||
|
Date: Tue Nov 15 05:42:03 2005 +0000
|
||||||
|
|
||||||
|
Add check for DGA extension to fix issues when building with separate build
|
||||||
|
roots.
|
||||||
|
|
||||||
|
commit 1073cc5a2bd62b6972fcda4d4d9ccbe43f2506d4
|
||||||
|
Author: Kevin E Martin <kem@kem.org>
|
||||||
|
Date: Wed Nov 9 21:15:14 2005 +0000
|
||||||
|
|
||||||
|
Update package version number for X11R7 RC2 release.
|
||||||
|
|
||||||
|
commit 5ced29a35f7571899f281af094fbd1f242f95e7d
|
||||||
|
Author: Kevin E Martin <kem@kem.org>
|
||||||
|
Date: Tue Nov 1 15:08:52 2005 +0000
|
||||||
|
|
||||||
|
Update pkgcheck depedencies to work with separate build roots.
|
||||||
|
|
||||||
|
commit ffa97f23462ff045834b4abae33cf645ed6c3517
|
||||||
|
Author: Kevin E Martin <kem@kem.org>
|
||||||
|
Date: Wed Oct 19 02:48:02 2005 +0000
|
||||||
|
|
||||||
|
Update package version number for RC1 release.
|
||||||
|
|
||||||
|
commit 4bb6048d8d0d87f3d91a93fef737882434702bb0
|
||||||
|
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
|
||||||
|
Date: Mon Oct 17 00:09:02 2005 +0000
|
||||||
|
|
||||||
|
Use sed & cpp to substitute variables in driver man pages
|
||||||
|
|
||||||
|
commit f586bde47b9ed6561b5350c03b088acfe2e227f6
|
||||||
|
Author: Daniel Stone <daniel@fooishbar.org>
|
||||||
|
Date: Thu Aug 18 09:03:46 2005 +0000
|
||||||
|
|
||||||
|
Update autogen.sh to one that does objdir != srcdir.
|
||||||
|
|
||||||
|
commit d43c40d00ab34ae85e4684cc3860f641b0bea65c
|
||||||
|
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
|
||||||
|
Date: Wed Aug 10 14:07:24 2005 +0000
|
||||||
|
|
||||||
|
Don\'t lose existing CFLAGS in all the input drivers and some of the video
|
||||||
|
drivers
|
||||||
|
|
||||||
|
commit ef552d7e1765386c652748a97df67f4ba00beef0
|
||||||
|
Author: Kevin E Martin <kem@kem.org>
|
||||||
|
Date: Fri Jul 29 21:22:43 2005 +0000
|
||||||
|
|
||||||
|
Various changes preparing packages for RC0:
|
||||||
|
- Verify and update package version numbers as needed
|
||||||
|
- Implement versioning scheme
|
||||||
|
- Change bug address to point to bugzilla bug entry form
|
||||||
|
- Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
|
||||||
|
reenable it)
|
||||||
|
- Fix makedepend to use pkgconfig and pass distcheck
|
||||||
|
- Update build script to build macros first
|
||||||
|
- Update modular Xorg version
|
||||||
|
|
||||||
|
commit c5f63f703d838cfae54269c595e14a06ea04f243
|
||||||
|
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
|
||||||
|
Date: Wed Jul 13 21:52:24 2005 +0000
|
||||||
|
|
||||||
|
Add Makefile.am here. Also, for the record, CVS needs a bullet through its
|
||||||
|
head
|
||||||
|
|
||||||
|
commit 30a2cce4b61e2b0e550479ee87f25c895cbca513
|
||||||
|
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
|
||||||
|
Date: Wed Jul 13 21:45:21 2005 +0000
|
||||||
|
|
||||||
|
Build system for dummy video driver
|
||||||
|
|
||||||
|
commit ec9e85771609d6ec8a94b777fc784db4d1026f20
|
||||||
|
Author: Adam Jackson <ajax@nwnk.net>
|
||||||
|
Date: Mon Jul 11 02:29:47 2005 +0000
|
||||||
|
|
||||||
|
Prep for modular builds by adding guarded #include "config.h" everywhere.
|
||||||
|
|
||||||
|
commit 7b856f1c89ceae998c2133fcd9bba2c1493744e0
|
||||||
|
Author: Adam Jackson <ajax@nwnk.net>
|
||||||
|
Date: Sat Jun 25 21:16:54 2005 +0000
|
||||||
|
|
||||||
|
Bug #3626: _X_EXPORT tags for video and input drivers.
|
||||||
|
|
||||||
|
commit a467602c6c419bd7288d80ad50a6fa62aeff3ec8
|
||||||
|
Author: Daniel Stone <daniel@fooishbar.org>
|
||||||
|
Date: Wed Apr 20 12:25:23 2005 +0000
|
||||||
|
|
||||||
|
Fix includes right throughout the Xserver tree:
|
||||||
|
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
|
||||||
|
change "foo.h", "extensions/foo.h" and "X11/foo.h" to
|
||||||
|
<X11/extensions/foo.h> for extension headers, e.g. Xv.h;
|
||||||
|
change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
|
||||||
|
|
||||||
|
commit 53407449153e20f7529ed9b403cee5aab25880d0
|
||||||
|
Author: Adam Jackson <ajax@nwnk.net>
|
||||||
|
Date: Fri Feb 25 16:38:34 2005 +0000
|
||||||
|
|
||||||
|
Bug #2605: Make the cyrix, dummy, glint, neomagic, tga, and trident drivers
|
||||||
|
build when BuildXF86DGA NO.
|
||||||
|
(also fix some datestamps in the changelog)
|
||||||
|
|
||||||
|
commit 73816949f2a28a0b8fe39108a8e493f9e47f7718
|
||||||
|
Author: Egbert Eich <eich@suse.de>
|
||||||
|
Date: Fri Jan 28 16:12:59 2005 +0000
|
||||||
|
|
||||||
|
Modifying X.Org Xserver DDX to allow to run X with ordinary user
|
||||||
|
permissions when no access to HW registers is required. For API changes
|
||||||
|
which mostly involve the modifications to make the RRFunc (introduced
|
||||||
|
with 6.8) more flexible please check Bugzilla #2407. NOTE: This patch
|
||||||
|
applies changes to OS specific files for other OSes which I cannot
|
||||||
|
test.
|
||||||
|
|
||||||
|
commit 720c9b05f47c3529aa2561ab4c88319322893780
|
||||||
|
Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
|
||||||
|
Date: Sat Dec 4 00:43:05 2004 +0000
|
||||||
|
|
||||||
|
Encoding of numerous files changed to UTF-8
|
||||||
|
|
||||||
|
commit b227226476ae94d094376c561d77e85589592fe6
|
||||||
|
Author: Stuart Kreitman <stuart.kreitman@sun.com>
|
||||||
|
Date: Fri Oct 15 21:09:00 2004 +0000
|
||||||
|
|
||||||
|
Bugzilla #1644: Attach an atom "VFB" to root window of dummy driver.
|
||||||
|
Committing in Head.
|
||||||
|
Modified Files: dummy.h dummy_driver.c
|
||||||
|
|
||||||
|
commit a571d5efb53cfe793d61d1b48c2bddc8d337d381
|
||||||
|
Author: Eric Anholt <anholt@freebsd.org>
|
||||||
|
Date: Wed Jun 16 09:23:03 2004 +0000
|
||||||
|
|
||||||
|
DRI XFree86-4_3_99_12-merge import
|
||||||
|
|
||||||
|
commit 289ef4abc51e6ba8e902db4093cb5380721cbfe7
|
||||||
|
Author: Egbert Eich <eich@suse.de>
|
||||||
|
Date: Wed May 26 16:24:08 2004 +0000
|
||||||
|
|
||||||
|
Fixing setting of physical framebuffer base for several drivers. C&T
|
||||||
|
driver: Fixed setting of minimal clocks for HiQV chipsets. Neomagic
|
||||||
|
driver: improved support for lowres double scan modes.
|
||||||
|
|
||||||
|
commit 5d8038b2977b7c0ab0ea17e263b3720cef83db59
|
||||||
|
Author: Egbert Eich <eich@suse.de>
|
||||||
|
Date: Fri Apr 23 19:30:15 2004 +0000
|
||||||
|
|
||||||
|
Merging XORG-CURRENT into trunk
|
||||||
|
|
||||||
|
commit f8e1ff3e00a773139aa1ab0ae72c83dc7792c175
|
||||||
|
Author: Egbert Eich <eich@suse.de>
|
||||||
|
Date: Sun Mar 14 08:33:20 2004 +0000
|
||||||
|
|
||||||
|
Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
|
||||||
|
|
||||||
|
commit d268ada4b7e5c48cf48825a632af7f0faeaff6d0
|
||||||
|
Author: Egbert Eich <eich@suse.de>
|
||||||
|
Date: Wed Mar 3 12:12:18 2004 +0000
|
||||||
|
|
||||||
|
Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
|
||||||
|
|
||||||
|
commit 2ba39037fa8840a654432f032cc97b6830946cf9
|
||||||
|
Author: Egbert Eich <eich@suse.de>
|
||||||
|
Date: Thu Feb 26 13:35:52 2004 +0000
|
||||||
|
|
||||||
|
readding XFree86's cvs IDs
|
||||||
|
|
||||||
|
commit f352d52a2a89e4c55689a90db83a9f7e03e562c1
|
||||||
|
Author: Egbert Eich <eich@suse.de>
|
||||||
|
Date: Thu Feb 26 09:23:18 2004 +0000
|
||||||
|
|
||||||
|
Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
|
||||||
|
|
||||||
|
commit 77748634e71f2c42d03d708515e65351f0b755cb
|
||||||
|
Author: Kaleb Keithley <kaleb@freedesktop.org>
|
||||||
|
Date: Tue Nov 25 19:28:36 2003 +0000
|
||||||
|
|
||||||
|
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
|
||||||
|
|
||||||
|
commit 106069b23188837f06b1057e03db24cad2018ea3
|
||||||
|
Author: Kaleb Keithley <kaleb@freedesktop.org>
|
||||||
|
Date: Fri Nov 14 16:48:55 2003 +0000
|
||||||
|
|
||||||
|
XFree86 4.3.0.1
|
||||||
|
|
||||||
|
commit ca3b63783fc4aa1df725dbd0e560a446dcc17913
|
||||||
|
Author: Kaleb Keithley <kaleb@freedesktop.org>
|
||||||
|
Date: Fri Nov 14 16:48:55 2003 +0000
|
||||||
|
|
||||||
|
Initial revision
|
29
xorg/xf86-video-dummy/v0.3.8/Makefile.am
Normal file
29
xorg/xf86-video-dummy/v0.3.8/Makefile.am
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 2005 Adam Jackson.
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
# copy of this software and associated documentation files (the "Software"),
|
||||||
|
# to deal in the Software without restriction, including without limitation
|
||||||
|
# on the rights to use, copy, modify, merge, publish, distribute, sub
|
||||||
|
# license, and/or sell copies of the Software, and to permit persons to whom
|
||||||
|
# the Software is furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice (including the next
|
||||||
|
# paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
# Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
SUBDIRS = src
|
||||||
|
MAINTAINERCLEANFILES = ChangeLog
|
||||||
|
|
||||||
|
.PHONY: ChangeLog
|
||||||
|
|
||||||
|
ChangeLog:
|
||||||
|
$(CHANGELOG_CMD)
|
||||||
|
|
||||||
|
dist-hook: ChangeLog
|
865
xorg/xf86-video-dummy/v0.3.8/Makefile.in
Normal file
865
xorg/xf86-video-dummy/v0.3.8/Makefile.in
Normal file
@ -0,0 +1,865 @@
|
|||||||
|
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# Copyright 2005 Adam Jackson.
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
# copy of this software and associated documentation files (the "Software"),
|
||||||
|
# to deal in the Software without restriction, including without limitation
|
||||||
|
# on the rights to use, copy, modify, merge, publish, distribute, sub
|
||||||
|
# license, and/or sell copies of the Software, and to permit persons to whom
|
||||||
|
# the Software is furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice (including the next
|
||||||
|
# paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
# Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
VPATH = @srcdir@
|
||||||
|
am__is_gnu_make = { \
|
||||||
|
if test -z '$(MAKELEVEL)'; then \
|
||||||
|
false; \
|
||||||
|
elif test -n '$(MAKE_HOST)'; then \
|
||||||
|
true; \
|
||||||
|
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||||
|
true; \
|
||||||
|
else \
|
||||||
|
false; \
|
||||||
|
fi; \
|
||||||
|
}
|
||||||
|
am__make_running_with_option = \
|
||||||
|
case $${target_option-} in \
|
||||||
|
?) ;; \
|
||||||
|
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||||
|
"target option '$${target_option-}' specified" >&2; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
has_opt=no; \
|
||||||
|
sane_makeflags=$$MAKEFLAGS; \
|
||||||
|
if $(am__is_gnu_make); then \
|
||||||
|
sane_makeflags=$$MFLAGS; \
|
||||||
|
else \
|
||||||
|
case $$MAKEFLAGS in \
|
||||||
|
*\\[\ \ ]*) \
|
||||||
|
bs=\\; \
|
||||||
|
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||||
|
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||||
|
esac; \
|
||||||
|
fi; \
|
||||||
|
skip_next=no; \
|
||||||
|
strip_trailopt () \
|
||||||
|
{ \
|
||||||
|
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||||
|
}; \
|
||||||
|
for flg in $$sane_makeflags; do \
|
||||||
|
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||||
|
case $$flg in \
|
||||||
|
*=*|--*) continue;; \
|
||||||
|
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||||
|
-*I?*) strip_trailopt 'I';; \
|
||||||
|
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||||
|
-*O?*) strip_trailopt 'O';; \
|
||||||
|
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||||
|
-*l?*) strip_trailopt 'l';; \
|
||||||
|
-[dEDm]) skip_next=yes;; \
|
||||||
|
-[JT]) skip_next=yes;; \
|
||||||
|
esac; \
|
||||||
|
case $$flg in \
|
||||||
|
*$$target_option*) has_opt=yes; break;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
test $$has_opt = yes
|
||||||
|
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||||
|
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
install_sh_DATA = $(install_sh) -c -m 644
|
||||||
|
install_sh_PROGRAM = $(install_sh) -c
|
||||||
|
install_sh_SCRIPT = $(install_sh) -c
|
||||||
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
|
transform = $(program_transform_name)
|
||||||
|
NORMAL_INSTALL = :
|
||||||
|
PRE_INSTALL = :
|
||||||
|
POST_INSTALL = :
|
||||||
|
NORMAL_UNINSTALL = :
|
||||||
|
PRE_UNINSTALL = :
|
||||||
|
POST_UNINSTALL = :
|
||||||
|
build_triplet = @build@
|
||||||
|
host_triplet = @host@
|
||||||
|
subdir = .
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
||||||
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||||
|
$(ACLOCAL_M4)
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
||||||
|
$(am__configure_deps) $(am__DIST_COMMON)
|
||||||
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||||
|
configure.lineno config.status.lineno
|
||||||
|
mkinstalldirs = $(install_sh) -d
|
||||||
|
CONFIG_HEADER = config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
CONFIG_CLEAN_VPATH_FILES =
|
||||||
|
AM_V_P = $(am__v_P_@AM_V@)
|
||||||
|
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||||
|
am__v_P_0 = false
|
||||||
|
am__v_P_1 = :
|
||||||
|
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||||
|
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||||
|
am__v_GEN_0 = @echo " GEN " $@;
|
||||||
|
am__v_GEN_1 =
|
||||||
|
AM_V_at = $(am__v_at_@AM_V@)
|
||||||
|
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||||
|
am__v_at_0 = @
|
||||||
|
am__v_at_1 =
|
||||||
|
SOURCES =
|
||||||
|
DIST_SOURCES =
|
||||||
|
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
||||||
|
ctags-recursive dvi-recursive html-recursive info-recursive \
|
||||||
|
install-data-recursive install-dvi-recursive \
|
||||||
|
install-exec-recursive install-html-recursive \
|
||||||
|
install-info-recursive install-pdf-recursive \
|
||||||
|
install-ps-recursive install-recursive installcheck-recursive \
|
||||||
|
installdirs-recursive pdf-recursive ps-recursive \
|
||||||
|
tags-recursive uninstall-recursive
|
||||||
|
am__can_run_installinfo = \
|
||||||
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
|
n|no|NO) false;; \
|
||||||
|
*) (install-info --version) >/dev/null 2>&1;; \
|
||||||
|
esac
|
||||||
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||||
|
distclean-recursive maintainer-clean-recursive
|
||||||
|
am__recursive_targets = \
|
||||||
|
$(RECURSIVE_TARGETS) \
|
||||||
|
$(RECURSIVE_CLEAN_TARGETS) \
|
||||||
|
$(am__extra_recursive_targets)
|
||||||
|
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||||
|
cscope distdir dist dist-all distcheck
|
||||||
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
|
||||||
|
$(LISP)config.h.in
|
||||||
|
# Read a list of newline-separated strings from the standard input,
|
||||||
|
# and print each of them once, without duplicates. Input order is
|
||||||
|
# *not* preserved.
|
||||||
|
am__uniquify_input = $(AWK) '\
|
||||||
|
BEGIN { nonempty = 0; } \
|
||||||
|
{ items[$$0] = 1; nonempty = 1; } \
|
||||||
|
END { if (nonempty) { for (i in items) print i; }; } \
|
||||||
|
'
|
||||||
|
# Make sure the list of sources is unique. This is necessary because,
|
||||||
|
# e.g., the same source file might be shared among _SOURCES variables
|
||||||
|
# for different programs/libraries.
|
||||||
|
am__define_uniq_tagged_files = \
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | $(am__uniquify_input)`
|
||||||
|
ETAGS = etags
|
||||||
|
CTAGS = ctags
|
||||||
|
CSCOPE = cscope
|
||||||
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in COPYING \
|
||||||
|
ChangeLog README compile config.guess config.sub depcomp \
|
||||||
|
install-sh ltmain.sh missing
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
|
top_distdir = $(distdir)
|
||||||
|
am__remove_distdir = \
|
||||||
|
if test -d "$(distdir)"; then \
|
||||||
|
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||||
|
&& rm -rf "$(distdir)" \
|
||||||
|
|| { sleep 5 && rm -rf "$(distdir)"; }; \
|
||||||
|
else :; fi
|
||||||
|
am__post_remove_distdir = $(am__remove_distdir)
|
||||||
|
am__relativize = \
|
||||||
|
dir0=`pwd`; \
|
||||||
|
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||||
|
sed_rest='s,^[^/]*/*,,'; \
|
||||||
|
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||||
|
sed_butlast='s,/*[^/]*$$,,'; \
|
||||||
|
while test -n "$$dir1"; do \
|
||||||
|
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||||
|
if test "$$first" != "."; then \
|
||||||
|
if test "$$first" = ".."; then \
|
||||||
|
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||||
|
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||||
|
else \
|
||||||
|
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||||
|
if test "$$first2" = "$$first"; then \
|
||||||
|
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||||
|
else \
|
||||||
|
dir2="../$$dir2"; \
|
||||||
|
fi; \
|
||||||
|
dir0="$$dir0"/"$$first"; \
|
||||||
|
fi; \
|
||||||
|
fi; \
|
||||||
|
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||||
|
done; \
|
||||||
|
reldir="$$dir2"
|
||||||
|
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
|
||||||
|
GZIP_ENV = --best
|
||||||
|
DIST_TARGETS = dist-bzip2 dist-gzip
|
||||||
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
|
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||||
|
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||||
|
distcleancheck_listfiles = find . -type f -print
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
||||||
|
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||||
|
APP_MAN_DIR = @APP_MAN_DIR@
|
||||||
|
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
|
||||||
|
AR = @AR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
BASE_CFLAGS = @BASE_CFLAGS@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CWARNFLAGS = @CWARNFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
DGA = @DGA@
|
||||||
|
DLLTOOL = @DLLTOOL@
|
||||||
|
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||||
|
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||||
|
DRIVER_NAME = @DRIVER_NAME@
|
||||||
|
DSYMUTIL = @DSYMUTIL@
|
||||||
|
DUMPBIN = @DUMPBIN@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
FGREP = @FGREP@
|
||||||
|
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||||
|
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||||
|
GREP = @GREP@
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
INSTALL_CMD = @INSTALL_CMD@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LD = @LD@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||||
|
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||||
|
LIPO = @LIPO@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
|
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||||
|
MAKEINFO = @MAKEINFO@
|
||||||
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
|
MAN_SUBSTS = @MAN_SUBSTS@
|
||||||
|
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||||
|
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||||
|
MKDIR_P = @MKDIR_P@
|
||||||
|
NM = @NM@
|
||||||
|
NMEDIT = @NMEDIT@
|
||||||
|
OBJDUMP = @OBJDUMP@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
OTOOL = @OTOOL@
|
||||||
|
OTOOL64 = @OTOOL64@
|
||||||
|
PACKAGE = @PACKAGE@
|
||||||
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||||
|
PACKAGE_NAME = @PACKAGE_NAME@
|
||||||
|
PACKAGE_STRING = @PACKAGE_STRING@
|
||||||
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PKG_CONFIG = @PKG_CONFIG@
|
||||||
|
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||||
|
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
XORG_CFLAGS = @XORG_CFLAGS@
|
||||||
|
XORG_LIBS = @XORG_LIBS@
|
||||||
|
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||||
|
abs_builddir = @abs_builddir@
|
||||||
|
abs_srcdir = @abs_srcdir@
|
||||||
|
abs_top_builddir = @abs_top_builddir@
|
||||||
|
abs_top_srcdir = @abs_top_srcdir@
|
||||||
|
ac_ct_AR = @ac_ct_AR@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__leading_dot = @am__leading_dot@
|
||||||
|
am__quote = @am__quote@
|
||||||
|
am__tar = @am__tar@
|
||||||
|
am__untar = @am__untar@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
builddir = @builddir@
|
||||||
|
datadir = @datadir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
|
docdir = @docdir@
|
||||||
|
dvidir = @dvidir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
htmldir = @htmldir@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localedir = @localedir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
mkdir_p = @mkdir_p@
|
||||||
|
moduledir = @moduledir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
pdfdir = @pdfdir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
top_build_prefix = @top_build_prefix@
|
||||||
|
top_builddir = @top_builddir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
SUBDIRS = src
|
||||||
|
MAINTAINERCLEANFILES = ChangeLog
|
||||||
|
all: config.h
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
am--refresh: Makefile
|
||||||
|
@:
|
||||||
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||||
|
@for dep in $?; do \
|
||||||
|
case '$(am__configure_deps)' in \
|
||||||
|
*$$dep*) \
|
||||||
|
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
|
||||||
|
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
|
||||||
|
&& exit 0; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||||
|
$(am__cd) $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
@case '$?' in \
|
||||||
|
*config.status*) \
|
||||||
|
echo ' $(SHELL) ./config.status'; \
|
||||||
|
$(SHELL) ./config.status;; \
|
||||||
|
*) \
|
||||||
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||||
|
esac;
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
$(SHELL) ./config.status --recheck
|
||||||
|
|
||||||
|
$(top_srcdir)/configure: $(am__configure_deps)
|
||||||
|
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||||
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||||
|
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||||
|
$(am__aclocal_m4_deps):
|
||||||
|
|
||||||
|
config.h: stamp-h1
|
||||||
|
@test -f $@ || rm -f stamp-h1
|
||||||
|
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
|
||||||
|
|
||||||
|
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||||
|
@rm -f stamp-h1
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||||
|
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||||
|
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
||||||
|
rm -f stamp-h1
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
distclean-hdr:
|
||||||
|
-rm -f config.h stamp-h1
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool config.lt
|
||||||
|
|
||||||
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
|
# into them and run 'make' without going through this Makefile.
|
||||||
|
# To change the values of 'make' variables: instead of editing Makefiles,
|
||||||
|
# (1) if the variable is set in 'config.status', edit 'config.status'
|
||||||
|
# (which will cause the Makefiles to be regenerated when you run 'make');
|
||||||
|
# (2) otherwise, pass the desired values on the 'make' command line.
|
||||||
|
$(am__recursive_targets):
|
||||||
|
@fail=; \
|
||||||
|
if $(am__make_keepgoing); then \
|
||||||
|
failcom='fail=yes'; \
|
||||||
|
else \
|
||||||
|
failcom='exit 1'; \
|
||||||
|
fi; \
|
||||||
|
dot_seen=no; \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
case "$@" in \
|
||||||
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||||
|
*) list='$(SUBDIRS)' ;; \
|
||||||
|
esac; \
|
||||||
|
for subdir in $$list; do \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
if test "$$subdir" = "."; then \
|
||||||
|
dot_seen=yes; \
|
||||||
|
local_target="$$target-am"; \
|
||||||
|
else \
|
||||||
|
local_target="$$target"; \
|
||||||
|
fi; \
|
||||||
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|
|| eval $$failcom; \
|
||||||
|
done; \
|
||||||
|
if test "$$dot_seen" = "no"; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||||
|
fi; test -z "$$fail"
|
||||||
|
|
||||||
|
ID: $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||||
|
tags: tags-recursive
|
||||||
|
TAGS: tags
|
||||||
|
|
||||||
|
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
set x; \
|
||||||
|
here=`pwd`; \
|
||||||
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||||
|
include_option=--etags-include; \
|
||||||
|
empty_fix=.; \
|
||||||
|
else \
|
||||||
|
include_option=--include; \
|
||||||
|
empty_fix=; \
|
||||||
|
fi; \
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
test ! -f $$subdir/TAGS || \
|
||||||
|
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
shift; \
|
||||||
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||||
|
test -n "$$unique" || unique=$$empty_fix; \
|
||||||
|
if test $$# -gt 0; then \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
"$$@" $$unique; \
|
||||||
|
else \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
$$unique; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
ctags: ctags-recursive
|
||||||
|
|
||||||
|
CTAGS: ctags
|
||||||
|
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
test -z "$(CTAGS_ARGS)$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||||
|
$$unique
|
||||||
|
|
||||||
|
GTAGS:
|
||||||
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
|
&& $(am__cd) $(top_srcdir) \
|
||||||
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||||
|
cscope: cscope.files
|
||||||
|
test ! -s cscope.files \
|
||||||
|
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
|
||||||
|
clean-cscope:
|
||||||
|
-rm -f cscope.files
|
||||||
|
cscope.files: clean-cscope cscopelist
|
||||||
|
cscopelist: cscopelist-recursive
|
||||||
|
|
||||||
|
cscopelist-am: $(am__tagged_files)
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
case "$(srcdir)" in \
|
||||||
|
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||||
|
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||||
|
esac; \
|
||||||
|
for i in $$list; do \
|
||||||
|
if test -f "$$i"; then \
|
||||||
|
echo "$(subdir)/$$i"; \
|
||||||
|
else \
|
||||||
|
echo "$$sdir/$$i"; \
|
||||||
|
fi; \
|
||||||
|
done >> $(top_builddir)/cscope.files
|
||||||
|
|
||||||
|
distclean-tags:
|
||||||
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
$(am__remove_distdir)
|
||||||
|
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||||
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
list='$(DISTFILES)'; \
|
||||||
|
dist_files=`for file in $$list; do echo $$file; done | \
|
||||||
|
sed -e "s|^$$srcdirstrip/||;t" \
|
||||||
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||||
|
case $$dist_files in \
|
||||||
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||||
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||||
|
sort -u` ;; \
|
||||||
|
esac; \
|
||||||
|
for file in $$dist_files; do \
|
||||||
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test -d "$(distdir)/$$file"; then \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||||
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
else \
|
||||||
|
test -f "$(distdir)/$$file" \
|
||||||
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
$(am__make_dryrun) \
|
||||||
|
|| test -d "$(distdir)/$$subdir" \
|
||||||
|
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||||
|
|| exit 1; \
|
||||||
|
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||||
|
$(am__relativize); \
|
||||||
|
new_distdir=$$reldir; \
|
||||||
|
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||||
|
$(am__relativize); \
|
||||||
|
new_top_distdir=$$reldir; \
|
||||||
|
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||||
|
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||||
|
($(am__cd) $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$$new_top_distdir" \
|
||||||
|
distdir="$$new_distdir" \
|
||||||
|
am__remove_distdir=: \
|
||||||
|
am__skip_length_check=: \
|
||||||
|
am__skip_mode_fix=: \
|
||||||
|
distdir) \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
||||||
|
dist-hook
|
||||||
|
-test -n "$(am__skip_mode_fix)" \
|
||||||
|
|| find "$(distdir)" -type d ! -perm -755 \
|
||||||
|
-exec chmod u+rwx,go+rx {} \; -o \
|
||||||
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||||
|
|| chmod -R a+r "$(distdir)"
|
||||||
|
dist-gzip: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
dist-bzip2: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-lzip: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-xz: distdir
|
||||||
|
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-tarZ: distdir
|
||||||
|
@echo WARNING: "Support for distribution archives compressed with" \
|
||||||
|
"legacy program 'compress' is deprecated." >&2
|
||||||
|
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||||
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-shar: distdir
|
||||||
|
@echo WARNING: "Support for shar distribution archives is" \
|
||||||
|
"deprecated." >&2
|
||||||
|
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||||
|
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist-zip: distdir
|
||||||
|
-rm -f $(distdir).zip
|
||||||
|
zip -rq $(distdir).zip $(distdir)
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
dist dist-all:
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
|
||||||
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
|
# it guarantees that the distribution is self-contained by making another
|
||||||
|
# tarfile.
|
||||||
|
distcheck: dist
|
||||||
|
case '$(DIST_ARCHIVES)' in \
|
||||||
|
*.tar.gz*) \
|
||||||
|
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
||||||
|
*.tar.bz2*) \
|
||||||
|
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||||
|
*.tar.lz*) \
|
||||||
|
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
|
||||||
|
*.tar.xz*) \
|
||||||
|
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
||||||
|
*.tar.Z*) \
|
||||||
|
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||||
|
*.shar.gz*) \
|
||||||
|
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
||||||
|
*.zip*) \
|
||||||
|
unzip $(distdir).zip ;;\
|
||||||
|
esac
|
||||||
|
chmod -R a-w $(distdir)
|
||||||
|
chmod u+w $(distdir)
|
||||||
|
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
|
||||||
|
chmod a-w $(distdir)
|
||||||
|
test -d $(distdir)/_build || exit 0; \
|
||||||
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||||
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||||
|
&& am__cwd=`pwd` \
|
||||||
|
&& $(am__cd) $(distdir)/_build/sub \
|
||||||
|
&& ../../configure \
|
||||||
|
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
|
--srcdir=../.. --prefix="$$dc_install_base" \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||||
|
distuninstallcheck \
|
||||||
|
&& chmod -R a-w "$$dc_install_base" \
|
||||||
|
&& ({ \
|
||||||
|
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||||
|
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||||
|
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||||
|
&& rm -rf "$$dc_destdir" \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||||
|
&& rm -rf $(DIST_ARCHIVES) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
||||||
|
&& cd "$$am__cwd" \
|
||||||
|
|| exit 1
|
||||||
|
$(am__post_remove_distdir)
|
||||||
|
@(echo "$(distdir) archives ready for distribution: "; \
|
||||||
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||||
|
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||||
|
distuninstallcheck:
|
||||||
|
@test -n '$(distuninstallcheck_dir)' || { \
|
||||||
|
echo 'ERROR: trying to run $@ with an empty' \
|
||||||
|
'$$(distuninstallcheck_dir)' >&2; \
|
||||||
|
exit 1; \
|
||||||
|
}; \
|
||||||
|
$(am__cd) '$(distuninstallcheck_dir)' || { \
|
||||||
|
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
|
||||||
|
exit 1; \
|
||||||
|
}; \
|
||||||
|
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|
||||||
|
|| { echo "ERROR: files left after uninstall:" ; \
|
||||||
|
if test -n "$(DESTDIR)"; then \
|
||||||
|
echo " (check DESTDIR support)"; \
|
||||||
|
fi ; \
|
||||||
|
$(distuninstallcheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
distcleancheck: distclean
|
||||||
|
@if test '$(srcdir)' = . ; then \
|
||||||
|
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||||
|
exit 1 ; \
|
||||||
|
fi
|
||||||
|
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||||
|
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||||
|
$(distcleancheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
check-am: all-am
|
||||||
|
check: check-recursive
|
||||||
|
all-am: Makefile config.h
|
||||||
|
installdirs: installdirs-recursive
|
||||||
|
installdirs-am:
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-strip:
|
||||||
|
if test -z '$(STRIP)'; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
install; \
|
||||||
|
else \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||||
|
fi
|
||||||
|
mostlyclean-generic:
|
||||||
|
|
||||||
|
clean-generic:
|
||||||
|
|
||||||
|
distclean-generic:
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
clean: clean-recursive
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-recursive
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||||
|
distclean-libtool distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
html: html-recursive
|
||||||
|
|
||||||
|
html-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-dvi: install-dvi-recursive
|
||||||
|
|
||||||
|
install-dvi-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-html: install-html-recursive
|
||||||
|
|
||||||
|
install-html-am:
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-info-am:
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
install-pdf: install-pdf-recursive
|
||||||
|
|
||||||
|
install-pdf-am:
|
||||||
|
|
||||||
|
install-ps: install-ps-recursive
|
||||||
|
|
||||||
|
install-ps-am:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
-rm -rf $(top_srcdir)/autom4te.cache
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-recursive
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-recursive
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-recursive
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am:
|
||||||
|
|
||||||
|
.MAKE: $(am__recursive_targets) all install-am install-strip
|
||||||
|
|
||||||
|
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
|
||||||
|
am--refresh check check-am clean clean-cscope clean-generic \
|
||||||
|
clean-libtool cscope cscopelist-am ctags ctags-am dist \
|
||||||
|
dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
|
||||||
|
dist-tarZ dist-xz dist-zip distcheck distclean \
|
||||||
|
distclean-generic distclean-hdr distclean-libtool \
|
||||||
|
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
||||||
|
dvi-am html html-am info info-am install install-am \
|
||||||
|
install-data install-data-am install-dvi install-dvi-am \
|
||||||
|
install-exec install-exec-am install-html install-html-am \
|
||||||
|
install-info install-info-am install-man install-pdf \
|
||||||
|
install-pdf-am install-ps install-ps-am install-strip \
|
||||||
|
installcheck installcheck-am installdirs installdirs-am \
|
||||||
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||||
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||||
|
tags tags-am uninstall uninstall-am
|
||||||
|
|
||||||
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: ChangeLog
|
||||||
|
|
||||||
|
ChangeLog:
|
||||||
|
$(CHANGELOG_CMD)
|
||||||
|
|
||||||
|
dist-hook: ChangeLog
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
.NOEXPORT:
|
20
xorg/xf86-video-dummy/v0.3.8/README
Normal file
20
xorg/xf86-video-dummy/v0.3.8/README
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
xf86-video-dummy - virtual/offscreen frame buffer driver for the Xorg X server
|
||||||
|
|
||||||
|
Please submit bugs & patches to the Xorg bugzilla:
|
||||||
|
|
||||||
|
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
|
||||||
|
|
||||||
|
All questions regarding this software should be directed at the
|
||||||
|
Xorg mailing list:
|
||||||
|
|
||||||
|
http://lists.freedesktop.org/mailman/listinfo/xorg
|
||||||
|
|
||||||
|
The master development code repository can be found at:
|
||||||
|
|
||||||
|
git://anongit.freedesktop.org/git/xorg/driver/xf86-video-dummy
|
||||||
|
|
||||||
|
http://cgit.freedesktop.org/xorg/driver/xf86-video-dummy
|
||||||
|
|
||||||
|
For more information on the git code manager, see:
|
||||||
|
|
||||||
|
http://wiki.x.org/wiki/GitPage
|
12431
xorg/xf86-video-dummy/v0.3.8/aclocal.m4
vendored
Normal file
12431
xorg/xf86-video-dummy/v0.3.8/aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load Diff
347
xorg/xf86-video-dummy/v0.3.8/compile
Executable file
347
xorg/xf86-video-dummy/v0.3.8/compile
Executable file
@ -0,0 +1,347 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
# Wrapper for compilers which do not understand '-c -o'.
|
||||||
|
|
||||||
|
scriptversion=2012-10-14.11; # UTC
|
||||||
|
|
||||||
|
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
||||||
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
# This file is maintained in Automake, please report
|
||||||
|
# bugs to <bug-automake@gnu.org> or send patches to
|
||||||
|
# <automake-patches@gnu.org>.
|
||||||
|
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
|
||||||
|
# We need space, tab and new line, in precisely that order. Quoting is
|
||||||
|
# there to prevent tools from complaining about whitespace usage.
|
||||||
|
IFS=" "" $nl"
|
||||||
|
|
||||||
|
file_conv=
|
||||||
|
|
||||||
|
# func_file_conv build_file lazy
|
||||||
|
# Convert a $build file to $host form and store it in $file
|
||||||
|
# Currently only supports Windows hosts. If the determined conversion
|
||||||
|
# type is listed in (the comma separated) LAZY, no conversion will
|
||||||
|
# take place.
|
||||||
|
func_file_conv ()
|
||||||
|
{
|
||||||
|
file=$1
|
||||||
|
case $file in
|
||||||
|
/ | /[!/]*) # absolute file, and not a UNC file
|
||||||
|
if test -z "$file_conv"; then
|
||||||
|
# lazily determine how to convert abs files
|
||||||
|
case `uname -s` in
|
||||||
|
MINGW*)
|
||||||
|
file_conv=mingw
|
||||||
|
;;
|
||||||
|
CYGWIN*)
|
||||||
|
file_conv=cygwin
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
file_conv=wine
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
case $file_conv/,$2, in
|
||||||
|
*,$file_conv,*)
|
||||||
|
;;
|
||||||
|
mingw/*)
|
||||||
|
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
||||||
|
;;
|
||||||
|
cygwin/*)
|
||||||
|
file=`cygpath -m "$file" || echo "$file"`
|
||||||
|
;;
|
||||||
|
wine/*)
|
||||||
|
file=`winepath -w "$file" || echo "$file"`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
# func_cl_dashL linkdir
|
||||||
|
# Make cl look for libraries in LINKDIR
|
||||||
|
func_cl_dashL ()
|
||||||
|
{
|
||||||
|
func_file_conv "$1"
|
||||||
|
if test -z "$lib_path"; then
|
||||||
|
lib_path=$file
|
||||||
|
else
|
||||||
|
lib_path="$lib_path;$file"
|
||||||
|
fi
|
||||||
|
linker_opts="$linker_opts -LIBPATH:$file"
|
||||||
|
}
|
||||||
|
|
||||||
|
# func_cl_dashl library
|
||||||
|
# Do a library search-path lookup for cl
|
||||||
|
func_cl_dashl ()
|
||||||
|
{
|
||||||
|
lib=$1
|
||||||
|
found=no
|
||||||
|
save_IFS=$IFS
|
||||||
|
IFS=';'
|
||||||
|
for dir in $lib_path $LIB
|
||||||
|
do
|
||||||
|
IFS=$save_IFS
|
||||||
|
if $shared && test -f "$dir/$lib.dll.lib"; then
|
||||||
|
found=yes
|
||||||
|
lib=$dir/$lib.dll.lib
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
if test -f "$dir/$lib.lib"; then
|
||||||
|
found=yes
|
||||||
|
lib=$dir/$lib.lib
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
if test -f "$dir/lib$lib.a"; then
|
||||||
|
found=yes
|
||||||
|
lib=$dir/lib$lib.a
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$save_IFS
|
||||||
|
|
||||||
|
if test "$found" != yes; then
|
||||||
|
lib=$lib.lib
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# func_cl_wrapper cl arg...
|
||||||
|
# Adjust compile command to suit cl
|
||||||
|
func_cl_wrapper ()
|
||||||
|
{
|
||||||
|
# Assume a capable shell
|
||||||
|
lib_path=
|
||||||
|
shared=:
|
||||||
|
linker_opts=
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if test -n "$eat"; then
|
||||||
|
eat=
|
||||||
|
else
|
||||||
|
case $1 in
|
||||||
|
-o)
|
||||||
|
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||||
|
eat=1
|
||||||
|
case $2 in
|
||||||
|
*.o | *.[oO][bB][jJ])
|
||||||
|
func_file_conv "$2"
|
||||||
|
set x "$@" -Fo"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
func_file_conv "$2"
|
||||||
|
set x "$@" -Fe"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
-I)
|
||||||
|
eat=1
|
||||||
|
func_file_conv "$2" mingw
|
||||||
|
set x "$@" -I"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-I*)
|
||||||
|
func_file_conv "${1#-I}" mingw
|
||||||
|
set x "$@" -I"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-l)
|
||||||
|
eat=1
|
||||||
|
func_cl_dashl "$2"
|
||||||
|
set x "$@" "$lib"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-l*)
|
||||||
|
func_cl_dashl "${1#-l}"
|
||||||
|
set x "$@" "$lib"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-L)
|
||||||
|
eat=1
|
||||||
|
func_cl_dashL "$2"
|
||||||
|
;;
|
||||||
|
-L*)
|
||||||
|
func_cl_dashL "${1#-L}"
|
||||||
|
;;
|
||||||
|
-static)
|
||||||
|
shared=false
|
||||||
|
;;
|
||||||
|
-Wl,*)
|
||||||
|
arg=${1#-Wl,}
|
||||||
|
save_ifs="$IFS"; IFS=','
|
||||||
|
for flag in $arg; do
|
||||||
|
IFS="$save_ifs"
|
||||||
|
linker_opts="$linker_opts $flag"
|
||||||
|
done
|
||||||
|
IFS="$save_ifs"
|
||||||
|
;;
|
||||||
|
-Xlinker)
|
||||||
|
eat=1
|
||||||
|
linker_opts="$linker_opts $2"
|
||||||
|
;;
|
||||||
|
-*)
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
|
||||||
|
func_file_conv "$1"
|
||||||
|
set x "$@" -Tp"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
|
||||||
|
func_file_conv "$1" mingw
|
||||||
|
set x "$@" "$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
if test -n "$linker_opts"; then
|
||||||
|
linker_opts="-link$linker_opts"
|
||||||
|
fi
|
||||||
|
exec "$@" $linker_opts
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
eat=
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
'')
|
||||||
|
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
-h | --h*)
|
||||||
|
cat <<\EOF
|
||||||
|
Usage: compile [--help] [--version] PROGRAM [ARGS]
|
||||||
|
|
||||||
|
Wrapper for compilers which do not understand '-c -o'.
|
||||||
|
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
|
||||||
|
arguments, and rename the output as expected.
|
||||||
|
|
||||||
|
If you are trying to build a whole package this is not the
|
||||||
|
right script to run: please start by reading the file 'INSTALL'.
|
||||||
|
|
||||||
|
Report bugs to <bug-automake@gnu.org>.
|
||||||
|
EOF
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
-v | --v*)
|
||||||
|
echo "compile $scriptversion"
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
|
||||||
|
func_cl_wrapper "$@" # Doesn't return...
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
ofile=
|
||||||
|
cfile=
|
||||||
|
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if test -n "$eat"; then
|
||||||
|
eat=
|
||||||
|
else
|
||||||
|
case $1 in
|
||||||
|
-o)
|
||||||
|
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||||
|
# So we strip '-o arg' only if arg is an object.
|
||||||
|
eat=1
|
||||||
|
case $2 in
|
||||||
|
*.o | *.obj)
|
||||||
|
ofile=$2
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set x "$@" -o "$2"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
*.c)
|
||||||
|
cfile=$1
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
if test -z "$ofile" || test -z "$cfile"; then
|
||||||
|
# If no '-o' option was seen then we might have been invoked from a
|
||||||
|
# pattern rule where we don't need one. That is ok -- this is a
|
||||||
|
# normal compilation that the losing compiler can handle. If no
|
||||||
|
# '.c' file was seen then we are probably linking. That is also
|
||||||
|
# ok.
|
||||||
|
exec "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Name of file we expect compiler to create.
|
||||||
|
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
|
||||||
|
|
||||||
|
# Create the lock directory.
|
||||||
|
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
|
||||||
|
# that we are using for the .o file. Also, base the name on the expected
|
||||||
|
# object file name, since that is what matters with a parallel build.
|
||||||
|
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
|
||||||
|
while true; do
|
||||||
|
if mkdir "$lockdir" >/dev/null 2>&1; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
# FIXME: race condition here if user kills between mkdir and trap.
|
||||||
|
trap "rmdir '$lockdir'; exit 1" 1 2 15
|
||||||
|
|
||||||
|
# Run the compile.
|
||||||
|
"$@"
|
||||||
|
ret=$?
|
||||||
|
|
||||||
|
if test -f "$cofile"; then
|
||||||
|
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
|
||||||
|
elif test -f "${cofile}bj"; then
|
||||||
|
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
|
||||||
|
fi
|
||||||
|
|
||||||
|
rmdir "$lockdir"
|
||||||
|
exit $ret
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
1558
xorg/xf86-video-dummy/v0.3.8/config.guess
vendored
Executable file
1558
xorg/xf86-video-dummy/v0.3.8/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load Diff
75
xorg/xf86-video-dummy/v0.3.8/config.h.in
Normal file
75
xorg/xf86-video-dummy/v0.3.8/config.h.in
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
|
#include "xorg-server.h"
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
#undef HAVE_DLFCN_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||||
|
#undef LT_OBJDIR
|
||||||
|
|
||||||
|
/* Name of package */
|
||||||
|
#undef PACKAGE
|
||||||
|
|
||||||
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
#undef PACKAGE_BUGREPORT
|
||||||
|
|
||||||
|
/* Define to the full name of this package. */
|
||||||
|
#undef PACKAGE_NAME
|
||||||
|
|
||||||
|
/* Define to the full name and version of this package. */
|
||||||
|
#undef PACKAGE_STRING
|
||||||
|
|
||||||
|
/* Define to the one symbol short name of this package. */
|
||||||
|
#undef PACKAGE_TARNAME
|
||||||
|
|
||||||
|
/* Define to the home page for this package. */
|
||||||
|
#undef PACKAGE_URL
|
||||||
|
|
||||||
|
/* Define to the version of this package. */
|
||||||
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
|
/* Major version of this package */
|
||||||
|
#undef PACKAGE_VERSION_MAJOR
|
||||||
|
|
||||||
|
/* Minor version of this package */
|
||||||
|
#undef PACKAGE_VERSION_MINOR
|
||||||
|
|
||||||
|
/* Patch version of this package */
|
||||||
|
#undef PACKAGE_VERSION_PATCHLEVEL
|
||||||
|
|
||||||
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
|
/* Support DGA extension */
|
||||||
|
#undef USE_DGA
|
||||||
|
|
||||||
|
/* Version number of package */
|
||||||
|
#undef VERSION
|
1791
xorg/xf86-video-dummy/v0.3.8/config.sub
vendored
Executable file
1791
xorg/xf86-video-dummy/v0.3.8/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load Diff
20923
xorg/xf86-video-dummy/v0.3.8/configure
vendored
Executable file
20923
xorg/xf86-video-dummy/v0.3.8/configure
vendored
Executable file
File diff suppressed because it is too large
Load Diff
81
xorg/xf86-video-dummy/v0.3.8/configure.ac
Normal file
81
xorg/xf86-video-dummy/v0.3.8/configure.ac
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
# Copyright 2005 Adam Jackson.
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
# copy of this software and associated documentation files (the "Software"),
|
||||||
|
# to deal in the Software without restriction, including without limitation
|
||||||
|
# on the rights to use, copy, modify, merge, publish, distribute, sub
|
||||||
|
# license, and/or sell copies of the Software, and to permit persons to whom
|
||||||
|
# the Software is furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice (including the next
|
||||||
|
# paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
# Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
#
|
||||||
|
# Process this file with autoconf to produce a configure script
|
||||||
|
|
||||||
|
# Initialize Autoconf
|
||||||
|
AC_PREREQ([2.60])
|
||||||
|
AC_INIT([xf86-video-dummy],
|
||||||
|
[0.3.8],
|
||||||
|
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
||||||
|
[xf86-video-dummy])
|
||||||
|
AC_CONFIG_SRCDIR([Makefile.am])
|
||||||
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
AC_CONFIG_AUX_DIR(.)
|
||||||
|
|
||||||
|
# Initialize Automake
|
||||||
|
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
||||||
|
|
||||||
|
# Require xorg-macros: XORG_DEFAULT_OPTIONS
|
||||||
|
m4_ifndef([XORG_MACROS_VERSION],
|
||||||
|
[m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
|
||||||
|
XORG_MACROS_VERSION(1.3)
|
||||||
|
XORG_DEFAULT_OPTIONS
|
||||||
|
|
||||||
|
# Initialize libtool
|
||||||
|
AC_DISABLE_STATIC
|
||||||
|
AC_PROG_LIBTOOL
|
||||||
|
|
||||||
|
AH_TOP([#include "xorg-server.h"])
|
||||||
|
|
||||||
|
# Define a configure option for an alternate module directory
|
||||||
|
AC_ARG_ENABLE(dga, AS_HELP_STRING([--disable-dga], [Build DGA extension (default: yes)]), [DGA=$enableval], [DGA=yes])
|
||||||
|
AC_ARG_WITH(xorg-module-dir, [ --with-xorg-module-dir=DIR ],
|
||||||
|
[ moduledir="$withval" ],
|
||||||
|
[ moduledir="$libdir/xorg/modules" ])
|
||||||
|
AC_SUBST(moduledir)
|
||||||
|
|
||||||
|
|
||||||
|
# Store the list of server defined optional extensions in REQUIRED_MODULES
|
||||||
|
XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
|
||||||
|
XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
|
||||||
|
XORG_DRIVER_CHECK_EXT(XV, videoproto)
|
||||||
|
|
||||||
|
if test "x$DGA" = xyes; then
|
||||||
|
XORG_DRIVER_CHECK_EXT(XFreeXDGA, xf86dgaproto)
|
||||||
|
AC_DEFINE(USE_DGA, 1, [Support DGA extension])
|
||||||
|
fi
|
||||||
|
AC_SUBST([DGA])
|
||||||
|
AM_CONDITIONAL([DGA], [test "x$DGA" = xyes])
|
||||||
|
|
||||||
|
# Obtain compiler/linker options for the driver dependencies
|
||||||
|
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.4.99.901] xproto fontsproto $REQUIRED_MODULES)
|
||||||
|
|
||||||
|
# Checks for libraries.
|
||||||
|
|
||||||
|
|
||||||
|
DRIVER_NAME=dummy
|
||||||
|
AC_SUBST([DRIVER_NAME])
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([
|
||||||
|
Makefile
|
||||||
|
src/Makefile
|
||||||
|
])
|
||||||
|
AC_OUTPUT
|
791
xorg/xf86-video-dummy/v0.3.8/depcomp
Executable file
791
xorg/xf86-video-dummy/v0.3.8/depcomp
Executable file
@ -0,0 +1,791 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
# depcomp - compile a program generating dependencies as side-effects
|
||||||
|
|
||||||
|
scriptversion=2013-05-30.07; # UTC
|
||||||
|
|
||||||
|
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
'')
|
||||||
|
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
-h | --h*)
|
||||||
|
cat <<\EOF
|
||||||
|
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
||||||
|
|
||||||
|
Run PROGRAMS ARGS to compile a file, generating dependencies
|
||||||
|
as side-effects.
|
||||||
|
|
||||||
|
Environment variables:
|
||||||
|
depmode Dependency tracking mode.
|
||||||
|
source Source file read by 'PROGRAMS ARGS'.
|
||||||
|
object Object file output by 'PROGRAMS ARGS'.
|
||||||
|
DEPDIR directory where to store dependencies.
|
||||||
|
depfile Dependency file to output.
|
||||||
|
tmpdepfile Temporary file to use when outputting dependencies.
|
||||||
|
libtool Whether libtool is used (yes/no).
|
||||||
|
|
||||||
|
Report bugs to <bug-automake@gnu.org>.
|
||||||
|
EOF
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
-v | --v*)
|
||||||
|
echo "depcomp $scriptversion"
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Get the directory component of the given path, and save it in the
|
||||||
|
# global variables '$dir'. Note that this directory component will
|
||||||
|
# be either empty or ending with a '/' character. This is deliberate.
|
||||||
|
set_dir_from ()
|
||||||
|
{
|
||||||
|
case $1 in
|
||||||
|
*/*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
|
||||||
|
*) dir=;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
# Get the suffix-stripped basename of the given path, and save it the
|
||||||
|
# global variable '$base'.
|
||||||
|
set_base_from ()
|
||||||
|
{
|
||||||
|
base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
|
||||||
|
}
|
||||||
|
|
||||||
|
# If no dependency file was actually created by the compiler invocation,
|
||||||
|
# we still have to create a dummy depfile, to avoid errors with the
|
||||||
|
# Makefile "include basename.Plo" scheme.
|
||||||
|
make_dummy_depfile ()
|
||||||
|
{
|
||||||
|
echo "#dummy" > "$depfile"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Factor out some common post-processing of the generated depfile.
|
||||||
|
# Requires the auxiliary global variable '$tmpdepfile' to be set.
|
||||||
|
aix_post_process_depfile ()
|
||||||
|
{
|
||||||
|
# If the compiler actually managed to produce a dependency file,
|
||||||
|
# post-process it.
|
||||||
|
if test -f "$tmpdepfile"; then
|
||||||
|
# Each line is of the form 'foo.o: dependency.h'.
|
||||||
|
# Do two passes, one to just change these to
|
||||||
|
# $object: dependency.h
|
||||||
|
# and one to simply output
|
||||||
|
# dependency.h:
|
||||||
|
# which is needed to avoid the deleted-header problem.
|
||||||
|
{ sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
|
||||||
|
sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
|
||||||
|
} > "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
else
|
||||||
|
make_dummy_depfile
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# A tabulation character.
|
||||||
|
tab=' '
|
||||||
|
# A newline character.
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
# Character ranges might be problematic outside the C locale.
|
||||||
|
# These definitions help.
|
||||||
|
upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
|
lower=abcdefghijklmnopqrstuvwxyz
|
||||||
|
digits=0123456789
|
||||||
|
alpha=${upper}${lower}
|
||||||
|
|
||||||
|
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||||
|
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
||||||
|
depfile=${depfile-`echo "$object" |
|
||||||
|
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
||||||
|
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||||
|
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
|
||||||
|
# Avoid interferences from the environment.
|
||||||
|
gccflag= dashmflag=
|
||||||
|
|
||||||
|
# Some modes work just like other modes, but use different flags. We
|
||||||
|
# parameterize here, but still list the modes in the big case below,
|
||||||
|
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||||
|
# here, because this file can only contain one case statement.
|
||||||
|
if test "$depmode" = hp; then
|
||||||
|
# HP compiler uses -M and no extra arg.
|
||||||
|
gccflag=-M
|
||||||
|
depmode=gcc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = dashXmstdout; then
|
||||||
|
# This is just like dashmstdout with a different argument.
|
||||||
|
dashmflag=-xM
|
||||||
|
depmode=dashmstdout
|
||||||
|
fi
|
||||||
|
|
||||||
|
cygpath_u="cygpath -u -f -"
|
||||||
|
if test "$depmode" = msvcmsys; then
|
||||||
|
# This is just like msvisualcpp but w/o cygpath translation.
|
||||||
|
# Just convert the backslash-escaped backslashes to single forward
|
||||||
|
# slashes to satisfy depend.m4
|
||||||
|
cygpath_u='sed s,\\\\,/,g'
|
||||||
|
depmode=msvisualcpp
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = msvc7msys; then
|
||||||
|
# This is just like msvc7 but w/o cygpath translation.
|
||||||
|
# Just convert the backslash-escaped backslashes to single forward
|
||||||
|
# slashes to satisfy depend.m4
|
||||||
|
cygpath_u='sed s,\\\\,/,g'
|
||||||
|
depmode=msvc7
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = xlc; then
|
||||||
|
# IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
|
||||||
|
gccflag=-qmakedep=gcc,-MF
|
||||||
|
depmode=gcc
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$depmode" in
|
||||||
|
gcc3)
|
||||||
|
## gcc 3 implements dependency tracking that does exactly what
|
||||||
|
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||||
|
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||||
|
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||||
|
## the command line argument order; so add the flags where they
|
||||||
|
## appear in depend2.am. Note that the slowdown incurred here
|
||||||
|
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||||
|
*) set fnord "$@" "$arg" ;;
|
||||||
|
esac
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
done
|
||||||
|
"$@"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
mv "$tmpdepfile" "$depfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
gcc)
|
||||||
|
## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
|
||||||
|
## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
|
||||||
|
## (see the conditional assignment to $gccflag above).
|
||||||
|
## There are various ways to get dependency output from gcc. Here's
|
||||||
|
## why we pick this rather obscure method:
|
||||||
|
## - Don't want to use -MD because we'd like the dependencies to end
|
||||||
|
## up in a subdir. Having to rename by hand is ugly.
|
||||||
|
## (We might end up doing this anyway to support other compilers.)
|
||||||
|
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||||
|
## -MM, not -M (despite what the docs say). Also, it might not be
|
||||||
|
## supported by the other compilers which use the 'gcc' depmode.
|
||||||
|
## - Using -M directly means running the compiler twice (even worse
|
||||||
|
## than renaming).
|
||||||
|
if test -z "$gccflag"; then
|
||||||
|
gccflag=-MD,
|
||||||
|
fi
|
||||||
|
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
# The second -e expression handles DOS-style file names with drive
|
||||||
|
# letters.
|
||||||
|
sed -e 's/^[^:]*: / /' \
|
||||||
|
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||||
|
## This next piece of magic avoids the "deleted header file" problem.
|
||||||
|
## The problem is that when a header file which appears in a .P file
|
||||||
|
## is deleted, the dependency causes make to die (because there is
|
||||||
|
## typically no way to rebuild the header). We avoid this by adding
|
||||||
|
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||||
|
## this for us directly.
|
||||||
|
## Some versions of gcc put a space before the ':'. On the theory
|
||||||
|
## that the space means something, we add a space to the output as
|
||||||
|
## well. hp depmode also adds that space, but also prefixes the VPATH
|
||||||
|
## to the object. Take care to not repeat it in the output.
|
||||||
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
hp)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
sgi)
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||||
|
else
|
||||||
|
"$@" -MDupdate "$tmpdepfile"
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
|
||||||
|
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
# Clip off the initial element (the dependent). Don't try to be
|
||||||
|
# clever and replace this with sed code, as IRIX sed won't handle
|
||||||
|
# lines with more than a fixed number of characters (4096 in
|
||||||
|
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||||
|
# the IRIX cc adds comments like '#:fec' to the end of the
|
||||||
|
# dependency line.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
|
||||||
|
| tr "$nl" ' ' >> "$depfile"
|
||||||
|
echo >> "$depfile"
|
||||||
|
# The second pass generates a dummy entry for each header file.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||||
|
>> "$depfile"
|
||||||
|
else
|
||||||
|
make_dummy_depfile
|
||||||
|
fi
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
xlc)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
aix)
|
||||||
|
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||||
|
# in a .u file. In older versions, this file always lives in the
|
||||||
|
# current directory. Also, the AIX compiler puts '$object:' at the
|
||||||
|
# start of each line; $object doesn't have directory information.
|
||||||
|
# Version 6 uses the directory in both cases.
|
||||||
|
set_dir_from "$object"
|
||||||
|
set_base_from "$object"
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
tmpdepfile1=$dir$base.u
|
||||||
|
tmpdepfile2=$base.u
|
||||||
|
tmpdepfile3=$dir.libs/$base.u
|
||||||
|
"$@" -Wc,-M
|
||||||
|
else
|
||||||
|
tmpdepfile1=$dir$base.u
|
||||||
|
tmpdepfile2=$dir$base.u
|
||||||
|
tmpdepfile3=$dir$base.u
|
||||||
|
"$@" -M
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
do
|
||||||
|
test -f "$tmpdepfile" && break
|
||||||
|
done
|
||||||
|
aix_post_process_depfile
|
||||||
|
;;
|
||||||
|
|
||||||
|
tcc)
|
||||||
|
# tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
|
||||||
|
# FIXME: That version still under development at the moment of writing.
|
||||||
|
# Make that this statement remains true also for stable, released
|
||||||
|
# versions.
|
||||||
|
# It will wrap lines (doesn't matter whether long or short) with a
|
||||||
|
# trailing '\', as in:
|
||||||
|
#
|
||||||
|
# foo.o : \
|
||||||
|
# foo.c \
|
||||||
|
# foo.h \
|
||||||
|
#
|
||||||
|
# It will put a trailing '\' even on the last line, and will use leading
|
||||||
|
# spaces rather than leading tabs (at least since its commit 0394caf7
|
||||||
|
# "Emit spaces for -MD").
|
||||||
|
"$@" -MD -MF "$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
# Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
|
||||||
|
# We have to change lines of the first kind to '$object: \'.
|
||||||
|
sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
|
||||||
|
# And for each line of the second kind, we have to emit a 'dep.h:'
|
||||||
|
# dummy dependency, to avoid the deleted-header problem.
|
||||||
|
sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
## The order of this option in the case statement is important, since the
|
||||||
|
## shell code in configure will try each of these formats in the order
|
||||||
|
## listed in this file. A plain '-MD' option would be understood by many
|
||||||
|
## compilers, so we must ensure this comes after the gcc and icc options.
|
||||||
|
pgcc)
|
||||||
|
# Portland's C compiler understands '-MD'.
|
||||||
|
# Will always output deps to 'file.d' where file is the root name of the
|
||||||
|
# source file under compilation, even if file resides in a subdirectory.
|
||||||
|
# The object file name does not affect the name of the '.d' file.
|
||||||
|
# pgcc 10.2 will output
|
||||||
|
# foo.o: sub/foo.c sub/foo.h
|
||||||
|
# and will wrap long lines using '\' :
|
||||||
|
# foo.o: sub/foo.c ... \
|
||||||
|
# sub/foo.h ... \
|
||||||
|
# ...
|
||||||
|
set_dir_from "$object"
|
||||||
|
# Use the source, not the object, to determine the base name, since
|
||||||
|
# that's sadly what pgcc will do too.
|
||||||
|
set_base_from "$source"
|
||||||
|
tmpdepfile=$base.d
|
||||||
|
|
||||||
|
# For projects that build the same source file twice into different object
|
||||||
|
# files, the pgcc approach of using the *source* file root name can cause
|
||||||
|
# problems in parallel builds. Use a locking strategy to avoid stomping on
|
||||||
|
# the same $tmpdepfile.
|
||||||
|
lockdir=$base.d-lock
|
||||||
|
trap "
|
||||||
|
echo '$0: caught signal, cleaning up...' >&2
|
||||||
|
rmdir '$lockdir'
|
||||||
|
exit 1
|
||||||
|
" 1 2 13 15
|
||||||
|
numtries=100
|
||||||
|
i=$numtries
|
||||||
|
while test $i -gt 0; do
|
||||||
|
# mkdir is a portable test-and-set.
|
||||||
|
if mkdir "$lockdir" 2>/dev/null; then
|
||||||
|
# This process acquired the lock.
|
||||||
|
"$@" -MD
|
||||||
|
stat=$?
|
||||||
|
# Release the lock.
|
||||||
|
rmdir "$lockdir"
|
||||||
|
break
|
||||||
|
else
|
||||||
|
# If the lock is being held by a different process, wait
|
||||||
|
# until the winning process is done or we timeout.
|
||||||
|
while test -d "$lockdir" && test $i -gt 0; do
|
||||||
|
sleep 1
|
||||||
|
i=`expr $i - 1`
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
i=`expr $i - 1`
|
||||||
|
done
|
||||||
|
trap - 1 2 13 15
|
||||||
|
if test $i -le 0; then
|
||||||
|
echo "$0: failed to acquire lock after $numtries attempts" >&2
|
||||||
|
echo "$0: check lockdir '$lockdir'" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
# Each line is of the form `foo.o: dependent.h',
|
||||||
|
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||||
|
# Do two passes, one to just change these to
|
||||||
|
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||||
|
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
hp2)
|
||||||
|
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||||
|
# compilers, which have integrated preprocessors. The correct option
|
||||||
|
# to use with these is +Maked; it writes dependencies to a file named
|
||||||
|
# 'foo.d', which lands next to the object file, wherever that
|
||||||
|
# happens to be.
|
||||||
|
# Much of this is similar to the tru64 case; see comments there.
|
||||||
|
set_dir_from "$object"
|
||||||
|
set_base_from "$object"
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
tmpdepfile1=$dir$base.d
|
||||||
|
tmpdepfile2=$dir.libs/$base.d
|
||||||
|
"$@" -Wc,+Maked
|
||||||
|
else
|
||||||
|
tmpdepfile1=$dir$base.d
|
||||||
|
tmpdepfile2=$dir$base.d
|
||||||
|
"$@" +Maked
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||||
|
do
|
||||||
|
test -f "$tmpdepfile" && break
|
||||||
|
done
|
||||||
|
if test -f "$tmpdepfile"; then
|
||||||
|
sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||||
|
# Add 'dependent.h:' lines.
|
||||||
|
sed -ne '2,${
|
||||||
|
s/^ *//
|
||||||
|
s/ \\*$//
|
||||||
|
s/$/:/
|
||||||
|
p
|
||||||
|
}' "$tmpdepfile" >> "$depfile"
|
||||||
|
else
|
||||||
|
make_dummy_depfile
|
||||||
|
fi
|
||||||
|
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||||
|
;;
|
||||||
|
|
||||||
|
tru64)
|
||||||
|
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||||
|
# effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
|
||||||
|
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||||
|
# dependencies in 'foo.d' instead, so we check for that too.
|
||||||
|
# Subdirectories are respected.
|
||||||
|
set_dir_from "$object"
|
||||||
|
set_base_from "$object"
|
||||||
|
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
# Libtool generates 2 separate objects for the 2 libraries. These
|
||||||
|
# two compilations output dependencies in $dir.libs/$base.o.d and
|
||||||
|
# in $dir$base.o.d. We have to check for both files, because
|
||||||
|
# one of the two compilations can be disabled. We should prefer
|
||||||
|
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||||
|
# automatically cleaned when .libs/ is deleted, while ignoring
|
||||||
|
# the former would cause a distcleancheck panic.
|
||||||
|
tmpdepfile1=$dir$base.o.d # libtool 1.5
|
||||||
|
tmpdepfile2=$dir.libs/$base.o.d # Likewise.
|
||||||
|
tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
|
||||||
|
"$@" -Wc,-MD
|
||||||
|
else
|
||||||
|
tmpdepfile1=$dir$base.d
|
||||||
|
tmpdepfile2=$dir$base.d
|
||||||
|
tmpdepfile3=$dir$base.d
|
||||||
|
"$@" -MD
|
||||||
|
fi
|
||||||
|
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
do
|
||||||
|
test -f "$tmpdepfile" && break
|
||||||
|
done
|
||||||
|
# Same post-processing that is required for AIX mode.
|
||||||
|
aix_post_process_depfile
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvc7)
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
showIncludes=-Wc,-showIncludes
|
||||||
|
else
|
||||||
|
showIncludes=-showIncludes
|
||||||
|
fi
|
||||||
|
"$@" $showIncludes > "$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
grep -v '^Note: including file: ' "$tmpdepfile"
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
# The first sed program below extracts the file names and escapes
|
||||||
|
# backslashes for cygpath. The second sed program outputs the file
|
||||||
|
# name when reading, but also accumulates all include files in the
|
||||||
|
# hold buffer in order to output them again at the end. This only
|
||||||
|
# works with sed implementations that can handle large buffers.
|
||||||
|
sed < "$tmpdepfile" -n '
|
||||||
|
/^Note: including file: *\(.*\)/ {
|
||||||
|
s//\1/
|
||||||
|
s/\\/\\\\/g
|
||||||
|
p
|
||||||
|
}' | $cygpath_u | sort -u | sed -n '
|
||||||
|
s/ /\\ /g
|
||||||
|
s/\(.*\)/'"$tab"'\1 \\/p
|
||||||
|
s/.\(.*\) \\/\1:/
|
||||||
|
H
|
||||||
|
$ {
|
||||||
|
s/.*/'"$tab"'/
|
||||||
|
G
|
||||||
|
p
|
||||||
|
}' >> "$depfile"
|
||||||
|
echo >> "$depfile" # make sure the fragment doesn't end with a backslash
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvc7msys)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
#nosideeffect)
|
||||||
|
# This comment above is used by automake to tell side-effect
|
||||||
|
# dependency tracking mechanisms from slower ones.
|
||||||
|
|
||||||
|
dashmstdout)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout, regardless of -o.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove '-o $object'.
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
test -z "$dashmflag" && dashmflag=-M
|
||||||
|
# Require at least two characters before searching for ':'
|
||||||
|
# in the target name. This is to cope with DOS-style filenames:
|
||||||
|
# a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
|
||||||
|
"$@" $dashmflag |
|
||||||
|
sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
cat < "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process this sed invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
dashXmstdout)
|
||||||
|
# This case only exists to satisfy depend.m4. It is never actually
|
||||||
|
# run, as this mode is specially recognized in the preamble.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
makedepend)
|
||||||
|
"$@" || exit $?
|
||||||
|
# Remove any Libtool call
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
# X makedepend
|
||||||
|
shift
|
||||||
|
cleared=no eat=no
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $cleared in
|
||||||
|
no)
|
||||||
|
set ""; shift
|
||||||
|
cleared=yes ;;
|
||||||
|
esac
|
||||||
|
if test $eat = yes; then
|
||||||
|
eat=no
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
case "$arg" in
|
||||||
|
-D*|-I*)
|
||||||
|
set fnord "$@" "$arg"; shift ;;
|
||||||
|
# Strip any option that makedepend may not understand. Remove
|
||||||
|
# the object too, otherwise makedepend will parse it as a source file.
|
||||||
|
-arch)
|
||||||
|
eat=yes ;;
|
||||||
|
-*|$object)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"; shift ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
obj_suffix=`echo "$object" | sed 's/^.*\././'`
|
||||||
|
touch "$tmpdepfile"
|
||||||
|
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||||
|
rm -f "$depfile"
|
||||||
|
# makedepend may prepend the VPATH from the source file name to the object.
|
||||||
|
# No need to regex-escape $object, excess matching of '.' is harmless.
|
||||||
|
sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process the last invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed '1,2d' "$tmpdepfile" \
|
||||||
|
| tr ' ' "$nl" \
|
||||||
|
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||||
|
;;
|
||||||
|
|
||||||
|
cpp)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove '-o $object'.
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
"$@" -E \
|
||||||
|
| sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||||
|
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||||
|
| sed '$ s: \\$::' > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
cat < "$tmpdepfile" >> "$depfile"
|
||||||
|
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvisualcpp)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case "$arg" in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||||
|
set fnord "$@"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
"$@" -E 2>/dev/null |
|
||||||
|
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
|
||||||
|
echo "$tab" >> "$depfile"
|
||||||
|
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvcmsys)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
none)
|
||||||
|
exec "$@"
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "Unknown depmode $depmode" 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
527
xorg/xf86-video-dummy/v0.3.8/install-sh
Executable file
527
xorg/xf86-video-dummy/v0.3.8/install-sh
Executable file
@ -0,0 +1,527 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# install - install a program, script, or datafile
|
||||||
|
|
||||||
|
scriptversion=2011-11-20.07; # UTC
|
||||||
|
|
||||||
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
|
# following copyright and license.
|
||||||
|
#
|
||||||
|
# Copyright (C) 1994 X Consortium
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to
|
||||||
|
# deal in the Software without restriction, including without limitation the
|
||||||
|
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||||
|
# sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||||
|
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||||
|
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
#
|
||||||
|
# Except as contained in this notice, the name of the X Consortium shall not
|
||||||
|
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||||
|
# ings in this Software without prior written authorization from the X Consor-
|
||||||
|
# tium.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# FSF changes to this file are in the public domain.
|
||||||
|
#
|
||||||
|
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||||
|
# 'make' implicit rules from creating a file called install from it
|
||||||
|
# when there is no Makefile.
|
||||||
|
#
|
||||||
|
# This script is compatible with the BSD install script, but was written
|
||||||
|
# from scratch.
|
||||||
|
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
IFS=" "" $nl"
|
||||||
|
|
||||||
|
# set DOITPROG to echo to test this script
|
||||||
|
|
||||||
|
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||||
|
doit=${DOITPROG-}
|
||||||
|
if test -z "$doit"; then
|
||||||
|
doit_exec=exec
|
||||||
|
else
|
||||||
|
doit_exec=$doit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Put in absolute file names if you don't have them in your path;
|
||||||
|
# or use environment vars.
|
||||||
|
|
||||||
|
chgrpprog=${CHGRPPROG-chgrp}
|
||||||
|
chmodprog=${CHMODPROG-chmod}
|
||||||
|
chownprog=${CHOWNPROG-chown}
|
||||||
|
cmpprog=${CMPPROG-cmp}
|
||||||
|
cpprog=${CPPROG-cp}
|
||||||
|
mkdirprog=${MKDIRPROG-mkdir}
|
||||||
|
mvprog=${MVPROG-mv}
|
||||||
|
rmprog=${RMPROG-rm}
|
||||||
|
stripprog=${STRIPPROG-strip}
|
||||||
|
|
||||||
|
posix_glob='?'
|
||||||
|
initialize_posix_glob='
|
||||||
|
test "$posix_glob" != "?" || {
|
||||||
|
if (set -f) 2>/dev/null; then
|
||||||
|
posix_glob=
|
||||||
|
else
|
||||||
|
posix_glob=:
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
'
|
||||||
|
|
||||||
|
posix_mkdir=
|
||||||
|
|
||||||
|
# Desired mode of installed file.
|
||||||
|
mode=0755
|
||||||
|
|
||||||
|
chgrpcmd=
|
||||||
|
chmodcmd=$chmodprog
|
||||||
|
chowncmd=
|
||||||
|
mvcmd=$mvprog
|
||||||
|
rmcmd="$rmprog -f"
|
||||||
|
stripcmd=
|
||||||
|
|
||||||
|
src=
|
||||||
|
dst=
|
||||||
|
dir_arg=
|
||||||
|
dst_arg=
|
||||||
|
|
||||||
|
copy_on_change=false
|
||||||
|
no_target_directory=
|
||||||
|
|
||||||
|
usage="\
|
||||||
|
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||||
|
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||||
|
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||||
|
or: $0 [OPTION]... -d DIRECTORIES...
|
||||||
|
|
||||||
|
In the 1st form, copy SRCFILE to DSTFILE.
|
||||||
|
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||||
|
In the 4th, create DIRECTORIES.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
--help display this help and exit.
|
||||||
|
--version display version info and exit.
|
||||||
|
|
||||||
|
-c (ignored)
|
||||||
|
-C install only if different (preserve the last data modification time)
|
||||||
|
-d create directories instead of installing files.
|
||||||
|
-g GROUP $chgrpprog installed files to GROUP.
|
||||||
|
-m MODE $chmodprog installed files to MODE.
|
||||||
|
-o USER $chownprog installed files to USER.
|
||||||
|
-s $stripprog installed files.
|
||||||
|
-t DIRECTORY install into DIRECTORY.
|
||||||
|
-T report an error if DSTFILE is a directory.
|
||||||
|
|
||||||
|
Environment variables override the default commands:
|
||||||
|
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||||
|
RMPROG STRIPPROG
|
||||||
|
"
|
||||||
|
|
||||||
|
while test $# -ne 0; do
|
||||||
|
case $1 in
|
||||||
|
-c) ;;
|
||||||
|
|
||||||
|
-C) copy_on_change=true;;
|
||||||
|
|
||||||
|
-d) dir_arg=true;;
|
||||||
|
|
||||||
|
-g) chgrpcmd="$chgrpprog $2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
--help) echo "$usage"; exit $?;;
|
||||||
|
|
||||||
|
-m) mode=$2
|
||||||
|
case $mode in
|
||||||
|
*' '* | *' '* | *'
|
||||||
|
'* | *'*'* | *'?'* | *'['*)
|
||||||
|
echo "$0: invalid mode: $mode" >&2
|
||||||
|
exit 1;;
|
||||||
|
esac
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-o) chowncmd="$chownprog $2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-s) stripcmd=$stripprog;;
|
||||||
|
|
||||||
|
-t) dst_arg=$2
|
||||||
|
# Protect names problematic for 'test' and other utilities.
|
||||||
|
case $dst_arg in
|
||||||
|
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||||
|
esac
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-T) no_target_directory=true;;
|
||||||
|
|
||||||
|
--version) echo "$0 $scriptversion"; exit $?;;
|
||||||
|
|
||||||
|
--) shift
|
||||||
|
break;;
|
||||||
|
|
||||||
|
-*) echo "$0: invalid option: $1" >&2
|
||||||
|
exit 1;;
|
||||||
|
|
||||||
|
*) break;;
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||||
|
# When -d is used, all remaining arguments are directories to create.
|
||||||
|
# When -t is used, the destination is already specified.
|
||||||
|
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if test -n "$dst_arg"; then
|
||||||
|
# $@ is not empty: it contains at least $arg.
|
||||||
|
set fnord "$@" "$dst_arg"
|
||||||
|
shift # fnord
|
||||||
|
fi
|
||||||
|
shift # arg
|
||||||
|
dst_arg=$arg
|
||||||
|
# Protect names problematic for 'test' and other utilities.
|
||||||
|
case $dst_arg in
|
||||||
|
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $# -eq 0; then
|
||||||
|
if test -z "$dir_arg"; then
|
||||||
|
echo "$0: no input file specified." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
# It's OK to call 'install-sh -d' without argument.
|
||||||
|
# This can happen when creating conditional directories.
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$dir_arg"; then
|
||||||
|
do_exit='(exit $ret); exit $ret'
|
||||||
|
trap "ret=129; $do_exit" 1
|
||||||
|
trap "ret=130; $do_exit" 2
|
||||||
|
trap "ret=141; $do_exit" 13
|
||||||
|
trap "ret=143; $do_exit" 15
|
||||||
|
|
||||||
|
# Set umask so as not to create temps with too-generous modes.
|
||||||
|
# However, 'strip' requires both read and write access to temps.
|
||||||
|
case $mode in
|
||||||
|
# Optimize common cases.
|
||||||
|
*644) cp_umask=133;;
|
||||||
|
*755) cp_umask=22;;
|
||||||
|
|
||||||
|
*[0-7])
|
||||||
|
if test -z "$stripcmd"; then
|
||||||
|
u_plus_rw=
|
||||||
|
else
|
||||||
|
u_plus_rw='% 200'
|
||||||
|
fi
|
||||||
|
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||||
|
*)
|
||||||
|
if test -z "$stripcmd"; then
|
||||||
|
u_plus_rw=
|
||||||
|
else
|
||||||
|
u_plus_rw=,u+rw
|
||||||
|
fi
|
||||||
|
cp_umask=$mode$u_plus_rw;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
for src
|
||||||
|
do
|
||||||
|
# Protect names problematic for 'test' and other utilities.
|
||||||
|
case $src in
|
||||||
|
-* | [=\(\)!]) src=./$src;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
dst=$src
|
||||||
|
dstdir=$dst
|
||||||
|
test -d "$dstdir"
|
||||||
|
dstdir_status=$?
|
||||||
|
else
|
||||||
|
|
||||||
|
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||||
|
# might cause directories to be created, which would be especially bad
|
||||||
|
# if $src (and thus $dsttmp) contains '*'.
|
||||||
|
if test ! -f "$src" && test ! -d "$src"; then
|
||||||
|
echo "$0: $src does not exist." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$dst_arg"; then
|
||||||
|
echo "$0: no destination specified." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
dst=$dst_arg
|
||||||
|
|
||||||
|
# If destination is a directory, append the input filename; won't work
|
||||||
|
# if double slashes aren't ignored.
|
||||||
|
if test -d "$dst"; then
|
||||||
|
if test -n "$no_target_directory"; then
|
||||||
|
echo "$0: $dst_arg: Is a directory" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
dstdir=$dst
|
||||||
|
dst=$dstdir/`basename "$src"`
|
||||||
|
dstdir_status=0
|
||||||
|
else
|
||||||
|
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||||
|
dstdir=`
|
||||||
|
(dirname "$dst") 2>/dev/null ||
|
||||||
|
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||||
|
X"$dst" : 'X\(//\)[^/]' \| \
|
||||||
|
X"$dst" : 'X\(//\)$' \| \
|
||||||
|
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||||
|
echo X"$dst" |
|
||||||
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)[^/].*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\/\)$/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
/^X\(\/\).*/{
|
||||||
|
s//\1/
|
||||||
|
q
|
||||||
|
}
|
||||||
|
s/.*/./; q'
|
||||||
|
`
|
||||||
|
|
||||||
|
test -d "$dstdir"
|
||||||
|
dstdir_status=$?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
obsolete_mkdir_used=false
|
||||||
|
|
||||||
|
if test $dstdir_status != 0; then
|
||||||
|
case $posix_mkdir in
|
||||||
|
'')
|
||||||
|
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||||
|
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||||
|
umask=`umask`
|
||||||
|
case $stripcmd.$umask in
|
||||||
|
# Optimize common cases.
|
||||||
|
*[2367][2367]) mkdir_umask=$umask;;
|
||||||
|
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||||
|
|
||||||
|
*[0-7])
|
||||||
|
mkdir_umask=`expr $umask + 22 \
|
||||||
|
- $umask % 100 % 40 + $umask % 20 \
|
||||||
|
- $umask % 10 % 4 + $umask % 2
|
||||||
|
`;;
|
||||||
|
*) mkdir_umask=$umask,go-w;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# With -d, create the new directory with the user-specified mode.
|
||||||
|
# Otherwise, rely on $mkdir_umask.
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
mkdir_mode=-m$mode
|
||||||
|
else
|
||||||
|
mkdir_mode=
|
||||||
|
fi
|
||||||
|
|
||||||
|
posix_mkdir=false
|
||||||
|
case $umask in
|
||||||
|
*[123567][0-7][0-7])
|
||||||
|
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||||
|
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||||
|
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||||
|
|
||||||
|
if (umask $mkdir_umask &&
|
||||||
|
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
if test -z "$dir_arg" || {
|
||||||
|
# Check for POSIX incompatibilities with -m.
|
||||||
|
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||||
|
# other-writable bit of parent directory when it shouldn't.
|
||||||
|
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||||
|
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||||
|
case $ls_ld_tmpdir in
|
||||||
|
d????-?r-*) different_mode=700;;
|
||||||
|
d????-?--*) different_mode=755;;
|
||||||
|
*) false;;
|
||||||
|
esac &&
|
||||||
|
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||||
|
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||||
|
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
then posix_mkdir=:
|
||||||
|
fi
|
||||||
|
rmdir "$tmpdir/d" "$tmpdir"
|
||||||
|
else
|
||||||
|
# Remove any dirs left behind by ancient mkdir implementations.
|
||||||
|
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||||
|
fi
|
||||||
|
trap '' 0;;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if
|
||||||
|
$posix_mkdir && (
|
||||||
|
umask $mkdir_umask &&
|
||||||
|
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||||
|
)
|
||||||
|
then :
|
||||||
|
else
|
||||||
|
|
||||||
|
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||||
|
# or it failed possibly due to a race condition. Create the
|
||||||
|
# directory the slow way, step by step, checking for races as we go.
|
||||||
|
|
||||||
|
case $dstdir in
|
||||||
|
/*) prefix='/';;
|
||||||
|
[-=\(\)!]*) prefix='./';;
|
||||||
|
*) prefix='';;
|
||||||
|
esac
|
||||||
|
|
||||||
|
eval "$initialize_posix_glob"
|
||||||
|
|
||||||
|
oIFS=$IFS
|
||||||
|
IFS=/
|
||||||
|
$posix_glob set -f
|
||||||
|
set fnord $dstdir
|
||||||
|
shift
|
||||||
|
$posix_glob set +f
|
||||||
|
IFS=$oIFS
|
||||||
|
|
||||||
|
prefixes=
|
||||||
|
|
||||||
|
for d
|
||||||
|
do
|
||||||
|
test X"$d" = X && continue
|
||||||
|
|
||||||
|
prefix=$prefix$d
|
||||||
|
if test -d "$prefix"; then
|
||||||
|
prefixes=
|
||||||
|
else
|
||||||
|
if $posix_mkdir; then
|
||||||
|
(umask=$mkdir_umask &&
|
||||||
|
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||||
|
# Don't fail if two instances are running concurrently.
|
||||||
|
test -d "$prefix" || exit 1
|
||||||
|
else
|
||||||
|
case $prefix in
|
||||||
|
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||||
|
*) qprefix=$prefix;;
|
||||||
|
esac
|
||||||
|
prefixes="$prefixes '$qprefix'"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
prefix=$prefix/
|
||||||
|
done
|
||||||
|
|
||||||
|
if test -n "$prefixes"; then
|
||||||
|
# Don't fail if two instances are running concurrently.
|
||||||
|
(umask $mkdir_umask &&
|
||||||
|
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||||
|
test -d "$dstdir" || exit 1
|
||||||
|
obsolete_mkdir_used=true
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||||
|
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||||
|
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||||
|
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||||
|
else
|
||||||
|
|
||||||
|
# Make a couple of temp file names in the proper directory.
|
||||||
|
dsttmp=$dstdir/_inst.$$_
|
||||||
|
rmtmp=$dstdir/_rm.$$_
|
||||||
|
|
||||||
|
# Trap to clean up those temp files at exit.
|
||||||
|
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||||
|
|
||||||
|
# Copy the file name to the temp name.
|
||||||
|
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||||
|
|
||||||
|
# and set any options; do chmod last to preserve setuid bits.
|
||||||
|
#
|
||||||
|
# If any of these fail, we abort the whole thing. If we want to
|
||||||
|
# ignore errors from any of these, just make sure not to ignore
|
||||||
|
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||||
|
#
|
||||||
|
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
||||||
|
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
||||||
|
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
||||||
|
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||||
|
|
||||||
|
# If -C, don't bother to copy if it wouldn't change the file.
|
||||||
|
if $copy_on_change &&
|
||||||
|
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||||
|
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||||
|
|
||||||
|
eval "$initialize_posix_glob" &&
|
||||||
|
$posix_glob set -f &&
|
||||||
|
set X $old && old=:$2:$4:$5:$6 &&
|
||||||
|
set X $new && new=:$2:$4:$5:$6 &&
|
||||||
|
$posix_glob set +f &&
|
||||||
|
|
||||||
|
test "$old" = "$new" &&
|
||||||
|
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
rm -f "$dsttmp"
|
||||||
|
else
|
||||||
|
# Rename the file to the real destination.
|
||||||
|
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||||
|
|
||||||
|
# The rename failed, perhaps because mv can't rename something else
|
||||||
|
# to itself, or perhaps because mv is so ancient that it does not
|
||||||
|
# support -f.
|
||||||
|
{
|
||||||
|
# Now remove or move aside any old file at destination location.
|
||||||
|
# We try this two ways since rm can't unlink itself on some
|
||||||
|
# systems and the destination file might be busy for other
|
||||||
|
# reasons. In this case, the final cleanup might fail but the new
|
||||||
|
# file should still install successfully.
|
||||||
|
{
|
||||||
|
test ! -f "$dst" ||
|
||||||
|
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
||||||
|
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||||
|
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
||||||
|
} ||
|
||||||
|
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||||
|
(exit 1); exit 1
|
||||||
|
}
|
||||||
|
} &&
|
||||||
|
|
||||||
|
# Now rename the file to the real destination.
|
||||||
|
$doit $mvcmd "$dsttmp" "$dst"
|
||||||
|
}
|
||||||
|
fi || exit 1
|
||||||
|
|
||||||
|
trap '' 0
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Local variables:
|
||||||
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
11156
xorg/xf86-video-dummy/v0.3.8/ltmain.sh
Normal file
11156
xorg/xf86-video-dummy/v0.3.8/ltmain.sh
Normal file
File diff suppressed because it is too large
Load Diff
215
xorg/xf86-video-dummy/v0.3.8/missing
Executable file
215
xorg/xf86-video-dummy/v0.3.8/missing
Executable file
@ -0,0 +1,215 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
# Common wrapper for a few potentially missing GNU programs.
|
||||||
|
|
||||||
|
scriptversion=2012-06-26.16; # UTC
|
||||||
|
|
||||||
|
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
||||||
|
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
if test $# -eq 0; then
|
||||||
|
echo 1>&2 "Try '$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
|
||||||
|
--is-lightweight)
|
||||||
|
# Used by our autoconf macros to check whether the available missing
|
||||||
|
# script is modern enough.
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
|
||||||
|
--run)
|
||||||
|
# Back-compat with the calling convention used by older automake.
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
|
||||||
|
-h|--h|--he|--hel|--help)
|
||||||
|
echo "\
|
||||||
|
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||||
|
|
||||||
|
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
|
||||||
|
to PROGRAM being missing or too old.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-h, --help display this help and exit
|
||||||
|
-v, --version output version information and exit
|
||||||
|
|
||||||
|
Supported PROGRAM values:
|
||||||
|
aclocal autoconf autoheader autom4te automake makeinfo
|
||||||
|
bison yacc flex lex help2man
|
||||||
|
|
||||||
|
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
|
||||||
|
'g' are ignored when checking the name.
|
||||||
|
|
||||||
|
Send bug reports to <bug-automake@gnu.org>."
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||||
|
echo "missing $scriptversion (GNU Automake)"
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
-*)
|
||||||
|
echo 1>&2 "$0: unknown '$1' option"
|
||||||
|
echo 1>&2 "Try '$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Run the given program, remember its exit status.
|
||||||
|
"$@"; st=$?
|
||||||
|
|
||||||
|
# If it succeeded, we are done.
|
||||||
|
test $st -eq 0 && exit 0
|
||||||
|
|
||||||
|
# Also exit now if we it failed (or wasn't found), and '--version' was
|
||||||
|
# passed; such an option is passed most likely to detect whether the
|
||||||
|
# program is present and works.
|
||||||
|
case $2 in --version|--help) exit $st;; esac
|
||||||
|
|
||||||
|
# Exit code 63 means version mismatch. This often happens when the user
|
||||||
|
# tries to use an ancient version of a tool on a file that requires a
|
||||||
|
# minimum version.
|
||||||
|
if test $st -eq 63; then
|
||||||
|
msg="probably too old"
|
||||||
|
elif test $st -eq 127; then
|
||||||
|
# Program was missing.
|
||||||
|
msg="missing on your system"
|
||||||
|
else
|
||||||
|
# Program was found and executed, but failed. Give up.
|
||||||
|
exit $st
|
||||||
|
fi
|
||||||
|
|
||||||
|
perl_URL=http://www.perl.org/
|
||||||
|
flex_URL=http://flex.sourceforge.net/
|
||||||
|
gnu_software_URL=http://www.gnu.org/software
|
||||||
|
|
||||||
|
program_details ()
|
||||||
|
{
|
||||||
|
case $1 in
|
||||||
|
aclocal|automake)
|
||||||
|
echo "The '$1' program is part of the GNU Automake package:"
|
||||||
|
echo "<$gnu_software_URL/automake>"
|
||||||
|
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
|
||||||
|
echo "<$gnu_software_URL/autoconf>"
|
||||||
|
echo "<$gnu_software_URL/m4/>"
|
||||||
|
echo "<$perl_URL>"
|
||||||
|
;;
|
||||||
|
autoconf|autom4te|autoheader)
|
||||||
|
echo "The '$1' program is part of the GNU Autoconf package:"
|
||||||
|
echo "<$gnu_software_URL/autoconf/>"
|
||||||
|
echo "It also requires GNU m4 and Perl in order to run:"
|
||||||
|
echo "<$gnu_software_URL/m4/>"
|
||||||
|
echo "<$perl_URL>"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
give_advice ()
|
||||||
|
{
|
||||||
|
# Normalize program name to check for.
|
||||||
|
normalized_program=`echo "$1" | sed '
|
||||||
|
s/^gnu-//; t
|
||||||
|
s/^gnu//; t
|
||||||
|
s/^g//; t'`
|
||||||
|
|
||||||
|
printf '%s\n' "'$1' is $msg."
|
||||||
|
|
||||||
|
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
|
||||||
|
case $normalized_program in
|
||||||
|
autoconf*)
|
||||||
|
echo "You should only need it if you modified 'configure.ac',"
|
||||||
|
echo "or m4 files included by it."
|
||||||
|
program_details 'autoconf'
|
||||||
|
;;
|
||||||
|
autoheader*)
|
||||||
|
echo "You should only need it if you modified 'acconfig.h' or"
|
||||||
|
echo "$configure_deps."
|
||||||
|
program_details 'autoheader'
|
||||||
|
;;
|
||||||
|
automake*)
|
||||||
|
echo "You should only need it if you modified 'Makefile.am' or"
|
||||||
|
echo "$configure_deps."
|
||||||
|
program_details 'automake'
|
||||||
|
;;
|
||||||
|
aclocal*)
|
||||||
|
echo "You should only need it if you modified 'acinclude.m4' or"
|
||||||
|
echo "$configure_deps."
|
||||||
|
program_details 'aclocal'
|
||||||
|
;;
|
||||||
|
autom4te*)
|
||||||
|
echo "You might have modified some maintainer files that require"
|
||||||
|
echo "the 'automa4te' program to be rebuilt."
|
||||||
|
program_details 'autom4te'
|
||||||
|
;;
|
||||||
|
bison*|yacc*)
|
||||||
|
echo "You should only need it if you modified a '.y' file."
|
||||||
|
echo "You may want to install the GNU Bison package:"
|
||||||
|
echo "<$gnu_software_URL/bison/>"
|
||||||
|
;;
|
||||||
|
lex*|flex*)
|
||||||
|
echo "You should only need it if you modified a '.l' file."
|
||||||
|
echo "You may want to install the Fast Lexical Analyzer package:"
|
||||||
|
echo "<$flex_URL>"
|
||||||
|
;;
|
||||||
|
help2man*)
|
||||||
|
echo "You should only need it if you modified a dependency" \
|
||||||
|
"of a man page."
|
||||||
|
echo "You may want to install the GNU Help2man package:"
|
||||||
|
echo "<$gnu_software_URL/help2man/>"
|
||||||
|
;;
|
||||||
|
makeinfo*)
|
||||||
|
echo "You should only need it if you modified a '.texi' file, or"
|
||||||
|
echo "any other file indirectly affecting the aspect of the manual."
|
||||||
|
echo "You might want to install the Texinfo package:"
|
||||||
|
echo "<$gnu_software_URL/texinfo/>"
|
||||||
|
echo "The spurious makeinfo call might also be the consequence of"
|
||||||
|
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
|
||||||
|
echo "want to install GNU make:"
|
||||||
|
echo "<$gnu_software_URL/make/>"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "You might have modified some files without having the proper"
|
||||||
|
echo "tools for further handling them. Check the 'README' file, it"
|
||||||
|
echo "often tells you about the needed prerequisites for installing"
|
||||||
|
echo "this package. You may also peek at any GNU archive site, in"
|
||||||
|
echo "case some other package contains this missing '$1' program."
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
give_advice "$1" | sed -e '1s/^/WARNING: /' \
|
||||||
|
-e '2,$s/^/ /' >&2
|
||||||
|
|
||||||
|
# Propagate the correct exit status (expected to be 127 for a program
|
||||||
|
# not found, 63 for a program that failed due to version mismatch).
|
||||||
|
exit $st
|
||||||
|
|
||||||
|
# Local variables:
|
||||||
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
44
xorg/xf86-video-dummy/v0.3.8/src/Makefile.am
Normal file
44
xorg/xf86-video-dummy/v0.3.8/src/Makefile.am
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 2005 Adam Jackson.
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
# copy of this software and associated documentation files (the "Software"),
|
||||||
|
# to deal in the Software without restriction, including without limitation
|
||||||
|
# on the rights to use, copy, modify, merge, publish, distribute, sub
|
||||||
|
# license, and/or sell copies of the Software, and to permit persons to whom
|
||||||
|
# the Software is furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice (including the next
|
||||||
|
# paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
# Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
# this is obnoxious:
|
||||||
|
# -module lets us name the module exactly how we want
|
||||||
|
# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
|
||||||
|
# _ladir passes a dummy rpath to libtool so the thing will actually link
|
||||||
|
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
|
||||||
|
|
||||||
|
AM_CFLAGS = $(XORG_CFLAGS) $(PCIACCESS_CFLAGS)
|
||||||
|
|
||||||
|
dummy_drv_la_LTLIBRARIES = dummy_drv.la
|
||||||
|
dummy_drv_la_LDFLAGS = -module -avoid-version
|
||||||
|
dummy_drv_la_LIBADD = $(XORG_LIBS)
|
||||||
|
dummy_drv_ladir = @moduledir@/drivers
|
||||||
|
|
||||||
|
dummy_drv_la_SOURCES = \
|
||||||
|
compat-api.h \
|
||||||
|
dummy_cursor.c \
|
||||||
|
dummy_driver.c \
|
||||||
|
dummy.h
|
||||||
|
|
||||||
|
if DGA
|
||||||
|
dummy_drv_la_SOURCES += \
|
||||||
|
dummy_dga.c
|
||||||
|
endif
|
707
xorg/xf86-video-dummy/v0.3.8/src/Makefile.in
Normal file
707
xorg/xf86-video-dummy/v0.3.8/src/Makefile.in
Normal file
@ -0,0 +1,707 @@
|
|||||||
|
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# Copyright 2005 Adam Jackson.
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
# copy of this software and associated documentation files (the "Software"),
|
||||||
|
# to deal in the Software without restriction, including without limitation
|
||||||
|
# on the rights to use, copy, modify, merge, publish, distribute, sub
|
||||||
|
# license, and/or sell copies of the Software, and to permit persons to whom
|
||||||
|
# the Software is furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice (including the next
|
||||||
|
# paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
# Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
# this is obnoxious:
|
||||||
|
# -module lets us name the module exactly how we want
|
||||||
|
# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
|
||||||
|
# _ladir passes a dummy rpath to libtool so the thing will actually link
|
||||||
|
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
|
||||||
|
|
||||||
|
VPATH = @srcdir@
|
||||||
|
am__is_gnu_make = { \
|
||||||
|
if test -z '$(MAKELEVEL)'; then \
|
||||||
|
false; \
|
||||||
|
elif test -n '$(MAKE_HOST)'; then \
|
||||||
|
true; \
|
||||||
|
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||||
|
true; \
|
||||||
|
else \
|
||||||
|
false; \
|
||||||
|
fi; \
|
||||||
|
}
|
||||||
|
am__make_running_with_option = \
|
||||||
|
case $${target_option-} in \
|
||||||
|
?) ;; \
|
||||||
|
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||||
|
"target option '$${target_option-}' specified" >&2; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
has_opt=no; \
|
||||||
|
sane_makeflags=$$MAKEFLAGS; \
|
||||||
|
if $(am__is_gnu_make); then \
|
||||||
|
sane_makeflags=$$MFLAGS; \
|
||||||
|
else \
|
||||||
|
case $$MAKEFLAGS in \
|
||||||
|
*\\[\ \ ]*) \
|
||||||
|
bs=\\; \
|
||||||
|
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||||
|
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||||
|
esac; \
|
||||||
|
fi; \
|
||||||
|
skip_next=no; \
|
||||||
|
strip_trailopt () \
|
||||||
|
{ \
|
||||||
|
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||||
|
}; \
|
||||||
|
for flg in $$sane_makeflags; do \
|
||||||
|
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||||
|
case $$flg in \
|
||||||
|
*=*|--*) continue;; \
|
||||||
|
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||||
|
-*I?*) strip_trailopt 'I';; \
|
||||||
|
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||||
|
-*O?*) strip_trailopt 'O';; \
|
||||||
|
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||||
|
-*l?*) strip_trailopt 'l';; \
|
||||||
|
-[dEDm]) skip_next=yes;; \
|
||||||
|
-[JT]) skip_next=yes;; \
|
||||||
|
esac; \
|
||||||
|
case $$flg in \
|
||||||
|
*$$target_option*) has_opt=yes; break;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
test $$has_opt = yes
|
||||||
|
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||||
|
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
install_sh_DATA = $(install_sh) -c -m 644
|
||||||
|
install_sh_PROGRAM = $(install_sh) -c
|
||||||
|
install_sh_SCRIPT = $(install_sh) -c
|
||||||
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
|
transform = $(program_transform_name)
|
||||||
|
NORMAL_INSTALL = :
|
||||||
|
PRE_INSTALL = :
|
||||||
|
POST_INSTALL = :
|
||||||
|
NORMAL_UNINSTALL = :
|
||||||
|
PRE_UNINSTALL = :
|
||||||
|
POST_UNINSTALL = :
|
||||||
|
build_triplet = @build@
|
||||||
|
host_triplet = @host@
|
||||||
|
@DGA_TRUE@am__append_1 = \
|
||||||
|
@DGA_TRUE@ dummy_dga.c
|
||||||
|
|
||||||
|
subdir = src
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
||||||
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||||
|
$(ACLOCAL_M4)
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
||||||
|
mkinstalldirs = $(install_sh) -d
|
||||||
|
CONFIG_HEADER = $(top_builddir)/config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
CONFIG_CLEAN_VPATH_FILES =
|
||||||
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||||
|
am__vpath_adj = case $$p in \
|
||||||
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||||
|
*) f=$$p;; \
|
||||||
|
esac;
|
||||||
|
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||||
|
am__install_max = 40
|
||||||
|
am__nobase_strip_setup = \
|
||||||
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||||
|
am__nobase_strip = \
|
||||||
|
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||||
|
am__nobase_list = $(am__nobase_strip_setup); \
|
||||||
|
for p in $$list; do echo "$$p $$p"; done | \
|
||||||
|
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||||
|
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||||
|
if (++n[$$2] == $(am__install_max)) \
|
||||||
|
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||||
|
END { for (dir in files) print dir, files[dir] }'
|
||||||
|
am__base_list = \
|
||||||
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||||
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||||
|
am__uninstall_files_from_dir = { \
|
||||||
|
test -z "$$files" \
|
||||||
|
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||||
|
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||||
|
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||||
|
}
|
||||||
|
am__installdirs = "$(DESTDIR)$(dummy_drv_ladir)"
|
||||||
|
LTLIBRARIES = $(dummy_drv_la_LTLIBRARIES)
|
||||||
|
am__DEPENDENCIES_1 =
|
||||||
|
dummy_drv_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
|
||||||
|
am__dummy_drv_la_SOURCES_DIST = compat-api.h dummy_cursor.c \
|
||||||
|
dummy_driver.c dummy.h dummy_dga.c
|
||||||
|
@DGA_TRUE@am__objects_1 = dummy_dga.lo
|
||||||
|
am_dummy_drv_la_OBJECTS = dummy_cursor.lo dummy_driver.lo \
|
||||||
|
$(am__objects_1)
|
||||||
|
dummy_drv_la_OBJECTS = $(am_dummy_drv_la_OBJECTS)
|
||||||
|
AM_V_lt = $(am__v_lt_@AM_V@)
|
||||||
|
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
||||||
|
am__v_lt_0 = --silent
|
||||||
|
am__v_lt_1 =
|
||||||
|
dummy_drv_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||||
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
|
$(dummy_drv_la_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
AM_V_P = $(am__v_P_@AM_V@)
|
||||||
|
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||||
|
am__v_P_0 = false
|
||||||
|
am__v_P_1 = :
|
||||||
|
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||||
|
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||||
|
am__v_GEN_0 = @echo " GEN " $@;
|
||||||
|
am__v_GEN_1 =
|
||||||
|
AM_V_at = $(am__v_at_@AM_V@)
|
||||||
|
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||||
|
am__v_at_0 = @
|
||||||
|
am__v_at_1 =
|
||||||
|
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
||||||
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||||
|
am__depfiles_maybe = depfiles
|
||||||
|
am__mv = mv -f
|
||||||
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||||
|
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
|
||||||
|
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||||
|
$(AM_CFLAGS) $(CFLAGS)
|
||||||
|
AM_V_CC = $(am__v_CC_@AM_V@)
|
||||||
|
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
|
||||||
|
am__v_CC_0 = @echo " CC " $@;
|
||||||
|
am__v_CC_1 =
|
||||||
|
CCLD = $(CC)
|
||||||
|
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||||
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
|
||||||
|
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||||
|
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||||
|
am__v_CCLD_1 =
|
||||||
|
SOURCES = $(dummy_drv_la_SOURCES)
|
||||||
|
DIST_SOURCES = $(am__dummy_drv_la_SOURCES_DIST)
|
||||||
|
am__can_run_installinfo = \
|
||||||
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
|
n|no|NO) false;; \
|
||||||
|
*) (install-info --version) >/dev/null 2>&1;; \
|
||||||
|
esac
|
||||||
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||||
|
# Read a list of newline-separated strings from the standard input,
|
||||||
|
# and print each of them once, without duplicates. Input order is
|
||||||
|
# *not* preserved.
|
||||||
|
am__uniquify_input = $(AWK) '\
|
||||||
|
BEGIN { nonempty = 0; } \
|
||||||
|
{ items[$$0] = 1; nonempty = 1; } \
|
||||||
|
END { if (nonempty) { for (i in items) print i; }; } \
|
||||||
|
'
|
||||||
|
# Make sure the list of sources is unique. This is necessary because,
|
||||||
|
# e.g., the same source file might be shared among _SOURCES variables
|
||||||
|
# for different programs/libraries.
|
||||||
|
am__define_uniq_tagged_files = \
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | $(am__uniquify_input)`
|
||||||
|
ETAGS = etags
|
||||||
|
CTAGS = ctags
|
||||||
|
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
||||||
|
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||||
|
APP_MAN_DIR = @APP_MAN_DIR@
|
||||||
|
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
|
||||||
|
AR = @AR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
BASE_CFLAGS = @BASE_CFLAGS@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CWARNFLAGS = @CWARNFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
DGA = @DGA@
|
||||||
|
DLLTOOL = @DLLTOOL@
|
||||||
|
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||||
|
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||||
|
DRIVER_NAME = @DRIVER_NAME@
|
||||||
|
DSYMUTIL = @DSYMUTIL@
|
||||||
|
DUMPBIN = @DUMPBIN@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
FGREP = @FGREP@
|
||||||
|
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||||
|
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||||
|
GREP = @GREP@
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
INSTALL_CMD = @INSTALL_CMD@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LD = @LD@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||||
|
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||||
|
LIPO = @LIPO@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
|
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||||
|
MAKEINFO = @MAKEINFO@
|
||||||
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
|
MAN_SUBSTS = @MAN_SUBSTS@
|
||||||
|
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||||
|
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||||
|
MKDIR_P = @MKDIR_P@
|
||||||
|
NM = @NM@
|
||||||
|
NMEDIT = @NMEDIT@
|
||||||
|
OBJDUMP = @OBJDUMP@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
OTOOL = @OTOOL@
|
||||||
|
OTOOL64 = @OTOOL64@
|
||||||
|
PACKAGE = @PACKAGE@
|
||||||
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||||
|
PACKAGE_NAME = @PACKAGE_NAME@
|
||||||
|
PACKAGE_STRING = @PACKAGE_STRING@
|
||||||
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PKG_CONFIG = @PKG_CONFIG@
|
||||||
|
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||||
|
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
XORG_CFLAGS = @XORG_CFLAGS@
|
||||||
|
XORG_LIBS = @XORG_LIBS@
|
||||||
|
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||||
|
abs_builddir = @abs_builddir@
|
||||||
|
abs_srcdir = @abs_srcdir@
|
||||||
|
abs_top_builddir = @abs_top_builddir@
|
||||||
|
abs_top_srcdir = @abs_top_srcdir@
|
||||||
|
ac_ct_AR = @ac_ct_AR@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__leading_dot = @am__leading_dot@
|
||||||
|
am__quote = @am__quote@
|
||||||
|
am__tar = @am__tar@
|
||||||
|
am__untar = @am__untar@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
builddir = @builddir@
|
||||||
|
datadir = @datadir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
|
docdir = @docdir@
|
||||||
|
dvidir = @dvidir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
htmldir = @htmldir@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localedir = @localedir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
mkdir_p = @mkdir_p@
|
||||||
|
moduledir = @moduledir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
pdfdir = @pdfdir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
top_build_prefix = @top_build_prefix@
|
||||||
|
top_builddir = @top_builddir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
AM_CFLAGS = $(XORG_CFLAGS) $(PCIACCESS_CFLAGS)
|
||||||
|
dummy_drv_la_LTLIBRARIES = dummy_drv.la
|
||||||
|
dummy_drv_la_LDFLAGS = -module -avoid-version
|
||||||
|
dummy_drv_la_LIBADD = $(XORG_LIBS)
|
||||||
|
dummy_drv_ladir = @moduledir@/drivers
|
||||||
|
dummy_drv_la_SOURCES = compat-api.h dummy_cursor.c dummy_driver.c \
|
||||||
|
dummy.h $(am__append_1)
|
||||||
|
all: all-am
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .c .lo .o .obj
|
||||||
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||||
|
@for dep in $?; do \
|
||||||
|
case '$(am__configure_deps)' in \
|
||||||
|
*$$dep*) \
|
||||||
|
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||||
|
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
|
||||||
|
$(am__cd) $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign src/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
@case '$?' in \
|
||||||
|
*config.status*) \
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||||
|
*) \
|
||||||
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||||
|
esac;
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
|
||||||
|
$(top_srcdir)/configure: $(am__configure_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
$(am__aclocal_m4_deps):
|
||||||
|
|
||||||
|
install-dummy_drv_laLTLIBRARIES: $(dummy_drv_la_LTLIBRARIES)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
@list='$(dummy_drv_la_LTLIBRARIES)'; test -n "$(dummy_drv_ladir)" || list=; \
|
||||||
|
list2=; for p in $$list; do \
|
||||||
|
if test -f $$p; then \
|
||||||
|
list2="$$list2 $$p"; \
|
||||||
|
else :; fi; \
|
||||||
|
done; \
|
||||||
|
test -z "$$list2" || { \
|
||||||
|
echo " $(MKDIR_P) '$(DESTDIR)$(dummy_drv_ladir)'"; \
|
||||||
|
$(MKDIR_P) "$(DESTDIR)$(dummy_drv_ladir)" || exit 1; \
|
||||||
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(dummy_drv_ladir)'"; \
|
||||||
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(dummy_drv_ladir)"; \
|
||||||
|
}
|
||||||
|
|
||||||
|
uninstall-dummy_drv_laLTLIBRARIES:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(dummy_drv_la_LTLIBRARIES)'; test -n "$(dummy_drv_ladir)" || list=; \
|
||||||
|
for p in $$list; do \
|
||||||
|
$(am__strip_dir) \
|
||||||
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(dummy_drv_ladir)/$$f'"; \
|
||||||
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(dummy_drv_ladir)/$$f"; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean-dummy_drv_laLTLIBRARIES:
|
||||||
|
-test -z "$(dummy_drv_la_LTLIBRARIES)" || rm -f $(dummy_drv_la_LTLIBRARIES)
|
||||||
|
@list='$(dummy_drv_la_LTLIBRARIES)'; \
|
||||||
|
locs=`for p in $$list; do echo $$p; done | \
|
||||||
|
sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
|
||||||
|
sort -u`; \
|
||||||
|
test -z "$$locs" || { \
|
||||||
|
echo rm -f $${locs}; \
|
||||||
|
rm -f $${locs}; \
|
||||||
|
}
|
||||||
|
|
||||||
|
dummy_drv.la: $(dummy_drv_la_OBJECTS) $(dummy_drv_la_DEPENDENCIES) $(EXTRA_dummy_drv_la_DEPENDENCIES)
|
||||||
|
$(AM_V_CCLD)$(dummy_drv_la_LINK) -rpath $(dummy_drv_ladir) $(dummy_drv_la_OBJECTS) $(dummy_drv_la_LIBADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT)
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy_cursor.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy_dga.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy_driver.Plo@am__quote@
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
|
||||||
|
|
||||||
|
.c.obj:
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||||
|
|
||||||
|
.c.lo:
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
ID: $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||||
|
tags: tags-am
|
||||||
|
TAGS: tags
|
||||||
|
|
||||||
|
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
set x; \
|
||||||
|
here=`pwd`; \
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
shift; \
|
||||||
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||||
|
test -n "$$unique" || unique=$$empty_fix; \
|
||||||
|
if test $$# -gt 0; then \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
"$$@" $$unique; \
|
||||||
|
else \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
$$unique; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
ctags: ctags-am
|
||||||
|
|
||||||
|
CTAGS: ctags
|
||||||
|
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
test -z "$(CTAGS_ARGS)$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||||
|
$$unique
|
||||||
|
|
||||||
|
GTAGS:
|
||||||
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
|
&& $(am__cd) $(top_srcdir) \
|
||||||
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||||
|
cscopelist: cscopelist-am
|
||||||
|
|
||||||
|
cscopelist-am: $(am__tagged_files)
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
case "$(srcdir)" in \
|
||||||
|
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||||
|
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||||
|
esac; \
|
||||||
|
for i in $$list; do \
|
||||||
|
if test -f "$$i"; then \
|
||||||
|
echo "$(subdir)/$$i"; \
|
||||||
|
else \
|
||||||
|
echo "$$sdir/$$i"; \
|
||||||
|
fi; \
|
||||||
|
done >> $(top_builddir)/cscope.files
|
||||||
|
|
||||||
|
distclean-tags:
|
||||||
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
list='$(DISTFILES)'; \
|
||||||
|
dist_files=`for file in $$list; do echo $$file; done | \
|
||||||
|
sed -e "s|^$$srcdirstrip/||;t" \
|
||||||
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||||
|
case $$dist_files in \
|
||||||
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||||
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||||
|
sort -u` ;; \
|
||||||
|
esac; \
|
||||||
|
for file in $$dist_files; do \
|
||||||
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test -d "$(distdir)/$$file"; then \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||||
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
else \
|
||||||
|
test -f "$(distdir)/$$file" \
|
||||||
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
check-am: all-am
|
||||||
|
check: check-am
|
||||||
|
all-am: Makefile $(LTLIBRARIES)
|
||||||
|
installdirs:
|
||||||
|
for dir in "$(DESTDIR)$(dummy_drv_ladir)"; do \
|
||||||
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||||
|
done
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-am
|
||||||
|
install-strip:
|
||||||
|
if test -z '$(STRIP)'; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
install; \
|
||||||
|
else \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||||
|
fi
|
||||||
|
mostlyclean-generic:
|
||||||
|
|
||||||
|
clean-generic:
|
||||||
|
|
||||||
|
distclean-generic:
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
clean: clean-am
|
||||||
|
|
||||||
|
clean-am: clean-dummy_drv_laLTLIBRARIES clean-generic clean-libtool \
|
||||||
|
mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
|
distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-am
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
html: html-am
|
||||||
|
|
||||||
|
html-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-dummy_drv_laLTLIBRARIES
|
||||||
|
|
||||||
|
install-dvi: install-dvi-am
|
||||||
|
|
||||||
|
install-dvi-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-html: install-html-am
|
||||||
|
|
||||||
|
install-html-am:
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-info-am:
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
install-pdf: install-pdf-am
|
||||||
|
|
||||||
|
install-pdf-am:
|
||||||
|
|
||||||
|
install-ps: install-ps-am
|
||||||
|
|
||||||
|
install-ps-am:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-am
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-am
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-dummy_drv_laLTLIBRARIES
|
||||||
|
|
||||||
|
.MAKE: install-am install-strip
|
||||||
|
|
||||||
|
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
|
||||||
|
clean-dummy_drv_laLTLIBRARIES clean-generic clean-libtool \
|
||||||
|
cscopelist-am ctags ctags-am distclean distclean-compile \
|
||||||
|
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
||||||
|
dvi-am html html-am info info-am install install-am \
|
||||||
|
install-data install-data-am install-dummy_drv_laLTLIBRARIES \
|
||||||
|
install-dvi install-dvi-am install-exec install-exec-am \
|
||||||
|
install-html install-html-am install-info install-info-am \
|
||||||
|
install-man install-pdf install-pdf-am install-ps \
|
||||||
|
install-ps-am install-strip installcheck installcheck-am \
|
||||||
|
installdirs maintainer-clean maintainer-clean-generic \
|
||||||
|
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
|
||||||
|
uninstall-am uninstall-dummy_drv_laLTLIBRARIES
|
||||||
|
|
||||||
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
.NOEXPORT:
|
101
xorg/xf86-video-dummy/v0.3.8/src/compat-api.h
Normal file
101
xorg/xf86-video-dummy/v0.3.8/src/compat-api.h
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2012 Red Hat, Inc.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice (including the next
|
||||||
|
* paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
* Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
* DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Author: Dave Airlie <airlied@redhat.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* this file provides API compat between server post 1.13 and pre it,
|
||||||
|
it should be reused inside as many drivers as possible */
|
||||||
|
#ifndef COMPAT_API_H
|
||||||
|
#define COMPAT_API_H
|
||||||
|
|
||||||
|
#ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR
|
||||||
|
#define GetGlyphPicture(g, s) GlyphPicture((g))[(s)->myNum]
|
||||||
|
#define SetGlyphPicture(g, s, p) GlyphPicture((g))[(s)->myNum] = p
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef XF86_HAS_SCRN_CONV
|
||||||
|
#define xf86ScreenToScrn(s) xf86Screens[(s)->myNum]
|
||||||
|
#define xf86ScrnToScreen(s) screenInfo.screens[(s)->scrnIndex]
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef XF86_SCRN_INTERFACE
|
||||||
|
|
||||||
|
#define SCRN_ARG_TYPE int
|
||||||
|
#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = xf86Screens[(arg1)]
|
||||||
|
|
||||||
|
#define SCREEN_ARG_TYPE int
|
||||||
|
#define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)]
|
||||||
|
|
||||||
|
#define SCREEN_INIT_ARGS_DECL int i, ScreenPtr pScreen, int argc, char **argv
|
||||||
|
|
||||||
|
#define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
|
||||||
|
#define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
|
||||||
|
|
||||||
|
#define CLOSE_SCREEN_ARGS_DECL int scrnIndex, ScreenPtr pScreen
|
||||||
|
#define CLOSE_SCREEN_ARGS scrnIndex, pScreen
|
||||||
|
|
||||||
|
#define ADJUST_FRAME_ARGS_DECL int arg, int x, int y, int flags
|
||||||
|
#define ADJUST_FRAME_ARGS(arg, x, y) (arg)->scrnIndex, x, y, 0
|
||||||
|
|
||||||
|
#define SWITCH_MODE_ARGS_DECL int arg, DisplayModePtr mode, int flags
|
||||||
|
#define SWITCH_MODE_ARGS(arg, m) (arg)->scrnIndex, m, 0
|
||||||
|
|
||||||
|
#define FREE_SCREEN_ARGS_DECL int arg, int flags
|
||||||
|
#define FREE_SCREEN_ARGS(x) (x)->scrnIndex, 0
|
||||||
|
|
||||||
|
#define VT_FUNC_ARGS_DECL int arg, int flags
|
||||||
|
#define VT_FUNC_ARGS(flags) pScrn->scrnIndex, (flags)
|
||||||
|
|
||||||
|
#define XF86_ENABLEDISABLEFB_ARG(x) ((x)->scrnIndex)
|
||||||
|
#else
|
||||||
|
#define SCRN_ARG_TYPE ScrnInfoPtr
|
||||||
|
#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = (arg1)
|
||||||
|
|
||||||
|
#define SCREEN_ARG_TYPE ScreenPtr
|
||||||
|
#define SCREEN_PTR(arg1) ScreenPtr pScreen = (arg1)
|
||||||
|
|
||||||
|
#define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
|
||||||
|
|
||||||
|
#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
|
||||||
|
#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
|
||||||
|
|
||||||
|
#define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
|
||||||
|
#define CLOSE_SCREEN_ARGS pScreen
|
||||||
|
|
||||||
|
#define ADJUST_FRAME_ARGS_DECL ScrnInfoPtr arg, int x, int y
|
||||||
|
#define ADJUST_FRAME_ARGS(arg, x, y) arg, x, y
|
||||||
|
|
||||||
|
#define SWITCH_MODE_ARGS_DECL ScrnInfoPtr arg, DisplayModePtr mode
|
||||||
|
#define SWITCH_MODE_ARGS(arg, m) arg, m
|
||||||
|
|
||||||
|
#define FREE_SCREEN_ARGS_DECL ScrnInfoPtr arg
|
||||||
|
#define FREE_SCREEN_ARGS(x) (x)
|
||||||
|
|
||||||
|
#define VT_FUNC_ARGS_DECL ScrnInfoPtr arg
|
||||||
|
#define VT_FUNC_ARGS(flags) pScrn
|
||||||
|
|
||||||
|
#define XF86_ENABLEDISABLEFB_ARG(x) (x)
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
79
xorg/xf86-video-dummy/v0.3.8/src/dummy.h
Normal file
79
xorg/xf86-video-dummy/v0.3.8/src/dummy.h
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
|
||||||
|
/* All drivers should typically include these */
|
||||||
|
#include "xf86.h"
|
||||||
|
#include "xf86_OSproc.h"
|
||||||
|
|
||||||
|
#include "xf86Cursor.h"
|
||||||
|
|
||||||
|
#ifdef XvExtension
|
||||||
|
#include "xf86xv.h"
|
||||||
|
#include <X11/extensions/Xv.h>
|
||||||
|
#endif
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "compat-api.h"
|
||||||
|
|
||||||
|
/* Supported chipsets */
|
||||||
|
typedef enum {
|
||||||
|
DUMMY_CHIP
|
||||||
|
} DUMMYType;
|
||||||
|
|
||||||
|
/* function prototypes */
|
||||||
|
|
||||||
|
extern Bool DUMMYSwitchMode(SWITCH_MODE_ARGS_DECL);
|
||||||
|
extern void DUMMYAdjustFrame(ADJUST_FRAME_ARGS_DECL);
|
||||||
|
|
||||||
|
/* in dummy_cursor.c */
|
||||||
|
extern Bool DUMMYCursorInit(ScreenPtr pScrn);
|
||||||
|
extern void DUMMYShowCursor(ScrnInfoPtr pScrn);
|
||||||
|
extern void DUMMYHideCursor(ScrnInfoPtr pScrn);
|
||||||
|
|
||||||
|
/* in dummy_dga.c */
|
||||||
|
Bool DUMMYDGAInit(ScreenPtr pScreen);
|
||||||
|
|
||||||
|
/* in dummy_video.c */
|
||||||
|
extern void DUMMYInitVideo(ScreenPtr pScreen);
|
||||||
|
|
||||||
|
/* globals */
|
||||||
|
typedef struct _color
|
||||||
|
{
|
||||||
|
int red;
|
||||||
|
int green;
|
||||||
|
int blue;
|
||||||
|
} dummy_colors;
|
||||||
|
|
||||||
|
typedef struct dummyRec
|
||||||
|
{
|
||||||
|
DGAModePtr DGAModes;
|
||||||
|
int numDGAModes;
|
||||||
|
Bool DGAactive;
|
||||||
|
int DGAViewportStatus;
|
||||||
|
/* options */
|
||||||
|
OptionInfoPtr Options;
|
||||||
|
Bool swCursor;
|
||||||
|
/* proc pointer */
|
||||||
|
CloseScreenProcPtr CloseScreen;
|
||||||
|
xf86CursorInfoPtr CursorInfo;
|
||||||
|
|
||||||
|
Bool DummyHWCursorShown;
|
||||||
|
int cursorX, cursorY;
|
||||||
|
int cursorFG, cursorBG;
|
||||||
|
|
||||||
|
Bool screenSaver;
|
||||||
|
Bool video;
|
||||||
|
#ifdef XvExtension
|
||||||
|
XF86VideoAdaptorPtr overlayAdaptor;
|
||||||
|
#endif
|
||||||
|
int overlay;
|
||||||
|
int overlay_offset;
|
||||||
|
int videoKey;
|
||||||
|
int interlace;
|
||||||
|
dummy_colors colors[256];
|
||||||
|
pointer* FBBase;
|
||||||
|
Bool (*CreateWindow)() ; /* wrapped CreateWindow */
|
||||||
|
Bool prop;
|
||||||
|
} DUMMYRec, *DUMMYPtr;
|
||||||
|
|
||||||
|
/* The privates of the DUMMY driver */
|
||||||
|
#define DUMMYPTR(p) ((DUMMYPtr)((p)->driverPrivate))
|
||||||
|
|
104
xorg/xf86-video-dummy/v0.3.8/src/dummy_cursor.c
Normal file
104
xorg/xf86-video-dummy/v0.3.8/src/dummy_cursor.c
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* All drivers should typically include these */
|
||||||
|
#include "xf86.h"
|
||||||
|
#include "xf86_OSproc.h"
|
||||||
|
|
||||||
|
#include "xf86Cursor.h"
|
||||||
|
#include "cursorstr.h"
|
||||||
|
/* Driver specific headers */
|
||||||
|
#include "dummy.h"
|
||||||
|
|
||||||
|
static void
|
||||||
|
dummyShowCursor(ScrnInfoPtr pScrn)
|
||||||
|
{
|
||||||
|
DUMMYPtr dPtr = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
/* turn cursor on */
|
||||||
|
dPtr->DummyHWCursorShown = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
dummyHideCursor(ScrnInfoPtr pScrn)
|
||||||
|
{
|
||||||
|
DUMMYPtr dPtr = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* turn cursor off
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
dPtr->DummyHWCursorShown = FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define MAX_CURS 64
|
||||||
|
|
||||||
|
static void
|
||||||
|
dummySetCursorPosition(ScrnInfoPtr pScrn, int x, int y)
|
||||||
|
{
|
||||||
|
DUMMYPtr dPtr = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
/* unsigned char *_dest = ((unsigned char *)dPtr->FBBase + */
|
||||||
|
/* pScrn->videoRam * 1024 - 1024); */
|
||||||
|
dPtr->cursorX = x;
|
||||||
|
dPtr->cursorY = y;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
dummySetCursorColors(ScrnInfoPtr pScrn, int bg, int fg)
|
||||||
|
{
|
||||||
|
DUMMYPtr dPtr = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
dPtr->cursorFG = fg;
|
||||||
|
dPtr->cursorBG = bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
dummyLoadCursorImage(ScrnInfoPtr pScrn, unsigned char *src)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static Bool
|
||||||
|
dummyUseHWCursor(ScreenPtr pScr, CursorPtr pCurs)
|
||||||
|
{
|
||||||
|
DUMMYPtr dPtr = DUMMYPTR(xf86ScreenToScrn(pScr));
|
||||||
|
return(!dPtr->swCursor);
|
||||||
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
static unsigned char*
|
||||||
|
dummyRealizeCursor(xf86CursorInfoPtr infoPtr, CursorPtr pCurs)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Bool
|
||||||
|
DUMMYCursorInit(ScreenPtr pScreen)
|
||||||
|
{
|
||||||
|
DUMMYPtr dPtr = DUMMYPTR(xf86ScreenToScrn(pScreen));
|
||||||
|
|
||||||
|
xf86CursorInfoPtr infoPtr;
|
||||||
|
infoPtr = xf86CreateCursorInfoRec();
|
||||||
|
if(!infoPtr) return FALSE;
|
||||||
|
|
||||||
|
dPtr->CursorInfo = infoPtr;
|
||||||
|
|
||||||
|
infoPtr->MaxHeight = 64;
|
||||||
|
infoPtr->MaxWidth = 64;
|
||||||
|
infoPtr->Flags = HARDWARE_CURSOR_TRUECOLOR_AT_8BPP;
|
||||||
|
|
||||||
|
infoPtr->SetCursorColors = dummySetCursorColors;
|
||||||
|
infoPtr->SetCursorPosition = dummySetCursorPosition;
|
||||||
|
infoPtr->LoadCursorImage = dummyLoadCursorImage;
|
||||||
|
infoPtr->HideCursor = dummyHideCursor;
|
||||||
|
infoPtr->ShowCursor = dummyShowCursor;
|
||||||
|
infoPtr->UseHWCursor = dummyUseHWCursor;
|
||||||
|
/* infoPtr->RealizeCursor = dummyRealizeCursor; */
|
||||||
|
|
||||||
|
return(xf86InitCursor(pScreen, infoPtr));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
175
xorg/xf86-video-dummy/v0.3.8/src/dummy_dga.c
Normal file
175
xorg/xf86-video-dummy/v0.3.8/src/dummy_dga.c
Normal file
@ -0,0 +1,175 @@
|
|||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "xf86.h"
|
||||||
|
#include "xf86_OSproc.h"
|
||||||
|
#include "dgaproc.h"
|
||||||
|
#include "dummy.h"
|
||||||
|
|
||||||
|
static Bool DUMMY_OpenFramebuffer(ScrnInfoPtr, char **, unsigned char **,
|
||||||
|
int *, int *, int *);
|
||||||
|
static Bool DUMMY_SetMode(ScrnInfoPtr, DGAModePtr);
|
||||||
|
static int DUMMY_GetViewport(ScrnInfoPtr);
|
||||||
|
static void DUMMY_SetViewport(ScrnInfoPtr, int, int, int);
|
||||||
|
|
||||||
|
static
|
||||||
|
DGAFunctionRec DUMMYDGAFuncs = {
|
||||||
|
DUMMY_OpenFramebuffer,
|
||||||
|
NULL,
|
||||||
|
DUMMY_SetMode,
|
||||||
|
DUMMY_SetViewport,
|
||||||
|
DUMMY_GetViewport,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
#if 0
|
||||||
|
DUMMY_BlitTransRect
|
||||||
|
#else
|
||||||
|
NULL
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
Bool
|
||||||
|
DUMMYDGAInit(ScreenPtr pScreen)
|
||||||
|
{
|
||||||
|
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
|
||||||
|
DUMMYPtr pDUMMY = DUMMYPTR(pScrn);
|
||||||
|
DGAModePtr modes = NULL, newmodes = NULL, currentMode;
|
||||||
|
DisplayModePtr pMode, firstMode;
|
||||||
|
int Bpp = pScrn->bitsPerPixel >> 3;
|
||||||
|
int num = 0, imlines, pixlines;
|
||||||
|
|
||||||
|
imlines = (pScrn->videoRam * 1024) /
|
||||||
|
(pScrn->displayWidth * (pScrn->bitsPerPixel >> 3));
|
||||||
|
|
||||||
|
pixlines = imlines;
|
||||||
|
|
||||||
|
pMode = firstMode = pScrn->modes;
|
||||||
|
|
||||||
|
while(pMode) {
|
||||||
|
|
||||||
|
newmodes = realloc(modes, (num + 1) * sizeof(DGAModeRec));
|
||||||
|
|
||||||
|
if(!newmodes) {
|
||||||
|
free(modes);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
modes = newmodes;
|
||||||
|
|
||||||
|
currentMode = modes + num;
|
||||||
|
num++;
|
||||||
|
|
||||||
|
currentMode->mode = pMode;
|
||||||
|
currentMode->flags = DGA_CONCURRENT_ACCESS | DGA_PIXMAP_AVAILABLE;
|
||||||
|
if(pMode->Flags & V_DBLSCAN)
|
||||||
|
currentMode->flags |= DGA_DOUBLESCAN;
|
||||||
|
if(pMode->Flags & V_INTERLACE)
|
||||||
|
currentMode->flags |= DGA_INTERLACED;
|
||||||
|
currentMode->byteOrder = pScrn->imageByteOrder;
|
||||||
|
currentMode->depth = pScrn->depth;
|
||||||
|
currentMode->bitsPerPixel = pScrn->bitsPerPixel;
|
||||||
|
currentMode->red_mask = pScrn->mask.red;
|
||||||
|
currentMode->green_mask = pScrn->mask.green;
|
||||||
|
currentMode->blue_mask = pScrn->mask.blue;
|
||||||
|
currentMode->visualClass = (Bpp == 1) ? PseudoColor : TrueColor;
|
||||||
|
currentMode->viewportWidth = pMode->HDisplay;
|
||||||
|
currentMode->viewportHeight = pMode->VDisplay;
|
||||||
|
currentMode->xViewportStep = 1;
|
||||||
|
currentMode->yViewportStep = 1;
|
||||||
|
currentMode->viewportFlags = DGA_FLIP_RETRACE;
|
||||||
|
currentMode->offset = 0;
|
||||||
|
currentMode->address = (unsigned char *)pDUMMY->FBBase;
|
||||||
|
|
||||||
|
currentMode->bytesPerScanline =
|
||||||
|
((pScrn->displayWidth * Bpp) + 3) & ~3L;
|
||||||
|
currentMode->imageWidth = pScrn->displayWidth;
|
||||||
|
currentMode->imageHeight = imlines;
|
||||||
|
currentMode->pixmapWidth = currentMode->imageWidth;
|
||||||
|
currentMode->pixmapHeight = pixlines;
|
||||||
|
currentMode->maxViewportX = currentMode->imageWidth -
|
||||||
|
currentMode->viewportWidth;
|
||||||
|
currentMode->maxViewportY = currentMode->imageHeight -
|
||||||
|
currentMode->viewportHeight;
|
||||||
|
|
||||||
|
pMode = pMode->next;
|
||||||
|
if(pMode == firstMode)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
pDUMMY->numDGAModes = num;
|
||||||
|
pDUMMY->DGAModes = modes;
|
||||||
|
|
||||||
|
return DGAInit(pScreen, &DUMMYDGAFuncs, modes, num);
|
||||||
|
}
|
||||||
|
|
||||||
|
static DisplayModePtr DUMMYSavedDGAModes[MAXSCREENS];
|
||||||
|
|
||||||
|
static Bool
|
||||||
|
DUMMY_SetMode(
|
||||||
|
ScrnInfoPtr pScrn,
|
||||||
|
DGAModePtr pMode
|
||||||
|
){
|
||||||
|
int index = pScrn->pScreen->myNum;
|
||||||
|
DUMMYPtr pDUMMY = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
if(!pMode) { /* restore the original mode */
|
||||||
|
if(pDUMMY->DGAactive) {
|
||||||
|
pScrn->currentMode = DUMMYSavedDGAModes[index];
|
||||||
|
DUMMYSwitchMode(SWITCH_MODE_ARGS(pScrn, pScrn->currentMode));
|
||||||
|
DUMMYAdjustFrame(ADJUST_FRAME_ARGS(pScrn, 0, 0));
|
||||||
|
pDUMMY->DGAactive = FALSE;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if(!pDUMMY->DGAactive) { /* save the old parameters */
|
||||||
|
DUMMYSavedDGAModes[index] = pScrn->currentMode;
|
||||||
|
pDUMMY->DGAactive = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
DUMMYSwitchMode(SWITCH_MODE_ARGS(pScrn, pMode->mode));
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
DUMMY_GetViewport(
|
||||||
|
ScrnInfoPtr pScrn
|
||||||
|
){
|
||||||
|
DUMMYPtr pDUMMY = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
return pDUMMY->DGAViewportStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
DUMMY_SetViewport(
|
||||||
|
ScrnInfoPtr pScrn,
|
||||||
|
int x, int y,
|
||||||
|
int flags
|
||||||
|
){
|
||||||
|
DUMMYPtr pDUMMY = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
DUMMYAdjustFrame(ADJUST_FRAME_ARGS(pScrn, x, y));
|
||||||
|
pDUMMY->DGAViewportStatus = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static Bool
|
||||||
|
DUMMY_OpenFramebuffer(
|
||||||
|
ScrnInfoPtr pScrn,
|
||||||
|
char **name,
|
||||||
|
unsigned char **mem,
|
||||||
|
int *size,
|
||||||
|
int *offset,
|
||||||
|
int *flags
|
||||||
|
){
|
||||||
|
DUMMYPtr pDUMMY = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
*name = NULL; /* no special device */
|
||||||
|
*mem = (unsigned char*)pDUMMY->FBBase;
|
||||||
|
*size = pScrn->videoRam * 1024;
|
||||||
|
*offset = 0;
|
||||||
|
*flags = DGA_NEED_ROOT;
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
761
xorg/xf86-video-dummy/v0.3.8/src/dummy_driver.c
Normal file
761
xorg/xf86-video-dummy/v0.3.8/src/dummy_driver.c
Normal file
@ -0,0 +1,761 @@
|
|||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright 2002, SuSE Linux AG, Author: Egbert Eich
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* All drivers should typically include these */
|
||||||
|
#include "xf86.h"
|
||||||
|
#include "xf86_OSproc.h"
|
||||||
|
|
||||||
|
/* All drivers initialising the SW cursor need this */
|
||||||
|
#include "mipointer.h"
|
||||||
|
|
||||||
|
/* All drivers using the mi colormap manipulation need this */
|
||||||
|
#include "micmap.h"
|
||||||
|
|
||||||
|
/* identifying atom needed by magnifiers */
|
||||||
|
#include <X11/Xatom.h>
|
||||||
|
#include "property.h"
|
||||||
|
|
||||||
|
#include "xf86cmap.h"
|
||||||
|
|
||||||
|
#include "xf86fbman.h"
|
||||||
|
|
||||||
|
#include "fb.h"
|
||||||
|
|
||||||
|
#include "picturestr.h"
|
||||||
|
|
||||||
|
#ifdef XvExtension
|
||||||
|
#include "xf86xv.h"
|
||||||
|
#include <X11/extensions/Xv.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Driver data structures.
|
||||||
|
*/
|
||||||
|
#include "dummy.h"
|
||||||
|
|
||||||
|
/* These need to be checked */
|
||||||
|
#include <X11/X.h>
|
||||||
|
#include <X11/Xproto.h>
|
||||||
|
#include "scrnintstr.h"
|
||||||
|
#include "servermd.h"
|
||||||
|
#ifdef USE_DGA
|
||||||
|
#define _XF86DGA_SERVER_
|
||||||
|
#include <X11/extensions/xf86dgaproto.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Mandatory functions */
|
||||||
|
static const OptionInfoRec * DUMMYAvailableOptions(int chipid, int busid);
|
||||||
|
static void DUMMYIdentify(int flags);
|
||||||
|
static Bool DUMMYProbe(DriverPtr drv, int flags);
|
||||||
|
static Bool DUMMYPreInit(ScrnInfoPtr pScrn, int flags);
|
||||||
|
static Bool DUMMYScreenInit(SCREEN_INIT_ARGS_DECL);
|
||||||
|
static Bool DUMMYEnterVT(VT_FUNC_ARGS_DECL);
|
||||||
|
static void DUMMYLeaveVT(VT_FUNC_ARGS_DECL);
|
||||||
|
static Bool DUMMYCloseScreen(CLOSE_SCREEN_ARGS_DECL);
|
||||||
|
static Bool DUMMYCreateWindow(WindowPtr pWin);
|
||||||
|
static void DUMMYFreeScreen(FREE_SCREEN_ARGS_DECL);
|
||||||
|
static ModeStatus DUMMYValidMode(SCRN_ARG_TYPE arg, DisplayModePtr mode,
|
||||||
|
Bool verbose, int flags);
|
||||||
|
static Bool DUMMYSaveScreen(ScreenPtr pScreen, int mode);
|
||||||
|
|
||||||
|
/* Internally used functions */
|
||||||
|
static Bool dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op,
|
||||||
|
pointer ptr);
|
||||||
|
|
||||||
|
|
||||||
|
/* static void DUMMYDisplayPowerManagementSet(ScrnInfoPtr pScrn, */
|
||||||
|
/* int PowerManagementMode, int flags); */
|
||||||
|
|
||||||
|
#define DUMMY_VERSION 4000
|
||||||
|
#define DUMMY_NAME "DUMMY"
|
||||||
|
#define DUMMY_DRIVER_NAME "dummy"
|
||||||
|
|
||||||
|
#define DUMMY_MAJOR_VERSION PACKAGE_VERSION_MAJOR
|
||||||
|
#define DUMMY_MINOR_VERSION PACKAGE_VERSION_MINOR
|
||||||
|
#define DUMMY_PATCHLEVEL PACKAGE_VERSION_PATCHLEVEL
|
||||||
|
|
||||||
|
#define DUMMY_MAX_WIDTH 32767
|
||||||
|
#define DUMMY_MAX_HEIGHT 32767
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is intentionally screen-independent. It indicates the binding
|
||||||
|
* choice made in the first PreInit.
|
||||||
|
*/
|
||||||
|
static int pix24bpp = 0;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This contains the functions needed by the server after loading the driver
|
||||||
|
* module. It must be supplied, and gets passed back by the SetupProc
|
||||||
|
* function in the dynamic case. In the static case, a reference to this
|
||||||
|
* is compiled in, and this requires that the name of this DriverRec be
|
||||||
|
* an upper-case version of the driver name.
|
||||||
|
*/
|
||||||
|
|
||||||
|
_X_EXPORT DriverRec DUMMY = {
|
||||||
|
DUMMY_VERSION,
|
||||||
|
DUMMY_DRIVER_NAME,
|
||||||
|
DUMMYIdentify,
|
||||||
|
DUMMYProbe,
|
||||||
|
DUMMYAvailableOptions,
|
||||||
|
NULL,
|
||||||
|
0,
|
||||||
|
dummyDriverFunc
|
||||||
|
};
|
||||||
|
|
||||||
|
static SymTabRec DUMMYChipsets[] = {
|
||||||
|
{ DUMMY_CHIP, "dummy" },
|
||||||
|
{ -1, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
OPTION_SW_CURSOR
|
||||||
|
} DUMMYOpts;
|
||||||
|
|
||||||
|
static const OptionInfoRec DUMMYOptions[] = {
|
||||||
|
{ OPTION_SW_CURSOR, "SWcursor", OPTV_BOOLEAN, {0}, FALSE },
|
||||||
|
{ -1, NULL, OPTV_NONE, {0}, FALSE }
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifdef XFree86LOADER
|
||||||
|
|
||||||
|
static MODULESETUPPROTO(dummySetup);
|
||||||
|
|
||||||
|
static XF86ModuleVersionInfo dummyVersRec =
|
||||||
|
{
|
||||||
|
"dummy",
|
||||||
|
MODULEVENDORSTRING,
|
||||||
|
MODINFOSTRING1,
|
||||||
|
MODINFOSTRING2,
|
||||||
|
XORG_VERSION_CURRENT,
|
||||||
|
DUMMY_MAJOR_VERSION, DUMMY_MINOR_VERSION, DUMMY_PATCHLEVEL,
|
||||||
|
ABI_CLASS_VIDEODRV,
|
||||||
|
ABI_VIDEODRV_VERSION,
|
||||||
|
MOD_CLASS_VIDEODRV,
|
||||||
|
{0,0,0,0}
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is the module init data.
|
||||||
|
* Its name has to be the driver name followed by ModuleData
|
||||||
|
*/
|
||||||
|
_X_EXPORT XF86ModuleData dummyModuleData = { &dummyVersRec, dummySetup, NULL };
|
||||||
|
|
||||||
|
static pointer
|
||||||
|
dummySetup(pointer module, pointer opts, int *errmaj, int *errmin)
|
||||||
|
{
|
||||||
|
static Bool setupDone = FALSE;
|
||||||
|
|
||||||
|
if (!setupDone) {
|
||||||
|
setupDone = TRUE;
|
||||||
|
xf86AddDriver(&DUMMY, module, HaveDriverFuncs);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Modules that this driver always requires can be loaded here
|
||||||
|
* by calling LoadSubModule().
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The return value must be non-NULL on success even though there
|
||||||
|
* is no TearDownProc.
|
||||||
|
*/
|
||||||
|
return (pointer)1;
|
||||||
|
} else {
|
||||||
|
if (errmaj) *errmaj = LDR_ONCEONLY;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* XFree86LOADER */
|
||||||
|
|
||||||
|
static Bool
|
||||||
|
DUMMYGetRec(ScrnInfoPtr pScrn)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Allocate a DUMMYRec, and hook it into pScrn->driverPrivate.
|
||||||
|
* pScrn->driverPrivate is initialised to NULL, so we can check if
|
||||||
|
* the allocation has already been done.
|
||||||
|
*/
|
||||||
|
if (pScrn->driverPrivate != NULL)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
|
pScrn->driverPrivate = xnfcalloc(sizeof(DUMMYRec), 1);
|
||||||
|
|
||||||
|
if (pScrn->driverPrivate == NULL)
|
||||||
|
return FALSE;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
DUMMYFreeRec(ScrnInfoPtr pScrn)
|
||||||
|
{
|
||||||
|
if (pScrn->driverPrivate == NULL)
|
||||||
|
return;
|
||||||
|
free(pScrn->driverPrivate);
|
||||||
|
pScrn->driverPrivate = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
static const OptionInfoRec *
|
||||||
|
DUMMYAvailableOptions(int chipid, int busid)
|
||||||
|
{
|
||||||
|
return DUMMYOptions;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mandatory */
|
||||||
|
static void
|
||||||
|
DUMMYIdentify(int flags)
|
||||||
|
{
|
||||||
|
xf86PrintChipsets(DUMMY_NAME, "Driver for Dummy chipsets",
|
||||||
|
DUMMYChipsets);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mandatory */
|
||||||
|
static Bool
|
||||||
|
DUMMYProbe(DriverPtr drv, int flags)
|
||||||
|
{
|
||||||
|
Bool foundScreen = FALSE;
|
||||||
|
int numDevSections, numUsed;
|
||||||
|
GDevPtr *devSections;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
if (flags & PROBE_DETECT)
|
||||||
|
return FALSE;
|
||||||
|
/*
|
||||||
|
* Find the config file Device sections that match this
|
||||||
|
* driver, and return if there are none.
|
||||||
|
*/
|
||||||
|
if ((numDevSections = xf86MatchDevice(DUMMY_DRIVER_NAME,
|
||||||
|
&devSections)) <= 0) {
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
numUsed = numDevSections;
|
||||||
|
|
||||||
|
if (numUsed > 0) {
|
||||||
|
|
||||||
|
for (i = 0; i < numUsed; i++) {
|
||||||
|
ScrnInfoPtr pScrn = NULL;
|
||||||
|
int entityIndex =
|
||||||
|
xf86ClaimNoSlot(drv,DUMMY_CHIP,devSections[i],TRUE);
|
||||||
|
/* Allocate a ScrnInfoRec and claim the slot */
|
||||||
|
if ((pScrn = xf86AllocateScreen(drv,0 ))) {
|
||||||
|
xf86AddEntityToScreen(pScrn,entityIndex);
|
||||||
|
pScrn->driverVersion = DUMMY_VERSION;
|
||||||
|
pScrn->driverName = DUMMY_DRIVER_NAME;
|
||||||
|
pScrn->name = DUMMY_NAME;
|
||||||
|
pScrn->Probe = DUMMYProbe;
|
||||||
|
pScrn->PreInit = DUMMYPreInit;
|
||||||
|
pScrn->ScreenInit = DUMMYScreenInit;
|
||||||
|
pScrn->SwitchMode = DUMMYSwitchMode;
|
||||||
|
pScrn->AdjustFrame = DUMMYAdjustFrame;
|
||||||
|
pScrn->EnterVT = DUMMYEnterVT;
|
||||||
|
pScrn->LeaveVT = DUMMYLeaveVT;
|
||||||
|
pScrn->FreeScreen = DUMMYFreeScreen;
|
||||||
|
pScrn->ValidMode = DUMMYValidMode;
|
||||||
|
|
||||||
|
foundScreen = TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return foundScreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
# define RETURN \
|
||||||
|
{ DUMMYFreeRec(pScrn);\
|
||||||
|
return FALSE;\
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mandatory */
|
||||||
|
Bool
|
||||||
|
DUMMYPreInit(ScrnInfoPtr pScrn, int flags)
|
||||||
|
{
|
||||||
|
ClockRangePtr clockRanges;
|
||||||
|
int i;
|
||||||
|
DUMMYPtr dPtr;
|
||||||
|
int maxClock = 300000;
|
||||||
|
GDevPtr device = xf86GetEntityInfo(pScrn->entityList[0])->device;
|
||||||
|
|
||||||
|
if (flags & PROBE_DETECT)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
|
/* Allocate the DummyRec driverPrivate */
|
||||||
|
if (!DUMMYGetRec(pScrn)) {
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
dPtr = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
pScrn->chipset = (char *)xf86TokenToString(DUMMYChipsets,
|
||||||
|
DUMMY_CHIP);
|
||||||
|
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Chipset is a DUMMY\n");
|
||||||
|
|
||||||
|
pScrn->monitor = pScrn->confScreen->monitor;
|
||||||
|
|
||||||
|
if (!xf86SetDepthBpp(pScrn, 0, 0, 0, Support24bppFb | Support32bppFb))
|
||||||
|
return FALSE;
|
||||||
|
else {
|
||||||
|
/* Check that the returned depth is one we support */
|
||||||
|
switch (pScrn->depth) {
|
||||||
|
case 8:
|
||||||
|
case 15:
|
||||||
|
case 16:
|
||||||
|
case 24:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
||||||
|
"Given depth (%d) is not supported by this driver\n",
|
||||||
|
pScrn->depth);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
xf86PrintDepthBpp(pScrn);
|
||||||
|
if (pScrn->depth == 8)
|
||||||
|
pScrn->rgbBits = 8;
|
||||||
|
|
||||||
|
/* Get the depth24 pixmap format */
|
||||||
|
if (pScrn->depth == 24 && pix24bpp == 0)
|
||||||
|
pix24bpp = xf86GetBppFromDepth(pScrn, 24);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This must happen after pScrn->display has been set because
|
||||||
|
* xf86SetWeight references it.
|
||||||
|
*/
|
||||||
|
if (pScrn->depth > 8) {
|
||||||
|
/* The defaults are OK for us */
|
||||||
|
rgb zeros = {0, 0, 0};
|
||||||
|
|
||||||
|
if (!xf86SetWeight(pScrn, zeros, zeros)) {
|
||||||
|
return FALSE;
|
||||||
|
} else {
|
||||||
|
/* XXX check that weight returned is supported */
|
||||||
|
;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!xf86SetDefaultVisual(pScrn, -1))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
if (pScrn->depth > 1) {
|
||||||
|
Gamma zeros = {0.0, 0.0, 0.0};
|
||||||
|
|
||||||
|
if (!xf86SetGamma(pScrn, zeros))
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
xf86CollectOptions(pScrn, device->options);
|
||||||
|
/* Process the options */
|
||||||
|
if (!(dPtr->Options = malloc(sizeof(DUMMYOptions))))
|
||||||
|
return FALSE;
|
||||||
|
memcpy(dPtr->Options, DUMMYOptions, sizeof(DUMMYOptions));
|
||||||
|
|
||||||
|
xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, dPtr->Options);
|
||||||
|
|
||||||
|
xf86GetOptValBool(dPtr->Options, OPTION_SW_CURSOR,&dPtr->swCursor);
|
||||||
|
|
||||||
|
if (device->videoRam != 0) {
|
||||||
|
pScrn->videoRam = device->videoRam;
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "VideoRAM: %d kByte\n",
|
||||||
|
pScrn->videoRam);
|
||||||
|
} else {
|
||||||
|
pScrn->videoRam = 4096;
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "VideoRAM: %d kByte\n",
|
||||||
|
pScrn->videoRam);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (device->dacSpeeds[0] != 0) {
|
||||||
|
maxClock = device->dacSpeeds[0];
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Max Clock: %d kHz\n",
|
||||||
|
maxClock);
|
||||||
|
} else {
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Max Clock: %d kHz\n",
|
||||||
|
maxClock);
|
||||||
|
}
|
||||||
|
|
||||||
|
pScrn->progClock = TRUE;
|
||||||
|
/*
|
||||||
|
* Setup the ClockRanges, which describe what clock ranges are available,
|
||||||
|
* and what sort of modes they can be used for.
|
||||||
|
*/
|
||||||
|
clockRanges = (ClockRangePtr)xnfcalloc(sizeof(ClockRange), 1);
|
||||||
|
clockRanges->next = NULL;
|
||||||
|
clockRanges->ClockMulFactor = 1;
|
||||||
|
clockRanges->minClock = 11000; /* guessed §§§ */
|
||||||
|
clockRanges->maxClock = maxClock;
|
||||||
|
clockRanges->clockIndex = -1; /* programmable */
|
||||||
|
clockRanges->interlaceAllowed = TRUE;
|
||||||
|
clockRanges->doubleScanAllowed = TRUE;
|
||||||
|
|
||||||
|
/* Subtract memory for HW cursor */
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
int apertureSize = (pScrn->videoRam * 1024);
|
||||||
|
i = xf86ValidateModes(pScrn, pScrn->monitor->Modes,
|
||||||
|
pScrn->display->modes, clockRanges,
|
||||||
|
NULL, 256, DUMMY_MAX_WIDTH,
|
||||||
|
(8 * pScrn->bitsPerPixel),
|
||||||
|
128, DUMMY_MAX_HEIGHT, pScrn->display->virtualX,
|
||||||
|
pScrn->display->virtualY, apertureSize,
|
||||||
|
LOOKUP_BEST_REFRESH);
|
||||||
|
|
||||||
|
if (i == -1)
|
||||||
|
RETURN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Prune the modes marked as invalid */
|
||||||
|
xf86PruneDriverModes(pScrn);
|
||||||
|
|
||||||
|
if (i == 0 || pScrn->modes == NULL) {
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "No valid modes found\n");
|
||||||
|
RETURN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Set the CRTC parameters for all of the modes based on the type
|
||||||
|
* of mode, and the chipset's interlace requirements.
|
||||||
|
*
|
||||||
|
* Calling this is required if the mode->Crtc* values are used by the
|
||||||
|
* driver and if the driver doesn't provide code to set them. They
|
||||||
|
* are not pre-initialised at all.
|
||||||
|
*/
|
||||||
|
xf86SetCrtcForModes(pScrn, 0);
|
||||||
|
|
||||||
|
/* Set the current mode to the first in the list */
|
||||||
|
pScrn->currentMode = pScrn->modes;
|
||||||
|
|
||||||
|
/* Print the list of modes being used */
|
||||||
|
xf86PrintModes(pScrn);
|
||||||
|
|
||||||
|
/* If monitor resolution is set on the command line, use it */
|
||||||
|
xf86SetDpi(pScrn, 0, 0);
|
||||||
|
|
||||||
|
if (xf86LoadSubModule(pScrn, "fb") == NULL) {
|
||||||
|
RETURN;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!dPtr->swCursor) {
|
||||||
|
if (!xf86LoadSubModule(pScrn, "ramdac"))
|
||||||
|
RETURN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* We have no contiguous physical fb in physical memory */
|
||||||
|
pScrn->memPhysBase = 0;
|
||||||
|
pScrn->fbOffset = 0;
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
#undef RETURN
|
||||||
|
|
||||||
|
/* Mandatory */
|
||||||
|
static Bool
|
||||||
|
DUMMYEnterVT(VT_FUNC_ARGS_DECL)
|
||||||
|
{
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mandatory */
|
||||||
|
static void
|
||||||
|
DUMMYLeaveVT(VT_FUNC_ARGS_DECL)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
DUMMYLoadPalette(
|
||||||
|
ScrnInfoPtr pScrn,
|
||||||
|
int numColors,
|
||||||
|
int *indices,
|
||||||
|
LOCO *colors,
|
||||||
|
VisualPtr pVisual
|
||||||
|
){
|
||||||
|
int i, index, shift, Gshift;
|
||||||
|
DUMMYPtr dPtr = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
switch(pScrn->depth) {
|
||||||
|
case 15:
|
||||||
|
shift = Gshift = 1;
|
||||||
|
break;
|
||||||
|
case 16:
|
||||||
|
shift = 0;
|
||||||
|
Gshift = 0;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
shift = Gshift = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
for(i = 0; i < numColors; i++) {
|
||||||
|
index = indices[i];
|
||||||
|
dPtr->colors[index].red = colors[index].red << shift;
|
||||||
|
dPtr->colors[index].green = colors[index].green << Gshift;
|
||||||
|
dPtr->colors[index].blue = colors[index].blue << shift;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
static ScrnInfoPtr DUMMYScrn; /* static-globalize it */
|
||||||
|
|
||||||
|
/* Mandatory */
|
||||||
|
static Bool
|
||||||
|
DUMMYScreenInit(SCREEN_INIT_ARGS_DECL)
|
||||||
|
{
|
||||||
|
ScrnInfoPtr pScrn;
|
||||||
|
DUMMYPtr dPtr;
|
||||||
|
int ret;
|
||||||
|
VisualPtr visual;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* we need to get the ScrnInfoRec for this screen, so let's allocate
|
||||||
|
* one first thing
|
||||||
|
*/
|
||||||
|
pScrn = xf86ScreenToScrn(pScreen);
|
||||||
|
dPtr = DUMMYPTR(pScrn);
|
||||||
|
DUMMYScrn = pScrn;
|
||||||
|
|
||||||
|
|
||||||
|
if (!(dPtr->FBBase = malloc(pScrn->videoRam * 1024)))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Reset visual list.
|
||||||
|
*/
|
||||||
|
miClearVisualTypes();
|
||||||
|
|
||||||
|
/* Setup the visuals we support. */
|
||||||
|
|
||||||
|
if (!miSetVisualTypes(pScrn->depth,
|
||||||
|
miGetDefaultVisualMask(pScrn->depth),
|
||||||
|
pScrn->rgbBits, pScrn->defaultVisual))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
if (!miSetPixmapDepths ()) return FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Call the framebuffer layer's ScreenInit function, and fill in other
|
||||||
|
* pScreen fields.
|
||||||
|
*/
|
||||||
|
ret = fbScreenInit(pScreen, dPtr->FBBase,
|
||||||
|
pScrn->virtualX, pScrn->virtualY,
|
||||||
|
pScrn->xDpi, pScrn->yDpi,
|
||||||
|
pScrn->displayWidth, pScrn->bitsPerPixel);
|
||||||
|
if (!ret)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
if (pScrn->depth > 8) {
|
||||||
|
/* Fixup RGB ordering */
|
||||||
|
visual = pScreen->visuals + pScreen->numVisuals;
|
||||||
|
while (--visual >= pScreen->visuals) {
|
||||||
|
if ((visual->class | DynamicClass) == DirectColor) {
|
||||||
|
visual->offsetRed = pScrn->offset.red;
|
||||||
|
visual->offsetGreen = pScrn->offset.green;
|
||||||
|
visual->offsetBlue = pScrn->offset.blue;
|
||||||
|
visual->redMask = pScrn->mask.red;
|
||||||
|
visual->greenMask = pScrn->mask.green;
|
||||||
|
visual->blueMask = pScrn->mask.blue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* must be after RGB ordering fixed */
|
||||||
|
fbPictureInit(pScreen, 0, 0);
|
||||||
|
|
||||||
|
xf86SetBlackWhitePixels(pScreen);
|
||||||
|
|
||||||
|
#ifdef USE_DGA
|
||||||
|
DUMMYDGAInit(pScreen);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if (dPtr->swCursor)
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Using Software Cursor.\n");
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
BoxRec AvailFBArea;
|
||||||
|
int lines = pScrn->videoRam * 1024 /
|
||||||
|
(pScrn->displayWidth * (pScrn->bitsPerPixel >> 3));
|
||||||
|
AvailFBArea.x1 = 0;
|
||||||
|
AvailFBArea.y1 = 0;
|
||||||
|
AvailFBArea.x2 = pScrn->displayWidth;
|
||||||
|
AvailFBArea.y2 = lines;
|
||||||
|
xf86InitFBManager(pScreen, &AvailFBArea);
|
||||||
|
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
||||||
|
"Using %i scanlines of offscreen memory \n"
|
||||||
|
, lines - pScrn->virtualY);
|
||||||
|
}
|
||||||
|
|
||||||
|
xf86SetBackingStore(pScreen);
|
||||||
|
xf86SetSilkenMouse(pScreen);
|
||||||
|
|
||||||
|
/* Initialise cursor functions */
|
||||||
|
miDCInitialize (pScreen, xf86GetPointerScreenFuncs());
|
||||||
|
|
||||||
|
|
||||||
|
if (!dPtr->swCursor) {
|
||||||
|
/* HW cursor functions */
|
||||||
|
if (!DUMMYCursorInit(pScreen)) {
|
||||||
|
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
||||||
|
"Hardware cursor initialization failed\n");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Initialise default colourmap */
|
||||||
|
if(!miCreateDefColormap(pScreen))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
if (!xf86HandleColormaps(pScreen, 256, pScrn->rgbBits,
|
||||||
|
DUMMYLoadPalette, NULL,
|
||||||
|
CMAP_PALETTED_TRUECOLOR
|
||||||
|
| CMAP_RELOAD_ON_MODE_SWITCH))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
/* DUMMYInitVideo(pScreen); */
|
||||||
|
|
||||||
|
pScreen->SaveScreen = DUMMYSaveScreen;
|
||||||
|
|
||||||
|
|
||||||
|
/* Wrap the current CloseScreen function */
|
||||||
|
dPtr->CloseScreen = pScreen->CloseScreen;
|
||||||
|
pScreen->CloseScreen = DUMMYCloseScreen;
|
||||||
|
|
||||||
|
/* Wrap the current CreateWindow function */
|
||||||
|
dPtr->CreateWindow = pScreen->CreateWindow;
|
||||||
|
pScreen->CreateWindow = DUMMYCreateWindow;
|
||||||
|
|
||||||
|
/* Report any unused options (only for the first generation) */
|
||||||
|
if (serverGeneration == 1) {
|
||||||
|
xf86ShowUnusedOptions(pScrn->scrnIndex, pScrn->options);
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mandatory */
|
||||||
|
Bool
|
||||||
|
DUMMYSwitchMode(SWITCH_MODE_ARGS_DECL)
|
||||||
|
{
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mandatory */
|
||||||
|
void
|
||||||
|
DUMMYAdjustFrame(ADJUST_FRAME_ARGS_DECL)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mandatory */
|
||||||
|
static Bool
|
||||||
|
DUMMYCloseScreen(CLOSE_SCREEN_ARGS_DECL)
|
||||||
|
{
|
||||||
|
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
|
||||||
|
DUMMYPtr dPtr = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
if(pScrn->vtSema){
|
||||||
|
free(dPtr->FBBase);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dPtr->CursorInfo)
|
||||||
|
xf86DestroyCursorInfoRec(dPtr->CursorInfo);
|
||||||
|
|
||||||
|
pScrn->vtSema = FALSE;
|
||||||
|
pScreen->CloseScreen = dPtr->CloseScreen;
|
||||||
|
return (*pScreen->CloseScreen)(CLOSE_SCREEN_ARGS);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Optional */
|
||||||
|
static void
|
||||||
|
DUMMYFreeScreen(FREE_SCREEN_ARGS_DECL)
|
||||||
|
{
|
||||||
|
SCRN_INFO_PTR(arg);
|
||||||
|
DUMMYFreeRec(pScrn);
|
||||||
|
}
|
||||||
|
|
||||||
|
static Bool
|
||||||
|
DUMMYSaveScreen(ScreenPtr pScreen, int mode)
|
||||||
|
{
|
||||||
|
ScrnInfoPtr pScrn = NULL;
|
||||||
|
DUMMYPtr dPtr;
|
||||||
|
|
||||||
|
if (pScreen != NULL) {
|
||||||
|
pScrn = xf86ScreenToScrn(pScreen);
|
||||||
|
dPtr = DUMMYPTR(pScrn);
|
||||||
|
|
||||||
|
dPtr->screenSaver = xf86IsUnblank(mode);
|
||||||
|
}
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Optional */
|
||||||
|
static ModeStatus
|
||||||
|
DUMMYValidMode(SCRN_ARG_TYPE arg, DisplayModePtr mode, Bool verbose, int flags)
|
||||||
|
{
|
||||||
|
return(MODE_OK);
|
||||||
|
}
|
||||||
|
|
||||||
|
Atom VFB_PROP = 0;
|
||||||
|
#define VFB_PROP_NAME "VFB_IDENT"
|
||||||
|
|
||||||
|
static Bool
|
||||||
|
DUMMYCreateWindow(WindowPtr pWin)
|
||||||
|
{
|
||||||
|
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||||
|
DUMMYPtr dPtr = DUMMYPTR(DUMMYScrn);
|
||||||
|
WindowPtr pWinRoot;
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
pScreen->CreateWindow = dPtr->CreateWindow;
|
||||||
|
ret = pScreen->CreateWindow(pWin);
|
||||||
|
dPtr->CreateWindow = pScreen->CreateWindow;
|
||||||
|
pScreen->CreateWindow = DUMMYCreateWindow;
|
||||||
|
|
||||||
|
if(ret != TRUE)
|
||||||
|
return(ret);
|
||||||
|
|
||||||
|
if(dPtr->prop == FALSE) {
|
||||||
|
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 8
|
||||||
|
pWinRoot = WindowTable[DUMMYScrn->pScreen->myNum];
|
||||||
|
#else
|
||||||
|
pWinRoot = DUMMYScrn->pScreen->root;
|
||||||
|
#endif
|
||||||
|
if (! ValidAtom(VFB_PROP))
|
||||||
|
VFB_PROP = MakeAtom(VFB_PROP_NAME, strlen(VFB_PROP_NAME), 1);
|
||||||
|
|
||||||
|
ret = dixChangeWindowProperty(serverClient, pWinRoot, VFB_PROP,
|
||||||
|
XA_STRING, 8, PropModeReplace,
|
||||||
|
(int)4, (pointer)"TRUE", FALSE);
|
||||||
|
if( ret != Success)
|
||||||
|
ErrorF("Could not set VFB root window property");
|
||||||
|
dPtr->prop = TRUE;
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifndef HW_SKIP_CONSOLE
|
||||||
|
#define HW_SKIP_CONSOLE 4
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static Bool
|
||||||
|
dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr)
|
||||||
|
{
|
||||||
|
CARD32 *flag;
|
||||||
|
|
||||||
|
switch (op) {
|
||||||
|
case GET_REQUIRED_HW_INTERFACES:
|
||||||
|
flag = (CARD32*)ptr;
|
||||||
|
(*flag) = HW_SKIP_CONSOLE;
|
||||||
|
return TRUE;
|
||||||
|
default:
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user