LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-05-2022, 04:51 PM   #76
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371

@0XBF

The one who made those XDG desktop files is me, and I used --foreground considering that Plasma5 anyway executes those commands in background, so I thought that's not needed the daemon instances to sink in background two times.

Anyway, looks like that Gnome4 acts different, and waits for those services to be started, so I think that's better to leave the daemon instances to sink alone in background.

If you make request for those files, I think would be nice to add just in case also "X-KDE-autostart-after=" lines. The order you know already and I'm not sure if there's also a Gnome equivalent for those lines.

Last edited by LuckyCyborg; 08-05-2022 at 04:53 PM.
 
Old 08-13-2022, 11:01 AM   #77
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Updates to the GNOME SlackBuilds.

I've made some changes and additions to fix a couple issues with GNOME running on Slackware.

First, I fixed custom language and keymap support in GDM. This required adding a new package, 'blocaled', and patches to 'GDM' and 'gnome-session'. The blocaled daemon is used to provide GDM with custom keymap information. The patches to GDM and gnome-session allow GDM to support sourcing standard profile scripts for both X11 and Wayland sessions and allow GDM to have its language set from /etc/profile.d/lang.sh.

The profile script patch to GDM also means that starting a Plasma Wayland session from GDM will now work properly, where before only the X11 sessions worked. Something that I should warn though: Plasma sessions overwrite some of GNOME's GTK and dconf settings in ~/.config. Please use seperate accounts for GNOME and Plasma desktops if you are switching between them. The other desktops are no problem to switch between, only Plasma causes these issues.

Installing the Update:
The slackbuilds.org repo has been updated already, so to update these packages you will have to update sbopkg with 'sbopkg -r'. Then you can use 'sbopkg -i' to install 'blocaled' from the repo, along with re-installing 'gdm' and 'gnome-session' to get the updated builds. These packages can all be updated without having to rebuild anything else from the original build queues. Please reboot after the upgrade so that the blocaled daemon can be properly started.

Note that if you used the gnome-basic queue then you will also need to install blocaled's dependency, 'libdaemon', before installing blocaled (The gnome-all queue already has libdaemon included).

I also updated the queue files so anyone building the queue files from today forward will already include blocaled and deps.

Details on Customizing GDM Language and Keymap:
GDM is now patched to always follow /etc/profile.d/lang.sh, which is the standard place to set system wide language/locale. Just set the LANG variable there and GDM will follow.

To set a custom keymap in GDM you will need to create a custom keymap file in /etc/X11/xorg.conf.d/. By default I have this keymap file set to: /etc/X11/xorg.conf.d/91-keyboard-layout-libinput.conf, which is the same name as the example keymap provided with slackware at /usr/share/X11/xorg.conf.d/91-keyboard-layout-libinput.conf. You can copy the example conf file to /etc/X11/xorg.conf.d/ and edit it to add or change the keymaps loaded by GDM (and also the X11 server). The following example sets both 'us' and 'ru' keymaps, which will be selectable in GDM after a reboot.
Code:
cat /etc/X11/xorg.conf.d/91-keyboard-layout-libinput.conf
Section "InputClass"
	Identifier "libinput keyboard catchall"
	MatchIsKeyboard "on"
	MatchDevicePath "/dev/input/event*"
	Driver "libinput"
	Option "XkbLayout" "us,ru"
	#Option "XkbVariant" ""
	Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Note: The name of the Xorg conf file to use for blocaled's keymap is set in /etc/blocaled.conf and can be edited there if needed.

Languange and keymap settings for individual users in GNOME sessions can be set from the gnome-control-center settings as normal. A newly created user will use the system-wide setting from /etc/profile.d/lang.sh.
 
4 members found this post helpful.
Old 10-13-2022, 12:52 PM   #78
alekow
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 230

