LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Requests for -current (14.2-->15.0) (https://www.linuxquestions.org/questions/slackware-14/requests-for-current-14-2-15-0-a-4175620463/)

cwizardone 04-21-2018 09:12 AM

xfce4-settings-4.12.3

The tarball, https://archive.xfce.org/src/xfce/xf...4.12.3.tar.bz2

Release notes, https://mail.xfce.org/pipermail/xfce...ch/000589.html

Drakeo 04-21-2018 02:35 PM

Quote:

Originally Posted by ponce (Post 5799209)
as we have often experienced people will whine in either case so the whining shouldn't really matter when deciding, IMHO ;)

well it is 2018 and qt5 has broke more than help in SLACKBUILDS. Ponce your work and Ideal is the best of the best. but a channel of input is the need for filters. screw fmod we built a direct drop in 3 years ago. KISS
this is slackware current. 3 years no qt5 . Why Ponce. 3 years all my work stable. KISS.
had to filter you.
Ponce for slk 15 how do i set up my team to devel. why f donate if you want to break Pat's work.
Pat you can pat Ponce's back. He deserves it. But crap in a basket is a blob.
make it work 4 ---15 stop the bs. so teams can use the tools and KISS per distro. or FO

Drakeo 04-21-2018 02:49 PM

Quote:

Originally Posted by ponce (Post 5799209)
as we have often experienced people will whine in either case so the whining shouldn't really matter when deciding, IMHO ;)

dude whine your the f whiner grow up clean your blobs oh spend it.
you ability to use git is omg bad

Didier Spaier 04-21-2018 02:59 PM

Drako: It looks rather strange to answer post #15 of a thread in posts #1052 and 1053 of the same thread. Maybe because of this (or because English is not my native language?) I can hardly understand these posts.

orbea 04-21-2018 03:03 PM

Quote:

Originally Posted by Didier Spaier (Post 5845992)
Maybe because of this (or because English is not my native language?) I can hardly understand these posts.

Your English is fine and its not your language ability that makes these posts hard to understand. They are just incoherent and lack context...

Alien Bob 04-21-2018 03:09 PM

Quote:

Originally Posted by orbea (Post 5845994)
Your English is fine and its not your language ability that makes these posts hard to understand. They are just incoherent and lack context...

My guess: a bad case of too much booze or dope. These two posts make no sense whatsoever. Drakeo you can do so much better!

cwizardone 04-21-2018 03:09 PM

That was fast!
Many Thanks!

Quote:

Sat Apr 21 17:39:25 UTC 2018
a/lvm2-2.02.177-x86_64-1.txz: Upgraded.
a/pkgtools-15.0-noarch-9.txz: Rebuilt.
installpkg: fixed occasional lack of package size reported by the installer.
d/binutils-2.30-x86_64-3.txz: Rebuilt.
Fixed /usr/$TARGET/lib directory. Thanks to GazL.
n/gpgme-1.11.1-x86_64-1.txz: Upgraded.
n/ppp-2.4.7-x86_64-3.txz: Rebuilt.
Fixed rp-pppoe build. Thanks to voegelas for the bug report.
xfce/xfce4-settings-4.12.3-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
usb-and-pxe-installers/usbboot.img: Rebuilt.
+--------------------------+

Nate_KS 04-21-2018 08:17 PM

In post #399, @GazL mentioned some modifications for setting the MANPATH environment variable.

As man-db is now in Current and has the capability of dynamically determining the directories to find man hierarchies from the PATH variable, having MANPATH set short circuits this capability. I (using Bash) found that /etc/profile sets MANPATH as does /etc/profile.d/openjdk.sh. By commenting out the line in each file, manpath(1) can dynamically determine the man paths. Quite likely users of csh would benefit from not having MANPATH set either.

When MANPATH is set, running manpath results in it printing a warning message and $MANPATH is printed instead of a dynamically determined man path.

RadicalDreamer 04-21-2018 09:16 PM

Quote:

Originally Posted by Didier Spaier (Post 5845992)
Drako: It looks rather strange to answer post #15 of a thread in posts #1052 and 1053 of the same thread. Maybe because of this (or because English is not my native language?) I can hardly understand these posts.

Slackware 15 needs qt5 because newer versions of software requires it.

orbea 04-21-2018 11:01 PM

...

Darth Vader 04-21-2018 11:07 PM

Quote:

Originally Posted by RadicalDreamer (Post 5846087)
Slackware 15 needs qt5 because newer versions of software requires it.

Yeah, but pushing the Qt5 as dependency to a SlackBuild for Slackware 14.1 by the SBO guys, well... that's exaggerated. ;)

Qt5 is a monster difficult to tame, and I can understand the frustration of those who try to deal with.

Imagine that you get a 6 hours, if not more, of compilation for something like SMPlayer, for example.

RadicalDreamer 04-22-2018 01:21 AM

Quote:

Originally Posted by Darth Vader (Post 5846112)
Yeah, but pushing the Qt5 as dependency to a SlackBuild for Slackware 14.1 by the SBO guys, well... that's exaggerated. ;)

Qt5 is a monster difficult to tame, and I can understand the frustration of those who try to deal with.

Imagine that you get a 6 hours, if not more, of compilation for something like SMPlayer, for example.

That monster shall be tamed. No more commits since Sept 2016 for 14.1 if I'm reading the log correctly at SlackBuilds. SMPlayer in 14.1 doesn't mention qt5. I'm :confused:. Well I better not help derail this thread.

I should post something relevant to the thread:
One thing I'd like slackpkg to do is to ignore random key presses. When the screen goes dark and you have to press a key to get it back it messes up the answers to the questions at the end like lilo (y/n). I had to do a chkdsk on Windows 10 because of that.

magicm 04-22-2018 07:28 AM

@RadicalDreamer

Quote:

One thing I'd like slackpkg to do is to ignore random key presses. When the screen goes dark and you have to press a key to get it back it messes up the answers to the questions at the end like lilo (y/n). I had to do a chkdsk on Windows 10 because of that.
Not restricting myself to slackpkg - but whenever 'the screen goes dark', my experience is that most processes will restore the screen if you press 'shift', but not interpret that as a 'keypress'

GazL 04-22-2018 07:34 AM

Quote:

Originally Posted by Nate_KS (Post 5846073)
In post #399, @GazL mentioned some modifications for setting the MANPATH environment variable.

As man-db is now in Current and has the capability of dynamically determining the directories to find man hierarchies from the PATH variable, having MANPATH set short circuits this capability. I (using Bash) found that /etc/profile sets MANPATH as does /etc/profile.d/openjdk.sh. By commenting out the line in each file, manpath(1) can dynamically determine the man paths. Quite likely users of csh would benefit from not having MANPATH set either.

When MANPATH is set, running manpath results in it printing a warning message and $MANPATH is printed instead of a dynamically determined man path.

The man programs provided by man-db aren't the only programs that might use MANPATH however, so that needs to be considered. One approach could be to do something like MANPATH=$(manpath -q) in /etc/profile in order to support these other programs. Whether that's better than just hard-coding the path or not, I'm undecided on.

P.S.
The manpath utility has some nice features for appending/prepending paths, without having to do the MANPATH=$MANPATH:/wibble/man thingy. e.g.
Code:

$ MANPATH="/wibble/man:" manpath -q
/wibble/man:/usr/local/man:/usr/man
$ MANPATH=":/wibble/man" manpath -q
/usr/local/man:/usr/man:/wibble/man
$


Ne01eX 04-22-2018 08:33 AM

1 Attachment(s)
glib-bin.fix_for_python3.patch

This small patch allows you to use python3 into this scripts:
* gdbus-codegen
* glib-genmarshal
* glib-mkenums
* gtester-report

To use this patch, place somewhere in glib2.SlackBuild (after compiling and make install DESTDIR=$PKG) these lines:

Code:

#This patch allows you to use python3 into this scripts:
#* gdbus-codegen
#* glib-genmarshal
#* glib-mkenums
#* gtester-report
( cd $PKG/usr/bin ; patch -p1 --verbose < $CWD/glib-bin.fix_for_python3.patch || exit 1 )

Tested and it work with glib-2.56.0, glib-2.56.1.

Best regards, Aleksandr "Ne01eX" Sayfulin.


Daedra 04-22-2018 11:13 PM

Just reinstalled -current x86_64 in a VM today and noticed that the config file in the boot directory is a dead symlink pointing to config-huge-4.4.35. Looks like its dead because it should be pointing to config-huge-4.4.35.x64?

gmgf 04-23-2018 02:17 AM

gutenprint-5.2.14:

http://gimp-print.sourceforge.net/
https://sourceforge.net/projects/gim...nt-5.2/5.2.14/

gmgf 04-23-2018 11:18 AM

perl(URI-1.74):

http://search.cpan.org/dist/URI/
http://search.cpan.org/CPAN/authors/...RI-1.74.tar.gz

gmgf 04-23-2018 11:31 AM

meson-0.46.0:

http://mesonbuild.com/Release-notes-for-0-46-0.html
https://github.com/mesonbuild/meson/...-0.46.0.tar.gz

orbea 04-24-2018 01:29 PM

I took a look at the imagemagick.SlackBuild and noticed it has both --disable-opencl and --enable-opencl. Should it really have both? I was under the impression that imagemagick should no longer link to opencl in Slackware current? Personally I have noticed it still is in at least some places.
Code:

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --mandir=/usr/man \
  --sysconfdir=/etc \
  --program-prefix= \
  --with-x \
  --with-frozenpaths=no \
  --with-modules \
  --disable-opencl \
  --disable-openmp \
  --enable-hdri \
  --enable-static=no \
  --enable-shared \
  --with-gcc-arch=$ARCH \
  --with-perl \
  --with-perl-options="INSTALLDIRS=vendor" \
  --with-rsvg \
  --enable-opencl \
  --build=$ARCH-slackware-linux || exit 1


qunying 04-24-2018 03:22 PM

In gcc-gnat-7.3.0-x86_64-2 package, there is no longer dynamic libs for

/usr/lib64/gcc/x86_64-slackware-linux/7.3.0/adalib/libgnarl-7.so
/usr/lib64/gcc/x86_64-slackware-linux/7.3.0/adalib/libgnarl.so

/usr/lib64/gcc/x86_64-slackware-linux/7.3.0/adalib/libgnat-7.so
/usr/lib64/gcc/x86_64-slackware-linux/7.3.0/adalib/libgnat.so

While trying to rebuild it from official build script, they are available in the final package.

It would be better to include the dynamic libs.

Alien Bob 04-24-2018 03:40 PM

Quote:

Originally Posted by qunying (Post 5847065)
In gcc-gnat-7.3.0-x86_64-2 package, there is no longer dynamic libs for

/usr/lib64/gcc/x86_64-slackware-linux/7.3.0/adalib/libgnarl-7.so
/usr/lib64/gcc/x86_64-slackware-linux/7.3.0/adalib/libgnarl.so

/usr/lib64/gcc/x86_64-slackware-linux/7.3.0/adalib/libgnat-7.so
/usr/lib64/gcc/x86_64-slackware-linux/7.3.0/adalib/libgnat.so

While trying to rebuild it from official build script, they are available in the final package.

It would be better to include the dynamic libs.


It would seem strange that the official packages built with the official script do not contain these libraries, would you not agree?
By the way, my multilib version of gcc-gnat does contain these libraries, but I had to make some modifications to the SlackBuild to achieve that.

Ne01eX 04-24-2018 10:17 PM

<skip>


orbea 04-24-2018 10:32 PM

Quote:

Originally Posted by Ne01eX (Post 5847172)
This will build with open-cl support (will be use last set). In Slackware, everything is built with open-cl support by default. :-)


