]> err.no Git - pkg-config/log
pkg-config
19 years ago2005-06-27 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:25 +0000 (13:07 +0000)]
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.

19 years ago2005-06-26 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:23 +0000 (13:07 +0000)]
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.

19 years ago2005-06-26 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:22 +0000 (13:07 +0000)]
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.

19 years ago2005-06-03 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:20 +0000 (13:07 +0000)]
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>

19 years ago2005-05-21 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:18 +0000 (13:07 +0000)]
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.

19 years ago2005-04-22 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:11 +0000 (13:07 +0000)]
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.

19 years ago2005-04-14 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:10 +0000 (13:07 +0000)]
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

19 years agoMark which bug is fixed
Arch Librarian [Thu, 14 Jul 2005 13:07:08 +0000 (13:07 +0000)]
Mark which bug is fixed
Author: tfheen
Date: 2005-04-14 08:30:43 GMT
Mark which bug is fixed

19 years ago2005-04-13 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:07 +0000 (13:07 +0000)]
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.

19 years ago2005-04-12 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:05 +0000 (13:07 +0000)]
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

19 years ago2005-04-12 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:03 +0000 (13:07 +0000)]
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.

19 years ago2005-04-12 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:02 +0000 (13:07 +0000)]
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

19 years ago2005-04-12 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:00 +0000 (13:07 +0000)]
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)

19 years ago2005-04-12 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:59 +0000 (13:06 +0000)]
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)

19 years ago2005-04-12 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:57 +0000 (13:06 +0000)]
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

19 years ago2005-04-12 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:56 +0000 (13:06 +0000)]
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)

19 years ago2005-04-12 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:54 +0000 (13:06 +0000)]
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.

19 years ago2005-04-12 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:53 +0000 (13:06 +0000)]
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)

19 years ago2005-04-02 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:51 +0000 (13:06 +0000)]
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)

19 years ago2005-04-02 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:50 +0000 (13:06 +0000)]
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.

19 years ago2005-04-02 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:48 +0000 (13:06 +0000)]
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.

19 years ago2005-04-02 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:47 +0000 (13:06 +0000)]
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)

19 years ago2005-04-02 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:45 +0000 (13:06 +0000)]
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

19 years ago2005-04-02 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:44 +0000 (13:06 +0000)]
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.

19 years agonote patch origin
Arch Librarian [Thu, 14 Jul 2005 13:06:43 +0000 (13:06 +0000)]
note patch origin
Author: tfheen
Date: 2005-04-01 21:53:37 GMT
note patch origin

19 years ago2005-04-01 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:42 +0000 (13:06 +0000)]
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.

19 years ago2005-03-29 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:38 +0000 (13:06 +0000)]
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.

19 years ago2005-03-28 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:32 +0000 (13:06 +0000)]
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.

19 years ago2005-03-28 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:31 +0000 (13:06 +0000)]
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

19 years ago2005-03-26 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:28 +0000 (13:06 +0000)]
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).

19 years ago2005-03-26 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:27 +0000 (13:06 +0000)]
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

19 years ago2005-03-26 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:24 +0000 (13:06 +0000)]
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.

19 years ago2005-03-18 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:23 +0000 (13:06 +0000)]
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)

19 years ago2005-03-18 Tollef Fog Heen <tfheen@debian.org>
Arch Librarian [Thu, 14 Jul 2005 13:06:19 +0000 (13:06 +0000)]
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)

19 years ago2005-03-18 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:17 +0000 (13:06 +0000)]
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.

19 years ago2005-02-21 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:06:15 +0000 (13:06 +0000)]
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)

19 years agoGet rid of groff warnings when formatting pkg-config(1)...
Arch Librarian [Thu, 14 Jul 2005 13:06:14 +0000 (13:06 +0000)]
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)

