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


Closed Thread
  Search this Thread
Old 05-17-2017, 02:11 AM   #2311
ecd102
LQ Newbie
 
Registered: Sep 2011
Distribution: Slackware-current
Posts: 20

Rep: Reputation: Disabled
"modules.builtin" is better in the kernel package than in the kernel-modules


Currently, the "modules.builtin" and compiled "modules.builtin.bin" files are included in the kernel-modules package reflecting all modules in the package.

However, the files are for showing all modules that are actually built into the kernel.
Thus, when installing the kernel package, the files should also be installed along the kernel to avoid the module loader's confusion.

So, how about changing the kernel packaging scripts like below ?
(Here I show patches for only -modules and -huge. -generic and other scripts also need to be patched.)

Code:
--- packaging-x86_64.orig/kernel-modules/kernel-modules.SlackBuild      2017-05-09 19:55:00.000000000 +0900
+++ packaging-x86_64/kernel-modules/kernel-modules.SlackBuild   2017-05-17 15:33:57.805705348 +0900
@@ -52,6 +52,9 @@ fi

 EOF

+# Exclude modules.builtin
+( cd $PKG/lib/modules/${KERNELRELEASE}; rm -f modules.builtin modules.builtin.bin )
+
 cd $PKG
 /sbin/makepkg -l y -c n $TMP/kernel-modules-$(echo ${VERSION} | tr - _)-$ARCH-$BUILD.txz

--- packaging-x86_64.orig/kernel-huge/kernel-huge.SlackBuild    2017-05-09 20:04:00.000000000 +0900
+++ packaging-x86_64/kernel-huge/kernel-huge.SlackBuild 2017-05-17 15:54:00.523535664 +0900
@@ -23,6 +23,7 @@

 KERNNAME=huge
 VERSION=${VERSION:-4.9.27}
+KERNELRELEASE=${KERNELRELEASE:-4.9.27}
 ARCH=${ARCH:-x86_64}
 KARCH=${KARCH:-x86}
 BUILD=${BUILD:-1}
@@ -90,6 +91,17 @@ cp $SYSMAP $PKG/boot/System.map-$KERNNAM
 cp $CONFIG $PKG/boot/config-$KERNNAME-${VERSION}
 ( cd $PKG/boot ; ln -sf config-$KERNNAME-${VERSION} config )

+# Make modules.builtin.bin
+# Todo: Use modules.builtin from current kernel source and run depmod, is this OK ?
+cp /usr/src/linux-${VERSION}/modules.builtin /lib/modules/${KERNELRELEASE}
+depmod -a ${KERNELRELEASE}
+
+# Copy back modules.builtin and modules.builtin.bin into the package
+mkdir -p $PKG/lib/modules/${KERNELRELEASE}
+cp /lib/modules/${KERNELRELEASE}/modules.builtin $PKG/lib/modules/${KERNELRELEASE}/modules.builtin.${KERNNAME}
+( cd $PKG/lib/modules/${KERNELRELEASE}; ln -sf modules.builtin.${KERNNAME} modules.builtin )
+cp /lib/modules/${KERNELRELEASE}/modules.builtin.bin $PKG/lib/modules/${KERNELRELEASE}/modules.builtin.bin
+
 mkdir -p $PKG/install
 cat $CWD/slack-desc > $PKG/install/slack-desc
 
Old 05-17-2017, 06:33 AM   #2312
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,213

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
slang-2.3.1a:

NEWS for version 2.3.x

24 bit color support (new for version 2.3.1)

http://www.jedsoft.org/releases/slan...2.3.1a.tar.bz2

newt-0.52.20:

https://pagure.io/newt/commits/

https://releases.pagure.org/newt/newt-0.52.20.tar.gz
 
Old 05-17-2017, 01:01 PM   #2313
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by BradReed View Post
Qt 5 was officially released on 19 December 2012. Is it stable enough for Slackware yet?
Nope, because this imply going to so called desktop environment Plasma 5.

