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 06-05-2024, 04:11 AM   #421
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 428

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388

I am not in front of my dev computer, but the SlackBuild for kde is called kde.SlackBuild in the kde4/source directory.

It is aside a patch directory in which there is a kde-workspace directory and a kde-workspace.patch file.

So you should do a patch with your modifications : diff -rU5 kde-workspaceold kde-workspace > yourpatch.patch

Add it in patch/kde-workspace and add a line inside kde-workspace.patch for calling it.

Then run ./kde.SlackBuild kde-workspace (the script also install the generated package, maybe inhibit that step and verify the package before installing it).
 
3 members found this post helpful.
Old 06-05-2024, 04:51 AM   #422
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,071

Rep: Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305
Quote:
Originally Posted by Elibord View Post
Update n2: compiled with adding to backlighthelper.cpp my interface:
Code:
interfaces << "amdgpu_bl0" << "nv_backlight" << "radeon_bl" << "mbp_backlight" << "asus_laptop"
               << "toshiba" << "eeepc" << "thinkpad_screen" << "acpi_video1" << "acpi_video0"
               << "intel_backlight" << "apple_backlight" << "fujitsu-laptop" << "samsung"
               << "nvidia_backlight" << "dell_backlight" << "sony" << "pwm-backlight"
               ;
And asking, how it should compile? Just checking original v9 package, where in /etc/ 4 (X11, dbus-1, kde, pam.d) folders, while my "make install DESTDIR=/tmp/build" /etc/ contains 1 folder (dbus-1) (and ksysguarddrc file)
For the KDE4Town you should download first kde4town-source-20231116.tar (v9) in an empty directory and extract it. You will get a folder called "source" that contains the entire build system and source tarballs.

Create a folder called "work" and inside it extract the tarball source/kde/src/kde-workspace-4.11.22.tar.xz

Copy the folder kde-workspace-4.11.22 as kde-workspace-4.11.22.orig and modify as you want inside the first folder.

On the folder "work" run the command:
Code:
diff -urN kde-workspace-4.11.22.orig kde-workspace-4.11.22 > name_of_your_patch.patch
Copy your patch in the folder source/kde/patch/kde-workspace and append on the file source/kde/patch/kde-workspace.patch the following snippet:
Code:
cat $CWD/patch/kde-workspace/name_of_your_patch.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
Execute as "root" within folder source/kde/
Code:
./kde.SlackBuild kdebase:kde-workspace
Wait for the script to compile and install the kde-workspace package, then restart the computer.

Please note that a fully installed (apart from the packages in /kde series) and updated system is required and that you should do not have custom packages installed.

Last edited by ZhaoLin1457; 06-05-2024 at 08:26 AM.
 
4 members found this post helpful.
  


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
KDE4 pbslacks BrunoLafleur Slackware 29 02-26-2021 07:57 AM
e.g., BSD style (Slackware) vs. SystemV style startup scripts haertig Slackware 5 01-03-2009 10:52 PM

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

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