LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-16-2017, 06:33 PM   #2701
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 777

Rep: Reputation: Disabled

Hi,

Quote:
Originally Posted by cwizardone View Post
Thunderbird-53.3.0
You meant 52.3.0 ?

--
Best regards,
Andrzej Telszewski
 
1 members found this post helpful.
Old 08-16-2017, 07:46 PM   #2702
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib." FreeBSD.
Posts: 3,525
Blog Entries: 1

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Yes. Corrected. Thanks.
 
Old 08-17-2017, 09:21 AM   #2703
gmgf
Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 879

Rep: Reputation: Disabled
kdelibs-4.14.35:

(Fix the cmake-3.9 build problem, tested here)
https://download.kde.org/stable/appl...4.14.35.tar.xz

Last edited by gmgf; 08-17-2017 at 09:23 AM.
 
3 members found this post helpful.
Old 08-18-2017, 09:54 AM   #2704
bormant
Member
 
Registered: Jan 2008
Posts: 268

Rep: Reputation: 150Reputation: 150
Very intresting project to re-add ALSA to bluez5:
https://github.com/Arkq/bluez-alsa

Did anyone test this?
 
4 members found this post helpful.
Old 08-19-2017, 01:52 AM   #2705
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 149

Rep: Reputation: 24
libwebp appears to be missing libwebp.la, which makes it somewhat difficult to build against.

EDIT: False alarm, my mistake.

Last edited by Spinlock; 08-20-2017 at 05:33 PM. Reason: Updated information
 
Old 08-19-2017, 02:35 AM   #2706
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,780

Rep: Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850
Quote:
Originally Posted by Spinlock View Post
libwebp appears to be missing libwebp.la, which makes it somewhat difficult to build against.
sorry, can you make an example of a software who has issues building without it?

Last edited by ponce; 08-19-2017 at 03:16 AM.
 
Old 08-19-2017, 06:23 AM   #2707
gmgf
Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 879

Rep: Reputation: Disabled
cups-filter-1.6.2:

http://bzr.linuxfoundation.org/logge...ate/head:/NEWS
http://openprinting.org/download/cup...-1.16.2.tar.xz
 
Old 08-19-2017, 09:07 AM   #2708
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 352

Rep: Reputation: Disabled
Quote:
Originally Posted by gmgf View Post
kdelibs-4.14.35:

(Fix the cmake-3.9 build problem, tested here)
https://download.kde.org/stable/appl...4.14.35.tar.xz
Thanks, I've just compiled this on 14.2 and it works fine, though I only use it for building konsole and kate editor.
 
Old 08-19-2017, 11:53 AM   #2709
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 149

Rep: Reputation: 24
Quote:
Originally Posted by ponce View Post
sorry, can you make an example of a software who has issues building without it?
GraphicsMagick, from your -current repo is one that's giving me trouble.
 
Old 08-19-2017, 12:01 PM   #2710
gmgf
Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 879

Rep: Reputation: Disabled
again new pango-1.40.11:

comeback to .configure
http://ftp.gnome.org/pub/gnome/sourc...o-1.40.11.news
http://ftp.gnome.org/pub/gnome/sourc...1.40.11.tar.xz
 
Old 08-19-2017, 01:20 PM   #2711
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,780

Rep: Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850
Quote:
Originally Posted by Spinlock View Post
GraphicsMagick, from your -current repo is one that's giving me trouble.
I think you have something fishy there because GraphicsMagick builds fine here against current's libwebp (BTW, the version in the unofficial repo for current is the same of SBo, unmodified).

Last edited by ponce; 08-19-2017 at 01:22 PM.
 
Old 08-20-2017, 05:30 PM   #2712
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 149

Rep: Reputation: 24
Quote:
Originally Posted by ponce View Post
I think you have something fishy there because GraphicsMagick builds fine here against current's libwebp (BTW, the version in the unofficial repo for current is the same of SBo, unmodified).
Looks like it was something in the old version - I uninstalled it, and then it built fine.
 
Old 08-20-2017, 07:47 PM   #2713
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,512

Rep: Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869
I've sent these to Pat. Here are the updated fetch-sources.sh and vulkan-sdk.SlackBuild files needed to build version 1.0.57.0 of the vulkan-sdk:

fetch-sources.sh:

Code:
#!/bin/sh

# Copyright 2017  Patrick J. Volkerding, Sebeka, Minnesota, 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.

# Call this script with the version of the Vulkan-LoaderAndValidationLayers-sdk
# that you would like to fetch the sources for. This will fetch the SDK from
# github, and then look at the revisions listed in the external_revisions
# directory to fetch the proper glslang, SPIRV-Headers, and SPIRV-Tools.
#
# Example:  VERSION=1.0.57.0 ./fetch-sources.sh

VERSION=${VERSION:-1.0.57.0}

