The NetBSD Project

CVS log for pkgsrc/devel/glib2/patches/Attic/patch-ap

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / glib2 / patches

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6, Fri Sep 5 20:49:55 2014 UTC (9 years, 7 months ago) by prlw1
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED

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
     source.
   - '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
     DBusActivatable)
 * 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
     DBusActivatable=true
   - 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:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 19 22:21:41 2013 UTC (11 years ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.4: +20 -21 lines
Diff to previous 1.4 (colored)

Update glib to 2.36.1

Among many bugfixes, changes and translations:

 * GIO now has kqueue support for GFileMonitor (BSDs, Mac OS)
 * GTask (the new GAsyncResult implementation) has landed
 * We now install a public "gnetworking.h" header that can be used to
   include the relevant OS-dependent networking headers. This does not
   really abstract away unix-vs-windows however; error codes, in
   particular, are incompatible.

See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.36.1 for details.

Patches removed:
- patch-aj:
    Per PR pkg/41601: Bug 133344 is closed and compile tested by Joern Clausen
- patch-at:
    Fixed in b26fb3ae (Bug 687600)
- patch-cf:
    Adds sys/param.h - if still needed, should go into gnetworking.h.in
    XXX might still be needed
- patch-cg:
    Fixed (or changed anyway) in 6f8f1f70 and 52a81a7d (Bug 688681)
- patch-ci:
    Fixed in a33aaad0 (Bug 637013)
- patch-glib_goption.c:
    Fixed in f9a6a974
- patch-glib_tests_include.c:
    Fixed in d2b7ee62 (Bug 672406)

Patches changed:
- patch-ak:
    First chunk fixed in 5fbdd3aa (Bug 691011)
- patch-ap:
    Added NetBSD support to g_credentials_get_unix_pid()
    First chunk fixed in b377e696 (Bug 623187)
- patch-aq:
    First chunk fixed in b8c13a01 (Bug 688109)

Patches added:
- patch-gio_glocalfile.c (Reported as Bug 698348)

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 13 21:23:07 2012 UTC (11 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.3: +7 -7 lines
Diff to previous 1.3 (colored)

Changes 2.34.2:

* Bug fixes:
 649302 Add support for GNU/FreeBSD
 672924 Add annotations for g_filename_from_uri()
 685995 Crash in g_menu_exporter_name_vanished
 686091 Invalid reads in g_bytes_unref_to_data
 686185 g_date_time_format Transcoding Fails on OSX
 686213 Half open TCP sockets remain open after soup...
 686662 introduce explicitly-sized enum types, depre...
 686786 g_socket_get_available_bytes() returns wrong...
 687089 g_dbus_connection_export_menu_model(): fix a...
 687540 In Trash folder, Nautilus misinterprets "\n"...
 687541 GSignalQuery param_types field needs array a...
 687600 gfileutils.c performs invalid cast of (varar...
 687801 tests/buffered-input-stream: Fix size of par...

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sun Apr 15 13:06:03 2012 UTC (12 years ago) by tron
Branch: pkgsrc-2012Q1
Changes since 1.2: +14 -11 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pullup ticket #3733 - requested by bsiegert
devel/glib2: portability fix

Revisions pulled up:
- devel/glib2/distinfo                                          1.167
- devel/glib2/patches/patch-ap                                  1.3
- devel/glib2/patches/patch-aq                                  1.3
- devel/glib2/patches/patch-glib_goption.c                      1.1

---
   Module Name:    pkgsrc
   Committed By:   bsiegert
   Date:           Tue Apr 10 19:48:17 UTC 2012

   Modified Files:
           pkgsrc/devel/glib2: distinfo
           pkgsrc/devel/glib2/patches: patch-ap patch-aq
   Added Files:
           pkgsrc/devel/glib2/patches: patch-glib_goption.c

   Log Message:
   Add some patches for MirBSD support. More to come, but these are at least
   sufficient to make glib2 build successfully.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 10 19:48:17 2012 UTC (12 years ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.2: +15 -12 lines
Diff to previous 1.2 (colored)

Add some patches for MirBSD support. More to come, but these are at least
sufficient to make glib2 build successfully.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 29 10:46:54 2012 UTC (12 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base
Branch point for: pkgsrc-2012Q1
Changes since 1.1: +13 -13 lines
Diff to previous 1.1 (colored)

update to 2.30.2
this switches to the 2.30 release branch

pkgsrc note: if you use net/libsoup24 with this glib2 version, make
sure to use at least version 2.34.3nb1

Revision 1.1 / (download) - annotate - [select for diffs], Wed Mar 9 11:22:04 2011 UTC (13 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1

update to 2.28.2
This switches to the new glib-2.28 branch which is intended to
help transition to glib/gtk3. Still binary compatible.
(The unix socket credential passing stuff needs work, but this
is new and thus no regression.)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>