Commit graph

178 commits

Author SHA1 Message Date
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
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
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
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
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
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
fvdl
b0c349c2ce Add missing patch. 2003-11-13 10:58:43 +00:00
fvdl
6541bd67d7 For the 'trio' varargs functions, don't pass a reference to a va_list
argument to the level below; it's not portable. Use va_copy to
create a new copy, and pass a reference to that instead.
2003-11-11 13:39:09 +00:00
danw
7b641047ce patch the darwin gmodule implementation to recursively look up symbols
like the elf one does
2003-09-27 20:18:37 +00:00
wiz
3f97c11b0f Update to 2.2.3, from Juan RP in PR 22606.
Overview of Changes from GLib 2.2.2 to GLib-2.2.3
=================================================
* Win32 [Tor Lillqvist]
  - Fix socket handling for giochannel [Andrew Lanoix]
  - Omit helper process for GSpawn when possible
  - Accept / as well as \ as a pathname separators in
    path handling functions.
  - Fix g_strdup_printf to be locale sensitive [Ernst Lippe]
  - Build fixes [Jeff Bonggren]
  - Misc bug fixes
* Documentation improvements [Matthias Clasen]
* glib-gettext.m4 fixes [Tim Mooney, Owen Taylor, James Henstridge]
* Improve configure checks for sprintf [Matthias]
* Misc bug fixes [Albert Chin, Noah Levitt, Manish Singh, Owen,
  Morten Welinder, Daniel Yacob]
* New and updated translations (ar,az,cy,eo,is,sr,sr@Latn,zh_CN)

Also, add patch-ac to fix a compilation error in a test (patch
fed back).
2003-08-27 09:06:12 +00:00
chris
5aa046ef45 Fix gtk2 failing to build on -current. The problem is that the
gthread.la file doesn't note that pthread is a dependancy, so linking with
libtool against libgthread breaks.  It seems the workaround for libtool not
understanding -pthread doesn't work, so we use the same thing as linux, and
convert -pthread to -lpthread.  gtk2 now builds to completion on -current

Note that this has no impact on 1.6.1 as it doesn't use -pthread.
2003-02-09 00:57:13 +00:00
tron
70c2781912 Fix reverted check for "_POSIX_THREAD_PRIORITY_SCHEDULING" in last commit
and bump package revision again.
2003-01-29 10:18:34 +00:00
tron
2c103c3421 Check for symbol "_POSIX_THREAD_PRIORITY_SCHEDULING" instead of
"__NetBSD__" to detect existance of pthread_attr_getschedparam() and
pthread_attr_setschedparam() as suggested by Nathan J. Williams.
2003-01-28 18:28:17 +00:00
tron
8bf3b67388 Don't try to use pthread_getschedparam() or pthread_setschedparam() under
NetBSD. This change makes this package work with "nathanw_sa". Bump
package revision to reflect the change.
2003-01-28 10:15:41 +00:00
wiz
6d534a4f20 Update to 2.2.0. Deprecate PTL2 support for this package.
Major changes:
* Improve generation of pseudo-random integers [Morten Welinder,
  Sebastian Wilhelmi]
* Avoid literal UTF-8 in favor of octal escapes [Owen, Tomas Ogren]
* Add copy of the Trio library to build and use for printf() when
  system printf isn't good enough. Add g_printf()/etc. [Matthias Clasen]
* Add g_str_has_suffix()/g_str_has_prefix() [Alex Larsson]
* Add g_markup_parse_context_get_element() [Matthias]
* Add g_utf8_strreverse [Matthias]
* Add g_ascii_strtoull() [Tim Janik]
* Support scanning of 64-bit values with GScanner [Tim]
* Add g_set/get_application_name() [Havoc Pennington]
* Add G_LIKELY()/G_UNLIKELY() macros for hinting branch probabilities.
  Use for g_return_if_fail(). [Matthias Clasen]
* Add G_GNUC_DEPRECATED macro [Tom Tromey]
* Improve the seeding algorithm of GRandom to avoid problems
  with certain pathological seeds. Support G_RANDOM_VERSION=2.0
  environment variable. [Sebastian Wilhelmi]
* Improve thread configure checks, use -pthread where applicable
  [Sebastian]
* Improve handlng of thread priorities [Sebastian]
...as well as many bug fixes and translation updates.
2002-12-24 03:36:58 +00:00
grant
e898293327 USE_PKGLOCALEDIR. 2002-11-30 14:28:07 +00:00
rh
e525650d57 Replace hand made patches for pkgconfig tempates with PKGCONFIG_OVERRIDE. 2002-10-30 03:09:25 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
rh
2bdb972b36 Add missing -Wl,-R to the pkgconfig files. Bump PKGREVISION and default
buildlink dependency.
2002-05-10 01:17:28 +00:00
dmcmahill
57ce63bd28 update to glib-2.0.1
Overview of Changes in GLib 2.0.1
=================================

* Portability fixes for Sun's Forte compiler [Erwann Chenede]
* Performance improvements for GObject parameter lookup,
  g_filename_to/from_utf8() [Alex Larsson]
* Actually check interface prerequisites [Matthias Clasen,
  Miroslaw Dobrzanski-Neumann]
* Fix problem with glib-mkenums taking huge amounts of stack. [Owen Taylor]
* Fix g_signal_handlers_disconnect_by_func() for C++ [Damien Sandras]
* Fixes for g_log() and threading.
  [Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann, Tim Janik]
* Make g_print(), g_printerr(), g_warning(), etc, convert from
  UTF-8 to the encoding of the locale [Sebastain Wilhelmi, Tim]
* Fixes for GIOChannel on windows. [Tor Lillquist]
* Fix gsize/gint mismatches in giochannel.c [Miroslaw]
* Fix file descriptor leak in g_file_get_contents() [Matthias]
* Workaround iconv() problems on older Solaris [Lauri Alanko]
* Fix warnings with gcc-3.1 about asm const [Cody Russel]
* Minor bug fixes.

Other contributors: Hans Breuer, LEE Sau Dan, Sven Neumann, Salmaso Raffaele,
Akira Tagoh, Morten Welinder
2002-03-30 19:58:09 +00:00
dmcmahill
62beb2544b remove unneeded patches. pkg-info adds -Wl,-R${path} automatically, no
need to add it explicitly.
2002-03-25 02:05:47 +00:00
dmcmahill
37b479265b import glib2-2.0.0
GLib is a library which includes routines for C, providing lists,
trees, hashes, memory allocation functionality and many other things.

glib2 will coexist with glib-1.2.*
2002-03-24 20:27:12 +00:00