summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rwxr-xr-xsource/ap/lxc/lxc.SlackBuild2
-rwxr-xr-xsource/x/mesa/mesa.SlackBuild2
-rw-r--r--source/x/x11/build/xkeyboard-config2
-rw-r--r--source/x/x11/configure/xkeyboard-config30
-rw-r--r--source/x/x11/make/xkeyboard-config5
-rw-r--r--source/x/x11/post-install/xkeyboard-config.post-install13
-rwxr-xr-xsource/xap/blueman/blueman.SlackBuild2
7 files changed, 29 insertions, 27 deletions
diff --git a/source/ap/lxc/lxc.SlackBuild b/source/ap/lxc/lxc.SlackBuild
index 031c2b79..023a384e 100755
--- a/source/ap/lxc/lxc.SlackBuild
+++ b/source/ap/lxc/lxc.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=lxc
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | rev | cut -f 2- -d -)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/x/mesa/mesa.SlackBuild b/source/x/mesa/mesa.SlackBuild
index 10cc1467..4328c788 100755
--- a/source/x/mesa/mesa.SlackBuild
+++ b/source/x/mesa/mesa.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mesa
VERSION=${VERSION:-$(echo $PKGNAM-[0-9]*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
DEMOVERS=${DEMOVERS:-8.4.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
BUILD_DEMOS=${BUILD_DEMOS:-YES}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
diff --git a/source/x/x11/build/xkeyboard-config b/source/x/x11/build/xkeyboard-config
index d00491fd..0cfbf088 100644
--- a/source/x/x11/build/xkeyboard-config
+++ b/source/x/x11/build/xkeyboard-config
@@ -1 +1 @@
-1
+2
diff --git a/source/x/x11/configure/xkeyboard-config b/source/x/x11/configure/xkeyboard-config
index a5e05d6b..fc2a5f14 100644
--- a/source/x/x11/configure/xkeyboard-config
+++ b/source/x/x11/configure/xkeyboard-config
@@ -1,13 +1,19 @@
-./configure \
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir build
+cd build
+meson setup \
--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
+ --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 \
+ -Dcompat-rules=true \
+ -Dxorg-rules-symlinks=true \
+ .. || exit 1
diff --git a/source/x/x11/make/xkeyboard-config b/source/x/x11/make/xkeyboard-config
new file mode 100644
index 00000000..635ee83d
--- /dev/null
+++ b/source/x/x11/make/xkeyboard-config
@@ -0,0 +1,5 @@
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+ ninja || exit 1
+ DESTDIR=$PKG ninja install || exit 1
+cd ..
diff --git a/source/x/x11/post-install/xkeyboard-config.post-install b/source/x/x11/post-install/xkeyboard-config.post-install
index 8446f064..92c64723 100644
--- a/source/x/x11/post-install/xkeyboard-config.post-install
+++ b/source/x/x11/post-install/xkeyboard-config.post-install
@@ -1,11 +1,2 @@
-# Move things into /etc/X11 that are supposed to be there:
-#mkdir -p $PKG/etc/X11
-#rm -rf $PKG/etc/X11/xkb
-#mv $PKG/usr/share/X11/xkb $PKG/etc/X11
-mkdir -p $PKG/usr/share/X11
-( cd $PKG/usr/share/X11 ; ln -sf ../../../etc/X11/xkb . )
-#( cd $PKG/etc/X11/xkb/rules
-# ln -sf base.lst xorg.lst
-# ln -sf base.xml xorg.xml
-# ln -sf base xorg
-#)
+mkdir -p $PKG/etc/X11
+( cd $PKG/etc/X11 ; ln -sf ../../usr/share/X11/xkb . )
diff --git a/source/xap/blueman/blueman.SlackBuild b/source/xap/blueman/blueman.SlackBuild
index 5c780faa..ca8c8c4f 100755
--- a/source/xap/blueman/blueman.SlackBuild
+++ b/source/xap/blueman/blueman.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=blueman
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then