diff options
author | root <root@rshg054.dnsready.net> | 2012-01-19 23:15:04 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-19 23:15:04 +0000 |
commit | eefecc8813e0c062a2058b33209cb30830f824b6 (patch) | |
tree | f2dd237a65b4a8a3587da4cb6ac211ae6048911f /community | |
parent | 3e2075427791725d8e6a007feba107d94c017caf (diff) |
Thu Jan 19 23:15:03 UTC 2012
Diffstat (limited to 'community')
24 files changed, 568 insertions, 79 deletions
diff --git a/community/cdfs/PKGBUILD b/community/cdfs/PKGBUILD index b8797505e..99ea9bf89 100644 --- a/community/cdfs/PKGBUILD +++ b/community/cdfs/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 62176 2012-01-17 14:45:33Z spupykin $ +# $Id: PKGBUILD 62253 2012-01-18 19:54:16Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar> pkgname=cdfs pkgver=2.6.27 -pkgrel=18 +pkgrel=19 pkgdesc="File system module that 'exports' all tracks and boot images on a CD as normal files." arch=(i686 x86_64) url="http://www.elis.UGent.be/~ronsse/cdfs/" @@ -12,9 +12,11 @@ license=('GPL') makedepends=('linux-headers') install=cdfs.install source=("http://www.elis.UGent.be/~ronsse/cdfs/download/$pkgname-$pkgver.tar.bz2" - "cdfs-3.0.0.patch") + "cdfs-3.0.patch" + "cdfs-3.2.patch") md5sums=('ac64c014a90e3c488394832ea29605b3' - 'aba7da94a9dcbb8a93ea423cb6958fef') + 'aba7da94a9dcbb8a93ea423cb6958fef' + 'e934407b3460257a301822ffc4ab3933') build() { _kernver=`pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -` @@ -22,7 +24,9 @@ build() { _kernverfull=`cat /lib/modules/extramodules-3.${_kernver}-ARCH/version` cd $srcdir/$pkgname-$pkgver - patch -p1 <$srcdir/cdfs-3.0.0.patch + patch -p1 <$srcdir/cdfs-3.0.patch + patch -p1 <$srcdir/cdfs-3.2.patch make KDIR=/lib/modules/${_kernverfull}/build install -Dm0644 cdfs.ko $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/cdfs.ko + sed -i "s|extramodules-.*-ARCH|extramodules-3.${_kernver}-ARCH|" $startdir/cdfs.install } diff --git a/community/cdfs/cdfs-3.0.patch b/community/cdfs/cdfs-3.0.patch new file mode 100644 index 000000000..20194b848 --- /dev/null +++ b/community/cdfs/cdfs-3.0.patch @@ -0,0 +1,274 @@ +diff -wbBur cdfs-2.6.27/cddata.c cdfs-2.6.27.my/cddata.c +--- cdfs-2.6.27/cddata.c 2009-12-21 17:04:03.000000000 +0300 ++++ cdfs-2.6.27.my/cddata.c 2011-07-24 21:18:44.000000000 +0400 +@@ -83,7 +83,7 @@ + #else + .mmap = generic_file_readonly_mmap, + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) +- .sendfile = generic_file_sendfile ++// .sendfile = generic_file_sendfile + #else + .splice_read = generic_file_splice_read + #endif +diff -wbBur cdfs-2.6.27/root.c cdfs-2.6.27.my/root.c +--- cdfs-2.6.27/root.c 2009-12-21 16:38:31.000000000 +0300 ++++ cdfs-2.6.27.my/root.c 2011-07-25 13:16:59.000000000 +0400 +@@ -32,19 +30,14 @@ + * Added code to transform /proc/cdfs into a sequential synthetic file. * + *++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ + +- + #include <linux/seq_file.h> +- +-#ifndef OLD_KERNEL + #include <linux/statfs.h> +-#endif ++#include <linux/sched.h> + + extern struct seq_operations cdfs_operations; + extern struct _track_info *dummy_track_p; + +-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,24) + struct inode *cdfs_iget(struct super_block *sp, unsigned long ino); +-#endif + /*============================================================================* + * cdfs_open() * + * Description: * +@@ -115,15 +108,8 @@ + + /********************************************************************/ + +-#ifdef OLD_KERNEL +-static struct super_block * cdfs_mount(struct super_block *sb, void *data, int silent){ +- kdev_t dev = sb->s_dev; +- int i, j, t; +- struct cdrom_tochdr hdr; +-#else + static int cdfs_fill_super(struct super_block *sb, void *data, int silent){ + int i, t; +-#endif + struct cdrom_tocentry entry; + int no_audio=0, no_data=0; + cd * this_cd; +@@ -131,24 +117,13 @@ + + PRINT("cdfs_mount\n"); + +-#ifdef OLD_KERNEL +- MOD_INC_USE_COUNT; +- +- set_blocksize(dev, CD_FRAMESIZE); // voor bread met ide-cd +-#else + sb_set_blocksize(sb, CD_FRAMESIZE); // voor bread met ide-cd +-#endif + + sb->s_blocksize = CD_FRAMESIZE; + sb->s_blocksize_bits = 11; + + if (!(this_cd = cdfs_info(sb) = kmalloc(sizeof(cd), GFP_KERNEL))){ +-#ifdef OLD_KERNEL +- MOD_DEC_USE_COUNT; +- return NULL; +-#else + return -ENOMEM; +-#endif + } + + this_cd->mode = MODE; +@@ -160,13 +135,8 @@ + + // Initialize cache for maximum sector size + if (!(this_cd->cache = kmalloc(CD_FRAMESIZE_RAWER*CACHE_SIZE, GFP_KERNEL))) { +-#ifdef OLD_KERNEL +- MOD_DEC_USE_COUNT; +- return NULL; +-#else + kfree(cdfs_info(sb)); + return -ENOMEM; +-#endif + } + + // Cache is still invalid +@@ -183,23 +153,13 @@ + if (this_cd->toc_scsi){ + if (cdfs_toc_read_full(sb)){ + printk("TOC read failed\n"); +-#ifdef OLD_KERNEL +- MOD_DEC_USE_COUNT; +- return NULL; +-#else + goto invalid; +-#endif + } + } else { + //if (cdfs_ioctl(sb, CDROMREADTOCHDR, (unsigned long)&hdr)){ + if (cdfs_toc_read(sb)){ + printk("cdfs_toc_read failed\n"); +-#ifdef OLD_KERNEL +- MOD_DEC_USE_COUNT; +- return NULL; +-#else + goto invalid; +-#endif + } + } + +@@ -365,11 +325,7 @@ + sb->s_flags |= MS_RDONLY; + sb->s_op = &cdfs_ops; + /* always get inode status */ +-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,24) + retinode=cdfs_iget(sb, 0); +-#else +- retinode=iget(sb, 0); +-#endif + if ( IS_ERR(retinode) ) + return PTR_ERR(retinode); + +@@ -379,16 +335,12 @@ + + cdfs_proc_cd = this_cd; + +-#ifdef OLD_KERNEL +- return sb; +-#else + return 0; + + invalid: + kfree(this_cd->cache); + kfree(cdfs_info(sb)); + return -EINVAL; +-#endif + } + + /************************************************************************/ +@@ -410,27 +362,12 @@ + // Remove /proc entry + cdfs_proc_cd = NULL; + kfree(cdfs_info(sb)); +- +-#ifdef OLD_KERNEL +- MOD_DEC_USE_COUNT; +-#endif +- + } + + /************************************************************************/ + +-#ifdef OLD_KERNEL +-static int cdfs_statfs(struct super_block *sb, struct statfs *buf) { +- cd * this_cd = cdfs_info(sb); +-#else +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) + static int cdfs_statfs(struct dentry *d, struct kstatfs *buf) { + cd * this_cd = cdfs_info(d->d_sb); +-#else +-static int cdfs_statfs(struct super_block *sb, struct kstatfs *buf) { +- cd * this_cd = cdfs_info(sb); +-#endif +-#endif + PRINT("rmfs_statfs\n"); + + buf->f_type = CDFS_MAGIC; +@@ -460,11 +397,7 @@ + + /************************************************************************/ + +-#ifdef OLD_KERNEL +-static struct dentry * cdfs_lookup(struct inode *dir, struct dentry *dentry){ +-#else + static struct dentry * cdfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd){ +-#endif + struct inode * inode; + int i; + cd * this_cd = cdfs_info(dir->i_sb); +@@ -480,15 +413,9 @@ + /* Use goto and read inode with iget()/cdfs_iget() */ + /* Thanks to David Howells for patch and Master class in his mail */ + found: +-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,24) + inode = cdfs_iget(dir->i_sb, i); + if (IS_ERR(inode)) + return ERR_CAST(inode); +-#else +- inode = iget(dir->i_sb, i); +- if (!inode) +- return ERR_PTR(-ENOMEM); +-#endif + d_add(dentry, inode); + return NULL; + } +@@ -529,12 +456,8 @@ + i->i_fop = &cdfs_dir_operations; + } else { /* file */ + i->i_size = this_cd->track[i->i_ino].size; +-#ifdef OLD_KERNEL +- i->i_mtime = i->i_atime = i->i_ctime = this_cd->track[i->i_ino].time; +-#else + i->i_mtime.tv_sec = i->i_atime.tv_sec = i->i_ctime.tv_sec = this_cd->track[i->i_ino].time; + i->i_mtime.tv_nsec = i->i_atime.tv_nsec = i->i_ctime.tv_nsec = 0; +-#endif + i->i_mode = this_cd->mode; + if ((this_cd->track[i->i_ino].type==DATA) && this_cd->track[i->i_ino].iso_size) { + i->i_fop = &cdfs_cddata_file_operations; +@@ -587,33 +510,21 @@ + /******************************************************************/ + + static struct super_operations cdfs_ops = { +-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) +- .read_inode = cdfs_read_inode, +-#endif + .put_super = cdfs_umount, + .statfs = cdfs_statfs + }; + +-#ifdef OLD_KERNEL +-static DECLARE_FSTYPE_DEV(cdfs_fs_type, FSNAME, cdfs_mount); +-#else +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) +-static int cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) { +- return get_sb_bdev(fs_type, flags, dev_name, data, cdfs_fill_super, mnt); +-#else +-static struct super_block *cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) { +- return get_sb_bdev(fs_type, flags, dev_name, data, cdfs_fill_super); +-#endif +-} ++//static int cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) { ++// return get_sb_bdev(fs_type, flags, dev_name, data, cdfs_fill_super, mnt); ++//} + + static struct file_system_type cdfs_fs_type = { + .owner = THIS_MODULE, + .name = "cdfs", +- .get_sb = cdfs_get_sb, ++// .get_sb = cdfs_get_sb, + .kill_sb = kill_block_super, + .fs_flags = FS_REQUIRES_DEV + }; +-#endif + + /******************************************************/ + +@@ -621,10 +532,6 @@ + MODULE_DESCRIPTION("CDfs: a CD filesystem"); + MODULE_LICENSE("GPL"); + +-#ifdef OLD_KERNEL +-EXPORT_NO_SYMBOLS; +-#endif +- + /******************************************************************/ + + static int __init cdfs_init(void) { +@@ -676,11 +583,7 @@ + + if (!options) return; + +-#ifdef OLD_KERNEL +- for (this_char = strtok(options,","); this_char; this_char = strtok(NULL,",")) { +-#else + while ((this_char = strsep(&options,",")) != NULL) { +-#endif + + if (!strcmp(this_char,"single")) + this_cd->single=TRUE; diff --git a/community/cdfs/cdfs-3.2.patch b/community/cdfs/cdfs-3.2.patch new file mode 100644 index 000000000..d3300bdbc --- /dev/null +++ b/community/cdfs/cdfs-3.2.patch @@ -0,0 +1,12 @@ +diff -wbBur cdfs-2.6.27/root.c cdfs-2.6.27.my/root.c +--- cdfs-2.6.27/root.c 2009-12-21 16:38:31.000000000 +0300 ++++ cdfs-2.6.27.my/root.c 2012-01-18 11:23:03.000000000 +0400 +@@ -517,7 +517,7 @@ + + i->i_uid = this_cd->uid; + i->i_gid = this_cd->gid; +- i->i_nlink = 1; ++ i->__i_nlink = 1; + i->i_op = &cdfs_inode_operations; + i->i_fop = NULL; + i->i_data.a_ops = NULL; diff --git a/community/cdfs/cdfs.install b/community/cdfs/cdfs.install index d20b4c664..d24929157 100644 --- a/community/cdfs/cdfs.install +++ b/community/cdfs/cdfs.install @@ -1,14 +1,14 @@ post_install() { - EXTRAMODULES='extramodules-3.1-ARCH' + EXTRAMODULES='extramodules-3.2-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } post_upgrade() { - EXTRAMODULES='extramodules-3.1-ARCH' + EXTRAMODULES='extramodules-3.2-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } post_remove() { - EXTRAMODULES='extramodules-3.1-ARCH' + EXTRAMODULES='extramodules-3.2-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } diff --git a/community/clucene/PKGBUILD b/community/clucene/PKGBUILD index 87e7ffbcd..405ebf7ee 100644 --- a/community/clucene/PKGBUILD +++ b/community/clucene/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 60839 2011-12-18 22:57:14Z arodseth $ +# $Id: PKGBUILD 62283 2012-01-19 00:04:00Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Alois Nespor <alois.nespor@gmail.com> # Contributor: Tobias Powalowski <tpowa@archlinux.org> pkgname=clucene pkgver=2.3.3.4 -pkgrel=2 +pkgrel=3 pkgdesc="C++ port of the high-performance text search engine Lucene" arch=('x86_64' 'i686') url="http://clucene.sourceforge.net/" @@ -17,6 +17,9 @@ sha256sums=('ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab') build() { cd "$srcdir" + sed 's:core:core -lclucene-shared:' \ + -i "$pkgname-core-$pkgver/src/core/libclucene-core.pc.cmake" + mkdir build cd build cmake "../$pkgname-core-$pkgver" \ @@ -25,9 +28,6 @@ build() { -DENABLE_ASCII_MODE=OFF \ -DENABLE_PACKAGING=OFF \ -DDISABLE_MULTITHREADING=OFF - # The three lines above are from - # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-cpp/clucene/clucene-2.3.3.4.ebuild - # Thanks, Gentoo make } diff --git a/community/coq/PKGBUILD b/community/coq/PKGBUILD index ede4757ef..2f2750606 100644 --- a/community/coq/PKGBUILD +++ b/community/coq/PKGBUILD @@ -2,16 +2,17 @@ # Contributor: George Giorgidze <giorgidze@gmail.com> pkgname=coq -pkgver=8.3pl2 -pkgrel=3 +pkgver=8.3pl3 +pkgrel=1 pkgdesc='Formal proof management system.' arch=('i686' 'x86_64') url='http://coq.inria.fr/' license=('GPL') -depends=('gtk2') -makedepends=('ocaml' 'lablgtk2' 'camlp5-transitional' 'netpbm' 'hevea') +options=('!emptydirs') +depends=('gtk2' 'lablgtk2' 'ocaml') +makedepends=('camlp5-transitional' 'netpbm' 'hevea') source=("http://coq.inria.fr/distrib/V${pkgver}/files/${pkgname}-${pkgver}.tar.gz") -md5sums=('db415f6c5372f5a443699c62f5affcb4') +md5sums=('37e9a52110a025128667c03fed75f9c2') build() { cd ${pkgname}-${pkgver} diff --git a/community/gnash/PKGBUILD b/community/gnash/PKGBUILD index 8b5849e88..df42c396b 100644 --- a/community/gnash/PKGBUILD +++ b/community/gnash/PKGBUILD @@ -1,10 +1,10 @@ # $Id: PKGBUILD 82896 2010-06-18 18:30:20Z ibiru $ -# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgbase=gnash pkgname=(gnash-common gnash-gtk) pkgver=0.8.9 -pkgrel=7 +pkgrel=8 arch=(i686 x86_64) url="http://www.gnu.org/software/gnash/" license=(GPL3) @@ -15,10 +15,11 @@ makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool pkgconfig boost) options=(!libtool !emptydirs) source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2 - gentoo-ffmpeg-0.8.patch xul8.patch) -md5sums=('5b2be6b04a1bcc5fb404cc377034499e' - '98dec9a5c1b1084245a3f46b4022a6e2' - '9b77325d0b8b9d4150c4097771482d26') + gentoo-ffmpeg-0.8.patch xul8.patch nodebug.patch) +sha256sums=('f90dbdc6f03d787b239b9edacbea077b46d69ae9d85f08af23f256af389c48bd' + '5e6b9c2ccb0f6dda70745712dddf302d2b42895feda850f2ed126bf53d8815ca' + 'd484f1c21ef71847a2d4b3dd254d1fa93a58719d45bc9df8b8deabee388ce4e9' + '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551') build() { cd "$srcdir/gnash-$pkgver" @@ -30,6 +31,9 @@ build() { # Patch for compatibility with newer xulrunner headers patch -Np1 -i "$srcdir/xul8.patch" + # Disable very, very verbose debugging (gigabytes of logs) + patch -Np1 -i "$srcdir/nodebug.patch" + ./autogen.sh ./configure \ --prefix=/usr \ diff --git a/community/gnash/nodebug.patch b/community/gnash/nodebug.patch new file mode 100644 index 000000000..ca160b898 --- /dev/null +++ b/community/gnash/nodebug.patch @@ -0,0 +1,48 @@ +diff -u -r gnash-0.8.9/libbase/log.h gnash-0.8.9-nodebug/libbase/log.h +--- gnash-0.8.9/libbase/log.h 2011-02-26 19:11:08.000000000 +0100 ++++ gnash-0.8.9-nodebug/libbase/log.h 2012-01-18 09:39:02.004103494 +0100 +@@ -331,27 +331,27 @@ + + // Define to 0 to completely remove parse debugging at compile-time + #ifndef VERBOSE_PARSE +-#define VERBOSE_PARSE 1 ++#define VERBOSE_PARSE 0 + #endif + + // Define to 0 to completely remove action debugging at compile-time + #ifndef VERBOSE_ACTION +-#define VERBOSE_ACTION 1 ++#define VERBOSE_ACTION 0 + #endif + + // Define to 0 to remove ActionScript errors verbosity at compile-time + #ifndef VERBOSE_ASCODING_ERRORS +-#define VERBOSE_ASCODING_ERRORS 1 ++#define VERBOSE_ASCODING_ERRORS 0 + #endif + + // Define to 0 this to remove invalid SWF verbosity at compile-time + #ifndef VERBOSE_MALFORMED_SWF +-#define VERBOSE_MALFORMED_SWF 1 ++#define VERBOSE_MALFORMED_SWF 0 + #endif + + // Define to 0 this to remove Networking verbosity at compile-time + #ifndef VERBOSE_NETWORKING +-#define VERBOSE_NETWORKING 1 ++#define VERBOSE_NETWORKING 0 + #endif + + #if VERBOSE_PARSE +diff -u -r gnash-0.8.9/libcore/vm/ActionExec.cpp gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp +--- gnash-0.8.9/libcore/vm/ActionExec.cpp 2011-03-13 17:47:36.000000000 +0100 ++++ gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp 2012-01-18 09:40:25.653458508 +0100 +@@ -46,7 +46,7 @@ + // too much information for my tastes. I really want just + // to see how stack changes while executing actions... + // --strk Fri Jun 30 02:28:46 CEST 2006 +-# define DEBUG_STACK 1 ++//# define DEBUG_STACK 1 + + // Max number of stack item to dump. 0 for unlimited. + # define STACK_DUMP_LIMIT 32 diff --git a/community/gtkwave/PKGBUILD b/community/gtkwave/PKGBUILD index e993ed0f3..86db9c11c 100644 --- a/community/gtkwave/PKGBUILD +++ b/community/gtkwave/PKGBUILD @@ -1,9 +1,10 @@ -# $Id: PKGBUILD 58564 2011-11-15 03:42:53Z ebelanger $ -# Maintainer: Thomas Dziedzic < gostrc at gmail > +# $Id: PKGBUILD 62223 2012-01-18 16:26:00Z kkeen $ +# Maintainer: Kyle Keen <keenerd@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Jared Casper <jaredcasper@gmail.com> pkgname=gtkwave -pkgver=3.3.28 +pkgver=3.3.30 pkgrel=1 pkgdesc='A wave viewer which reads LXT, LXT2, VZT, GHW and VCD/EVCD files' arch=('i686' 'x86_64') @@ -13,7 +14,7 @@ depends=('bzip2' 'xz' 'gtk2') makedepends=('gperf') install='gtkwave.install' source=("http://gtkwave.sourceforge.net/gtkwave-${pkgver}.tar.gz") -md5sums=('396cc15cfc12801c9ad6af507ee4a0f1') +md5sums=('44e784b13734123036dcd6890cff7f53') build() { cd "${srcdir}/gtkwave-${pkgver}" @@ -30,8 +31,6 @@ package() { make DESTDIR="${pkgdir}" install - install -D -m644 "${srcdir}/gtkwave-${pkgver}/.gtkwaverc" \ - "${pkgdir}/usr/share/gtkwave/sample.gtkwaverc" install -D -m644 "${srcdir}/gtkwave-${pkgver}/LICENSE.TXT" \ "${pkgdir}/usr/share/licenses/gtkwave/LICENSE.TXT" install -D -m644 "${srcdir}/gtkwave-${pkgver}/MIT.TXT" \ diff --git a/community/gtkwave/gtkwave.install b/community/gtkwave/gtkwave.install index 3c64a44d6..bc2e66b0d 100644 --- a/community/gtkwave/gtkwave.install +++ b/community/gtkwave/gtkwave.install @@ -1,5 +1,5 @@ post_install() { - echo 'Make sure you copy the /usr/share/gtkwave/sample.gtkwaverc file to' + echo 'Make sure you copy the /usr/share/gtkwave/examples/gtkwaverc file to' echo 'your home directory (as .gtkwaverc) or to your VCD project directory.' echo 'It contains the prefs for a good configuration that most people find' echo 'ergonomic. It is not strictly necessary however.' diff --git a/community/open-vm-tools-modules/PKGBUILD b/community/open-vm-tools-modules/PKGBUILD index 4807e3623..9134e0841 100644 --- a/community/open-vm-tools-modules/PKGBUILD +++ b/community/open-vm-tools-modules/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 62178 2012-01-17 14:46:25Z spupykin $ +# $Id: PKGBUILD 62251 2012-01-18 19:54:06Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Krzysztof Raczkowski <raczkow@gmail.com> pkgname=open-vm-tools-modules pkgver=2011.12.20 _pkgsubver=562307 -pkgrel=2 +pkgrel=3 pkgdesc="kernel modules for the open source implementation of VMware Tools" arch=('i686' 'x86_64') url="http://open-vm-tools.sourceforge.net/" @@ -28,7 +28,7 @@ build() { --without-x --with-kernel-release=$KERNEL_RELEASE cd modules - echo '#define COMPAT_LINUX_VERSION_CHECK_LT(a, b, c) 1' >>linux/shared/compat_version.h +# echo '#define COMPAT_LINUX_VERSION_CHECK_LT(a, b, c) 1' >>linux/shared/compat_version.h make modules } @@ -46,4 +46,5 @@ package() { gzip $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/*.ko install -D -m 644 ${srcdir}/modprobe.conf ${pkgdir}/etc/modprobe.d/${pkgname}.conf + sed -i "s|extramodules-.*-ARCH|extramodules-3.${_kernver}-ARCH|" $startdir/$pkgname.install } diff --git a/community/pax-utils/PKGBUILD b/community/pax-utils/PKGBUILD new file mode 100644 index 000000000..25e86bdbf --- /dev/null +++ b/community/pax-utils/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 62235 2012-01-18 17:21:27Z tredaelli $ +# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> +# Contributor: sh0 <mee@sh0.org> +# Contributor: Maxwel <msg.maxwel@gmail.com> + +pkgname=pax-utils +pkgver=0.2.3 +pkgrel=1 +pkgdesc='ELF related utils for ELF 32/64 binaries that can check files for security relevant properties' +url='http://hardened.gentoo.org/pax-utils.xml' +arch=('i686' 'x86_64') +license=('GPL') +depends=('bash' 'libcap') +checkdepends=('python2') +source=("http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz") +md5sums=('d2d27891742d14d81b205cf4e42de28a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's/python /python2 /' tests/source/dotest + make USE_CAP='yes' +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/pokerth/PKGBUILD b/community/pokerth/PKGBUILD index b7008bb82..7e1d7006d 100644 --- a/community/pokerth/PKGBUILD +++ b/community/pokerth/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 61635 2012-01-05 05:53:39Z bpiotrowski $ +# $Id: PKGBUILD 62237 2012-01-18 17:30:42Z bpiotrowski $ # Maintainer: Mateusz Herych <heniekk@gmail.com> # Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com> # Contributor: Vasco Costa <vasco.costa@meiodigital.com> pkgname=pokerth _realname=PokerTH -pkgver=0.9 +pkgver=0.9.1 pkgrel=1 pkgdesc="Poker game written in C++/QT4" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ depends=('curl' 'boost-libs>=1.43.0' 'gsasl' 'gnutls' 'qt' 'sdl_mixer' 'libircclient' 'tinyxml') makedepends=('boost') source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2) -md5sums=('849eb1a70735177c96bf4608d4637c7c') +md5sums=('c22ec528ebb47c44b93149b63619004f') build() { cd "$srcdir/$_realname-$pkgver-src" diff --git a/community/python2-basemap/PKGBUILD b/community/python2-basemap/PKGBUILD index 23d82a237..bb82fc98c 100644 --- a/community/python2-basemap/PKGBUILD +++ b/community/python2-basemap/PKGBUILD @@ -1,28 +1,25 @@ -# $Id: PKGBUILD 51032 2011-07-04 14:39:21Z stephane $ +# $Id: PKGBUILD 62219 2012-01-18 13:46:59Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Julien Morin <jmorin@cp.dias.ie> pkgname=python2-basemap -pkgver=1.0.1 -pkgrel=2 +pkgver=1.0.2 +pkgrel=1 pkgdesc="Toolkit for plotting data on map projections" arch=('i686' 'x86_64') url="http://matplotlib.sourceforge.net/basemap/doc/html/" license=('custom') depends=('python2-matplotlib' 'geos' 'shapelib' 'python2-numpy' 'python2-httplib2') -makedepends=('python2-distribute') optdepends=('python-imaging: Python Imaging Library is only needed for bluemarble and warpimage methods.') -provides=('python-matplotlib-basemap') -replaces=('python-matplotlib-basemap') -conflicts=('python-matplotlib-basemap') source=("http://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/basemap-${pkgver}/basemap-${pkgver}.tar.gz") -sha1sums=('bd278580c004ec597020e313cc2c568593a018eb') +sha1sums=('234cdf591e6217de78452d7be2500781c85f5fb4') build() { cd "${srcdir}/basemap-${pkgver}" # Remove the bundled librarie rm -r geos-?.?.? + sed -i "s/lib64/lib/g" setup.py python2 setup.py config @@ -40,8 +37,8 @@ package() { rm "${pkgdir}"/usr/lib/python${_pybasever}/site-packages/mpl_toolkits/__init__.{py,pyc,pyo} # License - install -Dm644 LICENSE_data "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm644 LICENSE_pyshapelib "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 LICENSE_data "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 LICENSE_pyshp "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 LICENSE_proj4 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/community/qtspim/PKGBUILD b/community/qtspim/PKGBUILD new file mode 100644 index 000000000..a1ac5584b --- /dev/null +++ b/community/qtspim/PKGBUILD @@ -0,0 +1,63 @@ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com> + +pkgname=qtspim +pkgver=9.1.5 +pkgrel=1 +pkgdesc="New user interface for spim, a MIPS simulator." +arch=('i686' 'x86_64') +url="http://spimsimulator.sourceforge.net/" +license=('BSD') +depends=('qt') +makedepends=('subversion') + +__svntrunk="https://spimsimulator.svn.sourceforge.net/svnroot/spimsimulator" +__svnmod=('QtSpim' 'CPU' 'Documentation' 'Setup') +__svnrev=592 + +build() { + cd "$srcdir" + msg "Connecting to SVN server...." + + for i in "${__svnmod[@]}"; do + if [[ -d "$i/.svn" ]]; then + (cd "$i" && svn up -r "$__svnrev") + else + svn co "$__svntrunk/$i" --config-dir ./ -r "$__svnrev" "$i" + fi + done + + msg "SVN checkout done or server timeout" + msg "Starting build..." + + rm -rf "$srcdir/build" + mkdir "$srcdir/build" + for i in "${__svnmod[@]}"; do + cp -r "$srcdir/$i" "$srcdir/build" + done + cd "$srcdir/build/QtSpim" + + qmake + make +} + +package() { + cd "$srcdir/build/QtSpim" + + install -Dm755 QtSpim "$pkgdir/usr/bin/qtspim" + + install -dm755 "$pkgdir/usr/share/qtspim" + cp -r help "$pkgdir/usr/share/qtspim" + rm -rf "$pkgdir/usr/share/qtspim/help/.svn" + + cd "$srcdir/build" + + install -Dm644 Documentation/spim.man "$pkgdir/usr/share/man/man1/qtspim.1" + install -Dm644 Setup/qtspim_debian_deployment/qtspim.desktop \ + "$pkgdir/usr/share/applications/qtspim.desktop" + install -Dm644 Setup/qtspim_debian_deployment/copyright \ + "$pkgdir/usr/share/licenses/$pkgname/copyright" + install -Dm644 Setup/NewIcon48x48.png "$pkgdir/usr/share/qtspim/qtspim.png" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/r8168-lts/PKGBUILD b/community/r8168-lts/PKGBUILD index 254303c85..3e9caf37d 100644 --- a/community/r8168-lts/PKGBUILD +++ b/community/r8168-lts/PKGBUILD @@ -4,17 +4,17 @@ pkgname=r8168-lts _pkgname=r8168 pkgver=8.027.00 -pkgrel=2 +pkgrel=3 pkgdesc="A kernel module for Realtek 8168 network cards for kernel26-lts" url="http://www.realtek.com.tw" license=("GPL") arch=('i686' 'x86_64') -depends=('glibc' "kernel26-lts>=2.6.32" "kernel26-lts<2.6.33") -makedepends=("kernel26-lts-headers>=2.6.32" "kernel26-lts-headers<2.6.33") +depends=('glibc' "linux-lts>=3.0" "linux-lts<3.1") +makedepends=("linux-lts-headers>=3.0" "linux-lts-headers<3.1") source=(http://r8168.googlecode.com/files/$_pkgname-$pkgver.tar.bz2) install=$pkgname.install -_extramodules=extramodules-2.6.32-lts +_extramodules=extramodules-3.0-lts _kernver="$(cat /lib/modules/$_extramodules/version || true)" build() { diff --git a/community/r8168-lts/r8168-lts.install b/community/r8168-lts/r8168-lts.install index fd4f92f63..2aab9e1e3 100644 --- a/community/r8168-lts/r8168-lts.install +++ b/community/r8168-lts/r8168-lts.install @@ -1,5 +1,5 @@ rebuild_module_dependencies() { - EXTRAMODULES='extramodules-2.6.32-lts' + EXTRAMODULES='extramodules-3.0-lts' depmod $(cat /lib/modules/$EXTRAMODULES/version) } diff --git a/community/roxterm/PKGBUILD b/community/roxterm/PKGBUILD index 16fdce082..7123e83fa 100644 --- a/community/roxterm/PKGBUILD +++ b/community/roxterm/PKGBUILD @@ -1,32 +1,32 @@ -# $Id: PKGBUILD 56631 2011-10-09 09:38:40Z ttopper $ +# $Id: PKGBUILD 62226 2012-01-18 16:36:56Z ttopper $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Alexander Fehr <pizzapunk gmail com> pkgname=roxterm -pkgver=2.2.2 +pkgver=2.4.2 pkgrel=1 pkgdesc="Tabbed, VTE-based terminal emulator" arch=('i686' 'x86_64') url="http://roxterm.sourceforge.net/" license=('GPL3') -depends=('dbus-glib' 'vte3' 'hicolor-icon-theme' 'dbus' 'dbus-core' 'glib2') -makedepends=('docbook-xsl' 'xmlto' 'po4a') +depends=('dbus-glib' 'vte3' 'hicolor-icon-theme' 'libsm') +makedepends=('docbook-xsl' 'xmlto' 'po4a' 'python2' 'python2-lockfile' 'imagemagick' 'librsvg') install=roxterm.install -source=(http://downloads.sourceforge.net/roxterm/roxterm-$pkgver.tar.gz) -sha1sums=('e51f24e045fb7ecc38ea0f17b06ed2de3aec92cf') -md5sums=('ad3c2e92c588ab312e8b199a9082efcd') +source=("http://downloads.sourceforge.net/roxterm/roxterm-$pkgver.tar.bz2") +sha1sums=('663f5ffedebde550317cff4b3e61d2772881cd2f') +md5sums=('7c3bb1471f814a8bfdfcf169ad18e425') build() { cd "${srcdir}/roxterm-${pkgver}" - ./configure --prefix=/usr - make + python2 mscript.py configure + python2 mscript.py build } package() { cd "${srcdir}/roxterm-${pkgver}" - make DESTDIR="${pkgdir}" install + python2 mscript.py install --destdir=${pkgdir} --prefix="usr" } # vim:set ts=2 sw=2 et: diff --git a/community/smalltalk/PKGBUILD b/community/smalltalk/PKGBUILD index 2522e8a89..eeacd6d27 100644 --- a/community/smalltalk/PKGBUILD +++ b/community/smalltalk/PKGBUILD @@ -1,19 +1,23 @@ -# $Id: PKGBUILD 59718 2011-11-29 13:35:33Z stephane $ +# $Id: PKGBUILD 62241 2012-01-18 17:54:17Z tdziedzic $ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: mrshpot <mrshpot at gmail dot com> # Contributor: Michael Fellinger <m.fellinger@gmail.com> pkgname=smalltalk pkgver=3.2.4 -pkgrel=3 +pkgrel=4 pkgdesc='A free implementation of Smalltalk-80 by the GNU project' url='http://smalltalk.gnu.org/' license=('GPL' 'LGPL') arch=('i686' 'x86_64') -options=('!libtool') +options=('!libtool' '!emptydirs') -depends=('gmp' 'libffi' 'libsigsegv' 'readline') +depends=('gmp' 'libffi' 'libsigsegv' 'readline' 'libltdl') makedepends=('gdbm' 'gtk2' 'sqlite3' 'tk' 'zip') +optdepends=('tk: for gst-blox' + 'sqlite3' + 'sed: for examples' + 'gtk2') source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('a36a7c9beddca08dc492b500738efc82') @@ -30,8 +34,16 @@ build() { --with-readline \ --with-tcl --with-tk \ --with-x --without-emacs + make } + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make check +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="$pkgdir" install diff --git a/community/stk/PKGBUILD b/community/stk/PKGBUILD index 353f5cb1e..498763465 100644 --- a/community/stk/PKGBUILD +++ b/community/stk/PKGBUILD @@ -3,7 +3,7 @@ pkgname=stk pkgver=4.4.2 -pkgrel=5 +pkgrel=6 pkgdesc="The Synthesis ToolKit in C++" arch=('i686' 'x86_64') url="http://ccrma.stanford.edu/software/stk/" @@ -80,6 +80,9 @@ package() { # install license install -Dm644 ../$pkgname.license \ "$pkgdir/usr/share/licenses/stk/LICENSE" + + # remove .DS_Store directory: https://bugs.archlinux.org/task/25255 + rm -rf ${pkgdir}/usr/lib/stk/rawwaves/.DS_Store } # vim:set ts=2 sw=2 et: diff --git a/community/stk/stk.license b/community/stk/stk.license new file mode 100644 index 000000000..613db6ddd --- /dev/null +++ b/community/stk/stk.license @@ -0,0 +1,39 @@ +The Synthesis ToolKit in C++ (STK) is a set of open source audio +signal processing and algorithmic synthesis classes written in the +C++ programming language. STK was designed to facilitate rapid +development of music synthesis and audio processing software, with +an emphasis on cross-platform functionality, realtime control, +ease of use, and educational example code. STK currently runs +with realtime support (audio and MIDI) on Linux, Macintosh OS X, +and Windows computer platforms. Generic, non-realtime support has +been tested under NeXTStep, Sun, and other platforms and should +work with any standard C++ compiler. + +STK WWW site: http://ccrma.stanford.edu/software/stk/ + +The Synthesis ToolKit in C++ (STK) +Copyright (c) 1995-2010 Perry R. Cook and Gary P. Scavone + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +Any person wishing to distribute modifications to the Software is +asked to send the modifications to the original developer so that they +can be incorporated into the canonical version. This is, however, not +a binding provision of this license. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/community/virtualbox-modules/PKGBUILD b/community/virtualbox-modules/PKGBUILD index b4fa346e8..8ff5888e8 100644 --- a/community/virtualbox-modules/PKGBUILD +++ b/community/virtualbox-modules/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 60898 2011-12-19 18:08:36Z ibiru $ +# $Id: PKGBUILD 62232 2012-01-18 17:19:12Z ibiru $ #Maintainer: Ionut Biru <ibiru@archlinux.org> pkgbase=virtualbox-modules pkgname=('virtualbox-modules' 'virtualbox-archlinux-modules') pkgver=4.1.8 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') @@ -16,7 +16,7 @@ md5sums=('2092bba46baa62fab5520d67dee2ece8' '4c88bd122677a35f68abd76eb01b378b' 'ed1341881437455d9735875ddf455fbe') -_extramodules=extramodules-3.1-ARCH +_extramodules=extramodules-3.2-ARCH _kernver="$(cat /lib/modules/${_extramodules}/version || true)" export KERN_DIR=/lib/modules/${_kernver}/build @@ -51,7 +51,7 @@ package_virtualbox-archlinux-modules(){ pkgdesc="Additions only for Arch Linux guests (kernel modules)" license=('GPL') install=virtualbox-archlinux-modules.install - depends=('linux>=3.1' 'linux<3.2') + depends=('linux>=3.2' 'linux<3.3') replaces=('virtualbox-guest-modules') conflicts=('virtualbox-guest-modules') @@ -76,7 +76,7 @@ package_virtualbox-modules(){ pkgdesc="Kernel modules for VirtualBox" license=('GPL') install=virtualbox-modules.install - depends=('linux>=3.1' 'linux<3.2') + depends=('linux>=3.2' 'linux<3.3') source "$srcdir/VirtualBox-${pkgver}_OSE/env.sh" diff --git a/community/virtualbox-modules/virtualbox-archlinux-modules.install b/community/virtualbox-modules/virtualbox-archlinux-modules.install index 39a0e4063..74af049cc 100644 --- a/community/virtualbox-modules/virtualbox-archlinux-modules.install +++ b/community/virtualbox-modules/virtualbox-archlinux-modules.install @@ -2,16 +2,16 @@ post_install() { cat << EOF ===> You may want to load vboxguest, vboxsf and vboxvideo EOF - EXTRAMODULES='extramodules-3.1-ARCH' + EXTRAMODULES='extramodules-3.2-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } post_upgrade() { - EXTRAMODULES='extramodules-3.1-ARCH' + EXTRAMODULES='extramodules-3.2-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } post_remove() { - EXTRAMODULES='extramodules-3.1-ARCH' + EXTRAMODULES='extramodules-3.2-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } diff --git a/community/virtualbox-modules/virtualbox-modules.install b/community/virtualbox-modules/virtualbox-modules.install index ec29d3a87..eeab16ca9 100644 --- a/community/virtualbox-modules/virtualbox-modules.install +++ b/community/virtualbox-modules/virtualbox-modules.install @@ -3,17 +3,17 @@ post_install() { ===> You must load vboxdrv module before starting VirtualBox: ===> # modprobe vboxdrv EOF - EXTRAMODULES='extramodules-3.1-ARCH' + EXTRAMODULES='extramodules-3.2-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } post_upgrade() { - EXTRAMODULES='extramodules-3.1-ARCH' + EXTRAMODULES='extramodules-3.2-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) echo 'In order to use the new version, reload all virtualbox modules manually.' } post_remove() { - EXTRAMODULES='extramodules-3.1-ARCH' + EXTRAMODULES='extramodules-3.2-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } |