Re: Implementing multiple file view( tab swap)



В Чтв, 03/07/2008 в 06:51 +0530, kartik rustagi пишет:
> hi
> I went through the source code. And to add support for .cb7 we have to
> edit these 2 files
> 
> 1)/evince-2.23.4/backend/comics/comics-document.c
> 
> In this file we can just add a case for .cb7 files after the line 149
> . For .cb7 we can use the utility '7zr'
> -To extract and get the output on standard output we can use '7zr -so
> x nameoffile.cz7'
> -To list the content of archive we can again use '7zr l nameoffile.cz7'
> 
> 2)/evince-2.23.4/backend/comics/comicsdocument.evince-backend.in
> here we will have to add MimeType of  cbz ie application/x-cbz

Yes, looks exactly correct

> Please let me know whether i am thinking in the right direction or
> not. And if this is what we have to do then what should i do next to
> commit this solution.

First of all checkout Evince from svn:

http://live.gnome.org/SubversionFAQ

svn checkout http://svn.gnome.org/svn/evince/trunk evince

Then build evince and test how it works with 7zip. Then type the
command:

svn diff > 7z.patch

to generate a patch with your changes. Then attach it to bugzilla bug
(there is a link "Create New Attachment" on the bug page).




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]