19 years agobump auto* versions and add patches for glib to work co...
Arch Librarian [Thu, 14 Jul 2005 13:06:12 +0000 (13:06 +0000)]
bump auto* versions and add patches for glib to work co...
Author: tfheen
Date: 2005-02-21 07:35:17 GMT
bump auto* versions and add patches for glib to work correctly with them

19 years agoUnstaticify variables. (Freedesktop #2459)
Arch Librarian [Thu, 14 Jul 2005 13:06:06 +0000 (13:06 +0000)]
Unstaticify variables.  (Freedesktop #2459)
Author: tfheen
Date: 2005-02-21 06:46:31 GMT
Unstaticify variables.  (Freedesktop #2459)

19 years ago* pkg.m4: Fix a bad patch causing duplication in one of...
Arch Librarian [Thu, 14 Jul 2005 13:06:04 +0000 (13:06 +0000)]
* pkg.m4: Fix a bad patch causing duplication in one of...
Author: keybuk
Date: 2004-07-18 10:36:44 GMT
* pkg.m4: Fix a bad patch causing duplication in one of the error
messages.

19 years ago* pkg.m4: Correct quoting brackets to correctly split t...
Arch Librarian [Thu, 14 Jul 2005 13:06:03 +0000 (13:06 +0000)]
* pkg.m4: Correct quoting brackets to correctly split t...
Author: keybuk
Date: 2004-07-06 17:31:17 GMT
* pkg.m4: Correct quoting brackets to correctly split the words.

19 years ago* README: Change gnome.org reference to freedesktop.org
Arch Librarian [Thu, 14 Jul 2005 13:06:01 +0000 (13:06 +0000)]
* README: Change gnome.org reference to freedesktop.org
Author: keybuk
Date: 2004-06-08 22:50:26 GMT
* README: Change gnome.org reference to freedesktop.org
* AUTHORS: Add myself here, I guess.
* pkg.m4: Mine! (fix copyright)

19 years agoImprove pkg-config's configure instructure and bring it bang
Arch Librarian [Thu, 14 Jul 2005 13:05:59 +0000 (13:05 +0000)]
Improve pkg-config's configure instructure and bring it bang
Author: keybuk
Date: 2004-06-07 23:43:21 GMT
Improve pkg-config's configure instructure and bring it bang
up to date.

* pkg.m4: Complete rewrite.
(PKG_PROG_PKG_CONFIG): if PKG_CONFIG not defined, find the
pkg-config in the path or $host-pkg-config if cross-compiling,
check that is of at least version 0.9.0 or one given.
(_PKG_CONFIG): internal macro to call pkg-config.
(PKG_CHECK_MODULES): same semantics as the previous incarnation
except you can prevent pkg-config from being called by defining
xxx_CFLAGS and xxx_LIBS yourself, additionally all results are
cached.
* README, pkg-config.1: Adjust documentation to match.

19 years ago2003-05-09 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:56 +0000 (13:05 +0000)]
2003-05-09  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2003-05-09 18:15:05 GMT
2003-05-09  Havoc Pennington  <hp@redhat.com>

* pkg.m4: improve error message a bit, from Tim Janik

19 years ago2003-04-30 James Henstridge <james@daa.com.au>
Arch Librarian [Thu, 14 Jul 2005 13:05:55 +0000 (13:05 +0000)]
2003-04-30  James Henstridge  <james@daa.com.au>
Author: jamesh
Date: 2003-05-01 01:14:30 GMT
2003-04-30  James Henstridge  <james@daa.com.au>

        * pkg.c (verify_package): fix up error messages.

        * parse.c (parse_line): don't error out on unknown keywords, as
        they may represent future extensions to the file format.

19 years ago2003-02-22 James Henstridge <james@daa.com.au>
Arch Librarian [Thu, 14 Jul 2005 13:05:53 +0000 (13:05 +0000)]
2003-02-22  James Henstridge  <james@daa.com.au>
Author: jamesh
Date: 2003-02-22 14:04:21 GMT
2003-02-22  James Henstridge  <james@daa.com.au>

    * pkg.c (add_virtual_pkgconfig_package): function to add a virtual
    "pkg-config" package to the packages hash table.
    (package_init): add the "pkg-config" package while initing the
    hash table.

19 years agoObvious fix:
Arch Librarian [Thu, 14 Jul 2005 13:05:51 +0000 (13:05 +0000)]
Obvious fix:
Author: jamesh
Date: 2003-02-22 07:04:02 GMT
Obvious fix:

2003-02-22  James Henstridge  <james@daa.com.au>

    * pkg.h: add missing prototype.

    * main.c (main): print the url if the package is too old, to match
    the output of verify_package().

19 years ago2003-02-22 James Henstridge <james@daa.com.au>
Arch Librarian [Thu, 14 Jul 2005 13:05:49 +0000 (13:05 +0000)]
2003-02-22  James Henstridge  <james@daa.com.au>
Author: jamesh
Date: 2003-02-22 04:59:20 GMT
2003-02-22  James Henstridge  <james@daa.com.au>

    * popthelp.c, poptint.h, poptconfig.c, findme.h, popt.h:
    * poptparse.c: expand licensing header to the version found in the
    Popt distribution's COPYING file.  See discussion in bug 84804 for
    details.

19 years ago2003-02-21 James Henstridge <james@daa.com.au>
Arch Librarian [Thu, 14 Jul 2005 13:05:46 +0000 (13:05 +0000)]
2003-02-21  James Henstridge  <james@daa.com.au>
Author: jamesh
Date: 2003-02-21 14:53:04 GMT
2003-02-21  James Henstridge  <james@daa.com.au>

    * pkg.m4: split macro into two parts.  The check for presence of
    pkg-config is now in a helper macro.  The main PKG_CHECK_MODULES
    macro now AC_REQUIRES() it, so that the pkg-config check is only
    performed once.
    Also update quoting to match current practices.

19 years ago2003-02-19 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:05:44 +0000 (13:05 +0000)]
2003-02-19  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2003-02-19 19:24:14 GMT
2003-02-19  Tor Lillqvist  <tml@iki.fi>

* pkg.c (add_env_variable_to_list): Use G_SEARCHPATH_SEPARATOR_S
instead of hardcoded ":".
(verify_package): Don't use /usr/include on Win32.

19 years ago2003-02-15 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:43 +0000 (13:05 +0000)]
2003-02-15  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2003-02-15 15:37:04 GMT
2003-02-15  Havoc Pennington  <hp@pobox.com>

