summaryrefslogtreecommitdiff
path: root/source/x/x11/configure
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/configure')
-rw-r--r--source/x/x11/configure/compiz15
-rw-r--r--source/x/x11/configure/configure11
-rw-r--r--source/x/x11/configure/libX1112
-rw-r--r--source/x/x11/configure/libXt12
-rw-r--r--source/x/x11/configure/pixman19
-rw-r--r--source/x/x11/configure/setxkbmap11
-rw-r--r--source/x/x11/configure/xf86-video-ati19
-rw-r--r--source/x/x11/configure/xf86-video-nv19
-rw-r--r--source/x/x11/configure/xfs12
-rw-r--r--source/x/x11/configure/xkbcomp11
-rw-r--r--source/x/x11/configure/xkeyboard-config13
-rw-r--r--source/x/x11/configure/xorg-docs14
-rw-r--r--source/x/x11/configure/xorg-server42
13 files changed, 210 insertions, 0 deletions
diff --git a/source/x/x11/configure/compiz b/source/x/x11/configure/compiz
new file mode 100644
index 00000000..21d8270d
--- /dev/null
+++ b/source/x/x11/configure/compiz
@@ -0,0 +1,15 @@
+CFLAGS=$SLKCFLAGS \
+CXXFLAGS=$SLKCFLAGS \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --disable-gconf \
+ --disable-kde \
+ --enable-kde4 \
+ --enable-librsvg \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/configure b/source/x/x11/configure/configure
new file mode 100644
index 00000000..eb3fd59c
--- /dev/null
+++ b/source/x/x11/configure/configure
@@ -0,0 +1,11 @@
+CFLAGS=$SLKCFLAGS \
+CXXFLAGS=$SLKCFLAGS \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/libX11 b/source/x/x11/configure/libX11
new file mode 100644
index 00000000..093c6044
--- /dev/null
+++ b/source/x/x11/configure/libX11
@@ -0,0 +1,12 @@
+CFLAGS=$SLKCFLAGS \
+CXXFLAGS=$SLKCFLAGS \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --with-xcb=yes \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/libXt b/source/x/x11/configure/libXt
new file mode 100644
index 00000000..3c832abd
--- /dev/null
+++ b/source/x/x11/configure/libXt
@@ -0,0 +1,12 @@
+CFLAGS=$SLKCFLAGS \
+CXXFLAGS=$SLKCFLAGS \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --with-appdefaultdir=/etc/X11/app-defaults \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/pixman b/source/x/x11/configure/pixman
new file mode 100644
index 00000000..492cf8ae
--- /dev/null
+++ b/source/x/x11/configure/pixman
@@ -0,0 +1,19 @@
+if [ "$ARCH" = "x86_64" ]; then
+ do_sse2="--enable-sse2"
+else
+ do_sse2="--disable-sse2"
+fi
+
+CFLAGS=$SLKCFLAGS \
+CXXFLAGS=$SLKCFLAGS \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --disable-vmx \
+ --build=$ARCH-slackware-linux \
+ ${do_sse2}
diff --git a/source/x/x11/configure/setxkbmap b/source/x/x11/configure/setxkbmap
new file mode 100644
index 00000000..91f8353f
--- /dev/null
+++ b/source/x/x11/configure/setxkbmap
@@ -0,0 +1,11 @@
+CFLAGS=$SLKCFLAGS \
+CXXFLAGS=$SLKCFLAGS \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --with-xkb-config-root=/etc/X11/xkb \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/xf86-video-ati b/source/x/x11/configure/xf86-video-ati
new file mode 100644
index 00000000..6e41b488
--- /dev/null
+++ b/source/x/x11/configure/xf86-video-ati
@@ -0,0 +1,19 @@
+xserver_source="/tmp/x11-build/xorg-server-1.6.2"
+
+if [ ! -d "$xserver_source" ]; then
+ echo "$xserver_source does not exist, and you need it."
+ exit 1
+fi
+
+CFLAGS="$SLKCFLAGS -I${xserver_source}/hw/xfree86/ramdac" \
+CXXFLAGS="$SLKCFLAGS -I${xserver_source}/hw/xfree86/ramdac" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --with-xserver-source=${xserver_source} \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/xf86-video-nv b/source/x/x11/configure/xf86-video-nv
new file mode 100644
index 00000000..6e41b488
--- /dev/null
+++ b/source/x/x11/configure/xf86-video-nv
@@ -0,0 +1,19 @@
+xserver_source="/tmp/x11-build/xorg-server-1.6.2"
+
+if [ ! -d "$xserver_source" ]; then
+ echo "$xserver_source does not exist, and you need it."
+ exit 1
+fi
+
+CFLAGS="$SLKCFLAGS -I${xserver_source}/hw/xfree86/ramdac" \
+CXXFLAGS="$SLKCFLAGS -I${xserver_source}/hw/xfree86/ramdac" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --with-xserver-source=${xserver_source} \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/xfs b/source/x/x11/configure/xfs
new file mode 100644
index 00000000..38f50c9a
--- /dev/null
+++ b/source/x/x11/configure/xfs
@@ -0,0 +1,12 @@
+CFLAGS=$SLKCFLAGS \
+CXXFLAGS=$SLKCFLAGS \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --disable-devel-docs \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/xkbcomp b/source/x/x11/configure/xkbcomp
new file mode 100644
index 00000000..91f8353f
--- /dev/null
+++ b/source/x/x11/configure/xkbcomp
@@ -0,0 +1,11 @@
+CFLAGS=$SLKCFLAGS \
+CXXFLAGS=$SLKCFLAGS \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --with-xkb-config-root=/etc/X11/xkb \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/xkeyboard-config b/source/x/x11/configure/xkeyboard-config
new file mode 100644
index 00000000..a5e05d6b
--- /dev/null
+++ b/source/x/x11/configure/xkeyboard-config
@@ -0,0 +1,13 @@
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-xkbcomp-symlink \
+ --enable-compat-rules \
+ --with-xkb-base=/etc/X11/xkb \
+ --with-xkb-rules-symlink=xfree86,xorg \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/xorg-docs b/source/x/x11/configure/xorg-docs
new file mode 100644
index 00000000..77bb98d8
--- /dev/null
+++ b/source/x/x11/configure/xorg-docs
@@ -0,0 +1,14 @@
+CFLAGS=$SLKCFLAGS \
+CXXFLAGS=$SLKCFLAGS \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-pdf=no \
+ --enable-ps=no \
+ --enable-html=no \
+ --build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/xorg-server b/source/x/x11/configure/xorg-server
new file mode 100644
index 00000000..b6660025
--- /dev/null
+++ b/source/x/x11/configure/xorg-server
@@ -0,0 +1,42 @@
+# Servers to build:
+BUILD_SERVERS="--enable-xorg \
+ --enable-xvfb \
+ --enable-xnest \
+ --enable-kdrive \
+ --enable-xephyr \
+ --enable-xsdl \
+ --enable-xfbdev"
+
+MESA_VERSION=${MESA_VERSION:-7.5}
+
+# Default font paths to be used by the X server
+DEF_FONTPATH="/usr/share/fonts/local,/usr/share/fonts/TTF,/usr/share/fonts/OTF,/usr/share/fonts/Type1,/usr/share/fonts/misc,/usr/share/fonts/CID,/usr/share/fonts/75dpi/:unscaled,/usr/share/fonts/100dpi/:unscaled,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/cyrillic"
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --with-pic \
+ --with-int10=x86emu \
+ --with-default-font-path="${DEF_FONTPATH}" \
+ --with-module-dir=/usr/lib${LIBDIRSUFFIX}/xorg/modules \
+ --with-dri-driver-path=/usr/lib${LIBDIRSUFFIX}/xorg/modules/dri \
+ --with-os-name="Slackware 13.0" \
+ --with-os-vendor="Slackware Linux Project" \
+ --with-mesa-source=/tmp/Mesa-${MESA_VERSION} \
+ --with-xkb-path=/etc/X11/xkb \
+ --with-xkb-output=/var/lib/xkb \
+ $BUILD_SERVERS \
+ --build=$ARCH-slackware-linux
+
+if [ "$ARCH" = "x86_64" ]; then
+ # To prevent the error "No rule to make target `-ldl'"
+ sed -i -e 's#-ldl##' hw/xfree86/Makefile
+ sed -i -e 's#-lm#-lm -ldl#' hw/xfree86/Makefile
+fi
+