1. 08 Oct, 2012 3 commits
    • Michael Pyne's avatar
    • Michael Pyne's avatar
    • Michael Pyne's avatar
      Add .xsession installation base code. · 548489c9
      Michael Pyne authored
      This isn't turned on yet (the testcase just tries to run the function
      without exceptions), but this would be the base for a feature to install
      the new sample .xsession file for the "Custom session" login option for
      most login managers.
      The base .xsession was graciously provided by Michael Janses (of
      build-tool fame). I've simplified it a bit for kdesrc-build usage and
      tried to make it compatible with less featureful shells. The eventual
      idea is that it can be used with kdesrc-build-set and/or kdesrc-build so
      that you can run the setup script, kdesrc-build, and be able to login to
      your new KDE install.
  2. 02 Oct, 2012 1 commit
    • Michael Pyne's avatar
      Force --refresh-build for frequent failers. · 58c00ca1
      Michael Pyne authored
      This could be annoying for Qt if it takes 10 minutes to fail, but
      there's already a warning message for this case. For the rest, it's
      most likely that making things work at all will require a
      --refresh-build anyways (e.g. if CMake was run but didn't generate a
  3. 17 Sep, 2012 1 commit
  4. 14 Sep, 2012 3 commits
  5. 11 Sep, 2012 1 commit
  6. 01 Sep, 2012 3 commits
  7. 26 Aug, 2012 3 commits
    • Michael Pyne's avatar
      Correct conflict-exception changes. · c7eef637
      Michael Pyne authored
      It's pretty hard to check for a conflict-detected field in an exception
      object when you're overwritten that exception object with a simple
    • Michael Pyne's avatar
      Add support for bootstrapping CMake. · f918d1a9
      Michael Pyne authored
      This small buildsystem allows kdesrc-build to bootstrap CMake (from git,
      obviously) onto a system that does not have a recent-enough packaged
      version of CMake.
      The "bootstrap" process is treated as module configuration, so
      "configure-flags" is the relevant option (don't worry, those won't be
      inherited from global configure-flags). The rest of the build/install
      uses make as normal, which is implemented via fallback to
    • Michael Pyne's avatar
      Use a CMake-specific module-configured key for KDE builds. · 458094b9
      Michael Pyne authored
      Previous to this the GenericBuild fallback of 'Makefile' was used to
      test if a configure step had been run, but this only works for CMake
      when the default generator is being used.
      The 'ninja' generator is available in the latest CMake and seems to be
      popular. Instead of hard-coding support for ninja we just try to support
      something CMake-specific. Those who wish to use ninja should be able to
      use cmake-options to add the appropriate -G flag, and
      custom-build-command to specify ninja.
  8. 21 Aug, 2012 1 commit
    • Michael Pyne's avatar
      Add support for specifying an HTTP proxy to setup script. · d64d6036
      Michael Pyne authored
      A prompt is used to ask if a proxy is required, unless the normal
      http_proxy env. variable is set, at which point the proxy URL will be
      queried for directly (and the value of http_proxy used as the default).
      This should implement wish 305410.
  9. 19 Aug, 2012 5 commits
    • Michael Pyne's avatar
      Allow using HTTP for kde-projects modules. · 08372a53
      Michael Pyne authored
      This adds an option git-desired-protocol to allow for using HTTP instead
      of git protocol when updating git modules.
      For non kde-projects modules, it should already be possible to use an
      http:// URL as a repository instead of git:// (though I haven't tested
      this yet).
      This should implement wish 305409.
    • Michael Pyne's avatar
      Audit and correct list of config file options. · 5785d4e8
      Michael Pyne authored
      This audit was just comparing the list of config file options between
      the documentation's list of options and the list contained in
      This resulted in adding an option (persistent-data-file) to kdesrc-build
      to indicate that it's expected, and documenting an option
      (use-clean-install) that was present but undocumented.
    • Michael Pyne's avatar
      Allow setting http-proxy settings. · da098beb
      Michael Pyne authored
      Right now this will be utilized for anything needing libwww-perl
      (kde_projects.xml download, tarball snapshots), and will be propagated
      to subprocesses via http_proxy environment variable, unless that
      variable is already set.
      Tested by using a simple HTTP proxy utilizing HTTP::Proxy from CPAN.
      Implements wish 305411.
    • Michael Pyne's avatar
      Move download_file to ksb::Util. · b6f17bdd
      Michael Pyne authored
    • Michael Pyne's avatar
      GIT_SILENT Sort the known options. · e146b457
      Michael Pyne authored
      Brought up by me noticing use-modules was way out, though it apparently
      wasn't the only one. Done by selecting the lines, then running through
      "sort -i".
  10. 18 Aug, 2012 3 commits
  11. 13 Aug, 2012 1 commit
  12. 10 Aug, 2012 5 commits
  13. 04 Aug, 2012 4 commits
    • T.C. Hollingsworth's avatar
      typo fix · a69ab727
      T.C. Hollingsworth authored
    • Michael Pyne's avatar
      Tweak kdesupport docs. · b9aae945
      Michael Pyne authored
      As noted by Burkhard Lück (and with his recommended fix as well).
    • Michael Pyne's avatar
      Show exception message from filter_program_output. · b1b13455
      Michael Pyne authored
      As opposed to dumping a Perl object straight to the terminal.
    • Michael Pyne's avatar
      Ensure STATUS_FILE always a valid filehandle. · 610cce23
      Michael Pyne authored
      There was a bug with printing to STATUS_FILE that wasn't guarded by
      checking to see if $outfile was defined, which was causing errors when
      printing that a module failed to update/build in --pretend mode.
      I could have fixed it by adding that check but it's probably better to
      have it always valid.
      We can't set $outfile to '/dev/null' unconditionally since we decide
      whether to create log/latest symlinks based on whether $outfile is set
      or not. So instead I use a defined-or (//) operator in the open call.
  14. 03 Aug, 2012 2 commits
    • Michael Pyne's avatar
    • Michael Pyne's avatar
      Upgrade svn 1.7 repositories automatically. · 9a7a4d63
      Michael Pyne authored
      Subversion 1.7 requires a manual upgrade of the working copy in order to
      do anything (even to run svn status). Luckily there's an error message
      ID for this case so it's not too hard to grep for situations where this
      is necessary.
      One problematic element is that since even 'svn info' doesn't work in
      this situation, --pretend mode doesn't work either for svn modules. For
      now I just throw an exception (after the check) when in pretend mode so
      avoid follow-on useless error messages.
      It was interesting how I still had the old 1.6.17 for so long -- turns
      out I had forgot to rename my subversion selector asking for unstable
      versions in Gentoo (at some point their package name changed from
      dev-util/subversion to dev-vcs/subversion, which I didn't keep up with).
      Thanks Will Stephenson for the bug report.
  15. 28 Jul, 2012 2 commits
    • Michael Pyne's avatar
      Add custom build command option. · 9d0f34ce
      Michael Pyne authored
      Unfortunately I was not able to split out moving safe_make and
      run_make_command with the actual implementation of this option
      after-the-fact. Whoops.
      This should implement support for a custom build command (and custom
      install command, assuming the install can be performed by adding
      'install' to the command line).
      Hopefully that will be sufficient for 'ninja' or other buildsystems.
      Note that this only changes the *build* command, the other parts of the
      build system still needs to be supported in kdesrc-build (for now,
      custom build systems probably wouldn't be too hard to implement if
      Assuming your proposed command is available in PATH and can be called
      like make, doing something like this should suffice:
      module (or module-set) foo
          custom-build-command ninja
      end module (or module-set)
    • Michael Pyne's avatar
      Move absPathToExecutable to ksb::Util. · bd875e6d
      Michael Pyne authored
  16. 24 Jul, 2012 1 commit
  17. 19 Jul, 2012 1 commit