From 39504b8628c21eed30459dbe991c883824b20188 Mon Sep 17 00:00:00 2001 From: Manuel Tortosa Date: Sun, 5 Sep 2010 21:35:54 +0200 Subject: [PATCH 01/13] New sync-complete.sh for avoid uploading removed files --- check-files.sh | 114 +++++++++++++++++++++++++++++++++++++++++++++++ sync-complete.sh | 67 ++++++++++++++++++++++++++++ 2 files changed, 181 insertions(+) create mode 100755 check-files.sh diff --git a/check-files.sh b/check-files.sh new file mode 100755 index 000000000..a97f5445f --- /dev/null +++ b/check-files.sh @@ -0,0 +1,114 @@ +#!/bin/bash + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see + +# +# setup +# +_script_name="Check files" +_build_arch="$_arch" +_cur_repo=`pwd | awk -F '/' '{print $NF}'` +_needed_functions="config_handling helpers messages" +# load functions +for subroutine in ${_needed_functions} +do + source _buildscripts/functions/${subroutine} +done + +# +# startup +# +title "${_script_name} - $_cur_repo" + +check_configs +load_configs + +check_rsync +check_accounts + +question() { + local mesg=$1; shift + echo -e -n "\033[1;32m::\033[1;0m\033[1;0m ${mesg}\033[1;0m" +} + +sync_down() +{ + title2 "syncing down" + export RSYNC_PASSWORD=`echo $_rsync_pass` + rsync -avh --progress $_rsync_user@$_rsync_server::$_rsync_dir/* _repo/remote/ +} + +remove_packages() +{ + # remove the package(s) from _repo/remote + title2 "removing the packages(s) from _repo/remote" + pushd _repo/remote &>/dev/null + rm -rf $remove_list + popd &>/dev/null +} + +sync_down +export RSYNC_PASSWORD=`echo $_rsync_pass` + +# Get the file list in the server +repo_files=`rsync -avh --list-only $_rsync_user@$_rsync_server::$_rsync_dir/* | cut -d ":" -f 3 | cut -d " " -f 2` + +# Get the file list in _repo/remote +local_files=`ls -a _repo/remote/* | cut -d "/" -f 3` + + +remove_list="" +for parse_file in $local_files +do + file_exist="false" + for compare_file in $repo_files + do + if [ "$parse_file" = "$compare_file" ] ; then + file_exist="true" + fi + done + if [ "$file_exist" = "false" ] ; then + remove_list="$remove_list $parse_file" + fi +done + +if [ "$remove_list" != "" ] ; then + title2 "The following packages in _repo/remote don't exist in the sever:" + newline + echo "$remove_list" + newline + question "Do you want to remove the package(s)? (y/n)" + while true; do + read yn + case $yn in + y* | Y* ) + newline ; + remove_packages; + break + ;; + [nN]* ) + newline ; + title "The files will be keeped..." ; + newline ; + break + ;; + * ) + echo "Enter yes or no" + ;; + esac + done +fi + +title "All done" +newline diff --git a/sync-complete.sh b/sync-complete.sh index efa263026..5ab3d1c08 100755 --- a/sync-complete.sh +++ b/sync-complete.sh @@ -26,14 +26,81 @@ do source _buildscripts/functions/${subroutine} done +question() { + local mesg=$1; shift + echo -e -n "\033[1;32m::\033[1;0m\033[1;0m ${mesg}\033[1;0m" +} + # # main # + +remove_packages() +{ + # remove the package(s) from _repo/remote + title2 "removing the packages(s) from _repo/remote" + pushd _repo/remote &>/dev/null + rm -rf $remove_list + popd &>/dev/null +} + +check_files() +{ + export RSYNC_PASSWORD=`echo $_rsync_pass` + # Get the file list in the server + repo_files=`rsync -avh --list-only $_rsync_user@$_rsync_server::$_rsync_dir/* | cut -d ":" -f 3 | cut -d " " -f 2` + # Get the file list in _repo/remote + local_files=`ls -a _repo/remote/* | cut -d "/" -f 3` + remove_list="" + for parse_file in $local_files + do + file_exist="false" + for compare_file in $repo_files + do + if [ "$parse_file" = "$compare_file" ] ; then + file_exist="true" + fi + done + if [ "$file_exist" = "false" ] ; then + remove_list="$remove_list $parse_file" + fi + done + if [ "$remove_list" != "" ] ; then + title2 "The following packages in _repo/remote don't exist in the sever:" + newline + echo "$remove_list" + newline + question "Do you want to remove the package(s)? (y/n)" + while true; do + read yn + case $yn in + y* | Y* ) + newline ; + remove_packages; + break + ;; + [nN]* ) + newline ; + title "The files will be keeped..." ; + newline ; + break + ;; + * ) + echo "Enter yes or no" + ;; + esac + done + fi +} + sync_complete() { title2 "syncing down" export RSYNC_PASSWORD=`echo $_rsync_pass` rsync -avh --progress $_rsync_user@$_rsync_server::$_rsync_dir/* _repo/remote/ + + title2 "Searching removed files" + check_files # move new packages from $ROOT/repos/$REPO/build into thr repo dir title2 "adding new packages" From 0130753dbabf0647431f6cd75146496c283c7c8c Mon Sep 17 00:00:00 2001 From: Andrei Nistor Date: Sun, 5 Sep 2010 23:07:36 +0000 Subject: [PATCH 02/13] added filelight --- filelight/PKGBUILD | 38 +++++++++++++++++++++++++++++++++++++ filelight/filelight.install | 11 +++++++++++ filelight/kurl.patch | 23 ++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 filelight/PKGBUILD create mode 100644 filelight/filelight.install create mode 100644 filelight/kurl.patch diff --git a/filelight/PKGBUILD b/filelight/PKGBUILD new file mode 100644 index 000000000..fd5499862 --- /dev/null +++ b/filelight/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 76153 2010-04-08 13:38:59Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: damir +# Contributor: Kritoke + +pkgname=filelight +pkgver=1.9rc3 +pkgrel=1 +pkgdesc="A KDE program that creates a complex, but data-rich graphical representation of the files and directories on your computer" +arch=('i686' 'x86_64') +url="http://methylblue.com/filelight/" +license=('GPL2') +depends=('kdelibs' 'qimageblitz' 'hicolor-icon-theme') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://www.kde-apps.org/CONTENT/content-files/99561-$pkgname-${pkgver}.tgz" + 'kurl.patch') +md5sums=('a75cb50bc0b7238507952fb7d1b8d8a8' + 'ab4e31907ccb452b515c5057653526d8') + +build() { + cd "${srcdir}" + pushd "${pkgname}-${pkgver}" + patch -p1 < ../../kurl.patch + popd + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make || return 1 +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/filelight/filelight.install b/filelight/filelight.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/filelight/filelight.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/filelight/kurl.patch b/filelight/kurl.patch new file mode 100644 index 000000000..16d3c44db --- /dev/null +++ b/filelight/kurl.patch @@ -0,0 +1,23 @@ +--- a/src/app/mainWindow.cpp ++++ b/src/app/mainWindow.cpp +@@ -222,7 +222,7 @@ inline void MainWindow::slotComboScan() + + inline bool MainWindow::slotScanPath(const QString &path) + { +- return slotScanUrl(KUrl::KUrl(path)); ++ return slotScanUrl(KUrl(path)); + } + + bool MainWindow::slotScanUrl(const KUrl &url) + +--- a/src/part/radialMap/widget.cpp ++++ b/src/part/radialMap/widget.cpp +@@ -64,7 +64,7 @@ RadialMap::Widget::path() const + KUrl + RadialMap::Widget::url(File const * const file) const + { +- return KUrl::KUrl(file ? file->fullPath() : m_tree->fullPath()); ++ return KUrl(file ? file->fullPath() : m_tree->fullPath()); + } + + void From ea7f38ef50f781fd010d5c4e0b91bb483e66d46e Mon Sep 17 00:00:00 2001 From: Andrei Nistor Date: Sun, 5 Sep 2010 23:28:35 +0000 Subject: [PATCH 03/13] rectified header for filelight --- filelight/PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/filelight/PKGBUILD b/filelight/PKGBUILD index fd5499862..a588201fc 100644 --- a/filelight/PKGBUILD +++ b/filelight/PKGBUILD @@ -1,7 +1,11 @@ -# $Id: PKGBUILD 76153 2010-04-08 13:38:59Z andrea $ -# Maintainer: Andrea Scarpino -# Contributor: damir -# Contributor: Kritoke +# +# Apps Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Nistor Andrei + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=filelight pkgver=1.9rc3 From 41da00a4614c062fcea5c96cb67f92bfc5bae8ff Mon Sep 17 00:00:00 2001 From: Andrei Nistor Date: Mon, 6 Sep 2010 10:31:18 +0000 Subject: [PATCH 04/13] added ksshaskpass --- ksshaskpass/PKGBUILD | 44 +++++++++++++++++++++++++++++++++++++ ksshaskpass/autostart.patch | 34 ++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 ksshaskpass/PKGBUILD create mode 100644 ksshaskpass/autostart.patch diff --git a/ksshaskpass/PKGBUILD b/ksshaskpass/PKGBUILD new file mode 100644 index 000000000..7e9775d30 --- /dev/null +++ b/ksshaskpass/PKGBUILD @@ -0,0 +1,44 @@ +# +# Apps Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Nistor Andrei + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=ksshaskpass +pkgver=0.5.3 +pkgrel=1 +pkgdesc="A KDE 4 version of ssh-askpass with KWallet support." +arch=('i686' 'x86_64') +url="http://kde-apps.org/content/show.php/Ksshaskpass?content=50971" +license=('GPL') +groups=() +depends=(kdelibs openssh) +makedepends=(cmake) +options=() +source=("http://kde-apps.org/CONTENT/content-files/50971-${pkgname}-${pkgver}.tar.gz") +md5sums=('05dad7745e9d92b08bd86e7ab7a9540d') + +build() { + cd "${srcdir}" + pushd "${pkgname}-${pkgver}" + patch -p1 < ../../autostart.patch + popd + + mkdir build + cd build + export XDG_CONFIG_DIRS=/etc/xdg/ + cmake ../"${pkgname}-${pkgver}" \ + -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +package() { + cd "${srcdir}"/build + + make DESTDIR="$pkgdir/" install +} + diff --git a/ksshaskpass/autostart.patch b/ksshaskpass/autostart.patch new file mode 100644 index 000000000..0d92d796e --- /dev/null +++ b/ksshaskpass/autostart.patch @@ -0,0 +1,34 @@ +diff -ruN ksshaskpass-0.5.3-orig/CMakeLists.txt ksshaskpass-0.5.3/CMakeLists.txt +--- ksshaskpass-0.5.3-orig/CMakeLists.txt 2010-01-01 23:12:21.000000000 +0000 ++++ ksshaskpass-0.5.3/CMakeLists.txt 2010-09-06 17:33:37.427336334 +0000 +@@ -15,4 +15,7 @@ + install(TARGETS ksshaskpass DESTINATION ${BIN_INSTALL_DIR}) + install(FILES src/ksshaskpass.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) + ++install(PROGRAMS autostart/start-ksshaskpass.sh DESTINATION ${BIN_INSTALL_DIR}) ++install(FILES autostart/start-ksshaskpass.desktop DESTINATION $ENV{XDG_CONFIG_DIRS}/autostart) ++ + install(FILES doc/ksshaskpass.1 DESTINATION ${MAN_INSTALL_DIR}/man1) +diff -ruN ksshaskpass-0.5.3-orig/autostart/start-ksshaskpass.desktop ksshaskpass-0.5.3/autostart/start-ksshaskpass.desktop +--- ksshaskpass-0.5.3-orig/autostart/start-ksshaskpass.desktop 1970-01-01 00:00:00.000000000 +0000 ++++ ksshaskpass-0.5.3/autostart/start-ksshaskpass.desktop 2010-09-06 17:24:01.410669667 +0000 +@@ -0,0 +1,11 @@ ++[Desktop Entry] ++Version=1.0 ++Encoding=UTF-8 ++Name=Ksshaskpass ++Comment=Start ksshaskpass ++Exec=start-ksshaskpass.sh ++Terminal=false ++Type=Application ++Categories= ++GenericName= ++OnlyShowIn=KDE; +diff -ruN ksshaskpass-0.5.3-orig/autostart/start-ksshaskpass.sh ksshaskpass-0.5.3/autostart/start-ksshaskpass.sh +--- ksshaskpass-0.5.3-orig/autostart/start-ksshaskpass.sh 1970-01-01 00:00:00.000000000 +0000 ++++ ksshaskpass-0.5.3/autostart/start-ksshaskpass.sh 2010-09-06 17:24:01.504003002 +0000 +@@ -0,0 +1,4 @@ ++#!/bin/bash ++ ++export SSH_ASKPASS=/usr/bin/ksshaskpass ++/usr/bin/ssh-add < /dev/null From 6b73e4c01cbbca0b3f31301008c4eabcfb0f3b50 Mon Sep 17 00:00:00 2001 From: abveritas Date: Mon, 6 Sep 2010 21:54:55 +0000 Subject: [PATCH 05/13] Add base-devel optdepends to packer --- packer/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packer/PKGBUILD b/packer/PKGBUILD index df07b2290..b4d158033 100644 --- a/packer/PKGBUILD +++ b/packer/PKGBUILD @@ -8,7 +8,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=packer -pkgver=20100818 +pkgver=20100906 pkgrel=1 pkgdesc="Bash wrapper for pacman and aur" url="http://github.com/bruenig/packer" @@ -17,7 +17,8 @@ arch=('any') makedepends=('git') depends=('grep' 'sed' 'coreutils' 'bash' 'wget' 'pacman') optdepends=('sudo: install and update packages as non-root' - 'pacman-color: colorized output') + 'pacman-color: colorized output' + 'base-devel: for building packages') _gitroot='git://github.com/bruenig/packer.git' _gitname='packer' From 272740bb0692fa147e0a9d783373ba9115a5652c Mon Sep 17 00:00:00 2001 From: abveritas Date: Mon, 6 Sep 2010 22:07:25 +0000 Subject: [PATCH 06/13] Restore git based pkgbuild cinstall --- cinstall/PKGBUILD | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/cinstall/PKGBUILD b/cinstall/PKGBUILD index e0b147ec0..52eefc510 100644 --- a/cinstall/PKGBUILD +++ b/cinstall/PKGBUILD @@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=cinstall -pkgver=0.0.2.1 +pkgver=20100906 pkgrel=1 depends=('kdelibs' 'qt' 'squashfs-tools' 'xz-utils') pkgdesc="Bundle Creator/Launcher and Package-Manager" @@ -20,14 +20,30 @@ url="http://chakra-project.org/" optdepends=('akabei: for akabei support' 'pacman: for pacman support') -source=("http://chakra-project.org/sources/cinstall/cinstall-$pkgver.tar.bz2") -md5sums=('0273a4bde31ed052f6f6638e23c0cb5f') +_gitroot="git://gitorious.org/cinstall/cinstall.git" +_gitname="cinstall" build() { - mkdir -p $srcdir/build - cd $srcdir/build +cd "${srcdir}" + msg "Connecting to GIT server...." - cmake ../cinstall \ + if [ -d $_gitname ] ; then + cd $_gitname && git pull + msg "The local files are updated." + else + git clone $_gitroot + cd $_gitname && git checkout + fi + msg "GIT checkout done or server timeout" + + msg "Starting make..." + + rm -rf "${srcdir}/$_gitname-build" + + cp -r "${srcdir}/$_gitname" "${srcdir}/$_gitname-build" + cd "${srcdir}/$_gitname-build/" + + cmake ../$_gitname-build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make || return 1 From 5170eafc89c38a108fb6b096bfd2a5eb68267963 Mon Sep 17 00:00:00 2001 From: abveritas Date: Wed, 8 Sep 2010 16:51:02 +0000 Subject: [PATCH 07/13] Adding docbook.xml, missing dep for kmess latest --- kmess/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kmess/PKGBUILD b/kmess/PKGBUILD index d1c120506..afc2b1ee7 100644 --- a/kmess/PKGBUILD +++ b/kmess/PKGBUILD @@ -5,7 +5,7 @@ # maintainer (x86_64): Manuel Tortosa pkgname=kmess -pkgver=2.0.3 +pkgver=2.0.4 pkgrel=1 pkgdesc="KMess is a MSN Messenger client for Linux." arch=('i686' 'x86_64') @@ -15,11 +15,11 @@ depends=('libxss' 'libxslt' 'giflib' 'qca-ossl' 'kdebase-runtime' 'xdg-utils' 'q makedepends=('automoc4' 'cmake') optdepends=('cabextract: provides winks support') install=kmess.install -source=(http://downloads.sourceforge.net/sourceforge/kmess/kmess-$pkgver.tar.gz) -md5sums=('2c6cac76a77cb84c073ca30e335c46e7') +source=(http://sourceforge.net/projects/${pkgname}/files/Latest_versions${pkgver}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('40cadc3656172b3eeb7b4b2a29b11c08') build() { - cd $startdir/src/$pkgname-$pkgver + cd "${srcdir}/${pkgname}-${pkgver}" cmake -DCMAKE_INSTALL_PREFIX=/usr . make || return 1 make DESTDIR=$startdir/pkg install || return 1 From ee39a12b546c85dcd2fe5dcb36ffcd88c5236302 Mon Sep 17 00:00:00 2001 From: abveritas Date: Wed, 8 Sep 2010 19:14:07 +0000 Subject: [PATCH 08/13] Corrected kmess dep line --- kmess/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmess/PKGBUILD b/kmess/PKGBUILD index afc2b1ee7..7ff534d11 100644 --- a/kmess/PKGBUILD +++ b/kmess/PKGBUILD @@ -11,7 +11,7 @@ pkgdesc="KMess is a MSN Messenger client for Linux." arch=('i686' 'x86_64') url="http://kmess.sourceforge.net/" license=('GPL') -depends=('libxss' 'libxslt' 'giflib' 'qca-ossl' 'kdebase-runtime' 'xdg-utils' 'qt') +depends=('libxss' 'libxslt' 'giflib' 'qca-ossl' 'kdebase-runtime' 'xdg-utils' 'qt' 'docbook-xml') makedepends=('automoc4' 'cmake') optdepends=('cabextract: provides winks support') install=kmess.install From e37c2740dc4f5755a9723a64bad79fab30f94703 Mon Sep 17 00:00:00 2001 From: abveritas Date: Wed, 8 Sep 2010 19:25:07 +0000 Subject: [PATCH 09/13] Version up packer, just for added optdepend --- packer/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer/PKGBUILD b/packer/PKGBUILD index b4d158033..d9a5e25bf 100644 --- a/packer/PKGBUILD +++ b/packer/PKGBUILD @@ -8,7 +8,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=packer -pkgver=20100906 +pkgver=20100908 pkgrel=1 pkgdesc="Bash wrapper for pacman and aur" url="http://github.com/bruenig/packer" From bb48c212bfce0e716e84e8e7788b39481437d74a Mon Sep 17 00:00:00 2001 From: abveritas Date: Wed, 8 Sep 2010 20:01:09 +0000 Subject: [PATCH 10/13] Adding youtube-dl, cli for youtube --- youtube-dl/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 youtube-dl/PKGBUILD diff --git a/youtube-dl/PKGBUILD b/youtube-dl/PKGBUILD new file mode 100644 index 000000000..b0de2d487 --- /dev/null +++ b/youtube-dl/PKGBUILD @@ -0,0 +1,26 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa + +pkgname=youtube-dl +pkgver=2010.08.04 +pkgrel=1 +pkgdesc='A small command-line program to download videos from YouTube.com' +arch=('any') +url='http://bitbucket.org/rg3/youtube-dl/' +license=('MIT') +depends=('python') +source=("http://bitbucket.org/rg3/${pkgname}/raw/${pkgver}/${pkgname}") +md5sums=('8b1b8b922b758aae28f6c158e9a1baba') + +build() { + install -Dm755 ${srcdir}/$pkgname $pkgdir/usr/bin/$pkgname + + # install MIT license + install -d ${pkgdir}/usr/share/licenses/$pkgname + + awk /Copy/,/import/ youtube-dl | grep -v import \ + | sed -re 's/#?//' > ${pkgdir}/usr/share/licenses/youtube-dl/COPYING +} From f5b24b5436d9227f90fa5b4854bc3b06031c6308 Mon Sep 17 00:00:00 2001 From: abveritas Date: Thu, 9 Sep 2010 18:53:56 +0000 Subject: [PATCH 11/13] Adding basket, djl, kffmpegthumbnailer, subtitlecomposer, versions up digikam, kipi-plugins, opera --- basket/PKGBUILD | 36 +++ basket/basket.install | 12 + digikam/PKGBUILD | 4 +- djl/PKGBUILD | 29 ++ kffmpegthumbnailer/PKGBUILD | 28 ++ kipi-plugins/PKGBUILD | 4 +- opera/PKGBUILD | 6 +- subtitlecomposer/PKGBUILD | 43 +++ .../subtitlecomposer-build-fixes.patch | 258 ++++++++++++++++++ .../subtitlecomposer-linkage.patch | 11 + 10 files changed, 424 insertions(+), 7 deletions(-) create mode 100644 basket/PKGBUILD create mode 100644 basket/basket.install create mode 100644 djl/PKGBUILD create mode 100644 kffmpegthumbnailer/PKGBUILD create mode 100644 subtitlecomposer/PKGBUILD create mode 100644 subtitlecomposer/subtitlecomposer-build-fixes.patch create mode 100644 subtitlecomposer/subtitlecomposer-linkage.patch diff --git a/basket/PKGBUILD b/basket/PKGBUILD new file mode 100644 index 000000000..535cf8609 --- /dev/null +++ b/basket/PKGBUILD @@ -0,0 +1,36 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=basket +pkgver=1.80 +pkgrel=1 +pkgdesc="All-purpose notes taker for KDE." +arch=('i686' 'x86_64') +url="http://basket.kde.org/" +depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme') +makedepends=('cmake' 'automoc4') +install=$pkgname.install +license=('GPL') +source=(http://basket.kde.org/downloads/$pkgname-$pkgver.tar.bz2) +md5sums=('77467400907e6f496ef5f90a2f1c07ab') + +build() { + cd $srcdir/$pkgname-$pkgver + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + + make || return 1 +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$startdir/pkg install +} diff --git a/basket/basket.install b/basket/basket.install new file mode 100644 index 000000000..3e1f2f1f5 --- /dev/null +++ b/basket/basket.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + diff --git a/digikam/PKGBUILD b/digikam/PKGBUILD index e21ac0ac8..020e1b2a0 100644 --- a/digikam/PKGBUILD +++ b/digikam/PKGBUILD @@ -8,7 +8,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=digikam -pkgver=1.3.0 +pkgver=1.4.0 pkgrel=1 pkgdesc="Digital photo management application for kde" arch=('i686' 'x86_64') @@ -20,7 +20,7 @@ source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2 replaces=('digikamimageplugins') install=digikam.install optdepends=('kipi-plugins: for more extras and plugins') -md5sums=('25d09fdab2b2450c6c6075aab3377fce') +md5sums=('748518d6b24cc2c44acad5cb9df8d21a') build() { cd ${srcdir} diff --git a/djl/PKGBUILD b/djl/PKGBUILD new file mode 100644 index 000000000..330476d71 --- /dev/null +++ b/djl/PKGBUILD @@ -0,0 +1,29 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=djl +pkgver=1.2.20 +pkgrel=1 +pkgdesc="A game manager inspired by Steam from Valve software which makes it possible via a repository to download, install and remove a reasonable number of games." +arch=(i686 x86_64) +url="http://www.djl-linux.org/" +license=('gpl') +depends=('python' 'pyqt' 'python-feedparser') +source=(http://www.djl-linux.org/maj_djl/Paquets-Arch/${pkgname}-${pkgver}-Arch.tar.gz) +md5sums=('51ae181e22f09bf91b20b0a1bde06b69') + +build() { + cd $srcdir/$pkgname + mkdir -p $pkgdir/usr/share/djl + mkdir -p $pkgdir/usr/bin/ + cp -fr $srcdir/$pkgname/* $pkgdir/usr/share/djl + chmod +x $pkgdir/usr/share/djl/djl.sh + echo "/usr/share/djl/djl.sh" > $pkgdir/usr/bin/djl + chmod +x $pkgdir/usr/bin/djl +} \ No newline at end of file diff --git a/kffmpegthumbnailer/PKGBUILD b/kffmpegthumbnailer/PKGBUILD new file mode 100644 index 000000000..20fe0c0be --- /dev/null +++ b/kffmpegthumbnailer/PKGBUILD @@ -0,0 +1,28 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=kffmpegthumbnailer +pkgver=1.1.0 +pkgrel=1 +pkgdesc="kffmpegthumbnailer is a video thumbnailer for kde based on ffmpegthumbnailer" +arch=('i686' 'x86_64') +url="http://code.google.com/p/ffmpegthumbnailer" +license=('GPL2') +depends=('kdebase-workspace' 'ffmpeg' 'ffmpegthumbnailer>=2.0.0') +makedepends=('cmake') +source=(http://ffmpegthumbnailer.googlecode.com/files/$pkgname-$pkgver.tar.gz) +md5sums=('fa897450ee691b6d225d8f79a6cfd409') +build() { + cd $startdir/src/$pkgname-$pkgver + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release .. + make || return 1 + make DESTDIR=$pkgdir install || return 1 +} diff --git a/kipi-plugins/PKGBUILD b/kipi-plugins/PKGBUILD index 05377d3b6..5879ef64c 100644 --- a/kipi-plugins/PKGBUILD +++ b/kipi-plugins/PKGBUILD @@ -5,7 +5,7 @@ # maintainer (x86_64): Manuel Tortosa pkgname=kipi-plugins -pkgver=1.3.0 +pkgver=1.4.0 pkgrel=1 pkgdesc="libkipi plugins for digikam and kde apps" arch=('i686' 'x86_64') @@ -17,7 +17,7 @@ source=("http://downloads.sourceforge.net/kipi/$pkgname-$pkgver.tar.bz2") optdepends=('imagemagick: for picture manipulation' 'qca: for shwup webservice support') install=${pkgname}.install -md5sums=('01095ed3d523fbc5e27dc9ba3ee47240') +md5sums=('c4e58884aa8b7bcd815fb1b3d55f144e') build() { cd $srcdir diff --git a/opera/PKGBUILD b/opera/PKGBUILD index 658ba5162..dfc954711 100644 --- a/opera/PKGBUILD +++ b/opera/PKGBUILD @@ -8,8 +8,8 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=opera -pkgver=10.61 -_buildver=6430 +pkgver=10.62 +_buildver=6438 pkgrel=1 pkgdesc="A fast and secure web browser and Internet suite." url="http://www.opera.com/browser/" @@ -26,7 +26,7 @@ _barch=i386 [ "$CARCH" = "x86_64" ] && _barch=x86_64 source=(http://ftp.opera.com/pub/opera/linux/${pkgver/./}/opera-${pkgver}-${_buildver}.${_barch}.linux.tar.bz2) md5sums=('e91b9bd1ddbb3c85d7bdd7991b56add8') -[ "$CARCH" = "x86_64" ] && md5sums=('82e1906aed9f6770ec2ee8f65576c841') +[ "$CARCH" = "x86_64" ] && md5sums=('848367802f947cb063481f1f6718b757') build() { cd opera-${pkgver}-${_buildver}.${_barch}.linux diff --git a/subtitlecomposer/PKGBUILD b/subtitlecomposer/PKGBUILD new file mode 100644 index 000000000..68cd864e9 --- /dev/null +++ b/subtitlecomposer/PKGBUILD @@ -0,0 +1,43 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=subtitlecomposer +pkgver=0.5.3 +pkgrel=3 +pkgdesc="A KDE subtitle editor" +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/subcomposer" +license=('GPL') +depends=('kdelibs' 'gettext') +makedepends=('cmake' 'automoc4') +optdepends=("mplayer: for MPlayer backend") +source=(http://downloads.sourceforge.net/subcomposer/${pkgname}-${pkgver}.tar.bz2 + subtitlecomposer-build-fixes.patch + subtitlecomposer-linkage.patch) +md5sums=('f660ed2ce4490a8705c883a9c57e39e5' + '136ae2b4af3956bb9929b25bfe4f80ad' + '92e8c545a8a4b0f513a32c1163574311') + +# Many thanks for the linkage patch to the Gentoo guys. +# http://packages.gentoo.org/package/media-video/subtitlecomposer + +build() +{ + cd ${srcdir}/${pkgname}-${pkgver} + + # Patches + patch -Np1 -i "${srcdir}/subtitlecomposer-build-fixes.patch" || return 1 + patch -Np0 -i "${srcdir}/subtitlecomposer-linkage.patch" || return 1 + + mkdir build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/subtitlecomposer/subtitlecomposer-build-fixes.patch b/subtitlecomposer/subtitlecomposer-build-fixes.patch new file mode 100644 index 000000000..b7e6a7ca5 --- /dev/null +++ b/subtitlecomposer/subtitlecomposer-build-fixes.patch @@ -0,0 +1,258 @@ +diff -ruN subtitlecomposer-0.5.3-old/src/config/appconfig.cpp subtitlecomposer-0.5.3/src/config/appconfig.cpp +--- subtitlecomposer-0.5.3-old/src/config/appconfig.cpp 2009-02-25 23:46:09.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/config/appconfig.cpp 2010-05-31 19:38:02.402837345 +0200 +@@ -120,7 +120,7 @@ + return m_groups.contains( name ) ? m_groups[name] : 0; + } + +-const AppConfigGroup* const AppConfig::group( const QString& name ) const ++const AppConfigGroup* AppConfig::group( const QString& name ) const + { + return m_groups.contains( name ) ? m_groups[name] : 0; + } +diff -ruN subtitlecomposer-0.5.3-old/src/config/appconfiggroupwidget.cpp subtitlecomposer-0.5.3/src/config/appconfiggroupwidget.cpp +--- subtitlecomposer-0.5.3-old/src/config/appconfiggroupwidget.cpp 2009-02-25 23:46:09.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/config/appconfiggroupwidget.cpp 2010-05-31 19:35:25.526185415 +0200 +@@ -39,7 +39,7 @@ + delete m_config; + } + +-const AppConfigGroup* const AppConfigGroupWidget::config() ++const AppConfigGroup* AppConfigGroupWidget::config() + { + return m_config; + } +diff -ruN subtitlecomposer-0.5.3-old/src/config/appconfiggroupwidget.h subtitlecomposer-0.5.3/src/config/appconfiggroupwidget.h +--- subtitlecomposer-0.5.3-old/src/config/appconfiggroupwidget.h 2009-02-25 23:46:09.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/config/appconfiggroupwidget.h 2010-05-31 19:35:20.630352728 +0200 +@@ -43,7 +43,7 @@ + explicit AppConfigGroupWidget( AppConfigGroup* configGroup, QWidget* parent=0 ); + virtual ~AppConfigGroupWidget(); + +- const AppConfigGroup* const config(); ++ const AppConfigGroup* config(); + + signals: + +diff -ruN subtitlecomposer-0.5.3-old/src/config/appconfig.h subtitlecomposer-0.5.3/src/config/appconfig.h +--- subtitlecomposer-0.5.3-old/src/config/appconfig.h 2009-02-25 23:46:09.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/config/appconfig.h 2010-05-31 19:37:54.703670415 +0200 +@@ -58,7 +58,7 @@ + void writeTo( KSharedConfig* config ) const; + + AppConfigGroup* group( const QString& name ); +- const AppConfigGroup* const group( const QString& name ) const; ++ const AppConfigGroup* group( const QString& name ) const; + + void setGroup( AppConfigGroup* group ); /// ownership is transferred to this object + AppConfigGroup* removeGroup( const QString& name ); /// ownership is transferred to the caller +diff -ruN subtitlecomposer-0.5.3-old/src/core/sstring.cpp subtitlecomposer-0.5.3/src/core/sstring.cpp +--- subtitlecomposer-0.5.3-old/src/core/sstring.cpp 2009-05-24 23:56:30.000000000 +0200 ++++ subtitlecomposer-0.5.3/src/core/sstring.cpp 2010-05-31 19:03:39.173876937 +0200 +@@ -1112,7 +1112,7 @@ + append( str ); + } + +-SStringList::SStringList( const SStringList::SStringList& list ): ++SStringList::SStringList( const SStringList& list ): + QList( list ) + { + } +diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitleactions.cpp subtitlecomposer-0.5.3/src/core/subtitleactions.cpp +--- subtitlecomposer-0.5.3-old/src/core/subtitleactions.cpp 2009-02-25 23:46:11.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/core/subtitleactions.cpp 2010-05-31 19:35:47.497016112 +0200 +@@ -136,7 +136,7 @@ + + SubtitleLine* line; + int insertOffset = 0; +- int lineIndex; ++ int lineIndex = 0; + while ( ! m_lines.isEmpty() ) + { + line = m_lines.takeFirst(); +@@ -242,7 +242,7 @@ + emit m_subtitle.linesAboutToBeInserted( m_firstIndex, m_lastIndex ); + + int insertOffset = 0; +- int lineIndex; ++ int lineIndex = 0; + while ( ! m_lines.isEmpty() ) + { + SubtitleLine* line = m_lines.takeFirst(); +diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitle.cpp subtitlecomposer-0.5.3/src/core/subtitle.cpp +--- subtitlecomposer-0.5.3-old/src/core/subtitle.cpp 2009-05-24 10:08:53.000000000 +0200 ++++ subtitlecomposer-0.5.3/src/core/subtitle.cpp 2010-05-31 19:36:33.366179618 +0200 +@@ -216,7 +216,7 @@ + } + } + +-FormatData* const Subtitle::formatData() const ++FormatData* Subtitle::formatData() const + { + return m_formatData; + } +@@ -1201,7 +1201,7 @@ + return; + + int splitIndex = -1; // the index of the first line to move (or copy) to dstSub +- bool splitsLine; // splitTime falls in within a line's time ++ bool splitsLine = false; // splitTime falls in within a line's time + + QList lines; + for ( SubtitleIterator it( *this, Range::full() ); it.current(); ++it ) +diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitle.h subtitlecomposer-0.5.3/src/core/subtitle.h +--- subtitlecomposer-0.5.3-old/src/core/subtitle.h 2009-03-05 03:56:25.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/core/subtitle.h 2010-05-31 19:36:28.420346163 +0200 +@@ -183,7 +183,7 @@ + + private: + +- FormatData* const formatData() const; ++ FormatData* formatData() const; + void setFormatData( const FormatData* formatData ); + + void beginCompositeAction( const QString& title, bool immediateExecution=true, bool delaySignals=true ); +diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitleline.cpp subtitlecomposer-0.5.3/src/core/subtitleline.cpp +--- subtitlecomposer-0.5.3-old/src/core/subtitleline.cpp 2009-03-03 05:16:07.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/core/subtitleline.cpp 2010-05-31 19:35:54.000000000 +0200 +@@ -289,7 +289,7 @@ + } + + +-FormatData* const SubtitleLine::formatData() const ++FormatData* SubtitleLine::formatData() const + { + return m_formatData; + } +diff -ruN subtitlecomposer-0.5.3-old/src/core/subtitleline.h subtitlecomposer-0.5.3/src/core/subtitleline.h +--- subtitlecomposer-0.5.3-old/src/core/subtitleline.h 2009-03-03 05:16:07.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/core/subtitleline.h 2010-05-31 19:36:02.793682498 +0200 +@@ -247,7 +247,7 @@ + + private: + +- FormatData* const formatData() const; ++ FormatData* formatData() const; + void setFormatData( const FormatData* formatData ); + + void processAction( Action* action ); +diff -ruN subtitlecomposer-0.5.3-old/src/player/gstreamer/gstreamerbackend.cpp subtitlecomposer-0.5.3/src/player/gstreamer/gstreamerbackend.cpp +--- subtitlecomposer-0.5.3-old/src/player/gstreamer/gstreamerbackend.cpp 2009-02-25 23:46:17.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/player/gstreamer/gstreamerbackend.cpp 2010-05-31 19:37:23.237008638 +0200 +@@ -596,7 +596,7 @@ + params = g_object_class_list_properties( G_OBJECT_GET_CLASS( GST_ELEMENT( object ) ), &length ); + for ( guint index = 0; index < length; ++index ) + { +- gchar* strValue; ++ gchar* strValue = 0; + + if ( params[index]->flags & G_PARAM_READABLE ) + { +diff -ruN subtitlecomposer-0.5.3-old/src/player/gstreamer/gstreamerbackend.h subtitlecomposer-0.5.3/src/player/gstreamer/gstreamerbackend.h +--- subtitlecomposer-0.5.3-old/src/player/gstreamer/gstreamerbackend.h 2009-02-25 23:46:17.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/player/gstreamer/gstreamerbackend.h 2010-05-31 19:34:31.977024143 +0200 +@@ -47,7 +47,7 @@ + GStreamerBackend( Player* player ); + virtual ~GStreamerBackend(); + +- const GStreamerConfig* const config() { return static_cast( PlayerBackend::config() ); } ++ const GStreamerConfig* config() { return static_cast( PlayerBackend::config() ); } + + virtual AppConfigGroupWidget* newAppConfigGroupWidget( QWidget* parent ); + +diff -ruN subtitlecomposer-0.5.3-old/src/player/mplayer/mplayerbackend.h subtitlecomposer-0.5.3/src/player/mplayer/mplayerbackend.h +--- subtitlecomposer-0.5.3-old/src/player/mplayer/mplayerbackend.h 2009-02-25 23:46:17.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/player/mplayer/mplayerbackend.h 2010-05-31 19:34:38.849523428 +0200 +@@ -45,7 +45,7 @@ + MPlayerBackend( Player* player ); + virtual ~MPlayerBackend(); + +- const MPlayerConfig* const config() { return static_cast( PlayerBackend::config() ); } ++ const MPlayerConfig* config() { return static_cast( PlayerBackend::config() ); } + + virtual AppConfigGroupWidget* newAppConfigGroupWidget( QWidget* parent ); + +diff -ruN subtitlecomposer-0.5.3-old/src/player/phonon/phononbackend.h subtitlecomposer-0.5.3/src/player/phonon/phononbackend.h +--- subtitlecomposer-0.5.3-old/src/player/phonon/phononbackend.h 2009-02-25 23:46:16.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/player/phonon/phononbackend.h 2010-05-31 19:34:44.607023515 +0200 +@@ -53,7 +53,7 @@ + PhononBackend( Player* player ); + virtual ~PhononBackend(); + +- const PhononConfig* const config() { return static_cast( PlayerBackend::config() ); } ++ const PhononConfig* config() { return static_cast( PlayerBackend::config() ); } + + virtual AppConfigGroupWidget* newAppConfigGroupWidget( QWidget* parent ); + +diff -ruN subtitlecomposer-0.5.3-old/src/player/playerbackend.h subtitlecomposer-0.5.3/src/player/playerbackend.h +--- subtitlecomposer-0.5.3-old/src/player/playerbackend.h 2009-02-25 23:46:17.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/player/playerbackend.h 2010-05-31 19:34:18.996192330 +0200 +@@ -48,7 +48,7 @@ + PlayerBackend( Player* player, AppConfigGroup* config ); + virtual ~PlayerBackend(); + +- const AppConfigGroup* const config() const { return m_config; } ++ const AppConfigGroup* config() const { return m_config; } + + /// If possible (i.e., configs are compatible), copies the config object into + /// the player backend config. Ownership of config object it's not transferred. +diff -ruN subtitlecomposer-0.5.3-old/src/player/player.cpp subtitlecomposer-0.5.3/src/player/player.cpp +--- subtitlecomposer-0.5.3-old/src/player/player.cpp 2009-02-25 23:46:17.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/player/player.cpp 2010-05-31 19:38:38.306165999 +0200 +@@ -82,7 +82,7 @@ + { + } + +-Player* const Player::instance() ++Player* Player::instance() + { + static Player player; + +diff -ruN subtitlecomposer-0.5.3-old/src/player/player.h subtitlecomposer-0.5.3/src/player/player.h +--- subtitlecomposer-0.5.3-old/src/player/player.h 2009-02-25 23:46:17.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/player/player.h 2010-05-31 19:38:31.893666505 +0200 +@@ -53,7 +53,7 @@ + Ready // same as Stopped or Finished + } State; + +- static Player* const instance(); ++ static Player* instance(); + + inline VideoWidget* videoWidget(); + +diff -ruN subtitlecomposer-0.5.3-old/src/player/xine/xinebackend.h subtitlecomposer-0.5.3/src/player/xine/xinebackend.h +--- subtitlecomposer-0.5.3-old/src/player/xine/xinebackend.h 2009-02-25 23:46:16.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/player/xine/xinebackend.h 2010-05-31 19:34:49.336188698 +0200 +@@ -51,7 +51,7 @@ + XineBackend( Player* player ); + virtual ~XineBackend(); + +- const XineConfig* const config() { return static_cast( PlayerBackend::config() ); } ++ const XineConfig* config() { return static_cast( PlayerBackend::config() ); } + + virtual AppConfigGroupWidget* newAppConfigGroupWidget( QWidget* parent ); + +diff -ruN subtitlecomposer-0.5.3-old/src/widgets/simplerichtextedit.cpp subtitlecomposer-0.5.3/src/widgets/simplerichtextedit.cpp +--- subtitlecomposer-0.5.3-old/src/widgets/simplerichtextedit.cpp 2009-02-25 23:46:10.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/widgets/simplerichtextedit.cpp 2010-05-31 19:42:18.002811365 +0200 +@@ -176,7 +176,7 @@ + delete m_insertUnicodeControlCharMenu->parent(); + } + +-KAction* const SimpleRichTextEdit::action( int action ) const ++KAction* SimpleRichTextEdit::action( int action ) const + { + return action >= 0 && action < ActionCount ? m_actions[action] : 0; + } +diff -ruN subtitlecomposer-0.5.3-old/src/widgets/simplerichtextedit.h subtitlecomposer-0.5.3/src/widgets/simplerichtextedit.h +--- subtitlecomposer-0.5.3-old/src/widgets/simplerichtextedit.h 2009-02-25 23:46:10.000000000 +0100 ++++ subtitlecomposer-0.5.3/src/widgets/simplerichtextedit.h 2010-05-31 19:42:11.763644715 +0200 +@@ -60,7 +60,7 @@ + bool fontBold(); + bool fontStrikeOut(); + +- virtual KAction* const action( int action ) const; ++ virtual KAction* action( int action ) const; + + virtual bool event( QEvent* event ); + diff --git a/subtitlecomposer/subtitlecomposer-linkage.patch b/subtitlecomposer/subtitlecomposer-linkage.patch new file mode 100644 index 000000000..894893780 --- /dev/null +++ b/subtitlecomposer/subtitlecomposer-linkage.patch @@ -0,0 +1,11 @@ +--- src/main/CMakeLists.txt.orig 2009-04-17 15:09:12.000000000 -0400 ++++ src/main/CMakeLists.txt 2010-01-12 01:19:25.000000000 -0500 +@@ -46,6 +46,8 @@ + ${KDE4_KDEUI_LIBS} + ${KDE4_KHTML_LIBS} + ${KDE4_KFILE_LIBS} ++ ${KDE4_PHONON_LIBS} ++ ${KDE4_KROSSCORE_LIBS} + ${KDE4_KROSSUI_LIBS} + ${common_LIBS} + ${config_LIBS} From 33f290d8a3b49b368c223151144fbbd8c58972d5 Mon Sep 17 00:00:00 2001 From: abveritas Date: Thu, 9 Sep 2010 22:34:10 +0000 Subject: [PATCH 12/13] Updated kmess --- kmess/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmess/PKGBUILD b/kmess/PKGBUILD index afc2b1ee7..7ff534d11 100644 --- a/kmess/PKGBUILD +++ b/kmess/PKGBUILD @@ -11,7 +11,7 @@ pkgdesc="KMess is a MSN Messenger client for Linux." arch=('i686' 'x86_64') url="http://kmess.sourceforge.net/" license=('GPL') -depends=('libxss' 'libxslt' 'giflib' 'qca-ossl' 'kdebase-runtime' 'xdg-utils' 'qt') +depends=('libxss' 'libxslt' 'giflib' 'qca-ossl' 'kdebase-runtime' 'xdg-utils' 'qt' 'docbook-xml') makedepends=('automoc4' 'cmake') optdepends=('cabextract: provides winks support') install=kmess.install From b81d6d2c600a40b48c89a6173e82ea533adbefe1 Mon Sep 17 00:00:00 2001 From: abveritas Date: Fri, 10 Sep 2010 02:16:32 +0000 Subject: [PATCH 13/13] Adding qmc2-- qt based unix mame, speedcrunch--calculator using qt, synergy-plus--share mouse & keyboard, version up opera & kmess --- kmess/PKGBUILD | 2 +- opera/PKGBUILD | 2 +- qmc2/PKGBUILD | 36 ++++++++++++++++ qmc2/qmamecat.desktop | 88 ++++++++++++++++++++++++++++++++++++++++ speedcrunch/PKGBUILD | 30 ++++++++++++++ synergy-plus/PKGBUILD | 37 +++++++++++++++++ synergy-plus/synergys.rc | 38 +++++++++++++++++ 7 files changed, 231 insertions(+), 2 deletions(-) create mode 100644 qmc2/PKGBUILD create mode 100644 qmc2/qmamecat.desktop create mode 100644 speedcrunch/PKGBUILD create mode 100644 synergy-plus/PKGBUILD create mode 100644 synergy-plus/synergys.rc diff --git a/kmess/PKGBUILD b/kmess/PKGBUILD index 7ff534d11..13301b019 100644 --- a/kmess/PKGBUILD +++ b/kmess/PKGBUILD @@ -6,7 +6,7 @@ pkgname=kmess pkgver=2.0.4 -pkgrel=1 +pkgrel=2 pkgdesc="KMess is a MSN Messenger client for Linux." arch=('i686' 'x86_64') url="http://kmess.sourceforge.net/" diff --git a/opera/PKGBUILD b/opera/PKGBUILD index dfc954711..642326d21 100644 --- a/opera/PKGBUILD +++ b/opera/PKGBUILD @@ -25,7 +25,7 @@ arch=('i686' 'x86_64') _barch=i386 [ "$CARCH" = "x86_64" ] && _barch=x86_64 source=(http://ftp.opera.com/pub/opera/linux/${pkgver/./}/opera-${pkgver}-${_buildver}.${_barch}.linux.tar.bz2) -md5sums=('e91b9bd1ddbb3c85d7bdd7991b56add8') +md5sums=('ed2bea87507515c5750c203159a6c5f6') [ "$CARCH" = "x86_64" ] && md5sums=('848367802f947cb063481f1f6718b757') build() { diff --git a/qmc2/PKGBUILD b/qmc2/PKGBUILD new file mode 100644 index 000000000..6344579c4 --- /dev/null +++ b/qmc2/PKGBUILD @@ -0,0 +1,36 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=qmc2 +pkgver=0.2.b15 +pkgrel=1 +pkgdesc="Qt 4 based UNIX MAME frontend supporting SDLMAME." +url="http://qmc2.arcadehits.net" +license=("GPL") +arch=('i686' 'x86_64') +depends=('qt' 'phonon' 'sdl' 'libxmu') +makedepends=('rsync' 'mesa') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 + 'qmamecat.desktop') +md5sums=('b98caae651a1ad1518c5906148e9ded0' + 'bf2a7898e6fff196fb99b5bcc4128a79') + +build() { + cd "$srcdir/$pkgname" + + export CTIME=0 + + make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr || return 1 + make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr DESTDIR=$pkgdir install || return 1 + + mkdir -p $pkgdir/usr/share/{applications,pixmaps} + + install -D -m644 "$srcdir/qmamecat.desktop" "$pkgdir/usr/share/applications" && \ + install -D -m644 "$srcdir/qmc2/data/img/mame.png" "$pkgdir/usr/share/pixmaps" +} diff --git a/qmc2/qmamecat.desktop b/qmc2/qmamecat.desktop new file mode 100644 index 000000000..46581cd3b --- /dev/null +++ b/qmc2/qmamecat.desktop @@ -0,0 +1,88 @@ +[Desktop Entry] +Encoding=UTF-8 +GenericName=Arcade Emulator +GenericName[af]=Arkade Emulasie +GenericName[ar]=محاكي أركيد +GenericName[az]=Arcade Emulyatoru +GenericName[bn]=আর্কেড এমুলেটর +GenericName[br]=Kendarvanerezh tavarn +GenericName[bs]=Simulator arkada +GenericName[ca]=Emulador arcade +GenericName[cs]=Arkádový emulátor +GenericName[cy]=Efelychydd Arcêd +GenericName[da]=Arkade-emulator +GenericName[de]=Arkade-Emulator +GenericName[el]=Προσομοιωτής arcade +GenericName[eo]=Arkado-emulilo +GenericName[es]=Emulador de Arcade +GenericName[et]=Mänguautomaadi emulaator +GenericName[eu]=Arkade emuladorea +GenericName[fa]=مقلد گذرگاه تاقدار +GenericName[fi]=Videoemulaattori +GenericName[fr]=Émulateur de jeux d'arcade +GenericName[fy]=Arcade-emulaasje +GenericName[ga]=Aithriseoir Stuara +GenericName[gl]=Emulador Arcade +GenericName[he]=אמולטור למשחקי Arcade +GenericName[hi]=आर्केड एमुलेटर +GenericName[hr]=Emulator arkada +GenericName[hu]=Játéktermi emulátor +GenericName[it]=Emulatore arcade +GenericName[ja]=アーケードエミュレータ +GenericName[km]=កម្មវិធី​ត្រាប់​តាម​ការ​ធ្វើ​ដំណើរ +GenericName[ko]=오락실 흉내장이 +GenericName[lo]=ຈຳລອງເກມອາເຄດດ໌ +GenericName[lt]=Arkadinis emuliatorius +GenericName[lv]=Arkādes Emulators +GenericName[mk]=Аркаден емулатор +GenericName[mn]=Сансрын тоглоомын эмулатор +GenericName[ms]=Emulator Arked +GenericName[mt]=Emulatur tal-arcades +GenericName[nb]=Arkadespillemulator +GenericName[nds]=Emulator vun'n Speelhall +GenericName[nl]=Arcade-emulatie +GenericName[nn]=Arkadeemulator +GenericName[nso]=Seeekisi sa Arcade +GenericName[pa]=ਅਰਕਾਡੀ ਸਮਰੂਪ +GenericName[pl]=Emulator gry zręcznościowej +GenericName[pt]=Emulador de Arcadas +GenericName[pt_BR]=Emulador para o Arcade +GenericName[ro]=Emulator pentru joc de aventuri +GenericName[ru]=Эмулятор аркадных игр +GenericName[rw]=Mukuruzi Ikirongozi +GenericName[se]=Fearánspellu emuláhtor +GenericName[sk]=Emulátor automatov +GenericName[sl]=Arkadni emulator +GenericName[sr]=Аркадни емулатор +GenericName[sr@Latn]=Arkadni emulator +GenericName[ss]=Silingiseli Arcade +GenericName[sv]=Arkademulator +GenericName[ta]=ஆர்கேட் எமுலேட்டர் +GenericName[tg]=Эмулятори бозиҳои Arcade +GenericName[th]=จำลองเกมอาเขต +GenericName[tr]=Macera Oyunu Öyküncüsü +GenericName[tt]=Arkad Oxşaşlawı +GenericName[uk]=Емулятор "Arcade" +GenericName[uz]= Аркада ўйинлар эмулятори +GenericName[ven]=Mutevhedzeli wa Akhaidi +GenericName[vi]=Mô phỏng Mái vòm +GenericName[wa]=Djeu d' årcåde +GenericName[xh]=Umlinganisi we Emulator +GenericName[zh_CN]=街机模拟器 +GenericName[zh_TW]=電子遊戲模擬器 +GenericName[zu]=Umlingisi womhhume +Exec=qmc2 +Icon=mame +Name=Qmamecat +Name[af]=Qmame-kat +Name[ar]=كيومامكات +Name[eo]=QMamecat +Name[fr]=QMamecat +Name[hi]=क्यूमामेकेट +Name[pa]=ਕਿਉਮੀਕੈਟ +Name[ven]=QmameTshimange +Name[xh]=Qmamekati +Path= +Terminal=false +Type=Application +Categories=Application;Game;Emulator diff --git a/speedcrunch/PKGBUILD b/speedcrunch/PKGBUILD new file mode 100644 index 000000000..00fd89d85 --- /dev/null +++ b/speedcrunch/PKGBUILD @@ -0,0 +1,30 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=speedcrunch +pkgver=0.10.1 +pkgrel=2 +pkgdesc="Simple but powerful calculator using Qt" +url="http://speedcrunch.org/" +arch=('i686' 'x86_64') +depends=('qt') +makedepends=('cmake') +license=('GPL2') +source=(http://speedcrunch.googlecode.com/files/$pkgname-$pkgver.tar.gz) +md5sums=('344ee1303b05502d28c58a2fff1ca6b2') + +build() { + cd $srcdir/$pkgname-$pkgver/src + cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1 + make || return 1 + + # fix make install issue + lrelease speedcrunch.pro + make DESTDIR=$pkgdir install +} diff --git a/synergy-plus/PKGBUILD b/synergy-plus/PKGBUILD new file mode 100644 index 000000000..7454e09ba --- /dev/null +++ b/synergy-plus/PKGBUILD @@ -0,0 +1,37 @@ +# +# Chakra Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=synergy-plus +pkgver=1.3.4 +pkgrel=2 +pkgdesc="Share your mouse and keyboard between several computers" +arch=('i686' 'x86_64') +url="http://code.google.com/p/synergy-plus" +license=('GPL2') +depends=('libxtst' 'libsm' 'libxinerama') +source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz" + "synergys.rc") +md5sums=('2c565afe5f920d363eef38dd97449b73' + '056e59b1d04a66820ffa4b53e5ec20bc') +provides=('synergy') +replaces=('synergy') +conflicts=('synergy') +backup=('etc/synergy.conf') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + ./configure --prefix=/usr --sysconfdir=/etc || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 + + install -m755 -d "${pkgdir}/etc" + install -m644 examples/synergy.conf "${pkgdir}/etc/" || return 1 + install -Dm755 ${srcdir}/synergys.rc ${pkgdir}/etc/rc.d/synergy || return 1 +} diff --git a/synergy-plus/synergys.rc b/synergy-plus/synergys.rc new file mode 100644 index 000000000..758ceaf10 --- /dev/null +++ b/synergy-plus/synergys.rc @@ -0,0 +1,38 @@ +#!/bin/bash + +daemon_name=synergys + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/synergys` +case "$1" in + start) + stat_busy "Starting Synergy Server" + [ -z "$PID" ] && /usr/bin/synergys --config /etc/synergy.conf &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon $daemon_name + stat_done + fi + ;; + stop) + stat_busy "Stopping Synergy Server" + [ ! -z "$PID" ] && kill -9 $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon $daemon_name + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0