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/intel-gpu-tools4
-rw-r--r--source/x/x11/configure/xcb-proto35
-rw-r--r--source/x/x11/configure/xf86-video-intel11
-rw-r--r--source/x/x11/configure/xorg-server6
-rw-r--r--source/x/x11/configure/xorgproto18
5 files changed, 65 insertions, 9 deletions
diff --git a/source/x/x11/configure/intel-gpu-tools b/source/x/x11/configure/intel-gpu-tools
index d996de5c..a5e0db8a 100644
--- a/source/x/x11/configure/intel-gpu-tools
+++ b/source/x/x11/configure/intel-gpu-tools
@@ -1,6 +1,6 @@
CFLAGS=$SLKCFLAGS \
CXXFLAGS=$SLKCFLAGS \
-./configure \
+./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -9,5 +9,5 @@ CXXFLAGS=$SLKCFLAGS \
--mandir=/usr/man \
--docdir=/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION} \
--disable-static \
- --disable-dumper \
+ --disable-tests \
--build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/xcb-proto b/source/x/x11/configure/xcb-proto
new file mode 100644
index 00000000..2df1aaf7
--- /dev/null
+++ b/source/x/x11/configure/xcb-proto
@@ -0,0 +1,35 @@
+mkdir python2 python3
+
+cd python2
+ CFLAGS=$SLKCFLAGS \
+ CXXFLAGS=$SLKCFLAGS \
+ PYTHON=python3 \
+ ../configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION} \
+ --with-udev-rules-dir=/lib/udev/rules.d \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+cd -
+
+cd python3
+ CFLAGS=$SLKCFLAGS \
+ CXXFLAGS=$SLKCFLAGS \
+ PYTHON=python \
+ ../configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION} \
+ --with-udev-rules-dir=/lib/udev/rules.d \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+cd -
diff --git a/source/x/x11/configure/xf86-video-intel b/source/x/x11/configure/xf86-video-intel
index d744b329..88581a1e 100644
--- a/source/x/x11/configure/xf86-video-intel
+++ b/source/x/x11/configure/xf86-video-intel
@@ -1,5 +1,11 @@
-CFLAGS=$SLKCFLAGS \
-CXXFLAGS=$SLKCFLAGS \
+# xf86-video-intel requires SSE2 instructions on 32-bit x86:
+ALTCFLAGS="$SLKCFLAGS"
+case "$( uname -m )" in
+ i?86) ALTCFLAGS="-O2 -march=i686 -mtune=i686 -msse2" ; PKGARCH=i686 ;;
+esac
+
+CFLAGS="$ALTCFLAGS" \
+CXXFLAGS="$ALTCFLAGS" \
./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -11,4 +17,5 @@ CXXFLAGS=$SLKCFLAGS \
--disable-static \
--enable-kms-only \
--enable-uxa \
+ --with-default-dri=3 \
--build=$ARCH-slackware-linux
diff --git a/source/x/x11/configure/xorg-server b/source/x/x11/configure/xorg-server
index 755b565d..1ebd6346 100644
--- a/source/x/x11/configure/xorg-server
+++ b/source/x/x11/configure/xorg-server
@@ -6,11 +6,7 @@ BUILD_SERVERS="--enable-xorg \
--enable-glamor \
--enable-kdrive \
--enable-xephyr \
- --enable-xfbdev \
--enable-config-udev \
- --enable-kdrive-evdev \
- --enable-kdrive-kbd \
- --enable-kdrive-mouse \
--disable-config-hal \
--disable-systemd-logind"
@@ -36,7 +32,7 @@ CFLAGS="$SLKCFLAGS" \
--with-int10=x86emu \
--with-default-font-path="${DEF_FONTPATH}" \
--with-module-dir=/usr/lib${LIBDIRSUFFIX}/xorg/modules \
- --with-os-name="Slackware 14.2" \
+ --with-os-name="Slackware 15.0" \
--with-os-vendor="Slackware Linux Project" \
--with-xkb-path=/etc/X11/xkb \
--with-xkb-output=/var/lib/xkb \
diff --git a/source/x/x11/configure/xorgproto b/source/x/x11/configure/xorgproto
new file mode 100644
index 00000000..f95c810b
--- /dev/null
+++ b/source/x/x11/configure/xorgproto
@@ -0,0 +1,18 @@
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir build
+cd build
+meson setup \
+ --prefix=/usr \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir /usr/libexec \
+ --bindir /usr/bin \
+ --sbindir /usr/sbin \
+ --includedir /usr/include \
+ --datadir /usr/share \
+ --mandir /usr/man \
+ --sysconfdir /etc \
+ --localstatedir /var \
+ --buildtype=release \
+ -Dlegacy=true \
+ .. || exit 1