1. 27 Sep, 2015 4 commits
  2. 26 Sep, 2015 2 commits
  3. 13 Jun, 2015 1 commit
  4. 21 Apr, 2015 1 commit
  5. 21 Feb, 2015 2 commits
  6. 09 Dec, 2014 3 commits
  7. 12 Nov, 2014 2 commits
  8. 27 Sep, 2014 3 commits
  9. 22 Sep, 2014 1 commit
  10. 04 Feb, 2014 1 commit
  11. 03 Feb, 2014 1 commit
    • Dan Nicholson's avatar
      glib: Update snapshot version to 2.38.2 · 90320817
      Dan Nicholson authored
      This is the latest stable release from upstream. Patches have been
      refreshed, including putting the removal of most pkg-config checks into
      the glib-only patch. A few more files, most notably the large NEWS file,
      have also been removed from the repo to keep the size of the snapshot
      down.
      90320817
  12. 16 Dec, 2013 1 commit
  13. 14 Dec, 2013 2 commits
  14. 21 Sep, 2013 1 commit
  15. 15 Sep, 2013 1 commit
  16. 31 May, 2013 2 commits
    • Dan Nicholson's avatar
      Strip trailing space from --cflags/--libs output · f26a5058
      Dan Nicholson authored
      pkg-config leaves a trailing space on the flags output as it may have to
      do multiple iterations to collect all output and adding the space makes
      concatenation simple. However, this leaves a trailing space on the full
      returned string unless it's empty. Strip the trailing space after all
      the processing is complete.
      f26a5058
    • Dan Nicholson's avatar
      check: Convert paths to Windows format when using --define-prefix · dbf1b7cd
      Dan Nicholson authored
      When pkg-config redefines the .pc file's prefix variable, it will be in
      the platform's native format. Convert the expected results as
      necessary. This only affects the relocatable test because it explicitly
      sets --define-prefix or uses .pc files in a pkgconfig/ directory. Other
      tests do not have their prefixes redefined for this reason.
      dbf1b7cd
  17. 22 May, 2013 1 commit
  18. 20 May, 2013 1 commit
  19. 19 May, 2013 1 commit
  20. 17 May, 2013 9 commits
    • Dan Nicholson's avatar
      Allow errors in .pc files for --list-all · 715cc306
      Dan Nicholson authored
      Normally, the parser will exit immediately when it encounters errors in
      .pc files. This is good most of the time, but for --list-all, the
      purpose is to just get a quick list of packages and not to validate .pc
      files. This is especially the case for pkg-config wrappers such as the
      Ruby or Bash completion modules that scrape the output from --list-all
      and don't expect to encounter errors there.
      
      Freedesktop #26615 (https://bugs.freedesktop.org/show_bug.cgi?id=26615)
      715cc306
    • Dan Nicholson's avatar
      Silence errors by default with --list-all · 2f41b2de
      Dan Nicholson authored
      When listing all packages, the purpose is to get a quick look at what's
      installed and not to scrutinize the validity of each .pc file. To see
      errors from the parser during --list-all, the user can just add
      --print-errors.
      2f41b2de
    • Dan Nicholson's avatar
      rpmvercmp: Use helper macros to match upstream code better · 1085ba73
      Dan Nicholson authored
      Upstream rpm has some convenience inline functions for strcmp and the
      character class functions. Define some macros here to make our code look
      more like upstream despite being the same functionally.
      
      One difference noted while investigating the inline functions in
      upstream is that the rpm character class functions are slightly
      different from the standard functions. The rpm functions are independent
      of locale, unlike the libc routines. pkg-config should probably do the
      same and could easily use the g_ascii_is* macros from glib.
      1085ba73
    • Dan Nicholson's avatar
      rpmvercmp: Return -1/0/1 as function says it will · f78b0143
      Dan Nicholson authored
      strcmp is only guaranteed to return !0 when the strings are unmatched
      while rpmvercmp says it will return only -1 or 1 in those cases.
      
      pkg-config currently only checks for !0, so this doesn't actually fix
      any issues here. However, this is harmless and helps minimize the diff
      with upstream rpmvercmp.
      
      http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=ee64849e
      f78b0143
    • Dan Nicholson's avatar
      rpmvercmp: Formatting & comment updates to reduce upstream diff · f50ba60c
      Dan Nicholson authored
      No changes to code, only to comments and formatting so that diff with
      upstream rpmvercmp is reduced.
      f50ba60c
    • Dan Nicholson's avatar
      Split rpmvercmp code into separate file · 4623b5e8
      Dan Nicholson authored
      The rpmvercmp code is taken directly from upstream. Moving it to a
      separate file allows it to be diffed and synced easily with the upstream
      version. It also becomes really easy to switch to the actual rpmlib
      version if that's ever desired.
      4623b5e8
    • Dan Nicholson's avatar
      check: Test relocatable features · 32427bf2
      Dan Nicholson authored
      Exercise the ${pcfiledir} and --define-prefix features for allowing
      relocation of packages. The --define-prefix test .pc files are put in a
      pkgconfig subdirectory since the feature will only be enabled in that
      situation.
      32427bf2
    • Dan Nicholson's avatar
      check: Define all useful build directories in config.sh · e7238e82
      Dan Nicholson authored
      Define all the autoconf build directories besides srcdir, which is
      required to run the test scripts and set by "make check", and builddir,
      which is always assumed to be ".".
      e7238e82
    • Dan Nicholson's avatar
      Document all pkg-config derived metadata variables · 925119ce
      Dan Nicholson authored
      The derived variables pcfiledir, pc_top_builddir and pc_sysrootdir were
      lacking in documentation. Rework the "QUERYING PKG-CONFIG'S DEFAULTS"
      section to describe these and pc_path.
      
      The example of using "pkg-config --modversion pkg-config" was removed
      since it's superfluous to "pkg-config --version".
      
      Freedesktop #62018 (https://bugs.freedesktop.org/show_bug.cgi?id=62018)
      925119ce