LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-22-2015, 08:00 PM   #1
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Exclamation Slackworks updates.


Hi everyone. My public repo has a few changes within, so I figured I'd share.

Removed:

extras/openpam
extras/openpam-modules

OpenPAM was less than useful and the modules package proved to be a menace to maintain. After some consideration, I just dropped it. it's a nice package and works, but there's very little support for it outside Gentoo/Funtoo and several other similar distributions.

No changes:

a/grub
l/ConsoleKit2
l/hald

No updates to Grub-2.02~beta2 as of late.

No updates to ConsoleKit-0.9.2 as of late either.

Currently, hald is deprecated and is set to be removed from the repository soon due to the fact glib is more a problem than ever, and the fact it requires a lot of work to build and maintain. If you want it, get it while you can.

Additions:
a/eudev
l/loginkit

eudev is a drop in replacement for udev. This was originally developed by Didier Spaier for Slackware 14.1, but I've modified it somewhat and trimmed down old information and updated it a bit. Current version is eudev-3.0.

LoginKit is a system independent libsystemd and logind shim kit that duplicates the function of several small systemd libraries and the logind utility using ConsoleKit2 as a backend. It also provides several developer files to try and use LoginKit in place of systemd-logind.

While ConsoleKit2 provides many modern functions and updates to the original ConsoleKit package similar to systemd-logind, LoginKit provides the missing Inhibit() function.

This version is a pull of the loginkit master branch repackaged for usage with this SlackBuild for Slackware, and requires ConsoleKit2 for functionality. Also, included is a patch to disable the PAM library (which can be easily re-enabled if you use PAM by commenting out the patch.)

Currently, loginkit is still considered "in development" so the software may not have all the complete functionality desired.

Last edited by ReaperX7; 05-22-2015 at 11:25 PM.
 
Old 05-23-2015, 12:09 AM   #2
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Regarding ConsoleKit2:

Built the package, switched system to maintenance mode, removed ConsoleKit, installed ConsoleKit2, rebooted, and seems to be working.

However, with Xfce, when I click on logout, all options except logout are greyed out and cannot be invoked.

This has been reported and fixed I think.
https://github.com/ConsoleKit2/ConsoleKit2/issues/16
 
Old 05-23-2015, 12:49 AM   #3
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Smile

With the patch mentioned in the report applied it seems to work.
Updated SlackBuild with patch file attached (.txt extension would need to be removed), or can be found here.
Attached Files
File Type: txt ConsoleKit2.SlackBuild.txt (5.0 KB, 16 views)
File Type: txt 40137c006c341542fec8be139b3acea78afb584e.patch.txt (1.2 KB, 13 views)
 
Old 05-23-2015, 01:09 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
It works for me without the patch. I can add it in after some research.

Did you enable ConsoleKit in OpenRC?

Code:
rc-update add consolekit default
 
Old 05-23-2015, 01:14 AM   #5
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Quote:
Originally Posted by ReaperX7 View Post
It works for me without the patch. I can add it in after some research.

Did you enable ConsoleKit in OpenRC?

Code:
rc-update add consolekit default
Yup.

Code:
$ rc-service consolekit status
 * status: started
 
Old 05-23-2015, 10:26 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I added the patch to CK2, but it's optional still after reading the comments on it. There's also a small command to check and see if it is needed in the description.

I'm still considering pulling in some more projects into the Slackworks for experimental usage. Bartgymnast has his version of procps-ng, so that might get folded in next. I did consider libepoxy for X11 research.

Kinda curious if anyone has any ideas of stuff that could be imported.

Last edited by ReaperX7; 05-24-2015 at 02:39 AM.
 
Old 05-27-2015, 08:41 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
05-27-2015 update:

Added several new dependency libraries and a few custom packages geared for testing rather than general usage, and some extras new to Slackworks.

New packages:

libomxil-bellagio - new implementation of the Khronos Group OpenMAX.

libepoxy - new EGL handler for xorg-server (used by xorg-server-1.16.x or later.)

libclc - new OpenCL implementation for LLVM/Clang systems.

Experiment packages include:

libdrm - enables experimental APIs for several embedded GPUs. Might be useful on a few systems but support will be limited, and will require drivers from x.org for the related GPUs. To quote it correctly, "Some assembly required. Drivers not included. "

mesa - enables openmax, opencl, several new drivers, and the nine-d3d9x state tracker, and extra support vectors (these might be useful for Nvidia, Intel, and AMD series cards, Wine support, and multimedia.)

eudev - rehash of Didier Spaier's work with some minor updates.

Last edited by ReaperX7; 05-28-2015 at 12:40 AM.
 