* pkg.c (verify_package): patch from Nalin to use /usr/lib64 as
the system libdir on systems where that's appropriate

19 years ago2003-02-15 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:41 +0000 (13:05 +0000)]
2003-02-15  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2003-02-15 15:04:07 GMT
2003-02-15  Havoc Pennington  <hp@pobox.com>

Fixes suggested by Werner Trobin

* main.c (verbose_error): honor --errors-to-stdout and flush
the same stream we write to

* parse.c (parse_url): support an "url" field so if someone
has a .pc file they can figure out where to go for newer
versions and such

19 years ago0.15
Arch Librarian [Thu, 14 Jul 2005 13:05:38 +0000 (13:05 +0000)]
0.15
Author: hp
Date: 2003-01-16 20:17:32 GMT
0.15

19 years ago2003-01-15 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:36 +0000 (13:05 +0000)]
2003-01-15  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2003-01-15 04:02:47 GMT
2003-01-15  Havoc Pennington  <hp@pobox.com>

* pkg.c (package_init): honor a PKG_CONFIG_LIBDIR to move default
search dir, useful in cross-compilation for example, bug
#103545 fix from David Schleef

19 years agoAdding --libs-only-other and --cflags-only-other arguments.
Arch Librarian [Thu, 14 Jul 2005 13:05:34 +0000 (13:05 +0000)]
Adding --libs-only-other and --cflags-only-other arguments.
Author: zack
Date: 2003-01-02 03:56:26 GMT
Adding --libs-only-other and --cflags-only-other arguments.

