SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That partially answers my request, but then again I assume once GRUB is potentially added to the installer as an option; the update to the howto will obviously follow accordingly anyways.
Tangent: Speaking of the installer, I still rather hoped that the outputs will still be changed - in terms of either choosing menu or expert - they are both exactly the same, so I still think either one (probably menu) , should be removed - if not at least the output should be changed to terse as it seems to be slightly accelerating the speed of the install.
It is possible
Since the release of 15.0 could not be delayed any longer, especially for " cosmetic " aspects
Maybe this kind of correction will come later
It is unfortunate, since even the likes of LibreOffice and vlc requires it - but that is not really an issue when you can build avahi yourself - now HPLIP requires it too, hopefully the library of avahi is enough, and that network capability still works - again at least that is the 'work-around', building just a library supposedly.
Usually if anything becomes a required dependency, it often gets added to avoid breaking support unless a suitable workaround is found that doesn't break other things also. If Avahi is required for hplip, chances are it'll just be added as-is, and any required dependencies also. Lots of stuff has gotten added to Slackware over the years nobody liked, but it never destroyed the distribution by being there.
New Japanese TTF fontset "IPA" instead of "Sazanami"
Hi,
Sorry for my long post below.
I'm using slackware for long time with Japanese language environment.
The Sazanami-ttf fonts which is included in slackware-15.0 is a nice and fair fonts as a basic Japanese font.
However, the last update of Sazanami-ttf is year 2004.
I'd like to request to adopt "IPA font family" instead of Sazanami-ttf. Please consider.
Description of IPA fonts from Debian package:
IPA Fonts are JIS X 0213:2004 compliant OpenType fonts based on TrueType outlines provided
by Information-technology Promotion Agency, Japan (IPA) from 2003. These are suitable for both display and printing.
Packages:
- ipa-fonts-ttf-00303-noarch-1
- ipaex-fonts-ttf-00301-noarch-1
- ghostscript-9.55.0-x86_64-2 (only change of "cidfmap") -- PLS refer attached gs-rendering result
- xpdf-4.03-x86_64-4 (only change of "xpdfrc") -- PLS refer attached xpdf view with IPA font
ipa-fonts-ttf.SlackBuild (the script was based on AlienBob(Mr.Eric)'s sazanami-fonts-ttf.SlackBuild. Thanks to Mr.Eric)
Code:
#!/bin/bash
# Copyright 2008, 2009 Eric Hameleers, Eindhoven, NL
# Copyright 2008, 2009, 2018 Patrick J. Volkerding, Sebeka, MN USA
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
# the above copyright notice and this permission notice appear in all
# copies.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR
# CONTRIBUTORS 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.
# -----------------------------------------------------------------------------
#
# Slackware SlackBuild script
# ===========================
# By: original-Author: Eric Hameleers <alien@slackware.com> (Thanks to Eric)
# modified By: J_W<shin1.abe@nifty.com>
# For: ipa-fonts-ttf (includes ipamjm)
# Descr: Japanese TrueType Unicode fonts
# URL: https://moji.or.jp/wp-content/ipafont/
#
#
# -----------------------------------------------------------------------------
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ipa-fonts-ttf
REALNAM=IPAfont
EXTRAFONT=ipamjm
VERSION=${VERSION:-00303}
EXTRAVER=${EXTRAVER:-00601}
ARCH=noarch
BUILD=${BUILD:-1}
# 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.txz"
exit 0
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
rm -rf $PKG
mkdir -p $TMP $PKG
# Font directory location depends on the X build prefix:
# Determine what X we're running (the modular X returns the prefix
# in the next command, while older versions stay silent):
XPREF=$(pkg-config --variable=prefix x11) || true
if [ "$XPREF" == "" ]; then
XPREF='/usr/X11R6'
FONTDIR="$XPREF/lib/X11/fonts/TTF"
else
FONTDIR="/usr/share/fonts/TTF"
fi
mkdir -p $PKG$FONTDIR
cd $TMP
unzip $CWD/${REALNAM}${VERSION}.zip || exit 1
cd ${REALNAM}${VERSION} || exit 1
unzip -o $CWD/${EXTRAFONT}${EXTRAVER}.zip || exit 1
mv Readme.txt Readme_${EXTRAFONT}${EXTRAVER}.txt
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -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 {} \+
# Install font:
cp *.ttf $PKG$FONTDIR/
# Post-install script:
mkdir -p $PKG/install
cat << EOT > $PKG/install/doinst.sh
# There's no need to chroot and do this during initial
# install, since there is a post-install script that
# does the same thing, saving time.
# Update X font indexes and the font cache:
if [ -x /usr/bin/mkfontdir ]; then
/usr/bin/mkfontscale $FONTDIR 2> /dev/null
/usr/bin/mkfontdir $FONTDIR 2> /dev/null
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache $FONTDIR 2> /dev/null
fi
EOT
# Add documentation:
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a IPA_Font_License_Agreement_v1.0.txt Readme_IPAfont00303.txt Readme_ipamjm00601.txt $PKG/usr/doc/$PKGNAM-$VERSION
find $PKG/usr/doc -type f -exec chmod 644 {} \+
# Add a package description:
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
# Build the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-${VERSION}-${ARCH}-${BUILD}.txz
slack-desc (ipa-fonts-ttf)
Code:
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
ipa-fonts-ttf: ipa-fonts-ttf (IPA Japanese TrueType 4 fonts package)
ipa-fonts-ttf:
ipa-fonts-ttf: IPA Fonts are JIS X 0213:2004 compliant OpenType fonts based on
ipa-fonts-ttf: TrueType outlines. The IPA fonts contain Hiragana, Katakana,
ipa-fonts-ttf: and Kanji/Han
ipa-fonts-ttf: This package also includes IPAmj-mincho font.
ipa-fonts-ttf:
ipa-fonts-ttf: Homepage: https://moji.or.jp/ipafont/
ipa-fonts-ttf: https://moji.or.jp/mojikiban/font/
ipa-fonts-ttf:
ipa-fonts-ttf:
ipaex-fonts-ttf.SlackBuild (the script was based on AlienBob(Mr.Eric)'s sazanami-fonts-ttf.SlackBuild. Thanks to Mr.Eric)
Code:
#!/bin/bash
# Copyright 2008, 2009 Eric Hameleers, Eindhoven, NL
# Copyright 2008, 2009, 2018 Patrick J. Volkerding, Sebeka, MN USA
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
# the above copyright notice and this permission notice appear in all
# copies.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR
# CONTRIBUTORS 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.
# -----------------------------------------------------------------------------
#
# Slackware SlackBuild script
# ===========================
# By: original-Author: Eric Hameleers <alien@slackware.com> (Thanks to Eric)
# modified By: J_W<shin1.abe@nifty.com>
# For: ipaex-fonts-ttf
# Descr: Japanese TrueType Unicode fonts
# URL: https://moji.or.jp/wp-content/ipaexfont/
#
# -----------------------------------------------------------------------------
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ipaex-fonts-ttf
REALNAM=IPAexfont
VERSION=${VERSION:-00301}
ARCH=noarch
BUILD=${BUILD:-1}
# 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.txz"
exit 0
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
rm -rf $PKG
mkdir -p $TMP $PKG
# Font directory location depends on the X build prefix:
# Determine what X we're running (the modular X returns the prefix
# in the next command, while older versions stay silent):
XPREF=$(pkg-config --variable=prefix x11) || true
if [ "$XPREF" == "" ]; then
XPREF='/usr/X11R6'
FONTDIR="$XPREF/lib/X11/fonts/TTF"
else
FONTDIR="/usr/share/fonts/TTF"
fi
mkdir -p $PKG$FONTDIR
cd $TMP
unzip $CWD/${REALNAM}${VERSION}.zip || exit 1
cd ${REALNAM}${VERSION} || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -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 {} \+
# Install font:
cp *.ttf $PKG$FONTDIR/
# Post-install script:
mkdir -p $PKG/install
cat << EOT > $PKG/install/doinst.sh
# There's no need to chroot and do this during initial
# install, since there is a post-install script that
# does the same thing, saving time.
# Update X font indexes and the font cache:
if [ -x /usr/bin/mkfontdir ]; then
/usr/bin/mkfontscale $FONTDIR 2> /dev/null
/usr/bin/mkfontdir $FONTDIR 2> /dev/null
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache $FONTDIR 2> /dev/null
fi
EOT
# Add documentation:
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a IPA_Font_License_Agreement_v1.0.txt Readme_IPAexfont00301.txt $PKG/usr/doc/$PKGNAM-$VERSION
find $PKG/usr/doc -type f -exec chmod 644 {} \+
# Add a package description:
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
# Build the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-${VERSION}-${ARCH}-${BUILD}.txz
slack-desc (ipaex-fonts-ttf)
Code:
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
ipaex-fonts-ttf: ipaex-fonts-ttf (IPAex Japanese TrueType 2 fonts package)
ipaex-fonts-ttf:
ipaex-fonts-ttf: IPAex Fonts are JIS X 0213:2012 compliant OpenType fonts
ipaex-fonts-ttf: based on TrueType outlines.
ipaex-fonts-ttf:
ipaex-fonts-ttf:
ipaex-fonts-ttf:
ipaex-fonts-ttf: Homepage: https://moji.or.jp/ipafont/
ipaex-fonts-ttf:
ipaex-fonts-ttf:
ipaex-fonts-ttf:
3.ghostscript (cidfmap)
In order to use IPA fonts as substitution fonts, cidfmap needs to be modified for IPA fonts.
OK. Sorry for the FUD below! I checked to see if I had the tomli module installed by doing a "locate tomli" search. What I failed to discern is that I did not have the python-tomli package actually installed!
While the issue below might actually occur, that was not the problem here. The problem I encountered was between the ears.
Jeff.
Please excuse my ignorance in this instance. Here is all I know:
I run a script to compile the out of kernel zfs modules after every new kernel upgrade. I got a compile error for python that seemed very cryptic about the python "tomli" module. So I did a little web searching and found that it had something to do with python-setuptools_scm. The bottom line is that the TOML issue was fixed in version 6.4.2.
For reference here is were the problem was discussed:
P.S. I had recently installed python-setuptools_scm as a knee-jerk reaction to solving another problem. So, I just uninstalled python-setuptools_scm and problem solved. But, this probably should be fixed. It appears other python packages may be affected.
P.P.S. I am on slackware-15.0 and didn't know exactly where to report this issue.
Last edited by jruby411; 03-10-2022 at 10:52 AM.
Reason: Clarified actual problem
1. Drop KDE (move it into SBo)
2. Replace that space/effort with Libre/Open Office or a likewise suite
win/win
Now all the KDE enjoyers can run in screaming. I can't help it; I just ain't gonna need it no more...
I guess YAGNI could apply here too?
If we in a hypothetical situation going to remove KDE like when pat removed GNOME, you got a suggestion for what should replace it? Do you think that XFCE is good enough on its own to be the DE of choice for slackware?
1. Drop KDE (move it into SBo)
2. Replace that space/effort with Libre/Open Office or a likewise suite
win/win
Now all the KDE enjoyers can run in screaming. I can't help it; I just ain't gonna need it no more...
I guess YAGNI could apply here too?
Quote:
Originally Posted by alnun
If we in a hypothetical situation going to remove KDE like when pat removed GNOME, you got a suggestion for what should replace it? Do you think that XFCE is good enough on its own to be the DE of choice for slackware?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.