mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-25 21:46:14 +01:00
my name is glib-config-2.0! don't exit with errorcode!=0 for --help or -h.
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org> * glib-config-2.0.in (lib_glib): my name is glib-config-2.0! don't exit with errorcode!=0 for --help or -h. * Makefile.am: * configure.in: build glib-config-2.0.
This commit is contained in:
parent
3a57dd08ff
commit
628bde5dfe
@ -1,3 +1,11 @@
|
|||||||
|
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
|
||||||
|
don't exit with errorcode!=0 for --help or -h.
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* configure.in: build glib-config-2.0.
|
||||||
|
|
||||||
2001-02-17 Havoc Pennington <hp@pobox.com>
|
2001-02-17 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gthread.c: include string.h
|
* gthread.c: include string.h
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
|
||||||
|
don't exit with errorcode!=0 for --help or -h.
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* configure.in: build glib-config-2.0.
|
||||||
|
|
||||||
2001-02-17 Havoc Pennington <hp@pobox.com>
|
2001-02-17 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gthread.c: include string.h
|
* gthread.c: include string.h
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
|
||||||
|
don't exit with errorcode!=0 for --help or -h.
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* configure.in: build glib-config-2.0.
|
||||||
|
|
||||||
2001-02-17 Havoc Pennington <hp@pobox.com>
|
2001-02-17 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gthread.c: include string.h
|
* gthread.c: include string.h
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
|
||||||
|
don't exit with errorcode!=0 for --help or -h.
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* configure.in: build glib-config-2.0.
|
||||||
|
|
||||||
2001-02-17 Havoc Pennington <hp@pobox.com>
|
2001-02-17 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gthread.c: include string.h
|
* gthread.c: include string.h
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
|
||||||
|
don't exit with errorcode!=0 for --help or -h.
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* configure.in: build glib-config-2.0.
|
||||||
|
|
||||||
2001-02-17 Havoc Pennington <hp@pobox.com>
|
2001-02-17 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gthread.c: include string.h
|
* gthread.c: include string.h
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
|
||||||
|
don't exit with errorcode!=0 for --help or -h.
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* configure.in: build glib-config-2.0.
|
||||||
|
|
||||||
2001-02-17 Havoc Pennington <hp@pobox.com>
|
2001-02-17 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gthread.c: include string.h
|
* gthread.c: include string.h
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
|
||||||
|
don't exit with errorcode!=0 for --help or -h.
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* configure.in: build glib-config-2.0.
|
||||||
|
|
||||||
2001-02-17 Havoc Pennington <hp@pobox.com>
|
2001-02-17 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gthread.c: include string.h
|
* gthread.c: include string.h
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
|
||||||
|
don't exit with errorcode!=0 for --help or -h.
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* configure.in: build glib-config-2.0.
|
||||||
|
|
||||||
2001-02-17 Havoc Pennington <hp@pobox.com>
|
2001-02-17 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gthread.c: include string.h
|
* gthread.c: include string.h
|
||||||
|
@ -191,6 +191,10 @@ makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/makefile.mingw.in
|
|||||||
glib.rc: $(top_builddir)/config.status $(top_srcdir)/glib.rc.in
|
glib.rc: $(top_builddir)/config.status $(top_srcdir)/glib.rc.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
|
bin_SCRIPTS=glib-config-2.0
|
||||||
|
BUILT_SOURCES=glib-config-2.0
|
||||||
|
glib-config-2.0: glib-config-2.0.in
|
||||||
|
|
||||||
.PHONY: files release sanity snapshot
|
.PHONY: files release sanity snapshot
|
||||||
|
|
||||||
files:
|
files:
|
||||||
|
@ -1826,6 +1826,7 @@ esac
|
|||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
glib-2.0.pc
|
glib-2.0.pc
|
||||||
|
glib-config-2.0
|
||||||
gmodule-2.0.pc
|
gmodule-2.0.pc
|
||||||
gthread-2.0.pc
|
gthread-2.0.pc
|
||||||
gobject-2.0.pc
|
gobject-2.0.pc
|
||||||
|
@ -18,66 +18,6 @@
|
|||||||
Closures
|
Closures
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/enumerations_flags.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/enumerations_flags.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/enumerations_flags.sgml:Short_Description ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/enumerations_flags.sgml:Title ##### -->
|
|
||||||
Enumeration and Flag Types
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gboxed.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gboxed.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gboxed.sgml:Short_Description ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gboxed.sgml:Title ##### -->
|
|
||||||
gboxed
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/generic_values.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/generic_values.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/generic_values.sgml:Short_Description ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/generic_values.sgml:Title ##### -->
|
|
||||||
Generic values
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:Long_Description ##### -->
|
<!-- ##### SECTION ./tmpl/gtypemodule.sgml.sgml:Long_Description ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
@ -98,124 +38,6 @@ Generic values
|
|||||||
gtypemodule.sgml
|
gtypemodule.sgml
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypemodule.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
#GTypeModule provides a simple implementation of the #GTypePlugin
|
|
||||||
interface. The model of #GTypeModule is a dynamically loaded module
|
|
||||||
which implements some number of types and interface
|
|
||||||
implementations. When the module is loaded, it registerse its types
|
|
||||||
and interfaces using g_type_module_register_type() and
|
|
||||||
g_type_module_add_interface(). As long as any instances of these
|
|
||||||
types and interface implementations are in use, the module is kept
|
|
||||||
loaded. When the types and interfaces are gone, the module may be
|
|
||||||
unloaded. If the types and interfaces become used again, the module
|
|
||||||
will be reloaded.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Keeping track of whether the module should be loaded or not is done by
|
|
||||||
using a use count - it starts at zero, and whenever it is greater than
|
|
||||||
zero, the module is loaded. The use count is maintained internally by
|
|
||||||
the type system, but also can be explicitely controlled by
|
|
||||||
g_type_module_use() and g_type_module_unuse(). Typically, when loading
|
|
||||||
a module for the first type, g_type_module_use() will be used to load
|
|
||||||
it so that it can initialize its types. At some later point, when the
|
|
||||||
module no longer needs to be loaded except for the type
|
|
||||||
implementations it contains, g_type_module_unuse() is called.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
#GTypeModule does not actually provide any implementation of module
|
|
||||||
loading and unloading. To create a particular module type you must
|
|
||||||
derive from #GTypeModule and implement the load and unload functions
|
|
||||||
in #GTypeModuleClass.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypemodule.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
<variablelist>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>#GTypePlugin</term>
|
|
||||||
<listitem><para>The abstract type loader interface.</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>#GModule</term>
|
|
||||||
<listitem><para>Portable mechanism for dynamically loaded modules.</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
</variablelist>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypemodule.sgml:Short_Description ##### -->
|
|
||||||
Type Loading Modules
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypemodule.sgml:Title ##### -->
|
|
||||||
GTypeModule
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypeplugin.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypeplugin.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypeplugin.sgml:Short_Description ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/gtypeplugin.sgml:Title ##### -->
|
|
||||||
GTypePlugin
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/objects.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/objects.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/objects.sgml:Short_Description ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/objects.sgml:Title ##### -->
|
|
||||||
The Base Object Type
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/param_specs.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/param_specs.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/param_specs.sgml:Short_Description ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/param_specs.sgml:Title ##### -->
|
|
||||||
Parameter Specifications
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/signals.sgml:Long_Description ##### -->
|
<!-- ##### SECTION ./tmpl/signals.sgml:Long_Description ##### -->
|
||||||
<para>
|
<para>
|
||||||
The basic concept of the signal system is that of the <emphasis>emission</emphasis>
|
The basic concept of the signal system is that of the <emphasis>emission</emphasis>
|
||||||
@ -293,66 +115,6 @@ as general purpose notification mechanism.
|
|||||||
Signals
|
Signals
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/standard_params.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/standard_params.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/standard_params.sgml:Short_Description ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/standard_params.sgml:Title ##### -->
|
|
||||||
Standard Parameter Types
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/value_collection.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/value_collection.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/value_collection.sgml:Short_Description ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/value_collection.sgml:Title ##### -->
|
|
||||||
Varargs Value Collection
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/value_types.sgml:Long_Description ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/value_types.sgml:See_Also ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/value_types.sgml:Short_Description ##### -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### SECTION ./tmpl/value_types.sgml:Title ##### -->
|
|
||||||
Standard value types
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### USER_FUNCTION GObjectGetParamFunc ##### -->
|
<!-- ##### USER_FUNCTION GObjectGetParamFunc ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ Varargs Value Collection
|
|||||||
|
|
||||||
@value:
|
@value:
|
||||||
@var_args:
|
@var_args:
|
||||||
|
@flags:
|
||||||
@__error:
|
@__error:
|
||||||
|
|
||||||
|
|
||||||
@ -37,6 +38,7 @@ Varargs Value Collection
|
|||||||
|
|
||||||
@value:
|
@value:
|
||||||
@var_args:
|
@var_args:
|
||||||
|
@flags:
|
||||||
@__error:
|
@__error:
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,13 +7,14 @@ exec_prefix_set=no
|
|||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage: glib-config [OPTIONS] [LIBRARIES]
|
Usage: glib-config-2.0 [OPTIONS] [LIBRARIES]
|
||||||
Options:
|
Options:
|
||||||
[--prefix[=DIR]]
|
[--prefix[=DIR]]
|
||||||
[--exec-prefix[=DIR]]
|
[--exec-prefix[=DIR]]
|
||||||
[--version]
|
[--version]
|
||||||
[--libs]
|
[--libs]
|
||||||
[--cflags]
|
[--cflags]
|
||||||
|
[--help]
|
||||||
Libraries:
|
Libraries:
|
||||||
glib
|
glib
|
||||||
gmodule
|
gmodule
|
||||||
@ -75,6 +76,9 @@ while test $# -gt 0; do
|
|||||||
gthread)
|
gthread)
|
||||||
lib_gthread=yes
|
lib_gthread=yes
|
||||||
;;
|
;;
|
||||||
|
--help | -h)
|
||||||
|
usage 0 1>&2
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
usage 1 1>&2
|
usage 1 1>&2
|
||||||
;;
|
;;
|
||||||
|
@ -191,6 +191,10 @@ makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/makefile.mingw.in
|
|||||||
glib.rc: $(top_builddir)/config.status $(top_srcdir)/glib.rc.in
|
glib.rc: $(top_builddir)/config.status $(top_srcdir)/glib.rc.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
|
bin_SCRIPTS=glib-config-2.0
|
||||||
|
BUILT_SOURCES=glib-config-2.0
|
||||||
|
glib-config-2.0: glib-config-2.0.in
|
||||||
|
|
||||||
.PHONY: files release sanity snapshot
|
.PHONY: files release sanity snapshot
|
||||||
|
|
||||||
files:
|
files:
|
||||||
|
Loading…
Reference in New Issue
Block a user