Commit graph

400 commits

Author SHA1 Message Date
wiz
b5babd494e Update to 2.22.5. Regen patch-aa with autoconf.
Overview of Changes from GLib 2.22.4 to GLib 2.22.5
===================================================

* Bugs fixed:
 568760 nautilus freezes due to a bug...
 609813 Renaming a file discards file notes
 611696 gio uses GetAddrInfo which requires special handing...
 552912 glib-2.18 /live-g-file/test_copy_move failed...
 609143 *result_uncertain is never assigned in g_content_type_guess
 609531 missing licence headers
 610860 test_g_file_open_readwrite fails if $HOME is unwritable
 612702 Fix GSocket-related crash on Windows
2010-03-16 13:41:15 +00:00
drochner
9a4f5b5d4c remove a patch which is either wrong or triggers a bug in NetBSD's
ld.elf_so, seen by Zafer Aydogan and myself
bump PKGREVISION
2010-02-23 20:19:27 +00:00
roy
0211df0277 Refresh 2010-02-19 22:45:42 +00:00
roy
b4d5472437 Reference upstream bug reports. 2010-02-19 19:46:53 +00:00
roy
9419b1e76c Add patches to gmodule so that RTLD_DEFAULT is used on platforms that
define it and g_module_unload symbols are only resolved in the module
and not any dependencies.
2010-02-19 11:44:56 +00:00
drochner
40c031cbc4 update to 2.22.4
changes: minor bugfixes
2010-01-18 18:15:46 +00:00
obache
efa89eea08 glib-2.22.3 contains fixes for upstream Bug#56230,
so remove workaround for PR#41475.
2009-12-08 07:34:29 +00:00
wiz
8db4c343de Update to 2.22.3:
Overview of Changes from GLib 2.22.2 to GLib 2.22.3
===================================================

* Bugs fixed:
 350200 GTypeModule derived class unref does not unload plugin
 598899 GWin32DirectoryMonitor is broken
 563627 g_get_prgname() threadsafety
 572252 Bug in g_file_test() function.
 577711 cross compile check for g++ broken
 598712 can't detect text file with backspace
 541236 not detecting exact content type
 593856 file and directory monitors don't work with --disable-debug
 593809 Nautilus does not restore the position of the icons...

* Updated translations:
 Catalan Valencian
 Estonian
2009-12-06 22:29:41 +00:00
sno
066c56c985 Fixes PR pkg/42336 (STD C99 requires to use XPG6) 2009-11-22 16:51:17 +00:00
hasso
5e1b0bd95d Update to 2.22.2. Changes are too numerous, but major new features
in 2.22.x include:

* GArray, GPtrArray, GByteArray, GTree and GMappedFile can be reference
  counted.
* GLib can be forced to reload the XDG user directory mapping.
* The GLib mainloop supports per-thread default contexts.
* GIO now provides types and methods for IP addresses and UNIX domain
  socket addresses.
* GResolver provides asynchronous and cancellable APIs for resolving
  hostnames, reverse lookup of IP addresses and resolving SRV records.
* Support for network IO has been added to GIO, including low-level
  socket API and high-level API for network connections and services.
* GIOStream and its subclasses have gained support for read-write
  access.
* GIO supports starting and stopping of drives, which can be used
  in connection with external hard disk enclosures, disk arrays, iSCSI
  devices, etc.
* GIO supports user interaction during unmount and eject operations.
* GIO can store and retrieve per-file metadata.
2009-10-15 11:46:25 +00:00
joerg
0bcb2a9eee PR 42090: Use our libtool when deciding what to do and not the included
libtool 2.2.6 which has some issues.
2009-09-22 15:50:46 +00:00
wiz
551eed6814 Update to 2.20.5:
Overview of Changes from GLib 2.20.4 to GLib 2.20.5
===================================================

* Fix a performance problem when trashing multiple files

* Bug fixes:
 593232 g_rand_new: read no more than requested from /dev/urandom
 592457 preserve errno
 591995 use saved errno
 591532 redundant '/' returned from g_file_resolve_relative_path

* Updates translations:
 Catalan (Valencian)
 Galician
2009-08-29 15:20:20 +00:00
sketch
2d2c8eb155 Only apply the _XOPEN_SOURCE hack on Solaris, it break the Linux build. 2009-08-03 10:14:00 +00:00
drochner
40b49f4685 update to 2.20.4
changes:
-bugfixes
-translation updates
2009-07-09 17:33:54 +00:00
wiz
733e96bade Add URL to PR and possible upstream bug report. 2009-06-20 08:35:01 +00:00
sketch
a400dc92d1 Put back patch-aj, it's still required for this to build on Solaris. 2009-06-19 23:43:56 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
7fdde28ea5 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 18:48:07 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
rillig
ad2adba9a5 Ran pkglint --autofix on the devel/ category. Most of the changes are
simple white-space issues like indentation and trailing spaces. The
others are cross-references for Makefile.common.
2009-06-13 06:46:41 +00:00
drochner
2233f3b426 update to 2.20.3
changes:
-bugfixes
-translation updates
2009-06-05 16:08:25 +00:00
obache
0f20985595 Remove build dependency on gtk-doc, related to PR#41475.
It comes from upstream Bug#562310:
http://bugzilla.gnome.org/show_bug.cgi?id=562310
Availability detection of `gtkdoc-rebase' command is depend on the behaviour
of `which' command,  if `which gtkdoc-rebase' return false, do nothing.
It is known as not works as expected on Darwin and Solaris, then failed in
unwanted gtkdoc-rebase execution, and abort.

It is already fixed in upstream gtk-doc repository, but not released yet(1.12?).
So, some packages may contain and be using un-fixed gtk-doc.* files.

For easy to determine whether it is fixed or not, check gtk-doc.make contains
following commit (not using 'which gtkdoc-rebase', but $(GTKDOC_REBASE) macro):

http://git.gnome.org./cgit/gtk-doc/commit/?id=ef5f56ca5fd4a077e6f7a374e8dd333b7a6a8d42
2009-06-03 12:40:32 +00:00
wiz
baf9544fec BUILD_DEPEND on gtk-doc (by including its buildlink3.mk file) to
get gtkdoc-rebase.

Addresses PR 41475 by John D. Baker.
2009-05-26 16:55:23 +00:00
wiz
a32d57b7e3 Remove patch-aj, build fix for Solaris.
Upstream bug report was closed, patch is supposedly not necessary
any longer.
If this is not the case, re-open
	http://bugzilla.gnome.org/show_bug.cgi?id=133344

No PKGREVISION bump since it was a build fix.
2009-05-26 15:42:29 +00:00
wiz
2d01bd940b Add upstream bug report URLs. 2009-05-20 13:07:36 +00:00
wiz
29be5dc394 Update to 2.20.2. Set LICENSE to gnu-lgpl-v2.
Overview of Changes from GLib 2.20.1 to GLib 2.20.2
===================================================

* Bug fixes:
 579862 requesting xattr::foo ends up calling getxattr(...
 573246 g_desktop_app_info_dup() can access NULL pointer

* Updated translations:
 Catalan
 Czech
 Pashto
2009-05-20 11:09:02 +00:00
zafer
8c2c7956a9 umn.edu doesn't provide the distfile anymore. remove master site. ok'd by obache. 2009-04-28 19:41:11 +00:00
drochner
8ba881fedc update to 2.20.1
changes:
-minor bugfixes
-translation updates
2009-04-16 18:51:02 +00:00
adrianp
8c607e57b1 Add a patch for OpenSolaris when other packages include glib/gbacktrace.h
then we need to include sys/select.h before signal.h

http://bugzilla.gnome.org/show_bug.cgi?id=562334

I know of at least rrdtool triggering this bug and failing to build without
this patch.
2009-04-13 21:57:48 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
jmcneill
177b74bebc Accept gamin, bump PKGREVISION 2009-03-15 21:48:05 +00:00
jmcneill
c1dc0bac58 Update glib2 to 2.20.0.
Changes:

2009-03-13  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.20.0 ===

	* configure.in: Bump version to 2.20.0

2009-03-13  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

2009-03-12  Matthias Clasen  <mclasen@redhat.com>

	* glib/gbase64.c: Avoid integer overflows in the base64
	functions. Fixes CVE-2008-4316

2009-03-11  Stef Walter  <stef@memberwebs.com>

	* glib/gchecksum.c: Document and guarantee hex digests will
	be returned in lower case. Fixes bug #574019

2009-03-02  Matthias Clasen <mclasen@redhat.com>

	* configure.in: Bump version

2009-03-02  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.10 ===

2009-03-02  Matthias Clasen <mclasen@redhat.com>

	* configure.in: Bump version

2009-03-02  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.9 ===

2009-03-02  Matthias Clasen <mclasen@redhat.com>

	* NEWS: Updates

2009-03-01  Matthias Clasen <mclasen@redhat.com>

	Bug 572508 – gmarkup speedup ...

	* glib/gmarkup.c: Various optimizations: do less allocations by
	keeping a pool of GStrings, do in-place unescaping, avoid redundant
	utf-8 validation. Patch by Michael Meeks

	* tests/markups/fail-36.gmarkup: Adapt

2009-03-01  Matthias Clasen <mclasen@redhat.com>

	* glib/gthread.c: Fix docs.

2009-03-01  Matthias Clasen <mclasen@redhat.com>

	* tests/slice-threadinit.c: Change one magazine size from 77 to 81
	to make distcheck work on x86-64.

2009-02-27  Tor Lillqvist  <tml@novell.com>

	Bug 167569 - g_string_append_printf crashes on win32 when used
	with a NULL argument

	* glib/gnulib/vasnprintf.c (vasnprintf): Add workaround for buggy
	programs. Patch by Owen.

2009-02-23  Paolo Borelli  <pborelli@katamail.com>

	* glib/gutf8.c (_g_utf8_make_valid):
	sanity check the input paramter.

2009-02-23  Tor Lillqvist  <tml@novell.com>

	Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion
	of function pointer to object pointer

	* glib/gutils.c (g_win32_get_system_data_dirs_for_module): Change
	the type of the function's parameter to be explicitly a function
	pointer.

	* glib/gutils.h (_g_win32_get_system_data_dirs): Modify
	declaration and the only caller, the inline
	_g_win32_get_system_data_dirs(), accordingly. Add comments
	pointing out these are internal GLib functions.

2009-02-22  Matthias Clasen  <mclasen@redhat.com>

	Bug 572151 – “it's” and “its” confused in docs and comments

	* Fix "it's" vs "its" confusion throughout the source. Patch
	by Will Thompson.

2009-02-22  Matthias Clasen  <mclasen@redhat.com>

	Bug 572464 – Doc for g_file_get_contents

	* glib/gfileutils.c (g_file_get_contents): Improve docs. Pointed
	out by Øystein Johansen.

2009-02-22  Matthias Clasen  <mclasen@redhat.com>

	Bug 572672 – glib/gthread.c: argument is different type

	* glib/gthread.c (g_once_init_leave): Add a necessary cast back.
	Pointed out by Kazuki Iwamoto.

2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.8 ===

2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	Fix strict aliasing warnings and viiolations to make GLib and
	GLib users buildable with gcc 4.4. Patch by Jakub Jelinek.

	* glib/gatomic.[hc]: Add G_GNUC_MAY_ALIAS to pointer arguments,
	fix macro versions to only operate on objects of the same size.

	* glib/gdataset.c:
	* glib/gthread.[hc]:
	* glib/gdatasetprivate.h: Remove unnecessary casts in
	g_atomic_pointer_get calls.

2009-02-16  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

2009-02-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.7 ===

2009-02-16  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

2009-02-13  Mathias Hasselmann  <hasselmm@gnome.org>

	Add note about g_utf8_offset_to_pointer() not checking string
	boundaries.

	* glib/gutf8.c (g_utf8_offset_to_pointer()): See summary.

2999-02-11  Matthias Clasen  <mclasen@redhat.com>

	Bug 523742 – Use noinst for non-installable libraries

	* tests/Makefile.am: use noninst_LTLIBRARIES for noninstalled
	libraries.Patch by Björn Lindqvist

2009-02-06  Murray Cumming  <murrayc@murrayc.com>

	* gio/gfilterinputstream.c:
	* gio/gfilteroutputstream.c: Correct the grammar in some property
	documentation.
	* gio/gdatainputstream.c:
	* glib/gregex.c: Correct the spelling of
	occurrence in documentation.

2009-02-02  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

2009-02-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.6 ===

2009-02-02  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

2009-01-31  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

2009-01-31  Matthias Clasen  <mclasen@redhat.com>

	Bug 569105 – g_time_val_to_iso8601() assumes time_t==long

	* glib/gtimer.c (g_time_val_to_iso8601): Pass a time_t* to gmtime().
	Pointed out by Matthias Drochner.

2009-01-27  Christian Persch  <chpe@gnome.org>

	* configure.in:
	* docs/reference/glib/glib-sections.txt:
	* docs/reference/macros_misc.sgml:
	* docs/reference/glib/tmpl/types.sgml: Add
	G_GOFFSET_FORMAT and friends. Bug #563141.

2009-01-23  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/glib/Makefile.am:
	  Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix
	  on problem with the doc build.

2009-01-21  Tor Lillqvist  <tml@novell.com>

	* glib/gwin32.c (g_win32_locale_filename_from_utf8): Drop the code
	in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0). Drop
	unused variables.

2009-01-20  Matthias Clasen  <mclasen@redhat.com>

	Bug 568294 – A wrong reference in the description of
	g_bookmark_file_add_application()

	* glib/gbookmarkfile.c (g_bookmark_file_add_application):
	Fix a typo in the docs. Pointed out by Takeshi Aihana

2009-01-19  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.5 ===

2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/gstrfuncs.c (g_strdup_printf): Fix a doc typo.

2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 512779 – --disable-regex breaks compilation

	* configure.in: Define an ENABLE_REGEX macro

	* gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
	is not defined.

2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/gbsearcharray.h: Quell some compiler warnings.

2009-01-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/pcre: Update to PCRE 7.8

2009-01-17  Matthias Clasen  <mclasen@redhat.com>

	Bug 567977 – textdomain() macro should not return NULL when
	ENABLE_NLS is not set

	* glib/glibintl.h: If !ENABLE_NLS, make textomain() macro
	return "messages" in case of a NULL argument. Patch by
	Peter Kjellerstedt.

2009-01-17  Matthias Clasen  <mclasen@redhat.com>

	Bug 567838 – G_STRUCT_OFFSETOF fails to compile under icc 9.1

	* glib/gmacros.h (G_STRUCT_OFFSETOF): Use offsetof instead of
	__builtin_offsetof, for icc's sake. Proposed by Hrvoje Niksic.

2009-01-13  Matthias Clasen  <mclasen@redhat.com>

	Bug 564728 Add function to decode base64 encoded data in place

	* glib/glib.symbols:
	* glib/gbase64.[hc] (g_base64_decode_inplace): New convenience
	API to decode in place, overwriting the input string. Patch by
	Sebastian Dröge.

2009-01-12  Matthias Clasen  <mclasen@redhat.com>

	* glib/gtestutils.c (g_strcmp0): Be more explicit about the NULL
	handling in the docs.

2009-01-12  Tor Lillqvist  <tml@novell.com>

	* glib/goption.c (parse_arg): Guard against a mis-written
	GOptionArgFunc that has returned FALSE but not set the GError.

2009-01-10  Matthias Clasen  <mclasen@redhat.com>

	Bug 566573 – g_match_info_fetch_pos docs

	* glib/gregex.c: Mention that positions are in bytes.
	Proposed by Christian Persch.

2009-01-10  Matthias Clasen  <mclasen@redhat.com>

	Bug 566569 – gregex docs clarification

	* glib/gregex.c: Copy the warning about @string to all
	relevant docs. Proposed by Christian Persch

2009-01-09  Tor Lillqvist  <tml@iki.fi>

	Bug 567138 - get_package_directory_from_module() does not free its
	lock when failing

	* glib/gwin32.c (get_package_directory_from_module): Obvious fix.

2009-01-05  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

2009-01-05  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.4 ===

	* NEWS: Updates

2009-01-05  Dan Winship  <danw@gnome.org>

	* glib/tests/.gitignore: update

	* tests/.gitignore: update, sort

	* tests/gobject/.gitignore: add

2009-01-05  Tor Lillqvist  <tml@iki.fi>

	Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32

	* glib/gfileutils.c: Move the binary compatibility versions of
	g_file_test(), g_file_get_contents(), g_mkstemp() and
	g_file_open_tmp() last in the file. Remove the restriction that
	the XXXXXX is last in the template in the binary compatibility
	version of g_mkstemp(). Thanks to Morten Welinder and Jody
	Goldberg.

