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 07-12-2020, 12:19 PM   #5356
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled

Can SDL2 be rebuilt with --enable-video-kmsdrm? This allows at least some SDL2 programs to use the KMS/DRM context and run the graphical program directly from an unused tty without needing to have X11 or wayland running.
 
2 members found this post helpful.
Old 07-12-2020, 02:11 PM   #5357
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
Gstreamer 1.17.2 would be nice TY
Code:
#!/bin/bash

# Copyright 2008  Robby Workman, Northport, Alabama, USA
# Copyright 2008  Michiel van Wessem <michiel@slackbuilds.org>
# Copyright 2008, 2009, 2010, 2013, 2015, 2018  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.

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

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

# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) export ARCH=i586 ;;
    arm*) export ARCH=arm ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
       *) export 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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
  exit 0
fi

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

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

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

rm -rf $PKG
mkdir -p $TMP $PKG

cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
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 {} \+
 
# Configure, build, and install:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
mkdir meson-build
cd meson-build
meson setup \
  --prefix=/usr \
  --libdir=lib${LIBDIRSUFFIX} \
  --libexecdir=/usr/libexec \
  --bindir=/usr/bin \
  --sbindir=/usr/sbin \
  --includedir=/usr/include \
  --datadir=/usr/share \
  --mandir=/usr/man \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --buildtype=release \
  -Dpackage-origin=gstreamer.url \
  -Dpackage-name="GStreamer 1.17.2" \
  .. || exit 1
  "${NINJA:=ninja}" $NUMJOBS || exit 1
  DESTDIR=$PKG $NINJA install || exit 1
cd ..

# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la

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

# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then
  ( cd $PKG/usr/man
    for manpagedir in $(find . -type d -name "man*") ; do
      ( cd $manpagedir
        for eachpage in $( find . -type l -maxdepth 1) ; do
          ln -s $( readlink $eachpage ).gz $eachpage.gz
          rm $eachpage
        done
        gzip -9 *.?
      )
    done
  )
fi
 
Old 07-12-2020, 04:53 PM   #5358
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
I don't understand what's the point of this check in xwmconfig:
Code:
# This stops --backtitle from cluttering the initial install:
if [ ! -r /proc/kcore ]; then
  BACKTITLE=""
fi
From the comment, I guess that maybe the intention was to hide backtitle when running xwmconfig during the setup but it's shown anyway, apparently because /proc is present when xwmconfig is run because it's mounted in SeTconfig. A side-effect of this check is that 'Setting default window manager in $HOME/.xinitrc and $HOME/.xsession' backtitle is never shown when xwmconfig is run after the installation because non-root users cannot read /proc/kcore and it has been like that since forever. Would it be ok to remove this check?
 
Old 07-12-2020, 06:53 PM   #5359
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
meson 0.55.0

https://github.com/mesonbuild/meson/releases/tag/0.55.0
 
Old 07-13-2020, 01:45 PM   #5360
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 297Reputation: 297Reputation: 297
NetworkManager-1.26.0
https://download.gnome.org/sources/N...-1.26.0.tar.xz
 
2 members found this post helpful.
Old 07-14-2020, 03:11 AM   #5361
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Python 3.8.4
https://docs.python.org/release/3.8....html#changelog
https://www.python.org/ftp/python/3....n-3.8.4.tar.xz
https://www.python.org/ftp/python/3....8.4.tar.xz.asc
https://docs.python.org/3.8/archives...s-text.tar.bz2

Last edited by mats_b_tegner; 07-14-2020 at 11:36 AM.
 
1 members found this post helpful.
Old 07-14-2020, 04:23 AM   #5362
HQuest
Member
 
Registered: Jan 2018
Location: 2001:470:c2d0::/56
Distribution: Anyone that I can interface with
Posts: 87

