summaryrefslogtreecommitdiff
path: root/Debian
AgeCommit message (Collapse)AuthorFilesLines
2010-10-27note that the hardcoded arg_max here is obsoleteJoey Hess1-0/+1
2010-08-07python_distutils: Pass --force to setup.py build, to ensure that when ↵Joey Hess1-1/+3
python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759 (cherry picked from commit 865e6266a5eaae81004bf530bc23da1c3fdc10b1) Conflicts: debian/changelog
2010-08-07Revert "python_distutils: Pass --force to setup.py build, to ensure that ↵Joey Hess1-3/+1
when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759" This reverts commit 865e6266a5eaae81004bf530bc23da1c3fdc10b1. Conflicts: debian/changelog Too late for 8.0.0 since testing is frozen. Will put back in later.
2010-07-25python_distutils: Pass --force to setup.py build, to ensure that when ↵Joey Hess1-1/+3
python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759
2010-06-30perl_makemaker: import compat(). Closes: #587654Joey Hess1-0/+1
2010-06-23In v8 mode, stop passing packlist=0 in perl_makemaker buildsystem, since ↵Joey Hess1-2/+4
perl_build is tried first. Avoids the makemaker warning message introduced by the fix to #527990.
2010-05-28In v8 mode, prefer the perl_build buildsystem over perl_makemaker. Closes: ↵Joey Hess1-1/+2
#578805
2010-05-23In v8 mode, do not allow directly passing unknown options to debhelper ↵Joey Hess2-3/+4
commands. (Unknown options in DH_OPTIONS still only result in warnings.)
2010-05-09remove now-unnecessary cachingJoey Hess1-5/+1
2010-05-09Further reduce the number of calls to dpkg-architecture to zero, in a ↵Joey Hess1-3/+17
typical package with no explicit architecture mentions in control file or debhelper config files.
2010-05-09typoJoey Hess1-1/+1
2010-05-09cleanupsJoey Hess1-24/+10
2010-05-09Drop one more call to dpkg-architecture. Closes: #580837 (Raphael Geissert)Joey Hess1-5/+17
2010-04-26Memoize architecture comparisons in samearch, and avoid calling ↵Joey Hess1-7/+26
dpkg-architecture at all for simple comparisons not involving architecture wildcards. Closes:# 579317
2010-04-08Fix #572077 in one place I missed earlier. (See #576885)Joey Hess1-1/+1
2010-04-08fix commentJoey Hess1-1/+1
2010-03-01minor optimisationJoey Hess1-1/+1
2010-03-01If neither -a or -i are specified, debhelper commands used to default to ↵Joey Hess1-5/+7
acting on all packages in the control file, which was a guaranteed failure if the control file listed packages that did not build for the target architecture. After recent optimisations, this default behavior can efficiently be changed to the more sane default of acting on only packages that can be built for the current architecture. This change is mostly useful when using minimal rules files with dh. Closes: #572077
2010-02-19makefile buildsystem: Chomp output during test for full compatability with ↵Joey Hess1-0/+1
debhelper 7.4.11. Closes: #570503 Previously the test used make -s -n | head -n 1 and then chomped the output. In the case of this bug, root-system's Makefile *always* outputs something to stdout, even for targets that don't exist, before configure is run. It accidentially worked before, since the first line it outputs happens to be empty. So bring back the chomp to retain compatability with this package that used to work before, but the test only does the right thing for this package due to sheer luck, really.
2010-02-18The fix for #563557 caused some new trouble involving makefile that ↵Joey Hess1-1/+1
misbehave when stderr is closed. Reopen it to /dev/null when testing for the existance of a makefile target. Closes: #570443
2010-02-16dh: Disable option bundling to avoid mis-parsing bundled options such as ↵Joey Hess1-5/+4
"-Bpython-support". Closes: #570039
2010-02-02Fix handling of -O with options specified by commands. Closes: #568081Joey Hess1-1/+3
2010-01-30Fix typo in call to abs2rel in --builddir sanitize code. Closes: #567737Joey Hess1-1/+1
2010-01-28update from KelJoey Hess1-2/+3
Here is yet another revision which sets the PREFIX variable to '/usr' which seems commonly used by Qt projects. Also removed the -e test discussed previously.
2010-01-27add qmake to build systems listJoey Hess1-0/+1
(at the end naturally)
2010-01-27qmake: New buildsystem contributed by Kel Modderman. Closes: #566840Joey Hess1-0/+80
2010-01-06bring back ignore_unknown_optionsJoey Hess1-3/+4
Missed that dh still uses it.
2010-01-06fix bad interaction between -O and ignore_unknown_optionsJoey Hess1-3/+2
Actually, since ignore_unknown_options is only used with DH_INTERNAL_OPTIONS, which always uses -O for such options, I was able to remove that complication too.
2010-01-04don't call getopt recursivelyJoey Hess1-8/+11
That messes with the return value of the outer call.
2010-01-04solve the dh -Bbuild problemJoey Hess1-15/+27
* Add -O option, which can be used to pass options to commands, ignoring options that they do not support. * dh: Use -O to pass user-specified options to the commands it runs. This solves the problem with passing "-Bbuild" to dh, where commands that do not support -B would see a bogus -u option. Closes: #541773 (It also ensures that the commands dh prints out can really be run.)
2010-01-04Fix warning about unknown options passed to commands in override targets.Joey Hess2-11/+10
dh used DH_OVERRIDE_UNKNOWN_OPTIONS, which was too broad as it affected commands run via override targets and caused there to be no warning about unknown options. Now unknown options are only ignored when parsing DH_INTERNAL_OPTIONS and dh's own options.
2010-01-03makefile: Support the (asking for trouble) case of MAKE being set to ↵Joey Hess1-13/+10
something with a space in it. Closes: #563557
2009-12-04Add --parallel option.Modestas Vainius1-0/+1
This patch adds --parallel option that enables parallel builds and does not impose limits on maximum concurrent processes. --max-parallel (that implies --parallel) can be used to specify that maximum limit. Also make necessary adjustments to debhelper.pod and buildsystem_tests for this option.
2009-12-04In my opinion, this way of putting it is more obvious.Modestas Vainius1-7/+5
$max is about upper limit. Make algorithm reflect that. (cherry picked from commit 62d7dc07b97a12912cfe08483c6fb244161224f5)
2009-12-04Excess whitespace. Git complains about it.Modestas Vainius1-2/+2
(cherry picked from commit 11b0b2483302f8694d8c6a76c73df1eefca7ad1f)
2009-11-23Parallel building support is no longer enabled by default. It can still be ↵Joey Hess1-1/+1
enabled by using the --max-parallel option. This was necessary because some buildds build with -j2 by default.
2009-11-21make: Avoid infinite loop that occurrs when testing existence of a target in ↵Joey Hess1-1/+1
a certian horribly broken makefile by making the test stop after it sees one line of output from make. (This may be better replaced with dh's makefile parser in the future.)
2009-11-21Fix deep recursive in cmake::test().Modestas Vainius1-1/+1
2009-11-19use foreach instead of for when looping thru arrayJoey Hess3-9/+9
2009-11-19cmake build+ steps need Makefile.Modestas Vainius1-2/+3
The condition is not what dh_auto_* 7.0.x would have done. The patch makes auto-selection to pass through cmake.pm if Makefile was not created. This problem is not very dangerous though.
2009-11-19Make buildsystems_list() use updated auto-selection code.Modestas Vainius1-26/+34
In order to avoid code duplication, auto-selection code has been refactored into separate subroutine autoselect_buildsystem(). Both load_buildsystem() and buildsystem_list() use it.
2009-11-19Fix build system auto-selection breakage.Cyril Brulebois1-1/+1
Probably due to an overlook in 758ce0bb1f, the '-e' test on build.xml disappeared, leading check_auto_buildable() to always return '1' for the ant build system. Signed-off-by: Cyril Brulebois <kibi@debian.org>
2009-11-18comment mungingJoey Hess3-13/+10
2009-11-18Improve build system auto-selection processModestas Vainius9-38/+57
This patch alters semantics of check_auto_buildable() a bit. Now it can also indicate if the source has already been partitially built with the build system and if so, such build system may be auto-selected over a less specific its parent (in the inheritance tree) even if the latter is earlier in the @BUILDSYSTEMS array. However, this still leaves a requirement that a derivative build system must not do anything that may break packages of the parent build system. Otherwise, introduction of a new derivative build system might break packages which already had that build system implemented via overrides... Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-11-16cute tail display of config.log, to include a headerJoey Hess1-1/+1
2009-11-16autoconf: If configure fails, cat config.log. Intended to make it easier to ↵Joey Hess1-1/+9
debug configure script failures on autobuilders. Closes: #556384
2009-11-16make error() throw a catchable error with dieJoey Hess1-3/+2
exit cannot be caught with eval.. I used exit before because I thought it was cute for erorr() to call warning(). Silly.
2009-11-16Enable verbose ctest output on test failureModestas Vainius1-1/+4
When test fails, enable verbose ctest output. This allows to get more details on a test failure from the build logs. Auto-select cmake in further steps only if cmake was run in configure step. CMake writes CMakeCache.txt to build directory when it is run. Depend on the presence of this file for auto-selection in build, test, install and clean steps. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-11-12Enable verbose ctest output on test failureModestas Vainius1-0/+7
When test fails, enable verbose ctest output. This allows to get more details on a test failure from the build logs. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-11-12Adjust code to add deprecation warning for compatability level 4. (Man page ↵Joey Hess1-1/+1
already said it was deprecated.) Closes: #555899