Last edited by Darth Vader; 05-17-2017 at 01:10 PM.
 
1 members found this post helpful.
Old 05-17-2017, 01:09 PM   #2314
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by bassmadrigal View Post
Agreed.

It is likely that we'll see the move from KDE4 to Plasma 5 this cycle since KDE4 development has pretty much ceased except for security fixes. All major development has moved to Plasma 5. Alien Bob already has packages for Plasma 5 for -current in his ktown repo, so as soon as Pat is ready to throw the switch, it should be relatively easy to move to it.
Strongly disagreed!

So you guys talk with serenity about putting down half of the packages shipped by Slackware, and to replace them with The Thing which is glorious NOT useful, unstable, wrong by conception and with graphics made by Stevie Wonder when he was high?

Meanwhile, IF I ask for including those damned FOUR packages, which are needed for LinuxPAM, and finally, but finally finally, after hundred years, the Slackware to start to behave as a good citizen in a damned office network, you will come in my porch with guns and yelling "BOB is great!" !?!

Damn, permit me to laugh with tears!

Last edited by Darth Vader; 05-17-2017 at 01:10 PM.
 
3 members found this post helpful.
Old 05-17-2017, 02:20 PM   #2315
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Well, RH => Fedora is still considered upstream although they don't really use newt, but they did not merge (or rejected) useful Debian patches, including the bidi patch that allows to properly display bidirectional scripts in Whiptail (used in Debian text installer), rejected by Fedora long ago. So I strongly suggest to apply the patches in http://http.debian.net/debian/pool/m....debian.tar.xz accessed from https://packages.debian.org/sid/libnewt0.52 listed in debian/patches/series in the archive (I assume that other patches in debian/patches have already been applied "upstream", see debian/changelog), and at the very least the bidi patch.

Last edited by Didier Spaier; 05-18-2017 at 05:16 AM.
 
Old 05-18-2017, 05:11 AM   #2316
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,213

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
udisks-2.6.5:

https://github.com/storaged-project/...-2.6.5.tar.bz2

for Robby, this version work here, on current without change in

/usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service
 
Old 05-18-2017, 05:11 AM   #2317
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,213

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
Sorry double post

Last edited by gmgf; 05-18-2017 at 01:55 PM. Reason: double post
 
Old 05-18-2017, 06:27 AM   #2318
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,213

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
Just cosmetic latest freetype package have doc in /usr/doc/freetype-2.8/docs
 
Old 05-18-2017, 12:33 PM   #2319
furryspider
Member
 
Registered: Feb 2004
Location: by the Bavarian Sea
Distribution: Devuan 3 Beowulf
Posts: 74

Rep: Reputation: 18
Quote:
Originally Posted by bassmadrigal View Post
[...] It is likely that we'll see the move from KDE4 to Plasma 5 this cycle [...]
That would be very welcome indeed! Not that I find anything wrong with KDE4, it's a good and proven DE. But the number of applications that have shifted their development to require KDE5 or at least Frameworks 5 is growing, and there are at least three of those in my workflow.
 
Old 05-18-2017, 01:44 PM   #2320
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by gmgf View Post
udisks-2.6.5:

https://github.com/storaged-project/...-2.6.5.tar.bz2

for Robby, this version work here, on current without change in

/usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service
Indeed it does, it seems, based on some preliminary testing here. The bothersome part is that I've been following the git changes, and nothing in those changes between 2.6.4 and 2.6.5 looks like it should address what I was seeing. I'm going to give it some more time before I queue this one for Pat. Thanks for keeping up with it - I appreciate the testing and heads-up!

On an unrelated note, you double-post a lot :-)
 
Old 05-18-2017, 04:03 PM   #2321
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
gkrellm.pc file is corrupt. Please see here:
https://www.linuxquestions.org/quest...4/#post5712518
 