Here it is not clear: where is the face, and where is the snout...
Victor Tsoy - We are with you / Виктор Цой - Нам с тобой

In case you missed it, it was a big changelog! :)
Code:

Thu Apr 19 01:04:06 UTC 2018
l/imagemagick-6.9.9_40-x86_64-2.txz: Rebuilt.
      Don't use OpenCL. Thanks to EdGr.

http://www.slackware.com/changelog/c...php?cpu=x86_64

Ne01eX 04-24-2018 11:45 PM

Quote:

Originally Posted by orbea (Post 5847176)
In case you missed it, it was a big changelog! :)
Code:

Thu Apr 19 01:04:06 UTC 2018
l/imagemagick-6.9.9_40-x86_64-2.txz: Rebuilt.
      Don't use OpenCL. Thanks to EdGr.

http://www.slackware.com/changelog/c...php?cpu=x86_64

Sorry, I really missed it. :-\

Currently, I just get rid of opencl wherever it is not needed. Not only in ImageMagick, but also in other packs. In to my "fork" (read as "dining fork")... :D

Now I'll delete my stupid previous message. :D

In any case, it needs to be fixed. :)


gmgf 04-25-2018 12:42 AM

btrfs-progs-4.16.1:

https://mirrors.edge.kernel.org/pub/...v4.16.1.tar.xz