2009-01-03  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

2009-01-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gregex.c: Add an example to the g_regex_replace_eval() docs.

2009-01-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gstrfuncs.c: Move docs inline, adding references to g_free()
	where appropriate.

2009-01-02  Matthias Clasen  <mclasen@redhat.com>

	Bug 564210 – SUN Studio 12 has supported visibility attribute

	* configure.in: Use visibility attribute for new enough sun cc.
	Patch by Chris Wang

2008-12-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 565905 – There is no named g_context_group_set_translation_domain()
	in GOption command line parser

	* glib/goption.c: Fix a wrong reference in the docs, reported by
	Takeshi Aihana.

2008-12-30  Matthias Clasen  <mclasen@redhat.com>

	* glib/gspawn.c:
	* glib/gthread.c:
	* glib/goption.c:
	* glib/gmain.c:
	* glib/gkeyfile.c:
	* glib/gfileutils.c:
	* glib/gdate.c:
	* glib/garray.c:
	* glib/gbookmarkfile.c:
	* glib/gbacktrace.c: Fix some compiler warnings.

2008-12-19  Tor Lillqvist  <tml@novell.com>

	* glib/glib.symbols: Add g_thread_get_initialized here,
	too. Surround g_test_config_vars with ifdef INCLUDE_VARIABLES.

2008-12-18  Mike Kestner <mkestner@novell.com>

	Bug 560676 - function access for g_threads_supported

	* glib/gthreads.c (g_thread_get_initialized): new accessor for
	g_threads_supported macro.
	* glib/gthreads.h: add g_thread_get_initialized

2008-12-15  Matthias Clasen <mclasen@redhat.com>

	* configure.in: Bump version

	* === Released 2.19.3 ===

2008-12-13  Matthias Clasen <mclasen@redhat.com>

	* NEWS: Updates

2008-12-12  Dan Winship  <danw@gnome.org>

	* glib/pltcheck.sh: make this work on x86_64

2008-12-12  Behdad Esfahbod  <behdad@gnome.org>

	* glib/guniprop.c: Improve g_unichar_iswide_cjk() docs.

2008-12-07  Matthias Clasen  <mclasen@redhat.com>

	Bug 508021 – Add support for the CRIS and CRISv32 architectures

	* configure.in:
	* glib/gatomic.c: Add an implementation for the CRIS and CRISv32
	architectures, by Peter Kjellerstedt

2008-12-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c: Some more documentation additions.

2008-12-01  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

2008-12-01  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.2 ===

2008-12-01  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

2008-12-01  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.1 ===

	* NEWS: Updates

2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

	Bug 562639 – g_parse_debug_flags() parsing "help"

	* glib/gutils.c (g_parse_debug_string): Print available keys if
	string is "help".

2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

	Bug 562638 – GDebugKey key member should be const

	* glib/gutils.h: Change GDebugKey key member from gchar * to
	const gchar *.

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 547264 – Missing "no flags" flag

	* glib/gregex.c: Mention 0 as value for 'no flags' in some places..
	Pointed out by Bastien Nocera

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 562544 – g_key_file_get_string and g_key_file_get_value
	documentation does not explain the difference

	* glib/gkeyfile.c (g_key_file_get_string): Explain the difference
	to g_key_file_get_value(). Pointed out by Mart Raudsepp.

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c: Refer to @locale parameters as locale identifier
	in docs.

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 557603 – carbon check output misplaced

	* configure.in: Call AC_PROG_CPP early to avoid it messing up
	carbon check output. Fix proposed by Christian Persch

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 559110 – Do not include libintl.h after glibintl.h

	* glib/glibintl.h: Define bind_textdomain_codeset in the DISABLE_NLS
	branch. Patch by Peter Kjellerstedt.

	* glib/gutil.c: Don't include libintl.h directly.

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 562378 – callback return value not respected for callback option
	with no arg

	* glib/goption.c (parse_long_option): Return the parse_arg return
	value even for no-arg callbacks. Patch by Christian Persch

	* glib/tests/option-context.c: Add a test for a callback which
	returns FALSE.

2008-11-23  Christian Persch  <chpe@gnome.org>

	Bug 559413 – g_option_group_set_error_hook docs buglet

	* glib/goption.c: Doc fix.

2008-11-23  Christian Persch  <chpe@gnome.org>

	Bug 560568 – gkeyfile docs buglet

	* glib/gkeyfile.c: Clarify the docs.

2008-11-23  Christian Persch  <chpe@gnome.org>

	Bug 560569 – gkeyfile doesn't use the set list_separator in some cases

	* glib/gkeyfile.c: (g_key_file_get_locale_string_list),
	(g_key_file_set_locale_string_list), (g_key_file_set_integer_list),
	(g_key_file_set_double_list): Use the key file's list separator character,
	not the default one.

	* glib/tests/keyfile.c: (test_lists), (test_reload_idempotency): Test
	this.

2008-11-21  Christophe Fergeau <teuf@gnome.org>

	Bug 561212 – GFileReadMoreCallback API doc refers to non-existant function

	* gio/giotypes.h: fix name of function referred to in
	GFileReadMoreCallback API documentation

2008-11-21  Matthias Clasen <mclasen@redhat.com>

	* configure.in: Bump gtk-doc dependency to 1.11 for
	nicer index-generation.

2008-11-14  Matthias Clasen <mclasen@redhat.com>

	* NEWS: Updates

2008-11-04  Christian Dywan  <christian@imendio.com>

	Bug 558672 – NULL key lookup using g_hash_table_lookup_extended()

	* glib/ghash.c:
	Clarify g_hash_table_lookup_extended

2008-11-02  Tor Lillqvist  <tml@novell.com>

	* configure.in: Expand also build/win32/vs9/Makefile.

2008-10-31  Christian Dywan  <christian@imendio.com>

	Bug 558513 – g_warn_if_fail FIXME in gtestutils

	* glib/gtestutils.c (g_test_log_send):
	Turn g_assert into g_warn_if_fail as advised

2008-10-31  Grahame Bowland  <grahame@angrygoats.net>

	Bug 558185 – 'parent' variable in g_local_file_get_child_for_display_name()
	hits g_object_unref(NULL) assertion

	* gio/glocalfile.c:
	- remove unused variable. Patch by Matt Johnston <matt@ucc.asn.au>

2008-10-29 16:11:14  Tim Janik  <timj@gtk.org>

	* glib/gmacros.h: added G_PASTE() and G_STATIC_ASSERT(), based on
	patches by Christian Persch and Christian Dywan. Fixes:
	Bug 558381 - Add support for compile time assertions

2008-10-27  Joseph Pingenot  <gnomesvn@digitasaru.net>

	* glib/ghash.c: changed "#GHashTableIterator" to "#GHashTableIter"
	in the documentation-comments above g_hash_table_foreach_remove()
	and g_hash_table_foreach_steal() to correctly name and link to
	GHashTableIter.  This affects the GNOME documentation website
	as well, so further steps are likely necessary beyond this subproject..

2008-10-23 Matthias Clasen <mclasen@redhat.com>

	Bug 557210 – g_compute_checksum_for_* asserts with less than 2 bytes

	* glib/gchecksum.c (g_compute_checksum_for_data): Accept
	lengths < 2. Patch by Tommi Komulainen

	* tests/checksum-test.c: Add a test for this

2008-10-23 Matthias Clasen <mclasen@redhat.com>

	Bug 556921 – gpoll.h breaks hal compilation

	* glib/gpoll.h: Include gtypes.h. Pointed out by Anis Elleuch

2008-10-20 Christian Persch <chpe@gnome.org>

	Bug 557087 – mem leak in g_content_types_get_registered

	* gio/gcontenttype.c: Plug a mem leak.

2008-10-19  Michael Natterer  <mitch@imendio.com>

	Bug 556186 – gpoll.h breaks gmain.h inclusion

	* glib/gpoll.h: different fix: disallow direct inclusion
	unconditionally again but make an exception if included from
	gmain.h to maintain compatibility.

2008-10-16  Matthias Clasen <mclasen@redhat.com>

	* configure.in: Bump version to 2.19.1

	* === Released 2.19.0 ===

	* NEWS: Updates

2008-10-14  Christian Persch <chpe@gnome.org>

	Bug 556186 – gpoll.h breaks gmain.h inclusion

	* glib/gpoll.h: Only disallow direct inclusion when
	G_DISABLE_SINGLE_INCLUDES is defined.

2008-10-13  Sven Herzberg  <sven@imendio.com>

	Bug 556101 – static mutex yields warnings with g++
	Reviewed by Tim Janik

	* configure.in: added an intermediate cast to gpointer

2008-10-13  Christian Persch <chpe@gnome.org>

	Bug 555311 – format not a string literal and no format arguments

	* glib/gmarkup.c:
	* glib/gshell.c: Use literal errors where appropriate.

2008-10-10  Behdad Esfahbod  <behdad@gnome.org>

	Bug 551355 – [PATCH] Make glib build with libtool 2.2

	* autogen.sh: Accept libtool 2.2.   We are moving towards having
	it working.

2008-10-10  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in: With libtool 2.x, regenerate libtool early.
	Based on bug 552107, patch by Patryk Zawadzki

2008-10-10  Matthias Clasen  <mclasen@redhat.com>

	Bug 554557 – Patch to fix gcc warnings about missing format
	specifiers

	* glib/gmarkup.c:
	* glib/gshell.c:
	* glib/grel.c: Fix gcc warnings. Patch by Kjartan Maraas

2008-10-10  Matthias Clasen  <mclasen@redhat.com>

	Bug 552861 – glib-2.0.m4 calls system(3) without storing its result

	* m4macros/glib-2.0.m4: Cosmetic change to make -Werror happy.
	Patch by Andreas Köhler

2008-10-08  Christian Persch  <chpe@gnome.org>

        Bug 555313 – GFileAttribute boxed type get_type function should
        use usual get_type pattern

        * gio/gfileattribute.c (g_file_attribute_info_list_get_type): Use
        g_once_init_enter/leave.

2008-10-08  Christian Persch  <chpe@gnome.org>

        Bug 555314 – mem leak in gmarkup

        * glib/gmarkup.c: (g_markup_parse_context_parse): Plug a mem leak.

2008-10-08  Tor Lillqvist  <tml@novell.com>

	Bug 554790 - g_convert() misbehaves with winiconv versions

	* glib/win_iconv.c (kernel_mbtowc): If converting from ASCII,
	explicitly check for and reject 8bit chars. MultiByteToWideChar()
	doesn't, at least not on XP.

2008-10-06  Matthias Clasen  <mclasen@redhat.com>

	* glib/gtypes.h: Properly include gmacros.h

2008-10-06  Behdad Esfahbod  <behdad@gnome.org>

	Bug 555309 – giochannel breaks on error
	Patch from Christian Persch

	* glib/giounix.c (g_io_unix_read), (g_io_unix_write),
	(g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags):
	Don't shadow err.  Oops!

2008-10-06  Christophe Fergeau  <teuf@gnome.org>

	Bug 555224 – Improve g_format_size_for_display doc

	* glib/gfileutils.c: change g_format_size_for_display API doc to
	explicitly say that the returned string has to be freed. Change
	spelling of "newly allocated" to "newly-allocated" in g_file_read_link
	API doc to be more consistent with what is done in that file.

2008-10-01  David Zeuthen  <davidz@redhat.com>

	* README.in: Add "Notes about glib 2.20" section detailing the
	ramifications of the patch from bug #528670.

2008-09-30  Behdad Esfahbod  <behdad@gnome.org>

	Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X

	* glib/giounix.c (g_io_unix_read), (g_io_unix_write),
	(g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags),
	(g_io_unix_get_flags), (g_io_channel_new_file):
	Like mclasen says: "well, thats the way errno works...,
	save it or loose it".  Save errno.

2008-09-30  Tor Lillqvist  <tml@novell.com>

	* Makefile.decl
	* glib/tests/Makefile.am: Bypass gtester related stuff on Windows.

2008-09-30  Tor Lillqvist  <tml@novell.com>

	* glib/gprintf.c
	* glib/gnulib/vasnprintf.c: Don't define _GNU_SOURCE on Windows,
	as _GNU_SOURCE has unintended side effects when compiling against
	newest mingw headers.

2008-09-26  Dan Winship  <danw@gnome.org>

	Bug 553447 – g_assert_no_error()

	* glib/gtestutils.h (g_assert_no_error, g_assert_error): Macros to
	assert that a GError is not set, or else is set to a particular
	error.

	* glib/gtestutils.c (g_assertion_message_error): utility for
	those macros

	* glib/tests/keyfile.c:
	* tests/asyncqueue-test.c:
	* tests/bookmarkfile-test.c:
	* tests/convert-test.c:
	* tests/file-test.c: Use g_assert_error/g_assert_no_error

2008-09-26  Dan Winship  <danw@gnome.org>

	* glib/gthreadpool.c (wakeup_thread_marker): make this a "const
	gpointer" rather than a gconstpointer to avoid warnings later

	* glib/pcre/pcre_ucp_searchfuncs.c:
	* glib/pcre/pcre_valid_utf8.c: #include "config.h"

	* glib/tests/printf.c (test_d): fool gcc into not warning about
	some printf format strings that we know are dubious

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

	Bug 553857 – gbacktrace.h requires signal.h

	* glib/gbacktrace.h: Include signal.h for raise().
	Pointed out by Sebastien Bacher

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

	Bug 553724 – python interpretter path not patched in correctly

	* glib/Makefile.am: Fix the sed magic to replace python.

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmain.c: Add some more docs.

	* glib/giochannel.c: Move more docs inline, and improve them
	on the way.

2008-09-25  Tor Lillqvist  <tml@novell.com>

	Bug 553820 - gpoll.c: undeclared identifier

	* glib/gmain.c
	* glib/gpoll.c: Make the g_poll() function non-static also on
	Windows. Prefix an underscore to the g_main_poll_debug variable
	and make it non-static in gmain.c so that it can be used in
	gpoll.c. Add back missing variable declaration.

2008-09-25  Tor Lillqvist  <tml@novell.com>

	* glib/gspawn-win32.c (do_spawn_with_pipes) (do_spawn_directly):
	Just ignore the child_setup function, never call it. The is no
	situation in which it could be useful on Windows. Do print a
	warning, like before.

	* glib/gspawn.c (g_spawn_async_with_pipes): Corresponding change
	in documentation.

2008-09-24  Sven Herzberg  <sven@imendio.com>

	Be a little more explcit in the docs. Includes Owen's requested
	changes.

	* glib/gmain.c: improved documentation for g_source_attach() and
	g_source_destroy()

2008-09-23  Michael Natterer  <mitch@imendio.com>

	* glib/glib.h: #include <glib/gpoll.h>

	* glib/gpoll.h: #error out if gpoll.h is included directly.

	* glib/gpoll.c: remove trailing whitespace.

2008-09-23  Dan Winship  <danw@gnome.org>

	* glib/gpoll.[ch] (g_poll): Move this out of gmain.c and make it part
	of the public API. (Part of Bug 505361 - gunixinputstream.c assumes
	poll() available.)

2008-09-23  Tor Lillqvist  <tml@novell.com>

	* glib/gmain.c (poll_rest) [Win32]: Fix embarrassing bug: I was
	passing an incorrect third parameter to memmove(), had forgotten
	to multiply by the size of the table entry. Just use a for loop
	instead, clearer. Odd I didn't notice when testing this code.

