LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-13-2018, 06:48 PM   #31
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211

Quote:
Originally Posted by Alien Bob View Post
People should inform themselves better then.
Sorry I fell short. I guess I was used to the Slackware source tree where that tree is used to build the packages and any unused packages don't have their source components available.

I'll try to stay more informed, but it isn't always easy to stay up on everything.
 
1 members found this post helpful.
Old 09-13-2018, 07:11 PM   #32
chrisVV
Member
 
Registered: Aug 2010
Posts: 322

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by bassmadrigal View Post
Sorry I fell short. I guess I was used to the Slackware source tree where that tree is used to build the packages and any unused packages don't have their source components available.

I'll try to stay more informed, but it isn't always easy to stay up on everything.
The reaction to your posting was over the top. You have apologised once for somethign that barely required an apology. There is no need to do it again.
 
1 members found this post helpful.
Old 09-13-2018, 08:46 PM   #33
regis_n_bits
Member
 
Registered: Mar 2006
Distribution: Slackware64 14.2 (kernel 4.4.52)
Posts: 92

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Good catch! I didn't look close enough to realize the second wget was hardcoded to the "latest" url. I don't have the ability to generate a diff right now (work computer running Windows and I couldn't find any websites that would generate one for you), but if you change the following line (line number 145):

Code:
wget https://repo.skype.com/latest/skypeforlinux-64.rpm -O "$REPACKDIR/src/skypeforlinux-$VERSION-1.x86_64.rpm"
with this:

Code:
cd "$REPACKDIR/src"
wget https://repo.skype.com/rpm/stable/skypeforlinux_$VERSION-1.x86_64.rpm
it should work with any versions they have in their repo.
Thanks, didn't know the link for the "stable" rpm archive.

So with a small modification to Ruario's script I was able to download and create packages for versions 8.29.0.50 and 8.30.0.50. There are only a few recent rpms in that archive, so who knows how long the 8.29.0.50 version will be available.
 
Old 09-14-2018, 03:44 PM   #34
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,426

Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832
Thanks for making me realize that I should probably do something about skypeforlinux NOW-rather-than-later, regis_n_bits.

I hadn't considered that maybe version 8.29.0.50 might disappear from repo.skype.com ...

In addition to bassmadrigal's patch, I had to set a wget -O flag to replace a '_' with a '-' in the original filename to comply with Slackware-Standard Naming Conventions.

Patch is below my signature.

I upgraded skypeforlinux version 8.18.0.6 with 8.29.0.50 on my Slackware64 14.2 + Multilib system and it works just fine.

Thanks to all !

-- kjh

# diff -Naur latest-skype.sh-orig latest-skype.sh

Code:
--- latest-skype.sh-orig        2018-04-09 07:19:56.000000000 -0500
+++ latest-skype.sh     2018-09-14 14:39:22.230605371 -0500
@@ -127,7 +127,8 @@
 install -m 644 "${0}" "$REPACKDIR/src/$SCRIPT"
 
 # Fetch Skype
-wget https://repo.skype.com/latest/skypeforlinux-64.rpm -O "$REPACKDIR/src/skypeforlinux-$VERSION-1.x86_64.rpm"
+cd "$REPACKDIR/src"
+wget https://repo.skype.com/rpm/stable/skypeforlinux_$VERSION-1.x86_64.rpm -O "skypeforlinux-$VERSION-1.x86_64.rpm"
 
 # Now we have all the sources in place, switch to the package directory
 # and start setting things up.
 
2 members found this post helpful.
Old 09-15-2018, 04:18 AM   #35
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
So, what is the conclusion of this story?

No more new Skype releases running on Slackware, because of "systemd sucks" ?
 
Old 09-15-2018, 04:52 AM   #36
chrisVV
Member
 
Registered: Aug 2010
Posts: 322

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by Darth Vader View Post
So, what is the conclusion of this story?

No more new Skype releases running on Slackware, because of "systemd sucks" ?
I think the conclusion is either to use old versions of skype for as long as they work, or to try starting the elogind daemon before running a new version of skype and see if that helps. (Since you will probably have an X session running under ConsokeKit at that point, I don't know what the outcome of that will be.)
 
1 members found this post helpful.
Old 09-15-2018, 06:06 AM   #37
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 269

Rep: Reputation: 66
At first I thought this might be an issue with libappindicator (I have libindicator but not libappindicator and I'm using my own Plasma 5 build). Then I read this thread and decided to test the theory about elogind. I've installed skypeforlinux 8.30.76.41 with elogind 236.1 and 238.1. In both cases Skype works and I have an icon in the Plasma 5 task tray. If I remove elogind, there is a skypeforlinux process running but nothing appears in the task tray. So no systemd drama, just install elogind if you can.

Since compiling elogind requires meson, which requires python 3, it is possible to install this on 14.2 using the SlackBuilds from -current for python3, python-setuptools, python-six etc., re2c from SBo, and then ninja and meson from the -current SlackBuilds. Don't mess around with your python2 packages (esp. if you have 3rd party packages installed), just the new python3 stuff that's been added to -current.

Things might be more interesting if you're using glibc-2.28. I have this installed on my build PC (which is a custom rolling installation somewhere between 14.2 and -current). I get the "redefinition of ‘struct statx’" error if I try to build elogind on this PC but on another with glibc-2.27 both 236.1 and 238.1 build fine.
 
1 members found this post helpful.
Old 09-15-2018, 06:14 AM   #38
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Quote:
Originally Posted by chrisVV View Post
I think the conclusion is either to use old versions of skype for as long as they work, or to try starting the elogind daemon before running a new version of skype and see if that helps. (Since you will probably have an X session running under ConsokeKit at that point, I don't know what the outcome of that will be.)
So, long story short, we just entered in a hell hole because of the usage of ConsoleKit hack instead of using as everyone, you know what?

Nice!

Last edited by Darth Vader; 09-15-2018 at 06:23 AM.
 
Old 09-15-2018, 06:21 AM   #39
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Quote:
Originally Posted by fskmh View Post
At first I thought this might be an issue with libappindicator (I have libindicator but not libappindicator and I'm using my own Plasma 5 build). Then I read this thread and decided to test the theory about elogind. I've installed skypeforlinux 8.30.76.41 with elogind 236.1 and 238.1. In both cases Skype works and I have an icon in the Plasma 5 task tray. If I remove elogind, there is a skypeforlinux process running but nothing appears in the task tray. So no systemd drama, just install elogind if you can.

Since compiling elogind requires meson, which requires python 3, it is possible to install this on 14.2 using the SlackBuilds from -current for python3, python-setuptools, python-six etc., re2c from SBo, and then ninja and meson from the -current SlackBuilds. Don't mess around with your python2 packages (esp. if you have 3rd party packages installed), just the new python3 stuff that's been added to -current.

Things might be more interesting if you're using glibc-2.28. I have this installed on my build PC (which is a custom rolling installation somewhere between 14.2 and -current). I get the "redefinition of ‘struct statx’" error if I try to build elogind on this PC but on another with glibc-2.27 both 236.1 and 238.1 build fine.
Then, even the ConsoleKit shipped by slackware-current does not emulate the systemd-logind too?

Last edited by Darth Vader; 09-15-2018 at 06:30 AM.
 
Old 09-15-2018, 06:31 AM   #40
chrisVV
Member
 
Registered: Aug 2010
Posts: 322

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by Darth Vader View Post
Then, the ConsoleKit shipped by slackware-current does not emulate the systemd-logind too?
ConsoleKit2 implements similar functionality to elogind, but it has a different dbus interface.
 
1 members found this post helpful.
Old 09-15-2018, 06:35 AM   #41
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 269

Rep: Reputation: 66
Quote:
Originally Posted by Darth Vader View Post
Then, the ConsoleKit shipped by slackware-current does not emulate the systemd-logind too?
ConsoleKit2 mostly seems to do the job, but you might still need loginctl from elogind if the Plasma 5 lock screen kicks in and you can't unlock it in the GUI and you have to drop to the console to unlock it (say, for example, because you've upgraded Plasma while you're still in the GUI). There is another way out using dbus but it's hacky:
Code:
enum_sessions="$(which ck-list-sessions 2>/dev/null)"
user_session="$(${enum_sessions} | grep Session | awk -F':' '{print $1}')"
su -c "dbus-send --system --print-reply --dest=\"org.freedesktop.ConsoleKit\" \
/org/freedesktopConsoleKit/${user_session} org.freedesktop.ConsoleKit.Session.Unlock"
 
2 members found this post helpful.
Old 09-15-2018, 07:03 AM   #42
chrisVV
Member
 
Registered: Aug 2010
Posts: 322

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by fskmh View Post
If I remove elogind, there is a skypeforlinux process running but nothing appears in the task tray.
There must be something different about your set-up. If I start skypeforlinux-8.30.76.22 under XFCE with a vanilla slackware64-current SysVinit boot-up, skype aborts after failing to find the org.freedesktop.login1 service, and no process is left running.

Anyway it is good to hear that installing elogind deals with the issue.
 
Old 09-15-2018, 07:04 AM   #43
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 890

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
skype on Linux has been nuisance from the start
 
2 members found this post helpful.
Old 09-15-2018, 07:28 AM   #44
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Quote:
Originally Posted by solarfields View Post
skype on Linux has been nuisance from the start
Skype worked fine from long time under Linux. I talk about Fedora, RHEL, OpenSUSE, SLED, etc...

The real nuisance was the "PulseAudio sucks" crowd.

So embarrassing that Skype, Inc. does not payed double number of developers, just for some stray "anti-PulseAudio" guys.
 
Old 09-15-2018, 11:07 AM   #45
pee_bee
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 5
Is there an elogind package to download? Where can it be found? Thanks.
 
  


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
Is 14.2 the same as the latest update 14.1 with Current? Yaguar Slackware 8 07-13-2016 07:28 PM
LM17.1 latest update and keyboard audio keys no longer working lissa374 Linux Mint 2 03-16-2015 05:55 PM
Latest Suse "YOU" update....Linux Kernel Update Failed Balarabay1 SUSE / openSUSE 10 06-11-2006 10:07 PM
Wireless stopped working with latest kernel update cmfarley19 Ubuntu 4 12-10-2005 03:26 AM
Latest RH 9.0 update jeopardyracing Red Hat 1 02-25-2004 01:09 AM

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

All times are GMT -5. The time now is 07:01 AM.

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