summaryrefslogtreecommitdiff
path: root/~lukeshu
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /~lukeshu
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to '~lukeshu')
-rw-r--r--~lukeshu/9mount/PKGBUILD36
-rw-r--r--~lukeshu/9mount/fix-checks.patch24
-rw-r--r--~lukeshu/cinclude2dot/PKGBUILD27
-rw-r--r--~lukeshu/freeglut26/2.6.0-GFX_radeon.patch28
-rw-r--r--~lukeshu/freeglut26/PKGBUILD39
-rw-r--r--~lukeshu/kdeutils-ark-unarchiver/PKGBUILD184
-rw-r--r--~lukeshu/kdeutils-ark-unarchiver/add-ark-cliunarchiverplugin.patch235
-rw-r--r--~lukeshu/kdeutils-ark-unarchiver/kdeutils.install11
-rw-r--r--~lukeshu/libdwarf/PKGBUILD44
-rw-r--r--~lukeshu/md/PKGBUILD42
-rw-r--r--~lukeshu/not-working/codeanalyst/PKGBUILD91
-rw-r--r--~lukeshu/not-working/codeanalyst/codeanalyst.desktop9
-rw-r--r--~lukeshu/not-working/codeanalyst/codeanalyst.install29
-rw-r--r--~lukeshu/not-working/codeanalyst/codeanalyst.sudo1
-rw-r--r--~lukeshu/not-working/codeanalyst/codeanalyst.svg59
-rw-r--r--~lukeshu/not-working/codeanalyst/gcc47.patch72
-rw-r--r--~lukeshu/not-working/codeanalyst/kernel3.4.patch72
-rw-r--r--~lukeshu/not-working/codeanalyst/skipSetup.patch68
-rw-r--r--~lukeshu/pacman-vcsget/PKGBUILD100
-rw-r--r--~lukeshu/python-pyproxyfs/PKGBUILD27
-rw-r--r--~lukeshu/stow/PKGBUILD24
-rw-r--r--~lukeshu/thingutils-git/PKGBUILD48
-rw-r--r--~lukeshu/wdiff/PKGBUILD29
23 files changed, 19 insertions, 1280 deletions
diff --git a/~lukeshu/9mount/PKGBUILD b/~lukeshu/9mount/PKGBUILD
deleted file mode 100644
index c0052731d..000000000
--- a/~lukeshu/9mount/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (AUR): Fazlul Shahriar <fshahriar@gmail.com>
-
-pkgname=9mount
-pkgver=1.3
-pkgdesc="A set of SUID tools for mounting 9p filesystems via v9fs."
-url="http://sqweek.net/code/9mount/"
-license=('custom:ISC')
-source=("http://sqweek.net/9p/$pkgname-$pkgver.tar.gz" fix-checks.patch)
-
-pkgrel=2
-arch=('i686' 'x86_64')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -i "$srcdir/fix-checks.patch"
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- PATH=.:$PATH sh ./test.sh
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make prefix="$pkgdir/usr" install
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
- ln -s 9mount.1 "$pkgdir/usr/share/man/man1/9umount.1"
- ln -s 9mount.1 "$pkgdir/usr/share/man/man1/9bind.1"
-}
-
-md5sums=('711a0a6f4d076c8275596171b0a315d0'
- '7961acda05c55f91f8cd6fb0d51b5c7d')
-sha256sums=('820d80b9b478d05ecb022ad658477b37cfc2414a8669c3af17d192a522064c17'
- '69cd1be08cc13cdecf2851dd6f78efd734afa8b0b099484cd777edb0b1d36f79')
diff --git a/~lukeshu/9mount/fix-checks.patch b/~lukeshu/9mount/fix-checks.patch
deleted file mode 100644
index 9af711ba5..000000000
--- a/~lukeshu/9mount/fix-checks.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- test.sh.orig 2012-10-15 11:15:07.000000000 -0400
-+++ test.sh 2012-10-15 11:15:11.000000000 -0400
-@@ -7,7 +7,7 @@
- shift; shift
- actual=$(9mount -n "$@" 2>&1)
- aopts=$(echo $actual |sed 's/.*-o \([^ ]*\) .*/\1/' |tr , '\n' |sort |tr '\n' , |sed 's/,$//')
-- actual=$(echo $actual |sed 's/-o [^ ]*/-o '"$aopts"'/')
-+ actual=$(echo $actual |sed -e 's/-o [^ ]*/-o '"$aopts"'/' -e 's/ ::1 / 127.0.0.1 /')
- if [ "$expected" != "$actual" ]; then
- echo ' '9mount "$@"
- echo $expected' #expected'
-@@ -48,6 +48,7 @@
- output=$(9mount -n "$@" 2>&1) && {
- echo ' '9mount "$@"
- echo $output' #should have failed!'
-+ exit 1
- }
- }
-
-@@ -59,3 +60,4 @@
- shouldfail unix!/tmp/9mount!qux $mtpt
- shouldfail virtio!/dev/chan!bar $mtpt
- shouldfail tcp!localhost!564!foo $mtpt
-+exit 0
diff --git a/~lukeshu/cinclude2dot/PKGBUILD b/~lukeshu/cinclude2dot/PKGBUILD
deleted file mode 100644
index 2eb43bac2..000000000
--- a/~lukeshu/cinclude2dot/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=cinclude2dot
-pkgver=1.1
-pkgrel=1
-pkgdesc="A Perl script which analyses C/C++ code and produces a #include dependency graph."
-arch=('any')
-url="http://flourish.org/cinclude2dot/"
-license=('GPL')
-depends=('perl')
-source=('http://flourish.org/cinclude2dot/cinclude2dot'
- 'http://flourish.org/cinclude2dot/cinclude2dot.1')
-
-build() {
- gzip -c cinclude2dot.1 > cinclude2dot.1.gz
-}
-
-package() {
- cd "$srcdir"
- install -d "$pkgdir/usr/bin"
- install -m755 cinclude2dot "$pkgdir/usr/bin"
- install -d "$pkgdir/usr/share/man/man1"
- install -m644 cinclude2dot.1.gz "$pkgdir/usr/share/man/man1"
-}
-
-md5sums=('372ca2cba1170ae4e040f7f84b7b98b5'
- 'bfdc230a26db0c66b238e6380e6badbe')
diff --git a/~lukeshu/freeglut26/2.6.0-GFX_radeon.patch b/~lukeshu/freeglut26/2.6.0-GFX_radeon.patch
deleted file mode 100644
index 8806fe849..000000000
--- a/~lukeshu/freeglut26/2.6.0-GFX_radeon.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: src/freeglut_window.c
-===================================================================
---- src/freeglut_window.c (Revision 832)
-+++ src/freeglut_window.c (Arbeitskopie)
-@@ -594,10 +594,9 @@
- #if TARGET_HOST_POSIX_X11
- if ( window )
- {
-- glXMakeContextCurrent(
-+ glXMakeCurrent(
- fgDisplay.Display,
- window->Window.Handle,
-- window->Window.Handle,
- window->Window.Context
- );
-
-@@ -932,10 +932,9 @@
- XSetWMProtocols( fgDisplay.Display, window->Window.Handle,
- &fgDisplay.DeleteWindow, 1 );
-
-- glXMakeContextCurrent(
-+ glXMakeCurrent(
- fgDisplay.Display,
- window->Window.Handle,
-- window->Window.Handle,
- window->Window.Context
- );
-
diff --git a/~lukeshu/freeglut26/PKGBUILD b/~lukeshu/freeglut26/PKGBUILD
deleted file mode 100644
index 25569e60d..000000000
--- a/~lukeshu/freeglut26/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (Arch): Eric Belanger <eric@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-_pkgname=freeglut
-pkgname=freeglut26
-pkgver=2.6.0
-pkgrel=2
-pkgdesc="Provides functionality for small OpenGL programs"
-arch=('i686' 'x86_64')
-url="http://freeglut.sourceforge.net/"
-license=('MIT')
-depends=('libxxf86vm' 'mesa' 'libxi')
-replaces=('glut')
-provides=('glut')
-conflicts=('glut')
-provides+=("$_pkgname=$pkgver")
-options=('!libtool')
-source=(http://downloads.sourceforge.net/freeglut/${_pkgname}-${pkgver}.tar.gz \
- 2.6.0-GFX_radeon.patch)
-md5sums=('39f0f2de89f399529d2b981188082218' '6d0a018fe4f0bc9ace2b244ca59514d3')
-sha1sums=('68306c4486c13d005a4e4d54035e0c0b1bdc220b' '2e392c7d0b60016ec89e6a5edf504f5722351b95')
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- # fixes an issue with the radeon[hd] ATI opensource drivers
- # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
- patch -p0 -i "${srcdir}/2.6.0-GFX_radeon.patch"
-
- ./autogen.sh
- ./configure --prefix=/usr --disable-static
- make
-}
-
-package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-}
diff --git a/~lukeshu/kdeutils-ark-unarchiver/PKGBUILD b/~lukeshu/kdeutils-ark-unarchiver/PKGBUILD
deleted file mode 100644
index b016b15bf..000000000
--- a/~lukeshu/kdeutils-ark-unarchiver/PKGBUILD
+++ /dev/null
@@ -1,184 +0,0 @@
-# $Id: PKGBUILD 141878 2011-11-02 18:15:53Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Pierre Schmitz <pierre@archlinux.de>
-
-pkgbase=kdeutils
-pkgname='kdeutils-ark-unarchiver'
-pkgver=4.7.3
-pkgrel=2
-arch=('i686' 'x86_64')
-url='http://www.kde.org'
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde' 'kdeutils')
-makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-lib' 'kdebase-workspace'
- 'kdebindings-python' 'system-config-printer-common' 'libarchive' 'qimageblitz'
- 'qjson')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
- 'add-ark-cliunarchiverplugin.patch')
-sha1sums=('23fc9823647152d5d8cc250a55402c8930db4059'
- '134c0ff9be6ffccd896bd590182c21d117f07991')
-
-build() {
- cd "${srcdir}"/${pkgbase}-${pkgver}
-
- patch -p0 -i "${srcdir}"/add-ark-cliunarchiverplugin.patch
-
- # Use Python2
- sed -i 's|/usr/bin/python|/usr/bin/python2|' \
- kcharselect/kcharselect-generate-datafile.py \
- superkaramba/examples/richtext/rtext.py
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
- printer-applet/{authconn,debug,monitor,printer-applet,statereason}.py
-
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPYTHON_EXECUTABLE=/usr/bin/python2
- make
-}
-
-package_kdeutils-ark-unarchiver() {
- pkgdesc='Archiving Tool'
- depends=('kdebase-runtime' 'kdebase-lib' 'libarchive')
- optdepends=('p7zip' 'zip' 'unzip' 'unrar' 'unarchiver')
- provides=('kdeutils-ark')
- url="http://kde.org/applications/utilities/ark/"
- cd $srcdir/build/ark
- make DESTDIR=$pkgdir install
- cd $srcdir/build/ark/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-filelight() {
- pkgdesc='View disk usage information'
- depends=('kdebase-runtime' 'qimageblitz')
- replaces=('filelight')
- conflicts=('filelight')
- install='kdeutils.install'
- url="http://methylblue.com/filelight/"
- cd $srcdir/build/filelight
- make DESTDIR=$pkgdir install
- cd $srcdir/build/filelight/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-kcalc() {
- pkgdesc='Scientific Calculator'
- depends=('kdebase-runtime')
- url="http://kde.org/applications/utilities/kcalc/"
- cd $srcdir/build/kcalc
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kcalc/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-kcharselect() {
- pkgdesc='Character Selector'
- depends=('kdebase-runtime')
- url="http://kde.org/applications/utilities/kcharselect/"
- cd $srcdir/build/kcharselect
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kcharselect/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-kdf() {
- pkgdesc='View Disk Usage'
- depends=('kdebase-runtime')
- url="http://kde.org/applications/system/kdiskfree/"
- install='kdeutils.install'
- cd $srcdir/build/kdf
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kdf/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-kfloppy() {
- pkgdesc='Floppy Formatter'
- depends=('kdebase-runtime')
- url="http://kde.org/applications/utilities/kfloppy/"
- install='kdeutils.install'
- cd $srcdir/build/kfloppy
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kfloppy/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-kgpg() {
- pkgdesc='A GnuPG frontend'
- depends=('kdepim-runtime' 'kde-agent')
- url="http://kde.org/applications/utilities/kgpg"
- install='kdeutils.install'
- cd $srcdir/build/kgpg
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kgpg/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-kremotecontrol() {
- pkgdesc='Configure your remote controls for use with applications'
- replaces=('kdeutils-kdelirc')
- conflicts=('kdeutils-kdelirc')
- depends=('kdebase-workspace')
- url="http://kde.org/applications/utilities/kremotecontrol"
- install='kdeutils.install'
- cd $srcdir/build/kremotecontrol
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kremotecontrol/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-ktimer() {
- pkgdesc='Countdown Launcher'
- depends=('kdebase-runtime')
- url="http://kde.org/applications/utilities/ktimer"
- install='kdeutils.install'
- cd $srcdir/build/ktimer
- make DESTDIR=$pkgdir install
- cd $srcdir/build/ktimer/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-kwallet() {
- pkgdesc='Wallet Management Tool'
- depends=('kdebase-runtime')
- url="http://kde.org/applications/system/kwalletmanager/"
- install='kdeutils.install'
- cd $srcdir/build/kwallet
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kwallet/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-printer-applet() {
- pkgdesc='System tray icon for managing print jobs'
- depends=('kdebase-runtime' 'kdebindings-python' 'system-config-printer-common')
- url="http://kde.org/applications/system/printerapplet/"
- cd $srcdir/build/printer-applet
- make DESTDIR=$pkgdir install
- cd $srcdir/build/printer-applet/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-superkaramba() {
- pkgdesc='An engine for cool desktop eyecandy'
- depends=('kdebase-runtime' 'kdebindings-python' 'qimageblitz')
- url="http://kde.org/applications/utilities/superkaramba"
- install='kdeutils.install'
- cd $srcdir/build/superkaramba
- make DESTDIR=$pkgdir install
-}
-
-package_kdeutils-sweeper() {
- pkgdesc='System Cleaner'
- depends=('kdebase-runtime')
- url="http://kde.org/applications/utilities/sweeper/"
- cd $srcdir/build/sweeper
- make DESTDIR=$pkgdir install
- cd $srcdir/build/sweeper/doc
- make DESTDIR=$pkgdir install
-}
diff --git a/~lukeshu/kdeutils-ark-unarchiver/add-ark-cliunarchiverplugin.patch b/~lukeshu/kdeutils-ark-unarchiver/add-ark-cliunarchiverplugin.patch
deleted file mode 100644
index 039d725b4..000000000
--- a/~lukeshu/kdeutils-ark-unarchiver/add-ark-cliunarchiverplugin.patch
+++ /dev/null
@@ -1,235 +0,0 @@
-Index: ark/plugins/CMakeLists.txt
-===================================================================
---- ark/plugins/CMakeLists.txt (revision 1237729)
-+++ ark/plugins/CMakeLists.txt (working copy)
-@@ -14,6 +14,7 @@
- endif (LIBARCHIVE_FOUND)
-
- add_subdirectory( clirarplugin )
-+add_subdirectory( cliunarchiverplugin )
- add_subdirectory( cli7zplugin )
- add_subdirectory( clizipplugin )
- add_subdirectory( libsinglefileplugin )
-Index: ark/plugins/cliunarchiverplugin/kerfuffle_cliunarchiver.desktop
-===================================================================
---- ark/plugins/cliunarchiverplugin/kerfuffle_cliunarchiver.desktop (revision 0)
-+++ ark/plugins/cliunarchiverplugin/kerfuffle_cliunarchiver.desktop (revision 0)
-@@ -0,0 +1,15 @@
-+[Desktop Entry]
-+Type=Service
-+X-KDE-ServiceTypes=Kerfuffle/Plugin
-+X-KDE-Library=kerfuffle_cliunarchiver
-+X-KDE-PluginInfo-Author=Luke Shumaker
-+X-KDE-PluginInfo-Email=lukeshu@sbcglobal.net
-+X-KDE-PluginInfo-Name= kerfuffle_cliunarchiver
-+X-KDE-PluginInfo-Version=0.0.1
-+X-KDE-PluginInfo-Website=http://www.kde.org
-+X-KDE-PluginInfo-License=GPLv2+
-+X-KDE-Priority=150
-+X-KDE-Kerfuffle-APIRevision=1
-+X-KDE-Kerfuffle-ReadWrite=true
-+Name=The Unarchiver plugin
-+MimeType=application/x-rar;
-Index: ark/plugins/cliunarchiverplugin/cliplugin.cpp
-===================================================================
---- ark/plugins/cliunarchiverplugin/cliplugin.cpp (revision 0)
-+++ ark/plugins/cliunarchiverplugin/cliplugin.cpp (revision 0)
-@@ -0,0 +1,172 @@
-+/*
-+ * ark -- archiver for the KDE project
-+ *
-+ * Copyright (C) 2011 Luke Shumaker <lukeshu@sbcglobal.net>
-+ *
-+ * This program is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU General Public License
-+ * as published by the Free Software Foundation; either version 2
-+ * of the License, or (at your option) any later version.
-+ *
-+ * This program is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ * GNU General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU General Public License
-+ * along with this program; if not, write to the Free Software
-+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-+ *
-+ */
-+
-+#include "kerfuffle/cliinterface.h"
-+#include "kerfuffle/kerfuffle_export.h"
-+
-+#include <KDebug>
-+
-+#include <QDateTime>
-+#include <QDir>
-+#include <QRegExp>
-+#include <QString>
-+#include <QStringList>
-+
-+using namespace Kerfuffle;
-+
-+class CliPlugin: public CliInterface
-+{
-+public:
-+ explicit CliPlugin(QObject *parent, const QVariantList & args)
-+ : CliInterface(parent, args) {
-+ m_indentLevel = 0;
-+ }
-+
-+ virtual ~CliPlugin() {
-+ }
-+
-+ virtual ParameterList parameterList() const {
-+ static ParameterList p;
-+ if (p.isEmpty()) {
-+ /* As I'm writing this, I'm noticing that unar is quite limited.
-+ * The following limitations are used to tag unused bits of code:
-+ * 01 - cannot extract just one file from the archive
-+ * 02 - overwrites existing files without prompt
-+ * 03 - cannot edit archives
-+ * 04 - if a wrong password is given, it fails (usually segfaults)
-+ * without telling what went wrong
-+ */
-+
-+ ///////////////[ COMMON ]/////////////
-+
-+ p[CaptureProgress] = false;
-+ //p[PasswordPromptPattern] =
-+
-+ ///////////////[ LIST ]/////////////
-+
-+ p[ListProgram] = "lsar";
-+ p[ListArgs] = QStringList() << "-json" << "$Archive";
-+
-+ ///////////////[ EXTRACT ]/////////////
-+
-+ p[ExtractProgram] = "unar";
-+ p[ExtractArgs] = QStringList() << "$PasswordSwitch" << "$Archive";
-+ //p[NoTrailingSlashes] = // limitation: 01
-+ //p[PreservePathSwitch] = // limitation: 01
-+ //p[NoTrailingSlashes] = // limitation: 01
-+ //p[RootNodeSwitch] = // limitation: 01
-+ p[PasswordSwitch] = QStringList() << "-p $Password";
-+ p[FileExistsExpression] = "some regexp that nothing will ever _ever_ match"; // limitation: 02
-+ //p[FileExistsMode] = // limitation: 02
-+ //p[FileExistsInput] = // limitation: 02
-+
-+ ///////////////[ DELETE ]/////////////
-+
-+ p[DeleteProgram] = "x-fakeprogram"; // limitation: 03
-+ //p[DeleteArgs] = // limitation: 03
-+
-+ ///////////////[ ADD ]/////////////
-+
-+ p[AddProgram] = "x-fakeprogram"; // limitation: 03
-+ //p[AddArgs] = // limitation: 03
-+
-+ ///////////////[ ERRORS ]/////////////
-+
-+ p[ExtractionFailedPatterns] = QStringList()
-+ << "Failed! \\((.+)\\)$"
-+ << "Segmentation fault$"; // Why is this so common!?
-+
-+ p[WrongPasswordPatterns] = QStringList()
-+ //<< "Failed!" // limitation: 04
-+ << "\\.\\.\\. This archive requires a password to unpack\\. Use the -p option to provide one\\.$";
-+ }
-+ return p;
-+ }
-+
-+ QString m_entryFilename, m_internalId;
-+ ArchiveEntry m_currentEntry;
-+ int m_indentLevel;
-+
-+ bool readListLine(const QString &line) {
-+ /* lsar will give us JSON output. However, we actually parse based on
-+ * the indentation. Ugly, I know, but
-+ * 1. It's easier
-+ * 2. lsar's JSON is invalid JSON, so actual parsers bork.
-+ */
-+
-+ int spaces;
-+ for(spaces=0;(spaces<line.size())&&(line[spaces]==QChar(' '));spaces++){}
-+ // Since this is so ugly anyway, I'm not even going to check to
-+ // make sure that spaces is even. I mean, what would I do about it?
-+ int m_newIndentLevel = spaces/2;
-+
-+ if (m_newIndentLevel>m_indentLevel) {
-+ if (m_newIndentLevel==3) {
-+ m_currentEntry.clear();
-+ m_currentEntry[IsDirectory] = false;
-+ }
-+ } else if (m_newIndentLevel<m_indentLevel) {
-+ if ( (m_newIndentLevel<3) && (m_indentLevel>=3) ) {
-+ EntryMetaDataType index = IsDirectory;
-+ if (m_currentEntry[index].toBool()) {
-+ m_currentEntry[FileName].toString().append(QString("/"));
-+ }
-+ kDebug() << "Added entry:" << m_currentEntry;
-+ entry(m_currentEntry);
-+ }
-+ }
-+ m_indentLevel = m_newIndentLevel;
-+
-+ QRegExp rx("^\\s*\"([^\"]*)\": (.*),$");
-+ if (rx.indexIn(line) >= 0) {
-+ QRegExp rx_unquote("^\"(.*)\"$");
-+ QString key = rx.cap(1);
-+ QString value = rx.cap(2);
-+
-+ if (false) {
-+ } else if (key=="XADFileName") {
-+ rx_unquote.indexIn(value);
-+ m_currentEntry[FileName] = m_currentEntry[InternalID] = rx_unquote.cap(1);
-+ } else if (key=="XADFileSize") {
-+ m_currentEntry[Size] = value.toInt();
-+ } else if (key=="XADCompressedSize") {
-+ m_currentEntry[CompressedSize] = value.toInt();
-+ } else if (key=="XADLastModificationDate") {
-+ QDateTime ts(QDate::fromString(value, "\"YYYY-MM-DD hh:mm:ss"));
-+ m_currentEntry[Timestamp] = ts;
-+ } else if (key=="XADIsDirectory") {
-+ m_currentEntry[IsDirectory] = (value=="1");
-+ } else if (key=="RARCRC32") {
-+ m_currentEntry[CRC] = value.toInt();
-+ } else if (key=="RARCompressionMethod") {
-+ m_currentEntry[Method] = value.toInt();
-+ } else if (key=="Encrypted") {
-+ m_currentEntry[IsPasswordProtected] = (value.toInt() != 0);
-+ }
-+ // TODO: add RAR version. ([Version])
-+ }
-+
-+ return true;
-+ }
-+};
-+
-+KERFUFFLE_EXPORT_PLUGIN(CliPlugin)
-+
-Index: ark/plugins/cliunarchiverplugin/CMakeLists.txt
-===================================================================
---- ark/plugins/cliunarchiverplugin/CMakeLists.txt (revision 0)
-+++ ark/plugins/cliunarchiverplugin/CMakeLists.txt (revision 0)
-@@ -0,0 +1,21 @@
-+
-+include_directories(
-+ ${CMAKE_CURRENT_SOURCE_DIR}/../..
-+ ${CMAKE_CURRENT_BINARY_DIR}/../..
-+ )
-+
-+########### next target ###############
-+
-+set(kerfuffle_cliunarchiver_SRCS cliplugin.cpp)
-+
-+kde4_add_plugin(kerfuffle_cliunarchiver ${kerfuffle_cliunarchiver_SRCS})
-+
-+target_link_libraries(kerfuffle_cliunarchiver ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} kerfuffle )
-+
-+
-+
-+########### install files ###############
-+
-+install(TARGETS kerfuffle_cliunarchiver DESTINATION ${PLUGIN_INSTALL_DIR} )
-+install( FILES kerfuffle_cliunarchiver.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-+
diff --git a/~lukeshu/kdeutils-ark-unarchiver/kdeutils.install b/~lukeshu/kdeutils-ark-unarchiver/kdeutils.install
deleted file mode 100644
index e70c054ec..000000000
--- a/~lukeshu/kdeutils-ark-unarchiver/kdeutils.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/~lukeshu/libdwarf/PKGBUILD b/~lukeshu/libdwarf/PKGBUILD
deleted file mode 100644
index 591b92633..000000000
--- a/~lukeshu/libdwarf/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# Maintainer: Marti Raudsepp <marti@juffo.org>
-
-pkgname=libdwarf
-pkgver=20111214
-pkgrel=1
-pkgdesc="Static library for handling DWARF Debugging Information Format"
-arch=(i686 x86_64)
-license=('GPL' 'LGPL')
-url="http://reality.sgiweb.org/davea/dwarf.html"
-depends=('elfutils' 'gcc-libs')
-makedepends=('libelf')
-source=(http://reality.sgiweb.org/davea/$pkgname-$pkgver.tar.gz)
-
-build() {
- cd $srcdir/dwarf-$pkgver/libdwarf
- ./configure
- make
-
- # dwarfdump
- cd $srcdir/dwarf-$pkgver/dwarfdump2
- ./configure --prefix=/usr CFLAGS=-I../libdwarf CXXFLAGS=-I../libdwarf LDFLAGS=-L../libdwarf
- # disable parallelization; -j5 build fails ~20% of the time on my machine
- make -j1
-}
-
-package() {
- cd $srcdir/dwarf-$pkgver/libdwarf
-
- install -d $pkgdir/usr/lib
- install -m 644 libdwarf.a $pkgdir/usr/lib
-
- install -d $pkgdir/usr/include/libdwarf
- install dwarf.h libdwarf.h $pkgdir/usr/include/libdwarf
-
- install -dm 755 $pkgdir/usr/share/doc/$pkgname
- install README NEWS *.pdf $pkgdir/usr/share/doc/$pkgname
-
- # dwarfdump
- cd $srcdir/dwarf-$pkgver/dwarfdump2
- install -Dm755 dwarfdump $pkgdir/usr/bin/dwarfdump
- install -Dm644 dwarfdump.1 $pkgdir/usr/share/man/man1/dwarfdump.1
- install -Dm644 dwarfdump.conf $pkgdir/usr/lib/dwarfdump.conf
-}
-md5sums=('573b49b94e38a0e65ff337768f003d33')
diff --git a/~lukeshu/md/PKGBUILD b/~lukeshu/md/PKGBUILD
deleted file mode 100644
index 7f74aaa2c..000000000
--- a/~lukeshu/md/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=("md" "emacs-mdmua")
-pkgver=0.81
-pkgrel=4
-arch=('any')
-url="https://github.com/nicferrier/$_pkgname"
-license=('GPL3')
-
-makedepends=(python-distribute)
-
-#__gitbranch=1d69744 # This is the commit that is 0.81
-__gitbranch=455b6b4 # this is currently HEAD (has bugfixes)
-source=("nicferrier-md-${__gitbranch}.tar.gz::https://github.com/nicferrier/$pkgname/tarball/${__gitbranch}")
-
-build() {
- cd "${srcdir}/nicferrier-md-${__gitbranch}"
-
- # fix typo
- sed -i 's/pyprofyfs/pyproxyfs/' setup.py
-}
-
-package_md() {
- pkgdesc="A maildir client and library."
- depends=('python' 'python-pyproxyfs')
-
- cd "${srcdir}/nicferrier-md-${__gitbranch}"
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_emacs-mdmua() {
- pkgdesc="An Emacs mail user agent (MUA) build around md."
- pkgver='0.72'
- depends=("md=0.81" 'emacs>=24')
-
- cd "${srcdir}/nicferrier-md-${__gitbranch}"
- cd useragents/emacs
- install -d ${pkgdir}/usr/share/emacs/site-lisp
- install -m 644 *.el ${pkgdir}/usr/share/emacs/site-lisp
-}
-
-md5sums=('452727348df2f51d7eddade709aceb1c')
diff --git a/~lukeshu/not-working/codeanalyst/PKGBUILD b/~lukeshu/not-working/codeanalyst/PKGBUILD
deleted file mode 100644
index 885e06f0e..000000000
--- a/~lukeshu/not-working/codeanalyst/PKGBUILD
+++ /dev/null
@@ -1,91 +0,0 @@
-# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (AUR): Felipe Bugno <capent@yahoo.com>
-
-# A note about the oprofile fork:
-# The docs claim that the fork is just for adding support for
-# processors that aren't upstream yet (at the time, they are now that
-# 0.9.7 is out). So, shouldn't we just link against 0.9.7? Well:
-# * AMD also added a bunch of CodeAnalyst-specific code.
-# * Several external variables/types have different names; the API is
-# incompatible.
-# * [extra]/oprofile-0.9.7-3 only includes about half of the headers.
-
-pkgbase=CodeAnalyst
-pkgname=(codeanalyst codeanalyst-cakm)
-pkgver=3.3.18.0361
-_pkgver="${pkgver//./_}"
-pkgrel=4.1
-pkgdesc="AMD performance profiler. Includes a fork of oprofile."
-url="http://developer.amd.com/tools/${pkgbase}/"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('gcc' 'qt>=4.1' 'libdwarf')
-makedepends=('linux-headers' 'elfutils' 'findutils' 'file')
-options=('!strip')
-install=codeanalyst.install
-source=("http://download2-developer.amd.com/amd/${pkgbase}/${pkgbase}${_pkgver}Public.tar.gz"
- 'gcc47.patch'
- 'skipSetup.patch'
- 'kernel3.4.patch'
- 'codeanalyst.sudo'
- 'codeanalyst.desktop'
- 'codeanalyst.svg')
-
-build() {
- build_codeanalyst
- build_codeanalyst-cakm
-}
-
-build_codeanalyst() {
- cd "${srcdir}/${pkgbase}-${_pkgver}-Public"
- patch -Np1 -i "${srcdir}/gcc47.patch"
- patch -Np1 -i "${srcdir}/skipSetup.patch"
- rm -rf src/dwarf-* # easiest way to ensure using the system install
-
- ./autogen.sh
- ./configure --prefix=/usr \
- --with-libdwarf-includes=/usr/include/libdwarf \
- --with-libdwarf-libraries=/usr/lib
- make
-}
-
-build_codeanalyst-cakm() {
- cd "${srcdir}/${pkgbase}-${_pkgver}-Public"/src/cakm
- cp -r kernel2.6.38 kernel3.4
- cd kernel3.4
- patch -Np1 -i "${srcdir}/kernel3.4.patch"
- make
-}
-
-package_codeanalyst() {
- provides=('oprofile=0.9.6cvs')
- conflicts=('oprofile')
-
- cd "${srcdir}/${pkgbase}-${_pkgver}-Public"
- make DESTDIR="${pkgdir}" install
- rm -f "${pkgdir}/usr/sbin/ca_user_manager" # either codeanalyst.install does this, or it is trivial
-
- find "${pkgdir}"/usr/{bin,sbin} -type f -exec file '{}' +|sed -n 's/:\s*ELF .*//p'|xargs strip
-
- cd "${srcdir}"
- install -D -m644 codeanalyst.sudo "${pkgdir}/etc/sudoers.d/codeanalyst"
- install -D -m644 codeanalyst.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/codeanalyst.svg"
- install -D -m644 codeanalyst.desktop "${pkgdir}/usr/share/applications/codeanalyst.desktop"
-}
-
-package_codeanalyst-cakm() {
- pkgdesc="CodeAnalyst kernel module, oprofile-ca.ko, a replacement for oprofile.ko"
- depends=(codeanalyst)
- provides=()
-
- cd "${srcdir}/${pkgbase}-${_pkgver}-Public"/src/cakm/kernel3.4
- install -D -m644 oprofile.ko "${pkgdir}/lib/modules/`uname -r`/kernel/arch/x86/oprofile/oprofile-ca.ko"
-}
-
-md5sums=('f1e29bc7c7da259df228ce59281ee1d7'
- '063d0fc9680641a92ce5e310ffe1c9c0'
- 'ce549e59c4a5916fd19e8d085e863627'
- '3a5d820a43a0360d561bb0c4d67d9735'
- '3cc8f64fe84c5a886d0172ee8d99f690'
- '3a18d3f7fb01f199a8ed5ae2908c18e4'
- '1822a4157b82904b82e72fc1e9bcbd42')
diff --git a/~lukeshu/not-working/codeanalyst/codeanalyst.desktop b/~lukeshu/not-working/codeanalyst/codeanalyst.desktop
deleted file mode 100644
index 56d54f884..000000000
--- a/~lukeshu/not-working/codeanalyst/codeanalyst.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=AMD CodeAnalyst
-Comment=AMD profiler and performance analyzer
-Exec=/usr/bin/CodeAnalyst
-Icon=codeanalyst
-Terminal=false
-Encoding=UTF-8
-Type=Application
-Categories=Development;
diff --git a/~lukeshu/not-working/codeanalyst/codeanalyst.install b/~lukeshu/not-working/codeanalyst/codeanalyst.install
deleted file mode 100644
index 6ed1ac841..000000000
--- a/~lukeshu/not-working/codeanalyst/codeanalyst.install
+++ /dev/null
@@ -1,29 +0,0 @@
-post_install() {
- getent group amdca &>/dev/null || groupadd amdca &>/dev/null
- echo " ==> To use CodeAnalyst as non-root, you must be in the 'amdca' group"
- echo " ie: gpasswd -a USERNAME amdca"
-
- chown root:amdca /usr/bin/calog_report
- chown root:amdca /usr/bin/capackage.sh
- chown root:amdca /usr/bin/careport.sh
- chown root:amdca /usr/bin/cgreport
- chown root:amdca /usr/bin/CodeAnalyst
- chown root:amdca /usr/bin/opannotate
- chown root:amdca /usr/bin/oparchive
- chown root:amdca /usr/bin/opcontrol
- chown root:amdca /usr/bin/opgprof
- chown root:amdca /usr/bin/ophelp
- chown root:amdca /usr/bin/opimport
- chown root:amdca /usr/bin/opjitconv
- chown root:amdca /usr/bin/opreport
- chown root:amdca /usr/bin/oprofiled
- chown root:amdca /usr/sbin/ca_oprofile_controller
- #chown root:amdca /usr/sbin/ca_user_manager
-
- update-desktop-database -q
-}
-
-post_remove() {
- getent group amdca &>/dev/null && groupdel amdca &>/dev/null
- update-desktop-database -q
-}
diff --git a/~lukeshu/not-working/codeanalyst/codeanalyst.sudo b/~lukeshu/not-working/codeanalyst/codeanalyst.sudo
deleted file mode 100644
index 1c3173bdb..000000000
--- a/~lukeshu/not-working/codeanalyst/codeanalyst.sudo
+++ /dev/null
@@ -1 +0,0 @@
-%amdca ALL= NOPASSWD: /usr/sbin/ca_oprofile_controller
diff --git a/~lukeshu/not-working/codeanalyst/codeanalyst.svg b/~lukeshu/not-working/codeanalyst/codeanalyst.svg
deleted file mode 100644
index 8febf725b..000000000
--- a/~lukeshu/not-working/codeanalyst/codeanalyst.svg
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
-
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- version="1.1"
- id="Layer_1"
- width="286.95001"
- height="286.95001"
- viewBox="0 0 286.95063 286.95"
- overflow="visible"
- enable-background="new 0 0 1368.987 286.954"
- xml:space="preserve"
- inkscape:version="0.48.3.1 r9886"
- sodipodi:docname="AMD_Logo.svg"
- style="overflow:visible"><metadata
- id="metadata17"><rdf:RDF><cc:Work
- rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
- id="defs15" /><sodipodi:namedview
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1"
- objecttolerance="10"
- gridtolerance="10"
- guidetolerance="10"
- inkscape:pageopacity="0"
- inkscape:pageshadow="2"
- inkscape:window-width="1920"
- inkscape:window-height="1028"
- id="namedview13"
- showgrid="false"
- inkscape:zoom="2.11"
- inkscape:cx="163.32315"
- inkscape:cy="145.21584"
- inkscape:window-x="-4"
- inkscape:window-y="-3"
- inkscape:window-maximized="1"
- inkscape:current-layer="Layer_1" />
-<polyline
- points="1165.47,92.779 1165.39,203.495 1281.63,203.513 1198.44,286.826 1081.79,286.954 1080.38,176.065 1165.47,92.779"
- id="polyline3"
- style="fill:#009a66"
- transform="translate(-1082.0371,1.8496035e-4)" />
-<polyline
- points="1165.39,84.082 1285.07,83.854 1284.83,202.972 1368.99,286.954 1368.75,0.12 1081.79,0 1165.39,84.082"
- id="polyline5"
- style="fill:#009a66"
- transform="translate(-1082.0371,1.8496035e-4)" />
-
-
-
-</svg> \ No newline at end of file
diff --git a/~lukeshu/not-working/codeanalyst/gcc47.patch b/~lukeshu/not-working/codeanalyst/gcc47.patch
deleted file mode 100644
index dfec4a0c4..000000000
--- a/~lukeshu/not-working/codeanalyst/gcc47.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/cg/Makefile.am CodeAnalyst-3_3_18_0361-Public/src/ca/cg/Makefile.am
-*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/cg/Makefile.am 2012-04-13 02:41:43.000000000 -0300
---- CodeAnalyst-3_3_18_0361-Public/src/ca/cg/Makefile.am 2012-04-22 17:55:01.227439003 -0300
-***************
-*** 25,31 ****
- cgcvt.cpp
-
-
-! cgreport_LDFLAGS = -Wl -fPIC @QT_LDFLAGS@
-
- AM_CPPFLAGS= $(INCLUDES) $(more_flags) \
- $(FLAG64) -Wno-unused -Wno-parentheses \
---- 25,31 ----
- cgcvt.cpp
-
-
-! cgreport_LDFLAGS = -fPIC @QT_LDFLAGS@
-
- AM_CPPFLAGS= $(INCLUDES) $(more_flags) \
- $(FLAG64) -Wno-unused -Wno-parentheses \
-diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/gui/MonitorDockView.cpp CodeAnalyst-3_3_18_0361-Public/src/ca/gui/MonitorDockView.cpp
-*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/gui/MonitorDockView.cpp 2012-04-13 02:41:43.000000000 -0300
---- CodeAnalyst-3_3_18_0361-Public/src/ca/gui/MonitorDockView.cpp 2012-04-22 17:38:14.884058192 -0300
-***************
-*** 17,22 ****
---- 17,23 ----
- */
-
- #include <qtooltip.h>
-+ #include <unistd.h>
-
- #include "MonitorDockView.h"
-
-diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/libs/libca/dwarfengine.cpp CodeAnalyst-3_3_18_0361-Public/src/ca/libs/libca/dwarfengine.cpp
-*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/libs/libca/dwarfengine.cpp 2012-04-13 02:41:43.000000000 -0300
---- CodeAnalyst-3_3_18_0361-Public/src/ca/libs/libca/dwarfengine.cpp 2012-04-22 17:34:45.670714989 -0300
-***************
-*** 21,26 ****
---- 21,27 ----
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
-+ #include <unistd.h>
-
- #include "dwarfengine.h"
- #define DWARF_DEBUG 0
-diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/libs/libopdata/opdata_handler.cpp CodeAnalyst-3_3_18_0361-Public/src/ca/libs/libopdata/opdata_handler.cpp
-*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/libs/libopdata/opdata_handler.cpp 2012-04-13 02:41:43.000000000 -0300
---- CodeAnalyst-3_3_18_0361-Public/src/ca/libs/libopdata/opdata_handler.cpp 2012-04-22 17:32:30.780708624 -0300
-***************
-*** 29,34 ****
---- 29,35 ----
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <time.h>
-+ #include <unistd.h>
-
- // CodeAnalyst headers
- #include "CaProfileWriter.h"
-diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca_agent/libCAagent/slock.cpp CodeAnalyst-3_3_18_0361-Public/src/ca_agent/libCAagent/slock.cpp
-*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca_agent/libCAagent/slock.cpp 2012-04-13 02:41:43.000000000 -0300
---- CodeAnalyst-3_3_18_0361-Public/src/ca_agent/libCAagent/slock.cpp 2012-04-22 17:26:58.424026278 -0300
-***************
-*** 13,18 ****
---- 13,19 ----
- #include <sys/ipc.h>
- #include <sys/sem.h>
- #include <sys/stat.h>
-+ #include <unistd.h>
-
- #include "slock.h"
- #include "smm.h"
diff --git a/~lukeshu/not-working/codeanalyst/kernel3.4.patch b/~lukeshu/not-working/codeanalyst/kernel3.4.patch
deleted file mode 100644
index 589abc800..000000000
--- a/~lukeshu/not-working/codeanalyst/kernel3.4.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -ru kernel2.6.38/Makefile kernel3.4/Makefile
---- kernel2.6.38/Makefile 2012-04-13 01:41:43.000000000 -0400
-+++ kernel3.4/Makefile 2012-07-11 11:32:27.000000000 -0400
-@@ -1,6 +1,6 @@
- TARGET = oprofile.ko
-
--MDIR = $(if $(shell uname -m | grep x86_64),arch/x86/oprofile,arch/x86/oprofile)
-+MDIR = arch/x86/oprofile
-
- DRIVER_OBJS = oprof.o cpu_buffer.o buffer_sync.o \
- event_buffer.o oprofile_files.o \
-@@ -16,7 +16,8 @@
- CURRENT = $(shell uname -r)
- ARCH = $(if $(shell uname -m | grep x86_64),64,32)
- KERN_ARCH = $(if $(shell uname -m | grep x86_64),x86_64,i386)
--KDIR = /lib/modules/$(CURRENT)/build
-+SYS_KDIR = /lib/modules/$(CURRENT)/build
-+KDIR = $(PWD)/../build
- PWD = $(shell pwd)
- DEST = /lib/modules/$(CURRENT)/kernel/$(MDIR)
- USE_INTERNAL_ERRATA = $(if $(shell ls ../internal/errata.h 2> /dev/null),1,0)
-@@ -39,6 +40,8 @@
- all: default
-
- default:
-+ rm -rf $(KDIR)
-+ cp -r $(SYS_KDIR)/ $(KDIR)
- make -C $(KDIR) SUBDIRS=$(PWD) CFLAGS_MODULE+="-DMODULE -DUSE_INTERNAL_ERRATA=$(USE_INTERNAL_ERRATA)" modules ARCH=$(KERN_ARCH)
-
- install:
-@@ -52,13 +55,12 @@
-
- uninstall:
- @echo "... Restore original oprofile.ko."
-- @mv -v $(DEST)/$(TARGET).orig $(DEST)/$(TARGET)
-+ @mv -v $(DEST)/$(TARGET).orig $(DEST)/$(TARGET)
-
- clean:
- rm -f *.o oprofile.ko .*.cmd .*.flags *.mod.c
-
- prebuild:
- cp $(TARGET) ../prebuilds/$(CURRENT)_$(ARCH).ko
--
-
---include $(KDIR)/Rules.make
-+-include $(SYS_KDIR)/Rules.make
-Only in kernel3.4/: modules.order
-Only in kernel3.4/: Module.symvers
-diff -ru kernel2.6.38/nmi_int.c kernel3.4/nmi_int.c
---- kernel2.6.38/nmi_int.c 2012-04-13 01:41:43.000000000 -0400
-+++ kernel3.4/nmi_int.c 2012-07-11 11:32:27.000000000 -0400
-@@ -16,7 +16,6 @@
- #include <linux/notifier.h>
- #include <linux/smp.h>
- #include "oprofile.h"
--#include <linux/sysdev.h>
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
- #include <linux/syscore_ops.h>
- #endif
-diff -ru kernel2.6.38/oprofilefs.c kernel3.4/oprofilefs.c
---- kernel2.6.38/oprofilefs.c 2012-04-13 01:41:43.000000000 -0400
-+++ kernel3.4/oprofilefs.c 2012-07-11 11:32:27.000000000 -0400
-@@ -244,7 +244,7 @@
- return -ENOMEM;
- root_inode->i_op = &simple_dir_inode_operations;
- root_inode->i_fop = &simple_dir_operations;
-- root_dentry = d_alloc_root(root_inode);
-+ root_dentry = d_make_root(root_inode);
- if (!root_dentry) {
- iput(root_inode);
- return -ENOMEM;
-Only in kernel3.4/: .tmp_versions
diff --git a/~lukeshu/not-working/codeanalyst/skipSetup.patch b/~lukeshu/not-working/codeanalyst/skipSetup.patch
deleted file mode 100644
index fdc9bf42f..000000000
--- a/~lukeshu/not-working/codeanalyst/skipSetup.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca/Makefile.am CodeAnalyst-3_3_18_0361-Public/src/ca/Makefile.am
-*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca/Makefile.am 2012-04-13 02:41:43.000000000 -0300
---- CodeAnalyst-3_3_18_0361-Public/src/ca/Makefile.am 2012-04-22 20:44:07.437917684 -0300
-***************
-*** 8,19 ****
- # FIXME [3.0] diffgui \
- # $(CA_RELEASE_TYPE)
-
-! install-exec-hook:
-! @if test -e "scripts/Setup.sh"; then \
-! scripts/Setup.sh $(DESTDIR)$(prefix); \
-! fi
-
-! uninstall-hook:
-! @if test -e "scripts/Uninstall.sh"; then \
-! scripts/Uninstall.sh $(DESTDIR)$(prefix);\
-! fi
---- 8,19 ----
- # FIXME [3.0] diffgui \
- # $(CA_RELEASE_TYPE)
-
-! #install-exec-hook:
-! # @if test -e "scripts/Setup.sh"; then \
-! # scripts/Setup.sh $(DESTDIR)$(prefix); \
-! # fi
-
-! #uninstall-hook:
-! # @if test -e "scripts/Uninstall.sh"; then \
-! # scripts/Uninstall.sh $(DESTDIR)$(prefix);\
-! # fi
-diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/ca_agent/jvmpi/Makefile.am CodeAnalyst-3_3_18_0361-Public/src/ca_agent/jvmpi/Makefile.am
-*** CodeAnalyst-3_3_18_0361-Public.orig/src/ca_agent/jvmpi/Makefile.am 2012-04-13 02:41:43.000000000 -0300
---- CodeAnalyst-3_3_18_0361-Public/src/ca_agent/jvmpi/Makefile.am 2012-04-22 20:47:21.604593511 -0300
-***************
-*** 15,20 ****
- libCAJVMPIA_so_SOURCES = \
- jpa.cpp
-
-! install-exec-hook:
-! @/sbin/ldconfig
-
---- 15,20 ----
- libCAJVMPIA_so_SOURCES = \
- jpa.cpp
-
-! #install-exec-hook:
-! # @/sbin/ldconfig
-
-diff -crB CodeAnalyst-3_3_18_0361-Public.orig/src/Makefile.am CodeAnalyst-3_3_18_0361-Public/src/Makefile.am
-*** CodeAnalyst-3_3_18_0361-Public.orig/src/Makefile.am 2012-04-13 02:41:43.000000000 -0300
---- CodeAnalyst-3_3_18_0361-Public/src/Makefile.am 2012-04-22 20:44:57.674586720 -0300
-***************
-*** 8,21 ****
- install-exec-hook:
- @if test -e "${LIBDWARF_DIR}libdwarf.so"; then \
- install -pD -m 755 ${LIBDWARF_DIR}libdwarf.so $(DESTDIR)$(prefix)/lib/libdwarf.so ; \
-- /sbin/ldconfig ;\
- fi
-
- uninstall-hook:
- @if test -e "${LIBDWARF_DIR}libdwarf.so"; then \
- if test -e "$(DESTDIR)$(prefix)/lib/libdwarf.so"; then \
- rm -f $(DESTDIR)$(prefix)/lib/libdwarf.so ; \
-- /sbin/ldconfig ; \
- fi ; \
- fi
-
---- 8,19 ----
diff --git a/~lukeshu/pacman-vcsget/PKGBUILD b/~lukeshu/pacman-vcsget/PKGBUILD
deleted file mode 100644
index c23eabd3a..000000000
--- a/~lukeshu/pacman-vcsget/PKGBUILD
+++ /dev/null
@@ -1,100 +0,0 @@
-# vim: set ts=2 sw=2 et:
-# $Id: PKGBUILD 150148 2012-02-13 14:49:35Z dreisner $
-# Maintainer: Dan McGee <dan@archlinux.org>
-# Maintainer: Dave Reisner <dave@archlinux.org>
-
-_pkgname=pacman
-_basepath=parabola-pacman
-pkgname=$_pkgname-vcsget
-_relver=4.0.3
-#_gitver=f8fc16f
-_gitver=6082ed9d
-pkgver=${_relver}.git
-provides=($_pkgname=$pkgver)
-replaces=($_pkgname pacman-lukeshu)
-conflicts=($_pkgname pacman-lukeshu)
-
-pkgrel=1
-
-pkgdesc="A library-based package manager with dependency support (with vcsget)"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://www.archlinux.org/pacman/"
-license=('GPL')
-#groups=('base')
-depends=('bash' 'glibc>=2.15' 'libarchive>=3.0.2' 'curl>=7.19.4'
- 'gpgme' 'pacman-mirrorlist' 'archlinux-keyring' 'parabola-keyring')
-makedepends=('asciidoc')
-optdepends=('fakeroot: for makepkg usage as normal user')
-backup=(etc/pacman.conf etc/makepkg.conf)
-install=pacman.install
-options=(!libtool)
-source=(${_basepath}-${_gitver}.tar.gz::http://gitorious.org/parabola/pacman/archive-tarball/${_gitver}
- pacman.conf
- pacman.conf.x86_64
- pacman.conf.mips64el
- makepkg.conf)
-md5sums=('8c328c8f148f283656309fd4e2103178'
- '080d9f76f56e135cc62205874636aa0f'
- 'ce9943fc8086d491890565e91ea1a0d8'
- 'eb8dba9bd0b315230fbf0e5dc0a7335b'
- 'debc512689a1aa8c124fe0ccf27f5758')
-
-build() {
- cd $srcdir/$_basepath
-
- ./autogen.sh
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --enable-doc
- make
- make -C contrib
-}
-
-check() {
- make -C "$srcdir/$_basepath" check
-}
-
-package() {
- cd $srcdir/$_basepath
- make DESTDIR=$pkgdir install
-
- # install Arch specific stuff
- mkdir -p $pkgdir/etc
- case "$CARCH" in
- i686)
- install -m644 $srcdir/pacman.conf $pkgdir/etc/pacman.conf
- mycarch="i686"
- mychost="i686-pc-linux-gnu"
- myflags="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
- myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
- ;;
- x86_64)
- install -m644 $srcdir/pacman.conf.x86_64 $pkgdir/etc/pacman.conf
- mycarch="x86_64"
- mychost="x86_64-unknown-linux-gnu"
- myflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
- myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
- ;;
- mips64el)
- install -m644 $srcdir/pacman.conf.mips64el $pkgdir/etc/pacman.conf
- mycarch="mips64el"
- mychost="mips64el-unknown-linux-gnu"
- myflags="-O2 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
- myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro"
- ;;
- esac
- install -m644 $srcdir/makepkg.conf $pkgdir/etc/
- # set things correctly in the default conf file
- sed -i $pkgdir/etc/makepkg.conf \
- -e "s|@CARCH[@]|$mycarch|g" \
- -e "s|@CHOST[@]|$mychost|g" \
- -e "s|@LDFLAGS[@]|$myldflags|g" \
- -e "s|@CARCHFLAGS[@]|$myflags|g"
-
- # install completion files
- install -Dm644 contrib/bash_completion "$pkgdir/usr/share/bash-completion/completions/pacman"
- for f in makepkg pacman-key; do
- ln -s pacman "$pkgdir/usr/share/bash-completion/completions/$f"
- done
-
- install -Dm644 contrib/zsh_completion $pkgdir/usr/share/zsh/site-functions/_pacman
-}
diff --git a/~lukeshu/python-pyproxyfs/PKGBUILD b/~lukeshu/python-pyproxyfs/PKGBUILD
deleted file mode 100644
index b24c5682a..000000000
--- a/~lukeshu/python-pyproxyfs/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-_pkgname=pyproxyfs
-pkgname=python-$_pkgname
-pkgver=0.8
-pkgrel=1
-pkgdesc="A proxy filesystem interface with a native filesystem implementation and a very simple test in-memory filesystem."
-arch=('any')
-url="https://github.com/nicferrier/$_pkgname"
-license=('GPL3')
-groups=()
-depends=('python')
-makedepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=(!emptydirs)
-install=
-source=("http://pypi.python.org/packages/source/P/PyProxyFS/PyProxyFS-0.8.tar.gz")
-
-package() {
- cd "${srcdir}/PyProxyFS-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-md5sums=('34f769e669877a9fdcfe5f8f93912b88')
diff --git a/~lukeshu/stow/PKGBUILD b/~lukeshu/stow/PKGBUILD
deleted file mode 100644
index 24a2dcb1c..000000000
--- a/~lukeshu/stow/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# 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/thingutils-git/PKGBUILD b/~lukeshu/thingutils-git/PKGBUILD
index d3d13925a..23683bc52 100644
--- a/~lukeshu/thingutils-git/PKGBUILD
+++ b/~lukeshu/thingutils-git/PKGBUILD
@@ -2,16 +2,20 @@
_pkgname=thingutils
pkgname=$_pkgname-git
+
+pkgver=20131203
+_gitver=aa2d5a3a4363ff4f4ca23f4c6716613c4be66ecd
+pkgdesc=""
+url="https://gitorious.org/thingutils"
+license=('MIT')
+
provides=($_pkgname)
conflicts=($_pkgname)
-pkgver=20120117
pkgrel=1
-pkgdesc=""
arch=('i686' 'x86_64')
-url="https://gitorious.org/thingutils"
-license=('MIT')
+
depends=(
- 'php' # roll, urldecode
+ 'php' # urldecode
'bash' # daemon, newegg, sysfiles
'emacs' # emacsmail, emacsterm, e
'wget' # whatismyip
@@ -21,36 +25,22 @@ depends=(
'wdiff' # chardiff
'acpi' # batterymon, tempmon
)
-makedepends=('git')
+makedepends=('go')
-_gitroot=https://git.gitorious.org/thingutils/thingutils.git
-_gitname=$_pkgname
+source=("libre://$pkgname-$pkgver.tar.gz")
+
+mkdepends=('git')
+mksource=("$pkgname-$pkgver::git://gitorious.org/$_pkgname/$_pkgname.git#commit=$_gitver")
+mkmd5sums=('SKIP')
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
- #
+ cd "$srcdir/$pkgname-$pkgver"
make prefix=/usr
}
package() {
- cd "$srcdir/$_gitname-build"
+ cd "$srcdir/$pkgname-$pkgver"
make install prefix=/usr DESTDIR="$pkgdir"
}
+
+md5sums=('7991e689263698f3d9a6470184f97ed1')
diff --git a/~lukeshu/wdiff/PKGBUILD b/~lukeshu/wdiff/PKGBUILD
deleted file mode 100644
index 41bee9679..000000000
--- a/~lukeshu/wdiff/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=wdiff
-pkgver=1.2.1
-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=('fc54e044b229a23c1cfa8e5689196f24')