19 years ago2002-11-19 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:33 +0000 (13:05 +0000)]
2002-11-19  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-11-19 16:58:53 GMT
2002-11-19  Havoc Pennington  <hp@redhat.com>

* pkg-config.1: apply formatting fixes from  Peter Breitenlohner

19 years ago2002-10-24 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:05:32 +0000 (13:05 +0000)]
2002-10-24  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2002-10-23 20:02:50 GMT
2002-10-24  Tor Lillqvist  <tml@iki.fi>

* configure.in: Move the check for Win32 (which tests the $host
variable) and dependent code later, as it turns out that $host
isn't normally yet set at that point... (I hadn't noticed as I by
habit always pass --host=i386-pc-mingw32 to the configure script,
which sets $host.)

19 years ago2002-10-11 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:30 +0000 (13:05 +0000)]
2002-10-11  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-10-11 20:40:38 GMT
2002-10-11  Havoc Pennington  <hp@redhat.com>

* pkg.c (verify_package): fix to properly cast iter->data to char*
before doing pointer arithmetic, from David Robins

19 years ago0.14
Arch Librarian [Thu, 14 Jul 2005 13:05:29 +0000 (13:05 +0000)]
0.14
Author: hp
Date: 2002-10-10 20:38:48 GMT
0.14

19 years ago2002-10-02 Anders Carlsson <andersca@gnu.org>
Arch Librarian [Thu, 14 Jul 2005 13:05:28 +0000 (13:05 +0000)]
2002-10-02  Anders Carlsson  <andersca@gnu.org>
Author: andersca
Date: 2002-10-02 09:10:10 GMT
2002-10-02  Anders Carlsson  <andersca@gnu.org>

* pkg.c (add_env_variable_to_list): Don't return NULL, return
the new list.
(verify_package): break if we've removed the variable.

19 years ago2002-09-26 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:05:27 +0000 (13:05 +0000)]
2002-09-26  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2002-09-26 17:25:41 GMT
2002-09-26  Tor Lillqvist  <tml@iki.fi>

* parse.c (get_compat_package): Return NULL right away on
Windows. There has never been any of these legacy *-config scripts
distributed for Windows as far as I know.

19 years ago2002-09-26 Anders Carlsson <andersca@gnu.org>
Arch Librarian [Thu, 14 Jul 2005 13:05:25 +0000 (13:05 +0000)]
2002-09-26  Anders Carlsson  <andersca@gnu.org>
Author: andersca
Date: 2002-09-26 07:09:38 GMT
2002-09-26  Anders Carlsson  <andersca@gnu.org>

* pkg.c (verify_package): Use strncmp when checking for
the -I prefix.

19 years ago0.13
Arch Librarian [Thu, 14 Jul 2005 13:05:24 +0000 (13:05 +0000)]
0.13
Author: hp
Date: 2002-09-19 23:59:12 GMT
0.13

19 years ago2002-09-19 Anders Carlsson <andersca@gnu.org>
Arch Librarian [Thu, 14 Jul 2005 13:05:23 +0000 (13:05 +0000)]
2002-09-19  Anders Carlsson  <andersca@gnu.org>
Author: andersca
Date: 2002-09-19 14:23:55 GMT
2002-09-19  Anders Carlsson  <andersca@gnu.org>

* pkg.c: (verify_package):
Don't call g_free on strings returned from g_getenv.

19 years agoTue Sep 17 14:11:51 2002 Jonathan Blandford <jrb@redh...
Arch Librarian [Thu, 14 Jul 2005 13:05:22 +0000 (13:05 +0000)]
Tue Sep 17 14:11:51 2002  Jonathan Blandford  <jrb@redh...
Author: jrb
Date: 2002-09-17 17:40:19 GMT
Tue Sep 17 14:11:51 2002  Jonathan Blandford  <jrb@redhat.com>

        * pkg.c: strip out C_INCLUDE_PATH and CPLUS_INCLUDE_PATH if they
        exist, as this can break -Werror on some newer gcc versions.

