LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-27-2023, 08:07 PM   #2056
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556

Quote:
Originally Posted by USUARIONUEVO View Post
Again the thread coverted in chat..Bored.
Not everyone is in chat.
 
Old 03-28-2023, 12:13 PM   #2057
alnun
LQ Newbie
 
Registered: Mar 2021
Posts: 29

Rep: Reputation: Disabled
It's a little confusing if GTK 4.10 has actually been released or not, but even if there is no news announcement, tarballs have been made already. This one finally fixes the 20 year old icon view bug in the file picker.
https://download.gnome.org/sources/gtk/4.10/
 
2 members found this post helpful.
Old 03-28-2023, 05:56 PM   #2058
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
accountsservice 23.13.9

https://gitlab.freedesktop.org/accou...-/tags/23.13.9

Since it fails to build:
Code:
../tests/meson.build:49:8: ERROR: Command `/tmp/accountsservice-23.13.9/tests/unittest_inspector.py /tmp/accountsservice-23.13.9/tests/test-libaccountsservice.py` failed with status 1.
And there is no option to disable 'test', so
Code:
--- accountsservice.SlackBuild  2023-03-29 00:52:45.533977888 +0200
+++ accountsservice.SlackBuild.1        2023-03-29 00:52:59.906051364 +0200
@@ -86,6 +86,8 @@
   \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
   -exec chmod 644 {} \+
 
+sed -e "/subdir('tests')/d" -i meson.build
+
 # Configure, build, and install:
 export CFLAGS="$SLKCFLAGS"
 export CXXFLAGS="$SLKCFLAGS"
 
Old 03-28-2023, 07:55 PM   #2059
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Thunderbird 102.9.1

Release notes:
https://www.thunderbird.net/en-US/th.../releasenotes/
 
Old 03-29-2023, 06:31 PM   #2060
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,226

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Quote:
Originally Posted by saxa View Post
Hi, I see we package together pipewire-media-session. I am trying to make pipewire work on my notebook, and talking to the pipewire guys seems that pipewire-media-session is deprecated and replaced by wireplumber.
So seems would be good to go with wireplumber instead of pipewire-media-session.

https://gitlab.freedesktop.org/pipew...6#note_1840768
Just as an update, I have rebuilt pipewire with wireplumber, in fact we do not even need to make it a separate package as it can be automatically downloaded as a subproject. I have now audio working well
thanks to the guys at pipewire. Seems that we need to have to force pipewire to use 16 bits internally.

Here is the slackbuild I used.
Attached Files
File Type: txt doinst.sh.txt (230 Bytes, 7 views)
File Type: txt pipewire.SlackBuild.txt (5.1 KB, 12 views)
File Type: txt pipewire-disable.sh.txt (2.6 KB, 11 views)
File Type: txt pipewire-enable.sh.txt (2.1 KB, 10 views)
File Type: txt wireplumber.desktop.sample.txt (250 Bytes, 8 views)
 
4 members found this post helpful.
Old 03-29-2023, 06:47 PM   #2061
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by saxa View Post
Just as an update, I have rebuilt pipewire with wireplumber, in fact we do not even need to make it a separate package as it can be automatically downloaded as a subproject. I have now audio working well
thanks to the guys at pipewire. Seems that we need to have to force pipewire to use 16 bits internally.

Here is the slackbuild I used.
Yep, I've already tested it, but it seems to be better to stay with a separate package
See:
https://www.linuxquestions.org/quest...ml#post6387329

Last edited by marav; 03-29-2023 at 06:58 PM.
 
2 members found this post helpful.
Old 03-29-2023, 08:17 PM   #2062
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,226

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Quote:
Originally Posted by marav View Post
Yep, I've already tested it, but it seems to be better to stay with a separate package
See:
https://www.linuxquestions.org/quest...ml#post6387329
Cool, I am all for a separate package, but for my testing to make it work here was just easier to
build it inside like slackware does with pipwire-media-session.
 
1 members found this post helpful.
Old 03-30-2023, 08:56 AM   #2063
madridsecreto
Member
 
Registered: Apr 2018
Location: Madrid
Distribution: Slackware64 -current
Posts: 34

Rep: Reputation: 30
Would it be possible to include the files doc/html/NCURSES-Programming-HOWTO.html, doc/hackguide.doc and doc/ncurses-intro.doc in the ncurses package? It would be cool to include all the html documentation, but I would be happy with just those files.
 
3 members found this post helpful.
Old 03-31-2023, 04:36 AM   #2064
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Ruby 3.2.2
Code:
This release includes security fixes. Please check the topics below for details.

    CVE-2023-28755: ReDoS vulnerability in URI
    CVE-2023-28756: ReDoS vulnerability in Time
https://www.ruby-lang.org/en/news/20...-2-2-released/
 
Old 03-31-2023, 01:55 PM   #2065
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 583

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Perhaps there's already something in Slackware to convert
binary to decimal and decimal to binary.

However, As with the author, I too could not remember how to do it with existing 'tools'.

Therefore, might these be handy to include in Slackware 15.1 ?

