12-31-2009, 02:17 PM | #1 |
Groupie
Posts: 194
Karma: 250000
Join Date: Nov 2009
Location: Brazil
Device: Kindle DX & Kindle (2011)
|
soPDF GUI Front-End
Hello,
I've dedicated some of my free time to help users that don't have much experience with consoles and then I've built a GUI front-end to soPDF. Requirements
File Descriptions
Thanks for frabjous for the x64 Linux port. Last edited by Nathan Campos; 01-14-2010 at 05:41 PM. |
12-31-2009, 02:27 PM | #2 |
Literacy = Understanding
Posts: 4,833
Karma: 59674358
Join Date: Dec 2007
Location: The World of Books
Device: Nook, Nook Tablet
|
Nathan, the GUI looks great in the screen capture. But I have a more basic question: What is soPDF? What is it supposed to do?
|
12-31-2009, 02:36 PM | #3 |
Groupie
Posts: 194
Karma: 250000
Join Date: Nov 2009
Location: Brazil
Device: Kindle DX & Kindle (2011)
|
|
12-31-2009, 02:57 PM | #4 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
I see that the primary soPDF thread is also under LRF, but soPDF is a PDF to PDF tool. Both threads should be in (and sticky in) the PDF forum. If it was announced today, the primary thread would probably be: "soPDF - better than yet another PDF Cropper".
|
12-31-2009, 03:52 PM | #5 |
Groupie
Posts: 194
Karma: 250000
Join Date: Nov 2009
Location: Brazil
Device: Kindle DX & Kindle (2011)
|
Yeah, but soPDF is a tool to format PDFs to be converted better for LRF
|
01-07-2010, 02:27 PM | #6 |
Connoisseur
Posts: 65
Karma: 30
Join Date: Dec 2008
Location: Storrs, CT
Device: PRS-900 & K2i
|
Any chance of a Linux or Mac port?
|
01-07-2010, 03:14 PM | #7 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
There's a linux port of sopdf in the sopdf thread. It would be nice to see a port of the GUI though.
This GUI looks very nice. Better the one I made, anyway. But mine does have one feature yours lacks, which is the ability to parse the filename to the metadata--or is that there but hidden in the screenshot? It would be nice to include the source code too! SoPDF really has nothing to do with LRF -- I think this, and even the original sopdf thread should be moved. Last edited by frabjous; 01-07-2010 at 03:20 PM. |
01-08-2010, 03:58 PM | #8 | |
Groupie
Posts: 194
Karma: 250000
Join Date: Nov 2009
Location: Brazil
Device: Kindle DX & Kindle (2011)
|
I'm already developing it
Quote:
I'm going to add this too, because I'm a Linux lover and user! Last edited by Nathan Campos; 01-08-2010 at 04:12 PM. |
|
01-08-2010, 05:09 PM | #9 |
Groupie
Posts: 194
Karma: 250000
Join Date: Nov 2009
Location: Brazil
Device: Kindle DX & Kindle (2011)
|
I've just added the sources on the first thread to help all, please someone that is on a Linux machine. Get the sources and compile for me to build the binary and send it to me please(remember to follow that structure: "Standalone" and Bundle).
PS: It was entirely built using Lazarus, and as Lazarus can't do a cross-compile from Windows to Linux, I need a Linux environment to compile it, but my Linux PC is on my home and I'm traveling. |
01-09-2010, 02:30 PM | #10 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
[sorry duplicate post]
Last edited by frabjous; 01-09-2010 at 02:33 PM. |
01-09-2010, 02:31 PM | #11 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
I'd be happy to, but you'll need to give me some more instructions... It wasn't obvious what I needed to do.
Wouldn't the linux version use the linux version of sopdf... why is the DOS executables in that package? And the packaged bundles for windows themselves? |
01-09-2010, 04:42 PM | #12 |
Groupie
Posts: 194
Karma: 250000
Join Date: Nov 2009
Location: Brazil
Device: Kindle DX & Kindle (2011)
|
Hello frabjous,
Instructions to compile: Get the sources, on Linux, edit the line that is AProcess.Execute on the ConvertClick event, then you just need to click on the Build button of Lazarus. Intructions regarding the packages: When you have got the compiled executable, build the packages:
Best Regards, Nathan Paulino Campos |
01-09-2010, 11:25 PM | #13 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
OK, I'm pretty sure I did everything OK.
I have to confess, Lazarus looks pretty intimidating to someone whose programming skills are as minimal and amateurish as mine. I haven't done more than the occasional bash script or easy javascript (and some easy stuff with AutoHotKey when I still used Windows, such as my GUI for soPDF). Otherwise, I stick to LaTeX and HTML markup. The last time I did anything with PASCAL was... Turbo Pascal 5.5 for DOS, perhaps? But all I needed to do is change SoPDF.exe to sopdf in the code, right? Well, I couldn't have been all wrong, since it works. I will note, however, that if you don't use the default system fonts (which I don't), the GUI doesn't look perfect (the bottoms of the words get cut off--as you'll see the in the screenshot), though it's good enough. Switching back to the default fonts, and there's no problem at all. Obviously, sopdf needs to be in the searched path for executables. Let me know if I included anything you didn't want in the rar files, or failed to include anything I should have. Thanks again to Nathan for the GUI. P.S. Where'd you get the list of categories? My degree is in philosophy, so I missed the philosophy category... P.P.S. Added later. The binary included with these was compiled with and for 64-bit linux systems. It may not work for 32 bit systems. (Sorry) Last edited by frabjous; 01-11-2010 at 08:00 AM. |
01-10-2010, 06:33 AM | #14 | ||||
Groupie
Posts: 194
Karma: 250000
Join Date: Nov 2009
Location: Brazil
Device: Kindle DX & Kindle (2011)
|
Hmm, Lazarus isn't intimidating because you haven't used Eclipse(for Java development), but my project isn't written in Pascal, was written in Object-Pascal that is much different.
Quote:
Quote:
You're welcome! Quote:
Quote:
Thanks very much! Last edited by Nathan Campos; 01-10-2010 at 06:38 AM. |
||||
01-11-2010, 07:58 AM | #15 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Oops, I should have noted that i compiled the above on a 64 bit linux system, and I'm not sure the binary will work on a 32 bit system.
If someone out there has a 32 bit linux system and would like to recompile, that would be great. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
soPdf - Better than Yet another PDF to LRF converter | theguru | 197 | 11-20-2012 04:54 PM | |
GuteBook - the Project Gutenberg eBook Maker/Front-end | nrapallo | Workshop | 67 | 03-27-2011 04:46 PM |
soPdf branch only for Lonely Planet (digital version) | mumurik | 0 | 07-08-2010 08:45 AM | |
GUI bug? | edbro | Calibre | 2 | 06-19-2010 09:55 AM |
GUI suggestion | carpii | Calibre | 3 | 02-27-2010 12:32 PM |