summaryrefslogtreecommitdiff
path: root/~lukeshu
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-12-26 17:57:29 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2011-12-26 17:57:29 +0100
commit025f5565da8ee014457f56851fca55c36619787c (patch)
tree1705231f784a4ec514287e99d3967b3495dacc23 /~lukeshu
parentd4891d626bd0699dafdcfa776ad0ee48df04f2d4 (diff)
parente39d5f838c08b5b57eae4c1aec4ae00acd18b239 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/percona-server/PKGBUILD community/libdnet/PKGBUILD extra/libxfce4ui/PKGBUILD extra/libxi/PKGBUILD extra/live-media/PKGBUILD extra/python-urwid/PKGBUILD extra/qtwebkit/PKGBUILD extra/rhythmbox/PKGBUILD extra/xfconf/PKGBUILD kde-unstable/kactivities/PKGBUILD kde-unstable/kdeaccessibility-jovie/PKGBUILD kde-unstable/kdeaccessibility-kaccessible/PKGBUILD kde-unstable/kdeaccessibility-kmag/PKGBUILD kde-unstable/kdeaccessibility-kmousetool/PKGBUILD kde-unstable/kdeaccessibility-kmouth/PKGBUILD kde-unstable/kdeadmin/PKGBUILD kde-unstable/kdeartwork/PKGBUILD kde-unstable/kdebase-konsole/PKGBUILD kde-unstable/kdebase-runtime/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD kde-unstable/kdebase/PKGBUILD kde-unstable/kdebindings-kimono/PKGBUILD kde-unstable/kdebindings-kross/PKGBUILD kde-unstable/kdebindings-perlkde/PKGBUILD kde-unstable/kdebindings-perlqt/PKGBUILD kde-unstable/kdebindings-python/PKGBUILD kde-unstable/kdebindings-qtruby/PKGBUILD kde-unstable/kdebindings-qyoto/PKGBUILD kde-unstable/kdebindings-smokegen/PKGBUILD kde-unstable/kdebindings-smokekde/PKGBUILD kde-unstable/kdebindings-smokeqt/PKGBUILD kde-unstable/kdeedu-analitza/PKGBUILD kde-unstable/kdeedu-blinken/PKGBUILD kde-unstable/kdeedu-cantor/PKGBUILD kde-unstable/kdeedu-kalgebra/PKGBUILD kde-unstable/kdeedu-kalzium/PKGBUILD kde-unstable/kdeedu-kanagram/PKGBUILD kde-unstable/kdeedu-kbruch/PKGBUILD kde-unstable/kdeedu-kgeography/PKGBUILD kde-unstable/kdeedu-khangman/PKGBUILD kde-unstable/kdeedu-kig/PKGBUILD kde-unstable/kdeedu-kiten/PKGBUILD kde-unstable/kdeedu-klettres/PKGBUILD kde-unstable/kdeedu-kmplot/PKGBUILD kde-unstable/kdeedu-kstars/PKGBUILD kde-unstable/kdeedu-ktouch/PKGBUILD kde-unstable/kdeedu-kturtle/PKGBUILD kde-unstable/kdeedu-kwordquiz/PKGBUILD kde-unstable/kdeedu-marble/PKGBUILD kde-unstable/kdeedu-parley/PKGBUILD kde-unstable/kdeedu-rocs/PKGBUILD kde-unstable/kdeedu-step/PKGBUILD kde-unstable/kdegames/PKGBUILD kde-unstable/kdegraphics-gwenview/PKGBUILD kde-unstable/kdegraphics-kamera/PKGBUILD kde-unstable/kdegraphics-kcolorchooser/PKGBUILD kde-unstable/kdegraphics-kgamma/PKGBUILD kde-unstable/kdegraphics-kolourpaint/PKGBUILD kde-unstable/kdegraphics-kruler/PKGBUILD kde-unstable/kdegraphics-ksaneplugin/PKGBUILD kde-unstable/kdegraphics-ksnapshot/PKGBUILD kde-unstable/kdegraphics-mobipocket/PKGBUILD kde-unstable/kdegraphics-okular/PKGBUILD kde-unstable/kdegraphics-strigi-analyzer/PKGBUILD kde-unstable/kdegraphics-svgpart/PKGBUILD kde-unstable/kdegraphics-thumbnailers/PKGBUILD kde-unstable/kdelibs/PKGBUILD kde-unstable/kdemultimedia/PKGBUILD kde-unstable/kdenetwork/PKGBUILD kde-unstable/kdepim-runtime/PKGBUILD kde-unstable/kdepim/PKGBUILD kde-unstable/kdepimlibs/PKGBUILD kde-unstable/kdeplasma-addons/PKGBUILD kde-unstable/kdesdk-kate/PKGBUILD kde-unstable/kdesdk-kate/kdesdk-kate.install kde-unstable/kdesdk/PKGBUILD kde-unstable/kdetoys/PKGBUILD kde-unstable/kdeutils-filelight/PKGBUILD kde-unstable/kdeutils-kcalc/PKGBUILD kde-unstable/kdeutils-kcharselect/PKGBUILD kde-unstable/kdeutils-kdf/PKGBUILD kde-unstable/kdeutils-kfloppy/PKGBUILD kde-unstable/kdeutils-kgpg/PKGBUILD kde-unstable/kdeutils-kremotecontrol/PKGBUILD kde-unstable/kdeutils-ktimer/PKGBUILD kde-unstable/kdeutils-kwallet/PKGBUILD kde-unstable/kdeutils-printer-applet/PKGBUILD kde-unstable/kdeutils-superkaramba/PKGBUILD kde-unstable/kdeutils-sweeper/PKGBUILD kde-unstable/kdewebdev/PKGBUILD kde-unstable/libkdcraw/PKGBUILD kde-unstable/libkdeedu/PKGBUILD kde-unstable/libkexiv2/PKGBUILD kde-unstable/libkipi/PKGBUILD kde-unstable/libksane/PKGBUILD multilib/lib32-attr/PKGBUILD multilib/lib32-libldap/PKGBUILD multilib/lib32-libxi/PKGBUILD ~lukeshu/android-udev/51-android.rules ~lukeshu/android-udev/PKGBUILD
Diffstat (limited to '~lukeshu')
-rw-r--r--~lukeshu/android-udev/51-android.rules6
-rw-r--r--~lukeshu/android-udev/PKGBUILD2
-rw-r--r--~lukeshu/git-svn-abandon-git/PKGBUILD51
-rw-r--r--~lukeshu/make-graph/PKGBUILD64
-rw-r--r--~lukeshu/make-graph/bug30612.patch66
-rw-r--r--~lukeshu/make-graph/bug30723.patch12
-rw-r--r--~lukeshu/make-graph/make-3.82-makeflags.patch36
-rw-r--r--~lukeshu/make-graph/make-3.82-sort-blank.patch17
-rw-r--r--~lukeshu/make-graph/make-graph.patch273
-rw-r--r--~lukeshu/make-graph/make.install20
-rw-r--r--~lukeshu/redo/PKGBUILD36
-rw-r--r--~lukeshu/stow/PKGBUILD24
-rw-r--r--~lukeshu/terminal-colors/PKGBUILD23
-rw-r--r--~lukeshu/thingutils-git/PKGBUILD55
-rw-r--r--~lukeshu/wdiff/PKGBUILD29
15 files changed, 708 insertions, 6 deletions
diff --git a/~lukeshu/android-udev/51-android.rules b/~lukeshu/android-udev/51-android.rules
index 37ea75649..51f80cf54 100644
--- a/~lukeshu/android-udev/51-android.rules
+++ b/~lukeshu/android-udev/51-android.rules
@@ -19,10 +19,6 @@ SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", ATTR{idProduct}=="1411", SYMLINK+="and
# Asus
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666", GROUP="adbusers"
-# Blade
-SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", ATTR{idProduct}=="1354", SYMLINK+="android_adb"
-SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", SYMLINK+="android_fastboot"
-
# Dell
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666", GROUP="adbusers"
@@ -233,4 +229,4 @@ SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", MODE="0666", GROUP="adbusers"
# Blade
SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", ATTR{idProduct}=="1353",
SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", ATTR{idProduct}=="1351", SYMLINK+="android_adb"
-SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", ATTR{idProduct}=="1354", SYMLINK+="android_fastboot"
+
diff --git a/~lukeshu/android-udev/PKGBUILD b/~lukeshu/android-udev/PKGBUILD
index f495690bb..6900b46da 100644
--- a/~lukeshu/android-udev/PKGBUILD
+++ b/~lukeshu/android-udev/PKGBUILD
@@ -10,7 +10,6 @@ arch=('any')
url="http://developer.android.com/guide/developing/device.html"
license=('unknown')
source=('51-android.rules')
-md5sums=('818395c180666e4e9a4a5f1d18434674')
depends=('udev' 'libmtp')
conflicts=('udev-android-rules')
install='android-udev.install'
@@ -20,3 +19,4 @@ package() {
install -m644 "$srcdir/51-android.rules" "$pkgdir/etc/udev/rules.d/51-android.rules"
}
+md5sums=('909eb7629683efae838c6e9d65966b3b')
diff --git a/~lukeshu/git-svn-abandon-git/PKGBUILD b/~lukeshu/git-svn-abandon-git/PKGBUILD
new file mode 100644
index 000000000..51cd83817
--- /dev/null
+++ b/~lukeshu/git-svn-abandon-git/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+_pkgname=git-svn-abandon
+pkgname=$_pkgname-git
+provides=($_pkgname)
+conflicts=($_pkgname)
+pkgver=20111224
+pkgrel=1
+pkgdesc=""
+arch=('any')
+url="http://blog.woobling.org/2009/06/git-svn-abandon.html"
+license=('MIT')
+depends=('git')
+makedepends=('git' 'python-markdown')
+
+_gitroot=https://github.com/nothingmuch/git-svn-abandon.git
+_gitname=$_pkgname
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [[ -d "$_gitname" ]]; then
+ cd "$_gitname" && git pull origin
+ msg "The local files are updated."
+ else
+ git clone "$_gitroot" "$_gitname"
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting build..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+
+ #
+ # BUILD HERE
+ #
+ markdown README.mkdn > README.html
+}
+
+package() {
+ cd "$srcdir/$_gitname-build"
+ install -d "$pkgdir/usr/lib/git-core"
+ install -m755 git-* "$pkgdir/usr/lib/git-core"
+
+ install -D -m644 README.mkdn "$pkgdir/usr/doc/git-svn-abandon/README.md"
+ install -D -m644 README.html "$pkgdir/usr/doc/git-svn-abandon/README.html"
+ install -D -m644 LICENSE "$pkgdir/usr/licenses/git-svn-abandon/LICENSE"
+}
diff --git a/~lukeshu/make-graph/PKGBUILD b/~lukeshu/make-graph/PKGBUILD
new file mode 100644
index 000000000..f7f7cd0b1
--- /dev/null
+++ b/~lukeshu/make-graph/PKGBUILD
@@ -0,0 +1,64 @@
+# $Id: PKGBUILD 138004 2011-09-14 05:05:12Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+
+_pkgname=make
+pkgname=$_pkgname-graph
+pkgver=3.82
+pkgrel=4.1
+provides=("$_pkgname=$pkgver")
+conflicts=("$_pkgname")
+pkgdesc="GNU make utility to maintain groups of programs, with patch to dump a Graphviz dependency graph."
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/make"
+license=('GPL3')
+groups=('base-devel')
+depends=('glibc' 'sh')
+install=$_pkgname.install
+source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2
+ bug30612.patch
+ bug30723.patch
+ make-3.82-sort-blank.patch
+ make-3.82-makeflags.patch)
+md5sums=('1a11100f3c63fcf5753818e59d63088f'
+ 'c8f496b22191f9fb9420ab14c1a19a47'
+ '662e6450e19a5acdaa5c9fcb8ad78dea'
+ '7d01a99f389d8f08dec93ed479071ee4'
+ 'bc12ad4d0c6e6c0e72d9fb61054f446b')
+
+source+=('make-graph.patch')
+md5sums+=('c1f1d652004a36c69b1f7f42a6849356')
+depends+=('graphviz')
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ # http://savannah.gnu.org/bugs/?30612
+ patch -Np1 -i $srcdir/bug30612.patch
+
+ # http://savannah.gnu.org/bugs/?30723
+ patch -Np1 -i $srcdir/bug30723.patch
+
+ # https://bugs.archlinux.org/task/22733 (fix from Fedora)
+ patch -Np1 -i $srcdir/make-3.82-sort-blank.patch
+
+ # https://savannah.gnu.org/support/index.php?107487
+ # https://savannah.gnu.org/bugs/?33873
+ patch -Np0 -i $srcdir/make-3.82-makeflags.patch
+
+ # https://savannah.gnu.org/patch/?7447
+ patch -Np1 -i $srcdir/make-graph.patch
+
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/~lukeshu/make-graph/bug30612.patch b/~lukeshu/make-graph/bug30612.patch
new file mode 100644
index 000000000..fb843bcd9
--- /dev/null
+++ b/~lukeshu/make-graph/bug30612.patch
@@ -0,0 +1,66 @@
+diff -Naur make-3.82-orig/main.c make-3.82-fix30612//main.c
+--- make-3.82-orig/main.c 2010-07-19 17:10:53.000000000 +1000
++++ make-3.82-fix30612//main.c 2010-09-23 23:33:37.908855839 +1000
+@@ -1,3 +1,4 @@
++
+ /* Argument parsing and main program of GNU Make.
+ Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
+ 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+@@ -1138,7 +1139,7 @@
+ a macro and some compilers (MSVC) don't like conditionals in macros. */
+ {
+ const char *features = "target-specific order-only second-expansion"
+- " else-if shortest-stem undefine"
++ " else-if shortest-stem undefine oneshell"
+ #ifndef NO_ARCHIVES
+ " archives"
+ #endif
+diff -Naur make-3.82-orig/read.c make-3.82-fix30612//read.c
+--- make-3.82-orig/read.c 2010-07-13 11:20:42.000000000 +1000
++++ make-3.82-fix30612//read.c 2010-09-23 23:30:58.018855839 +1000
+@@ -3028,7 +3028,7 @@
+ {
+ /* This looks like the first element in an open archive group.
+ A valid group MUST have ')' as the last character. */
+- const char *e = p + nlen;
++ const char *e = p;
+ do
+ {
+ e = next_token (e);
+@@ -3084,19 +3084,19 @@
+ Go to the next item in the string. */
+ if (flags & PARSEFS_NOGLOB)
+ {
+- NEWELT (concat (2, prefix, tp));
++ NEWELT (concat (2, prefix, tmpbuf));
+ continue;
+ }
+
+ /* If we get here we know we're doing glob expansion.
+ TP is a string in tmpbuf. NLEN is no longer used.
+ We may need to do more work: after this NAME will be set. */
+- name = tp;
++ name = tmpbuf;
+
+ /* Expand tilde if applicable. */
+- if (tp[0] == '~')
++ if (tmpbuf[0] == '~')
+ {
+- tildep = tilde_expand (tp);
++ tildep = tilde_expand (tmpbuf);
+ if (tildep != 0)
+ name = tildep;
+ }
+@@ -3152,7 +3152,11 @@
+ else
+ {
+ /* We got a chain of items. Attach them. */
+- (*newp)->next = found;
++ if (*newp)
++ (*newp)->next = found;
++ else
++ *newp = found;
++
+
+ /* Find and set the new end. Massage names if necessary. */
+ while (1)
diff --git a/~lukeshu/make-graph/bug30723.patch b/~lukeshu/make-graph/bug30723.patch
new file mode 100644
index 000000000..84e7ebe7a
--- /dev/null
+++ b/~lukeshu/make-graph/bug30723.patch
@@ -0,0 +1,12 @@
+diff -Naur make-3.82-orig/main.c make-3.82-fix30723//main.c
+--- make-3.82-orig/main.c 2010-07-19 17:10:53.000000000 +1000
++++ make-3.82-fix30723//main.c 2010-09-23 23:34:10.932188592 +1000
+@@ -2093,7 +2093,7 @@
+ const char *pv = define_makeflags (1, 1);
+ char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1);
+ sprintf (p, "MAKEFLAGS=%s", pv);
+- putenv (p);
++ putenv (allocated_variable_expand (p));
+ }
+
+ if (ISDB (DB_BASIC))
diff --git a/~lukeshu/make-graph/make-3.82-makeflags.patch b/~lukeshu/make-graph/make-3.82-makeflags.patch
new file mode 100644
index 000000000..3cba3c402
--- /dev/null
+++ b/~lukeshu/make-graph/make-3.82-makeflags.patch
@@ -0,0 +1,36 @@
+Index: main.c
+===================================================================
+RCS file: /sources/make/make/main.c,v
+retrieving revision 1.246
+diff -u -r1.246 main.c
+--- main.c 29 Aug 2010 23:05:27 -0000 1.246
++++ main.c 27 Jul 2011 22:03:12 -0000
+@@ -2091,10 +2095,16 @@
+
+ /* Reset makeflags in case they were changed. */
+ {
++ if (master_job_slots)
++ {
++ assert (job_slots == default_job_slots);
++ job_slots = master_job_slots;
++ }
+ const char *pv = define_makeflags (1, 1);
+ char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1);
+ sprintf (p, "MAKEFLAGS=%s", pv);
+ putenv (allocated_variable_expand (p));
++ job_slots = default_job_slots;
+ }
+
+ if (ISDB (DB_BASIC))
+@@ -2825,9 +2852,11 @@
+ && (*(unsigned int *) cs->value_ptr ==
+ *(unsigned int *) cs->noarg_value))
+ ADD_FLAG ("", 0); /* Optional value omitted; see below. */
++#if 0
+ else if (cs->c == 'j')
+ /* Special case for `-j'. */
+ ADD_FLAG ("1", 1);
++#endif
+ else
+ {
+ char *buf = alloca (30);
diff --git a/~lukeshu/make-graph/make-3.82-sort-blank.patch b/~lukeshu/make-graph/make-3.82-sort-blank.patch
new file mode 100644
index 000000000..2e73f5b7c
--- /dev/null
+++ b/~lukeshu/make-graph/make-3.82-sort-blank.patch
@@ -0,0 +1,17 @@
+diff -urp make-3.82/function.c make-3.82-pm/function.c
+--- make-3.82/function.c 2010-07-13 03:20:39.000000000 +0200
++++ make-3.82-pm/function.c 2010-10-27 01:43:27.000000000 +0200
+@@ -1138,12 +1138,12 @@ func_sort (char *o, char **argv, const c
+ {
+ char c = *(t++);
+
+- if (! isspace ((unsigned char)c))
++ if (! isblank ((unsigned char)c))
+ continue;
+
+ ++wordi;
+
+- while (isspace ((unsigned char)*t))
++ while (isblank ((unsigned char)*t))
+ ++t;
+ }
diff --git a/~lukeshu/make-graph/make-graph.patch b/~lukeshu/make-graph/make-graph.patch
new file mode 100644
index 000000000..083db55e4
--- /dev/null
+++ b/~lukeshu/make-graph/make-graph.patch
@@ -0,0 +1,273 @@
+diff -ur make-3.82/file.c make-wch/file.c
+--- make-3.82/file.c 2010-07-12 21:20:39.000000000 -0400
++++ make-wch/file.c 2010-08-19 23:28:20.162660391 -0400
+@@ -1021,6 +1021,129 @@
+ hash_print_stats (&files, stdout);
+ }
+
++/* Dump the dependency graph to a Graphviz file (on stdout) */
++
++void
++print_graph_prereqs (const char *filename, const struct dep *deps)
++{
++ const struct dep *ood = 0;
++
++ /* Print all normal dependencies; note any order-only deps. */
++ for (; deps != 0; deps = deps->next)
++ if (! deps->ignore_mtime)
++ printf (" \"%s\" -> \"%s\";\n", filename, dep_name (deps));
++
++ /* Print order-only deps, if we have any. */
++ if (ood)
++ {
++ for (ood = ood->next; ood != 0; ood = ood->next)
++ if (ood->ignore_mtime)
++ printf (" %s -> %s [style=dotted];\n", filename, dep_name (ood));
++ /* XXX: we need to distinguish these some how.
++ * Is dotting them the right way? */
++ }
++}
++
++static void
++print_graph_file (const void *item)
++{
++ const struct file *f = item;
++
++ int built_in_special_target=(
++ (0==strcmp(f->name,".PHONY"))
++ || (0==strcmp(f->name,".SUFFIXES"))
++ || (0==strcmp(f->name,".DEFAULT"))
++ || (0==strcmp(f->name,".PRECIOUS"))
++ || (0==strcmp(f->name,".INTERMEDIATE"))
++ || (0==strcmp(f->name,".SECONDARY"))
++ || (0==strcmp(f->name,".SECONDEXPANSION"))
++ || (0==strcmp(f->name,".DELETE_ON_ERROR"))
++ || (0==strcmp(f->name,".IGNORE"))
++ || (0==strcmp(f->name,".LOW_RESOLUTION_TIME"))
++ || (0==strcmp(f->name,".SILENT"))
++ || (0==strcmp(f->name,".EXPORT_ALL_VARIABLES"))
++ || (0==strcmp(f->name,".NOTPARALLEL"))
++ || (0==strcmp(f->name,".ONESHELL"))
++ || (0==strcmp(f->name,".POSIX"))
++ );
++ if ((f->is_target) && (!built_in_special_target))
++ {
++ printf (" \"%s\" [", f->name);
++ /* XXX some of these should be attached to the nodes in some way;
++ * though I'm not sure what style changes should be made for which ones.
++ * ~ LukeShu
++ if (f->double_colon) puts (_("// Double-colon rule."));
++ if (f->precious) puts (_("// Precious file (prerequisite of .PRECIOUS)."));
++ */if (f->phony) puts (_(" color=blue "));/*
++ if (f->cmd_target) puts (_("// Command line target."));
++ if (f->dontcare) puts (_("// A default, MAKEFILES, or -include/sinclude makefile."));
++ if (f->tried_implicit) puts (_("// Implicit rule search has been done."));
++ else puts (_("// Implicit rule search has not been done."));
++ if (f->stem != 0) printf (_("// Implicit/static pattern stem: `%s'\n"), f->stem);
++ if (f->intermediate) puts (_("// File is an intermediate prerequisite."));
++ if (f->also_make != 0)
++ {
++ const struct dep *d;
++ fputs (_("# Also makes:"), stdout);
++ for (d = f->also_make; d != 0; d = d->next)
++ printf (" %s\n", dep_name (d));
++ }
++ if (f->last_mtime == UNKNOWN_MTIME) puts (_("// Modification time never checked."));
++ else if (f->last_mtime == NONEXISTENT_MTIME) puts (_("// File does not exist."));
++ else if (f->last_mtime == OLD_MTIME) puts (_("// File is very old."));
++ else
++ {
++ char buf[FILE_TIMESTAMP_PRINT_LEN_BOUND + 1];
++ file_timestamp_sprintf (buf, f->last_mtime);
++ printf (_("// Last modified %s\n"), buf);
++ }
++ if (f->updated) puts (_("// File has been updated."));
++ else puts (_("// File has not been updated."));
++ switch (f->command_state)
++ {
++ case cs_running: puts (_("// Update: Running (THIS IS A BUG).")); break;
++ case cs_deps_running: puts (_("// Update: Dependencies running (THIS IS A BUG).")); break;
++ case cs_not_started:
++ case cs_finished:
++ switch (f->update_status)
++ {
++ case -1: break;
++ case 0: puts (_("// Update: Successfully")); break;
++ case 1: assert (question_flag);
++ puts (_("// Update: Needs to be (-q is set)")); break;
++ case 2: puts (_("// Update: Failed")); break;
++ default: puts (_("// Update: Invalid `update_status' value));
++ fflush (stdout);
++ fflush (stderr);
++ abort ();
++ }
++ break;
++ default: puts (_("// Update: Invalid `command_state' value"));
++ fflush (stdout);
++ fflush (stderr);
++ abort ();
++ }
++ if (f->variables != 0) print_file_variables (f);
++ if (f->cmds != 0) print_commands (f->cmds);
++ */
++ puts("];");
++ print_graph_prereqs (f->name, f->deps);
++ }
++
++ if (f->prev)
++ print_graph_file ((const void *) f->prev);
++}
++
++void
++print_graph (void)
++{
++ printf ("%sgraph make%i {\n",
++ (makelevel==0)?"di":"sub",
++ getpid());
++ hash_map (&files, print_graph_file);
++ puts ("}");
++}
++
+ /* Verify the integrity of the data base of files. */
+
+ #define VERIFY_CACHED(_p,_n) \
+diff -ur make-3.82/filedef.h make-wch/filedef.h
+--- make-3.82/filedef.h 2010-07-12 21:20:39.000000000 -0400
++++ make-wch/filedef.h 2010-08-19 21:09:34.314660209 -0400
+@@ -116,6 +116,7 @@
+ char *build_target_list (char *old_list);
+ void print_prereqs (const struct dep *deps);
+ void print_file_data_base (void);
++void print_graph (void);
+
+ #if FILE_TIMESTAMP_HI_RES
+ # define FILE_TIMESTAMP_STAT_MODTIME(fname, st) \
+diff -ur make-3.82/main.c make-wch/main.c
+--- make-3.82/main.c 2010-07-19 03:10:53.000000000 -0400
++++ make-wch/main.c 2010-08-21 22:32:56.818417305 -0400
+@@ -175,6 +175,11 @@
+
+ int print_data_base_flag = 0;
+
++/* Nonzero means don't remake anything, just print the dependency graph
++ that results from reading the makefile (-g). */
++
++int print_graph_flag = 0;
++
+ /* Nonzero means don't remake anything; just return a nonzero status
+ if the specified targets are not up to date (-q). */
+
+@@ -321,6 +326,9 @@
+ -f FILE, --file=FILE, --makefile=FILE\n\
+ Read FILE as a makefile.\n"),
+ N_("\
++ -g, --graph Print make's internal dependency graph\n\
++ in Graphviz format, without remaking makefiles.\n"),
++ N_("\
+ -h, --help Print this message and exit.\n"),
+ N_("\
+ -i, --ignore-errors Ignore errors from recipes.\n"),
+@@ -385,6 +393,7 @@
+ #endif
+ { 'e', flag, &env_overrides, 1, 1, 0, 0, 0, "environment-overrides", },
+ { 'f', filename, &makefiles, 0, 0, 0, 0, 0, "file" },
++ { 'g', flag, &print_graph_flag, 1, 1, 0, 0, 0, "graph" },
+ { 'h', flag, &print_usage_flag, 0, 0, 0, 0, 0, "help" },
+ { 'i', flag, &ignore_errors_flag, 1, 1, 0, 0, 0, "ignore-errors" },
+ { 'I', filename, &include_directories, 1, 1, 0, 0, 0,
+@@ -1946,7 +1955,10 @@
+ define_makeflags (1, 1);
+
+ rebuilding_makefiles = 1;
+- status = update_goal_chain (read_makefiles);
++ if (print_graph_flag)
++ status = -1;
++ else
++ status = update_goal_chain (read_makefiles);
+ rebuilding_makefiles = 0;
+
+ switch (status)
+@@ -2278,33 +2290,37 @@
+
+ {
+ int status;
++ if (print_graph_flag)
++ status=0;
++ else
++ {
++ switch (update_goal_chain (goals))
++ {
++ case -1:
++ /* Nothing happened. */
++ case 0:
++ /* Updated successfully. */
++ status = makefile_status;
++ break;
++ case 1:
++ /* We are under -q and would run some commands. */
++ status = MAKE_TROUBLE;
++ break;
++ case 2:
++ /* Updating failed. POSIX.2 specifies exit status >1 for this;
++ but in VMS, there is only success and failure. */
++ status = MAKE_FAILURE;
++ break;
++ default:
++ abort ();
++ }
+
+- switch (update_goal_chain (goals))
+- {
+- case -1:
+- /* Nothing happened. */
+- case 0:
+- /* Updated successfully. */
+- status = makefile_status;
+- break;
+- case 1:
+- /* We are under -q and would run some commands. */
+- status = MAKE_TROUBLE;
+- break;
+- case 2:
+- /* Updating failed. POSIX.2 specifies exit status >1 for this;
+- but in VMS, there is only success and failure. */
+- status = MAKE_FAILURE;
+- break;
+- default:
+- abort ();
+- }
+-
+- /* If we detected some clock skew, generate one last warning */
+- if (clock_skew_detected)
+- error (NILF,
+- _("warning: Clock skew detected. Your build may be incomplete."));
+-
++ /* If we detected some clock skew, generate one last warning */
++ if (clock_skew_detected)
++ error (NILF,
++ _("warning: Clock skew detected. Your build may be incomplete."));
++ }
++
+ /* Exit. */
+ die (status);
+ }
+@@ -3042,7 +3058,7 @@
+ {
+ static int printed_version = 0;
+
+- char *precede = print_data_base_flag ? "# " : "";
++ char *precede = (print_data_base_flag||print_graph_flag) ? "# " : "";
+
+ if (printed_version)
+ /* Do it only once. */
+@@ -3188,6 +3204,10 @@
+ if (print_data_base_flag)
+ print_data_base ();
+
++
++ if (print_graph_flag)
++ print_graph ();
++
+ verify_file_data_base ();
+
+ clean_jobserver (status);
diff --git a/~lukeshu/make-graph/make.install b/~lukeshu/make-graph/make.install
new file mode 100644
index 000000000..6cf8b0dc4
--- /dev/null
+++ b/~lukeshu/make-graph/make.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(make.info make.info-1 make.info-2)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
diff --git a/~lukeshu/redo/PKGBUILD b/~lukeshu/redo/PKGBUILD
new file mode 100644
index 000000000..95e75dd0e
--- /dev/null
+++ b/~lukeshu/redo/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=redo
+pkgver=0.06
+pkgrel=1
+pkgdesc="A competitor to make based on essays by DJB.")
+arch=('any')
+url="https://github.com/apenwarr/$pkgname"
+license=('GPL2')
+depends=('python2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/apenwarr/$pkgname/tarball/$pkgname-$pkgver")
+
+build() {
+ cd "$srcdir/apenwarr-$pkgname-"*
+
+ # Make everything use python2
+ sed -i 's@^#!/usr/bin/python$@#!/usr/bin/python2@' *.py
+ sed -i 's@/usr/bin/env python@/usr/bin/env python2@' Documentation/md2man.py
+ sed -i -e 's@^python @python2 @' \
+ -e 's@/usr/bin/python$@/usr/bin/python2@' \
+ install.do
+
+ make
+}
+
+check() {
+ cd "$srcdir/apenwarr-$pkgname-"*
+ make test
+}
+
+package() {
+ cd "$srcdir/apenwarr-$pkgname-"*
+ make install DESTDIR="$pkgdir"
+}
+
+md5sums=('0faa0e98f3d60fdcdea826dad59923c8')
diff --git a/~lukeshu/stow/PKGBUILD b/~lukeshu/stow/PKGBUILD
new file mode 100644
index 000000000..24a2dcb1c
--- /dev/null
+++ b/~lukeshu/stow/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=stow
+pkgver=2.1.2
+pkgrel=1
+pkgdesc="A program for managing the installation of software packages, keeping them separate while making them appear to be installed in the same place."
+arch=(any)
+url="https://www.gnu.org/software/$pkgname/"
+license=('GPL2')
+depends=('perl>=5.6.1')
+source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
+md5sums=('82857e43531cf6936aed99ef3b86b446')
diff --git a/~lukeshu/terminal-colors/PKGBUILD b/~lukeshu/terminal-colors/PKGBUILD
new file mode 100644
index 000000000..662e5b5ef
--- /dev/null
+++ b/~lukeshu/terminal-colors/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=terminal-colors
+pkgver=1.3
+pkgrel=1
+pkgdesc="Displays charts for 256/88/16 terminal color modes. Also supports converting between 256/88 color values."
+arch=('any')
+url="http://zhar.net/projects/shell/"
+license=('GPL3')
+depends=('python2')
+source=("terminal-colors.py::http://zhar.net/projects/shell/terminal-colors")
+
+build() {
+ cd "$srcdir"
+ sed 's@/usr/bin/env python$@/usr/bin/env python2@' < terminal-colors.py > terminal-colors
+}
+
+package() {
+ cd "$srcdir"
+ install -D -m755 terminal-colors "$pkgdir/usr/bin/terminal-colors"
+}
+
+md5sums=('30e3ab6cde416df110110244ce40eb94')
diff --git a/~lukeshu/thingutils-git/PKGBUILD b/~lukeshu/thingutils-git/PKGBUILD
new file mode 100644
index 000000000..5ef2c1c56
--- /dev/null
+++ b/~lukeshu/thingutils-git/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+_pkgname=thingutils
+pkgname=$_pkgname-git
+provides=($_pkgname)
+conflicts=($_pkgname)
+pkgver=20111224
+pkgrel=1
+pkgdesc=""
+arch=('any')
+url="https://gitorious.org/thingutils"
+license=('MIT')
+depends=(
+ 'php' # roll, urldecode
+ 'bash' # daemon, newegg, sysfiles
+ 'emacs' # emacsmail, emacsterm, e
+ 'wget' # whatismyip
+ 'findutils' # maildups, whatismyip
+ 'sysstat' # sysfiles
+ 'offlineimap' # offlineimap-runner
+ 'wdiff' # chardiff
+)
+makedepends=('git')
+
+_gitroot=https://git.gitorious.org/thingutils/thingutils.git
+_gitname=$_pkgname
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [[ -d "$_gitname" ]]; then
+ cd "$_gitname" && git pull origin
+ msg "The local files are updated."
+ else
+ git clone "$_gitroot" "$_gitname"
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting build..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+
+ #
+ # BUILD HERE
+ #
+ make prefix=/usr
+}
+
+package() {
+ cd "$srcdir/$_gitname-build"
+ make install prefix=/usr DESTDIR="$pkgdir"
+}
diff --git a/~lukeshu/wdiff/PKGBUILD b/~lukeshu/wdiff/PKGBUILD
new file mode 100644
index 000000000..6092b3d76
--- /dev/null
+++ b/~lukeshu/wdiff/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=wdiff
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="A front end to diff for comparing files on a word per word basis."
+arch=('i686' 'x86_64')
+url="https://www.gnu.org/software/$pkgname/"
+license=('GPL3')
+depends=('diffutils')
+source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
+md5sums=('aa4dd87a9140a96ee85d2502673d19f3')