1 members found this post helpful.
Old 05-31-2015, 09:53 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
For your information Anthony G Basile just posted on the eudev ML:
Quote:
eudev 3.1 is out. Can you please test it. Its approximately equivalent to udev 220.
 
1 members found this post helpful.
Old 05-31-2015, 03:02 PM   #9
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Thanks Didier, I'll start the transition process to the new package.

Edit:

Updated the a/eudev SlackBuild package to reflect the new version, as well as redrafted some of the documentation.

Last edited by ReaperX7; 05-31-2015 at 04:07 PM.
 
Old 06-01-2015, 11:35 AM   #10
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Hi,

Regarding the eudev slackbuild, I think it is more common to symlink the old library to the new one rather than moving it, ie:
Quote:
#mv $PKG/lib${LIBDIRSUFFIX}/libudev.so.1 $PKG/lib${LIBDIRSUFFIX}/libudev.so.0

ln -s /lib${LIBDIRSUFFIX}/libudev.so.1 $PKG/lib${LIBDIRSUFFIX}/libudev.so.0
After making the above change, I built the package and installed it as follows:
Code:
# upgradepkg udev%eudev-3.1-x86_64-1.txz
After that I rebooted, and as per initial testing it seems to be working.
 
Old 06-02-2015, 09:47 PM   #11
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Added extras/freshplayerplugin to the repository.

FreshPlayerPlugin requires several SBo packages ragel and libconfig to build as well as requires Mesa be rebuilt with OpenGL ES2 support. Currently, this is NOT available in Slackware, yet. You can add it one of two ways. Either edit the official mesa SlackBuild to add the configure option: --enable-gles2 or use the provided mesa here at Slackworks which also requires building all the new dependencies as well.

If you have the nvidia-driver or the fglrx-driver, the rebuild step is unnecessary as the gles2 driver is included.

Pending, this package has been submitted equally to SlackBuilds.org

Last edited by ReaperX7; 06-02-2015 at 09:50 PM.
 
Old 06-03-2015, 10:45 PM   #12
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Didn't want to cross-up my last posting, but figured I'd add a separate reply.

Guys, if there are packages, whether experimental in nature, or stable, that aren't included in Slackware or available on SBO, yet, feel free to ask me to try and create an SBO package script set for it.

I don't mind doing work if it helps the system advance and extend things out. I will review any suggestions made. I do ask that if patches do exist, please let me know about them so I can get them rolled into the build set.
 
Old 06-11-2015, 12:10 AM   #13
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Readded:

openpam
openpam-modules

This is a reworking of the original package I was hosting with some improvements.

Both are very basic packages and will require knowledge of setting up PAM configuration files before usage and recompiling for PAM support by packages. The openpam-modules package will provide you with a minimum to get you started. The rest is up to you.

This package is open for submissions of configuration files if you would like to contribute. If you do not feel comfortable using PAM without a working configuration file, please refer to the build script and configuration information to disable PAM support within the package you are building.

At minimum you should rebuild the package 'shadow' to add PAM support.

Last edited by ReaperX7; 06-11-2015 at 12:13 AM.
 
Old 06-11-2015, 10:23 PM   #14
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Reworked:

libepoxy

I accidentally left some vital information out on how to build xorg-server with libepoxy support. This effectively will enable usage of glamor support and also enable Xwayland if you have already installed wayland from SBo or Slackworks.

Added:

wayland

I cloned the work of Diniz Bortolotto and version bumped wayland up to 1.8.0 to bring wayland up to speed a bit for my usage internally. If you have installed libepoxy and use this package with the instructions outlined in the libepoxy README, you can add Xwayland support to xorg-server for Slackware, which can be useful with KDE5/Plasma or other Wayland enabled compositors.
 
Old 06-12-2015, 02:47 AM   #15
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
just FYI, the changes you required in mesa was added in -current, so that's why your freshplayerplugin is still in pending. I think it would be better to postpone it until next Slackware so users no longer need to rebuild/modify Slackware's packages.
 
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
The Slackworks is open. ReaperX7 Slackware 7 10-27-2015 08:18 PM
My Slackworks repository has been moved. ReaperX7 Slackware 6 03-17-2015 08:11 AM
Bind9 + DHCP - very few forward map updates, lot of reverse updates? rylan76 Linux - Networking 0 11-28-2012 08:44 AM
got a Fedora 9 indication that yum updates were available, but there were no updates landonmkelsey Linux - Software 12 02-08-2009 09:53 AM
yum check-update says no updates when there are updates? MarkEHansen Linux - General 7 12-29-2006 05:16 PM

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

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