Rep: Reputation: 75
Quote:
Originally Posted by 0XBF View Post
Here is example steps for using 'sbopkg' to install the 'gnome-all' build. Note that this is done after setting up the above groups/users, and sbopkg is synced:
Code:
wget -P /var/lib/sbopkg/queues https://raw.githubusercontent.com/0xBOBF/gnome-slackware-15.0/main/gnome-all.sqf
sbopkg -i gnome-all
Hi!

Thanks for all the effort put in documenting the steps needed to build Gnome on Slackware and for putting the queue files together!
I Haven't tested Gnome yet but I have just finished the building process. One thing I've noticed is that the queue files might need updating, as instead of lua 5.1 you need lua 5.3 now. This is a separate package on slackbuilds.org called lua53.

Regards,
Alex
 
1 members found this post helpful.
Old 10-13-2022, 09:58 PM   #79
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Thanks for the info. I haven't run the queue in a couple months so it probably needs some attention.

I'll do some testing on the weekend and try to sort out lua or any other issues while running it. I'll post any updates here on this thread when that's done.

Cheers,

Bob
 
Old 10-14-2022, 03:45 PM   #80
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 188

Rep: Reputation: 170Reputation: 170
Quote:
Originally Posted by 0XBF View Post
Thanks for the info. I haven't run the queue in a couple months so it probably needs some attention.

