1. 22 May, 2012 6 commits
    • Michael Pyne's avatar
      Bump version to 1.15.1 · 5dc6f7ae
      Michael Pyne authored
    • Michael Pyne's avatar
      Run test suite from temporary test directory. · 1ac74a8e
      Michael Pyne authored
      A couple of git tests were passing when the test suite was run from a
      git checkout and failing when not. This was due to an underlying
      errorneous assumption.
      This commit fixes that assumption by making a new
      git checkout, and also changes to the temporary directory setup for the
      test at the start to hopefully prevent other tests from passing when
      they shouldn't.
      (cherry picked from commit 5a01d0d1)
    • Michael Pyne's avatar
      Fix remove-after-install. · 3c318f92
      Michael Pyne authored
      Apparently no one uses this option because it can't have worked in
      awhile, due to the safe_rmtree() function being in a different package.
      (cherry picked from commit ce27f064)
    • Michael Pyne's avatar
      absPathToExecutable is not in ksb::Util, fix call. · 4d4dc3c0
      Michael Pyne authored
      I had thought I had already moved absPathToExecutable into ksb::Util,
      but as it turns out I had not done so quite yet.
      This caused my bugfix for bug 299577 to instead cause a crash, sorry
      about that. :(
      (cherry picked from commit a783cc12)
    • Michael Pyne's avatar
      Fix check for qmake. · f3077ba5
      Michael Pyne authored
      qmake isn't always named 'qmake'. kdesrc-build searches for qmake before
      it runs to avoid having to take a long time to fail to build dozens of
      modules, but should search for the same names looked for by the FindQt4
      cmake check.
      In addition to correcting the check, I've also fixed the usage of
      'qmake' in the QMakeBuildSystem. Thanks for the prompt bug report! (And
      please re-open if this fails for you, it's a bit more difficult for me
      to thoroughly test)
      (cherry picked from commit 9b3a8547)
    • Michael Pyne's avatar
      Fix uninit warning in --debug. · 96f038ce
      Michael Pyne authored
      Note this commit starts off a "1.15 branch" so that I can make a needed
      1.15.1 release for the qmake-qt4 problem. I'm including the other
      available bugfixes as well.
      (cherry picked from commit 8a000601)
  2. 05 May, 2012 7 commits
  3. 02 May, 2012 1 commit
  4. 30 Apr, 2012 2 commits
    • Michael Pyne's avatar
      Use remote branch name for local branch if possible. · 767942ff
      Michael Pyne authored
      When setting up a local remote-tracking branch (either on clone or when
      the user chooses a different branch in the rc file), kdesrc-build has
      preferred a '$remoteName-$branchName' naming convention to try to avoid
      stepping on user's existing branches.
      In reality most users do not use local branches, and those that do would
      (according to feedback I've received) prefer the local and remote branch
      names to be the same as per git practice basically everywhere.
      Since it's easy enough to check that the local branch doesn't already
      exist before creating it, just do that and drop the remote name from the
      created branch name.
    • Michael Pyne's avatar
      Add roadmap for kdesrc-build development. · d33189d6
      Michael Pyne authored
      This is merely for the information of interested users and other
  5. 29 Apr, 2012 1 commit
  6. 20 Apr, 2012 1 commit
    • Michael Pyne's avatar
      Build kactivities before kde-runtime. · d1375f91
      Michael Pyne authored
      This is also fixed now in the KDE build metadata but might as well have
      it right here too.
      Thanks to Jan Hackel for the report and diagnosis.
  7. 14 Apr, 2012 2 commits
  8. 06 Apr, 2012 1 commit
  9. 05 Apr, 2012 2 commits
    • Valery Yundin's avatar
      Support defaulting to stable branches from proj.k.o. · 84447b1d
      Valery Yundin authored and Michael Pyne's avatar Michael Pyne committed
      Valery Yundin has kindly submitted a patch (including documentation!)
      resurrecting the old "use-stable-kde" option to allow for defaulting
      kde-projects modules to the stable branch (if defined for that module).
      This should track with changes to the stable branch as defined, so it
      would be a good way to track the "not quite bleeding-edge" of
      A hearty thanks to Valery for making up a patch and then adapting it to
      make use of the old use-stable-kde option.
    • Michael Pyne's avatar
      Complete the filling-out of debugging. · c2266bb8
      Michael Pyne authored
      And with that being completed, remove the BEGIN { } hack to force
      debugging/pretend functions to be parsed first.
      This did require renaming clr to colorize, and then to ksb_clr, since
      Perl complains about the first two names being possibly reserved words
      in the future.
  10. 01 Apr, 2012 1 commit
    • Michael Pyne's avatar
      Refactor function export code. · 332a44e2
      Michael Pyne authored
      In the act of removing a now-extraneous method prototype in the next
      patch I noticed that I had not fixed ksb::Debug's import method to work
      with method that had no prototype.
      "Don't Repeat Yourself" being a good idea and all, I refactored both
      methods to a common one that works on everything.
  11. 31 Mar, 2012 2 commits
    • Michael Pyne's avatar
      Fix bzr support. · e93d2f62
      Michael Pyne authored
      Somehow missed this one stray filter_program_output when converting
      slurp_program_output to filter_program_output.
    • Michael Pyne's avatar
      Fully name internal function to use with log_command. · 75e0f94c
      Michael Pyne authored
      log_command supports calling an internal subroutine instead of
      exec()'ing a new process in the logged child. The subroutine is
      identified by name.
      With the move of log_command to ksb::Util, log_command now assumes that
      the named function will be found in ksb::Util instead of the main
      package, but none of the users of this feature were ported over.
      This led to bug 297158 (kdesrc-build fails to --refresh-build a module)
      since the 'prune_under_directory' routine used to refresh the build
      directory wasn't being called by log_command anymore.
      Thanks to Kevin Lyles for the prompt and informative report!
      I've added a (very simple) test case to ensure the subroutines can be
      called at all (a test which now passes).
  12. 30 Mar, 2012 14 commits
    • Michael Pyne's avatar
      Filter svn output as it's generated. · 84f94fe3
      Michael Pyne authored
      As opposed to opening the log file afterwards and searching for conflicts a
      second time.
    • Michael Pyne's avatar
      Move svn code into SvnUpdate. · aa257fe5
      Michael Pyne authored
      After doing the same for git support the non-modular code base might be almost
      In addition to the movement of code I also added a testcase for KDE SVN SSL
      signature installation.
    • Michael Pyne's avatar
      Bracket modules into sorted tiers. · 089edc6a
      Michael Pyne authored
      This occurs before dependency resolution (so that the dependency metadata is
      still "preferred"), and is a simplistic dependency sorting technique.
      This prevents dependency-data metadata from having to become insanely
      complicated to ensure that each module depends on kdelibs (since kdelibs can't
      simply be special-cased to be "dependency #2" as it has a lot of dependencies
      itself on kdesupport/ modules like automoc.
      So, we instead group modules after dependency resolution into:
      qt (right now, just the projects.kde.org one, not any generic Qt)
      projects.kde.org modules not already determined
      other modules
      It is possible to override the tier you end up at by setting the
      "ordering-tier" option for that module to an integer.
    • Michael Pyne's avatar
      GIT_SILENT Correct spelling mistake. · 71f61c01
      Michael Pyne authored
    • Michael Pyne's avatar
      Check for the "no output" case in filter_program_output. · b0a54eaf
      Michael Pyne authored
      E.g. for git command output when we haven't quite cloned the module for the
      first time you're likely to get undef for the output (since the command will
      just fail).  Check for that.
    • Michael Pyne's avatar
    • Michael Pyne's avatar
      Add check for "essential" programs before building. · 67ad3fa3
      Michael Pyne authored
      If you (for whatever reason) don't have things like cmake installed before
      trying to run a full build you'll just spend a lot of time to eventually figure
      out that kdesrc-build wasn't able to build anything.
      Now we can (optionally!) skip the build process entirely if "essential"
      programs do not seem to be available before running the build. Each build
      system type is able to determine which programs are considered essential.
      Note that if 'qmake' is the only holdup then we don't complain if we seem to be
      building Qt or if we're in pretend mode (since it's certainly possible to fool
      build system detection when in pretend mode). If qmake is really missing the
      user /should/ just find out when they run without --pretend (since then Qt
      should show up amongst the build-modules' build systems).
    • Michael Pyne's avatar
      Use proper temp file for project database. · 616744a1
      Michael Pyne authored
      I'm apparently pretty stupid at POSIX... I thought that holding onto an opened
      file handle and then allowing a separate library to download a file to the same
      name as the filename for that opened file handle would mean I could use that
      file handle to read from later... nope. Instead just re-open the file manually
      after the download has completed.
    • Michael Pyne's avatar
      Port LC_ALL users to problem-specific functions. · e6773509
      Michael Pyne authored
      This should hopefully fully fix bug 292143 (or at least, if it's still buggy,
      it will be possible to fix in just one or two spots).
    • Michael Pyne's avatar
      Add no_translate option for log_command. · dba286ea
      Michael Pyne authored
      This allows log_command users to not have to much about with LC_ALL or friends
      To avoid parameter bloat a hash reference of options to use is now passed as
      the final parameter.
    • Michael Pyne's avatar
    • Michael Pyne's avatar
      Refactor some message-untranslation features. · 6d70059e
      Michael Pyne authored
      We still have to move usage of LC_ALL around log_command and then UTF-8'ify the
      script itself, but we're getting closer.
    • Michael Pyne's avatar
      Add filtering to slurp_program_output. · fdd59238
      Michael Pyne authored
      The idea is going to be to have the renamed filter_program_output be the one
      way kdesrc-build handles reading program output, so that I can move all the
      locale-disabling code strewn about the code base to just one function and
      hopefully handle everything related to disabling message translation while
      passing command line arguments correctly.
    • Michael Pyne's avatar
      kdesrc-build-test: Manually call done_testing(). · a37ffba1
      Michael Pyne authored
      As opposed to having Test::More figure it out automagically (which I was only
      doing because changing the number of tests expected with a changing test suite
      is more work than I really need).