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

Re: A lot of help needed with the automake process



Raven wrote:
Hi all.
I recently coded a small GNOME applet and before sharing it with a few
friends I wanted to make it "noob-proof" :)

Basically I wanted to create the usual "configure" and Makefile scripts so
that I can give my buddies the 3 simple commands to install the applet.
After reading several (at least 5) different online tutorials, I'm afraid
I can't figure out how to create those scripts.
This is the current situation:

* There is only one source file (myapplet.c) in /src
* I have two folders, /pixmaps e /conf, that contain some graphics for the
applet and the initial configuration file
* In the folder root I also have the .server file needed by Bonobo

and this is what I want to accomplish:

* The compiled binary has to end up in /usr/lib/gnome-applets/
* The graphics (icons and a logo) have to be copied in
/usr/share/pixmaps/myapplet
* The configuration file has to be copied in ~/.myapplet/myapplet.conf *
The .server file has to be copied in in /usr/lib/bonobo/servers/

The configure script should also check for dependencies such as gtk+,
glibc and libxml2.

How are you compiling the applet at your end? Perhaps it would be simpler to create a small build script that installs the build dependencies, compiles and installs your applet.

Alternatively, have you considered simply sending them the binary with a small install script? You can add an apt-get line to the script to install the dependencies.


I know it's quite the task but is there somebody willing to walk me
through the whole process to create the install scripts?
I now feel I am the real "noob" :(
Thank you,

-R





--

If you can't explain it simply, you don't understand it well enough.
                                       -- Albert Einstein


Reply to: