Nothin' but Slackware

バイクとLinuxに戯れる日々

2022年05月

fprintd-1.94.x with pam_fprintd.so for slackware64-15.0

Thanks to the excellent work of Fabio Bas (ctrlaltca), slackware users can now use the latest version of libfprint/fprintd
on slackware64-15.0 environment that does not use systemd.

Here is my SlackBuild of fprintd testing package.
This script is based on ctrlaltca's original SBo SlackBuild of fprintd-1.94.2.
This package includes "pam_fprintd.so" in usr/lib64/security directory.

Thank you for Fabio Bas (ctrlaltca).

fprintd.SlackBuild for git source (commit: 2e16e2a6ce0d070b4ba0b2f169f914b150957457)
(Notes) libfprint-1.94.4 should be installed first.
[code]
#!/bin/bash

# Slackware build script for fprintd

# Copyright 2022 Fabio Bas <ctrlaltca {at} gmail [dot] com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=fprintd
VERSION=${VERSION:-1.94.2.git2e16e2a6}
SRCVERSION=${SRCVERSION:-2e16e2a6ce0d070b4ba0b2f169f914b150957457}
BUILD=${BUILD:-1}
TAG=${TAG:-jw}
PKGTYPE=${PKGTYPE:-txz}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i586 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
fi

if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
  echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
  exit 0
fi

TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVERSION
unzip $CWD/$PRGNAM-$SRCVERSION.zip
cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
  -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

# Disable tests since tehy require various python modules
sed '157,161 {s/^/#/}' -i meson.build
sed '207,208 {s/^/#/}' -i meson.build
sed -e "/subdir('tests')/ s/^#*/#/" -i meson.build


mkdir build
cd build
  CFLAGS="$SLKCFLAGS" \
  CXXFLAGS="$SLKCFLAGS" \
  meson .. \
    -Dsystemd=false \
    -Dpam=true \
    -Dlibsystemd=libelogind \
    -Dpam_modules_dir=/usr/lib64/security \

    --buildtype=release \
    --infodir=/usr/info \
    --libdir=/usr/lib${LIBDIRSUFFIX}  \
    --localstatedir=/var \
    --mandir=/usr/man \
    --prefix=/usr \
    --sysconfdir=/etc
  ninja
  DESTDIR=$PKG ninja install
cd ..

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

mkdir -p $PKG/usr/man
mv $PKG/usr/share/man/man* $PKG/usr/man
rmdir $PKG/usr/share/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mv $PKG/etc/fprintd.conf $PKG/etc/fprintd.conf.new

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
  README TODO AUTHORS COPYING NEWS \
  $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

fprintd.info
[code]
PRGNAM="fprintd"
VERSION="1.94.2.git2e16e2a6"
HOMEPAGE="https://fprint.freedesktop.org/"
DOWNLOAD="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/2e16e2a6ce0d070b4ba0b2f169f914b150957457/fprintd-2e16e2a6ce0d070b4ba0b2f169f914b150957457.zip"
MD5SUM="5fba03d3588d66b03711a42dd3b90206"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libfprint"
MAINTAINER="Fabio Bas"
EMAIL="ctrlaltca <at> gmail {dot} com"


[Notes] Be sure you have also installed libgusb package of SBo.

---
[2022-05-26] New
[2022-05-28] Added "Notes" about libgusb package which is required by linfprint.

alsa-plugins-1.2.6 (TEST package with pulse-sysdefault.diff from Arch)

alsa-plugins-1.2.6 package of slackware64-15.0 official
includes "/etc/alsa/conf.d/99-pulseaudio-default.conf.example" file.
This test package make effective 99-pulseaudio-default.conf.
I referred Arch linux's build scripts and patch for this package. Thank you Arch.

1. alsa-plugins.SlackBuild
[code]
#!/bin/bash

# Copyright 2015, 2018  Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cd $(dirname $0) ; CWD=$(pwd)

PKGNAM=alsa-plugins
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-2jw}

NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}

TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM

# Automatically determine the architecture we're building on:
MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
  case "$MARCH" in
    i?86)    export ARCH=i586 ;;
    armv7hl) export ARCH=$MARCH ;;
    arm*)    export ARCH=arm ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
    *)       export ARCH=$MARCH ;;
  esac
fi