aaazen 04-25-2018 07:57 AM

Quote:

Originally Posted by Daedra (Post 5846408)
Just reinstalled -current x86_64 in a VM today and noticed that the config file in the boot directory is a dead symlink pointing to config-huge-4.4.35. Looks like its dead because it should be pointing to config-huge-4.4.35.x64?

I think you mean that "config" should be pointing to "config-huge-4.14.35.x64" and the answer is yes.

I thought it was a typo on March 8, but Patrick informed me that it is a permanent change with x86_64 current update.

This link is mainly informational.

Another source for the config of the running kernel is /proc/config.gz

Ne01eX 04-25-2018 12:03 PM

Quote:

Originally Posted by Ne01eX (Post 5847186)
Sorry, I really missed it. :-\

Currently, I just get rid of opencl wherever it is not needed. Not only in ImageMagick, but also in other packs. In to my "fork" (read as "dining fork")... :D

Now I'll delete my stupid previous message. :D

In any case, it needs to be fixed. :)


However, Patrick builded it with OpenCL. :)

If you unsure, always look: /usr/lib64/pkgconfig/ImageMagick.pc (and others, this is simple text files),
or look output of ldd:

Code:

ldd /usr/lib64/libMagick*
Best regards, Ne01eX.


gmgf 04-25-2018 12:52 PM

poppler-data-0.49:

https://poppler.freedesktop.org/popp...a-0.4.9.tar.gz

gmgf 04-26-2018 06:36 AM

php-7.2.5:

http://php.net/ChangeLog-7.php#7.2.5
http://php.net/get/php-7.2.5.tar.xz/from/a/mirror

khronosschoty 04-26-2018 11:03 AM

Could we get Jackd audio support in 15?

Ne01eX 04-26-2018 11:06 AM

1 Attachment(s)
0. I did not find any records in the libwmf documentation, - why do I need to named some fonts (Numbus Sans L, Numbus Roman No9 L, Numbus Mono L, Standart Symbols L) instead others (Helvetica, Times, Courier, Symbol)?

Perhaps this is an old dirty hack for old HP printers? (I have not printed anything on the printer for about five years, and so I do not remember). :)

1. In any case, these are old fonts without Cyrillic support. I suggest using the default system fonts instead of them from the set ghostscipt-fonts-std. They are newer and better. :)

2. I suggest using the same for our branches names for packages with documentation (libwmf-doc instead of libwmf-docs)


I propose to look at my libwmf.SlackBuild for more details.

Best regards, Standartenführer S and R, Aleksandr "Ne01eX" Sayfulin.


gmgf 04-26-2018 12:37 PM

openvpn-2.4.6:

https://community.openvpn.net/openvp...gesInOpenvpn24
https://swupdate.openvpn.org/communi...n-2.4.6.tar.xz

gmgf 04-27-2018 03:05 AM

xfsprogs-4.16.0:

https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/
https://mirrors.edge.kernel.org/pub/...-4.16.0.tar.xz

franzen 04-27-2018 04:55 AM

Quote:

Originally Posted by Ne01eX (Post 5847698)

1. In any case, these are old fonts without Cyrillic support. I suggest using the default system fonts instead of them from the set ghostscipt-fonts-std. They are newer and better. :)

...

I propose to look at my libwmf.SlackBuild for more details.

