[KPhotoAlbum] Faking kim files to import photos

Martin Hoeller martin at xss.co.at
Thu Feb 23 19:51:25 GMT 2006


On Thu, 23 Feb 2006, Dotan Cohen wrote:

> Thanks. I just read "man patch". I just need to know what file,exactly,
> to patch. If I save the patch as patch.txt I would run:
> # patch <whatfile?> patch.txt

You don't have to specify a file. It's included in the header of the diff
output (the patch input file). In this case it were the following lines:

Index: import.cpp
===================================================================
--- import.cpp  (revision 508059)
+++ import.cpp  (working copy)

So what you have to do is the following:

1) copy and paste the patch (starting at the just mention header to the
   line with "Elay3->addWidget( label, row, 2 );") to a file say
   "import.patch".
2) cd to the directory which holds your kphotoalbum sources
3) run "patch < import.patch"

> I didn't understand the -pnum option, but I assume
> that I will not need it here.

I never used this one. You shouldn't need it.

- martin

-- 
    mailto:martin.hoeller at xss.co.at  |
http://stud3.tuwien.ac.at/~e9926483  |  Make it idiot proof and someone
                       icq:45563199  |  will build a better idiot.




More information about the Kphotoalbum mailing list