19 years ago2002-09-13 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:05:20 +0000 (13:05 +0000)]
2002-09-13  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2002-09-12 20:47:07 GMT
2002-09-13  Tor Lillqvist  <tml@iki.fi>

* Makefile.am (USE_INSTALLED_GLIB): Seems that the automake
version used by Havoc doesn't recognize pkg_config_CFLAGS and
pkg_config_LDFLAGS, thus failing builds on Win32 directly from the
tarball. Set included_glib_includes and pkg_config_LDADD instead,
then, like in the !USE_INSTALLED_GLIB branch.

* findme.c (X_OK): If X_OK undefined, define as 1, always, not
only if G_OS_WIN32, which is never defined here. Fixes a corner
case on Win32 with MSYS and mingw where configure as included in
the release tarball for some reason doesn't find unistd.h.

19 years ago2002-09-09 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:18 +0000 (13:05 +0000)]
2002-09-09  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2002-09-10 02:59:21 GMT
2002-09-09  Havoc Pennington  <hp@pobox.com>

* pkg.c (fill_list_single_package): fix uninitialized variable,
patch from Andrea Suatoni

19 years ago2002-09-06 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:17 +0000 (13:05 +0000)]
2002-09-06  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-09-06 20:00:08 GMT
2002-09-06  Havoc Pennington  <hp@redhat.com>

* parse.c, pkg.c: handle other_libs other_cflags same
as -l/-L/-I flags, so we pull in from dependent packages.
Closes #85244, #90706, #89851

19 years agoadd copyright notices to files
Arch Librarian [Thu, 14 Jul 2005 13:05:14 +0000 (13:05 +0000)]
add copyright notices to files
Author: hp
Date: 2002-09-06 19:32:18 GMT
add copyright notices to files

19 years ago0.12
Arch Librarian [Thu, 14 Jul 2005 13:05:10 +0000 (13:05 +0000)]
0.12
Author: hp
Date: 2002-09-06 19:25:51 GMT
0.12

19 years agotry to use old autoconf if it's installed
Arch Librarian [Thu, 14 Jul 2005 13:05:08 +0000 (13:05 +0000)]
try to use old autoconf if it's installed
Author: hp
Date: 2002-07-25 03:52:37 GMT
try to use old autoconf if it's installed

19 years ago2002-03-06 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:05:07 +0000 (13:05 +0000)]
2002-03-06  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2002-03-06 01:42:43 GMT
2002-03-06  Tor Lillqvist  <tml@iki.fi>

* configure.in: Use GLib 2.x on Win32.

19 years ago2002-02-28 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:06 +0000 (13:05 +0000)]
2002-02-28  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-02-28 23:22:11 GMT
2002-02-28  Havoc Pennington  <hp@redhat.com>

* pkg-config.1: add a note about the need for AC_SUBST with
PKG_CHECK_MODULES. Stefan Kost pointed this out.

19 years ago2002-02-28 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:04 +0000 (13:05 +0000)]
2002-02-28  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-02-28 23:10:32 GMT
2002-02-28  Havoc Pennington  <hp@redhat.com>

        Fix for static linking, -l flag order for libs in multiple prefixes

* pkg.c: only sort -L/-I by PKG_CONFIG_PATH order, don't sort
-l flags.
(fill_list_single_package): make whether to path sort
controlled by a boolean arg
(fill_list): ditto

19 years ago2002-02-13 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:03 +0000 (13:05 +0000)]
2002-02-13  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-02-13 05:14:57 GMT
2002-02-13  Havoc Pennington  <hp@redhat.com>

* pkg.c (internal_get_package): look up path position by package
key, not package name

19 years ago2002-02-12 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:01 +0000 (13:05 +0000)]
2002-02-12  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-02-12 21:30:57 GMT
2002-02-12  Havoc Pennington  <hp@redhat.com>

