diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-11-19 10:10:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-11-19 10:10:33 -0300 |
commit | 9e30cea6b8a2e90fd8958ca1f773e3a382179763 (patch) | |
tree | 7ce1eda16c69a04998d595f3bfcccf9a65489327 /community | |
parent | 503317d2f4cb14793d90cca90822975c41e8c0a1 (diff) | |
parent | 858daf289b238f4aa3190656635fc354ddd2bce9 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Conflicts:
social/sobby/PKGBUILD
~fauno/kyotocabinet/PKGBUILD
~fauno/kyototycoon/PKGBUILD
Diffstat (limited to 'community')
118 files changed, 2730 insertions, 381 deletions
diff --git a/community/abe/PKGBUILD b/community/abe/PKGBUILD index 9f646794f..82568c345 100644 --- a/community/abe/PKGBUILD +++ b/community/abe/PKGBUILD @@ -5,7 +5,7 @@ pkgname=abe pkgver=1.1 pkgrel=9 pkgdesc="A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://abe.sourceforge.net" license=('GPL') depends=('sdl_mixer') @@ -21,7 +21,7 @@ build() { patch -Np1 -i "$srcdir"/$pkgname.patch - ./configure --prefix=/usr + ./configure --prefix=/usr --host=$CHOST make } diff --git a/community/account-plugins/PKGBUILD b/community/account-plugins/PKGBUILD index b5928821b..f49f30d5d 100644 --- a/community/account-plugins/PKGBUILD +++ b/community/account-plugins/PKGBUILD @@ -5,7 +5,7 @@ pkgname=account-plugins pkgver=0.9 pkgrel=1 pkgdesc="Account configuration plugins for credentials preferences" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="https://launchpad.net/online-accounts-account-plugins" license=('GPL') depends=('credentials-preferences' 'signon-keyring-extension' 'signon-plugin-oauth2') diff --git a/community/acpi/PKGBUILD b/community/acpi/PKGBUILD index f4eb265c2..9ea5236c1 100644 --- a/community/acpi/PKGBUILD +++ b/community/acpi/PKGBUILD @@ -3,7 +3,7 @@ pkgname=acpi pkgver=1.6 -pkgrel=1 +pkgrel=1.1 pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings" arch=('i686' 'x86_64' 'mips64el') url="http://sourceforge.net/projects/acpiclient" diff --git a/community/activity-log-manager/PKGBUILD b/community/activity-log-manager/PKGBUILD index 1d860b203..861adf798 100644 --- a/community/activity-log-manager/PKGBUILD +++ b/community/activity-log-manager/PKGBUILD @@ -6,7 +6,7 @@ pkgname=activity-log-manager pkgver=0.9.4 pkgrel=3 pkgdesc="A graphical user interface which lets you easily control what gets logged by Zeitgeist" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="https://launchpad.net/activity-log-manager" license=('GPL2') depends=('gtk3' 'libgee' 'libzeitgeist' 'zeitgeist' 'hicolor-icon-theme' 'xdg-utils') diff --git a/community/audit/PKGBUILD b/community/audit/PKGBUILD index c0cad6e22..1a350d92d 100644 --- a/community/audit/PKGBUILD +++ b/community/audit/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 78779 2012-10-24 13:52:59Z mtorromeo $ +# $Id: PKGBUILD 79970 2012-11-15 08:39:27Z mtorromeo $ # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> # Contributor: Connor Behan <connor.behan@gmail.com> # Contributor: henning mueller <henning@orgizm.net> pkgname=audit pkgver=2.2.1 -pkgrel=3 +pkgrel=4 pkgdesc='User space utilities for storing and searching the audit records generated by the audit subsystem in the Linux kernel.' url=http://people.redhat.com/sgrubb/$pkgname arch=(i686 x86_64 mips64el) @@ -55,9 +55,11 @@ package() { install -m755 "$srcdir/auditd.rc" etc/rc.d/auditd install -d var/log/audit rm -rf etc/rc.d/init.d etc/sysconfig + + sed -ri 's| /sbin| /usr/sbin|' etc/audit/*.conf etc/audisp/plugins.d/*.conf } sha256sums=('9865ca89f5b975ccf25441ddf45a874448f2bba944005aa8cd5e3c3148713a63' - '42c0a4f6ebbd185f783320fd552541d15eb91029b83add21d1e0289ac2dda7ba' + '1e374ff164667b6a11f84c825a39996b449dc712d573996907cd47f063bf0dd5' '3c7179f40216b594675f26bb73884406c8ac91577b609dd1ab9837f889954007' 'e60c031c6354f41938447c439eadee77127307687a2c487a54fab884eeafd9c2') diff --git a/community/audit/auditd.rc b/community/audit/auditd.rc index 69764aa73..13976341c 100755 --- a/community/audit/auditd.rc +++ b/community/audit/auditd.rc @@ -9,8 +9,8 @@ case "$1" in start) stat_busy "Starting auditd" [ -z "$PID" ] && { - /sbin/auditctl -R /etc/audit/audit.rules >/dev/null || stat_die - /sbin/auditd || stat_die + /usr/sbin/auditctl -R /etc/audit/audit.rules >/dev/null || stat_die + /usr/sbin/auditd || stat_die } add_daemon auditd stat_done diff --git a/community/avant-window-navigator/PKGBUILD b/community/avant-window-navigator/PKGBUILD index 8f8562a69..6d6bb256e 100644 --- a/community/avant-window-navigator/PKGBUILD +++ b/community/avant-window-navigator/PKGBUILD @@ -8,7 +8,7 @@ pkgname=avant-window-navigator pkgver=0.4.0 pkgrel=13 pkgdesc="Fully customisable dock-like window navigator for GNOME" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="https://launchpad.net/awn" license=('GPL') depends=('libdesktop-agnostic' 'libwnck' 'libgtop' 'gconf' 'python2-dbus' 'pygtk' 'python2-xdg' 'hicolor-icon-theme' 'xdg-utils') diff --git a/community/avr-binutils/PKGBUILD b/community/avr-binutils/PKGBUILD index b870deb99..cb5a600a8 100644 --- a/community/avr-binutils/PKGBUILD +++ b/community/avr-binutils/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 79108 2012-10-30 17:34:10Z schuay $ +# $Id: PKGBUILD 79838 2012-11-13 22:12:42Z schuay $ # Maintainer: schuay <jakob.gruber@gmail.com> # Contributor: Brad Fanella <bradfanella@archlinux.us> # Contributor: Corrado Primier <bardo@aur.archlinux.org> @@ -8,7 +8,7 @@ pkgname=avr-binutils pkgver=2.23 -pkgrel=1 +pkgrel=2 _pkgname=binutils pkgdesc="A set of programs to assemble and manipulate binary and object files for the avr architecture" arch=('i686' 'x86_64' 'mips64el') @@ -18,14 +18,20 @@ depends=('glibc>=2.16' 'zlib') provides=("binutils-avr=$pkgver") replaces=('binutils-avr') options=('!libtool' '!distcc' '!ccache') -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz) +source=("ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz" + "avr-size.patch") _builddir=binutils-build build() { - cd ${srcdir} + cd ${srcdir}/${_pkgname}-${pkgver} + + # See https://bugs.archlinux.org/task/32504 + patch -Np0 < ${srcdir}/avr-size.patch - config_guess=$(${_pkgname}-${pkgver}/config.guess) + config_guess=$(./config.guess) + + cd ${srcdir} rm -rf ${_builddir} mkdir ${_builddir} && cd ${_builddir} @@ -65,4 +71,5 @@ package() { done } -md5sums=('ed58f50d8920c3f1d9cb110d5c972c27') +md5sums=('ed58f50d8920c3f1d9cb110d5c972c27' + '573769ec1107d1bfed78680edd7ae63f') diff --git a/community/avr-binutils/avr-size.patch b/community/avr-binutils/avr-size.patch new file mode 100644 index 000000000..2e01c3d31 --- /dev/null +++ b/community/avr-binutils/avr-size.patch @@ -0,0 +1,432 @@ +AVR specific only +-------------------------------------------------------------------------------- +--- binutils/size.c 2007-08-06 13:56:14.000000000 -0600 ++++ binutils/size.c 2007-09-13 09:13:10.281250000 -0600 +@@ -35,10 +35,31 @@ + #include "getopt.h" + #include "bucomm.h" + +-#ifndef BSD_DEFAULT +-#define BSD_DEFAULT 1 ++typedef enum ++{ ++ format_sysv = 0, ++ format_bsd = 1, ++ format_avr = 2, ++} format_type_t; ++ ++ ++/* Set the default format. */ ++#define FORMAT_DEFAULT_SYSV 0 ++#define FORMAT_DEFAULT_BSD 1 ++#define FORMAT_DEFAULT_AVR 0 ++ ++#if FORMAT_DEFAULT_SYSV ++ #define FORMAT_DEFAULT format_sysv ++ #define FORMAT_NAME "sysv" ++#elif FORMAT_DEFAULT_BSD ++ #define FORMAT_DEFAULT format_bsd ++ #define FORMAT_NAME "berkeley" ++#elif FORMAT_DEFAULT_AVR ++ #define FORMAT_DEFAULT format_avr ++ #define FORMAT_NAME "avr" + #endif + ++ + /* Program options. */ + + static enum +@@ -47,9 +68,8 @@ static enum + } + radix = decimal; + +-/* 0 means use AT&T-style output. */ +-static int berkeley_format = BSD_DEFAULT; + ++format_type_t format = FORMAT_DEFAULT; + static int show_version = 0; + static int show_help = 0; + static int show_totals = 0; +@@ -63,6 +83,157 @@ static bfd_size_type total_textsize; + /* Program exit status. */ + static int return_code = 0; + ++ ++/* AVR Size specific stuff */ ++ ++#define AVR64 64UL ++#define AVR128 128UL ++#define AVR256 256UL ++#define AVR512 512UL ++#define AVR1K 1024UL ++#define AVR2K 2048UL ++#define AVR4K 4096UL ++#define AVR8K 8192UL ++#define AVR16K 16384UL ++#define AVR24K 24576UL ++#define AVR32K 32768UL ++#define AVR40K 40960UL ++#define AVR64K 65536UL ++#define AVR128K 131072UL ++#define AVR256K 262144UL ++ ++typedef struct ++{ ++ char *name; ++ long flash; ++ long ram; ++ long eeprom; ++} avr_device_t; ++ ++avr_device_t avr[] = ++{ ++ {"atmega2560", AVR256K, AVR8K, AVR4K}, ++ {"atmega2561", AVR256K, AVR8K, AVR4K}, ++ ++ {"at43usb320", AVR128K, 608UL, 0}, ++ {"at90can128", AVR128K, AVR4K, AVR4K}, ++ {"at90usb1286", AVR128K, AVR8K, AVR4K}, ++ {"at90usb1287", AVR128K, AVR8K, AVR4K}, ++ {"atmega128", AVR128K, AVR4K, AVR4K}, ++ {"atmega1280", AVR128K, AVR8K, AVR4K}, ++ {"atmega1281", AVR128K, AVR8K, AVR4K}, ++ {"atmega1284P", AVR128K, AVR16K, AVR4K}, ++ {"atmega103", AVR128K, 4000UL, AVR4K}, ++ {"atxmega128a1",AVR128K, AVR8K, AVR2K}, ++ ++ {"at90can64", AVR64K, AVR4K, AVR2K}, ++ {"at90usb646", AVR64K, AVR4K, AVR2K}, ++ {"at90usb647", AVR64K, AVR4K, AVR2K}, ++ {"atmega64", AVR64K, AVR4K, AVR2K}, ++ {"atmega640", AVR64K, AVR8K, AVR4K}, ++ {"atmega644", AVR64K, AVR4K, AVR2K}, ++ {"atmega644p", AVR64K, AVR4K, AVR2K}, ++ {"atmega645", AVR64K, AVR4K, AVR2K}, ++ {"atmega6450", AVR64K, AVR4K, AVR2K}, ++ {"atmega649", AVR64K, AVR4K, AVR2K}, ++ {"atmega6490", AVR64K, AVR4K, AVR2K}, ++ {"atxmega64a1", AVR64K, AVR4K, AVR2K}, ++ ++ {"atmega406", AVR40K, AVR512, AVR2K}, ++ ++ {"at90can32", AVR32K, AVR2K, AVR1K}, ++ {"at94k", AVR32K, AVR4K, 0}, ++ {"atmega32", AVR32K, AVR2K, AVR1K}, ++ {"atmega323", AVR32K, AVR2K, AVR1K}, ++ {"atmega324p", AVR32K, AVR2K, AVR1K}, ++ {"atmega325", AVR32K, AVR2K, AVR1K}, ++ {"atmega325p", AVR32K, AVR2K, AVR1K}, ++ {"atmega3250", AVR32K, AVR2K, AVR1K}, ++ {"atmega3250p", AVR32K, AVR2K, AVR1K}, ++ {"atmega328p", AVR32K, AVR2K, AVR1K}, ++ {"atmega329", AVR32K, AVR2K, AVR1K}, ++ {"atmega329p", AVR32K, AVR2K, AVR1K}, ++ {"atmega3290", AVR32K, AVR2K, AVR1K}, ++ {"atmega3290p", AVR32K, AVR2K, AVR1K}, ++ {"atmega32hvb", AVR32K, AVR2K, AVR1K}, ++ {"atmega32c1", AVR32K, AVR2K, AVR1K}, ++ {"atmega32m1", AVR32K, AVR2K, AVR1K}, ++ {"atmega32u4", AVR32K, 2560UL, AVR1K}, ++ ++ {"at43usb355", AVR24K, 1120, 0}, ++ ++ {"at76c711", AVR16K, AVR2K, 0}, ++ {"at90pwm216", AVR16K, AVR1K, AVR512}, ++ {"at90pwm316", AVR16K, AVR1K, AVR512}, ++ {"at90usb162", AVR16K, AVR512, AVR512}, ++ {"atmega16", AVR16K, AVR1K, AVR512}, ++ {"atmega161", AVR16K, AVR1K, AVR512}, ++ {"atmega162", AVR16K, AVR1K, AVR512}, ++ {"atmega163", AVR16K, AVR1K, AVR512}, ++ {"atmega164", AVR16K, AVR1K, AVR512}, ++ {"atmega164p", AVR16K, AVR1K, AVR512}, ++ {"atmega165", AVR16K, AVR1K, AVR512}, ++ {"atmega165p", AVR16K, AVR1K, AVR512}, ++ {"atmega168", AVR16K, AVR1K, AVR512}, ++ {"atmega168p", AVR16K, AVR1K, AVR512}, ++ {"atmega169", AVR16K, AVR1K, AVR512}, ++ {"atmega169p", AVR16K, AVR1K, AVR512}, ++ {"attiny167", AVR16K, AVR512, AVR512}, ++ {"atxmega16d4", AVR16K, AVR2K, AVR1K}, ++ ++ {"at90c8534", AVR8K, 352, AVR512}, ++ {"at90pwm1", AVR8K, AVR512, AVR512}, ++ {"at90pwm2", AVR8K, AVR512, AVR512}, ++ {"at90pwm2b", AVR8K, AVR512, AVR512}, ++ {"at90pwm3", AVR8K, AVR512, AVR512}, ++ {"at90pwm3b", AVR8K, AVR512, AVR512}, ++ {"at90s8515", AVR8K, AVR512, AVR512}, ++ {"at90s8535", AVR8K, AVR512, AVR512}, ++ {"at90usb82", AVR8K, AVR512, AVR512}, ++ {"atmega8", AVR8K, AVR1K, AVR512}, ++ {"atmega8515", AVR8K, AVR512, AVR512}, ++ {"atmega8535", AVR8K, AVR512, AVR512}, ++ {"atmega88", AVR8K, AVR1K, AVR512}, ++ {"atmega88p", AVR8K, AVR1K, AVR512}, ++ {"attiny84", AVR8K, AVR512, AVR512}, ++ {"attiny85", AVR8K, AVR512, AVR512}, ++ {"attiny861", AVR8K, AVR512, AVR512}, ++ {"attiny88", AVR8K, AVR256, AVR64}, ++ ++ {"at90s4414", AVR4K, 352, AVR256}, ++ {"at90s4433", AVR4K, AVR128, AVR256}, ++ {"at90s4434", AVR4K, 352, AVR256}, ++ {"atmega48", AVR4K, AVR512, AVR256}, ++ {"atmega48p", AVR4K, AVR512, AVR256}, ++ {"attiny43u", AVR4K, AVR256, AVR64}, ++ {"attiny44", AVR4K, AVR256, AVR256}, ++ {"attiny45", AVR4K, AVR256, AVR256}, ++ {"attiny461", AVR4K, AVR256, AVR256}, ++ {"attiny48", AVR4K, AVR256, AVR64}, ++ ++ {"at86rf401", AVR2K, 224, AVR128}, ++ {"at90s2313", AVR2K, AVR128, AVR128}, ++ {"at90s2323", AVR2K, AVR128, AVR128}, ++ {"at90s2333", AVR2K, 224, AVR128}, ++ {"at90s2343", AVR2K, AVR128, AVR128}, ++ {"attiny22", AVR2K, 224, AVR128}, ++ {"attiny2313", AVR2K, AVR128, AVR128}, ++ {"attiny24", AVR2K, AVR128, AVR128}, ++ {"attiny25", AVR2K, AVR128, AVR128}, ++ {"attiny26", AVR2K, AVR128, AVR128}, ++ {"attiny261", AVR2K, AVR128, AVR128}, ++ {"attiny28", AVR2K, 0, 0}, ++ ++ {"at90s1200", AVR1K, 0, AVR64}, ++ {"attiny11", AVR1K, 0, AVR64}, ++ {"attiny12", AVR1K, 0, AVR64}, ++ {"attiny13", AVR1K, AVR64, AVR64}, ++ {"attiny15", AVR1K, 0, AVR64}, ++}; ++ ++static char *avrmcu = NULL; ++ ++ + static char *target = NULL; + + /* Forward declarations. */ +@@ -78,7 +240,8 @@ usage (FILE *stream, int status) + fprintf (stream, _(" Displays the sizes of sections inside binary files\n")); + fprintf (stream, _(" If no input file(s) are specified, a.out is assumed\n")); + fprintf (stream, _(" The options are:\n\ +- -A|-B --format={sysv|berkeley} Select output style (default is %s)\n\ ++ -A|-B|-C --format={sysv|berkeley|avr} Select output style (default is %s)\n\ ++ --mcu=<avrmcu> MCU name for AVR format only\n\ + -o|-d|-x --radix={8|10|16} Display numbers in octal, decimal or hex\n\ + -t --totals Display the total sizes (Berkeley only)\n\ + --common Display total size for *COM* syms\n\ +@@ -87,11 +250,7 @@ usage (FILE *stream, int status) + -h --help Display this information\n\ + -v --version Display the program's version\n\ + \n"), +-#if BSD_DEFAULT +- "berkeley" +-#else +- "sysv" +-#endif ++FORMAT_NAME + ); + list_supported_targets (program_name, stream); + if (REPORT_BUGS_TO[0] && status == 0) +@@ -102,6 +261,7 @@ usage (FILE *stream, int status) + #define OPTION_FORMAT (200) + #define OPTION_RADIX (OPTION_FORMAT + 1) + #define OPTION_TARGET (OPTION_RADIX + 1) ++#define OPTION_MCU (OPTION_TARGET + 1) + + static struct option long_options[] = + { +@@ -109,6 +269,7 @@ static struct option long_options[] = + {"format", required_argument, 0, OPTION_FORMAT}, + {"radix", required_argument, 0, OPTION_RADIX}, + {"target", required_argument, 0, OPTION_TARGET}, ++ {"mcu", required_argument, 0, 203}, + {"totals", no_argument, &show_totals, 1}, + {"version", no_argument, &show_version, 1}, + {"help", no_argument, &show_help, 1}, +@@ -140,7 +301,7 @@ main (int argc, char **argv) + bfd_init (); + set_default_bfd_target (); + +- while ((c = getopt_long (argc, argv, "ABHhVvdfotx", long_options, ++ while ((c = getopt_long (argc, argv, "ABCHhVvdfotx", long_options, + (int *) 0)) != EOF) + switch (c) + { +@@ -149,11 +310,15 @@ main (int argc, char **argv) + { + case 'B': + case 'b': +- berkeley_format = 1; ++ format = format_bsd; + break; + case 'S': + case 's': +- berkeley_format = 0; ++ format = format_sysv; ++ break; ++ case 'A': ++ case 'a': ++ format = format_avr; + break; + default: + non_fatal (_("invalid argument to --format: %s"), optarg); +@@ -161,6 +326,10 @@ main (int argc, char **argv) + } + break; + ++ case OPTION_MCU: ++ avrmcu = optarg; ++ break; ++ + case OPTION_TARGET: + target = optarg; + break; +@@ -189,11 +358,14 @@ main (int argc, char **argv) + break; + + case 'A': +- berkeley_format = 0; ++ format = format_sysv; + break; + case 'B': +- berkeley_format = 1; ++ format = format_bsd; + break; ++ case 'C': ++ format = format_avr; ++ break; + case 'v': + case 'V': + show_version = 1; +@@ -239,7 +411,7 @@ main (int argc, char **argv) + for (; optind < argc;) + display_file (argv[optind++]); + +- if (show_totals && berkeley_format) ++ if (show_totals && format == format_bsd) + { + bfd_size_type total = total_textsize + total_datasize + total_bsssize; + +@@ -600,13 +772,117 @@ print_sysv_format (bfd *file) + printf ("\n\n"); + } + ++ ++static avr_device_t * ++avr_find_device (void) ++{ ++ unsigned int i; ++ if (avrmcu != NULL) ++ { ++ for (i = 0; i < sizeof(avr) / sizeof(avr[0]); i++) ++ { ++ if (strcmp(avr[i].name, avrmcu) == 0) ++ { ++ /* Match found */ ++ return (&avr[i]); ++ } ++ } ++ } ++ return (NULL); ++} ++ ++ ++ ++static void ++print_avr_format (bfd *file) ++{ ++ char *avr_name = "Unknown"; ++ int flashmax = 0; ++ int rammax = 0; ++ int eeprommax = 0; ++ asection *section; ++ bfd_size_type data_size = 0; ++ bfd_size_type text_size = 0; ++ bfd_size_type bss_size = 0; ++ bfd_size_type bootloader_size = 0; ++ bfd_size_type noinit_size = 0; ++ bfd_size_type eeprom_size = 0; ++ ++ avr_device_t *avrdevice = avr_find_device(); ++ if (avrdevice != NULL) ++ { ++ avr_name = avrdevice->name; ++ flashmax = avrdevice->flash; ++ rammax = avrdevice->ram; ++ eeprommax = avrdevice->eeprom; ++ } ++ ++ if ((section = bfd_get_section_by_name (file, ".data")) != NULL) ++ data_size = bfd_section_size (file, section); ++ if ((section = bfd_get_section_by_name (file, ".text")) != NULL) ++ text_size = bfd_section_size (file, section); ++ if ((section = bfd_get_section_by_name (file, ".bss")) != NULL) ++ bss_size = bfd_section_size (file, section); ++ if ((section = bfd_get_section_by_name (file, ".bootloader")) != NULL) ++ bootloader_size = bfd_section_size (file, section); ++ if ((section = bfd_get_section_by_name (file, ".noinit")) != NULL) ++ noinit_size = bfd_section_size (file, section); ++ if ((section = bfd_get_section_by_name (file, ".eeprom")) != NULL) ++ eeprom_size = bfd_section_size (file, section); ++ ++ bfd_size_type text = text_size + data_size + bootloader_size; ++ bfd_size_type data = data_size + bss_size + noinit_size; ++ bfd_size_type eeprom = eeprom_size; ++ ++ printf ("AVR Memory Usage\n" ++ "----------------\n" ++ "Device: %s\n\n", avr_name); ++ ++ /* Text size */ ++ printf ("Program:%8ld bytes", text); ++ if (flashmax > 0) ++ { ++ printf (" (%2.1f%% Full)", ((float)text / flashmax) * 100); ++ } ++ printf ("\n(.text + .data + .bootloader)\n\n"); ++ ++ /* Data size */ ++ printf ("Data: %8ld bytes", data); ++ if (rammax > 0) ++ { ++ printf (" (%2.1f%% Full)", ((float)data / rammax) * 100); ++ } ++ printf ("\n(.data + .bss + .noinit)\n\n"); ++ ++ /* EEPROM size */ ++ if (eeprom > 0) ++ { ++ printf ("EEPROM: %8ld bytes", eeprom); ++ if (eeprommax > 0) ++ { ++ printf (" (%2.1f%% Full)", ((float)eeprom / eeprommax) * 100); ++ } ++ printf ("\n(.eeprom)\n\n"); ++ } ++} ++ ++ + static void + print_sizes (bfd *file) + { + if (show_common) + calculate_common_size (file); +- if (berkeley_format) +- print_berkeley_format (file); +- else +- print_sysv_format (file); ++ switch (format) ++ { ++ case format_sysv: ++ print_sysv_format (file); ++ break; ++ case format_bsd: ++ print_berkeley_format (file); ++ break; ++ case format_avr: ++ default: ++ print_avr_format (file); ++ break; ++ } + } diff --git a/community/awn-extras-applets/PKGBUILD b/community/awn-extras-applets/PKGBUILD new file mode 100644 index 000000000..59fd1bcdd --- /dev/null +++ b/community/awn-extras-applets/PKGBUILD @@ -0,0 +1,86 @@ +# Maintainer: György Balló <ballogy@freestart.hu> +# Contributor: Biru Ionut <ionut@archlinux.ro> +# Contributor: Jonathan Liu <net147@hotmail.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=awn-extras-applets +_pkgname=awn-extras +pkgver=0.4.0 +pkgrel=14 +pkgdesc="Collection of applets for avant-window-navigator" +arch=('i686' 'x86_64') +url="https://launchpad.net/awn-extras" +license=('GPL') +depends=('avant-window-navigator' 'python2-notify' 'vte' 'gnome-menus' 'gnome-menus2' 'webkitgtk2') +makedepends=('intltool' 'vala') +optdepends=('python2-feedparser: comics, feeds, mail applets' + 'python2-rsvg: comics, cairo-clock, hardware-sensors applets' + 'gstreamer0.10-python: media-player, volume-control applets' + 'python2-dateutil: cairo-clock (optional), calendar applets' + 'python2-gdata: calendar applet' + 'python2-vobject: calendar applet' + 'python2-pyinotify: thinkhdaps applet (optional)' + 'python2-libgnome: stacks applet' + 'python2-gnomedesktop: stacks applet' + 'python2-wnck: slickswitcher applet' + 'fortune-mod: animal-farm applet' + 'upower: battery applet' + 'gnome-applets: cpufreq applet' + 'hddtemp: hardware-sensors applet (optional)' + 'lm_sensors: hardware-sensors applet (optional)') +options=('!libtool') +install=$pkgname.install +source=(http://launchpad.net/$_pkgname/0.4/$pkgver/+download/$_pkgname-$pkgver.tar.gz + awn-extras-libnotify0.7.patch + remove-settings-menu.patch + add-battery-upower-support.patch + fix-shinyswitcher-scrolling.patch + fix-weather-applet.patch + awn-extras-glib2.32.patch + check-dependencies.patch) +md5sums=('b559d68cd6ad295c961c20fcc5d9f9c0' + '2df8dfd8f0f1d458c09b56983c7d049f' + '52f8ce6a4eca862b0740e29a84db8ae5' + '26b56106b63b14ba3c99f1a2e96da05d' + '755c57dfbb65a314f247277918ec95ac' + 'bc22bb3e81aca0f651ae8acee1ce2f00' + '1cfcd1e5dc92c4c7c306472d42a21c2d' + '8f920c7dde987d66eef7d3739df1051d') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + patch -Np1 -i "$srcdir/awn-extras-libnotify0.7.patch" + patch -Np1 -i "$srcdir/remove-settings-menu.patch" + patch -Np0 -i "$srcdir/add-battery-upower-support.patch" + patch -Np0 -i "$srcdir/fix-shinyswitcher-scrolling.patch" + patch -Np1 -i "$srcdir/fix-weather-applet.patch" + patch -Np0 -i "$srcdir/awn-extras-glib2.32.patch" + patch -Np1 -i "$srcdir/check-dependencies.patch" + + # Python2 fix + find . -type f -name *.py | xargs sed -i 's@^#.*python$@#!/usr/bin/python2@' + sed -i 's/async(\"python \"/async(\"python2 \"/' applets/maintained/shiny-switcher/shinyswitcherapplet.c + + ./configure --prefix=/usr --sysconfdir=/etc \ + --disable-static \ + --disable-pymod-checks \ + --with-webkit \ + PYTHON=/usr/bin/python2 + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install + + mkdir -p "$pkgdir/usr/share/gconf/schemas" + gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/awn-extras.schemas" "$pkgdir"/etc/gconf/schemas/*.schemas + rm -r "$pkgdir"/etc + + # Remove bandwidth-monitor applet, because it's not compatible with latest netstat + rm -R "$pkgdir"/usr/share/avant-window-navigator/applets/bandwidth-monitor* + + # Remove pandora applet, because gtkmozembed is not available + rm -R "$pkgdir"/usr/share/avant-window-navigator/applets/pandora* +} diff --git a/community/awn-extras-applets/add-battery-upower-support.patch b/community/awn-extras-applets/add-battery-upower-support.patch new file mode 100644 index 000000000..0548df758 --- /dev/null +++ b/community/awn-extras-applets/add-battery-upower-support.patch @@ -0,0 +1,200 @@ +=== modified file 'applets/maintained/battery/battery.py' +--- applets/maintained/battery/battery.py 2010-08-12 19:00:37 +0000 ++++ applets/maintained/battery/battery.py 2010-09-12 22:24:21 +0000 +@@ -1,6 +1,6 @@ + #!/usr/bin/python + # Copyright (c) 2007 - 2008 Randal Barlow <im.tehk at gmail.com> +-# 2008 - 2009 onox <denkpadje@gmail.com> ++# 2008 - 2010 onox <denkpadje@gmail.com> + # + # This library is free software; you can redistribute it and/or + # modify it under the terms of the GNU Lesser General Public +@@ -223,11 +223,11 @@ + return + + charge_percentage = self.backend.get_capacity_percentage() +- +- charge_message = "Computer running on %s power" % ("AC", "battery")[self.backend.is_discharging()] ++ power_type = "AC" if self.backend.is_on_ac_power() else "battery" ++ charge_message = "Computer running on %s power" % power_type + + if self.backend.is_charged(): +- charge_message += "\nBattery charged" ++ charge_message += "\n" + "Battery charged" + icon = os.path.join(themes_dir, self.settings["theme"], "battery-charged.svg") + else: + is_charging = self.backend.is_charging() +@@ -343,6 +343,148 @@ + return self.get_remaining_capacity() <= self.get_warning_capacity() + + ++class UPowerBackend(AbstractBackend): ++ ++ """Backend that uses UPower via DBus. ++ ++ Reference: http://upower.freedesktop.org/docs/Device.html ++ ++ """ ++ ++ device_iface_name = "org.freedesktop.UPower.Device" ++ ++ devices = None ++ ++ def __init__(self): ++ self.__system_bus = dbus.SystemBus() ++ ++ self.udi = UPowerBackend.get_batteries().keys()[0] ++ self.__set_dbus_interface(self.udi) ++ ++ @staticmethod ++ def backend_useable(): ++ return dbus is not None and len(UPowerBackend.get_batteries()) > 0 ++ ++ @staticmethod ++ def get_batteries(): ++ udi_models = {} ++ ++ try: ++ system_bus = dbus.SystemBus() ++ ++ proxy = system_bus.get_object("org.freedesktop.UPower", "/org/freedesktop/UPower") ++ interface = dbus.Interface(proxy, "org.freedesktop.UPower") ++ ++ UPowerBackend.devices = list(interface.EnumerateDevices()) ++ ++ for udi in UPowerBackend.devices: ++ device_iface = UPowerBackend.__get_dbus_interface(system_bus, udi) ++ ++ # Type 2 is battery (1 is AC, 3 is UPS) ++ device_type = int(UPowerBackend.__get_property(device_iface, "Type")) ++ is_present = bool(UPowerBackend.__get_property(device_iface, "IsPresent")) ++ ++ if device_type == 2 and is_present: ++ udi_models[str(udi)] = str(UPowerBackend.__get_property(device_iface, "Model")) ++ except dbus.DBusException, e: ++ print e.message ++ finally: ++ return udi_models ++ ++ def set_active_udi(self, udi): ++ udi_models = UPowerBackend.get_batteries() ++ ++ assert udi in udi_models ++ ++ self.udi = udi ++ self.__set_dbus_interface(udi) ++ ++ @staticmethod ++ def __get_dbus_interface(system_bus, udi): ++ proxy = system_bus.get_object("org.freedesktop.UPower", udi) ++ return dbus.Interface(proxy, "org.freedesktop.DBus.Properties") ++ ++ def __set_dbus_interface(self, udi): ++ self.__battery = UPowerBackend.__get_dbus_interface(self.__system_bus, udi) ++ ++ @staticmethod ++ def __get_property(interface, property_name): ++ return interface.Get(UPowerBackend.device_iface_name, property_name) ++ ++ def get_active_udi(self): ++ return self.udi ++ ++ def is_present(self): ++ return bool(UPowerBackend.__get_property(self.__battery, "IsPresent")) ++ ++ def is_charging(self): ++ # State 1 is charging ++ return int(UPowerBackend.__get_property(self.__battery, "State")) == 1 ++ ++ def is_discharging(self): ++ # State 2 is discharging ++ return int(UPowerBackend.__get_property(self.__battery, "State")) == 2 ++ ++ def get_last_full_capacity(self): ++ # Measured in Wh ++ return int(UPowerBackend.__get_property(self.__battery, "EnergyFull")) ++ ++ def get_remaining_capacity(self): ++ # Measured in Wh ++ return int(UPowerBackend.__get_property(self.__battery, "Energy")) ++ ++ def get_charge_rate(self): ++ # Measured in W. Original value positive if being discharged, negative if being charged ++ return abs(int(UPowerBackend.__get_property(self.__battery, "EnergyRate"))) ++ ++ def get_capacity_percentage(self): ++ # Percentage in range 0 .. 100 ++ return int(UPowerBackend.__get_property(self.__battery, "Percentage")) ++ ++ def get_warning_capacity(self): ++ # Measured in Wh ++ return int(int(UPowerBackend.__get_property(self.__battery, "EnergyFullDesign")) * (warning_percentage / 100.)) ++ ++ def get_charge_time(self): ++ assert self.is_charging() ++ ++ # Charge time in seconds ++ time = int(UPowerBackend.__get_property(self.__battery, "TimeToFull")) ++ ++ if time == 0: ++ return super(UPowerBackend, self).get_charge_time() ++ ++ hours = time / 3600 ++ seconds = time % 3600 ++ return (hours, int(round(seconds / 60.0))) ++ ++ def get_remaining_time(self): ++ assert self.is_discharging() ++ ++ # Discharge time in seconds ++ time = int(UPowerBackend.__get_property(self.__battery, "TimeToEmpty")) ++ ++ if time == 0: ++ return super(UPowerBackend, self).get_discharge_time() ++ ++ hours = time / 3600 ++ seconds = time % 3600 ++ return (hours, int(round(seconds / 60.0))) ++ ++ def is_charged(self): ++ # State 4 is fully charged ++ return int(UPowerBackend.__get_property(self.__battery, "State")) == 4 ++ ++ def is_on_ac_power(self): ++ for udi in UPowerBackend.devices: ++ device_iface = UPowerBackend.__get_dbus_interface(self.__system_bus, udi) ++ ++ # Property "Online" only has a value for AC power device ++ if bool(UPowerBackend.__get_property(device_iface, "Online")): ++ return True ++ return False ++ ++ + class HalBackend(AbstractBackend): + + """Backend that uses HAL via DBus. +@@ -372,7 +514,7 @@ + return udi_models + except dbus.DBusException, e: + print e.message +- return {} ++ return udi_models + + def set_active_udi(self, udi): + udi_models = HalBackend.get_batteries() +@@ -416,8 +558,12 @@ + except dbus.DBusException: + return int(int(self.__hal_battery.GetProperty("battery.charge_level.design")) * (warning_percentage / 100.)) + +- +-backends = [HalBackend] ++ def is_on_ac_power(self): ++ # TODO Should check that _all_ batteries are not discharging ++ return not self.is_discharging() ++ ++ ++backends = [UPowerBackend, HalBackend] + + + if __name__ == "__main__": + diff --git a/community/awn-extras-applets/awn-extras-applets.install b/community/awn-extras-applets/awn-extras-applets.install new file mode 100644 index 000000000..9f04bf6a2 --- /dev/null +++ b/community/awn-extras-applets/awn-extras-applets.install @@ -0,0 +1,23 @@ +pkgname=awn-extras + +post_install() { + gconfpkg --install $pkgname + xdg-icon-resource forceupdate +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + + +pre_remove() { + gconfpkg --uninstall $pkgname +} + +post_remove() { + xdg-icon-resource forceupdate +} diff --git a/community/awn-extras-applets/awn-extras-glib2.32.patch b/community/awn-extras-applets/awn-extras-glib2.32.patch new file mode 100644 index 000000000..563d73b56 --- /dev/null +++ b/community/awn-extras-applets/awn-extras-glib2.32.patch @@ -0,0 +1,226 @@ +=== modified file 'applets/maintained/awnterm/keybinder.h' +--- applets/maintained/awnterm/keybinder.h 2009-12-04 15:32:54 +0000 ++++ applets/maintained/awnterm/keybinder.h 2012-04-28 13:17:10 +0000 +@@ -24,7 +24,7 @@ + #ifndef __AWN_KEY_BINDER_H__ + #define __AWN_KEY_BINDER_H__ + +-#include <glib/gtypes.h> ++#include <glib.h> + + G_BEGIN_DECLS + + +=== modified file 'applets/maintained/notification-daemon/daemon.h' +--- applets/maintained/notification-daemon/daemon.h 2009-11-18 20:13:53 +0000 ++++ applets/maintained/notification-daemon/daemon.h 2012-04-28 13:17:10 +0000 +@@ -31,8 +31,6 @@ + + #include <libawn/awn-applet.h> + #include <libawn/awn-applet-simple.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> + + #include <libawn/awn-dialog.h> + #include <libawn/awn-cairo-utils.h> + +=== modified file 'applets/maintained/notification-daemon/engines.c' +--- applets/maintained/notification-daemon/engines.c 2010-04-10 17:06:17 +0000 ++++ applets/maintained/notification-daemon/engines.c 2012-04-28 13:17:10 +0000 +@@ -38,8 +38,7 @@ + + + #include <libawn/awn-applet.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + + #include <libawn/awn-dialog.h> + #include <libawn/awn-applet-simple.h> +@@ -50,7 +49,6 @@ + + #include <string.h> + #include <gtk/gtk.h> +-#include <glib.h> + #ifndef HAVE_GTK_URL_LABEL + #include <libsexy/sexy-url-label.h> + #endif + +=== modified file 'applets/unmaintained/awnsystemmonitor/awnsystemmonitor.h' +--- applets/unmaintained/awnsystemmonitor/awnsystemmonitor.h 2009-04-22 03:44:36 +0000 ++++ applets/unmaintained/awnsystemmonitor/awnsystemmonitor.h 2012-04-28 13:17:10 +0000 +@@ -25,7 +25,7 @@ + //#include <libawn/awn-title.h> + #include <libawn/awn-tooltip.h> + +-#include <glib/gtypes.h> ++#include <glib.h> + #include <glibtop/cpu.h> + #include <gconf/gconf-client.h> + + +=== modified file 'applets/unmaintained/awnsystemmonitor/awntop_cairo_component.c' +--- applets/unmaintained/awnsystemmonitor/awntop_cairo_component.c 2010-04-01 14:25:40 +0000 ++++ applets/unmaintained/awnsystemmonitor/awntop_cairo_component.c 2012-04-28 13:17:10 +0000 +@@ -43,13 +43,11 @@ + + + #include <libawn/awn-applet.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include <gconf/gconf-value.h> + + #include <libawn/awn-dialog.h> + #include <libawn/awn-applet-simple.h> +-#include <glib.h> + #include <gtk/gtk.h> + + + +=== modified file 'applets/unmaintained/awnsystemmonitor/cpu_component.c' +--- applets/unmaintained/awnsystemmonitor/cpu_component.c 2009-08-27 20:20:33 +0000 ++++ applets/unmaintained/awnsystemmonitor/cpu_component.c 2012-04-28 13:17:10 +0000 +@@ -18,13 +18,11 @@ + */ + + #include <libawn/awn-applet.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include <gconf/gconf-value.h> + + #include <libawn/awn-dialog.h> + #include <libawn/awn-applet-simple.h> +-#include <glib.h> + #include <gtk/gtk.h> + #include <gdk/gdk.h> + #include <string.h> + +=== modified file 'applets/unmaintained/awnsystemmonitor/cpumetergconf.c' +--- applets/unmaintained/awnsystemmonitor/cpumetergconf.c 2009-04-22 03:44:36 +0000 ++++ applets/unmaintained/awnsystemmonitor/cpumetergconf.c 2012-04-28 13:17:10 +0000 +@@ -20,13 +20,10 @@ + * Boston, MA 02111-1307, USA. + */ + #include <string.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include <gconf/gconf-value.h> + + #include <libawn/awn-applet.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> + #include <gconf/gconf-value.h> + + #include "cairo-utils.h" + +=== modified file 'applets/unmaintained/awnsystemmonitor/dashboard.h' +--- applets/unmaintained/awnsystemmonitor/dashboard.h 2009-04-22 03:44:36 +0000 ++++ applets/unmaintained/awnsystemmonitor/dashboard.h 2012-04-28 13:17:10 +0000 +@@ -23,13 +23,11 @@ + + + #include <libawn/awn-applet.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include <gconf/gconf-value.h> + + #include <libawn/awn-dialog.h> + #include <libawn/awn-applet-simple.h> +-#include <glib.h> + #include <gtk/gtk.h> + + #include <glibtop/mem.h> + +=== modified file 'applets/unmaintained/awnsystemmonitor/date_time_component.c' +--- applets/unmaintained/awnsystemmonitor/date_time_component.c 2009-07-07 20:10:17 +0000 ++++ applets/unmaintained/awnsystemmonitor/date_time_component.c 2012-04-28 13:17:10 +0000 +@@ -19,13 +19,11 @@ + + + #include <libawn/awn-applet.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include <gconf/gconf-value.h> + + #include <libawn/awn-dialog.h> + #include <libawn/awn-applet-simple.h> +-#include <glib.h> + #include <gtk/gtk.h> + #include <gdk/gdk.h> + #include <string.h> + +=== modified file 'applets/unmaintained/awnsystemmonitor/loadavg_component.c' +--- applets/unmaintained/awnsystemmonitor/loadavg_component.c 2009-07-07 20:10:17 +0000 ++++ applets/unmaintained/awnsystemmonitor/loadavg_component.c 2012-04-28 13:17:10 +0000 +@@ -19,13 +19,11 @@ + + #include <glibtop/loadavg.h> + #include <libawn/awn-applet.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include <gconf/gconf-value.h> + + #include <libawn/awn-dialog.h> + #include <libawn/awn-applet-simple.h> +-#include <glib.h> + #include <gtk/gtk.h> + #include <gdk/gdk.h> + #include <string.h> + +=== modified file 'applets/unmaintained/awnsystemmonitor/sysmem_component.c' +--- applets/unmaintained/awnsystemmonitor/sysmem_component.c 2009-08-27 20:20:33 +0000 ++++ applets/unmaintained/awnsystemmonitor/sysmem_component.c 2012-04-28 13:17:10 +0000 +@@ -19,13 +19,11 @@ + + #include <glibtop/mem.h> + #include <libawn/awn-applet.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include <gconf/gconf-value.h> + + #include <libawn/awn-dialog.h> + #include <libawn/awn-applet-simple.h> +-#include <glib.h> + #include <gtk/gtk.h> + #include <gdk/gdk.h> + #include <string.h> + +=== modified file 'applets/unmaintained/awnsystemmonitor/uptime_component.c' +--- applets/unmaintained/awnsystemmonitor/uptime_component.c 2009-07-07 20:10:17 +0000 ++++ applets/unmaintained/awnsystemmonitor/uptime_component.c 2012-04-28 13:17:10 +0000 +@@ -1,12 +1,10 @@ + + #include <libawn/awn-applet.h> +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include <gconf/gconf-value.h> + + #include <libawn/awn-dialog.h> + #include <libawn/awn-applet-simple.h> +-#include <glib.h> + + #include <glibtop/uptime.h> + #include <glibtop/cpu.h> + +=== modified file 'applets/unmaintained/main-menu/applet.c' +--- applets/unmaintained/main-menu/applet.c 2011-12-28 11:09:45 +0000 ++++ applets/unmaintained/main-menu/applet.c 2012-04-28 13:17:10 +0000 +@@ -23,8 +23,7 @@ + + #include <string.h> + +-#include <glib/gmacros.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include <glib/gi18n.h> + #include <gtk/gtk.h> + #include <libdesktop-agnostic/fdo.h> + diff --git a/community/awn-extras-applets/awn-extras-libnotify0.7.patch b/community/awn-extras-applets/awn-extras-libnotify0.7.patch new file mode 100644 index 000000000..c552e26f2 --- /dev/null +++ b/community/awn-extras-applets/awn-extras-libnotify0.7.patch @@ -0,0 +1,12 @@ +diff -Naur awn-extras-0.4.0.orig/applets/maintained/notification-daemon/daemon.c awn-extras-0.4.0/applets/maintained/notification-daemon/daemon.c +--- awn-extras-0.4.0.orig/applets/maintained/notification-daemon/daemon.c 2010-04-10 01:26:20.000000000 +0200 ++++ awn-extras-0.4.0/applets/maintained/notification-daemon/daemon.c 2011-12-16 00:23:45.488215715 +0100 +@@ -1487,7 +1487,7 @@ + if (fork() == 0) + { + notify_init("notify-send"); +- notify = notify_notification_new(summary, body, icon_str, NULL); ++ notify = notify_notification_new(summary, body, icon_str); + notify_notification_set_category(notify, type); + notify_notification_set_urgency(notify, urgency); + notify_notification_set_timeout(notify, expire_timeout); diff --git a/community/awn-extras-applets/check-dependencies.patch b/community/awn-extras-applets/check-dependencies.patch new file mode 100644 index 000000000..959d3a113 --- /dev/null +++ b/community/awn-extras-applets/check-dependencies.patch @@ -0,0 +1,71 @@ +diff -Naur awn-extras-0.4.0.orig/applets/maintained/comics/comics.py awn-extras-0.4.0/applets/maintained/comics/comics.py +--- awn-extras-0.4.0.orig/applets/maintained/comics/comics.py 2010-03-26 17:14:53.000000000 +0100 ++++ awn-extras-0.4.0/applets/maintained/comics/comics.py 2012-11-15 17:28:52.045595715 +0100 +@@ -30,7 +30,7 @@ + from awn.extras import _ + + # Import Comics! modules, but check dependencies first +-awn.check_dependencies(globals(), 'feedparser', 'pynotify') ++awn.check_dependencies(globals(), 'feedparser', 'pynotify', 'rsvg') + from pynotify import init as notify_init, Notification + + import comics_manage +diff -Naur awn-extras-0.4.0.orig/applets/maintained/media-player/media_player.py awn-extras-0.4.0/applets/maintained/media-player/media_player.py +--- awn-extras-0.4.0.orig/applets/maintained/media-player/media_player.py 2010-01-06 00:01:33.000000000 +0100 ++++ awn-extras-0.4.0/applets/maintained/media-player/media_player.py 2012-11-15 17:28:54.925659573 +0100 +@@ -17,13 +17,15 @@ + import os + import sys + ++import awn ++awn.check_dependencies(globals(), 'pygst') ++ + import pygst + pygst.require("0.10") + import gst + import gtk + import gobject + +-import awn + from desktopagnostic import config + + +diff -Naur awn-extras-0.4.0.orig/applets/maintained/slickswitcher/slickswitcher.py awn-extras-0.4.0/applets/maintained/slickswitcher/slickswitcher.py +--- awn-extras-0.4.0.orig/applets/maintained/slickswitcher/slickswitcher.py 2010-04-08 14:31:25.000000000 +0200 ++++ awn-extras-0.4.0/applets/maintained/slickswitcher/slickswitcher.py 2012-11-15 17:31:32.025809983 +0100 +@@ -25,6 +25,9 @@ + import gobject + + import cairo ++ ++awn.check_dependencies(globals(), 'wnck') ++ + import drawing, switch, settings + from os.path import exists, isdir + import os +diff -Naur awn-extras-0.4.0.orig/applets/maintained/volume-control/volume-control.py awn-extras-0.4.0/applets/maintained/volume-control/volume-control.py +--- awn-extras-0.4.0.orig/applets/maintained/volume-control/volume-control.py 2010-01-06 00:01:34.000000000 +0100 ++++ awn-extras-0.4.0/applets/maintained/volume-control/volume-control.py 2012-11-15 17:28:26.368359913 +0100 +@@ -30,6 +30,9 @@ + + from awn.extras import awnlib, __version__ + ++import awn ++awn.check_dependencies(globals(), 'pygst') ++ + import pygst + pygst.require("0.10") + import gst +diff -Naur awn-extras-0.4.0.orig/applets/unmaintained/stacks/stacks_applet.py awn-extras-0.4.0/applets/unmaintained/stacks/stacks_applet.py +--- awn-extras-0.4.0.orig/applets/unmaintained/stacks/stacks_applet.py 2009-11-16 00:31:16.000000000 +0100 ++++ awn-extras-0.4.0/applets/unmaintained/stacks/stacks_applet.py 2012-11-15 17:28:41.778701431 +0100 +@@ -25,6 +25,9 @@ + import pango + import awn + import cairo ++ ++awn.check_dependencies(globals(), 'gnome.ui', 'gnomedesktop') ++ + import gnome.ui + import gnomedesktop + import time diff --git a/community/awn-extras-applets/fix-shinyswitcher-scrolling.patch b/community/awn-extras-applets/fix-shinyswitcher-scrolling.patch new file mode 100644 index 000000000..69dcae9c1 --- /dev/null +++ b/community/awn-extras-applets/fix-shinyswitcher-scrolling.patch @@ -0,0 +1,96 @@ +=== modified file 'applets/maintained/shiny-switcher/shinyswitcherapplet.c' +--- applets/maintained/shiny-switcher/shinyswitcherapplet.c 2010-09-12 16:15:07 +0000 ++++ applets/maintained/shiny-switcher/shinyswitcherapplet.c 2010-11-02 13:52:43 +0000 +@@ -769,7 +769,7 @@ + + + static gboolean +-_scroll_event(GtkWidget *widget, GdkEventMotion *event, AwnShinySwitcher *shinyswitcher) ++_scroll_event(GtkWidget *widget, GdkEventScroll *event, AwnShinySwitcher *shinyswitcher) + { + AwnShinySwitcherPrivate * priv = GET_PRIVATE (shinyswitcher); + WnckWorkspace *cur_space = wnck_screen_get_active_workspace(priv->wnck_screen); +@@ -779,7 +779,7 @@ + { + if (event->type == GDK_SCROLL) + { +- WnckMotionDirection direction1, direction2; ++ WnckMotionDirection left, right, up, down; + + switch (priv->mousewheel) + { +@@ -787,8 +787,10 @@ + case 1: + + case 3: +- direction1 = WNCK_MOTION_LEFT; +- direction2 = WNCK_MOTION_RIGHT; ++ left = WNCK_MOTION_LEFT; ++ right = WNCK_MOTION_RIGHT; ++ up = WNCK_MOTION_UP; ++ down = WNCK_MOTION_DOWN; + break; + + case 2: +@@ -796,22 +798,52 @@ + case 4: + + default: +- direction1 = WNCK_MOTION_RIGHT; +- direction2 = WNCK_MOTION_LEFT; +- ++ left = WNCK_MOTION_RIGHT; ++ right = WNCK_MOTION_LEFT; ++ up = WNCK_MOTION_DOWN; ++ down = WNCK_MOTION_UP; + } + +- if (event->state & GDK_SHIFT_MASK) ++ if ( (event->direction == GDK_SCROLL_UP) || ++ (event->direction == GDK_SCROLL_LEFT) ) + { +- new_space = wnck_workspace_get_neighbor(cur_space, WNCK_MOTION_RIGHT); ++ new_space = wnck_workspace_get_neighbor(cur_space, left); ++ if (new_space == NULL) ++ { ++ new_space = wnck_workspace_get_neighbor(cur_space, up); ++ if (new_space) ++ { ++ for (cur_space = new_space; cur_space; ) ++ { ++ cur_space = wnck_workspace_get_neighbor(cur_space, right); ++ if (cur_space) ++ { ++ new_space = cur_space; ++ } ++ } ++ } ++ } + } + else + { +- new_space = wnck_workspace_get_neighbor(cur_space, WNCK_MOTION_LEFT); +- ++ new_space = wnck_workspace_get_neighbor(cur_space, right); ++ if (!new_space) ++ { ++ new_space = wnck_workspace_get_neighbor(cur_space, down); ++ if (new_space) ++ { ++ for (cur_space = new_space; cur_space; ) ++ { ++ cur_space = wnck_workspace_get_neighbor(cur_space, left); ++ if (cur_space) ++ { ++ new_space = cur_space; ++ } ++ } ++ } ++ } + } + } +- + if (new_space) + { + wnck_workspace_activate(new_space, event->time); /* FIXME */ + diff --git a/community/awn-extras-applets/fix-weather-applet.patch b/community/awn-extras-applets/fix-weather-applet.patch new file mode 100644 index 000000000..889c0f641 --- /dev/null +++ b/community/awn-extras-applets/fix-weather-applet.patch @@ -0,0 +1,48 @@ +diff -Naur awn-extras-0.4.0.orig/applets/maintained/weather/weather.py awn-extras-0.4.0/applets/maintained/weather/weather.py +--- awn-extras-0.4.0.orig/applets/maintained/weather/weather.py 2012-03-07 00:20:03.094411287 +0100 ++++ awn-extras-0.4.0/applets/maintained/weather/weather.py 2010-03-21 13:58:03.000000000 +0100 +@@ -570,7 +570,7 @@ + + class NetworkHandler(ThreadQueue): + +- __ws_key = "&prod=xoap&par=1048871467&key=12daac2f3a67cb39&link=xoap" ++ __ws_key = "&prod=xml&par=1287722164&key=e11ec82daa20d876" + + def dict_from_xml(self, rootNode, keys, paths): + """Given an XML node, iterate over keys and paths, grabbing the +@@ -590,7 +590,7 @@ + @async_method + @network_exception + def get_locations(self, text): +- url = "http://xoap.weather.com/search/search?where=" + urllib2.quote(text) ++ url = "http://xml.weather.com/search/search?where=" + urllib2.quote(text) + with closing(urllib2.urlopen(url)) as usock: + with unlink_xml(usock) as xmldoc: + locations_list = [] +@@ -604,7 +604,7 @@ + @with_overlays + @network_exception + def get_conditions(self, location_code): +- url = "http://xoap.weather.com/weather/local/" + location_code + "?cc=*" + self.__ws_key ++ url = "http://xml.weather.com/weather/local/" + location_code + "?cc=*" + self.__ws_key + with closing(urllib2.urlopen(url)) as usock: + with unlink_xml(usock) as xmldoc: + names = ['CITY', 'SUNRISE', 'SUNSET', 'DESCRIPTION', 'CODE', 'TEMP', 'FEELSLIKE', 'BAR', 'BARDESC', 'WINDSPEED', 'WINDGUST', 'WINDDIR', 'HUMIDITY', 'MOONPHASE'] +@@ -619,7 +619,7 @@ + def get_weather_map(self, location_code): + map_url = "http://www.weather.com/outlook/travel/businesstraveler/map/%s" % location_code + with closing(urllib2.urlopen(map_url)) as usock: +- mapExp = """<IMG NAME="mapImg" SRC="([^\"]+)" WIDTH=([0-9]+) HEIGHT=([0-9]+) BORDER""" ++ mapExp = """<img name="mapImg" src="([^\"]+)" width="([0-9]+)" height="([0-9]+)" border""" + result = re.findall(mapExp, usock.read()) + if not result or len(result) != 1: + raise NetworkException("Couldn't parse weather map") +@@ -635,7 +635,7 @@ + @with_overlays + @network_exception + def get_forecast(self, location_code): +- url = "http://xoap.weather.com/weather/local/" + location_code + "?dayf=5" + self.__ws_key ++ url = "http://xml.weather.com/weather/local/" + location_code + "?dayf=5" + self.__ws_key + with closing(urllib2.urlopen(url)) as usock: + with unlink_xml(usock) as xmldoc: + try: diff --git a/community/awn-extras-applets/remove-settings-menu.patch b/community/awn-extras-applets/remove-settings-menu.patch new file mode 100644 index 000000000..60eeda1d5 --- /dev/null +++ b/community/awn-extras-applets/remove-settings-menu.patch @@ -0,0 +1,229 @@ +diff -Naur awn-extras-0.4.0.orig/applets/maintained/cairo-menu/gnome-menu-builder.c awn-extras-0.4.0/applets/maintained/cairo-menu/gnome-menu-builder.c +--- awn-extras-0.4.0.orig/applets/maintained/cairo-menu/gnome-menu-builder.c 2010-04-10 01:26:19.000000000 +0200 ++++ awn-extras-0.4.0/applets/maintained/cairo-menu/gnome-menu-builder.c 2011-12-16 20:34:22.612913317 +0100 +@@ -34,7 +34,6 @@ + #include "cairo-menu-applet.h" + + GMenuTree * main_menu_tree = NULL; +-GMenuTree * settings_menu_tree = NULL; + + GtkWidget * menu_build (MenuInstance * instance); + static GtkWidget * submenu_build (MenuInstance * instance); +@@ -749,19 +748,10 @@ + gmenu_tree_remove_monitor (main_menu_tree,(GMenuTreeChangedFunc)_submenu_modified_cb,instance); + } + +-static void +-_remove_settings_submenu_cb(MenuInstance * instance,GObject *where_the_object_was) +-{ +- g_debug ("%s",__func__); +- GMenuTreeDirectory *main_root; +- gmenu_tree_remove_monitor (settings_menu_tree,(GMenuTreeChangedFunc)_submenu_modified_cb,instance); +-} +- + static GtkWidget * + submenu_build (MenuInstance * instance) + { + GMenuTreeDirectory *main_root; +- GMenuTreeDirectory *settings_root; + GtkWidget * menu = NULL; + /* + if the menu is set then clear any menu items (except for places or recent) +@@ -771,10 +761,6 @@ + { + main_menu_tree = gmenu_tree_lookup("applications.menu", GMENU_TREE_FLAGS_NONE); + } +- if (!settings_menu_tree) +- { +- settings_menu_tree = gmenu_tree_lookup("settings.menu", GMENU_TREE_FLAGS_NONE); +- } + g_assert (main_menu_tree); + /* + get_places_menu() and get_recent_menu() are +@@ -808,7 +794,6 @@ + main_root = gmenu_tree_get_root_directory(main_menu_tree); + g_assert (gmenu_tree_item_get_type( (GMenuTreeItem*)main_root) == GMENU_TREE_ITEM_DIRECTORY); + g_assert (main_root); +- settings_root = gmenu_tree_get_root_directory(settings_menu_tree); + if ( menu_dir = find_menu_dir (instance,main_root) ) + { + /* if instance->menu then we're refreshing in a monitor callback*/ +@@ -817,22 +802,11 @@ + menu = fill_er_up(instance,menu_dir,instance->menu); + g_object_weak_ref (G_OBJECT(menu), (GWeakNotify)_remove_main_submenu_cb,instance); + } +- else if ( settings_root && (menu_dir = find_menu_dir (instance,settings_root)) ) +- { +- gmenu_tree_remove_monitor (main_menu_tree,(GMenuTreeChangedFunc)_submenu_modified_cb,instance); +- gmenu_tree_add_monitor (main_menu_tree,(GMenuTreeChangedFunc)_submenu_modified_cb,instance); +- menu = fill_er_up(instance,menu_dir,instance->menu); +- g_object_weak_ref (G_OBJECT(menu), (GWeakNotify)_remove_settings_submenu_cb,instance); +- } + if (menu_dir) + { + gmenu_tree_item_unref(menu_dir); + } + gmenu_tree_item_unref(main_root); +- if (settings_root) +- { +- gmenu_tree_item_unref(settings_root); +- } + } + return instance->menu = menu; + } +@@ -862,10 +836,6 @@ + { + main_menu_tree = gmenu_tree_lookup("applications.menu", GMENU_TREE_FLAGS_NONE); + } +- if (!settings_menu_tree) +- { +- settings_menu_tree = gmenu_tree_lookup("settings.menu", GMENU_TREE_FLAGS_NONE); +- } + + if (main_menu_tree) + { +@@ -884,44 +854,6 @@ + menu_item = gtk_separator_menu_item_new (); + gtk_menu_shell_append(GTK_MENU_SHELL(instance->menu),menu_item); + } +- if (settings_menu_tree) +- { +- root = gmenu_tree_get_root_directory(settings_menu_tree); +- gmenu_tree_remove_monitor (settings_menu_tree,(GMenuTreeChangedFunc)_menu_modified_cb,instance); +- gmenu_tree_add_monitor (settings_menu_tree,(GMenuTreeChangedFunc)_menu_modified_cb,instance); +- if (!instance->menu) +- { +- g_debug ("%s: No applications menu????",__func__); +- instance->menu = fill_er_up(instance,root,instance->menu); +- } +- else +- { +- sub_menu = fill_er_up (instance, root,instance->menu); +-#if 0 +- sub_menu = fill_er_up(instance,root,NULL); +- c = g_malloc0 (sizeof(CallbackContainer)); +- c->icon_name = g_strdup(gmenu_tree_directory_get_icon (root)); +- image = get_gtk_image (c->icon_name); +- txt = gmenu_tree_entry_get_name((GMenuTreeEntry*)root); +- menu_item = cairo_menu_item_new_with_label (txt?txt:"unknown"); +- gtk_menu_item_set_submenu (GTK_MENU_ITEM(menu_item),sub_menu); +- if (image) +- { +- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_item),image); +- } +- gtk_menu_shell_append(GTK_MENU_SHELL(instance->menu),menu_item); +- c->file_path = g_strdup(gmenu_tree_directory_get_desktop_file_path (root)); +- c->display_name = g_strdup ("Settings"); +- drop_data = g_strdup_printf("cairo_menu_item_dir:///@@@%s@@@%s@@@%s\n",c->file_path,c->display_name,c->icon_name); +- cairo_menu_item_set_source (AWN_CAIRO_MENU_ITEM(menu_item),drop_data); +- g_free (drop_data); +- c->instance = instance; +- g_signal_connect (menu_item, "button-press-event",G_CALLBACK(_button_press_dir),c); +- g_object_weak_ref (G_OBJECT(menu_item),(GWeakNotify)_free_callback_container,c); +-#endif +- } +- gmenu_tree_item_unref(root); +- } + + /*TODO Check to make sure it is needed. Should not be displayed if + all flags are of the NO persuasion.*/ +diff -Naur awn-extras-0.4.0.orig/applets/maintained/yama/yama.py awn-extras-0.4.0/applets/maintained/yama/yama.py +--- awn-extras-0.4.0.orig/applets/maintained/yama/yama.py 2010-03-31 16:21:24.000000000 +0200 ++++ awn-extras-0.4.0/applets/maintained/yama/yama.py 2011-12-16 20:37:48.243326388 +0100 +@@ -113,7 +113,6 @@ + + def build_menu(self): + self.applications_items = [] +- self.settings_items = [] + self.session_items = [] + + """ Applications """ +@@ -126,11 +125,6 @@ + """ Places """ + self.create_places_submenu(self.menu) + +- """ System """ +- tree = gmenu.lookup_tree("settings.menu") +- self.append_directory(tree.root, self.menu, item_list=self.settings_items) +- tree.add_monitor(self.menu_changed_cb, self.settings_items) +- + """ Session actions """ + if dbus is not None: + self.append_session_actions(self.menu) +@@ -227,7 +221,7 @@ + for i in xrange(len(items)): + items.pop().destroy() + +- index = len(self.applications_items) + 2 if items is self.settings_items else 0 # + 2 = separator + Places ++ index = len(self.applications_items) + 0 + self.append_directory(tree.root, self.menu, index=index, item_list=items) + # Refresh menu to re-initialize the widget + self.menu.show_all() +diff -Naur awn-extras-0.4.0.orig/applets/unmaintained/main-menu/applet.c awn-extras-0.4.0/applets/unmaintained/main-menu/applet.c +--- awn-extras-0.4.0.orig/applets/unmaintained/main-menu/applet.c 2009-10-27 20:45:03.000000000 +0100 ++++ awn-extras-0.4.0/applets/unmaintained/main-menu/applet.c 2011-12-16 20:27:28.792248015 +0100 +@@ -43,7 +43,6 @@ + GMenuTree *tree; + GMenuTreeDirectory *root; + GMenuTreeDirectory *apps; +- GMenuTreeDirectory *settings; + + } Menu; + +@@ -243,8 +242,6 @@ + { + GMenuTreeDirectory *temp= menu->root; + menu->root = gmenu_tree_item_get_parent (GMENU_TREE_ITEM (temp)); +- if (menu->root == menu->settings) +- menu->root = gmenu_tree_get_root_directory (menu->tree); + populate (menu); + } + +@@ -299,8 +296,6 @@ + if (app->root == GMENU_TREE_DIRECTORY(gmenu_tree_get_root_directory ((GMenuTree*)app->apps))) + { + list = g_slist_copy (apps); +- sets = g_slist_copy (gmenu_tree_directory_get_contents (app->settings)); +- list = g_slist_concat (list, sets); + list = g_slist_sort (list, (GCompareFunc)_compare); + } + else +@@ -419,13 +414,6 @@ + g_warning ("Unable to find applications.menu"); + return FALSE; + } +- app->settings = gmenu_tree_get_root_directory ( +- gmenu_tree_lookup ("settings.menu", GMENU_TREE_FLAGS_NONE)); +- if (!app->settings) +- { +- g_warning ("Unable to find settings.menu"); +- return FALSE; +- } + app->tree = (GMenuTree*)app->apps; + + app->menu = awn_applet_create_default_menu (app->applet); +diff -Naur awn-extras-0.4.0.orig/applets/unmaintained/MiMenu/menus.py awn-extras-0.4.0/applets/unmaintained/MiMenu/menus.py +--- awn-extras-0.4.0.orig/applets/unmaintained/MiMenu/menus.py 2009-08-14 14:29:59.000000000 +0200 ++++ awn-extras-0.4.0/applets/unmaintained/MiMenu/menus.py 2011-12-16 20:30:42.060104523 +0100 +@@ -12,8 +12,6 @@ + class MenuDateStore: + MENUCORE = gmenu.lookup_tree('applications.menu') + MENUROOT = MENUCORE.get_root_directory() +- SYSTEMMENUCORE = gmenu.lookup_tree('settings.menu') +- SYSTEMMENUROOT = SYSTEMMENUCORE.get_root_directory() + PATH = [] + + +diff -Naur awn-extras-0.4.0.orig/applets/unmaintained/MiMenu/mimenu.py awn-extras-0.4.0/applets/unmaintained/MiMenu/mimenu.py +--- awn-extras-0.4.0.orig/applets/unmaintained/MiMenu/mimenu.py 2009-10-27 20:45:47.000000000 +0100 ++++ awn-extras-0.4.0/applets/unmaintained/MiMenu/mimenu.py 2011-12-16 20:30:35.897158422 +0100 +@@ -69,8 +69,7 @@ + tree1.set_headers_visible (0) + tree1.append_column(column1) + tree1.append_column(column2) +- lst1,self.objlist1 = menus.get_menus(menus.data.MENUROOT, +- root2=menus.data.SYSTEMMENUROOT) ++ lst1,self.objlist1 = menus.get_menus(menus.data.MENUROOT) + model = menus.set_model(tree1,lst1,self.theme,self.location_icon) + tree1.connect('cursor_changed', self.treeclick, + tree1,self.objlist1,False) diff --git a/community/bless/PKGBUILD b/community/bless/PKGBUILD index 813a3fe4d..e1d7f26fa 100644 --- a/community/bless/PKGBUILD +++ b/community/bless/PKGBUILD @@ -6,7 +6,7 @@ pkgname=bless pkgver=0.6.0 pkgrel=3 pkgdesc="A high-quality, full-featured hex editor" -arch=('i686' 'x86_64' 'mips64el') +arch=('i686' 'x86_64') url="http://home.gna.org/bless/" license=('GPL') depends=('gtk-sharp-2>=2.8') diff --git a/community/blobwars/PKGBUILD b/community/blobwars/PKGBUILD index dd180f51c..06e581659 100644 --- a/community/blobwars/PKGBUILD +++ b/community/blobwars/PKGBUILD @@ -7,7 +7,7 @@ pkgname=blobwars pkgver=1.19 pkgrel=4 pkgdesc="Platform action game featuring a blob wih lot of weapons" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://sourceforge.net/projects/blobwars" license=('GPL') makedepends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'sdl_net') diff --git a/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch b/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch new file mode 100644 index 000000000..05317541d --- /dev/null +++ b/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch @@ -0,0 +1,11 @@ +--- canorus-0.7.R1002.orig/src/CMakeLists.txt 2009-03-27 05:25:52.000000000 -0500 ++++ canorus-0.7.R1002/src/CMakeLists.txt 2012-11-15 06:26:41.884594717 -0500 +@@ -600,7 +600,7 @@ + # command. Never remove that line :-) + # Add ${QT_QTTEST_LIBRARY} below to add the Qt Test library as well + # Add ${POPPLERQT4_LIBRARY} ${POPPLER_LIBRARY} to reactivate poppler libraries +-TARGET_LINK_LIBRARIES(canorus ${QT_LIBRARIES} ${RUBY_LIBRARY} ${PYTHON_LIBRARY} ) ++TARGET_LINK_LIBRARIES(canorus ${QT_LIBRARIES} ${RUBY_LIBRARY} ${PYTHON_LIBRARY} -lz -lpthread) + + ############################ + # RtMIDI Library additions # diff --git a/community/canorus/PKGBUILD b/community/canorus/PKGBUILD index 184290b1e..c2a37de26 100644 --- a/community/canorus/PKGBUILD +++ b/community/canorus/PKGBUILD @@ -14,11 +14,14 @@ license=('GPL') depends=('qt' 'alsa-lib' 'python2' 'swig') makedepends=('cmake') options=('strip') -source=(http://download.berlios.de/$pkgname/$pkgname\_$pkgver\_source.tar.bz2) -md5sums=('5575b7c54633056a463177579a390318') +source=(http://download.berlios.de/$pkgname/$pkgname\_$pkgver\_source.tar.bz2 + 0006-Add-lz-and-lpthread-to-linker-flags.patch) +md5sums=('5575b7c54633056a463177579a390318' + '99e545a1da44006bc5e436728edfda15') build() { cd $srcdir/$pkgname-$pkgver + patch -Np1 -i ${srcdir}/0006-Add-lz-and-lpthread-to-linker-flags.patch export QTDIR=/usr cmake . -DCMAKE_INSTALL_PREFIX=$pkgdir/usr \ -DDEFAULT_DATA_DIR="/usr/share/canorus" \ diff --git a/community/cgit/PKGBUILD b/community/cgit/PKGBUILD index 2b594e3d4..b1660d650 100644 --- a/community/cgit/PKGBUILD +++ b/community/cgit/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 71264 2012-05-26 07:35:52Z spupykin $ +# $Id: PKGBUILD 80035 2012-11-15 15:53:42Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Current Maintainer: Patrick Palka <patrick@parcs.ath.cx> # Previous Maintainer: Loui Chang <louipc.ist at gmail com> @@ -6,7 +6,7 @@ # Development: http://closure.ath.cx/aur-dev pkgname=cgit -pkgver=0.9.0.3 +pkgver=0.9.1 _gitver=1.7.4 pkgrel=1 pkgdesc="A web interface for git written in plain C" @@ -16,12 +16,11 @@ license=('GPL') depends=('openssl') makedepends=('git' 'zlib' 'curl' 'asciidoc') install=cgit.install -# "http://www.kernel.org/pub/software/scm/git/git-${_gitver}.tar.bz2" -source=("http://hjemli.net/git/cgit/snapshot/$pkgname-$pkgver.tar.bz2" - "http://arch.p5n.pp.ru/~sergej/dl/2011/git-${_gitver}.tar.bz2" +source=("http://git.zx2c4.com/cgit/snapshot/cgit-$pkgver.tar.xz" + "git-${_gitver}.tar.gz::https://github.com/git/git/archive/v${_gitver}.tar.gz" "apache.example.conf") -md5sums=('3d5481bf8a507694108f0996b8bde235' - 'fa24dc1ef0b663327ea0fe1981365b39' +md5sums=('ed1a1ccccdcbf55ddd6a9de29bca6edf' + 'c63cc7ca8a4bbf97c8802f354511223e' 'bd5696bea0654bfcf98f249b1a36737d') build() { diff --git a/community/cgminer/PKGBUILD b/community/cgminer/PKGBUILD new file mode 100644 index 000000000..4cd780f39 --- /dev/null +++ b/community/cgminer/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: monson <holymonson@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: David Manouchehri <david@davidmanouchehri.com> + +pkgname=cgminer +pkgver=2.9.3 +_build= +pkgrel=3 +pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer." +url='http://forum.bitcoin.org/index.php?topic=28402.0' +license=('GPL3') +arch=('i686' 'x86_64') +depends=('curl' 'libcl') +makedepends=('opencl-headers') +optdepends=('opencl-nvidia: OpenCL implementation for NVIDIA' + 'opencl-catalyst: OpenCL implementation for AMD') +source=("http://ck.kolivas.org/apps/cgminer/$pkgname-$pkgver.tar.bz2" + "$pkgname.conf.d" + "$pkgname" + "$pkgname.service") +backup=("etc/conf.d/$pkgname" "etc/$pkgname.conf") + +[ $CARCH == 'x86_64' ] && makedepends+=('yasm') + +build() { + cd "$srcdir" + cd $pkgname-$pkgver${_build} + + # Use in-tree jansson since it is not compatible with jansson 2.0 + #sed -e 's/^AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true)$/request_jansson=true/' -i configure.ac + + # Here you may want to use custom CFLAGS + #export CFLAGS="-O2 -march=native -mtune=native -msse2" + + ./configure --prefix=/usr --enable-cpumining + + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver${_build} + + make DESTDIR="$pkgdir" install + + install -Dm755 "$srcdir"/$pkgname "$pkgdir"/etc/rc.d/$pkgname + install -Dm644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service + install -Dm644 "$srcdir"/$pkgname.conf.d "$pkgdir"/etc/conf.d/$pkgname + sed 's#/usr/local/bin#/usr/bin#g' example.conf > $pkgname.conf + install -Dm644 $pkgname.conf "$pkgdir"/etc/$pkgname.conf +} +md5sums=('f386036c72861f7b2c130de6ed990d33' + 'fe4a243fabe24608f5c05e40f0f118f6' + 'ee39698273671fee0e98d4af16014c36' + 'c2bb974adf92cc234fbf0136ebcb355d') diff --git a/community/cgminer/cgminer b/community/cgminer/cgminer new file mode 100644 index 000000000..9081e8e77 --- /dev/null +++ b/community/cgminer/cgminer @@ -0,0 +1,51 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +DAEMON=cgminer + +# stupid patch var +export HOME=/root + +[ -r /etc/conf.d/$DAEMON ] && . /etc/conf.d/$DAEMON + +if [ -r $CGMINER_CONF ]; then + ARGS="--config $CGMINER_CONF $CGMINER_ARGS" +else + ARGS="--url $CGMINER_PROTOCOL://$CGMINER_IP:$CGMINER_PORT --user $CGMINER_USER --pass $CGMINER_PASS $CGMINER_ARGS" +fi + +PID=$(get_pid $DAEMON) + +case "$1" in + start) + stat_busy "Starting $DAEMON" + [ -z "$PID" ] && $DAEMON $ARGS &>/dev/null & + if [ $? = 0 ]; then + add_daemon $DAEMON + stat_done + else + stat_fail + exit 1 + fi + ;; + stop) + stat_busy "Stopping $DAEMON" + [ -n "$PID" ] && kill $PID &>/dev/null + if [ $? = 0 ]; then + rm_daemon $DAEMON + stat_done + else + stat_fail + exit 1 + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/community/cgminer/cgminer.conf.d b/community/cgminer/cgminer.conf.d new file mode 100644 index 000000000..88ec535d6 --- /dev/null +++ b/community/cgminer/cgminer.conf.d @@ -0,0 +1,11 @@ +# Use JSON-format configuration. (recommended) +CGMINER_CONF="/etc/cgminer.conf" + +# Uncommend this if you prefer simple command-line arguments. +#CGMINER_CONF="" +#CGMINER_PROTOCOL="http" +#CGMINER_IP="127.0.0.1" +#CGMINER_PORT="8332" +#CGMINER_USER="username" +#CGMINER_PASS="password" +CGMINER_ARGS="--syslog" diff --git a/community/cgminer/cgminer.service b/community/cgminer/cgminer.service new file mode 100644 index 000000000..9d6595047 --- /dev/null +++ b/community/cgminer/cgminer.service @@ -0,0 +1,8 @@ +[Unit] +Description=Multi-threaded multi-pool CPU and GPU miner for bitcoin + +[Service] +ExecStart=/usr/bin/cgminer -T --config /etc/cgminer.conf + +[Install] +WantedBy=multi-user.target diff --git a/community/clewn/PKGBUILD b/community/clewn/PKGBUILD index b3314f4e3..318c9764d 100644 --- a/community/clewn/PKGBUILD +++ b/community/clewn/PKGBUILD @@ -4,7 +4,7 @@ pkgname=clewn pkgver=1.15 -pkgrel=5 +pkgrel=5.1 pkgdesc="gdb support for vim" arch=('i686' 'x86_64' 'mips64el') url="http://clewn.sourceforge.net" diff --git a/community/credentials-preferences/PKGBUILD b/community/credentials-preferences/PKGBUILD index 5b4290781..18a7bf61e 100644 --- a/community/credentials-preferences/PKGBUILD +++ b/community/credentials-preferences/PKGBUILD @@ -6,7 +6,7 @@ _pkgname=credentials-control-center pkgver=0.1.1 pkgrel=1 pkgdesc="Control panel for configuring online account credentials and settings" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="https://launchpad.net/online-accounts-gnome-control-center" license=('GPL' 'LGPL') depends=('libaccounts-glib' 'libsignon-glib' 'gtk3') diff --git a/community/dhex/PKGBUILD b/community/dhex/PKGBUILD index d9c0213a3..757c7b7cd 100644 --- a/community/dhex/PKGBUILD +++ b/community/dhex/PKGBUILD @@ -5,7 +5,7 @@ pkgname=dhex pkgver=0.68 pkgrel=1 pkgdesc="An ncurses-based hexeditor with a diff mode" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.dettus.net/dhex/" license=('GPL') depends=('ncurses') diff --git a/community/dmenu/PKGBUILD b/community/dmenu/PKGBUILD index 51037ff0d..b0a913cee 100644 --- a/community/dmenu/PKGBUILD +++ b/community/dmenu/PKGBUILD @@ -7,7 +7,7 @@ pkgname=dmenu pkgver=4.5 -pkgrel=3 +pkgrel=3.1 pkgdesc="A generic menu for X" url="http://tools.suckless.org/dmenu/" arch=('i686' 'x86_64' 'mips64el') @@ -27,4 +27,4 @@ package() { cd $srcdir/$pkgname-$pkgver make PREFIX=/usr DESTDIR=$pkgdir install install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -}
\ No newline at end of file +} diff --git a/community/dunst/PKGBUILD b/community/dunst/PKGBUILD index 33337133b..79d954947 100644 --- a/community/dunst/PKGBUILD +++ b/community/dunst/PKGBUILD @@ -6,7 +6,7 @@ pkgname=dunst pkgver=0.4.0 pkgrel=1 pkgdesc="a dmenu-ish notification system " -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://knopwob.github.com/dunst" license=(MIT) depends=(dbus-core libxinerama libxft libxss libxdg-basedir) diff --git a/community/dvdbackup/PKGBUILD b/community/dvdbackup/PKGBUILD index 271c3344d..17db80fc0 100644 --- a/community/dvdbackup/PKGBUILD +++ b/community/dvdbackup/PKGBUILD @@ -8,7 +8,7 @@ pkgname=dvdbackup pkgver=0.4.2 pkgrel=1 pkgdesc="A tool to rip video DVDs from the command line" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://dvdbackup.sourceforge.net/" license=('GPL') depends=('libdvdread') diff --git a/community/ejabberd/PKGBUILD b/community/ejabberd/PKGBUILD index 9e71c0163..2c9b93cb2 100644 --- a/community/ejabberd/PKGBUILD +++ b/community/ejabberd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 79033 2012-10-29 09:21:18Z spupykin $ +# $Id: PKGBUILD 80020 2012-11-15 13:56:56Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org> # Contributor: Alexander Rødseth <rodseth@gmail.com> pkgname=ejabberd pkgver=2.1.11 -pkgrel=6 +pkgrel=7 pkgdesc="Jabber server written in Erlang" arch=('x86_64' 'i686' 'mips64el') url="http://www.ejabberd.im/" @@ -22,7 +22,7 @@ source=("http://www.process-one.net/downloads/ejabberd/${pkgver/_/-}/ejabberd-${ md5sums=('a70b040c4e7602f47718c8afe8780d50' 'f97c8a96160f30e0aecc9526c12e6606' '2338a6230ce5f9f60be6dddcfa39bc7e' - 'bc4552b833e1927fce52acdbc6d76fb2') + 'bd18cb1034df9ef1b699214f0e3b4567') build() { cd "$srcdir/$pkgname-$pkgver/src" diff --git a/community/ejabberd/ejabberd.service b/community/ejabberd/ejabberd.service index 47e5f2e27..e7cef53b2 100644 --- a/community/ejabberd/ejabberd.service +++ b/community/ejabberd/ejabberd.service @@ -3,18 +3,12 @@ Description=A distributed, fault-tolerant Jabber/XMPP server After=network.target [Service] -Type=oneshot +Type=forking User=ejabberd Group=jabber LimitNOFILE=16000 RestartSec=5 -ExecStart=/usr/sbin/ejabberdctl \ - --config /etc/ejabberd/ejabberd.cfg \ - --ctl-config /etc/ejabberd/ejabberdctl.cfg \ - --logs "/var/log/ejabberd" \ - --spool "/var/lib/ejabberd" start -ExecStop=/usr/sbin/ejabberdctl stop -RemainAfterExit=yes +ExecStart=/usr/bin/erl -pa /usr/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config \"/etc/ejabberd/ejabberd.cfg\" log_path \"/var/log/ejabberd/ejabberd.log\" -sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} -mnesia dir \"/var/lib/ejabberd\" -detached -kernel inetrc \"/etc/ejabberd/inetrc\" [Install] WantedBy=multi-user.target diff --git a/community/erlang-cl/PKGBUILD b/community/erlang-cl/PKGBUILD new file mode 100644 index 000000000..b1d4c62c1 --- /dev/null +++ b/community/erlang-cl/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 61589 2012-01-03 23:37:49Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: kappa <kappacurve@gmail.com> + +pkgname=erlang-cl +pkgver=1.0 +pkgrel=1 +arch=('x86_64' 'i686') +pkgdesc='OpenCL binding for Erlang' +url="http://github.com/tonyrog/cl" +license=('custom:unknown') +depends=('erlang' 'libcl' 'bash') +replaces=('cl') +makedepends=('opencl-headers') +source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/tonyrog/cl/tar.gz/master") +sha256sums=('e2cb407489ebe1d8e8f287283eb5c715d559ce95255f6bbcac137cb84c500be6') +_dirname='cl-master' +if [ "$CARCH" = "x86_64" ] +then + _wordsize=64 +else + _wordsize=32 +fi + +build() { + cd "$srcdir/$_dirname/c_src" + + make configure + ./configure --with-wordsize=$_wordsize --prefix=/usr + make all$_wordsize + rm config.* +} + +package() { + cd "$srcdir/$_dirname" + + mkdir -p "$pkgdir/usr/lib/erlang/lib/cl-$pkgver" + cp -r * "$pkgdir/usr/lib/erlang/lib/cl-$pkgver" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/erlang-sdl/PKGBUILD b/community/erlang-sdl/PKGBUILD new file mode 100644 index 000000000..6b914718e --- /dev/null +++ b/community/erlang-sdl/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 79997 2012-11-15 11:48:24Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: kappa <kappacurve@gmail.com> + +pkgname=erlang-sdl +pkgver=1.2 +pkgrel=1 +arch=('x86_64' 'i686') +pkgdesc='SDL and OpenGL bindings for Erlang (r15b-driver-compat branch)' +url='http://esdl.sourceforge.net/' +license=('custom') +depends=('erlang' 'sdl' 'glu') +replaces=('esdl') +source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/esdl/tar.gz/dgud/r15b-driver-compat") +sha256sums=('a14d695229b93401a304b773874e87c02c5b304d4b5b66f35cba75e140672086') +_dirname='esdl-dgud-r15b-driver-compat' + +build() { + cd "$srcdir/$_dirname" + + find -type f -print0 | xargs -0 chmod 644 + make +} + +package() { + cd "$srcdir/$_dirname" + + make INSTALLDIR="$pkgdir/usr/lib/erlang/lib/esdl-$pkgver" install + + ## An attempt to make wings3d compile with esdl 1.2 + #ln -s /usr/lib/erlang/lib/wx-0.99/include/glu.hrl \ + # "$pkgdir/usr/lib/erlang/lib/esdl-$pkgver/include/glu.hrl" + #ln -s /usr/lib/erlang/lib/wx-0.99/include/gl.hrl \ + # "$pkgdir/usr/lib/erlang/lib/esdl-$pkgver/include/gl.hrl" + + install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/esdl/PKGBUILD b/community/esdl/PKGBUILD index 58ee0f8ef..ae73b6568 100644 --- a/community/esdl/PKGBUILD +++ b/community/esdl/PKGBUILD @@ -4,16 +4,16 @@ pkgname=esdl pkgver=1.2 -pkgrel=2 +pkgrel=3 epoch=2 arch=('x86_64' 'i686' 'mips64el') -pkgdesc="SDL and OpenGL bindings for the Erlang programming language" -url="http://esdl.sourceforge.net/" +pkgdesc='SDL and OpenGL bindings for Erlang' +url='http://esdl.sourceforge.net/' license=('custom') depends=('erlang' 'sdl' 'glu') -source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/esdl/tarball/master") -md5sums=('d51f8e2fe07b9e82ff9c2e06af35e3eb') -_dirname='dgud-esdl-4139134' +source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/esdl/tar.gz/dgud/r15b-driver-compat") +sha256sums=('a14d695229b93401a304b773874e87c02c5b304d4b5b66f35cba75e140672086') +_dirname="$pkgname-dgud-r15b-driver-compat" build() { cd "$srcdir/$_dirname" diff --git a/community/ettercap/PKGBUILD b/community/ettercap/PKGBUILD index 79fa70f9d..68ae89717 100644 --- a/community/ettercap/PKGBUILD +++ b/community/ettercap/PKGBUILD @@ -1,35 +1,34 @@ -# $Id: PKGBUILD 79575 2012-11-07 21:26:51Z jelle $ +# $Id: PKGBUILD 80196 2012-11-17 14:33:46Z jelle $ # Maintainer: # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgbase=ettercap pkgname=('ettercap' 'ettercap-gtk') pkgver=0.7.5 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64' 'mips64el') -url="http://ettercap.sourceforge.net/" +url="http://ettercap.github.com/ettercap/" license=('GPL') makedepends=('ghostscript' 'cmake' 'libpcap' 'libltdl' 'libnet' 'gtk2') options=('!libtool' '!makeflags' '!emptydirs') -source=("http://sourceforge.net/projects/ettercap/files/$pkgbase/$pkgver-Assimilation/$pkgbase-$pkgver.tar.gz") +source=("https://github.com/downloads/Ettercap/$pkgbase/$pkgbase-$pkgver.tar.gz" "ettercap.desktop") md5sums=('ab2354bf9c91195f06ad0b5d058565a4') build() { cd "${srcdir}" -#sed -i 's/su-to-root -c/gksu/' ${pkgbase}-${pkgver}/desktop/ettercap.desktop cp -r ${pkgbase}-${pkgver} ${pkgbase}-${pkgver}-gtk cd ${pkgbase}-${pkgver} mkdir build cd build - cmake -D ENABLE_GTK=OFF -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../ + cmake -D ENABLE_GTK=ON -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../ make cd "$srcdir"/${pkgbase}-${pkgver}-gtk mkdir build cd build - cmake -D INSTALL_PREFX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../ + cmake -D ENABLE_GTK=ON -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../ make } @@ -49,4 +48,5 @@ package_ettercap-gtk() { cd "${srcdir}"/${pkgbase}-${pkgver}-gtk/build install -Dm755 src/ettercap "${pkgdir}"/usr/bin/ettercap-gtk } -md5sums=('037b28cd94efa086a795060fc0f76080') +md5sums=('037b28cd94efa086a795060fc0f76080' + 'f9281fe1735ceba59753bfe442715bb6') diff --git a/community/ettercap/ettercap.desktop b/community/ettercap/ettercap.desktop new file mode 100644 index 000000000..e2345d91a --- /dev/null +++ b/community/ettercap/ettercap.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Ettercap +Comment=Nework sniffer/analyser +Exec=ettercap-gtk +Icon=ettercap +Terminal=false +Type=Application +Categories=Network; diff --git a/community/expac/PKGBUILD b/community/expac/PKGBUILD index b767fc161..2dd454fff 100644 --- a/community/expac/PKGBUILD +++ b/community/expac/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68721 2012-04-01 00:18:57Z dreisner $ +# $Id: PKGBUILD 80201 2012-11-17 15:05:30Z dreisner $ # Maintainer: Dave Reisner <d@falconindy.com> pkgname=expac pkgver=1 -pkgrel=1 +pkgrel=2 pkgdesc="pacman database extraction utility" arch=('i686' 'x86_64' 'mips64el') url="http://github.com/falconindy/expac" @@ -15,10 +15,13 @@ md5sums=('be8348f18e6af9db250437b14a91e443') build() { make -C "$pkgname-$pkgver" + + sed '/\*\//q' "$pkgname-$pkgver"/expac.c >LICENSE } package() { make -C "$pkgname-$pkgver" PREFIX=/usr DESTDIR="$pkgdir" install + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim: ft=sh syn=sh diff --git a/community/fcitx-googlepinyin/PKGBUILD b/community/fcitx-googlepinyin/PKGBUILD new file mode 100644 index 000000000..1f6e229c6 --- /dev/null +++ b/community/fcitx-googlepinyin/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 79827 2012-11-13 15:21:38Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=fcitx-googlepinyin +pkgver=0.1.6 +pkgrel=1 +pkgdesc="Fcitx Wrapper for googlepinyin" +arch=('i686' 'x86_64') +url="http://code.google.com/p/fcitx" +license=('GPL') +depends=('fcitx>=4.2.0' 'libgooglepinyin>=0.1.2') +makedepends=('cmake' 'intltool') +source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) +install='fcitx-googlepinyin.install' +md5sums=('7ee33bbb66d29536819b0d2f73b69713') + +build() { + cd "$srcdir"/${pkgname}-${pkgver} + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make +} + +package() { + cd "$srcdir"/${pkgname}-${pkgver}/build + make DESTDIR="${pkgdir}" install +} diff --git a/community/fcitx-googlepinyin/fcitx-googlepinyin.install b/community/fcitx-googlepinyin/fcitx-googlepinyin.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/community/fcitx-googlepinyin/fcitx-googlepinyin.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/fcitx-m17n/PKGBUILD b/community/fcitx-m17n/PKGBUILD new file mode 100644 index 000000000..e571815a7 --- /dev/null +++ b/community/fcitx-m17n/PKGBUILD @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=fcitx-m17n +pkgver=0.1.3 +pkgrel=1 +pkgdesc="Fcitx Wrapper for m17n." +arch=('i686' 'x86_64') +url="http://code.google.com/p/fcitx" +license=('GPL') +depends=('fcitx>=4.2.1' 'm17n-lib') +makedepends=('cmake' 'intltool') +source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}/build" + make DESTDIR="${pkgdir}" install +} +md5sums=('a0df4dc1bf2e15fcfef63605dbeb9bba') diff --git a/community/fcitx-unikey/PKGBUILD b/community/fcitx-unikey/PKGBUILD new file mode 100644 index 000000000..b2cd0abf7 --- /dev/null +++ b/community/fcitx-unikey/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 80099 2012-11-16 03:00:26Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=fcitx-unikey +pkgver=0.1.1 +pkgrel=2 +pkgdesc="Fcitx Wrapper for unikey" +arch=('i686' 'x86_64') +url="http://code.google.com/p/fcitx" +license=('GPL') +depends=('fcitx>=4.2.3') +optdepends=('qt: To run the fcitx unikey macro editor') +makedepends=('cmake' 'intltool' 'qt') +source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) +install='fcitx-unikey.install' + +build(){ + cd "$srcdir/${pkgname}-${pkgver}" + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make +} + +package () +{ + cd "$srcdir/${pkgname}-${pkgver}/build" + make DESTDIR="${pkgdir}" install +} +md5sums=('91dc7bd6991df3c975a0b51a246836bf') diff --git a/community/fcitx-unikey/fcitx-unikey.install b/community/fcitx-unikey/fcitx-unikey.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/community/fcitx-unikey/fcitx-unikey.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/ffmpeg-compat/PKGBUILD b/community/ffmpeg-compat/PKGBUILD index 43d256cf4..8805a74c2 100644 --- a/community/ffmpeg-compat/PKGBUILD +++ b/community/ffmpeg-compat/PKGBUILD @@ -6,7 +6,7 @@ pkgname=ffmpeg-compat pkgver=20120509 -pkgrel=1 +pkgrel=2 pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" arch=('i686' 'x86_64' 'mips64el') url="http://ffmpeg.org/" diff --git a/community/fox/PKGBUILD b/community/fox/PKGBUILD index 646d677d0..1a0dfc363 100644 --- a/community/fox/PKGBUILD +++ b/community/fox/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 77870 2012-10-15 10:22:54Z spupykin $ +# $Id: PKGBUILD 80103 2012-11-16 06:59:27Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Ben <ben@benmazer.net> pkgname=fox -pkgver=1.6.46 -pkgrel=3 +pkgver=1.6.47 +pkgrel=1 pkgdesc="Free Objects for X: GUI Toolkit for C++" arch=('i686' 'x86_64' 'mips64el') url="http://www.fox-toolkit.org/" @@ -14,7 +14,7 @@ makedepends=('mesa') optdepends=('perl') options=('!libtool') source=(http://ftp.fox-toolkit.org/pub/fox-$pkgver.tar.gz) -md5sums=('da2c5cf36eff32a0c49cfcd9494fe6b7') +md5sums=('9bd233adff5af3fc2d1139c8a22f556c') build() { cd ${srcdir}/${pkgname}-${pkgver} diff --git a/community/gnome-menus2/PKGBUILD b/community/gnome-menus2/PKGBUILD new file mode 100644 index 000000000..0744e080d --- /dev/null +++ b/community/gnome-menus2/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 80041 2012-11-15 18:34:49Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Jan de Groot <jan@archlinux.org> + +pkgname=gnome-menus2 +_pkgname=gnome-menus +pkgver=3.0.1 +pkgrel=2 +pkgdesc="Library for the Desktop Menu Specification (legacy version)" +arch=('i686' 'x86_64') +depends=('glib2' 'python2') +makedepends=('intltool' 'gobject-introspection') +options=('!libtool') +license=('LGPL') +url="http://www.gnome.org/" +source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2) +sha256sums=('579c119c26f37781f66708e867ea45b3c37589b3b69e5b32d33e9bdb944165f0') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static \ + PYTHON=/usr/bin/python2 + make +} + +package(){ + cd "$srcdir/$_pkgname-$pkgver" + + make -C libmenu DESTDIR="$pkgdir" install + make -C python DESTDIR="$pkgdir" install +} diff --git a/community/gnome-mplayer/PKGBUILD b/community/gnome-mplayer/PKGBUILD index 3d68230ec..2dad1ed2c 100644 --- a/community/gnome-mplayer/PKGBUILD +++ b/community/gnome-mplayer/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 79361 2012-11-03 16:29:00Z lfleischer $ +# $Id: PKGBUILD 80171 2012-11-17 12:43:41Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Allan McRae <mcrae_allan@hotmail.com> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=gnome-mplayer pkgver=1.0.7 -pkgrel=1 +pkgrel=2 pkgdesc='A simple MPlayer GUI.' arch=('i686' 'x86_64' 'mips64el') url='http://gnome-mplayer.googlecode.com/' license=('GPL') -depends=('mplayer' 'dbus-glib' 'libnotify' 'hicolor-icon-theme' 'dconf' 'gmtk') +depends=('mplayer' 'dbus-glib' 'libnotify' 'gnome-icon-theme' 'hicolor-icon-theme' 'dconf' 'gmtk') makedepends=('gnome-power-manager' 'nautilus') install="${pkgname}.install" source=("http://gnome-mplayer.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD index d57e9373a..5e2afb2e5 100644 --- a/community/go/PKGBUILD +++ b/community/go/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 77818 2012-10-15 00:41:07Z arodseth $ +# $Id: PKGBUILD 79946 2012-11-15 01:53:41Z arodseth $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Rémy Oudompheng <remy@archlinux.org> @@ -10,7 +10,7 @@ pkgname=go pkgver=1.0.3 -pkgrel=2 +pkgrel=3 epoch=2 pkgdesc='Google Go compiler and tools' arch=('x86_64' 'i686') @@ -27,6 +27,8 @@ sha256sums=('7fba3533d172f13629d3d8a79e57c620632b0bd075abe11d7698b338be0ae3df' 'a03db71d323ed2794123bb31b5c8ad5febd551c490b5c0b341052c8e5f0ba892') build() { + cd $srcdir/$pkgname + if [ "$CARCH" == 'x86_64' ]; then export GOARCH=amd64 fi @@ -34,18 +36,26 @@ build() { export GOARCH=386 fi - # Set GOARCH to arm for crosscompilation (currently doesn't work) - - cd $srcdir/$pkgname export GOROOT_FINAL=/usr/lib/go export GOOS=linux cd src bash make.bash + + # Enable ARM crosscompilation + export GOARCH=arm + bash make.bash } check() { cd $srcdir/$pkgname + if [ "$CARCH" == 'x86_64' ]; then + export GOARCH=amd64 + fi + if [ "$CARCH" == 'i686' ]; then + export GOARCH=386 + fi + export GOROOT=$srcdir/$pkgname export PATH=$srcdir/$pkgname/bin:$PATH diff --git a/community/gpg-crypter/PKGBUILD b/community/gpg-crypter/PKGBUILD index cb313d0f9..60a196bb1 100644 --- a/community/gpg-crypter/PKGBUILD +++ b/community/gpg-crypter/PKGBUILD @@ -1,26 +1,24 @@ -# $Id: PKGBUILD 67947 2012-03-16 11:29:44Z giovanni $ +# $Id: PKGBUILD 79925 2012-11-14 19:52:32Z jlichtblau $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com> # Contributor: lp76 <l.peduto@gmail.com> pkgname=gpg-crypter -pkgver=0.3.5 -pkgrel=5 -pkgdesc="A graphical front-end to GnuPG(GPG) using the GTK2 toolkit and libgpgme" +pkgver=0.4.1 +pkgrel=1 +pkgdesc="A graphical front-end to GnuPG(GPG) using the GTK3 toolkit and libgpgme" arch=('i686' 'x86_64' 'mips64el') url="http://gpg-crypter.sourceforge.net/" -license=('GPL') -depends=('gtk2' 'gpgme') -source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz - $pkgname.desktop) -md5sums=('be33140ae205b8a3f37217c1c2c0737a' - 'a2a226ff44eb02cdab7bee46864dea6d') +license=('GPL2') +depends=('gtk3' 'gpgme') +makedepends=('intltool') +changelog=$pkgname.changelog +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) +sha256sums=('1f7e2b27bf4a27ecbb07bce9cd40d1c08477a3bd065ba7d1a75d1732e4bdc023') build() { cd ${srcdir}/$pkgname-$pkgver - export CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" - ./configure --prefix=/usr make } @@ -29,15 +27,4 @@ package() { cd ${srcdir}/$pkgname-$pkgver make DESTDIR=${pkgdir} install - -# icon - install -Dm644 ${srcdir}/$pkgname-$pkgver/pixmaps/$pkgname.png \ - ${pkgdir}/usr/share/pixmaps/$pkgname.png - -# .desktop file - install -Dm644 ${srcdir}/$pkgname.desktop \ - ${pkgdir}/usr/share/applications/$pkgname.desktop - -# delete unneeded icon - rm -rf ${pkgdir}/usr/share/$pkgname } diff --git a/community/gpg-crypter/gpg-crypter.changelog b/community/gpg-crypter/gpg-crypter.changelog new file mode 100644 index 000000000..a56f276cc --- /dev/null +++ b/community/gpg-crypter/gpg-crypter.changelog @@ -0,0 +1,2 @@ +2012-11-14 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * gpg-crypter 0.4.1-1 diff --git a/community/gtk-engine-unico/PKGBUILD b/community/gtk-engine-unico/PKGBUILD index 91ae166cc..21e856757 100644 --- a/community/gtk-engine-unico/PKGBUILD +++ b/community/gtk-engine-unico/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 79137 2012-10-31 01:06:06Z heftig $ +# $Id: PKGBUILD 79966 2012-11-15 05:43:40Z bpiotrowski $ # Maintainer: Bartlomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Hilinus <itahilinus[at]hotmail[dot]it> pkgname=gtk-engine-unico pkgver=1.0.2 pkgrel=3 -pkgdesc="Unico GTK3 theme engine" +pkgdesc='Unico GTK3 theme engine' arch=('i686' 'x86_64' 'mips64el') -url="https://launchpad.net/unico" +url='https://launchpad.net/unico' license=('GPL') -depends=("gtk3") -makedepends=("gnome-common") +depends=('gtk3') +makedepends=('gnome-common') options=(!libtool) -source=(gtk-engine-unico-139.tar.gz::http://bazaar.launchpad.net/~unico-team/unico/trunk/tarball/139) -md5sums=('01a8fcde727bbbdfcbd1572f118d1616') +source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-139.tar.xz) +md5sums=('a451cf9e3d6b092a2fbeb424d0436dd3') build() { cd "~unico-team/unico/trunk" @@ -25,4 +25,3 @@ package() { cd "~unico-team/unico/trunk" make DESTDIR=${pkgdir} install } -md5sums=('14557d1e9188fb814bce1fc404444d4c') diff --git a/community/keepassx/PKGBUILD b/community/keepassx/PKGBUILD index 5c5b073d7..6600013ce 100644 --- a/community/keepassx/PKGBUILD +++ b/community/keepassx/PKGBUILD @@ -1,22 +1,29 @@ -# $Id: PKGBUILD 65610 2012-02-21 09:36:40Z spupykin $ -# Maintainer: Alexander Fehr <pizzapunk gmail com> +# $Id: PKGBUILD 80120 2012-11-16 16:43:09Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Greg Bouzakis <gregbouzakis@gmail.com> +# Contributor: Alexander Fehr <pizzapunk gmail com> # Contributor: Philipp Giebel <arch@ambience-design.net> pkgname=keepassx pkgver=0.4.3 -pkgrel=2 -pkgdesc="Cross platform password manager" +pkgrel=3 +pkgdesc='Password manager' arch=('i686' 'x86_64' 'mips64el') -url="http://www.keepassx.org/" +url='http://www.keepassx.org' license=('GPL2') -depends=('qt' 'libxtst') -source=(http://downloads.sourceforge.net/keepassx/keepassx-$pkgver.tar.gz) +depends=('libxtst' 'qt' 'shared-mime-info') +install=keepassx.install +source=(http://downloads.sourceforge.net/keepassx/$pkgname-$pkgver.tar.gz) md5sums=('1df67bb22b2e08df49f09e61d156f508') build() { - cd "$srcdir/keepassx-$pkgver" + cd $srcdir/$pkgname-$pkgver + sed -i '1,1i#include <unistd.h>' src/lib/random.cpp + qmake + make +} - qmake PREFIX=/usr - make - make INSTALL_ROOT="$pkgdir" install +package() { + cd $srcdir/$pkgname-$pkgver + make INSTALL_ROOT=$pkgdir install } diff --git a/community/keepassx/keepassx.install b/community/keepassx/keepassx.install new file mode 100644 index 000000000..6210bd0ab --- /dev/null +++ b/community/keepassx/keepassx.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/kicad/PKGBUILD b/community/kicad/PKGBUILD index c35adf1c2..330a87a86 100644 --- a/community/kicad/PKGBUILD +++ b/community/kicad/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 77648 2012-10-13 11:43:53Z allan $ +# $Id: PKGBUILD 80124 2012-11-16 17:08:40Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Marq Schneider <queueRAM@gmail.com> @@ -6,13 +6,13 @@ pkgname=kicad pkgver=20120119 _pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2} _pkgbzr=3256 -pkgrel=3 +pkgrel=4 pkgdesc="Electronic schematic and printed circuit board (PCB) design tools" arch=('i686' 'x86_64') url="http://iut-tice.ujf-grenoble.fr/kicad/" license=('GPL') depends=('glu' 'wxgtk' 'hicolor-icon-theme' 'desktop-file-utils') -makedepends=('boost' 'cmake' 'zlib' 'mesa') +makedepends=('cmake' 'zlib' 'mesa') optdepends=('kicad-docs-bzr: for documentation' 'kicad-library-bzr: for footprints') install=kicad.install @@ -26,6 +26,9 @@ build() { patch -p0 < "$srcdir/kicad-boost-polygon-declare-gtlsort-earlier.patch" + # FS#31559 + sed -i 's/-O2/-O1/' CMakeLists.txt + # build and install kicad mkdir -p build/Release cd build/Release diff --git a/community/klavaro/PKGBUILD b/community/klavaro/PKGBUILD index 8b78ad08f..e62a48a96 100644 --- a/community/klavaro/PKGBUILD +++ b/community/klavaro/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 73539 2012-07-09 10:19:45Z spupykin $ +# $Id: PKGBUILD 79909 2012-11-14 16:40:39Z stativ $ # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> pkgname=klavaro pkgver=1.9.5 -pkgrel=2 +pkgrel=3 pkgdesc="Free touch typing tutor program" arch=('i686' 'x86_64' 'mips64el') url="http://klavaro.sourceforge.net/" diff --git a/community/kleansweep/PKGBUILD b/community/kleansweep/PKGBUILD index ed39fecf1..c6783590d 100644 --- a/community/kleansweep/PKGBUILD +++ b/community/kleansweep/PKGBUILD @@ -8,7 +8,7 @@ pkgrel=6 pkgdesc="Allows you to reclaim disk space by finding unneeded files" license=("GPL") url="http://linux.bydg.org/~yogin/" -arch=(i686 x86_64 'mips64el') +arch=(i686 x86_64) depends=('kdelibs3') makedepends=('scons') options=('libtool') diff --git a/community/libaccounts-glib/PKGBUILD b/community/libaccounts-glib/PKGBUILD index 191a1ccf5..5ff11d482 100644 --- a/community/libaccounts-glib/PKGBUILD +++ b/community/libaccounts-glib/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libaccounts-glib pkgver=1.3 pkgrel=1 pkgdesc="Glib-based client library for accessing the online accounts database" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/accounts-sso/" license=('LGPL') depends=('dbus-glib' 'libxml2' 'sqlite3') diff --git a/community/libaccounts-qt/PKGBUILD b/community/libaccounts-qt/PKGBUILD index 863f1726e..33fbfca13 100644 --- a/community/libaccounts-qt/PKGBUILD +++ b/community/libaccounts-qt/PKGBUILD @@ -7,7 +7,7 @@ pkgname=('libaccounts-qt' 'libaccounts-qt-doc') pkgver=1.2 pkgrel=1 pkgdesc="Qt-based client library for accessing the online accounts database" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/accounts-sso/" license=('LGPL') depends=('qt' 'libaccounts-glib') diff --git a/community/libdesktop-agnostic/PKGBUILD b/community/libdesktop-agnostic/PKGBUILD index e6848d808..9513ef819 100644 --- a/community/libdesktop-agnostic/PKGBUILD +++ b/community/libdesktop-agnostic/PKGBUILD @@ -7,7 +7,7 @@ pkgname=libdesktop-agnostic pkgver=0.3.92 pkgrel=5 pkgdesc="Provides an extensible config API, a unified virtual fs API, and a desktop item editor for GLib-based projects" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="https://launchpad.net/libdesktop-agnostic" license=('GPL' 'LGPL') depends=('pygtk') diff --git a/community/libfm/PKGBUILD b/community/libfm/PKGBUILD index 6fbafeac3..c7a02b7ef 100644 --- a/community/libfm/PKGBUILD +++ b/community/libfm/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 79276 2012-11-02 10:03:48Z bpiotrowski $ +# $Id: PKGBUILD 80049 2012-11-15 19:06:07Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com> # Contributor: Unknown47 <unknown47r@gmail.com> # Contributor: Angel Velasquez <angvp@archlinux.org> @@ -6,9 +6,9 @@ pkgname=libfm pkgver=1.1.0 -pkgrel=2 -pkgdesc="A library for file management" -url="http://pcmanfm.sourceforge.net/" +pkgrel=3 +pkgdesc='Library for file management' +url='http://pcmanfm.sourceforge.net/' arch=('i686' 'x86_64' 'mips64el') license=('GPL') groups=('lxde') diff --git a/community/libhx/PKGBUILD b/community/libhx/PKGBUILD index 22ea11bbe..e43bb8af0 100644 --- a/community/libhx/PKGBUILD +++ b/community/libhx/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 74564 2012-07-30 14:15:35Z spupykin $ +# $Id: PKGBUILD 80149 2012-11-16 20:29:24Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Max Roder <maxroder@web.de> # Contributor: Nathan Owe <ndowens.aur at gmail dot com> pkgname='libhx' -pkgver=3.13 +pkgver=3.14 pkgrel=1 pkgdesc='A library providing queue, tree, I/O and utility functions' arch=('i686' 'x86_64' 'mips64el') @@ -13,7 +13,7 @@ license=('GPL') depends=() options=('!libtool') source=("http://downloads.sourceforge.net/${pkgname}/libHX-${pkgver}.tar.xz") -md5sums=('3cfb6983e2e7eea20f295c5f2c2c9b03') +md5sums=('a2a2dd32aaff33234e53517c6afd694a') build() { cd ${srcdir}/libHX-${pkgver} diff --git a/community/libpng12/PKGBUILD b/community/libpng12/PKGBUILD new file mode 100644 index 000000000..968cd9123 --- /dev/null +++ b/community/libpng12/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 79866 2012-11-14 07:22:13Z dwallace $ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: dorphell <archlinux.org: dorphell> +# Contributor: Travis Willard <archlinux.org: travis> +# Contributor: Douglas Soares de Andrade <archlinux.org: douglas> +# Contributor: Jesse Jaara <gmail.com: jesse.jaara> + +pkgname=libpng12 +_realname=libpng +pkgver=1.2.50 +pkgrel=2 +pkgdesc="A collection of routines used to create PNG format graphics files" +arch=('i686' 'x86_64') +url="http://www.libpng.org/pub/png/libpng.html" +license=('custom') +depends=('zlib') +options=('!libtool') +source=("http://sourceforge.net/projects/libpng/files/libpng-${pkgver}.tar.xz" + "http://sourceforge.net/projects/apng/files/libpng/libpng12/libpng-${pkgver}-apng.patch.gz") + +build() { + cd "${srcdir}/${_realname}-${pkgver}" + + patch -Np0 -i "${srcdir}/libpng-${pkgver}-apng.patch" + + libtoolize --force --copy + aclocal + autoconf + automake --add-missing + + ./configure --prefix=/usr + + make ECHO=echo +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + + make ECHO=echo DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}/usr/share" + rm -rf "${pkgdir}/usr/bin/libpng-config" + rm -rf "${pkgdir}/usr/lib/"{libpng.so,libpng.a} + rm -fr "${pkgdir}/usr/lib/pkgconfig/libpng.pc" + rm -rf "${pkgdir}/usr/include/"{pngconf.h,png.h} + +} + +md5sums=('a3e00fccbfe356174ab515b5c00641c7' + 'b06ac3f6a6f982abc2036359665e82a9') diff --git a/community/librsync/PKGBUILD b/community/librsync/PKGBUILD index 0a0a4c435..720de9a1a 100644 --- a/community/librsync/PKGBUILD +++ b/community/librsync/PKGBUILD @@ -5,7 +5,7 @@ pkgname=librsync pkgver=0.9.7 -pkgrel=6 +pkgrel=6.1 pkgdesc="A free software library that implements the rsync remote-delta algorithm (rdiff)" arch=('i686' 'x86_64' 'mips64el') url="http://librsync.sourceforge.net/" diff --git a/community/libsignon-glib/PKGBUILD b/community/libsignon-glib/PKGBUILD index 752d0b0c1..3baa4fc14 100644 --- a/community/libsignon-glib/PKGBUILD +++ b/community/libsignon-glib/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libsignon-glib pkgver=1.7 pkgrel=1 pkgdesc="GLib-based client library for applications handling account authentication through the Online Accounts Single Sign-On service" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/accounts-sso/" license=('LGPL') depends=('signon') diff --git a/community/libxdg-basedir/PKGBUILD b/community/libxdg-basedir/PKGBUILD index 116b633a7..1a5bb14d6 100644 --- a/community/libxdg-basedir/PKGBUILD +++ b/community/libxdg-basedir/PKGBUILD @@ -3,7 +3,7 @@ pkgname=libxdg-basedir pkgver=1.2.0 -pkgrel=1 +pkgrel=1.1 pkgdesc="An implementation of the XDG Base Directory specifications." arch=('i686' 'x86_64' 'mips64el') url="http://n.ethz.ch/student/nevillm/download/libxdg-basedir" diff --git a/community/lmms/PKGBUILD b/community/lmms/PKGBUILD index 5a287a701..e278ff74d 100644 --- a/community/lmms/PKGBUILD +++ b/community/lmms/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 66380 2012-02-24 11:46:22Z lfleischer $ +# $Id: PKGBUILD 80173 2012-11-17 12:51:55Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw> # Contributor: Mateusz Herych <heniekk@gmail.com> @@ -6,7 +6,7 @@ pkgname=lmms pkgver=0.4.13 -pkgrel=1 +pkgrel=2 pkgdesc='The Linux MultiMedia Studio.' arch=('i686' 'x86_64' 'mips64el') url='http://lmms.sourceforge.net/' @@ -17,21 +17,24 @@ optdepends=('wine: VST support (experimental)' 'fftw: SpectrumAnalyzer plugin' 'stk: STK instruments plugins' 'pulseaudio: PulseAudio output') -makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'fftw' 'stk') -[[ $CARCH = i686 ]] && makedepends+=('wine') +makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'fftw' 'stk' 'wine') provides=('lmms-extras') conflicts=('lmms-extras') options=('!libtool' '!makeflags') install=lmms.install -source=("http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2") -md5sums=('80db0dc5263041d443f474220410991f') +source=("http://downloads.sourceforge.net/sourceforge/lmms/${pkgname}-${pkgver}.tar.bz2" + zynaddsubfx_unlink.patch) +md5sums=('80db0dc5263041d443f474220410991f' + 'd2ea78ac0cf2979505f140c6845617cf') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake - cmake . -DCMAKE_INSTALL_PREFIX=/usr + patch -Np1 -i ../zynaddsubfx_unlink.patch + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -USE=vst make } @@ -39,4 +42,3 @@ package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="${pkgdir}" install } - diff --git a/community/lmms/zynaddsubfx_unlink.patch b/community/lmms/zynaddsubfx_unlink.patch new file mode 100644 index 000000000..6b2521f55 --- /dev/null +++ b/community/lmms/zynaddsubfx_unlink.patch @@ -0,0 +1,10 @@ +--- lmms-0.4.13_orig/plugins/zynaddsubfx/LocalZynAddSubFx.cpp 2012-04-08 13:01:25.951925761 +0200 ++++ lmms-0.4.13_test/plugins/zynaddsubfx/LocalZynAddSubFx.cpp 2012-04-08 13:08:32.841905201 +0200 +@@ -23,6 +23,7 @@ + */ + + #include <lmmsconfig.h> ++#include <unistd.h> + + #include "LocalZynAddSubFx.h" + diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD index fc556957f..abdf94d70 100644 --- a/community/luajit/PKGBUILD +++ b/community/luajit/PKGBUILD @@ -1,29 +1,29 @@ -# $Id: PKGBUILD 79274 2012-11-02 08:02:31Z bpiotrowski $ +# $Id: PKGBUILD 79833 2012-11-13 17:51:21Z bpiotrowski $ # Maintainer: Chris Brannon <chris@the-brannons.com> # Maintainer: Bartłomiej Piotrowski # Contributor: Paulo Matias <matiasΘarchlinux-br·org> # Contributor: Anders Bergh <anders1@gmail.com> pkgname=luajit -pkgver=2.0.0rc1 -pkgrel=2 +pkgver=2.0.0 +pkgrel=1 pkgdesc='A Just-In-Time Compiler for Lua' arch=('i686' 'x86_64' 'mips64el') url='http://luajit.org/' license=('MIT') depends=('gcc-libs') source=(http://luajit.org/download/LuaJIT-${pkgver/rc/-rc}.tar.gz) -md5sums=('26dc243c12cab80b8fe2d9cfa02a81a6') +md5sums=('97a2b87cc0490784f54b64cfb3b8f5ad') build() { - cd $srcdir/LuaJIT-${pkgver/rc1} + cd $srcdir/LuaJIT-$pkgver make PREFIX=/usr } package() { - cd $srcdir/LuaJIT-${pkgver/rc1} + cd $srcdir/LuaJIT-$pkgver make install DESTDIR=$pkgdir PREFIX=/usr - install -Dm644 $srcdir/LuaJIT-${pkgver/rc1}/COPYRIGHT \ + install -Dm644 $srcdir/LuaJIT-$pkgver/COPYRIGHT \ $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT } diff --git a/community/luasql/PKGBUILD b/community/luasql/PKGBUILD new file mode 100644 index 000000000..54aff4c20 --- /dev/null +++ b/community/luasql/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 61380 2011-12-29 16:34:45Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Anders Bergh <anders1@gmail.com> + +pkgname=luasql-mysql +pkgver=2.2.0 +pkgrel=1 +pkgdesc="MySQL module for Lua" +arch=('i686' 'x86_64') +url="http://www.keplerproject.org/luasql/" +license=('MIT') +depends=('lua' 'libmysqlclient') +source=(https://github.com/downloads/keplerproject/luasql/luasql-$pkgver.tar.gz) +md5sums=('59d72db444c6369c936d4f03694db6b7') + +build() { + cd "$srcdir/luasql-$pkgver" + make T=mysql PREFIX=/usr DRIVER_LIBS="$(mysql_config --libs)" \ + DRIVER_INCS="$(mysql_config --include) -fPIC" + install -Dm644 src/mysql.so $pkgdir/usr/lib/lua/5.1/luasql/mysql.so + install -Dm644 doc/us/license.html $pkgdir/usr/share/licenses/$pkgname/license.html +} diff --git a/community/lxc/PKGBUILD b/community/lxc/PKGBUILD index 72431d0c5..618c70728 100644 --- a/community/lxc/PKGBUILD +++ b/community/lxc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 79773 2012-11-12 09:05:42Z spupykin $ +# $Id: PKGBUILD 80003 2012-11-15 11:55:57Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andrea Zucchelli <zukka77@gmail.com> # Contributor: Jonathan Liu <net147@gmail.com> @@ -6,7 +6,8 @@ pkgname=lxc pkgver=0.8.0 -pkgrel=1 +epoch=1 +pkgrel=2 pkgdesc="Linux Containers" arch=('i686' 'x86_64' 'mips64el') url="http://lxc.sourceforge.net/" diff --git a/community/lxlauncher/PKGBUILD b/community/lxlauncher/PKGBUILD index 85de2af9b..cf21008cd 100644 --- a/community/lxlauncher/PKGBUILD +++ b/community/lxlauncher/PKGBUILD @@ -1,27 +1,28 @@ -#$Id: PKGBUILD 52832 2011-07-28 23:39:16Z angvp $ -# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> -# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr> +# $Id: PKGBUILD 80054 2012-11-15 19:13:49Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr> + pkgname=lxlauncher pkgver=0.2.2 -pkgrel=1.1 -pkgdesc="Launcher for Asus EeePC (part of LXDE)" +pkgrel=2 +pkgdesc='Open source clone of the Asus launcher for EeePC' arch=('i686' 'x86_64' 'mips64el') license=('GPL2') -url="http://lxde.org/" +url='http://lxde.org/' groups=('lxde') depends=('gtk2' 'startup-notification' 'gnome-menus' 'menu-cache' 'intltool') makedepends=('pkgconfig') -source=(http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz) +source=(http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.gz) md5sums=('16df627447838b170a72cc3a9ee21497') build() { - cd "$srcdir/$pkgname-$pkgver" - autoreconf - ./configure --sysconfdir=/etc --prefix=/usr - make + cd $srcdir/$pkgname-$pkgver + ./configure --sysconfdir=/etc --prefix=/usr + make } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install } diff --git a/community/lxpanel/PKGBUILD b/community/lxpanel/PKGBUILD index 7e37715c5..0d4c55688 100644 --- a/community/lxpanel/PKGBUILD +++ b/community/lxpanel/PKGBUILD @@ -1,30 +1,30 @@ -# $Id: PKGBUILD 72336 2012-06-12 05:13:20Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com> +# $Id: PKGBUILD 80057 2012-11-15 19:23:02Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> pkgname=lxpanel pkgver=0.5.10 -pkgrel=1 -pkgdesc="Panel of the LXDE Desktop" +pkgrel=2 +pkgdesc='Lightweight X11 desktop panel for LXDE' arch=('i686' 'x86_64' 'mips64el') license=('GPL2') -url="http://lxde.org/" +url='http://lxde.org/' groups=('lxde') depends=('gtk2' 'alsa-lib' 'menu-cache' 'lxmenu-data' 'libwnck') makedepends=('wireless_tools') optdepends=('wireless_tools: netstat plugin') -source=(http://ftp.de.debian.org/debian/pool/main/l/$pkgname/${pkgname}_${pkgver}.orig.tar.xz) -md5sums=('86a87723ec15274d4c0fe191e8a2fa52') +source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz) +md5sums=('1bf3cce2a2d01c211f6897c42e8dd0bc') build() { - cd "$srcdir/$pkgname-$pkgver" + cd $srcdir/$pkgname-$pkgver - CFLAGS+=" -lgmodule-2.0" ./configure --sysconfdir=/etc --prefix=/usr - make + CFLAGS+=' -lgmodule-2.0' ./configure --sysconfdir=/etc --prefix=/usr + make } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install } diff --git a/community/mediaproxy/PKGBUILD b/community/mediaproxy/PKGBUILD index 7a3096254..4b7cb8f4f 100644 --- a/community/mediaproxy/PKGBUILD +++ b/community/mediaproxy/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 78383 2012-10-17 15:54:17Z spupykin $ +# $Id: PKGBUILD 80024 2012-11-15 14:41:33Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Colin Pitrat <colin.pitrat@gmail.com> pkgname=mediaproxy pkgver=2.5.2 -pkgrel=3 +pkgrel=4 pkgdesc="Open-source media proxy for OpenSER" url="http://mediaproxy.ag-projects.com/" arch=('i686' 'x86_64' 'mips64el') @@ -25,8 +25,12 @@ md5sums=('840de8f52e656991be728c15ec30bb5e' build() { cd $srcdir/mediaproxy-$pkgver - install -D -m0755 $srcdir/mediaproxy.init $pkgdir/etc/rc.d/mediaproxy + + sed -i "s|libraries = get_link_libraries(),|libraries = ['netfilter_conntrack', 'ip4tc'],|g" setup.py + python2 setup.py install --root=$pkgdir + + install -D -m0755 $srcdir/mediaproxy.init $pkgdir/etc/rc.d/mediaproxy install -Dm0644 $srcdir/$pkgname-dispatcher.service $pkgdir/usr/lib/systemd/system/$pkgname-dispatcher.service install -Dm0644 $srcdir/$pkgname-relay.service $pkgdir/usr/lib/systemd/system/$pkgname-relay.service install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf diff --git a/community/menu-cache/PKGBUILD b/community/menu-cache/PKGBUILD index 8195b8f16..1c6e9ad24 100644 --- a/community/menu-cache/PKGBUILD +++ b/community/menu-cache/PKGBUILD @@ -1,30 +1,36 @@ -# $Id: PKGBUILD 71029 2012-05-22 05:52:34Z bpiotrowski $ +# $Id: PKGBUILD 80045 2012-11-15 18:59:35Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> pkgname=menu-cache -pkgver=0.3.3 +pkgver=0.4.0 pkgrel=1 pkgdesc='Caching mechanism for freedesktop.org compliant menus' arch=('i686' 'x86_64' 'mips64el') license=('GPL2') -url="http://lxde.org/" +url='http://lxde.org/' groups=('lxde') depends=('intltool' 'glib2') options=('!libtool') makedepends=('pkgconfig') -source=(http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz) -md5sums=('a14b0b162cd64d56c16bf6af16f3a47f') +source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz + menu-cache-gen.h) +md5sums=('c63029a6c65e370ed5d9409f30265950' + '4edc9545b9640ee7698324d3f9683dc7') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --sysconfdir=/etc \ - --libexecdir=/usr/lib/menu-cache --disable-static - make + cd $srcdir/$pkgname-$pkgver + + install -m644 $srcdir/menu-cache-gen.h menu-cache-gen/ + + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/menu-cache \ + --disable-static + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install } diff --git a/community/menu-cache/menu-cache-gen.h b/community/menu-cache/menu-cache-gen.h new file mode 100644 index 000000000..7d9be4207 --- /dev/null +++ b/community/menu-cache/menu-cache-gen.h @@ -0,0 +1,8 @@ +#ifndef __MENU_CACHE_GEN_H__ +#define __MENU_CACHE_GEN_H__ 1 +G_BEGIN_DECLS + +guint32 menu_cache_get_de_flag (const char* de_name); + +G_END_DECLS +#endif
\ No newline at end of file diff --git a/community/mod_wsgi/PKGBUILD b/community/mod_wsgi/PKGBUILD new file mode 100644 index 000000000..22c403936 --- /dev/null +++ b/community/mod_wsgi/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 79940 2012-11-15 00:36:52Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Ryan Coyner <rcoyner@gmail.com> + +pkgname=mod_wsgi +pkgver=3.4 +pkgrel=2 +pkgdesc='Python WSGI adapter module for Apache' +arch=('x86_64' 'i686') +url='http://www.modwsgi.org/' +license=('APACHE') +depends=('apache' 'python') +makedepends=('setconf') +install=mod_wsgi.install +source=("http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz") +sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8') + +build() { + cd "$srcdir/$pkgbase-$pkgver" + + ./configure --prefix=/usr \ + --with-apxs=/usr/sbin/apxs \ + --with-python=/usr/bin/python + setconf Makefile LDLIBS '-lpython3 -lpthread -ldl -lutil -lm' + make +} + +package() { + cd "$srcdir/$pkgbase-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/mod_wsgi/mod_wsgi.install b/community/mod_wsgi/mod_wsgi.install new file mode 100644 index 000000000..d26d61631 --- /dev/null +++ b/community/mod_wsgi/mod_wsgi.install @@ -0,0 +1,14 @@ +post_install() { +/bin/cat << ENDOFMESSAGE +==> +==> +==> To install mod_wsgi, add the following line in +==> /etc/httpd/conf/httpd.conf file : +==> +==> LoadModule wsgi_module modules/mod_wsgi.so +==> +==> and restart/reload Apache. +==> +==> +ENDOFMESSAGE +} diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD index 5fca87a8a..34065c2e8 100644 --- a/community/mplayer2/PKGBUILD +++ b/community/mplayer2/PKGBUILD @@ -1,63 +1,66 @@ -# $Id: PKGBUILD 74686 2012-08-02 07:31:37Z bpiotrowski $ +# $Id: PKGBUILD 80198 2012-11-17 14:50:42Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Martin Panter <vadmium+aur@gmail.com> # Contributor: Stéphane Gaudreault <stephane@archlinux.org> pkgname=mplayer2 pkgver=20120729 -pkgrel=1 -pkgdesc="An advanced general-purpose media player. A fork of the original MPlayer project" +pkgrel=2 +pkgdesc='Advanced general-purpose media player. A fork of the original MPlayer project' arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://www.mplayer2.org/" install=$pkgname.install depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmpeg' 'fontconfig' 'freetype2' 'jack' 'ladspa' 'lame' 'libass' 'libbluray' 'libcaca' 'libcdio' 'libdca' 'libdvdcss' - 'libdvdnav' 'libdvdread' 'libjpeg' 'libmad' 'libpulse' 'libtheora' + 'libdvdnav' 'libdvdread' 'libjpeg' 'libmad' 'libpulse' 'libquvi' 'libtheora' 'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'mpg123' 'ncurses' 'sdl' 'ttf-dejavu') if [ "$CARCH" != "mips64el" ]; then depends+=('libgl' 'libvdpau' 'lirc-utils') fi -makedepends=('mesa' 'unzip' 'python') +makedepends=('mesa' 'unzip' 'python' 'python-docutils') [ "$CARCH" != "mips64el" ] && makedepends+=('yasm') backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') provides=('mplayer') conflicts=('mplayer') options=(!emptydirs) -source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz) -md5sums=('53a266106f4c0dd687af3f807727812c') +source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz + mplayer2-20120729-fix-vf_lavc-compilation.patch + mplayer2-20120729-libquvi-support.patch) +md5sums=('53a266106f4c0dd687af3f807727812c' + 'b1e9188001d31b066488aa35401b62bc' + 'd5a23b19d1f84399526bd0dd9bae0e90') build() { - cd "${srcdir}"/$pkgname-$pkgver - - sed 's/gmplayer/mplayer/g' -i etc/mplayer.desktop - find -type f -exec sed -e 's/python3/python/' -i {} \; - - case $CARCH in - mips64el) ;; - *86*) extra=--enable-runtime-cpudetection;; - esac - - ./configure --prefix=/usr --confdir=/etc/mplayer \ - --enable-translation --language=all \ - --enable-joystick \ - --disable-speex \ - --disable-openal \ - --disable-libdv \ - --disable-musepack \ - $extra \ - --disable-mga - make + cd $srcdir/$pkgname-$pkgver + + patch -Np1 -i $srcdir/mplayer2-20120729-libquvi-support.patch + patch -Np1 -i $srcdir/mplayer2-20120729-fix-vf_lavc-compilation.patch + + sed 's/gmplayer/mplayer/g' -i etc/mplayer.desktop + find -type f -exec sed -e 's/python3/python/' -i {} \; + + [ "$CARCH" != "mips64el" ] && extra="--enable-runtime-cpudetection" + + ./configure --prefix=/usr --confdir=/etc/mplayer \ + --enable-translation --language=all \ + --enable-joystick \ + --disable-speex \ + --disable-openal \ + --disable-libdv \ + --disable-musepack \ + $extra + make } package() { - cd "${srcdir}"/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install - make DESTDIR="${pkgdir}" install - install -Dm644 etc/{codecs.conf,input.conf,example.conf} "${pkgdir}"/etc/mplayer/ - install -dm755 "${pkgdir}"/usr/share/mplayer/ - ln -s /usr/share/fonts/TTF/DejaVuSans.ttf "${pkgdir}"/usr/share/mplayer/subfont.ttf + install -Dm644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer/ + install -dm755 $pkgdir/usr/share/mplayer/ + ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf - install -dm755 "${pkgdir}"/usr/share/applications/ - install -m 644 etc/mplayer.desktop "${pkgdir}"/usr/share/applications/ + install -dm755 $pkgdir/usr/share/applications/ + install -m 644 etc/mplayer.desktop $pkgdir/usr/share/applications/ } diff --git a/community/mplayer2/mplayer2-20120729-fix-vf_lavc-compilation.patch b/community/mplayer2/mplayer2-20120729-fix-vf_lavc-compilation.patch new file mode 100644 index 000000000..a50161305 --- /dev/null +++ b/community/mplayer2/mplayer2-20120729-fix-vf_lavc-compilation.patch @@ -0,0 +1,31 @@ +From f5e0365c8e76e2ef797027134f1819e613764d7e Mon Sep 17 00:00:00 2001 +From: Anton Khirnov <anton@khirnov.net> +Date: Wed, 19 Sep 2012 12:00:01 +0000 +Subject: vf_lavc: fix compilation with latest libav + +Remove a pointless and broken check for avctx->codec->encode. + +1) The check does not test for anything useful. +2) AVCodecContext.encode is a private field and is not supposed to be + accessed from outside of lavc. +2a) AVCodecContext.encode does not exist anymore in latest libavcodec, + so this block fails to build. +--- +diff --git a/libmpcodecs/vf_lavc.c b/libmpcodecs/vf_lavc.c +index b2c1dd7..65e93a1 100644 +--- a/libmpcodecs/vf_lavc.c ++++ b/libmpcodecs/vf_lavc.c +@@ -76,11 +76,6 @@ static int config(struct vf_instance *vf, + return 0; + } + +- if (lavc_venc_context.codec->encode == NULL) { +- mp_msg(MSGT_VFILTER,MSGL_ERR,"avcodec init failed (ctx->codec->encode == NULL)!\n"); +- return 0; +- } +- + return vf_next_config(vf,width,height,d_width,d_height,flags,IMGFMT_MPEGPES); + } + +-- +cgit v0.9 diff --git a/community/mplayer2/mplayer2-20120729-libquvi-support.patch b/community/mplayer2/mplayer2-20120729-libquvi-support.patch new file mode 100644 index 000000000..f27fa690d --- /dev/null +++ b/community/mplayer2/mplayer2-20120729-libquvi-support.patch @@ -0,0 +1,277 @@ +From 37c124805c00ae0f2570c95f9543e39ce69793a6 Mon Sep 17 00:00:00 2001 +From: wm4 <wm4@mplayer2.org> +Date: Fri, 02 Mar 2012 19:24:34 +0000 +Subject: quvi: Add support for streaming sites using libquvi + +This enables playing URLs from libquvi supported streaming sites +directly, e.g. "mplayer http://www.youtube.com/watch?v=...." + +Anything opened with mplayer is checked with libquvi. If it looks like +a URL of a supported streaming site, libquvi is used to extract the +media URL, which is then passed to the lower level mplayer code +instead of the HTML URL. Hopefully the libquvi URL checker works well +enough that it doesn't cause any problems with normal URLs, files, or +whatever else mplayer's stream layer accepts. + +Add the --quvi-format option. The option value is directly passed +to libquvi as requested format. The only values that seem to work for +any streaming site seem to be "best" (best quality) and "default" +(lowest quality). The mplayer option defaults to "best" (overriding +libquvi's default). + +Outstanding issues: +- Does libquvi checking every opened file really not cause problems? + Should there be a runtime option to disable libquvi use? + (Probably not an issue.) +- Should we check/set the supported protocol? By default libquvi has + support for all protocols enabled. In the worst case, it might + return an URL using a protocol not supported by mplayer, even though + it could extract URLs with other protocols too. + (Probably not an issue.) +- Somehow export metadata (like media title) to the mplayer frontend? +--- +diff --git a/cfg-mplayer.h b/cfg-mplayer.h +index 5440de9..d8d556a 100644 +--- a/cfg-mplayer.h ++++ b/cfg-mplayer.h +@@ -517,6 +517,8 @@ const m_option_t common_opts[] = { + + OPT_MAKE_FLAGS("hr-mp3-seek", hr_mp3_seek, 0), + ++ OPT_STRING("quvi-format", quvi_format, 0), ++ + { "rawaudio", (void *)&demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, + { "rawvideo", (void *)&demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, + +diff --git a/configure b/configure +index 5c1e288..18bc404 100755 +--- a/configure ++++ b/configure +@@ -335,6 +335,7 @@ Optional features: + --enable-winsock2_h enable winsock2_h [autodetect] + --enable-smb enable Samba (SMB) input [autodetect] + --enable-live enable LIVE555 Streaming Media [disable] ++ --enable-libquvi enable libquvi [autodetect] + --enable-nemesi enable Nemesi Streaming Media [autodetect] + --disable-vcd disable VCD support [autodetect] + --disable-bluray disable Blu-ray support [autodetect] +@@ -650,6 +651,7 @@ _pvr=auto + networking=yes + _winsock2_h=auto + _smb=auto ++_libquvi=auto + _joystick=no + _xvid=auto + _libnut=auto +@@ -1009,6 +1011,8 @@ for ac_option do + --disable-winsock2_h) _winsock2_h=no ;; + --enable-smb) _smb=yes ;; + --disable-smb) _smb=no ;; ++ --enable-libquvi) _libquvi=yes ;; ++ --disable-libquvi) _libquvi=no ;; + --enable-joystick) _joystick=yes ;; + --disable-joystick) _joystick=no ;; + --enable-xvid) _xvid=yes ;; +@@ -3610,6 +3614,19 @@ else + fi + echores "$_smb" + ++echocheck "libquvi support" ++if test "$_libquvi" = auto ; then ++ _libquvi=no ++ if pkg_config_add libquvi ; then ++ _libquvi=yes ++ fi ++fi ++if test "$_libquvi" = yes; then ++ def_libquvi="#define CONFIG_LIBQUVI 1" ++else ++ def_libquvi="#undef CONFIG_LIBQUVI" ++fi ++echores "$_libquvi" + + ######### + # VIDEO # +@@ -6325,6 +6342,7 @@ LIBNEMESI = $_nemesi + LIBNUT = $_libnut + LIBPOSTPROC = $libpostproc + LIBSMBCLIENT = $_smb ++LIBQUVI = $_libquvi + LIBTHEORA = $_theora + LIRC = $_lirc + LIVE555 = $_live +@@ -6668,6 +6686,7 @@ $def_live + $def_nemesi + $def_networking + $def_smb ++$def_libquvi + $def_socklen_t + $def_vstream + +diff --git a/options.h b/options.h +index 48f5c53..89324bd 100644 +--- a/options.h ++++ b/options.h +@@ -78,6 +78,7 @@ typedef struct MPOpts { + char **audio_lang; + char **sub_lang; + int hr_mp3_seek; ++ char *quvi_format; + + char *audio_stream; + int audio_stream_cache; +diff --git a/stream/open.c b/stream/open.c +index ce0a415..91e9ae2 100644 +--- a/stream/open.c ++++ b/stream/open.c +@@ -26,12 +26,14 @@ + + #include "config.h" + #include "mp_msg.h" ++#include "talloc.h" + + #ifdef __FreeBSD__ + #include <sys/cdrio.h> + #endif + + #include "m_option.h" ++#include "options.h" + #include "stream.h" + #include "libmpdemux/demuxer.h" + +@@ -42,6 +44,62 @@ char* cdrom_device=NULL; + char* dvd_device=NULL; + int dvd_title=0; + ++#ifdef CONFIG_LIBQUVI ++ ++#include <quvi/quvi.h> ++ ++static const char *resolve_quvi(const char *url, struct MPOpts *opts) ++{ ++ char *media_title, *media_url; ++ quvi_media_t m; ++ QUVIcode rc; ++ quvi_t q; ++ ++ rc = quvi_init(&q); ++ if (rc != QUVI_OK) ++ return NULL; ++ ++ // Don't try to use quvi on an URL that's not directly supported, since ++ // quvi will do a network access anyway in order to check for HTTP ++ // redirections etc. ++ // The documentation says this will fail on "shortened" URLs. ++ if (quvi_supported(q, (char *)url) != QUVI_OK) { ++ quvi_close(&q); ++ return NULL; ++ } ++ ++ mp_msg(MSGT_OPEN, MSGL_INFO, "[quvi] Checking URL...\n"); ++ ++ // Can use quvi_query_formats() to get a list of formats like this: ++ // "fmt05_240p|fmt18_360p|fmt34_360p|fmt35_480p|fmt43_360p|fmt44_480p" ++ // (This example is youtube specific.) ++ // That call requires an extra net access. quvi_next_media_url() doesn't ++ // seem to do anything useful. So we can't really do anything useful ++ // except pass through the user's format setting. ++ quvi_setopt(q, QUVIOPT_FORMAT, opts->quvi_format ++ ? opts->quvi_format : "best"); ++ ++ rc = quvi_parse(q, (char *)url, &m); ++ if (rc != QUVI_OK) { ++ mp_msg(MSGT_OPEN, MSGL_ERR, "[quvi] %s\n", quvi_strerror(q, rc)); ++ quvi_close(&q); ++ return NULL; ++ } ++ ++ quvi_getprop(m, QUVIPROP_PAGETITLE, &media_title); ++ quvi_getprop(m, QUVIPROP_MEDIAURL, &media_url); ++ ++ mp_msg(MSGT_OPEN, MSGL_INFO, "[quvi] Site media title: '%s'\n", ++ media_title); ++ media_url = talloc_strdup(NULL, media_url); ++ ++ quvi_parse_close(&m); ++ quvi_close(&q); ++ ++ return media_url; ++} ++#endif ++ + // Open a new stream (stdin/file/vcd/url) + + stream_t* open_stream(const char *filename, struct MPOpts *options, +@@ -59,7 +117,16 @@ if(!filename) { + return NULL; + } + +-//============ Open STDIN or plain FILE ============ ++ const char *resolved = NULL; ++ ++#ifdef CONFIG_LIBQUVI ++ resolved = resolve_quvi(filename, options); ++#endif ++ ++ if (resolved) ++ filename = resolved; + +- return open_stream_full(filename,STREAM_READ,options,file_format); ++ stream_t *res = open_stream_full(filename,STREAM_READ,options,file_format); ++ talloc_free((void *)resolved); ++ return res; + } +-- +cgit v0.9 +From 86f7fe1ba61a465fb25bc30deaaa4fcf12600a43 Mon Sep 17 00:00:00 2001 +From: wm4 <wm4@nowhere> +Date: Sun, 02 Sep 2012 18:45:11 +0000 +Subject: configure: add version check for libquvi + +I do not know what exactly is the minimum working version. Require the +latest version currently released, which is about half a year old. +--- +diff --git a/configure b/configure +index 2cf7aff..6a3298f 100755 +--- a/configure ++++ b/configure +@@ -3445,7 +3445,7 @@ echores "$_smb" + echocheck "libquvi support" + if test "$_libquvi" = auto ; then + _libquvi=no +- if pkg_config_add libquvi ; then ++ if pkg_config_add 'libquvi >= 0.4.1' ; then + _libquvi=yes + fi + fi +-- +cgit v0.9 +diff --git a/cfg-mplayer.h b/cfg-mplayer.h +index b889661..8b07091 100644 +--- a/cfg-mplayer.h ++++ b/cfg-mplayer.h +@@ -485,7 +485,7 @@ const m_option_t common_opts[] = { + + OPT_MAKE_FLAGS("hr-mp3-seek", hr_mp3_seek, 0), + +- OPT_STRING("quvi-format", quvi_format, 0), ++ OPT_STRING("quvi-format", quvi_format, 0, OPTDEF_STR("best")), + + { "rawaudio", (void *)&demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, + { "rawvideo", (void *)&demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, +diff --git a/stream/open.c b/stream/open.c +index 91e9ae2..16d0dc3 100644 +--- a/stream/open.c ++++ b/stream/open.c +@@ -76,8 +76,7 @@ static const char *resolve_quvi(const char *url, struct MPOpts *opts) + // That call requires an extra net access. quvi_next_media_url() doesn't + // seem to do anything useful. So we can't really do anything useful + // except pass through the user's format setting. +- quvi_setopt(q, QUVIOPT_FORMAT, opts->quvi_format +- ? opts->quvi_format : "best"); ++ quvi_setopt(q, QUVIOPT_FORMAT, opts->quvi_format); + + rc = quvi_parse(q, (char *)url, &m); + if (rc != QUVI_OK) { +-- +cgit v0.9 diff --git a/community/multipath-tools/PKGBUILD b/community/multipath-tools/PKGBUILD index 3cbac92fc..ff3cf3c67 100644 --- a/community/multipath-tools/PKGBUILD +++ b/community/multipath-tools/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 75262 2012-08-17 10:00:23Z bpiotrowski $ +# $Id: PKGBUILD 80194 2012-11-17 14:32:27Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Thomas S Hatch <thatch45 ar gmail dot com> # Contributor: Michael P <ptchinster@archlinux.us> @@ -6,7 +6,7 @@ pkgname=multipath-tools pkgver=0.4.9 -pkgrel=10 +pkgrel=11 pkgdesc='Multipath tools for Linux' arch=('i686' 'x86_64' 'mips64el') url="http://christophe.varoqui.free.fr/" @@ -14,7 +14,7 @@ license=('GPL') depends=('bash' 'libaio' 'device-mapper') backup=('etc/multipath.conf' 'etc/multipath.conf.annotated') install=multipath-tools.install -options=(!emptydirs) +options=(!emptydirs !strip) source=(http://christophe.varoqui.free.fr/multipath-tools/$pkgname-$pkgver.tar.bz2 rc.d service multipath.conf multipath.conf.annotated fix-build.patch buffer-overflows.patch log_enquery_overflow.patch @@ -50,4 +50,6 @@ package() { install -Dm644 multipath.conf.annotated "$pkgdir"/etc/multipath.conf.annotated install -Dm755 rc.d "$pkgdir"/etc/rc.d/multipathd install -Dm644 service "$pkgdir"/usr/lib/systemd/system/multipathd.service + + find $pkgdir -type f -exec sed 's/sbin/bin/g' -i {} \; } diff --git a/community/mythtv/PKGBUILD b/community/mythtv/PKGBUILD index 4a9e0c106..28612f39e 100644 --- a/community/mythtv/PKGBUILD +++ b/community/mythtv/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 78022 2012-10-16 04:42:30Z jconder $ +# $Id: PKGBUILD 80156 2012-11-16 23:35:58Z ioni $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> @@ -7,7 +7,7 @@ pkgname=mythtv pkgver=0.26.0 -pkgrel=2 +pkgrel=3 epoch=1 pkgdesc="A Homebrew PVR project" arch=('i686' 'x86_64') diff --git a/community/ncmpcpp/PKGBUILD b/community/ncmpcpp/PKGBUILD index 5891c13d4..d8a12da48 100644 --- a/community/ncmpcpp/PKGBUILD +++ b/community/ncmpcpp/PKGBUILD @@ -1,22 +1,23 @@ -# $Id: PKGBUILD 74221 2012-07-23 03:07:58Z allan $ +# $Id: PKGBUILD 80192 2012-11-17 14:06:36Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski -# Contributor: Mateusz Herych <heniekk@gmail.com> +# Contributor: graysky <graysky AT archlinux DOT us> +# Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Army <uli[dot]armbruster[at]gmail[dot]com> pkgname=ncmpcpp pkgver=0.5.10 -pkgrel=2 -pkgdesc="An almost exact clone of ncmpc with some new features." +pkgrel=3 +pkgdesc='Almost exact clone of ncmpc with some new features' arch=('i686' 'x86_64' 'mips64el') -url="http://unkart.ovh.org/ncmpcpp/" +url='http://ncmpcpp.rybczak.net/' license=('GPL') depends=('curl' 'libmpdclient' 'taglib' 'ncurses') install=ncmpcpp.install -source=(http://unkart.ovh.org/ncmpcpp/${pkgname}-${pkgver}.tar.bz2) +source=(http://ncmpcpp.rybczak.net/stable/$pkgname-$pkgver.tar.bz2) md5sums=('298ed66325bcfe358e37e186c7ea4861') build() { - cd "$srcdir/${pkgname}-${pkgver}" + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr \ --enable-unicode \ --enable-clock \ @@ -27,7 +28,9 @@ build() { } package() { - cd "$srcdir/${pkgname}-${pkgver}" + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install - make DESTDIR="$pkgdir" install + make -C extras/ + install -Dm755 extras/artist_to_albumartist $pkgdir/usr/bin/ } diff --git a/community/nginx/PKGBUILD b/community/nginx/PKGBUILD index 62ffecfaa..40c3e359e 100644 --- a/community/nginx/PKGBUILD +++ b/community/nginx/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 76652 2012-09-25 18:40:48Z bpiotrowski $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Maintainer: Bartłomiej Piotrowski <barthalion@gmal.com> +# $Id: PKGBUILD 80209 2012-11-17 16:39:31Z bpiotrowski $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl> _cfgdir=/etc/nginx _tmpdir=/var/lib/nginx pkgname=nginx -pkgver=1.2.4 -pkgrel=1 -pkgdesc="lightweight HTTP server and IMAP/POP3 proxy server" +pkgver=1.2.5 +pkgrel=2 +pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server' arch=('i686' 'x86_64' 'mips64el') -depends=('pcre' 'zlib' 'openssl') +depends=('pcre' 'zlib' 'openssl' 'geoip') makedepends=('passenger') optdepends=('passenger') url="http://nginx.org" @@ -31,7 +31,7 @@ source=(http://nginx.org/download/nginx-$pkgver.tar.gz rc.d service nginx.logrotate) -md5sums=('a7c9a515f632c8cbb07ab67392208088' +md5sums=('4f5a55187a3d45fa37d99d07ddd90800' 'f62c7c9b5a53471d4666a4c49ad363fb' '62d494d23aef31d0b867161f9fffa6eb' 'b38744739022876554a0444d92e6603b') @@ -57,17 +57,16 @@ build() { --with-ipv6 --with-pcre-jit \ --with-file-aio \ --with-http_dav_module \ + --with-http_geoip_module \ --with-http_gzip_static_module \ --with-http_realip_module \ --with-http_ssl_module \ --with-http_stub_status_module \ --add-module=/usr/lib/passenger/ext/nginx \ #--with-http_mp4_module \ - #--with-http_realip_module \ #--with-http_addition_module \ #--with-http_xslt_module \ #--with-http_image_filter_module \ - #--with-http_geoip_module \ #--with-http_sub_module \ #--with-http_flv_module \ #--with-http_random_index_module \ diff --git a/community/opencc/PKGBUILD b/community/opencc/PKGBUILD new file mode 100644 index 000000000..ae94dce10 --- /dev/null +++ b/community/opencc/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 79884 2012-11-14 13:43:08Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=opencc +pkgver=0.3.0 +pkgrel=1 +pkgdesc="Library for Open Chinese Convert" +arch=('i686' 'x86_64') +url="http://code.google.com/p/opencc/" +license=('Apache') +depends=('glibc') +makedepends=('cmake') +source=("http://opencc.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} +md5sums=('84462870e5d491da24bb33a5fb494911') diff --git a/community/openntpd/PKGBUILD b/community/openntpd/PKGBUILD index 8411524c9..b3ba9f225 100644 --- a/community/openntpd/PKGBUILD +++ b/community/openntpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 75378 2012-08-21 16:04:24Z dreisner $ +# $Id: PKGBUILD 80216 2012-11-17 19:40:50Z jelle $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> # Contributor: Mark Rosenstand <mark@borkware.net> # Contributor: Giorgio Lando <patroclo7@gmail.com> (adjtimex patch) @@ -6,12 +6,13 @@ pkgname=openntpd pkgver=3.9p1 -pkgrel=19 +pkgrel=20 pkgdesc="Free, easy to use implementation of the Network Time Protocol." url="http://www.openntpd.org/" arch=('x86_64' 'i686' 'mips64el') license=('BSD') depends=('openssl') +conflicts=('ntp') backup=('etc/ntpd.conf' 'etc/conf.d/openntpd') install=$pkgname.install source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/$pkgname-$pkgver.tar.gz diff --git a/community/openntpd/openntpd.install b/community/openntpd/openntpd.install index 4f42aeb1f..5b440ee2f 100644 --- a/community/openntpd/openntpd.install +++ b/community/openntpd/openntpd.install @@ -1,24 +1,18 @@ -createuser() { - if ! getent group ntp >/dev/null; then - groupadd -g 87 ntp - fi - - if ! getent passwd ntp >/dev/null; then - useradd -g ntp -u 87 -d /var/empty -s /bin/false -c 'Network Time Protocol' ntp - fi -} - post_install() { - createuser + getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null + getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp -c 'Network Time Protocol' -s /bin/false ntp >/dev/null + systemd-tmpfiles --create openntpd.conf + true } post_upgrade() { - createuser } post_remove() { - userdel ntp >/dev/null + getent passwd ntp &>/dev/null && userdel ntp >/dev/null + getent group ntp &>/dev/null && groupdel ntp >/dev/null + true } # vim: ts=2 sw=2 et ft=sh diff --git a/community/os-prober/PKGBUILD b/community/os-prober/PKGBUILD index 535f14ba1..ebaa922de 100644 --- a/community/os-prober/PKGBUILD +++ b/community/os-prober/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 76031 2012-09-09 10:59:08Z tredaelli $ +# $Id: PKGBUILD 79823 2012-11-13 13:48:38Z tredaelli $ # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor: darkcoder <mario_vazq@hotmail.com> pkgname=os-prober -pkgver=1.55 +pkgver=1.56 pkgrel=1 pkgdesc="Utility to detect other OSes on a set of drives" url="http://joey.kitenet.net/code/os-prober/" @@ -11,8 +11,8 @@ arch=('i686' 'x86_64' 'mips64el') license=('GPL3') depends=('sh') source=(ftp://ftp.debian.org/debian/pool/main/o/${pkgname}/${pkgname}_${pkgver}.tar.gz) -md5sums=('a516bc304a10345d2116d5b9b70bacc3') -sha512sums=('dde7f648f0f54906b936ddf05b02166f44b0a9c64291fffa5390b7d96b434a9937577ff22f55dce0711e14775cd7d88c391feb8dd0a8b17d0a6235e91ae4b5d9') +md5sums=('bd9c1a7fc49a2499d79977cf2c1ec68d') +sha256sums=('88a79a04617f4ecbeb9c4d318cd9cf8fcb4ae7a724bd503942354011c7da5719') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/pax-utils/PKGBUILD b/community/pax-utils/PKGBUILD index a270f69c3..c8755a098 100644 --- a/community/pax-utils/PKGBUILD +++ b/community/pax-utils/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 69966 2012-04-27 11:58:38Z tredaelli $ +# $Id: PKGBUILD 79825 2012-11-13 13:54:15Z tredaelli $ # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor: sh0 <mee@sh0.org> # Contributor: Maxwel <msg.maxwel@gmail.com> pkgname=pax-utils -pkgver=0.3.0 +pkgver=0.5 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' @@ -13,7 +13,7 @@ license=('GPL') depends=('bash' 'libcap') checkdepends=('python') source=("http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz") -md5sums=('f0c6577977472a327aa39adf1012f150') +sha256sums=('1ba4f5e8680449c18841db2397aca320527fb06628b4ad9212e42f5e01de833b') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/pdns-recursor/PKGBUILD b/community/pdns-recursor/PKGBUILD index 4953c40fe..f404607e9 100644 --- a/community/pdns-recursor/PKGBUILD +++ b/community/pdns-recursor/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 79612 2012-11-08 22:16:52Z arodseth $ +# $Id: PKGBUILD 80083 2012-11-15 22:19:08Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=pdns-recursor pkgver=3.3 -pkgrel=3 +pkgrel=4 pkgdesc='PowerDNS recursor' url='http://www.powerdns.com' license=('GPL') arch=('x86_64' 'i686') -depends=('gcc-libs' 'lua') +depends=('gcc-libs') # 'lua') makedepends=('boost') backup=('etc/powerdns/recursor.conf') source=("http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2" @@ -22,7 +22,9 @@ sha256sums=('7b62d97f2bb02bb0ba366dabb5e504338b949a572b9062ec2198012fc3b525bc' build() { cd "$srcdir/$pkgname-$pkgver" - LUA=1 LUA_CPPFLAGS_CONFIG= LUA_LIBS_CONFIG=-llua make + # Disabled Lua while waiting for upstream support for lua 5.2 + #LUA=1 LUA_CPPFLAGS_CONFIG= LUA_LIBS_CONFIG=-llua make + LUA=0 make } package() { diff --git a/community/performous/PKGBUILD b/community/performous/PKGBUILD index 17f7be6eb..8eca794f0 100644 --- a/community/performous/PKGBUILD +++ b/community/performous/PKGBUILD @@ -1,49 +1,26 @@ -# $Id: PKGBUILD 78938 2012-10-27 23:45:17Z ebelanger $ +# $Id: PKGBUILD 80212 2012-11-17 17:48:39Z lcarlier $ # Maintainer : Laurent Carlier <lordheavym@gmail.com> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgname=performous -pkgver=0.6.1 -pkgrel=17 +pkgver=0.7.0 +pkgrel=1 pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"' arch=('i686' 'x86_64' 'mips64el') url="http://performous.org/" license=('GPL') -depends=('boost-libs' 'imagemagick' 'glew' 'libxml++' 'portaudio' 'portmidi' 'opencv' 'librsvg') +depends=('boost-libs' 'imagemagick' 'glew' 'libxml++' 'portaudio' 'portmidi' 'librsvg' 'ffmpeg') # opencv makedepends=('cmake' 'pkgconfig' 'help2man' 'boost>=1.50' 'mesa') optdepends=('performous-freesongs: free songs for performous') -source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/Performous-$pkgver-Source.tar.bz2 - boost-filesystem-v3.patch - ffmpeg-0.11.patch - png15.patch - fix-boost-1.50-xtime.patch) -md5sums=('451a759de77984b5a699e91107fe52e2' - '42a8c825d80b0de16bd5752d2a80e585' - '07e52e926595d053155bbfb7168e308f' - '89157d5e21b0efd09fcbeee299d23c7e' - '6b43ab7f1c3e2cacd3540242634eabb3') +source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/performous-$pkgver.tar.bz2) +md5sums=('60f3f72b51a630a4aa996484aedb9526') build() { - cd ${srcdir}/Performous-${pkgver}-Source - - # fix to built against boost 1.46 and later, upstream (git) now support v3 - patch -Np1 -i ../boost-filesystem-v3.patch - # fix with ffmpeg-0.11 - patch -Np1 -i ../ffmpeg-0.11.patch - # fix for libpng 1.5 - patch -Np1 -i ../png15.patch - # fix glib2.0 building - # #error "Only <glib.h> can be included directly." - sed -i -e 's#/gconvert.h#.h#g' game/unicode.cc - # boost 1.50 fix - patch -Np1 -i ../fix-boost-1.50-xtime.patch + cd ${srcdir}/performous-${pkgver} mkdir -p build cd build - # fix config loading with libxml++ - export LDFLAGS=${LDFLAGS/-Wl,--as-needed/} - cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr .. @@ -51,7 +28,7 @@ build() { } package() { - cd ${srcdir}/Performous-${pkgver}-Source/build + cd ${srcdir}/performous-${pkgver}/build make DESTDIR="$pkgdir" install } diff --git a/community/pidgin-libnotify/PKGBUILD b/community/pidgin-libnotify/PKGBUILD index 602168012..c56be9118 100644 --- a/community/pidgin-libnotify/PKGBUILD +++ b/community/pidgin-libnotify/PKGBUILD @@ -4,7 +4,7 @@ pkgname=pidgin-libnotify pkgver=0.14 -pkgrel=5 +pkgrel=6 arch=('i686' 'x86_64' 'mips64el') pkgdesc="pidgin plugin that enables popups when someone logs in or messages you." url="http://gaim-libnotify.sourceforge.net/" @@ -14,16 +14,22 @@ makedepends=('libtool' 'intltool') replaces=('gaim-libnotify') options=(!libtool) source=(http://downloads.sourceforge.net/sourceforge/gaim-libnotify/$pkgname-$pkgver.tar.gz language_fixes.patch - pidgin-libnotify-0.14-libnotify-0.7.patch) -md5sums=('bfb5368b69c02d429b2b17c00a6673c0' - 'e9bdbb3c7faa61f062fc64277457b6c0' - '05538625f14d9f2c12adae5fa6a1fa26') + pidgin-libnotify-0.14-libnotify-0.7.patch pidgin-libnotify-showbutton.patch) build() { cd "$srcdir/$pkgname-$pkgver" - patch -p1 -i "$srcdir/language_fixes.patch" - patch -p0 -i "$srcdir/pidgin-libnotify-0.14-libnotify-0.7.patch" + patch -Np1 -i "$srcdir/language_fixes.patch" + patch -Np0 -i "$srcdir/pidgin-libnotify-0.14-libnotify-0.7.patch" + patch -Np0 -i "$srcdir/pidgin-libnotify-showbutton.patch" + ./configure --prefix=/usr --disable-deprecated --disable-static make +} +package() { + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } +md5sums=('bfb5368b69c02d429b2b17c00a6673c0' + 'e9bdbb3c7faa61f062fc64277457b6c0' + '05538625f14d9f2c12adae5fa6a1fa26' + 'efe1e86aa1e0bc9f7d20efe7f34ad4a7') diff --git a/community/pidgin-libnotify/pidgin-libnotify-showbutton.patch b/community/pidgin-libnotify/pidgin-libnotify-showbutton.patch new file mode 100644 index 000000000..1f84e6025 --- /dev/null +++ b/community/pidgin-libnotify/pidgin-libnotify-showbutton.patch @@ -0,0 +1,10 @@ +--- src/pidgin-libnotify.c.orig 2007-10-01 20:52:38.000000000 +1000 ++++ src/pidgin-libnotify.c 2007-10-01 20:53:20.000000000 +1000 +@@ -307,6 +307,7 @@ + g_hash_table_insert (buddy_hash, contact, notification); + + g_object_set_data (G_OBJECT(notification), "contact", contact); ++ g_object_set_data (G_OBJECT(notification), "buddy", buddy); + + g_signal_connect (notification, "closed", G_CALLBACK(closed_cb), NULL); + diff --git a/community/pkgfile/PKGBUILD b/community/pkgfile/PKGBUILD index ecaea96b8..486a2381d 100644 --- a/community/pkgfile/PKGBUILD +++ b/community/pkgfile/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 76836 2012-10-01 01:25:40Z dreisner $ +# $Id: PKGBUILD 80220 2012-11-17 22:28:33Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> pkgname=pkgfile -pkgver=6 +pkgver=7 pkgrel=1 pkgdesc="a pacman .files metadata explorer" arch=('i686' 'x86_64' 'mips64el') @@ -13,17 +13,23 @@ conflicts=('pkgtools<24-2') makedepends=('perl') source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}) install=pkgfile.install -md5sums=('75139dd8441d60ee7682d900b610e189' - '75cca8e3c0198fa98e32b54fd5e936e6') +md5sums=('f1dc0052b1c21597ea2fa0f0ce05608c' + '28599a9b6e56860a9cba1c95ec797551') build() { cd "$pkgname-$pkgver" ./configure make + + # generate a license file + sed '/\*\//q' src/pkgfile.c >LICENSE } package() { - make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim: ft=sh syn=sh diff --git a/community/pmount/PKGBUILD b/community/pmount/PKGBUILD new file mode 100644 index 000000000..8bac8e37c --- /dev/null +++ b/community/pmount/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 80203 2012-11-17 15:45:57Z eric $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=pmount +pkgver=0.9.23 +pkgrel=4 +pkgdesc="mount removable devices as normal user" +arch=(i686 x86_64) +license=('GPL2') +url="http://pmount.alioth.debian.org/" +backup=('etc/pmount.allow') +depends=('sysfsutils>=2.0.0-1' 'bash' 'util-linux') +makedepends=('intltool') +source=(https://alioth.debian.org/frs/download.php/3310/pmount-0.9.23.tar.bz2) +md5sums=('db19f5bf3151b1b41705ec7bafa439d3') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-hal \ + --with-cryptsetup-prog=/usr/sbin/cryptsetup + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/polipo/PKGBUILD b/community/polipo/PKGBUILD index 800463c0e..ef7f56005 100644 --- a/community/polipo/PKGBUILD +++ b/community/polipo/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 75176 2012-08-14 19:38:14Z ttopper $ +# $Id: PKGBUILD 80058 2012-11-15 19:30:39Z ttoepper $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Jelle van der Waa <jelle vdwaa nl> # Contributor: Thomas Holmquist <thomas@vorget.com> @@ -7,7 +7,7 @@ pkgname=polipo pkgver=1.0.4.1 -pkgrel=7 +pkgrel=8 pkgdesc="A small and fast caching web proxy." arch=('i686' 'x86_64' 'mips64el') url="http://www.pps.jussieu.fr/~jch/software/polipo/" @@ -16,12 +16,11 @@ depends=('bash') makedepends=('texinfo') install=polipo.install source=("http://freehaven.net/~chrisd/polipo/polipo-$pkgver.tar.gz" - "polipo.cron" "polipo.rc.d" "polipo.conf.d" "polipo.service") + "polipo.rc.d" "polipo.conf.d" "polipo.service") md5sums=('bfc5c85289519658280e093a270d6703' - 'bac0e1a871964c931eb5f7a369b3243c' '7406aad26807fb3a4e5f7b01ecb97a59' '685aa0c6070dee11c701932d23afcc6a' - 'e96b164de3488afc7ab28b2edbe90fd1') + 'a7cf48637a8ec8fe8d88754c399380c0') build() { cd "$srcdir/$pkgname-$pkgver" @@ -34,9 +33,9 @@ package() { make PREFIX="$pkgdir/usr" \ MANDIR="$pkgdir/usr/share/man" \ INFODIR="$pkgdir/usr/share/info" \ - LOCAL_ROOT="$pkgdir/usr/share/polipo/www" \ - DISK_CACHE_ROOT="$pkgdir/var/cache/polipo" \ - install + LOCAL_ROOT="$pkgdir/usr/share/polipo/www" \ + DISK_CACHE_ROOT="$pkgdir/var/cache/polipo" \ + install # install config files @@ -48,7 +47,6 @@ package() { # install daemon scripts / cron install -Dm 755 $srcdir/polipo.rc.d $pkgdir/etc/rc.d/polipo - install -Dm 755 $srcdir/polipo.cron $pkgdir/usr/share/polipo/polipo.cron install -Dm 644 $srcdir/polipo.service $pkgdir/usr/lib/systemd/system/polipo.service install -Dm 644 $srcdir/polipo.conf.d $pkgdir/etc/conf.d/polipo.conf } diff --git a/community/privoxy/PKGBUILD b/community/privoxy/PKGBUILD index c1e828318..ff82d567b 100644 --- a/community/privoxy/PKGBUILD +++ b/community/privoxy/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 76058 2012-09-10 08:26:06Z lfleischer $ +# $Id: PKGBUILD 80122 2012-11-16 17:01:01Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Juergen Hoetzel <juergen@hoetzel.info> # Contributor: basilburn (basilburn), Paul Bredbury (brebs) pkgname=privoxy pkgver=3.0.19 -pkgrel=6 +pkgrel=7 pkgdesc='A web proxy with advanced filtering capabilities.' arch=('i686' 'x86_64' 'mips64el') url='http://www.privoxy.org' @@ -33,7 +33,7 @@ build() { autoheader autoconf - ./configure --prefix=/usr --sysconfdir=/etc/privoxy + ./configure --prefix=/usr --sysconfdir=/etc/privoxy --enable-compression make } diff --git a/community/python-matplotlib/PKGBUILD b/community/python-matplotlib/PKGBUILD index 8f6b37ea6..7e90764c9 100644 --- a/community/python-matplotlib/PKGBUILD +++ b/community/python-matplotlib/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 79647 2012-11-10 00:59:34Z stephane $ +# $Id: PKGBUILD 80031 2012-11-15 15:02:41Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> @@ -7,12 +7,11 @@ pkgbase=python-matplotlib pkgname=('python2-matplotlib' 'python-matplotlib') pkgver=1.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="A python plotting library, making publication quality plots" arch=('i686' 'x86_64') url="http://matplotlib.sourceforge.net/" license=('custom') -backup=(usr/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc) makedepends=('python2-pytz' 'python2-numpy' 'python2-pyqt' 'python-pytz' 'python-numpy' 'pyqt') source=("https://github.com/downloads/matplotlib/matplotlib/matplotlib-${pkgver}.tar.gz" diff --git a/community/qingy/PKGBUILD b/community/qingy/PKGBUILD index 60f79c942..38f687b9f 100644 --- a/community/qingy/PKGBUILD +++ b/community/qingy/PKGBUILD @@ -1,38 +1,39 @@ -# $Id: PKGBUILD 75441 2012-08-24 00:19:10Z ebelanger $ +# $Id: PKGBUILD 80226 2012-11-18 01:50:13Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> pkgname=qingy pkgver=1.0.0 -pkgrel=6 +pkgrel=7 pkgdesc="A DirectFB getty replacement" arch=('i686' 'x86_64' 'mips64el') url="http://qingy.sourceforge.net/" license=('GPL') depends=('directfb' 'openssl' 'libxss') makedepends=('emacs') -backup=('etc/qingy/settings' 'etc/qingy/welcomes') +backup=('etc/pam.d/qingy' 'etc/logrotate.d/qingy' 'etc/qingy/settings' 'etc/qingy/welcomes') options=('!libtool') install=qingy.install source=(http://downloads.sourceforge.net/sourceforge/qingy/${pkgname}-${pkgver}.tar.bz2 \ qingy.logrotate qingy@.service) sha1sums=('22ee505e935bf7ddcbd33e23f754a5a1ca082c81' '21676cf0b71334c666f7b3e4f3d8b4f319266c81' - '55cfd0b24c1dedd8aaea42fd03f5ec39a1be5e70') + '67f8fc1da5264cdaf79bd41a476451f4eef8f905') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i 's|/lib/security/||' media/pam/default/qingy XFREE=/usr/bin/Xorg XINIT=/usr/bin/xinit \ - ./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc \ - --disable-optimizations --enable-pam \ - --disable-static-build --enable-gpm-lock --enable-emacs + ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc \ + --enable-emacs --disable-optimizations --disable-static make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + install -d "${pkgdir}/sbin" + ln -s ../usr/bin/qingy "${pkgdir}/sbin/qingy" install -D -m644 "${srcdir}/qingy.logrotate" "${pkgdir}/etc/logrotate.d/qingy" install -D -m644 "${srcdir}/qingy@.service" "${pkgdir}/usr/lib/systemd/system/qingy@.service" } diff --git a/community/qingy/qingy@.service b/community/qingy/qingy@.service index ce2156def..ef9e7bfc2 100644 --- a/community/qingy/qingy@.service +++ b/community/qingy/qingy@.service @@ -5,7 +5,8 @@ After=systemd-user-sessions.service plymouth-quit-wait.service [Service] Environment=TERM=linux -ExecStart=/sbin/qingy %I -n +ExecStart=/usr/bin/qingy %I -n +Type=idle Restart=always RestartSec=0 UtmpIdentifier=%I diff --git a/community/qmmp/PKGBUILD b/community/qmmp/PKGBUILD index 8a1ab1669..01d4b872f 100644 --- a/community/qmmp/PKGBUILD +++ b/community/qmmp/PKGBUILD @@ -1,8 +1,8 @@ -#$Id: PKGBUILD 75532 2012-08-26 20:15:34Z jlichtblau $ +#$Id: PKGBUILD 79921 2012-11-14 19:18:29Z jlichtblau $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> pkgname=qmmp -pkgver=0.6.3 +pkgver=0.6.4 pkgrel=1 pkgdesc="Qt4 based audio-player" arch=('i686' 'x86_64' 'mips64el') @@ -22,7 +22,7 @@ optdepends=('flac: native FLAC support' 'ffmpeg' 'libsamplerate' 'wavpack') install=$pkgname.install source=(http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2) -sha256sums=('98f5b8121d475ead81c788ec9d5346c8da537e342c0d99eaff08586af4c92ca8') +sha256sums=('3db8a38da74ed4a8551c9215f4984f83831d5a4602e1daaf42fcb48313a73372') build() { cd ${srcdir}/$pkgname-$pkgver diff --git a/community/qmmp/qmmp.changelog b/community/qmmp/qmmp.changelog index 5d80b8321..4d1e9351a 100644 --- a/community/qmmp/qmmp.changelog +++ b/community/qmmp/qmmp.changelog @@ -1,3 +1,6 @@ +2012-11-14 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * qmmp 0.6.4-1 + 2012-08-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> * qmmp 0.6.3-1 diff --git a/community/redshift/PKGBUILD b/community/redshift/PKGBUILD index 40f27a148..b06e34226 100644 --- a/community/redshift/PKGBUILD +++ b/community/redshift/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 75297 2012-08-18 10:08:06Z lfleischer $ +# $Id: PKGBUILD 80160 2012-11-17 01:18:35Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Geoffrey Teale <tealeg@stop-squark> # Contributor: Mark, Huo Mian <markhuomian[at]gmail[dot]com> @@ -6,12 +6,12 @@ pkgname=redshift pkgver=1.7 -pkgrel=4 +pkgrel=5 pkgdesc='Adjusts the color temperature of your screen according to your surroundings.' arch=('i686' 'x86_64' 'mips64el') url='http://jonls.dk/redshift/' license=('GPL3') -depends=('gconf' 'libxxf86vm') +depends=('gconf' 'geoclue' 'libxxf86vm') optdepends=('pygtk: for gtk-redshift' 'pyxdg: for gtk-redshift' 'librsvg: for gtk-redshift') diff --git a/community/ripperx/PKGBUILD b/community/ripperx/PKGBUILD index 49a7d92dd..495bcf2f5 100644 --- a/community/ripperx/PKGBUILD +++ b/community/ripperx/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 65503 2012-02-21 06:43:37Z spupykin $ +# $Id: PKGBUILD 80016 2012-11-15 13:29:30Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: dorphell <dorphell@archlinux.org> pkgname=ripperx pkgver=2.7.3 -pkgrel=2 +pkgrel=3 pkgdesc="GTK program to rip and encode mp3 files" arch=(i686 x86_64 'mips64el') url="http://ripperx.sourceforge.net/" @@ -16,6 +16,13 @@ md5sums=('f07c55edf08a1cd57537f1b9379b4e4d') build() { cd $srcdir/ripperX-$pkgver LDFLAGS=-lm ./configure --prefix=/usr + sed -i 's|Icon=.*|Icon=ripperX.xpm|g' ripperX.desktop make +} + +package() { + cd $srcdir/ripperX-$pkgver make DESTDIR=$pkgdir install + install -Dm0644 ripperX.desktop $pkgdir/usr/share/applications/ripperX.desktop + install -Dm0644 ripperX.xpm $pkgdir/usr/share/icons/ripperX.xpm } diff --git a/community/signon-keyring-extension/PKGBUILD b/community/signon-keyring-extension/PKGBUILD index ea0d03b3e..7a7c1c182 100644 --- a/community/signon-keyring-extension/PKGBUILD +++ b/community/signon-keyring-extension/PKGBUILD @@ -6,7 +6,7 @@ _pkgname=keyring pkgver=0.4 pkgrel=1 pkgdesc="GNOME keyring extension for signond" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="https://launchpad.net/online-accounts-keyring-extension" license=('LGPL') depends=('signon' 'libgnome-keyring') diff --git a/community/signon-plugin-oauth2/PKGBUILD b/community/signon-plugin-oauth2/PKGBUILD index af96bee39..280b3c8cd 100644 --- a/community/signon-plugin-oauth2/PKGBUILD +++ b/community/signon-plugin-oauth2/PKGBUILD @@ -6,7 +6,7 @@ _pkgname=signon-oauth2 pkgver=0.11 pkgrel=1 pkgdesc="OAuth 2 plugin for signon" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/accounts-sso/" license=('LGPL') depends=('signon-ui' 'qjson') diff --git a/community/signon-ui/PKGBUILD b/community/signon-ui/PKGBUILD index 7aad2158f..129611d60 100644 --- a/community/signon-ui/PKGBUILD +++ b/community/signon-ui/PKGBUILD @@ -5,7 +5,7 @@ pkgname=signon-ui pkgver=0.11 pkgrel=1 pkgdesc="UI component that responsible for handling the user interactions which can happen during the login process of an online account" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="https://launchpad.net/online-accounts-signon-ui" license=('GPL') depends=('libaccounts-qt' 'qtwebkit' 'libproxy') diff --git a/community/signon/PKGBUILD b/community/signon/PKGBUILD index 108db80ee..196d3c77c 100644 --- a/community/signon/PKGBUILD +++ b/community/signon/PKGBUILD @@ -6,7 +6,7 @@ pkgname=('signon' 'signon-doc') pkgver=8.43 pkgrel=2 pkgdesc="Framework to provide credential storage and authentication service" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/accounts-sso/" license=('LGPL') depends=('qt' 'libproxy') diff --git a/community/sshguard/PKGBUILD b/community/sshguard/PKGBUILD index 739e3836d..ef71cd6d2 100644 --- a/community/sshguard/PKGBUILD +++ b/community/sshguard/PKGBUILD @@ -1,13 +1,12 @@ -# $Id: PKGBUILD 78777 2012-10-24 13:36:34Z mtorromeo $ +# $Id: PKGBUILD 79972 2012-11-15 09:06:26Z mtorromeo $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> -# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=sshguard pkgver=1.5 -pkgrel=7 -pkgdesc="brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" -arch=('i686' 'x86_64' 'mips64el') +pkgrel=8 +pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" +arch=('i686' 'x86_64') #url="http://sourceforge.net/projects/sshguard/" url="http://www.sshguard.net/" license=('GPL') @@ -23,7 +22,7 @@ sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19' 'a810da878e40be8616a93c9984e7dbd3700367d665b78b8aa2498228bb33cb6e' '66f28e2cc81e5686f8fd5c0d5a5015d7feecbe018a259f4032cfbacf6fe8d1c3' '12e576713f7ed9c87cc36417fd8bb8dd613b9d27f06cae9dd0a1aae9ca65acd7' - 'b1ebc5dd10374a790c7d06419694143bffa019a7c65c8a7b2541487aecec574d') + '9491c4cd23d789dd04af551e16dc123f1517ca02ad3539f25715bbeec70ee21e') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/sshguard/sshguard-journalctl b/community/sshguard/sshguard-journalctl index c919b4434..13afd6f33 100644 --- a/community/sshguard/sshguard-journalctl +++ b/community/sshguard/sshguard-journalctl @@ -1,2 +1,2 @@ #!/bin/sh -/usr/bin/journalctl -afbp info -n0 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 | /usr/sbin/sshguard -l- "$@" +/usr/bin/journalctl -afbp info -n1 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 | /usr/sbin/sshguard -l- "$@" diff --git a/community/tinyproxy/PKGBUILD b/community/tinyproxy/PKGBUILD index a6d782dca..7206f5728 100644 --- a/community/tinyproxy/PKGBUILD +++ b/community/tinyproxy/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 74395 2012-07-26 13:54:21Z lfleischer $ +# $Id: PKGBUILD 80139 2012-11-16 17:14:04Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Andrea Zucchelli <zukka77@gmail.com> pkgname=tinyproxy pkgver=1.8.3 -pkgrel=5 +pkgrel=6 pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.' arch=('i686' 'x86_64' 'mips64el') url='https://banu.com/tinyproxy/' @@ -19,7 +19,7 @@ source=("https://banu.com/pub/${pkgname}/1.8/${pkgname}-${pkgver}.tar.bz2" md5sums=('292ac51da8ad6ae883d4ebf56908400d' '90eb2b3371e56d5a784fd826d4a6e5f8' '3c2764578f26581346fe312da0519a3e' - '8e97b05cc8c87f7efefbf957e77c7f18') + '299ca484c08d9873c74e1eb96f6a5cc0') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/tinyproxy/tinyproxy.service b/community/tinyproxy/tinyproxy.service index aea1d32fe..8776a0ee1 100644 --- a/community/tinyproxy/tinyproxy.service +++ b/community/tinyproxy/tinyproxy.service @@ -5,6 +5,7 @@ After=network.target [Service] Type=forking ExecStart=/usr/sbin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf +PIDFile=/run/tinyproxy/tinyproxy.pid [Install] WantedBy=multi-user.target diff --git a/community/trickle/PKGBUILD b/community/trickle/PKGBUILD index 5bafbb940..536780e7d 100644 --- a/community/trickle/PKGBUILD +++ b/community/trickle/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 68040 2012-03-17 11:08:43Z giovanni $ +# $Id: PKGBUILD 80164 2012-11-17 02:17:02Z kkeen $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor Romain Bouchaud-Leduc <r0m1.bl@camaris.org> pkgname=trickle pkgver=1.07 -pkgrel=6 +pkgrel=7 pkgdesc="Lightweight userspace bandwidth shaper" arch=('i686' 'x86_64' 'mips64el') url="http://monkey.org/~marius/trickle" @@ -15,6 +15,9 @@ md5sums=('860ebc4abbbd82957c20a28bd9390d7d') build() { cd "${srcdir}/${pkgname}-${pkgver}" + + # FS#23194 + sed -i 's|^_select(int|select(int|' trickle-overload.c ./configure --prefix=/usr \ --mandir=/usr/share/man diff --git a/community/usb_modeswitch/PKGBUILD b/community/usb_modeswitch/PKGBUILD index dfa2f6aee..456616062 100644 --- a/community/usb_modeswitch/PKGBUILD +++ b/community/usb_modeswitch/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 75530 2012-08-26 20:12:19Z spupykin $ +# $Id: PKGBUILD 80001 2012-11-15 11:55:13Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=usb_modeswitch -pkgver=1.2.4 +pkgver=1.2.5 pkgrel=1 -_pkgdata=20120815 +_pkgdata=20121109 pkgdesc="Activating switchable USB devices on Linux." arch=('i686' 'x86_64' 'mips64el') url="http://www.draisberghof.de/usb_modeswitch/" @@ -15,9 +15,9 @@ backup=("etc/$pkgname.conf") source=("http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${pkgver}.tar.bz2" "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${_pkgdata}.tar.bz2" "usb-modeswitch-${pkgver}-device_reference.txt::http://www.draisberghof.de/usb_modeswitch/device_reference.txt") -md5sums=('dbd4ce7966d7b4a5a0604a8280f7164d' - '12d7de3210e45ad6f48791d12bbdbf61' - '3588e76bf08f6c9ed51a1de4d086795e') +md5sums=('c393603908eceab95444c5bde790f6f0' + 'a7d23a03157871013a0d708ab2b1b6df' + '9918bbdc0f68873410688604c80d25c4') build() { cd $srcdir/usb-modeswitch-$pkgver/ diff --git a/community/wings3d/PKGBUILD b/community/wings3d/PKGBUILD index 3fa7ea7a3..6f3bdb0d2 100644 --- a/community/wings3d/PKGBUILD +++ b/community/wings3d/PKGBUILD @@ -1,28 +1,27 @@ -# $Id: PKGBUILD 61589 2012-01-03 23:37:49Z arodseth $ +# $Id: PKGBUILD 80086 2012-11-15 22:26:35Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: kappa <kappacurve@gmail.com> pkgname=wings3d _pkgname=wings pkgver=1.4.1 -pkgrel=8 -pkgdesc="3D modeling program" +pkgrel=9 +pkgdesc='3D modeling program' arch=('x86_64' 'i686') -url="http://www.wings3d.com/" +url='http://www.wings3d.com/' license=('GPL') -depends=('esdl' 'bash' 'desktop-file-utils' 'cl') +depends=('erlang-sdl' 'erlang-cl' 'bash' 'desktop-file-utils') makedepends=('setconf' 'gendesk') optdepends=('povray: rendering support via POV-Ray') -replaces=('wings' 'wings-devel') install=$pkgname.install -source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/wings/tarball/dgud/r15b-driver-compat" +source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/wings/tar.gz/dgud/r15b-driver-compat" "$pkgname.sh" "$pkgname.png::http://img299.imageshack.us/img299/2538/wingsiconblackshiningew5.png") -sha256sums=('cbe917601b31b7d469c2f9ed0de1b016be86f14f9e757860990d9489a84585dd' +sha256sums=('b89aca41937d4d07424ccc0447eb5a6c3755350428201d7d7644e467dcd20fdf' '46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e' '6658977cc3bc8db2c9358edf3a2d6cb6bb8084c9a1d96ca573a83dd4e8781f1a') _genericname=('3D Modeler') -_dirname='dgud-wings-4f3a3ff' +_dirname="$_pkgname-dgud-r15b-driver-compat" build() { cd "$srcdir" |