summaryrefslogtreecommitdiff
path: root/~lukeshu
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-12-11 18:49:46 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-12-11 18:49:46 -0500
commit5c561163133e61dc311355389556e2b2d0664c13 (patch)
treeb90c180384d4b7e3143445327e3f62d76b11d6f2 /~lukeshu
parent00d7d1f1b8496cfe48fa7c41070309304b1ae75d (diff)
downloadabslibre-5c561163133e61dc311355389556e2b2d0664c13.tar.gz
abslibre-5c561163133e61dc311355389556e2b2d0664c13.tar.bz2
abslibre-5c561163133e61dc311355389556e2b2d0664c13.zip
mv ./~aur/* ./~lukeshu
Diffstat (limited to '~lukeshu')
-rw-r--r--~lukeshu/android-udev/51-android.rules133
-rw-r--r--~lukeshu/android-udev/PKGBUILD23
-rw-r--r--~lukeshu/android-udev/android-udev.install15
-rw-r--r--~lukeshu/dasm/PKGBUILD31
-rw-r--r--~lukeshu/pngcrush/LICENSE42
-rw-r--r--~lukeshu/pngcrush/PKGBUILD30
6 files changed, 274 insertions, 0 deletions
diff --git a/~lukeshu/android-udev/51-android.rules b/~lukeshu/android-udev/51-android.rules
new file mode 100644
index 000000000..c9570959c
--- /dev/null
+++ b/~lukeshu/android-udev/51-android.rules
@@ -0,0 +1,133 @@
+# Acer
+SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666", GROUP="adbusers"
+# ICONIA TAB A500
+SUBSYSTEM=="usb", ATTR{idVendor}=="0502", ATTR{idProduct}=="3325", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="0502", ATTR{idProduct}=="3325", SYMLINK+="android_fastboot"
+
+# Archos
+SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", MODE="0666", GROUP="adbusers"
+# 43
+SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", ATTR{idProduct}=="1417", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", ATTR{idProduct}=="1417", SYMLINK+="android_fastboot"
+# 101
+SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", ATTR{idProduct}=="1411", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", ATTR{idProduct}=="1411", SYMLINK+="android_fastboot"
+
+# Asus
+SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666", GROUP="adbusers"
+
+# Dell
+SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666", GROUP="adbusers"
+
+# Foxconn
+SUBSYSTEM=="usb", ATTR{idVendor}=="0489", MODE="0666", GROUP="adbusers"
+
+# Garmin-Asus
+SUBSYSTEM=="usb", ATTR{idVendor}=="091e", MODE="0666", GROUP="adbusers"
+
+# Google
+SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="adbusers"
+# NEXUS S
+SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e21", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e21", SYMLINK+="android_fastboot"
+
+# Hero (chinese phone...)
+SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="adbusers"
+# Hero H2000
+SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0001", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0001", SYMLINK+="android_fastboot"
+
+# HTC
+SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="adbusers"
+
+# Huawei
+SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="adbusers"
+
+# K-Touch
+SUBSYSTEM=="usb", ATTR{idVendor}=="24e3", MODE="0666", GROUP="adbusers"
+
+# KT Tech
+SUBSYSTEM=="usb", ATTR{idVendor}=="2116", MODE="0666", GROUP="adbusers"
+
+# Kyocera
+SUBSYSTEM=="usb", ATTR{idVendor}=="0482", MODE="0666", GROUP="adbusers"
+
+# Lenevo
+SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0666", GROUP="adbusers"
+
+# LG
+SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="adbusers"
+# LG (Swift) GT540
+SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", SYMLINK+="android_fastboot"
+
+# Motorola
+SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="adbusers"
+# -- Xoom ID 1
+SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a8",SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a8",SYMLINK+="android_fastboot"
+# -- Xoom ID 2
+SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9",SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9",SYMLINK+="android_fastboot"
+
+# NEC
+SUBSYSTEM=="usb", ATTR{idVendor}=="0409", MODE="0666", GROUP="adbusers"
+
+# Nook
+SUBSYSTEM=="usb", ATTR{idVendor}=="2080", MODE="0666", GROUP="adbusers"
+
+# Nvidia
+SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0666", GROUP="adbusers"
+
+# OTGV
+SUBSYSTEM=="usb", ATTR{idVendor}=="2257", MODE="0666", GROUP="adbusers"
+
+# Pantech
+SUBSYSTEM=="usb", ATTR{idVendor}=="10A9", MODE="0666", GROUP="adbusers"
+
+# Philips
+SUBSYSTEM=="usb", ATTR{idVendor}=="0471", MODE="0666", GROUP="adbusers"
+
+# PMC-Sierra
+SUBSYSTEM=="usb", ATTR{idVendor}=="04da", MODE="0666", GROUP="adbusers"
+
+# Qualcomm
+SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666", GROUP="adbusers"
+
+# SK Telesys
+SUBSYSTEM=="usb", ATTR{idVendor}=="1f53", MODE="0666", GROUP="adbusers"
+
+# Samsung
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="adbusers"
+# Galaxy Tab
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6877", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6877", SYMLINK+="android_fastboot"
+# Galaxy Tab 10.1
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685e", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685e", SYMLINK+="android_fastboot"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
+# Galaxy i5800
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="681c", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6601", SYMLINK+="android_fastboot"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="68a9", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
+# Galaxy i7500
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6640", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6640", SYMLINK+="android_fastboot"
+# Galaxy S
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6601", MODE="0666"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685d", MODE="0666"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="68c3", MODE="0666"
+
+# Sharp
+SUBSYSTEM=="usb", ATTR{idVendor}=="04dd", MODE="0666", GROUP="adbusers"
+
+# Sony Ericsson
+SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", GROUP="adbusers"
+
+# Toshiba
+SUBSYSTEM=="usb", ATTR{idVendor}=="0930", MODE="0666", GROUP="adbusers"
+
+# ZTE
+SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", MODE="0666", GROUP="adbusers"
+# Blade
+SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", ATTR{idProduct}=="1354", SYMLINK+="android_adb"
+SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", SYMLINK+="android_fastboot"
diff --git a/~lukeshu/android-udev/PKGBUILD b/~lukeshu/android-udev/PKGBUILD
new file mode 100644
index 000000000..d3028a0d9
--- /dev/null
+++ b/~lukeshu/android-udev/PKGBUILD
@@ -0,0 +1,23 @@
+#Mantainer M0Rf30
+#Contributor marlock
+pkgname=android-udev
+pkgver=0.6
+pkgrel=3
+pkgdesc='Udev rules to connect Android devices to your linux box'
+arch=('any')
+url="http://developer.android.com/guide/developing/device.html"
+license=('unknown')
+source=('51-android.rules')
+depends=('udev' 'libmtp')
+conflicts=('udev-android-rules')
+install='android-udev.install'
+
+
+build() {
+
+ mkdir -p $pkgdir/etc/udev/rules.d/
+ cp $srcdir/51-android.rules $pkgdir/etc/udev/rules.d/51-android.rules
+ chmod a+r $pkgdir/etc/udev/rules.d/51-android.rules
+
+}
+md5sums=('f3522d98be78faa7ca9ce2d71963f96c')
diff --git a/~lukeshu/android-udev/android-udev.install b/~lukeshu/android-udev/android-udev.install
new file mode 100644
index 000000000..c861f2b70
--- /dev/null
+++ b/~lukeshu/android-udev/android-udev.install
@@ -0,0 +1,15 @@
+post_install() {
+getent group adbusers >> /dev/null || /usr/sbin/groupadd adbusers || return 1
+/bin/cat << EOF
+===> In order to use adb, you have to be in the 'adbusers' group
+===> For that, use: gpasswd -a USERNAME adbusers
+EOF
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+getent group adbusers &>/dev/null && /usr/sbin/groupdel adbusers
+}
diff --git a/~lukeshu/dasm/PKGBUILD b/~lukeshu/dasm/PKGBUILD
new file mode 100644
index 000000000..79a7264b4
--- /dev/null
+++ b/~lukeshu/dasm/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
+
+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')
+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/pngcrush/LICENSE b/~lukeshu/pngcrush/LICENSE
new file mode 100644
index 000000000..3412dd04e
--- /dev/null
+++ b/~lukeshu/pngcrush/LICENSE
@@ -0,0 +1,42 @@
+
+NOTICES
+
+If you have modified this source, you may insert additional notices
+immediately after this sentence.
+
+COPYRIGHT:
+
+Copyright (C) 1998-2002,2006-2009 Glenn Randers-Pehrson
+ (glennrp at users.sf.net)
+Copyright (C) 2005 Greg Roelofs
+
+DISCLAIMERS:
+
+The pngcrush computer program is supplied "AS IS". The Author disclaims all
+warranties, expressed or implied, including, without limitation, the
+warranties of merchantability and of fitness for any purpose. The
+Author assumes no liability for direct, indirect, incidental, special,
+exemplary, or consequential damages, which may result from the use of
+the computer program, even if advised of the possibility of such damage.
+There is no warranty against interference with your enjoyment of the
+computer program or against infringement. There is no warranty that my
+efforts or the computer program will fulfill any of your particular purposes
+or needs. This computer program is provided with all faults, and the entire
+risk of satisfactory quality, performance, accuracy, and effort is with
+the user.
+
+LICENSE:
+
+Permission is hereby irrevocably granted to everyone to use, copy, modify,
+and distribute this source code, or portions hereof, or executable programs
+compiled from it, for any purpose, without payment of any fee, subject to
+the following restrictions:
+
+1. The origin of this source code must not be misrepresented.
+
+2. Altered versions must be plainly marked as such and must not be
+ misrepresented as being the original source.
+
+3. This Copyright notice, disclaimer, and license may not be removed
+ or altered from any source or altered source distribution.
+
diff --git a/~lukeshu/pngcrush/PKGBUILD b/~lukeshu/pngcrush/PKGBUILD
new file mode 100644
index 000000000..e3b477086
--- /dev/null
+++ b/~lukeshu/pngcrush/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributer: HuntXu <huntxu@live.cn>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=pngcrush
+pkgver=1.7.15
+pkgrel=1
+pkgdesc="A tool for optimizing the compression of PNG files"
+arch=('i686' 'x86_64')
+url="http://pmt.sourceforge.net/"
+license=('custom')
+depends=('glibc')
+source=(http://downloads.sourceforge.net/pmt/$pkgname-$pkgver.tar.xz
+ LICENSE)
+md5sums=('c21cf76d187dadd4c137e894dcb593bf'
+ 'e6446a786d939c98fcada57f9ae6de1f')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ # fix for better compression
+ sed -i 's|TOO_FAR 4096|TOO_FAR 32767|' deflate.c
+ make
+}
+
+package() {
+ install -Dm755 "$srcdir"/$pkgname-$pkgver/$pkgname \
+ "$pkgdir"/usr/bin/$pkgname
+ install -Dm644 $srcdir/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}