From 19db09a7c48c4cade7698df3ab7e50f1de439f88 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 31 May 2016 21:24:03 -0400 Subject: Remove old things from ~lukeshu --- ~lukeshu/cntlm/PKGBUILD | 24 -- ~lukeshu/dasm/PKGBUILD | 31 --- ~lukeshu/dunst-lukeshu-git/PKGBUILD | 42 --- ~lukeshu/git-svn-abandon-git/PKGBUILD | 41 --- ~lukeshu/libfreenect-git/PKGBUILD | 86 ------ ~lukeshu/make-graph/PKGBUILD | 64 ----- ~lukeshu/make-graph/bug30612.patch | 66 ----- ~lukeshu/make-graph/bug30723.patch | 12 - ~lukeshu/make-graph/make-3.82-makeflags.patch | 36 --- ~lukeshu/make-graph/make-3.82-sort-blank.patch | 17 -- ~lukeshu/make-graph/make-graph.patch | 273 ------------------- ~lukeshu/make-graph/make.install | 20 -- ~lukeshu/openni-all/openni-git/PKGBUILD | 286 -------------------- ~lukeshu/openni-all/openni-git/openni.install | 11 - .../openni-module-primesensor-git/PKGBUILD | 65 ----- .../openni-module-sensorkinect-git/PKGBUILD | 77 ------ .../sensorkinect.install | 15 -- ~lukeshu/openni-all/openni-unstable-git/PKGBUILD | 286 -------------------- .../openni-all/openni-unstable-git/openni.install | 11 - ~lukeshu/openni-all/openni-unstable/PKGBUILD | 294 --------------------- .../openni-all/openni-unstable/openni-core.install | 11 - .../openni-all/openni-unstable/openni-mono.install | 7 - ~lukeshu/openni-all/openni/PKGBUILD | 288 -------------------- ~lukeshu/openni-all/openni/openni.install | 11 - ~lukeshu/svn-graph-branches/PKGBUILD | 30 --- ~lukeshu/terminal-colors/.gitignore | 1 - ~lukeshu/terminal-colors/PKGBUILD | 23 -- ~lukeshu/xcalib/PKGBUILD | 31 --- ~lukeshu/xcalib/makefile-ldflags.patch | 22 -- ~lukeshu/xml2rfc/PKGBUILD | 35 --- 30 files changed, 2216 deletions(-) delete mode 100644 ~lukeshu/cntlm/PKGBUILD delete mode 100644 ~lukeshu/dasm/PKGBUILD delete mode 100644 ~lukeshu/dunst-lukeshu-git/PKGBUILD delete mode 100644 ~lukeshu/git-svn-abandon-git/PKGBUILD delete mode 100644 ~lukeshu/libfreenect-git/PKGBUILD delete mode 100644 ~lukeshu/make-graph/PKGBUILD delete mode 100644 ~lukeshu/make-graph/bug30612.patch delete mode 100644 ~lukeshu/make-graph/bug30723.patch delete mode 100644 ~lukeshu/make-graph/make-3.82-makeflags.patch delete mode 100644 ~lukeshu/make-graph/make-3.82-sort-blank.patch delete mode 100644 ~lukeshu/make-graph/make-graph.patch delete mode 100644 ~lukeshu/make-graph/make.install delete mode 100644 ~lukeshu/openni-all/openni-git/PKGBUILD delete mode 100644 ~lukeshu/openni-all/openni-git/openni.install delete mode 100644 ~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD delete mode 100644 ~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD delete mode 100644 ~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install delete mode 100644 ~lukeshu/openni-all/openni-unstable-git/PKGBUILD delete mode 100644 ~lukeshu/openni-all/openni-unstable-git/openni.install delete mode 100644 ~lukeshu/openni-all/openni-unstable/PKGBUILD delete mode 100644 ~lukeshu/openni-all/openni-unstable/openni-core.install delete mode 100644 ~lukeshu/openni-all/openni-unstable/openni-mono.install delete mode 100644 ~lukeshu/openni-all/openni/PKGBUILD delete mode 100644 ~lukeshu/openni-all/openni/openni.install delete mode 100644 ~lukeshu/svn-graph-branches/PKGBUILD delete mode 100644 ~lukeshu/terminal-colors/.gitignore delete mode 100644 ~lukeshu/terminal-colors/PKGBUILD delete mode 100644 ~lukeshu/xcalib/PKGBUILD delete mode 100644 ~lukeshu/xcalib/makefile-ldflags.patch delete mode 100644 ~lukeshu/xml2rfc/PKGBUILD (limited to '~lukeshu') diff --git a/~lukeshu/cntlm/PKGBUILD b/~lukeshu/cntlm/PKGBUILD deleted file mode 100644 index 2381a924e..000000000 --- a/~lukeshu/cntlm/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Maintainer: Luke Shumaker - -pkgname=cntlm -pkgver=0.92.1 -pkgrel=1 -pkgdesc="An NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy intended to help you break free from the chains of Microsoft proprietary world." -arch=(i686 x86_64) -url="http://cntlm.sourceforge.net/" -license=('GPL2') -backup=('etc/cntlm.conf') -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2") - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install -} - -md5sums=('4ae420663bf67666777e17b6b32c4148') diff --git a/~lukeshu/dasm/PKGBUILD b/~lukeshu/dasm/PKGBUILD deleted file mode 100644 index 31ef87ad8..000000000 --- a/~lukeshu/dasm/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Maintainer (Arch): Max Pray a.k.a. Synthead - -pkgname=dasm -pkgver=2.20.11 -pkgrel=3 -pkgdesc="An assembler for the 6502, 68HC11, 68705, 6803, HD6303, F8 and 6507 microprocessors" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.atari2600.org/DASM" -license=('GPL') -source=("http://downloads.sourceforge.net/project/$pkgname-dillon/$pkgname-dillon/$pkgver/$pkgname-$pkgver.tar.gz") -md5sums=('3e67f7b8ac80419d53cc0aaa9a47ab37') - -build() { - cd "$srcdir/$pkgname-$pkgver" - make -} - -package() { - install -Dm 755 "$srcdir/$pkgname-$pkgver/bin/dasm" "$pkgdir/usr/bin/dasm" - install -Dm 755 "$srcdir/$pkgname-$pkgver/bin/ftohex" "$pkgdir/usr/bin/ftohex" - - for doc in AUTHORS ChangeLog COPYING CREDITS FUTURE NEWS README README.ANDREW "doc/dasm.txt" "doc/ftohex.txt"; do - install -Dm 644 "$srcdir/$pkgname-$pkgver/$doc" "$pkgdir/usr/share/doc/dasm/${doc/*\/}" - done - - mkdir -p "$pkgdir/usr/share/dasm" - cp -R "$srcdir/$pkgname-$pkgver"/{machines,test} "$pkgdir/usr/share/dasm" - - chmod 755 "$pkgdir/usr/share"/{dasm,dasm/machines,dasm/machines/atari2600,dasm/machines/channel-f,dasm/test} - chmod 644 "$pkgdir/usr/share/dasm"/{machines/atari2600,machines/channel-f,test}/* -} diff --git a/~lukeshu/dunst-lukeshu-git/PKGBUILD b/~lukeshu/dunst-lukeshu-git/PKGBUILD deleted file mode 100644 index 56c9a5e0c..000000000 --- a/~lukeshu/dunst-lukeshu-git/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Luke Shumaker - -# $Id: PKGBUILD 88586 2013-04-20 15:35:54Z dwallace $ -# Maintainer (Arch): Daniel Wallace -# Contributor (Arch): feuri - -_pkgname=dunst -_pkgver=1.0.0 -conflicts=("$_pkgname") - -pkgname=$_pkgname-lukeshu-git -pkgver=20130918 -_gitver='commit=67b259b98ac1895bf47c877f216307a174deeb3d' -pkgrel=1 -pkgdesc="A dmenu-ish notification system" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.knopwob.org/dunst/" -license=(BSD3) -depends=(libxinerama libxss libxdg-basedir pango) -optdepends=("libnotify: notify-send" - "dbus: start dunst on demand") -makedepends=(libnotify dbus perl) -provides=(notification-daemon "$_pkgname=$_pkgver") - -source=("https://repo.parabola.nu/other/~lukeshu/$pkgname/$pkgname-$pkgver.tar.gz") -mksource=("$pkgname-$pkgver::git://github.com/LukeShu/dunst.git#${_gitver}") -mkmd5sums=('SKIP') - -build() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="${pkgdir}" PREFIX=/usr install - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm755 dunstify "${pkgdir}/usr/bin/dunstify" - cp docs/* "${pkgdir}/usr/share/dunst/" -} - -md5sums=('720b643b2c7a710fabcc7dc1953318bf') diff --git a/~lukeshu/git-svn-abandon-git/PKGBUILD b/~lukeshu/git-svn-abandon-git/PKGBUILD deleted file mode 100644 index 8df4de38e..000000000 --- a/~lukeshu/git-svn-abandon-git/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: Luke Shumaker - -_pkgname=git-svn-abandon -pkgname=$_pkgname-git - -pkgver=20100319 -_gitver=42014bf555fdac67c8c82ed69c4733ab9dba0c8a - -provides=($_pkgname) -conflicts=($_pkgname) - -epoch=1 -pkgrel=1 - -pkgdesc="History preserving svn to git migration using git-svn." -arch=('any') -url="http://blog.woobling.org/2009/06/git-svn-abandon.html" -license=('MIT') -depends=('git') -makedepends=('git' 'python-markdown') - -source=("libre://git-svn-abandon-$_gitver.tar.gz") -mksource=("git+https://github.com/nothingmuch/git-svn-abandon.git#commit=$_gitver") - -build() { - cd "$srcdir/$_pkgname" - markdown README.mkdn > README.html -} - -package() { - cd "$srcdir/$_pkgname" - install -d "$pkgdir/usr/lib/git-core" - install -m755 git-* "$pkgdir/usr/lib/git-core" - - install -D -m644 README.mkdn "$pkgdir/usr/doc/$_pkgname/README.md" - install -D -m644 README.html "$pkgdir/usr/doc/$_pkgname/README.html" - install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" -} - -mkmd5sums=('SKIP') -md5sums=('c5dfb150c2613d963b17c1e0d80eb115') diff --git a/~lukeshu/libfreenect-git/PKGBUILD b/~lukeshu/libfreenect-git/PKGBUILD deleted file mode 100644 index abd8cf8a9..000000000 --- a/~lukeshu/libfreenect-git/PKGBUILD +++ /dev/null @@ -1,86 +0,0 @@ -# Maintainer: Luke Shumaker -# Contributor (Arch): Sven Schneider - -# I am not giving libfreenect nearly the attention it deserves. -# There are a lot of options for it that I'm ignoring. -# Right now I'm focussing more on sensorkinect. -# Patches welcome! - -pkgname=("libfreenect-git" 'kinect-udev-git') -pkgver=20111211 -pkgrel=1 -pkgdesc="OpenKinect drivers and libraries for the Xbox Kinect device" -arch=('i686' 'x86_64' 'mips64el') -url="http://openkinect.org" -license=('GPL') -makedepends=('cmake' 'git' 'python2') -source=() -md5sums=() - -_gitroot="git://github.com/OpenKinect/libfreenect.git" -_gitname=libfreenect - -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 - # - - # Install "libfreenect.hpp" to "/usr/include/libfreenect" - sed 's/DESTINATION include/DESTINATION include\/${projectNameLower}/g' -i "wrappers/cpp/CMakeLists.txt" - - export DYLD_FRAMEWORK_PATH=/usr/lib/python2.7/site-packages - - mkdir build - cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_REDIST_PACKAGE=ON \ - -DLIB_SUFFIX="" \ - -DBUILD_AUDIO=OFF \ - -DBUILD_PYTHON=OFF \ - -DPYTHON_EXECUTABLE="`which python2`" \ - .. - make -} - -package_libfreenect-git() { - depends=('libusb' 'freeglut' 'libxmu' 'kinect-udev') - provides=(libfreenect) - conflicts=(libfreenect) - - # Make install - cd "${srcdir}/${_gitname}-build/build" - make DESTDIR="${pkgdir}" install - - # Patch include files - sed 's///g' -i "${pkgdir}/usr/include/libfreenect/libfreenect.hpp" -} - -package_kinect-udev-git() { - pkgdesc="Udev rules for the Xbox Kinect device" - depends=('udev') - provides=(kinect-udev) - conflicts=(kinect-udev) - - # Install udev rules - cd "${srcdir}/${_gitname}-build/" - install -d "${pkgdir}/etc/udev/rules.d" - install -m644 platform/linux/udev/51-kinect.rules "${pkgdir}/etc/udev/rules.d" -} \ No newline at end of file diff --git a/~lukeshu/make-graph/PKGBUILD b/~lukeshu/make-graph/PKGBUILD deleted file mode 100644 index 2024ff216..000000000 --- a/~lukeshu/make-graph/PKGBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Maintainer: Luke Shumaker -# Maintainer (Arch): Allan McRae -# Contributor (Arch): judd - -_pkgname=make -pkgname=$_pkgname-graph -pkgver=3.82 -pkgrel=4.2 -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' 'mips64el') -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 deleted file mode 100644 index fb843bcd9..000000000 --- a/~lukeshu/make-graph/bug30612.patch +++ /dev/null @@ -1,66 +0,0 @@ -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 deleted file mode 100644 index 84e7ebe7a..000000000 --- a/~lukeshu/make-graph/bug30723.patch +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index 3cba3c402..000000000 --- a/~lukeshu/make-graph/make-3.82-makeflags.patch +++ /dev/null @@ -1,36 +0,0 @@ -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 deleted file mode 100644 index 2e73f5b7c..000000000 --- a/~lukeshu/make-graph/make-3.82-sort-blank.patch +++ /dev/null @@ -1,17 +0,0 @@ -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 deleted file mode 100644 index 083db55e4..000000000 --- a/~lukeshu/make-graph/make-graph.patch +++ /dev/null @@ -1,273 +0,0 @@ -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 deleted file mode 100644 index 6cf8b0dc4..000000000 --- a/~lukeshu/make-graph/make.install +++ /dev/null @@ -1,20 +0,0 @@ -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/openni-all/openni-git/PKGBUILD b/~lukeshu/openni-all/openni-git/PKGBUILD deleted file mode 100644 index 6e32c4899..000000000 --- a/~lukeshu/openni-all/openni-git/PKGBUILD +++ /dev/null @@ -1,286 +0,0 @@ -# Maintainer: Luke Shumaker -# Contributor (Arch): Sven Schneider -# Contributor (Arch): bugix -# Contributor (Arch): Lubosz Sarnecki - -# unfortunately we can't use $_suf in function names, but sed makes it ok -_suf='-git' -pkgname=( - openni$_suf - openni$_suf-docs - - openni$_suf-core - openni$_suf-core-samples - openni$_suf-core-samples-source - - openni$_suf-mono - openni$_suf-mono-samples - openni$_suf-mono-samples-source - - openni$_suf-java - openni$_suf-java-samples - openni$_suf-java-samples-source - ) -pkgver=20111121 -pkgrel=4 -arch=('i686' 'x86_64' 'mips64el') -url="http://www.openni.org/" -license=('GPL') -makedepends=('git' 'doxygen' 'graphviz') -source=() -md5sums=() - -_gitroot="git://github.com/OpenNI/OpenNI.git" -_gitname="openni" -#_gitbranch="unstable" -_gitbranch="master" - -_os='Linux' -case "${CARCH}" in -'x86_64') _arch=x86;; -'i686') _arch=x86;; -'arm') _arch=Arm;; # untested -*) _arch=UNSUPPORTED_ARCH;; -esac -_platform="${_os}-${_arch}" - -export MAKEFLAGS+=' -j1 ' - -build() { - cd "${srcdir}" - msg "Connecting to GIT server...." - - if [ -d ${_gitname} ] ; then - cd ${_gitname} - git checkout master - git pull origin - msg "The local files are updated." - else - git clone ${_gitroot} ${_gitname} - cd ${_gitname} - fi - git checkout ${_gitbranch} - cd .. - - msg "GIT checkout done or server timeout" - msg "Starting make..." - - rm -rf "${srcdir}/${_gitname}-build" - git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" - cd "${srcdir}/${_gitname}-build" - - # PATCH - sed -i 's/python /python2 /' "Platform/${_platform}/CreateRedist/RedistMaker" - echo ' -abs_core: $(ALL_MODULES) $(ALL_UTILS) -abs_core_samples: $(CORE_SAMPLES) -abs_java: $(ALL_JAVA_PROJS) -abs_java_samples: $(JAVA_SAMPLES) -abs_mono: $(ALL_MONO_PROJS) -abs_mono_samples: $(MONO_SAMPLES) $(MONO_FORMS_SAMPLES) -' >> "Platform/${_platform}/Build/Makefile" - - - # BUILD - cd "Platform/${_platform}/Build" - make -j1 \ - abs_core abs_core_samples \ - abs_java abs_java_samples \ - abs_mono abs_mono_samples || return 1 - - cd '../../../Source/DoxyGen' - mkdir html - doxygen Doxyfile - rm -rf html/*.map html*.md5 html/*.hhc html/*.hhp -} - -package_openni-git() { - pkgdesc="Open Natural Interface framework" - depends=("openni$_suf-core") - optdepends=("openni$_suf-docs: programmer documentation") - provides=('openni') - conflicts=('openni') -} - -package_openni-git-docs() { - pkgdesc="OpenNI programmer documentation" - arch=('any') - provides=('openni-docs') - conflicts=('openni-docs') - - cd "${srcdir}/${_gitname}-build/Source/DoxyGen/" - install -d "${pkgdir}/usr/share/openni" - cp -r html "${pkgdir}/usr/share/openni" -} - -package_openni-git-core() { - pkgdesc="OpenNI core libraries" - depends=('libusb' 'freeglut') - install="openni.install" - provides=('openni-core') - conflicts=('openni-core') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - - LIB_FILES=' - libnimCodecs.so - libnimMockNodes.so - libnimRecorder.so - libOpenNI.so - ' - install -d "${pkgdir}/usr/lib" - install -m755 $LIB_FILES "${pkgdir}/usr/lib" - - BIN_FILES='niReg niLicense' - install -d "${pkgdir}/usr/bin" - install -m755 $BIN_FILES "${pkgdir}/usr/bin" - - cd "${srcdir}/${_gitname}-build/Include" - install -d "${pkgdir}/usr/include/ni" - install -m644 *.h "${pkgdir}/usr/include/ni" - cp -r "${_platform}" "${pkgdir}/usr/include/ni" - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Build" - install -d "${pkgdir}/usr/share" - cp -r Common "${pkgdir}/usr/share/common" -} - -package_openni-git-java() { - pkgdesc="OpenNI java wrapper" - depends=("openni$_suf" 'java-environment') - provides=('openni-java') - conflicts=('openni-java') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - - install -d "${pkgdir}/usr/lib" - install -m755 libOpenNI.jni.so "${pkgdir}/usr/lib" - - install -d "${pkgdir}/usr/share/openni/java" - install -m755 org.OpenNI.jar "${pkgdir}/usr/share/openni/java" -} - -package_openni-git-mono() { - pkgdesc="OpenNI mono wrapper" - depends=("openni$_suf" 'mono') - provides=('openni-mono') - conflicts=('openni-mono') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - - install -d "${pkgdir}/usr/share/openni/mono" - install -m755 OpenNI.net.dll "${pkgdir}/usr/share/openni/mono" -} - -# SAMPLES - -_install_sample_source() { - sample=$1 - makefile="Platform/${_platform}/Build/Samples/$sample/Makefile" - install -d "${pkgdir}/usr/share/openni/samples" - cp -r "Samples/$sample" "${pkgdir}/usr/share/openni/samples/$sample" - install -m644 "$makefile" "${pkgdir}/usr/share/openni/samples/$sample" -} - -# Leave out NiViewer, it's set up wrong -CORE_SAMPLES=' - AudioSample - BackRecorder - CRead - ConvertXToONI - RecordSynthetic - SimpleCreate - SimpleRead SimpleViewer UserTracker' -MONO_SAMPLES='SimpleRead SimpleViewer UserTracker' -JAVA_SAMPLES='SimpleRead SimpleViewer UserTracker' - -package_openni-git-core-samples() { - pkgdesc="OpenNI sample programs" - depends=("openni$_suf-core") - optdepends=('openni-core-samples-source: source code for the samples') - provides=('openni-core-samples') - conflicts=('openni-core-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - install -d "${pkgdir}/usr/bin" - install -m755 NiViewer "${pkgdir}/usr/bin/niSample-Viewer" - for sample in $CORE_SAMPLES; do - install -m766 Sample-Ni$sample "${pkgdir}/usr/bin/niSample-$sample" - done -} -package_openni-git-core-samples-source() { - pkgdesc="OpenNI sample programs source code" - depends=("openni$_suf-core") - provides=('openni-core-samples-source') - conflicts=('openni-core-samples-source') - options+=('!strip') - - cd "${srcdir}/${_gitname}-build" - for sample in Viewer $CORE_SAMPLES; do - _install_sample_source Ni$sample - done -} - -package_openni-git-java-samples() { - pkgdesc="OpenNI java wrapper sample programs" - depends=("openni$_suf-java") - optdepends=("openni$_suf-java-samples-source: source code for the samples") - arch=('any') - provides=('openni-java-samples') - conflicts=('openni-java-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - install -d "${pkgdir}/usr/bin" - install -d "${pkgdir}/usr/share/openni/java" - for sample in $JAVA_SAMPLES; do - install -m644 org.OpenNI.Samples.$sample.jar "${pkgdir}/usr/share/openni/java" - echo "#/bin/sh -java -jar /usr/share/openni/java/org.OpenNI.Samples.$sample.jar $@ -" > "${pkgdir}/usr/bin/niSample-$sample.jar" - chmod 755 "${pkgdir}/usr/bin/niSample-$sample.jar" - done -} -package_openni-git-java-samples-source() { - pkgdesc="OpenNI java wrapper sample programs source code" - depends=("openni$_suf-java") - provides=('openni-java-samples-source') - conflicts=('openni-java-samples-source') - options+=('!strip') - - cd "${srcdir}/${_gitname}-build" - for sample in $JAVA_SAMPLES; do - _install_sample_source $sample.java - done -} - -package_openni-git-mono-samples() { - pkgdesc="OpenNI java wrapper sample programs" - depends=("openni$_suf-mono") - optdepends=("openni$_suf-mono-samples-source: source code for the samples") - provides=('openni-mono-samples') - conflicts=('openni-mono-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - install -d "${pkgdir}/usr/bin" - install -d "${pkgdir}/usr/share/openni/mono" - for sample in $MONO_SAMPLES; do - install -m755 $sample.net.exe "${pkgdir}/usr/share/openni/mono" - echo "#/bin/sh -cd /usr/share/openni/mono -mono $sample.net.exe $@ -" > "${pkgdir}/usr/bin/niSample-$sample.net" - chmod 755 "${pkgdir}/usr/bin/niSample-$sample.net" - done -} -package_openni-git-mono-samples-source() { - pkgdesc="OpenNI mono wrapper sample programs source code" - depends=("openni$_suf-mono") - provides=('openni-mono-samples-source') - conflicts=('openni-mono-samples-source') - options+=('!strip') - - cd "${srcdir}/${_gitname}-build" - for sample in $MONO_SAMPLES; do - _install_sample_source $sample.net - done -} diff --git a/~lukeshu/openni-all/openni-git/openni.install b/~lukeshu/openni-all/openni-git/openni.install deleted file mode 100644 index 8470f4512..000000000 --- a/~lukeshu/openni-all/openni-git/openni.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - MODULES="libnimMockNodes.so libnimCodecs.so libnimRecorder.so" - for module in $MODULES - do - /usr/bin/niReg /usr/lib/$module - done -} - -pre_remove() { - rm /var/lib/ni/modules.xml -} diff --git a/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD b/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD deleted file mode 100644 index 59db51458..000000000 --- a/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Maintainer: Luke Shumaker -# Contributor (Arch): pallegro from the AUR - -_pkgname=openni-module-primesensor -pkgname=${_pkgname}-git -pkgver=20111115 -pkgrel=1 -pkgdesc="OpenNI PrimeSensor harware modules for the PrimeSense sensor device" -arch=('i686') -url="http://www.primesense.com/" -license=('GPL') -depends=('openni') -makedepends=('git') -provides=($_pkgname) -conflicts=($_pkgname) -install="sensorkinect.install" -source=() -md5sums=() - -_gitroot="https://github.com/PrimeSense/Sensor.git" -_gitname="primesensor" -_gitbranch="unstable" -#_gitbranch="master" - -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 -b $_gitbranch $_gitroot $_gitname - fi - - msg "GIT checkout done or server timeout" - msg "Starting make..." - - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd $srcdir/$_gitname-build - - # BUILD - cd Platform/Linux-x86/Build - make NI_CONF_DIR=/etc || return 1 -} - -package() { - install -d -m755 ${pkgdir}/usr/{lib,bin} - - cd $srcdir/$_gitname-build/Platform/Linux-x86/Bin/Release - install XnSensorServer ${pkgdir}/usr/bin - install libXnCore.so libXnDDK.so libXnDeviceFile.so libXnDeviceSensorV2KM.so libXnFormats.so ${pkgdir}/usr/lib - chmod +s ${pkgdir}/usr/bin/XnSensorServer - - cd $srcdir/$_gitname-build/Platform/Linux-x86/Install - install -d -m755 ${pkgdir}/etc/udev/rules.d - install 55-primesense-usb.rules ${pkgdir}/etc/udev/rules.d - - cd $srcdir/$_gitname-build/Data - install -d -m755 ${pkgdir}/etc/primesense - install GlobalDefaultsKinect.ini ${pkgdir}/etc/primesense - - install -d -m777 ${pkgdir}/var/log/primesense/XnSensorServer -} diff --git a/~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD b/~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD deleted file mode 100644 index d5d2685cf..000000000 --- a/~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD +++ /dev/null @@ -1,77 +0,0 @@ -# Maintainer: Luke Shumaker -# Contributor (Arch): pallegro from the AUR - -pkgname=openni-module-sensorkinect-git -pkgver=20111211 -pkgrel=2 -pkgdesc="OpenNI SensorKinect harware modules for the Xbox Kinect device" -arch=('i686' 'x86_64' 'mips64el') -url="https://github.com/avin2/SensorKinect" -license=('GPL') -depends=('openni-unstable' 'kinect-udev') -makedepends=('git') -provides=('openni-module-sensorkinect') -conflicts=('openni-module-sensorkinect' 'openni-module-primesensor') -install="sensorkinect.install" -source=() -md5sums=() - -_gitroot="https://github.com/avin2/SensorKinect.git" -_gitname="sensorkinect" -_gitbranch="master" - -_os='Linux' -case "${CARCH}" in -'x86_64') _arch=x86;; -'i686') _arch=x86;; -'arm') _arch=Arm;; # untested -*) _arch=UNSUPPORTED_ARCH;; -esac -_platform="${_os}-${_arch}" - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [ -d ${_gitname} ] ; then - cd ${_gitname} - git checkout master - git pull origin - msg "The local files are updated." - else - git clone ${_gitroot} ${_gitname} - cd ${_gitname} - fi - git checkout ${_gitbranch} - cd .. - - 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 - cd Platform/${_platform}/Build - make - make redist -} - -package() { - cd $srcdir/$_gitname-build - cd Platform/${_platform}/Redist - - # This is all cloned from ./install.sh, which can't be used for a number - # of reasons. - install -d $pkgdir/usr/{lib,bin} - install -m755 Lib/* $pkgdir/usr/lib - install -m755 Bin/* $pkgdir/usr/bin - - install -d $pkgdir/etc/primesense - install -m644 Config/GlobalDefaultsKinect.ini $pkgdir/etc/primesense - - chmod +s $pkgdir/usr/bin/XnSensorServer - - install -m777 -d $pkgdir/var/log/primesense/XnSensorServer -} diff --git a/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install b/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install deleted file mode 100644 index d62d263d1..000000000 --- a/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -export MODULES="libXnDeviceSensorV2KM.so libXnDeviceFile.so" - -post_install() { - for module in $MODULES; do - /usr/bin/niReg -r /usr/lib/$module /etc/primesense - done -} - -pre_remove() { - for module in $MODULES; do - /usr/bin/niReg -u /usr/lib/$module - done -} diff --git a/~lukeshu/openni-all/openni-unstable-git/PKGBUILD b/~lukeshu/openni-all/openni-unstable-git/PKGBUILD deleted file mode 100644 index 3bdaa3cdb..000000000 --- a/~lukeshu/openni-all/openni-unstable-git/PKGBUILD +++ /dev/null @@ -1,286 +0,0 @@ -# Maintainer: Luke Shumaker -# Contributor (Arch): Sven Schneider -# Contributor (Arch): bugix -# Contributor (Arch): Lubosz Sarnecki - -# unfortunately we can't use $_suf in function names, but sed makes it ok -_suf='-unstable-git' -pkgname=( - openni$_suf - openni$_suf-docs - - openni$_suf-core - openni$_suf-core-samples - openni$_suf-core-samples-source - - openni$_suf-mono - openni$_suf-mono-samples - openni$_suf-mono-samples-source - - openni$_suf-java - openni$_suf-java-samples - openni$_suf-java-samples-source - ) -pkgver=20111121 -pkgrel=4 -arch=('i686' 'x86_64' 'mips64el') -url="http://www.openni.org/" -license=('GPL') -makedepends=('git' 'doxygen' 'graphviz') -source=() -md5sums=() - -_gitroot="git://github.com/OpenNI/OpenNI.git" -_gitname="openni" -_gitbranch="unstable" -#_gitbranch="master" - -_os='Linux' -case "${CARCH}" in -'x86_64') _arch=x86;; -'i686') _arch=x86;; -'arm') _arch=Arm;; # untested -*) _arch=UNSUPPORTED_ARCH;; -esac -_platform="${_os}-${_arch}" - -export MAKEFLAGS+=' -j1 ' - -build() { - cd "${srcdir}" - msg "Connecting to GIT server...." - - if [ -d ${_gitname} ] ; then - cd ${_gitname} - git checkout master - git pull origin - msg "The local files are updated." - else - git clone ${_gitroot} ${_gitname} - cd ${_gitname} - fi - git checkout ${_gitbranch} - cd .. - - msg "GIT checkout done or server timeout" - msg "Starting make..." - - rm -rf "${srcdir}/${_gitname}-build" - git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" - cd "${srcdir}/${_gitname}-build" - - # PATCH - sed -i 's/python /python2 /' "Platform/${_os}/CreateRedist/RedistMaker" - echo ' -abs_core: $(ALL_MODULES) $(ALL_UTILS) -abs_core_samples: $(CORE_SAMPLES) -abs_java: $(ALL_JAVA_PROJS) -abs_java_samples: $(JAVA_SAMPLES) -abs_mono: $(ALL_MONO_PROJS) -abs_mono_samples: $(MONO_SAMPLES) $(MONO_FORMS_SAMPLES) -' >> "Platform/${_os}/Build/Makefile" - - - # BUILD - cd "Platform/${_os}/Build" - make -j1 \ - abs_core abs_core_samples \ - abs_java abs_java_samples \ - abs_mono abs_mono_samples || return 1 - - cd '../../../Source/DoxyGen' - mkdir html - doxygen Doxyfile - rm -rf html/*.map html*.md5 html/*.hhc html/*.hhp -} - -package_openni-unstable-git() { - pkgdesc="Open Natural Interface framework" - depends=("openni$_suf-core") - optdepends=("openni$_suf-docs: programmer documentation") - provides=('openni' 'openni-unstable') - conflicts=('openni' 'openni-unstable') -} - -package_openni-unstable-git-docs() { - pkgdesc="OpenNI programmer documentation" - arch=('any') - provides=('openni-docs' 'openni-unstable-docs') - conflicts=('openni-docs' 'openni-unstable-docs') - - cd "${srcdir}/${_gitname}-build/Source/DoxyGen/" - install -d "${pkgdir}/usr/share/openni" - cp -r html "${pkgdir}/usr/share/openni" -} - -package_openni-unstable-git-core() { - pkgdesc="OpenNI core libraries" - depends=('libusb' 'freeglut') - install="openni.install" - provides=('openni-core' 'openni-unstable-core') - conflicts=('openni-core' 'openni-unstable-core') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - - LIB_FILES=' - libnimCodecs.so - libnimMockNodes.so - libnimRecorder.so - libOpenNI.so - ' - install -d "${pkgdir}/usr/lib" - install -m755 $LIB_FILES "${pkgdir}/usr/lib" - - BIN_FILES='niReg niLicense' - install -d "${pkgdir}/usr/bin" - install -m755 $BIN_FILES "${pkgdir}/usr/bin" - - cd "${srcdir}/${_gitname}-build/Include" - install -d "${pkgdir}/usr/include/ni" - install -m644 *.h "${pkgdir}/usr/include/ni" - cp -r "${_platform}" "${pkgdir}/usr/include/ni" - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Build" - install -d "${pkgdir}/usr/share" - cp -r Common "${pkgdir}/usr/share/common" -} - -package_openni-unstable-git-java() { - pkgdesc="OpenNI java wrapper" - depends=("openni$_suf" 'java-environment') - provides=('openni-java' 'openni-unstable-java') - conflicts=('openni-java' 'openni-unstable-java') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - - install -d "${pkgdir}/usr/lib" - install -m755 libOpenNI.jni.so "${pkgdir}/usr/lib" - - install -d "${pkgdir}/usr/share/openni/java" - install -m755 org.OpenNI.jar "${pkgdir}/usr/share/openni/java" -} - -package_openni-unstable-git-mono() { - pkgdesc="OpenNI mono wrapper" - depends=("openni$_suf" 'mono') - provides=('openni-mono' 'openni-unstable-mono') - conflicts=('openni-mono' 'openni-unstable-mono') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - - install -d "${pkgdir}/usr/share/openni/mono" - install -m755 OpenNI.net.dll "${pkgdir}/usr/share/openni/mono" -} - -# SAMPLES - -_install_sample_source() { - sample=$1 - makefile="Platform/${_os}/Build/Samples/$sample/Makefile" - install -d "${pkgdir}/usr/share/openni/samples" - cp -r "Samples/$sample" "${pkgdir}/usr/share/openni/samples/$sample" - install -m644 "$makefile" "${pkgdir}/usr/share/openni/samples/$sample" -} - -# Leave out NiViewer, it's set up wrong -CORE_SAMPLES=' - AudioSample - BackRecorder - CRead - ConvertXToONI - RecordSynthetic - SimpleCreate - SimpleRead SimpleViewer UserTracker' -MONO_SAMPLES='SimpleRead SimpleViewer UserTracker' -JAVA_SAMPLES='SimpleRead SimpleViewer UserTracker' - -package_openni-unstable-git-core-samples() { - pkgdesc="OpenNI sample programs" - depends=("openni$_suf-core") - optdepends=('openni-core-samples-source: source code for the samples') - provides=('openni-core-samples' 'openni-unstable-core-samples') - conflicts=('openni-core-samples' 'openni-unstable-core-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - install -d "${pkgdir}/usr/bin" - install -m755 NiViewer "${pkgdir}/usr/bin/niSample-Viewer" - for sample in $CORE_SAMPLES; do - install -m766 Sample-Ni$sample "${pkgdir}/usr/bin/niSample-$sample" - done -} -package_openni-unstable-git-core-samples-source() { - pkgdesc="OpenNI sample programs source code" - depends=("openni$_suf-core") - provides=('openni-core-samples-source' 'openni-unstable-core-samples-source') - conflicts=('openni-core-samples-source' 'openni-unstable-core-samples-source') - options+=('!strip') - - cd "${srcdir}/${_gitname}-build" - for sample in Viewer $CORE_SAMPLES; do - _install_sample_source Ni$sample - done -} - -package_openni-unstable-git-java-samples() { - pkgdesc="OpenNI java wrapper sample programs" - depends=("openni$_suf-java") - optdepends=("openni$_suf-java-samples-source: source code for the samples") - arch=('any') - provides=('openni-java-samples' 'openni-unstable-java-samples') - conflicts=('openni-java-samples' 'openni-unstable-java-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - install -d "${pkgdir}/usr/bin" - install -d "${pkgdir}/usr/share/openni/java" - for sample in $JAVA_SAMPLES; do - install -m644 org.OpenNI.Samples.$sample.jar "${pkgdir}/usr/share/openni/java" - echo "#/bin/sh -java -jar /usr/share/openni/java/org.OpenNI.Samples.$sample.jar $@ -" > "${pkgdir}/usr/bin/niSample-$sample.jar" - chmod 755 "${pkgdir}/usr/bin/niSample-$sample.jar" - done -} -package_openni-unstable-git-java-samples-source() { - pkgdesc="OpenNI java wrapper sample programs source code" - depends=("openni$_suf-java") - provides=('openni-java-samples-source' 'openni-unstable-java-samples-source') - conflicts=('openni-java-samples-source' 'openni-unstable-java-samples-source') - options+=('!strip') - - cd "${srcdir}/${_gitname}-build" - for sample in $JAVA_SAMPLES; do - _install_sample_source $sample.java - done -} - -package_openni-unstable-git-mono-samples() { - pkgdesc="OpenNI java wrapper sample programs" - depends=("openni$_suf-mono") - optdepends=("openni$_suf-mono-samples-source: source code for the samples") - provides=('openni-mono-samples' 'openni-unstable-mono-samples') - conflicts=('openni-mono-samples' 'openni-unstable-mono-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - install -d "${pkgdir}/usr/bin" - install -d "${pkgdir}/usr/share/openni/mono" - for sample in $MONO_SAMPLES; do - install -m755 $sample.net.exe "${pkgdir}/usr/share/openni/mono" - echo "#/bin/sh -cd /usr/share/openni/mono -mono $sample.net.exe $@ -" > "${pkgdir}/usr/bin/niSample-$sample.net" - chmod 755 "${pkgdir}/usr/bin/niSample-$sample.net" - done -} -package_openni-unstable-git-mono-samples-source() { - pkgdesc="OpenNI mono wrapper sample programs source code" - depends=("openni$_suf-mono") - provides=('openni-mono-samples-source' 'openni-unstable-mono-samples-source') - conflicts=('openni-mono-samples-source' 'openni-unstable-mono-samples-source') - options+=('!strip') - - cd "${srcdir}/${_gitname}-build" - for sample in $MONO_SAMPLES; do - _install_sample_source $sample.net - done -} diff --git a/~lukeshu/openni-all/openni-unstable-git/openni.install b/~lukeshu/openni-all/openni-unstable-git/openni.install deleted file mode 100644 index 8470f4512..000000000 --- a/~lukeshu/openni-all/openni-unstable-git/openni.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - MODULES="libnimMockNodes.so libnimCodecs.so libnimRecorder.so" - for module in $MODULES - do - /usr/bin/niReg /usr/lib/$module - done -} - -pre_remove() { - rm /var/lib/ni/modules.xml -} diff --git a/~lukeshu/openni-all/openni-unstable/PKGBUILD b/~lukeshu/openni-all/openni-unstable/PKGBUILD deleted file mode 100644 index bbeded512..000000000 --- a/~lukeshu/openni-all/openni-unstable/PKGBUILD +++ /dev/null @@ -1,294 +0,0 @@ -# Maintainer: Luke Shumaker -# Contributor (Arch): Sven Schneider -# Contributor (Arch): bugix -# Contributor (Arch): Lubosz Sarnecki - -# unfortunately we can't use $_suf in function names, but sed makes it ok -_suf='-unstable' -pkgname=( - openni$_suf - openni$_suf-docs - - openni$_suf-core - openni$_suf-core-samples - openni$_suf-core-samples-source - - openni$_suf-mono - openni$_suf-mono-samples - openni$_suf-mono-samples-source - - openni$_suf-java - openni$_suf-java-samples - openni$_suf-java-samples-source - ) -pkgver=1.4.0.2 -pkgrel=1 -arch=('i686' 'x86_64' 'mips64el') -url="http://www.openni.org/" -license=('GPL') -makedepends=('git' 'doxygen' 'graphviz') -options+=('!strip') -source=() -md5sums=() - -__gitroot="git://github.com/OpenNI/OpenNI.git" -_gitname="openni" -_gitbranch="Unstable-$pkgver" - -_os='Linux' -case "${CARCH}" in -'x86_64') _arch=x64;; -'i686') _arch=x86;; -'arm') _arch=Arm;; # untested -*) _arch=UNSUPPORTED_ARCH;; -esac -_platform="${_os}-${_arch}" - -export MAKEFLAGS+=' -j1 ' - -build() { - cd "${srcdir}" - msg "Connecting to GIT server...." - - #if [ -d ${_gitname} ] ; then - cd ${_gitname} - # git checkout master - # git pull origin - # msg "The local files are updated." - #else - # git clone ${__gitroot} ${_gitname} - # cd ${_gitname} - #fi - git checkout ${_gitbranch} - cd .. - - 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" - - # PATCH - sed -i 's/python /python2 /' "Platform/${_os}/CreateRedist/RedistMaker" - - for sample in NiViewer NiSimpleViewer NiUserTracker NiUserSelection NiHandTracker; do - echo 'USED_LIBS += GL' >> "Platform/${_os}/Build/Samples/${sample}/Makefile" - done - - echo ' -abs_core: $(ALL_MODULES) $(ALL_UTILS) -abs_core_samples: $(CORE_SAMPLES) -abs_java: $(ALL_JAVA_PROJS) -abs_java_samples: $(JAVA_SAMPLES) -abs_mono: $(ALL_MONO_PROJS) -abs_mono_samples: $(MONO_SAMPLES) $(MONO_FORMS_SAMPLES) -' >> "Platform/${_os}/Build/Makefile" - - - # BUILD - cd "Platform/${_os}/Build" - make -j1 \ - abs_core abs_core_samples \ - abs_java abs_java_samples \ - abs_mono abs_mono_samples - cd "../Bin/${_arch}-Release" - ln NiViewer Sample-NiViewer - - cd '../../../Source/DoxyGen' - mkdir html - doxygen Doxyfile - rm -rf html/*.map html*.md5 html/*.hhc html/*.hhp -} - -package_openni-unstable() { - pkgdesc="Open Natural Interface framework" - depends=("openni$_suf-core") - optdepends=("openni$_suf-docs: programmer documentation") - provides=('openni') - conflicts=('openni') -} - -package_openni-unstable-docs() { - pkgdesc="OpenNI programmer documentation" - arch=('any') - provides=('openni-docs') - conflicts=('openni-docs') - - cd "${srcdir}/${_gitname}-build/Source/DoxyGen/" - install -d "${pkgdir}/usr/share/openni" - cp -r html "${pkgdir}/usr/share/openni" -} - -package_openni-unstable-core() { - pkgdesc="OpenNI core libraries" - depends=('libusb' 'freeglut') - install="openni-core.install" - provides=('openni-core') - conflicts=('openni-core') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - - LIB_FILES=' - libnimCodecs.so - libnimMockNodes.so - libnimRecorder.so - libOpenNI.so - ' - install -d "${pkgdir}/usr/lib" - install -m755 $LIB_FILES "${pkgdir}/usr/lib" - - BIN_FILES='niReg niLicense' - install -d "${pkgdir}/usr/bin" - install -m755 $BIN_FILES "${pkgdir}/usr/bin" - - cd "${srcdir}/${_gitname}-build/Include" - install -d "${pkgdir}/usr/include/ni" - install -m644 *.h "${pkgdir}/usr/include/ni" - cp -r "${_platform}" "${pkgdir}/usr/include/ni" - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Build" - install -d "${pkgdir}/usr/share" - cp -r Common "${pkgdir}/usr/share/common" - - install -d "${pkgdir}/var/lib/ni" -} - -package_openni-unstable-java() { - pkgdesc="OpenNI java wrapper" - depends=("openni$_suf" 'java-environment') - provides=('openni-java') - conflicts=('openni-java') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - - install -d "${pkgdir}/usr/lib" - install -m755 libOpenNI.jni.so "${pkgdir}/usr/lib" - - install -d "${pkgdir}/usr/share/openni/java" - install -m755 org.OpenNI.jar "${pkgdir}/usr/share/openni/java" -} - -package_openni-unstable-mono() { - pkgdesc="OpenNI mono wrapper" - depends=("openni$_suf" 'mono') - install="openni-mono.install" - provides=('openni-mono') - conflicts=('openni-mono') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - - install -d "${pkgdir}/usr/share/openni/mono" - install -m755 OpenNI.net.dll "${pkgdir}/usr/share/openni/mono" -} - -# SAMPLES - -_install_sample_source() { - sample=$1 - makefile="Platform/${_os}/Build/Samples/$sample/Makefile" - install -d "${pkgdir}/usr/share/openni/samples" - cp -r "Samples/$sample" "${pkgdir}/usr/share/openni/samples/$sample" - install -m644 "$makefile" "${pkgdir}/usr/share/openni/samples/$sample" -} - -CORE_SAMPLES=' - AudioSample - BackRecorder - CRead - ConvertXToONI - HandTracker - RecordSynthetic - SimpleCreate - UserSelection - Viewer - SimpleRead SimpleViewer UserTracker' -MONO_SAMPLES='SimpleRead SimpleViewer UserTracker' -JAVA_SAMPLES='SimpleRead SimpleViewer UserTracker' - -package_openni-unstable-core-samples() { - pkgdesc="OpenNI sample programs" - depends=("openni$_suf-core") - optdepends=('openni-core-samples-source: source code for the samples') - provides=('openni-core-samples') - conflicts=('openni-core-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - install -d "${pkgdir}/usr/bin" - for sample in $CORE_SAMPLES; do - install -m755 Sample-Ni$sample "${pkgdir}/usr/bin/niSample-$sample" - done -} -package_openni-unstable-core-samples-source() { - pkgdesc="OpenNI sample programs source code" - depends=("openni$_suf-core") - provides=('openni-core-samples-source') - conflicts=('openni-core-samples-source') - - cd "${srcdir}/${_gitname}-build" - for sample in Viewer $CORE_SAMPLES; do - _install_sample_source Ni$sample - done -} - -package_openni-unstable-java-samples() { - pkgdesc="OpenNI java wrapper sample programs" - depends=("openni$_suf-java") - optdepends=("openni$_suf-java-samples-source: source code for the samples") - arch=('any') - provides=('openni-java-samples') - conflicts=('openni-java-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - install -d "${pkgdir}/usr/bin" - install -d "${pkgdir}/usr/share/openni/java" - for sample in $JAVA_SAMPLES; do - install -m644 org.OpenNI.Samples.$sample.jar "${pkgdir}/usr/share/openni/java" - echo "#/bin/sh -java -jar /usr/share/openni/java/org.OpenNI.Samples.$sample.jar $@ -" > "${pkgdir}/usr/bin/niSample-$sample.jar" - chmod 755 "${pkgdir}/usr/bin/niSample-$sample.jar" - done -} -package_openni-unstable-java-samples-source() { - pkgdesc="OpenNI java wrapper sample programs source code" - depends=("openni$_suf-java") - provides=('openni-java-samples-source') - conflicts=('openni-java-samples-source') - - cd "${srcdir}/${_gitname}-build" - for sample in $JAVA_SAMPLES; do - _install_sample_source $sample.java - done -} - -package_openni-unstable-mono-samples() { - pkgdesc="OpenNI java wrapper sample programs" - depends=("openni$_suf-mono") - optdepends=("openni$_suf-mono-samples-source: source code for the samples") - provides=('openni-mono-samples') - conflicts=('openni-mono-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_os}/Bin/${_arch}-Release" - install -d "${pkgdir}/usr/bin" - install -d "${pkgdir}/usr/share/openni/mono" - for sample in $MONO_SAMPLES; do - install -m755 $sample.net.exe "${pkgdir}/usr/share/openni/mono" - echo "#/bin/sh -cd /usr/share/openni/mono -mono $sample.net.exe $@ -" > "${pkgdir}/usr/bin/niSample-$sample.net" - chmod 755 "${pkgdir}/usr/bin/niSample-$sample.net" - done -} -package_openni-unstable-mono-samples-source() { - pkgdesc="OpenNI mono wrapper sample programs source code" - depends=("openni$_suf-mono") - provides=('openni-mono-samples-source') - conflicts=('openni-mono-samples-source') - - cd "${srcdir}/${_gitname}-build" - for sample in $MONO_SAMPLES; do - _install_sample_source $sample.net - done -} diff --git a/~lukeshu/openni-all/openni-unstable/openni-core.install b/~lukeshu/openni-all/openni-unstable/openni-core.install deleted file mode 100644 index 8470f4512..000000000 --- a/~lukeshu/openni-all/openni-unstable/openni-core.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - MODULES="libnimMockNodes.so libnimCodecs.so libnimRecorder.so" - for module in $MODULES - do - /usr/bin/niReg /usr/lib/$module - done -} - -pre_remove() { - rm /var/lib/ni/modules.xml -} diff --git a/~lukeshu/openni-all/openni-unstable/openni-mono.install b/~lukeshu/openni-all/openni-unstable/openni-mono.install deleted file mode 100644 index 72a6fb23d..000000000 --- a/~lukeshu/openni-all/openni-unstable/openni-mono.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - gacutil -i /usr/share/openni/mono/OpenNI.net.dll -gacdir /usr -} - -post_remove() { - gacutil -u OpenNI.net -gacdir /usr -} diff --git a/~lukeshu/openni-all/openni/PKGBUILD b/~lukeshu/openni-all/openni/PKGBUILD deleted file mode 100644 index 1713c885b..000000000 --- a/~lukeshu/openni-all/openni/PKGBUILD +++ /dev/null @@ -1,288 +0,0 @@ -# Maintainer: Luke Shumaker -# Contributor (Arch): Sven Schneider -# Contributor (Arch): bugix -# Contributor (Arch): Lubosz Sarnecki - -# unfortunately we can't use $_suf in function names, but sed makes it ok -_suf='' -pkgname=( - openni$_suf - openni$_suf-docs - - openni$_suf-core - openni$_suf-core-samples - openni$_suf-core-samples-source - - openni$_suf-mono - openni$_suf-mono-samples - openni$_suf-mono-samples-source - - openni$_suf-java - openni$_suf-java-samples - openni$_suf-java-samples-source - ) -pkgver=1.3.3.6 -pkgrel=4 -arch=('i686' 'x86_64' 'mips64el') -url="http://www.openni.org/" -license=('GPL') -makedepends=('git' 'doxygen' 'graphviz') -source=() -md5sums=() - -__gitroot="git://github.com/OpenNI/OpenNI.git" -_gitname="openni" -#_gitbranch="unstable" -#_gitbranch="master" -_gitbranch="Stable-$pkgver" - -_os='Linux' -case "${CARCH}" in -'x86_64') _arch=x86;; -'i686') _arch=x86;; -'arm') _arch=Arm;; # untested -*) _arch=UNSUPPORTED_ARCH;; -esac -_platform="${_os}-${_arch}" - -export MAKEFLAGS+=' -j1 ' - -build() { - cd "${srcdir}" - msg "Connecting to GIT server...." - - if [ -d ${_gitname} ] ; then - cd ${_gitname} - git checkout master - git pull origin - msg "The local files are updated." - else - git clone ${__gitroot} ${_gitname} - cd ${_gitname} - fi - git checkout ${_gitbranch} - cd .. - - msg "GIT checkout done or server timeout" - msg "Starting make..." - - rm -rf "${srcdir}/${_gitname}-build" - git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" - cd "${srcdir}/${_gitname}-build" - - # PATCH - sed -i 's/python /python2 /' "Platform/${_platform}/CreateRedist/RedistMaker" - mv Wrappers/OpenNI.java/src/org/OpenNI/AlternativeView{p,P}ointCapability.java - echo ' -abs_core: $(ALL_MODULES) $(ALL_UTILS) -abs_core_samples: $(CORE_SAMPLES) -abs_java: $(ALL_JAVA_PROJS) -abs_java_samples: $(JAVA_SAMPLES) -abs_mono: $(ALL_MONO_PROJS) -abs_mono_samples: $(MONO_SAMPLES) $(MONO_FORMS_SAMPLES) -' >> "Platform/${_platform}/Build/Makefile" - - - # BUILD - cd "Platform/${_platform}/Build" - make -j1 \ - abs_core abs_core_samples \ - abs_java abs_java_samples \ - abs_mono abs_mono_samples || return 1 - - cd '../../../Source/DoxyGen' - mkdir html - doxygen Doxyfile - rm -rf html/*.map html*.md5 html/*.hhc html/*.hhp -} - -package_openni() { - pkgdesc="Open Natural Interface framework" - depends=("openni$_suf-core") - optdepends=("openni$_suf-docs: programmer documentation") - provides=('openni') - conflicts=('openni') -} - -package_openni-docs() { - pkgdesc="OpenNI programmer documentation" - arch=('any') - provides=('openni-docs') - conflicts=('openni-docs') - - cd "${srcdir}/${_gitname}-build/Source/DoxyGen/" - install -d "${pkgdir}/usr/share/openni" - cp -r html "${pkgdir}/usr/share/openni" -} - -package_openni-core() { - pkgdesc="OpenNI core libraries" - depends=('libusb' 'freeglut') - install="openni.install" - provides=('openni-core') - conflicts=('openni-core') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - - LIB_FILES=' - libnimCodecs.so - libnimMockNodes.so - libnimRecorder.so - libOpenNI.so - ' - install -d "${pkgdir}/usr/lib" - install -m755 $LIB_FILES "${pkgdir}/usr/lib" - - BIN_FILES='niReg niLicense' - install -d "${pkgdir}/usr/bin" - install -m755 $BIN_FILES "${pkgdir}/usr/bin" - - cd "${srcdir}/${_gitname}-build/Include" - install -d "${pkgdir}/usr/include/ni" - install -m644 *.h "${pkgdir}/usr/include/ni" - cp -r "${_platform}" "${pkgdir}/usr/include/ni" - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Build" - install -d "${pkgdir}/usr/share" - cp -r Common "${pkgdir}/usr/share/common" -} - -package_openni-java() { - pkgdesc="OpenNI java wrapper" - depends=("openni$_suf" 'java-environment') - provides=('openni-java') - conflicts=('openni-java') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - - install -d "${pkgdir}/usr/lib" - install -m755 libOpenNI.jni.so "${pkgdir}/usr/lib" - - install -d "${pkgdir}/usr/share/openni/java" - install -m755 org.OpenNI.jar "${pkgdir}/usr/share/openni/java" -} - -package_openni-mono() { - pkgdesc="OpenNI mono wrapper" - depends=("openni$_suf" 'mono') - provides=('openni-mono') - conflicts=('openni-mono') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - - install -d "${pkgdir}/usr/share/openni/mono" - install -m755 OpenNI.net.dll "${pkgdir}/usr/share/openni/mono" -} - -# SAMPLES - -_install_sample_source() { - sample=$1 - makefile="Platform/${_platform}/Build/Samples/$sample/Makefile" - install -d "${pkgdir}/usr/share/openni/samples" - cp -r "Samples/$sample" "${pkgdir}/usr/share/openni/samples/$sample" - install -m644 "$makefile" "${pkgdir}/usr/share/openni/samples/$sample" -} - -# Leave out NiViewer, it's set up wrong -CORE_SAMPLES=' - AudioSample - BackRecorder - CRead - ConvertXToONI - RecordSynthetic - SimpleCreate - SimpleRead SimpleViewer UserTracker' -MONO_SAMPLES='SimpleRead SimpleViewer UserTracker' -JAVA_SAMPLES='SimpleRead SimpleViewer UserTracker' - -package_openni-core-samples() { - pkgdesc="OpenNI sample programs" - depends=("openni$_suf-core") - optdepends=('openni-core-samples-source: source code for the samples') - provides=('openni-core-samples') - conflicts=('openni-core-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - install -d "${pkgdir}/usr/bin" - install -m755 NiViewer "${pkgdir}/usr/bin/niSample-Viewer" - for sample in $CORE_SAMPLES; do - install -m766 Sample-Ni$sample "${pkgdir}/usr/bin/niSample-$sample" - done -} -package_openni-core-samples-source() { - pkgdesc="OpenNI sample programs source code" - depends=("openni$_suf-core") - provides=('openni-core-samples-source') - conflicts=('openni-core-samples-source') - options+=('!strip') - - cd "${srcdir}/${_gitname}-build" - for sample in Viewer $CORE_SAMPLES; do - _install_sample_source Ni$sample - done -} - -package_openni-java-samples() { - pkgdesc="OpenNI java wrapper sample programs" - depends=("openni$_suf-java") - optdepends=("openni$_suf-java-samples-source: source code for the samples") - arch=('any') - provides=('openni-java-samples') - conflicts=('openni-java-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - install -d "${pkgdir}/usr/bin" - install -d "${pkgdir}/usr/share/openni/java" - for sample in $JAVA_SAMPLES; do - install -m644 org.OpenNI.Samples.$sample.jar "${pkgdir}/usr/share/openni/java" - echo "#/bin/sh -java -jar /usr/share/openni/java/org.OpenNI.Samples.$sample.jar $@ -" > "${pkgdir}/usr/bin/niSample-$sample.jar" - chmod 755 "${pkgdir}/usr/bin/niSample-$sample.jar" - done -} -package_openni-java-samples-source() { - pkgdesc="OpenNI java wrapper sample programs source code" - depends=("openni$_suf-java") - provides=('openni-java-samples-source') - conflicts=('openni-java-samples-source') - options+=('!strip') - - cd "${srcdir}/${_gitname}-build" - for sample in $JAVA_SAMPLES; do - _install_sample_source $sample.java - done -} - -package_openni-mono-samples() { - pkgdesc="OpenNI java wrapper sample programs" - depends=("openni$_suf-mono") - optdepends=("openni$_suf-mono-samples-source: source code for the samples") - provides=('openni-mono-samples') - conflicts=('openni-mono-samples') - - cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" - install -d "${pkgdir}/usr/bin" - install -d "${pkgdir}/usr/share/openni/mono" - for sample in $MONO_SAMPLES; do - install -m755 $sample.net.exe "${pkgdir}/usr/share/openni/mono" - echo "#/bin/sh -cd /usr/share/openni/mono -mono $sample.net.exe $@ -" > "${pkgdir}/usr/bin/niSample-$sample.net" - chmod 755 "${pkgdir}/usr/bin/niSample-$sample.net" - done -} -package_openni-mono-samples-source() { - pkgdesc="OpenNI mono wrapper sample programs source code" - depends=("openni$_suf-mono") - provides=('openni-mono-samples-source') - conflicts=('openni-mono-samples-source') - options+=('!strip') - - cd "${srcdir}/${_gitname}-build" - for sample in $MONO_SAMPLES; do - _install_sample_source $sample.net - done -} diff --git a/~lukeshu/openni-all/openni/openni.install b/~lukeshu/openni-all/openni/openni.install deleted file mode 100644 index 8470f4512..000000000 --- a/~lukeshu/openni-all/openni/openni.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - MODULES="libnimMockNodes.so libnimCodecs.so libnimRecorder.so" - for module in $MODULES - do - /usr/bin/niReg /usr/lib/$module - done -} - -pre_remove() { - rm /var/lib/ni/modules.xml -} diff --git a/~lukeshu/svn-graph-branches/PKGBUILD b/~lukeshu/svn-graph-branches/PKGBUILD deleted file mode 100644 index 63568e50c..000000000 --- a/~lukeshu/svn-graph-branches/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Luke Shumaker - -pkgname=svn-graph-branches -pkgver=0.10 -pkgrel=1 -pkgdesc="Parses the Subversion log of a repository to generate a graph of the important events of the project." -arch=('any') -url="https://code.google.com/p/svn-graph-branches/" -license=('GPL') -depends=('subversion' 'graphviz' 'java-environment') -makedepends=('sharutils') -source=(https://svn-graph-branches.googlecode.com/files/$pkgname-$pkgver.tar.gz) -sha1sums=('c8b85b57b7725bc869f792334505d36d527e1dea') - -build() { - cd "$srcdir/$pkgname-$pkgver" - export CLASSPATH=`pwd` - ./configure --prefix=/usr - make -} - -check() { - cd "$srcdir/$pkgname-$pkgver" - make -k check -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install -} diff --git a/~lukeshu/terminal-colors/.gitignore b/~lukeshu/terminal-colors/.gitignore deleted file mode 100644 index 8ba0d861a..000000000 --- a/~lukeshu/terminal-colors/.gitignore +++ /dev/null @@ -1 +0,0 @@ -terminal-colors.py diff --git a/~lukeshu/terminal-colors/PKGBUILD b/~lukeshu/terminal-colors/PKGBUILD deleted file mode 100644 index 662e5b5ef..000000000 --- a/~lukeshu/terminal-colors/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -# Maintainer: Luke Shumaker - -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/xcalib/PKGBUILD b/~lukeshu/xcalib/PKGBUILD deleted file mode 100644 index 0a8fda0ea..000000000 --- a/~lukeshu/xcalib/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Maintainer: Luke Shumaker -# Contributor (AUR): Frank Ickstadt -# Contributor (AUR): mOLOk - -pkgname=xcalib -pkgver=0.8 -pkgrel=4 -pkgdesc="A tiny monitor calibration loader for X.org" -arch=(i686 x86_64) -url="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/" -license=('GPL') -depends=(libxxf86vm) -source=(http://downloads.sourceforge.net/xcalib/xcalib-source-$pkgver.tar.gz - makefile-ldflags.patch) -md5sums=('1fbcae44ad8d754512fdd1e5f1b3a7e7' - '6c74457011515dd1cc7f2474af761142') - -build() { - cd "$srcdir/$pkgname-$pkgver/" - patch -p0 < ../makefile-ldflags.patch - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver/" - install -Dm755 xcalib $pkgdir/usr/bin/xcalib - - for i in README *.icc *.icm; do - install -Dm644 $i $pkgdir/usr/share/xcalib/$i - done -} diff --git a/~lukeshu/xcalib/makefile-ldflags.patch b/~lukeshu/xcalib/makefile-ldflags.patch deleted file mode 100644 index 275c4c3ea..000000000 --- a/~lukeshu/xcalib/makefile-ldflags.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- Makefile 2007-08-26 23:30:34.000000000 +0200 -+++ Makefile.new 2012-08-20 10:50:27.000000000 +0200 -@@ -50,16 +50,16 @@ - # low overhead version (internal parser) - xcalib: xcalib.c - $(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" -- $(CC) $(CFLAGS) -L$(XLIBDIR) -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext -+ $(CC) $(LDFLAGS) -L$(XLIBDIR) -o xcalib xcalib.o -lX11 -lXxf86vm -lXext -lm - - fglrx_xcalib: xcalib.c - $(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" -I$(FGLRXINCLUDEDIR) -DFGLRX -- $(CC) $(CFLAGS) -L$(XLIBDIR) -L$(FGLRXLIBDIR) -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext -lfglrx_gamma -+ $(CC) $(LDFLAGS) -L$(XLIBDIR) -L$(FGLRXLIBDIR) -o xcalib xcalib.o -lX11 -lXxf86vm -lXext -lfglrx_gamma -lm - - win_xcalib: xcalib.c - $(CC) $(CFLAGS) -c xcalib.c -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" -DWIN32GDI - windres.exe resource.rc resource.o -- $(CC) $(CFLAGS) -mwindows -lm resource.o -o xcalib xcalib.o -+ $(CC) $(LDFLAGS) -mwindows -lm resource.o -o xcalib xcalib.o - - install: - cp ./xcalib $(DESTDIR)/usr/local/bin/ diff --git a/~lukeshu/xml2rfc/PKGBUILD b/~lukeshu/xml2rfc/PKGBUILD deleted file mode 100644 index b52ab21a8..000000000 --- a/~lukeshu/xml2rfc/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Luke Shumaker - -pkgname=xml2rfc -pkgver=1.36 -pkgrel=1 -pkgdesc="A tool to parse RFC 2629 XML files, and render them to TXT, PDF, HTML, and other formats." -arch=('any') -url="http://xml.resource.org/" -license=('custom:BSD-3') -depends=('tcl>=8') -optdepends=('tk: for xml2sgml and graphical xml2rfc') -makedepends=('java-environment') -source=("http://xml.resource.org/authoring/$pkgname-$pkgver.tgz") - -build() { - cd "$srcdir/$pkgname-$pkgver" - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - install -d "$pkgdir/usr/share/doc/$pkgname" - install -m644 README.* draft-mrose-writing-rfcs.* example.* "$pkgdir/usr/share/doc/$pkgname" - - install -d "$pkgdir/usr/share/$pkgname" - install -m644 rfc2629.* "$pkgdir/usr/share/$pkgname" - - install -D -m755 xml2rfc.tcl "$pkgdir/usr/bin/xml2rfc" - install -D -m755 xml2sgml.tcl "$pkgdir/usr/bin/xml2sgml" -} - -md5sums=('f96aa187e2ef86affe2843b556556b60') -- cgit v1.2.3