Rep: Reputation: Disabled
Quote:
Originally Posted by talo View Post
Dear HQuest,
Dane works quite well, but the site.config was wrong. Here is the one I use, actually in version 8.16.0.41 (patched):
---------------------------------------------
APPENDDEF(`confENVDEF', `-DNETINET6')
APPENDDEF(`confMAPDEF', `-DNEWDB')
APPENDDEF(`confLIBS', `-lnsl -lssl -lcrypto -lsasl2 -lwrap -lm -ldb -lresolv')
APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER')
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ')
APPENDDEF(`confENVDEF', `-DBROKEN_PTHREAD_SLEEP')
APPENDDEF(`confENVDEF', `-DSTARTTLS -DSASL=2 -DTCPWRAPPERS -DNIS -DMAP_REGEX -DSOCKETMAP')
APPENDDEF(`confENVDEF', `-D_FFR_TLS_1')
APPENDDEF(`confENVDEF', `-D_FFR_TLSA_DANE2')dnl
-----------------------------------------------
You find all use full packages on http://talo.nl/talo/download/slackware/14.2/*

without the patch the last record should be
APPENDDEF(`confENVDEF', `-D_FFR_TLSA_DANE')dnl

There was a discussion on https://www.five-ten-sg.com/mapper/blog/DANE for version 8.16.0.29 but the patch did fit to 8.16.0.41 too.
The patch can not be used for 8.16.1 but it supports dane:ee 3.1.X. I use 3 1 1 , but you need a _25._tcp.your adress record.

It run for more then a year without problems.

talo,
for direct contact jaapw @ talo.nl
Hi Talo.

Yeah, I'm also making use of DANE for the past 2 years or so (locally packaged). The problem of using _FFR_ variables is, as defined by Sendmail's installation and operations guide, "ForFutureReleases (prefix _FFR_) which might be enabled in a subsequent version or might simply be removed as they turned out not to be really useful.". Definitely not the case with DANE, since it made to the latest release and got promoted to -DDANE. However during the last commit of the official 8.16.1, Claus did missed a few things (notably the STARTTLS check) that are pre-requisites for DANE to work. With that, I rolled back to the past 8.16.0.50, which seemed to be working just as 8.6.0.41 was, and will wait until 8.6.2 is out, hopefully fixed.

Also, _FFR_TLS_1 and BROKEN_PTHREAD_SLEEP are no longer on the code. See valid compile options on sendmail/conf.c.

A modern, updated site.config.m4 file would look like

Code:
APPENDDEF(`confMAPDEF', `-DNEWDB')
APPENDDEF(`confLIBS', `-lnsl -lssl -lcrypto -lsasl2 -lwrap -lm -ldb -lresolv')
APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER')
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`confENVDEF', `-DNETINET6 -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS -DMAP_REGEX -DSOCKETMAP -DTLS_EC')dnl
I also would add -DDNSSEC_TEST, but not all places do enforce it (perhaps this is the same reason why DANE is not added by default on Pat's package...)

Thanks for the packages and help offer, though!

Last edited by HQuest; 07-21-2020 at 07:19 AM.
 
Old 07-14-2020, 08:47 AM   #5363
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Please set PYTHONDONTWRITEBYTECODE=1 in the gegl SlackBuild to prevent it from creating __pycache__ files in the file system and triggering the following sandbox violations.

Code:
export PYTHONDONTWRITEBYTECODE=1
To reproduce:

Code:
sandbox ./gegl.SlackBuild
https://slackbuilds.org/repository/14.2/system/sandbox/

Excerpt of the sandbox log, the full log is too long to post here.

Code:
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /usr/lib64/gobject-introspection/giscanner/__pycache__
A: /usr/lib64/gobject-introspection/giscanner/__pycache__
R: /usr/lib64/gobject-introspection/giscanner/__pycache__
C: python3 /usr/bin/g-ir-scanner --help 

F: mkdir
S: deny
P: /usr/lib64/gobject-introspection/giscanner/__pycache__
A: /usr/lib64/gobject-introspection/giscanner/__pycache__
R: /usr/lib64/gobject-introspection/giscanner/__pycache__
C: python3 /usr/bin/g-ir-scanner --help 

F: mkdir
S: deny
P: /usr/lib64/gobject-introspection/giscanner/__pycache__
A: /usr/lib64/gobject-introspection/giscanner/__pycache__
R: /usr/lib64/gobject-introspection/giscanner/__pycache__
C: python3 /usr/bin/g-ir-scanner --help 

F: mkdir
S: deny
P: /usr/lib64/gobject-introspection/giscanner/__pycache__
A: /usr/lib64/gobject-introspection/giscanner/__pycache__
R: /usr/lib64/gobject-introspection/giscanner/__pycache__
C: python3 /usr/bin/g-ir-scanner --help 

F: mkdir
S: deny
P: /usr/lib64/gobject-introspection/giscanner/__pycache__
A: /usr/lib64/gobject-introspection/giscanner/__pycache__
R: /usr/lib64/gobject-introspection/giscanner/__pycache__
C: python3 /usr/bin/g-ir-scanner --help 

F: mkdir
S: deny
P: /usr/lib64/gobject-introspection/giscanner/__pycache__
A: /usr/lib64/gobject-introspection/giscanner/__pycache__
R: /usr/lib64/gobject-introspection/giscanner/__pycache__
C: python3 /usr/bin/g-ir-scanner --help 

F: mkdir
S: deny
P: /usr/lib64/gobject-introspection/giscanner/__pycache__
A: /usr/lib64/gobject-introspection/giscanner/__pycache__
R: /usr/lib64/gobject-introspection/giscanner/__pycache__
C: python3 /usr/bin/g-ir-scanner --help 

...
 
Old 07-14-2020, 09:14 AM   #5364
talo
Member
 
Registered: May 2015
Location: near Amsterdam
Distribution: slackware-14.2 + currrent
Posts: 65

Rep: Reputation: Disabled
Hi HQuest,

Quote:
Sendmail
Yeah, I'm also making use of DANE for the past 2 years or so (locally packaged). The problem of using _FFR_ variables is, as defined by Sendmail's installation and operations guide, "ForFutureReleases (prefix _FFR_) which might be enabled in a subsequent version or might simply be removed as they turned out not to be really useful.". Definitely not the case with DANE, since it made to the latest release and got promoted to -DDANE. However during the last commit of the official 8.16.1, Claus did missed a few things (notably the STARTTLS check) that are pre-requisites for DANE to work. With that, I rolled back to the past 8.16.0.50, which seemed to be working just as 8.6.0.41 was, and will wait until 8.6.2 is out, hopefully fixed.

Also, _FFR_TLS_1 and BROKEN_PTHREAD_SLEEP are no longer on the code. See valid compile options on sendmail/conf.c.
I returned to 8.16.0.41, mainly because of DANE patch of 5-10 group. If their is a cert and any DANE connection is made, DANE record is written to "maillog".

You remarks are useful and I will follow the actions, including those of Claus.

talo
 
Old 07-16-2020, 03:01 AM   #5365
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Korean fonts seem to be broken in the Firefox 78

https://imgur.com/E7tpwqX.png
 
Old 07-16-2020, 02:43 PM   #5366
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 354
Blog Entries: 1

Rep: Reputation: Disabled
cmake-3.18.0: cmake-gui segfaults

From update Wed Jul 15 19:34:18 UTC 2020
$ gdb /usr/bin/cmake-gui
...
(gdb) run
Starting program: /usr/bin/cmake-gui
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff1cc1700 (LWP 8187)]
[New Thread 0x7fffeaa9a700 (LWP 8195)

Thread 1 "cmake-gui" received signal SIGSEGV, Segmentation fault.
0x00007ffff69d7684 in qHash(QString const&, unsigned int) () from /usr/lib64/libQt5Core.so.5

Reinstalled cmake-3.17.3, it works as advertised.

Last edited by hpfeil; 07-16-2020 at 02:45 PM.
 
1 members found this post helpful.
Old 07-18-2020, 08:39 AM   #5367
MisterL
LQ Newbie
 
Registered: Mar 2018
Location: Germany
Distribution: Slackware
Posts: 22

Rep: Reputation: 10
php-7.x

Hi!

I don't know if it will have any side effects and/or breaks something.
I have not been able to test rebuilding the package.

Can php-7.x be rebuilt with the additional configure option "--enable-embed" [1]? This will build a shared SAPI library. (On RPM-based distros there is a seperate "php-embedded" package [2] for this.)

I'm asking because I'll try to build uwsgi [3] with its php plugin for testing purposes. I hope that's the only thing missing.

[1] https://www.php.net/manual/en/config...ptions.servers
[2] https://pkgs.org/download/php-embedded
[3] https://slackbuilds.org/repository/14.2/network/uwsgi/
 
Old 07-18-2020, 08:55 AM   #5368
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by MisterL View Post
Hi!

I don't know if it will have any side effects and/or breaks something.
I have not been able to test rebuilding the package.

Can php-7.x be rebuilt with the additional configure option "--enable-embed" [1]? This will build a shared SAPI library. (On RPM-based distros there is a seperate "php-embedded" package [2] for this.)

I'm asking because I'll try to build uwsgi [3] with its php plugin for testing purposes. I hope that's the only thing missing.

[1] https://www.php.net/manual/en/config...ptions.servers
[2] https://pkgs.org/download/php-embedded
[3] https://slackbuilds.org/repository/14.2/network/uwsgi/
I think the embed SAPI must be done in its own separate package because if you just add the configure option in php.SlackBuild you got this error
Code:
[...]
Configuring SAPI modules
checking for Apache 2 handler module support via DSO through APXS... yes
checking for setproctitle... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for PS_STRINGS... no
checking for CLI build... yes
checking for embedded SAPI library support... configure: error: 
+--------------------------------------------------------------------+
|                        *** ATTENTION ***                           |
|                                                                    |
| You've configured multiple SAPIs to be build. You can build only   |
| one SAPI module plus CGI, CLI and FPM binaries at the same time.   |
+--------------------------------------------------------------------+
 
1 members found this post helpful.
Old 07-18-2020, 11:28 AM   #5369
MisterL
LQ Newbie
 
Registered: Mar 2018
Location: Germany
Distribution: Slackware
Posts: 22

Rep: Reputation: 10
Hi ponce,
thanks for testing. You're right, I now remember this message from a few years ago.
And, also my bad, I didn't look into the package on x86_64 but only slackwarearm where the Slackbuild does different things. Please apologize and thanks for the hint, I'll have a look
 
Old 07-18-2020, 04:19 PM   #5370
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi , i inspectioning urwid package , we have python2 + python3 modules in the same package but python3 freezed under old version.


I suggest , move urwid under python2-collection , and urwid , containing python3 only and upgraded , or if no one use urwid python3 , we removed as "urwid" , and mantain py2 version unde collection.


I think urwid its used only by wicd , and that its support only python2.

mantain boot 2+3 , make some collision when other project need urwid for py3 (urwid module from -current are heavy old) , remove or split + upgrade py3 version.


python2 urwid .... only wicd uses
python3 urwid ---> alotkhal mitmproxy python-pudb python-urwidtrees s-tui todoman urlscan wikicurses bpython wifipukkin3 , and many more.

Thanks!

Last edited by USUARIONUEVO; 07-18-2020 at 04:25 PM.
 
1 members found this post helpful.
  


Reply



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] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 05:57 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