# Remove existing sources:
rm -f Vulkan-LoaderAndValidationLayers-sdk* glslang-* SPIRV-Headers-* SPIRV-Tools-*

# Fetch SDK:
lftpget https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${VERSION}/Vulkan-LoaderAndValidationLayers-sdk-${VERSION}.tar.gz

GLSLANG_REVISION=$(tar xOf Vulkan-LoaderAndValidationLayers-sdk-${VERSION}.tar.gz Vulkan-LoaderAndValidationLayers-sdk-${VERSION}/external_revisions/glslang_revision)
SPIRV_HEADERS_REVISION=$(tar xOf Vulkan-LoaderAndValidationLayers-sdk-${VERSION}.tar.gz Vulkan-LoaderAndValidationLayers-sdk-${VERSION}/external_revisions/spirv-headers_revision)
SPIRV_TOOLS_REVISION=$(tar xOf Vulkan-LoaderAndValidationLayers-sdk-${VERSION}.tar.gz Vulkan-LoaderAndValidationLayers-sdk-${VERSION}/external_revisions/spirv-tools_revision)

lftpget https://github.com/KhronosGroup/glslang/archive/${GLSLANG_REVISION}/glslang-${GLSLANG_REVISION}.tar.gz
lftpget https://github.com/KhronosGroup/SPIRV-Headers/archive/${SPIRV_HEADERS_REVISION}/SPIRV-Headers-${SPIRV_HEADERS_REVISION}.tar.gz
lftpget https://github.com/KhronosGroup/SPIRV-Tools/archive/${SPIRV_TOOLS_REVISION}/SPIRV-Tools-${SPIRV_TOOLS_REVISION}.tar.gz

# List URLs in vulkan-sdk.url:
echo "https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${VERSION}/Vulkan-LoaderAndValidationLayers-sdk-${VERSION}.tar.gz" > vulkan-sdk.url
echo "https://github.com/KhronosGroup/glslang/archive/${GLSLANG_REVISION}/glslang-${GLSLANG_REVISION}.tar.gz" >> vulkan-sdk.url
echo "https://github.com/KhronosGroup/SPIRV-Headers/archive/${SPIRV_HEADERS_REVISION}/SPIRV-Headers-${SPIRV_HEADERS_REVISION}.tar.gz" >> vulkan-sdk.url
echo "https://github.com/KhronosGroup/SPIRV-Tools/archive/${SPIRV_TOOLS_REVISION}/SPIRV-Tools-${SPIRV_TOOLS_REVISION}.tar.gz" >> vulkan-sdk.url

# Recompress from .gz to .xz:
gzip -d Vulkan-LoaderAndValidationLayers-sdk* glslang-* SPIRV-Headers-* SPIRV-Tools-*
xz -9 -v Vulkan-LoaderAndValidationLayers-sdk* glslang-* SPIRV-Headers-* SPIRV-Tools-*
vulkan-sdk.SlackBuild:

Code:
#!/bin/sh

# Slackware build script for vulkan-sdk

# Copyright 2016  Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2016  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.