A diff would be more easy to read.
The newest ps-fonts are provided by ghostscript-9.23 in slackware, however there are some incompatibilities regarding the original base35 fonts.

I cant't test at the moment, but for using ghostscipt-9.23 fonts, and looking at the arch buildscript, this seems more
reasonable:
Code:

--with-gsfontdir=/usr/share/ghostscript/9.23/Resource/Font/ \
--with-gsfontmap=/usr/share/ghostscript/9.23/Resource/Init/Fontmap.GS


Ne01eX 04-27-2018 07:18 AM

ap/usbmuxd.SlackBuild:

Please, repost so that he puts it in his script:

Code:

# Install our own udev rule to prevent getting systemd'd without warning.
# Plus, the generated rule calls the wrong binary name anyway.
if [ ! -d "$PKG/lib/udev/rules.d" ]; then
    install -d -m 0755 $PKG/lib/udev/rules.d
    zcat $CWD/39-usbmuxd.rules.gz > $PKG/lib/udev/rules.d/39-usbmuxd.rules
fi

Best regards, Standartenführer S and R, Aleksandr "Ne01eX" Sayfulin.


gmgf 04-27-2018 07:27 AM

nano-2.9.6:

https://www.nano-editor.org/news.php
https://www.nano-editor.org/dist/v2.9/nano-2.9.6.tar.xz

ponce 04-27-2018 07:29 AM

Quote:

Originally Posted by Ne01eX (Post 5847927)
ap/usbmuxd.SlackBuild:

Please, repost so that he puts it in his script:

Code:

# Install our own udev rule to prevent getting systemd'd without warning.
# Plus, the generated rule calls the wrong binary name anyway.
if [ ! -d "$PKG/lib/udev/rules.d" ]; then
    install -d -m 0755 $PKG/lib/udev/rules.d
    zcat $CWD/39-usbmuxd.rules.gz > $PKG/lib/udev/rules.d/39-usbmuxd.rules
fi

Best regards, Standartenführer S and R, Aleksandr "Ne01eX" Sayfulin.


can you please stop with this? I ask you this as a personal courtesy as I find this term really offensive (my eyes hurt), thanks in advance!

Ne01eX 04-27-2018 10:38 AM

Quote:

Originally Posted by ponce (Post 5847938)
can you please stop with this "führer" shit? I ask you this as a personal courtesy as I find this term really offensive (my eyes hurt), thanks in advance!

0. It's just a word. It is neither bad nor good. This word.

1. Well, I ask you for a courtesy for me: to repost my technical messages (both previous and future) for Patrick (I'm not sure he is reading my messages). Thanks in advance! :D

Ne01eX 04-27-2018 10:42 AM

Quote:

Originally Posted by franzen (Post 5847896)
A diff would be more easy to read.
The newest ps-fonts are provided by ghostscript-9.23 in slackware, however there are some incompatibilities regarding the original base35 fonts.

I cant't test at the moment, but for using ghostscipt-9.23 fonts, and looking at the arch buildscript, this seems more
reasonable:
Code:

--with-gsfontdir=/usr/share/ghostscript/9.23/Resource/Font/ \
--with-gsfontmap=/usr/share/ghostscript/9.23/Resource/Init/Fontmap.GS


I wrote that the fonts that are bundled with libwmf are obsolete and are not needed. In my SlackBuild this is fixed. :-)

Darth Vader 04-27-2018 10:42 AM

Comrade Ne01eX, I understand your lack of knowledge in the national-socialist terminology, as may be expected from someone born as Russian and raised in Soviet Union, BUT please be aware that "Mein Führer" was the official calling of Adolf Hitler, also with a similar sense like "His Excellency"

However, please also note that in today German language "Mein Führer" is highly derogatorily; for example if you call this way your CEO while talking with your colleagues, has literally a sense similar with "that SoB who will end in misery, taking a poison pill together with his blood-related mistress, but not before dooming our company"

I know, I know, the Deutsche Sprache can be a bitch - better stay away of it, if you do not handle it properly... ;)

cwizardone 04-27-2018 11:32 AM

Gimp-2.10.0

Quote:

The long-awaited GIMP 2.10.0 is finally here! This is a huge release, which contains the result of 6 long years of work (GIMP 2.8 was released almost exactly 6 years ago!) by a small but dedicated core of contributors....
Release notes, https://www.gimp.org/news/2018/04/27...10-0-released/

The tarball, https://download.gimp.org/pub/gimp/v...2.10.0.tar.bz2

ziprun 04-27-2018 11:58 AM

Quote:

Originally Posted by cwizardone (Post 5848008)

We can expect gimp for slackware to be updated very soon, yes?

gmgf 04-27-2018 12:29 PM

hplip-3.18.4:

https://developers.hp.com/hp-linux-i.../release_notes
https://datapacket.dl.sourceforge.ne...-3.18.4.tar.gz

Ne01eX 04-27-2018 01:07 PM

Quote:

Originally Posted by ziprun (Post 5848021)
We can expect gimp for slackware to be updated very soon, yes?

I'm use GIMP-2.10.x since RC1. For update, need this:

1. update babl and gegl to latest.
2. New dependencies: libspiro, libmypaint, mypaint-brushes. Also, I'm built The GIMP with lensfun and gexiv2 (it's not obligatory).

My SlackBuild's:

libspiro.SlackBuild:
Code:

#!/bin/bash

# RTK GNU/Linux build script for libspiro
# Copyright 2018 Aleksandr "Ne01eX" Sayfulin, Ural, Russian Federation
# 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.