* pkg.c (scan_dir): use g_strdup, and fix the location where
we assign the nul byte, so we don't mangle things for directories
that end in '/' - reported by Enrico Scholz

19 years ago2002-02-07 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:05:00 +0000 (13:05 +0000)]
2002-02-07  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-02-07 20:01:15 GMT
2002-02-07  Havoc Pennington  <hp@redhat.com>

* configure.in: 0.11.0

19 years ago2002-02-07 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:59 +0000 (13:04 +0000)]
2002-02-07  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-02-07 19:54:49 GMT
2002-02-07  Havoc Pennington  <hp@redhat.com>

* autogen.sh: patch gslist.c so that it has a stable sort
function, so we don't utterly mangle the order of the libraries on
the link line.

19 years ago2002-02-03 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:57 +0000 (13:04 +0000)]
2002-02-03  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2002-02-03 18:13:59 GMT
2002-02-03  Havoc Pennington  <hp@pobox.com>

* configure.in: 0.10.0

Redo distribution with autoconf 2.13

19 years ago2002-02-03 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:56 +0000 (13:04 +0000)]
2002-02-03  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2002-02-03 17:53:47 GMT
2002-02-03  Havoc Pennington  <hp@pobox.com>

* configure.in: 0.10.0

* autogen.sh: rerun autoconf/libtoolize in glib subdir so that
auto* version matches in subdir and top dir.

19 years ago0.9.0
Arch Librarian [Thu, 14 Jul 2005 13:04:54 +0000 (13:04 +0000)]
0.9.0
Author: hp
Date: 2002-02-03 17:16:48 GMT
0.9.0

19 years ago2002-02-01 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:52 +0000 (13:04 +0000)]
2002-02-01  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-02-01 22:31:43 GMT
2002-02-01  Havoc Pennington  <hp@redhat.com>

* pkg.c (verify_package): don't warn about /usr/include /usr/lib
in cflags/libs, too annoying to fix

19 years ago2002-02-01 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:51 +0000 (13:04 +0000)]
2002-02-01  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-02-01 22:24:24 GMT
2002-02-01  Havoc Pennington  <hp@redhat.com>

        Throughout: cast chars to guchar before passing to isspace, etc.,
noted by Morten Welinder

* pkg.c (verify_package): actually strip system -I/-L out of the
cflags/libs, unless you set an environment variable asking to
leave them in.

19 years ago2002-02-01 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:49 +0000 (13:04 +0000)]
2002-02-01  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-02-01 19:45:36 GMT
2002-02-01  Havoc Pennington  <hp@redhat.com>

* pkg.m4: fix shell portability issue, reported by Morten Welinder

19 years ago2002-01-24 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:47 +0000 (13:04 +0000)]
2002-01-24  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2002-01-24 23:10:02 GMT
2002-01-24  Havoc Pennington  <hp@redhat.com>

* pkg.c (print_package_list): make the output halfway attractive

* autogen.sh: use automake-1.4 aclocal-1.4 if found

* pkg.c (verify_package): add a warning about -I/usr/include in cflags

19 years ago2001-10-28 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:45 +0000 (13:04 +0000)]
2001-10-28  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2001-10-28 23:59:20 GMT
2001-10-28  Havoc Pennington  <hp@pobox.com>

* pkg.c: track position of package in the path search order,
and sort packages accordingly before assembling flags lists,
reported by Jacob Berkman

* parse.c (get_compat_package): set path position to maxint,
always at end of path

19 years ago2001-10-28 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:43 +0000 (13:04 +0000)]
2001-10-28  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2001-10-28 17:56:29 GMT
2001-10-28  Havoc Pennington  <hp@pobox.com>

* pkg.c (add_search_dir): put the search path in the right order

19 years ago2001-10-28 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:42 +0000 (13:04 +0000)]
2001-10-28  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2001-10-28 17:05:11 GMT
2001-10-28  Havoc Pennington  <hp@pobox.com>

