LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2011, 01:35 PM   #1
mtz
LQ Newbie
 
Registered: Nov 2011
Posts: 8

Rep: Reputation: Disabled
Question how to apply a patch from arch on slackware?


http://aur.archlinux.org/packages.php?ID=38120
I want to apply this patch on my slack machine, but hard to figure out how to do it, maybe because I don't have that installer or maybe because I'm stupid, maybe both hehe
so, I need it for my clickpad because all other patches and configs didn't work
thanks!
 
Old 11-22-2011, 02:59 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Without even looking at that link, what I can tell you is that you can apply the patch, only if the patch is made to patch files within the source code to whatever program you are trying to install. Comes to mind though, but are you trying to patch source code, or something else?
 
Old 11-22-2011, 04:30 PM   #3
mtz
LQ Newbie
 
Registered: Nov 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
thanks for reply,
it is combined with synaptics.conf, PKGBUILD and dontknowthename.patch
is there a way to combine it!?
 
Old 11-22-2011, 05:08 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,391

Rep: Reputation: Disabled
Well you'd need to download the xf86-input-synaptics 1.5 source, untar it, copy the patch and .conf inside it and do something like:

patch -p0 < synaptics-clickpad-support.patch

from within the source dir.

You may need to experiment with the -p level (check the manpage) but usually -p0 or -p1 works.

Then you need to recompile the source (grab the slackbuild from your local mirror) to create a package and upgradepkg it.

The .conf should go here: /usr/share/X11/xorg.conf.d/50-synaptics.conf

You can ignore the PKGBUILD file, that's arch particular.

Also, please note that we have our own slackware forum on LQ here:

https://www.linuxquestions.org/questions/slackware-14/

Last edited by dive; 11-22-2011 at 05:14 PM.
 
  


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
Apply Patch culin Linux - General 1 02-21-2007 09:02 AM
how to apply a patch? ashlesha Linux - Software 4 12-07-2006 03:09 PM
How to apply a patch? amwink Programming 2 11-25-2005 08:14 PM
how to apply patch? greythorne Fedora 1 03-09-2005 05:38 AM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-21-2004 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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