LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2004, 12:17 PM   #1
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
Question how to install a patch anyway?


my problem, (did anyone see, my threads always start like that!)

I want to install a patch
this patch!: xscreensaver-4.05-penguins-1.0.patch
where to get it? Here: xpenguins.seul.org

How to install it, that where you come in!

I have no idea how to do this! I tried and failed. Help me please, tell me how to install a patch!
 
Old 05-13-2004, 01:20 PM   #2
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
i see it's gzipped.

*first ungzip it:
gunzip xscreensaver-4.05-penguins-1.0.patch.gz

*then make it executable:
chmod +x xscreensaver-4.05-penguins-1.0.patch

*execute it:
./xscreensaver-4.05-penguins-1.0.patch

Hope this helps
 
Old 05-13-2004, 01:29 PM   #3
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
ok, where?

diff: xscreensaver-4.05-orig/driver/XScreenSaver.ad.in: No such file or directory
diff: xscreensaver-4.05/driver/XScreenSaver.ad.in: No such file or directory
./xscreensaver-4.05-penguins-1.0.patch: line 2: ---: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 3: +++: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 4: @@: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 5: Attraction (orbital): command not found
./xscreensaver-4.05-penguins-1.0.patch: line 13: ---: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 14: +++: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 15: @@: command not found
./xscreensaver-4.05-penguins-1.0.patch: line 16: syntax error near unexpected token `('
./xscreensaver-4.05-penguins-1.0.patch: line 16: ` .BR noseguy (1),'

at last step
 
Old 05-13-2004, 01:31 PM   #4
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Mmmm do you have xscreensaver installed?
 
Old 05-13-2004, 02:20 PM   #5
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Talking v.4.12

version 4.12
does it make any difference?
If so any overrides?
 
Old 05-13-2004, 04:32 PM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
The patch is for the source, you'll need to recompile after paching
grab the xsreensaver source, extract it, cd into the extracted directory, then apply your patch:
Code:
patch -p1 < /path/to/xscreensaver-4.05-penguins-1.0.patch
 
Old 05-17-2004, 04:29 PM   #7
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
That makes sense, I'll try it when I can and report back!
 
  


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
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 09:51 AM
how to install an upackaged patch whoa Linux - Newbie 0 06-10-2004 02:42 PM
Can't install.. patch.pl not working either Remote Mandriva 0 01-21-2004 12:27 AM
New to linux - install patch-2.4.22 am38932 Linux - General 4 10-27-2003 03:31 PM
Can't install Patch KptnKrill Linux From Scratch 1 10-04-2003 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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