* configure.in: reorder things so they work on unix

19 years ago2001-10-27 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:04:41 +0000 (13:04 +0000)]
2001-10-27  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2001-10-27 17:55:11 GMT
2001-10-27  Tor Lillqvist  <tml@iki.fi>

New Win32 feature to make pkg-config useful for users of MSVC:
with the flag --msvc-syntax, munge -L and -l flags appropriately
for the MSVC command-line compiler. (-I flags are the same.)

* README.win32: Update.

* main.c (main): Add --msvc-syntax flag.

* pkg-config.1: Document it.

* pkg.h: Declare msvc_syntax.

* parse.c (parse_libs): Obey msvc_syntax.

19 years ago2001-10-25 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:04:37 +0000 (13:04 +0000)]
2001-10-25  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2001-10-24 21:22:33 GMT
2001-10-25  Tor Lillqvist  <tml@iki.fi>

Improve Windows behaviour: Make it even easier to install
developer packages in random locations, without having to modify
the .pc files. Don't set "prefix" globally, instead override it
for each .pc file parsed, if the path where the .pc file is seems
to be the standard .../lib/pkgconfig.

* main.c (main): Add search directories also from two Registry
keys, in addition to the PKG_CONFIG_PATH environment
variable. Don't define prefix globally.

* parse.c (parse_line): Instead, if a .pc file is in
/foo/bar/lib/pkgconfig, define prefix as /foo/bar for that package
only.

* pkg.c: Case-fold file names on Windows, in case they have been
uppercasified by some tool.

* pkg-config.1: Document Windows behaviour.

19 years ago2001-10-21 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:04:34 +0000 (13:04 +0000)]
2001-10-21  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2001-10-21 18:40:38 GMT
2001-10-21  Tor Lillqvist  <tml@iki.fi>

* Makefile.am (EXTRA_DIST): Distribute README.win32.

* README.win32: Describe the behaviour in more detail.

19 years ago2001-10-21 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:04:32 +0000 (13:04 +0000)]
2001-10-21  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2001-10-21 17:23:14 GMT
2001-10-21  Tor Lillqvist  <tml@iki.fi>

* main.c (main): (Win32): Add option --prefix-variable in case the
variable used in a .pc file as "prefix" isn't called
"prefix".

* pkg-config.1: Document it.

19 years ago2001-10-19 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:04:31 +0000 (13:04 +0000)]
2001-10-19  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2001-10-18 22:39:22 GMT
2001-10-19  Tor Lillqvist  <tml@iki.fi>

* main.c: (Win32): Add option --dont-define-prefix on Windows. The
option prevents pkg-config from automatically defining an
overriding value for the "prefix" variable.

Unless this option is used, set "prefix" to pkg-config's
installation directory, i.e. assume that the packages whose
configuration files are found in the same tree where
pkg-config.exe itself is, also have been configured to use the
same prefix. This means that a typical "developer package"
containg a subtree of headers, libraries, etc, including .pc
files, can be installed in any random location. As long as
pkg-config.exe is installed the same tree, things just should
work.

* pkg-config.1: Document it.

19 years ago2001-09-30 Tor Lillqvist <tml@iki.fi>
Arch Librarian [Thu, 14 Jul 2005 13:04:29 +0000 (13:04 +0000)]
2001-09-30  Tor Lillqvist  <tml@iki.fi>
Author: tml
Date: 2001-09-29 21:05:25 GMT
2001-09-30  Tor Lillqvist  <tml@iki.fi>

Changes for "pure" Win32 (without Cygwin or similar)
support. The most important differences compared to pkg-config
on Unix are:

We don't use hardcoded PKGLIBDIR paths but deduce the
installation prefix at runtime.

Use the normal GLib DLL, not a private copy. Yes, this does
introduce a circular dependency, but that can be worked around.

* README.win32: New file.

