Released GTK+ 1.1.3

Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.3

        * INSTALL:
        * NEWS:
        * README:
        * gtk+.spec:
        * docs/gtk-config.1: updated for v1.1.3

        * Makefile.am
        * sanity_check
        * docs/Makefile.am: Includes new 'make release' as well as
          'make sanity'.  Also handles html and text creation from html,
          and puts them into the distribution

        * docs/Makefile.sgml: removed, similar functionality is now in
          the Makefile.am file

        * docs/.cvsignore: ignore html and text directories
        * docs/glib.texi: removed (now in glib dist)
This commit is contained in:
CST 1998 Shawn T. Amundson 1998-10-31 09:53:29 +00:00 committed by Shawn Amundson
parent 52f5eeab68
commit 4848d691e0
18 changed files with 415 additions and 515 deletions

View File

@ -1,3 +1,25 @@
Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.3
* INSTALL:
* NEWS:
* README:
* gtk+.spec:
* docs/gtk-config.1: updated for v1.1.3
* Makefile.am
* sanity_check
* docs/Makefile.am: Includes new 'make release' as well as
'make sanity'. Also handles html and text creation from html,
and puts them into the distribution
* docs/Makefile.sgml: removed, similar functionality is now in
the Makefile.am file
* docs/.cvsignore: ignore html and text directories
* docs/glib.texi: removed (now in glib dist)
Fri Oct 30 20:02:36 1998 Lars Hamann <lars@gtk.org>
* gtk/gtklist.c (gtk_list_remove_items_internal):

View File

@ -1,3 +1,25 @@
Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.3
* INSTALL:
* NEWS:
* README:
* gtk+.spec:
* docs/gtk-config.1: updated for v1.1.3
* Makefile.am
* sanity_check
* docs/Makefile.am: Includes new 'make release' as well as
'make sanity'. Also handles html and text creation from html,
and puts them into the distribution
* docs/Makefile.sgml: removed, similar functionality is now in
the Makefile.am file
* docs/.cvsignore: ignore html and text directories
* docs/glib.texi: removed (now in glib dist)
Fri Oct 30 20:02:36 1998 Lars Hamann <lars@gtk.org>
* gtk/gtklist.c (gtk_list_remove_items_internal):

View File

@ -1,3 +1,25 @@
Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.3
* INSTALL:
* NEWS:
* README:
* gtk+.spec:
* docs/gtk-config.1: updated for v1.1.3
* Makefile.am
* sanity_check
* docs/Makefile.am: Includes new 'make release' as well as
'make sanity'. Also handles html and text creation from html,
and puts them into the distribution
* docs/Makefile.sgml: removed, similar functionality is now in
the Makefile.am file
* docs/.cvsignore: ignore html and text directories
* docs/glib.texi: removed (now in glib dist)
Fri Oct 30 20:02:36 1998 Lars Hamann <lars@gtk.org>
* gtk/gtklist.c (gtk_list_remove_items_internal):

View File

@ -1,3 +1,25 @@
Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.3
* INSTALL:
* NEWS:
* README:
* gtk+.spec:
* docs/gtk-config.1: updated for v1.1.3
* Makefile.am
* sanity_check
* docs/Makefile.am: Includes new 'make release' as well as
'make sanity'. Also handles html and text creation from html,
and puts them into the distribution
* docs/Makefile.sgml: removed, similar functionality is now in
the Makefile.am file
* docs/.cvsignore: ignore html and text directories
* docs/glib.texi: removed (now in glib dist)
Fri Oct 30 20:02:36 1998 Lars Hamann <lars@gtk.org>
* gtk/gtklist.c (gtk_list_remove_items_internal):

View File

@ -1,3 +1,25 @@
Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.3
* INSTALL:
* NEWS:
* README:
* gtk+.spec:
* docs/gtk-config.1: updated for v1.1.3
* Makefile.am
* sanity_check
* docs/Makefile.am: Includes new 'make release' as well as
'make sanity'. Also handles html and text creation from html,
and puts them into the distribution
* docs/Makefile.sgml: removed, similar functionality is now in
the Makefile.am file
* docs/.cvsignore: ignore html and text directories
* docs/glib.texi: removed (now in glib dist)
Fri Oct 30 20:02:36 1998 Lars Hamann <lars@gtk.org>
* gtk/gtklist.c (gtk_list_remove_items_internal):