2008-09-19  Hans Petter Jansson  <hpj@novell.com>

	Rewrite most of GHashTable to use open addressing with quadratic
	probing instead of chaining. This has the potential to reduce memory
	fragmentation significantly, while being slightly faster due to
	better locality and no need to call alloc/free functions for nodes.
	Benchmarks suggest it also uses less memory overall.

	* glib/ghash.c (prime_mod): Table of suitable primes for
	initial-probe distribution.
	(g_hash_table_set_shift): New function.
	(g_hash_table_find_closest_shift): New function.
	(g_hash_table_set_shift_from_size): New function.
	(g_hash_table_lookup_node_for_insertion): New function.
	(g_hash_table_lookup_node): Rewritten to return node index instead of
	pointer, use quadratic probe on flat table, and not return insertion
	data. The latter saves some computation for read-only lookups.
	(g_hash_table_remove_node): Rewrite to take a pointer directly to the
	node structure to remove, and clear that. Remove unlinking code.
	(g_hash_table_remove_all_nodes): Rewrite to not clear nodes
	individually, but en masse using memset () after potentially calling
	notify functions.
	(iter_remove_or_steal): Use new data structure and algorithm. Vastly
	simplified - now just a call to g_hash_table_remove_node ().
	(g_hash_table_resize): New resize code, re-indexing with new prime
	and cleaning up tombstones.
	(g_hash_table_maybe_resize): Table may hold 8 buckets minimum, no less
	than 1/4 load excluding tombstones, and no more than 15/16 load
	including tombstones. These numbers are the results of a lot of
	benchmarking with multiple complex applications, and should not be
	changed lightly.
	(g_hash_table_iter_next)
	(g_hash_table_lookup)
	(g_hash_table_lookup_extended)
	(g_hash_table_insert_internal)
	(g_hash_table_remove_internal)
	(g_hash_table_foreach_remove_or_steal)
	(g_hash_table_foreach)
	(g_hash_table_find)
	(g_hash_table_get_keys)
	(g_hash_table_get_values): Use new data structure and algorithm,
	fairly trivial changes.

2008-09-19  Tor Lillqvist  <tml@novell.com>

	* glib-zip.in: Look for man pages in share/man.

	* glib/gutils.c (_glib_get_dll_directory)
	* glib/gspawn-win32.c (do_spawn_with_pipes): Be a bit less
	restrictive, look for the helper programs in the same folder where
	the GLib DLL is, not necessarily in a "bin" subfolder of the top
	GLib installation folder.

2008-09-18  Matthias Clasen <mclasen@redhat.com>

	* configure.in: Bump version to 2.19.0

	* ChangeLog.pre-2-18: rotate ChangeLog

	* === branch for 2.18 ===
2009-03-15 13:32:31 +00:00
drochner
1a22ad5df0 fix a case where time_t==long is assumed, bump PKGREVISION 2009-01-25 16:56:20 +00:00
wiz
6f7090473a Update to 2.18.4:
Overview of Changes from GLib 2.18.3 to GLib 2.18.4
===================================================

* Bugs fixed:
 562378 callback return value not respected...
 559110 Do not include libintl.h after glibintl.h
 562562 glib-2-18 branch does not build because...
 566348 g_file_open_tmp uses the wrong g_mkstemp on win32
 564210 SUN Studio 12 has supported visibility attribute
 567138 get_package_directory_from_module() does not free...
 561807 inotify_sub.c :: dup_dirname() fails to remove trailing '/'
 562393 g_buffered_input_stream_read_byte broken if data available
 541715 patch for warnings and signature problems in recent code
 547481 g_data_input_stream_read_line behaves not as stated...
 548163 Nautilus displays wrong error message for too long filenames
 559633 gtk_image_new_from_gicon does not always work...
 526320 should not list mounts that the user doesn't have permission
 558458 Cannot build gio tests on Solaris using SUN c
 558298 Hide ecryptfs mounts
 515777 incorrect date&time on copy
 566064 Add NOATIME flag to query_info_flags
 565484 g_content_type_guess passes non-UTF8 text to XDG functions
2009-01-12 13:06:15 +00:00
wiz
62826df0ac Avoid gtkdoc-rebase problem for Solaris as well.
Fixes PR 40031 by Jörn Clausen.
2008-12-24 15:34:27 +00:00
obache
c024715042 Add gtkdoc-rebase to TOOLS_NOOP on Darwin, for workaround of Bug#562310. 2008-12-21 05:03:34 +00:00
tnn
5c920ede6c regen patch-aa from patch-ak to silence patch warning about missing hunk 2008-12-08 16:10:19 +00:00
dmcmahill
07a6ecabec add some missing headers 2008-12-01 15:27:52 +00:00
wiz
96b91d6f0b Some cleanup.
Remove an ancient workaround for gcc2 on sparc64.