https://github.com/jahendrie/bin2dec

https://github.com/jahendrie/dec2bin

Last edited by glennmcc; 03-31-2023 at 01:57 PM.
 
Old 03-31-2023, 02:03 PM   #2066
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by glennmcc View Post
Perhaps there's already something in Slackware to convert
binary to decimal and decimal to binary.

However, As with the author, I too could not remember how to do it with existing 'tools'.

Therefore, might these be handy to include in Slackware 15.1 ?

https://github.com/jahendrie/bin2dec

https://github.com/jahendrie/dec2bin
bin2dec
Code:
$ echo "$((2#1100100))"
100
dec2bin
Code:
$ echo "obase=2;100" | bc
1100100

Last edited by marav; 03-31-2023 at 02:06 PM.
 
2 members found this post helpful.
Old 03-31-2023, 02:57 PM   #2067
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 583

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Not bad, it works up to 63 bits and then fails at 64bits

echo "$((2#111111111111111111111111111111111111111111111111111111111111111))"
9223372036854775807

echo "$((2#1111111111111111111111111111111111111111111111111111111111111111))"
-1

Also fails when only the 64th bit is non-zero

echo "$((2#1000000000000000000000000000000000000000000000000000000000000000))"
-9223372036854775808

Last edited by glennmcc; 03-31-2023 at 03:10 PM.
 
Old 03-31-2023, 06:03 PM   #2068
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 797

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
Quote:
Originally Posted by glennmcc View Post
echo "$((2#1000000000000000000000000000000000000000000000000000000000000000))"
-9223372036854775808
Looks like the 64th bit used for signed integer notation in 2's compliment, which would explain the negative value.

If you want more bits, 'bc' can do it. Just change the input base (ibase), instead of the output base (obase) in marav's example to do the "bin2dec" conversion.
Code:
$ echo "ibase=2;1111111111111111111111111111111111111111111111111111111111111111" | bc
18446744073709551615
 
Old 03-31-2023, 08:10 PM   #2069
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 583

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Hmmmm....

root@glennmcc-i7:~# bin2dec 1111111111111111111111111111111111111111111111111111111111111111
18446744073709551616

root@glennmcc-i7:~# bin2dec 1111111111111111111111111111111111111111111111111111111111111110
18446744073709551616

root@glennmcc-i7:~# bin2dec 1111111111111111111111111111111111111111111111111111111111111100
18446744073709551616

root@glennmcc-i7:~# bin2dec 1111111111111111111111111111111111111111111111111111111111111000
18446744073709551616

root@glennmcc-i7:~# bin2dec 1111111111111111111111111111111111111111111111111111111111110000
18446744073709551616

root@glennmcc-i7:~# bin2dec 1111111111111111111111111111111111111111111111111111111111100000
18446744073709551616

root@glennmcc-i7:~# bin2dec 1111111111111111111111111111111111111111111111111111111111000000
18446744073709551616

root@glennmcc-i7:~# bin2dec 1111111111111111111111111111111111111111111111111111111110000000
18446744073709551616

root@glennmcc-i7:~# bin2dec 1111111111111111111111111111111111111111111111111111111100000000
18446744073709551616


root@glennmcc-i7:~# dec2bin 18446744073709551615
10000000000000000000000000000000000000000000000000000000000000000

root@glennmcc-i7:~# dec2bin 18446744073709551616
10000000000000000000000000000000000000000000000000000000000000000


Soooo.... please disregard my suggestion.

Perhaps just add these 2 little bash scripts to the distro ?

-rwxr-xr-x 1 root root 23 Mar 31 21:29 bin2dec.sh*
-rwxr-xr-x 1 root root 23 Mar 31 21:28 dec2bin.sh*


root@glennmcc-i7:~# cat bin2dec.sh
echo "ibase=2;$1" | bc

root@glennmcc-i7:~# ./bin2dec.sh 1111111111111111111111111111111111111111111111111111111111111111
18446744073709551615

root@glennmcc-i7:~# cat dec2bin.sh
echo "obase=2;$1" | bc

root@glennmcc-i7:~# ./dec2bin.sh 18446744073709551615
1111111111111111111111111111111111111111111111111111111111111111

Last edited by glennmcc; 03-31-2023 at 08:33 PM.
 
Old 04-01-2023, 07:29 AM   #2070
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,383

Rep: Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762
Quote:
Perhaps just add these 2 little bash scripts to the distro ?
Rather than add to the distro, I suggest a local customisation.
In /etc/profile.d/local.sh
Code:
#!/bin/sh

# Local customisations

# Shell function to convert binary value to decimal
bin2dec() { [ -z $1 ] && echo "Error: no value supplied" || echo "ibase=2;$1" | bc; }
# Shell function to convert decimal value to binary
dec2bin() { [ -z $1 ] && echo "Error: no value supplied" || echo "obase=2;$1" | bc; }
In ~/.bashrc
Code:
# Local customised shell functions
. /etc/profile.d/local.sh

Last edited by allend; 04-01-2023 at 07:54 AM. Reason: Forgot the .bashrc entry
 
  


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
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[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 09:02 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