pdfsearch
This software can be used to search any pdf file.
The software search for files in each directory you have indicated
him. It can also search in subdirectories. When a file is found, it
is added to the list; thus you just have to double-click on it, and
it is going to open with acrobat reader, xpdf or ghostview.
The software is made in C. It uses GTK toolkit for the GUI
(graphical user interface). I can successfully compile it since the
mandrake 7.2 (but it may also work with previous versions).
It uses fork() function to launch the pdf viewer
Sources file detail:
pdfGTK.c: all GUI stuff & main() function
pdfProg.c: search functions, pdf viewer launcher, ...
This software was created because I needed a tool to easily search
electronic datasheets.
Please see README file (in english).
There is to way to install the software: either you chose the .rpm
file, this is a binnary version of my sofware, that is to say it
includes the executable; or you chose the .tar.gz file, which
contains sources files and what ever you need to make an executable.
If you chose a .rpm file:
Try to chose a .rpm corresponding with you distribution version.
To install it, simply start your file brother, and click on the
.rpm file you have downloaded. It should install itself.
You can install if from a console: start by login you as root. Then
go in the correct directory, and type: "rpm -ivh
<name_of_the_file.rpm>" (without the " and without
<>).
If there are some dependencies problems, this is generally because
my software uses a library which is not present in you system. So
you can either try to install this library using your installation
CD, or try a different .rpm file (if there is one), or try the
.tar.gz file (generally the best solution).
If you chose a .tar.gz file:
Start a console.
Type "tar zxvf <name_of_the_file.tar.gz>" (without
the " and without <>), this will uncompress the files in
the directory <name_of_the_file>. Then go in this directory.
Type "./configure", the configure script is going to tell
you if all is ok for installing the software.
Then type "make", this is going to compile the program,
and create an executable file.
At last, type "make install", this is going to install
the executable file in /usr/local/bin directory.
You can now launch the software by typing search or
/usr/local/bin/pdfsearch (try both).
pdfsearch-1.1-1.i386.rpm
(tested on mandrake 9)
pdfsearch-1.1.tar.gz
(sources, easy to build, see above)
The program is my first GTK program, and it is very badly
programmed.
You need to have at least one of these software installed: acroread
(acrobat reader), xpdf, or gv (ghostview). They must be in PATH, ie
you must be able to launch it from anywhere.
If you experience some segmentation faults, this probably means my
program can't access to the file where directory list is stored.
This file is named ".chemins.txt", and stored either in
your home directory or in the directory from where you launched the
program.
The program is all in french. But if there is lot of interest, I
could traduce it in english. So don't hesitate to mail me! (see
below).
Email: xizard@enib.fr
xizard@chez.com
Sites:
This site http://xizard.free.fr
My casio calculator site (in french):
http://wind.prohosting.com/xizard
My electronic site (in french):
http://www.chez.com/xizard/sommaire.html
General address to access my homepages: http://move.to/xi