AgeCommit message (Collapse)AuthorLines
2016-12-10build: resolvertest uses google-test, SE source dependencyAvatar Saleem Abdulrasool -31/+33
The test was previously built as part of the check target, which hid the fact that it was not conditionalised on gtest tests being enabled. Add the guard for that. Add a dependency on libpaludisutil_SE on the support library. It uses path-se.hh.
2016-12-09build: quote variable for comparisonAvatar Saleem Abdulrasool -1/+1
2016-12-08resolver: whitespace, style cleanupsAvatar Saleem Abdulrasool -115/+67
Avoid else return, use range based loop. Rename resolvent from `q` to `r`.
2016-12-08build: install env_update.bash properly in install_postAvatar Saleem Abdulrasool -1/+1
This was a copy-paste error. Thanks to kerupse for noticing it!
2016-12-08re-add builtin_tidyuprm.bash to exheres-0 CmakeLists.txtAvatar Benedikt Morbach -0/+1
Change-Id: I8acf352cc1effa69088570be8cd823f5565d58fa
2016-12-07paludis: more range loop usage (NFC)Avatar Saleem Abdulrasool -56/+53
2016-12-07Revert "build: remove unnecessary MD5 usage"Avatar Saleem Abdulrasool -5/+10
This reverts commit 7b1f8701f5e418d2b11621a703085cbd08079dc7. Restore the original change. The uniquing is needed for builds which enable python and ruby bindings together.
2016-12-07introduce and use an iterator range in BrokenLinkageFinderAvatar Saleem Abdulrasool -36/+45
Add some convenience helpers for iteration to BrokenLinkageFinder. This allows us to use range based for loops in cave fix-linkage.
2016-12-07paludis: avoid return after else (NFC)Avatar Saleem Abdulrasool -4/+4
2016-12-07cave: adjust whitespaceAvatar Saleem Abdulrasool -15/+8
2016-12-07cave: range base loopify (NFC)Avatar Saleem Abdulrasool -7/+6
2016-12-06Fix build with -Wl,--as-neededAvatar Heiko Becker -1/+2
2016-12-06Only build resolver_TEST_promote_binaries if tests are enabledAvatar Heiko Becker -3/+2
Otherwise cmake complains when -DENABLE_GTEST=FALSE is passed, because it doesn't know the target.
2016-12-05build: Move call to project further to the topAvatar Heiko Becker -1/+2
Before CMAKE_INSTALL_FULL_DOCDIR which defaults to DATAROOTDIR/doc/PROJECT_NAME, leading to a wrong CMAKE_INSTALL_FULL_HTMLDIR otherwise.
2016-12-05build: Fix logic error with PALUDIS_COLOUR_PINKAvatar Heiko Becker -2/+2
Setting PALUDIS_COLOUR_PINK to FALSE lead to unexpected colours.
2016-12-05build: Install bash scripts as 'PROGRAMS'Avatar Heiko Becker -25/+25
...to make them executable.
2016-12-05build: Create directories before files are created in themAvatar Heiko Becker -26/+27
2016-12-05build: correct the local variableAvatar Saleem Abdulrasool -2/+2
The variable was `phase` although `hook` was being used. Thanks to zlin and heirecka for tracking that down!
2016-12-04resolver: more range loop conversions (NFC)Avatar Saleem Abdulrasool -11/+7
2016-12-04use range based for loops more pervasively (NFC)Avatar Saleem Abdulrasool -313/+230
2016-12-03build: remove some unnecessary ignores in packagingAvatar Saleem Abdulrasool -11/+0
Remove the autotools filtering in the cpack rules as the autotools build has been removed.
2016-12-03build: fix documentation typoAvatar Saleem Abdulrasool -1/+1
2016-12-03build: remove unnecessary MD5 usageAvatar Saleem Abdulrasool -10/+5
Don't add a uniquing hash into the target, they are already unique based on the file name being generated. If we ever end up with the same file name being used in multiple directories, we can re-introduce the MD5 nonce. This should speed up the generation a slight bit.
2016-12-03paludis: use default'ed methodsAvatar Saleem Abdulrasool -78/+29
Convert the library to use C++11 default members. Converted using clang-tidy.
2016-12-03args: move the visibility macros to the definitionAvatar Saleem Abdulrasool -18/+18
This silences a large amount of warning spew due to the attribute having no effect. NFC.
2016-12-03build: explicitly link against threads in gtestsAvatar Saleem Abdulrasool -0/+1
In the case the googletest library is built static and was built with threading, the library may have an implicit dependency which is unrecorded. Add an explicit link against the threading library. The slight overlinkage is inconsequential as it is for tests only.
2016-12-03tests: add an explicit cast for gtest 1.8Avatar Saleem Abdulrasool -1/+1
The assertion macro in googletest 1.8.0 is unable to infer the cast needed here. Add an explicit cast to boolean. The other assertion is implicitly cast to boolean due to the negation.
2016-12-03paludis 3.0!Avatar Saleem Abdulrasool -1/+1
Update the package version to 3.0. The future is now. master is now moving towards the 3.0 release.
2016-11-30test: adjust the hooker testAvatar Saleem Abdulrasool -12/+12
Adjust the hooker test setup for the new build layout caused by the migration to CMake which does not use libtool. Adjust the setup script for the news and env update hooks.
2016-11-30build: remove autotools based buildAvatar Saleem Abdulrasool -7028/+0
There can be only one!
2016-11-30build: introduce cmake based build systemAvatar Saleem Abdulrasool -0/+4563
2016-11-28paludis: mark the command template executableAvatar Saleem Abdulrasool -0/+0
This makes it simpler to generate the executables with the execute permission preset. NFC.
2016-11-28tests: standardise test namingAvatar Saleem Abdulrasool -0/+0
Canonicalise the test naming. Mark the tests as executable.
2016-11-28paludis: adjust whitespaceAvatar Saleem Abdulrasool -10/+9
2016-11-28paludis: mark visibility on a few extern templatesAvatar Saleem Abdulrasool -20/+12
Give the explicit template specializations default visibility. This is needed to build the cave client with clang with hidden visibility.
2016-11-28cave: correct importance handlingAvatar Saleem Abdulrasool -1/+1
We would previously negate the left hand side of the comparison rather than the comparison. Identified via clang 3.9.
2016-10-04Add all options for --change-phases-for to zsh completions.Avatar Bo Ørsted Andresen -4/+5
Change-Id: I4767ae461c14d3d10363c8c518da9cbcb8044448
2016-08-06modernize: use default method synthesisAvatar Saleem Abdulrasool -923/+290
Convert a number of destructors to default synthesized functions. Try to inline a few instances into the header. It should be possible to inline all of them, however, gcc seems to emit a number of warnings. Furthermore, some of the destructors are pure-virtualed, but provide an implementation. Placing the definition into the header causes ODR violations.
2016-08-04modernize: use override annotationsAvatar Saleem Abdulrasool -603/+603
Automated addition of override to overridden functions. NFC.
2016-08-04modernize: use nullptr rather than 0 or NULLAvatar Saleem Abdulrasool -51/+51
Automated conversion to nullptr. NFC.
2016-08-04modernize: convert to range based for-loopsAvatar Saleem Abdulrasool -532/+415
Automated conversion to range based for loops. NFC
2016-06-29paludis {index,howdoi}.html.part: drop outdated distcc guideAvatar Irvin Choi -14/+0
Change-Id: Icd50ff2af47b094f65aa2cb71793f5152d03ffca Reviewed-on: https://galileo.mailstation.de/gerrit/6569 Reviewed-by: Bo Ørsted Andresen <zlin@exherbo.org>
2016-06-12paludis-use-conf.vim: highlight options containing dotsAvatar Markus Rothe -1/+1
Highlight options containing dots, e.g., 'sse4.1'. Change-Id: I3f392d8dd2cb6caa7582547029b74c4f60c15414 Reviewed-on: https://galileo.mailstation.de/gerrit/4559 Retest: Markus Rothe <markusr815@gmail.com> Reviewed-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org>
2016-06-06build: Use configured ruby executable instead of `ruby`Avatar Marvin Schmidt -1/+1
Otherwise configure will fail if `ruby` does not point to the same ruby binary as specified by --with-ruby-version: $ readlink -f `which ruby` /usr/x86_64-pc-linux-gnu/bin/ruby2.3 $ ./configure --enable-ruby --with-ruby-version=2.2 --enable-ruby-doc [...] checking for RUBY... yes checking for Ruby installation dir... /usr/x86_64-pc-linux-gnu/lib/ruby/site_ruby/2.2/x86_64-linux checking whether to build the Ruby documentation... yes checking for syntax... configure: error: syntax (http://syntax.rubyforge.org) is needed to build Ruby documentation Change-Id: Idf9edae157b8e442a2d63c0a71097fd01374a9fc
2016-06-06build-sys: update supported ruby versionsAvatar Marc-Antoine Perennou -3/+3
add ruby 2.3 default to ruby 2.3 drop 2.0 and 1.9 which are dead Change-Id: If910a27595e3e92477ce54dec9216293abd6a5df Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2016-05-03Preparation for Bo Ørsted Andresen -1/+16
Change-Id: I33504f64d52c5d9f6dbdd5ca607d1363cbb0c49d
2016-05-03Fix ambiguous redirect error.Avatar Bo Ørsted Andresen -1/+1
Change-Id: I5d8966bf4a6bd69770a6ad964eb0008b644edde5
2016-05-03run_test.sh: Strip path from test programAvatar Marvin Schmidt -1/+1
TEST_SCRIPT_DIR already contains the path, so it should be removed from the test program (seems like automake only includes the paths for test programs with an extension, so TEST_SCRIPT_DIR is still needed for test programs without extension). Otherwise out-of-tree builds fail their python tests because the cleanup/setup scripts aren't found due to the duplicated path: >>> No ../../../python/../../../python/choices_TEST_setup.sh to run It turns out that distcheck only worked with automake versions prior to 1.15 because of the folder structure it used. With the duplicated path it ended up finding the scripts in paludis/python instead of the distributed ones in paludis/paludis-x.y.z/python. automake 1.15 changed the build folder for distcheck from $(distdir)/_build to $(distdir)/_build/sub which caused the distcheck to fail and expose this problem. Change-Id: Ie0627bf507d791db7497eeca383160fa50ccbe18 Reviewed-on: https://galileo.mailstation.de/gerrit/5948 Reviewed-by: Bo Ørsted Andresen <zlin@exherbo.org>
2016-03-17Fail if bzip2 fails.Avatar Bo Ørsted Andresen -1/+4
Change-Id: I40c988c5abf315722259909f4f33e8deb584c0db
2016-02-27cave: correct 054f41f3d4cb3167fb4f6dfb694d5111e36dcb44Avatar Saleem Abdulrasool -3/+1
The change was done on an incorrect reading of the code. The callback is meant for per-package invocation, not per metadata key invocation. Restore the correct behaviour.