From 39711f3264d3b9de2ff6392649274d6333932457 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 29 Jan 2012 23:15:03 +0000 Subject: Sun Jan 29 23:15:02 UTC 2012 --- community-staging/gmerlin-avdecoder/PKGBUILD | 26 ++ community-staging/gmerlin/PKGBUILD | 41 ++ community-staging/gmerlin/gmerlin.install | 25 ++ community-staging/gmerlin/libpng.patch | 17 + .../guake/0001-Retrieve-port-as-int.2.patch | 25 ++ community-staging/guake/PKGBUILD | 35 ++ community-staging/guake/guake.install | 17 + community-staging/mldonkey/PKGBUILD | 46 +++ community-staging/mldonkey/mldonkey.conf | 5 + community-staging/mldonkey/mldonkey.desktop | 8 + community-staging/mldonkey/mldonkey.install | 17 + community-staging/mldonkey/mldonkeyd | 67 ++++ community-staging/smc/PKGBUILD | 46 +++ community-staging/smc/smc-for-cegui-v0-7.diff | 437 +++++++++++++++++++++ community-staging/smc/smc.desktop | 9 + community-staging/smc/smc.png | Bin 0 -> 2961 bytes community-staging/ted/PKGBUILD | 36 ++ community-staging/ted/ted-2.21-libpng15.patch | 423 ++++++++++++++++++++ community/arpack/PKGBUILD | 68 ++-- community/clinica/PKGBUILD | 31 ++ community/clinica/clinica.install | 11 + community/cuda-toolkit/PKGBUILD | 20 +- community/i3-wm/PKGBUILD | 6 +- community/jansson/PKGBUILD | 7 +- community/usb_modeswitch/PKGBUILD | 12 +- community/yaml-cpp/PKGBUILD | 8 +- extra/blas/Makefile.blas | 3 +- extra/blas/PKGBUILD | 13 +- extra/digikam/PKGBUILD | 7 +- extra/gtk2/PKGBUILD | 14 +- extra/gtk2/cups-custom-print.patch | 104 +++++ extra/kactivities/PKGBUILD | 29 ++ extra/kdeaccessibility-jovie/PKGBUILD | 34 ++ .../kdeaccessibility-jovie.install | 11 + extra/kdeaccessibility-kaccessible/PKGBUILD | 30 ++ extra/kdeaccessibility-kmag/PKGBUILD | 33 ++ .../kdeaccessibility-kmag.install | 11 + extra/kdeaccessibility-kmousetool/PKGBUILD | 33 ++ .../kdeaccessibility-kmousetool.install | 11 + extra/kdeaccessibility-kmouth/PKGBUILD | 33 ++ .../kdeaccessibility-kmouth.install | 11 + extra/kdeadmin/PKGBUILD | 18 +- extra/kdeartwork/PKGBUILD | 10 +- extra/kdebase-konsole/PKGBUILD | 6 +- extra/kdebase-runtime/PKGBUILD | 24 +- extra/kdebase-workspace/PKGBUILD | 25 +- extra/kdebase-workspace/kde-np.pam | 3 +- extra/kdebase-workspace/kde.pam | 3 +- extra/kdebase/PKGBUILD | 30 +- extra/kdebase/fix-controlclick-selection.patch | 11 + extra/kdebase/kdebase-dolphin.install | 11 + extra/kdebase/kdebase-konqueror.install | 12 + extra/kdebindings-kimono/PKGBUILD | 6 +- extra/kdebindings-kross/PKGBUILD | 10 +- extra/kdebindings-perlkde/PKGBUILD | 6 +- extra/kdebindings-perlqt/PKGBUILD | 8 +- extra/kdebindings-python/PKGBUILD | 8 +- extra/kdebindings-qtruby/PKGBUILD | 6 +- extra/kdebindings-qyoto/PKGBUILD | 6 +- extra/kdebindings-smokegen/PKGBUILD | 13 +- extra/kdebindings-smokekde/PKGBUILD | 8 +- extra/kdebindings-smokeqt/PKGBUILD | 6 +- extra/kdeedu-analitza/PKGBUILD | 30 ++ extra/kdeedu-blinken/PKGBUILD | 6 +- extra/kdeedu-cantor/PKGBUILD | 8 +- extra/kdeedu-kalgebra/PKGBUILD | 8 +- extra/kdeedu-kalzium/PKGBUILD | 8 +- extra/kdeedu-kanagram/PKGBUILD | 6 +- extra/kdeedu-kbruch/PKGBUILD | 6 +- extra/kdeedu-kgeography/PKGBUILD | 6 +- extra/kdeedu-khangman/PKGBUILD | 6 +- extra/kdeedu-kig/PKGBUILD | 6 +- extra/kdeedu-kiten/PKGBUILD | 6 +- extra/kdeedu-klettres/PKGBUILD | 6 +- extra/kdeedu-kmplot/PKGBUILD | 6 +- extra/kdeedu-kstars/PKGBUILD | 6 +- extra/kdeedu-ktouch/PKGBUILD | 6 +- extra/kdeedu-kturtle/PKGBUILD | 6 +- extra/kdeedu-kwordquiz/PKGBUILD | 6 +- extra/kdeedu-marble/PKGBUILD | 6 +- extra/kdeedu-parley/PKGBUILD | 6 +- extra/kdeedu-rocs/PKGBUILD | 6 +- extra/kdeedu-step/PKGBUILD | 6 +- extra/kdegames/PKGBUILD | 13 +- extra/kdegames/kdegames-kpatience.install | 12 + extra/kdegraphics-gwenview/PKGBUILD | 6 +- extra/kdegraphics-kamera/PKGBUILD | 6 +- extra/kdegraphics-kcolorchooser/PKGBUILD | 6 +- extra/kdegraphics-kgamma/PKGBUILD | 6 +- extra/kdegraphics-kolourpaint/PKGBUILD | 6 +- extra/kdegraphics-kruler/PKGBUILD | 6 +- extra/kdegraphics-ksaneplugin/PKGBUILD | 6 +- extra/kdegraphics-ksnapshot/PKGBUILD | 6 +- extra/kdegraphics-mobipocket/PKGBUILD | 13 +- .../kdegraphics-mobipocket.install | 11 + extra/kdegraphics-okular/PKGBUILD | 8 +- extra/kdegraphics-strigi-analyzer/PKGBUILD | 6 +- extra/kdegraphics-svgpart/PKGBUILD | 6 +- extra/kdegraphics-thumbnailers/PKGBUILD | 6 +- extra/kdelibs/PKGBUILD | 28 +- extra/kdemultimedia/PKGBUILD | 15 +- .../kdemultimedia-dragonplayer.install | 12 + extra/kdenetwork/PKGBUILD | 19 +- extra/kdenetwork/kdenetwork-kget.install | 12 + extra/kdenetwork/kdenetwork-kopete.install | 12 + extra/kdenetwork/kdenetwork-kppp.install | 12 + extra/kdepim-runtime/PKGBUILD | 8 +- extra/kdepim/PKGBUILD | 28 +- extra/kdepim/kdepim-kleopatra.install | 12 + extra/kdepim/kdepim-kmail.install | 12 + extra/kdepim/kdepim-korganizer.install | 12 + extra/kdepimlibs/PKGBUILD | 8 +- extra/kdeplasma-addons/PKGBUILD | 46 ++- extra/kdesdk-kate/PKGBUILD | 10 +- extra/kdesdk-kate/kdesdk-kate.install | 7 +- extra/kdesdk-kate/pkgbuild-syntax-highlight.patch | 8 +- extra/kdesdk/PKGBUILD | 49 ++- extra/kdesdk/fix-python2-path.patch | 34 +- extra/kdesdk/kdesdk-cervisia.install | 12 + extra/kdesdk/kdesdk-kcachegrind.install | 12 + extra/kdesdk/kdesdk-kompare.install | 12 + extra/kdesdk/kdesdk-kuiviewer.install | 12 + extra/kdesdk/kdesdk-lokalize.install | 12 + extra/kdesdk/kdesdk-umbrello.install | 12 + extra/kdetoys/PKGBUILD | 8 +- extra/kdeutils-filelight/PKGBUILD | 35 ++ .../kdeutils-filelight/kdeutils-filelight.install | 12 + extra/kdeutils-kcalc/PKGBUILD | 33 ++ extra/kdeutils-kcalc/kdeutils-kcalc.install | 11 + extra/kdeutils-kcharselect/PKGBUILD | 32 ++ extra/kdeutils-kdf/PKGBUILD | 33 ++ extra/kdeutils-kdf/kdeutils-kdf.install | 11 + extra/kdeutils-kfloppy/PKGBUILD | 33 ++ extra/kdeutils-kfloppy/kdeutils-kfloppy.install | 12 + extra/kdeutils-kgpg/PKGBUILD | 33 ++ extra/kdeutils-kgpg/kdeutils-kgpg.install | 12 + extra/kdeutils-kremotecontrol/PKGBUILD | 35 ++ .../kdeutils-kremotecontrol.install | 11 + extra/kdeutils-ksecrets/PKGBUILD | 31 ++ extra/kdeutils-ksecrets/kdeutils-ksecrets.install | 12 + extra/kdeutils-ktimer/PKGBUILD | 33 ++ extra/kdeutils-ktimer/kdeutils-ktimer.install | 11 + extra/kdeutils-kwallet/PKGBUILD | 33 ++ extra/kdeutils-kwallet/kdeutils-kwallet.install | 12 + extra/kdeutils-printer-applet/PKGBUILD | 38 ++ extra/kdeutils-superkaramba/PKGBUILD | 31 ++ .../kdeutils-superkaramba.install | 12 + extra/kdeutils-sweeper/PKGBUILD | 33 ++ extra/kdewebdev/PKGBUILD | 17 +- extra/kdewebdev/kdewebdev-kimagemapeditor.install | 12 + extra/lapack/Makefile.lapack | 75 ++-- extra/lapack/PKGBUILD | 20 +- extra/libkdcraw/PKGBUILD | 6 +- extra/libkdeedu/PKGBUILD | 6 +- extra/libkexiv2/PKGBUILD | 6 +- extra/libkipi/PKGBUILD | 6 +- extra/libksane/PKGBUILD | 6 +- extra/libqzeitgeist/PKGBUILD | 20 +- .../set-declarative-installation-dir.patch | 14 + extra/screen/PKGBUILD | 4 +- libre/bogofilter-libre/PKGBUILD | 43 ++ libre/kdenetwork-libre/PKGBUILD | 19 +- libre/kdenetwork-libre/kdenetwork-kget.install | 12 + libre/kdenetwork-libre/kdenetwork-kopete.install | 12 + libre/kdenetwork-libre/kdenetwork-kppp.install | 12 + libre/your-freedom/PKGBUILD | 2 +- staging/capi4hylafax/PKGBUILD | 55 +++ staging/capi4hylafax/capi4hylafax.install | 16 + staging/capi4hylafax/capi4hylafax.rc | 49 +++ staging/capi4hylafax/config.faxCAPI | 397 +++++++++++++++++++ staging/digikam/PKGBUILD | 5 +- staging/hylafax/PKGBUILD | 53 +++ staging/hylafax/config.local | 273 +++++++++++++ staging/hylafax/configure-6.0.5.patch | 11 + staging/hylafax/hylafax | 71 ++++ staging/hylafax/hylafax-libtiff4.patch | 229 +++++++++++ staging/hylafax/hylafax.cron.daily | 4 + staging/hylafax/hylafax.install | 46 +++ staging/metacity/PKGBUILD | 34 ++ staging/metacity/metacity.install | 17 + staging/python-notify/PKGBUILD | 43 ++ staging/python-notify/libnotify07.patch | 36 ++ .../notify-python-0.1.1-fix-GTK-symbols.patch | 25 ++ staging/python-pygame/ChangeLog | 34 ++ staging/python-pygame/PKGBUILD | 40 ++ staging/python-pygame/config.patch | 26 ++ staging/python-pygame/pygame-v4l.patch | 88 +++++ staging/pywebkitgtk/PKGBUILD | 27 ++ .../0001-include-headers-for-tcp-keepalives.patch | 31 ++ testing/curl/PKGBUILD | 10 +- ~mtjm/python-getmediumurl/PKGBUILD | 27 ++ ~mtjm/python-urlreader/PKGBUILD | 27 ++ ~mtjm/python3-lxml/PKGBUILD | 38 ++ 193 files changed, 4777 insertions(+), 529 deletions(-) create mode 100644 community-staging/gmerlin-avdecoder/PKGBUILD create mode 100644 community-staging/gmerlin/PKGBUILD create mode 100644 community-staging/gmerlin/gmerlin.install create mode 100644 community-staging/gmerlin/libpng.patch create mode 100644 community-staging/guake/0001-Retrieve-port-as-int.2.patch create mode 100644 community-staging/guake/PKGBUILD create mode 100644 community-staging/guake/guake.install create mode 100644 community-staging/mldonkey/PKGBUILD create mode 100644 community-staging/mldonkey/mldonkey.conf create mode 100644 community-staging/mldonkey/mldonkey.desktop create mode 100644 community-staging/mldonkey/mldonkey.install create mode 100644 community-staging/mldonkey/mldonkeyd create mode 100644 community-staging/smc/PKGBUILD create mode 100644 community-staging/smc/smc-for-cegui-v0-7.diff create mode 100644 community-staging/smc/smc.desktop create mode 100644 community-staging/smc/smc.png create mode 100644 community-staging/ted/PKGBUILD create mode 100644 community-staging/ted/ted-2.21-libpng15.patch create mode 100644 community/clinica/PKGBUILD create mode 100644 community/clinica/clinica.install create mode 100644 extra/gtk2/cups-custom-print.patch create mode 100644 extra/kactivities/PKGBUILD create mode 100644 extra/kdeaccessibility-jovie/PKGBUILD create mode 100644 extra/kdeaccessibility-jovie/kdeaccessibility-jovie.install create mode 100644 extra/kdeaccessibility-kaccessible/PKGBUILD create mode 100644 extra/kdeaccessibility-kmag/PKGBUILD create mode 100644 extra/kdeaccessibility-kmag/kdeaccessibility-kmag.install create mode 100644 extra/kdeaccessibility-kmousetool/PKGBUILD create mode 100644 extra/kdeaccessibility-kmousetool/kdeaccessibility-kmousetool.install create mode 100644 extra/kdeaccessibility-kmouth/PKGBUILD create mode 100644 extra/kdeaccessibility-kmouth/kdeaccessibility-kmouth.install create mode 100644 extra/kdebase/fix-controlclick-selection.patch create mode 100644 extra/kdebase/kdebase-dolphin.install create mode 100644 extra/kdebase/kdebase-konqueror.install create mode 100644 extra/kdeedu-analitza/PKGBUILD create mode 100644 extra/kdegames/kdegames-kpatience.install create mode 100644 extra/kdegraphics-mobipocket/kdegraphics-mobipocket.install create mode 100644 extra/kdemultimedia/kdemultimedia-dragonplayer.install create mode 100644 extra/kdenetwork/kdenetwork-kget.install create mode 100644 extra/kdenetwork/kdenetwork-kopete.install create mode 100644 extra/kdenetwork/kdenetwork-kppp.install create mode 100644 extra/kdepim/kdepim-kleopatra.install create mode 100644 extra/kdepim/kdepim-kmail.install create mode 100644 extra/kdepim/kdepim-korganizer.install create mode 100644 extra/kdesdk/kdesdk-cervisia.install create mode 100644 extra/kdesdk/kdesdk-kcachegrind.install create mode 100644 extra/kdesdk/kdesdk-kompare.install create mode 100644 extra/kdesdk/kdesdk-kuiviewer.install create mode 100644 extra/kdesdk/kdesdk-lokalize.install create mode 100644 extra/kdesdk/kdesdk-umbrello.install create mode 100644 extra/kdeutils-filelight/PKGBUILD create mode 100644 extra/kdeutils-filelight/kdeutils-filelight.install create mode 100644 extra/kdeutils-kcalc/PKGBUILD create mode 100644 extra/kdeutils-kcalc/kdeutils-kcalc.install create mode 100644 extra/kdeutils-kcharselect/PKGBUILD create mode 100644 extra/kdeutils-kdf/PKGBUILD create mode 100644 extra/kdeutils-kdf/kdeutils-kdf.install create mode 100644 extra/kdeutils-kfloppy/PKGBUILD create mode 100644 extra/kdeutils-kfloppy/kdeutils-kfloppy.install create mode 100644 extra/kdeutils-kgpg/PKGBUILD create mode 100644 extra/kdeutils-kgpg/kdeutils-kgpg.install create mode 100644 extra/kdeutils-kremotecontrol/PKGBUILD create mode 100644 extra/kdeutils-kremotecontrol/kdeutils-kremotecontrol.install create mode 100644 extra/kdeutils-ksecrets/PKGBUILD create mode 100644 extra/kdeutils-ksecrets/kdeutils-ksecrets.install create mode 100644 extra/kdeutils-ktimer/PKGBUILD create mode 100644 extra/kdeutils-ktimer/kdeutils-ktimer.install create mode 100644 extra/kdeutils-kwallet/PKGBUILD create mode 100644 extra/kdeutils-kwallet/kdeutils-kwallet.install create mode 100644 extra/kdeutils-printer-applet/PKGBUILD create mode 100644 extra/kdeutils-superkaramba/PKGBUILD create mode 100644 extra/kdeutils-superkaramba/kdeutils-superkaramba.install create mode 100644 extra/kdeutils-sweeper/PKGBUILD create mode 100644 extra/kdewebdev/kdewebdev-kimagemapeditor.install create mode 100644 extra/libqzeitgeist/set-declarative-installation-dir.patch create mode 100644 libre/bogofilter-libre/PKGBUILD create mode 100644 libre/kdenetwork-libre/kdenetwork-kget.install create mode 100644 libre/kdenetwork-libre/kdenetwork-kopete.install create mode 100644 libre/kdenetwork-libre/kdenetwork-kppp.install create mode 100644 staging/capi4hylafax/PKGBUILD create mode 100644 staging/capi4hylafax/capi4hylafax.install create mode 100755 staging/capi4hylafax/capi4hylafax.rc create mode 100644 staging/capi4hylafax/config.faxCAPI create mode 100644 staging/hylafax/PKGBUILD create mode 100644 staging/hylafax/config.local create mode 100644 staging/hylafax/configure-6.0.5.patch create mode 100755 staging/hylafax/hylafax create mode 100644 staging/hylafax/hylafax-libtiff4.patch create mode 100644 staging/hylafax/hylafax.cron.daily create mode 100644 staging/hylafax/hylafax.install create mode 100644 staging/metacity/PKGBUILD create mode 100644 staging/metacity/metacity.install create mode 100644 staging/python-notify/PKGBUILD create mode 100644 staging/python-notify/libnotify07.patch create mode 100644 staging/python-notify/notify-python-0.1.1-fix-GTK-symbols.patch create mode 100644 staging/python-pygame/ChangeLog create mode 100644 staging/python-pygame/PKGBUILD create mode 100644 staging/python-pygame/config.patch create mode 100644 staging/python-pygame/pygame-v4l.patch create mode 100644 staging/pywebkitgtk/PKGBUILD create mode 100644 testing/curl/0001-include-headers-for-tcp-keepalives.patch create mode 100644 ~mtjm/python-getmediumurl/PKGBUILD create mode 100644 ~mtjm/python-urlreader/PKGBUILD create mode 100644 ~mtjm/python3-lxml/PKGBUILD diff --git a/community-staging/gmerlin-avdecoder/PKGBUILD b/community-staging/gmerlin-avdecoder/PKGBUILD new file mode 100644 index 000000000..5bb466ea2 --- /dev/null +++ b/community-staging/gmerlin-avdecoder/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 62902 2012-01-29 00:35:31Z ebelanger $ +# Maintainer: Mateusz Herych + +pkgname=gmerlin-avdecoder +pkgver=1.1.0 +pkgrel=4 +pkgdesc="Media decoding library" +arch=('i686' 'x86_64') +url="http://gmerlin.sourceforge.net/avdec_frame.html" +license=('GPL') +depends=('gmerlin' 'openjpeg' 'flac' 'smbclient' 'libmad' 'libmpcdec' 'speex' + 'libdca' 'libmpeg2' 'a52dec') +source=(http://downloads.sourceforge.net/sourceforge/gmerlin/gmerlin-avdecoder-$pkgver.tar.gz) +md5sums=('c1ea663e9da631453eec4ac79138b6c5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + rm -f cpuinfo.sh + ./configure --prefix=/usr --without-doxygen + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community-staging/gmerlin/PKGBUILD b/community-staging/gmerlin/PKGBUILD new file mode 100644 index 000000000..dc67a30bb --- /dev/null +++ b/community-staging/gmerlin/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 62900 2012-01-29 00:06:09Z ebelanger $ +# Maintainer: Mateusz Herych + +pkgname=gmerlin +pkgver=1.0.0 +pkgrel=5 +pkgdesc="Multimedia architecture for Linux" +arch=('i686' 'x86_64') +url="http://openmovieeditor.sourceforge.net/HomePage" +license=('GPL') +depends=('gavl' 'libxml2' 'gtk2' 'libxv' 'libvisual' 'libcdio>=0.82' 'musicbrainz' 'mjpegtools' 'hicolor-icon-theme' 'libgl') +makedepends=('alsa-lib' 'jack' 'libquicktime' 'pulseaudio' 'v4l-utils' 'mesa') +optdepends=('alsa-lib: for ALSA support' + 'jack: for JACK support' + 'libquicktime: for movie encoding' + 'pulseaudio: for PulseAudio support' + 'v4l-utils: for video conversion') +options=('!libtool' '!makeflags') +install=gmerlin.install +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz + libpng.patch) +md5sums=('60d3c5081c8685ee7bc1afdfac8f6dc6' + 'c262023434246705296d97bc7337a212') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + rm -rf cpuinfo.sh + + patch -p1 -i "$srcdir/libpng.patch" + ./configure --prefix=/usr --without-doxygen + sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' {lib,tests,apps/*}/Makefile + sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} diff --git a/community-staging/gmerlin/gmerlin.install b/community-staging/gmerlin/gmerlin.install new file mode 100644 index 000000000..c7625c2f1 --- /dev/null +++ b/community-staging/gmerlin/gmerlin.install @@ -0,0 +1,25 @@ +infodir=usr/share/info +filelist=(gmerlin.info) + +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do + install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null + done +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do + install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null + done +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} diff --git a/community-staging/gmerlin/libpng.patch b/community-staging/gmerlin/libpng.patch new file mode 100644 index 000000000..c01105e63 --- /dev/null +++ b/community-staging/gmerlin/libpng.patch @@ -0,0 +1,17 @@ +diff -wbBur gmerlin-1.0.0/plugins/png/ir_png.c gmerlin-1.0.0.my/plugins/png/ir_png.c +--- gmerlin-1.0.0/plugins/png/ir_png.c 2011-01-07 18:37:06.000000000 +0300 ++++ gmerlin-1.0.0.my/plugins/png/ir_png.c 2011-11-07 14:46:25.000000000 +0400 +@@ -127,13 +127,8 @@ + bits = 16; + } + if(bit_depth < 8) +-#if BG_MAKE_BUILD(PNG_LIBPNG_VER_MAJOR, PNG_LIBPNG_VER_MINOR, PNG_LIBPNG_VER_RELEASE) < BG_MAKE_BUILD(1,2,9) +- png_set_gray_1_2_4_to_8(png->png_ptr); +-#else + png_set_expand_gray_1_2_4_to_8(png->png_ptr); +-#endif + +- png_set_gray_1_2_4_to_8(png->png_ptr); + if (png_get_valid(png->png_ptr, png->info_ptr, PNG_INFO_tRNS)) + { + png_set_tRNS_to_alpha(png->png_ptr); diff --git a/community-staging/guake/0001-Retrieve-port-as-int.2.patch b/community-staging/guake/0001-Retrieve-port-as-int.2.patch new file mode 100644 index 000000000..3fde26dc2 --- /dev/null +++ b/community-staging/guake/0001-Retrieve-port-as-int.2.patch @@ -0,0 +1,25 @@ +From efcd1d8d3cdc354f46bc2485e7e3394f8578b7ba Mon Sep 17 00:00:00 2001 +From: pingou +Date: Mon, 23 Aug 2010 09:54:35 +0200 +Subject: [PATCH] Retrieve port as int + +--- + src/guake.py | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/guake.py b/src/guake.py +index 6214fb2..40e688f 100644 +--- a/src/guake.py ++++ b/src/guake.py +@@ -1099,7 +1099,7 @@ class Guake(SimpleGladeApp): + ssl_port = port + else: + ssl_host = self.client.get_string('/system/proxy/secure_host') +- ssl_port = self.client.get_string('/system/proxy/secure_port') ++ ssl_port = self.client.get_int('/system/proxy/secure_port') + + if self.client.get_bool(proxy + 'use_authentication'): + auth_user = self.client.get_string( +-- +1.7.2.1 + diff --git a/community-staging/guake/PKGBUILD b/community-staging/guake/PKGBUILD new file mode 100644 index 000000000..f72b69bd7 --- /dev/null +++ b/community-staging/guake/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 62909 2012-01-29 04:37:40Z angvp $ +# Maintainer: Angel Velasquez +# Contributor: Wilson Pinto Júnior (N3RD3X) +pkgname=guake +pkgver=0.4.2 +pkgrel=5 +pkgdesc='is a drop-down terminal for Gnome Desktop Environment' +arch=('i686' 'x86_64') +url='http://guake.org' +license=('GPL') +depends=('python-notify' 'vte' 'gconf' 'python2-gconf' 'dbus-python' 'notification-daemon') +makedepends=('libx11' 'pkgconfig' 'perlxml' 'intltool') +install=guake.install +source=(http://guake.org/files/guake-$pkgver.tar.gz + http://guake.org/raw-attachment/ticket/246/0001-Retrieve-port-as-int.2.patch) +md5sums=('1f0feff3bfc15c998147dbf07d9d8a8e' + '9aca6ba8e46ae1b69958cda0e03320ff') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Point Python scripts to the python2 binary + sed -i 's|bin/python"|bin/python2"|' src/guake{,-prefs}.in + + # Patch to import proxy port setting as int (http://guake.org/ticket/246) + patch -Np1 -i "$srcdir/0001-Retrieve-port-as-int.2.patch" + + ./configure --sysconfdir=/usr/share --prefix=/usr --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community-staging/guake/guake.install b/community-staging/guake/guake.install new file mode 100644 index 000000000..1e828c86b --- /dev/null +++ b/community-staging/guake/guake.install @@ -0,0 +1,17 @@ +pkgname=guake + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} diff --git a/community-staging/mldonkey/PKGBUILD b/community-staging/mldonkey/PKGBUILD new file mode 100644 index 000000000..88cc8860d --- /dev/null +++ b/community-staging/mldonkey/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 62876 2012-01-28 13:55:36Z cbrannon $ +# Maintainer: Chris Brannon +# Contributor: Corrado Primier +# Contributor: Alessio 'mOLOk' Bolognino + +pkgname=mldonkey +pkgver=3.1.0 +pkgrel=2 +pkgdesc="A multi-network P2P client" +arch=('i686' 'x86_64') +url="http://mldonkey.sourceforge.net/" +license=('GPL') +depends=('desktop-file-utils' 'file' 'gd' 'bzip2') +makedepends=('lablgtk2' 'librsvg' 'ocaml') +optdepends=('librsvg: GUI support' + 'libx11: GUI support') +backup=('etc/conf.d/mldonkey') +install=mldonkey.install +source=(http://downloads.sourceforge.net/sourceforge/mldonkey/$pkgname-$pkgver.tar.bz2 + mldonkeyd + mldonkey.conf + mldonkey.desktop) + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --enable-gui=newgui2 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + install -Dm644 "$srcdir/$pkgname-$pkgver/icons/rsvg/type_source_normal.svg" \ + "$pkgdir/usr/share/icons/mldonkey.svg" + install -Dm644 "$srcdir/mldonkey.desktop" \ + "$pkgdir/usr/share/applications/mldonkey.desktop" + + install -Dm755 "$srcdir/mldonkeyd" "$pkgdir/etc/rc.d/mldonkey" + install -Dm644 "$srcdir/mldonkey.conf" "$pkgdir/etc/conf.d/mldonkey" +} +md5sums=('072726d158ba1e936c554be341e7ceff' + '75e4b6c7fb282f7de15a8d5478f3bd70' + '1f86d92db51c62cded0e6f3833057dee' + '1de3266caa49f82bee73ba891eea12cf') diff --git a/community-staging/mldonkey/mldonkey.conf b/community-staging/mldonkey/mldonkey.conf new file mode 100644 index 000000000..24a25af74 --- /dev/null +++ b/community-staging/mldonkey/mldonkey.conf @@ -0,0 +1,5 @@ +# Username under which the daemon will run (mandatory) +MLDUSER="" + +# Parameters to be passed to the daemon (default is empty) +PARAMS="" diff --git a/community-staging/mldonkey/mldonkey.desktop b/community-staging/mldonkey/mldonkey.desktop new file mode 100644 index 000000000..b307261e1 --- /dev/null +++ b/community-staging/mldonkey/mldonkey.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=MLDonkey GUI +Comment=multi-protocol P2P program +Exec=mldonkey_gui +Icon=mldonkey +Terminal=false +Type=Application +Categories=Network;P2P; diff --git a/community-staging/mldonkey/mldonkey.install b/community-staging/mldonkey/mldonkey.install new file mode 100644 index 000000000..dd8ea0407 --- /dev/null +++ b/community-staging/mldonkey/mldonkey.install @@ -0,0 +1,17 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + if [ -f /etc/mldonkey.conf ]; then + mv /etc/mldonkey.conf /etc/conf.d/mldonkey + cat << EOM + +==> mldonkey post upgrade message: +==> /etc/mldonkey.conf has been moved in /etc/conf.d/mldonkey + +EOM + fi +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/mldonkey/mldonkeyd b/community-staging/mldonkey/mldonkeyd new file mode 100644 index 000000000..6a458d68e --- /dev/null +++ b/community-staging/mldonkey/mldonkeyd @@ -0,0 +1,67 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/conf.d/mldonkey +. /etc/rc.d/functions + +if [ -z $MLDUSER ] ; then + echo "Unable to run MLDonkey. You must set a user in /etc/conf.d/mldonkey ." + exit 2 +fi + +if [ -z "$(getent passwd "$MLDUSER")" ]; then + # Perhaps we should create the account for the user? + echo "You must create the account $MLDUSER in order to run mldonkey." + echo "Please create the account manually, and try again." + exit 2 +fi + +MLDGROUPID=$(getent passwd "$MLDUSER" |cut -d':' -f4) +MLDGROUP=$(getent group $MLDGROUPID |cut -d':' -f1) +USERDIR=$(getent passwd $MLDUSER | cut -d: -f6) + +if [ ! -d $USERDIR ]; then + echo "Unable to run MLDonkey. Home directory for ${MLDUSER} does not exist." + exit 2 +fi + +PIDDIR="/var/run/mldonkey" +PIDFILE="$PIDDIR/mlnet.pid" +PID=$(cat $PIDFILE 2>/dev/null) + +case "$1" in + start) + stat_busy "Starting MLDonkey" + if [ ! -d $PIDDIR ]; then + install -d -m755 -o "$MLDUSER" -g "$MLDGROUP" $PIDDIR + fi + if [ "$(stat -c %U $PIDDIR)" != "$MLDUSER" ]; then + chown -R "$MLDUSER:$MLDGROUP" $PIDDIR + fi + [ -z $PID ] && su $MLDUSER -s /bin/sh -c "/usr/bin/mlnet -pid $PIDDIR $PARAMS -log_to_syslog true &> /tmp/mldonkey.log &" + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon mldonkey + stat_done + fi + ;; + stop) + stat_busy "Stopping MLDonkey" + [ ! -z $PID ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon mldonkey + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community-staging/smc/PKGBUILD b/community-staging/smc/PKGBUILD new file mode 100644 index 000000000..cef809f8a --- /dev/null +++ b/community-staging/smc/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 62870 2012-01-28 06:06:11Z ebelanger $ +# Maintainer: +# Contributor: Juergen Hoetzel +# Contributor: Kritoke + +pkgname=smc +pkgver=1.9 +pkgrel=14 +pkgdesc="Secret Maryo Chronicles" +arch=('i686' 'x86_64') +url="http://www.secretmaryo.org/" +license=('GPL3') +depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'cegui' 'boost-libs' 'smc-data') +makedepends=('autoconf' 'automake' 'boost') +source=(http://downloads.sourceforge.net/smclone/$pkgname-$pkgver.tar.bz2 + smc-for-cegui-v0-7.diff + smc.desktop + smc.png) +md5sums=('75ab7826303c49aec25b052a8b90287f' + '51dfea21b741ad19df14e738df52f1cf' + '80fe208132ff41dd7677a53ee429ecdb' + 'efca7580e28748625eb676c9d24ee122') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # to remove when smc will be compatible with cegui-0.7.x + patch -Np1 -i "${srcdir}/smc-for-cegui-v0-7.diff" + # fix for boost-1.46 + export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" + + ./autogen.sh + LIBS+="-lX11 -lboost_system" ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make install DESTDIR="$pkgdir" + # install some freedesktop.org compatibility + install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" + + rm -rf "$pkgdir/usr/share/smc/" +} diff --git a/community-staging/smc/smc-for-cegui-v0-7.diff b/community-staging/smc/smc-for-cegui-v0-7.diff new file mode 100644 index 000000000..a99cbce6c --- /dev/null +++ b/community-staging/smc/smc-for-cegui-v0-7.diff @@ -0,0 +1,437 @@ +diff -ur smc-1.9/configure.ac smc-1.9-b/configure.ac +--- smc-1.9/configure.ac 2009-08-17 15:59:00.000000000 +0200 ++++ smc-1.9-b/configure.ac 2011-01-19 00:43:37.809884881 +0100 +@@ -53,7 +53,7 @@ + AC_MSG_ERROR([SDL_ttf library not found])) + + # Check for the CEGUI library +-PKG_CHECK_MODULES(CEGUI, CEGUI-OPENGL >= 0.5.0) ++PKG_CHECK_MODULES(CEGUI, CEGUI-OPENGL >= 0.7.0) + CPPFLAGS="$CPPFLAGS $CEGUI_CFLAGS" + LIBS="$LIBS $CEGUI_LIBS" + +diff -ur smc-1.9/src/core/editor.cpp smc-1.9-b/src/core/editor.cpp +--- smc-1.9/src/core/editor.cpp 2009-08-13 17:11:42.000000000 +0200 ++++ smc-1.9-b/src/core/editor.cpp 2011-01-19 00:44:46.734328121 +0100 +@@ -118,16 +118,10 @@ + return tmp; + } + +-void cEditor_Item_Object :: draw( const CEGUI::Vector3 &position, float alpha, const CEGUI::Rect &clipper ) const ++void cEditor_Item_Object :: draw( CEGUI::GeometryBuffer &buffer, const CEGUI::Rect &targetRect, float alpha, const CEGUI::Rect *clipper ) const + { + // draw text +- list_text->draw( position, alpha, clipper ); +-} +- +-void cEditor_Item_Object :: draw( CEGUI::RenderCache &cache, const CEGUI::Rect &targetRect, float zBase, float alpha, const CEGUI::Rect *clipper ) const +-{ +- // draw text +- list_text->draw( cache, targetRect, zBase, alpha, clipper ); ++ list_text->draw( buffer, targetRect, alpha, clipper ); + } + + void cEditor_Item_Object :: Draw_Image( void ) +@@ -533,12 +527,12 @@ + if( editor_window->getXPosition().asRelative( 1 ) >= 0 ) + { + // Listbox dimension +- float list_posy = listbox_items->getUnclippedPixelRect().d_top * global_downscaley; +- float list_height = listbox_items->getUnclippedPixelRect().getHeight() * global_downscaley; ++ float list_posy = listbox_items->getUnclippedOuterRect().d_top * global_downscaley; ++ float list_height = listbox_items->getUnclippedOuterRect().getHeight() * global_downscaley; + // Vertical ScrollBar Position + float scroll_pos = listbox_items->getVertScrollbar()->getScrollPosition() * global_downscaley; + // font height +- float font_height = CEGUI::FontManager::getSingleton().getFont( "bluebold_medium" )->getFontHeight() * global_downscaley; ++ float font_height = CEGUI::FontManager::getSingleton().get( "bluebold_medium" ).getFontHeight() * global_downscaley; + + // draw items + for( unsigned int i = 0; i < listbox_items->getItemCount(); i++ ) +diff -ur smc-1.9/src/core/editor.h smc-1.9-b/src/core/editor.h +--- smc-1.9/src/core/editor.h 2009-02-18 05:21:30.000000000 +0100 ++++ smc-1.9-b/src/core/editor.h 2011-01-19 00:43:37.809884881 +0100 +@@ -62,8 +62,7 @@ + */ + virtual CEGUI::Size getPixelSize( void ) const; + // draw +- void draw( const CEGUI::Vector3 &position, float alpha, const CEGUI::Rect &clipper ) const; +- void draw( CEGUI::RenderCache &cache, const CEGUI::Rect &targetRect, float zBase, float alpha, const CEGUI::Rect *clipper) const; ++ void draw(CEGUI::GeometryBuffer& buffer, const CEGUI::Rect& targetRect, float alpha, const CEGUI::Rect* clipper) const; + // draw image + void Draw_Image( void ); + +diff -ur smc-1.9/src/core/game_core.cpp smc-1.9-b/src/core/game_core.cpp +--- smc-1.9/src/core/game_core.cpp 2009-08-16 18:44:42.000000000 +0200 ++++ smc-1.9-b/src/core/game_core.cpp 2011-01-19 00:59:02.668958883 +0100 +@@ -265,7 +265,7 @@ + + + // align text +- CEGUI::Font *font = CEGUI::FontManager::getSingleton().getFont( "bluebold_medium" ); ++ CEGUI::Font *font = &CEGUI::FontManager::getSingleton().get( "bluebold_medium" ); + // fixme : Can't handle multiple lines of text + float text_width = font->getTextExtent( text ) * global_downscalex; + +@@ -1182,7 +1182,7 @@ + text_default->setText( gui_text ); + + // align text +- CEGUI::Font *font = CEGUI::FontManager::getSingleton().getFont( "bluebold_medium" ); ++ CEGUI::Font *font = &CEGUI::FontManager::getSingleton().get( "bluebold_medium" ); + float text_width = font->getTextExtent( gui_text ) * global_downscalex; + + text_default->setWidth( CEGUI::UDim( 0, ( text_width + 15 ) * global_upscalex ) ); +@@ -1190,7 +1190,7 @@ + text_default->moveToFront(); + + // set window height +- text_default->setHeight( CEGUI::UDim( 0, font->getFontHeight() * font->getFormattedLineCount( gui_text, text_default->getUnclippedInnerRect(), CEGUI::LeftAligned ) + ( 12 * global_upscaley ) ) ); ++ text_default->setHeight( CEGUI::UDim( 0, font->getFontHeight() + ( 12 * global_upscaley ) ) ); + + while( draw ) + { +diff -ur smc-1.9/src/core/main.cpp smc-1.9-b/src/core/main.cpp +--- smc-1.9/src/core/main.cpp 2009-05-12 10:36:04.000000000 +0200 ++++ smc-1.9-b/src/core/main.cpp 2011-01-19 00:43:37.809884881 +0100 +@@ -444,13 +444,15 @@ + + if( pGuiSystem ) + { +- delete pGuiSystem; ++ CEGUI::ResourceProvider* rp = pGuiSystem->getResourceProvider(); ++ pGuiSystem->destroy(); + pGuiSystem = NULL; ++ delete rp; + } + + if( pGuiRenderer ) + { +- delete pGuiRenderer; ++ pGuiRenderer->destroy( *pGuiRenderer ); + pGuiRenderer = NULL; + } + +@@ -507,7 +509,7 @@ + } + case SDL_VIDEORESIZE: + { +- pGuiRenderer->setDisplaySize( CEGUI::Size( static_cast(ev->resize.w), static_cast(ev->resize.h) ) ); ++ pGuiSystem->notifyDisplaySizeChanged( CEGUI::Size( static_cast(ev->resize.w), static_cast(ev->resize.h) ) ); + break; + } + case SDL_KEYDOWN: +diff -ur smc-1.9/src/gui/hud.cpp smc-1.9-b/src/gui/hud.cpp +--- smc-1.9/src/gui/hud.cpp 2009-05-01 15:00:16.000000000 +0200 ++++ smc-1.9-b/src/gui/hud.cpp 2011-01-19 00:43:37.816550365 +0100 +@@ -946,7 +946,7 @@ + m_text_debug_text->setVisible( 1 ); + + // update position +- CEGUI::Font *font = CEGUI::FontManager::getSingleton().getFont( "bluebold_medium" ); ++ CEGUI::Font *font = &CEGUI::FontManager::getSingleton().get( "bluebold_medium" ); + float text_width = font->getTextExtent( gui_text ) * global_downscalex; + + if( text_width > 800.0f ) +diff -ur smc-1.9/src/input/mouse.cpp smc-1.9-b/src/input/mouse.cpp +--- smc-1.9/src/input/mouse.cpp 2009-04-24 21:16:58.000000000 +0200 ++++ smc-1.9-b/src/input/mouse.cpp 2011-01-19 00:43:37.813217623 +0100 +@@ -432,17 +432,12 @@ + + void cMouseCursor :: Render( void ) const + { +- if( !m_active ) +- { ++ CEGUI::MouseCursor *mouse = CEGUI::MouseCursor::getSingletonPtr(); ++ ++ if ( m_active == mouse->isVisible() ) + return; +- } + +- // Render CEGUI Mouse +- pGuiRenderer->setQueueingEnabled( 0 ); +- CEGUI::MouseCursor *mouse = CEGUI::MouseCursor::getSingletonPtr(); +- mouse->setVisible( 1 ); +- mouse->draw(); +- mouse->setVisible( 0 ); ++ mouse->setVisible( m_active ); + } + + void cMouseCursor :: Update_Position( void ) +diff -ur smc-1.9/src/level/level_settings.cpp smc-1.9-b/src/level/level_settings.cpp +--- smc-1.9/src/level/level_settings.cpp 2009-08-07 03:04:28.000000000 +0200 ++++ smc-1.9-b/src/level/level_settings.cpp 2011-01-19 01:06:59.064259070 +0100 +@@ -163,8 +163,8 @@ + editbox->setText( int_to_string( bg_color_2.blue ).c_str() ); + // preview window + CEGUI::Window *window_background_preview = CEGUI::WindowManager::getSingleton().getWindow( "window_background_preview" ); +- background_preview->Set_Pos_X( window_background_preview->getUnclippedPixelRect().d_left * global_downscalex, 1 ); +- background_preview->Set_Pos_Y( window_background_preview->getUnclippedPixelRect().d_top * global_downscaley, 1 ); ++ background_preview->Set_Pos_X( window_background_preview->getUnclippedOuterRect().d_left * global_downscalex, 1 ); ++ background_preview->Set_Pos_Y( window_background_preview->getUnclippedOuterRect().d_top * global_downscaley, 1 ); + + Update_BG_Colors( CEGUI::EventArgs() ); + +@@ -555,8 +555,8 @@ + + // set default rect + CEGUI::Window *window_background_preview = CEGUI::WindowManager::getSingleton().getWindow( "window_background_preview" ); +- background_preview->m_rect.m_w = window_background_preview->getUnclippedPixelRect().getWidth() * global_downscalex; +- background_preview->m_rect.m_h = window_background_preview->getUnclippedPixelRect().getHeight() * global_downscaley; ++ background_preview->m_rect.m_w = window_background_preview->getUnclippedOuterRect().getWidth() * global_downscalex; ++ background_preview->m_rect.m_h = window_background_preview->getUnclippedOuterRect().getHeight() * global_downscaley; + + if( !File_Exists( filename ) ) + { +diff -ur smc-1.9/src/objects/sprite.cpp smc-1.9-b/src/objects/sprite.cpp +--- smc-1.9/src/objects/sprite.cpp 2009-04-18 09:55:06.000000000 +0200 ++++ smc-1.9-b/src/objects/sprite.cpp 2011-01-19 00:43:37.813217623 +0100 +@@ -1663,7 +1663,7 @@ + window_name->setText( name ); + window_name->setTooltipText( tooltip ); + // get text width +- CEGUI::Font *font = CEGUI::FontManager::getSingleton().getFont( "bluebold_medium" ); ++ CEGUI::Font *font = &CEGUI::FontManager::getSingleton().get( "bluebold_medium" ); + float text_width = 12 + font->getTextExtent( name ) * global_downscalex; + // all names should have the same width + if( text_width > m_editor_window_name_width ) +diff -ur smc-1.9/src/video/video.cpp smc-1.9-b/src/video/video.cpp +--- smc-1.9/src/video/video.cpp 2009-07-04 11:46:56.000000000 +0200 ++++ smc-1.9-b/src/video/video.cpp 2011-01-19 01:22:45.338524592 +0100 +@@ -103,15 +103,15 @@ + + /* *** *** *** *** *** *** *** CEGUI renderer fake class *** *** *** *** *** *** *** *** *** *** */ + +-cFake_Renderer :: cFake_Renderer( void ) +-{ +- d_identifierString = "Fake Renderer"; +-} ++//cFake_Renderer :: cFake_Renderer( void ) ++//{ ++// d_identifierString = "Fake Renderer"; ++//} + +-cFake_Renderer :: ~cFake_Renderer( void ) +-{ ++//cFake_Renderer :: ~cFake_Renderer( void ) ++//{ + +-} ++//} + + /* *** *** *** *** *** *** *** Video class *** *** *** *** *** *** *** *** *** *** */ + +@@ -158,7 +158,7 @@ + std::string log_dump_dir = "/dev/null"; + #endif + // create fake system and renderer +- pGuiSystem = new CEGUI::System( new cFake_Renderer(), rp, NULL, NULL, "", log_dump_dir ); ++ pGuiSystem = &CEGUI::System::create( *new cFake_Renderer(), rp, NULL, NULL, NULL, "", log_dump_dir ); + } + + void cVideo :: Delete_CEGUI_Fake( void ) const +@@ -166,7 +166,7 @@ + CEGUI::ResourceProvider *rp = pGuiSystem->getResourceProvider(); + CEGUI::Renderer *renderer = pGuiSystem->getRenderer(); + +- delete pGuiSystem; ++ pGuiSystem->destroy(); + pGuiSystem = NULL; + delete renderer; + delete rp; +@@ -177,7 +177,7 @@ + // create renderer + try + { +- pGuiRenderer = new CEGUI::OpenGLRenderer( 0, screen->w, screen->h ); ++ pGuiRenderer = &CEGUI::OpenGLRenderer::create( CEGUI::Size( screen->w, screen->h ) ); + } + // catch CEGUI Exceptions + catch( CEGUI::Exception &ex ) +@@ -186,10 +186,10 @@ + exit( EXIT_FAILURE ); + } + +- /* create Resource Provider +- * no need to destroy it later since it is handled by the CEGUI renderer +- */ +- CEGUI::DefaultResourceProvider *rp = static_cast(pGuiRenderer->createResourceProvider()); ++ pGuiRenderer->enableExtraStateSettings(true); ++ ++ // create Resource Provider ++ CEGUI::DefaultResourceProvider *rp = new CEGUI::DefaultResourceProvider; + + // set Resource Provider directories + rp->setResourceGroupDirectory( "schemes", DATA_DIR "/" GUI_SCHEME_DIR "/" ); +@@ -215,7 +215,7 @@ + // create system + try + { +- pGuiSystem = new CEGUI::System( pGuiRenderer, rp, NULL, NULL, "", pResource_Manager->user_data_dir + "cegui.log" ); ++ pGuiSystem = &CEGUI::System::create( *pGuiRenderer, rp, NULL, NULL, NULL, "", pResource_Manager->user_data_dir + "cegui.log" ); + } + // catch CEGUI Exceptions + catch( CEGUI::Exception &ex ) +@@ -242,7 +242,7 @@ + // load the scheme file, which auto-loads the imageset + try + { +- CEGUI::SchemeManager::getSingleton().loadScheme( "TaharezLook.scheme" ); ++ CEGUI::SchemeManager::getSingleton().create( "TaharezLook.scheme" ); + } + // catch CEGUI Exceptions + catch( CEGUI::Exception &ex ) +@@ -254,9 +254,7 @@ + // default mouse cursor + pGuiSystem->setDefaultMouseCursor( "TaharezLook", "MouseArrow" ); + // force new mouse image +- CEGUI::MouseCursor::getSingleton().setImage( &CEGUI::ImagesetManager::getSingleton().getImageset( "TaharezLook" )->getImage( "MouseArrow" ) ); +- // hide CEGUI mouse always because we render it manually +- CEGUI::MouseCursor::getSingleton().hide(); ++ CEGUI::MouseCursor::getSingleton().setImage( &CEGUI::ImagesetManager::getSingleton().get( "TaharezLook" ).getImage( "MouseArrow" ) ); + // default tooltip + pGuiSystem->setDefaultTooltip( "TaharezLook/Tooltip" ); + // create default root window +@@ -553,7 +551,7 @@ + pFont->Restore_Textures(); + + // send new size to CEGUI +- pGuiRenderer->setDisplaySize( CEGUI::Size( static_cast(screen_w), static_cast(screen_h) ) ); ++ pGuiSystem->notifyDisplaySizeChanged( CEGUI::Size( static_cast(screen_w), static_cast(screen_h) ) ); + + // check if CEGUI is initialized + bool cegui_initialized = pGuiSystem->getGUISheet() != NULL; +diff -ur smc-1.9/src/video/video.h smc-1.9-b/src/video/video.h +--- smc-1.9/src/video/video.h 2009-07-04 10:49:50.000000000 +0200 ++++ smc-1.9-b/src/video/video.h 2011-01-19 01:16:42.791283379 +0100 +@@ -23,7 +23,7 @@ + #include "SDL_opengl.h" + // CEGUI + #include "CEGUI.h" +-#include "RendererModules/OpenGLGUIRenderer/openglrenderer.h" ++#include + + namespace SMC + { +@@ -129,31 +129,100 @@ + EFFECT_IN_AMOUNT + }; + +-/* *** *** *** *** *** *** *** CEGUI renderer fake class *** *** *** *** *** *** *** *** *** *** */ ++/* *** *** *** *** *** *** *** CEGUI renderer fake classes *** *** *** *** *** *** *** *** *** *** */ ++// CEGUI 0.7.x requires more 'fake' classes than the 0.6.x version did... ++class cFake_GeometryBuffer : public CEGUI::GeometryBuffer ++{ ++ void draw() const {} ++ void setTranslation(const CEGUI::Vector3&) {} ++ void setRotation(const CEGUI::Vector3&) {} ++ void setPivot(const CEGUI::Vector3&) {} ++ void setClippingRegion(const CEGUI::Rect&) {} ++ void appendVertex(const CEGUI::Vertex&) {} ++ void appendGeometry(const CEGUI::Vertex* const, CEGUI::uint) {} ++ void setActiveTexture(CEGUI::Texture*) {} ++ void reset() {} ++ CEGUI::Texture* getActiveTexture() const { return 0; } ++ CEGUI::uint getVertexCount() const { return 0; } ++ CEGUI::uint getBatchCount() const { return 0; } ++ void setRenderEffect(CEGUI::RenderEffect*) {} ++ CEGUI::RenderEffect* getRenderEffect() { return 0; } ++}; + +-class cFake_Renderer : public CEGUI::Renderer ++class cFake_Texture : public CEGUI::Texture ++{ ++public: ++ cFake_Texture() : ++ m_size(1, 1), ++ m_scaling(1, 1) {} ++ ++ const CEGUI::Size& getSize() const { return m_size; } ++ const CEGUI::Size& getOriginalDataSize() const { return m_size; } ++ const CEGUI::Vector2& getTexelScaling() const { return m_scaling; } ++ void loadFromFile(const CEGUI::String&, const CEGUI::String&) {} ++ void loadFromMemory(const void*, const CEGUI::Size&, CEGUI::Texture::PixelFormat) {} ++ void saveToMemory(void*) {} ++ ++private: ++ CEGUI::Size m_size; ++ CEGUI::Vector2 m_scaling; ++}; ++ ++class cFake_RenderTarget : public CEGUI::RenderTarget + { + public: +- cFake_Renderer( void ); +- virtual ~cFake_Renderer( void ); ++ cFake_RenderTarget() : m_area(0, 0, 0, 0) {} ++ void draw(const CEGUI::GeometryBuffer&) {} ++ void draw(const CEGUI::RenderQueue&) {} ++ void setArea(const CEGUI::Rect&) {} ++ const CEGUI::Rect& getArea() const { return m_area; } ++ bool isImageryCache() const { return false; } ++ void activate() {} ++ void deactivate() {} ++ void unprojectPoint(const CEGUI::GeometryBuffer&, const CEGUI::Vector2&, CEGUI::Vector2&) const {} ++ ++private: ++ CEGUI::Rect m_area; ++}; + +- virtual void addQuad(const CEGUI::Rect& dest_rect, float z, const CEGUI::Texture* tex, const CEGUI::Rect& texture_rect, const CEGUI::ColourRect& colours, CEGUI::QuadSplitMode quad_split_mode) {}; +- virtual void doRender(void) {}; +- virtual void clearRenderList(void) {}; +- virtual void setQueueingEnabled(bool setting) {}; +- virtual CEGUI::Texture *createTexture(void) { return NULL; }; +- virtual CEGUI::Texture *createTexture(const CEGUI::String& filename, const CEGUI::String& resourceGroup) { return NULL; }; +- virtual CEGUI::Texture *createTexture(float size) { return NULL; }; +- virtual void destroyTexture(CEGUI::Texture* texture) {}; +- virtual void destroyAllTextures(void) {}; +- virtual bool isQueueingEnabled(void) const { return 0; }; +- virtual float getWidth(void) const { return 0; }; +- virtual float getHeight(void) const { return 0; }; +- virtual CEGUI::Size getSize(void) const { return CEGUI::Size();}; +- virtual CEGUI::Rect getRect(void) const { return CEGUI::Rect();}; +- virtual unsigned int getMaxTextureSize(void) const { return 0; }; +- virtual unsigned int getHorzScreenDPI(void) const { return 0; }; +- virtual unsigned int getVertScreenDPI(void) const { return 0; }; ++class cFake_Renderer : public CEGUI::Renderer ++{ ++public: ++ cFake_Renderer( void ) : ++ m_size(0, 0), ++ m_dpi(0, 0), ++ m_identifierString("Fake Renderer"), ++ m_root(m_target) {} ++ ~cFake_Renderer( void ) {} ++ ++ CEGUI::RenderingRoot& getDefaultRenderingRoot() { return m_root; } ++ CEGUI::GeometryBuffer& createGeometryBuffer() { return m_geometry; } ++ void destroyGeometryBuffer(const CEGUI::GeometryBuffer&) {} ++ void destroyAllGeometryBuffers() {} ++ CEGUI::TextureTarget* createTextureTarget() { return 0; } ++ void destroyTextureTarget(CEGUI::TextureTarget*) {} ++ void destroyAllTextureTargets() {} ++ CEGUI::Texture& createTexture() { return m_texture; } ++ CEGUI::Texture& createTexture(const CEGUI::String&, const CEGUI::String&) { return m_texture; } ++ CEGUI::Texture& createTexture(const CEGUI::Size&) { return m_texture; } ++ void destroyTexture(CEGUI::Texture&) {} ++ void destroyAllTextures() {} ++ void beginRendering() {} ++ void endRendering() {} ++ void setDisplaySize(const CEGUI::Size&) {} ++ const CEGUI::Size& getDisplaySize() const { return m_size; } ++ const CEGUI::Vector2& getDisplayDPI() const {return m_dpi; } ++ CEGUI::uint getMaxTextureSize() const { return 0; } ++ const CEGUI::String& getIdentifierString() const { return m_identifierString; } ++ ++private: ++ CEGUI::Size m_size; ++ CEGUI::Vector2 m_dpi; ++ CEGUI::String m_identifierString; ++ cFake_GeometryBuffer m_geometry; ++ cFake_Texture m_texture; ++ cFake_RenderTarget m_target; ++ CEGUI::RenderingRoot m_root; + }; + + /* *** *** *** *** *** *** *** Video class *** *** *** *** *** *** *** *** *** *** */ diff --git a/community-staging/smc/smc.desktop b/community-staging/smc/smc.desktop new file mode 100644 index 000000000..6cfe5b018 --- /dev/null +++ b/community-staging/smc/smc.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Secret Maryo Chronicles +GenericName=Arcade Game +Exec=smc +Icon=smc.png +Terminal=false +Type=Application +Categories=Game;ArcadeGame;KidsGame; +StartupNotify=false \ No newline at end of file diff --git a/community-staging/smc/smc.png b/community-staging/smc/smc.png new file mode 100644 index 000000000..f02af1bfc Binary files /dev/null and b/community-staging/smc/smc.png differ diff --git a/community-staging/ted/PKGBUILD b/community-staging/ted/PKGBUILD new file mode 100644 index 000000000..2a1c79b5d --- /dev/null +++ b/community-staging/ted/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 62907 2012-01-29 01:30:55Z ebelanger $ +# Maintainer: Sergej Pupykin + +pkgname=ted +pkgver=2.21 +pkgrel=4 +pkgdesc="An easy rich text processor (with footnote support)" +arch=('i686' 'x86_64') +url="http://www.nllgg.nl/Ted/" +depends=('bash' 'libtiff' 'libxmu' 'libxpm' 'libpng' 'gtk2') +license=('GPL') +source=(ftp://ftp.nluug.nl/pub/editors/$pkgname/$pkgname-$pkgver.src.tar.gz + ted-2.21-libpng15.patch) +md5sums=('34ae855938a3b364eb587cca504ba356' + '0c339b0fa7aec6b150e07e9027cd360c') + +build() { + cd "$srcdir/Ted-$pkgver" + sed -i "s|--with-GTK|--with-GTK --prefix=/usr/share|g" Makefile + patch -p0 -i ../ted-2.21-libpng15.patch + make compile.shared + make package.shared +} + +package() { + cd "$srcdir/Ted-$pkgver" + mkdir -p "$pkgdir/usr/share/" + cd "$pkgdir/usr/share/" + tar -zxvf "$srcdir/Ted-$pkgver/tedPackage/ted-$pkgver-linux-$CARCH.tar.gz" + mv bin ../ + mkdir -p "$pkgdir/usr/share/man/man1" + cd "$pkgdir/usr/share/Ted/" + mv Ted.1 rtf2pdf.1 rtf2ps.1 ../../share/man/man1/ + sed -i "s|usr/local/afm|usr/share/Ted/afm|g" gsafm.sh + mv *.sh "$pkgdir/usr/bin/" +} diff --git a/community-staging/ted/ted-2.21-libpng15.patch b/community-staging/ted/ted-2.21-libpng15.patch new file mode 100644 index 000000000..afd30f9a4 --- /dev/null +++ b/community-staging/ted/ted-2.21-libpng15.patch @@ -0,0 +1,423 @@ +This patch is from netbsd pkgsrc + +ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/editors/ted/patches/ + +--- bitmap/bmpng.c ++++ bitmap/bmpng.c +@@ -20,23 +20,32 @@ + /* */ + /************************************************************************/ + +-static int bpPngiToBitmap( const png_info * pngi, ++static int bpPngiToBitmap( const png_structp pngp, ++ png_info * pngi, + BitmapDescription * bd ) + { + unsigned int col; ++ png_uint_32 res_x, res_y; ++ int unit_type= 0; + +- bd->bdPixelsWide= pngi->width; +- bd->bdPixelsHigh= pngi->height; ++ bd->bdPixelsWide= png_get_image_width( pngp, pngi ); ++ bd->bdPixelsHigh= png_get_image_height( pngp, pngi ); + bd->bdHasAlpha= 0; + +- switch( pngi->color_type ) ++ switch( png_get_color_type( pngp, pngi ) ) + { + case PNG_COLOR_TYPE_PALETTE: ++ { ++ int num_palette; ++ png_colorp palette; ++ ++ png_get_PLTE( pngp, pngi, &palette, &num_palette ); ++ + bd->bdColorEncoding= BMcoRGB8PALETTE; +- bd->bdColorCount= pngi->num_palette; ++ bd->bdColorCount= num_palette; + bd->bdBitsPerSample= 8; + bd->bdSamplesPerPixel= 3; +- bd->bdBitsPerPixel= pngi->bit_depth; ++ bd->bdBitsPerPixel= png_get_bit_depth( pngp, pngi ); + + bd->bdRGB8Palette= (RGB8Color *) + malloc( bd->bdColorCount* sizeof(RGB8Color) ); +@@ -46,47 +55,51 @@ static int bpPngiToBitmap( const png_inf + + for ( col= 0; col < bd->bdColorCount; col++ ) + { +- bd->bdRGB8Palette[col].rgb8Red= pngi->palette[col].red; +- bd->bdRGB8Palette[col].rgb8Green= pngi->palette[col].green; +- bd->bdRGB8Palette[col].rgb8Blue= pngi->palette[col].blue; ++ bd->bdRGB8Palette[col].rgb8Red= palette[col].red; ++ bd->bdRGB8Palette[col].rgb8Green= palette[col].green; ++ bd->bdRGB8Palette[col].rgb8Blue= palette[col].blue; + bd->bdRGB8Palette[col].rgb8Alpha= 0; + } ++ } + break; + + case PNG_COLOR_TYPE_RGB: + bd->bdColorEncoding= BMcoRGB; +- bd->bdBitsPerSample= pngi->bit_depth; +- bd->bdSamplesPerPixel= pngi->channels; +- bd->bdBitsPerPixel= pngi->pixel_depth; ++ bd->bdBitsPerSample= png_get_bit_depth( pngp, pngi ); ++ bd->bdSamplesPerPixel= png_get_channels( pngp, pngi ); ++ bd->bdBitsPerPixel= bd->bdSamplesPerPixel* bd->bdBitsPerSample; + break; + + case PNG_COLOR_TYPE_GRAY: + bd->bdColorEncoding= BMcoWHITEBLACK; +- bd->bdBitsPerSample= pngi->bit_depth; +- bd->bdSamplesPerPixel= pngi->channels; +- bd->bdBitsPerPixel= pngi->pixel_depth; ++ bd->bdBitsPerSample= png_get_bit_depth( pngp, pngi ); ++ bd->bdSamplesPerPixel= png_get_channels( pngp, pngi ); ++ bd->bdBitsPerPixel= bd->bdSamplesPerPixel* bd->bdBitsPerSample; + break; + + case PNG_COLOR_TYPE_RGB_ALPHA: + bd->bdHasAlpha= 1; + bd->bdColorEncoding= BMcoRGB; +- bd->bdBitsPerSample= pngi->bit_depth; +- bd->bdSamplesPerPixel= pngi->channels; +- bd->bdBitsPerPixel= pngi->pixel_depth; ++ bd->bdBitsPerSample= png_get_bit_depth( pngp, pngi ); ++ bd->bdSamplesPerPixel= png_get_channels( pngp, pngi ); ++ bd->bdBitsPerPixel= bd->bdSamplesPerPixel* bd->bdBitsPerSample; + break; + + case PNG_COLOR_TYPE_GRAY_ALPHA: + bd->bdHasAlpha= 1; +- LDEB(pngi->color_type); return -1; ++ LDEB(png_get_color_type( pngp, pngi )); return -1; + + default: +- LDEB(pngi->color_type); return -1; ++ LDEB(png_get_color_type( pngp, pngi )); return -1; + } + +- bd->bdBytesPerRow= pngi->rowbytes; ++ bd->bdBytesPerRow= png_get_rowbytes( pngp, pngi ); + bd->bdBufferLength= bd->bdBytesPerRow* bd->bdPixelsHigh; + +- switch( pngi->phys_unit_type ) ++ if ( ! png_get_pHYs( pngp, pngi, &res_x, &res_y, &unit_type ) ) ++ { unit_type= PNG_RESOLUTION_UNKNOWN; } ++ ++ switch( unit_type ) + { + case PNG_RESOLUTION_UNKNOWN: + bd->bdUnit= BMunPIXEL; +@@ -96,12 +109,12 @@ static int bpPngiToBitmap( const png_inf + + case PNG_RESOLUTION_METER: + bd->bdUnit= BMunM; +- bd->bdXResolution= pngi->x_pixels_per_unit; +- bd->bdYResolution= pngi->y_pixels_per_unit; ++ bd->bdXResolution= res_x; ++ bd->bdYResolution= res_y; + break; + + default: +- LDEB(pngi->phys_unit_type); ++ LDEB(unit_type); + return -1; + } + +@@ -119,11 +132,11 @@ static int bmPngReadContents( png_info * + unsigned char * buffer; + + numberOfPasses= 1; +- if ( pngi->interlace_type ) ++ if ( png_get_interlace_type( png, pngi ) ) + { numberOfPasses= png_set_interlace_handling( png ); } + +- if ( pngi->color_type == PNG_COLOR_TYPE_RGB && +- pngi->bit_depth == 16 ) ++ if ( png_get_color_type( png, pngi ) == PNG_COLOR_TYPE_RGB && ++ png_get_bit_depth( png, pngi ) == 16 ) + { + const unsigned short one= 1; + const unsigned char * testEndian= (const unsigned char *)&one; +@@ -133,9 +146,6 @@ static int bmPngReadContents( png_info * + } + + png_start_read_image( png ); +- /* +- png_read_update_info( png, pngi ); +- */ + + buffer= (unsigned char *)malloc( bd->bdBufferLength ); + if ( ! buffer ) +@@ -236,9 +246,9 @@ int bmPngReadPng( BitmapDescription * bd + + png_read_info( pngp, pngip ); + +- if ( bpPngiToBitmap( pngip, bd ) ) ++ if ( bpPngiToBitmap( pngp, pngip, bd ) ) + { +- LLLDEB(pngip->color_type,bd->bdColorCount,bd->bdRGB8Palette); ++ LLDEB(bd->bdColorCount,bd->bdRGB8Palette); + png_destroy_read_struct( &pngp, &pngip, (png_infop *)0 ); + return -1; + } +@@ -282,44 +292,43 @@ int bmCanWritePngFile( const BitmapDescr + + static int bpPngiFromBitmap( png_structp png, + png_info * pngi, ++ png_colorp * pPalette, + const BitmapDescription * bd ) + { +- png_info_init( pngi ); +- pngi->width= bd->bdPixelsWide; +- pngi->height= bd->bdPixelsHigh; ++ int bit_depth; ++ int color_type; ++ png_color_8 sig_bit; + + switch( bd->bdUnit ) + { + case BMunM: +- pngi->phys_unit_type= PNG_RESOLUTION_METER; +- pngi->x_pixels_per_unit= bd->bdXResolution; +- pngi->y_pixels_per_unit= bd->bdYResolution; +- pngi->valid |= PNG_INFO_pHYs; ++ png_set_pHYs( png, pngi, ++ bd->bdXResolution, ++ bd->bdYResolution, ++ PNG_RESOLUTION_METER); + break; + + case BMunINCH: +- pngi->phys_unit_type= PNG_RESOLUTION_METER; +- pngi->x_pixels_per_unit= (int)( 39.37* bd->bdXResolution ); +- pngi->y_pixels_per_unit= (int)( 39.37* bd->bdYResolution ); +- pngi->valid |= PNG_INFO_pHYs; ++ png_set_pHYs( png, pngi, ++ (int)( 39.37* bd->bdXResolution ), ++ (int)( 39.37* bd->bdYResolution ), ++ PNG_RESOLUTION_METER); + break; + + case BMunPOINT: +- pngi->phys_unit_type= PNG_RESOLUTION_METER; +- pngi->x_pixels_per_unit= POINTS_PER_M* bd->bdXResolution; +- pngi->y_pixels_per_unit= POINTS_PER_M* bd->bdYResolution; +- pngi->valid |= PNG_INFO_pHYs; ++ png_set_pHYs( png, pngi, ++ POINTS_PER_M* bd->bdXResolution, ++ POINTS_PER_M* bd->bdYResolution, ++ PNG_RESOLUTION_METER); + break; + + case BMunPIXEL: +- pngi->phys_unit_type= PNG_RESOLUTION_UNKNOWN; +- pngi->x_pixels_per_unit= 1; +- pngi->y_pixels_per_unit= 1; ++ png_set_pHYs(png, pngi, 1, 1, PNG_RESOLUTION_UNKNOWN); + break; + + default: + LDEB(bd->bdUnit); +- pngi->phys_unit_type= PNG_RESOLUTION_UNKNOWN; ++ png_set_pHYs(png, pngi, 1, 1, PNG_RESOLUTION_UNKNOWN); + break; + } + +@@ -329,41 +338,48 @@ static int bpPngiFromBitmap( png_structp + + case BMcoBLACKWHITE: + case BMcoWHITEBLACK: +- pngi->bit_depth= bd->bdBitsPerPixel; ++ bit_depth= bd->bdBitsPerPixel; + if ( bd->bdHasAlpha ) +- { pngi->color_type= PNG_COLOR_TYPE_GRAY_ALPHA; } +- else{ pngi->color_type= PNG_COLOR_TYPE_GRAY; } +- pngi->sig_bit.gray= bd->bdBitsPerSample; ++ { color_type= PNG_COLOR_TYPE_GRAY_ALPHA; } ++ else{ color_type= PNG_COLOR_TYPE_GRAY; } ++ sig_bit.gray= bd->bdBitsPerSample; + break; + + case BMcoRGB: +- pngi->bit_depth= bd->bdBitsPerSample; ++ bit_depth= bd->bdBitsPerSample; + if ( bd->bdHasAlpha ) +- { pngi->color_type= PNG_COLOR_TYPE_RGB_ALPHA; } +- else{ pngi->color_type= PNG_COLOR_TYPE_RGB; } +- pngi->sig_bit.red= bd->bdBitsPerSample; +- pngi->sig_bit.green= bd->bdBitsPerSample; +- pngi->sig_bit.blue= bd->bdBitsPerSample; ++ { color_type= PNG_COLOR_TYPE_RGB_ALPHA; } ++ else{ color_type= PNG_COLOR_TYPE_RGB; } ++ sig_bit.red= bd->bdBitsPerSample; ++ sig_bit.green= bd->bdBitsPerSample; ++ sig_bit.blue= bd->bdBitsPerSample; + break; + + case BMcoRGB8PALETTE: +- pngi->bit_depth= bd->bdBitsPerPixel; +- pngi->color_type= PNG_COLOR_TYPE_PALETTE; ++ bit_depth= bd->bdBitsPerPixel; ++ color_type= PNG_COLOR_TYPE_PALETTE; + +- pngi->valid |= PNG_INFO_PLTE; +- pngi->palette= (png_color *)malloc( 256* sizeof( png_color ) ); +- if ( ! pngi->palette ) +- { XDEB(pngi->palette); return -1; } +- pngi->num_palette= bd->bdColorCount; +- pngi->sig_bit.red= bd->bdBitsPerSample; +- pngi->sig_bit.green= bd->bdBitsPerSample; +- pngi->sig_bit.blue= bd->bdBitsPerSample; +- for ( i= 0; i < pngi->num_palette; i++ ) ++ if ( bd->bdColorCount > PNG_MAX_PALETTE_LENGTH ) + { +- pngi->palette[i].red= bd->bdRGB8Palette[i].rgb8Red; +- pngi->palette[i].green= bd->bdRGB8Palette[i].rgb8Green; +- pngi->palette[i].blue= bd->bdRGB8Palette[i].rgb8Blue; ++ LLDEB(bd->bdColorCount,PNG_MAX_PALETTE_LENGTH); ++ return -1; + } ++ ++ *pPalette= (png_color *)malloc( PNG_MAX_PALETTE_LENGTH* ++ sizeof( png_color ) ); ++ if ( ! *pPalette ) ++ { XDEB(*pPalette); return -1; } ++ sig_bit.red= bd->bdBitsPerSample; ++ sig_bit.green= bd->bdBitsPerSample; ++ sig_bit.blue= bd->bdBitsPerSample; ++ for ( i= 0; i < bd->bdColorCount; i++ ) ++ { ++ (*pPalette)[i].red= bd->bdRGB8Palette[i].rgb8Red; ++ (*pPalette)[i].green= bd->bdRGB8Palette[i].rgb8Green; ++ (*pPalette)[i].blue= bd->bdRGB8Palette[i].rgb8Blue; ++ } ++ ++ png_set_PLTE( png, pngi, (*pPalette), bd->bdColorCount ); + break; + + default: +@@ -371,7 +387,13 @@ static int bpPngiFromBitmap( png_structp + return -1; + } + +- pngi->interlace_type= 0; ++ png_set_sBIT( png, pngi, &sig_bit ); ++ png_set_IHDR( png, pngi, ++ bd->bdPixelsWide, bd->bdPixelsHigh, ++ bit_depth, color_type, ++ PNG_INTERLACE_NONE, ++ PNG_COMPRESSION_TYPE_BASE, ++ PNG_FILTER_TYPE_BASE ); + + return 0; + } +@@ -395,8 +417,8 @@ static void bmPngWriteContents( png_stru + } + } + +- if ( pngi->color_type == PNG_COLOR_TYPE_RGB && +- bd->bdBitsPerSample == 16 ) ++ if ( png_get_color_type( png, pngi ) == PNG_COLOR_TYPE_RGB && ++ bd->bdBitsPerSample == 16 ) + { + const unsigned short one= 1; + const unsigned char * testEndian= (const unsigned char *)&one; +@@ -431,9 +453,9 @@ static void bmPngWriteContents( png_stru + from= scratch; + } + +- if ( pngi->color_type == PNG_COLOR_TYPE_RGB && +- bd->bdBitsPerSample == 16 && +- scratch ) ++ if ( png_get_color_type( png, pngi ) == PNG_COLOR_TYPE_RGB && ++ bd->bdBitsPerSample == 16 && ++ scratch ) + { + int col; + const BmUint16 * fr= (const BmUint16 *)from; +@@ -453,10 +475,6 @@ static void bmPngWriteContents( png_stru + + png_write_end( png, pngi ); + +- if ( bd->bdColorEncoding == BMcoRGB8PALETTE && +- pngi->palette ) +- { free( pngi->palette ); } +- + if ( scratch ) + { free( scratch ); } + +@@ -510,50 +528,43 @@ int bmPngWritePng( const BitmapDescript + const unsigned char * buffer, + SimpleOutputStream * sos ) + { ++ int rval= 0; + png_structp pngp= (png_structp)0; + png_infop pngip= (png_infop)0; ++ png_colorp palette= (png_colorp)0; + + pngp = png_create_write_struct( PNG_LIBPNG_VER_STRING, (void *)0, + (png_error_ptr)0, (png_error_ptr)0 ); + if ( ! pngp ) +- { LDEB(1); return -1; } ++ { XDEB(pngp); rval= -1; goto ready; } + + pngip = png_create_info_struct( pngp ); + if ( ! pngip ) +- { +- LDEB(1); +- png_destroy_write_struct( &pngp, (png_infop *)0 ); +- return -1; +- } ++ { XDEB(pngip); rval= -1; goto ready; } ++ ++ /* ++ As the info struct is built by libpng this is not needed: ++ (The call will disappear from libpng in version 1.4) ++ png_info_init( pngi ); ++ */ + + if ( setjmp( png_jmpbuf( pngp ) ) ) +- { +- LDEB(1); +- png_destroy_write_struct( &pngp, &pngip ); +- /* Crashes: +- if ( bd->bdColorEncoding == BMcoRGB8PALETTE && +- pngip->palette ) +- { free( pngip->palette ); } +- */ +- return -1; +- } ++ { LDEB(1); rval= -1; goto ready; } + + png_init_io( pngp, (FILE *)0 ); + png_set_write_fn( pngp, (void *)sos, bmPngWriteBytes, bmPngFlushBytes ); + +- if ( bpPngiFromBitmap( pngp, pngip, bd ) ) +- { +- LDEB(bd->bdColorEncoding); +- png_destroy_write_struct( &pngp, &pngip ); +- return -1; +- } +- +- /* +- png_write_info( pngp, pngip ); +- */ ++ if ( bpPngiFromBitmap( pngp, pngip, &palette, bd ) ) ++ { LDEB(bd->bdColorEncoding); rval= -1; goto ready; } + + bmPngWriteContents( pngp, pngip, buffer, bd ); + ++ ready: ++ ++ if ( palette ) ++ { free( palette ); } ++ + png_destroy_write_struct( &pngp, &pngip ); +- return 0; ++ ++ return rval; + } diff --git a/community/arpack/PKGBUILD b/community/arpack/PKGBUILD index 0f909d106..5bb45c666 100644 --- a/community/arpack/PKGBUILD +++ b/community/arpack/PKGBUILD @@ -1,50 +1,32 @@ -# $Id: PKGBUILD 18351 2010-06-02 21:49:21Z shusmann $ +# $Id: PKGBUILD 62905 2012-01-29 00:58:19Z arodseth $ +# Maintainer: Alexander Rødseth # Contributor: William Rea -# Maintainer: Stefan Husmann - +# Contributor: Stefan Husmann pkgname=arpack -pkgver=2.1 -pkgrel=4 -pkgdesc="A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems" -arch=('i686' 'x86_64') -url="http://www.caam.rice.edu/software/ARPACK" -license=('custom:BSD') -depends=('glibc' 'gcc-fortran') -source=(http://www.caam.rice.edu/software/ARPACK/SRC/arpack96.tar.gz \ - http://www.caam.rice.edu/software/ARPACK/SRC/patch.tar.gz \ - arpack-2.1-redhat.patch \ - license.txt) -md5sums=('fffaa970198b285676f4156cebc8626e' - '14830d758f195f272b8594a493501fa2' - '95678954de317c92862bb4f9cc9d04ad' - '7caaa0099a5c39726f4478a1bde89495') +pkgver=3.0.2 +pkgrel=1 +pkgdesc="Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems" +arch=('x86_64' 'i686') +provides=('arpack-ng') +options=(!libtool) +url="http://forge.scilab.org/index.php/p/arpack-ng/" +license=('BSD') +depends=('glibc' 'gcc-fortran' 'lapack') +source=("http://forge.scilab.org/upload/arpack-ng/files/arpack_3.0.2.tar.gz") +sha256sums=('4add769386e0f6b0484491bcff129c6f5234190dbf58e07cc068fbd5dc7278bf') build() { - cd $srcdir/ARPACK - patch -p1 -i ../arpack-2.1-redhat.patch - mkdir static shared - cd shared - for dir in ../SRC ../UTIL; do - make -f $dir/Makefile VPATH=$dir srcdir=$dir FC=gfortran FFLAGS="-fPIC" \ - single double complex complex16 - done - gcc -shared -Wl,-soname,libarpack.so.2 -o libarpack.so.2.1 *.o - cd .. - cd static - for dir in ../SRC ../UTIL; do - make -f $dir/Makefile VPATH=$dir srcdir=$dir FC=gfortran FFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ - all - done - ar rv libarpack.a *.o - ranlib libarpack.a + cd "$srcdir/$pkgname-ng-$pkgver" + + ./configure --prefix=/usr + make } + package() { - cd $srcdir/ARPACK - install -d $pkgdir/usr/lib - install -p -m644 $srcdir/ARPACK/static/libarpack.a $pkgdir/usr/lib - install -p -m755 $srcdir/ARPACK/shared/libarpack.so.2.1 $pkgdir/usr/lib - ln -s libarpack.so.2.1 $pkgdir/usr/lib/libarpack.so.2 - ln -s libarpack.so.2 $pkgdir/usr/lib/libarpack.so - install -D -m644 $srcdir/license.txt \ - $pkgdir/usr/share/licenses/$pkgname/license.txt + cd "$srcdir/$pkgname-ng-$pkgver" + + make DESTDIR="$pkgdir/" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } + +# vim:set ts=2 sw=2 et: diff --git a/community/clinica/PKGBUILD b/community/clinica/PKGBUILD new file mode 100644 index 000000000..697d802af --- /dev/null +++ b/community/clinica/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 62874 2012-01-28 13:39:47Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: Gianmarco Brocchi + +pkgname=clinica +pkgver=0.2.1 +pkgrel=2 +pkgdesc="Simple medical records manager" +arch=('i686' 'x86_64') +url="https://launchpad.net/clinica-project" +license=('GPL3') +depends=('libgee' 'python' 'libpeas' 'dconf') +makedepends=('vala' 'intltool' 'pkg-config') +optdepends=('python2-gobject: for Agenzia del Farmaco plugin') +install=clinica.install +source=("http://launchpad.net/clinica-project/stable/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2") +md5sums=('327ce50d20b0e56d3de57270eed2ad23') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./waf configure --prefix=/usr + LC_ALL=C LANG=C ./waf build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./waf --destdir="${pkgdir}" install + rm -rf ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled +} diff --git a/community/clinica/clinica.install b/community/clinica/clinica.install new file mode 100644 index 000000000..326aa98a2 --- /dev/null +++ b/community/clinica/clinica.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/cuda-toolkit/PKGBUILD b/community/cuda-toolkit/PKGBUILD index a37c7f8a8..1612ba93e 100644 --- a/community/cuda-toolkit/PKGBUILD +++ b/community/cuda-toolkit/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Sven-Hendrik Haase pkgname=cuda-toolkit -pkgver=4.1.21 -pkgrel=3 +pkgver=4.1.28 +pkgrel=1 _fedver=14 pkgdesc="NVIDIA's GPU programming toolkit" arch=('i686' 'x86_64') @@ -9,20 +9,21 @@ arch=('i686' 'x86_64') url="http://www.nvidia.com/object/cuda_home.html" license=('custom') depends=('gcc-libs' 'opencl-nvidia') +optdepends=('gdb: for cuda-gdb') if [ "$CARCH" = "i686" ]; then _arch=32 - md5sums=('930b7bfd1a162335b909f119a004f6d7' + md5sums=('835d403e86f4b014b348c587ffb23c0d' '5af5226b36cd3f9993f762f85b5d236a' 'c0781c63e726eaf03e10135b42b85729') else _arch=64 - md5sums=('509c795b9b79f991e045a83576e2e2f3' + md5sums=('c82103da07d0e96f3d65d7b308b74446' '5af5226b36cd3f9993f762f85b5d236a' 'c0781c63e726eaf03e10135b42b85729') fi install=cuda-toolkit.install -source=(http://developer.download.nvidia.com/compute/cuda/4_1/RC2/toolkit/cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run +source=(http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run cuda-toolkit.sh cuda-toolkit.conf) @@ -42,12 +43,7 @@ package() { install -Dm644 cuda-toolkit.conf $pkgdir/etc/ld.so.conf.d/cuda-toolkit.conf install -Dm644 $pkgdir/opt/cuda-toolkit/doc/EULA.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE - # Fixes FS#27841 - cd $pkgdir/opt/cuda-toolkit/lib + mkdir -p $pkgdir/usr/lib + cd $pkgdir/usr/lib ln -s /usr/lib/libncurses.so.5 libtinfo.so.5 - - if [[ $CARCH == "x86_64" ]]; then - cd $pkgdir/opt/cuda-toolkit/lib64 - ln -s /usr/lib/libncurses.so.5 libtinfo.so.5 - fi } diff --git a/community/i3-wm/PKGBUILD b/community/i3-wm/PKGBUILD index 57e3065dc..034f10c36 100644 --- a/community/i3-wm/PKGBUILD +++ b/community/i3-wm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 61211 2011-12-24 17:06:50Z ttopper $ +# $Id: PKGBUILD 62878 2012-01-28 14:15:46Z ttopper $ # Maintainer: Thorsten Töpper pkgname=i3-wm _pkgsourcename=i3 -pkgver=4.1.1 +pkgver=4.1.2 pkgrel=1 pkgdesc="An improved dynamic tiling window manager" arch=('i686' 'x86_64') @@ -20,7 +20,7 @@ optdepends=('rxvt-unicode: The terminal emulator used in the default config.' 'perl: To migrate your configuration to v4 format.') options=('docs' '!strip') source=("http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2") -md5sums=('25bc29349b65000a2b0afc0655a80035') +md5sums=('0e81c381f9bf3ebf155aaa394e71834f') build() { cd "$srcdir/$_pkgsourcename-$pkgver" diff --git a/community/jansson/PKGBUILD b/community/jansson/PKGBUILD index 00981bb6f..483de0ef1 100644 --- a/community/jansson/PKGBUILD +++ b/community/jansson/PKGBUILD @@ -1,17 +1,18 @@ -# $Id: PKGBUILD 56380 2011-10-07 02:59:03Z kkeen $ +# $Id: PKGBUILD 62893 2012-01-28 22:13:43Z kkeen $ # Maintainer: Kyle Keen # Contributor: Dave Reisner pkgname=jansson -pkgver=2.2.1 +pkgver=2.3 pkgrel=1 pkgdesc='C library for encoding, decoding and manipulating JSON data' arch=('i686' 'x86_64') url='http://www.digip.org/jansson/' +depends=('glibc') license=('MIT') options=('!libtool') source=("$url/releases/$pkgname-$pkgver.tar.bz2") -md5sums=('074373f2d101c52d70659be86647e7a1') +md5sums=('9f322b4b43b1b4f38473c52b49dabf99') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/usb_modeswitch/PKGBUILD b/community/usb_modeswitch/PKGBUILD index a029909b8..bc38aa87d 100644 --- a/community/usb_modeswitch/PKGBUILD +++ b/community/usb_modeswitch/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 61364 2011-12-28 19:37:10Z spupykin $ +# $Id: PKGBUILD 62881 2012-01-28 14:42:08Z spupykin $ # Maintainer: Sergej Pupykin pkgname=usb_modeswitch -pkgver=1.2.1 +pkgver=1.2.2 pkgrel=1 -_pkgdata=20111023 +_pkgdata=20120120 pkgdesc="Activating switchable USB devices on Linux." arch=('i686' 'x86_64') 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=('d228f74e4045e1ba05d80db4fe0f4144' - '6e7cb67d0428bda241600b038ba11aeb' - '1378c0319520c817d49c7e9457c7d6e3') +md5sums=('4f3d3b9342b59b488089a8a81abda3ae' + 'c899cc9c71bb35f3ec600b7cd1455c65' + 'c12e19e3992b5beac9b6c48555cff660') build() { cd $srcdir/usb-modeswitch-$pkgver/ diff --git a/community/yaml-cpp/PKGBUILD b/community/yaml-cpp/PKGBUILD index 940a9cadb..c14cb52c8 100644 --- a/community/yaml-cpp/PKGBUILD +++ b/community/yaml-cpp/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Sven-Hendrik Haase # Contributor: Markus Martin pkgname=yaml-cpp -pkgver=0.2.7 +pkgver=0.3.0 pkgrel=1 pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec" url="http://code.google.com/p/yaml-cpp/" @@ -9,17 +9,17 @@ arch=('i686' 'x86_64') license=('MIT') makedepends=('cmake') source=(http://yaml-cpp.googlecode.com/files/$pkgname-$pkgver.tar.gz) -md5sums=('6878e14bad90c69a8f2caca273eb24c2') +md5sums=('9aa519205a543f9372bf4179071c8ac6') build() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/$pkgname cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON make } package() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/$pkgname make DESTDIR=$pkgdir install } diff --git a/extra/blas/Makefile.blas b/extra/blas/Makefile.blas index e0d97793f..0c6cd06d6 100644 --- a/extra/blas/Makefile.blas +++ b/extra/blas/Makefile.blas @@ -145,4 +145,5 @@ static: $(ALLOBJ) ranlib libblas.a shared: $(ALLOBJ) - cc $(CFLAGS) -shared -Wl,-soname,libblas.so.3 -o libblas.so.3.3.1 $(ALLOBJ) -lm -lgfortran -lc + cc $(CFLAGS) -shared -Wl,-soname,libblas.so.3 -o libblas.so.3.4.0 $(ALLOBJ) -lm -lgfortran -lc + diff --git a/extra/blas/PKGBUILD b/extra/blas/PKGBUILD index 872e57bc7..94dd1c408 100755 --- a/extra/blas/PKGBUILD +++ b/extra/blas/PKGBUILD @@ -5,8 +5,8 @@ # Contributor: Jason Taylor pkgname=blas -pkgver=3.3.1 -pkgrel=2 +pkgver=3.4.0 +pkgrel=1 url="http://www.netlib.org/blas" makedepends=('gcc-fortran') depends=('gcc-libs') @@ -14,18 +14,15 @@ pkgdesc="Basic Linear Algebra Subprograms" arch=('i686' 'x86_64') license=("custom") source=(http://www.netlib.org/lapack/lapack-${pkgver}.tgz - lapack-3.1.1-make.inc.patch Makefile.blas LICENSE.blas) -sha1sums=('3ce437e05f0e9a3c8148ec41922f6efeef0ebdac' - '71bf7696f1c841339163e82d863dd62e484eb1cf' - '3dbee0a5e9a98a2ddf5a58046f5997804e9874ed' +sha1sums=('910109a931524f8dcc2734ce23fe927b00ca199f' + '85996f56c13991fc69481c0e88ef905a0dcefb49' '2491a151a37f0162b25fc4e4e9a8ac444b574a76') - + build() { cd "${srcdir}/lapack-${pkgver}" cp -f "${srcdir}/Makefile.blas" BLAS/SRC/Makefile - patch -Np1 -i "${srcdir}/lapack-3.1.1-make.inc.patch" cp -f INSTALL/make.inc.gfortran make.inc export FC=gfortran diff --git a/extra/digikam/PKGBUILD b/extra/digikam/PKGBUILD index 2f9399b4c..96a55a2f9 100644 --- a/extra/digikam/PKGBUILD +++ b/extra/digikam/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 146190 2012-01-05 20:00:07Z ronald $ +# $Id: PKGBUILD 147938 2012-01-28 11:06:05Z andrea $ # Maintainer: Ronald van Haren # Contributor: Andrea Scarpino # Contributor: Tobias Powalowski @@ -6,7 +6,7 @@ pkgbase=digikam pkgname=('digikam' 'kipi-plugins' 'libkface' 'libkgeomap' 'libkvkontakte' 'libmediawiki') pkgver=2.5.0 -pkgrel=1 +pkgrel=3 pkgdesc="Digital photo management application for KDE" arch=('i686' 'x86_64') license=('GPL') @@ -55,7 +55,6 @@ package_digikam() { # these are in oxygen-icons rm -rf ${pkgdir}/usr/share/icons - } package_libkface() { @@ -76,7 +75,7 @@ package_libkgeomap() { package_libkvkontakte() { pkgdesc="KDE C++ library for asynchronous interaction with vkontakte.rusocial network" - depends=('kdelibs') + depends=('kdelibs' 'qjson') cd "${srcdir}"/build/extra/libkvkontakte make DESTDIR="${pkgdir}" install diff --git a/extra/gtk2/PKGBUILD b/extra/gtk2/PKGBUILD index 40d39206d..eb71463dd 100644 --- a/extra/gtk2/PKGBUILD +++ b/extra/gtk2/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 147271 2012-01-25 15:45:40Z ibiru $ +# $Id: PKGBUILD 147944 2012-01-28 16:25:29Z heftig $ # Maintainer: Jan de Groot pkgbase=gtk2 pkgname=('gtk2' 'gtk-update-icon-cache') pkgver=2.24.9 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="http://www.gtk.org/" makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' @@ -12,20 +12,24 @@ makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxc options=('!libtool' '!docs') license=('LGPL') source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-$pkgver.tar.xz - xid-collision-debug.patch) + xid-collision-debug.patch cups-custom-print.patch) sha256sums=('84204bf24cac739fd979943127e7b29cb46b1017684aa24dce630faa01bcb61d' - 'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558') + 'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558' + '9535c9df19338cbea98ec4b2b5c8e4cef718455938f05c9cf8a08a3805d6b85d') build() { cd "$srcdir/gtk+-$pkgver" patch -Np1 -i "$srcdir/xid-collision-debug.patch" + # https://bugzilla.gnome.org/show_bug.cgi?id=543520 + patch -Rp1 -i "$srcdir/cups-custom-print.patch" + CXX=/bin/false ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-xinput=yes - #https://bugzilla.gnome.org/show_bug.cgi?id=655517 + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make diff --git a/extra/gtk2/cups-custom-print.patch b/extra/gtk2/cups-custom-print.patch new file mode 100644 index 000000000..ffc89aa32 --- /dev/null +++ b/extra/gtk2/cups-custom-print.patch @@ -0,0 +1,104 @@ +From 8170436e61ea68c713d75ad374d22c3261be9203 Mon Sep 17 00:00:00 2001 +From: Benjamin Berg +Date: Sat, 24 Dec 2011 16:26:32 +0000 +Subject: Set cups Custom print options correctly (bug #543520, patch by Marek Kašík) + +This patch fixes the cups print backend to pass Custom options with +the "Custom." prefix to cups if neccessary. +--- +diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c +index 14a1b5d..2751ee4 100644 +--- a/modules/printbackends/cups/gtkprintbackendcups.c ++++ b/modules/printbackends/cups/gtkprintbackendcups.c +@@ -483,22 +483,44 @@ cups_print_cb (GtkPrintBackendCups *print_backend, + GDK_THREADS_LEAVE (); + } + ++typedef struct { ++ GtkCupsRequest *request; ++ GtkPrinterOptionSet *options; ++} CupsOptionsData; ++ + static void + add_cups_options (const gchar *key, + const gchar *value, + gpointer user_data) + { +- GtkCupsRequest *request = user_data; ++ CupsOptionsData *data = (CupsOptionsData *) user_data; ++ GtkCupsRequest *request = data->request; ++ GtkPrinterOptionSet *options = data->options; ++ GtkPrinterOption *option = NULL; ++ gchar *new_value = NULL; + + if (!g_str_has_prefix (key, "cups-")) + return; + + if (strcmp (value, "gtk-ignore-value") == 0) + return; ++ ++ option = gtk_printer_option_set_lookup (options, key); + + key = key + strlen ("cups-"); + +- gtk_cups_request_encode_option (request, key, value); ++ /* Add "Custom." prefix to custom values */ ++ if (value && option && ++ !gtk_printer_option_has_choice (option, value)) ++ new_value = g_strdup_printf ("Custom.%s", value); ++ ++ if (new_value) ++ { ++ gtk_cups_request_encode_option (request, key, new_value); ++ g_free (new_value); ++ } ++ else ++ gtk_cups_request_encode_option (request, key, value); + } + + static void +@@ -511,8 +533,12 @@ gtk_print_backend_cups_print_stream (GtkPrintBackend *print_backend, + { + GtkPrinterCups *cups_printer; + CupsPrintStreamData *ps; ++ CupsOptionsData *options_data; + GtkCupsRequest *request; + GtkPrintSettings *settings; ++ GtkPrinterOptionSet *options; ++ GtkPrintCapabilities capabilities; ++ GtkPageSetup *page_setup; + const gchar *title; + char printer_absolute_uri[HTTP_MAX_URI]; + +@@ -521,6 +547,8 @@ gtk_print_backend_cups_print_stream (GtkPrintBackend *print_backend, + + cups_printer = GTK_PRINTER_CUPS (gtk_print_job_get_printer (job)); + settings = gtk_print_job_get_settings (job); ++ capabilities = cups_printer_get_capabilities (GTK_PRINTER (cups_printer)); ++ page_setup = gtk_printer_get_default_page_size (GTK_PRINTER (cups_printer)); + + request = gtk_cups_request_new_with_username (NULL, + GTK_CUPS_POST, +@@ -558,8 +586,18 @@ gtk_print_backend_cups_print_stream (GtkPrintBackend *print_backend, + IPP_TAG_NAME, "job-name", + NULL, title); + +- gtk_print_settings_foreach (settings, add_cups_options, request); +- ++ options = cups_printer_get_options (GTK_PRINTER (cups_printer), settings, page_setup, capabilities); ++ ++ options_data = g_new0 (CupsOptionsData, 1); ++ options_data->request = request; ++ options_data->options = options; ++ ++ gtk_print_settings_foreach (settings, add_cups_options, options_data); ++ ++ g_object_unref (page_setup); ++ g_object_unref (options); ++ g_free (options_data); ++ + ps = g_new0 (CupsPrintStreamData, 1); + ps->callback = callback; + ps->user_data = user_data; +-- +cgit v0.9.0.2 diff --git a/extra/kactivities/PKGBUILD b/extra/kactivities/PKGBUILD new file mode 100644 index 000000000..3df591879 --- /dev/null +++ b/extra/kactivities/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 147786 2012-01-28 10:32:55Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kactivities +pkgver=4.8.0 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='API for using and interacting with Activities' +url='http://kde.org/' +license=('GPL' 'FDL') +depends=('kdelibs') +makedepends=('cmake' 'automoc4') +source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('ac64d13f767c06bfcf2040fcdf94a78410ad035d') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install +} diff --git a/extra/kdeaccessibility-jovie/PKGBUILD b/extra/kdeaccessibility-jovie/PKGBUILD new file mode 100644 index 000000000..5545ff596 --- /dev/null +++ b/extra/kdeaccessibility-jovie/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 147806 2012-01-28 10:33:25Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kdeaccessibility-jovie +pkgver=4.8.0 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='A text to speech application' +url='http://kde.org/applications/utilities/jovie/' +license=('GPL' 'FDL') +groups=('kde' 'kdeaccessibility') +depends=('kdebase-runtime' 'speech-dispatcher') +makedepends=('cmake' 'automoc4') +replaces=('kdeaccessibility-kttsd') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/jovie-${pkgver}.tar.bz2") +sha1sums=('aef47e440183323c5a62d3f45aaece7215817917') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../jovie-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install + cd $srcdir/build/doc + make DESTDIR=$pkgdir install +} diff --git a/extra/kdeaccessibility-jovie/kdeaccessibility-jovie.install b/extra/kdeaccessibility-jovie/kdeaccessibility-jovie.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/kdeaccessibility-jovie/kdeaccessibility-jovie.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/extra/kdeaccessibility-kaccessible/PKGBUILD b/extra/kdeaccessibility-kaccessible/PKGBUILD new file mode 100644 index 000000000..ebff2eaf8 --- /dev/null +++ b/extra/kdeaccessibility-kaccessible/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 147808 2012-01-28 10:33:27Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kdeaccessibility-kaccessible +pkgver=4.8.0 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='Provides accessibility services like focus tracking and a screenreader' +url='http://accessibility.kde.org/' +license=('GPL' 'FDL') +groups=('kde' 'kdeaccessibility') +depends=('kdelibs' 'speech-dispatcher') +makedepends=('cmake' 'automoc4') +source=("http://download.kde.org/stable/${pkgver}/src/kaccessible-${pkgver}.tar.bz2") +sha1sums=('16451b090fe1ed345b5c1d3426bf0123eda08859') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../kaccessible-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install +} diff --git a/extra/kdeaccessibility-kmag/PKGBUILD b/extra/kdeaccessibility-kmag/PKGBUILD new file mode 100644 index 000000000..cf29f82e5 --- /dev/null +++ b/extra/kdeaccessibility-kmag/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 147810 2012-01-28 10:33:29Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kdeaccessibility-kmag +pkgver=4.8.0 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='Screen Magnifier' +url='http://kde.org/applications/utilities/kmag/' +license=('GPL' 'FDL') +groups=('kde' 'kdeaccessibility') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kmag-${pkgver}.tar.bz2") +sha1sums=('7f281e2ac07aeb8d31249e6e0b27661a87f98a0c') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../kmag-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install + cd $srcdir/build/doc + make DESTDIR=$pkgdir install +} diff --git a/extra/kdeaccessibility-kmag/kdeaccessibility-kmag.install b/extra/kdeaccessibility-kmag/kdeaccessibility-kmag.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/kdeaccessibility-kmag/kdeaccessibility-kmag.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/extra/kdeaccessibility-kmousetool/PKGBUILD b/extra/kdeaccessibility-kmousetool/PKGBUILD new file mode 100644 index 000000000..f1c08b54c --- /dev/null +++ b/extra/kdeaccessibility-kmousetool/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 147812 2012-01-28 10:33:32Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kdeaccessibility-kmousetool +pkgver=4.8.0 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='Clicks the mouse for you, reducing the effects of RSI' +url='http://kde.org/applications/utilities/kmousetool/' +license=('GPL' 'FDL') +groups=('kde' 'kdeaccessibility') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kmousetool-${pkgver}.tar.bz2") +sha1sums=('121fce8fd61772d044a48885918d2c0b500bb646') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../kmousetool-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install + cd $srcdir/build/doc + make DESTDIR=$pkgdir install +} diff --git a/extra/kdeaccessibility-kmousetool/kdeaccessibility-kmousetool.install b/extra/kdeaccessibility-kmousetool/kdeaccessibility-kmousetool.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/kdeaccessibility-kmousetool/kdeaccessibility-kmousetool.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/extra/kdeaccessibility-kmouth/PKGBUILD b/extra/kdeaccessibility-kmouth/PKGBUILD new file mode 100644 index 000000000..07e0f3ead --- /dev/null +++ b/extra/kdeaccessibility-kmouth/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 147814 2012-01-28 10:33:35Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kdeaccessibility-kmouth +pkgver=4.8.0 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='Speech Synthesizer Frontend' +url='http://kde.org/applications/utilities/kmouth/' +license=('GPL' 'FDL') +groups=('kde' 'kdeaccessibility') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kmouth-${pkgver}.tar.bz2") +sha1sums=('43ff583d0628005087c948362b1e64dc4d359d88') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../kmouth-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install + cd $srcdir/build/doc + make DESTDIR=$pkgdir install +} diff --git a/extra/kdeaccessibility-kmouth/kdeaccessibility-kmouth.install b/extra/kdeaccessibility-kmouth/kdeaccessibility-kmouth.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/kdeaccessibility-kmouth/kdeaccessibility-kmouth.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/extra/kdeadmin/PKGBUILD b/extra/kdeadmin/PKGBUILD index 650be0b03..95c36529e 100644 --- a/extra/kdeadmin/PKGBUILD +++ b/extra/kdeadmin/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 145767 2011-12-30 10:33:07Z andrea $ +# $Id: PKGBUILD 147816 2012-01-28 10:33:39Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz @@ -7,17 +7,16 @@ pkgname=('kdeadmin-kcron' 'kdeadmin-ksystemlog' 'kdeadmin-kuser' 'kdeadmin-system-config-printer-kde') -pkgver=4.7.4 -pkgrel=2 +pkgver=4.8.0 +pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeadmin') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebindings-python' - 'system-config-printer-common') +makedepends=('cmake' 'automoc4' 'kdebindings-python' 'system-config-printer-common') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2" 'syslog-path.patch') -sha1sums=('1a294315645adbbff348a380196d4300a408b70d' +sha1sums=('a7cf29130bd83615bdc01f54a465cef8c492c527' '20095ce6e0f3e5b6800a7c6e52de6fddba62c031') build() { @@ -74,6 +73,9 @@ package_kdeadmin-system-config-printer-kde() { cd $srcdir/build/system-config-printer-kde make DESTDIR=$pkgdir install - # Use the python2 executable - find ${pkgdir} -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' + # Use the python2 executable + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ + "${pkgdir}"/usr/share/apps/system-config-printer-kde/{system-config-printer-kde,authconn}.py + sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' \ + "${pkgdir}"/usr/share/apps/system-config-printer-kde/pysmb.py } diff --git a/extra/kdeartwork/PKGBUILD b/extra/kdeartwork/PKGBUILD index 085a5538d..07c84c73e 100644 --- a/extra/kdeartwork/PKGBUILD +++ b/extra/kdeartwork/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 144655 2011-12-08 09:19:19Z andrea $ +# $Id: PKGBUILD 147818 2012-01-28 10:33:43Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz @@ -13,16 +13,16 @@ pkgname=('kdeartwork-aurorae' 'kdeartwork-styles' 'kdeartwork-wallpapers' 'kdeartwork-weatherwallpapers') -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeartwork') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'xscreensaver' 'eigen' - 'kdebase-workspace' 'libkexiv2') +makedepends=('cmake' 'automoc4' 'xscreensaver' 'eigen' 'kdebase-workspace' + 'libkexiv2') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2") -sha1sums=('f397f49a73273baadabcaf45cf18c4d6a3efbe44') +sha1sums=('08c6e127ad1931a13ea1dde25189a49de089fa89') build() { cd $srcdir diff --git a/extra/kdebase-konsole/PKGBUILD b/extra/kdebase-konsole/PKGBUILD index e5a13d3b6..fd33da488 100644 --- a/extra/kdebase-konsole/PKGBUILD +++ b/extra/kdebase-konsole/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144657 2011-12-08 09:19:21Z andrea $ +# $Id: PKGBUILD 147820 2012-01-28 10:33:47Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebase-konsole -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 arch=('i686' 'x86_64') url='http://kde.org/applications/system/konsole/' @@ -12,7 +12,7 @@ groups=('kde' 'kdebase') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') source=("http://download.kde.org/stable/${pkgver}/src/konsole-${pkgver}.tar.bz2") -sha1sums=('33e1bc6f1043c9bf6186190b66b21483301eac7e') +sha1sums=('f99abc20fd0042be62e48308f334b66a6a3135d7') build() { cd "${srcdir}" diff --git a/extra/kdebase-runtime/PKGBUILD b/extra/kdebase-runtime/PKGBUILD index fed053273..e02bcb156 100644 --- a/extra/kdebase-runtime/PKGBUILD +++ b/extra/kdebase-runtime/PKGBUILD @@ -1,30 +1,26 @@ -# $Id: PKGBUILD 146420 2012-01-10 23:37:38Z eric $ +# $Id: PKGBUILD 147764 2012-01-28 10:32:14Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=kdebase-runtime -pkgver=4.7.4 -pkgrel=3 +pkgver=4.8.0 +pkgrel=1 pkgdesc="KDE Base Runtime Environment" arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL') depends=('kdelibs' 'ntrack' 'smbclient' 'libssh' 'libcanberra' 'oxygen-icons' - 'xorg-xauth' 'hicolor-icon-theme') -makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'xine-lib') + 'xorg-xauth') +makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen' + 'xine-lib') optdepends=('htdig: to build the search index in khelpcenter' 'rarian: needed by khelpcenter' 'gdb: drkonq crash handler') install="${pkgname}.install" -source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.bz2" - 'libqzeitgeist08.patch') -sha1sums=('bf5c266b7748cda44cc3a2fb231a2d6dde2b09f6' - '164c9e4305029cb68a2101cfeeb76c7066c2fd39') +source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.bz2") +sha1sums=('5e1e98535529a67f8d20e8c76d051c81604d7064') build() { - cd "${srcdir}"/kde-runtime-${pkgver} - patch -p1 -i "${srcdir}"/libqzeitgeist08.patch - cd "${srcdir}" mkdir build cd build @@ -40,4 +36,8 @@ package() { make DESTDIR="$pkgdir" install rm -f "${pkgdir}/usr/share/icons/hicolor/index.theme" ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/" + + # Fix Python2 path + sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \ + "${pkgdir}"/usr/bin/nepomuk-simpleresource-rcgen } diff --git a/extra/kdebase-workspace/PKGBUILD b/extra/kdebase-workspace/PKGBUILD index 04a993706..0007c1aa5 100644 --- a/extra/kdebase-workspace/PKGBUILD +++ b/extra/kdebase-workspace/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 144857 2011-12-08 16:10:09Z andrea $ +# $Id: PKGBUILD 147788 2012-01-28 10:33:01Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=kdebase-workspace _pkgname=kde-workspace -pkgver=4.7.4 -pkgrel=2 +pkgver=4.8.0 +pkgrel=1 pkgdesc="KDE Base Workspace" arch=('i686' 'x86_64') url='http://www.kde.org' @@ -17,10 +17,9 @@ groups=('kde') depends=('kdepim-runtime' 'lm_sensors' 'libraw1394' 'libqalculate' 'qimageblitz' 'polkit-kde' 'consolekit' 'xorg-xprop' 'libxdamage' 'libxklavier' 'xorg-xsetroot' 'libxcomposite' 'libxinerama' - 'xorg-xrdb') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdebindings-python' - 'networkmanager') -optdepends=('kde-wallpapers: officials KDE wallapers') + 'xorg-xrdb' 'libgles' 'libegl' 'kactivities' 'libxres' 'libxtst') +makedepends=('cmake' 'automoc4' 'boost' 'kdebindings-python' 'networkmanager') +optdepends=('kde-wallpapers: wallpapers for KDE Plasma Workspaces') replaces=('kdmtheme' 'kde-common' 'guidance-power-manager' 'policykit-kde' 'kdebase-kinfocenter') conflicts=('kde-common' 'guidance-power-manager' 'policykit-kde' @@ -34,10 +33,10 @@ options=('emptydirs') source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.bz2" 'kdm' 'kde.pam' 'kde-np.pam' 'kscreensaver.pam' 'fixpath.patch' 'terminate-server.patch' 'kdm-xinitrd.patch') -sha1sums=('b7810ba13f6f2a1c4783b153ad9349a1dd27b495' +sha1sums=('4c471b159315b084c65196b0c93c34981a9105c5' '5db3a245201bd4a50e65aa2ef583cf5490e4f646' - 'f7b38af38549242a240f1a90ab9964ca8a366129' - '603cc79c4d2b4eae62bb5f244aeecb3a778b5516' + 'e4198a443703f749b58a4fec88362fced1b45789' + '264e395c2c44cdda5a242c6dee649afab44cd6e5' '106635aa1aae51d6f0668b1853f6c49a4fe9d3d8' 'd7b5883f7e65c6839b1f65f94d58026673dd0226' 'ac7bc292c865bc1ab8c02e6341aa7aeaf1a3eeee' @@ -45,7 +44,7 @@ sha1sums=('b7810ba13f6f2a1c4783b153ad9349a1dd27b495' build() { cd "${srcdir}"/${_pkgname}-${pkgver} - patch -p1 -i "${srcdir}"/kdm-xinitrd.patch + patch -p1 -i "${srcdir}"/kdm-xinitrd.patch patch -p0 -i "${srcdir}"/fixpath.patch patch -p0 -i "${srcdir}"/terminate-server.patch @@ -59,8 +58,8 @@ build() { -DWITH_Xmms=OFF \ -DWITH_Googlegadgets=OFF \ -DWITH_libgps=OFF \ - -DWITH_OpenGLES=OFF \ - -DKWIN_BUILD_WITH_OPENGLES=OFF \ + -DWITH_OpenGLES=ON \ + -DKWIN_BUILD_WITH_OPENGLES=ON \ -DPYTHON_EXECUTABLE=/usr/bin/python2 make } diff --git a/extra/kdebase-workspace/kde-np.pam b/extra/kdebase-workspace/kde-np.pam index 81eeef47b..dfedb8edf 100644 --- a/extra/kdebase-workspace/kde-np.pam +++ b/extra/kdebase-workspace/kde-np.pam @@ -4,4 +4,5 @@ auth required pam_permit.so account required pam_unix.so password required pam_unix.so session required pam_unix.so -session required pam_limits.so \ No newline at end of file +session required pam_limits.so +-session optional pam_systemd.so diff --git a/extra/kdebase-workspace/kde.pam b/extra/kdebase-workspace/kde.pam index 1a259390f..9ec074d06 100644 --- a/extra/kdebase-workspace/kde.pam +++ b/extra/kdebase-workspace/kde.pam @@ -4,4 +4,5 @@ auth required pam_nologin.so account required pam_unix.so password required pam_unix.so session required pam_unix.so -session required pam_limits.so \ No newline at end of file +session required pam_limits.so +-session optional pam_systemd.so diff --git a/extra/kdebase/PKGBUILD b/extra/kdebase/PKGBUILD index 5511a4524..1450eabeb 100644 --- a/extra/kdebase/PKGBUILD +++ b/extra/kdebase/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 144637 2011-12-08 09:18:50Z andrea $ +# $Id: PKGBUILD 147790 2012-01-28 10:33:05Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz @@ -12,17 +12,22 @@ pkgname=('kdebase-dolphin' 'kdebase-konqueror' 'kdebase-lib' 'kdebase-plasma') -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdebase') -makedepends=('kdelibs' 'pkgconfig' 'cmake' 'automoc4' 'tidyhtml') -source=("http://download.kde.org/stable/${pkgver}/src/kde-baseapps-${pkgver}.tar.bz2") -sha1sums=('ad4b6d8479bcf8be49b5f53ee8fdcc1b3d1106d6') +makedepends=('kdelibs' 'cmake' 'automoc4' 'tidyhtml') +source=("http://download.kde.org/stable/${pkgver}/src/kde-baseapps-${pkgver}.tar.bz2" + 'fix-controlclick-selection.patch') +sha1sums=('25151b551793164c5eb1cb303d3031e63a6122e3' + 'b29c42301b84475f95f19ff9edb22d2134df9c1c') build() { + cd "${srcdir}"/kde-baseapps-${pkgver} + patch -p1 -i "${srcdir}"/fix-controlclick-selection.patch + cd ${srcdir} mkdir build cd build @@ -40,6 +45,7 @@ package_kdebase-dolphin() { 'kdegraphics-thumbnailers: thumbnailers for graphics file' 'ruby: servicemenu installation') url="http://kde.org/applications/system/dolphin/" + install=kdebase-dolphin.install cd $srcdir/build/dolphin make DESTDIR=$pkgdir install cd $srcdir/build/doc/dolphin @@ -94,13 +100,13 @@ package_kdebase-konqueror() { depends=('kdebase-dolphin' 'kdebase-keditbookmarks') optdepends=('kwebkitpart: to enable webkit engine') url="http://kde.org/applications/internet/konqueror/" - install='kdebase.install' - conflicts=('kdebase-nsplugins') - replaces=('kdebase-nsplugins') - for i in konqueror doc/konqueror nsplugins; do - cd $srcdir/build/${i} - make DESTDIR=$pkgdir install - done + install='kdebase-konqueror.install' + conflicts=('kdebase-nsplugins') + replaces=('kdebase-nsplugins') + for i in konqueror doc/konqueror nsplugins; do + cd $srcdir/build/${i} + make DESTDIR=$pkgdir install + done } package_kdebase-lib() { diff --git a/extra/kdebase/fix-controlclick-selection.patch b/extra/kdebase/fix-controlclick-selection.patch new file mode 100644 index 000000000..a51161326 --- /dev/null +++ b/extra/kdebase/fix-controlclick-selection.patch @@ -0,0 +1,11 @@ +--- a/dolphin/src/kitemviews/kitemlistcontroller.cpp ++++ b/dolphin/src/kitemviews/kitemlistcontroller.cpp +@@ -471,7 +471,7 @@ bool KItemListController::mousePressEven + (!shiftOrControlPressed && !pressedItemAlreadySelected); + if (clearSelection) { + m_selectionManager->clearSelection(); +- } else if (pressedItemAlreadySelected && (event->buttons() & Qt::LeftButton)) { ++ } else if (pressedItemAlreadySelected && !shiftOrControlPressed && (event->buttons() & Qt::LeftButton)) { + // The user might want to start dragging multiple items, but if he clicks the item + // in order to trigger it instead, the other selected items must be deselected. + // However, we do not know yet what the user is going to do. diff --git a/extra/kdebase/kdebase-dolphin.install b/extra/kdebase/kdebase-dolphin.install new file mode 100644 index 000000000..660593cf5 --- /dev/null +++ b/extra/kdebase/kdebase-dolphin.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdebase/kdebase-konqueror.install b/extra/kdebase/kdebase-konqueror.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/extra/kdebase/kdebase-konqueror.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdebindings-kimono/PKGBUILD b/extra/kdebindings-kimono/PKGBUILD index 4e80a6b37..7069c7569 100644 --- a/extra/kdebindings-kimono/PKGBUILD +++ b/extra/kdebindings-kimono/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144659 2011-12-08 09:19:23Z andrea $ +# $Id: PKGBUILD 147822 2012-01-28 10:33:50Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-kimono -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc=".NET/Mono bindings for the KDE libraries" url="http://kde.org/" @@ -13,7 +13,7 @@ depends=('kdebindings-qyoto' 'kdebindings-smokekde') makedepends=('cmake' 'automoc4' 'kdebindings-smokegen' 'boost' 'kdepimlibs') conflicts=('kdebindings-csharp') source=("http://download.kde.org/stable/${pkgver}/src/kimono-${pkgver}.tar.bz2") -sha1sums=('8f260e09bffcf74bad18a5168016d0dad5db3656') +sha1sums=('b46842ce2b3c1aa3620277a461c3d127843d6a4d') build() { cd "${srcdir}" diff --git a/extra/kdebindings-kross/PKGBUILD b/extra/kdebindings-kross/PKGBUILD index 7a0acda54..9550142fe 100644 --- a/extra/kdebindings-kross/PKGBUILD +++ b/extra/kdebindings-kross/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 144663 2011-12-08 09:19:28Z andrea $ +# $Id: PKGBUILD 147824 2012-01-28 10:33:53Z andrea $ # Maintainer: Andrea Scarpino pkgbase=kdebindings-kross pkgname=('kdebindings-kross-python' # 'kdebindings-kross-ruby' 'kdebindings-kross-java') -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 url="http://kde.org/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kdebindings') -makedepends=('kdelibs' 'cmake' 'automoc4' 'python2' 'openjdk6') +makedepends=('kdelibs' 'cmake' 'automoc4' 'python2' 'java-environment') source=("http://download.kde.org/stable/${pkgver}/src/kross-interpreters-${pkgver}.tar.bz2") -sha1sums=('416e9f25ff2050d9c5518254a7cc7d4cad22b648') +sha1sums=('2b2ac36b1597e180c1e3923c00f4ca465bd99a03') build() { cd "${srcdir}" @@ -37,7 +37,7 @@ package_kdebindings-kross-python() { package_kdebindings-kross-java() { pkgdesc="Java language interpreters to enable in-process scripting with Kross" - depends=('kdelibs' 'openjdk6') + depends=('kdelibs' 'java-environment') cd "${srcdir}"/build/java make DESTDIR="${pkgdir}" install diff --git a/extra/kdebindings-perlkde/PKGBUILD b/extra/kdebindings-perlkde/PKGBUILD index 3221d387d..8bdb95ace 100644 --- a/extra/kdebindings-perlkde/PKGBUILD +++ b/extra/kdebindings-perlkde/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144665 2011-12-08 09:19:30Z andrea $ +# $Id: PKGBUILD 147826 2012-01-28 10:33:56Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-perlkde -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Perl bindings for the KDE libraries" url="http://kde.org/" @@ -13,7 +13,7 @@ depends=('kdebindings-perlqt' 'kdebindings-smokekde') makedepends=('cmake' 'automoc4' 'kdebindings-smokegen' 'kdepimlibs' 'kdegraphics-okular' 'kdesdk-kate') source=("http://download.kde.org/stable/${pkgver}/src/perlkde-${pkgver}.tar.bz2") -sha1sums=('7116668ecd5baf55734a8349a2f0b04d0e701898') +sha1sums=('e9c46cec78f42a29befbc26dfa428d6a28027754') build() { cd "${srcdir}" diff --git a/extra/kdebindings-perlqt/PKGBUILD b/extra/kdebindings-perlqt/PKGBUILD index eb2c7111a..cdb31778b 100644 --- a/extra/kdebindings-perlqt/PKGBUILD +++ b/extra/kdebindings-perlqt/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 145672 2011-12-26 14:44:55Z andrea $ +# $Id: PKGBUILD 147778 2012-01-28 10:32:42Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-perlqt -pkgver=4.7.4 -pkgrel=2 +pkgver=4.8.0 +pkgrel=1 pkgdesc="Perl bindings for the Qt libraries" url="http://kde.org/" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ groups=('kdebindings') depends=('kdebindings-smokeqt' 'perl-list-moreutils') makedepends=('cmake' 'automoc4' 'kdebindings-smokegen') source=("http://download.kde.org/stable/${pkgver}/src/perlqt-${pkgver}.tar.bz2") -sha1sums=('b4b3d8ce2b08af62202f5ae79fe57bde60dd9a85') +sha1sums=('db11f9625d6c531d9b4cf0d50c36e405600a7717') build() { cd "${srcdir}" diff --git a/extra/kdebindings-python/PKGBUILD b/extra/kdebindings-python/PKGBUILD index 09339c550..cabf80cc7 100644 --- a/extra/kdebindings-python/PKGBUILD +++ b/extra/kdebindings-python/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 145595 2011-12-23 10:46:04Z andrea $ +# $Id: PKGBUILD 147780 2012-01-28 10:32:45Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-python -pkgver=4.7.4 -pkgrel=2 +pkgver=4.8.0 +pkgrel=1 pkgdesc="KDE bindings for Python" url="http://kde.org/" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ groups=('kdebindings') depends=('kdepim-runtime' 'python2-pyqt' 'qscintilla') makedepends=('cmake' 'automoc4' 'boost') source=("http://download.kde.org/stable/${pkgver}/src/pykde4-${pkgver}.tar.bz2") -sha1sums=('cac4b94098dba73d58fb4f7d73d7c65c306517d1') +sha1sums=('cf204efebc1eda6de7f4405dbf5037bdaffd30e9') build() { cd "${srcdir}" diff --git a/extra/kdebindings-qtruby/PKGBUILD b/extra/kdebindings-qtruby/PKGBUILD index 94c565d6c..98da22277 100644 --- a/extra/kdebindings-qtruby/PKGBUILD +++ b/extra/kdebindings-qtruby/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144633 2011-12-08 09:18:43Z andrea $ +# $Id: PKGBUILD 147784 2012-01-28 10:32:52Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-qtruby -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Qt bindings for ruby" url="http://kde.org/" @@ -13,7 +13,7 @@ depends=('kdebindings-smokeqt' 'ruby') makedepends=('cmake' 'automoc4' 'kdebindings-smokegen') conflicts=('kdebindings-ruby') source=("http://download.kde.org/stable/${pkgver}/src/qtruby-${pkgver}.tar.bz2") -sha1sums=('e49e38a59238cf6f5ec9c2d9afc06f3330369fc7') +sha1sums=('9b8e9ab4926929909861f6557dea908d328a1dd2') build() { cd "${srcdir}" diff --git a/extra/kdebindings-qyoto/PKGBUILD b/extra/kdebindings-qyoto/PKGBUILD index fda759ab3..00f18981b 100644 --- a/extra/kdebindings-qyoto/PKGBUILD +++ b/extra/kdebindings-qyoto/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144631 2011-12-08 09:18:38Z andrea $ +# $Id: PKGBUILD 147782 2012-01-28 10:32:49Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-qyoto -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc=".NET/Mono bindings for the Qt libraries" url="http://kde.org/" @@ -13,7 +13,7 @@ depends=('kdebindings-smokeqt' 'mono') makedepends=('cmake' 'automoc4' 'kdebindings-smokegen') conflicts=('kdebindings-csharp') source=("http://download.kde.org/stable/${pkgver}/src/qyoto-${pkgver}.tar.bz2") -sha1sums=('8f2412a8bbb343bdb1e14c0fc6ef3681afe9d601') +sha1sums=('3e5abc08b5a097e332449f15c50975402934d60a') build() { cd "${srcdir}" diff --git a/extra/kdebindings-smokegen/PKGBUILD b/extra/kdebindings-smokegen/PKGBUILD index f347e8860..8e09d6e3d 100644 --- a/extra/kdebindings-smokegen/PKGBUILD +++ b/extra/kdebindings-smokegen/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144619 2011-12-08 09:18:20Z andrea $ +# $Id: PKGBUILD 147768 2012-01-28 10:32:21Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-smokegen -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="A general purpose C++ parser with a plugin infrastructure" url="http://kde.org/" @@ -11,15 +11,10 @@ license=('GPL' 'LGPL' 'FDL') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') conflicts=('kdebindings-smoke') -source=("http://download.kde.org/stable/${pkgver}/src/smokegen-${pkgver}.tar.bz2" - 'fix-crash.patch') -sha1sums=('068d37e2404311b9caa23d78ee7fa262188a8622' - 'b209b2b7017622fea3406c5a9636e2334566af01') +source=("http://download.kde.org/stable/${pkgver}/src/smokegen-${pkgver}.tar.bz2") +sha1sums=('9b4f0af954e845eecea8e7ed388e01cffb8974d2') build() { - cd "${srcdir}"/smokegen-${pkgver} - patch -p1 -i "${srcdir}"/fix-crash.patch - cd "${srcdir}" mkdir build cd build diff --git a/extra/kdebindings-smokekde/PKGBUILD b/extra/kdebindings-smokekde/PKGBUILD index 2a2fe59d5..de1a9b045 100644 --- a/extra/kdebindings-smokekde/PKGBUILD +++ b/extra/kdebindings-smokekde/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 145652 2011-12-26 11:44:48Z andrea $ +# $Id: PKGBUILD 147776 2012-01-28 10:32:39Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-smokekde -pkgver=4.7.4 -pkgrel=2 +pkgver=4.8.0 +pkgrel=1 pkgdesc="Language independent library for KDE bindings" url="http://kde.org/" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ makedepends=('cmake' 'automoc4' 'kdebindings-smokegen' 'boost' 'kdepimlibs' 'kdegraphics-okular' 'kdesdk-kate') conflicts=('kdebindings-smoke') source=("http://download.kde.org/stable/${pkgver}/src/smokekde-${pkgver}.tar.bz2") -sha1sums=('c3e2bd07158c4bc6a19123d5ae8e81529b52e07b') +sha1sums=('04f01d14cfc395fcf675b7a22202b41351f471f9') build() { cd "${srcdir}" diff --git a/extra/kdebindings-smokeqt/PKGBUILD b/extra/kdebindings-smokeqt/PKGBUILD index df5496acd..2bc6fa39d 100644 --- a/extra/kdebindings-smokeqt/PKGBUILD +++ b/extra/kdebindings-smokeqt/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144621 2011-12-08 09:18:24Z andrea $ +# $Id: PKGBUILD 147770 2012-01-28 10:32:24Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdebindings-smokeqt -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Language independent library for Qt bindings" url="http://kde.org/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime' 'qimageblitz' 'qscintilla' 'kdebindings-smokegen') makedepends=('cmake' 'automoc4') conflicts=('kdebindings-smoke') source=("http://download.kde.org/stable/${pkgver}/src/smokeqt-${pkgver}.tar.bz2") -sha1sums=('2b1033732d166946db3096ddbf6eb9a6ddb61877') +sha1sums=('9ad56f1441c92b6d24b7e9ec19fe62da34820731') build() { cd "${srcdir}" diff --git a/extra/kdeedu-analitza/PKGBUILD b/extra/kdeedu-analitza/PKGBUILD new file mode 100644 index 000000000..b61d7f774 --- /dev/null +++ b/extra/kdeedu-analitza/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 147804 2012-01-28 10:33:23Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kdeedu-analitza +pkgver=4.8.0 +pkgrel=1 +pkgdesc="A library to add mathematical features to your program" +url="http://kde.org/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdeedu') +depends=('kdelibs') +makedepends=('cmake' 'automoc4') +source=("http://download.kde.org/stable/${pkgver}/src/analitza-${pkgver}.tar.bz2") +sha1sums=('2681b114deab6f3fd215e0348e34c63116ddd31c') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../analitza-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/extra/kdeedu-blinken/PKGBUILD b/extra/kdeedu-blinken/PKGBUILD index 751311f91..cc16cf062 100644 --- a/extra/kdeedu-blinken/PKGBUILD +++ b/extra/kdeedu-blinken/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144667 2011-12-08 09:19:33Z andrea $ +# $Id: PKGBUILD 147828 2012-01-28 10:33:59Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-blinken -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Memory Enhancement Game" url="http://kde.org/applications/education/blinken/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/blinken-${pkgver}.tar.bz2") -sha1sums=('edeb024db23da00cf896bc41c6e3efa371d9867d') +sha1sums=('7283a49de949e15f9c9ab06dfa133012a4090a7c') build() { cd "${srcdir}" diff --git a/extra/kdeedu-cantor/PKGBUILD b/extra/kdeedu-cantor/PKGBUILD index 979f2b369..1d711115f 100644 --- a/extra/kdeedu-cantor/PKGBUILD +++ b/extra/kdeedu-cantor/PKGBUILD @@ -1,22 +1,22 @@ -# $Id: PKGBUILD 144669 2011-12-08 09:19:38Z andrea $ +# $Id: PKGBUILD 147830 2012-01-28 10:34:01Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-cantor -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="KDE Frontend to Mathematical Software" url="http://kde.org/applications/education/cantor/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') -depends=('kdebase-runtime' 'libspectre') +depends=('kdebase-runtime' 'libspectre' 'kdeedu-analitza') makedepends=('cmake' 'automoc4' 'r') optdepends=('maxima: Maxima backend' 'octave: Octave backend' 'r: R backend') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/cantor-${pkgver}.tar.bz2") -sha1sums=('da39832093c1ea6eb28c6b5b4f67cb24473d8fb5') +sha1sums=('b0ef9cb3c25e4909b6855317425e9d9f12697dff') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kalgebra/PKGBUILD b/extra/kdeedu-kalgebra/PKGBUILD index 3920893f2..d0cedbe26 100644 --- a/extra/kdeedu-kalgebra/PKGBUILD +++ b/extra/kdeedu-kalgebra/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 144671 2011-12-08 09:19:43Z andrea $ +# $Id: PKGBUILD 147832 2012-01-28 10:34:04Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kalgebra -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Graph Calculator" url="http://kde.org/applications/education/kalgebra/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') -depends=('kdebase-runtime' 'libkdeedu') +depends=('kdebase-runtime' 'libkdeedu' 'kdeedu-analitza') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kalgebra-${pkgver}.tar.bz2") -sha1sums=('8ef005a50316d7d86b7bc1ed306380d69ce946a0') +sha1sums=('45903803c0c0f3e05c30e7543ee3ebc891b60e4b') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kalzium/PKGBUILD b/extra/kdeedu-kalzium/PKGBUILD index 3b6bed08b..a8b1a478c 100644 --- a/extra/kdeedu-kalzium/PKGBUILD +++ b/extra/kdeedu-kalzium/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 144673 2011-12-08 09:19:48Z andrea $ +# $Id: PKGBUILD 147834 2012-01-28 10:34:07Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kalzium -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Periodic Table of Elements" url="http://kde.org/applications/education/kalzium/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') -depends=('kdelibs' 'avogadro' 'ocaml') +depends=('kdelibs' 'avogadro' 'ocaml' 'facile') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kalzium-${pkgver}.tar.bz2") -sha1sums=('6cb65b2c524f529976e4c63a75a7637a181d08d9') +sha1sums=('0d4f9d3a148052c93068d4c2c0ed22969ac05202') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kanagram/PKGBUILD b/extra/kdeedu-kanagram/PKGBUILD index 9eb18e25f..58ee2539d 100644 --- a/extra/kdeedu-kanagram/PKGBUILD +++ b/extra/kdeedu-kanagram/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144675 2011-12-08 09:19:54Z andrea $ +# $Id: PKGBUILD 147836 2012-01-28 10:34:10Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kanagram -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Letter Order Game" url="http://kde.org/applications/education/kanagram/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime' 'libkdeedu') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kanagram-${pkgver}.tar.bz2") -sha1sums=('15fda47cd6685a7e19fb4744ec930b9a4dcfbe05') +sha1sums=('85daff6309edf72f93fe0f692413216313c98dbd') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kbruch/PKGBUILD b/extra/kdeedu-kbruch/PKGBUILD index 6e2641b1e..07788466a 100644 --- a/extra/kdeedu-kbruch/PKGBUILD +++ b/extra/kdeedu-kbruch/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144677 2011-12-08 09:19:59Z andrea $ +# $Id: PKGBUILD 147838 2012-01-28 10:34:13Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kbruch -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Exercise Fractions" url="http://kde.org/applications/education/kbruch/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kbruch-${pkgver}.tar.bz2") -sha1sums=('36165292cb9935343d1aa2572935a130b6619f00') +sha1sums=('0f602d0dd1355dbf84c26f813458bdeb0508f4f8') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kgeography/PKGBUILD b/extra/kdeedu-kgeography/PKGBUILD index c2acba655..62b2d2507 100644 --- a/extra/kdeedu-kgeography/PKGBUILD +++ b/extra/kdeedu-kgeography/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144679 2011-12-08 09:20:02Z andrea $ +# $Id: PKGBUILD 147840 2012-01-28 10:34:16Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kgeography -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Geography Trainer" url="http://kde.org/applications/education/kgeography/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kgeography-${pkgver}.tar.bz2") -sha1sums=('4a90c59928a4947c5cd970ed72e5e9cea370d8e6') +sha1sums=('07d77cd5182e0594273aa713ad62134232868c08') build() { cd "${srcdir}" diff --git a/extra/kdeedu-khangman/PKGBUILD b/extra/kdeedu-khangman/PKGBUILD index 6bbce0fdd..2d6bec05e 100644 --- a/extra/kdeedu-khangman/PKGBUILD +++ b/extra/kdeedu-khangman/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144681 2011-12-08 09:20:04Z andrea $ +# $Id: PKGBUILD 147842 2012-01-28 10:34:18Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-khangman -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Hangman Game" url="http://kde.org/applications/education/khangman/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime' 'libkdeedu') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/khangman-${pkgver}.tar.bz2") -sha1sums=('c5999ba4218cb0331b906fbcaafa7f497762221d') +sha1sums=('2deaab70f8ed414a4ddb21aeb91627dac74986a6') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kig/PKGBUILD b/extra/kdeedu-kig/PKGBUILD index b34fd7fd2..9100be55c 100644 --- a/extra/kdeedu-kig/PKGBUILD +++ b/extra/kdeedu-kig/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144683 2011-12-08 09:20:07Z andrea $ +# $Id: PKGBUILD 147844 2012-01-28 10:34:21Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kig -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Interactive Geometry" url="http://kde.org/applications/education/kig/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.bz2") -sha1sums=('4c76ef89e6210f2f25e719176db4d8a2b31b6222') +sha1sums=('141a4c9230ab134dcf7016c2880357d9e52b8f69') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kiten/PKGBUILD b/extra/kdeedu-kiten/PKGBUILD index 4f800258a..0df8d937d 100644 --- a/extra/kdeedu-kiten/PKGBUILD +++ b/extra/kdeedu-kiten/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144685 2011-12-08 09:20:10Z andrea $ +# $Id: PKGBUILD 147846 2012-01-28 10:34:25Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kiten -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Japanese Reference/Study Tool" url="http://kde.org/applications/education/kiten/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kiten-${pkgver}.tar.bz2") -sha1sums=('8ec806306a7b08cb8ca5e567a48417cd2268e501') +sha1sums=('4068f2bcca69150a9b340a6d47ec4902d9dbacc9') build() { cd "${srcdir}" diff --git a/extra/kdeedu-klettres/PKGBUILD b/extra/kdeedu-klettres/PKGBUILD index 059453365..4550f8616 100644 --- a/extra/kdeedu-klettres/PKGBUILD +++ b/extra/kdeedu-klettres/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144687 2011-12-08 09:20:12Z andrea $ +# $Id: PKGBUILD 147848 2012-01-28 10:34:27Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-klettres -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Learn The Alphabet" url="http://kde.org/applications/education/klettres/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/klettres-${pkgver}.tar.bz2") -sha1sums=('d2450f7aa24fc0118dd20d2e11d61fca68ba5461') +sha1sums=('9d2c13dd14db79451db8afdc184f264b1ba29d81') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kmplot/PKGBUILD b/extra/kdeedu-kmplot/PKGBUILD index c9ddb0c5f..3b3348290 100644 --- a/extra/kdeedu-kmplot/PKGBUILD +++ b/extra/kdeedu-kmplot/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144689 2011-12-08 09:20:14Z andrea $ +# $Id: PKGBUILD 147850 2012-01-28 10:34:32Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kmplot -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Mathematical Function Plotter" url="http://kde.org/applications/education/kmplot/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kmplot-${pkgver}.tar.bz2") -sha1sums=('b0b2b748e4ea0f670ffe5c9be01a6997a061a75c') +sha1sums=('914151c41fba93cb1d0cd659fb3e392c0de1b5f8') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kstars/PKGBUILD b/extra/kdeedu-kstars/PKGBUILD index 80f152bb2..a4c2e8a9d 100644 --- a/extra/kdeedu-kstars/PKGBUILD +++ b/extra/kdeedu-kstars/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144691 2011-12-08 09:20:17Z andrea $ +# $Id: PKGBUILD 147852 2012-01-28 10:34:37Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kstars -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Desktop Planetarium" url="http://kde.org/applications/education/kstars/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime' 'eigen' 'cfitsio' 'libindi') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kstars-${pkgver}.tar.bz2") -sha1sums=('d4e489093b440e4246c817821187193e4e53be66') +sha1sums=('249f80cdd5198c5c22ce75cea4d1718d5865a3c9') build() { cd "${srcdir}" diff --git a/extra/kdeedu-ktouch/PKGBUILD b/extra/kdeedu-ktouch/PKGBUILD index e2defda91..6b0d2fed0 100644 --- a/extra/kdeedu-ktouch/PKGBUILD +++ b/extra/kdeedu-ktouch/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144693 2011-12-08 09:20:19Z andrea $ +# $Id: PKGBUILD 147854 2012-01-28 10:34:42Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-ktouch -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Touch Typing Tutor" url="http://kde.org/applications/education/ktouch/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/ktouch-${pkgver}.tar.bz2") -sha1sums=('92d7e446216bdfdf68e13c9f0ba39d44e02b29c9') +sha1sums=('e1e1338e67c0c02c4573a4aa95a721c8f674f2c6') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kturtle/PKGBUILD b/extra/kdeedu-kturtle/PKGBUILD index bcfb7bd13..49d046694 100644 --- a/extra/kdeedu-kturtle/PKGBUILD +++ b/extra/kdeedu-kturtle/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144695 2011-12-08 09:20:21Z andrea $ +# $Id: PKGBUILD 147856 2012-01-28 10:34:46Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kturtle -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Educational Programming Environment" url="http://kde.org/applications/education/kturtle/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kturtle-${pkgver}.tar.bz2") -sha1sums=('b3baa81277417f352d4a0bdca61df75515f30c0d') +sha1sums=('3da036991fed5840fb45d033efe0082570e804d9') build() { cd "${srcdir}" diff --git a/extra/kdeedu-kwordquiz/PKGBUILD b/extra/kdeedu-kwordquiz/PKGBUILD index 4520a9e90..c073ce38e 100644 --- a/extra/kdeedu-kwordquiz/PKGBUILD +++ b/extra/kdeedu-kwordquiz/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144697 2011-12-08 09:20:24Z andrea $ +# $Id: PKGBUILD 147858 2012-01-28 10:34:51Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kwordquiz -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Flash Card Trainer" url="http://kde.org/applications/education/kwordquiz/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime' 'libkdeedu') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kwordquiz-${pkgver}.tar.bz2") -sha1sums=('c726b0856234ce78fab0ecd61072cdb035e66513') +sha1sums=('34eec78fe68aef8b7166ca6cca84ed58290484b9') build() { cd "${srcdir}" diff --git a/extra/kdeedu-marble/PKGBUILD b/extra/kdeedu-marble/PKGBUILD index ab4b93f06..63a86ea2e 100644 --- a/extra/kdeedu-marble/PKGBUILD +++ b/extra/kdeedu-marble/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144641 2011-12-08 09:18:54Z andrea $ +# $Id: PKGBUILD 147794 2012-01-28 10:33:10Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-marble -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Desktop Globe" url="http://kde.org/applications/education/marble/" @@ -14,7 +14,7 @@ makedepends=('cmake' 'automoc4' 'gpsd') optdepends=('gpsd: gps support') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/marble-${pkgver}.tar.bz2") -sha1sums=('e560c355a8d91bbb61b9f2e6c7cb11bd79eba1ab') +sha1sums=('6c3c6b03c9d8e92730d6955adcbdb5de42fda43d') build() { cd "${srcdir}" diff --git a/extra/kdeedu-parley/PKGBUILD b/extra/kdeedu-parley/PKGBUILD index 91334e9a8..afabf28a9 100644 --- a/extra/kdeedu-parley/PKGBUILD +++ b/extra/kdeedu-parley/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144699 2011-12-08 09:20:26Z andrea $ +# $Id: PKGBUILD 147860 2012-01-28 10:34:57Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-parley -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Vocabulary Trainer" url="http://kde.org/applications/education/parley/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime' 'libkdeedu') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/parley-${pkgver}.tar.bz2") -sha1sums=('e61d0192dce0e1427ee41ff96f1bcb73c77cbcef') +sha1sums=('800eea4d6339da608cc720b5d6186de9a43b70ce') build() { cd "${srcdir}" diff --git a/extra/kdeedu-rocs/PKGBUILD b/extra/kdeedu-rocs/PKGBUILD index 8d98021db..74d79c2be 100644 --- a/extra/kdeedu-rocs/PKGBUILD +++ b/extra/kdeedu-rocs/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144701 2011-12-08 09:20:28Z andrea $ +# $Id: PKGBUILD 147862 2012-01-28 10:35:03Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-rocs -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Rocs Graph Theory" url="http://kde.org/applications/education/rocs/" @@ -12,7 +12,7 @@ groups=('kde' 'kdeedu') depends=('kdebase-runtime' 'boost-libs') makedepends=('cmake' 'automoc4' 'boost') source=("http://download.kde.org/stable/${pkgver}/src/rocs-${pkgver}.tar.bz2") -sha1sums=('f808118fcd5df59a9a808747be940a88b30cf6f3') +sha1sums=('d29daa9633e2ba6e2d3e0c7155ade752216a8969') options=('!makeflags') build() { diff --git a/extra/kdeedu-step/PKGBUILD b/extra/kdeedu-step/PKGBUILD index 49b41aa66..ae3b7af65 100644 --- a/extra/kdeedu-step/PKGBUILD +++ b/extra/kdeedu-step/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144703 2011-12-08 09:20:30Z andrea $ +# $Id: PKGBUILD 147864 2012-01-28 10:35:09Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-step -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Interactive Physical Simulator" url="http://kde.org/applications/education/step/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime' 'libqalculate' 'gsl' 'eigen') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/step-${pkgver}.tar.bz2") -sha1sums=('30dba80e6f34124fd5a8ebf6688e261ab109d0d4') +sha1sums=('08fff354effdc6f10e3b55ab011f8393a19de9fd') build() { cd "${srcdir}" diff --git a/extra/kdegames/PKGBUILD b/extra/kdegames/PKGBUILD index 6d117d163..fea4280f0 100644 --- a/extra/kdegames/PKGBUILD +++ b/extra/kdegames/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 144705 2011-12-08 09:20:36Z andrea $ +# $Id: PKGBUILD 147866 2012-01-28 10:35:26Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz @@ -43,16 +43,16 @@ pkgname=('kdegames-bomber' 'kdegames-libkmahjongg' 'kdegames-lskat' 'kdegames-palapeli') -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegames') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'ggz-client-libs' 'twisted' - 'kdebindings-python' 'openal') +makedepends=('cmake' 'automoc4' 'ggz-client-libs' 'twisted' 'kdebindings-python' + 'openal') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2") -sha1sums=('a1f97524f868ab9dae0439abcbf4b41f68715598') +sha1sums=('714a775811dae11ca85ce1113d673894b0afdcdd') build() { cd $srcdir @@ -102,6 +102,7 @@ package_kdegames-granatier() { package_kdegames-kajongg() { pkgdesc='The ancient Chinese board game for 4 players' depends=('kdegames-libkdegames' 'kdegames-libkmahjongg' 'kdebindings-python' 'twisted') + url="http://www.kde.org/applications/games/kajongg/" install='kdegames.install' cd $srcdir/build/kajongg make DESTDIR=$pkgdir install @@ -362,7 +363,7 @@ package_kdegames-kpatience() { pkgdesc='Patience Card Game' depends=('kdebase-runtime' 'kdegames-libkdegames') url="http://kde.org/applications/games/kpatience/" - install='kdegames.install' + install='kdegames-kpatience.install' replaces=('kdegames-kpat') cd $srcdir/build/kpat make DESTDIR=$pkgdir install diff --git a/extra/kdegames/kdegames-kpatience.install b/extra/kdegames/kdegames-kpatience.install new file mode 100644 index 000000000..9b20edb30 --- /dev/null +++ b/extra/kdegames/kdegames-kpatience.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdegraphics-gwenview/PKGBUILD b/extra/kdegraphics-gwenview/PKGBUILD index 79bdcde8e..57c55b946 100644 --- a/extra/kdegraphics-gwenview/PKGBUILD +++ b/extra/kdegraphics-gwenview/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144707 2011-12-08 09:20:42Z andrea $ +# $Id: PKGBUILD 147868 2012-01-28 10:35:33Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-gwenview -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="A fast and easy to use image viewer for KDE" url="http://kde.org/applications/graphics/gwenview/" @@ -14,7 +14,7 @@ makedepends=('cmake' 'automoc4') optdepends=('kipi-plugins: extra plugins to share photos') install=$pkgname.install source=("http://download.kde.org/stable/${pkgver}/src/gwenview-${pkgver}.tar.bz2") -sha1sums=('598714d18cf7adab8afd4f906070f0915e1cdc95') +sha1sums=('ea1bc5dec79fb0810fc4629e8cf023c78f12ef0b') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-kamera/PKGBUILD b/extra/kdegraphics-kamera/PKGBUILD index 3dbb7c305..c716b2ef4 100644 --- a/extra/kdegraphics-kamera/PKGBUILD +++ b/extra/kdegraphics-kamera/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144709 2011-12-08 09:20:46Z andrea $ +# $Id: PKGBUILD 147870 2012-01-28 10:35:37Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kamera -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Configure Kamera" url="http://kde.org/applications/graphics/kamera/" @@ -12,7 +12,7 @@ groups=('kde' 'kdegraphics') depends=('kdebase-runtime' 'gphoto2') makedepends=('cmake' 'automoc4') source=("http://download.kde.org/stable/${pkgver}/src/kamera-${pkgver}.tar.bz2") -sha1sums=('098c71d7588d5163656cb07a476efbfc6755900a') +sha1sums=('1693f435764124651d17579449aa4bfadff3701b') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-kcolorchooser/PKGBUILD b/extra/kdegraphics-kcolorchooser/PKGBUILD index be6b6ea2e..aea8da83d 100644 --- a/extra/kdegraphics-kcolorchooser/PKGBUILD +++ b/extra/kdegraphics-kcolorchooser/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144711 2011-12-08 09:20:51Z andrea $ +# $Id: PKGBUILD 147872 2012-01-28 10:35:43Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kcolorchooser -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Color Chooser" url="http://kde.org/applications/graphics/kcolorchooser/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kcolorchooser-${pkgver}.tar.bz2") -sha1sums=('bbfda234e8aec109c63226499fc72355b1c051ca') +sha1sums=('84ab09ba2e0dbe8077a91d3496b6c65f54b636fc') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-kgamma/PKGBUILD b/extra/kdegraphics-kgamma/PKGBUILD index cfe08dea6..06e9afd93 100644 --- a/extra/kdegraphics-kgamma/PKGBUILD +++ b/extra/kdegraphics-kgamma/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144713 2011-12-08 09:20:55Z andrea $ +# $Id: PKGBUILD 147875 2012-01-28 10:35:49Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kgamma -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="A monitor calibration tool" url="http://kde.org/applications/graphics/kgamma/" @@ -15,7 +15,7 @@ groups=('kde' 'kdegraphics') depends=('kdebase-runtime' 'libxxf86vm') makedepends=('cmake' 'automoc4') source=("http://download.kde.org/stable/${pkgver}/src/kgamma-${pkgver}.tar.bz2") -sha1sums=('cd528839b6a9be997ed8d4a2fc87a8b5b8e8de91') +sha1sums=('ff86fb416475aefa69d58c3c69f5426b32ea63ae') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-kolourpaint/PKGBUILD b/extra/kdegraphics-kolourpaint/PKGBUILD index 2a3240bfe..e9f400e4d 100644 --- a/extra/kdegraphics-kolourpaint/PKGBUILD +++ b/extra/kdegraphics-kolourpaint/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144715 2011-12-08 09:21:00Z andrea $ +# $Id: PKGBUILD 147877 2012-01-28 10:35:54Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kolourpaint -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Paint Program" url="http://kde.org/applications/graphics/kolourpaint/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime' 'qimageblitz') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kolourpaint-${pkgver}.tar.bz2") -sha1sums=('31e23ab6735291ec86ebd83e2eee7afa191a4a59') +sha1sums=('2d8c32fb16a8b4f479906557b5eb88c519e2c08e') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-kruler/PKGBUILD b/extra/kdegraphics-kruler/PKGBUILD index 4507ae8ac..99b13aca4 100644 --- a/extra/kdegraphics-kruler/PKGBUILD +++ b/extra/kdegraphics-kruler/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144717 2011-12-08 09:21:05Z andrea $ +# $Id: PKGBUILD 147879 2012-01-28 10:35:59Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-kruler -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Screen Ruler" url="http://kde.org/applications/graphics/kruler/" @@ -13,7 +13,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kruler-${pkgver}.tar.bz2") -sha1sums=('a854213e5342e382d3b9c4a29d1aada654378d0f') +sha1sums=('e453a29c327e13458c32abd86ce7b98454b859f2') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-ksaneplugin/PKGBUILD b/extra/kdegraphics-ksaneplugin/PKGBUILD index 9ea2b4db2..e9dd957a0 100644 --- a/extra/kdegraphics-ksaneplugin/PKGBUILD +++ b/extra/kdegraphics-ksaneplugin/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144719 2011-12-08 09:21:08Z andrea $ +# $Id: PKGBUILD 147881 2012-01-28 10:36:03Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-ksaneplugin -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="A scan plugin that implements the scanning" url="http://kde.org/" @@ -13,7 +13,7 @@ makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') source=("http://download.kde.org/stable/${pkgver}/src/ksaneplugin-${pkgver}.tar.bz2") -sha1sums=('15f7ca6fbabb757898cc0f18685f5e204e6b3f56') +sha1sums=('0110854a69395bc4402caf2b91fc3cf44a4200ad') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-ksnapshot/PKGBUILD b/extra/kdegraphics-ksnapshot/PKGBUILD index a04e71180..7b218646b 100644 --- a/extra/kdegraphics-ksnapshot/PKGBUILD +++ b/extra/kdegraphics-ksnapshot/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144721 2011-12-08 09:21:11Z andrea $ +# $Id: PKGBUILD 147883 2012-01-28 10:36:07Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-ksnapshot -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Screen Capture Program" url="http://kde.org/applications/graphics/ksnapshot/" @@ -14,7 +14,7 @@ makedepends=('cmake' 'automoc4') optdepends=('kipi-plugins') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/ksnapshot-${pkgver}.tar.bz2") -sha1sums=('bc40ae740e3a684e47ba1b5af01aeb427bb4336e') +sha1sums=('a95584fd44401d130815c1ec79c21532197dbef8') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-mobipocket/PKGBUILD b/extra/kdegraphics-mobipocket/PKGBUILD index 6a8dc2dce..a7386eefd 100644 --- a/extra/kdegraphics-mobipocket/PKGBUILD +++ b/extra/kdegraphics-mobipocket/PKGBUILD @@ -1,25 +1,26 @@ -# $Id: PKGBUILD 144723 2011-12-08 09:21:12Z andrea $ +# $Id: PKGBUILD 147885 2012-01-28 10:36:10Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-mobipocket -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="A collection of plugins to handle mobipocket files" url="http://kde.org/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdelibs') -makedepends=('cmake' 'automoc4') +makedepends=('cmake' 'automoc4' 'kdegraphics-okular') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') -source=("http://download.kde.org/stable/${pkgver}/src/mobipocket-${pkgver}.tar.bz2") -sha1sums=('db278a2ebe4680a94c4963a53c1501cf1f1d9d2a') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('86ae995f7278f14e1169335b24fe7a61069c39a2') build() { cd "${srcdir}" mkdir build cd build - cmake ../mobipocket-${pkgver} \ + cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make diff --git a/extra/kdegraphics-mobipocket/kdegraphics-mobipocket.install b/extra/kdegraphics-mobipocket/kdegraphics-mobipocket.install new file mode 100644 index 000000000..660593cf5 --- /dev/null +++ b/extra/kdegraphics-mobipocket/kdegraphics-mobipocket.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdegraphics-okular/PKGBUILD b/extra/kdegraphics-okular/PKGBUILD index 0aecf056f..5f07c1c52 100644 --- a/extra/kdegraphics-okular/PKGBUILD +++ b/extra/kdegraphics-okular/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144623 2011-12-08 09:18:27Z andrea $ +# $Id: PKGBUILD 147772 2012-01-28 10:32:30Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-okular -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc='Document Viewer' arch=('i686' 'x86_64') @@ -11,11 +11,11 @@ license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegraphics') depends=('kdebase-runtime' 'qimageblitz' 'poppler-qt' 'chmlib' 'djvulibre' 'ebook-tools' 'libspectre') -makedepends=('pkgconfig' 'cmake' 'automoc4') +makedepends=('cmake' 'automoc4') optdepends=('kdegraphics-mobipocket: mobipocket support') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/okular-${pkgver}.tar.bz2") -sha1sums=('5f02bbfeff81b55e0fd5d9e973cb927909faccb1') +sha1sums=('c112a490cd1245041c9d81b9377838fd0de4d60c') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-strigi-analyzer/PKGBUILD b/extra/kdegraphics-strigi-analyzer/PKGBUILD index a0e74cf03..0ca0ef0c0 100644 --- a/extra/kdegraphics-strigi-analyzer/PKGBUILD +++ b/extra/kdegraphics-strigi-analyzer/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144725 2011-12-08 09:21:15Z andrea $ +# $Id: PKGBUILD 147887 2012-01-28 10:36:13Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-strigi-analyzer -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Strigi analyzers for various graphics file formats" url="http://kde.org/" @@ -13,7 +13,7 @@ makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('39b3b0312663a3ef7a68c972b39bf12fb4cabe8b') +sha1sums=('9c607105f30c13e83fac3430649696a19e1c4d7b') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-svgpart/PKGBUILD b/extra/kdegraphics-svgpart/PKGBUILD index 9ef85adb9..d5a5d7f1e 100644 --- a/extra/kdegraphics-svgpart/PKGBUILD +++ b/extra/kdegraphics-svgpart/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144727 2011-12-08 09:21:17Z andrea $ +# $Id: PKGBUILD 147889 2012-01-28 10:36:16Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-svgpart -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="A KPart for viewving SVGs" url="http://kde.org/" @@ -13,7 +13,7 @@ makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') source=("http://download.kde.org/stable/${pkgver}/src/svgpart-${pkgver}.tar.bz2") -sha1sums=('38dcb3c468ca359e7b0a0027523b8156de6a06a1') +sha1sums=('bd432a31976cb64c41035382a8133332aa184c2a') build() { cd "${srcdir}" diff --git a/extra/kdegraphics-thumbnailers/PKGBUILD b/extra/kdegraphics-thumbnailers/PKGBUILD index 0389f30ee..0f3df5c9d 100644 --- a/extra/kdegraphics-thumbnailers/PKGBUILD +++ b/extra/kdegraphics-thumbnailers/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 144729 2011-12-08 09:21:20Z andrea $ +# $Id: PKGBUILD 147891 2012-01-28 10:36:18Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-thumbnailers -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="Thumbnailers for various graphics file formats" url="http://kde.org/" @@ -13,7 +13,7 @@ makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('0e1636da30c78ad2c186bcd30c0566406b920126') +sha1sums=('acaf1e7f44c3e65619ece032b9165ade65e418b5') build() { cd "${srcdir}" diff --git a/extra/kdelibs/PKGBUILD b/extra/kdelibs/PKGBUILD index 019a971bf..1bfbb3a18 100644 --- a/extra/kdelibs/PKGBUILD +++ b/extra/kdelibs/PKGBUILD @@ -1,30 +1,28 @@ -# $Id: PKGBUILD 145730 2011-12-29 13:52:20Z andrea $ +# $Id: PKGBUILD 147759 2012-01-28 10:32:04Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdelibs -pkgver=4.7.4 -pkgrel=5 +pkgver=4.8.0 +pkgrel=1 pkgdesc="KDE Core Libraries" arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') -depends=('strigi' 'attica' 'libxss' 'xz' 'openssl' 'soprano' 'krb5' - 'shared-desktop-ontologies' 'qca' 'libdbusmenu-qt' 'polkit-qt' 'grantlee' - 'shared-mime-info' 'enchant' 'giflib' 'jasper' 'openexr' 'xdg-utils' - 'phonon' 'hicolor-icon-theme' 'upower' 'udisks' 'libxcursor' - 'docbook-xsl' 'qtwebkit') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'avahi' 'libgl' 'hspell') +depends=('strigi' 'attica' 'libxss' 'xz' 'soprano' 'krb5' 'grantlee' + 'shared-desktop-ontologies' 'qca' 'libdbusmenu-qt' 'polkit-qt' + 'shared-mime-info' 'enchant' 'giflib' 'jasper' 'openexr' 'docbook-xsl' + 'upower' 'udisks' 'libxcursor' 'phonon' 'qtwebkit') +makedepends=('cmake' 'automoc4' 'avahi' 'libgl' 'hspell') replaces=('kdelibs-experimental') -install='kdelibs.install' +install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2" 'kde-applications-menu.patch' 'archlinux-menu.patch' - 'fix-knotify-filepath.patch' 'kdelibs-4.7.4-xinelib12x.patch') -sha1sums=('78b25e93a8c70ccc1e0f117cce960fe4e1deb8d8' + 'fix-knotify-filepath.patch') +sha1sums=('5e4744405734e6c3ce572ef7d16054390692b38a' '86ee8c8660f19de8141ac99cd6943964d97a1ed7' '63a850ab4196b9d06934f2b4a13acd9f7739bc67' - '3312f6005aa56a9b992c74008fe5b314f1c8ffba' - '9cb83cb7f6394549354c6837977f9e9529127041') + '3312f6005aa56a9b992c74008fe5b314f1c8ffba') build() { cd "${srcdir}"/${pkgname}-${pkgver} @@ -37,8 +35,6 @@ build() { # https://bugs.kde.org/show_bug.cgi?id=285028 patch -p1 -i "${srcdir}"/fix-knotify-filepath.patch - patch -p1 -i "${srcdir}"/kdelibs-4.7.4-xinelib12x.patch - cd "${srcdir}" mkdir build cd build diff --git a/extra/kdemultimedia/PKGBUILD b/extra/kdemultimedia/PKGBUILD index 6ca9a9ea1..97b2f3caa 100644 --- a/extra/kdemultimedia/PKGBUILD +++ b/extra/kdemultimedia/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 144731 2011-12-08 09:21:22Z andrea $ +# $Id: PKGBUILD 147893 2012-01-28 10:36:21Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz @@ -10,17 +10,17 @@ pkgname=('kdemultimedia-dragonplayer' 'kdemultimedia-kmix' 'kdemultimedia-kscd' 'kdemultimedia-mplayerthumbs') -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdemultimedia') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdelibs' 'tunepimp' - 'ffmpeg' 'mplayer' 'pulseaudio' 'libmusicbrainz3') +makedepends=('cmake' 'automoc4' 'kdelibs' 'tunepimp' 'ffmpeg' 'mplayer' + 'pulseaudio' 'libmusicbrainz3') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2" 'mplayerthumbs.config') -sha1sums=('e0001afac38e35e3ab7b919d79f74cd57e3c18dd' +sha1sums=('210bfd435c8e6f52aa78ab46f9487a159ab2ac83' 'ba016fa2563c14ffcba852c62506b66bfc6ee683') build() { @@ -30,8 +30,7 @@ build() { cmake ../${pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DWITH_Xine=OFF + -DCMAKE_INSTALL_PREFIX=/usr make } @@ -39,7 +38,7 @@ package_kdemultimedia-dragonplayer() { pkgdesc='Video Player' depends=('kdebase-runtime') url="http://kde.org/applications/multimedia/dragonplayer/" - install='kdemultimedia.install' + install='kdemultimedia-dragonplayer.install' cd $srcdir/build/dragonplayer make DESTDIR=$pkgdir install cd $srcdir/build/doc/dragonplayer diff --git a/extra/kdemultimedia/kdemultimedia-dragonplayer.install b/extra/kdemultimedia/kdemultimedia-dragonplayer.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/extra/kdemultimedia/kdemultimedia-dragonplayer.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdenetwork/PKGBUILD b/extra/kdenetwork/PKGBUILD index 3d03674e9..795411af3 100644 --- a/extra/kdenetwork/PKGBUILD +++ b/extra/kdenetwork/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 144733 2011-12-08 09:21:25Z andrea $ +# $Id: PKGBUILD 147895 2012-01-28 10:36:24Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz @@ -10,18 +10,18 @@ pkgname=('kdenetwork-filesharing' 'kdenetwork-kppp' 'kdenetwork-krdc' 'kdenetwork-krfb') -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdenetwork') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr' - 'qca-ossl' 'kdebase-workspace' 'kdebase-lib' 'libvncserver' 'libmsn' 'ppp' +makedepends=('cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr' 'ppp' + 'qca-ossl' 'kdebase-workspace' 'kdebase-lib' 'libvncserver' 'libmsn' 'v4l-utils' 'libidn' 'rdesktop' 'qimageblitz' 'libxdamage' 'libgadu' 'telepathy-qt4' 'libktorrent' 'libmms' 'mediastreamer') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2") -sha1sums=('15d5bdcda0e05de6247b22b96c6ca4a98da8a278') +sha1sums=('51ea55dbcbece59535af61f7450e8ac2aa1db28b') build() { cd "${srcdir}" @@ -55,9 +55,8 @@ package_kdenetwork-kdnssd() { package_kdenetwork-kget() { pkgdesc='Download Manager' depends=('kdebase-workspace' 'kdebase-lib' 'libktorrent' 'libmms') - optdepends=('python2: YouTube plugin') url="http://kde.org/applications/internet/kget/" - install='kdenetwork.install' + install='kdenetwork-kget.install' cd $srcdir/build/kget make DESTDIR=$pkgdir install cd $srcdir/build/doc/kget @@ -67,9 +66,9 @@ package_kdenetwork-kget() { package_kdenetwork-kopete() { pkgdesc='Instant Messenger' depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libmsn' - 'libidn' 'qimageblitz' 'v4l-utils' 'libgadu' 'mediastreamer') + 'libidn' 'qimageblitz' 'libgadu' 'mediastreamer') url="http://kde.org/applications/internet/kopete/" - install='kdenetwork.install' + install='kdenetwork-kopete.install' cd $srcdir/build/kopete make DESTDIR=$pkgdir install cd $srcdir/build/doc/kopete @@ -80,7 +79,7 @@ package_kdenetwork-kppp() { pkgdesc='Internet Dial-Up Tool' depends=('kdebase-runtime' 'ppp') url="http://kde.org/applications/internet/kppp/" - install='kdenetwork.install' + install='kdenetwork-kppp.install' cd $srcdir/build/kppp make DESTDIR=$pkgdir install cd $srcdir/build/doc/kppp diff --git a/extra/kdenetwork/kdenetwork-kget.install b/extra/kdenetwork/kdenetwork-kget.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/extra/kdenetwork/kdenetwork-kget.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdenetwork/kdenetwork-kopete.install b/extra/kdenetwork/kdenetwork-kopete.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/extra/kdenetwork/kdenetwork-kopete.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdenetwork/kdenetwork-kppp.install b/extra/kdenetwork/kdenetwork-kppp.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/extra/kdenetwork/kdenetwork-kppp.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdepim-runtime/PKGBUILD b/extra/kdepim-runtime/PKGBUILD index 894661fc2..3b610f9c5 100644 --- a/extra/kdepim-runtime/PKGBUILD +++ b/extra/kdepim-runtime/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 144617 2011-12-08 09:18:18Z andrea $ +# $Id: PKGBUILD 147766 2012-01-28 10:32:18Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=kdepim-runtime -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc='KDE PIM Runtime Environment' arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') depends=('kdepimlibs' 'kdebase-runtime') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost') +makedepends=('cmake' 'automoc4' 'boost') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('fb02f53673316aaafb65b7c4dd570f3be3b4e935') +sha1sums=('1cf75a92ddd0c18891163cd9d7f2290afae17472') build() { cd "${srcdir}" diff --git a/extra/kdepim/PKGBUILD b/extra/kdepim/PKGBUILD index 7854e5dd8..06b32f1a6 100644 --- a/extra/kdepim/PKGBUILD +++ b/extra/kdepim/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 144735 2011-12-08 09:21:28Z andrea $ +# $Id: PKGBUILD 147897 2012-01-28 10:36:28Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz @@ -18,18 +18,17 @@ pkgname=('kdepim-akonadiconsole' 'kdepim-korganizer' 'kdepim-kresources' 'kdepim-ktimetracker' - 'kdepim-libkdepim' - 'kdepim-wizards') -pkgver=4.7.4 + 'kdepim-libkdepim') +pkgver=4.8.0 pkgrel=1 arch=('i686' 'x86_64') url='http://pim.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdepim') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss' - 'pilot-link' 'kde-agent') +makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss' 'pilot-link' + 'kde-agent') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2") -sha1sums=('233f6c413eeedd4af7cf15106a2af7b8f29977bf') +sha1sums=('61509f42a96193ae2a9b9f8560dccb73d739f356') build() { cd "${srcdir}" @@ -127,6 +126,7 @@ package_kdepim-kjots() { package_kdepim-kleopatra() { pkgdesc='Certificate Manager and Unified Crypto GUI' depends=('kdepim-libkdepim') + install=kdepim-kleopatra.install url="http://kde.org/applications/utilities/kleopatra/" cd "${srcdir}"/build/kleopatra make DESTDIR="${pkgdir}" install @@ -138,13 +138,13 @@ package_kdepim-kmail() { pkgdesc='Mail Client' depends=('kdepim-libkdepim') url="http://kde.org/applications/internet/kmail/" - install='kdepim.install' + install='kdepim-kmail.install' conflicts=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve' 'kdepim-mimelib' 'kdepim-plugins') replaces=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve' 'kdepim-mimelib' 'kdepim-plugins') for i in kmail doc/kmail kmailcvt ksendemail libksieve mailcommon \ - nepomuk_email_feeder ontologies kontact/plugins/kmail; do + mailfilteragent ontologies kontact/plugins/kmail; do cd "${srcdir}"/build/${i} make DESTDIR="${pkgdir}" install done @@ -194,7 +194,7 @@ package_kdepim-korganizer() { pkgdesc='Calendar and Scheduling Program' depends=('kdepim-libkdepim') url="http://kde.org/applications/office/korganizer" - install='kdepim.install' + install='kdepim-korganizer.install' cd "${srcdir}"/build/korganizer make DESTDIR="${pkgdir}" install cd "${srcdir}"/build/doc/korganizer @@ -242,11 +242,3 @@ package_kdepim-libkdepim() { make DESTDIR="${pkgdir}" install done } - -package_kdepim-wizards() { - pkgdesc='KDE Groupware Wizard' - depends=('kdepim-kresources') - url='http://pim.kde.org' - cd "${srcdir}"/build/wizards - make DESTDIR="${pkgdir}" install -} diff --git a/extra/kdepim/kdepim-kleopatra.install b/extra/kdepim/kdepim-kleopatra.install new file mode 100644 index 000000000..5787df72f --- /dev/null +++ b/extra/kdepim/kdepim-kleopatra.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdepim/kdepim-kmail.install b/extra/kdepim/kdepim-kmail.install new file mode 100644 index 000000000..5787df72f --- /dev/null +++ b/extra/kdepim/kdepim-kmail.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdepim/kdepim-korganizer.install b/extra/kdepim/kdepim-korganizer.install new file mode 100644 index 000000000..5787df72f --- /dev/null +++ b/extra/kdepim/kdepim-korganizer.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/kdepimlibs/PKGBUILD b/extra/kdepimlibs/PKGBUILD index d480ec874..2ee9dfbf3 100644 --- a/extra/kdepimlibs/PKGBUILD +++ b/extra/kdepimlibs/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 144612 2011-12-08 09:18:11Z andrea $ +# $Id: PKGBUILD 147761 2012-01-28 10:32:08Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=kdepimlibs -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 pkgdesc="KDE PIM Libraries" arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL') depends=('kdelibs' 'gpgme' 'akonadi' 'libical' 'prison') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'cyrus-sasl' 'openldap') +makedepends=('cmake' 'automoc4' 'boost' 'cyrus-sasl' 'openldap') install='kdepimlibs.install' source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('a539e29557c0a30779e752b9349b3a0c000ffbba') +sha1sums=('22409015a8047e3a78711093e3363775e8434fba') build() { cd ${srcdir} diff --git a/extra/kdeplasma-addons/PKGBUILD b/extra/kdeplasma-addons/PKGBUILD index be01860fc..fe7d65fe1 100644 --- a/extra/kdeplasma-addons/PKGBUILD +++ b/extra/kdeplasma-addons/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 145653 2011-12-26 11:44:57Z andrea $ +# $Id: PKGBUILD 147899 2012-01-28 10:36:33Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz @@ -18,6 +18,7 @@ pkgname=('kdeplasma-addons-applets-bball' 'kdeplasma-addons-applets-filewatcher' 'kdeplasma-addons-applets-frame' 'kdeplasma-addons-applets-fuzzy-clock' + 'kdeplasma-addons-applets-icontasks' 'kdeplasma-addons-applets-incomingmsg' 'kdeplasma-addons-applets-kdeobservatory' 'kdeplasma-addons-applets-kimpanel' @@ -70,18 +71,19 @@ pkgname=('kdeplasma-addons-applets-bball' 'kdeplasma-addons-wallpapers-mandelbrot' 'kdeplasma-addons-wallpapers-marble' 'kdeplasma-addons-wallpapers-pattern' + 'kdeplasma-addons-wallpapers-potd' 'kdeplasma-addons-wallpapers-virus' 'kdeplasma-addons-wallpapers-weather') -pkgver=4.7.4 -pkgrel=2 +pkgver=4.8.0 +pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL') groups=('kde' 'kdeplasma-addons') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-workspace' 'kdeedu-marble' - 'eigen' 'scim' 'qwt' 'boost' 'libkexiv2') +makedepends=('cmake' 'automoc4' 'kdebase-workspace' 'kdeedu-marble' 'eigen' + 'scim' 'qwt' 'boost' 'libkexiv2' 'ibus') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2") -sha1sums=('2bbf77d77e809733e6a74ff5688e6ff5487bc8bf') +sha1sums=('0049d6977cb89f303468813811f3fde2807fd8db') build() { cd "${srcdir}" @@ -89,7 +91,6 @@ build() { cd build cmake ../${pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } @@ -205,6 +206,13 @@ package_kdeplasma-addons-applets-fuzzy-clock() { make DESTDIR=$pkgdir install } +package_kdeplasma-addons-applets-icontasks() { + pkgdesc='Switch between running applications' + depends=('kdebase-workspace') + cd $srcdir/build/applets/icontasks + make DESTDIR=$pkgdir install +} + package_kdeplasma-addons-applets-incomingmsg() { pkgdesc='Notification of new messages' depends=('kdebase-workspace') @@ -214,7 +222,7 @@ package_kdeplasma-addons-applets-incomingmsg() { package_kdeplasma-addons-applets-kdeobservatory() { pkgdesc='Visualize the KDE ecosystem' - depends=('kdebase-workspace' 'qwt') + depends=('kdebase-workspace' 'kdeplasma-addons-libs' 'qwt') install='kdeplasma-addons-applets.install' cd $srcdir/build/applets/kdeobservatory make DESTDIR=$pkgdir install @@ -222,9 +230,10 @@ package_kdeplasma-addons-applets-kdeobservatory() { package_kdeplasma-addons-applets-kimpanel() { pkgdesc='A generic input method panel for Oriental languages' - depends=('kdebase-workspace') + depends=('kdebase-workspace' 'kdeplasma-addons-libs') optdepends=('scim: SCIM backend' - 'fcitx: FCITX backend') + 'fcitx: FCITX backend' + 'ibus: IBUS backend') cd $srcdir/build/applets/kimpanel make DESTDIR=$pkgdir install } @@ -307,7 +316,7 @@ package_kdeplasma-addons-applets-mediaplayer() { package_kdeplasma-addons-applets-microblog() { pkgdesc='Update and view your microblog status.' - depends=('kdebase-workspace' 'kdeplasma-addons-libs') + depends=('kdebase-workspace' 'kdeplasma-addons-libs' 'qoauth' 'qca-ossl') cd $srcdir/build/applets/microblog make DESTDIR=$pkgdir install } @@ -402,7 +411,7 @@ package_kdeplasma-addons-applets-social-news() { pkgdesc='Stay informed with the Social Desktop' replaces=('kdeplasma-addons-applets-opendesktop' 'kdeplasma-addons-applets-opendesktop-activities') conflicts=('kdeplasma-addons-applets-opendesktop' 'kdeplasma-addons-applets-opendesktop-activities') - depends=('kdebase-workspace') + depends=('kdebase-workspace' 'kdeplasma-addons-libs') cd $srcdir/build/applets/social-news make DESTDIR=$pkgdir install } @@ -430,7 +439,7 @@ package_kdeplasma-addons-applets-timer() { package_kdeplasma-addons-applets-unitconverter() { pkgdesc='Plasmoid for converting units' - depends=('kdebase-workspace' 'kdeplasma-addons-libs') + depends=('kdebase-workspace') cd $srcdir/build/applets/unitconverter make DESTDIR=$pkgdir install } @@ -451,7 +460,7 @@ package_kdeplasma-addons-applets-weatherstation() { package_kdeplasma-addons-applets-webslice() { pkgdesc='Show a part of a webpage' - depends=('kdebase-workspace' 'kdeplasma-addons-libs') + depends=('kdebase-workspace') cd $srcdir/build/applets/webslice make DESTDIR=$pkgdir install } @@ -506,7 +515,7 @@ package_kdeplasma-addons-runners-contacts() { package_kdeplasma-addons-runners-converter() { pkgdesc='Convert values to different units' - depends=('kdebase-workspace' 'kdeplasma-addons-libs') + depends=('kdebase-workspace') cd $srcdir/build/runners/converter make DESTDIR=$pkgdir install } @@ -588,6 +597,13 @@ package_kdeplasma-addons-wallpapers-pattern() { make DESTDIR=$pkgdir install } +package_kdeplasma-addons-wallpapers-potd() { + pkgdesc='Picture of the Day' + depends=('kdebase-workspace' 'kdeplasma-addons-libs') + cd $srcdir/build/wallpapers/potd + make DESTDIR=$pkgdir install +} + package_kdeplasma-addons-wallpapers-virus() { pkgdesc='Virus' depends=('kdebase-workspace') diff --git a/extra/kdesdk-kate/PKGBUILD b/extra/kdesdk-kate/PKGBUILD index d256b0c31..189c73a89 100644 --- a/extra/kdesdk-kate/PKGBUILD +++ b/extra/kdesdk-kate/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 144748 2011-12-08 09:52:57Z andrea $ +# $Id: PKGBUILD 147774 2012-01-28 10:32:36Z andrea $ # Maintainer: Andrea Scarpino pkgbase=kdesdk-kate pkgname=('kdebase-kwrite' 'kdesdk-kate') -pkgver=4.7.4 +pkgver=4.8.0 pkgrel=1 arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') makedepends=('kdelibs ''cmake' 'automoc4') source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.bz2" 'pkgbuild-syntax-highlight.patch') -sha1sums=('b808f01213e0e44607e8f2577f9d1b4f88e14388' - 'ab0c5d2a796b0f283154799add161c99f48ffcd5') +sha1sums=('01cfffa6e905103c1b23d4006ba5a26844cc97aa' + '0a928253bd2077f0264d96a6c8823c69c47b6a8d') build() { cd "${srcdir}"/kate-${pkgver} @@ -32,6 +32,7 @@ package_kdebase-kwrite() { pkgdesc="Text Editor" depends=('kdebase-runtime') groups=('kde' 'kdebase') + url="http://www.kde.org/applications/utilities/kwrite/" install='kdebase-kwrite.install' cd "${srcdir}"/build/kwrite @@ -48,6 +49,7 @@ package_kdesdk-kate() { pkgdesc="Advanced Text Editor" depends=('kdebase-kwrite') groups=('kde' 'kdesdk') + url="http://www.kde.org/applications/utilities/kate/" install='kdesdk-kate.install' cd "${srcdir}"/build/kate diff --git a/extra/kdesdk-kate/kdesdk-kate.install b/extra/kdesdk-kate/kdesdk-kate.install index 81ce5c4b0..0446d161b 100644 --- a/extra/kdesdk-kate/kdesdk-kate.install +++ b/extra/kdesdk-kate/kdesdk-kate.install @@ -1,12 +1,13 @@ post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null + xdg-icon-resource forceupdate --theme hicolor &> /dev/null update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null } post_upgrade() { - post_install + post_install } post_remove() { - post_install + post_install } diff --git a/extra/kdesdk-kate/pkgbuild-syntax-highlight.patch b/extra/kdesdk-kate/pkgbuild-syntax-highlight.patch index 3c43eca0f..27729d1ad 100644 --- a/extra/kdesdk-kate/pkgbuild-syntax-highlight.patch +++ b/extra/kdesdk-kate/pkgbuild-syntax-highlight.patch @@ -1,11 +1,11 @@ ---- kate-4.6.80/part/syntax/data/bash.xml~ 2011-05-23 21:20:34.295137123 +0000 -+++ kate-4.6.80/part/syntax/data/bash.xml 2011-05-23 21:20:54.581993368 +0000 +--- kate-4.7.80/part/syntax/data/bash.xml~ 2011-11-20 06:14:30.581097154 +0000 ++++ kate-4.7.80/part/syntax/data/bash.xml 2011-11-20 06:14:45.494553146 +0000 @@ -8,7 +8,7 @@ ]> -- -+ +- ++