summaryrefslogtreecommitdiff
path: root/buildlib
AgeCommit message (Collapse)AuthorFilesLines
2014-08-18Merge branch 'debian/sid' of git://anonscm.debian.org/apt/aptIgor Pashev1-0/+74
Conflicts: .gitignore Makefile apt-inst/makefile apt-pkg/install-progress.h apt-pkg/makefile buildlib/defaults.mak buildlib/environment.mak.in buildlib/library.mak buildlib/po4a_manpage.mak buildlib/program.mak buildlib/python.mak buildlib/staticlibrary.mak cmdline/makefile configure.ac debian/apt.install.in debian/changelog debian/control debian/libapt-pkg4.12.symbols debian/rules doc/makefile ftparchive/makefile po/ar.po po/bs.po po/cy.po po/dz.po po/el.po po/fi.po po/km.po po/ku.po po/lt.po po/ne.po po/nn.po po/pt_BR.po po/ro.po po/th.po po/tl.po po/uk.po test/libapt/makefile
2014-07-08build: Convert from DebianDoc SGML to DocBook XMLGuillem Jover5-74/+89
2014-07-08build: Set the XSL parameter through the command line instead of sedGuillem Jover1-3/+4
Use the xsltproc --stringparam option instead of replacing it inside the file.
2014-04-13compile with absolute paths to allow lcov useDavid Kalnischkies4-4/+4
Instructing gcc (or clang) to prepare for capturing coverage data is easy: Just build with: CXXFLAGS=--coverage The hard part is that our buildsystem uses relative paths and so confuses the hell out of lcov as it assumes this way that all our *.cc files are in the same directory… by changing to absolute paths in the compile rules we solve this problem. Still not perfect as it refers to build/include files for most headers and our forking/threading code isn't properly captured, but good enough to see red reports for now: CXXFLAGS=--coverage make make test ./test/integration/run-tests -q lcov --no-external --directory . --capture --output-file apt.info genhtml --output-directory ./coverage/ apt.info Git-Dch: Ignore
2014-03-13use liblzma-dev to provide xz/lzma supportDavid Kalnischkies2-0/+4
We have xz/lzma support for a while, but only via an external binary provided by xz-utils. Now that the Debian archive provides xz by default and dpkg pre-depends on the library provided by liblzma-dev we can switch now to use this library as well to avoid requiring an external binary. For now the binary is in a prio:required package, but this might change in the future. API wise it is quiet similar to bz2 code expect that it doesn't provide file I/O methods, so we piece this together on our own.
2014-03-13enable various compiler warningsDavid Kalnischkies1-3/+6
Now that the last few commits resolved the issues we can finally enable a bunch of compiler warnings by default. Git-Dch: ignore
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies2-1/+3
Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
2014-03-13move defines for version to macros.hDavid Kalnischkies1-3/+3
also adds namespaced attributes for good usage Git-Dch: Ignore
2014-02-22Fix typos in documentation (codespell)Michael Vogt2-2/+2
2013-11-30add a vendor specific file to have configurable entitiesDavid Kalnischkies1-2/+5
manpages sometimes refer to distro-specific things like the name of the package providing the achive-keyring. Having a central place to configure this helps in having it consistent in the manpages and allows to load this info from other places in the buildsystem as well later.
2013-10-05* move upgrade releated code into upgrade.{cc,h}Michael Vogt1-0/+1
The upgrade releated code is moved into upgrade.{cc,h} and all pkg*Upgrade* prototypes are included in algorihms.h to avoid breaking API (unless build with APT_9_CLEANER_HEADERS).
2013-07-26reenable automatic parallel build of APTDavid Kalnischkies1-9/+8
It works for a while now in manual tests, now lets see how it will perform if enabled for all by default automatically.
2013-07-26make autoconf happy by "mv configure.{in,ac}"David Kalnischkies1-2/+2
Git-Dch: Ignore
2013-06-09stop building l10n if strings are unchangedDavid Kalnischkies2-2/+7
The buildsystem tried to build l10n for test applications which never produced the output it expected causing it to try building it all the time.
2013-06-09depend on libapt-pkg in the libapt-inst build processDavid Kalnischkies1-2/+2
fixing parallel build in the handcrafted buildsystem is a pain, so its not enabled by default, but its works for me – sometimes Git-Dch: Ignore
2013-06-09build the en manpages in subdirectory doc/enDavid Kalnischkies1-5/+7
Building manpages becames more consistent this way and it is simpler to ignore build artefacts, too.
2013-05-16* buildlib/apti18n.h.in:Michael Vogt1-0/+1
- fix build failure when building without NLS (closes: #671587)
2012-06-29* debian/control:David Kalnischkies3-4/+8
- demote debiandoc-sgml to Build-Depends-Indep * doc/makefile: - separate translation building of debiandoc from manpages so that we don't need to build debiandoc for binary packages
2012-06-18* buildlib/configure.mak:David Kalnischkies1-1/+28
- print a message detailing how to get config.guess and config.sub in case they are not in /usr/share/misc (Closes: #677312)
2012-05-21* buildlib/inttypes.h.in:David Kalnischkies5-95/+0
- remove inttypes.h compatibility as providing such a c99 types compatibility conflicts with the usage of c99 type long long
2012-05-21whatever this script did, it didn't for a long long timeDavid Kalnischkies1-14/+0
(it creates changelog from cvs)
2012-05-21apply the correct metadata (package, version, mail) to all pot and po filesDavid Kalnischkies2-0/+4
2012-05-21* buildlib/podomain.mak:David Kalnischkies1-3/+3
- ensure that all sources end up in the srclist so that we don't forget to extract half of the translation strings
2012-05-20move the creation of the manpage-style.xsl file to the rest of theDavid Kalnischkies1-1/+5
manpage building instead of doing it at setup time, so we can properly depend on it
2012-05-17* doc/makefile:David Kalnischkies1-1/+1
- build manpages with the correct l10n.gentext.default.language setting to get the correct section titles provided by docbook
2012-05-14 - separate manpages from the rest of the doc buildingDavid Kalnischkies2-2/+3
- make apt and apt-utils packages depend on manpages instead of full doc
2012-05-12* Makefile, buildlib/*.mak:David Kalnischkies3-10/+9
- reshuffle dependencies so that parallel building seems to work
2012-04-05 - add libbz2-dev as new build-dependencyDavid Kalnischkies2-1/+5
- remove the libz-dev alternative from zlib1g-dev build-dependency - do the same for bz2 builtin if available * apt-pkg/contrib/fileutl.cc: - use libz2 library for (de)compression instead of the bzip2 binary as the first is a dependency of dpkg and the later just priority:optional so we gain 'easier' access to bz2-compressed Translation files this way
2012-04-05detect zlib correctly. We still don't allow to build without it to remainDavid Kalnischkies1-0/+3
compatible with users accessing it directly, but this prepares for a drop of this strict requirement in the future
2012-03-22the previously used VERSION didn't work everywhere so we are switchingDavid Kalnischkies2-3/+4
to the more standard PACKAGE_VERSION and make it work in every file
2012-03-21do not update po and pot files in the process of the build as thisDavid Kalnischkies2-2/+2
causes timestamp changes for the mo files which therefore can't be refcounted by dpkg for your M-A: same packages (Closes: #659333, LP: #924628) The commit also enables a top-level 'make update-po' and does all the needed changes to let this work now that update-po might be called in a freshly checkout tree
2012-01-10Ported to Illumos/Solaris with autotools and GnulibIgor Pashev24-1376/+0
2011-12-15atleast libapt should announce to itself that it is clean…David Kalnischkies1-0/+2
(and be it if it tries to announce that…)
2011-09-13merge with debian/sidDavid Kalnischkies1-2/+2
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies1-0/+3
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-08-17build test-binaries by default and add a test target to toplevelDavid Kalnischkies1-1/+1
2011-08-17add 'dirs' target to the 'all' target to ensure that for e.g. the testsDavid Kalnischkies1-1/+1
all (sub)directories are build which are needed (e.g. obj/ and co)
2010-10-14* doc/apt.ent:David Kalnischkies1-2/+5
- move some strings into apt-verbatim.ent to avoid showing them in apt-doc.pot as they are untranslatable anyway (e.g. manpage references)
2010-09-17* buildlib/debiandoc.mak, buildlib/po4a_manpage.mak:David Kalnischkies2-3/+3
- ensure that the build fails if documentation building fails
2010-02-18we break the ABI, so let use increase the ABI number :)David Kalnischkies2-14/+7
(This is the revert of the glibc-abi-compatibility-hack)
2010-02-18* buildlib/apti18n.h.in, po/makefile:David Kalnischkies1-0/+3
- add ngettext support with P_()
2010-01-01fix some warning from the buildtools in tools.m4 and configure.inDavid Kalnischkies1-6/+6
2010-01-01instruct debiandoc to build files with utf-8 encodingDavid Kalnischkies1-1/+1
2009-12-12revert this commit as fast as possible (aka next ABI break)David Kalnischkies2-7/+14
This commit sets up our faked library extension to trick the build system into building the packages with libc6.9-6 while we are actually already at libc6.10-6. Oh dear...
2009-12-10merged -r1901..1911 from lp:~donkult/apt/sidMichael Vogt7-195/+3
2009-12-10merged -r1887..1901 from lp:~donkult/apt/sidMichael Vogt6-3193/+30
2009-11-02don't try to detect glibc and libstdc++ version as we don't need this ↵David Kalnischkies2-52/+0
information any longer
2009-11-02remove traces of old manpage-buildsystemsDavid Kalnischkies4-97/+1
2009-11-02fix/simplify buildsystem for the (now) po4a-only manpagesDavid Kalnischkies2-46/+2
2009-10-28remove (outdated) config.{sub,guess} and use the ones providedDavid Kalnischkies3-3184/+4
by the new added build-dependency autotools-dev instead