Age | Commit message (Collapse) | Author | Files | Lines |
|
With the conversion to GOption and g_shell_parse_argv, pkg-config has no
remaining usage of popt. Stop linking to libpopt and removed the bundled
sources.
|
|
Use glib's GOption instead of popt for command line option handling. The
APIs and output are very similar. A couple minor differences are:
* The callback for handling --define-variable is associated only with
that option where popt was just leaving the argument and then it was
handled in a generic callback.
* Remaining arguments after option parsing are in argc/argv while they
are collected through poptGetArg with popt.
* GOption does not provide the short --usage summary.
|
|
Glib's g_shell_parse_argv offers basically a 1:1 replacement for
poptParseArgvString except that you have to free all the elements of the
array explicitly.
|
|
No reason to keep the glib-1.2 sources and patches with the glib2
snapshot.
|
|
glib-1.2 is entirely dead, and most people have moved on to using glib-2
from their glib-2 for pkg-config. This converts the bundled glib to the
same and will allow glib-2 APIs to be used.
The top level autogen.sh is running recursively through glib. If this
becomes an issue, we can switch autoreconf to --no-recursive and then
descend to glib2 and run its autogen.sh script.
|
|
These are the patches that get us from base glib to just what we need
for pkg-config. They should be replayed any time the glib snapshot is
updated.
|
|
In order to avoid the bundled pcre in our bundled glib, just remove and
disable the GRegex API. We don't currently need this in pkg-config
anyway.
|
|
All we want is the libglib.la convenience library. The -version-info is
removed since it causes warnings.
|
|
We only need the base library for pkg-config.
|
|
The point of the bundled library is to use it, not to do regression
tests on it.
|
|
pkg-config isn't translated, so we don't need the bundled library to be
tranlated, either. The glib gettext m4 macros need to be hacked up a bit
to keep the po/ directory from being distributed.
|
|
We don't need the glib documentation when it's being used bundled. This
allows gtk-doc and xsltproc to be avoided.
|
|
The .gitignore files needed to be a little more explicit to not ignore
tracked files.
|
|
Add a snapshot of the current stable version of glib, glib-2.24.1. Since
we only need the glib library, a lot of files are removed. See
glib2-patches/README for details.
|
|
Grab a snapshot of a tag from a local glib checkout.
|
|
We want to use the libtool script to determine if indirect dependencies
should be listed. LT_OUTPUT forces the script to be created immediately
so that the test can be run reliably.
This is borrowed from glib's configure.in.
|
|
The ancient bundled popt mishandles some cases of option parsing.
http://lists.freedesktop.org/archives/pkg-config/2010-March/000508.html
Add a test program to exercise it. This should encourage people to use
an external popt until we have a better fix.
|
|
To ensure that pkg-config has been built and updated before running the
test suite, complete the top directory before descending to the check
directory.
|
|
There is really no reason to manually vet and run all the autotools.
That's what autoreconf is for. It has the added bonus that it will
descend to the glib subdirectory and rebuild the autotools there. The
handling of configure is also fixed as the previous --no-configure code
was completely broken.
This is basically the xorg autogen.sh, so we can be pretty confident
it'll work as advertised.
|
|
|
|
|
|
|
|
|
|
Make sure we don't run into the bug fixed by 6a27c57 again.
|
|
The bundled popt handled the case of Cflags or Libs with no value, but
newer popt linked through --with-installed-popt chokes parsing it into
a vector. This is arguably a popt bug in poptParseArgvString, but I
guess they expect you not to ask it to split an empty string.
|
|
|
|
|
|
In order to avoid having the COPYING file from automake included in
the distribution, add a copy of the GPLv2 for pkg-config. This matches
the source files, which all specify GPLv2+.
The COPYING file from upstream popt has also been added for the
bundled popt sources.
|
|
|
|
Various small fixes to make distcheck pass
|
|
|
|
|
|
Allow paths and other components to contain shell metacharacters, but
escape them on output. White space has to be escaped in the input
files using quotes or backslashes
Freedesktop.org #3571
|
|
|
|
These are useful for applications that need to query the pkg-config
database, e.g. managers or IDEs.
|
|
This makes compiling on HP-UX work.
|
|
The one imported into pkg-config has seen very little maintenance, so
let's give users the option to use the upstream version. The default is
to use the included sources, but it can search for the system library
using --with-installed-popt.
|
|
This keeps a cleaner separation of the pkg-config sources and the
imported popt sources.
|
|
Without <dot>TP, "Requires" and "Requires.private" are rendered as one
paragraph.
|
|
Fixes Freedesktop #133
|
|
Don't split -idirafter from its argument.
Fixes Freedesktop #23480
|
|
Make sure to avoid \ macros at the start of lines, as that makes some
man implementations unhappy.
Fixes freedesktop #17914
|
|
Fixes Freedesktop.org #26879
|
|
Fixes Freedesktop.org #27376
|
|
Present in the --help output, but not the manual...
|
|
The pkg-config(1) manual includes a lot of details behind pkg-config,
but not the background and usage patterns. This guide tries to provide
users and developers with a starting point for pkg-config.
|
|
This was basically generated with "git ls-files -o --directory".
|
|
|
|
Grab two minor bugfixes from RPM's rpmvercmp.
|
|
This should fix bug #16905 properly.
|