View File

@ -1,3 +1,25 @@
Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.3
* INSTALL:
* NEWS:
* README:
* gtk+.spec:
* docs/gtk-config.1: updated for v1.1.3
* Makefile.am
* sanity_check
* docs/Makefile.am: Includes new 'make release' as well as
'make sanity'. Also handles html and text creation from html,
and puts them into the distribution
* docs/Makefile.sgml: removed, similar functionality is now in
the Makefile.am file
* docs/.cvsignore: ignore html and text directories
* docs/glib.texi: removed (now in glib dist)
Fri Oct 30 20:02:36 1998 Lars Hamann <lars@gtk.org>
* gtk/gtklist.c (gtk_list_remove_items_internal):

View File

@ -1,3 +1,25 @@
Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.3
* INSTALL:
* NEWS:
* README:
* gtk+.spec:
* docs/gtk-config.1: updated for v1.1.3
* Makefile.am
* sanity_check
* docs/Makefile.am: Includes new 'make release' as well as
'make sanity'. Also handles html and text creation from html,
and puts them into the distribution
* docs/Makefile.sgml: removed, similar functionality is now in
the Makefile.am file
* docs/.cvsignore: ignore html and text directories
* docs/glib.texi: removed (now in glib dist)
Fri Oct 30 20:02:36 1998 Lars Hamann <lars@gtk.org>
* gtk/gtklist.c (gtk_list_remove_items_internal):

View File

@ -7,8 +7,8 @@ you got this package.
Simple install procedure
========================
% gzip -cd gtk+-1.1.2.tar.gz | tar xvf - # unpack the sources
% cd gtk+-1.1.2 # change to the toplevel directory
% gzip -cd gtk+-1.1.3.tar.gz | tar xvf - # unpack the sources
% cd gtk+-1.1.3 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GTK
[ Become root if necessary ]
@ -92,7 +92,7 @@ You can compile GTK+ against a copy of GLIB that you have not
yet installed. To do this, give the --with-glib=DIR options
to ./configure. For instance:
./configure --with-glib=../glib-1.1.3
./configure --with-glib=../glib-1.1.4
This, however, will not work if you built GLIB with different
source and build directories.

View File