* configure.in: Check for Win32. If so, define USE_INSTALLED_GLIB,
and don't configure in the included glib-1.2.8. Set GLIB_CFLAGS
and GLIB_LIBS assuming that GLib is installed in the same location
pkgconfig will be. Check for dirent.h, unistd.h and sys/wait.h
headers.

* Makefile.am: If USE_INSTALLED_GLIB, use the GLIB_* values set
above, and don't make in the glib-1.2.8 subdir.

* autogen.sh: Use perl -p -i.bak, works better on Win32 (and Cygwin).

* *.c: Conditionalize inclusions of unistd.h and sys/wait.h.

* findme.c: Define X_OK on Win32 if necessary.

* parse.c
* popthelp.c: Minor Win32 portability ifdefs.

* parse.c: No need to include <windows.h>.

* pkg.c: Don't hardcode PKGLIBDIR, but use
g_win32_get_package_installation_directory() to deduce it.
(scan_dir): Make a temp copy of dirname with potential superfluous
trailing slash removed. The Win32 opendir implementation doesn't
always like those.

* pkg.h: If USE_INSTALLED_GLIB, include <glib.h> instead of
partial-glib.h.

* popt.c (execCommand): Don't compile on Win32.

* poptconfig.c (configLine): Don't bother with the "exec" stuff on
Win32, too complex to port, at least for now.
(poptReadDefaultConfig) Don't bother compiling on Win32, this
function isn't even called.

19 years ago2001-07-11 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:22 +0000 (13:04 +0000)]
2001-07-11  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2001-07-11 12:40:39 GMT
2001-07-11  Havoc Pennington  <hp@redhat.com>

* pkg.c: include sys/types.h to avoid warnings about dirent on
some systems

19 years agono getc_unlocked
Arch Librarian [Thu, 14 Jul 2005 13:04:21 +0000 (13:04 +0000)]
no getc_unlocked
Author: hp
Date: 2001-07-10 23:16:26 GMT
no getc_unlocked

19 years ago2001-07-11 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:19 +0000 (13:04 +0000)]
2001-07-11  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2001-07-10 22:51:39 GMT
2001-07-11  Havoc Pennington  <hp@pobox.com>

* parse.c (parse_cflags): fix failure to put space between cflags,
reported by Chema
(parse_line): allow spelling Cflags as CFlags, pointed out by Tim
(get_compat_package): support legacy script gnome-vfs-config for
package name "libgnomevfs"

19 years ago2001-06-18 Havoc Pennington <hp@pobox.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:16 +0000 (13:04 +0000)]
2001-06-18  Havoc Pennington  <hp@pobox.com>
Author: hp
Date: 2001-06-17 23:18:00 GMT
2001-06-18  Havoc Pennington  <hp@pobox.com>

* pkg.m4: print the error, not the name of the variable containing
it, doh

19 years agoSun Jun 17 17:48:45 2001 Tim Janik <timj@gtk.org>
Arch Librarian [Thu, 14 Jul 2005 13:04:15 +0000 (13:04 +0000)]
Sun Jun 17 17:48:45 2001  Tim Janik  <timj@gtk.org>
Author: timj
Date: 2001-06-17 10:13:09 GMT
Sun Jun 17 17:48:45 2001  Tim Janik  <timj@gtk.org>

        * pkg.c (internal_get_package): fix check before parsing a file at
        "location" to read (location==NULL) instead of (pkg==NULL).

19 years ago2001-06-14 Havoc Pennington <hp@redhat.com>
Arch Librarian [Thu, 14 Jul 2005 13:04:13 +0000 (13:04 +0000)]
2001-06-14  Havoc Pennington  <hp@redhat.com>
Author: hp
Date: 2001-06-14 10:09:03 GMT
2001-06-14  Havoc Pennington  <hp@redhat.com>

* pkg.c (internal_get_package): don't fall back to legacy -config
scripts for the -uninstalled case.

2001-06-07  Havoc Pennington  <hp@redhat.com>

* pkg.m4: add URL to no-pkg-config error message