Commit Graph

543 Commits (844f0a66621629a65e3cbf3c3ca47185602e9df5)

Author SHA1 Message Date
William Pitcock 3867a66434 pkg: pkg_get_parent_dir() should fall back to '/' directory separator if necessary
Some environments such as the MingW-MSYS shell environment use both \ and / as directory
separators, thusly we should fall back to the POSIX directory separator.  Both directory
separators are fully supported by Windows.
2012-09-14 15:42:06 -05:00
William Pitcock 847ddbbc22 gitignore: ignore Makefile 2012-09-14 15:36:41 -05:00
William Pitcock 87d2ec5550 tests: simplify test 17 to remove $(SYSTEM_LIBDIR) fluff 2012-09-14 15:35:18 -05:00
William Pitcock 0153d2876f main: ensure program invocation with no package arguments always sends error messages to stderr 2012-09-14 15:02:08 -05:00
William Pitcock 0d18735e3f tests: add test for no packages being supplied to the frontend 2012-09-14 15:02:08 -05:00
William Pitcock 6bb75554e2 Merge pull request #42 from yukoba/MakefileBugFix
Remove needless / after $(DESTDIR)
2012-09-10 13:22:17 -07:00
Yu Kobayashi dd776ba946 Remove needless / after $(DESTDIR) 2012-09-09 18:11:36 +09:00
William Pitcock 150d91d07f main: add a trailing space at the end of the output if --cflags or --libs is requested (closes #40) 2012-09-05 07:03:37 -05:00
William Pitcock 7c13f22a9b tests: add tests for pkgconf issue #40 2012-09-05 07:00:15 -05:00
William Pitcock a7e8612933 pkgconf 0.8.8. 2012-09-02 19:56:37 -05:00
William Pitcock 749a604c70 tests: add test for freedesktop.org bug 54271 2012-09-02 17:46:00 -05:00
William Pitcock 25902dbc11 Merge pull request #39 from GregorR/grammar
Minor grammar fixes to the README.
2012-08-31 13:36:51 -07:00
Gregor Richards 078affee09 Minor grammar fixes to the README. 2012-08-31 12:35:26 -04:00
William Pitcock b2f4583db2 Merge pull request #38 from bdrewery/add-test-case-for-local-file
Add test case for pkgconf against file in CWD
2012-08-25 20:06:31 -07:00
William Pitcock 47949beac1 Merge pull request #37 from bdrewery/fix-tests-with-bash
Fix tests when SHELL=bash
2012-08-25 20:06:01 -07:00
Bryan Drewery 747faf3732 Add test case for pkgconf against file in CWD 2012-08-25 19:43:35 -05:00
Bryan Drewery 509f5edb31 Fix tests when SHELL=bash
The QUOTED test was failing to properly recognize
the expected output.
2012-08-25 18:43:44 -05:00
Baptiste Daroussin 5bd921b312 Merge pull request #36 from bdrewery/fix-crash-without-pathseps
Fix crash when specified filename has no path separators
2012-08-25 15:15:08 -07:00
Bryan Drewery 25ebc22d64 Fix crash when specified filename has no path separators 2012-08-25 16:34:00 -05:00
Baptiste Daroussin 4eedb041ed if no cflags or libs are defined in .pc just return 0 and output nothing 2012-08-20 22:47:10 +02:00
William Pitcock fbf13563ab pkgconf 0.8.7 2012-08-19 15:25:32 -05:00
William Pitcock 8de2ab6b4d dependency: avoid exploitable (!) use of uninitialized length values introduced in commit 0ab3b32255 2012-08-19 14:43:15 -05:00
Baptiste Daroussin 0ab3b32255 avoid copying memory, do a single duplication 2012-08-14 17:13:28 +02:00
Baptiste Daroussin 28396110aa Bufferize dependency parsing 2012-08-14 17:01:18 +02:00
Baptiste Daroussin 38abe86a17 Remove unneeded strdup(3) 2012-08-14 16:16:06 +02:00
Baptiste Daroussin 666019cfd0 Nuke use of basename/dirname where a simple strrchr can do the trick 2012-08-14 16:04:56 +02:00
Baptiste Daroussin ab48da3f33 Keep the backslash when parsing arguments (fixes #35) 2012-08-14 11:12:01 +02:00
Baptiste Daroussin 2d5dfe7d70 do not keep the quote information when set once 2012-08-14 11:06:04 +02:00
Baptiste Daroussin c6f6cb781d Keep the backslash if not followed by \n or \r\n when parsing 2012-08-14 11:00:53 +02:00
Baptiste Daroussin 9a26337507 return 1 and do not output anything a requirement is missing 2012-08-12 12:33:37 +02:00
William Pitcock c04062a4ef pkgconf 0.8.6 2012-08-10 15:06:33 -05:00
William Pitcock c2319c167e buildsys: remove old vestiges of old build system 2012-08-10 12:54:58 -05:00
William Pitcock a732e9bf0d README: fix distfiles URL 2012-08-10 10:30:29 -05:00
William Pitcock 86845f7098 fragment: reparent a fragment-list when a duplicate is encountered (closes issue #34). 2012-08-09 17:16:17 -05:00
William Pitcock 58fa286972 fragment: add pkg_fragment_lookup(). 2012-08-09 17:16:17 -05:00
William Pitcock c80b088711 tests: add tests for issue #34 2012-08-09 17:16:17 -05:00
William Pitcock 390ff275c5 pkg: ensure libs.private merging is always after libs 2012-08-08 11:17:08 -05:00
William Pitcock 3e03f2d9aa main: use global fragment lists for --cflags and --libs 2012-08-08 11:09:37 -05:00
William Pitcock 84ea074fbe pkg: allow pkg_cflags() and pkg_libs() utility functions to have a user-provided list pointer.
Also chase this change in the frontend.
2012-08-08 11:09:37 -05:00
Fabian Groffen 80ad957788 getopt: remove dependency on err.h/warnx() 2012-08-08 10:34:48 -05:00
William Pitcock 953fb66ff3 pkg: fix backwards root-leaf traversal order.
This bug causes occasional problems when calculating inter-module dependencies in complex
dependency graphs, such as ffmpeg when cross-compiled.

Reported-by: Alexander Kojevnikov <alexander@kojevnikov.com>
Closes: Issue #33
2012-08-08 10:23:23 -05:00
William Pitcock 56ba08b617 main: add --simulate (related to issue #33) 2012-08-08 10:23:23 -05:00
William Pitcock 3c157b78db pkgconf 0.8.5 2012-07-30 11:54:24 -05:00
William Pitcock c8e604c83c main: add whitespace control to --variable output (fixes mozilla libxul stuff) 2012-07-30 05:40:26 -05:00
William Pitcock fc01992654 queue: remove maxdepth + 1 hack (long story) 2012-07-30 05:11:11 -05:00
William Pitcock 0d412423bd main: print_variable() should add whitespace 2012-07-30 05:11:11 -05:00
William Pitcock 22d7625149 pkg: fix tilde operator 2012-07-30 05:03:55 -05:00
William Pitcock ec229b7cab tests: pkg-config treats tilde in reverse of how we got it in 0.8.4. 2012-07-30 05:03:55 -05:00
Baptiste Daroussin 8acc7533db pkgconf --variable needs a \n 2012-07-30 11:50:09 +02:00
William Pitcock 301a46368e Revert "main: --exists should search Requires.private."
This reverts commit 980644230d.
2012-07-30 03:16:30 -05:00