2 members found this post helpful.
Old 05-18-2017, 04:19 PM   #2322
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Darth Vader View Post
Strongly disagreed!

So you guys talk with serenity about putting down half of the packages shipped by Slackware, and to replace them with The Thing which is glorious NOT useful, unstable, wrong by conception and with graphics made by Stevie Wonder when he was high?

Meanwhile, IF I ask for including those damned FOUR packages, which are needed for LinuxPAM, and finally, but finally finally, after hundred years, the Slackware to start to behave as a good citizen in a damned office network, you will come in my porch with guns and yelling "BOB is great!" !?!

Damn, permit me to laugh with tears!
I never dump on your suggestions to upgrade packages... I'm just always amazed that you're totally against anything being newer in Slackware except for programs you're interested in, like PHP.

And I didn't suggest for Pat and company to upgrade to KDE5, I just added my speculation that I think it will happen. KDE4 development is mostly done. They've all moved onto Plasma 5, so it makes sense that Pat would likely follow if he's to keep KDE in the distribution. Whether or not you like that is irrelevant to the discussion, especially because you won't be involved in that discussion, just like most of us.

And I remember hearing all these same arguments when Slackware switched from KDE3 to KDE4. Change is inevitable. Better suck it up or move on...
 
2 members found this post helpful.
Old 05-18-2017, 10:27 PM   #2323
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
ffmpeg-3.3.1
http://ffmpeg.org/releases/ffmpeg-3.3.1.tar.xz


Reading the changelog , 3.3.1 fix 121 issues
https://git.ffmpeg.org/gitweb/ffmpeg...1b0:/Changelog

Last edited by USUARIONUEVO; 05-18-2017 at 10:30 PM.
 
Old 05-18-2017, 10:51 PM   #2324
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by GazL View Post
gkrellm.pc file is corrupt. Please see here:
https://www.linuxquestions.org/quest...4/#post5712518
I just queued this for Pat - thanks for catching this!

Code:
--- gkrellm-2.3.7.orig/Makefile	2016-06-03 11:29:10.000000000 -0500
+++ gkrellm-2.3.7/Makefile	2017-05-18 22:19:54.845312223 -0500
@@ -131,13 +131,13 @@
 	(cd server && ${MAKE} gkrellmd)
 
 gkrellm.pc: Makefile
-	echo 'prefix=$(INSTALLROOT)\n'\
-	'Name: GKrellM\n'\
-	'Description: Extensible GTK system monitoring application\n'\
-	'Version: $(VERSION)\n'\
-	'Requires: gtk+-2.0 >= 2.4.0\n'\
-	'Cflags: -I$(INCLUDEDIR)\n'\
-	'$(GKRELLM_PC_EXTRA)' > gkrellm.pc
+	printf "prefix=$(INSTALLROOT)\n"\
+	"Name: GKrellM\n"\
+	"Description: Extensible GTK system monitoring application\n"\
+	"Version: $(VERSION)\n"\
+	"Requires: gtk+-2.0 >= 2.4.0\n"\
+	"Cflags: -I$(INCLUDEDIR)\n"\
+	"$(GKRELLM_PC_EXTRA)" > gkrellm.pc
 
 install: install_gkrellm.pc
 	(cd po && ${MAKE} install)
 
2 members found this post helpful.
Old 05-19-2017, 10:06 AM   #2325
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
A regression in gcc-7.1.0 completely broke the OpenGL renderer for the emulator PCSX2 by compiling incorrect code with certain optimizations. After some effort to figure out where it broke it was reported upstream to gcc by one of the PCSX2 devs and then fixed in gcc. However gcc-7.2 won't be out till around September/October, can the gcc-7.1.0 in current be patched with the upstream fix in the meantime?

Please see these links for more information.
https://gcc.gnu.org/viewcvs/gcc?view...evision=248284
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80799
https://github.com/PCSX2/pcsx2/issues/1937
 
5 members found this post helpful.
  


Closed Thread



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 03:57 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