if [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

# If this package is being built for ALSA (no PulseAudio), use the _alsa $TAG:
if [ ! -r /usr/lib${LIBDIRSUFFIX}/pkgconfig/libpulse.pc ]; then
  TAG="_alsa"
fi

# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
  echo "$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.txz"
  exit 0
fi

rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
# Add pulseaudio system defauklt patch (Thanks Arch)
zcat $CWD/pulse-sysdefault.diff.gz | patch -p1 --verbose || exit 1


chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
 -exec chmod 755 {} \+ -o \
 \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
 -exec chmod 644 {} \+

CFLAGS="$SLKCFLAGS -DHAVE_STDINT_H -DUSE_LIBSPEEX" \
CXXFLAGS="$SLKCFLAGS -DHAVE_STDINT_H -DUSE_LIBSPEEX" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --with-speex=lib \
  --enable-maemo-plugin \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PKGNAM-$VERSION \
  --build=$ARCH-slackware-linux || exit 1

make $NUMJOBS || make || exit 1
make install-strip DESTDIR=$PKG || exit 1

# Remove symlink that's breaking audio:
rm -f $PKG/etc/alsa/conf.d/98-maemo.conf

# make a proper off-by-default config template out of the example file
mv -v "$PKG/etc/alsa/conf.d/99-pulseaudio-default.conf.example" \
    "$PKG/usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf"


mkdir -p "$PKG/etc/alsa/conf.d"
ln -st "$PKG/etc/alsa/conf.d" /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf

mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
  doc/*.txt doc/README* \
  $PKG/usr/doc/$PKGNAM-$VERSION

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.txz

2. pulse-sysdefault.diff
[code]
diff -u -r alsa-plugins-1.2.2/pulse/99-pulseaudio-default.conf.example alsa-plugins-1.2.2-pulse-sysdefault/pulse/99-pulseaudio-default.conf.example
--- alsa-plugins-1.2.2/pulse/99-pulseaudio-default.conf.example    2020-02-19 09:35:42.000000000 +0000
+++ alsa-plugins-1.2.2-pulse-sysdefault/pulse/99-pulseaudio-default.conf.example    2020-05-13 10:04:28.446568563 +0000
@@ -2,6 +2,7 @@
 
 pcm.!default {
     type pulse
+    fallback "sysdefault"
     hint {
         show on
         description "Default ALSA Output (currently PulseAudio Sound Server)"
@@ -10,4 +11,5 @@
 
 ctl.!default {
     type pulse
+    fallback "sysdefault"
 }

3. slack-desc -- The same as that of official package

Note(1) : After updating to this test package, you don't need /etc/asound.conf.

=====
[update] 2022-05-10 : Added  "Note(1)"

gcolor3 with Japanese menu and LC_MESSAGES

gcolor3 is a GTK base color picker.
Unfortunately, the upstream source 2.3.1 does not support Japanese language.

Here is my personal package of gcolor3-2.3.1 with Japanese language support for slackware64-15.0.

1. Source
gcolor3.info
[code]
PRGNAM="gcolor3"
VERSION="2.3.1"
HOMEPAGE="https://gitlab.gnome.org/World/gcolor3"
DOWNLOAD="https://gitlab.gnome.org/World/gcolor3/-/archive/v2.3.1/gcolor3-v2.3.1.tar.gz"
MD5SUM="a611dbb3ee2561dbc70eb59aa473b10d"
DOWNLOAD_x86_64="direct download link(s) of application source tarball(s), x86_64 only"
MD5SUM_x86_64=""
REQUIRES="%README%"
MAINTAINER="JW(Shinichi Abe)"
EMAIL="shin1.abe@nifty.com"

2. SlackBuild
gcolor3.SlackBuild
[code]
#!/bin/sh

# Slackware build script for gcolor3

# Copyright 2021 JW(Shinichi Abe) <shin1.abe@nifty.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PRGNAM=gcolor3
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-jw}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i586 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
# Apply debian patch (fix eye-drop picker)
zcat $CWD/G_PARAM_PRIVATE-deprecation.patch.gz | patch -p1 --verbose || exit 1
# Apply Japanese translation
zcat $CWD/gcolor3-Add_ja.po_v1.2.patch.gz | patch -p1 --verbose || exit 1


chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
  -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

mkdir build
cd build
  CFLAGS="$SLKCFLAGS" \
  CXXFLAGS="$SLKCFLAGS" \
  meson .. \
    --buildtype=release \
    --infodir=/usr/info \
    --libdir=/usr/lib${LIBDIRSUFFIX} \
    --localstatedir=/var \
    --mandir=/usr/man \
    --prefix=/usr \
    --sysconfdir=/etc
  ninja
  DESTDIR=$PKG ninja install
cd ..

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done

#rm -f $PKG/usr/info/dir
#gzip -9 $PKG/usr/info/*.info*

find $PKG -name perllocal.pod \
  -o -name ".packlist" \
  -o -name "*.bs" \
  | xargs rm -f

mkdir -p $PKG/usr/share/pixmaps
cp -a $CWD/nl.hjdskes.gcolor3.png $PKG/usr/share/pixmaps/nl.hjdskes.gcolor3.png

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
  LICENSE  $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}


3. nosrc file which includes build-script and patches

This file includs ..
  - README
  - slack-desc
  - doinst.sh
  - gcolor3.info
  - gcolor3.SlackBuild
  - G_PARAM_PRIVATE-deprecation.patch.gz 
  - gcolor3-Add_ja.po_v1.2.patch.gz 
  - nl.hjdskes.gcolor3.png


4. Screenshot
gcolor3_w_Japanese_LC_Messages_2022-05-06



 

MPlayer package with Japanese GUI menu for slackware64-15.0

The official MPlayer package of slackware64-15.0 does not support Japanese language on GUI menu.
Here is a how to create MPlayer package with Japanese GUI menu.

1. Base SlackBuild
    The base SlackBuild is an official MPlayer.SlackBuild.

2. Sources
    2-1. Mplayer source : mplayer-export-snapshot.tar.bz2 (The latest snapshot will be fine.)

           I created MPlayer-20220301.tar.xz file as follows.
           ------------------------------------------------------------------
           wget http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2
           tar xvf mplayer-export-snapshot.tar.bz2
           mv mplayer-export-2022-03-01 MPlayer-20220301
           ※ If DATE of the decompressed folder name shows YYYY-MM-DD,
           mv mplayer-export-YYYY-MM-DD MPlayer-YYYYMMDD

           tar cJvf MPlayer-20220301.tar.xz MPlayer-20220301/
           (tar cJvf MPlayer-YYYYMMDD.tar.xz MPlayer-YYYYMMDD/)
           ------------------------------------------------------------------

    2-2. Skin : Blue-multilingual-1.13.7.tar.bz2

3. New SlackBuild for japanese GUI menu

diff to official SlackBuild
[code]
--- MPlayer.SlackBuild    2021-04-19 03:11:00.000000000 +0900
+++ MPlayer.SlackBuild.new    2022-05-06 13:46:36.820715582 +0900
@@ -25,11 +25,11 @@
 # Set initial variables:
 
 PKGNAM=MPlayer
-VERSION=${VERSION:-20210418}
+VERSION=${VERSION:-20220301}
 # Need to build trunk until there's a stable branch compatible with the
 # latest ffmpeg stable release:
 #BRANCH=${BRANCH:-1.3}        # leave empty if you want to build MPlayer trunk
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-1jw}
 TAG=${TAG:-}
 NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
 
@@ -46,11 +46,11 @@
   MPBRANCH="trunk"
 fi
 
-DEFSKIN=${DEFSKIN:-"Blue"}  # Download more skins at the following url:
-SKINVER=${SKINVER:-"1.13"}   # http://www.mplayerhq.hu/design7/dload.html
+DEFSKIN=${DEFSKIN:-"Blue-multilingual"}  # Download more skins at the following url:
+SKINVER=${SKINVER:-"1.13.7"}   # http://www.mplayerhq.hu/design7/dload.html
 
 # Available languages: all cs de en es fr hu it pl ru zh_CN
-LANGUAGES="en,de,es,fr"
+LANGUAGES="all"
 
 # Automatically determine the architecture we're building on:
 MARCH=$( uname -m )


4. Screenshot

MPlayer-with-Japanese-GUI-menu


5. For user who wants to use MPlayer-1.5 (stable release) with internal ffmpeg (FFMPEG5)
 
   
    Edit following line of MPlayer.SlackBuild

    --disable-ffmpeg_a \ 
    TO
    --disable-ffmpeg_so \





Noto Fonts (my update packages)

These are not slackware's official packages but my personal update packages for slackware64-15.0.
 
   Noto-Sans-CJK

   Noto-Serif-CJK
 
[packages]
- noto-cjk-fonts-ttf-20220126-noarch-1jw.txz
- noto-fonts-ttf-20201206-noarch-1jw.txz
- noto-emoji-2.034-noarch-1jw.txz

[sources for each packages]
- For noto-cjk-fonts-ttf
   Noto Sans CJK Version 2.004 - All Static Language Specific OTCs
   url="https://github.com/googlefonts/noto-cjk/releases/download/Sans2.004/03_NotoSansCJK-OTC.zip"

   Noto Serif CJK Version 2.001 - Static OTCs
   url="https://github.com/googlefonts/noto-cjk/releases/download/Serif2.001/04_NotoSerifCJKOTC.zip"

- For noto-fonts-ttf
   Noto fonts v20201206-phase3 as of 2020.12.06
   url="https://github.com/googlei18n/noto-fonts/archive/v20201206-phase3.tar.gz"
   (downloaded file name is noto-fonts-20201206-phase3.tar.gz )

- For noto-emoji
   Noto Emoji V2.034
   url="https://github.com/googlefonts/noto-emoji/archive/refs/tags/v2.034.tar.gz"
   (downloaded file name is noto-emoji-2.034.tar.gz )

[SlackBuild]
My build scripts (Noto-fonts_20220503-nosrc.tar.xz) is here.

===
<Acknowledgment>
  My build scripts refers Plamolinux's package scripots for their Noto fonts packages.
  Thanks to Plamolinux.

Links:



ギャラリー
  • deepl-clip.sh で簡単翻訳 [更新:2025-04-29]
  • Avidemux 2.8.2_20250323_7cf15b3
  • Avidemux 2.8.2_20250323_7cf15b3
  • Avidemux 2.8.x with Qt6 GUI
  • Avidemux 2.8.x with Qt6 GUI
  • MEGAcmd-2.0.0_Linux
  • gcolor3 with Japanese menu and LC_MESSAGES
  • avidemux2 TEST package from the latest git source (on jul.23.2024)
  • fcitx5-mozc-2.29.5135.102.1 (15jw) -- Added "merge-ut-dictionaries"