diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-13 03:42:46 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-13 03:42:46 +0000 |
commit | bcefa96cbc68f340b2aa11c108353993db074e76 (patch) | |
tree | 6891076b95494e90c5b7a9fd3628ea56e17588b5 /community | |
parent | 61e090957dbc6b062f3a1af7eeb0d58478c6657d (diff) |
Mon Jan 13 03:38:11 UTC 2014
Diffstat (limited to 'community')
-rw-r--r-- | community/gambas3/PKGBUILD | 4 | ||||
-rw-r--r-- | community/gtkimageview/PKGBUILD | 12 | ||||
-rw-r--r-- | community/mediainfo-gui/PKGBUILD | 25 | ||||
-rw-r--r-- | community/mediainfo-gui/mediainfo-gui.install | 1 | ||||
-rw-r--r-- | community/openimageio/PKGBUILD | 16 | ||||
-rw-r--r-- | community/openshadinglanguage/PKGBUILD | 15 | ||||
-rw-r--r-- | community/pidgin-talkfilters/PKGBUILD | 27 | ||||
-rw-r--r-- | community/python-biopython/PKGBUILD | 27 | ||||
-rw-r--r-- | community/python2-biopython/PKGBUILD | 48 | ||||
-rw-r--r-- | community/rubinius/PKGBUILD | 10 | ||||
-rw-r--r-- | community/rubinius/llvm34.patch | 182 | ||||
-rw-r--r-- | community/wxcam/PKGBUILD | 19 | ||||
-rw-r--r-- | community/xl2tpd/PKGBUILD | 10 |
13 files changed, 344 insertions, 52 deletions
diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD index 3a392b94f..5950a071b 100644 --- a/community/gambas3/PKGBUILD +++ b/community/gambas3/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 101792 2013-12-01 09:52:05Z andyrtr $ +# $Id: PKGBUILD 103861 2014-01-12 20:24:22Z foutrelis $ # Maintainer: Laurent Carlier <lordheavym@gmail.com> # Contributor : sebikul <sebikul@gmail.com> @@ -16,7 +16,7 @@ _components=('gambas3-gb-args' 'gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb 'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-xml' 'gambas3-gb-web') pkgname=(${_components[@]} 'gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gambas3-examples') pkgver=3.5.1 -pkgrel=2 +pkgrel=3 pkgdesc="A free development environment based on a Basic interpreter." arch=('i686' 'x86_64') url="http://gambas.sourceforge.net/" diff --git a/community/gtkimageview/PKGBUILD b/community/gtkimageview/PKGBUILD index 13d410b6d..fe6627033 100644 --- a/community/gtkimageview/PKGBUILD +++ b/community/gtkimageview/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 102159 2013-12-06 11:35:48Z giovanni $ +# $Id: PKGBUILD 103868 2014-01-12 20:31:29Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Jan Blazek <appolito@gmail.com> # Contributor: Jose Valecillos <valecillosjg (at) gmail (dot) com> pkgname=gtkimageview pkgver=1.6.4 -pkgrel=3 +pkgrel=4 pkgdesc="Simple image viewer widget for GTK2" arch=('i686' 'x86_64') -url="http://trac.bjourne.webfactional.com/" +url="https://github.com/GNOME/gtkimageview" license=('LGPL2.1') depends=('gtk2') -makedepends=('pkgconfig') -source=("http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/${pkgname}-${pkgver}.tar.gz?format=raw") +makedepends=('pkg-config') +source=("ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tar.gz") md5sums=('501367b3f50e69a12208dc9c6ad00b18') build() { @@ -20,6 +20,7 @@ build() { ./configure --prefix=/usr \ --disable-static + make } @@ -27,5 +28,6 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}/usr/share" } diff --git a/community/mediainfo-gui/PKGBUILD b/community/mediainfo-gui/PKGBUILD index 09c8ce3ec..ae1e1e043 100644 --- a/community/mediainfo-gui/PKGBUILD +++ b/community/mediainfo-gui/PKGBUILD @@ -1,34 +1,33 @@ -# $Id: PKGBUILD 103797 2014-01-11 20:08:30Z eric $ +# $Id: PKGBUILD 103859 2014-01-12 19:04:40Z eric $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: hydro <hydro@freenet.de> pkgname=mediainfo-gui pkgver=0.7.65 -pkgrel=5 +pkgrel=6 pkgdesc="GUI for mediainfo" arch=('i686' 'x86_64') url="http://mediainfo.sourceforge.net" license=('GPL') -depends=('libmediainfo' 'wxgtk' 'libsm') -makedepends=('libtool' 'automake' 'autoconf') +depends=('libmediainfo' 'wxgtk' 'libsm' 'desktop-file-utils') install=mediainfo-gui.install source=(http://downloads.sourceforge.net/mediainfo/mediainfo_${pkgver}.tar.bz2) md5sums=('19d7992a7d0cba0f5f731f993e8c537c') build() { - cd $srcdir/MediaInfo/Project/GNU/GUI + cd MediaInfo/Project/GNU/GUI sh ./autogen ./configure --prefix=/usr make } package() { - cd $srcdir/MediaInfo/Project/GNU/GUI - make DESTDIR=$pkgdir install - install -D -m 644 $srcdir/MediaInfo/Source/Resource/Image/MediaInfo.png \ - $pkgdir/usr/share/icons/hicolor/128x128/apps/mediainfo.png - install -D -m 644 $srcdir/MediaInfo/Source/Resource/Image/MediaInfo.png \ - $pkgdir/usr/share/pixmaps/mediainfo-gui.png - install -D -m 644 $srcdir/MediaInfo/Project/GNU/GUI/mediainfo-gui.desktop \ - $pkgdir/usr/share/applications/mediainfo-gui.desktop + cd MediaInfo/Project/GNU/GUI + make DESTDIR="$pkgdir" install + install -D -m 644 "$srcdir/MediaInfo/Source/Resource/Image/MediaInfo.png" \ + "$pkgdir/usr/share/icons/hicolor/128x128/apps/mediainfo.png" + install -D -m 644 "$srcdir/MediaInfo/Source/Resource/Image/MediaInfo.png" \ + "$pkgdir/usr/share/pixmaps/mediainfo-gui.png" + install -D -m 644 "$srcdir/MediaInfo/Project/GNU/GUI/mediainfo-gui.desktop" \ + "$pkgdir/usr/share/applications/mediainfo-gui.desktop" } diff --git a/community/mediainfo-gui/mediainfo-gui.install b/community/mediainfo-gui/mediainfo-gui.install index 28d8f7815..678df2aef 100644 --- a/community/mediainfo-gui/mediainfo-gui.install +++ b/community/mediainfo-gui/mediainfo-gui.install @@ -1,5 +1,6 @@ post_install() { which gtk-update-icon-cache >/dev/null && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q } post_upgrade() { diff --git a/community/openimageio/PKGBUILD b/community/openimageio/PKGBUILD index 8f47b1d4d..1e99fca3f 100644 --- a/community/openimageio/PKGBUILD +++ b/community/openimageio/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 102264 2013-12-07 10:36:49Z bpiotrowski $ +# $Id: PKGBUILD 103862 2014-01-12 20:24:23Z foutrelis $ # Contributor: SpepS <dreamspepser at yahoo dot it> # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=openimageio -pkgver=1.2.3 +pkgver=1.3.10 pkgrel=1 pkgdesc="A library for reading and writing images, including classes, utilities, and applications" arch=(i686 x86_64) @@ -13,13 +13,11 @@ depends=('openexr' 'boost-libs' 'jasper' 'glew' 'libtiff' 'opencolorio' 'intel-t makedepends=('cmake' 'qt4' 'python2' 'boost' 'mesa') optdepends=('qt4: iv image viewer' 'python2: bindings support') -source=(https://github.com/OpenImageIO/oiio/tarball/Release-$pkgver) -md5sums=('20066ae0e9026717242f64f107f7ee8e') +source=(https://github.com/OpenImageIO/oiio/archive/Release-${pkgver}.tar.gz) +md5sums=('e1cd34e1926b7c15626f8618e9e4fc70') build() { - cd "$srcdir"/$_pkgname* - - cd src + cd oiio-Release-$pkgver [[ -d build ]] && rm -r build mkdir build && cd build @@ -34,11 +32,11 @@ build() { } package() { - cd "$srcdir"/$_pkgname*/src/build + cd oiio-Release-$pkgver/build make DESTDIR="$pkgdir" install # license - cd ../.. + cd .. install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/community/openshadinglanguage/PKGBUILD b/community/openshadinglanguage/PKGBUILD index f663d9ac9..7029bfc7e 100644 --- a/community/openshadinglanguage/PKGBUILD +++ b/community/openshadinglanguage/PKGBUILD @@ -1,20 +1,25 @@ -# $Id: PKGBUILD 102265 2013-12-07 10:36:50Z bpiotrowski $ +# $Id: PKGBUILD 103863 2014-01-12 20:24:24Z foutrelis $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=openshadinglanguage -pkgver=1.4.0 -pkgrel=2 +pkgver=1.5.4dev +pkgrel=1 pkgdesc="Advanced shading language for production GI renderers" arch=(i686 x86_64) url="https://github.com/imageworks/OpenShadingLanguage" license=('custom') depends=('boost-libs' 'openimageio' 'openexr' 'intel-tbb' 'freetype2' 'libpng' 'libtiff' 'llvm') makedepends=('boost' 'cmake' 'clang') -source=(https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz) -md5sums=('dcc7b6dfbc68d7af0d5cfa2940ff205b') +source=(https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz + https://github.com/imageworks/OpenShadingLanguage/pull/320.patch) +md5sums=('4dda1fb2919d3440344d36ecbdf13d47' + '590137809ea344b41b1ad1e0fc81738c') build() { cd OpenShadingLanguage-Release-$pkgver + # LLVM 3.4 build fix + patch -Np1 < $srcdir/320.patch + cd src [[ -d build ]] && rm -r build diff --git a/community/pidgin-talkfilters/PKGBUILD b/community/pidgin-talkfilters/PKGBUILD new file mode 100644 index 000000000..f094aa050 --- /dev/null +++ b/community/pidgin-talkfilters/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Connor Behan <connor.behan@gmail.com> + +pkgname=pidgin-talkfilters +pkgver=2.7.0 +pkgrel=2 +pkgdesc="Implements GNU talkfilters in pidgin chats" +arch=('i686' 'x86_64') +url="https://bitbucket.org/rekkanoryo/purple-plugin-pack" +license=('GPL') +depends=('libpurple' 'talkfilters') +makedepends=('intltool' 'gettext' 'python2' 'pidgin') +source=(https://bitbucket.org/rekkanoryo/purple-plugin-pack/downloads/purple-plugin-pack-$pkgver.tar.bz2) +sha256sums=('2bbcf5e778a33968ba7f2864d2a6cb526a8984be3e4151642a583eee8eafb03c') + +build() { + cd "$srcdir"/purple-plugin-pack-$pkgver + + PYTHON=/usr/bin/python2 \ + ./configure --prefix=/usr --with-plugins=talkfilters +} + +package() { + cd "$srcdir"/purple-plugin-pack-$pkgver + + make + make DESTDIR="$pkgdir" install +} diff --git a/community/python-biopython/PKGBUILD b/community/python-biopython/PKGBUILD new file mode 100644 index 000000000..75d169a4e --- /dev/null +++ b/community/python-biopython/PKGBUILD @@ -0,0 +1,27 @@ +# $id$ +# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com> +# Contributor: Stunts <f.pinamartins at gmail dot com> +# Contributor: damir <damir at archlinux dot org> + +pkgname=python-biopython +_upstream_pkgname=biopython +pkgver=1.63 +pkgrel=2 +pkgdesc="Freely available Python tools for computational molecular biology" +arch=('i686' 'x86_64') +url="http://www.biopython.org" +license=('custom') +depends=('python-numpy') +source=(http://www.biopython.org/DIST/${_upstream_pkgname}-${pkgver}.tar.gz) +md5sums=('09c58433150849b131d2d9bbfdf342d3') + +build() { + cd "${srcdir}/${_upstream_pkgname}-${pkgver}/" + python setup.py build +} + +package() { + cd "${srcdir}/${_upstream_pkgname}-${pkgver}/" + python setup.py install --root="${pkgdir}" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/community/python2-biopython/PKGBUILD b/community/python2-biopython/PKGBUILD new file mode 100644 index 000000000..c22385574 --- /dev/null +++ b/community/python2-biopython/PKGBUILD @@ -0,0 +1,48 @@ +# $id$ +# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com> +# Contributor: Stunts <f.pinamartins at gmail dot com> +# Contributor: damir <damir at archlinux dot org> + +pkgname=python2-biopython +_upstream_pkgname=biopython +pkgver=1.63 +pkgrel=2 +pkgdesc="Freely available Python tools for computational molecular biology" +arch=('i686' 'x86_64') +url="http://www.biopython.org" +license=('custom') +depends=('python2-numpy') +optdepends=('python2-reportlab: for pdf graphics code' + 'mysql-python: for BioSQL module') +source=(http://www.biopython.org/DIST/${_upstream_pkgname}-${pkgver}.tar.gz) +md5sums=('09c58433150849b131d2d9bbfdf342d3') + +prepare() { + cd "${srcdir}/${_upstream_pkgname}-${pkgver}/" + # change python to python2 + sed -i "s|python|python2|g" "Bio/bgzf.py" + sed -i "s|python|python2|g" "Bio/DocSQL.py" + sed -i "s|python|python2|g" "Bio/kNN.py" + sed -i "s|python|python2|g" "Bio/LogisticRegression.py" + sed -i "s|python|python2|g" "Bio/PDB/parse_pdb_header.py" + sed -i "s|python|python2|g" "Bio/PDB/PDBList.py" + sed -i "s|python|python2|g" "Bio/Restriction/__init__.py" + sed -i "s|python|python2|g" "Bio/Restriction/PrintFormat.py" + sed -i "s|python|python2|g" "Bio/Restriction/Restriction.py" + sed -i "s|python|python2|g" "Bio/SeqUtils/__init__.py" + sed -i "s|python|python2|g" "Bio/UniProt/GOA.py" + sed -i "s|python|python2|g" "Bio/Wise/__init__.py" + sed -i "s|python|python2|g" "Bio/Wise/dnal.py" + sed -i "s|python|python2|g" "Bio/Wise/psw.py" +} + +build() { + cd "${srcdir}/${_upstream_pkgname}-${pkgver}/" + python2 setup.py build +} + +package() { + cd "${srcdir}/${_upstream_pkgname}-${pkgver}/" + python2 setup.py install --root="${pkgdir}" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/community/rubinius/PKGBUILD b/community/rubinius/PKGBUILD index 1d4d24942..3d1c47fa8 100644 --- a/community/rubinius/PKGBUILD +++ b/community/rubinius/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 103201 2013-12-29 21:58:18Z heftig $ +# $Id: PKGBUILD 103864 2014-01-12 20:24:24Z foutrelis $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgbase=rubinius pkgname=(rubinius rubinius-ruby) pkgver=2.2.3 -pkgrel=1 +pkgrel=2 pkgdesc="Ruby runtime written in Ruby, designed for concurrency" arch=(i686 x86_64) url="http://rubini.us" @@ -13,16 +13,18 @@ depends=(llvm-libs libffi openssl libyaml) makedepends=(llvm rubinius-ruby) options=(!emptydirs) source=(http://releases.rubini.us/${pkgbase}-${pkgver}.tar.bz2 - gemrc dirs.patch) + gemrc dirs.patch llvm34.patch) sha256sums=('b3426aa6996420f1d9d8a7926a94160b84d8bdf725793c64462b27b74f2f2acf' '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614' - '93f3918dc2a5679e281e724f9b3cb712ffa784c1e52e6fa7ce75f74ce6655a66') + '93f3918dc2a5679e281e724f9b3cb712ffa784c1e52e6fa7ce75f74ce6655a66' + 'a24850f34a8a308ce4a4e1da12d75a669095a38b6b5da5082eb4d3bd41770095') prepare() { export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8" cd $pkgbase-$pkgver patch -Np1 -i ../dirs.patch + patch -Np1 -i ../llvm34.patch mkdir -p "$GEM_HOME" gem install --no-user-install -N vendor/cache/bundler-*.gem diff --git a/community/rubinius/llvm34.patch b/community/rubinius/llvm34.patch new file mode 100644 index 000000000..ca8f2d289 --- /dev/null +++ b/community/rubinius/llvm34.patch @@ -0,0 +1,182 @@ +diff --git i/vm/llvm/disassembler.cpp w/vm/llvm/disassembler.cpp +index 79c74ff..b3ea424 100644 +--- i/vm/llvm/disassembler.cpp ++++ w/vm/llvm/disassembler.cpp +@@ -46,20 +46,27 @@ namespace rubinius { + #if RBX_LLVM_API_VER > 300 + llvm::TargetOptions options; + options.NoFramePointerElim = true; ++#if RBX_LLVM_API_VER < 304 + options.NoFramePointerElimNonLeaf = true; ++#endif + target_machine = target->createTargetMachine(host, llvm::sys::getHostCPUName(), "", options); + #else + target_machine = target->createTargetMachine(host, llvm::sys::getHostCPUName(), ""); + #endif + + sub_target = target->createMCSubtargetInfo(host, llvm::sys::getHostCPUName(), ""); +- asm_info = target->createMCAsmInfo(host); + + #if RBX_LLVM_API_VER > 300 + instr_info = target->createMCInstrInfo(); + reg_info = target->createMCRegInfo(host); + #endif + ++#if RBX_LLVM_API_VER > 303 ++ asm_info = target->createMCAsmInfo(*reg_info, host); ++#else ++ asm_info = target->createMCAsmInfo(host); ++#endif ++ + if(asm_info) { + disassembler = target->createMCDisassembler(*sub_target); + memory_object = new JITMemoryObject((const uint8_t*)buffer, (uint64_t) size); +diff --git i/vm/llvm/jit_builder.cpp w/vm/llvm/jit_builder.cpp +index 652350f..c479aab 100644 +--- i/vm/llvm/jit_builder.cpp ++++ w/vm/llvm/jit_builder.cpp +@@ -56,12 +56,21 @@ namespace jit { + "", "rubinius", true, "", 0); + DIFile file = debug_builder().createFile(file_str, ""); + ++#if RBX_LLVM_API_VER > 303 ++ DIType dummy_return_type = debug_builder().createNullPtrType(); ++ Value* dummy_signature[] = { ++ &*dummy_return_type, ++ }; ++ DICompositeType dummy_subroutine_type = debug_builder().createSubroutineType(file, ++ debug_builder().getOrCreateArray(dummy_signature)); ++#else + DIType dummy_return_type = debug_builder().createNullPtrType("dummy type"); + Value* dummy_signature[] = { + &*dummy_return_type, + }; + DIType dummy_subroutine_type = debug_builder().createSubroutineType(file, + debug_builder().getOrCreateArray(dummy_signature)); ++#endif + + #if RBX_LLVM_API_VER > 300 + DISubprogram subprogram = debug_builder().createFunction(file, "", "", +diff --git i/vm/llvm/jit_context.cpp w/vm/llvm/jit_context.cpp +index e555adb..594a63a 100644 +--- i/vm/llvm/jit_context.cpp ++++ w/vm/llvm/jit_context.cpp +@@ -84,7 +84,9 @@ namespace rubinius { + #if RBX_LLVM_API_VER > 300 + llvm::TargetOptions opts; + opts.NoFramePointerElim = true; ++#if RBX_LLVM_API_VER < 304 + opts.NoFramePointerElimNonLeaf = true; ++#endif + opts.JITEmitDebugInfo = true; + + factory.setTargetOptions(opts); +diff --git i/vm/llvm/jit_memory_manager.hpp w/vm/llvm/jit_memory_manager.hpp +index 8a58a09..7205f89 100644 +--- i/vm/llvm/jit_memory_manager.hpp ++++ w/vm/llvm/jit_memory_manager.hpp +@@ -202,7 +202,7 @@ namespace jit { + + public: + RubiniusJITMemoryManager(); +- ~RubiniusJITMemoryManager(); ++ virtual ~RubiniusJITMemoryManager(); + + /// allocateNewSlab - Allocates a new MemoryBlock and remembers it as the + /// last slab it allocated, so that subsequent allocations follow it. +@@ -356,8 +356,13 @@ namespace jit { + } + + /// allocateCodeSection - Allocate memory for a code section. ++#if RBX_LLVM_API_VER > 303 ++ virtual uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, ++ unsigned SectionID, StringRef SectionName) { ++#else + uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, + unsigned SectionID) { ++#endif + utilities::thread::SpinLock::LockGuard guard(lock_); + // Grow the required block size to account for the block header + Size += sizeof(*CurBlock); +@@ -397,11 +402,21 @@ namespace jit { + } + + /// allocateDataSection - Allocate memory for a data section. +- uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, +- unsigned SectionID) { ++ /// TODO: currently IsReadOnly is ignored. ++#if RBX_LLVM_API_VER > 303 ++ virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, ++ unsigned SectionID, StringRef SectionName, ++ bool IsReadOnly) { + utilities::thread::SpinLock::LockGuard guard(lock_); + return (uint8_t*)DataAllocator.Allocate(Size, Alignment); + } ++#else ++ uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, ++ unsigned SectionID, bool IsReadOnly) { ++ utilities::thread::SpinLock::LockGuard guard(lock_); ++ return (uint8_t*)DataAllocator.Allocate(Size, Alignment); ++ } ++#endif + + /// startExceptionTable - Use startFunctionBody to allocate memory for the + /// function's exception table. +@@ -495,7 +510,7 @@ namespace jit { + , GOTBase(NULL) + {} + +- ~RubiniusRequestJITMemoryManager() { ++ virtual ~RubiniusRequestJITMemoryManager() { + if(GOTBase) delete[] GOTBase; + } + +@@ -504,17 +519,32 @@ namespace jit { + return mgr_->getPointerToNamedFunction(Name, AbortOnFailure); + } + ++#if RBX_LLVM_API_VER >= 304 ++ virtual uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, ++ unsigned SectionID, StringRef SectionName) { ++ return mgr_->allocateCodeSection(Size, Alignment, SectionID, ++ SectionName); ++ } ++#else + uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, + unsigned SectionID) { + return mgr_->allocateCodeSection(Size, Alignment, SectionID); + } ++#endif + + /// allocateDataSection - Allocate memory for a data section. +-#if RBX_LLVM_API_VER >= 303 ++#if RBX_LLVM_API_VER >= 304 ++ virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, ++ unsigned SectionID, StringRef SectionName, ++ bool IsReadOnly) { ++ return mgr_->allocateDataSection(Size, Alignment, SectionID, ++ SectionName, IsReadOnly); ++ } ++#elif RBX_LLVM_API_VER >= 303 + uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, + unsigned SectionID, bool IsReadOnly) { +- // TODO: currently IsReadOnly is ignored. +- return mgr_->allocateDataSection(Size, Alignment, SectionID); ++ return mgr_->allocateDataSection(Size, Alignment, SectionID, ++ IsReadOnly); + } + #else + uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, +@@ -601,6 +631,12 @@ namespace jit { + void resetGeneratedFunction() { + GeneratedFunction = NULL; + } ++ ++#if RBX_LLVM_API_VER > 303 ++ virtual bool finalizeMemory(std::string* ErrMsg = 0) { ++ return false; ++ } ++#endif + }; + + diff --git a/community/wxcam/PKGBUILD b/community/wxcam/PKGBUILD index 0ee0b0a8d..5e2877ed8 100644 --- a/community/wxcam/PKGBUILD +++ b/community/wxcam/PKGBUILD @@ -1,7 +1,8 @@ +# $Id: PKGBUILD 103835 2014-01-12 02:47:26Z eric $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=wxcam pkgver=1.1 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') license=(GPL) pkgdesc="Webcam application for linux" @@ -9,24 +10,24 @@ pkgdesc="Webcam application for linux" # http://cimg.sourceforge.net/ _CImg_ver=1.4.9 url="http://wxcam.sourceforge.net" -makedepends=('intltool>=0.35.0') +makedepends=('intltool>=0.35.0' 'libsm') depends=('libglade' 'mjpegtools' 'perlxml' 'wxgtk' 'xvidcore' 'v4l-utils' 'alsa-lib') source=(http://downloads.sourceforge.net/wxcam/${pkgname}-${pkgver}.tar.bz2 http://downloads.sourceforge.net/cimg/CImg-${_CImg_ver}.zip) md5sums=('c9ea8991b6375c1709a7ce4e61fcc263' 'a07cba03f6d66a9970e0b3fcc230bddc') -build() { - cp $srcdir/CImg-${_CImg_ver}/CImg.h $srcdir/$pkgname-$pkgver +prepare() { + cp "$srcdir"/CImg-${_CImg_ver}/CImg.h "$srcdir"/$pkgname-$pkgver +} - cd $srcdir/$pkgname-$pkgver +build() { + cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr make } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install - - mv $pkgdir/usr/doc $pkgdir/usr/share/ + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" wxcamdocdir=/usr/share/doc/wxcam install } diff --git a/community/xl2tpd/PKGBUILD b/community/xl2tpd/PKGBUILD index 2c513c4fb..fa63b182d 100644 --- a/community/xl2tpd/PKGBUILD +++ b/community/xl2tpd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 91508 2013-05-23 10:16:34Z spupykin $ +# $Id: PKGBUILD 103870 2014-01-12 22:03:07Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Hengfu <rhfcaesar@gmail.com> pkgname=xl2tpd -pkgver=1.3.1 -pkgrel=3 +pkgver=1.3.4rc1 +pkgrel=1 pkgdesc="an open source implementation of the L2TP maintained by Xelerance Corporation" arch=('i686' 'x86_64') url="http://www.xelerance.com/services/software/xl2tpd/" @@ -19,7 +19,7 @@ source=($pkgname-$pkgver.tar.gz::https://github.com/xelerance/xl2tpd/archive/v$p xl2tpd.service xl2tpd.tmpfiles ipparam.patch) -md5sums=('38c2461d3562f98b08454ca403706886' +md5sums=('5d26c43791a8347a252c9307794d6179' '5f0ae07026e61a3dd15a76fd4144a6d5' '16ed0886115d4dcc21072cfb847250bb' 'ed57eb67335cdf246251285dad502cc7' @@ -30,7 +30,7 @@ md5sums=('38c2461d3562f98b08454ca403706886' build() { cd "$srcdir/$pkgname-$pkgver" - patch -p1 <$srcdir/ipparam.patch +# patch -p1 <$srcdir/ipparam.patch make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr SBINDIR=/usr/bin } |