glib2 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +26 -4
- data/ext/glib2/glib2.def +3 -1
- data/ext/glib2/rbgcompat.h +0 -15
- data/ext/glib2/rbglib.h +11 -3
- data/ext/glib2/rbglib_source.c +6 -1
- data/ext/glib2/rbgobj_boxed.c +65 -48
- data/ext/glib2/rbgobj_convert.c +29 -14
- data/ext/glib2/rbgobj_value.c +42 -0
- data/ext/glib2/rbgobject.c +7 -4
- data/ext/glib2/rbgobject.h +15 -9
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +6 -1
- data/lib/gnome2-win32-binary-build-task.rb +40 -10
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +1 -1
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-28.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +87 -93
- data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-2-2.dll +0 -0
- data/vendor/local/bin/libnettle-4-4.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/ocsptool.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffi.h +0 -0
- data/vendor/local/{lib/libffi-3.0.6/include → include}/ffitarget.h +0 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +1 -3
- data/vendor/local/include/glib-2.0/gio/gapplication.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -6
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -3
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -2
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +0 -6
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -3
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -5
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -4
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gmenu.h +0 -27
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +0 -19
- data/vendor/local/include/glib-2.0/gio/gresource.h +0 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +0 -4
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -13
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +1 -3
- data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -24
- data/vendor/local/include/glib-2.0/glib/gdir.h +8 -10
- data/vendor/local/include/glib-2.0/glib/genviron.h +8 -12
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +15 -20
- data/vendor/local/include/glib-2.0/glib/giochannel.h +4 -14
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -4
- data/vendor/local/include/glib-2.0/glib/gspawn.h +10 -46
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gunicode.h +5 -5
- data/vendor/local/include/glib-2.0/glib/gutils.h +14 -14
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -8
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +0 -24
- data/vendor/local/include/glib-2.0/glib/gwin32.h +7 -14
- data/vendor/local/include/glib-2.0/gmodule.h +7 -11
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -33
- data/vendor/local/include/glib-2.0/gobject/gobject.h +7 -7
- data/vendor/local/include/glib-2.0/gobject/gtype.h +7 -13
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/__init__.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.py +0 -2
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/codegen_main.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/config.py +1 -1
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/dbustypes.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.py +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyc +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/parser.pyo +0 -0
- data/vendor/local/{share/glib-2.0 → lib/gdbus-2.0}/codegen/utils.py +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/lib/gio-2.0.def +2 -41
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
- data/vendor/local/lib/glib-2.0.def +0 -2
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gobject-2.0.def +0 -4
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +4 -4
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +3 -3
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +3 -3
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +4 -4
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +3 -3
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3503.0-gdb.py → libglib-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3503.0-gdb.py → libgobject-2.0.so.0.3400.3-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +2 -2
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +17 -5
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1 -27
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +15 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +6 -47
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +37 -21
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +4 -16
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +32 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +2 -4
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +10 -6
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +17 -65
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +2 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +1 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -13
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +4 -12
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1 -137
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +2 -3
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -19
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +17 -9
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +1 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +12 -29
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +7 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +8 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -1
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +11 -64
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -15
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +4 -10
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -59
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -3
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +1 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +0 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +1 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +4 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +11 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +10 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +46 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +7 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +34 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +2 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +5 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +4 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +25 -32
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -12
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -22
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +5 -1
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +32 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +24 -51
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/index.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +4 -4
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -13
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +33 -197
- data/ext/glib2/rbgobj_fundamental.c +0 -43
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/dumpsexp.exe +0 -0
- data/vendor/local/bin/gpg-error.exe +0 -0
- data/vendor/local/bin/hmac256.exe +0 -0
- data/vendor/local/bin/libgcrypt-11.dll +0 -0
- data/vendor/local/bin/libgcrypt-config +0 -177
- data/vendor/local/bin/libgnutls-26.dll +0 -0
- data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
- data/vendor/local/bin/libgpg-error-0.dll +0 -0
- data/vendor/local/bin/libtasn1-3.dll +0 -0
- data/vendor/local/etc/bash_completion.d/gdbus-bash-completion.sh +0 -33
- data/vendor/local/etc/bash_completion.d/gsettings-bash-completion.sh +0 -67
- data/vendor/local/gnutls.README.txt +0 -6
- data/vendor/local/include/gcrypt-module.h +0 -226
- data/vendor/local/include/gcrypt.h +0 -1826
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +0 -83
- data/vendor/local/include/glib-2.0/gio/gtask.h +0 -160
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/gnutls/extra.h +0 -137
- data/vendor/local/include/gpg-error.h +0 -651
- data/vendor/local/include/libtasn1.h +0 -246
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgcrypt.def +0 -237
- data/vendor/local/lib/libgcrypt.dll.a +0 -0
- data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
- data/vendor/local/lib/libgpg-error.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/manifest/glib-dev_2.28.8-1_win32.mft +0 -619
- data/vendor/local/manifest/glib_2.28.8-1_win32.mft +0 -103
- data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +0 -593
- data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +0 -8
- data/vendor/local/share/aclocal/gpg-error.m4 +0 -65
- data/vendor/local/share/aclocal/libgcrypt.m4 +0 -108
- data/vendor/local/share/aclocal/libgnutls-extra.m4 +0 -161
- data/vendor/local/share/aclocal/libgnutls.m4 +0 -160
- data/vendor/local/share/aclocal/libtasn1.m4 +0 -160
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +0 -417
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +0 -64
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +0 -36
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +0 -236
- data/vendor/local/share/doc/glib-2.28.8/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.28.8/COPYING +0 -482
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +0 -879
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +0 -2296
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch28s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch28s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch28s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +0 -279
- data/vendor/local/share/gtk-doc/html/gio/ch28s07.html +0 -160
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +0 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1956
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -137
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -679
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2218
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -766
- data/vendor/local/share/info/gcrypt.info +0 -6243
- data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
- data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
- data/vendor/local/share/info/gnutls-objects.png +0 -0
- data/vendor/local/share/info/libtasn1.info +0 -2993
- data/vendor/local/share/man/man1/asn1Coding.1 +0 -46
- data/vendor/local/share/man/man1/asn1Decoding.1 +0 -41
- data/vendor/local/share/man/man1/asn1Parser.1 +0 -49
- data/vendor/local/share/man/man3/asn1_array2tree.3 +0 -47
- data/vendor/local/share/man/man3/asn1_bit_der.3 +0 -39
- data/vendor/local/share/man/man3/asn1_check_version.3 +0 -39
- data/vendor/local/share/man/man3/asn1_copy_node.3 +0 -39
- data/vendor/local/share/man/man3/asn1_create_element.3 +0 -45
- data/vendor/local/share/man/man3/asn1_delete_element.3 +0 -39
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +0 -37
- data/vendor/local/share/man/man3/asn1_der_coding.3 +0 -52
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +0 -50
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +0 -54
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +0 -58
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +0 -45
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +0 -51
- data/vendor/local/share/man/man3/asn1_find_node.3 +0 -38
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +0 -37
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +0 -38
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +0 -43
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +0 -41
- data/vendor/local/share/man/man3/asn1_length_der.3 +0 -36
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +0 -43
- data/vendor/local/share/man/man3/asn1_octet_der.3 +0 -37
- data/vendor/local/share/man/man3/asn1_parser2array.3 +0 -58
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +0 -55
- data/vendor/local/share/man/man3/asn1_print_structure.3 +0 -40
- data/vendor/local/share/man/man3/asn1_read_tag.3 +0 -46
- data/vendor/local/share/man/man3/asn1_read_value.3 +0 -92
- data/vendor/local/share/man/man3/asn1_write_value.3 +0 -136
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +0 -58
- data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_free.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +0 -38
- data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_ia_enable.3 +0 -53
- data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +0 -34
- data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_ia_recv.3 +0 -57
- data/vendor/local/share/man/man3/gnutls_ia_send.3 +0 -56
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +0 -61
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +0 -68
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +0 -36
- data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +0 -45
- data/vendor/local/share/man/man3/gnutls_malloc.3 +0 -37
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +0 -42
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +0 -49
- data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +0 -44
- data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +0 -43
- data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +0 -35
- data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +0 -47
- data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +0 -40
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +0 -43
- data/vendor/local/share/man/man3/libtasn1_perror.3 +0 -32
- data/vendor/local/share/man/man3/libtasn1_strerror.3 +0 -35
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.log +0 -2919
- data/vendor/local/src/dieterv/packaging/glib_2.28.8-1_win32.sh +0 -157
@@ -1,64 +0,0 @@
|
|
1
|
-
;;;; libgpg-error-package.lisp
|
2
|
-
|
3
|
-
;;; Copyright (C) 2006 g10 Code GmbH
|
4
|
-
;;;
|
5
|
-
;;; This file is part of libgpg-error.
|
6
|
-
;;;
|
7
|
-
;;; libgpg-error is free software; you can redistribute it and/or
|
8
|
-
;;; modify it under the terms of the GNU Lesser General Public License
|
9
|
-
;;; as published by the Free Software Foundation; either version 2.1 of
|
10
|
-
;;; the License, or (at your option) any later version.
|
11
|
-
;;;
|
12
|
-
;;; libgpg-error is distributed in the hope that it will be useful, but
|
13
|
-
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
-
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
-
;;; Lesser General Public License for more details.
|
16
|
-
;;;
|
17
|
-
;;; You should have received a copy of the GNU Lesser General Public
|
18
|
-
;;; License along with libgpg-error; if not, write to the Free
|
19
|
-
;;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
20
|
-
;;; 02111-1307, USA.
|
21
|
-
|
22
|
-
;;; Conventions
|
23
|
-
;;;
|
24
|
-
;;; Error sources and codes are represented as keywords like
|
25
|
-
;;; :gpg-err-source-gpg and :gpg-err-unknown-packet.
|
26
|
-
;;;
|
27
|
-
;;; Errors are represented as lists '(SOURCE CODE). Other
|
28
|
-
;;; representations are also accepted in some places.
|
29
|
-
;;;
|
30
|
-
;;; The following functions are defined which are not defined in the C API:
|
31
|
-
;;; gpg-err-source-as-key, gpg-err-source-as-value
|
32
|
-
;;; gpg-err-code-as-key, gpg-err-code-as-value
|
33
|
-
;;; gpg-err-canonicalize, gpg-err-as-value
|
34
|
-
;;; Conversion between keywords and values for error sources and codes.
|
35
|
-
;;;
|
36
|
-
;;; The following functions from the C API are omitted:
|
37
|
-
;;; gpg-strerror-r
|
38
|
-
;;;
|
39
|
-
;;; The following features work slightly differently:
|
40
|
-
;;; *gpg-err-source-default* is a dynamic variable that can be set to
|
41
|
-
;;; change the default for gpg-error.
|
42
|
-
|
43
|
-
(defpackage #:gpg-error
|
44
|
-
(:use #:common-lisp #:cffi)
|
45
|
-
|
46
|
-
(:export :gpg-err-code-as-key
|
47
|
-
:gpg-err-code-as-value
|
48
|
-
:gpg-err-source-as-key
|
49
|
-
:gpg-err-source-as-value
|
50
|
-
:gpg-err-canonicalize
|
51
|
-
:gpg-err-as-value
|
52
|
-
:gpg-err-make
|
53
|
-
:*gpg-err-source-default*
|
54
|
-
:gpg-error
|
55
|
-
:gpg-err-code
|
56
|
-
:gpg-err-source
|
57
|
-
:gpg-strerror
|
58
|
-
:gpg-strsource
|
59
|
-
:gpg-err-code-from-errno
|
60
|
-
:gpg-err-code-to-errno
|
61
|
-
:gpg-err-code-from-syserror
|
62
|
-
:gpg-err-make-from-errno
|
63
|
-
:gpg-error-from-errno
|
64
|
-
:gpg-error-from-syserror))
|
@@ -1,36 +0,0 @@
|
|
1
|
-
;;; -*- Mode: lisp -*-
|
2
|
-
|
3
|
-
;;; Copyright (C) 2006 g10 Code GmbH
|
4
|
-
;;;
|
5
|
-
;;; This file is part of libgpg-error.
|
6
|
-
;;;
|
7
|
-
;;; libgpg-error is free software; you can redistribute it and/or
|
8
|
-
;;; modify it under the terms of the GNU Lesser General Public License
|
9
|
-
;;; as published by the Free Software Foundation; either version 2.1 of
|
10
|
-
;;; the License, or (at your option) any later version.
|
11
|
-
;;;
|
12
|
-
;;; libgpg-error is distributed in the hope that it will be useful, but
|
13
|
-
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
-
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
-
;;; Lesser General Public License for more details.
|
16
|
-
;;;
|
17
|
-
;;; You should have received a copy of the GNU Lesser General Public
|
18
|
-
;;; License along with libgpg-error; if not, write to the Free
|
19
|
-
;;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
20
|
-
;;; 02111-1307, USA.
|
21
|
-
|
22
|
-
(defpackage #:gpg-error-system
|
23
|
-
(:use #:common-lisp #:asdf))
|
24
|
-
|
25
|
-
(in-package #:gpg-error-system)
|
26
|
-
|
27
|
-
(defsystem gpg-error
|
28
|
-
:description "Common error values for all GnuPG components."
|
29
|
-
:author "g10 Code GmbH"
|
30
|
-
:version "1.6"
|
31
|
-
:licence "LGPL"
|
32
|
-
:depends-on ("cffi")
|
33
|
-
:components ((:file "gpg-error-package")
|
34
|
-
(:file "gpg-error-codes"
|
35
|
-
:depends-on ("gpg-error-package"))
|
36
|
-
(:file "gpg-error" :depends-on ("gpg-error-codes"))))
|
@@ -1,236 +0,0 @@
|
|
1
|
-
;;;; libgpg-error.lisp
|
2
|
-
|
3
|
-
;;; Copyright (C) 2006 g10 Code GmbH
|
4
|
-
;;;
|
5
|
-
;;; This file is part of libgpg-error.
|
6
|
-
;;;
|
7
|
-
;;; libgpg-error is free software; you can redistribute it and/or
|
8
|
-
;;; modify it under the terms of the GNU Lesser General Public License
|
9
|
-
;;; as published by the Free Software Foundation; either version 2.1 of
|
10
|
-
;;; the License, or (at your option) any later version.
|
11
|
-
;;;
|
12
|
-
;;; libgpg-error is distributed in the hope that it will be useful, but
|
13
|
-
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
-
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
-
;;; Lesser General Public License for more details.
|
16
|
-
;;;
|
17
|
-
;;; You should have received a copy of the GNU Lesser General Public
|
18
|
-
;;; License along with libgpg-error; if not, write to the Free
|
19
|
-
;;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
20
|
-
;;; 02111-1307, USA.
|
21
|
-
|
22
|
-
;;; Set up the library.
|
23
|
-
|
24
|
-
(in-package :gpg-error)
|
25
|
-
|
26
|
-
(define-foreign-library libgpg-error
|
27
|
-
(:unix "libgpg-error.so")
|
28
|
-
(t (:default "libgpg-error")))
|
29
|
-
|
30
|
-
(use-foreign-library libgpg-error)
|
31
|
-
|
32
|
-
;;; System dependencies.
|
33
|
-
|
34
|
-
(defctype size-t :unsigned-int
|
35
|
-
:documentation "The system size_t type.")
|
36
|
-
|
37
|
-
;;; Error sources.
|
38
|
-
|
39
|
-
(defcenum gpg-err-source-t
|
40
|
-
"The GPG error source type."
|
41
|
-
(:gpg-err-source-unknown 0)
|
42
|
-
(:gpg-err-source-gcrypt 1)
|
43
|
-
(:gpg-err-source-gpg 2)
|
44
|
-
(:gpg-err-source-gpgsm 3)
|
45
|
-
(:gpg-err-source-gpgagent 4)
|
46
|
-
(:gpg-err-source-pinentry 5)
|
47
|
-
(:gpg-err-source-scd 6)
|
48
|
-
(:gpg-err-source-gpgme 7)
|
49
|
-
(:gpg-err-source-keybox 8)
|
50
|
-
(:gpg-err-source-ksba 9)
|
51
|
-
(:gpg-err-source-dirmngr 10)
|
52
|
-
(:gpg-err-source-gsti 11)
|
53
|
-
(:gpg-err-source-any 31)
|
54
|
-
(:gpg-err-source-user-1 32)
|
55
|
-
(:gpg-err-source-user-2 33)
|
56
|
-
(:gpg-err-source-user-3 34)
|
57
|
-
(:gpg-err-source-user-4 35))
|
58
|
-
|
59
|
-
(defconstant +gpg-err-source-dim+ 256)
|
60
|
-
|
61
|
-
;;; The error code type gpg-err-code-t.
|
62
|
-
|
63
|
-
;;; libgpg-error-codes.lisp is loaded by ASDF.
|
64
|
-
|
65
|
-
(defctype gpg-error-t :unsigned-int
|
66
|
-
:documentation "The GPG error code type.")
|
67
|
-
|
68
|
-
;;; Bit mask manipulation constants.
|
69
|
-
|
70
|
-
(defconstant +gpg-err-code-mask+ (- +gpg-err-code-dim+ 1))
|
71
|
-
|
72
|
-
(defconstant +gpg-err-source-mask+ (- +gpg-err-source-dim+ 1))
|
73
|
-
(defconstant +gpg-err-source-shift+ 24)
|
74
|
-
|
75
|
-
;;; Constructor and accessor functions.
|
76
|
-
|
77
|
-
;;; If we had in-library versions of our static inlines, we wouldn't
|
78
|
-
;;; need to replicate them here. Oh well.
|
79
|
-
|
80
|
-
(defun c-gpg-err-make (source code)
|
81
|
-
"Construct an error value from an error code and source.
|
82
|
-
Within a subsystem, use gpg-error instead."
|
83
|
-
(logior
|
84
|
-
(ash (logand source +gpg-err-source-mask+)
|
85
|
-
+gpg-err-source-shift+)
|
86
|
-
(logand code +gpg-err-code-mask+)))
|
87
|
-
|
88
|
-
(defun c-gpg-err-code (err)
|
89
|
-
"retrieve the error code from an error value."
|
90
|
-
(logand err +gpg-err-code-mask+))
|
91
|
-
|
92
|
-
(defun c-gpg-err-source (err)
|
93
|
-
"retrieve the error source from an error value."
|
94
|
-
(logand (ash err (- +gpg-err-source-shift+))
|
95
|
-
+gpg-err-source-mask+))
|
96
|
-
|
97
|
-
;;; String functions.
|
98
|
-
|
99
|
-
(defcfun ("gpg_strerror" c-gpg-strerror) :string
|
100
|
-
(err gpg-error-t))
|
101
|
-
|
102
|
-
(defcfun ("gpg_strsource" c-gpg-strsource) :string
|
103
|
-
(err gpg-error-t))
|
104
|
-
|
105
|
-
;;; Mapping of system errors (errno).
|
106
|
-
|
107
|
-
(defcfun ("gpg_err_code_from_errno" c-gpg-err-code-from-errno) gpg-err-code-t
|
108
|
-
(err :int))
|
109
|
-
|
110
|
-
(defcfun ("gpg_err_code_to_errno" c-gpg-err-code-to-errno) :int
|
111
|
-
(code gpg-err-code-t))
|
112
|
-
|
113
|
-
(defcfun ("gpg_err_code_from_syserror"
|
114
|
-
c-gpg-err-code-from-syserror) gpg-err-code-t
|
115
|
-
(void))
|
116
|
-
|
117
|
-
;;; Self-documenting convenience functions.
|
118
|
-
|
119
|
-
;;; See below.
|
120
|
-
|
121
|
-
;;;
|
122
|
-
;;;
|
123
|
-
;;; Lispy interface.
|
124
|
-
;;;
|
125
|
-
;;;
|
126
|
-
|
127
|
-
;;; Low-level support functions.
|
128
|
-
|
129
|
-
(defun gpg-err-code-as-value (code-key)
|
130
|
-
(foreign-enum-value 'gpg-err-code-t code-key))
|
131
|
-
|
132
|
-
(defun gpg-err-code-as-key (code)
|
133
|
-
(foreign-enum-keyword 'gpg-err-code-t code))
|
134
|
-
|
135
|
-
(defun gpg-err-source-as-value (source-key)
|
136
|
-
(foreign-enum-value 'gpg-err-source-t source-key))
|
137
|
-
|
138
|
-
(defun gpg-err-source-as-key (source)
|
139
|
-
(foreign-enum-keyword 'gpg-err-source-t source))
|
140
|
-
|
141
|
-
(defun gpg-err-canonicalize (err)
|
142
|
-
"Canonicalize the error value err."
|
143
|
-
(gpg-err-make (gpg-err-source err) (gpg-err-code err)))
|
144
|
-
|
145
|
-
(defun gpg-err-as-value (err)
|
146
|
-
"Get the integer representation of the error value ERR."
|
147
|
-
(let ((error (gpg-err-canonicalize err)))
|
148
|
-
(c-gpg-err-make (gpg-err-source-as-value (gpg-err-source error))
|
149
|
-
(gpg-err-code-as-value (gpg-err-code error)))))
|
150
|
-
|
151
|
-
;;; Constructor and accessor functions.
|
152
|
-
|
153
|
-
(defun gpg-err-make (source code)
|
154
|
-
"Construct an error value from an error code and source.
|
155
|
-
Within a subsystem, use gpg-error instead."
|
156
|
-
;; As an exception to the rule, the function gpg-err-make will use
|
157
|
-
;; the error source value as is when provided as integer, instead of
|
158
|
-
;; parsing it as an error value.
|
159
|
-
(list (if (integerp source)
|
160
|
-
(gpg-err-source-as-key source)
|
161
|
-
(gpg-err-source source))
|
162
|
-
(gpg-err-code code)))
|
163
|
-
|
164
|
-
(defvar *gpg-err-source-default* :gpg-err-source-unknown
|
165
|
-
"define this to specify a default source for gpg-error.")
|
166
|
-
|
167
|
-
(defun gpg-error (code)
|
168
|
-
"Construct an error value from an error code, using the default source."
|
169
|
-
(gpg-err-make *gpg-err-source-default* code))
|
170
|
-
|
171
|
-
(defun gpg-err-code (err)
|
172
|
-
"Retrieve an error code from the error value ERR."
|
173
|
-
(cond ((listp err) (second err))
|
174
|
-
((keywordp err) err) ; FIXME
|
175
|
-
(t (gpg-err-code-as-key (c-gpg-err-code err)))))
|
176
|
-
|
177
|
-
(defun gpg-err-source (err)
|
178
|
-
"Retrieve an error source from the error value ERR."
|
179
|
-
(cond ((listp err) (first err))
|
180
|
-
((keywordp err) err) ; FIXME
|
181
|
-
(t (gpg-err-source-as-key (c-gpg-err-source err)))))
|
182
|
-
|
183
|
-
;;; String functions.
|
184
|
-
|
185
|
-
(defun gpg-strerror (err)
|
186
|
-
"Return a string containig a description of the error code."
|
187
|
-
(c-gpg-strerror (gpg-err-as-value err)))
|
188
|
-
|
189
|
-
;;; FIXME: maybe we should use this as the actual implementation for
|
190
|
-
;;; gpg-strerror.
|
191
|
-
|
192
|
-
;; (defcfun ("gpg_strerror_r" c-gpg-strerror-r) :int
|
193
|
-
;; (err gpg-error-t)
|
194
|
-
;; (buf :string)
|
195
|
-
;; (buflen size-t))
|
196
|
-
|
197
|
-
;; (defun gpg-strerror-r (err)
|
198
|
-
;; "Return a string containig a description of the error code."
|
199
|
-
;; (with-foreign-pointer-as-string (errmsg 256 errmsg-size)
|
200
|
-
;; (c-gpg-strerror-r (gpg-err-code-as-value (gpg-err-code err))
|
201
|
-
;; errmsg errmsg-size)))
|
202
|
-
|
203
|
-
(defun gpg-strsource (err)
|
204
|
-
"Return a string containig a description of the error source."
|
205
|
-
(c-gpg-strsource (gpg-err-as-value err)))
|
206
|
-
|
207
|
-
;;; Mapping of system errors (errno).
|
208
|
-
|
209
|
-
(defun gpg-err-code-from-errno (err)
|
210
|
-
"Retrieve the error code for the system error. If the system error
|
211
|
-
is not mapped, :gpg-err-unknown-errno is returned."
|
212
|
-
(gpg-err-code-as-key (c-gpg-err-code-from-errno err)))
|
213
|
-
|
214
|
-
(defun gpg-err-code-to-errno (code)
|
215
|
-
"Retrieve the system error for the error code. If this is not a
|
216
|
-
system error, 0 is returned."
|
217
|
-
(c-gpg-err-code-to-errno (gpg-err-code code)))
|
218
|
-
|
219
|
-
(defun gpg-err-code-from-syserror ()
|
220
|
-
"Retrieve the error code directly from the system ERRNO. If the system error
|
221
|
-
is not mapped, :gpg-err-unknown-errno is returned and
|
222
|
-
:gpg-err-missing-errno if ERRNO has the value 0."
|
223
|
-
(gpg-err-code-as-key (c-gpg-err-code-from-syserror)))
|
224
|
-
|
225
|
-
|
226
|
-
;;; Self-documenting convenience functions.
|
227
|
-
|
228
|
-
(defun gpg-err-make-from-errno (source err)
|
229
|
-
(gpg-err-make source (gpg-err-code-from-errno err)))
|
230
|
-
|
231
|
-
(defun gpg-error-from-errno (err)
|
232
|
-
(gpg-error (gpg-err-code-from-errno err)))
|
233
|
-
|
234
|
-
(defun gpg-error-from-syserror ()
|
235
|
-
(gpg-error (gpg-err-code-from-syserror)))
|
236
|
-
|
@@ -1,482 +0,0 @@
|
|
1
|
-
GNU LIBRARY GENERAL PUBLIC LICENSE
|
2
|
-
Version 2, June 1991
|
3
|
-
|
4
|
-
Copyright (C) 1991 Free Software Foundation, Inc.
|
5
|
-
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
6
|
-
Everyone is permitted to copy and distribute verbatim copies
|
7
|
-
of this license document, but changing it is not allowed.
|
8
|
-
|
9
|
-
[This is the first released version of the library GPL. It is
|
10
|
-
numbered 2 because it goes with version 2 of the ordinary GPL.]
|
11
|
-
|
12
|
-
Preamble
|
13
|
-
|
14
|
-
The licenses for most software are designed to take away your
|
15
|
-
freedom to share and change it. By contrast, the GNU General Public
|
16
|
-
Licenses are intended to guarantee your freedom to share and change
|
17
|
-
free software--to make sure the software is free for all its users.
|
18
|
-
|
19
|
-
This license, the Library General Public License, applies to some
|
20
|
-
specially designated Free Software Foundation software, and to any
|
21
|
-
other libraries whose authors decide to use it. You can use it for
|
22
|
-
your libraries, too.
|
23
|
-
|
24
|
-
When we speak of free software, we are referring to freedom, not
|
25
|
-
price. Our General Public Licenses are designed to make sure that you
|
26
|
-
have the freedom to distribute copies of free software (and charge for
|
27
|
-
this service if you wish), that you receive source code or can get it
|
28
|
-
if you want it, that you can change the software or use pieces of it
|
29
|
-
in new free programs; and that you know you can do these things.
|
30
|
-
|
31
|
-
To protect your rights, we need to make restrictions that forbid
|
32
|
-
anyone to deny you these rights or to ask you to surrender the rights.
|
33
|
-
These restrictions translate to certain responsibilities for you if
|
34
|
-
you distribute copies of the library, or if you modify it.
|
35
|
-
|
36
|
-
For example, if you distribute copies of the library, whether gratis
|
37
|
-
or for a fee, you must give the recipients all the rights that we gave
|
38
|
-
you. You must make sure that they, too, receive or can get the source
|
39
|
-
code. If you link a program with the library, you must provide
|
40
|
-
complete object files to the recipients so that they can relink them
|
41
|
-
with the library, after making changes to the library and recompiling
|
42
|
-
it. And you must show them these terms so they know their rights.
|
43
|
-
|
44
|
-
Our method of protecting your rights has two steps: (1) copyright
|
45
|
-
the library, and (2) offer you this license which gives you legal
|
46
|
-
permission to copy, distribute and/or modify the library.
|
47
|
-
|
48
|
-
Also, for each distributor's protection, we want to make certain
|
49
|
-
that everyone understands that there is no warranty for this free
|
50
|
-
library. If the library is modified by someone else and passed on, we
|
51
|
-
want its recipients to know that what they have is not the original
|
52
|
-
version, so that any problems introduced by others will not reflect on
|
53
|
-
the original authors' reputations.
|
54
|
-
|
55
|
-
Finally, any free program is threatened constantly by software
|
56
|
-
patents. We wish to avoid the danger that companies distributing free
|
57
|
-
software will individually obtain patent licenses, thus in effect
|
58
|
-
transforming the program into proprietary software. To prevent this,
|
59
|
-
we have made it clear that any patent must be licensed for everyone's
|
60
|
-
free use or not licensed at all.
|
61
|
-
|
62
|
-
Most GNU software, including some libraries, is covered by the ordinary
|
63
|
-
GNU General Public License, which was designed for utility programs. This
|
64
|
-
license, the GNU Library General Public License, applies to certain
|
65
|
-
designated libraries. This license is quite different from the ordinary
|
66
|
-
one; be sure to read it in full, and don't assume that anything in it is
|
67
|
-
the same as in the ordinary license.
|
68
|
-
|
69
|
-
The reason we have a separate public license for some libraries is that
|
70
|
-
they blur the distinction we usually make between modifying or adding to a
|
71
|
-
program and simply using it. Linking a program with a library, without
|
72
|
-
changing the library, is in some sense simply using the library, and is
|
73
|
-
analogous to running a utility program or application program. However, in
|
74
|
-
a textual and legal sense, the linked executable is a combined work, a
|
75
|
-
derivative of the original library, and the ordinary General Public License
|
76
|
-
treats it as such.
|
77
|
-
|
78
|
-
Because of this blurred distinction, using the ordinary General
|
79
|
-
Public License for libraries did not effectively promote software
|
80
|
-
sharing, because most developers did not use the libraries. We
|
81
|
-
concluded that weaker conditions might promote sharing better.
|
82
|
-
|
83
|
-
However, unrestricted linking of non-free programs would deprive the
|
84
|
-
users of those programs of all benefit from the free status of the
|
85
|
-
libraries themselves. This Library General Public License is intended to
|
86
|
-
permit developers of non-free programs to use free libraries, while
|
87
|
-
preserving your freedom as a user of such programs to change the free
|
88
|
-
libraries that are incorporated in them. (We have not seen how to achieve
|
89
|
-
this as regards changes in header files, but we have achieved it as regards
|
90
|
-
changes in the actual functions of the Library.) The hope is that this
|
91
|
-
will lead to faster development of free libraries.
|
92
|
-
|
93
|
-
The precise terms and conditions for copying, distribution and
|
94
|
-
modification follow. Pay close attention to the difference between a
|
95
|
-
"work based on the library" and a "work that uses the library". The
|
96
|
-
former contains code derived from the library, while the latter only
|
97
|
-
works together with the library.
|
98
|
-
|
99
|
-
Note that it is possible for a library to be covered by the ordinary
|
100
|
-
General Public License rather than by this special one.
|
101
|
-
|
102
|
-
GNU LIBRARY GENERAL PUBLIC LICENSE
|
103
|
-
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
104
|
-
|
105
|
-
0. This License Agreement applies to any software library which
|
106
|
-
contains a notice placed by the copyright holder or other authorized
|
107
|
-
party saying it may be distributed under the terms of this Library
|
108
|
-
General Public License (also called "this License"). Each licensee is
|
109
|
-
addressed as "you".
|
110
|
-
|
111
|
-
A "library" means a collection of software functions and/or data
|
112
|
-
prepared so as to be conveniently linked with application programs
|
113
|
-
(which use some of those functions and data) to form executables.
|
114
|
-
|
115
|
-
The "Library", below, refers to any such software library or work
|
116
|
-
which has been distributed under these terms. A "work based on the
|
117
|
-
Library" means either the Library or any derivative work under
|
118
|
-
copyright law: that is to say, a work containing the Library or a
|
119
|
-
portion of it, either verbatim or with modifications and/or translated
|
120
|
-
straightforwardly into another language. (Hereinafter, translation is
|
121
|
-
included without limitation in the term "modification".)
|
122
|
-
|
123
|
-
"Source code" for a work means the preferred form of the work for
|
124
|
-
making modifications to it. For a library, complete source code means
|
125
|
-
all the source code for all modules it contains, plus any associated
|
126
|
-
interface definition files, plus the scripts used to control compilation
|
127
|
-
and installation of the library.
|
128
|
-
|
129
|
-
Activities other than copying, distribution and modification are not
|
130
|
-
covered by this License; they are outside its scope. The act of
|
131
|
-
running a program using the Library is not restricted, and output from
|
132
|
-
such a program is covered only if its contents constitute a work based
|
133
|
-
on the Library (independent of the use of the Library in a tool for
|
134
|
-
writing it). Whether that is true depends on what the Library does
|
135
|
-
and what the program that uses the Library does.
|
136
|
-
|
137
|
-
1. You may copy and distribute verbatim copies of the Library's
|
138
|
-
complete source code as you receive it, in any medium, provided that
|
139
|
-
you conspicuously and appropriately publish on each copy an
|
140
|
-
appropriate copyright notice and disclaimer of warranty; keep intact
|
141
|
-
all the notices that refer to this License and to the absence of any
|
142
|
-
warranty; and distribute a copy of this License along with the
|
143
|
-
Library.
|
144
|
-
|
145
|
-
You may charge a fee for the physical act of transferring a copy,
|
146
|
-
and you may at your option offer warranty protection in exchange for a
|
147
|
-
fee.
|
148
|
-
|
149
|
-
2. You may modify your copy or copies of the Library or any portion
|
150
|
-
of it, thus forming a work based on the Library, and copy and
|
151
|
-
distribute such modifications or work under the terms of Section 1
|
152
|
-
above, provided that you also meet all of these conditions:
|
153
|
-
|
154
|
-
a) The modified work must itself be a software library.
|
155
|
-
|
156
|
-
b) You must cause the files modified to carry prominent notices
|
157
|
-
stating that you changed the files and the date of any change.
|
158
|
-
|
159
|
-
c) You must cause the whole of the work to be licensed at no
|
160
|
-
charge to all third parties under the terms of this License.
|
161
|
-
|
162
|
-
d) If a facility in the modified Library refers to a function or a
|
163
|
-
table of data to be supplied by an application program that uses
|
164
|
-
the facility, other than as an argument passed when the facility
|
165
|
-
is invoked, then you must make a good faith effort to ensure that,
|
166
|
-
in the event an application does not supply such function or
|
167
|
-
table, the facility still operates, and performs whatever part of
|
168
|
-
its purpose remains meaningful.
|
169
|
-
|
170
|
-
(For example, a function in a library to compute square roots has
|
171
|
-
a purpose that is entirely well-defined independent of the
|
172
|
-
application. Therefore, Subsection 2d requires that any
|
173
|
-
application-supplied function or table used by this function must
|
174
|
-
be optional: if the application does not supply it, the square
|
175
|
-
root function must still compute square roots.)
|
176
|
-
|
177
|
-
These requirements apply to the modified work as a whole. If
|
178
|
-
identifiable sections of that work are not derived from the Library,
|
179
|
-
and can be reasonably considered independent and separate works in
|
180
|
-
themselves, then this License, and its terms, do not apply to those
|
181
|
-
sections when you distribute them as separate works. But when you
|
182
|
-
distribute the same sections as part of a whole which is a work based
|
183
|
-
on the Library, the distribution of the whole must be on the terms of
|
184
|
-
this License, whose permissions for other licensees extend to the
|
185
|
-
entire whole, and thus to each and every part regardless of who wrote
|
186
|
-
it.
|
187
|
-
|
188
|
-
Thus, it is not the intent of this section to claim rights or contest
|
189
|
-
your rights to work written entirely by you; rather, the intent is to
|
190
|
-
exercise the right to control the distribution of derivative or
|
191
|
-
collective works based on the Library.
|
192
|
-
|
193
|
-
In addition, mere aggregation of another work not based on the Library
|
194
|
-
with the Library (or with a work based on the Library) on a volume of
|
195
|
-
a storage or distribution medium does not bring the other work under
|
196
|
-
the scope of this License.
|
197
|
-
|
198
|
-
3. You may opt to apply the terms of the ordinary GNU General Public
|
199
|
-
License instead of this License to a given copy of the Library. To do
|
200
|
-
this, you must alter all the notices that refer to this License, so
|
201
|
-
that they refer to the ordinary GNU General Public License, version 2,
|
202
|
-
instead of to this License. (If a newer version than version 2 of the
|
203
|
-
ordinary GNU General Public License has appeared, then you can specify
|
204
|
-
that version instead if you wish.) Do not make any other change in
|
205
|
-
these notices.
|
206
|
-
|
207
|
-
Once this change is made in a given copy, it is irreversible for
|
208
|
-
that copy, so the ordinary GNU General Public License applies to all
|
209
|
-
subsequent copies and derivative works made from that copy.
|
210
|
-
|
211
|
-
This option is useful when you wish to copy part of the code of
|
212
|
-
the Library into a program that is not a library.
|
213
|
-
|
214
|
-
4. You may copy and distribute the Library (or a portion or
|
215
|
-
derivative of it, under Section 2) in object code or executable form
|
216
|
-
under the terms of Sections 1 and 2 above provided that you accompany
|
217
|
-
it with the complete corresponding machine-readable source code, which
|
218
|
-
must be distributed under the terms of Sections 1 and 2 above on a
|
219
|
-
medium customarily used for software interchange.
|
220
|
-
|
221
|
-
If distribution of object code is made by offering access to copy
|
222
|
-
from a designated place, then offering equivalent access to copy the
|
223
|
-
source code from the same place satisfies the requirement to
|
224
|
-
distribute the source code, even though third parties are not
|
225
|
-
compelled to copy the source along with the object code.
|
226
|
-
|
227
|
-
5. A program that contains no derivative of any portion of the
|
228
|
-
Library, but is designed to work with the Library by being compiled or
|
229
|
-
linked with it, is called a "work that uses the Library". Such a
|
230
|
-
work, in isolation, is not a derivative work of the Library, and
|
231
|
-
therefore falls outside the scope of this License.
|
232
|
-
|
233
|
-
However, linking a "work that uses the Library" with the Library
|
234
|
-
creates an executable that is a derivative of the Library (because it
|
235
|
-
contains portions of the Library), rather than a "work that uses the
|
236
|
-
library". The executable is therefore covered by this License.
|
237
|
-
Section 6 states terms for distribution of such executables.
|
238
|
-
|
239
|
-
When a "work that uses the Library" uses material from a header file
|
240
|
-
that is part of the Library, the object code for the work may be a
|
241
|
-
derivative work of the Library even though the source code is not.
|
242
|
-
Whether this is true is especially significant if the work can be
|
243
|
-
linked without the Library, or if the work is itself a library. The
|
244
|
-
threshold for this to be true is not precisely defined by law.
|
245
|
-
|
246
|
-
If such an object file uses only numerical parameters, data
|
247
|
-
structure layouts and accessors, and small macros and small inline
|
248
|
-
functions (ten lines or less in length), then the use of the object
|
249
|
-
file is unrestricted, regardless of whether it is legally a derivative
|
250
|
-
work. (Executables containing this object code plus portions of the
|
251
|
-
Library will still fall under Section 6.)
|
252
|
-
|
253
|
-
Otherwise, if the work is a derivative of the Library, you may
|
254
|
-
distribute the object code for the work under the terms of Section 6.
|
255
|
-
Any executables containing that work also fall under Section 6,
|
256
|
-
whether or not they are linked directly with the Library itself.
|
257
|
-
|
258
|
-
6. As an exception to the Sections above, you may also compile or
|
259
|
-
link a "work that uses the Library" with the Library to produce a
|
260
|
-
work containing portions of the Library, and distribute that work
|
261
|
-
under terms of your choice, provided that the terms permit
|
262
|
-
modification of the work for the customer's own use and reverse
|
263
|
-
engineering for debugging such modifications.
|
264
|
-
|
265
|
-
You must give prominent notice with each copy of the work that the
|
266
|
-
Library is used in it and that the Library and its use are covered by
|
267
|
-
this License. You must supply a copy of this License. If the work
|
268
|
-
during execution displays copyright notices, you must include the
|
269
|
-
copyright notice for the Library among them, as well as a reference
|
270
|
-
directing the user to the copy of this License. Also, you must do one
|
271
|
-
of these things:
|
272
|
-
|
273
|
-
a) Accompany the work with the complete corresponding
|
274
|
-
machine-readable source code for the Library including whatever
|
275
|
-
changes were used in the work (which must be distributed under
|
276
|
-
Sections 1 and 2 above); and, if the work is an executable linked
|
277
|
-
with the Library, with the complete machine-readable "work that
|
278
|
-
uses the Library", as object code and/or source code, so that the
|
279
|
-
user can modify the Library and then relink to produce a modified
|
280
|
-
executable containing the modified Library. (It is understood
|
281
|
-
that the user who changes the contents of definitions files in the
|
282
|
-
Library will not necessarily be able to recompile the application
|
283
|
-
to use the modified definitions.)
|
284
|
-
|
285
|
-
b) Accompany the work with a written offer, valid for at
|
286
|
-
least three years, to give the same user the materials
|
287
|
-
specified in Subsection 6a, above, for a charge no more
|
288
|
-
than the cost of performing this distribution.
|
289
|
-
|
290
|
-
c) If distribution of the work is made by offering access to copy
|
291
|
-
from a designated place, offer equivalent access to copy the above
|
292
|
-
specified materials from the same place.
|
293
|
-
|
294
|
-
d) Verify that the user has already received a copy of these
|
295
|
-
materials or that you have already sent this user a copy.
|
296
|
-
|
297
|
-
For an executable, the required form of the "work that uses the
|
298
|
-
Library" must include any data and utility programs needed for
|
299
|
-
reproducing the executable from it. However, as a special exception,
|
300
|
-
the source code distributed need not include anything that is normally
|
301
|
-
distributed (in either source or binary form) with the major
|
302
|
-
components (compiler, kernel, and so on) of the operating system on
|
303
|
-
which the executable runs, unless that component itself accompanies
|
304
|
-
the executable.
|
305
|
-
|
306
|
-
It may happen that this requirement contradicts the license
|
307
|
-
restrictions of other proprietary libraries that do not normally
|
308
|
-
accompany the operating system. Such a contradiction means you cannot
|
309
|
-
use both them and the Library together in an executable that you
|
310
|
-
distribute.
|
311
|
-
|
312
|
-
7. You may place library facilities that are a work based on the
|
313
|
-
Library side-by-side in a single library together with other library
|
314
|
-
facilities not covered by this License, and distribute such a combined
|
315
|
-
library, provided that the separate distribution of the work based on
|
316
|
-
the Library and of the other library facilities is otherwise
|
317
|
-
permitted, and provided that you do these two things:
|
318
|
-
|
319
|
-
a) Accompany the combined library with a copy of the same work
|
320
|
-
based on the Library, uncombined with any other library
|
321
|
-
facilities. This must be distributed under the terms of the
|
322
|
-
Sections above.
|
323
|
-
|
324
|
-
b) Give prominent notice with the combined library of the fact
|
325
|
-
that part of it is a work based on the Library, and explaining
|
326
|
-
where to find the accompanying uncombined form of the same work.
|
327
|
-
|
328
|
-
8. You may not copy, modify, sublicense, link with, or distribute
|
329
|
-
the Library except as expressly provided under this License. Any
|
330
|
-
attempt otherwise to copy, modify, sublicense, link with, or
|
331
|
-
distribute the Library is void, and will automatically terminate your
|
332
|
-
rights under this License. However, parties who have received copies,
|
333
|
-
or rights, from you under this License will not have their licenses
|
334
|
-
terminated so long as such parties remain in full compliance.
|
335
|
-
|
336
|
-
9. You are not required to accept this License, since you have not
|
337
|
-
signed it. However, nothing else grants you permission to modify or
|
338
|
-
distribute the Library or its derivative works. These actions are
|
339
|
-
prohibited by law if you do not accept this License. Therefore, by
|
340
|
-
modifying or distributing the Library (or any work based on the
|
341
|
-
Library), you indicate your acceptance of this License to do so, and
|
342
|
-
all its terms and conditions for copying, distributing or modifying
|
343
|
-
the Library or works based on it.
|
344
|
-
|
345
|
-
10. Each time you redistribute the Library (or any work based on the
|
346
|
-
Library), the recipient automatically receives a license from the
|
347
|
-
original licensor to copy, distribute, link with or modify the Library
|
348
|
-
subject to these terms and conditions. You may not impose any further
|
349
|
-
restrictions on the recipients' exercise of the rights granted herein.
|
350
|
-
You are not responsible for enforcing compliance by third parties to
|
351
|
-
this License.
|
352
|
-
|
353
|
-
11. If, as a consequence of a court judgment or allegation of patent
|
354
|
-
infringement or for any other reason (not limited to patent issues),
|
355
|
-
conditions are imposed on you (whether by court order, agreement or
|
356
|
-
otherwise) that contradict the conditions of this License, they do not
|
357
|
-
excuse you from the conditions of this License. If you cannot
|
358
|
-
distribute so as to satisfy simultaneously your obligations under this
|
359
|
-
License and any other pertinent obligations, then as a consequence you
|
360
|
-
may not distribute the Library at all. For example, if a patent
|
361
|
-
license would not permit royalty-free redistribution of the Library by
|
362
|
-
all those who receive copies directly or indirectly through you, then
|
363
|
-
the only way you could satisfy both it and this License would be to
|
364
|
-
refrain entirely from distribution of the Library.
|
365
|
-
|
366
|
-
If any portion of this section is held invalid or unenforceable under any
|
367
|
-
particular circumstance, the balance of the section is intended to apply,
|
368
|
-
and the section as a whole is intended to apply in other circumstances.
|
369
|
-
|
370
|
-
It is not the purpose of this section to induce you to infringe any
|
371
|
-
patents or other property right claims or to contest validity of any
|
372
|
-
such claims; this section has the sole purpose of protecting the
|
373
|
-
integrity of the free software distribution system which is
|
374
|
-
implemented by public license practices. Many people have made
|
375
|
-
generous contributions to the wide range of software distributed
|
376
|
-
through that system in reliance on consistent application of that
|
377
|
-
system; it is up to the author/donor to decide if he or she is willing
|
378
|
-
to distribute software through any other system and a licensee cannot
|
379
|
-
impose that choice.
|
380
|
-
|
381
|
-
This section is intended to make thoroughly clear what is believed to
|
382
|
-
be a consequence of the rest of this License.
|
383
|
-
|
384
|
-
12. If the distribution and/or use of the Library is restricted in
|
385
|
-
certain countries either by patents or by copyrighted interfaces, the
|
386
|
-
original copyright holder who places the Library under this License may add
|
387
|
-
an explicit geographical distribution limitation excluding those countries,
|
388
|
-
so that distribution is permitted only in or among countries not thus
|
389
|
-
excluded. In such case, this License incorporates the limitation as if
|
390
|
-
written in the body of this License.
|
391
|
-
|
392
|
-
13. The Free Software Foundation may publish revised and/or new
|
393
|
-
versions of the Library General Public License from time to time.
|
394
|
-
Such new versions will be similar in spirit to the present version,
|
395
|
-
but may differ in detail to address new problems or concerns.
|
396
|
-
|
397
|
-
Each version is given a distinguishing version number. If the Library
|
398
|
-
specifies a version number of this License which applies to it and
|
399
|
-
"any later version", you have the option of following the terms and
|
400
|
-
conditions either of that version or of any later version published by
|
401
|
-
the Free Software Foundation. If the Library does not specify a
|
402
|
-
license version number, you may choose any version ever published by
|
403
|
-
the Free Software Foundation.
|
404
|
-
|
405
|
-
14. If you wish to incorporate parts of the Library into other free
|
406
|
-
programs whose distribution conditions are incompatible with these,
|
407
|
-
write to the author to ask for permission. For software which is
|
408
|
-
copyrighted by the Free Software Foundation, write to the Free
|
409
|
-
Software Foundation; we sometimes make exceptions for this. Our
|
410
|
-
decision will be guided by the two goals of preserving the free status
|
411
|
-
of all derivatives of our free software and of promoting the sharing
|
412
|
-
and reuse of software generally.
|
413
|
-
|
414
|
-
NO WARRANTY
|
415
|
-
|
416
|
-
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
417
|
-
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
418
|
-
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
419
|
-
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
420
|
-
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
421
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
422
|
-
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
423
|
-
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
424
|
-
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
425
|
-
|
426
|
-
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
427
|
-
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
428
|
-
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
429
|
-
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
430
|
-
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
431
|
-
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
432
|
-
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
433
|
-
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
434
|
-
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
435
|
-
DAMAGES.
|
436
|
-
|
437
|
-
END OF TERMS AND CONDITIONS
|
438
|
-
|
439
|
-
How to Apply These Terms to Your New Libraries
|
440
|
-
|
441
|
-
If you develop a new library, and you want it to be of the greatest
|
442
|
-
possible use to the public, we recommend making it free software that
|
443
|
-
everyone can redistribute and change. You can do so by permitting
|
444
|
-
redistribution under these terms (or, alternatively, under the terms of the
|
445
|
-
ordinary General Public License).
|
446
|
-
|
447
|
-
To apply these terms, attach the following notices to the library. It is
|
448
|
-
safest to attach them to the start of each source file to most effectively
|
449
|
-
convey the exclusion of warranty; and each file should have at least the
|
450
|
-
"copyright" line and a pointer to where the full notice is found.
|
451
|
-
|
452
|
-
<one line to give the library's name and a brief idea of what it does.>
|
453
|
-
Copyright (C) <year> <name of author>
|
454
|
-
|
455
|
-
This library is free software; you can redistribute it and/or
|
456
|
-
modify it under the terms of the GNU Library General Public
|
457
|
-
License as published by the Free Software Foundation; either
|
458
|
-
version 2 of the License, or (at your option) any later version.
|
459
|
-
|
460
|
-
This library is distributed in the hope that it will be useful,
|
461
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
462
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
463
|
-
Library General Public License for more details.
|
464
|
-
|
465
|
-
You should have received a copy of the GNU Library General Public
|
466
|
-
License along with this library; if not, write to the
|
467
|
-
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
468
|
-
Boston, MA 02111-1307 USA.
|
469
|
-
|
470
|
-
Also add information on how to contact you by electronic and paper mail.
|
471
|
-
|
472
|
-
You should also get your employer (if you work as a programmer) or your
|
473
|
-
school, if any, to sign a "copyright disclaimer" for the library, if
|
474
|
-
necessary. Here is a sample; alter the names:
|
475
|
-
|
476
|
-
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
477
|
-
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
478
|
-
|
479
|
-
<signature of Ty Coon>, 1 April 1990
|
480
|
-
Ty Coon, President of Vice
|
481
|
-
|
482
|
-
That's all there is to it!
|