XXX: I don't get why options.mk is not included on HPUX and OSF1;
it could pull in the fam package like on other platforms, or just default
fam to off on those platforms if the fam package does not work on those
platforms.
2008-12-01 13:25:47 +00:00
ahoka
54f48a47e3 Compensate QNX's lack of SA_RESTART flag (It can be safely ignored).
Maybe this could be autoconf (but defining HAVE_SA_RESTART if
SA_RESTART is defined would be awkward (wouldn't it?).
2008-11-30 22:25:01 +00:00
jmcneill
18a90f1cdb From FreeBSD ports: gio/gunixmounts.c: poll the list of mounted filesystems
since we can't rely on checking for mtab updates like other systems. Bump
PKGREVISION.
2008-11-29 19:09:04 +00:00
wiz
ad3842d122 Update to 2.18.3:
Overview of Changes from GLib 2.18.2 to GLib 2.18.3
===================================================

* Build with libtool 2.x

(Seems to work fine with pkgsrc libtool though, at least for now)

* Bugs fixed:
 557087 mem leak in g_content_types_get_registered
 558185 'parent' variable in g_local_file_get_child_for_display_name()
         hits g_object_unref(NULL) assertion
 557210 g_compute_checksum_for_* asserts with less than 2 bytes
 528320 Incorrect icons displayed for files with custom mimetype icons
 557592 Missing include in gwinhttpfile.c
 556415 Crash on Windows 2000 in g_winhttp_vfs_init()
 556910 Memory leak: sub
 561352 Leak of icon description
 561375 Leaks mountpoint description
 560569 gkeyfile doesn't use the set list_separator in some cases
 560568 gkeyfile docs buglet
 559413 g_option_group_set_error_hook docs buglet

* Updated translations:
 Arabic (ar)
2008-11-24 14:27:44 +00:00
wiz
a1e819f983 Update to 2.18.2:
Overview of Changes from GLib 2.18.1 to GLib 2.18.2
===================================================

* Bugs fixed:
 553724 python interpreter path not patched in correctly
 553857 gbacktrace.h requires signal.h
 554790 g_convert() misbehaves with winiconv versions
 555314 mem leak in gmarkup
 554970 segfault when update-desktop-database is not available...
 555121 Improved build-time handling of gio module-dir
 555711 Wrong fallback order of mimetype icons
 556334 Warning when building without selinux support

* Updated translations:
 Arabic (ar)
 Danish (da)
 Estonian (et)
 Gujarati (gu)
 Norwegian (nb)
 Polish (pl)
 Brazilian Portugese (pt_BR)
 Romanian (ro)
 Russian (ru)
 Serbian (sr)
 Tamil (ta)
2008-10-24 15:59:52 +00:00
tnn
2da9e21172 Overview of Changes from GLib 2.18.0 to GLib 2.18.1
===================================================

* Bugs fixed:
 550433 g_test_init doesn't recognize --help
 523463 Core dump in gmain.c:2482:IA__g_main_context_check
 551228 G_STRFUNC on recent Sun compiler should be expanded...
 551410 gtestutils.c: using printf without prototype
 551731 g_date_set_time[_t] docs should mention what timezone
 548321 <string.h> is not included in gi18n-lib.h
 551149 xdgmime mem leak
 550647 synchronous pipe I/O when reading mount reply
 551887 Docs for g_desktop_app_info_new_from_filename aren't...
 551681 g_content_type_guess() too naive with filenames
 552352 g_app_info_launch doesn't work if "Path" key...
 551408 gmodule.def generated to builddir...
 552359 g_file_info_get_icon should return GThemedIcon, and...

Also updated translations.
2008-10-06 15:20:26 +00:00
obache
5ff335469b Update glib2 to 2.18.0.
Based on patch provided by Juan RP in pkgsrc-users ml.

Overview of Changes from GLib 2.17.7 to GLib 2.18.0
===================================================

* Win32:
  - rework the g_poll() implementation to match poll() semantics more closely

* Bugs fixed:
 324234 Using g_io_add_watch_full() to wait for connect() to return...
 548278 Async GETs connections are always terminated unexpectedly...
 500246 Bug fixes for giowin32
 523939 Example program for GValue
 550096 GBookmarkFile parser is not forward compatible
 550040 Move GString, rand and printf tests to the unit test framework
 550104 trivial documentation fix for g_get_home_dir
 548988 g_file_replace fails on Windows when the target file exists
 550059 Wrong docs for g_emblemed_icon_add_emblem
 548800 Missing a g_object_get_type function
 550056 Missing documentation for g_emblemed_icon_get_emblems

* Updated translations:
 Bulgarian (bg)
 Czech (cs)
 German (de)
 Estonian (et)
 Basque (eu)
 French (fr)
 Hebrew (he)
 Hungarian (hu)
 Italian (it)
 Japanese (ja)
 Lithuanian (lt)
 Maithili (mai)
 Dutch (nl)
 Swedish (sv)
 Thai (th)
 Ukrainian (uk)
 Vietnamese (vi)


Overview of Changes from GLib 2.17.6 to GLib 2.17.7
===================================================

* More fixes for 64-bit Windows

* GIO
 - Add a vfs implementation for HTTP and HTTPS URIs on Windows

* Bugs fixed:
 546329 API docs for g_utf8_normalize() are incorrect
 546876 Modify GMarkup parser to accept &#x1; .. &#x1f;
 547200 g_utf8_find_next_char() issues
 547637 unconditional #include of sys/statfs.h in configure
 547337 G_DISABLE_DEPRECATED breaks tests build
 547832 gtk+-2.12.11 fails to build - AC_PROG_MMAP too strict
 502498 Test framework assertion failures should follow gcc
 546371 Improve docs re g_file_monitor
 546483 GThemedIcon:use-default-fallbacks is not readable without...
 546132 GFileIcon is bindings-unfriendly
 542156 zfs mount in home directory shown on nautilus desktop
 535124 umask 002 not being applied for new directories...
 547080 g_file_copy leaks expected errors
 546582 Callbacks from GFileMonitor present a GFile...
 547262 Missing link in the docs

* Updated translations:
 Arabic (ar)
 Catalan (ca)
 Spanish (es)
 Basque (eu)
 Finnish (fi)
 Galician (gl)
 Hebrew (he)
 Marathi (mr)
 Norwegian bokmål (nb)
 Portugese (pt)
 Brazilian Portugese (pt_BR)
 Swedish (sv)
 Thai (th)


Overview of Changes from GLib 2.17.4 to GLib 2.17.6
===================================================

* Fix problems on 64-bit Windows

* g_markup_context_get_user_data: New function to access
  the user_data outside of callbacks

* GIO
 - g_mount_guess_content_type_sync: synchronous version of
   g_mount_guess_content_type
 - GEmblem: A GIcon implementation that adds emblem-related
   metadata to icons
 - GEmblemedIcon: A GIcon implementation that can add emblems
   to icons

* Bugs fixed:
 544088 option_test_LDADD is left in tests/Makefile.am
 544465 gmarkup makes it hard to use pre-rolled parsers
 545485 Implicit declaration of utime()
 545798 "Since: 2.18" mark is missing in g_set_error_literal...
 544140 fam-helper 64-bit issue
 529694 SELinux context setting support
 545157 wrong/no list of "open with" applications for .cc...
 545203 gfile.c: argument is different type
 545457 gdmsetup crashed with SIGSEGV in g_unix_mount_guess...
 544177 Fix trivial cut and paste error in documentation
 545395 Language tweak for g_value_set_string* docs
 541036 Gnumeric crashes when trying to open Desktop...
 546079 leak in xdgmime
 545395 Language tweak for g_value_set_string* docs
 546017 Don't copy attributes when copying a symlink

* Updated translations:
 Arabic (ar)
 Estonian (et)
 Galician (gl)
 Italian (it)
 Japanese (ja)
 Korean (ko)
 Norwegian bokmål (nb)
 Pashto (ps)
 Portugese (pt)


Overview of Changes from GLib 2.17.3 to GLib 2.17.4
===================================================

* GIO:
 - New API to handle content types: g_mount_guess_content_type,
   g_content_type_guess_for_tree.
 - Export the eject-button signal on the volume monitor class
 - New API to enable out-of-process volume monitors:
   g_volume_get_activation_root

* GObject:
 - New API to handle signals without slots in the class structure:
   g_signal_new_class_handler, g_signal_override_class_handler

* Internationalization:
 - Add an NC_ macro that is a no-op equivalent of C_

* GMarkup:
 - Add two new functions g_markup_parse_context_push,
   g_markup_parse_context_pop to support "subparsers"

* Bugs fixed:
 541208 Functions to easily install and use signals without...
 541507 Ambiguous description of assigned characters in the...
 543040 async reading on dummy file will crash on GIO_USE_VFS=local
 543560 enable gio-FEN back-end warnings on Solaris will crash...
 528317 GRegex does not allow recursion limit
 337518 GMarkup: Subparser support
 541794 drive-eject-button signal
 541793 activation root for volumes
 467707 test_iconv_state() in tests/convert-test.c fails on AIX 5.3
 428048 2 of 51 tests fail on Solaris
 542332 small fix for error message in GMarkup
 482413 get_contents_stdio -- overflow and memory corruption
 406120 g_ascii_strtod
 334234 "printf" format error
 536996 Missing noop i18n macro equivalent to C_
 540616 mem leak in filechooser button
 539229 gobject-query calls itself query
 521589 [RFC] gobject documentation should mention Vala
 543168 Description of G_SLICE=debug-blocks discourages its use
 543220 Case collision on gio-extension-points.html
 530759 update the gobject tutorial to the XXI century
 535223 gbookmark file inefficiency ...
 543504 crash in Epiphany Web Browser: Opening local file

* Updated translation:
 German (de)
 Estonian (et)
 Pashto (ps)
 Albanian (sq)
 Thai (th)
 Traditional Chinese (zh_HK)
 Traditional Chinese (zh_TW)


Overview of Changes from GLib 2.17.1 to GLib 2.17.3
===================================================

* PCRE
 - fix for CVE-2008-2371

* Bugs fixed:
 538119 glib's mainloop leaks a pipe to sub-processes
 537635 Corrections and improvements to g_time_val_{to,from}_iso8601
 539067 The document g_io_channel_win32_new_fd() says...
 535949 annotate g_strip_context and g_dpgettext with G_GNUC_FORMAT
 539123 annotate g_d[n]gettext with G_GNUC_FORMAT
 539074 Cannot get exit status with g_spawn_command_line_sync
 316221 G_LOCK warns about breaking strict-aliasing rules
 539770 migrate gstrfunc unit tests to gtest
 539626 Update docstrings for g_object_freeze_notify and g_object_thaw_notify
 538044 unconditional use of LC_MESSAGES
 540545 Monotonic time and timer offset
 535947 want g_set_error_literal
 539999 glibconfig.h: add GLIB_USING_SYSTEM_PRINTF
 536252 GFileEnumerator should allow access to the containing GFile
 538362 Get Win32 icons back in the file chooser
 540802 g_list_prepend doesn't concat lists
 540423 unrecoverable error after g_seekable_truncate
 538836 make check failure on PPC and ALPHA: pltcheck.sh on g_atomic_pointer_get
 539090 g_content_type_from_mime_type() should unalias
 540331 g_file_append_to () documentation: can return NULL
 534639 add g_desktop_app_info_new_from_keyfile
 536733 gio build failure on Irix
 536160 Add g_file_monitor()
 538127 FileChooser broken on win32
 531476 /live-g-file/test_traverse_structure test fails on Mac HFS+
 538564 gio should have gio-types.h
 540047 glib-genmarshal.c: '#include <io.h>' is too before

Updated translations:
 Korean (ko)
 Occitan (oc)


Overview of Changes from GLib 2.17.0 to GLib 2.17.1
===================================================

* New function: g_utime(), a gstdio wrapper for utime()

* New functions: g_dgettext() and g_dngettext(), wrappers
  for corresponding gettext functions with added functionaliy

* Support the latest version of the shared-mime spec, including
  icons for mime types

* New function: g_themed_icon_prepend_name()

* Bugs fixed:
 535418 Please document which glib version defines goffset
 528715 Misprint in the description of the interface g_type_class_add_private
 528714 Misprint in the description of the interface g_param_spec_flags
 537260 Doc bug in G_TYPE_INSTANCE_GET_CLASS()
 530527 Misprint in the description of the interface
        g_cclosure_marshal_VOID__FLAGS
 530526 Misprint in the description of the fields 'class_init' and
        'class_finalize' of the structure GTypeInfo
 528719 Improvement to the documentation of the "g_object_connect" interface
 528172 gtk_signal_handlers_unblock_* functions return value
        amount of matched signals, not amount of actually unblocked
 528717 Misprint in the description of the parameter 'type_id' for
        the interface g_type_register_fundamental
 528716 Misprint in the description of the parameter 'iface_data' for
        the callback types GInterfaceInitFunc and GInterfaceFinalizeFunc
 537555 GObject instantiation not thread safe
 537546 'desktop' shortcut in file chooser looks like a generic folder
 537392 Additional colon in xattr name
 536641 Filesystem querying in gio does not list AFS and autofs file systems
 528600 g_dummy_file_get_parent("scheme://example.com/")
 503071 Application direction changes to right to left even if theres no
        translation
 502511 g_assert_cmphex prints invalid message
 338162 Use po/LINGUAS
 314453 Nautilus crashes in Solaris when browsing the attached file
 529321 make check fails in glib/pcre
 455215 g_get_user_special_dir: no reference about G_USER_DIRECTORY_DOWNLOAD
        fallback to $HOME/Desktop if xdg-user-dirs is not in use
 498732 g_key_file_to_data cannot fail
 511367 add g_file_make_directory_with_parents
 531900 Use __builtin_offsetof for G_STRUCT_OFFSET if building with
        gcc 4.0 or newer
 536158 also bump GHashTable version when a node is removed via
        g_hash_table_iter_remove()/g_hash_table_iter_steal()
 531403 g_utf8_collate broken on Mac
 535628 test/patterntest.c still includes gpattern.h directly
 535625 alias.h:2648: error: 'utime' undeclared here (not in a function)

* Translation updates:
 Arabic (ar)
 German (de)
 Italian (it)
 Norwegian bokmål (nb)
 Thai (th)


Overview of Changes from GLib 2.16.x to GLib 2.17.0
===================================================

* Update to Unicode 5.1

* Update included libcharset to the one shipped with libiconv 0.12

* Update included PCRE to 7.7

* Enforce that only toplevel headers are directly included.
  This is turned on by default for GObject and GIO. To turn
  it on for GLib, define G_DISABLE_SINGLE_INCLUDES.

* Fix library version of GIO.  GLib 2.16 shipped with libgio-2.0.so.0.0.0

* On Solaris, use FEN for file monitoring in GIO

* Use the GIO_EXTRA_MODULES environment variable to find
  additional GIO modules

* G_GNUC_ALLOC_SIZE: New macro that wraps the gcc alloc_size
  function attribute

* g_checksum_reset: New function to reset the state of a GChecksum

* g_unix_mount_monitor_set_rate_limit: New function to limit the
  rate at which events are reported

* g_file_query_file_type: New utility function to query the type of
  a file

* g_memory_output_stream_get_data_size: New function to obtain the
  size of the written data.

* Bugs fixed:
 522292 Gives warnings in glib/gutils.h with GCC in C99 mode
 523298 win_iconv can't convert from UTF-8 to GB18030 (or vice versa)
 518160 replace two g_strdup_printf calls in GBookmarkFile
 523877 gbookmarkfile: avoid using g_string_append_printf() and
        other optimizations
 525192 100% CPU if run main loop with no IO sources
 315437 extern inline -> static inline
 524314 g_convert() on Win32 implicitly converts full width
        alphanumerics into half width
 525732 Error in documentation for g_list_first
 525674 A typo in gmarkup.c
 448943 g_timeout_add_seconds() problems
 525972 UCS-4 not in the new win_iconv implementation
 526619 make test-report crash
 491554 Update to Unicode 5.1.0
 519137 g_slice_dup macro needs cast for 64-bit platform
 528752 Win32 build and SSL not working
 530457 G_USER_DIRECTORY_DOWNLOAD folder improperly mapped
 528667 Typos in testing module documentation
 459905 Bug in wcwidth data
 534085 g_unichar_iswide_cjk() has a totally wrong table
 501651 Update glib/libcharset
 519026 G_STMT_START/G_STMT_END test a non-existent preprocessor symbol
 534319 GLib's .pc files could use Libs.private
 534137 Typo in g_spawn_async_with_pipes doc
 517419 gio win32 directory monitor
 526796 Wrong order of arguments in g_file_copy's fallback
 530196 _g_local_file_has_trash_dir() doesn't handle st_dev == 0
 532965 Should not return filesystem::free for certain file systems
 525553 fix typo and nitpicking in GArray documentation
 526572 Missing * in declaration of parent_class in Object
        Destruction section of GObject Reference Manual
 528648 Extra >s in Object Construction section
 535021 g_param_spec_internal documentation should
        describe purpose of nick and blurb
 521513 Firefox crash when using file picker
 528433 gdesktopappinfo snafu ...
 533369 API g_file_info_get_attribute_string () unables to get "...
 521045 glib f_fstypename miscellany
 521672 compile error
 521946 control rate limit on GUnixMountMonitor
 522335 Fails to build: glib/gtester.c:276: error: 'ARG_MAX' unde...
 523015 Implement sliding window based upload operation
 523019 Use new GCC 4 feature
 523338 list nfs4 as a nfs mount type
 524350 Make glib build without NLS again
 524579 g_file_copy reports wrong total on progress callback for ...
 524742 A typo in gtestutils.c.
 524950 Minor documentation typos.
 525866 the user directory should not be considered as a mount to...
 526320 should not list mounts that the user doesn't have permiss...
 527132 nautilus crash when making ftp connection
 532852 CRITICAL **: totem_pl_parser_parse_with_base: assertion `...
 534759 Build failure in gio
 534764 Typo in error produced by g_file_make_directory
 521851 Redudant tests in gunixmounts.c
 524344 glib/gthread.h still use G_GNUC_PRETTY_FUNCTION
 525060 glib fails to build with -DG_DISABLE_ASSERT in CPPFLAGS o...
 534177 Invalid description of the interface g_cclosure_marshal_S...
 520715 Add GFile method g_file_query_file_type
 523039 nautilus can't access to trash/computer/network if gvfs i...

* Updated translations:
 Arabic (ar)
 Bulgarian (bg)
 Catalan (ca)
 Czech (cs)
 Greek (el)
 Candian English (en_CA)
 British English (en_GB)
 Spanish (es)
 Estonian (et)
 Basque (eu)
 Galician (gl)
 Hebrew (he)
 Hungarian (hu)
 Japanese (ja)
 Lithuanian (lt)
 Norwegian bokmål (nb)
 Dutch (nl)
 Occitan (oc)
 Portugese (pt)
 Russian (ru)
 Slovak (sk)
 Albanian (sq)
 Swedish (sv)
 Turkish (tr)
 Vietnamese (vi)
2008-09-06 11:07:20 +00:00
tron
3c58b4016a Re-add hacks that I accidently removed when adding the work around for
the Darwin Universal build problem. Problem noted by Tobias Nygren.
2008-09-05 15:33:01 +00:00
drochner
c36d7a9ae5 update to 2.16.5
changes:
-bugfixes
-translation updates
2008-07-28 15:27:21 +00:00
tron
07116c7a12 Don't build this with Universal Binary support under Mac OS X. It breaks
(at least) the GTK+ 2.x which is a known issue, see
http://trac.macports.org/ticket/15816 for more details.

Bump package revision because of this fix.
2008-07-14 16:45:53 +00:00
tnn
9039af05db Update to glib2-2.16.4.
Overview of Changes from GLib 2.16.3 to GLib 2.16.4
===================================================
* Bug fixes:
 528752 Win32 build and SSL not working
 539074 Cannot get exit status with g_spawn_command_line_sync()
 316221 G_LOCK warns about breaking strict-aliasing rules
 519137 g_slice_dup macro needs cast for 64-bit platform
 536158 also bump GHashTable version when a node is removed via
        g_hash_table_iter_remove()/g_hash_table_iter_steal()
 529321 make check fails in glib/pcre
 314453 Nautilus crashes in Solaris when browsing the attached
        file
 502511 g_assert_cmphex prints invalid message
 538119 glib's mainloop leaks a pipe to sub-processes
 540459 there are no way of getting the real number of bytes
        written in GMemoryOutputStream
 540423 unrecoverable error after g_seekable_truncate(seekable,0,...)
 530196 _g_local_file_has_trash_dir() doesn't handle st_dev == 0
 528600 g_dummy_file_get_parent("scheme://example.com/")
 536641 Filesystem querying in gio does not list AFS and autofs
        file systems
 537392 Additional colon in xattr name
 528433 gdesktopappinfo snafu ...
 526320 should not list mounts that the user doesn't have permiss...
 527132 nautilus crash when making ftp connection
 532852 totem_pl_parser_parse_with_base: assertion `...
 459905 Bug in wcwidth data
 534085 g_unichar_iswide_cjk() has a totally wrong table
2008-07-14 03:54:32 +00:00
tnn
27c1967802 Fix gunixmounts.c build on OSF/1 2008-05-29 12:41:35 +00:00
wiz
13b00d2284 Take ownership of lib/gio/modules directory. Bump PKGREVISION. 2008-05-29 08:03:58 +00:00
wiz
948bf7a21f Fix typo in comment. 2008-05-29 07:28:07 +00:00
joerg
17c9303373 Make FAM optional. 2008-05-28 21:20:48 +00:00
tnn
50ce1bbe5f Bump ABI dependency to 2.14.3, the first version in pkgsrc that added
a dependency on the external PCRE library.
2008-05-21 15:54:34 +00:00
tnn
3c2acd316d Also disable fam on OSF1 2008-05-20 21:07:57 +00:00
tnn
c548e0dc4a Fix most of the IRIX fam fallout mentioned in PR pkg/38639.
The gio/tests issue remains, but I couldn't reproduce it with GCC.
2008-05-19 19:08:36 +00:00
jmcneill
1a9f064495 Use PREFIX to determine xdg share directory location, fixes mime type
detection with gvfs.
2008-05-10 17:13:11 +00:00
drochner
6529cdc7a9 fix some code which assumes that the dev_t of the user's home directory
is not equal to zero. On NetBSD, wd0a has major and minor number 0,
so that assumption doesn't hold.
Tested, and reported upstream, by Jared D. McNeill. (gnome bug #530196)
Also reported as NetBSD PR pkg/38518.
bump PKGREVISION
2008-04-29 18:58:40 +00:00
tnn
618e1040c0 Build with --disable-visibility when using sunpro compiler, to prevent
unresolved symbol "g_test_config_vars" during build.
2008-04-27 11:00:46 +00:00
tnn
9b16c44191 Convert previous to PLIST_VARS. 2008-04-13 13:15:59 +00:00
tnn
e9f4a419aa Don't accept sysutils/gamin as a "fam" implementation, because gamin
in turn depends on glib2!
Additionally, disable fam support entirely on HP-UX, because it uses
gamin as the default fam type and sysutils/fam lacks platform support.
2008-04-13 05:31:16 +00:00
drochner
145aeb6307 update to 2.16.3
This switches to the gnome-2.22 release branch.
2008-04-10 12:13:49 +00:00
tnn
6316c97403 Fix IRIX test which I accidentally broke in rev 1.123.
This fixes PR pkg/37260
2008-02-21 20:53:54 +00:00
drochner
9929d04d03 update to 2.14.6
changes:
-update bundled PCRE to 7.6, which fixes a buffer overflow
-translation updates

pkgsrc note: since we use pkgsrc pcre, this update is a rather
cosmetical one
2008-02-13 19:30:00 +00:00
tnn
40ca8d4410 Update to glib2-2.14.5.
Overview of Changes from GLib 2.14.4 to GLib 2.14.5
===================================================

* Bugs fixed:
 482313 gregex: no way to tell why compilation failed
 315437 extern inline -> static inline
 480122 g_module_open fails to open modules with ".la" extension
 495589 gspawn.c failing to set FD_CLOEXEC
 500638 gkeyfile speedup ...
 503029 g_time_val_from_iso8601 parse non-ISO8601 dates
 503420 gkeyfile leaks a hash table
2008-01-08 23:31:56 +00:00
drochner
a2f8d1406e -remove a temporary hack which made that posix_memalign(3) was not used
even if present; the purpose was to allow use of both malloc
 implementations of NetBSD-current, but since other pkgs are picking up
 posix_memalign(3) too, and NetBSD-current will deal with the binary
 compatibility problem, this is getting pointless
-comment out 2 selftests which depend on nonstandard behaviour of
 GNU iconv(3) -- the code itself works as documented
ride on recent update
2007-11-27 21:33:22 +00:00
tron
3e7431b6b8 Use patch from MacPorts to fix build problem under Mac OS X Leopard. 2007-11-26 00:26:21 +00:00
wiz
4d41cda916 Update to 2.14.4:
Overview of Changes from GLib 2.14.3 to GLib 2.14.4
===================================================

* Bugs fixed:
 494602 builddir != srcdir build broken
 492677 Misprint in specification of the interface "g_spawn_async...
 490061 outptrs uninitialized after g_parse_long_long
 418778 Insufficient pkg-config version requirement
 467537 g_convert_with_iconv() not resetting iconv() state correc...
 466557 glib-mkenums shifts ARGV[0] to undefined
 490637 gobject documentation patch
 445362 Non-numeric local labels in gatomic.c are causing linker ...
 498113 tests/regex-test fails on 64bit environment
 498728 g_key_file_get_*_list should set length to 0 when returni...
 469551 application --help messages are garbaged on none UTF-8 lo...
2007-11-25 23:38:50 +00:00
drochner
0036a25a53 update to 2.14.3
changes:
-update the bundled PCRE from 7.2 to 7.4
-minor bugfixes
-translation updates

pkgsrc changes:
-don't use the bundled PCRE anymore, use pkgsrc's
-try to work around some ld.so lossage on NetBSD (which leads to some
 applications - most notably evolution and glade3 - not resolving symbols
 in dynamically loaded plugins) another way: use the RTLD_DEFAULT
 pseudo-handle when the main module is referred to. This could replace
 the previous mechanism, but it needs more investigation and tests, so
 I'm leaving both in parallel for now.
2007-11-08 19:52:21 +00:00
drochner
0477d0493e fix the check for NetBSD's broken dlopen(NULL):
-"configure" decided to add libintl to LDFLAGS per default, this made
 the test for libintl.so/gettext always succeed. Use libm.so/sin
 for the test instead.
-Fix a trivial typo introduced recently which caused the test result
 to be ignored.

Now some applications behave better, but not perfect because jmmv's
workaround can't deal with libraries loaded by dlopen'd objects.
2007-10-29 19:15:24 +00:00
drochner
8a6f2cd900 remove the "debug" option -- it does not work in pkgsrc because CFLAGS
are overridden by the environment
2007-10-29 19:06:04 +00:00
wiz
e8ef182dff Update to 2.14.2:
Overview of Changes from GLib 2.14.1 to GLib 2.14.2
===================================================

* Bugs fixed:
 476849 Invocation of the interface "g_hook_free" fails in certai...
 359165 marshallers can throw warnings with -Wunused
 477957 more discussion on g_value_set_object vs. g_value_take_ob...
 478459 G_DEFINE_DYNAMIC_TYPE_EXTENDED doesn't work with G_IMPLEM...
 483337 inline is disabled for MSVC when compiling C code
 478349 Broken link to gettext website
 469231 g_spawn optimization for setting all open fds to CLOEXEC

* Updated translations:
Arabic (ar)
Galician (gl)
Hebrew (he)
Korean (ko)
2007-10-26 16:08:43 +00:00
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
tnn
85abfeee85 configure fails to detect mmap support on HPUX. Force it, because mmap
support in glib2 is required by gtk2's icon cache as of gtk2+-2.12.0.
2007-09-22 17:07:29 +00:00
tnn
aefb760754 update to glib2-2.14.1. This is a bug fix release in the 2.14 series.
Overview of Changes from GLib 2.14.0 to GLib 2.14.1
===================================================

* Bugs fixed:
 476840 Invocation of the interface "g_utf8_strreverse" crashes f...
 444765 Fix FIXME in gregex.c when new pcre is out
 464145 g_markup_escape_text Produces Invalid XML
 465625 g_type_default_interface_ref() does not ensure working g_...
 466768 Clearify that comments can be put anywhere in a Key-file.
 474229 The GError documentation should give convention for the G...
 474899 G_BREAKPOINT() docs inaccurate
 475854 Overuse of -lpcre when using system pcre
 473879 Incorrect includes in gregex.c
 468694 Typoes in documentation
 469051 g_snprintf () talks about characters where it probably me...
 457601 Missing arch specific atomic implementation
 475923 Missing pcre flags when static-linking against glib
 475619 glibthread-2.0.la does not list -lpthread

Also many updated translations.
2007-09-18 17:37:02 +00:00
tnn
7c54fd9dd8 Patch an evil typecast that was losing the volatile qualifier on a pointer.
This caused the build of net/wireshark to fail.
Will submit upstream. PKGREVISION++
2007-08-16 18:11:44 +00:00
tron
498ef4464a Update the homepage URL. 2007-08-16 17:28:18 +00:00
tnn
d75ac4a166 Update to glib2-2.14.0. Based on patch provided by Makoto Fujiwara in
PR pkg/36731. Highlights of NEWS follow:

Overview of Changes from GLib 2.13.7 to GLib 2.14.0

* Last-minute API additions:
 - Make g_unichar_combining_class public
 - Add goffset type, add G_MAXSSIZE and G_MINSSIZE

* Update PCRE to 7.2

* Bugs fixed:
 453998 Make _g_unichar_combining_class() public
 462549 gregex.c: variable is declared at middle of block
 417068 g_file_test doc inconsistency

* Updated translations

Overview of Changes from GLib 2.13.6 to GLib 2.13.7

* The memory corruption warning from the slice allocator that
  occurred when threads were initialized after the slice allocator
  has been removed, as the slice allocator now works fine
  in this scenario.

* New functions g_once_init_enter() and g_once_init_leave() make
  it easier to write threadsafe one-time initialization functions

* Bugs fixed:
 454473 Simple XML Subset Parser terminates on invalid XML
 445813 g_module_open error, add file name
 453796 errno gets clobbered by g_filename_display_name
 341988 don't use "-c" with msgfmt in Makefile.in.in
 447048 Please produce slightly more output during long tests
 454785 GModule documentation lists same block of code twice.
 454786 GModule documentation lists same paragraph twice.
 383155 small docs quirks in gobject/closure API documentation
 65041  _get_type() functions aren't thread safe

* Updated translations

Overview of Changes from GLib 2.13.5 to GLib 2.13.6

* Reintroduce a GType typedef whose removal in 2.13.5
  caused trouble for C++ bindings

* Bugs fixed:
 450216 docs not explicit enough about g_free()
 451459 g_type_register_static_simple calls g_type_register_static

* Updated translations

Overview of Changes from GLib 2.13.4 to GLib 2.13.5

* xdg-user-dirs support:
 - the Desktop directory is guaranteed to be defined
 - user-dirs.dirs is no longer reloaded on changes

* Slice allocator:
 - new api to duplicate slices

* Regular expression support:
 - GRegex is a boxed type now

* Bugs fixed:
 44793 make check failing in trunk
 354522 Small problem with PLT hiding 6 symbols
 363986 glib 2.12.4 does not compile with SGI IDO cc
 443869 g_type_class_add_private doesn't warn when adding 0-sized...
 446859 Legitimately return 0 for g_quark_from_string(NULL)
 447534 Small typo in g_timeout_add_seconds() doc
 447583 GStaticRWLock
 447935 g_get_current_dir SIGSEGV on long path
 448260 CLAMP has surprising result if low > high
 57693 	g_string_vprintf()
 442029 add g_slice_dup()
 445065 Add GRegex boxed type
 448819 Add full version of g_timeout_add_seconds()

* Updated translations

Overview of Changes from GLib 2.13.3 to GLib 2.13.4

* Bugs fixed:
 444121 g_get_user_special_dir deadlocks
 444161 invalid UTF8 in key name shows up as valgrind error in g_...
 444130 g_option_context_get_help() is broken when there's a desc...

Overview of Changes from GLib 2.13.2 to GLib 2.13.3

* GKeyFile:
 - Added defines for easier handling of desktop files

* Unicode support:
 - Update g_unichar_iswide_cjk for Unicode 5.0

* Regular expression support:
 - GRegex structs can now be ref-counted
 - Some new functions for dealing with incremental
   replacement have been added
 - The GRegexEvalCallback signature has been changed

* g_get_user_special_dir() has been added to support
  xdg-user-dirs

* Bugs fixed:
 419376 Functions using named subpatterns behave inconsistently w...
 434358 g_regex_fetch_named() and g_regex_fetch_named_pos() are b...
 423708 typo in the README.win32 file see patch below
 339225 Add new defines for easier handling of .desktop files
 442265 API additions/changes for GRegex
 432651 Add a glib-ish xdg_user_dir_lookup

* Updated translations

Overview of Changes from GLib 2.13.1 to GLib 2.13.2

* Unicode support:
 - Add g_unichar_ismark()

* GOption:
 - Allow to use callbacks for remaining args

* Updated translations

Overview of Changes from GLib 2.13.0 to GLib 2.13.1

* GRegex:
 - Portability fixes
 - Split into immutable GRegex and GMatchInfo
 - Add g_regex_get_max_backref() and g_regex_get_capture_count()
   to obtain information about the compiled regex

* GKeyFile:
 - Fix roundtrip problems
 - Add g_key_file_load_from_dirs()

* Unicode support:
 - Fix corner cases in case conversion routines

* GOption:
  - Add a function to get the formatted help string

* GHash:
 - Add new functions g_hash_table_get_keys() and
   g_hash_table_get_values() to retrieve the keys and
   values in list form

* Updated transations

Overview of Changes from GLib 2.12 to GLib 2.13.0

* Add GSequence, a list that is implemented using
  a balanced binary tree.

* Add GRegex, an implementation of Perl regular expressions,
  based on PCRE.

* Use Posix monotonic clocks instead of gettimeofday()
  for GTimer when available.

* Support static initialization of GQeues with G_QUEUE_INIT,
  g_queue_init() and g_queue_clear().

* Add g_string_chunk_clear() for clearing a
  GStringChunk.

* Add g_unichar_get_script() to obtain Unicode
  script information.

* Add g_unichar_iszerowidth() to obtain information
  about zero-width characters.

* Add G_GNUC_MAY_ALIAS which wraps the gcc may_alias
  type attribute.

* G_GNUC_INTERNAL has a working definition for the
  Sun Studio compiler. This requires the macro to
  be positioned before the function declaration.

* The slice allocator can produce detailed debugging
  information with G_SLICE=debug-blocks.

* Modules support G_DEBUG flags resident-modules and
  bind-now-modules.

* Add G_DEFINE_DYNAMIC_TYPE() to make it easier
  to define types in modules.

* Bug fixes: too many to list them in detail here.

* New and updated translations
2007-08-15 22:09:13 +00:00
wiz
b886e29d4e Drop maintainership. 2007-07-21 21:56:07 +00:00
wiz
ad2d0cfaba Update to 2.12.13:
Overview of Changes from GLib 2.12.12 to GLib 2.12.13
=====================================================

* Unicode support:
 - Update to Markus Kuhn's updated wcwidth for Unicode 5.0

* Bugs fixed:
 454473 Simple XML Subset Parser terminates on invalid XML
 443869 g_type_class_add_private doesn't warn when adding 0-sized...
 447583 GStaticRWLock
 341988 don't use "-c" with msgfmt in Makefile.in.in
2007-07-19 21:25:46 +00:00
wiz
b1c2af72b0 Update to 2.12.12:
Overview of Changes from GLib 2.12.11 to GLib 2.12.12
=====================================================

* Bug fixes:
 418862 g_base64_decode will give critical warning when first par...
 356843 "make check" fails if /bin/sh is pdksh
 418217 g_unichar_toupper/_totitle broken for single to multiple ...
 432895 param_string_validate() frees and modifies static strings
 420686 g_key_file_to_data alters original data

* Translation updates: (da,es,eu,gl,ja,ro,ru,sr,
  sr@Latn,ta,zh_CN)
2007-05-08 19:29:07 +00:00
tnn
d819c3e007 Add hack for glib2 on hp-ux/hppa: build without optimization due to crash
in libgobject early in libgtk2 startup.
2007-04-24 11:00:36 +00:00
markd
971ff367d6 Fix build on Solaris with c99. Should fix PR pkg/35190 and
PR pkg/36018
2007-03-24 20:58:20 +00:00
drochner
acc775a5a8 update to 2.12.11
changes:
-bugfixes
-translation updates
2007-03-20 15:33:57 +00:00
wiz
cfe4f37f51 Update to 2.12.9:
Overview of Changes from GLib 2.12.8 to GLib 2.12.9
===================================================

* Fix an unintended ABI break in the 2.12.8 release

* Bugs fixed:
 397139 glib-2.12.8 breaks ABI


Overview of Changes from GLib 2.12.7 to GLib 2.12.8
===================================================

* Due to an oversight, GLib has been linked against
  libpthread since 2.12.2. This has been fixed by
  moving the monotonic timer support into gthread.

* Bugs fixed:
 393812	glib links against pthread
 394258	gthread.c: illegal include order
 394641	Undefined reference in gthread
 394150	gettime implementation breaks compilation on darwin 6
 395203	g_timer_elapsed off by 2 order of magnitude
 394262	image/* mimetype breaks stuff
 392636	glib-2.0.m4 ignores PKG_CONFIG environment variable
 395419	Glib-2.12.7 with mingw(w32api-3.8/windows) fails to compi...
 329031	G_GNUC_INTERNAL fails with gcc-2.95

* Updated translations (ar,bg,ca,it,nl,th)
2007-01-18 22:42:56 +00:00
drochner
6ce0f2e61d fix a locking botch: g_main_context_iterate() must leave the context
locked on return
bump PKGREVISION
2007-01-10 14:57:33 +00:00
drochner
846de83b55 update to 2.12.7
changes:
-portability fixes
-bugfixes
-translation updates
-Make GKeyFile accept keys that are commonly used
-some consistency checks added
-deal with double-width and zero-width characters in --help output

based on wiz's work
2007-01-08 15:56:14 +00:00
jschauma
721b60b433 Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
2006-12-02 22:32:59 +00:00
drochner
f56310b3f2 migrate devhelp docs to share/gtk-doc/html, bump PKGREVISION 2006-11-13 18:34:38 +00:00
wiz
ac62f3ce7a Fix build on Solaris. Noted by dmcmahill. 2006-10-09 17:53:25 +00:00
joerg
f75176b39c Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
2006-10-09 12:52:34 +00:00
rillig
b30f92b310 Added two patches that replace $RANDOM with $$, since $RANDOM is only
available in ksh and bash.
2006-10-08 20:55:12 +00:00
joerg
e3fe75f490 Readd bug URLs. Requested by wiz. 2006-10-08 14:51:57 +00:00
joerg
1f39db2509 Use pkgsrc pthread magic and only that. Fixes build on Linux. 2006-10-08 11:56:18 +00:00
wiz
a75ef388b9 Update to 2.12.4:
Overview of Changes from GLib 2.12.3 to GLib 2.12.4
===================================================

* Fix build problems related to Posix timers.

* Bugs fixed
 321974 nanosleep on AIX / g_timer API using high
        resolution timers
 353584 va_end called on caller supplied va_list
 353580 va_copy detection breaks if user sets
        CFLAGS=-Werror-implicit-function-declaration
 354522 Small problem with PLT hiding 6 symbols
 358421 typos in gmain.c

* New and updated translations (bn,bn_IN,dz,el,en_GB,
  et,fa,hi,hy,it,ka,nn,pt_BR,ro,sl,sr,sr@Latn,ta)
2006-10-06 18:05:21 +00:00
dmcmahill
ab183c7c1a Add bugzilla URL's now that bug reports exist upstream. 2006-10-03 02:31:46 +00:00
dmcmahill
2cb3959355 Fix compilation on solaris and also increase the portability of a shell
script used in the testsuite.  49/50 tests pass on solaris-2.9.
2006-10-02 21:20:09 +00:00
wiz
49d31c7528 Update MASTER_SITES. 2006-09-10 10:18:05 +00:00
joerg
b62197fd68 Force monotonic clock on DragonFly to prevent build from failing. 2006-09-08 09:32:57 +00:00
tron
4dd0c2a272 Regenerate patch to make the (GNU?) "patch" under Mac OS X happy. 2006-09-04 09:45:36 +00:00
wiz
671eeff7a8 Update to 2.12.3:
Overview of Changes from GLib 2.12.2 to GLib 2.12.3
===================================================

* Use Posix monotonic clocks instead of gettimeofday()
  for GTimer when available.

* Make the construction of singleton objects work
  witout warnings.

* Bugs fixed
 351583 API documentation issues with 2.15 release
 336114 desktop locks immediately after changing
        the system clock
 351853 GKeyFile creates non-UTF-8 error messages

* Translation updates (fr,hu,ja,ku,lt,lv,ml,or,
  pt,ru,sv,vi,zh_CN)
2006-09-03 08:53:04 +00:00
wiz
0372997237 Update to 2.12.2:
Overview of Changes from GLib 2.12.1 to GLib 2.12.2
===================================================

* Unicode updates:
 - Normalization is following Unicode TR #29
 - g_unichar_isxdigit() only accept characters
   for which g_unichar_xdigit_value() returns a value
 - g_unichar_toupper and g_unichar_tolower leave
   unconvertable characters in place instead of
   replacing them by NUL

* Bugs fixed
 348491 g_utf8_strup() and g_utf8_strdown() returns
        string with NUL bytes
 349825	GKeyFile always inserts a newline before a group
 347842	g_unichar_isxdigit() is too general about what
        it considers a digit
 348694	g_utf8_normalize() hasn't been updated to PR #29
 348785	Hint about G_DEBUG in Message Logging docs
 349792	Wrong english string (UI)
 349952	gparamspecs.c uses gcc feature

* Translation updates (ca,cs,de,dz,es,eu,fi,gu,ko,
  nl,pl,tr,uk,zh_HK,zh_TW)
2006-08-17 22:35:10 +00:00
wiz
196fae2f6d Update to 2.12.1:
Overview of Changes from GLib 2.12.0 to GLib 2.12.1
===================================================

* Update to final Unicode Character Database 5.0.0

* Bugs fixed:
 346660 issues with base64 api documentation / g_base64_decode_cl...
 348136 Coverity reports allocation of wrong size CID #2839
 336281 Update to UCD 5.0
 346197 g_date_strftime %F option doesnt work for win32
 348011 Small optimization to real_toupper()
 246494 prototype mismatch in glib/gconvert.c

* New and updated translations (bg,bn_IN,ca,dz,eu,fi,
  fr,he,it,ja,mk,or,pt)
2006-07-23 14:15:02 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
minskim
310d29e8c3 On Darwin-[56], bypass the wchar_t test in configure and assume that it
is unavailable.  Although Darwin-[56] has wchar_t, it doesn't provide
related functions such as wcslen().

This fixes PR 29175.
2006-07-08 16:16:40 +00:00
wiz
08de9d715c Update to 2.12.0. Add a patch fixing PR 33908, provided by
Martijn van Buul.

Changes:

Overview of Changes from GLib 2.11.4 to GLib 2.12
=================================================

* Bugs fixed:
 344905 leap-year bug in g_time_val_from_iso8601 w/o HAVE_TIMEGM

* Updated translations (cy,nb,nl)


Overview of Changes from GLib 2.11.3 to GLib 2.11.4
===================================================

* GBookmarkFile:
 - g_bookmark_file_remove_item returns a boolean

* g_mkstemp accepts the XXXXXX in the middle of
  the template

* Bugs fixed:
 344868 g_key_file_to_data should separate groups

* Updated translations (de,es,fr,gu,hi,ko,th)


Overview of Changes from GLib 2.11.2 to GLib 2.11.3
===================================================

* GBookmarkFile:
  - g_bookmark_file_move_item: Return TRUE in case of
    an empty target

* Bugs fixed:
 343919 gunicollate.c: strxfrm bug on VC8

* Updated translations (fi)

Overview of Changes from GLib 2.11.1 to GLib 2.11.2
===================================================

* Add g_ascii_stroll to parse signed 64bit integers

* GMarkup: add a flag to treat CDATA as text

* GHashTable: add functions to remove all entries

* GMainLoop: add functions to find the currently
  running source, and determine if it is destroyed

* Bug fixes:
 342563  g_atomic_thread_init() needs to be called before
         other _g_*_thread_init() functions
 343548  Potential use after free in callers of g_string_free()
 168538  Wish: Clearing contents of GHashTables
 321886  GTK+ cannot be reliably used in multi-threaded
         applications
 341826  goption.c: 'strtoll' is C99's function
 343899  g_ascii_formatd dosn't work as expected for all
         format strings
 317793  Make GEnumValue strings const
 337129  Compile warnings in G_IMPLEMENT_INTERFACE
 303622  What is G_TYPE_CHAR?

* Updated translations (bg,dz,eu,gl,ja,ko,nl,th,vi)


Overview of Changes from GLib 2.11.0 to GLib 2.11.1
===================================================

* GOption
  - Support 64-bit integers
  - Allow optional text before and after the options
    in help output

* Bug fixes:
 340538 gbase64-test writes OOB
 340816 GKeyFile set_string_list invalid memory reads
 339105 g_key_file_parse_value_as_double
 340434 convert-test.c fails (function test_one_half)
 311043 Memory leaks (and potential infinite loops)
        when using G_ERRORCHECK_MUTEXES
 335198 Error checking mutexes are fubar
 341237 Add a G_OPTION_ARG_INT64
 341192 g_io_channel_set_flags not implemented on win32
 336120 Allow adding description before/after GOption
        --help output body
 341191 misplaced check in g_relation_delete
 340530 mismatched calloc / g_free in win32 threads

* Updated translation (es)

Overview of Changes from GLib 2.10.x to GLib 2.11.0
===================================================

* GBookmarkFile: a parser for files containing bookmarks
  stored using the Desktop Bookmark specification.

* Base64 encoding support

* Unicode 5.0 support

* GOption supports floating point numbers

* GKeyFile supports floating point numbers

* Bug fixes:
 155884 gatomic.c should be based on new SDK
 157877 update-desktop-database doesn't handle duplicate entries
 164719 keyfile parser doesn't support floats
 327662 Import BookmarkFile from libegg
 329548 Add G_OPTION_ARG_DOUBLE
 329789 option-test.c type confusion
 332841 Segmentation Fault when %llu is passed to vasnprintf and
        HAVE_SNPRINTF is not defined
 333879 gthread/gthread-win32.c: IsDebuggerPresent needs '#define
        _WIN32_WINDOWS 0x0401'
 333916 g_timer_elapsed docs should mention that microseconds
        may be NULL
 334440 dlerror() portability issue causes crash on (old) a.out
        NetBSD platform
 334646 goption + error out params
 334799 g_remove() must check return value of remove()
 334943 make check FAIL: threadpool-test
 335215 Some breakages with GThreadPool
 336085 g_option_context_new parameter lacks better explanation
 336677 Documentation for g_object_ref_sink() is incorrect
 337027 gbookmarkfile.c: sys/time.h include error
 337553 Wrong escaping of URIs
 338572 Dereferencing NULL value in g_key_file_get_group_comment
 338845 g_completion_complete_utf8 crashes when NULL is passed to it
 339337 g_bookmark_file_set_description
 339338 gbookmarkfile.c, function expand_exec_line
 339340 gbookmarkfile.c, function bookmark_app_info_dump

* Translation updates (bg,en_GB,et,gl,gu,he,hi,ka,nb,nl,nn,
                       or,pt_BR,ro,tr,vi,zh_CN)
2006-07-03 21:01:53 +00:00
markd
7f1c64c4a0 USE_LANGUAGES= c c++
The configure script needs to use the c++ compiler to correctly setup the
glibconfig.h for handling of VARARGS when being included from c++ programs,
otherwise builds can fail. eg. when using SunWorkshop CC on Solaris and
compiling arts.
Bump PKGREVISION.
2006-07-02 14:22:35 +00:00
drochner
e12a011c78 update to 2.10.3
changes:
-fix some bugs and a memory leak
-translation updates
2006-05-29 17:06:49 +00:00
jschauma
a1fb8e3168 when using mipspro compiler, pass '-c99' 2006-04-30 16:58:03 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
jlam
1cf9796f3c BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace with
USE_TOOLS+=msgfmt.
2006-04-13 18:23:29 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
wiz
6131c83aac Update to 2.10.2:
Overview of Changes from GLib 2.10.1 to GLib 2.10.2
===================================================

* Bugs fixed:
 322476 Missing check for .dylib                      [Anders Carlsson]
 332841 Segmentation Fault when %llu is passed to
        vasnprintf and HAVE_SNPRINTF is not defined  [Michael McDonald]
 333098 Add support for write FDs to GIOChannel      [Markus Brinkmann]
 334519 Memleak in goption.c::parse_short_option         [Chris Wilson]
 334471 g_parse_debug_string reads beyond buffer      [Morten Welinder]
 334611 g_option_context_parse() should not set program
        name to '<Unknown>' if it is already set      [Chong Kai Xiong]
 335207 g_main_context_unref calls g_source_destroy_internal
        with incorrect arguments                         [Chris Wilson]
 335216 Slight performance gains (GList, GAsyncQueue)    [Chris Wilson]
 335209 Use of unitialised memory in g_mem_profile       [Chris Wilson]
 334943 make check FAIL: threadpool-test
 336085 g_option_context_new parameter lacks better
        explanation                                  [Claudio Saavedra]
 335215 Some breakages with GThreadPool                  [Chris Wilson]
 333879	gthread/gthread-win32.c: IsDebuggerPresent needs
        '#define _WIN32_WINDOWS 0x0401'                [Kazuki Iwamoto]
 334440 dlerror() portability issue causes crash on (old)
        a.out NetBSD platform                           [ITOH Yasufumi]
 333916 g_timer_elapsed docs should mention that
        microseconds may be NULL                    [Christian Neumair]
 334646 goption + error out params                   [Christian Persch]
 335294 Documentation should not reference G_HAVE_GINT64,
        as it's deprecated.                            [Richard Laager]

* Translation updates (dz,et,he,hi,ka,or,pt_BR,ro,tr)
2006-04-08 21:23:23 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
wiz
ba2306a537 Take over maintainership, jmmv@ ok. 2006-03-10 07:35:12 +00:00
wiz
4d17e3d5de Update to 2.10.1:
Overview of Changes from GLib 2.10.0 to GLib 2.10.1
===================================================

* Bugs fixed:
 314794 Broken pthread detection on Darwin [Gregor Riepl]
 322476 Missing check for .dylib [Vladimir Panov]
 333651 Inconsistent _g_charset_get_aliases prototype [Julio
        M. Merino Vidal]
 333761 GInitiallyUnowned breaks application code [Sven Herzberg]

* Win32 changes:
 - Fix g_listenv() implementation.
 - Allow up to 100 GPrivate structs

* Translation updates (fr,hu,lt,pl,sv)
2006-03-08 07:25:04 +00:00
jmmv
65ac92d90d Make _g_charset_get_aliases match an extern declaration so that this builds
correctly under amd64.  From martijnb@atlas.ipv6.stack.nl in PR pkg/32987.
2006-03-06 19:38:15 +00:00
wiz
e11955db15 Fix pkglint warning. 2006-02-25 13:33:43 +00:00
wiz
123c091af7 Update to 2.10.0:
Overview of Changes from GLib 2.9.6 to GLib 2.10.0
==================================================

* Bugs fixed:
 328997 64bit pointer trunction in glib slab-allocator
        [Pascal Hofstee]
 331110 g_cond_broadcast(inform_cond) without holding
        inform_mutex [Chris Wilson, Sebastian Wilhelmi]
 332093 Fix some leaks in the tests [Kjartan Maraas]
 332435 g_utf8_strlen returns wrong value if a maximum
        number of bytes to check is specified
        [Matthias Clasen]
 331367 gslice requires more POSIX-like semantics for
        GPrivate destructors [Tor Lillqvist]

* Documentation improvements [Matthias, Kang Jeong-Hee,
  Tor Lillqvist, Stefan Kost]

* Translation updates (el,eu,ka,uk)

Overview of Changes from GLib 2.9.5 to GLib 2.9.6
=================================================

* Bugs fixed:
 329124 distclean removes README [Kjartan Maraas, Tim Janik]
 317679 GRelation field type not documented [Behdad Esfahbod]
 329123 Typo in GTime docs [Kjartan Maraas]

* Documentation improvements [Sven Herzberg, David
  Schleef, Kjartan Maraas, Behdad Esfahbod]

* Translation updates (cs,cy,it,ko,pt,sq,sr,sr@Latn,ru

Overview of Changes from GLib 2.9.4 to GLib 2.9.5
=================================================

* Memory management:
  Runtime debugging support: The slice allocator
  can be turned off by setting G_SLICE=always-malloc
  in the environment. Zeroing of freed memory can
  now be turned on at runtime by setting
  G_DEBUG=gc-friendly in the environment. [Tim Janik]

* Bugs fixed:
 328253 HP-UX/IA-64 uses ".so" as default shared library
        extension [Albert Chin]
 143380 unicode-encoding test fails converting to UTF-16
        with libiconv [Marc Moorcroft]
 328254 Build breakage (GSlice) [Jens Ganseuer]
 328705 C99ism in glib/gmem.c [Kazuki Iwamoto]

* Translation updates (da,et,zh_CN)

Overview of Changes from GLib 2.9.3 to GLib 2.9.4
=================================================

* Type system:
  Fix a problem with g_object_compat_control() which
  can lead to segfaults in GTK+ applications on 64bit
  platforms.

* Thread suppport:
  Unused threads now fall back to the global pool after
  500 milliseconds, where they wait for another
  max-idle-time milliseconds. [Sebastian Wilhelmi]

* Fix a memory allocation problem in GKeyFile. [Morten
  Welinder]


Overview of Changes from GLib 2.9.2 to GLib 2.9.3
=================================================

* GTree:
 - Replace the simple recursive implementation by
   a nonrecursive, threaded one  [Maurizio Monge]

* Change g_filename_display_name and
  g_filename_display_basename to use the Unicode
  replacement character U+FFFD instead of a question
  mark, and don't append "(invalid encoding)"  [Matthias]

* Documentation improvements [Sven Herzberg, Federico
  Mena Quintero, Stefan Kost]

* Bugs fixed:
 323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X
        [Bogdan Nicula]
 326558 Some test failures on IRIX 6.5 [Daichi Kawahata]
 169285 "threaded" tree implementation for GTree
        [Maurizio Monge]
 326747 g_filename_display_basename adds (invalid encoding)
        [Alberto Ruiz]

Other contributors: Christian Kellner, Murray Cumming

New and updated translations (bg,ca,de,es,et,gu,ja,nl,th,vi)


Overview of Changes from GLib 2.9.1 to GLib 2.9.2
=================================================

* Memory management:
 - Add tests for cache colorization [Tim Janik]
 - Minimize space consumption if small amounts of differently
   sized slices are allocated, at a small performance cost.  [Tim]

* Thread support:
 - Add g_atomic_pointer_set() and g_atomic_int_set() [Tim Janik,
   Sebastian Wilhelmi]
 - Add g_thread_pool_set_sort_function() to allow sorting the
   tasks of a threadpool.  [Martyn Russell]
 - Add g_thread_pool_set_idle_time() to allow unused threads
   to exit after a certain time.  [Martyn]

* Type system:
 - introduce a new type GInitiallyUnowned, which has an initial
   floating reference. [Tim]
 - Add support for GType parameters. [Matthias]

* Main loop:
 - Add g_main_context_is_owner() to determine if the current
   thread is the owner of the context.  [Michael Meeks]

* Provide g_access(), g_chdir(), g_unlink(), g_rmdir() as
  wrapper functions instead of macros.  [Manish Singh]

* Documentation improvements [Tim, Matthias, Federico Mena Quintero,
  Stefan Kasal, Dan Williams]

* New and updated translations (en_CA,fi,fr,gl,ml,nb,no,zh_HK,zh_TW)

* Bugs fixed:
 324179 g_allocator_new() returns pointer to const dummy which Gtk+ 2.8
        tries to modify [J. Ali Harlow]
 324332 g_option_context_parse() returns false without setting error
        [Tim-Philipp Müller]
 324950 GLIB 2.9.1 testcase errors [Dan Yefimov]
 325015 gslice.c: process.h is needed on Windows [Kazuki Iwamoto]
 321978 G_DATALIST_GET_FLAGS() macro is not casting datalist to
        gpointer [Andrew Paprocki]
 316221 G_LOCK warns about breaking strict-aliasing [Michal Benes,
        Stanislav Brabec]
 325273 Error in documentation for glib_check_version () [Declan Naughton]
 325310 g_spawn_sync hangs when catching both stdout and
        stderr [Tor Lillqvist]
 325249 gcc warning when using g_rmdir from <glib/gstdio.h> [Jani Monoses]
 325864 glib/gthreadpool.c:"#define debug(...)" is C99 [Kazuki Iwamoto]
 325874 Should say somewhere that source IDs are > 0 [Dan Williams]
 325438 a typo (compatability) [Stefan Kasal]
 323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X [Bogdan Nicula]


Overview of Changes from GLib 2.9.0 to GLib 2.9.1
=================================================

* Memory management
 - The slice allocator is implemented [Tim Janik]
 - g_slice_free_chain() has been renamed to
   g_slice_free_chain_with_offset()  [Tim, Behdad Esfahbod]
 - Mem chunks are deprecated [Matthias Clasen]

* Data structures
 - Hash tables are refcounted, and have a boxed type [Tim]

* Thread support
 - Support for Solaris threads has been removed
   [Sebastian Wilhelmi, Andrew Paprocki]
 - g_async_queue_sort(), g_async_queue_push_sorted() have
   been added to allow GAsyncQueue to be used as a priority
   queue, together with the corresponding _unlocked
   variants  [Martyn Russell]

* GObject:
 - The concept of a floating initial reference has been
   moved from GtkObject to GObject [Tim]

* Win32 changes:
 - Make g_rename() replace existing files [Tor Lillqvist]

* Misc new API:
 - G_GUINT64_CONSTANT macro to define guint64
   constants [Andrew Paprocki]
 - G_GNUC_WARN_UNUSED_RESULT macro to instruct the
   compiler to emit a warning if the value returned
   by a function is ignored. [Arjan van de Ven, Alex Larsson]
 - GList and GSList now have sort functions which take an
   extra user data argument [Martyn Russell]
 - g_param_spec_ref_sink() has been added for consistency [Tim]

* $LOGNAME is respected when determining user data. [Laszlo Peter]

* Other changes and bug fixes [Tim, Matthias, Behdad,
  Christian Persch, Benedikt Meurer, Andrew Paprocki,
  Kazuki Iwamoto, Alexis S. L. Carvalho, Stanislav Brabec,
  Andreas Schwab, Kalle Vahlman]

* Documentation
 - Deprecation warnings carry version information [Matthias]
 - The slice allocator has been documented [Matthias, Tim]
 - Other improvements [Morten Welinder]

Overview of Changes from GLib 2.8.x to GLib 2.9.0
=================================================
* Unicode support:
 - The Unicode tables have been updated to Unicode 4.1,
   adding several new values to the GUnicodeBreakType
   enumeration. This breaks Pango <= 1.10
   [Behdad Esfahbod]
 - The various Unicode character predicate functions
   (g_unichar_isalpha, g_unichar_isdigit,...) have
   been optimized
   [Behdad]
 - g_utf8_pointer_to_offset, g_utf8_offset_to_pointer:
   These functions handle negative offsets now, and
   going backwards in g_utf8_offset_to_pointer uses
   "stutter stepping".
   [Larry Ewing, Matthias Clasen]

* Memory management:
 - Mem chunks are no longer used internally in GLib and
   GObject. GMemChunk will be deprecated in GLib 2.10
 - All APIs based on GAllocator (g_list_push/pop_allocator,
   and similar push/pop_allocator functions for other
   data structures) have been deprecated, since they
   never worked as intended.
 - The g_slice_* functions have been added as a
   new API for fast allocation of small memory blocks.
   The implementation in GLib 2.9.0 is just a simple
   wrapper around malloc. GLib 2.10 will have an
   efficient and scalable implementation.
   [Tim Janik, Matthias]

* Pattern matching:
 - g_pattern_match has been optimized to avoid
   unnecessary recursion.
   [Tim, Matthias]

* g_intern_string, g_intern_static_string:
 - New functions to intern strings. These are now used
   by GObject to avoid duplicating static strings
   [Matthias]

* g_thread_foreach:
 - New function to iterate over all GThreads
   [Tim, Matthias]

* g_date_set_time_t, g_date_set_time_val:
 - New functions to set a GDate from a time_t or
   GTimeVal value. g_date_set_time has been deprecated
   in favor of these.
   [Roger Leigh]

* g_snprintf and g_vsnprintf:
 - These functions are no longer declared in gprintf.h,
   since they are in glib.h
   [Matthias]
2006-02-25 13:31:03 +00:00
schwarz
d37fe524ab make pkglint happier by using += with CONFIGURE_ARGS.gnu-iconv 2006-02-18 20:38:54 +00:00
schwarz
21539e9583 make glib2 compile on IRIX5 without threading (does not work there)
change approved by jschauma.
2006-02-18 20:36:47 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
84d5ec3b11 Update to 2.8.6:
Overview of Changes from GLib 2.8.5 to GLib 2.8.6
=================================================

* Fix a problem with g_object_compat_control()
  which can lead to segfaults in GTK+ applications
  on 64bit platforms.

* Fix a memory allocation problem in GKeyFile.
  [Morten Welinder]

* New and updated translations (ca,ja,ml,sv,zh_HK,zh_TW)
2006-01-19 17:55:53 +00:00
wiz
82b965b057 Update to 2.8.5:
Overview of Changes from GLib 2.8.4 to GLib 2.8.5
=================================================
* Bug fixes:
 322520 g_utf8_collate_key_for_filename reads too
        much [Christian Persch]
 324332 g_option_context_parse() returns false
        without setting error [Tim-Philipp Müller]
 325273 Error in documentation for glib_check_version()
        [Declan Naughton]
 325310 g_spawn_sync hangs when catching both stdout
        and stderr [Tor Lillqvist]
 323273 Invalid macro in genums.h: G_FLAGS_TYPE
        [Kalle Vahlman]
 - Other fixes [Sebastian Wilhelmi, Arjan van de Ven]
* Add g_object_compat_control() [Tim Janik]
* Win32 changes:
 - Strip trailing slashes in g_stat() [Tor Lillqvist]
 - Make g_rename() replace existing files [Tor]
 - Other fixes [Tor]
* Translation updates (be,bg,en_CA,es,fi,fr,gl,gu,nl,vi,zh_CN)
2006-01-06 11:14:05 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
wiz
caa5734d59 Add debug option. 2005-11-25 21:30:17 +00:00
wiz
3d8f166fae Update to 2.8.4:
Overview of Changes from GLib 2.8.3 to GLib 2.8.4
=================================================
* Support aborting on critical warnings by setting
  G_DEBUG=fatal_criticals in the environment
  [Vincent Untz]
* Bug fixes [Sebastien Bacher, Tor Lillqvist,
  Manish Singh, Morten Welinder, Andy Wingo]
* Documentation improvements [Steffen Gutmann,
  Christophe Fergeau]
* Translation updates (he,ja,nl,th)
2005-11-20 16:40:02 +00:00
wiz
e3c2dbd06f Update to 2.8.3:
Overview of Changes from GLib 2.8.2 to GLib 2.8.3
=================================================
* Fix an error that crept in with a change to
  glib-mkenums in 2.8.2 [Matthias]
* Documentation improvements [Davyd Madeley]
* Translation updates (bn)

[Same test failure on 3.99.9 as with 2.8.2.]
2005-10-05 13:53:03 +00:00
jmmv
a211708015 Update to 2.8.2:
Overview of Changes from GLib 2.8.1 to GLib 2.8.2
=================================================
* Win32 changes
 - the g_spawn* functions now take their arguments
   in UTF-8 [Tor Lillqvist]
 - Avoid extra console windows in some situations
   [Tor Lillqvist]
* Bug fixes [Kjartan Maraas, Sebastian Wilhelmi,
  Mathias Hasselmann]
* Documentation improvements [Matthias, Mark Drago,
  Matthew F. Barnes, Behdad Esfahbod]
* Translation updates (bg,ca,cs,cy,da,de,el,en_CA,es,et,
  eu,fi,fr,gl,gu,hu,it,ja,nb,nl,no,pl,pt,pt_BR,ro,ru,sk,
  sq,sr,sr@Latn,sv,uk,vi,zh_TW)

Overview of Changes from GLib 2.8.0 to GLib 2.8.1
=================================================
* Optimize single-character insertions in GString [Ross Burton]
* Fix build problems on OS X
* Fix build problems on Win32 [Tor Lillqvist, Hans Breuer]
* Other bug fixes [Matthew F. Barnes, Stepan Kasal]
* Documentation improvements [Tristan van Berkom, Behnam
  Esfahbod, Gustavo Carneiro, Stepan Kasal, Matthias]
* New and updated translations (ca,cy,ko,ro,uk)

Overview of Changes from GLib 2.7.7 to GLib 2.8.0
=================================================
* Make g_value_transform() handle enum values
  correctly on ppc64.  [Michael Lorenz]
  (Third-party code accessing enumeration values
  in GValues should also be changed to access
  v_long, not v_int, in order to work on bigendian
  64bit machines.)
* Make g_flags_get_first_value() handle a value
  of 0 meaningfully. [Tim-Philipp Müller]

Overview of Changes from GLib 2.7.6 to GLib 2.7.7
=================================================
* Make atomic operations on s390 work [Matthias]
* Fix C++ guards in gstdio.h [Tor Lillqvist]

Overview of Changes from GLib 2.7.5 to GLib 2.7.6
=================================================
* Add native implementations of atomic operations
  on s390 [Matthias]
* Make atomic reference counting of closures
  work on s390 [Matthias]
* Avoid an infinite loop in g_convert_with_iconv().
  [Sebastian Bacher]
* Documentation improvements [Ross Burton]

Overview of Changes from GLib 2.7.4 to GLib 2.7.5
=================================================
* Thread-related changes
 - Fix build issues on HP-UX [Paul Cornett]
 - Threadsafe access to flags stored in datasets [Tim Janik]
 - Fix several issues with atomic refcounting for
   closures, objects and paramspecs [Tim]
 - Improve tests for atomic refcounting changes [Tim]
* Fix handling of stateful encodings in g_convert_* [Matthias]
* Fix translation of GOption help output [Dan Winship]
* Catch format errors in translations. This may cause
  "make check" to fail when using older versions
  of gettext [Matthias]
* Win32 bug fixes [Tor Lillqvist]
* Documentation improvements [Ross Burton, Jochen Baier,
  Matthias, Tim]
* New and updated translations (de,fi,gu,pl,pt,tr,zh_TW)

Overview of Changes from GLib 2.7.3 to GLib 2.7.4
=================================================
* Fix g_atomic_pointer_compare_and_exchange
  on Sparc64 [Gert Doering]
* Fix a hang in g_thread_pool_free. [Hong Jen Yee]
* Win32 bug fixes [Tor Lillquist]
* Other bug fixes [Benoit Dejean, Manish Singh]
* Documentation improvements [Bryan Silverthorn,
  Callum McKenzie]
* New and updated translations (de,lt,sq,zh_CN)

Overview of Changes from GLib 2.7.2 to GLib 2.7.3
=================================================
* GOption
 - Allow callbacks with optional arguments [Pawel Sliwowski]
 - Allow to turn off the automatic long option name
   disambiguation  [Adam McLaurin]
 - Only allow printable ASCII as short option names [Matthias]
* Win32
 - Build fixes [Tor Lillqvist]
 - Rewrite iochannel socket implementation [Tor]
* GObject
 - Threadsafety improvements; in particular, refcounting
   of objects is done atomically now. [Wim Taymans, Tim Janik]
* Bug fixes [Morten Welinder, Matthias, Wim Taymans]
* Documentation improvements [Richard Laager, Matthias]
* New and improved translations (bf,cs,hu,nb,nl,no)

Overview of Changes from GLib 2.7.1 to GLib 2.7.2
=================================================
* Win32 build fixes [Hans Breuer]
* Bug fixes [Mikael Magnusson]
* Documentation improvements [Matthias Clasen]
* New and updated translations (en_CA,es,et,ja,sr,sr@Latn,zh_TW)

Overview of Changes from GLib 2.7.0 to GLib 2.7.1
=================================================
* GOption
 - Allow callback arguments without parameters [Dan Winship]
* GMappedFile: an mmap wrapper [David Schleef, Behdad Esfahbod]
* Misc new functions:
 - g_get_host_name [Tor Lillqvist]
 - g_mkdir_with_parents [Tor]
 - g_build_pathv, g_build_filenamev [Todd A. Fisher,
   Matthias Clasen]
* Bug fixes [Roger Leigh, Masatake YAMATO, Kjartan Maraas,
  Manish Singh, Tor, Murray Cumming, Kian Duffy, Morten Welinder]
* Documentation improvements [Hong Gang XU, Dan Winship, Matthias]
* New and updated translations (bg,cs,da,en_CA,es,et,nb,nl,no,
  sk,th,zh_TW)

Overview of Changes from GLib 2.6.x to GLib 2.7.0
=================================================
* GKeyFile
 - Add unit tests [Matthias Clasen, Suren A. Chilingaryan]
 - Accept \r\n as line end [Bastian Nocera]
 - Don't interpret leading zeros as octal numbers. [Matthias]
 - Make key and group removal work [David Hoover, Matthias Hasselmann]
* GOption
 - Improve formatting of --help output [Matthias, Noah Levitt]
 - Accept -? [Matthias]
 - Warn about duplicate main groups [Jeff Franks]
 - Treat '-' as non-option argument [Tim Musson, Thomas Leonard]
 - Report missing arguments as errors [Björn Lindqvist]
 - Add a boxed type for GDate [Tim-Philipp Müller]
* GTree
 - g_tree_remove() and g_tree_steal() return status information [Matthew F. Barnes]
* Stdio wrappers
 - Work regardless of large file support [Manish Singh]
 - Add g_access(), g_chmod(), g_creat(), g_chdir [Tor Lillqvist]
* GObject
 - Implement "toggle references" to help language bindings [Owen Taylor]
 - Allow to mark names, nicks and blurbs of pspecs as static [Ben Maurer, Matthias]
 - Make pspec lookup a bit faster [Morten Welinder]
* Add g_listenv() to list all set environment variables [Hans Petter Jansson]
* Add g_file_set_contents() to atomically write a file.  [Søren Sandmann,
  Sven Neumann, Manish, Alexis S. L. Carvalho]
* Add g_try_malloc(), g_try_new(), g_try_new0() and g_try_renew() [Stefan Kost]
* Add g_utf8_collate_key_for_filename() to sort filenames taking
  extensions and numeric suffixes into account.  [Ole Laursen, Alex Larsson]
* Add G_GNUC_NULL_TERMINATED to mark varargs function with
  NULL-terminated argument lists. [Marc Meissner]
* Win32 changes
 - Improved debugability [Ulf Lamping, Hans Breuer]
 - Make filename handling more robust [Tor, Billy Skaggs]
 - Improve g_get_system_data_dirs() [Tor]
 - Use more precise timers [Tor]
 - Build fixes [Kazuki Iwamoto, Hans, Tor, Robert Ögren]
* Other bug fixes [Roger Leigh, Owen, Matthias, Morten, Kjartan Maraas,
  Pawel Sakowski, Tor, Simon Budig, Ed Avis, Manish, Nicolas Laurent,
  Bastien, Fabrício Barros Cabral, Michael Banck, Daniel Atallah,
  J. Ali Harlow, Tim Janik, Hazael Maldonado Torres, Sven, Jon-Kare Hellan,
  Dave Benson, Tommi Komulainen, Benjamin Otte, Brian Cameron, Changwoo Ryu,
  Christian Biere, Noah, Benoît Carpentier]
* Documentation improvements [Vincent Untz, Matthias, Tim-Philipp Müller,
  Morten, Matthew, Federico Mena Quintero, Sebastian Bacher, Oliver Sessink,
  Stefan, Jared Lash, Tor, Owen, Daniel Vaillard, Mathieu Lacage]
* New and updated translations (ca,cs,da,el,en_CA,en_GB,es,et,eu,fa,fr,gl,
  hu,id,it,lt,mn,ne,nl,pl,pt,pt_BR,ro,rw,sk,sq,sr,sr@Latn,tl,uk,xh,zh_CN)
2005-10-02 12:15:09 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
jmmv
d3096c6ea8 Move CPPFLAGS definitions below inclusion of bsd.prefs.mk, as mk.conf may
do a 'CPPFLAGS=...' overriding its value.  Fixes PR pkg/30029 by
Idar Tollefsen.  Allowed by agc@ during freeze.
2005-09-26 11:44:54 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
jmmv
00d94e2419 Apply patch from bugzilla to fix a 64bit/bigendian problem that leads to
data loss in libgobject, causing all kinds of annoying glitches in almost
all gtk2-applications (in words of macallan@, who requested this change).
Bump PKGREVISION to 1.
2005-08-09 22:20:02 +00:00
xtraeme
1dd036d67d Update to 2.6.6.
Overview of Changes from GLib 2.6.5 to GLib 2.6.6
=================================================
* Fix several bugs with the handling
  of comments in key files [Mikael Magnusson]
* Fix g_atomic_pointer_compare_and_exchange
  on Sparc64 [Gert Doering]
* Fix a deadlock with threadpools [Hong Jen Yee]
* Make GLib work on BeOS again [Kian Duffy]
* Win32 bug fixes [Kazuki Iwamoto]
* Other bug fixes [Roger Leigh, Kjartan Maraas,
  Morten Welinder]
* New and updated translations (bg,cs,cy,de,
  en_CA,es,et,fr,gu,hu,ja,ko,nl,sq,sr,sr@Latn,sv,
  te,zh_CN,zh_TW)
2005-08-03 16:50:15 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
tonio
1c1bcf2282 fix for pkg/30455 (poll() in macosx tiger is not usable), by adding a patch-aj
file
The patch is taken from http://bugzilla.gnome.org/show_bug.cgi?id=302672

Approved by jmmv@, wiz@
2005-07-19 11:22:00 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
reed
c8bfdf64e6 Remove comment about FreeBSD since not entirely correct for following.
Add condition for FreeBSD >= 5 then use -lpthread.
I assume the previous -Wc,-lc_r was for 4.x and I keep it there.
(Sorry if I break this for others using FreeBSD. I didn't get much
feedback when posted to tech-pkg in May about this.)

I noticed this when building audio/arts on FreeBSD 5.3-RELEASE:
  Fatal error 'Spinlock called when not threaded.' at line 83 in file
  /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)

Bump PKGREVISION since this changes the resulting package for FreeBSD.

(Todo: pkgsrc/mk/pthread.builtin.mk or pkgsrc/mk/pthread.buildlink3.mk
can be improved so this workaround can be removed.)
2005-07-06 07:00:10 +00:00
jmmv
a5464344cf Update to 2.6.5:
* GOption
 - Treat '-' as non-option argument [Tim Musson, Thomas Leonard]
* Win32 changes
 - Improve g_get_system_data_dirs() [Tor]
* Other bug fixes [Tommi Komulainen, Tor, Benjamin Otte,
  Morten Welinder, Christian Biere, Noah Levitt, Michael Banck]
* Documentation improvements [Mattew F. Barnes, Federico
  Mena Quintero, Daniel Vaillard, Matthias]
* New and updated translations (da,eu,gl,mn,nb,ne,no)
2005-06-26 16:57:14 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
48781afdbb For packages that use GNU configure, don't bother adding "TOOL"
variables into CONFIGURE_ENV if the new tools framework already takes
care of adding them automatically.
2005-05-22 05:35:32 +00:00
martin
596de51a25 Fix atomic pointer compare and swap return value on sparc64,
fixes PR pkg/28962.
2005-05-18 10:56:09 +00:00
wiz
58449aebe0 Update to 2.6.4:
Overview of Changes from GLib 2.6.3 to GLib 2.6.4
=================================================
* Fix compilation with gcc 4.0 [Matthias Clasen]
* Fix g_date_get_iso8601_week_of_year [Jon-Kare Hellan]
* Win32:
  - use more precise times in gtimer.c [Tor Lillqvist]
  - bug fixes [Tor, Daniel Atallah]
* Other bug fixes [Tim Janik, Matthias, Manish Singh,
  Dave Benson, Jeff Franks]
* Documentation improvements [Tim-Philipp Müller, Matthias,
  Stefan Kost, Tor, Jared Lash, Morten Welinder]
* New and updated translations (el,fa,hu,id,ne,ro,rw)
2005-04-15 12:54:38 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
reed
ce2a59657b Add BUILDLINK_RECOMMENDED.glib2+= glib2>=2.6.1
Noted on tech-pkg today that older packages had libgobject-2.0.so.400
and libglib-2.0.so.400 and newer packages provided
libgobject-2.0.so.0.600.3 and libglib-2.0.so.0.

The libtool changes on Sept. 22, 2004 made this install different
library naming. The next update was in 2.6.1 (on January 9, 2005).
So setting BUILDLINK_RECOMMENDED.glib2 to that version.

Apparently, 2.6 is binary-compatible with any 2.x version.

Hopefully, this will be good enough to force anyone with glib2 packages
from before Sept. 22, 2004 to update.
2005-04-07 02:35:39 +00:00
jmmv
91ff0e5964 Add all .pc.in files to PKGCONFIG_OVERRIDE. 2005-03-13 13:17:39 +00:00
wiz
63b0d63d00 Update to 2.6.3:
Overview of Changes from GLib 2.6.2 to GLib 2.6.3
=================================================
* GOption
 - Fix formatting of --help output [Matthias Clasen]
 - Accept -? [Matthias]
* Win32 bug fixes [Bill Skaggs, Tor Lillqvist,
  J. Ali Harlow, Daniel Atallah]
* Other bug fixes [Ed Avis, Manish Singh, Matthias,
  Nicolas Laurent, Kjartan Maraas, Bastian Nocera,
  Suren A. Chilingaryan, Michael Banck]
* Documentation improvements [Matthias]
* New and updated translations (ar,el,et,fi,fr,gu,nb,no,uk,xh)
2005-03-02 15:38:08 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
recht
dabc48c28b adapt to latest bsd.pkg.mk changes
Fixes PR 29347 by jwjr at panix.com
2005-02-13 19:12:14 +00:00
jmmv
ce2afa063e Update to 2.6.2:
* GKeyFile
 - Accept \r\n line ends [Bastian Nocera]
 - Add unit tests [Matthias Clasen]
 - Don't treat numbers with leading zeros as octal [Matthias]
* Win32 changes
 - Bug fixes [Kazuki Iwamoto, Tor Lillqvist, Robert Ögren, Ulf Lamping]
* Other bug fixes [Tor, Owen Taylor, Kjartan Maraas, Pawel
  Sakowski, Simon Budig, Mathias Hasselmann, David Hoover, Morten Welinder]
* Documentation improvements [Vincent Untz, Sebastian Bacher, Matthias]
* New and updated translations (ca,et,it,lt,pl,pt_BR,sk,tl)
2005-02-04 11:21:11 +00:00
jmmv
ab6522f70d Update to 2.6.1.
While here, get rid of the XDG path specification madness and use the
installation prefix to locate stuff instead of a nonsense hardcoded
path.  Note that this is not pkgviews friendly (not a problem because
the previous behavior wasn't even).  This makes applications work out
of the box (well, there are still some hardcoded paths in other
packages that have to be discovered), without any need to set an
environment variable.

* GOption
 - Make gtk_init(NULL, NULL) work again [Marcin Krzyzanowski]
 - Improve handling of -- [Matthias Clasen]
 - Don't show G_OPTION_REMAINING in --help output [Matthew F. Barnes]
* g_find_program_in_path() doesn't return directories [Tommi Komulainen]
* Add gmodule-export-2.0.pc [Matthias]
* Win32 changes
 - Improve hangling of UNC paths [Tor Lillqvist]
 - g_getenv(), g_setenv(), g_unsetenv(), g_find_program_in_path()
   take and return UTF-8 now [Tor]
 - Make g_file_test() work more reliably, and use PATHEXT
   when check for executables [Tor]
 - Build and cross-compilation fixes [J. Ali Harlow]
* Other bug fixes [Jens Hatlak, Morten Welinder,
  Tor, Kalpesh Shah, Adrian Bunk
* Documentation improvements [Marcin Krzyzanowski, Tor, Crispin
  Flowerday, Mariano Suárez-Alvarez, Christian Biere, Danny Milo,
  Vincent Untz, Bastien Nocera
* New and updated translations (cy,de,nl,ru,sq,sv)
2005-01-09 17:30:00 +00:00
agc
b217cc91ab Regenerate distinfo for modified patch-ag 2005-01-06 10:58:30 +00:00
itohy
ab1371bd4c ld.so (a.out) doesn't treat "symbol not found" as an error
and dlerror() returns NULL.
2005-01-06 09:07:06 +00:00
jmmv
5b309460ab Update to 2.6.0:
Overview of Changes from GLib 2.4.x to GLib 2.6.0
=================================================

* Major new APIs
  - GOption, a commandline option parser
  - GKeyFile, a parser/editor for the .ini like files
  - Functions to support the XDG basedir specification
  - Wrappers for common POSIX pathname functions to handle filename
    encodings consistently. On Windows, these use UTF-8.

* Miscellaneous new functions
  - g_filename_display_name() converts filenames in displayable UTF-8 strings
  - g_uri_list_extract_uris() splits uri lists
  - g_date_get_iso8601_week_of_year() gets ISO 8601 week numbers
  - g_log_set_default_handler() installs an alternate default log handler
  - g_get_language_names() obtains a list of applicable locale names
  - g_strv_length() calculates the length of NULL-terminated string arrays
  - g_win32_get_windows_version() determines the Windows version
  - G_GNUC_INTERNAL marks functions as non-exported
  - glib_check_version() checks the GLib version at runtime
  - g_debug() completes the family of logging functions

* Performance improvements
  - Optimize g_utf8_validate()
  - Optimize g_markup_parse_context_parse()
  - Reduce signal connection complexity from O(n) to O(1)
  - Get rid of many PLT entries for internally used exported symbols
  - Reduce code size by removing literal strings from g_return_if_fail()

* Other changes
  - On Windows, GLib functions that take file name arguments now require
    those to be in UTF-8. Functions that return file names return UTF-8.
  - Use higher precision for mathematical constants
  - Don't convert to/from UTF-8 in g_filename_to_uri/g_filename_from_uri
  - Support ll as printf format modifier for long long on all platforms
  - Clean up the ABI and enforce the list of exported symbols
  - Add a .pc file for using gmodule in libraries
  - Require ngettext
2004-12-24 10:03:27 +00:00
grant
4f163d6c5d glib2 uses dlopen() 2004-12-20 13:05:08 +00:00
jmmv
97c8d45a2c Update to 2.4.8:
* Reduce signal connection complexity from O(n) to O(1) [Sven Neumann]
* GChildWatch
  - Use sigaction instead of signal [Jonas Jonnson, Archana Shah]
  - Make the very first SIGCHLD work [Gustavo Carneiro]
* Win32 bug fixes [Tor Lillqvist, Bruce Hochstetler]
* Other bug fixes [Andrea Campi, Dave MacLachlan]
2004-12-04 22:17:50 +00:00
jlam
19517bce86 Fix the pthread detection so that where no native pthreads are present,
we don't add -pthread to CFLAGS.  Also, pkgsrc libtool on NetBSD will
do the right thing with respect to pthreads, so we don't need to use the
hack in the configure script.
2004-11-12 06:42:19 +00:00
gavan
c85395af1f Ensure the correct perl interpreter is found by configure. 2004-10-15 13:42:51 +00:00
jmmv
c85e201724 Update to 2.4.7:
* Win32 bug fixes
  - Fix Unicode collation [Tor Lillqvist]
  - Fix a thread leak [Peter Zelezny]
  - Fix build with newer mingw headers [Tor]
  - Convert messages to UTF-8 [Kazuki Iwamoto]
  - Don't open console windows [Tor]
* Other bug fixes [Manish Singh, Matthias Clasen, Morten Welinder,
  Tim Janik, Tor]
* Documentation improvements [Morten, Stephan Kasal, Philippe Blain,
  Nickolay V. Shmyrev, Gustavo Carneiro, Kjartan Maraas, Stefan Kost]
* New and updated translations (bs,da,es,gl,ne,nn,or,ro,sq,tr)
2004-10-08 19:18:25 +00:00
grant
fa5a2cbdc6 distinguish between glib1 and glib2 in COMMENT. 2004-10-04 11:19:40 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jmmv
f00f5d1fb5 Pick up maintainership (something I should have done a long while ago...) 2004-08-31 11:53:07 +00:00
xtraeme
0904314739 Update devel/glib2 to 2.4.6.
Overview of Changes from GLib 2.4.5 to GLib 2.4.6
=================================================

* Bug fixes [Matthias Clasen, Ray Strode]
* New and updated translations (mn,nb)

Overview of Changes from GLib 2.4.4 to GLib 2.4.5
=================================================

* Fix g_filename_from_uri() to work with non-UTF-8
  filenames  [Robert Ã~Vgren, Matthias Clasen]
* Make GMarkup parser handle of whitespace inside tags
  according to XML 1.1  [Hiroyuki Ikezoe, Matthias]
* Documentation improvements [Soeren Sandmann, Christophe Fergeau,
  Danek Duvall]
* Other bug fixes [Oliver Guntermann, Sven Neumann,
  James Henstridge, Murray Cumming, Matthias, Tommi Komulainen]
* New and updated translations (bg,hi,sq)
2004-08-14 11:24:13 +00:00
jmmv
8fd6a53938 Update to 2.4.5:
* Fix g_filename_from_uri() to work with non-UTF-8 filenames
  [Robert Ögren, Matthias Clasen]
* Make GMarkup parser handle of whitespace inside tags according to XML 1.1
  [Hiroyuki Ikezoe, Matthias]
* Documentation improvements [Soeren Sandmann, Christophe Fergeau, Danek
  Duvall]
* Other bug fixes [Oliver Guntermann, Sven Neumann, James Henstridge, Murray
  Cumming, Matthias, Tommi Komulainen]
* New and updated translations (bg,hi,sq)
2004-07-30 22:14:18 +00:00
jmmv
72b3fd0e66 Update to 2.4.4:
* Win32 bug fixes (John Ehresman)
* Other bug fixes (Manish Singh, Matthias Clasen, Federico
  Mena Quintero, Philippe Blain, Sven Neumann, Julio M. Merino
  Vidal, Kaz Sasayama, Morten Welinder, Mariano Suarez-Alvarez)
* Documentation updates (Crispin Flowerday, Ed Griffiths,
  Federico)
* New and updated translations (az,ne,sq)
2004-07-09 15:30:16 +00:00
wiz
f1d962502c Unused. 2004-07-02 22:13:09 +00:00
jmmv
a5dea872c7 Update to 2.4.2:
* Win32 bug fixes
 - make printf accept ll format modifier [Tor Lillqvist]
 - only believe HOME if it is an absolute path an exists [Tor]
* Other bug fixes (Steve Lhomme, Tor, Hans Breuer, Manish Singh,
  Owen Taylor, Matthias Clasen, Nikolai Weibull, Benoît Carpentier,
  Morten Welinder)
* New and updated translations (de,it,ja,ko,no,pt_BR,sq,wa,zh_CN)
2004-06-04 17:52:35 +00:00
xtraeme
8d2bb7dcb6 Drop maintainership; I don't have the enough free time to maintain
all these packages.
2004-05-07 01:14:46 +00:00
jmmv
33211ac22b Update to 2.4.1:
* Win32 bug fixes [Tor Lillqvist, Roger Leigh, John Ehresman]
* Miscellaneous bug and portability fixes [Owen Taylor,
  Matthias Clasen, Jonas Jonsson, Christian Krause,
  Nickolay V. Shmyrev, Christophe Saout, Philippe Blain,
  Piotr Klaban]
* Documentation updates [Matthias]
* New and updated translations (ca,cs,cy,el,en_CA,en_GB,es,eu,fi,
  fr,gu,he,id,nl,pt,pl,ru,sr,sr@ije,sr@Latn,sv,uk)
2004-05-02 20:05:53 +00:00
tv
30e11b32d0 Revert Interix <poll.h> patch as we're no longer using poll(2) on that
platform at all.
2004-04-28 14:20:29 +00:00
tv
5eb801b981 Make build and wotrk on Interix. (Bugzilla bugs open for these changes;
noted in each patchfile.)
2004-04-28 03:43:02 +00:00
minskim
ec4500fc4d Enable pkgviews installation. 2004-04-24 04:56:17 +00:00
minskim
c48b8ff3bf Disable installing charset.alias, which makes this package conflict
with libiconv when pkgviews is enabled.  Suggested by recht@.
2004-04-24 04:54:07 +00:00
jmmv
6e8e2cf076 Update to 2.4.0nb2:
Add a workaround for broken dlopen(NULL, 0) implementations, like NetBSD's
one, which don't search in modules opened at runtime to locate symbols
requested through the global handle.  The workaround consists in querying
all open modules (not just the main one) when finding a symbol through the
global handle.

This should be fixed in NetBSD, but the check and workaround are needed to
let this work on not-so-old versions of it.  The patch has been submitted
to glib developers, too.

This problem exposes, at least, in evolution's settings dialog, where many
widgets can't be created because of missing functions.
2004-04-17 10:37:12 +00:00
xtraeme
a69a67359b Be sure libgthread is linked to libc_r, because -pthread does not work
with libraries, fixes problems seen when building net/ORBit2 in FreeBSD
(doesn't affect others systems).
2004-04-15 01:49:41 +00:00
jmmv
44e69ddb74 Fix detection of RTLD_GLOBAL, which was beeing incorrectly detected in NetBSD
and caused lots of obscure problems in programs loading plugins (specially,
gstreamer).

The problem is that the check in the configure script tries to dlopen the
libpthread.so library, but the test program is not linked against libpthread
itself.  So it crashes, because this is not supported in NetBSD (the program
was "initialized" as a non-threaded one).  I've changed the test program to
use libintl, which seems to work fine.

Bump PKGREVISION to 1.
2004-04-06 07:15:53 +00:00
jmmv
916ef7dd4a Update to 2.4.0:
GLib-2.4 is a stable release adding an incremental improvement
in functionality over GLib-2.2 while maintaining binary and
source compatibility.  New features include:

General
* Watches for child process exit integrated into the main loop.
* Unicode tables updated to cover all of Unicode-4.0.
* Standard header file for gettext macros, including Q_() macro
  for strings with context.
* Improved seeding for the GRandom random number generator.

Threading
* Atomic operations on integers and pointers.
* GOnce for one-time initialization.

GObject:
* G_DEFINE_TYPE macros for easy definition of GObject types.
* Properties can now be added to interfaces.
* Instance private data allows private data members for objects.
2004-04-01 18:13:31 +00:00
tron
357ef5b72d Try "-pthreads" before "-pthread" to work arround a problem in the
"configure" script which otherwise picks "-pthreads" as the compiler
option for POSIX's Threads.

The real problem is probably that the buildlink3 framework passes
"-pthread" as a compiler option to "configure" and therefore defeats
the probes in the "configure" script. But that's hard to fix.
2004-03-31 19:41:21 +00:00
snj
f16014c245 Fix build with gcc2 on sparc64. 2004-03-22 22:09:17 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
40c2807f53 Deal with situation where ICONV_TYPE isn't defined until after bsd.pkg.mk
is included by not checking its value explicitly.
2004-03-10 17:58:22 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
wiz
5864f18321 buildlink{2,3} files should not include pkgconfig/buildlink{2,3}.mk. 2004-02-19 17:54:05 +00:00
jlam
cf9b0b1a09 The GNOME Project hasn't suddenly started using C++. These packages only
seemed to need the C++ compiler because the libtool configuration required
it.  This has been fixed in pkgsrc/mk.
2004-02-15 13:43:41 +00:00
jmmv
ab17dd00b3 PKGCONFIG_OVERRIDE is relative to WRKSRC. 2004-02-14 18:26:26 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jmmv
3ca181de25 Make pkglint happy. 2004-02-11 17:14:13 +00:00
jlam
00ad1984b1 Add pthread.buildlink3.mk missing from this file. glib2's libgthread
has always needed a thread library.
2004-02-11 12:27:22 +00:00
jlam
057d7df5ec Teach these package Makefiles about ICONV_TYPE. 2004-02-11 12:20:03 +00:00
abs
a1d0b1b68b USE_LANGUAGES=c c++ 2004-02-11 01:46:30 +00:00
jmmv
8cbf958a99 Put TEST_TARGET definition before the includes. 2004-02-11 00:20:51 +00:00
jlam
80ef42b174 The BUILDLINK_DEPENDS.<pkg> should match the one in the buildlink2.mk file
if it exists.
2004-02-10 20:15:09 +00:00
xtraeme
1f87f5d76c bl3ify 2004-02-10 01:56:42 +00:00
jlam
bbdd151ce7 BUILDLINK_DEPENDS.<pkg> lines should _always_ use += to _append_ to the
existing value.  This is critical to set the correct list of dependencies
for a package.
2004-02-09 23:56:32 +00:00
recht
53fd1e5ac4 Add buildlink3.mk. (needed to bl3ify lang/mono)
ok'ed by xtraeme@
2004-02-03 10:49:53 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
xtraeme
1bc31a5c9d Make sure libgthread is linked to the libpthread library, fixes gtk2 build
in FreeBSD. Patch provided by Michal Pasternak in PR pkg/23841.

Tested in NetBSD -current and FreeBSD 5.x.
2004-01-07 07:33:54 +00:00
gavan
3ff3196d9d Use G_VA_COPY instead of va_copy. 2003-12-30 12:25:44 +00:00