From b296a78e1469d58c52acc47586bd5bb84f25fc0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Thu, 16 Jan 2014 03:37:59 +0000 Subject: Thu Jan 16 03:32:12 UTC 2014 --- community/cmus/PKGBUILD | 4 +- community/dbmail/PKGBUILD | 6 +-- community/dispcalgui/PKGBUILD | 11 +++-- .../dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch | 16 ++++++++ community/libmatekeyring/PKGBUILD | 31 ++++++++++++++ community/libx86emu/PKGBUILD | 2 +- community/lomoco/PKGBUILD | 17 ++++++-- community/mate-desktop/PKGBUILD | 38 +++++++++++++++++ community/mate-desktop/mate-desktop.install | 11 +++++ community/medit/PKGBUILD | 8 ++-- community/mingw-w64-binutils/PKGBUILD | 9 ++-- community/mongodb/PKGBUILD | 10 ++--- community/openmw/PKGBUILD | 28 +++++++++++++ community/python-levenshtein/PKGBUILD | 39 ++++++++++++++++++ community/rubinius/dirs.patch | 16 ++++++++ community/srm/PKGBUILD | 10 ++--- community/tigervnc/PKGBUILD | 16 +++++--- community/tigervnc/xorg115.patch | 15 +++++++ community/udpxy/PKGBUILD | 37 +++++++++++++++++ community/udpxy/pidfile.patch | 48 ++++++++++++++++++++++ community/udpxy/udpxy.service | 11 +++++ 21 files changed, 347 insertions(+), 36 deletions(-) create mode 100644 community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch create mode 100644 community/libmatekeyring/PKGBUILD create mode 100644 community/mate-desktop/PKGBUILD create mode 100644 community/mate-desktop/mate-desktop.install create mode 100644 community/openmw/PKGBUILD create mode 100644 community/python-levenshtein/PKGBUILD create mode 100644 community/rubinius/dirs.patch create mode 100644 community/tigervnc/xorg115.patch create mode 100644 community/udpxy/PKGBUILD create mode 100644 community/udpxy/pidfile.patch create mode 100644 community/udpxy/udpxy.service (limited to 'community') diff --git a/community/cmus/PKGBUILD b/community/cmus/PKGBUILD index 5d54d3c79..89346811f 100644 --- a/community/cmus/PKGBUILD +++ b/community/cmus/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 97815 2013-09-30 02:36:29Z xyne $ +# $Id: PKGBUILD 104108 2014-01-15 21:06:34Z xyne $ # Maintainer: Xyne # Contributor: Bartłomiej Piotrowski # Contributor: Aaron Griffin @@ -6,7 +6,7 @@ pkgname=cmus pkgver=2.5.0 -pkgrel=4 +pkgrel=6 pkgdesc='Very feature-rich ncurses-based music player' arch=('i686' 'x86_64') url="http://cmus.sourceforge.net/" diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD index 0b85b2534..8b52427f4 100644 --- a/community/dbmail/PKGBUILD +++ b/community/dbmail/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 102778 2013-12-19 17:41:26Z spupykin $ +# $Id: PKGBUILD 104087 2014-01-15 13:08:32Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Sebastian Faltoni pkgname=dbmail -pkgver=3.1.8 -pkgrel=2 +pkgver=3.1.9 +pkgrel=1 pkgdesc="Fast and scalable sql based mail services" arch=('i686' 'x86_64') depends=('gmime' 'libzdb' 'mhash' 'libevent') diff --git a/community/dispcalgui/PKGBUILD b/community/dispcalgui/PKGBUILD index 9d745438d..f218a3dbc 100644 --- a/community/dispcalgui/PKGBUILD +++ b/community/dispcalgui/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 99412 2013-10-28 11:55:41Z tredaelli $ +# $Id: PKGBUILD 104105 2014-01-15 18:42:36Z tredaelli $ # Maintainer: Timothy Redaelli # Contributor: Cedric Girard # Contributor: foxbunny pkgname=dispcalgui pkgver=1.5.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="A GUI frontend for several utilities from the open source color management system Argyll CMS" arch=('i686' 'x86_64') url="http://hoech.net/dispcalGUI/" @@ -14,11 +14,14 @@ makedepends=('libx11' 'libxrandr' 'libxinerama' 'libxxf86vm' 'python2-setuptools depends=('argyllcms' 'wxpython' 'hicolor-icon-theme' 'desktop-file-utils' 'python2-numpy') optdepends=('gksu: For running as root') install=${pkgname}.install -source=("http://downloads.sourceforge.net/project/dispcalgui/release/${pkgver}/dispcalGUI-${pkgver}.tar.gz") -md5sums=('1b7542ecee8f39a49b90197613a46a73') +source=("http://downloads.sourceforge.net/project/dispcalgui/release/${pkgver}/dispcalGUI-${pkgver}.tar.gz" + dispcalGUI-1.5.3.1-wxgtk3.patch) +md5sums=('1b7542ecee8f39a49b90197613a46a73' + 'b8001e5cbbb849f9ba95e0ef9fb1d073') prepare() { cd "${srcdir}"/dispcalGUI-${pkgver} + patch -p1 -i "$srcdir"/dispcalGUI-1.5.3.1-wxgtk3.patch find . -name "*.py" -exec sed -i 's!/usr/bin/env python!/usr/bin/env python2!g' {} + } diff --git a/community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch b/community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch new file mode 100644 index 000000000..e5c556031 --- /dev/null +++ b/community/dispcalgui/dispcalGUI-1.5.3.1-wxgtk3.patch @@ -0,0 +1,16 @@ +--- a/dispcalGUI/dispcalGUI.py ++++ b/dispcalGUI/dispcalGUI.py +@@ -1544,9 +1544,10 @@ + for lstr, lcode in llist: + menuitem = languages.Append(-1, "&" + lstr, kind=wx.ITEM_RADIO) + if (lcode.upper().replace("EN", "US") in flagart.catalog): +- menuitem.SetBitmap( +- flagart.catalog[lcode.upper().replace("EN", +- "US")].getBitmap()) ++ bitmap = flagart.catalog[lcode.upper().replace("EN", ++ "US")].getBitmap() ++ if menuitem.GetKind() == wx.ITEM_NORMAL: ++ menuitem.SetBitmap(bitmap) + if lang.getcode() == lcode: + menuitem.Check() + font = menuitem.Font diff --git a/community/libmatekeyring/PKGBUILD b/community/libmatekeyring/PKGBUILD new file mode 100644 index 000000000..8f506b5d0 --- /dev/null +++ b/community/libmatekeyring/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 104095 2014-01-15 14:24:22Z flexiondotorg $ +# Maintainer : Martin Wimpress +# Contributor: Giovanni "Talorno" Ricciardi +# Contributor: Xpander + +pkgname=libmatekeyring +pkgver=1.6.1 +pkgrel=2 +pkgdesc="MATE keyring client library" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL') +depends=('dbus' 'glib2' 'libgcrypt') +makedepends=('docbook-xml' 'mate-common' 'perl-xml-parser') +options=('!emptydirs') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('ad6a5d029506348094e0147a9be9cc4555ed87a4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/mate-keyring \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/libx86emu/PKGBUILD b/community/libx86emu/PKGBUILD index c32820a3b..63ac2ba2b 100644 --- a/community/libx86emu/PKGBUILD +++ b/community/libx86emu/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 103957 2014-01-13 23:06:22Z arodseth $ +# $Id: PKGBUILD 104103 2014-01-15 17:01:05Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Kaiting Chen # Contributor: Gergely Imreh diff --git a/community/lomoco/PKGBUILD b/community/lomoco/PKGBUILD index 9bc113f3e..fb90d988c 100644 --- a/community/lomoco/PKGBUILD +++ b/community/lomoco/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 99898 2013-10-31 02:21:19Z allan $ +# $Id: PKGBUILD 104089 2014-01-15 13:38:02Z spupykin $ # Maintainer: Jeff Mickey # Contributor: Shadowhand pkgname=lomoco pkgver=1.0 -pkgrel=8 +pkgrel=9 url="http://www.lomoco.org/" pkgdesc="Logitech USB mouse configuration program" license=('GPL') @@ -14,19 +14,30 @@ arch=('i686' 'x86_64') backup=(etc/udev/lomoco_mouse.conf) source=(http://www.lomoco.org/${pkgname}-${pkgver}.tar.gz "lomoco_mx518.patch::https://bugs.archlinux.org/task/28180?getfile=8163" + "lomoco_mxair.patch::https://bugs.archlinux.org/task/36657?getfile=10920" lomoco_mouse.conf lomoco.sh) md5sums=('f5197d0a3ee81229c3eecc1e03f7b08d' '87aeccb99413faf9e49453215c3d0b8a' + 'd0390dfcadae6e54a4af3e6227d24201' '182b10a7e4a1828a93c1d55ef7f81b97' 'bc92f661641265b33b27895ef24028fd') -build() { +prepare() { cd ${srcdir}/${pkgname}-${pkgver} patch -p1 <$srcdir/lomoco_mx518.patch + patch -p0 <$srcdir/lomoco_mxair.patch +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} ./autogen.sh --prefix=/usr --mandir=/usr/share/man make make udev-rules +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install # Fix and install udev rules and helpers diff --git a/community/mate-desktop/PKGBUILD b/community/mate-desktop/PKGBUILD new file mode 100644 index 000000000..b29bece25 --- /dev/null +++ b/community/mate-desktop/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 104063 2014-01-14 23:10:03Z flexiondotorg $ +# Maintainer : Martin Wimpress +# Contributor: Giovanni "Talorno" Ricciardi +# Contributor: Xpander + +pkgname=mate-desktop +pkgver=1.6.2 +pkgrel=1 +pkgdesc="Library with common API for various MATE modules" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=(GPL LGPL) +depends=('dconf' 'gtk2' 'hicolor-icon-theme' 'libunique' 'python2' + 'startup-notification') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +optdepends=('lightdm-gtk2-greeter: A lightweight display manager') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('413ef92f1aedf0ffbbf232ce6907211f0f4722a2') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure \ + --prefix=/usr \ + --disable-static \ + --disable-scrollkeeper \ + --disable-schemas-compile \ + --enable-gtk-doc \ + --with-omf-dir=/usr/share/omf/${pkgname} + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-desktop/mate-desktop.install b/community/mate-desktop/mate-desktop.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-desktop/mate-desktop.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/medit/PKGBUILD b/community/medit/PKGBUILD index 9752a3ec1..640c95682 100644 --- a/community/medit/PKGBUILD +++ b/community/medit/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 75884 2012-09-04 15:31:23Z spupykin $ +# $Id: PKGBUILD 104071 2014-01-15 09:49:11Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: William Rea pkgname=medit pkgver=1.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="A GTK text editor" arch=('i686' 'x86_64') url="http://mooedit.sourceforge.net" options=('!emptydirs') license=('GPL') -depends=('pygtk' 'libxml2' 'pcre' 'libsm' 'python2' 'gtk2' 'gcc-libs') +depends=('pygtk' 'libxml2' 'pcre' 'libsm' 'python2' 'gtk2' 'gcc-libs' 'gamin') optdepends=('ctags' 'vte: terminal emulator') makedepends=(pkgconfig perlxml intltool gcc-objc) install=medit.install @@ -20,7 +20,7 @@ md5sums=('9ea0d396a3bf3ee6ce220365bffb7358') build() { cd $srcdir/medit-$pkgver export PYTHON=/usr/bin/python2 - [ -f Makefile ] || ./configure --prefix=/usr + [ -f Makefile ] || ./configure --prefix=/usr --with-fam make } diff --git a/community/mingw-w64-binutils/PKGBUILD b/community/mingw-w64-binutils/PKGBUILD index 469ced17d..28ba518b0 100644 --- a/community/mingw-w64-binutils/PKGBUILD +++ b/community/mingw-w64-binutils/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 101172 2013-11-18 17:41:58Z spupykin $ +# $Id: PKGBUILD 104091 2014-01-15 13:38:18Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: rubenvb vanboxem ruben gmail com @@ -6,7 +6,7 @@ _targets="i686-w64-mingw32 x86_64-w64-mingw32" pkgname=mingw-w64-binutils pkgver=2.23.2 -pkgrel=2 +pkgrel=3 pkgdesc="Cross binutils for the MinGW-w64 cross-compiler" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils" @@ -15,8 +15,10 @@ groups=('mingw-w64-toolchain' 'mingw-w64') depends=('zlib') options=('!libtool' '!emptydirs') source=("http://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz" - "binutils-2.23.2-texinfo-5.0.patch.txt") + "windres.patch::https://bugs.archlinux.org/task/38111?getfile=11313" + "binutils-2.23.2-texinfo-5.0.patch.txt") md5sums=('cda9dcc08c86ff2fd3f27e4adb250f6f' + '2b653bdfd2ddda9ff36b4695b2d9bc8c' '34e439ce23213a91e2af872dfbb5094c') prepare() { @@ -24,6 +26,7 @@ prepare() { # http://sourceware.org/git/?p=binutils.git;a=patch;h=e02bf935 # http://sourceware.org/git/?p=binutils.git;a=patch;h=935f8542 patch -p1 -i ${srcdir}/binutils-2.23.2-texinfo-5.0.patch.txt + patch -p1 -i ${srcdir}/windres.patch #do not install libiberty sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD index e7dda9909..1d6ecb8c5 100644 --- a/community/mongodb/PKGBUILD +++ b/community/mongodb/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 102260 2013-12-07 10:36:45Z bpiotrowski $ +# $Id: PKGBUILD 104064 2014-01-15 03:02:11Z fyan $ # Maintainer: Felix Yan # Contributor: Sven-Hendrik Haase # Contributor: Thomas Dziedzic < gostrc at gmail > @@ -6,8 +6,8 @@ # Contributor: Alec Thomas pkgname=mongodb -pkgver=2.4.8 -pkgrel=2 +pkgver=2.4.9 +pkgrel=1 pkgdesc='A high-performance, open source, schema-free document-oriented database' arch=('i686' 'x86_64') url='http://www.mongodb.org' @@ -65,8 +65,8 @@ package() { --sharedclient \ --full \ --prefix="$pkgdir/usr" - # --use-system-v8 # --use-sasl-client + # --use-system-v8 install -Dm644 "$srcdir/mongodb.conf" "$pkgdir/etc/mongodb.conf" install -Dm644 "$srcdir/mongodb.service" "$pkgdir/usr/lib/systemd/system/mongodb.service" @@ -74,7 +74,7 @@ package() { install -dm755 "$pkgdir/var/log/mongodb" } -sha512sums=('33202f101d00c796253c5fd333242ce2c5399352bf325e0af1df92d9c291d7a768bbed56f7b7fccfaa3cea2385cec941bd05cb27a635ca034485bd39ef4129a1' +sha512sums=('f9991b30eebdc13e04b553ea9c133f73cb7c0d034ae94e6293a28f3c40e8c93d3e63257e20ff801dfd586a22c95ca52551da8517d0e25534dda62f3ed650aa23' '05dead727d3ea5fe8af1a3c3888693f6b3e2b8cb7f197a5d793352e10d2c524e96c9a5c55ad2e88c1114643a9612ec0b26a2574b48a5260a9b51ec8941461f1c' '177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9' 'e709f76fa71a10d6b72d2eeae65d715e0a0a7e6cb93704114f22db8662d7102de77bd1e6706049351beb159aaa04548cfe4b14fe6ee498a166c5ad54c8275f84') diff --git a/community/openmw/PKGBUILD b/community/openmw/PKGBUILD new file mode 100644 index 000000000..ebac4c7ea --- /dev/null +++ b/community/openmw/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Sandy Carter + +pkgname=openmw +pkgver=0.28.0 +pkgrel=1 +pkgdesc="An open-source engine reimplementation for the role-playing game Morrowind" +arch=('i686' 'x86_64') +url="http://www.openmw.org" +license=('GPL3' 'MIT' 'custom') +depends=('openal' 'ogre' 'mygui' 'bullet' 'qt4' 'ffmpeg' 'sdl2' 'unshield') +makedepends=('cmake' 'boost') +source=("https://github.com/zinnschlag/openmw/archive/${pkgname}-${pkgver}.tar.gz") +sha1sums=('2686b0a588571b9196e691b0ac484c59d8c49bce') + +build() { + cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/python-levenshtein/PKGBUILD b/community/python-levenshtein/PKGBUILD new file mode 100644 index 000000000..b8af20113 --- /dev/null +++ b/community/python-levenshtein/PKGBUILD @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Thomas S Hatch +# Contributor: shamrok +# Contributor: scj + +pkgbase=python-levenshtein +pkgname=(python-levenshtein python2-levenshtein) +pkgver=0.11.1 +pkgrel=1 +pkgdesc="Python extension for computing string edit distances and similarities" +url="http://pypi.python.org/pypi/python-Levenshtein/" +license=("GPL") +arch=('i686' 'x86_64') +makedepends=('python-setuptools' 'python2-setuptools') +source=("http://pypi.python.org/packages/source/p/python-Levenshtein/python-Levenshtein-$pkgver.tar.gz") + +prepare() { + cp -r python-Levenshtein-$pkgver python2-Levenshtein-$pkgver + + cd python-Levenshtein-$pkgver + sed -i "s|[)].read|, encoding='utf8').read|" setup.py +} + +package_python-levenshtein() { + depends=('python') + + cd python-Levenshtein-$pkgver + python setup.py build install --prefix=/usr --root="$pkgdir" +} + +package_python2-levenshtein() { + depends=('python2') + + cd python2-Levenshtein-$pkgver + python2 setup.py build install --prefix=/usr --root="$pkgdir" +} + +sha512sums=('335f29253ec7bba8d54881dfe093ac194626cdaad0cc6ed08327917d6187cdfe1fbb3d003744f991587f8dc800aa1d361e3aa0b276b31ecfe7a43d83ea0d660b') diff --git a/community/rubinius/dirs.patch b/community/rubinius/dirs.patch new file mode 100644 index 000000000..8fe9c3b4e --- /dev/null +++ b/community/rubinius/dirs.patch @@ -0,0 +1,16 @@ +diff --git i/library/rbconfig.rb w/library/rbconfig.rb +index 611ad6a..533ef00 100644 +--- i/library/rbconfig.rb ++++ w/library/rbconfig.rb +@@ -19,9 +19,9 @@ module RbConfig + CONFIG["libexecdir"] = "$(exec_prefix)/libexec" + CONFIG["datarootdir"] = "$(prefix)/share" + CONFIG["datadir"] = "$(datarootdir)" +- CONFIG["sysconfdir"] = "$(prefix)/etc" ++ CONFIG["sysconfdir"] = "/etc" + CONFIG["sharedstatedir"] = "$(prefix)/com" +- CONFIG["localstatedir"] = "$(prefix)/var" ++ CONFIG["localstatedir"] = "/var" + CONFIG["includedir"] = "$(prefix)/include" + CONFIG["oldincludedir"] = "/usr/include" + CONFIG["docdir"] = "$(datarootdir)/doc/$(PACKAGE)" diff --git a/community/srm/PKGBUILD b/community/srm/PKGBUILD index 696b27ccc..27dd11989 100644 --- a/community/srm/PKGBUILD +++ b/community/srm/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 102189 2013-12-06 12:44:16Z giovanni $ +# $Id: PKGBUILD 104066 2014-01-15 08:27:26Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Tom Newsom pkgname=srm -pkgver=1.2.11 -pkgrel=2 +pkgver=1.2.12 +pkgrel=1 pkgdesc="A secure replacement for rm(1) that overwrites data before unlinking" arch=('i686' 'x86_64') url="http://srm.sourceforge.net/" license=('custom') depends=('glibc') -source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2") -md5sums=('ee8269be18de6bbd3f74252d6e3039fe') +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz") +md5sums=('395c42753e9d98d6f815ac28a42ba87a') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/tigervnc/PKGBUILD b/community/tigervnc/PKGBUILD index 843288f8c..5f84ee833 100644 --- a/community/tigervnc/PKGBUILD +++ b/community/tigervnc/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 100001 2013-10-31 02:56:06Z allan $ +# $Id: PKGBUILD 104076 2014-01-15 09:51:50Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Uroš Vampl pkgname=tigervnc pkgver=1.3.0 -pkgrel=3 -_xorgver=1.14.2 +pkgrel=4 +_xorgver=1.15.0 pkgdesc="suite of VNC servers and clients. VNC 4 branch of TightVNC." arch=('i686' 'x86_64') url="http://www.tigervnc.org" @@ -23,13 +23,15 @@ source=(http://downloads.sourceforge.net/project/tigervnc/tigervnc/$pkgver/tiger vncserver.service vncviewer.desktop gethomedir.patch - getmaster.patch) + getmaster.patch + xorg115.patch) md5sums=('a5158228e64d14496821a39bf3851f1b' - '5d36a6483e8e301875131e8302c67727' + 'c2ace3697b32414094cf8c597c39d7d9' '0903d5a0dfa38e0b04964505b644585c' '71cac0fb9701b0a041430f0fddfe00c8' '22f1523a0eca56ad79cfabd0db6e2cf6' - 'e056a2502dfe0cb3b02e08cab689482f') + 'e056a2502dfe0cb3b02e08cab689482f' + 'd7765cb11be43b557ee77dfa486fdb68') prepare() { cd ${srcdir}/${pkgname}-${pkgver} @@ -37,6 +39,7 @@ prepare() { patch -Np1 -i ${srcdir}/gethomedir.patch patch -Np1 -i ${srcdir}/getmaster.patch + patch -Np1 -i ${srcdir}/xorg115.patch } build() { @@ -49,6 +52,7 @@ build() { patch -Np1 -i ../xserver114.patch autoreconf -fiv ./configure --prefix=/usr \ + --disable-wayland --disable-present --disable-dri3 \ --disable-static --disable-xinerama --without-dtrace \ --disable-xorg --disable-xnest --disable-xvfb --disable-dmx \ --disable-xwin --disable-xephyr --disable-kdrive --with-pic \ diff --git a/community/tigervnc/xorg115.patch b/community/tigervnc/xorg115.patch new file mode 100644 index 000000000..d070a705c --- /dev/null +++ b/community/tigervnc/xorg115.patch @@ -0,0 +1,15 @@ +diff -up tigervnc-1.3.0/unix/xserver/hw/vnc/xorg-version.h.jx tigervnc-1.3.0/unix/xserver/hw/vnc/xorg-version.h +--- tigervnc-1.3.0/unix/xserver/hw/vnc/xorg-version.h.jx 2013-07-01 08:41:24.000000000 -0400 ++++ tigervnc-1.3.0/unix/xserver/hw/vnc/xorg-version.h 2013-11-07 11:39:49.749992669 -0500 +@@ -44,8 +44,10 @@ + #define XORG 113 + #elif XORG_VERSION_CURRENT < ((1 * 10000000) + (14 * 100000) + (99 * 1000)) + #define XORG 114 ++#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (15 * 100000) + (99 * 1000)) ++#define XORG 115 + #else +-#error "X.Org newer than 1.14 is not supported" ++#error "X.Org newer than 1.15 is not supported" + #endif + + #endif diff --git a/community/udpxy/PKGBUILD b/community/udpxy/PKGBUILD new file mode 100644 index 000000000..bec1cca99 --- /dev/null +++ b/community/udpxy/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 104084 2014-01-15 11:36:44Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Konstantin Shabanov +# Contributor: Evka +# Maintainer: Jose Riha + +pkgname=udpxy +pkgver=1.0.23.0 +_pkgver=1.0.23-0 +pkgrel=2 +pkgdesc="small-footprint UNIX/Linux daemon to relay multicast UDP traffic to client's TCP (HTTP) connection." +arch=(i686 x86_64) +url="http://udpxy.sf.net" +license=('GPL3') +source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/Chipmunk-1.0/$pkgname.${_pkgver}-prod.tar.gz + $pkgname.service + pidfile.patch) +md5sums=('3dd99ba264078e873cbe1d98369ed423' + '19d76e6fbd876b5a7cdaa3e69cecdb0e' + '7a268f58ee964895377c95d16c9c633a') + +prepare() { + cd "$srcdir/$pkgname-${_pkgver}" + patch -Np1 -i "${srcdir}/pidfile.patch" + sed -i '/ln -s $(INSTALLROOT)\/bin\/$(EXEC) $(INSTALLROOT)\/bin\/$(UDPXREC/s%$(INSTALLROOT)%/usr%' Makefile +} + +build() { + cd "$srcdir/$pkgname-${_pkgver}" + make +} + +package() { + cd "$srcdir/$pkgname-${_pkgver}" + make INSTALLROOT="$pkgdir/usr" install + install -D -m644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service +} diff --git a/community/udpxy/pidfile.patch b/community/udpxy/pidfile.patch new file mode 100644 index 000000000..0adb24951 --- /dev/null +++ b/community/udpxy/pidfile.patch @@ -0,0 +1,48 @@ +diff --git a/udpxy.c b/udpxy.c +index 43f213a..8f0e30d 100644 +--- a/udpxy.c ++++ b/udpxy.c +@@ -1423,7 +1423,7 @@ udpxy_main( int argc, char* const argv[] ) + } + } + +- rc = set_pidfile( g_udpxy_app, port, pidfile, sizeof(pidfile) ); ++ rc = set_pidfile( g_udpxy_app, pidfile, sizeof(pidfile) ); + if( 0 != rc ) { + mperror( g_flog, errno, "set_pidfile" ); + rc = ERR_INTERNAL; break; +diff --git a/util.c b/util.c +index 0ad34bb..6b7daf8 100644 +--- a/util.c ++++ b/util.c +@@ -302,7 +302,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log ) + * (fail if destination directory is not writable) + */ + int +-set_pidfile( const char* appname, int port, char* buf, size_t len ) ++set_pidfile( const char* appname, char* buf, size_t len ) + { + int n = -1; + +@@ -311,7 +311,7 @@ set_pidfile( const char* appname, int port, char* buf, size_t len ) + if( -1 == access(PIDFILE_DIR, W_OK ) ) + return -1; + +- n = snprintf( buf, len, "%s/%s%d.pid", PIDFILE_DIR, appname, port ); ++ n = snprintf( buf, len, "%s/%s.pid", PIDFILE_DIR, appname ); + if( n < 0 ) return EXIT_FAILURE; + + buf[ len - 1 ] = '\0'; +diff --git a/util.h b/util.h +index f274c7b..64a10d1 100644 +--- a/util.h ++++ b/util.h +@@ -66,7 +66,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log ); + * (fail of destination directory is not writable) + */ + int +-set_pidfile( const char* appname, int port, char* buf, size_t len ); ++set_pidfile( const char* appname, char* buf, size_t len ); + + /* write buffer to designated socket/file + * return number of bytes read/written or one of the error diff --git a/community/udpxy/udpxy.service b/community/udpxy/udpxy.service new file mode 100644 index 000000000..9ab244043 --- /dev/null +++ b/community/udpxy/udpxy.service @@ -0,0 +1,11 @@ +[Unit] +Description=UDP multicast to TCP (HTTP) relay proxy +After=network.target + +[Service] +Type=forking +PIDFile=/run/udpxy.pid +ExecStart=/usr/bin/udpxy -T -S -p 4022 -B 256kb + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3