./devel/glib2, Some useful routines for C programming (glib2)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 2.40.0, Package name: glib2-2.40.0, Maintainer: prlw1

GLib provides the core application building blocks for libraries
and applications written in C. It provides the core object system
used in GNOME, the main loop implementation, and a large set of
utility functions for strings and common data structures.

This package contains GLib version 2.


Required to run:
[lang/perl5] [devel/libffi] [devel/libelf] [devel/pcre]

Master sites: (Expand)

SHA1: 44e1442ed4d1bf3fa89138965deb35afc1335a65
RMD160: c50eed34bf8df127b959af27b02d6036934f758e
Filesize: 6851.785 KB

Version history: (Expand)

CVS history: (Expand)

   2014-09-15 01:35:23 by Patrick Welche | Files touched by this commit (2)
Log message:
Refer to upstream bug
   2014-09-14 23:36:19 by John Klos | Files touched by this commit (2)
Log message:
Fixes glib2 on netbsd-5. From OBATA Akio. Tested on macppc and amd64.
   2014-09-08 10:44:54 by Jonathan Perkin | Files touched by this commit (1)
Log message:
Add a comment explaining why we need to force --with-libiconv=gnu for
the ICONV_TYPE=gnu case.  Suggested by wiz.
   2014-09-08 10:33:59 by Jonathan Perkin | Files touched by this commit (1)
Log message:
Put back CONFIGURE_ARGS.gnu-iconv, it is required for the ICONV_TYPE=gnu
case to avoid conflicts between the native libiconv and iconv.h from GNU
libiconv and ensure only GNU libiconv is used.  Discussed with prlw1.
   2014-09-05 22:51:44 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
Reset PKGREVISION after update.
   2014-09-05 22:49:55 by Patrick Welche | Files touched by this commit (23) | Package updated
Log message:
Update glib2 to 2.40.0

Patches removed:
- patch-ai
    Fixed in e3fa9c9a (Bug 583321)
- patch-cj
    Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
    Fixed in 0167c334
- patch-gio_gfile.c
    Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
    Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
    Credentials have changed, see below
Patches changed:
- patch-aa
    Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
    Third chunk fixed in 7cf221aa
    Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
    Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
    Attempt at gcredential support for NetBSD (Bug 728256)

