LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-19-2021, 12:02 AM   #4171
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183

Quote:
Originally Posted by Skaendo View Post
I think that they mean just "ostree".
then version-bump it to 2021.3 and it should be fine
Code:
diff -Naur ostree.orig/ostree.SlackBuild ostree/ostree.SlackBuild
--- ostree.orig/ostree.SlackBuild       2021-08-16 09:59:13.686348518 +0200
+++ ostree/ostree.SlackBuild    2021-08-19 04:54:54.934000000 +0200
@@ -26,7 +26,7 @@
 cd $(dirname $0) ; CWD=$(pwd)
 
 PRGNAM=ostree
-VERSION=${VERSION:-2019.6}
+VERSION=${VERSION:-2021.3}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 PKGTYPE=${PKGTYPE:-tgz}
diff -Naur ostree.orig/ostree.info ostree/ostree.info
--- ostree.orig/ostree.info     2021-08-16 09:59:13.686348518 +0200
+++ ostree/ostree.info  2021-08-19 04:54:32.614000000 +0200
@@ -1,8 +1,8 @@
 PRGNAM="ostree"
-VERSION="2019.6"
+VERSION="2021.3"
 HOMEPAGE="https://github.com/ostreedev/ostree/"
-DOWNLOAD="https://github.com/ostreedev/ostree/releases/download/v2019.6/libostree-2019.6.tar.xz"
-MD5SUM="4d00cd2c5bce31b6302c71cbdb2a17eb"
+DOWNLOAD="https://github.com/ostreedev/ostree/releases/download/v2021.3/libostree-2021.3.tar.xz"
+MD5SUM="a70520dc37d9fdc655a7ff76892496fe"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""
then, as I suppose you are trying to build that for flatpak, version-bump it too to 1.10.2
Code:
diff -Naur flatpak.orig/flatpak.SlackBuild flatpak/flatpak.SlackBuild
--- flatpak.orig/flatpak.SlackBuild     2021-08-16 09:59:13.101348518 +0200
+++ flatpak/flatpak.SlackBuild  2021-08-19 04:59:46.414000000 +0200
@@ -25,7 +25,7 @@
 cd $(dirname $0) ; CWD=$(pwd)
 
 PRGNAM=flatpak
-VERSION=${VERSION:-1.8.3}
+VERSION=${VERSION:-1.10.2}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 PKGTYPE=${PKGTYPE:-tgz}
diff -Naur flatpak.orig/flatpak.info flatpak/flatpak.info
--- flatpak.orig/flatpak.info   2021-08-16 09:59:13.101348518 +0200
+++ flatpak/flatpak.info        2021-08-19 04:59:35.712000000 +0200
@@ -1,8 +1,8 @@
 PRGNAM="flatpak"
-VERSION="1.8.3"
+VERSION="1.10.2"
 HOMEPAGE="https://flatpak.org/"
-DOWNLOAD="https://github.com/flatpak/flatpak/releases/download/1.8.3/flatpak-1.8.3.tar.xz"
-MD5SUM="e0babce042b5a630c4ba1e9c2239143d"
+DOWNLOAD="https://github.com/flatpak/flatpak/releases/download/1.10.2/flatpak-1.10.2.tar.xz"
+MD5SUM="61701ebaac700a2fe6eb33233bb7d493"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="bubblewrap ostree appstream-glib libseccomp xdg-desktop-portal-gtk"
thanks for the report!
 
2 members found this post helpful.
Old 08-19-2021, 02:00 AM   #4172
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
No love from source-highlight 3.1.9:
Code:
In file included from fileutil.cc:28:
fileutil.h:30:41: error: ISO C++17 does not allow dynamic exception specifications
   30 | string readFile(const string &fileName) throw (IOException);
      |                                         ^~~~~                            
