1. 25 Nov, 2012 6 commits
  2. 24 Nov, 2012 3 commits
    • Michael Pyne's avatar
      modularize: Add code to find kdesrc-build modules. · 88b06576
      Michael Pyne authored
      This is the lead-in to work which will eventually split out kdesrc-build
      into component Perl modules and complete the modularization process.
      
      This commit makes it possible for Perl to locate kdesrc-build modules
      that are located in the XDG app-data directory (in case kdesrc-build is
      installed), with a fallback to the kdesrc-build script directory (in
      case kdesrc-build is run from a git checkout).
      
      Although I am "modularizing" kdesrc-build, this is not an attempt to
      split into CPAN-quality modules, rather we're just splitting into
      separate files modules that are already conceptually separate
      internally. At this point kdesrc-build will still be a single package
      using as few dependencies as possible. However this will make it
      possible to clone useful Perl modules if needed and will continue on the
      path of de-cluttering the main script.
      88b06576
    • Michael Pyne's avatar
      GIT_SILENT: Update roadmap. · d51b7533
      Michael Pyne authored
      d51b7533
    • Michael Pyne's avatar
      doc: Fixed Docbook warning on man pages. · dcf5afa9
      Michael Pyne authored
      dcf5afa9
  3. 20 Nov, 2012 1 commit
    • Michael Pyne's avatar
      Merge branch 'xsession-support' · 7dd4484d
      Michael Pyne authored
      Feature seems to work in my testing, time to push out to master and verify it
      doesn't break anything. I will also post the revised documentation to the
      website.
      
      If you don't like the idea of kdesrc-build adding a .xsession for you, then
      you can set 'install-session-driver' to false in your kdesrc-buildrc.
      7dd4484d
  4. 19 Nov, 2012 2 commits
  5. 18 Nov, 2012 1 commit
  6. 10 Nov, 2012 1 commit
  7. 05 Nov, 2012 1 commit
  8. 04 Nov, 2012 1 commit
    • Michael Pyne's avatar
      Fix git fetching so that it actually downloads. · 4b419b4a
      Michael Pyne authored
      My reading of the git-fetch manpage left me with the idea that adding
      the '-t' (for --tag) option would additionally cause all tags to be
      fetched from the given repository. The manpage doesn't actually say this
      though, and git apparently instead downloads just the tags (and needed
      objects), so this change has caused master branches around the
      kdesrc-build world to stop updating. :(
      
      The idea behind this had been to ensure that if the 'tag' option were
      used in kdesrc-build that git would have the most up-to-date list of
      tags available, but I guess we'll just have to go back to
      crossing-our-fingers and hoping git already knows about the tag for now.
      4b419b4a
  9. 29 Oct, 2012 9 commits
  10. 28 Oct, 2012 1 commit
    • Michael Pyne's avatar
      xsession: Extract var setting to separate script. · 05d1460f
      Michael Pyne authored
      dfaure reinforced a point I was thinking after doing testing on my
      system... the environment variable-setting portion of the script needs
      to be factored out into its own script so that it can be sourced easily
      from login profile setup, shell setup, etc. and not just used from the
      xsession startup.
      
      It's still not active (but the code is used in the test suite), will try
      to work on that tomorrow assuming the sequel to "Perfect Storm" about to
      strike here in DC leaves me with power...
      05d1460f
  11. 24 Oct, 2012 1 commit
    • Michael Pyne's avatar
      Fix implementation of tag/revision support for git. · 013246ae
      Michael Pyne authored
      I somehow missed the case of "branch option not ever set" by using the
      getOption method to grab the git branch instead of the specific build
      system "getBranch" method that had been used before. This led to build
      errors trying to dereference an undefined variable.
      
      My apologies for the trouble.
      013246ae
  12. 22 Oct, 2012 1 commit
    • Michael Pyne's avatar
      Implement tag and revision options for git modules. · c22b7b06
      Michael Pyne authored
      This makes the 'tag' option allow for checking out a given git tag for a
      module (which is enforced by using refs/tags/$foo when passing to git).
      
      Additionally, the 'revision' option has been adopted for git modules as
      well, to allow for checking out any other git "tree-ish" that git
      supports (i.e. anything supported by 'git checkout $foo').
      
      Both options should leave the source directory in a detached HEAD state,
      although kdesrc-build will adapt as necessary with each source update.
      
      The auto-stashing is still attempted for both types, and a failure to
      apply an auto-stashed change will cause the module to fail to build.
      Ensure you're in a clean working directory if you want to avoid issues
      due to this.
      
      The test suite continues to pass (not that it's very extensive).
      
      BUG:308493
      FIXED-IN:1.16
      c22b7b06
  13. 21 Oct, 2012 2 commits
    • Michael Pyne's avatar
      Use 'tag' option when cloning git modules. · e3c41daf
      Michael Pyne authored
      This partially implements bug 308493. To fully implement it will be
      required to handle the case of an already-checked-out module (though
      prepatory work is already complete).
      
      CCBUG:308493
      e3c41daf
    • Michael Pyne's avatar
      Reorg. git remote updating to prep for git tag support. · f96d0f92
      Michael Pyne authored
      To support git tags we need to take different semantic actions (as
      checking-out a git tag leaves you in a detached-HEAD state where
      git-{pull,merge,rebase} don't apply). To prepare for having different
      methods for these different semantics I'm factoring out the git-remote
      setup into a separate function, and removing the needless support for
      lists of possibilities. Nowadays kdesrc-build only cares about origin,
      though if you want to bring your own remote that's fine, kdesrc-build
      will find it.
      f96d0f92
  14. 19 Oct, 2012 1 commit
  15. 12 Oct, 2012 2 commits
  16. 10 Oct, 2012 3 commits
    • Michael Pyne's avatar
      Flag modules that fail to configure for --refresh-build. · 232a1669
      Michael Pyne authored
      kdesrc-build has long supported using a file '.refresh-me' in a build
      directory as a flag to treat a module being built as if the
      '--refresh-build' command line option was passed for that module.
      
      As suggested in my last commit message, this commit will automatically
      create that file if the configure/build-system-setup phase of a module
      build fails. This way even if I choose wrong on which filename to look
      for to determine a successful build, there will still be a way for
      kdesrc-build to easily tell that it should start all over next time.
      232a1669
    • Michael Pyne's avatar
      Use more appropriate "successfully configured" file (cmake-kde). · 73115973
      Michael Pyne authored
      We used to use "Makefile" for the KDE/CMake build system to determine
      when CMake was successfully run, but the commit to allow for
      custom-build-commands replaced that with CMakeCache.txt.
      
      This choice was incorrect, as CMakeCache.txt is always generated, even
      if CMake fails. cmake_install.cmake seems to be a better choice (I've
      confirmed it's generated on success with both ninja and Makefile
      generators).
      
      It's probably still a good idea to explicitly touch .refresh-me in the
      build directory if the configure phase fails. I leave the build
      directory intact if configure phase fails to allow for "post disaster
      investigation" but we should always re-run configure phase in this event
      on the next kdesrc-build run.
      73115973
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) · 2a02c5ec
      Script Kiddy authored
      2a02c5ec
  17. 08 Oct, 2012 4 commits
    • Michael Pyne's avatar
      1d8329e0
    • Michael Pyne's avatar
      xsession: Make xsession script testable. · 59428065
      Michael Pyne authored
      A few minor related changes are included. E.g. we actually want to pass
      along blank lines, so remove that check (which didn't work anyways as \n
      was still present).
      
      We replace that with a simple filter in the template installation
      process to allow there to be source lines in the base template that
      don't get passed to the installed result. This allows for shell script
      that prevents running the full command suite in the base without
      affecting the installed script.
      
      It is required to be able to actually run the base script as the "set
      -u" check for unset variables doesn't work when "set -n" (syntax check)
      is in use. These set commands can be passed directly to /bin/sh to have
      them in effect when the script starts (and are both part of POSIX and
      seem to work even with busybox sh).
      
      Additionally, the path_add function needs to actually check for unset
      variables now. Luckily there is existing Bourne shell syntax for that.
      
      The observant reviewer will note that the testsuite does not currently
      pass because there is a mispeled lib_suffix in the base, that will be
      fixed in the next commit.
      59428065
    • Michael Pyne's avatar
      9cae4cea
    • Michael Pyne's avatar
      84e08d57