Highlights from changes:

 * Disable IPv6 testcases on machines without IPv6
 * Document that it is a bad idea to match on generic error codes
 * This release introduces a hard dependency on present and functioning
   clock_gettime() and CLOCK_MONOTONIC.  It also introduces a
   dependency on pthread_condattr_setclock() unless your system
   happens to have pthread_cond_timedwait_relative_np() (as do Mac
   OS and Android).  This release is known to be broken with at
   least GNU/Hurd, pending addition of working
   pthread_condattr_setclock(CLOCK_MONOTONIC) there.
 * New API: g_str_to_ascii()
 * fix a crasher in code from gdbus-codegen
 * improvements to gobject gdb helper script
 * Portability:
   - fix a deadlock issue with kqueue on FreeBSD
   - work around a quirk in the sunstudio compiler
   - rename a variable to avoid clashing with a macro definition of
     'environ' on some platforms (like mingw)
   - use POSIX-specified <poll.h> over <sys/poll.h>
   - many improvements to Visual Studio projects and and some build
     fixes for Windows
 * tests
   - a very large number of improvements in test coverage
   - don't report skipped tests as failures
   - return 77 if we skip all tests in an executable
   - improve gtest documentation and fix some minor issues
   - fix g_test_trap_reached_timeout() return value
   - remove some dead code uncovered during test coverage expansion
   - Use tap mode for installed tests too, when using tap
 * fix races in unix signal handling
 * make our GVariant-based commandline tools (glib-compile-schemas,
   gdbus, gapplication) print out GVariant parse errors in context
 * GApplication now has a --gapplication-service command line switch to
   turn any GApplication into a service
 * improve compatibility of GApplication and GOptionContext
 * fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
 * use a directory monitor in GKeyfileSettingsBackend
 * improve robustness of some GIcon classes
 * Portability
   - Remove alleged support for OS/2
   - Remove alleged support for BeOS
   - Remove alleged support for last-millennium Unixes
   - Require C90 compliance
   - Require POSIX.1 (1990) compliance on Unix
   - Require GNU make
 * GSettings fixes/improvements
   - GSettingsSchema API is now more powerful and consistent
   - new GSettingsSchemaKey API allows accessing metadata for keys:
     type, default value, range and the long-awaited support for summary
     and description
   - GSettingsSchemaSource gains support for listing schemas within a
     source.  Deprecate the global API that did this for the default
   - 'gsettings list-schemas' now works properly with --schemadir
   - deprecate a bunch of now-redundant functionality on GSettings
   - add API to GSettings for getting the default value of a key (as set
     by the sysadmin)
   - add API to GSettings for determining if the user has assigned a
     particular value to a key (ie: we are not just reading the default)
   - ignore qualified tags and attributes appearing in schema files
 * Applications/Actions
   - make GSimpleAction a bit more strict with respect to state changes
     that would violate the interface (ie: by changing the state type
     after construction)
   - throw an error when attempting to 'Describe' a non-existent action
     via D-Bus instead of returning a bogus description
   - throw an error when attempting to invoke unsupported methods on an
     Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
     instead of emitting a g_critical() in context of the app (which is
     not itself at fault for the errant call)
 * Appinfo
   - substantially rework GDesktopAppInfo to reduce the amount of disk
     accesses that are performed in common situations
   - add a new class: GAppInfoMonitor for discovering when applications
     are installed/removed
   - add a new g_desktop_app_info_search() API for searching for
     installed applications by name, keywords, etc.
 * GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
   "qualified" tags and attributes (those with a colon in the name, such
   as 'my:tag')
 * GDBus
   - ignore qualified tags, as above
   - GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
     that test programs don't pick them up
   - add new session_bus_run() convenience in the tests and use it
 * GRand: use real random data as a seed on win32 and use the
   timestamp/pid/uid fallback only on UNIX machines where we can't open
   '/dev/urandom'.  This may cause issues with older mingw32 releases
   due to a missing prototype for the rand_s() API.
 * Many win32 (and particularly MSVC) portability fixes.  Many
   additional tests are now runnable when building with MSVC.
 * Due to early testing of the (soon to land) GCleanup framework, a very
   large number of memory errors have been found and fixed (mostly in
   the testcases, but some in glib itself).
 * GIO:
   - some more seeking cleanups: particularly on GLocalFileInputStream
   - don't leave a .trashinfo file around if trashing a file fails
   - Add a request_certificate virtual method to GTlsInteraction
 * GNotification
   - new API for sending persistent notifications via the desktop shell
   - notifications persist when the application has quit and clicking on
     them can restart the application with an action (via
 * GSubprocess
   - new API for launching subprocesses
   - nice GIO integration like async functions, cancellability, etc.
   - a convenient communicate() API inspired by the same API in Python
   - related: the gspawn API now has a CLOEXEC flag for the created
     pipes for stdin/stdout/stderr
 * New gapplication(1) commandline tool
   - intended to be used with DBusActivatable apps
   - can be used for launching apps, opening files, invoking application
     actions and listing apps and actions
   - bash tab completion is supported
 * GDesktopAppInfo changes:
   - g_file_get_path() can implicitly cause a FUSE mount so don't call
     it until we know we need it (for an app that doesn't support URIs)
   - don't crash when trying to load from a keyfile with
   - remove some dead code, refactor the search path handling a bit and
     do a large-scale whitespace cleanup (prep work for the pending
     desktop file index)
 * File monitors
   - fix broken handling of mount point monitoring
   - remove some strange use of GObject::constructor() from the base
     class and inotify backend
   - fix GFileMonitor to work in the non-default main context even when
     the main context is not running (or is blocked)
   - add internal private API for easily creating a file monitor in the
     GLib worker thread
 * GSettings
   - g_settings_list_children: only list viable schemas.  This fixes a
     longstanding issue where 'gsettings list-recursively' will crash
     when there are invalid schemas installed
   - don't accept invalid paths on g_settings_new_with_path, etc.
 * GIO
   - GFile now has a thumbnail::is-valid attribute to check if the
     thumbnail in thumbnail::path needs to be regenerated
   - GDBusProxy now has a flag to control autostarting of services at
     construction time
   - for GSeekable, properly introduce the concept of "resizable" vs.
     "fixed-sized" streams in the docs, explaining the expected
     semantics of the interface in each case
   - fix some cases in GMemoryOutputStream that were violating the above
     expectations (which may cause a slight API incompatibility)
   - clean up GCredentials code and add support for Hurd and Solaris
   - improve splicing by using different codepaths for the case where we
     have real _read_async() and _write_async() implementations on the
     stream vs. the case where they are internally emulated (via
     dispatching the sync variant of the call in a thread)
 * GKeyFile
   - fix a leak in g_key_file_get_(u)int64 when we fail to parse the
     value as an integer
   - add long-requested API g_key_file_save_to_file()
 * Portability improvements
   - avoid using O_DIRECTORY on platforms that don't have it
   - be careful about systems that define SOCK_CLOEXEC but don't
     actually support it (like Hurd)
   - only use SA_RESTART if it exists
 * Other small API changes/additions
   - a pair of functions to support matching strings for the type of
     search functionality that you'd expect to have with things like
     GtkSearchBar.  This will also be used by the desktop file index.
   - g_str_is_ascii() with obvious purpose
   - g_test_expect_message() no longer appears to allow you to catch
     G_LOG_ERROR messages
 * GMainContext/GSource
   - fix handling of overflowing the 'next source id' counter
   - g_source_remove() will now throw a critical in the case that you
     try to remove a non-existent source.  We expect that there is some
     code in the wild that will fall afoul of this new critical but
     considering that we now reuse source IDs, this code is already
     broken and should probably be fixed.
   - simplify handling of the 'current dispatching source' to not
     require use of a linked list
 * GObject
   - the long-broken (and leaky) pattern of destroying a just-allocated
     object from inside of a custom GObject::constructor is now
     officially completely illegal and will abort the program
 * Unicode: update to 6.3.0
 * Many bug fixes
 * Many translation updates

For full details see:
   2014-06-06 01:41:26 by enami tsugutomo | Files touched by this commit (1)
Log message:
Requiring pcre 8.11 is no longer enough.  gregex.c refers symbol
PCRE_INFO_MAXLOOKBEHIND which is introduced in pcre 8.31.
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.