# Set SPLIT variable to "yes" for building a separate package for documentation.
# This is maybe set from external scripts:
if [ -z "$SPLIT" ]; then
    SPLIT=${SPLIT:-"yes"} ; export SPLIT
fi
if [ -z "$TMP" ]; then
    TMP=${TMP:-/tmp} ; export TMP
fi
if [ -z "$OUTPUT" ]; then
    OUTPUT=${OUTPUT:-/tmp} ; export OUTPUT
fi

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

PKGNAM=libspiro
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-rtk01}
PKG=$TMP/package-$PKGNAM

# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
  case "$(uname -m)" in
    i?86) ARCH=i586 ;;
    arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
    *) ARCH=$(uname -m) ;;
  esac
  export ARCH
fi

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
elif [ "$ARCH" = "armv7hl" ]; then
  SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
  LIBDIRSUFFIX=""
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

case "$ARCH" in
    arm*) TARGET=$ARCH-rtk-linux-gnueabi ;;
    *)    TARGET=$ARCH-rtk-linux ;;
esac

set -e

if [ ! -d "$TMP" ]; then
    mkdir -p $TMP
fi

if [ ! -d "$OUTPUT" ]; then
    mkdir -p $OUTPUT
fi

rm -rf $PKG
mkdir -p $PKG

cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
cd $PKGNAM-$VERSION

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 {} \;

autoreconf -fiv

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --disable-static \
  --build=$TARGET || exit 1

make || exit 1
make check
make install DESTDIR=$PKG || exit 1

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/doc/$PKGNAM-$VERSION
cp -a \
  AUTHORS COPYING ChangeLog NEWS README* \
  $PKG/usr/doc/$PKGNAM-$VERSION

# Begin split section
if [ $SPLIT = "yes" ]; then

PKGDOC=${PKGNAM}-doc
rm -rf $TMP/package-${PKGDOC}
mkdir -p $TMP/package-${PKGDOC}/install

