diff --git a/ChangeLog b/ChangeLog index 83d6d421eb7b7d18bad3fa29f575ccc332df565c..f4fd241bab043884faa8f1d3cd212b6f688d4b24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,112 @@ +2004-01-31 09:59 jasper + + * docs/: Doxyfile, MAINPAGE: Add simple front page for API docs. + +2004-01-30 20:19 jasper + + * libxfce4util/: xfce_desktop_entry.c, xfce_desktop_entry.h: + gtk-doc -> doxygen style comments. Cool stuff. + +2004-01-29 23:03 benny + + * AUTHORS, Makefile.in, NEWS, aclocal.m4, config.h.in, configure, + configure.ac, ltmain.sh, docs/Doxyfile, i18n/Makefile.in, + libxfce4util/Makefile.am, libxfce4util/Makefile.in, + libxfce4util/util.c, libxfce4util/util.h, m4/Makefile.in: Added + xfce_putenv() and xfce_setenv() to get a portable way to modify the + process environment list ((Linux and Solaris seem to have a broken + putenv() implementation, see the autocoonf check for details on + this topic). Started doxygen documentation. + +2004-01-25 01:09 olivier + + * Makefile.in, aclocal.m4, compile, config.guess, config.sub, + configure, configure.ac, depcomp, install-sh, ltmain.sh, missing, + mkinstalldirs, i18n/Makefile.in, libxfce4util/Makefile.in, + m4/Makefile.in: Update libtool and other automake, autoconf and + gettext. + +2004-01-25 01:07 olivier + + * Makefile.in, aclocal.m4, compile, config.guess, config.sub, + configure, depcomp, install-sh, ltmain.sh, missing, mkinstalldirs, + i18n/Makefile.in, libxfce4util/Makefile.in, m4/Makefile.in: Update + libtool and other automake, autoconf and gettext packages + +2004-01-17 11:05 benny + + * Makefile.am: leftover commit. + +2004-01-16 19:33 benny + + * AUTHORS, BSD, COPYING, COPYING.BSD, COPYING.LGPL, LGPL: I think + the filenames "COPYING.BSD" and "COPYING.LGPL" make more sense than + just "BSD" and "LGPL". + +2004-01-16 19:09 jasper + + * libxfce4util/xfce_desktop_entry.c: Bleh, gcc3-ism. Sloppy. + +2004-01-12 23:52 dannym + + * libxfce4util/xfce_desktop_entry.c: fix crash with some kde + desktop files with 1) empty "name=" and 2) "name=\r" + +2004-01-12 08:20 jasper + + * libxfce4util/xfce_desktop_entry.c: Fix bug when value == NULL. + +2004-01-11 22:27 jasper + + * configure, configure.ac: /me doesn't like libtool. I don't know + why but this seems to generate the correct library version ... + +2004-01-11 22:12 jasper + + * BSD, COPYING, LGPL, Makefile.in, aclocal.m4, config.guess, + config.sub, configure, configure.ac, depcomp, install-sh, + ltmain.sh, i18n/Makefile.in, libxfce4util/Makefile.am, + libxfce4util/Makefile.in, libxfce4util/xfce_desktop_entry.c, + libxfce4util/xfce_desktop_entry.h, m4/Makefile.in: Add desktop + entry parser code + +2004-01-10 19:43 benny + + * Makefile.in, aclocal.m4, config.guess, config.h.in, config.sub, + configure, configure.ac, depcomp, install-sh, ltmain.sh, + i18n/Makefile.in, libxfce4util/Makefile.in, libxfce4util/util.c, + libxfce4util/util.h, m4/Makefile.in: Imported patches from Brian J. + Tarricone regarding custom halt/poweroff/reboot commands with some + modifications and bumped version to 0.2.0 + +2004-01-07 21:38 olivier + + * ChangeLog: Huge update before 4.0.3 release, mainly: ChangeLog + update, Version number updates. + +2003-12-29 16:19 olivier + + * ChangeLog, configure, configure.ac: Update version number, Update + ChangeLog Fix missing CHARSET in potfiles + +2003-12-18 00:00 olivier + + * ChangeLog: Update ChangeLog(s) + +2003-12-16 23:36 olivier + + * configure, configure.ac: Resync, update version number + +2003-11-11 19:35 jasper + + * configure, configure.ac: Update po files, just in case something + changed ... + +2003-10-13 20:51 jasper + + * ChangeLog: Update ChangeLog's after syncing with SF. Everything + should now be up-to-date. + 2003-09-22 22:52 huysmans * ChangeLog: Update ChangeLogs @@ -5,7 +114,7 @@ 2003-09-22 00:19 xfce * configure, configure.ac: Update version number to 4.0.0 Improve - focus change for modal dialogs in xfwm4 + focus change for modal dialogs in xfwm4 2003-09-15 00:06 xfce @@ -22,12 +131,12 @@ 2003-09-10 09:39 huysmans * configure, configure.ac: Update version numbers and po files for - release + release 2003-08-28 18:09 edscott * libxfce4util/i18n.h: supress compiler warnings because of intl - macro redefinitions + macro redefinitions 2003-08-26 09:38 huysmans @@ -52,7 +161,7 @@ 2003-07-30 10:03 huysmans * configure, configure.ac: Update version numbers and po files for - release + release 2003-07-19 11:30 huysmans @@ -61,7 +170,7 @@ 2003-07-19 10:58 huysmans * configure, configure.ac: Update version numbers and po files for - release + release 2003-07-13 10:43 huysmans @@ -78,7 +187,7 @@ 2003-07-10 11:24 huysmans * configure, configure.ac: Bump version numbers for release and - update po files + update po files 2003-07-08 00:26 xfce @@ -90,7 +199,7 @@ 2003-07-06 21:45 huysmans - * ChangeLog: Updating ChangeLogs + * ChangeLog, ChangeLog: Updating ChangeLogs 2003-07-06 11:15 bmeurer @@ -103,7 +212,7 @@ 2003-07-05 01:37 xfce * Makefile.in, aclocal.m4, configure, ltcf-c.sh: libttol update and - all + all 2003-07-05 00:30 bmeurer @@ -112,34 +221,32 @@ 2003-07-04 23:03 bmeurer * Makefile.in, aclocal.m4, config.h.in, configure, ltmain.sh, - i18n/Makefile.in, libxfce4util/Makefile.in, m4/Makefile.in: - libtool updated to 1.5. + i18n/Makefile.in, libxfce4util/Makefile.in, m4/Makefile.in: libtool + updated to 1.5. 2003-07-03 21:57 xfce * libxfce4util/util.c: Rename fns starting with __* to internal_* - ("__" should be avoided as some linker use this for their own - use) + ("__" should be avoided as some linker use this for their own use) 2003-07-02 14:32 bmeurer * Makefile.in, aclocal.m4, config.h.in, configure, ltmain.sh, - i18n/Makefile.in, libxfce4util/Makefile.in, libxfce4util/utf8.h, - m4/Makefile.in: Cleanups. + i18n/Makefile.in, libxfce4util/Makefile.in, libxfce4util/utf8.h, + m4/Makefile.in: Cleanups. 2003-07-01 22:44 xfce * configure, configure.ac, libxfce4util/Makefile.am, - libxfce4util/Makefile.in, libxfce4util/utf8.c, - libxfce4util/utf8.h: Add utf8 utility (used in libxfcegui4 and - xfwm4) + libxfce4util/Makefile.in, libxfce4util/utf8.c, libxfce4util/utf8.h: + Add utf8 utility (used in libxfcegui4 and xfwm4) 2003-06-28 11:46 xfce * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac, - ltmain.sh, i18n/Makefile.in, libxfce4util/Makefile.in, - m4/Makefile.in: Update to libtool-1.5 Use proper complete - CURRENT:REVISION:AGE scheme for lib versionning + ltmain.sh, i18n/Makefile.in, libxfce4util/Makefile.in, + m4/Makefile.in: Update to libtool-1.5 Use proper complete + CURRENT:REVISION:AGE scheme for lib versionning 2003-06-21 22:18 bmeurer @@ -156,32 +263,32 @@ 2003-06-14 23:53 bmeurer * NEWS, TODO, libxfce4util/i18n.c, libxfce4util/i18n.h, m4/i18n.m4: - Introduced xfce_textdomain() + Introduced xfce_textdomain() 2003-06-10 21:51 bmeurer * libxfce4util/Makefile.in, libxfce4util/i18n.h, m4/Makefile.in: - Added xfce_get_path_localized(). Updated to 3.91.0 + Added xfce_get_path_localized(). Updated to 3.91.0 2003-06-10 21:47 bmeurer * Makefile.in, aclocal.m4, config.guess, config.sub, configure, - configure.ac, install-sh, ltcf-c.sh, ltconfig, ltmain.sh, - i18n/Makefile.in: Added xfce_get_path_localized(). Updated to - 3.91.0 + configure.ac, install-sh, ltcf-c.sh, ltconfig, ltmain.sh, + i18n/Makefile.in: Added xfce_get_path_localized(). Updated to + 3.91.0 2003-06-06 23:36 xfce * aclocal.m4, configure, configure.ac, ltcf-c.sh, ltconfig, - ltmain.sh: Versionning scheme + ltmain.sh: Versionning scheme 2003-06-06 00:00 bmeurer * INSTALL, Makefile.in, aclocal.m4, config.guess, config.sub, - configure, configure.ac, ltcf-c.sh, ltconfig, ltmain.sh, - i18n/Makefile.in, libxfce4util/Makefile.in, libxfce4util/i18n.c, - libxfce4util/i18n.h, m4/Makefile.in, m4/depends.m4: Updated - version to 3.90.0 + configure, configure.ac, ltcf-c.sh, ltconfig, ltmain.sh, + i18n/Makefile.in, libxfce4util/Makefile.in, libxfce4util/i18n.c, + libxfce4util/i18n.h, m4/Makefile.in, m4/depends.m4: Updated version + to 3.90.0 2003-05-25 17:02 bmeurer @@ -194,36 +301,36 @@ 2003-05-04 16:02 huysmans * Makefile.am, Makefile.in, aclocal.m4, config.guess, config.sub, - configure, libxfce4util.spec.in, ltcf-c.sh, ltconfig, ltmain.sh, - i18n/Makefile.in, libxfce4util/Makefile.am, - libxfce4util/Makefile.in, m4/Makefile.in: Fix distcheck and rpm - build targets + configure, libxfce4util.spec.in, ltcf-c.sh, ltconfig, ltmain.sh, + i18n/Makefile.in, libxfce4util/Makefile.am, + libxfce4util/Makefile.in, m4/Makefile.in: Fix distcheck and rpm + build targets 2003-05-01 15:48 bmeurer * Makefile.am, libxfce4util/Makefile.am, libxfce4util/Makefile.in, - libxfce4util/filter.c, libxfce4util/filter.h, - libxfce4util/option.c, libxfce4util/option.h, m4/Makefile.am, - m4/Makefile.in: Moved xfprint stuff to xfprint. + libxfce4util/filter.c, libxfce4util/filter.h, + libxfce4util/option.c, libxfce4util/option.h, m4/Makefile.am, + m4/Makefile.in: Moved xfprint stuff to xfprint. 2003-05-01 12:55 bmeurer * configure, configure.ac: API was changed, so raise version (and - lib major) to 0.3.0 + lib major) to 0.3.0 2003-05-01 12:42 bmeurer * Makefile.am, Makefile.in, aclocal.m4, config.h.in, configure, - configure.ac, i18n/Makefile.am, i18n/Makefile.in, i18n/nls.alias, - libxfce4util/Makefile.am, libxfce4util/Makefile.in, - libxfce4util/i18n.c, libxfce4util/i18n.h, libxfce4util/util.c, - m4/Makefile.am, m4/Makefile.in, m4/depends.m4: Added i18n - functions to libxfce4util. + configure.ac, i18n/Makefile.am, i18n/Makefile.in, i18n/nls.alias, + libxfce4util/Makefile.am, libxfce4util/Makefile.in, + libxfce4util/i18n.c, libxfce4util/i18n.h, libxfce4util/util.c, + m4/Makefile.am, m4/Makefile.in, m4/depends.m4: Added i18n functions + to libxfce4util. 2003-04-27 20:51 tobias_henle * libxfce4util/debug.h: Added __FUNCTION__ in DBG and TRACE for gcc - v3+. + v3+. 2003-04-26 23:15 bmeurer @@ -236,62 +343,62 @@ 2003-04-25 11:53 bmeurer * m4/Makefile.am, m4/Makefile.in, m4/X11.m4, m4/depends.m4, - m4/i18n.m4, Makefile.am, Makefile.in, configure, configure.ac: - Updated depends.m4 and added macro for use with panel plugins. - Updated libxfce4util to install the common m4 files into - $(datadir)/xfce4/m4. + m4/i18n.m4, Makefile.am, Makefile.in, configure, configure.ac: + Updated depends.m4 and added macro for use with panel plugins. + Updated libxfce4util to install the common m4 files into + $(datadir)/xfce4/m4. 2003-04-20 12:05 huysmans * libxfce4util/i18n.h: Fix i18n panel issue: use GETTEXT_PACKAGE - instead of PACKAGE + instead of PACKAGE 2003-04-19 23:31 bmeurer * Makefile.in, aclocal.m4, configure, configure.ac, - libxfce4util/Makefile.in, libxfce4util/libxfce4util-1.0.pc.in, - m4/rpath.m4: Added system tray support to libxfcegui4 and - frontend to xftaskbar4. Lots of cleanups in the autotools stuff. + libxfce4util/Makefile.in, libxfce4util/libxfce4util-1.0.pc.in, + m4/rpath.m4: Added system tray support to libxfcegui4 and frontend + to xftaskbar4. Lots of cleanups in the autotools stuff. 2003-04-09 22:39 bmeurer * aclocal.m4, configure, m4/debug.m4: Improved debug.m4: - - 1) --disable-debug no longer disables assert()'s - 2) --enable-profiling now enables profiling code - 3) --disable-asserts allows disabling of assert()'s + + 1) --disable-debug no longer disables assert()'s + 2) --enable-profiling now enables profiling code + 3) --disable-asserts allows disabling of assert()'s 2003-04-05 23:30 bmeurer * config.h.in, configure, configure.ac, libxfce4util/util.c: Fixed - libxfce4util libtool verinfo. Updated to automake 1.7.3. + libxfce4util libtool verinfo. Updated to automake 1.7.3. 2003-04-05 19:20 bmeurer * configure, configure.ac, libxfce4util/util.c, - libxfce4util/util.h: Added xfce_get_homefile_r() and - xfce_get_userfile_r() for use with static buffers. Raise version - to 0.2. + libxfce4util/util.h: Added xfce_get_homefile_r() and + xfce_get_userfile_r() for use with static buffers. Raise version to + 0.2. 2003-04-05 02:09 xfce * libxfce4util/debug.h: Revert last change in debug.h, use "??" - instead of ((__const char *)0) Replace DBG() statements with - TRACE() in libxfcegui4 and xfwm4 because it was generating far - too much logs in simple debug mode (use --enable-debug=full to - get full traces) Add params to TRACE() (just like in DBG()) - Remove trailing CR in log messages + instead of ((__const char *)0) Replace DBG() statements with + TRACE() in libxfcegui4 and xfwm4 because it was generating far too + much logs in simple debug mode (use --enable-debug=full to get full + traces) Add params to TRACE() (just like in DBG()) Remove trailing + CR in log messages 2003-04-05 00:35 bmeurer * Makefile.in, aclocal.m4, config.guess, config.sub, configure, - depcomp, ltconfig, libxfce4util/Makefile.in, - libxfce4util/debug.h, libxfce4util/util.h: Update debug stuff. + depcomp, ltconfig, libxfce4util/Makefile.in, libxfce4util/debug.h, + libxfce4util/util.h: Update debug stuff. 2003-04-04 00:08 bmeurer * m4/depends.m4: Updated BM_DEPEND_CHECK to make it possible to - disable the test + disable the test 2003-04-03 23:34 bmeurer @@ -308,42 +415,41 @@ 2003-04-02 22:10 bmeurer * aclocal.m4, config.h.in, configure, configure.ac, - libxfce4util/Makefile.am, libxfce4util/Makefile.in, - libxfce4util/i18n.h, m4/debug.m4: Debugging stuff now provided by - libxfce4util. As a result of this change libxfcegui4 now depends - on libxfce4util. Some other updates. added a hint to the - libxfcegui4 README for Xinerama problems with XFree86. + libxfce4util/Makefile.am, libxfce4util/Makefile.in, + libxfce4util/i18n.h, m4/debug.m4: Debugging stuff now provided by + libxfce4util. As a result of this change libxfcegui4 now depends on + libxfce4util. Some other updates. added a hint to the libxfcegui4 + README for Xinerama problems with XFree86. 2003-04-02 19:33 bmeurer * aclocal.m4, configure, m4/debug.m4, m4/rpath.m4: left-over - autostuff for libxfce*, xfcs-mcs-* and xfce4 + autostuff for libxfce*, xfcs-mcs-* and xfce4 2003-04-02 16:58 bmeurer * libxfce4util/: Makefile.am, Makefile.in, filter.h, i18n.h, - util.h: Put i18n support code into libxfce4util. + util.h: Put i18n support code into libxfce4util. 2003-04-02 15:24 bmeurer * aclocal.m4, config.h.in, configure, configure.ac, - libxfce4util/Makefile.am, libxfce4util/Makefile.in, - libxfce4util/filter.c, m4/debug.m4, m4/depends.m4: Large - autotools update. Should fix James problems with unsubstituted - @PKG_LDFLAGS@ in .pc files. Should also make it easier to port - XFce4 to a non-POSIX (or even non-UNIX) plattform, using - autoconf. + libxfce4util/Makefile.am, libxfce4util/Makefile.in, + libxfce4util/filter.c, m4/debug.m4, m4/depends.m4: Large autotools + update. Should fix James problems with unsubstituted @PKG_LDFLAGS@ + in .pc files. Should also make it easier to port XFce4 to a + non-POSIX (or even non-UNIX) plattform, using autoconf. 2003-04-01 20:36 bmeurer * aclocal.m4, configure, ltcf-c.sh, ltconfig, ltmain.sh, - m4/debug.m4, m4/rpath.m4: Updates of the m4 files (test's have - some problems). + m4/debug.m4, m4/rpath.m4: Updates of the m4 files (test's have some + problems). 2003-03-31 18:41 bmeurer * libxfce4util/: filter.c, option.c, test.c, util.c: Header files - are now only included if found by configure. + are now only included if found by configure. 2003-03-27 21:32 xfce @@ -360,15 +466,14 @@ 2003-03-18 23:33 xfce * ChangeLog, aclocal.m4, configure, ltcf-c.sh, ltconfig, ltmain.sh: - Update ChangeLog Update build scripts (ie rerun autogen.sh) - Update xfwm4's microdeck theme Remove 1 pix border arround xffm - menu bar + Update ChangeLog Update build scripts (ie rerun autogen.sh) Update + xfwm4's microdeck theme Remove 1 pix border arround xffm menu bar 2003-03-15 11:07 bmeurer * Makefile.in, aclocal.m4, autogen.sh, configure, configure.ac, - libxfce4util.spec.in, libxfce4util/Makefile.in, - libxfce4util/filter.c, m4/depends.m4: Create a valid .spec file. + libxfce4util.spec.in, libxfce4util/Makefile.in, + libxfce4util/filter.c, m4/depends.m4: Create a valid .spec file. 2003-03-14 20:22 bmeurer @@ -377,15 +482,15 @@ 2003-03-14 19:55 bmeurer * Makefile.in, aclocal.m4, configure, configure.ac, - libxfce4util.spec.in, libxfce4util/Makefile.in, - libxfce4util/libxfce4util-1.0.pc.in, m4/rpath.m4: New rpath stuff - (for debian people) + libxfce4util.spec.in, libxfce4util/Makefile.in, + libxfce4util/libxfce4util-1.0.pc.in, m4/rpath.m4: New rpath stuff + (for debian people) 2003-03-13 22:37 bmeurer * aclocal.m4, configure, configure.ac, libxfce4util/util.c, - libxfce4util/util.h, m4/debug.m4: debug.m4 update. Removed junk - from the sources. + libxfce4util/util.h, m4/debug.m4: debug.m4 update. Removed junk + from the sources. 2003-03-13 21:39 xfce @@ -402,7 +507,7 @@ 2003-03-10 22:27 bmeurer * libxfce4util/: filter.c, filter.h: remove a possible buffer - overflow. + overflow. 2003-03-10 12:40 bmeurer @@ -423,13 +528,13 @@ 2003-03-09 23:10 bmeurer * AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, Makefile.in, - NEWS, README, aclocal.m4, autogen.sh, compile, config.guess, - config.h.in, config.sub, configure, configure.ac, depcomp, - install-sh, libxfce4util.spec.in, ltcf-c.sh, ltconfig, ltmain.sh, - missing, mkinstalldirs, libxfce4util/Makefile.am, - libxfce4util/Makefile.in, libxfce4util/filter.c, - libxfce4util/filter.h, libxfce4util/libxfce4util-1.0.pc.in, - libxfce4util/option.c, libxfce4util/option.h, - libxfce4util/test.c, libxfce4util/util.c, libxfce4util/util.h, - m4/debug.m4: Initiali import of stripped libxfce4util. + NEWS, README, aclocal.m4, autogen.sh, compile, config.guess, + config.h.in, config.sub, configure, configure.ac, depcomp, + install-sh, libxfce4util.spec.in, ltcf-c.sh, ltconfig, ltmain.sh, + missing, mkinstalldirs, libxfce4util/Makefile.am, + libxfce4util/Makefile.in, libxfce4util/filter.c, + libxfce4util/filter.h, libxfce4util/libxfce4util-1.0.pc.in, + libxfce4util/option.c, libxfce4util/option.h, libxfce4util/test.c, + libxfce4util/util.c, libxfce4util/util.h, m4/debug.m4: Initiali + import of stripped libxfce4util. diff --git a/Makefile.in b/Makefile.in index 4496540052dba51cf73e18002195a20a36774c21..41e69d5b86f4b40711da101ad8ebf52aabfa6497 100644 --- a/Makefile.in +++ b/Makefile.in @@ -38,7 +38,8 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libxfce4util.spec.in $(top_srcdir)/configure AUTHORS \ COPYING ChangeLog INSTALL NEWS TODO compile config.guess \ - config.sub depcomp install-sh ltmain.sh missing mkinstalldirs + config.sub depcomp install-sh ltcf-c.sh ltconfig ltmain.sh \ + missing mkinstalldirs subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/debug.m4 \ diff --git a/configure b/configure index b3bba07559a0b403dc5f033b692e4f8cd1094b9f..d5d3dbeeec346c059183cf2c99432f05e9191d2f 100755 --- a/configure +++ b/configure @@ -1,13 +1,15 @@ #! /bin/sh -# From configure.ac Id. +# From configure.ac Id: configure.ac,v 1.27 2004/01/29 22:03:50 benny Exp . # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for libxfce4util 4.1.1. +# Generated by GNU Autoconf 2.59 for libxfce4util 4.1.2. # # Report bugs to <xfce4-dev@xfce.org>. # # Copyright (c) 2003,2004 # The XFce development team. All rights reserved. # +# Written for XFce by Benedikt Meurer <benny@xfce.org>. +# # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. @@ -427,8 +429,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='libxfce4util' PACKAGE_TARNAME='libxfce4util' -PACKAGE_VERSION='4.1.1' -PACKAGE_STRING='libxfce4util 4.1.1' +PACKAGE_VERSION='4.1.2' +PACKAGE_STRING='libxfce4util 4.1.2' PACKAGE_BUGREPORT='xfce4-dev@xfce.org' # Factoring default headers for most tests. @@ -957,7 +959,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libxfce4util 4.1.1 to adapt to many kinds of systems. +\`configure' configures libxfce4util 4.1.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1023,7 +1025,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libxfce4util 4.1.1:";; + short | recursive ) echo "Configuration of libxfce4util 4.1.2:";; esac cat <<\_ACEOF @@ -1171,7 +1173,7 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -libxfce4util configure 4.1.1 +libxfce4util configure 4.1.2 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1180,6 +1182,8 @@ gives unlimited permission to copy, distribute and modify it. Copyright (c) 2003,2004 The XFce development team. All rights reserved. + +Written for XFce by Benedikt Meurer <benny@xfce.org>. _ACEOF exit 0 fi @@ -1188,7 +1192,7 @@ cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libxfce4util $as_me 4.1.1, which was +It was created by libxfce4util $as_me 4.1.2, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1527,7 +1531,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -LIBXFCE4UTIL_VERSION=4.1.1 +LIBXFCE4UTIL_VERSION=4.1.2 am__api_version="1.8" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do @@ -1980,7 +1984,7 @@ fi -LIBXFCE4UTIL_VERINFO=1:1:0 +LIBXFCE4UTIL_VERINFO=1:2:0 DEPDIR="${am__leading_dot}deps" @@ -5406,7 +5410,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 5409 "configure"' > conftest.$ac_ext + echo '#line 5413 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -6498,7 +6502,7 @@ fi # Provide some information about the compiler. -echo "$as_me:6501:" \ +echo "$as_me:6505:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 @@ -7525,11 +7529,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7528: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7532: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7532: \$? = $ac_status" >&5 + echo "$as_me:7536: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -7757,11 +7761,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7760: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7764: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7764: \$? = $ac_status" >&5 + echo "$as_me:7768: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -7824,11 +7828,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7827: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7831: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:7831: \$? = $ac_status" >&5 + echo "$as_me:7835: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -9209,7 +9213,7 @@ linux*) libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) - echo '#line 9212 "configure"' > conftest.$ac_ext + echo '#line 9216 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -9991,7 +9995,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 9994 "configure" +#line 9998 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10089,7 +10093,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 10092 "configure" +#line 10096 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12241,11 +12245,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12244: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12248: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12248: \$? = $ac_status" >&5 + echo "$as_me:12252: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -12308,11 +12312,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12311: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12315: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12315: \$? = $ac_status" >&5 + echo "$as_me:12319: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12879,7 +12883,7 @@ linux*) libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) - echo '#line 12882 "configure"' > conftest.$ac_ext + echo '#line 12886 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -13661,7 +13665,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 13664 "configure" +#line 13668 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13759,7 +13763,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 13762 "configure" +#line 13766 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -14581,11 +14585,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14584: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14588: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:14588: \$? = $ac_status" >&5 + echo "$as_me:14592: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -14648,11 +14652,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14651: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14655: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14655: \$? = $ac_status" >&5 + echo "$as_me:14659: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16013,7 +16017,7 @@ linux*) libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) - echo '#line 16016 "configure"' > conftest.$ac_ext + echo '#line 16020 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -16659,11 +16663,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16662: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16666: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16666: \$? = $ac_status" >&5 + echo "$as_me:16670: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -16891,11 +16895,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16894: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16898: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16898: \$? = $ac_status" >&5 + echo "$as_me:16902: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -16958,11 +16962,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16961: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16965: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16965: \$? = $ac_status" >&5 + echo "$as_me:16969: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -18343,7 +18347,7 @@ linux*) libsuff= case "$host_cpu" in x86_64*|s390x*|powerpc64*) - echo '#line 18346 "configure"' > conftest.$ac_ext + echo '#line 18350 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -19125,7 +19129,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 19128 "configure" +#line 19132 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -19223,7 +19227,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 19226 "configure" +#line 19230 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -21292,7 +21296,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by libxfce4util $as_me 4.1.1, which was +This file was extended by libxfce4util $as_me 4.1.2, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21355,7 +21359,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -libxfce4util config.status 4.1.1 +libxfce4util config.status 4.1.2 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" diff --git a/configure.ac b/configure.ac index f968b7d652c987e10a12e8dfec4ea1ffd5864443..52be308557951c26de96cf7a498e2d4df377a3f6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,19 +1,23 @@ dnl $Id$ dnl -dnl Copyright (c) 2003,2004 +dnl Copyright (c) 2002-2004 dnl The XFce development team. All rights reserved. dnl +dnl Written for XFce by Benedikt Meurer <benny@xfce.org>. +dnl dnl Version information -m4_define([libxfce4util_verinfo], [1:1:0]) +m4_define([libxfce4util_verinfo], [1:2:0]) m4_define([libxfce4util_version_major], [4]) m4_define([libxfce4util_version_minor], [1]) -m4_define([libxfce4util_version_micro], [1]) +m4_define([libxfce4util_version_micro], [2]) m4_define([libxfce4util_version], [libxfce4util_version_major.libxfce4util_version_minor.libxfce4util_version_micro]) dnl Initialize autoconf -AC_COPYRIGHT([Copyright (c) 2003,2004 - The XFce development team. All rights reserved.]) +AC_COPYRIGHT([Copyright (c) 2002-2004 + The XFce development team. All rights reserved. + +Written for XFce by Benedikt Meurer <benny@xfce.org>.]) AC_INIT([libxfce4util], [libxfce4util_version], [xfce4-dev@xfce.org]) AC_PREREQ([2.50]) AC_REVISION([$Id$]) diff --git a/docs/Doxyfile b/docs/Doxyfile index a7cdd0b91b8d26147e70635e253f2e8ef9f601f3..3dd170dcbd31b3a05a70fe68113246ace15a57f4 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -875,7 +875,7 @@ INCLUDE_FILE_PATTERNS = # or name=definition (no spaces). If the definition and the = are # omitted =1 is assumed. -PREDEFINED = +PREDEFINED = DOXYGEN_SHOULD_SKIP_THIS # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. diff --git a/libxfce4util/BSD b/libxfce4util/BSD new file mode 100644 index 0000000000000000000000000000000000000000..13bf6ff6bbb5152834c4133714b61ee2abff65d5 --- /dev/null +++ b/libxfce4util/BSD @@ -0,0 +1,21 @@ + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/libxfce4util/GPL b/libxfce4util/GPL new file mode 100644 index 0000000000000000000000000000000000000000..e90dfed1a31ed1c0c22befce22c6f37f9cf5f2bb --- /dev/null +++ b/libxfce4util/GPL @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/libxfce4util/LGPL b/libxfce4util/LGPL new file mode 100644 index 0000000000000000000000000000000000000000..c56db9a2fe0eaa0e5314fc61c8f0e3762857454e --- /dev/null +++ b/libxfce4util/LGPL @@ -0,0 +1,482 @@ + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. + + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + <one line to give the library's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307 USA. + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + <signature of Ty Coon>, 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/libxfce4util/Makefile.am b/libxfce4util/Makefile.am index 55624784e592fb3e58d7260e6ecd4a56aad64f8a..5773dfc450901cf622bfba43de040cf986ce983f 100644 --- a/libxfce4util/Makefile.am +++ b/libxfce4util/Makefile.am @@ -14,6 +14,7 @@ libxfce4util_la_SOURCES = \ debug.h \ i18n.c \ i18n.h \ + licenses-texts.c \ utf8.c \ utf8.h \ util.c \ @@ -37,3 +38,11 @@ libxfce4util_la_CFLAGS = \ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libxfce4util-1.0.pc +licenses-texts.c: licenses-to-c.sh BSD GPL LGPL + sh licenses-to-c.sh BSD:BSD GPL:GPL LGPL:LGPL > $@ + +EXTRA_DIST = \ + BSD \ + GPL \ + LGPL \ + licenses-to-c.sh diff --git a/libxfce4util/Makefile.in b/libxfce4util/Makefile.in index 0e039661b3da9cad1d14c7ced89f6d28299c950c..213794e663f1ee0e061de38b1ea5868ec344e011 100644 --- a/libxfce4util/Makefile.in +++ b/libxfce4util/Makefile.in @@ -55,13 +55,14 @@ libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) libxfce4util_la_DEPENDENCIES = am_libxfce4util_la_OBJECTS = libxfce4util_la-i18n.lo \ - libxfce4util_la-utf8.lo libxfce4util_la-util.lo \ - libxfce4util_la-xfce_desktop_entry.lo + libxfce4util_la-licenses-texts.lo libxfce4util_la-utf8.lo \ + libxfce4util_la-util.lo libxfce4util_la-xfce_desktop_entry.lo libxfce4util_la_OBJECTS = $(am_libxfce4util_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/libxfce4util_la-i18n.Plo \ +@AMDEP_TRUE@ ./$(DEPDIR)/libxfce4util_la-licenses-texts.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/libxfce4util_la-utf8.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/libxfce4util_la-util.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/libxfce4util_la-xfce_desktop_entry.Plo @@ -197,6 +198,7 @@ libxfce4util_la_SOURCES = \ debug.h \ i18n.c \ i18n.h \ + licenses-texts.c \ utf8.c \ utf8.h \ util.c \ @@ -219,6 +221,12 @@ libxfce4util_la_CFLAGS = \ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libxfce4util-1.0.pc +EXTRA_DIST = \ + BSD \ + GPL \ + LGPL \ + licenses-to-c.sh + all: all-am .SUFFIXES: @@ -291,6 +299,7 @@ distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxfce4util_la-i18n.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxfce4util_la-licenses-texts.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxfce4util_la-utf8.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxfce4util_la-util.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxfce4util_la-xfce_desktop_entry.Plo@am__quote@ @@ -343,6 +352,30 @@ libxfce4util_la-i18n.lo: i18n.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4util_la_CFLAGS) $(CFLAGS) -c -o libxfce4util_la-i18n.lo `test -f 'i18n.c' || echo '$(srcdir)/'`i18n.c +libxfce4util_la-licenses-texts.o: licenses-texts.c +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4util_la_CFLAGS) $(CFLAGS) -MT libxfce4util_la-licenses-texts.o -MD -MP -MF "$(DEPDIR)/libxfce4util_la-licenses-texts.Tpo" -c -o libxfce4util_la-licenses-texts.o `test -f 'licenses-texts.c' || echo '$(srcdir)/'`licenses-texts.c; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfce4util_la-licenses-texts.Tpo" "$(DEPDIR)/libxfce4util_la-licenses-texts.Po"; else rm -f "$(DEPDIR)/libxfce4util_la-licenses-texts.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='licenses-texts.c' object='libxfce4util_la-licenses-texts.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libxfce4util_la-licenses-texts.Po' tmpdepfile='$(DEPDIR)/libxfce4util_la-licenses-texts.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4util_la_CFLAGS) $(CFLAGS) -c -o libxfce4util_la-licenses-texts.o `test -f 'licenses-texts.c' || echo '$(srcdir)/'`licenses-texts.c + +libxfce4util_la-licenses-texts.obj: licenses-texts.c +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4util_la_CFLAGS) $(CFLAGS) -MT libxfce4util_la-licenses-texts.obj -MD -MP -MF "$(DEPDIR)/libxfce4util_la-licenses-texts.Tpo" -c -o libxfce4util_la-licenses-texts.obj `if test -f 'licenses-texts.c'; then $(CYGPATH_W) 'licenses-texts.c'; else $(CYGPATH_W) '$(srcdir)/licenses-texts.c'; fi`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfce4util_la-licenses-texts.Tpo" "$(DEPDIR)/libxfce4util_la-licenses-texts.Po"; else rm -f "$(DEPDIR)/libxfce4util_la-licenses-texts.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='licenses-texts.c' object='libxfce4util_la-licenses-texts.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libxfce4util_la-licenses-texts.Po' tmpdepfile='$(DEPDIR)/libxfce4util_la-licenses-texts.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4util_la_CFLAGS) $(CFLAGS) -c -o libxfce4util_la-licenses-texts.obj `if test -f 'licenses-texts.c'; then $(CYGPATH_W) 'licenses-texts.c'; else $(CYGPATH_W) '$(srcdir)/licenses-texts.c'; fi` + +libxfce4util_la-licenses-texts.lo: licenses-texts.c +@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4util_la_CFLAGS) $(CFLAGS) -MT libxfce4util_la-licenses-texts.lo -MD -MP -MF "$(DEPDIR)/libxfce4util_la-licenses-texts.Tpo" -c -o libxfce4util_la-licenses-texts.lo `test -f 'licenses-texts.c' || echo '$(srcdir)/'`licenses-texts.c; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfce4util_la-licenses-texts.Tpo" "$(DEPDIR)/libxfce4util_la-licenses-texts.Plo"; else rm -f "$(DEPDIR)/libxfce4util_la-licenses-texts.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='licenses-texts.c' object='libxfce4util_la-licenses-texts.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libxfce4util_la-licenses-texts.Plo' tmpdepfile='$(DEPDIR)/libxfce4util_la-licenses-texts.TPlo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4util_la_CFLAGS) $(CFLAGS) -c -o libxfce4util_la-licenses-texts.lo `test -f 'licenses-texts.c' || echo '$(srcdir)/'`licenses-texts.c + libxfce4util_la-utf8.o: utf8.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4util_la_CFLAGS) $(CFLAGS) -MT libxfce4util_la-utf8.o -MD -MP -MF "$(DEPDIR)/libxfce4util_la-utf8.Tpo" -c -o libxfce4util_la-utf8.o `test -f 'utf8.c' || echo '$(srcdir)/'`utf8.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfce4util_la-utf8.Tpo" "$(DEPDIR)/libxfce4util_la-utf8.Po"; else rm -f "$(DEPDIR)/libxfce4util_la-utf8.Tpo"; exit 1; fi @@ -629,6 +662,9 @@ uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \ uninstall-libLTLIBRARIES uninstall-libxfce4utilincludeHEADERS \ uninstall-pkgconfigDATA + +licenses-texts.c: licenses-to-c.sh BSD GPL LGPL + sh licenses-to-c.sh BSD:BSD GPL:GPL LGPL:LGPL > $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/libxfce4util/licenses-texts.c b/libxfce4util/licenses-texts.c new file mode 100644 index 0000000000000000000000000000000000000000..9ab790239f616ca452beaa29529e0c881beb9d88 --- /dev/null +++ b/libxfce4util/licenses-texts.c @@ -0,0 +1,861 @@ +/* Auto generated file, do not edit */ + +/* Keep the license stuff in one section if possible */ +#if defined(__GNUC__) +#define SECTION __attribute__((section(".xfce.LICENSES"))) +#else +#define SECTION +#endif + +const char _xfce_builtin_license_BSD [] SECTION = + " Redistribution and use in source and binary forms, with or without\n" + " modification, are permitted provided that the following conditions\n" + " are met:\n" + "\n" + " 1. Redistributions of source code must retain the above copyright\n" + " notice, this list of conditions and the following disclaimer.\n" + " 2. Redistributions in binary form must reproduce the above copyright\n" + " notice, this list of conditions and the following disclaimer in the\n" + " documentation and/or other materials provided with the distribution.\n" + "\n" + " THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n" + " IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n" + " OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n" + " IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n" + " INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n" + " NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n" + " DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n" + " THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n" + " (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n" + " THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n" + "\n" +; + +const char _xfce_builtin_license_GPL [] SECTION = + " GNU GENERAL PUBLIC LICENSE\n" + " Version 2, June 1991\n" + "\n" + " Copyright (C) 1989, 1991 Free Software Foundation, Inc.\n" + " 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + " Everyone is permitted to copy and distribute verbatim copies\n" + " of this license document, but changing it is not allowed.\n" + "\n" + " Preamble\n" + "\n" + " The licenses for most software are designed to take away your\n" + "freedom to share and change it. By contrast, the GNU General Public\n" + "License is intended to guarantee your freedom to share and change free\n" + "software--to make sure the software is free for all its users. This\n" + "General Public License applies to most of the Free Software\n" + "Foundation's software and to any other program whose authors commit to\n" + "using it. (Some other Free Software Foundation software is covered by\n" + "the GNU Library General Public License instead.) You can apply it to\n" + "your programs, too.\n" + "\n" + " When we speak of free software, we are referring to freedom, not\n" + "price. Our General Public Licenses are designed to make sure that you\n" + "have the freedom to distribute copies of free software (and charge for\n" + "this service if you wish), that you receive source code or can get it\n" + "if you want it, that you can change the software or use pieces of it\n" + "in new free programs; and that you know you can do these things.\n" + "\n" + " To protect your rights, we need to make restrictions that forbid\n" + "anyone to deny you these rights or to ask you to surrender the rights.\n" + "These restrictions translate to certain responsibilities for you if you\n" + "distribute copies of the software, or if you modify it.\n" + "\n" + " For example, if you distribute copies of such a program, whether\n" + "gratis or for a fee, you must give the recipients all the rights that\n" + "you have. You must make sure that they, too, receive or can get the\n" + "source code. And you must show them these terms so they know their\n" + "rights.\n" + "\n" + " We protect your rights with two steps: (1) copyright the software, and\n" + "(2) offer you this license which gives you legal permission to copy,\n" + "distribute and/or modify the software.\n" + "\n" + " Also, for each author's protection and ours, we want to make certain\n" + "that everyone understands that there is no warranty for this free\n" + "software. If the software is modified by someone else and passed on, we\n" + "want its recipients to know that what they have is not the original, so\n" + "that any problems introduced by others will not reflect on the original\n" + "authors' reputations.\n" + "\n" + " Finally, any free program is threatened constantly by software\n" + "patents. We wish to avoid the danger that redistributors of a free\n" + "program will individually obtain patent licenses, in effect making the\n" + "program proprietary. To prevent this, we have made it clear that any\n" + "patent must be licensed for everyone's free use or not licensed at all.\n" + "\n" + " The precise terms and conditions for copying, distribution and\n" + "modification follow.\n" + "\n" + " GNU GENERAL PUBLIC LICENSE\n" + " TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n" + "\n" + " 0. This License applies to any program or other work which contains\n" + "a notice placed by the copyright holder saying it may be distributed\n" + "under the terms of this General Public License. The \"Program\", below,\n" + "refers to any such program or work, and a \"work based on the Program\"\n" + "means either the Program or any derivative work under copyright law:\n" + "that is to say, a work containing the Program or a portion of it,\n" + "either verbatim or with modifications and/or translated into another\n" + "language. (Hereinafter, translation is included without limitation in\n" + "the term \"modification\".) Each licensee is addressed as \"you\".\n" + "\n" + "Activities other than copying, distribution and modification are not\n" + "covered by this License; they are outside its scope. The act of\n" + "running the Program is not restricted, and the output from the Program\n" + "is covered only if its contents constitute a work based on the\n" + "Program (independent of having been made by running the Program).\n" + "Whether that is true depends on what the Program does.\n" + "\n" + " 1. You may copy and distribute verbatim copies of the Program's\n" + "source code as you receive it, in any medium, provided that you\n" + "conspicuously and appropriately publish on each copy an appropriate\n" + "copyright notice and disclaimer of warranty; keep intact all the\n" + "notices that refer to this License and to the absence of any warranty;\n" + "and give any other recipients of the Program a copy of this License\n" + "along with the Program.\n" + "\n" + "You may charge a fee for the physical act of transferring a copy, and\n" + "you may at your option offer warranty protection in exchange for a fee.\n" + "\n" + " 2. You may modify your copy or copies of the Program or any portion\n" + "of it, thus forming a work based on the Program, and copy and\n" + "distribute such modifications or work under the terms of Section 1\n" + "above, provided that you also meet all of these conditions:\n" + "\n" + " a) You must cause the modified files to carry prominent notices\n" + " stating that you changed the files and the date of any change.\n" + "\n" + " b) You must cause any work that you distribute or publish, that in\n" + " whole or in part contains or is derived from the Program or any\n" + " part thereof, to be licensed as a whole at no charge to all third\n" + " parties under the terms of this License.\n" + "\n" + " c) If the modified program normally reads commands interactively\n" + " when run, you must cause it, when started running for such\n" + " interactive use in the most ordinary way, to print or display an\n" + " announcement including an appropriate copyright notice and a\n" + " notice that there is no warranty (or else, saying that you provide\n" + " a warranty) and that users may redistribute the program under\n" + " these conditions, and telling the user how to view a copy of this\n" + " License. (Exception: if the Program itself is interactive but\n" + " does not normally print such an announcement, your work based on\n" + " the Program is not required to print an announcement.)\n" + "\n" + "These requirements apply to the modified work as a whole. If\n" + "identifiable sections of that work are not derived from the Program,\n" + "and can be reasonably considered independent and separate works in\n" + "themselves, then this License, and its terms, do not apply to those\n" + "sections when you distribute them as separate works. But when you\n" + "distribute the same sections as part of a whole which is a work based\n" + "on the Program, the distribution of the whole must be on the terms of\n" + "this License, whose permissions for other licensees extend to the\n" + "entire whole, and thus to each and every part regardless of who wrote it.\n" + "\n" + "Thus, it is not the intent of this section to claim rights or contest\n" + "your rights to work written entirely by you; rather, the intent is to\n" + "exercise the right to control the distribution of derivative or\n" + "collective works based on the Program.\n" + "\n" + "In addition, mere aggregation of another work not based on the Program\n" + "with the Program (or with a work based on the Program) on a volume of\n" + "a storage or distribution medium does not bring the other work under\n" + "the scope of this License.\n" + "\n" + " 3. You may copy and distribute the Program (or a work based on it,\n" + "under Section 2) in object code or executable form under the terms of\n" + "Sections 1 and 2 above provided that you also do one of the following:\n" + "\n" + " a) Accompany it with the complete corresponding machine-readable\n" + " source code, which must be distributed under the terms of Sections\n" + " 1 and 2 above on a medium customarily used for software interchange; or,\n" + "\n" + " b) Accompany it with a written offer, valid for at least three\n" + " years, to give any third party, for a charge no more than your\n" + " cost of physically performing source distribution, a complete\n" + " machine-readable copy of the corresponding source code, to be\n" + " distributed under the terms of Sections 1 and 2 above on a medium\n" + " customarily used for software interchange; or,\n" + "\n" + " c) Accompany it with the information you received as to the offer\n" + " to distribute corresponding source code. (This alternative is\n" + " allowed only for noncommercial distribution and only if you\n" + " received the program in object code or executable form with such\n" + " an offer, in accord with Subsection b above.)\n" + "\n" + "The source code for a work means the preferred form of the work for\n" + "making modifications to it. For an executable work, complete source\n" + "code means all the source code for all modules it contains, plus any\n" + "associated interface definition files, plus the scripts used to\n" + "control compilation and installation of the executable. However, as a\n" + "special exception, the source code distributed need not include\n" + "anything that is normally distributed (in either source or binary\n" + "form) with the major components (compiler, kernel, and so on) of the\n" + "operating system on which the executable runs, unless that component\n" + "itself accompanies the executable.\n" + "\n" + "If distribution of executable or object code is made by offering\n" + "access to copy from a designated place, then offering equivalent\n" + "access to copy the source code from the same place counts as\n" + "distribution of the source code, even though third parties are not\n" + "compelled to copy the source along with the object code.\n" + "\n" + " 4. You may not copy, modify, sublicense, or distribute the Program\n" + "except as expressly provided under this License. Any attempt\n" + "otherwise to copy, modify, sublicense or distribute the Program is\n" + "void, and will automatically terminate your rights under this License.\n" + "However, parties who have received copies, or rights, from you under\n" + "this License will not have their licenses terminated so long as such\n" + "parties remain in full compliance.\n" + "\n" + " 5. You are not required to accept this License, since you have not\n" + "signed it. However, nothing else grants you permission to modify or\n" + "distribute the Program or its derivative works. These actions are\n" + "prohibited by law if you do not accept this License. Therefore, by\n" + "modifying or distributing the Program (or any work based on the\n" + "Program), you indicate your acceptance of this License to do so, and\n" + "all its terms and conditions for copying, distributing or modifying\n" + "the Program or works based on it.\n" + "\n" + " 6. Each time you redistribute the Program (or any work based on the\n" + "Program), the recipient automatically receives a license from the\n" + "original licensor to copy, distribute or modify the Program subject to\n" + "these terms and conditions. You may not impose any further\n" + "restrictions on the recipients' exercise of the rights granted herein.\n" + "You are not responsible for enforcing compliance by third parties to\n" + "this License.\n" + "\n" + " 7. If, as a consequence of a court judgment or allegation of patent\n" + "infringement or for any other reason (not limited to patent issues),\n" + "conditions are imposed on you (whether by court order, agreement or\n" + "otherwise) that contradict the conditions of this License, they do not\n" + "excuse you from the conditions of this License. If you cannot\n" + "distribute so as to satisfy simultaneously your obligations under this\n" + "License and any other pertinent obligations, then as a consequence you\n" + "may not distribute the Program at all. For example, if a patent\n" + "license would not permit royalty-free redistribution of the Program by\n" + "all those who receive copies directly or indirectly through you, then\n" + "the only way you could satisfy both it and this License would be to\n" + "refrain entirely from distribution of the Program.\n" + "\n" + "If any portion of this section is held invalid or unenforceable under\n" + "any particular circumstance, the balance of the section is intended to\n" + "apply and the section as a whole is intended to apply in other\n" + "circumstances.\n" + "\n" + "It is not the purpose of this section to induce you to infringe any\n" + "patents or other property right claims or to contest validity of any\n" + "such claims; this section has the sole purpose of protecting the\n" + "integrity of the free software distribution system, which is\n" + "implemented by public license practices. Many people have made\n" + "generous contributions to the wide range of software distributed\n" + "through that system in reliance on consistent application of that\n" + "system; it is up to the author/donor to decide if he or she is willing\n" + "to distribute software through any other system and a licensee cannot\n" + "impose that choice.\n" + "\n" + "This section is intended to make thoroughly clear what is believed to\n" + "be a consequence of the rest of this License.\n" + "\n" + " 8. If the distribution and/or use of the Program is restricted in\n" + "certain countries either by patents or by copyrighted interfaces, the\n" + "original copyright holder who places the Program under this License\n" + "may add an explicit geographical distribution limitation excluding\n" + "those countries, so that distribution is permitted only in or among\n" + "countries not thus excluded. In such case, this License incorporates\n" + "the limitation as if written in the body of this License.\n" + "\n" + " 9. The Free Software Foundation may publish revised and/or new versions\n" + "of the General Public License from time to time. Such new versions will\n" + "be similar in spirit to the present version, but may differ in detail to\n" + "address new problems or concerns.\n" + "\n" + "Each version is given a distinguishing version number. If the Program\n" + "specifies a version number of this License which applies to it and \"any\n" + "later version\", you have the option of following the terms and conditions\n" + "either of that version or of any later version published by the Free\n" + "Software Foundation. If the Program does not specify a version number of\n" + "this License, you may choose any version ever published by the Free Software\n" + "Foundation.\n" + "\n" + " 10. If you wish to incorporate parts of the Program into other free\n" + "programs whose distribution conditions are different, write to the author\n" + "to ask for permission. For software which is copyrighted by the Free\n" + "Software Foundation, write to the Free Software Foundation; we sometimes\n" + "make exceptions for this. Our decision will be guided by the two goals\n" + "of preserving the free status of all derivatives of our free software and\n" + "of promoting the sharing and reuse of software generally.\n" + "\n" + " NO WARRANTY\n" + "\n" + " 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\n" + "FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\n" + "OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\n" + "PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\n" + "OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n" + "MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\n" + "TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\n" + "PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\n" + "REPAIR OR CORRECTION.\n" + "\n" + " 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\n" + "WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\n" + "REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\n" + "INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\n" + "OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\n" + "TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\n" + "YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\n" + "PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\n" + "POSSIBILITY OF SUCH DAMAGES.\n" + "\n" + " END OF TERMS AND CONDITIONS\n" + "\n" + " How to Apply These Terms to Your New Programs\n" + "\n" + " If you develop a new program, and you want it to be of the greatest\n" + "possible use to the public, the best way to achieve this is to make it\n" + "free software which everyone can redistribute and change under these terms.\n" + "\n" + " To do so, attach the following notices to the program. It is safest\n" + "to attach them to the start of each source file to most effectively\n" + "convey the exclusion of warranty; and each file should have at least\n" + "the \"copyright\" line and a pointer to where the full notice is found.\n" + "\n" + " <one line to give the program's name and a brief idea of what it does.>\n" + " Copyright (C) <year> <name of author>\n" + "\n" + " This program is free software; you can redistribute it and/or modify\n" + " it under the terms of the GNU General Public License as published by\n" + " the Free Software Foundation; either version 2 of the License, or\n" + " (at your option) any later version.\n" + "\n" + " This program is distributed in the hope that it will be useful,\n" + " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + " GNU General Public License for more details.\n" + "\n" + " You should have received a copy of the GNU General Public License\n" + " along with this program; if not, write to the Free Software\n" + " Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + "\n" + "\n" + "Also add information on how to contact you by electronic and paper mail.\n" + "\n" + "If the program is interactive, make it output a short notice like this\n" + "when it starts in an interactive mode:\n" + "\n" + " Gnomovision version 69, Copyright (C) year name of author\n" + " Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n" + " This is free software, and you are welcome to redistribute it\n" + " under certain conditions; type `show c' for details.\n" + "\n" + "The hypothetical commands `show w' and `show c' should show the appropriate\n" + "parts of the General Public License. Of course, the commands you use may\n" + "be called something other than `show w' and `show c'; they could even be\n" + "mouse-clicks or menu items--whatever suits your program.\n" + "\n" + "You should also get your employer (if you work as a programmer) or your\n" + "school, if any, to sign a \"copyright disclaimer\" for the program, if\n" + "necessary. Here is a sample; alter the names:\n" + "\n" + " Yoyodyne, Inc., hereby disclaims all copyright interest in the program\n" + " `Gnomovision' (which makes passes at compilers) written by James Hacker.\n" + "\n" + " <signature of Ty Coon>, 1 April 1989\n" + " Ty Coon, President of Vice\n" + "\n" + "This General Public License does not permit incorporating your program into\n" + "proprietary programs. If your program is a subroutine library, you may\n" + "consider it more useful to permit linking proprietary applications with the\n" + "library. If this is what you want to do, use the GNU Library General\n" + "Public License instead of this License.\n" +; + +const char _xfce_builtin_license_LGPL [] SECTION = + " GNU LIBRARY GENERAL PUBLIC LICENSE\n" + " Version 2, June 1991\n" + "\n" + " Copyright (C) 1991 Free Software Foundation, Inc.\n" + " 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + " Everyone is permitted to copy and distribute verbatim copies\n" + " of this license document, but changing it is not allowed.\n" + "\n" + "[This is the first released version of the library GPL. It is\n" + " numbered 2 because it goes with version 2 of the ordinary GPL.]\n" + "\n" + " Preamble\n" + "\n" + " The licenses for most software are designed to take away your\n" + "freedom to share and change it. By contrast, the GNU General Public\n" + "Licenses are intended to guarantee your freedom to share and change\n" + "free software--to make sure the software is free for all its users.\n" + "\n" + " This license, the Library General Public License, applies to some\n" + "specially designated Free Software Foundation software, and to any\n" + "other libraries whose authors decide to use it. You can use it for\n" + "your libraries, too.\n" + "\n" + " When we speak of free software, we are referring to freedom, not\n" + "price. Our General Public Licenses are designed to make sure that you\n" + "have the freedom to distribute copies of free software (and charge for\n" + "this service if you wish), that you receive source code or can get it\n" + "if you want it, that you can change the software or use pieces of it\n" + "in new free programs; and that you know you can do these things.\n" + "\n" + " To protect your rights, we need to make restrictions that forbid\n" + "anyone to deny you these rights or to ask you to surrender the rights.\n" + "These restrictions translate to certain responsibilities for you if\n" + "you distribute copies of the library, or if you modify it.\n" + "\n" + " For example, if you distribute copies of the library, whether gratis\n" + "or for a fee, you must give the recipients all the rights that we gave\n" + "you. You must make sure that they, too, receive or can get the source\n" + "code. If you link a program with the library, you must provide\n" + "complete object files to the recipients so that they can relink them\n" + "with the library, after making changes to the library and recompiling\n" + "it. And you must show them these terms so they know their rights.\n" + "\n" + " Our method of protecting your rights has two steps: (1) copyright\n" + "the library, and (2) offer you this license which gives you legal\n" + "permission to copy, distribute and/or modify the library.\n" + "\n" + " Also, for each distributor's protection, we want to make certain\n" + "that everyone understands that there is no warranty for this free\n" + "library. If the library is modified by someone else and passed on, we\n" + "want its recipients to know that what they have is not the original\n" + "version, so that any problems introduced by others will not reflect on\n" + "the original authors' reputations.\n" + "\n" + " Finally, any free program is threatened constantly by software\n" + "patents. We wish to avoid the danger that companies distributing free\n" + "software will individually obtain patent licenses, thus in effect\n" + "transforming the program into proprietary software. To prevent this,\n" + "we have made it clear that any patent must be licensed for everyone's\n" + "free use or not licensed at all.\n" + "\n" + " Most GNU software, including some libraries, is covered by the ordinary\n" + "GNU General Public License, which was designed for utility programs. This\n" + "license, the GNU Library General Public License, applies to certain\n" + "designated libraries. This license is quite different from the ordinary\n" + "one; be sure to read it in full, and don't assume that anything in it is\n" + "the same as in the ordinary license.\n" + "\n" + " The reason we have a separate public license for some libraries is that\n" + "they blur the distinction we usually make between modifying or adding to a\n" + "program and simply using it. Linking a program with a library, without\n" + "changing the library, is in some sense simply using the library, and is\n" + "analogous to running a utility program or application program. However, in\n" + "a textual and legal sense, the linked executable is a combined work, a\n" + "derivative of the original library, and the ordinary General Public License\n" + "treats it as such.\n" + "\n" + " Because of this blurred distinction, using the ordinary General\n" + "Public License for libraries did not effectively promote software\n" + "sharing, because most developers did not use the libraries. We\n" + "concluded that weaker conditions might promote sharing better.\n" + "\n" + " However, unrestricted linking of non-free programs would deprive the\n" + "users of those programs of all benefit from the free status of the\n" + "libraries themselves. This Library General Public License is intended to\n" + "permit developers of non-free programs to use free libraries, while\n" + "preserving your freedom as a user of such programs to change the free\n" + "libraries that are incorporated in them. (We have not seen how to achieve\n" + "this as regards changes in header files, but we have achieved it as regards\n" + "changes in the actual functions of the Library.) The hope is that this\n" + "will lead to faster development of free libraries.\n" + "\n" + " The precise terms and conditions for copying, distribution and\n" + "modification follow. Pay close attention to the difference between a\n" + "\"work based on the library\" and a \"work that uses the library\". The\n" + "former contains code derived from the library, while the latter only\n" + "works together with the library.\n" + "\n" + " Note that it is possible for a library to be covered by the ordinary\n" + "General Public License rather than by this special one.\n" + "\n" + " GNU LIBRARY GENERAL PUBLIC LICENSE\n" + " TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n" + "\n" + " 0. This License Agreement applies to any software library which\n" + "contains a notice placed by the copyright holder or other authorized\n" + "party saying it may be distributed under the terms of this Library\n" + "General Public License (also called \"this License\"). Each licensee is\n" + "addressed as \"you\".\n" + "\n" + " A \"library\" means a collection of software functions and/or data\n" + "prepared so as to be conveniently linked with application programs\n" + "(which use some of those functions and data) to form executables.\n" + "\n" + " The \"Library\", below, refers to any such software library or work\n" + "which has been distributed under these terms. A \"work based on the\n" + "Library\" means either the Library or any derivative work under\n" + "copyright law: that is to say, a work containing the Library or a\n" + "portion of it, either verbatim or with modifications and/or translated\n" + "straightforwardly into another language. (Hereinafter, translation is\n" + "included without limitation in the term \"modification\".)\n" + "\n" + " \"Source code\" for a work means the preferred form of the work for\n" + "making modifications to it. For a library, complete source code means\n" + "all the source code for all modules it contains, plus any associated\n" + "interface definition files, plus the scripts used to control compilation\n" + "and installation of the library.\n" + "\n" + " Activities other than copying, distribution and modification are not\n" + "covered by this License; they are outside its scope. The act of\n" + "running a program using the Library is not restricted, and output from\n" + "such a program is covered only if its contents constitute a work based\n" + "on the Library (independent of the use of the Library in a tool for\n" + "writing it). Whether that is true depends on what the Library does\n" + "and what the program that uses the Library does.\n" + " \n" + " 1. You may copy and distribute verbatim copies of the Library's\n" + "complete source code as you receive it, in any medium, provided that\n" + "you conspicuously and appropriately publish on each copy an\n" + "appropriate copyright notice and disclaimer of warranty; keep intact\n" + "all the notices that refer to this License and to the absence of any\n" + "warranty; and distribute a copy of this License along with the\n" + "Library.\n" + "\n" + " You may charge a fee for the physical act of transferring a copy,\n" + "and you may at your option offer warranty protection in exchange for a\n" + "fee.\n" + "\n" + " 2. You may modify your copy or copies of the Library or any portion\n" + "of it, thus forming a work based on the Library, and copy and\n" + "distribute such modifications or work under the terms of Section 1\n" + "above, provided that you also meet all of these conditions:\n" + "\n" + " a) The modified work must itself be a software library.\n" + "\n" + " b) You must cause the files modified to carry prominent notices\n" + " stating that you changed the files and the date of any change.\n" + "\n" + " c) You must cause the whole of the work to be licensed at no\n" + " charge to all third parties under the terms of this License.\n" + "\n" + " d) If a facility in the modified Library refers to a function or a\n" + " table of data to be supplied by an application program that uses\n" + " the facility, other than as an argument passed when the facility\n" + " is invoked, then you must make a good faith effort to ensure that,\n" + " in the event an application does not supply such function or\n" + " table, the facility still operates, and performs whatever part of\n" + " its purpose remains meaningful.\n" + "\n" + " (For example, a function in a library to compute square roots has\n" + " a purpose that is entirely well-defined independent of the\n" + " application. Therefore, Subsection 2d requires that any\n" + " application-supplied function or table used by this function must\n" + " be optional: if the application does not supply it, the square\n" + " root function must still compute square roots.)\n" + "\n" + "These requirements apply to the modified work as a whole. If\n" + "identifiable sections of that work are not derived from the Library,\n" + "and can be reasonably considered independent and separate works in\n" + "themselves, then this License, and its terms, do not apply to those\n" + "sections when you distribute them as separate works. But when you\n" + "distribute the same sections as part of a whole which is a work based\n" + "on the Library, the distribution of the whole must be on the terms of\n" + "this License, whose permissions for other licensees extend to the\n" + "entire whole, and thus to each and every part regardless of who wrote\n" + "it.\n" + "\n" + "Thus, it is not the intent of this section to claim rights or contest\n" + "your rights to work written entirely by you; rather, the intent is to\n" + "exercise the right to control the distribution of derivative or\n" + "collective works based on the Library.\n" + "\n" + "In addition, mere aggregation of another work not based on the Library\n" + "with the Library (or with a work based on the Library) on a volume of\n" + "a storage or distribution medium does not bring the other work under\n" + "the scope of this License.\n" + "\n" + " 3. You may opt to apply the terms of the ordinary GNU General Public\n" + "License instead of this License to a given copy of the Library. To do\n" + "this, you must alter all the notices that refer to this License, so\n" + "that they refer to the ordinary GNU General Public License, version 2,\n" + "instead of to this License. (If a newer version than version 2 of the\n" + "ordinary GNU General Public License has appeared, then you can specify\n" + "that version instead if you wish.) Do not make any other change in\n" + "these notices.\n" + "\n" + " Once this change is made in a given copy, it is irreversible for\n" + "that copy, so the ordinary GNU General Public License applies to all\n" + "subsequent copies and derivative works made from that copy.\n" + "\n" + " This option is useful when you wish to copy part of the code of\n" + "the Library into a program that is not a library.\n" + "\n" + " 4. You may copy and distribute the Library (or a portion or\n" + "derivative of it, under Section 2) in object code or executable form\n" + "under the terms of Sections 1 and 2 above provided that you accompany\n" + "it with the complete corresponding machine-readable source code, which\n" + "must be distributed under the terms of Sections 1 and 2 above on a\n" + "medium customarily used for software interchange.\n" + "\n" + " If distribution of object code is made by offering access to copy\n" + "from a designated place, then offering equivalent access to copy the\n" + "source code from the same place satisfies the requirement to\n" + "distribute the source code, even though third parties are not\n" + "compelled to copy the source along with the object code.\n" + "\n" + " 5. A program that contains no derivative of any portion of the\n" + "Library, but is designed to work with the Library by being compiled or\n" + "linked with it, is called a \"work that uses the Library\". Such a\n" + "work, in isolation, is not a derivative work of the Library, and\n" + "therefore falls outside the scope of this License.\n" + "\n" + " However, linking a \"work that uses the Library\" with the Library\n" + "creates an executable that is a derivative of the Library (because it\n" + "contains portions of the Library), rather than a \"work that uses the\n" + "library\". The executable is therefore covered by this License.\n" + "Section 6 states terms for distribution of such executables.\n" + "\n" + " When a \"work that uses the Library\" uses material from a header file\n" + "that is part of the Library, the object code for the work may be a\n" + "derivative work of the Library even though the source code is not.\n" + "Whether this is true is especially significant if the work can be\n" + "linked without the Library, or if the work is itself a library. The\n" + "threshold for this to be true is not precisely defined by law.\n" + "\n" + " If such an object file uses only numerical parameters, data\n" + "structure layouts and accessors, and small macros and small inline\n" + "functions (ten lines or less in length), then the use of the object\n" + "file is unrestricted, regardless of whether it is legally a derivative\n" + "work. (Executables containing this object code plus portions of the\n" + "Library will still fall under Section 6.)\n" + "\n" + " Otherwise, if the work is a derivative of the Library, you may\n" + "distribute the object code for the work under the terms of Section 6.\n" + "Any executables containing that work also fall under Section 6,\n" + "whether or not they are linked directly with the Library itself.\n" + "\n" + " 6. As an exception to the Sections above, you may also compile or\n" + "link a \"work that uses the Library\" with the Library to produce a\n" + "work containing portions of the Library, and distribute that work\n" + "under terms of your choice, provided that the terms permit\n" + "modification of the work for the customer's own use and reverse\n" + "engineering for debugging such modifications.\n" + "\n" + " You must give prominent notice with each copy of the work that the\n" + "Library is used in it and that the Library and its use are covered by\n" + "this License. You must supply a copy of this License. If the work\n" + "during execution displays copyright notices, you must include the\n" + "copyright notice for the Library among them, as well as a reference\n" + "directing the user to the copy of this License. Also, you must do one\n" + "of these things:\n" + "\n" + " a) Accompany the work with the complete corresponding\n" + " machine-readable source code for the Library including whatever\n" + " changes were used in the work (which must be distributed under\n" + " Sections 1 and 2 above); and, if the work is an executable linked\n" + " with the Library, with the complete machine-readable \"work that\n" + " uses the Library\", as object code and/or source code, so that the\n" + " user can modify the Library and then relink to produce a modified\n" + " executable containing the modified Library. (It is understood\n" + " that the user who changes the contents of definitions files in the\n" + " Library will not necessarily be able to recompile the application\n" + " to use the modified definitions.)\n" + "\n" + " b) Accompany the work with a written offer, valid for at\n" + " least three years, to give the same user the materials\n" + " specified in Subsection 6a, above, for a charge no more\n" + " than the cost of performing this distribution.\n" + "\n" + " c) If distribution of the work is made by offering access to copy\n" + " from a designated place, offer equivalent access to copy the above\n" + " specified materials from the same place.\n" + "\n" + " d) Verify that the user has already received a copy of these\n" + " materials or that you have already sent this user a copy.\n" + "\n" + " For an executable, the required form of the \"work that uses the\n" + "Library\" must include any data and utility programs needed for\n" + "reproducing the executable from it. However, as a special exception,\n" + "the source code distributed need not include anything that is normally\n" + "distributed (in either source or binary form) with the major\n" + "components (compiler, kernel, and so on) of the operating system on\n" + "which the executable runs, unless that component itself accompanies\n" + "the executable.\n" + "\n" + " It may happen that this requirement contradicts the license\n" + "restrictions of other proprietary libraries that do not normally\n" + "accompany the operating system. Such a contradiction means you cannot\n" + "use both them and the Library together in an executable that you\n" + "distribute.\n" + "\n" + " 7. You may place library facilities that are a work based on the\n" + "Library side-by-side in a single library together with other library\n" + "facilities not covered by this License, and distribute such a combined\n" + "library, provided that the separate distribution of the work based on\n" + "the Library and of the other library facilities is otherwise\n" + "permitted, and provided that you do these two things:\n" + "\n" + " a) Accompany the combined library with a copy of the same work\n" + " based on the Library, uncombined with any other library\n" + " facilities. This must be distributed under the terms of the\n" + " Sections above.\n" + "\n" + " b) Give prominent notice with the combined library of the fact\n" + " that part of it is a work based on the Library, and explaining\n" + " where to find the accompanying uncombined form of the same work.\n" + "\n" + " 8. You may not copy, modify, sublicense, link with, or distribute\n" + "the Library except as expressly provided under this License. Any\n" + "attempt otherwise to copy, modify, sublicense, link with, or\n" + "distribute the Library is void, and will automatically terminate your\n" + "rights under this License. However, parties who have received copies,\n" + "or rights, from you under this License will not have their licenses\n" + "terminated so long as such parties remain in full compliance.\n" + "\n" + " 9. You are not required to accept this License, since you have not\n" + "signed it. However, nothing else grants you permission to modify or\n" + "distribute the Library or its derivative works. These actions are\n" + "prohibited by law if you do not accept this License. Therefore, by\n" + "modifying or distributing the Library (or any work based on the\n" + "Library), you indicate your acceptance of this License to do so, and\n" + "all its terms and conditions for copying, distributing or modifying\n" + "the Library or works based on it.\n" + "\n" + " 10. Each time you redistribute the Library (or any work based on the\n" + "Library), the recipient automatically receives a license from the\n" + "original licensor to copy, distribute, link with or modify the Library\n" + "subject to these terms and conditions. You may not impose any further\n" + "restrictions on the recipients' exercise of the rights granted herein.\n" + "You are not responsible for enforcing compliance by third parties to\n" + "this License.\n" + "\n" + " 11. If, as a consequence of a court judgment or allegation of patent\n" + "infringement or for any other reason (not limited to patent issues),\n" + "conditions are imposed on you (whether by court order, agreement or\n" + "otherwise) that contradict the conditions of this License, they do not\n" + "excuse you from the conditions of this License. If you cannot\n" + "distribute so as to satisfy simultaneously your obligations under this\n" + "License and any other pertinent obligations, then as a consequence you\n" + "may not distribute the Library at all. For example, if a patent\n" + "license would not permit royalty-free redistribution of the Library by\n" + "all those who receive copies directly or indirectly through you, then\n" + "the only way you could satisfy both it and this License would be to\n" + "refrain entirely from distribution of the Library.\n" + "\n" + "If any portion of this section is held invalid or unenforceable under any\n" + "particular circumstance, the balance of the section is intended to apply,\n" + "and the section as a whole is intended to apply in other circumstances.\n" + "\n" + "It is not the purpose of this section to induce you to infringe any\n" + "patents or other property right claims or to contest validity of any\n" + "such claims; this section has the sole purpose of protecting the\n" + "integrity of the free software distribution system which is\n" + "implemented by public license practices. Many people have made\n" + "generous contributions to the wide range of software distributed\n" + "through that system in reliance on consistent application of that\n" + "system; it is up to the author/donor to decide if he or she is willing\n" + "to distribute software through any other system and a licensee cannot\n" + "impose that choice.\n" + "\n" + "This section is intended to make thoroughly clear what is believed to\n" + "be a consequence of the rest of this License.\n" + "\n" + " 12. If the distribution and/or use of the Library is restricted in\n" + "certain countries either by patents or by copyrighted interfaces, the\n" + "original copyright holder who places the Library under this License may add\n" + "an explicit geographical distribution limitation excluding those countries,\n" + "so that distribution is permitted only in or among countries not thus\n" + "excluded. In such case, this License incorporates the limitation as if\n" + "written in the body of this License.\n" + "\n" + " 13. The Free Software Foundation may publish revised and/or new\n" + "versions of the Library General Public License from time to time.\n" + "Such new versions will be similar in spirit to the present version,\n" + "but may differ in detail to address new problems or concerns.\n" + "\n" + "Each version is given a distinguishing version number. If the Library\n" + "specifies a version number of this License which applies to it and\n" + "\"any later version\", you have the option of following the terms and\n" + "conditions either of that version or of any later version published by\n" + "the Free Software Foundation. If the Library does not specify a\n" + "license version number, you may choose any version ever published by\n" + "the Free Software Foundation.\n" + "\n" + " 14. If you wish to incorporate parts of the Library into other free\n" + "programs whose distribution conditions are incompatible with these,\n" + "write to the author to ask for permission. For software which is\n" + "copyrighted by the Free Software Foundation, write to the Free\n" + "Software Foundation; we sometimes make exceptions for this. Our\n" + "decision will be guided by the two goals of preserving the free status\n" + "of all derivatives of our free software and of promoting the sharing\n" + "and reuse of software generally.\n" + "\n" + " NO WARRANTY\n" + "\n" + " 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\n" + "WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\n" + "EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\n" + "OTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\n" + "KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\n" + "IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n" + "PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\n" + "LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\n" + "THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n" + "\n" + " 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\n" + "WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\n" + "AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\n" + "FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\n" + "CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\n" + "LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\n" + "RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\n" + "FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\n" + "SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\n" + "DAMAGES.\n" + "\n" + " END OF TERMS AND CONDITIONS\n" + "\n" + " How to Apply These Terms to Your New Libraries\n" + "\n" + " If you develop a new library, and you want it to be of the greatest\n" + "possible use to the public, we recommend making it free software that\n" + "everyone can redistribute and change. You can do so by permitting\n" + "redistribution under these terms (or, alternatively, under the terms of the\n" + "ordinary General Public License).\n" + "\n" + " To apply these terms, attach the following notices to the library. It is\n" + "safest to attach them to the start of each source file to most effectively\n" + "convey the exclusion of warranty; and each file should have at least the\n" + "\"copyright\" line and a pointer to where the full notice is found.\n" + "\n" + " <one line to give the library's name and a brief idea of what it does.>\n" + " Copyright (C) <year> <name of author>\n" + "\n" + " This library is free software; you can redistribute it and/or\n" + " modify it under the terms of the GNU Library General Public\n" + " License as published by the Free Software Foundation; either\n" + " version 2 of the License, or (at your option) any later version.\n" + "\n" + " This library is distributed in the hope that it will be useful,\n" + " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n" + " Library General Public License for more details.\n" + "\n" + " You should have received a copy of the GNU Library General Public\n" + " License along with this library; if not, write to the \n" + " Free Software Foundation, Inc., 59 Temple Place - Suite 330, \n" + " Boston, MA 02111-1307 USA.\n" + "\n" + "Also add information on how to contact you by electronic and paper mail.\n" + "\n" + "You should also get your employer (if you work as a programmer) or your\n" + "school, if any, to sign a \"copyright disclaimer\" for the library, if\n" + "necessary. Here is a sample; alter the names:\n" + "\n" + " Yoyodyne, Inc., hereby disclaims all copyright interest in the\n" + " library `Frob' (a library for tweaking knobs) written by James Random Hacker.\n" + "\n" + " <signature of Ty Coon>, 1 April 1990\n" + " Ty Coon, President of Vice\n" + "\n" + "That's all there is to it!\n" +; + diff --git a/libxfce4util/licenses-to-c.sh b/libxfce4util/licenses-to-c.sh new file mode 100755 index 0000000000000000000000000000000000000000..30fd192410aed4fdb4f113504c1d158683b70b98 --- /dev/null +++ b/libxfce4util/licenses-to-c.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +cat <<EOF +/* Auto generated file, do not edit */ + +/* Keep the license stuff in one section if possible */ +#if defined(__GNUC__) +#define SECTION __attribute__((section(".xfce.LICENSES"))) +#else +#define SECTION +#endif + +EOF + +for item in $@; do + name=`echo $item | awk 'BEGIN {FS=":"} {print $1}'` + file=`echo $item | awk 'BEGIN {FS=":"} {print $2}'` + + echo "const char _xfce_builtin_license_$name [] SECTION =" + sed -e 's/"/\\"/g' -e 's/^\(.*\)$/ "\1\\n"/' < $file + echo ";" + echo +done + +exit 0 diff --git a/libxfce4util/util.h b/libxfce4util/util.h index 039be07269c756399e697d9559fca5462be1bd1d..990163b116f60a2b4a248827c290fa7663266caf 100644 --- a/libxfce4util/util.h +++ b/libxfce4util/util.h @@ -37,6 +37,33 @@ #include <libxfce4util/debug.h> +/** + * @defgroup license Builtin license texts. + * @{ + */ + +#ifndef DOXYGEN_SHOULD_SKIP_THIS +/* This looks a bit "hacky", but its ok */ +#define _BUILTIN_LICENSE_TEXT(name) \ +({ \ + extern const char _xfce_builtin_license_##name[]; \ + _xfce_builtin_license_##name; \ +}) +#endif + +/** @brief Builtin BSD License text. */ +#define XFCE_LICENSE_BSD _BUILTIN_LICENSE_TEXT(BSD) + +/** @brief Builtin GNU General Public License text. */ +#define XFCE_LICENSE_GPL _BUILTIN_LICENSE_TEXT(GPL) + +/** @brief Builtin GNU Library General Public License text. */ +#define XFCE_LICENSE_LGPL _BUILTIN_LICENSE_TEXT(LGPL) + +/** @} */ +/* end license */ + + /** * @defgroup util Miscellaneous utility functions. * @{