I'll do some testing on the weekend and try to sort out lua or any other issues while running it. I'll post any updates here on this thread when that's done.
Bob- just for a point of reference-- in doing any of my builds for GNOME myself, I only include the lua53 package as well, it satisfies any of the needs GNOME has with lua (I think it's only a single package that requires it even) so it is safe to say it's a "tested" dependency.

Cheers,
mac-a-r0ni/jloc0 whatever I'm called today ;)
 
1 members found this post helpful.
Old 10-14-2022, 10:18 PM   #81
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Thanks for the info folks. I've updated the queue files on github to use lua53 instead of the older "lua" build (5.1.5).

I also did a full test build of the gnome-all queue on a clean slackware64-15.0 system with the latest slackware patches and sbo updates and can confirm that everything builds as expected again.

Bob
 
3 members found this post helpful.
Old 11-12-2022, 02:25 AM   #82
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,215

Rep: Reputation: 298Reputation: 298Reputation: 298
Hi, congrats @0XBf, its nice to see other people are on that same wagon
 
Old 11-12-2022, 08:50 AM   #83
stylste
LQ Newbie
 
Registered: Oct 2022
Distribution: Slackware , Arch
Posts: 18

Rep: Reputation: 2
Tried to compile but at some point stopped with this message

[code]Found CMake: /usr/bin/cmake (3.21.4)
Run-time dependency gtk+-quartz-3.0 found: NO (tried pkgconfig and cmake)
Run-time dependency gladeui-2.0 found: NO (tried pkgconfig and cmake)

../meson.build:93:2: ERROR: Dependency "gladeui-2.0" not found, tried pkgconfig and cmake

A full log can be found at /tmp/SBo/gtksourceview-4.8.1/build/meson-logs/meson-log.txt

gtksourceview4:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:[code]

i searched for gladeui in slack-builds but not found
 
Old 11-12-2022, 09:56 AM   #84
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by stylste View Post
Tried to compile but at some point stopped with this message

[code]Found CMake: /usr/bin/cmake (3.21.4)
Run-time dependency gtk+-quartz-3.0 found: NO (tried pkgconfig and cmake)
Run-time dependency gladeui-2.0 found: NO (tried pkgconfig and cmake)

../meson.build:93:2: ERROR: Dependency "gladeui-2.0" not found, tried pkgconfig and cmake
It seems you are missing the package "glade-3.38.2-x86_64-5", which is strange because it comes with the distro (look for slackware64/l/glade-3.38.2-x86_64-5.txz).

Perhaps you dont have a complete slackware install?
 
Old 11-12-2022, 10:03 AM   #85
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by saxa View Post
Hi, congrats @0XBf, its nice to see other people are on that same wagon
I'm not sure who's out there trying these gnome builds but they've been working great for months now and I'm happy to share them.

BTW, I have a number of updates I've been testing lately to smooth out some of the remaining kinks with slackware+gnome, and updating all my gnome builds to be version 41 (or later). That'll be about as good as it gets for slackware-15.0 since later gnome software needs a number of updates to core packages in 15.0.

I'm hoping to clean up and submit the rest of my changes this weekend. If all goes well then hopefully I can post the details in a week or so.

Cheers,

Bob
 
Old 11-12-2022, 10:13 AM   #86
stylste
LQ Newbie
 
Registered: Oct 2022
Distribution: Slackware , Arch
Posts: 18

Rep: Reputation: 2
I have XFCE4 installed with all the other packages except kde.
I saw that i have glade installed but it is other version than what is needed.

root@acerslack:~# slackpkg search glade

Looking for glade in package list. Please wait... DONE

The list below shows all packages with name matching "glade".

[ installed ] - glade-3.38.2-x86_64-5
[ installed ] - libglade-2.6.4-x86_64-8

You can search specific files using "slackpkg file-search file"
 
Old 11-12-2022, 10:30 AM   #87
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Not sure what to tell you, other than this error here:
Quote:
meson.build:93:2: ERROR: Dependency "gladeui-2.0" not found, tried pkgconfig and cmake
Shouldn't happen if you have glade-3.38.2 installed. You will find the pkgconfig file there:
Code:
# grep gladeui-2.0.pc /var/lib/pkgtools/packages/*
/var/lib/pkgtools/packages/glade-3.38.2-x86_64-5:usr/lib64/pkgconfig/gladeui-2.0.pc
The meson build for gtksourceview4 should be able to find that, since Slackware's profile scripts add the /usr/lib64/pkgconfig path to the pkgconfig search path for all users.
 
Old 11-12-2022, 12:04 PM   #88
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371
@0XBF

Man, please be kind to use the .new method for /etc/gdm/custom.conf

It's the fourth time when I managed to override this damn config file, by forgetting to backup it.

Last edited by LuckyCyborg; 11-12-2022 at 12:12 PM.
 
1 members found this post helpful.
Old 11-12-2022, 12:13 PM   #89
alekow
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 230

Rep: Reputation: 75
Quote:
Originally Posted by 0XBF View Post
I'm not sure who's out there trying these gnome builds but they've been working great for months now and I'm happy to share them.

BTW, I have a number of updates I've been testing lately to smooth out some of the remaining kinks with slackware+gnome, and updating all my gnome builds to be version 41 (or later). That'll be about as good as it gets for slackware-15.0 since later gnome software needs a number of updates to core packages in 15.0.

I'm hoping to clean up and submit the rest of my changes this weekend. If all goes well then hopefully I can post the details in a week or so.

Cheers,

Bob
Thanks Bob,

I am happily using Slackware with Gnome on a Surface Go tablet - seems well suited for a touch screen. It is much better than Plasma for this purpose.
Looking forward to installing the updates! Keep up the good work!

Alex
 
1 members found this post helpful.
Old 11-12-2022, 10:51 PM   #90
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 917

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by saxa View Post
Hi, congrats @0XBf, its nice to see other people are on that same wagon
Quote:
Originally Posted by 0XBF View Post
I'm not sure who's out there trying these gnome builds
They probably mean https://www.droplinegnome.org which has been around for quite a while.
 
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
openbox on slack13.37 (x86) -- Thanks to linuxquestions.org, slackbuilds.org & many vectrum Linux - Member Desktop Screenshots 5 02-03-2013 12:22 PM
Slackware 12, Opera, slackbuilds.org TL_CLD Slackware 6 08-15-2007 03:44 AM
[slackbuilds.org] slackware repository idea arcanex Slackware 5 05-19-2007 09:19 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

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

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