@ -84,7 +84,7 @@ EXTRA_DIST = \
m4datadir = $(datadir)/aclocal
m4data_DATA = gtk.m4
.PHONY: files populate checkin release
.PHONY: files release sanity snapshot
files:
@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
@ -97,13 +97,14 @@ files:
done; \
done
populate:
@echo "populating project"
@files=`$(MAKE) files | grep -v "make\[[1-9]\]"`; prcs populate -d gtk+.prj $$files
checkin: populate
@echo "checking in project"
@prcs checkin
release:
rm -rf .deps */.deps
cd docs && make distdocs
$(MAKE) distcheck
sanity:
./sanity_check $(VERSION)
snapshot:
$(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`

37
NEWS
View File

@ -1,3 +1,40 @@
What is new in GTK+ 1.1.3:
* GtkCList/GtkCTree now have the ability to:
- hide/show individual columns
- disable/enable column resizing
- set min and max for column widths
- set expander style of the ctree
- set/get row and cell styles
- set spacing between tree expander and cell contents in ctree
- toggle auto_resize for columns
* Must enhanced DND support, removed old DND code
* Idle functions are now implemented via GHook, giving a slight speed
improvement
* An environment variable GTK_MODULES which takes a colon seperated
list of module names GTK+ will now automatically load at gtk_init() startup
* GtkFontSel now has support for an extra 'base' filter
* New function gdk_window_set_root_origin to get the real geometry taking
into account window manager offsets
* New function gtk_text_set_line_wrap to toggle line wrapping
* New function gtk_widget_add_events which safely adds additional
events to a widget's event mask
* New function gdk_event_get_time to get the timestamp from a generic
event
* New widget GtkCalendar
* New widget GtkInvisible - InputOnly offscreen windows used for reliable
pointer grabs and selection handling in DND code
* New functions gtk_object_remove_no_notify[_by_id] to remove a certain
data portion without invokation of its destroy notifier
* gtk_spin_button_construct is now deprecated, use gtk_spin_button_configure
instead
* gtk_clist_set_border is now deprecated, use gtk_clist_set_shadow_type
instead
* Removed functions gtk_object_set_data_destroy[_by_id]
* Documentation additions/updates
* HTML and plain text files are now included in the distribution
* Bug fixes, typeness corrections, and general fixups
What is new in GTK+ 1.1.2:
* Gtk+ is now featuring runtime loading of dynamic modules via the

2
README
View File

@ -1,7 +1,7 @@
General Information
===================
This is GTK+ version 1.1.2. GTK+, which stands for the Gimp ToolKit,
This is GTK+ version 1.1.3. GTK+, which stands for the Gimp ToolKit,
is a library for creating graphical user interfaces for the X Window
System. It is designed to be small, efficient, and flexible. GTK+ is
written in C with a very object-oriented approach.

View File

@ -16,3 +16,5 @@ Makefile.in
*.cps
*.fns
*.vrs
html
text

View File

@ -1,13 +1,12 @@
## Process this file with automake to produce Makefile.in
info_TEXINFOS = gdk.texi gtk.texi glib.texi
info_TEXINFOS = gdk.texi gtk.texi
man_MANS = gtk-config.1
EXTRA_DIST = \
texinfo.tex \
macros.texi \
Makefile.sgml \
gtkdocs_fix \
gtkfaq.sgml \
gtk-config.txt \
@ -22,9 +21,156 @@ EXTRA_DIST = \
widget_system.txt \
gtk_tut_packbox1.gif \
gtk_tut_packbox2.gif \
html/gtk_tut_table.gif \
html/gtk_tut_packbox1.gif \
html/gtk_tut_packbox2.gif \
gtk_tut_table.gif \
gtk-config.1
gtk-config.1 \
html/gdk.html \
html/gdk_toc.html \
html/gtk.html \
html/gtk_toc.html \
html/gtk_tut.html \
html/gtk_tut-1.html \
html/gtk_tut-2.html \
html/gtk_tut-3.html \
html/gtk_tut-4.html \
html/gtk_tut-5.html \
html/gtk_tut-6.html \
html/gtk_tut-7.html \
html/gtk_tut-8.html \
html/gtk_tut-9.html \
html/gtk_tut-10.html \
html/gtk_tut-11.html \
html/gtk_tut-12.html \
html/gtk_tut-13.html \
html/gtk_tut-14.html \
html/gtk_tut-15.html \
html/gtk_tut-16.html \
html/gtk_tut-17.html \
html/gtk_tut-18.html \
html/gtk_tut-19.html \
html/gtk_tut-20.html \
html/gtk_tut-21.html \
html/gtk_tut-22.html \
html/gtk_tut-23.html \
html/gtk_tut-24.html \
html/gtk_tut-25.html \
html/gtk_tut-26.html \
html/gtk_tut-27.html \
html/gtk_tut-28.html \
html/gtk_tut-29.html \
html/gtk_tut-30.html \
html/gtk_tut-31.html \
html/gtk_tut_fr.html \
html/gtk_tut_fr-1.html \
html/gtk_tut_fr-2.html \
html/gtk_tut_fr-3.html \
html/gtk_tut_fr-4.html \
html/gtk_tut_fr-5.html \
html/gtk_tut_fr-6.html \
html/gtk_tut_fr-7.html \
html/gtk_tut_fr-8.html \
html/gtk_tut_fr-9.html \
html/gtk_tut_fr-10.html \
html/gtk_tut_fr-11.html \
html/gtk_tut_fr-12.html \
html/gtk_tut_fr-13.html \
html/gtk_tut_fr-14.html \
html/gtk_tut_fr-15.html \
html/gtk_tut_fr-16.html \
html/gtk_tut_fr-17.html \
html/gtk_tut_fr-18.html \
html/gtk_tut_fr-19.html \
html/gtk_tut_fr-20.html \
html/gtk_tut_fr-21.html \
html/gtk_tut_fr-22.html \
html/gtk_tut_fr-23.html \
html/gtk_tut_fr-24.html \
html/gtk_tut_it.html \
html/gtk_tut_it-1.html \
html/gtk_tut_it-2.html \
html/gtk_tut_it-3.html \
html/gtk_tut_it-4.html \
html/gtk_tut_it-5.html \
html/gtk_tut_it-6.html \
html/gtk_tut_it-7.html \
html/gtk_tut_it-8.html \
html/gtk_tut_it-9.html \
html/gtk_tut_it-10.html \
html/gtk_tut_it-11.html \
html/gtk_tut_it-12.html \
html/gtk_tut_it-13.html \
html/gtk_tut_it-14.html \
html/gtk_tut_it-15.html \
html/gtk_tut_it-16.html \
html/gtk_tut_it-17.html \
html/gtk_tut_it-18.html \
html/gtk_tut_it-19.html \
html/gtk_tut_it-20.html \
html/gtk_tut_it-21.html \
html/gtk_tut_it-22.html \
html/gtk_tut_it-23.html \
html/gtk_tut_it-24.html \
html/gtkfaq.html \
html/gtkfaq-1.html \
html/gtkfaq-2.html \
html/gtkfaq-3.html \
html/gtkfaq-4.html \
html/gtkfaq-5.html \
html/gtkfaq-6.html \
html/gtkfaq-7.html \
text/gtkfaq.txt \
text/gtk_tut.txt \
text/gtk_tut_it.txt \
text/gtk_tut_fr.txt
.PHONY: html htmldir gdk.html gtk.html faq tutorial tutorial_it tutorial_fr files
distdocs: gdk.html gtk.html faq tutorial tutorial_it tutorial_fr
htmldir:
mkdir -p html
cp gtk_tut*gif html/
textdir:
mkdir -p text
gdk.html: htmldir
texi2html gdk.texi
mv gdk.html gdk_toc.html html/
gtk.html: htmldir
texi2html gtk.texi
mv gtk.html gtk_toc.html html/
faq: htmldir textdir
sgml2html gtkfaq.sgml
perl gtkdocs_fix gtkfaq*html
mv gtkfaq*html html/
sgml2txt gtkfaq.sgml
mv gtkfaq.txt text/
tutorial: htmldir textdir
sgml2html gtk_tut.sgml
perl gtkdocs_fix gtk_tut*html
mv gtk_tut*html html/
sgml2txt gtk_tut.sgml
mv gtk_tut.txt text/
tutorial_it: htmldir
sgml2html gtk_tut_it.sgml
perl gtkdocs_fix gtk_tut_it*html
mv gtk_tut_it*html html/
sgml2txt gtk_tut_it.sgml
mv gtk_tut_it.txt text/
tutorial_fr: htmldir
sgml2html gtk_tut_fr.sgml
perl gtkdocs_fix gtk_tut_fr*html
mv gtk_tut_fr*html html/
sgml2txt gtk_tut_fr.sgml
mv gtk_tut_fr.txt text/
files:

View File

@ -1,40 +0,0 @@
#
# To use this makefile, do:
# make -f Makefile.gtkfaq
#
# This is not done by default because you might
# not have sgml2html installed... Perhaps we could
# detect that in the future and combine it in with
# the automake stuff...
#
all: html ps
html: faq tut italian_tut
perl gtkdocs_fix gtkfaq*.html gtk_tut*.html
txt:
sgml2txt gtkfaq.sgml
sgml2txt gtk_tut.sgml
sgml2txt gtk_tut_it.sgml
ps: dvi
dvips -o gtkfaq.ps gtkfaq.dvi
dvips -o gtk_tut.ps gtk_tut.dvi
dvips -o gtk_tut_it.ps gtk_tut_it.dvi
dvi:
sgml2latex gtkfaq.sgml
sgml2latex gtk_tut.sgml
sgml2latex gtk_tut_it.sgml
faq:
sgml2html gtkfaq.sgml
tut:
sgml2html gtk_tut.sgml
italian_tut:
sgml2html gtk_tut_it.sgml

View File

@ -1,455 +0,0 @@
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename glib.info
@settitle GLIB
@setchapternewpage odd
@set edition 1.0
@set update-date 3 Feburary 1998
@set update-month Feburary 1998
@c %**end of header
@ifinfo
This file documents GLIB, A library of useful routines for C programming
Copyright (C) 1998 Gregory A McLean
Permission is granted to make and distributed verbatim copies of this
manual, provided the copyright notice and this permission notice are
preserved on all copies.
@ignore
Permission is granted to process this file throught TeX and print the
results, provided the printed document carries copying permission notice
identical to this one except for the removal of this paragraph (this
paragraph not being relevant to the printed manual).
@end ignore
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions,
except that this permission notice may be stated in a translation
approved by Gregory McLean.
@end ifinfo
@titlepage
@title GLIB, Useful routines for C programming
@subtitle Version 1.0
@subtitle @value{update-month}
@author by Gregory McLean
@page
@vskip 0pt plus 1filll
Copyright @copyright{} 1998 Gregory McLean
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions,
except that this permission notice may be stated in a translation
approved by Gregory McLean.
@end titlepage
@dircategory Library of useful routines for 'C' programing
@direntry
* GLIB: (glib). useful routines for 'C' programming
@end direntry
@node Top, Copying, (dir), (dir)
@top useful routines for 'C' programming
@ifinfo
This is edition @value{edition} of the GLIB documentation,
@w{@value{update-date}}.
@end ifinfo
@menu
* Copying:: Your rights.
* Overview:: What is GLIB?
* Doubly linked lists:: Doubly linked lists
* Signly linked lists:: Singly linked lists
* List allocators:: List Allocators
* Hash tables:: Hash tables
* Caches:: Cache handling
* Trees:: Tree handling
* Memory:: Memory handling
* Timers:: Timer functions
* Output:: Output handling
* Utilities:: Utilitiy functions
* Errors:: Error handling
* String Chunks:: String Chunks
* Strings:: String handling
* Resizable arrays:: Resizeable arrays
* GScanner:: Flexible lexical scanner
* Miscellany:: Other stuff
* Function Index:: Index of functions
* Concept Index:: Index of concepts
@end menu
@node Copying, Overview, Top, Top
@comment node-name, next, previous, up
@chapter Copying
@node Overview, Doubly linked lists, Copying, Top
@comment node-name, next, previous, up
@chapter What is GLIB
@node Doubly linked lists, Signly linked lists, Overview, Top
@comment node-name, next, previous, up
@chapter Doubly linked lists
@subsection Functions
@deftypefun GList* g_list_alloc (void)
@end deftypefun
@deftypefun void g_list_free (GList *@var{list})
@end deftypefun
@deftypefun void g_list_free_1 (GList *@var{list})
@end deftypefun
@deftypefun GList* g_list_append (GList *@var{list}, gpointer @var{data})
@end deftypefun
@deftypefun GList* g_list_prepend (GList *@var{list}, gpointer @var{data})
@end deftypefun
@deftypefun GList* g_list_insert (GList *@var{list}, gpointer @var{data}, gint @var{position})
@end deftypefun
@deftypefun GList* g_list_insert_sorted (GList *@var{list}, gpointer @var{data}, GCompareFunc @var{func})
@end deftypefun
@deftypefun GList* g_list_concat (GList *@var{list1}, GList *@var{list2})
@end deftypefun
@deftypefun GList* g_list_remove (GList *@var{list}, gpointer @var{data})
@end deftypefun
@deftypefun GList* g_list_remove_link (GList *@var{list}, GList *@var{link})
@end deftypefun
@deftypefun GList* g_list_reverse (GList *@var{list})
@end deftypefun
@deftypefun GList* g_list_nth (GList *@var{list}, gint @var{n})
@end deftypefun
@deftypefun GList* g_list_find (GList *@var{list}, gpointer @var{data})
@end deftypefun
@deftypefun GList* g_list_last (GList *@var{list})
@end deftypefun
@deftypefun GList* g_list_first (GList *@var{list})
@end deftypefun
@deftypefun gint g_list_length (GList *@var{list})
@end deftypefun
@deftypefun void g_list_foreach (GList *@var{list}, GFunc @var{func}, gpointer @var{user_data})
@end deftypefun
@node Signly linked lists, List allocators, Doubly linked lists, Top
@comment node-name, next, previous, up
@chapter Signly linked lists
@subsection Functions
@deftypefun GSList* g_slist_alloc (void)
@end deftypefun
@deftypefun void g_slist_free (GSList *@var{list})
@end deftypefun
@deftypefun void g_slist_free_1 (GSList *@var{list})
@end deftypefun
@deftypefun GSList* g_slist_append (GSList *@var{list}, gpointer @var{data})
@end deftypefun
@deftypefun GSList* g_slist_prepend (GSList *@var{list}, gpointer @var{data})
@end deftypefun
@deftypefun GSList* g_slist_insert (GSList *@var{list}, gpointer @var{data}, gint @var{position})
@end deftypefun
@deftypefun GSList* g_slist_insert_sorted (GSList *@var{list}, gpointer @var{data}, GCompareFunc @var{func})
@end deftypefun
@deftypefun GSList* g_slist_concat (GSList *@var{list1}, GSList *@var{list2})
@end deftypefun
@deftypefun GSList* g_slist_remove (GSList *@var{list}, gpointer @var{data})
@end deftypefun
@deftypefun GSList* g_slist_remove_link (GSList *@var{list}, GSList *@var{link})
@end deftypefun
@deftypefun GSList* g_slist_reverse (GSList *@var{list})
@end deftypefun
@deftypefun GSList* g_slist_nth (GSList *@var{list}, gint @var{n})
@end deftypefun
@deftypefun GSList* g_slist_find (GSList *@var{list}, gpointer @var{data})
@end deftypefun
@deftypefun GSList* g_slist_last (GSList *@var{list})
@end deftypefun
@deftypefun gint g_slist_length (GSList *@var{list})
@end deftypefun
@deftypefun void g_slist_foreach (GSList *@var{list}, GFunc @var{func}, gpointer @var{user_data})
@end deftypefun
@node List allocators, Hash tables, Signly linked lists, Top
@comment node-name, next, previous, up
@chapter List allocators
@subsection Functions
@deftypefun GListAllocator* g_list_allocator_new (void)
@end deftypefun
@deftypefun void g_list_allocator_free (GListAllocator *@var{allocator})
@end deftypefun
@deftypefun GListAllocator* g_slist_set_allocator (GListAllocator *@var{allocator})
@end deftypefun
@deftypefun GListAllocator* g_list_set_allocator (GListAllocator *@var{allocator})
@end deftypefun
@node Hash tables, Caches, List allocators, Top
@comment node-name, next, previous, up
@chapter Hash tables
@subsection Functions
@deftypefun GHashTable* g_hash_table_new (GHashFunc @var{hash_func}, GCompareFunc @var{key_compare_func})
@end deftypefun
@deftypefun void g_hash_table_destroy (GHashTable *@var{hash_table})
@end deftypefun
@deftypefun void g_hash_table_insert (GHashTable *@var{hash_table}, gpointer @var{key}, gpointer @var{value})
@end deftypefun
@deftypefun void g_hash_table_remove (GHashTable *@var{hash_table}, gpointer @var{key})
@end deftypefun
@deftypefun gpointer g_hash_table_lookup (GHashTable *@var{hash_table}, gpointer @var{key})
@end deftypefun
@deftypefun void g_hash_table_freeze (GHashTable *@var{hash_table})
@end deftypefun
@deftypefun void g_hash_table_thaw (GHashTable *@var{hash_table})
@end deftypefun
@deftypefun void g_hash_table_foreach (GHashTable *@var{hash_table}, GHFunc @var{func}, gpointer @var{user_data})
@end deftypefun
@node Caches, Trees, Hash tables, Top
@comment node-name, next, previous, up
@chapter Cache handling
@subsection Functions
@deftypefun GCache* g_cache_new (GCacheNewFunc @var{value_new_func}, GCacheDestroyFunc @var{value_destroy_func}, GCacheDupFunc @var{key_dup_func}, GCacheDestroyFunc @var{key_destroy_func}, GHashFunc @var{hash_key_func}, GHashFunc @var{hash_value_func}, GCompareFunc @var{key_compare_func})
@end deftypefun
@deftypefun void g_cache_destroy (GCache *@var{cache})
@end deftypefun
@deftypefun gpointer g_cache_insert (GCache *@var{cache}, gpointer @var{key})
@end deftypefun
@deftypefun void g_cache_remove (GCache *@var{cache}, gpointer @var{key})
@end deftypefun
@deftypefun void g_cache_key_foreach (GCache *@var{cache}, GHFunc @var{func}, gpointer @var{user_data})
@end deftypefun
@deftypefun void g_cache_value_foreach (GCache *@var{cache}, GHFunc @var{func}, gpointer @var{user_data})
@end deftypefun
@node Trees, Memory, Caches, Top
@comment node-name, next, previous, up
@chapter Tree handling
@subsection Functions
@deftypefun GTree* g_tree_new (GCompareFunc @var{key_compare_func})
@end deftypefun
@deftypefun void g_tree_destroy (GTree *@var{tree})
@end deftypefun
@deftypefun void g_tree_remove (GTree *@var{tree}, gpointer @var{key}, gpointer @var{value})
@end deftypefun
@deftypefun gpointer g_tree_lookup (GTree *@var{tree}, gpointer @var{key})
@end deftypefun
@deftypefun void g_tree_traverse (GTree *@var{tree}, GTraverseFunc @var{traverse_func}, GTraverseType @var{traverse_type}, gpointer @var{data}
@end deftypefun
@deftypefun gpointer g_tree_search (GTree *@var{tree}, GSearchFunc @var{search_func}, gpointer @var{data})
@end deftypefun
@deftypefun gint g_tree_height (GTree *@var{tree})
@end deftypefun
@deftypefun gint g_tree_nnodes (GTree *@var{tree})
@end deftypefun
@node Memory, Timers, Trees, Top
@comment node-name, next, previous, up
@chapter Memory handling
@subsection Functions
@deftypefun gpointer g_malloc (gulong @var{size})
@end deftypefun
@deftypefun gpointer g_malloc0 (gulong @var{size})
@end deftypefun
@deftypefun gpointer g_realloc (gpointer @var{mem}, gulong @var{size})
@end deftypefun
@deftypefun void g_mem_profile (void)
@end deftypefun
@deftypefun void g_mem_check (gpointer @var{mem})
@end deftypefun
@deftypefun GMemChunk* g_mem_chunk_new (gchar *@var{name}, gint @var{atom_size}, gulong @var{area_size}, gint @var{type})
@end deftypefun
@deftypefun void g_mem_chunk_destroy (GMemChunk *@var{mem_chunk})
@end deftypefun
@deftypefun gpointer g_mem_chunk_alloc (GMemChunk *@var{mem_chunk})
@end deftypefun
@deftypefun void g_mem_chunk_free (GMemChunk *@var{mem_chunk}, gpointer @var{mem})
@end deftypefun
@deftypefun void g_mem_chunk_clean (GMemChunk *@var{mem_chunk})
@end deftypefun
@deftypefun void g_mem_chunk_reset (GMemChunk *@var{mem_chunk})
@end deftypefun
@deftypefun void g_mem_chunk_print (GMemChunk *@var{mem_chunk})
@end deftypefun
@deftypefun void g_mem_chunk_info (void)
@end deftypefun
@deftypefun void g_blow_chunks (void)
Not what you might be thinking, @code{g_blow_chunks()} simply compresses all
the chunks. This operation consists of freeing every memory area that should
be freed (but which we haven't gotten around to doing yet).
@end deftypefun
@node Timers, Output, Memory, Top
@comment node-name, next, previous, up
@chapter Timer functions
@subsection Functions
@deftypefun GTimer* g_timer_new (void)
@end deftypefun
@deftypefun void g_timer_destroy (GTimer *@var{timer})
@end deftypefun
@deftypefun void g_timer_start (GTimer *@var{timer})
@end deftypefun
@deftypefun void g_timer_stop (GTimer *@var{timer})
@end deftypefun
@deftypefun void g_timer_reset (GTimer *@var{timer})
@end deftypefun
@deftypefun gdouble g_timer_elapsed (GTimer *@var{timer}, gulong *@var{microseconds})
@end deftypefun
@node Output, Utilities, Timers, Top
@comment node-name, next, previous, up
@chapter Output functions
@subsection Functions
@deftypefun void g_error (gchar *@var{format}, @dots{})
@end deftypefun
@deftypefun void g_warning (gchar *@var{format}, @dots{})
@end deftypefun
@deftypefun void g_message (gchar *@var{format}, @dots{})
@end deftypefun
@deftypefun void g_print (gchar *@var{format}, @dots{})
@end deftypefun
@node Utilities, Errors, Output, Top
@comment node-name, next, previous, up
@chapter Utility functions
@node Errors, String Chunks, Utilities, Top
@comment node-name, next, previous, up
@chapter Error handling
@node String Chunks, Strings, Errors, Top
@comment node-name, next, previous, up
@chapter String chunks
@node Strings, Resizable arrays, String Chunks, Top
@comment node-name, next, previous, up
@chapter String handling
@node Resizable arrays, GScanner, Strings, Top
@comment node-name, next, previous, up
@chapter Resizable arrays
@node GScanner, Miscellany, Resizable arrays, Top
@comment node-name, next, previous, up
@chapter Flexible lexical scanner
@node Miscellany, Function Index, GScanner, Top
@comment node-name, next, previous, up
@chapter Other stuff
@node Function Index, Concept Index, Miscellany, Top
@comment node-name, next, previous, up
@unnumbered Function Index
@printindex fn
@node Concept Index, , Function Index, Top
@comment node-name, next, previous, up
@unnumbered Concept Index
@printindex cp
@summarycontents
@contents
@bye

View File

@ -1,4 +1,4 @@
.TH GTK+ 1 "11 May 1998" Version 1.0.2
.TH GTK+ 1 "25 October 1998" Version 1.1.3
.SH NAME
gtk-config - script to get information about the installed version of GTK+
.SH SYNOPSIS

View File

@ -1,5 +1,5 @@
# Note that this is NOT a relocatable package
%define ver 1.1.2
%define ver 1.1.3
%define rel SNAP
%define prefix /usr
@ -9,7 +9,7 @@ Version: %ver
Release: %rel
Copyright: LGPL
Group: X11/Libraries
Source: ftp://ftp.gimp.org/pub/gtk/v1.0/gtk+-%{ver}.tar.gz
Source: ftp://ftp.gimp.org/pub/gtk/v1.1/gtk+-%{ver}.tar.gz
BuildRoot: /tmp/gtk-root
Obsoletes: gtk
Packager: Marc Ewing <marc@redhat.com>
@ -38,6 +38,10 @@ and GTK is a widget set for creating user interfaces.
%changelog
* Sun Oct 25 1998 Shawn T. Amundson <amundson@gtk.org>
- Fixed Source: to point to v1.1
* Tue Aug 04 1998 Michael Fulbright <msf@redhat.com>
- change %postun to %preun

51
sanity_check Executable file
View File

@ -0,0 +1,51 @@
#!/bin/sh
VERSION=$1
if [ ! -f gtk+-$VERSION.tar.gz ]; then
echo "ERROR: gtk+-$VERSION.tar.gz does not exist..."
exit 1
fi
echo ""
echo "Checking gtk+-$VERSION.tar.gz..."
tar xfz gtk+-$VERSION.tar.gz
for file in README gtk+.spec docs/gtk-config.1
do
echo -n "$file... "
if [ "x`grep $VERSION gtk+-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then
echo "ok"
else
echo "failed."
exit 1
fi
done
echo -n "INSTALL..."
if [ "x`grep $VERSION gtk+-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" == "x2" ]; then
echo "ok"
else
echo "failed."
exit 1
fi
echo -n "NEWS..."
if [ "x`grep "GTK+ $VERSION" gtk+-$VERSION/NEWS | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then
echo "ok"
else
echo "failed."
exit 1
fi
echo ""
echo "Number of lines in created documentation files:"
wc -l gtk+-$VERSION/docs/html/*.html | grep -v total
wc -l gtk+-$VERSION/docs/text/*.txt | grep -v total
wc -l gtk+-$VERSION/docs/*.info | grep -v total
rm -rf gtk+-$VERSION