~gloobus-dev/gloobus/Release-0.03

35 by Jordi Hernandez
Polymorphism
1
//******************************************************************************************************//
2
// Gloobus-Preview 0.03.1
3
// by Jordi Hernandez <guitarboy000@gmail.com>
4
//
5
// DONATE:
6
// https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=guitarboy000%40gmail%2ecom&item_name=Gloobus%2c%20A%20Quicklook%20for%20linux&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=US&bn=PP%2dDonationsBF&chars
7
8
// BLOG:
9
// http://gloobus.wordpress.com/
10
11
// LAUNCHPAD:
12
// https://launchpad.net/gloobus
13
//
14
// DOWNLOAD:
15
// http://jordihp.deviantart.com
16
//******************************************************************************************************//
17
18
// ================================= CHANGELOG ======================================//
19
Gloobus-Preview 0.03.2
20
	- Polymorphism in Interface and plugins
36 by Jordi Hernandez
make plugins
21
	- added "make plugins" in makefile so they all can be compiled with one line (For changes in interface.cpp/	interface.h)
37 by Jordi Hernandez
Added Close Button
22
	- Launch the default application with "enter" key 
39 by Jordi Hernandez
Subtitles preview (.srt)
23
	- Added Subtitles (.srt) preview
40 by Jordi Hernandez
iMpg Plugin working
24
	- Added Close Button
25
	- Added iMovie Plugin !!
46 by Jordi Hernandez
gloobusWin class
26
	- Create GloobusWin class so now its easy to create windows 
48 by Jordi Hernandez
Menu items added (blog, donate, quit)
27
	- Menu added (Blog, Donate, Quit)
53 by Jordi Hernandez
Seek bars in both iMusic and iMovieexitexitexitexit
28
	- Seek Bars in both iMusic and iMovie
35 by Jordi Hernandez
Polymorphism
29
	
30
Gloobus-Preview 0.03.1
31
	- iComic (cbz and cbr)
32
	- iPdf solved som bugs
33
	- Shadow in the application
34
	- iMp3 with ogg support
35
	- iDocument fixed a very annoing warning
36
	- iFolder
37
	
38
// =============================== SUPORTED FILES ================================== //
39
- If there is no plugin fot a filetype, the icon is displayed
40
- Mp3
41
- Audio Ogg
42
- JPG BMP, PNG, SVG , GIF
43
- PDF
44
- CBR CBZ
45
- Plain text (There just need to be added all kind of possible text files)
39 by Jordi Hernandez
Subtitles preview (.srt)
46
- Subtitles files
35 by Jordi Hernandez
Polymorphism
47
- Folders
44 by Jordi Hernandez
Theroa support
48
- MPG WVM OGG video files
35 by Jordi Hernandez
Polymorphism
49
50
51
// ================================= DEPENDENCES=====================================//
52
0. Dependences
53
The libraries I installed to develop gloobus-preview are:
54
55
libgfvscommon
56
libgstreamer-plugins-base0.10
57
libcairomm-1.0
58
libtag1
59
libpoppler-glib
60
61
Many of them are included by default in your distro, if that's not the case, you just need to install them with you package manager
62
however install.sh will try to install them automatically
63
64
// ================================== INSTALLATION ==================================//
65
66
1. Install Gloobus-Preview:
67
68
Run "chmod +x install.sh && sudo install.sh" it will copy plugins into /usr/share/gloobus/preview-plugins 
69
and the binary gloobus-preview into /usr/bin
70
71
2. Gloobus-preview Options:
72
it can be launched in two ways
73
    2.1. gloobus-preview <filename>              => It will launch gloobus-preview for the filename 
36 by Jordi Hernandez
make plugins
74
	2.2. gloobus-preview                         => It will launch gloobus-preview for the file in the clipboard
35 by Jordi Hernandez
Polymorphism
75
	
76
3. Add a key binding:
77
You need to add a shortcut to launch gloobus-preview, I used compiz but you can use the gconf-editor as well.
78
In compiz manager->general options->commands write a command  "gloobus-preview" without the " "
79
Then, below it, there are commands shortcuts, for the command number you added gloobus-preview, add now a 
80
key binding. I added ctrl+space
81
Now, you can launch preview for a selected file using: ctrl+c and ctrl+space
82
83
// ================================ DEVELOPERS ===================================//
84
85
4. (FOR DEVELOPERS) 
86
If you wrote an application and you wanna use gloobus to launch a preview, you can use it with the "gloobus-preview <filename>" option 
87
or just copy the file uri or list of uris into the clipboard using GtkClipboard and then launch "gloobus-preview"
88
89
5. Plugins Included
44 by Jordi Hernandez
Theroa support
90
   iFolder				=> List folder contents
91
   iMp3					=> Mp3 and Ogg
92
   iMpg					=> Mpg Ogg Wmv avi theora
35 by Jordi Hernandez
Polymorphism
93
   iPdf					=> Pdfs
94
   iPhoto				=> jpg and png
95
   iPlain				=> Text files, there are still not all plain text types defined so please report bugs for all the mimes of plain texts you want to be supported
96
97
98
6. Enjoy it and report all the bugs you find
99
7. If you have skills you can help me developing it
100
8. If not, but wanna contribute, you can donate a couple of €/$ or whatever it will help a lot keeping this project alive
101
102