function add_empty_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}:
EOF
}
function add_doc_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: all core documents from /usr/doc/${PKGNAM}-${VERSION};
EOF
}
function add_info_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: info pages. See: /usr/info/*;
EOF
}
function add_gtkdoc_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: extra documents such as /usr/share/gtk-doc/${PKGNAM};
EOF
}
function add_devhelp_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: and .devhelp book such as /usr/share/devhelp/${PKGNAM}.
EOF
}

cat << EOF > $TMP/package-${PKGDOC}/install/slack-desc
# 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 ':' except on otherwise blank lines.

        |-----handy-ruler------------------------------------------------------|
${PKGDOC}: Extra documentation for ${PKGNAM} package.
${PKGDOC}:
${PKGDOC}: There is package contain documentation files for ${PKGNAM}:
EOF

for DOCDIR in doc info gtk-doc devhelp; do
    case $DOCDIR in
        'doc' )
        if [ -d $PKG/usr/$DOCDIR ]; then
            echo -n "Moving core documents..."
            ( cd $PKG/usr
              mkdir -p $TMP/package-$PKGDOC/usr
              mv $DOCDIR $TMP/package-$PKGDOC/usr
            )
            add_doc_line
            echo " [Done.]"
        else
            echo " Core documents not found!"
            add_empty_line
        fi
        ;;
        'info' )
        if [ -d $PKG/usr/$DOCDIR ]; then
            echo -n "Moving info pages..."
            ( cd $PKG/usr
              mkdir -p $TMP/package-$PKGDOC/usr
              mv $DOCDIR $TMP/package-$PKGDOC/usr
            )
            add_info_line
            echo " [Done.]"
        else
            echo " Info pages not found!"
            add_empty_line
        fi
        ;;
        'gtk-doc' )
        if [ -d $PKG/usr/share/$DOCDIR ]; then
            echo -n "Moving extra documents (such as gtk-doc)..."
            ( cd $PKG/usr/share
              mkdir -p $TMP/package-$PKGDOC/usr/share
              mv $DOCDIR $TMP/package-$PKGDOC/usr/share
            )
            add_gtkdoc_line
            echo " [Done.]"
        else
            echo " Extra documents (such as gtk-doc) not found!"
            add_empty_line
        fi
        ;;
        'devhelp' )
        if [ -d $PKG/usr/share/$DOCDIR ]; then
            echo -n "Moving .devhelp book(s)..."
            ( cd $PKG/usr/share
              mkdir -p $TMP/package-$PKGDOC/usr/share
              mv $DOCDIR $TMP/package-$PKGDOC/usr/share
            )
            add_devhelp_line
            echo " [Done.]"
        else
            echo " .devhelp book(s) not found!"
            add_empty_line
        fi
        ;;
    esac
done

for LINE in 1 2 3 4; do
    add_empty_line
done

cd $TMP/package-$PKGDOC
/sbin/makepkg -l y -c n $OUTPUT/$PKGDOC-$VERSION-noarch-$BUILD.${PKGTYPE:-txz}

# Cleanup if enabled
if [ "$1" = "--cleanup" ]; then
    rm -rf $TMP/package-$PKGDOC
fi

fi # End split section

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
if [ -x "/usr/bin/requiredbuilder" ]; then
    /usr/bin/requiredbuilder -z $PKG > $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD.dep
    if [ -f $PKG/install/slack-required ]; then
        rm -f $PKG/install/slack-required
    fi
    /usr/bin/requiredbuilder -v -y $PKG
fi

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

# Cleanup if enabled
if [ "$1" = "--cleanup" ]; then
    rm -rf $TMP/$PKGNAM-$VERSION
    rm -rf $PKG
fi

slack-desc:
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 ':' except on otherwise blank lines.

        |-----handy-ruler------------------------------------------------------|
libspiro: libspiro - A library for curve design.
libspiro:
libspiro: LibSpiro is a shared library designed to give programs the ability
libspiro: to create smooth continuous curves based on a given set of codes and
libspiro: X,Y constraints.
libspiro:
libspiro: Homepage: https://github.com/fontforge/libspiro
libspiro:
libspiro:
libspiro:
libspiro:

libmypaint.SlackBuild:

Code:

#!/bin/bash

# RTK GNU/Linux build script for libmypaint
# Copyright 2018 Aleksandr "Ne01eX" Sayfulin, Ural, Russian Federation
# 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.

# Set SPLIT variable to "yes" for building a separate package for documentation.
# This is maybe set from external scripts:
if [ -z "$SPLIT" ]; then
    SPLIT=${SPLIT:-"yes"} ; export SPLIT
fi
if [ -z "$TMP" ]; then
    TMP=${TMP:-/tmp} ; export TMP
fi
if [ -z "$OUTPUT" ]; then
    OUTPUT=${OUTPUT:-/tmp} ; export OUTPUT
fi

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

PKGNAM=libmypaint
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-rtk01}
PKG=$TMP/package-$PKGNAM

# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
  case "$(uname -m)" in
    i?86) ARCH=i586 ;;
    arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
    *) ARCH=$(uname -m) ;;
  esac
  export ARCH
fi

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
elif [ "$ARCH" = "armv7hl" ]; then
  SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
  LIBDIRSUFFIX=""
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

case "$ARCH" in
    arm*) TARGET=$ARCH-rtk-linux-gnueabi ;;
    *)    TARGET=$ARCH-rtk-linux ;;
esac

set -e

if [ ! -d "$TMP" ]; then
    mkdir -p $TMP
fi

if [ ! -d "$OUTPUT" ]; then
    mkdir -p $OUTPUT
fi

rm -rf $PKG
mkdir -p $PKG

cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
cd $PKGNAM-$VERSION

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 {} \;

sed "s|aclocal-1.13|aclocal|" -i autogen.sh
sed "s|automake-1.13|automake|" -i autogen.sh
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --enable-gegl \
  --disable-introspection \
  --build=$TARGET || exit 1

make || exit 1
make install DESTDIR=$PKG || exit 1

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/doc/$PKGNAM-$VERSION
cp -a \
  *.md COPYING PERFORMANCE TODO \
  $PKG/usr/doc/$PKGNAM-$VERSION

# Begin split section
if [ $SPLIT = "yes" ]; then

PKGDOC=${PKGNAM}-doc
rm -rf $TMP/package-${PKGDOC}
mkdir -p $TMP/package-${PKGDOC}/install

function add_empty_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}:
EOF
}
function add_doc_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: all core documents from /usr/doc/${PKGNAM}-${VERSION};
EOF
}
function add_info_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: info pages. See: /usr/info/*;
EOF
}
function add_gtkdoc_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: extra documents such as /usr/share/gtk-doc/${PKGNAM};
EOF
}
function add_devhelp_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: and .devhelp book such as /usr/share/devhelp/${PKGNAM}.
EOF
}

cat << EOF > $TMP/package-${PKGDOC}/install/slack-desc
# 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 ':' except on otherwise blank lines.

        |-----handy-ruler------------------------------------------------------|
${PKGDOC}: Extra documentation for ${PKGNAM} package.
${PKGDOC}:
${PKGDOC}: There is package contain documentation files for ${PKGNAM}:
EOF

for DOCDIR in doc info gtk-doc devhelp; do
    case $DOCDIR in
        'doc' )
        if [ -d $PKG/usr/$DOCDIR ]; then
            echo -n "Moving core documents..."
            ( cd $PKG/usr
              mkdir -p $TMP/package-$PKGDOC/usr
              mv $DOCDIR $TMP/package-$PKGDOC/usr
            )
            add_doc_line
            echo " [Done.]"
        else
            echo " Core documents not found!"
            add_empty_line
        fi
        ;;
        'info' )
        if [ -d $PKG/usr/$DOCDIR ]; then
            echo -n "Moving info pages..."
            ( cd $PKG/usr
              mkdir -p $TMP/package-$PKGDOC/usr
              mv $DOCDIR $TMP/package-$PKGDOC/usr
            )
            add_info_line
            echo " [Done.]"
        else
            echo " Info pages not found!"
            add_empty_line
        fi
        ;;
        'gtk-doc' )
        if [ -d $PKG/usr/share/$DOCDIR ]; then
            echo -n "Moving extra documents (such as gtk-doc)..."
            ( cd $PKG/usr/share
              mkdir -p $TMP/package-$PKGDOC/usr/share
              mv $DOCDIR $TMP/package-$PKGDOC/usr/share
            )
            add_gtkdoc_line
            echo " [Done.]"
        else
            echo " Extra documents (such as gtk-doc) not found!"
            add_empty_line
        fi
        ;;
        'devhelp' )
        if [ -d $PKG/usr/share/$DOCDIR ]; then
            echo -n "Moving .devhelp book(s)..."
            ( cd $PKG/usr/share
              mkdir -p $TMP/package-$PKGDOC/usr/share
              mv $DOCDIR $TMP/package-$PKGDOC/usr/share
            )
            add_devhelp_line
            echo " [Done.]"
        else
            echo " .devhelp book(s) not found!"
            add_empty_line
        fi
        ;;
    esac
done

for LINE in 1 2 3 4; do
    add_empty_line
done

cd $TMP/package-$PKGDOC
/sbin/makepkg -l y -c n $OUTPUT/$PKGDOC-$VERSION-noarch-$BUILD.${PKGTYPE:-txz}

# Cleanup if enabled
if [ "$1" = "--cleanup" ]; then
    rm -rf $TMP/package-$PKGDOC
fi

fi # End split section

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
if [ -x "/usr/bin/requiredbuilder" ]; then
    /usr/bin/requiredbuilder -z $PKG > $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD.dep
    if [ -f $PKG/install/slack-required ]; then
        rm -f $PKG/install/slack-required
    fi
    /usr/bin/requiredbuilder -v -y $PKG
fi

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

# Cleanup if enabled
if [ "$1" = "--cleanup" ]; then
    rm -rf $TMP/$PKGNAM-$VERSION
    rm -rf $PKG
fi

slack-desc:

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 ':' except on otherwise blank lines.

          |-----handy-ruler------------------------------------------------------|
libmypaint: libmypaint - brush library for mypaint
libmypaint:
libmypaint: MyPaint is a pressure- and tilt-sensitive painting program which works
libmypaint: well with Wacom graphics tablets and other similar devices. It comes
libmypaint: with a large brush collection including charcoal and ink to emulate
libmypaint: real media, but the highly configurable brush engine allows you to
libmypaint: experiment with your own brushes and with not-quite-natural painting.
libmypaint:
libmypaint: Homepage: https://github.com/mypaint/libmypaint
libmypaint:
libmypaint:

mypaint-brushes.SlackBuild:

Code:

#!/bin/bash

# RTK GNU/Linux build script for mypaint-brushes

# Copyright 2018, Aleksandr "Ne01eX" Sayfulin, Ural, Russian Federation
# 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.

# Set SPLIT variable to "yes" for building a separate package for documentation.
# This is maybe set from external scripts:
if [ -z "$SPLIT" ]; then
    SPLIT=${SPLIT:-"yes"} ; export SPLIT
fi
if [ -z "$TMP" ]; then
    TMP=${TMP:-/tmp} ; export TMP
fi
if [ -z "$OUTPUT" ]; then
    OUTPUT=${OUTPUT:-/tmp} ; export OUTPUT
fi

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

PKGNAM=mypaint-brushes
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-rtk01}
PKG=$TMP/package-$PKGNAM

# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
  case "$(uname -m)" in
    i?86) ARCH=i586 ;;
    arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
    *) ARCH=$(uname -m) ;;
  esac
  export ARCH
fi
if [ "$ARCH" = "x86_64" ]; then
  LIBDIRSUFFIX="64"
else
  LIBDIRSUFFIX=""
fi

set -e

if [ ! -d "$TMP" ]; then
    mkdir -p $TMP
fi

if [ ! -d "$OUTPUT" ]; then
    mkdir -p $OUTPUT
fi

rm -rf $PKG
mkdir -p $PKG

cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
cd $PKGNAM-$VERSION

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 {} \;

sed "s|aclocal-1.13|aclocal|" -i autogen.sh
sed "s|automake-1.13|automake|" -i autogen.sh
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --build=$TARGET || exit 1

make || exit 1
make install DESTDIR=$PKG || exit 1

mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
mv $PKG/usr/share/pkgconfig $PKG/usr/lib$LIBDIRSUFFIX

mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
  AUTHORS COPYING ChangeLog Licenses* NEWS README* \
  $PKG/usr/doc/$PKGNAM-$VERSION

# Begin split section
if [ $SPLIT = "yes" ]; then

PKGDOC=${PKGNAM}-doc
rm -rf $TMP/package-${PKGDOC}
mkdir -p $TMP/package-${PKGDOC}/install

function add_empty_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}:
EOF
}
function add_doc_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: all core documents from /usr/doc/${PKGNAM}-${VERSION};
EOF
}
function add_info_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: info pages. See: /usr/info/*;
EOF
}
function add_gtkdoc_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: extra documents such as /usr/share/gtk-doc/${PKGNAM};
EOF
}
function add_devhelp_line {
cat << EOF >> $TMP/package-${PKGDOC}/install/slack-desc
${PKGDOC}: and .devhelp book such as /usr/share/devhelp/${PKGNAM}.
EOF
}

cat << EOF > $TMP/package-${PKGDOC}/install/slack-desc
# 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 ':' except on otherwise blank lines.

        |-----handy-ruler------------------------------------------------------|
${PKGDOC}: Extra documentation for ${PKGNAM} package.
${PKGDOC}:
${PKGDOC}: There is package contain documentation files for ${PKGNAM}:
EOF

for DOCDIR in doc info gtk-doc devhelp; do
    case $DOCDIR in
        'doc' )
        if [ -d $PKG/usr/$DOCDIR ]; then
            echo -n "Moving core documents..."
            ( cd $PKG/usr
              mkdir -p $TMP/package-$PKGDOC/usr
              mv $DOCDIR $TMP/package-$PKGDOC/usr
            )
            add_doc_line
            echo " [Done.]"
        else
            echo " Core documents not found!"
            add_empty_line
        fi
        ;;
        'info' )
        if [ -d $PKG/usr/$DOCDIR ]; then
            echo -n "Moving info pages..."
            ( cd $PKG/usr
              mkdir -p $TMP/package-$PKGDOC/usr
              mv $DOCDIR $TMP/package-$PKGDOC/usr
            )
            add_info_line
            echo " [Done.]"
        else
            echo " Info pages not found!"
            add_empty_line
        fi
        ;;
        'gtk-doc' )
        if [ -d $PKG/usr/share/$DOCDIR ]; then
            echo -n "Moving extra documents (such as gtk-doc)..."
            ( cd $PKG/usr/share
              mkdir -p $TMP/package-$PKGDOC/usr/share
              mv $DOCDIR $TMP/package-$PKGDOC/usr/share
            )
            add_gtkdoc_line
            echo " [Done.]"
        else
            echo " Extra documents (such as gtk-doc) not found!"
            add_empty_line
        fi
        ;;
        'devhelp' )
        if [ -d $PKG/usr/share/$DOCDIR ]; then
            echo -n "Moving .devhelp book(s)..."
            ( cd $PKG/usr/share
              mkdir -p $TMP/package-$PKGDOC/usr/share
              mv $DOCDIR $TMP/package-$PKGDOC/usr/share
            )
            add_devhelp_line
            echo " [Done.]"
        else
            echo " .devhelp book(s) not found!"
            add_empty_line
        fi
        ;;
    esac
done

for LINE in 1 2 3 4; do
    add_empty_line
done

cd $TMP/package-$PKGDOC
/sbin/makepkg -l y -c n $OUTPUT/$PKGDOC-$VERSION-noarch-$BUILD.${PKGTYPE:-txz}

# Cleanup if enabled
if [ "$1" = "--cleanup" ]; then
    rm -rf $TMP/package-$PKGDOC
fi

fi # End split section

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
if [ -x "/usr/bin/requiredbuilder" ]; then
    /usr/bin/requiredbuilder -z $PKG > $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD.dep
    if [ -f $PKG/install/slack-required ]; then
        rm -f $PKG/install/slack-required
    fi
    /usr/bin/requiredbuilder -v -y $PKG
fi

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

# Cleanup if enabled
if [ "$1" = "--cleanup" ]; then
    rm -rf $TMP/$PKGNAM-$VERSION
    rm -rf $PKG
fi

slack-desc:

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 ':' except on otherwise blank lines.

              |-----handy-ruler------------------------------------------------------|
mypaint-brushes: mypaint-brushes - brushes for paint apps
mypaint-brushes:
mypaint-brushes: MyPaint is a pressure- and tilt-sensitive painting program which works
mypaint-brushes: well with Wacom graphics tablets and other similar devices. It comes
mypaint-brushes: with a large brush collection including charcoal and ink to emulate
mypaint-brushes: real media, but the highly configurable brush engine allows you to
mypaint-brushes: experiment with your own brushes and with not-quite-natural painting.
mypaint-brushes:
mypaint-brushes: Homepage: https://github.com/Jehan/mypaint-brushes
mypaint-brushes:
mypaint-brushes:

P.S. To return to the previous theme, welcome to here: Edit-> Preferences-> Theme-> System. And for icons - use "legacy". :)

P.P.S. I'm don't use /usr/share/pkgconfig. Never. :)


ziprun 04-27-2018 01:26 PM

Quote:

Originally Posted by Ne01eX (Post 5848049)
I'm use GIMP-2.10.x since RC1. For update, need this:

1. update babl and gegl to latest.
2. New dependencies: libspiro, libmypaint, mypaint-brushes. Also, I'm built The GIMP with lensfun and gexiv2 (it's not obligatory).

Thanks for the heads up on new dependencies. If pat decides not to upgrade gimp for stable I guess I'll just wait till either 15.0 comes out this summer or next summer depending on when pat decides the time is right

volkerdi 04-27-2018 01:27 PM

Quote:

Originally Posted by Ne01eX (Post 5847983)
0. It's just a word. It is neither bad nor good. This word.

I think most reasonable people would beg to differ.

Quote:

1. Well, I ask you for a courtesy for me: to repost my technical messages (both previous and future) for Patrick (I'm not sure he is reading my messages).
Unfortunately, I have been reading them.

ziprun 04-27-2018 01:38 PM

Hey pat, it's nice to see you. I got a question for you, do you have an estimated date for the next slackware release? I'm curious.

volkerdi 04-27-2018 01:39 PM

Quote:

Originally Posted by ziprun (Post 5848064)
Hey pat, it's nice to see you. I got a question for you, do you have an estimated date for the next slackware release? I'm curious.

No.

madridsecreto 04-27-2018 01:48 PM

Could we have a symlink to emacs-no-x11 just as there is one to emacs-with-x11? I ask because I use Emacs to edit emails in Mutt and it's such a pain to change Mutt's configuration everytime a new version of Emacs comes out. (Well, maybe not a pain, but it's something I could live without.)

Unless I'm mistaken, this is all it would take:

Code:

--- emacs.SlackBuild        2018-03-22 01:36:29.000000000 +0100
+++ emacs.SlackBuild.new        2018-04-27 20:40:05.308374946 +0200
@@ -151,6 +151,10 @@
 chown root:root $PKG/usr/bin/emacs-${TARBALLVER}-no-x11
 chmod 1755 $PKG/usr/bin/emacs-${TARBALLVER}-no-x11
 
+( cd $PKG/usr/bin
+  ln -sf emacs-${TARBALLVER}-no-x11 emacs-no-x11
+)
+
 # I don't care for broken permissions.
 chmod 755 $PKG/var/games/emacs
 chown -R root:games $PKG/var/games/emacs

Thanks in advance.


All times are GMT -5. The time now is 03:45 PM.