Commit graph

146 commits

Author SHA1 Message Date
Tollef Fog Heen
a78661f5fe 2006-08-16 Tollef Fog Heen <tfheen@err.no>
* configure.in: Release 0.21
2006-08-16 21:10:05 +02:00
Tollef Fog Heen
ed114e7e17 Add missing bug numbers 2006-08-16 21:09:24 +02:00
Tollef Fog Heen
80630991d6 2006-08-16 Tollef Fog Heen <tfheen@err.no>
* NEWS: Update for 0.21
2006-08-16 21:06:52 +02:00
Tollef Fog Heen
eae3abf93e 2006-08-16 Tollef Fog Heen <tfheen@err.no>
* pkg.c: Add internal pkg-config package which can be queried for
	version number, name and URL for now.  More information will be
	added later.
2006-08-16 21:04:56 +02:00
Tollef Fog Heen
6d32cb3e6d 2006-08-16 Tollef Fog Heen <tfheen@err.no>
* parse.c (trim_and_sub): Since %{...} has not been used for a
	long time, there is no point in being able to escape %.  However,
	make the code able to escape $ by doubling the $ to $$.  
	Debian #378570
2006-08-16 20:47:14 +02:00
Tollef Fog Heen
0936824bf0 2006-08-16 Tollef Fog Heen <tfheen@err.no>
* pkg.c (packages_get_other_cflags, package_get_other_cflags)
	(packages_get_I_cflags): Always add all cflags.  Debian #340904
2006-08-16 20:42:38 +02:00
Tollef Fog Heen
69f5752d7d 2006-08-16 Tollef Fog Heen <tfheen@err.no>
* main.c (main): Always add the elements from PKG_CONFIG_PATH.
	Freedesktop #4795.
2006-08-16 19:57:14 +02:00
Tollef Fog Heen
ecfb96aa4c 2006-08-16 Tollef Fog Heen <tfheen@err.no>
* pkg-config.1: Apply patch from Ed Catmur to document
	PKG_CHECK_EXIST.  Thanks a lot for both patches.
2006-08-16 19:43:17 +02:00
Tollef Fog Heen
e22c1a9c49 2006-08-16 Tollef Fog Heen <tfheen@err.no>
* pkg-config.1: Apply patch from Ed Catmur to document
	PKG_PROG_PKG_CONFIG and that it should be used if the first call
	to PKG_CHECK_MODULES might not happen.
2006-08-16 19:37:20 +02:00
Tollef Fog Heen
4f78f8cf50 Only use -Wall and gcc-only flags with gcc.
2005-12-28  Tollef Fog Heen  <tfheen@err.no>

	* configure.in, Makefile.am: Only use -Wall and other gcc-only
	flags when we don't have a set of CFLAGS already set and we're
	using gcc.  Freedesktop #4888.
2005-12-28 14:07:04 +00:00
Tollef Fog Heen
712f0af7b8 Cosmetic m4 stuff
2005-10-17  Tollef Fog Heen  <tfheen@err.no>

	* pkg.m4: Do AC_MSG_RESULT([no]) even if $4 is set (so we don't
	fail).  Gnome #166537.
2005-10-17 07:08:37 +00:00
Tollef Fog Heen
bf48601d50 Add missing news from 0.18.1, 0.19 and 0.20
2005-10-17  Tollef Fog Heen  <tfheen@err.no>

	* NEWS: Add missing news and really release 0.20, since I didn't
	get around to actually uploading last night.
2005-10-17 05:01:03 +00:00
Tollef Fog Heen
7ee51221a0 Release 0.20
2005-10-16  Tollef Fog Heen  <tfheen@err.no>

	* configure.in: Release 0.20
2005-10-16 18:18:57 +00:00
Tollef Fog Heen
39ef912d6e Get rid of text duplication in pkg.m4
2005-10-16  Tollef Fog Heen  <tfheen@err.no>

	* pkg.m4: use m4_define to avoid duplication of text.
2005-10-16 18:13:43 +00:00
Tollef Fog Heen
c9d147e189 Minor m4 cleanups
2005-10-16  Tollef Fog Heen  <tfheen@err.no>

	* pkg.m4: Minor cleanups, use m4_default rather than m4_ifval and
	echo 1>&FD is silly, just use echo >&FD
2005-10-16 18:08:18 +00:00
Tollef Fog Heen
3f5c1fa1b6 Try to print out all the errors and not just the first.
2005-10-16  Tollef Fog Heen  <tfheen@err.no>

	* main.c (main): Try to print out all the errors and not just the
	first.
2005-10-16 18:06:02 +00:00
Tollef Fog Heen
979c89dcb6 Use --short-errors if it's available. 2005-10-16 17:51:24 +00:00
Tollef Fog Heen
ec5f06d60f Add --short-errors
2005-10-16  Tollef Fog Heen  <tfheen@err.no>

	* pkg.c (get_package_quiet): Add get_package_quiet which is just
	the same as get_package except it sets warn to false.

	* pkg.h: Add prototype for get_package_quiet.

	* main.c (main): Add --short-errors flag to suppress most of the
	output when a module is not found.
2005-10-16 17:31:41 +00:00
Tollef Fog Heen
7f9c9a4ff0 Add missing bug number in changelog 2005-10-01 10:24:42 +00:00
Tollef Fog Heen
6b35e49c2d Handle \ correctly on win32
2005-10-01  Tollef Fog Heen  <tfheen@err.no>

        * pkg.c(scan_dir): Turn backslashes into slashes or
        poptParseArgvString() will eat them when ${prefix} has been
        expanded in parse_libs().  Thanks to j^ for the patch.
2005-10-01 10:24:02 +00:00
Tollef Fog Heen
d41fc58c55 Document previous patch
Add changelog
2005-10-01 10:15:22 +00:00
Tollef Fog Heen
6d840e7046 Fix possible off-by-one
Apply last part of patch from freedesktop #4034 so we don't do silly
things if len is zero.
2005-10-01 10:13:57 +00:00
Tollef Fog Heen
3fd0e37e65 Look at XXX_CFLAGS and XXX_LIBS again
2005-09-21  Tollef Fog Heen  <tfheen@err.no>

	* pkg.m4: Apply patch from Roberto Huelga to look at XXX_CFLAGS
	and XXX_LIBS which got lost somewhere.
2005-09-21 13:12:35 +00:00
Tollef Fog Heen
d074ab9973 Add default CFLAGS
2005-08-27  Tollef Fog Heen  <tfheen@err.no>

	* Makefile.am (AM_CFLAGS): Add default CFLAGS
2005-08-27 09:22:34 +00:00
Tollef Fog Heen
d911bff6e2 Add missing prototype for enable_private_libs and disable_private_libs
2005-08-27  Tollef Fog Heen  <tfheen@err.no>

	* pkg.h: Add missing prototype for enable_private_libs and
	disable_private_libs.
2005-08-27 09:17:49 +00:00
Tollef Fog Heen
3d673211a7 Add includedir test 2005-08-27 09:05:14 +00:00
Tollef Fog Heen
cf48f83724 Don't overflow format
2005-08-23  Tollef Fog Heen  <tfheen@err.no>

	* popthelp.c: char format[10] overflowed always with gcc4, so use
	positional parameters instead.  Thanks to Scott James Remnant for
	pointing me to that solution.  Debian #321961, Ubuntu #13950,
	Freedesktop #2661
2005-08-23 11:38:33 +00:00
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