PKGNAM=vulkan-sdk
VERSION=${VERSION:-$(echo Vulkan-LoaderAndValidationLayers-sdk-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}

NUMJOBS=${NUMJOBS:--j7}

# 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" = "s390" ]; then
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
elif [ "$ARCH" = "armv7hl" ]; then
  SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
  LIBDIRSUFFIX=""
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-vulkan-sdk

rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf Vulkan-LoaderAndValidationLayers-sdk-$VERSION
tar xvf $CWD/Vulkan-LoaderAndValidationLayers-sdk-$VERSION.tar.?z* || exit 1
cd Vulkan-LoaderAndValidationLayers-sdk-$VERSION || exit 1

GLSLANG_VERSION=$(cat external_revisions/glslang_revision | head -n 1)
echo GSLANG_VERSION="$GLSLANG_VERSION"
SPIRV_HEADERS_VERSION=$(cat external_revisions/spirv-headers_revision | head -n 1)
echo SPIRV_HEADERS_VERSION="$SPIRV_HEADERS_VERSION"
ls external_revisions
SPIRV_TOOLS_VERSION=$(cat external_revisions/spirv-tools_revision | head -n 1)
echo SPIRV_TOOLS_VERSION="$SPIRV_TOOLS_VERSION"

mkdir external

cd external
  tar xvf $CWD/glslang-${GLSLANG_VERSION}.tar.?z*
  mv glslang-${GLSLANG_VERSION} glslang
  tar xvf $CWD/SPIRV-Tools-${SPIRV_TOOLS_VERSION}.tar.?z*
  mv SPIRV-Tools-${SPIRV_TOOLS_VERSION} spirv-tools
cd -

cd external/spirv-tools/external
  tar xvf $CWD/SPIRV-Headers-${SPIRV_HEADERS_VERSION}.tar.?z*
  mv SPIRV-Headers-${SPIRV_HEADERS_VERSION} spirv-headers
cd -

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

mkdir -p external/{glslang,spirv-tools}/build
mkdir -p build

# Fix LIBDIRSUFFIX
for i in $(find external -name CMakeLists.txt); do
  sed -i "s|DESTINATION lib|DESTINATION lib\${LIB_SUFFIX}|" "$i"
done

cd external/glslang/build
  cmake \
    -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR="/usr/lib$LIBDIRSUFFIX" \
    -DCMAKE_BUILD_TYPE=Release \
    ..

  make $NUMJOBS VERBOSE=1 || make || exit 1
  make install DESTDIR=$PKG || exit 1
cd -

cd external/spirv-tools/build
  cmake \
    -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR="/usr/lib$LIBDIRSUFFIX" \
    -DCMAKE_BUILD_TYPE=Release \
    ..
  make $NUMJOBS VERBOSE=1 || make || exit 1
  make install DESTDIR=$PKG || exit 1
cd -

# python 2.7 is fine, unless we want to build the demos
sed -i "s|\<python3\>|python|" */*.py CMakeLists.txt
sed -i "s|PythonInterp 3|PythonInterp 2|" CMakeLists.txt

cd build
  cmake \
    -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
    -DCMAKE_INSTALL_DATADIR=/share \
    -DCMAKE_SKIP_RPATH=True \
    -DBUILD_TESTS=Off \
    -DBUILD_DEMOS=On \
    -DBUILD_WSI_XLIB_SUPPORT=On \
    -DDEMOS_WSI_SELECTION=XLIB \
    -DCMAKE_BUILD_TYPE=Release \
    -DGLSLANG_LIB=../external/glslang/build/glslang/libglslang.a \
    -DGLSLANG_VALIDATOR=../external/glslang/build/StandAlone/glslangValidator \
    -DHLSL_LIB=../external/glslang/build/hlsl/libHLSL.a \
    -DOGLCompiler_LIB=../external/glslang/build/OGLCompilersDLL/libOGLCompiler.a \
    -DOSDependent_LIB=../external/glslang/build/glslang/OSDependent/Unix/libOSDependent.a \
    -DSPIRV_LIB=../external/glslang/build/SPIRV/libSPIRV.a \
    -DSPIRV_REMAPPER_LIB=../external/glslang/build/SPIRV/libSPVRemapper.a \
    -DSPIRV_TOOLS_LIB=$PKG/usr/lib$LIBDIRSUFFIX/libSPIRV-Tools.a \
    ..
  make $NUMJOBS VERBOSE=1 || make || exit 1
cd -

# Manual install...

mkdir -p $PKG/usr/{bin,lib$LIBDIRSUFFIX,include/vulkan,include/spirv}
mkdir -p $PKG/usr/share/vulkan/{explicit,implicit}_layer.d
mkdir -p $PKG/etc/vulkan/icd.d/

install -m 0644 include/vulkan/* $PKG/usr/include/vulkan/
for i in spirv.h spirv.hpp spirv.hpp11; do
  install -m 0644 external/spirv-tools/external/spirv-headers/include/spirv/1.1/$i \
    $PKG/usr/include/spirv/
done

cp -rv  build/loader/libvulkan.so* $PKG/usr/lib$LIBDIRSUFFIX/
install -m 0644 build/layers/*.so $PKG/usr/lib$LIBDIRSUFFIX/

install -m 0755 build/demos/vulkaninfo $PKG/usr/bin/

# fix library paths
for i in layers/linux/*.json ; do
  sed 's@./@@' $i > $PKG/usr/share/vulkan/explicit_layer.d/$(basename $i)
done

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 LICENSE.txt loader/LoaderAndLayerInterface.md \
  $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.txz

Last edited by dugan; 08-21-2017 at 01:28 AM.
 
2 members found this post helpful.
Old 08-21-2017, 04:29 AM   #2714
gmgf
Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 879

Rep: Reputation: Disabled
gdk-pixbuf-2.36.9:

http://ftp.gnome.org/pub/gnome/sourc...uf-2.36.9.news
http://ftp.gnome.org/pub/gnome/sourc...-2.36.9.tar.xz

p11-kit-0.23.8:

(it seem that the src are on git now)
https://github.com/p11-glue/p11-kit/releases
https://github.com/p11-glue/p11-kit/...-0.23.8.tar.gz

Last edited by gmgf; 08-21-2017 at 06:13 AM.
 
Old 08-21-2017, 12:09 PM   #2715
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.1, Slackware64_14.2, Slackware64_current
Posts: 70

Rep: Reputation: Disabled
Mesa 17.1.7 has been released: https://www.mesa3d.org/relnotes/17.1.7.html
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

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

All times are GMT -5. The time now is 02:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration