Commit graph

119 commits

Author SHA1 Message Date
Tollef Fog Heen
53accfa62d Document changes 2005-08-22 10:43:39 +00:00
Tollef Fog Heen
145dba778d Add solaris workaround for tests
/bin/sh on solaris isn't POSIX compliant, so we just exec a POSIX
shell on Solaris.
2005-08-22 10:41:08 +00:00
Tollef Fog Heen
924949891f tag of pkgconfig@bazaar.ubuntu.com/pkgconfig--MAIN--0--patch-115 2005-07-17 07:56:43 +00:00
Arch Librarian
6db0e65396 2005-07-16 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-07-16 10:22:46 GMT
2005-07-16  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: Release 0.19
2005-07-16 13:07:58 +00:00
Arch Librarian
f4ef194406 2005-07-15 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-07-15 08:22:55 GMT
2005-07-15  Tollef Fog Heen  <tfheen@err.no>

        * pkg.c (package_get_var): Make sure to g_strdup all the return
        values and not return some values which should not be freed and
        some which should.  Yay valgrind.  Freedesktop #3682
2005-07-15 13:08:02 +00:00
Arch Librarian
c261155300 2005-07-15 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-07-15 07:19:06 GMT
2005-07-15  Tollef Fog Heen  <tfheen@err.no>

        * configure.in: Fix default search path to be pkgconfig rather
        than pkg-config again.  Freedesktop #3662
2005-07-15 13:08:01 +00:00
Arch Librarian
0df5bca1cf 2005-07-15 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-07-15 06:50:41 GMT
2005-07-15  Tollef Fog Heen  <tfheen@err.no>

        * pkg.m4: Add a missing AC_MSG_RESULT.  Thanks to Gary Kramlich
        for noticing this and harassing me to fix it.
2005-07-15 13:07:59 +00:00
Arch Librarian
1db5fc1f32 2005-06-29 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-06-29 11:07:48 GMT
2005-06-29  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: Release 0.18.1
2005-07-14 13:07:37 +00:00
Arch Librarian
bcd33f08a3 2005-06-29 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-06-29 11:06:59 GMT
2005-06-29  Tollef Fog Heen  <tfheen@err.no>

	* pkg.m4: Brown bag fix.  pkg_failed was always set to ���untried���.
	Debian #316181.
2005-07-14 13:07:36 +00:00
Arch Librarian
b4d15164d4 2005-06-27 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-06-29 11:05:34 GMT
 2005-06-27  Tollef Fog Heen  <tfheen@err.no>

       * configure.in: Rename to pkg-config.
2005-07-14 13:07:34 +00:00
Arch Librarian
122b4d1fd9 2005-06-27 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-06-27 20:11:28 GMT
2005-06-27  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: Release 0.18
2005-07-14 13:07:33 +00:00
Arch Librarian
9a0a032721 add missing bug numbers
Author: tfheen
Date: 2005-06-27 20:04:07 GMT
add missing bug numbers
2005-07-14 13:07:32 +00:00
Arch Librarian
29afc67918 2005-06-27 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-06-27 19:53:05 GMT
2005-06-27  Tollef Fog Heen  <tfheen@err.no>

    All those Requires.private changes are thanks to James
    Henstridge.  Thanks!

    * check/private-dep.pc, check/public-dep.pc,
      check/requires-test.pc: New files, data for the
    check-requires-private test.

    * check/check-requires-private: New test to check for
    Requires.private support.

    * check/Makefile.am (EXTRA_DIST, TESTS): Add Requires.private
    test.

    * pkg.h (struct _Package): Add requires_private

    * pkg.c (get_requires_private, fill_list_single_package)
    (fill_list, verify_package, verify_package, get_merged)
    (get_merged_from_back, get_multi_merged)
    (get_multi_merged_from_back, package_get_l_libs)
    (packages_get_l_libs, package_get_L_libs, packages_get_L_libs)
    (package_get_other_libs, packages_get_other_libs)
    (package_get_I_cflags, packages_get_I_cflags)
    (package_get_other_cflags, packages_get_other_cflags): Handle
    private requires and cascading changes.

    * parse.c (parse_requires_private, parse_conflicts)
    (parse_package_file): Handle Requires.private
2005-07-14 13:07:31 +00:00
Arch Librarian
3062149924 2005-06-27 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-06-26 22:51:05 GMT
2005-06-27  Tollef Fog Heen  <tfheen@err.no>

    * pkg.m4: Add PKG_CHECK_EXISTS to check if a module exists.
    Thanks to James Henstridge for the patch.
2005-07-14 13:07:25 +00:00
Arch Librarian
a587da1739 2005-06-26 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-06-26 20:04:10 GMT
2005-06-26  Tollef Fog Heen  <tfheen@err.no>

    * pkg.m4: Get rid of caching again.  This breaks too much stuff,
    and pkg-config doesn't take much time to run.
2005-07-14 13:07:23 +00:00
Arch Librarian
18c80f1cbb 2005-06-26 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-06-26 18:42:54 GMT
2005-06-26  Tollef Fog Heen  <tfheen@err.no>

    * glib-patches/configure.in-fd_set.diff: Patch to grep for fd_set
    rather than fd_mask.  Thanks to David Wolfe for the fix.  This
    should make pkg-config happier on QNX.
2005-07-14 13:07:22 +00:00
Arch Librarian
ef703c4284 2005-06-03 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-06-03 06:53:20 GMT
2005-06-03  Tollef Fog Heen  <tfheen@err.no>

    * pkg.m4, README, pkg-config.1: s/configure.in/configure.ac/,
    thanks to Morten Brix Pedersen <morten@wtf.dk>
2005-07-14 13:07:20 +00:00
Arch Librarian
20d118d57a 2005-05-21 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-05-21 09:14:47 GMT
2005-05-21  Tollef Fog Heen  <tfheen@err.no>

    * check/check-libs-private: New test to check for support for
    private libraries.

    * check/simple.pc (prefix): Add Libs.private header.

    * check/Makefile.am (TESTS): Add check-libs-private test

    * pkg.h: Adjust function prototypes.

    * pkg.c: Add global ignore_private_libs variable.
    (scan_dir): Use the correct free function.  Stop leaking file
    descriptors.
    (package_get_l_libs, packages_get_l_libs, package_get_L_libs,
    packages_get_L_libs): Stop the recursive silliness and go back to
    old behaviour.
    (packages_get_all_libs): Adjust parameters to packages_get_*_libs
    (enable_private_libs, disable_private_libs): Trivial helper
    functions.

    * pkg-config.1: Update documentation wrt search path (Debian
    #308942), update docs for Libs.private and add the problematic
    handling of mixing = and non-= arguments to the bugs section.

    * parse.h: Adjust parameters for parse_package_file to get private
    libs or not.

    * parse.c (trim_and_sub): Fix memory leak.
    (_do_parse_libs): New function including what's common between
    parse_libs and parse_private_libs.
    (parse_libs_private): New function.  Handle private libraries.
    (parse_line): Add . to the list of valid characters in headers (so
    Libs.private works correctly.
    (parse_line): Fix memory leaks.
    (parse_line): Handle Libs.private.
    (parse_package_file): Fix memory leak.

    * main.c (main): Fix memory leak.

    * NEWS: Document changes to inter-library handling.

    * main.c (main): Handle inter-library dependencies old-style, but
    do private libraries too.  Adjust parameters to
    packages_get_*_libs.

    * configure.in: Change comment wrt inter-library handling to talk
    about private libraries instead.
2005-07-14 13:07:18 +00:00
Arch Librarian
c22e6a1838 2005-04-22 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-22 00:19:24 GMT
2005-04-22  Tollef Fog Heen  <tfheen@err.no>

    * main.c (main): Re-add PKG_CONFIG_LIBDIR support which was
    removed by mistake.
2005-07-14 13:07:11 +00:00
Arch Librarian
c2a44053c3 2005-04-14 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-14 08:32:33 GMT
2005-04-14  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: Bump to 0.17.2

    * NEWS: Update for 0.17.2
2005-07-14 13:07:10 +00:00
Arch Librarian
02b2f9d26d Mark which bug is fixed
Author: tfheen
Date: 2005-04-14 08:30:43 GMT
Mark which bug is fixed
2005-07-14 13:07:08 +00:00
Arch Librarian
6c3ec8f447 2005-04-13 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-13 15:47:18 GMT
2005-04-13  Tollef Fog Heen  <tfheen@err.no>

    * pkg.c (packages_get_l_libs, packages_get_L_libs): Duplicate
    singly linked list before putting it on list passed to
    string_list_strip_duplicates_from_back to avoid infinite loop when
    g_slist_copy tries to copy self-linked list.  This happens if the
    user specifies the same name on the command line twice.
2005-07-14 13:07:07 +00:00
Arch Librarian
48ce9b7caa 2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-12 21:06:52 GMT
2005-04-12  Tollef Fog Heen  <tfheen@err.no>

        * configure.in: 0.17.1

        * NEWS: document changes for 0.17.1
2005-07-14 13:07:05 +00:00
Arch Librarian
58567845c5 2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-12 18:21:39 GMT
2005-04-12  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: Fix up AC_MSG_RESULT for indirect deps.  Also fix
    so the test no longer is inverted and auto works properly.
2005-07-14 13:07:03 +00:00
Arch Librarian
04dbfb4522 2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-12 17:21:04 GMT
2005-04-12  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: capitalisation-typo
2005-07-14 13:07:02 +00:00
Arch Librarian
76b1f44698 2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-12 17:06:32 GMT
2005-04-12  Tollef Fog Heen  <tfheen@err.no>

    * pkg.m4: Apply patch from James Henstridge to have AC_RUN_LOG in
    the right place.  (Freedesktop #2992)
2005-07-14 13:07:00 +00:00
Arch Librarian
d918a29418 2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-12 11:46:59 GMT
2005-04-12  Tollef Fog Heen  <tfheen@err.no>

    * pkg.m4: Add note that PKG_PROG_PKG_CONFIG must be called
    explicitly if the first call to PKG_CHECK_MODULES might not
    happen.  (Debian #303211)
2005-07-14 13:06:59 +00:00
Arch Librarian
afe36bd90f 2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-12 11:07:35 GMT
2005-04-12  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: Bump to 0.17
2005-07-14 13:06:57 +00:00
Arch Librarian
fb252ba408 2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-12 11:06:50 GMT
2005-04-12  Tollef Fog Heen  <tfheen@err.no>

    * NEWS: Update for 0.17

    * NEWS: Add note saying that we've now grabbed _PKG_* and PKG_*.
    (Freedesktop #2962)
2005-07-14 13:06:56 +00:00
Arch Librarian
15ce1f9d78 2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-12 10:49:11 GMT
2005-04-12  Tollef Fog Heen  <tfheen@err.no>

    * pkg.m4: wrap running pkg-config in AC_RUN_LOG per James
    Henstridge's suggestion.
2005-07-14 13:06:54 +00:00
Arch Librarian
2374ab1c3e 2005-04-12 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-12 10:22:52 GMT
2005-04-12  Tollef Fog Heen  <tfheen@err.no>

    * pkg.m4: Patch from James Henstridge to evaluate second argument
    again.  (Freedesktop #2987, Gnome #300232, Debian #303878,
    #303969)
2005-07-14 13:06:53 +00:00
Arch Librarian
9fbcebd354 2005-04-02 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-02 17:25:48 GMT
2005-04-02  Tollef Fog Heen  <tfheen@err.no>

    * glib-patches/remove-strsignal-prototype.diff: Remove strsignal
    prototype from gstrfuncs.c, it is included in string.h.  This
    fixes a compilation issue on cygwin. (Freedesktop #2598)
2005-07-14 13:06:51 +00:00
Arch Librarian
8b2511113e 2005-04-02 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-02 17:24:53 GMT
2005-04-02  Tollef Fog Heen  <tfheen@err.no>

    * glib-patches/distcheckfix.diff: Move glibconfig.h.win32 and
    config.h.win32 too.
2005-07-14 13:06:50 +00:00
Arch Librarian
a3d85bb344 2005-04-02 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-02 15:17:09 GMT
2005-04-02  Tollef Fog Heen  <tfheen@err.no>

        * glib-patches/distcheckfix.diff: Move glibconfig-sysdefs.h and
        glibconfig.h to DISTCLEANFILES since they're made by configure.
2005-07-14 13:06:48 +00:00
Arch Librarian
650d0a6ab6 2005-04-02 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-02 09:06:39 GMT
 2005-04-02  Tollef Fog Heen  <tfheen@err.no>

       * parse.c (parse_libs): Handle -framework as a single argument.
       (Freedesktop #1278)
2005-07-14 13:06:47 +00:00
Arch Librarian
4e5c667d33 2005-04-02 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-02 07:55:31 GMT
 2005-04-02  Tollef Fog Heen  <tfheen@err.no>

       * configure.in: Remove extraneous " from --with-pc-path's help
2005-07-14 13:06:45 +00:00
Arch Librarian
f4361a2704 2005-04-02 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-01 22:06:47 GMT
2005-04-02  Tollef Fog Heen  <tfheen@err.no>

    * glib-patches/mkinstalldirs.update.diff: cvs admin -ko to avoid
    having the Id CVS keyword being expanded, which broke the
    application of the patch.
2005-07-14 13:06:44 +00:00
Arch Librarian
dd137bad3a note patch origin
Author: tfheen
Date: 2005-04-01 21:53:37 GMT
note patch origin
2005-07-14 13:06:43 +00:00
Arch Librarian
986e4ebb03 2005-04-01 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-04-01 21:46:07 GMT
2005-04-01  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: Try to detect whether this architecture supports
    inter-library dependencies.  If so, we default to assuming that
    this support is used and link to the minimal set of libraries
    rather than traversing the full depends set.

    * main.c (main): Only recurse if we want a static library list or
    if this architecture doesn't support inter-library dependencies.
    This will probably expose bugs for libraries which declare
    dependencies in their .pc files but don't actually link against
    each other.

    * pkg.c (packages_get_all_libs): Add recurse option
    (packages_get_L_libs): Add recurse option
    (package_get_L_libs): Add recurse option
    (packages_get_l_libs): Add recurse option
    (package_get_l_libs): Add recurse option

    * pkg.h: Update prototypes to handle the recurse option.
2005-07-14 13:06:42 +00:00
Arch Librarian
96d4dc19c7 2005-03-29 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-03-29 07:09:37 GMT
2005-03-29  Tollef Fog Heen  <tfheen@err.no>

        * check/check-cflags, check/check-define-variable,
        check/check-libs, check/common, check/Makefile.am,
        check/simple.pc:  Add simple test framework and begin writing
        tests.

        * Makefile.am, configure.in: Make in check/ as well.
2005-07-14 13:06:38 +00:00
Arch Librarian
61efa4f6c4 2005-03-28 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-03-28 15:49:23 GMT
2005-03-28  Tollef Fog Heen  <tfheen@err.no>

        * glib-patches/distcheckfix.diff: Add some files to CLEANFILES so
        make distcheck now works.
2005-07-14 13:06:32 +00:00
Arch Librarian
b8125bf542 2005-03-28 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-03-28 14:21:23 GMT
2005-03-28  Tollef Fog Heen  <tfheen@err.no>

    * autogen.sh: Extra paranoia -- fail if running auto* fails or if
    patching fails.

    * glib-patches/mkinstalldirs.update.diff: Update patch so it
    applies cleanly

    * glib-patches/pthread-config-fix.diff: adjust offsets so patch is
    quiet again
2005-07-14 13:06:31 +00:00
Arch Librarian
ebcac020c9 2005-03-26 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-03-26 16:09:47 GMT
2005-03-26  Tollef Fog Heen  <tfheen@err.no>

        * configure.in: Fix default search path for .pc files.  (This was
        done after the change above but before tagging.  Put here to avoid
        confusion whether this went into the release).
2005-07-14 13:06:28 +00:00
Arch Librarian
9b5994677e 2005-03-26 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-03-26 15:32:55 GMT
2005-03-26  Tollef Fog Heen  <tfheen@err.no>

        * configure.in: Bump to 0.16

        * NEWS: update for 0.16
2005-07-14 13:06:27 +00:00
Arch Librarian
5a28728498 2005-03-26 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-03-26 15:27:05 GMT
2005-03-26  Tollef Fog Heen  <tfheen@err.no>

       * AUTHORS: Add myself.
2005-07-14 13:06:24 +00:00
Arch Librarian
d2080ec6d8 2005-03-18 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-03-26 14:59:26 GMT
 2005-03-18  Tollef Fog Heen  <tfheen@err.no>

       * main.c (main): Use add_search_dirs for both the compile-time
       defined pc_path and the run-time defined PKG_CONFIG_PATH.

       * pkg.h: Add prototype for add_search_dirs.

       * pkg.c (add_search_dirs): Add new function which takes a
       delimiter-separated list as input and add_search_dir's it.
       (package_init): Remove knowledge about which dirs should be
       initially added.  Moved this to main.c(main)

       * ChangeLog: Add emacs variables to set the date to this
       ChangeLog's standard format

       * Makefile.am (INCLUDES): Pass PKG_CONFIG_PCPATH on to main.c

       * configure.in: Add --with-pc-path to define the default search
       path for .pc files.  (Freedesktop #119, #648)
2005-07-14 13:06:23 +00:00
Arch Librarian
03723d4caa 2005-03-18 Tollef Fog Heen <tfheen@debian.org>
Author: tfheen
Date: 2005-03-22 08:54:08 GMT
2005-03-18  Tollef Fog Heen  <tfheen@debian.org>

       * pkg.c (print_package_list): Ignore requires when just listing
       the available packages.
       (internal_get_package): Pass ignore_requires on.

       * parse.h: update prototype for parse_package_file.

       * parse.c (parse_line): Ignore Requires when told so.
       (parse_package_file): Pass ingore_requires on to parse_line.

       (Freedesktop #191, Debian #232719)
2005-07-14 13:06:19 +00:00
Arch Librarian
3c5248e621 2005-03-18 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-03-18 08:04:33 GMT
2005-03-18  Tollef Fog Heen  <tfheen@err.no>

    * glib-patches/pthread-config-fix.diff: Add patch to detect
    pthreads properly on some architectures.  Thanks to Michael
    Haubenwallner for reporting this bug and providing a patch.
2005-07-14 13:06:17 +00:00
Arch Librarian
77d6ced01e 2005-02-21 Tollef Fog Heen <tfheen@err.no>
Author: tfheen
Date: 2005-02-21 08:09:28 GMT
2005-02-21  Tollef Fog Heen  <tfheen@err.no>

	* parse.c (parse_package_file): Stop leaking file descriptors.
	(Freedesktop #1006)
2005-07-14 13:06:15 +00:00
Arch Librarian
4a431629c2 Get rid of groff warnings when formatting pkg-config(1)...
Author: tfheen
Date: 2005-02-21 07:53:41 GMT
Get rid of groff warnings when formatting pkg-config(1) on an 80-column terminal.  Thanks to Colin Watson and Ubuntu for the fix.  (Freedesktop #148)
2005-07-14 13:06:14 +00:00