Hello!
I want to change how libfm header files are installed a bit. How them
are installed right now makes usage of pkg-config mandatory. Mostly due
to installing them into /usr/include/libfm/libfm. I know, that is because
libfm follows exclusive Gnome (Glib/Gtk) way strictly but I highly doubt
the Gnome ways (as opposed to all other software) are the best ones in
the world. So I want to make usage of pkg-config optional (i.e. only for
autotools or similar systems) instead of being mandatory. Main reasons
for such move are:
1. I don't like the way Gnome people go and I don't like the way they
think everyone else will follow their exclusive path.
2. I like the idea to preserve a room to allow different versions of the
libfm coexist together when it matures.
3. I would like to let developers use libfm in more simple ways without
pkg-config but just adding '-lfm' to linker arguments.
4. The debian bug tracker have a bug about libfm headers already.
So I would like to make it such way that pkgconfig/autotools aren't
mandatory to use libfm anymore but preserve versioning at the same time.
And make it not by Gnome way but the way all other products do it (for
example: Linux kernel; Tcl; Libpng; Python; etc.) - i.e. install path
have the version but actual path is symlink to versioned path and user
can easily either switch the symlink or set versioned path in #include
statement ("libfm1.1/fm.h" for example) to use another version of the
library. I want to make it both for the headers path and for pkgconfig
descriptor. So anyone can compile in libfm with just
gcc -I/usr/include/glib-2.0 -lfm -o fm-test fm-test.c
without all the hell of pkgconfig/autotools. Unfortunately, it still will
require Gnome include though due to their ugly way to make things. ;)
And I'm thinking of libfm1.0 for 1.0 series, libfm1.1 for 1.1, etc., i.e.
symlinks will be
/usr/include/libfm -> /usr/include/libfm1.0
/usr/lib/pkgconfig/libfm -> /usr/lib/pkgconfig/libfm1.0
I want opinions from all of you. What do you think? Do you have any
objections on that?
With the best wishes.
Andriy.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pcmanfm-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pcmanfm-develop