fileutil.cc:51:41: error: ISO C++17 does not allow dynamic exception specifications
   51 | string readFile(const string &fileName) throw (IOException) {
      |                                         ^~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../gl -I../../gl -I../../src -I/usr/include -O2 -fPIC -MT stopwatch.lo -MD -MP -MF .deps/stopwatch.Tpo -c stopwatch.c
pp -o stopwatch.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../gl -I../../gl -I../../src -I/usr/include -O2 -fPIC -MT ioexception.lo -MD -MP -MF .deps/ioexception.Tpo -c ioexcep
tion.cpp -o ioexception.o >/dev/null 2>&1
make[4]: *** [Makefile:1116: fileutil.lo] Error 1
 
1 members found this post helpful.
Old 08-19-2021, 02:12 AM   #4173
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by drgibbon View Post
No love from source-highlight 3.1.9:
Code:
In file included from fileutil.cc:28:
fileutil.h:30:41: error: ISO C++17 does not allow dynamic exception specifications
   30 | string readFile(const string &fileName) throw (IOException);
      |                                         ^~~~~                            
fileutil.cc:51:41: error: ISO C++17 does not allow dynamic exception specifications
   51 | string readFile(const string &fileName) throw (IOException) {
      |                                         ^~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../gl -I../../gl -I../../src -I/usr/include -O2 -fPIC -MT stopwatch.lo -MD -MP -MF .deps/stopwatch.Tpo -c stopwatch.c
pp -o stopwatch.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../gl -I../../gl -I../../src -I/usr/include -O2 -fPIC -MT ioexception.lo -MD -MP -MF .deps/ioexception.Tpo -c ioexcep
tion.cpp -o ioexception.o >/dev/null 2>&1
make[4]: *** [Makefile:1116: fileutil.lo] Error 1
I found a specific patch on the archlinux's repo (thanks!)

https://raw.githubusercontent.com/ar...ht-gcc11.patch

thanks for the report!
 
Old 08-19-2021, 09:55 AM   #4174
liberalchrist
Member
 
Registered: Jun 2011
Location: Chester, SC
Distribution: Slackware Current
Posts: 142

Rep: Reputation: 33
Mailspring builds but fails to start. Complains about libsecret and gnome-keyring.
 
Old 08-19-2021, 10:02 AM   #4175
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,910

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
I've attached a patch for libmp4v2 that fixes a gcc "Narrowing" warning/error.

After I wrote it, I noticed that Ponce already has a patch in his repo using static_cast<> to avoid the build failure.

My approach might be slightly safer as I actually fix the type mismatch rather than just cast it: I'm not sure what happens when you cast a unsigned int to int like that when the value is > INT_MAX, which is likely as the enum start value is defined as 0xF0000000 for some reason (which is why C++ is promoting the enum in the first place).

Anyway, patch to slackbuild attached for your consideration/testing. Please let me know if I missed something.

Last edited by GazL; 08-20-2021 at 06:37 AM.
 
Old 08-19-2021, 10:09 AM   #4176
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by liberalchrist View Post
Mailspring builds but fails to start. Complains about libsecret and gnome-keyring.
mailspring on SBo just repackages a debian binary, doesn't actually build from source: that's why the version for 14.2 won't run on current.
you can try to version-bump it to 1.9.1, maybe the newer debian package is built against newer libraries and runs on current (I haven't tried it myself).
 
Old 08-19-2021, 10:22 AM   #4177
liberalchrist
Member
 
Registered: Jun 2011
Location: Chester, SC
Distribution: Slackware Current
Posts: 142

Rep: Reputation: 33
Quote:
Originally Posted by ponce View Post
mailspring on SBo just repackages a debian binary, doesn't actually build from source: that's why the version for 14.2 won't run on current.
you can try to version-bump it to 1.9.1, maybe the newer debian package is built against newer libraries and runs on current (I haven't tried it myself).
Thanks!
 
Old 08-19-2021, 11:38 AM   #4178
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by GazL View Post
I've attached a patch for libmp4v2 that fixes a gcc "Narrowing" warning/error.

After I wrote it, I noticed that Ponce already has a patch in his repo using static_cast<> to avoid the build failure.

My approach might be slightly safer as I actually fix the type mismatch rather than just cast it: I'm not sure what happens when you cast a unsigned int to int like that when the value is > INT_MAX, which is likely as the enum start value is defined as 0xF0000000 for some reason (which is why C++ is promoting the enum in the first place).

Anyway, patch to slackbuild attached for your consideration/testing. Please let me know if I missed something.
Pushed in my branch: thanks a lot!
 
1 members found this post helpful.
Old 08-19-2021, 12:31 PM   #4179
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by Lenard Spencer View Post
Since the upgrade to gcc-11.2.0, gcc5 no longer builds. The error is:
Code:
../../gcc-5.5.0/gcc/reload1.c: In function ‘void init_reload()’:
../../gcc-5.5.0/gcc/reload1.c:115:24: error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++17
  115 |   (this_target_reload->x_spill_indirect_levels)
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Adding -std=c++14 or -std=c++11 (or gnu++ for that matter) does no good, it still insists on using c++17. The web search turns up nothing useful. Any ideas?
it's fixed now in my branch, thanks for the report!

https://git.slackbuilds.org/slackbui...it/?id=3499e08

Last edited by ponce; 08-20-2021 at 03:39 AM.
 
Old 08-19-2021, 11:41 PM   #4180
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Rep: Reputation: 205Reputation: 205Reputation: 205
Hi Ponce, i was not able to build scummvm 2.2.0 with the 2.1.2 slackbuild, because of fluidsynth 2.2.2
some patches were needed


https://github.com/scummvm/scummvm/pull/2729.patch
https://github.com/scummvm/scummvm/c...6fb8b693.patch
https://github.com/scummvm/scummvm/c...9553da07.patch
https://github.com/scummvm/scummvm/pull/2915.patch

i changed the names of the patches to:

2.2.0-fluidsynth2.0.patch
2.2.0-fluidsynth2.2.patch
2.2.0-fluidsynth_loghandler.patch
2.2.0-fluidsynth_loghandler_fix.patch

and edited the Slackbuild to use this four patches:

Code:
#!/bin/bash

# Slackware build script for scummvm

# Copyright 2006  Halim Issa <yallaone@gmail.com>
# Copyright 2008, 2010, 2012-2020  Carlos Corbacho <carlos@strangeworlds.co.uk>
# 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=scummvm
VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i586 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
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 "$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

DOCS="AUTHORS COPYING* COPYRIGHT NEWS.md README.md TODO"

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$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 640 -o -perm 600 -o -perm 444 \
 -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

# 20210819 bkw: This is necessary for fluidsynth-2.2.x Based on upstream's
# git commits.
patch -p1 < $CWD/2.2.0-fluidsynth_loghandler.patch
patch -p1 < $CWD/2.2.0-fluidsynth_loghandler_fix.patch
patch -p1 < $CWD/2.2.0-fluidsynth2.0.patch
patch -p1 < $CWD/2.2.0-fluidsynth2.2.patch    

# avoid linking breakage on i?86
if [[ $ARCH == i?86 ]]; then linker=bfd; else linker=gold; fi

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-fuse-ld=$linker" \
./configure \
  --prefix=/usr \
  --bindir=/usr/games \
  --libdir=/usr/lib$LIBDIRSUFFIX \
  --mandir=/usr/man \
  --disable-debug

make
make install DESTDIR=$PKG

# The .desktop file for the menu is not being installed
install -D -m 0644 dists/scummvm.desktop \
  $PKG/usr/share/applications/scummvm.desktop

# Hardcode the location for the .desktop icon
sed -i s%Icon=%Icon=/usr/share/pixmaps/% \
  $PKG/usr/share/applications/scummvm.desktop

strip --strip-unneeded $PKG/usr/games/scummvm 2> /dev/null

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

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS  $PKG/usr/doc/$PRGNAM-$VERSION
# We don't need these - they're redundant
rm -rf $PKG/usr/share/doc

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

after that scummvm 2.2.0 build fine.
 
Old 08-19-2021, 11:59 PM   #4181
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by adcdam View Post
Hi Ponce, i was not able to build scummvm 2.2.0 with the 2.1.2 slackbuild, because of fluidsynth 2.2.2
some patches were needed


https://github.com/scummvm/scummvm/pull/2729.patch
https://github.com/scummvm/scummvm/c...6fb8b693.patch
https://github.com/scummvm/scummvm/c...9553da07.patch
https://github.com/scummvm/scummvm/pull/2915.patch

i changed the names of the patches to:

2.2.0-fluidsynth2.0.patch
2.2.0-fluidsynth2.2.patch
2.2.0-fluidsynth_loghandler.patch
2.2.0-fluidsynth_loghandler_fix.patch

and edited the Slackbuild to use this four patches:

Code:
#!/bin/bash

# Slackware build script for scummvm

# Copyright 2006  Halim Issa <yallaone@gmail.com>
# Copyright 2008, 2010, 2012-2020  Carlos Corbacho <carlos@strangeworlds.co.uk>
# 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=scummvm
VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i586 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
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 "$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

DOCS="AUTHORS COPYING* COPYRIGHT NEWS.md README.md TODO"

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$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 640 -o -perm 600 -o -perm 444 \
 -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

# 20210819 bkw: This is necessary for fluidsynth-2.2.x Based on upstream's
# git commits.
patch -p1 < $CWD/2.2.0-fluidsynth_loghandler.patch
patch -p1 < $CWD/2.2.0-fluidsynth_loghandler_fix.patch
patch -p1 < $CWD/2.2.0-fluidsynth2.0.patch
patch -p1 < $CWD/2.2.0-fluidsynth2.2.patch    

# avoid linking breakage on i?86
if [[ $ARCH == i?86 ]]; then linker=bfd; else linker=gold; fi

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-fuse-ld=$linker" \
./configure \
  --prefix=/usr \
  --bindir=/usr/games \
  --libdir=/usr/lib$LIBDIRSUFFIX \
  --mandir=/usr/man \
  --disable-debug

make
make install DESTDIR=$PKG

# The .desktop file for the menu is not being installed
install -D -m 0644 dists/scummvm.desktop \
  $PKG/usr/share/applications/scummvm.desktop

# Hardcode the location for the .desktop icon
sed -i s%Icon=%Icon=/usr/share/pixmaps/% \
  $PKG/usr/share/applications/scummvm.desktop

strip --strip-unneeded $PKG/usr/games/scummvm 2> /dev/null

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

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS  $PKG/usr/doc/$PRGNAM-$VERSION
# We don't need these - they're redundant
rm -rf $PKG/usr/share/doc

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

after that scummvm 2.2.0 build fine.
hi adcdam,

this thread is dedicated to scripts on SBo not building on current: ATM there's scummvm 2.1.2 on SBo and that builds fine as-is...
if you have updates to propose you should direct them to the maintainers of the interested SlackBuilds.
 
Old 08-20-2021, 12:02 AM   #4182
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Rep: Reputation: 205Reputation: 205Reputation: 205
flatpak 1.11.2 also build fine just to let you know.
 
Old 08-20-2021, 12:04 AM   #4183
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Rep: Reputation: 205Reputation: 205Reputation: 205
im having problems with mpd i cant build version 0.21.22 or version 0.22.10 in current, all the same error after linking target mpd, it fail to install.
best regards!
 
Old 08-20-2021, 12:16 AM   #4184
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,111

Original Poster
Rep: Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183Reputation: 4183
Quote:
Originally Posted by adcdam View Post
im having problems with mpd i cant build version 0.21.22 or version 0.22.10 in current, all the same error after linking target mpd, it fail to install.
best regards!
try this fix

https://git.slackbuilds.org/slackbui...t/?id=1bcfa0f1

thanks for the report!
 
Old 08-20-2021, 02:45 PM   #4185
frtorres
Member
 
Registered: Jul 2012
Distribution: Debian kanotix, Slackware
Posts: 87

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
hi Francisco,

I think you missed reading the README of google-go-lang
Code:
The tools are added to the path by putting go.sh and go.csh files in
/etc/profile.d and letting the system's /etc/profile or /etc/csh.login
pick it up.
that means after the google-go-lang package installation you have to open a new root shell with "su -" before trying to build fzf or your environment will keep using the go compiler from gcc
Thanks Ponce for your response!.

Trying to install google-go-lang, I am getting this, maybe temporal or does it need a new URL to Download?. I make sure I have internet and access to https://dl.google.com, but no go and "bootstrap.." file present (checked via browser)

Code:
--2021-08-20 14:39:38--  (try: 5)  https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz
Connecting to dl.google.com (dl.google.com)|203.208.50.33|:443... failed: Connection timed out.
Giving up.
Thanks in advance.

Francisco.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration