summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2014-06-27librelib: relicense to GPLv2+Luke Shumaker
2014-06-27librelib: remove calls to the non-existent panic()Luke Shumaker
2014-06-20fiddle with file locationsLuke Shumaker
I remember now that config.mk's change to ?= was so that xbs Makefiles could override $(binder). That was stupid.
2014-06-18Merge branch 'master' into lukeshu/xbsLuke Shumaker
2014-06-18libremessages(1): fix typo in the man pageLuke Shumaker
2014-06-16Merge branch 'master' into lukeshu/xbsLuke Shumaker
2014-05-11update the libremessages man page with changes from devtoolsv20140511Luke Shumaker
2014-03-23Most of my desired re-licensings were authorized on the dev listLuke Shumaker
2014-03-22Relicense some files from GPLv3+ GPLv2+ (that I'm the sole copyright holder of)Luke Shumaker
2014-03-22Audit the authors and copyright years of files against git logsLuke Shumaker
2014-03-21Do an audit of copyright and license claimsLuke Shumaker
2014-03-05teach libremessages:setup_traps to be able to use a custom signal handlerLuke Shumaker
2014-02-02src/lib/Makefile: fix extra files from being included in libexecsLuke Shumaker
2014-02-02Normalize to use the string "Copyright (C)"Luke Shumaker
2014-02-02I forgot to bump the copyright year on all the files I've touched this yearLuke Shumaker
2014-01-20normalize to use >&2 instead of /dev/stderrLuke Shumaker
2014-01-20libremessages: add a setup_traps routineLuke Shumaker
2014-01-18Update libremessages.1.ronnLuke Shumaker
2014-01-05src/lib/: misc touch-upLuke Shumaker
2014-01-05src/lib/: set TEXTDOMAIN differently for internal messagesLuke Shumaker
This allows us to fix the long-standing bug that libremessages forces TEXTDOMAIN=libretools
2014-01-05update to the new devtoolsLuke Shumaker
2014-01-03Merge branch 'master' into xbsLuke Shumaker
Conflicts: src/lib/conf.sh
2014-01-03Phase out DIFFTOOL for DIFFPROG (issue #438)Luke Shumaker
https://labs.parabola.nu/issues/438
2013-11-29lib/conf.sh: learn about XBS config filesLuke Shumaker
2013-11-04libremessages(1): clarify when gettext is used.Luke Shumaker
2013-10-08conf.sh.3: fix the reference to {get,set}_conf_makepkg in the BUGS sectionLuke Shumaker
2013-10-07(oops) I missed an instance of get_conf_makepkg.Luke Shumaker
2013-10-04conf.sh: generalize {get,set}_conf_makepkg to {get,set}_varLuke Shumaker
2013-10-02Add documentation for lib/Luke Shumaker
* Add a bunch of man-pages * Add some comments to conf.sh * Add more information to librelib:usage()
2013-09-26Makefile: create a standard 'pot' targetLuke Shumaker
2013-09-23Makefile: fix xgettext rulesLuke Shumaker
2013-09-12Merge branch 'fauno~2' (early part) into masterLuke Shumaker
2013-09-11libreblacklist: Fix a bug in the -h flag, adjust the unit test to catch it.Luke Shumaker
2013-09-11librelib: Internationalize (actually use the internationalization stuff)Luke Shumaker
2013-09-11libremessages: add a few more message routines, and make them gettext-aware.Luke Shumaker
- Don't set LANG=C in common.sh - Move TEXTDOMAIN stuff into common.sh; so devtools stuff will use it. - Add _(): Basically an alias for `gettext`, but falls back if gettext is not available. - Add panic(): First showed up in `distcc-tool`, does what it sounds like. - Add prose(), bullet(), and flag(): they do word wrapping and such to make it easy to internationalize `--help` text. - Teach common.mk how to make .pot files based on these routines.
2013-09-11Make common-devtools.mk unnecessary. Move devtools chroot stuff into ↵Luke Shumaker
chroot-tools
2013-09-11conf.sh: touch up quotingLuke Shumaker
2013-06-27add {load,unset}_PKGBUILD to conf.sh, use it.Luke Shumaker
There are a bunch of caveats to loading a PKGBUILD file. This way it is all done correctly in one place. unset_PKGBUILD unsets any functions and variables that are normally set in a PKGBUILD. The list is far more complete than any existing implementation. load_PKGBUILD loads the file given, or "./PKGBUILD" if none is given. But first it calls unset_PKGBUILD and then sets CARCH.
2013-06-23mv src/librelib src/lib/ # and split librelib into a separate packageLuke Shumaker
2013-06-23mv src/devtools/lib/common.sh src/lib/ # and add common-devtools.mkLuke Shumaker
2013-06-13lib/conf.sh: remove INCLUDE_CONF_SH line; everything has been migratedLuke Shumaker
2013-06-08libreblacklist: fix a few bugsLuke Shumaker
- set -e didn't work in blacklist-update when followed by || - it prompted before overwriting the local blacklist
2013-06-05libreblacklist: fix call to check_varsLuke Shumaker
2013-06-05Double bracket ==/</> compare lexicographically, not numerically.Luke Shumaker
Unfortunately for me, that means that it works correctly *most* of the time. But, for example, [[ 10 < 2 ]], and negatives don't work.
2013-06-05conf.sh: add a mechanism to save environmental variablesLuke Shumaker
This mimics the behavior of makepkg.
2013-06-05conf.sh: fix leaked local variablesLuke Shumaker
2013-06-05lib/conf.sh: respect a customized HOME variableLuke Shumaker
2013-06-05Add tests for the libreblacklist help system, make them pass.Luke Shumaker
2013-06-05Phase out `load_conf_*` and `check_conf_*` functionsLuke Shumaker
Replace their usages with `load_files *` and `check_vars *`
2013-06-05conf.sh: fix potential bug with MAKEPKG_CONFLuke Shumaker