Adding kfilebox, version 0.4.5

This commit is contained in:
gcala 2010-10-13 17:16:19 +00:00
parent 25fbf4c68c
commit 28362bf3e2
4 changed files with 266 additions and 5 deletions

48
kfilebox/PKGBUILD Normal file
View File

@ -0,0 +1,48 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kfilebox
pkgver=0.4.5
pkgrel=1
pkgdesc="KDE4 Dropbox client (with own daemon)"
arch=(i686 x86_64)
url="http://kdropbox.deuteros.es"
license=('GPL')
depends=(kdebase-workspace)
replaces=(kdropbox)
source=(http://downloads.sourceforge.net/project/kdropbox/Kfilebox-${pkgver}/Source/${pkgname}-${pkgver}.tar.gz kfilebox.pro)
install=$pkgname.install
md5sums=('409f44fc37e51cbe6938d962f0780e28'
'69ddadaccfb4ac5a7d062ee3251ea42b')
build() {
cp -r kfilebox.pro ${srcdir}/${pkgname}-${pkgver}/kfilebox.pro
cd "${srcdir}/${pkgname}-${pkgver}"
qmake
make || return 1
make INSTALL_ROOT=${pkgdir} install || return 1
#ugly hack to install binnary
install -m 755 -p -D $srcdir/$pkgname-$pkgver/bin/kfilebox $pkgdir/usr/bin/kfilebox
#(again an) ugly hack to install translations
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/ar/kfilebox.mo ${pkgdir}/usr/share/locale/ar/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/br/kfilebox.mo ${pkgdir}/usr/share/locale/br/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/de/kfilebox.mo ${pkgdir}/usr/share/locale/de/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/es/kfilebox.mo ${pkgdir}/usr/share/locale/es/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/fr/kfilebox.mo ${pkgdir}/usr/share/locale/fr/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/gl/kfilebox.mo ${pkgdir}/usr/share/locale/gl/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/tr/kfilebox.mo ${pkgdir}/usr/share/locale/tr/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/ru/kfilebox.mo ${pkgdir}/usr/share/locale/ru/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/pl/kfilebox.mo ${pkgdir}/usr/share/locale/pl/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/cs/kfilebox.mo ${pkgdir}/usr/share/locale/cs/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/it/kfilebox.mo ${pkgdir}/usr/share/locale/it/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/lt/kfilebox.mo ${pkgdir}/usr/share/locale/lt/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/nl/kfilebox.mo ${pkgdir}/usr/share/locale/nl/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/pt/kfilebox.mo ${pkgdir}/usr/share/locale/pt/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/si/kfilebox.mo ${pkgdir}/usr/share/locale/si/LC_MESSAGES/kfilebox.mo
install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/zh/kfilebox.mo ${pkgdir}/usr/share/locale/zh/LC_MESSAGES/kfilebox.mo
}

11
kfilebox/kfilebox.install Normal file
View File

@ -0,0 +1,11 @@
post_install() {
kbuildsycoca4
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

201
kfilebox/kfilebox.pro Normal file
View File

@ -0,0 +1,201 @@
# -------------------------------------------------
# Project created by QtCreator 2010-01-28T13:45:03
# -------------------------------------------------
QT += sql \
network \
dbus
LIBS += -lkdeui
TARGET = bin/kfilebox
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
model/Configuration.cpp \
util/SystemCall.cpp \
model/FileJournal.cpp \
core/DropboxClient.cpp \
core/DaemonConnection.cpp \
util/Downloader.cpp \
installer/Daemoninstaller.cpp \
installer/installerform.cpp \
core/trayicon.cpp \
core/notification.cpp \
core/filebrowser.cpp \
core/dolphin.cpp \
core/konqueror.cpp
HEADERS += mainwindow.h \
model/Configuration.h \
util/SystemCall.h \
model/FileJournal.h \
core/DropboxClient.h \
core/DaemonConnection.h \
util/Downloader.h \
installer/Daemoninstaller.h \
installer/installerform.h \
core/trayicon.h \
core/notification.h \
core/filebrowser.h \
core/dolphin.h \
core/konqueror.h
RESOURCES += DropboxIcons.qrc
TRANSLIST = ar \
br \
de \
# en \
es \
fr \
gl \
tr \
ru \
pl \
cs \
it \
lt \
nl \
pt \
si \
zh
for(language, TRANSLIST):TRANSLATIONS += locale/$${language}/kfilebox.po
FORMS += mainwindow.ui \
installer/installerform.ui
!isEmpty(TRANSLATIONS) {
isEmpty(QMAKE_LRELEASE) {
win32:QMAKE_LRELEASE = msgfmt.exe
else:QMAKE_LRELEASE = msgfmt
}
TSQM.name = msgfmt \
${QMAKE_FILE_IN}
TSQM.input = TRANSLATIONS
TSQM.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.mo
TSQM.commands = $$QMAKE_LRELEASE \
-o \
$$TSQM.output \
${QMAKE_FILE_IN}
TSQM.CONFIG = no_link
QMAKE_EXTRA_COMPILERS += TSQM
PRE_TARGETDEPS += compiler_TSQM_make_all
}
else:message(No translation files in project)
DATADIR=/usr/share
QMFILES = bin/kfilebox
target.path = /usr/bin/
target.files = $$QMFILES
INSTALLS += target
INSTALL_DESKTOP = kfilebox.desktop
insdesktop.path = $$DATADIR/applications/
insdesktop.files = $$INSTALL_DESKTOP
INSTALLS += insdesktop
INSTALL_AUTOSTART = kfilebox.desktop
insauto.path = $$DATADIR/autostart
insauto.files = $$INSTALL_AUTOSTART
INSTALLS += insauto
INSTALL_NOTIFY = kfilebox.notifyrc
insnotify.path = $$DATADIR/kde4/apps/kfilebox
insnotify.files = $$INSTALL_NOTIFY
INSTALLS += insnotify
iconAPP.path = $$DATADIR/kfilebox
iconAPP.files += img/hicolor/48x48/apps/kfilebox.png
INSTALLS += iconAPP
icon16.path = $$DATADIR/icons/hicolor/16x16/apps
icon16.files += img/hicolor/16x16/apps/kfilebox.png
INSTALLS += icon16
icon22.path = $$DATADIR/icons/hicolor/22x22/apps
icon22.files += img/hicolor/22x22/apps/kfilebox.png
INSTALLS += icon22
icon24.path = $$DATADIR/icons/hicolor/24x24/apps
icon24.files += img/hicolor/24x24/apps/kfilebox.png
INSTALLS += icon24
icon32.path = $$DATADIR/icons/hicolor/32x32/apps
icon32.files += img/hicolor/32x32/apps/kfilebox.png
INSTALLS += icon32
icon48.path = $$DATADIR/icons/hicolor/48x48/apps
icon48.files += img/hicolor/48x48/apps/kfilebox.png
INSTALLS += icon48
icon64.path = $$DATADIR/icons/hicolor/64x64/apps
icon64.files += img/hicolor/64x64/apps/kfilebox.png
INSTALLS += icon64
icon128.path = $$DATADIR/icons/hicolor/128x128/apps
icon128.files += img/hicolor/128x128/apps/kfilebox.png
INSTALLS += icon128
iconox16.path = $$DATADIR/icons/oxygen/16x16/apps
iconox16.files += img/hicolor/16x16/apps/kfilebox.png
INSTALLS += iconox16
iconox22.path = $$DATADIR/icons/oxygen/22x22/apps
iconox22.files += img/hicolor/22x22/apps/kfilebox.png
INSTALLS += iconox22
iconox24.path = $$DATADIR/icons/oxygen/24x24/apps
iconox24.files += img/hicolor/24x24/apps/kfilebox.png
INSTALLS += iconox24
iconox32.path = $$DATADIR/icons/oxygen/32x32/apps
iconox32.files += img/hicolor/32x32/apps/kfilebox.png
INSTALLS += iconox32
iconox48.path = $$DATADIR/icons/oxygen/48x48/apps
iconox48.files += img/hicolor/48x48/apps/kfilebox.png
INSTALLS += iconox48
iconox64.path = $$DATADIR/icons/oxygen/64x64/apps
iconox64.files += img/hicolor/64x64/apps/kfilebox.png
INSTALLS += iconox64
iconox128.path = $$DATADIR/icons/oxygen/128x128/apps
iconox128.files += img/hicolor/128x128/apps/kfilebox.png
INSTALLS += iconox128
transinstallar.path = $$DATADIR/locale/ar/LC_MESSAGES
transinstallar.files = locale/ar/kdropbox.mo
INSTALLS += transinstallar
transinstallbr.path = $$DATADIR/locale/br/LC_MESSAGES
transinstallbr.files = locale/br/kdropbox.mo
INSTALLS += transinstallbr
transinstallde.path = $$DATADIR/locale/de_DE/LC_MESSAGES
transinstallde.files = locale/de/kdropbox.mo
INSTALLS += transinstallde
#transinstallen.path = $$DATADIR/locale/en/LC_MESSAGES
#transinstallen.files = locale/en/kdropbox.mo
#INSTALLS += transinstallen
transinstallen_gb.path = $$DATADIR/locale/en_GB/LC_MESSAGES
transinstallen_gb.files = locale/en/kdropbox.mo
INSTALLS += transinstallen_gb
transinstalles.path = $$DATADIR/locale/es/LC_MESSAGES
transinstalles.files = locale/es/kdropbox.mo
INSTALLS += transinstalles
transinstallfr.path = $$DATADIR/locale/fr/LC_MESSAGES
transinstallfr.files = locale/fr/kdropbox.mo
INSTALLS += transinstallfr
transinstallgl.path = $$DATADIR/locale/gl/LC_MESSAGES
transinstallgl.files = locale/gl/kdropbox.mo
INSTALLS += transinstallgl
transinstalltr.path = $$DATADIR/locale/tr/LC_MESSAGES
transinstalltr.files = locale/tr/kdropbox.mo
INSTALLS += transinstalltr
transinstallru.path = $$DATADIR/locale/ru/LC_MESSAGES
transinstallru.files = locale/ru/kdropbox.mo
INSTALLS += transinstallru
transinstallcs.path = $$DATADIR/locale/cs/LC_MESSAGES
transinstallcs.files = locale/cs/kdropbox.mo
INSTALLS += transinstallcs
transinstallpl.path = $$DATADIR/locale/pl/LC_MESSAGES
transinstallpl.files = locale/pl/kdropbox.mo
INSTALLS += transinstallpl
transinstallit.path = $$DATADIR/locale/it/LC_MESSAGES
transinstallit.files = locale/it/kdropbox.mo
INSTALLS += transinstallit
transinstalllt.path = $$DATADIR/locale/lt/LC_MESSAGES
transinstalllt.files = locale/lt/kdropbox.mo
INSTALLS += transinstalllt
transinstallnl.path = $$DATADIR/locale/nl/LC_MESSAGES
transinstallnl.files = locale/nl/kdropbox.mo
INSTALLS += transinstallnl
transinstallpt.path = $$DATADIR/locale/pt/LC_MESSAGES
transinstallpt.files = locale/pt/kdropbox.mo
INSTALLS += transinstallpt
transinstallsi.path = $$DATADIR/locale/si/LC_MESSAGES
transinstallsi.files = locale/si/kdropbox.mo
INSTALLS += transinstallsi
transinstallzh.path = $$DATADIR/locale/zh/LC_MESSAGES
transinstallzh.files = locale/zh/kdropbox.mo
INSTALLS += transinstallzh
transinstallzh_cn.path = $$DATADIR/locale/zh_cn/LC_MESSAGES
transinstallzh_cn.files = locale/zh/kdropbox.mo
INSTALLS += transinstallzh_cn

View File

@ -3,14 +3,15 @@
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="virtualbox_bin"
pkgver="3.2.8"
_build="64453"
pkgrel=1
pkgver="3.2.10"
_build="66523"
pkgrel=2
pkgdesc="Powerful x86 virtualization (Personal Use Binaries Edition)."
arch=('i686' 'x86_64')
url="http://virtualbox.org"
@ -30,10 +31,10 @@ _barch='x86'
source=("VirtualBox-${pkgver}-${_build}-Linux_${_barch}.run::http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}-${_build}-Linux_${_barch}.run"
'10-vboxdrv.rules'
'vboxdrv')
md5sums=('6bb3ab562162c3d6150f5183010ac5e2'
md5sums=('a72291e91d521f879338559954ac8b08'
'98859bfca9ef2ebf2ea43eb9123316fc'
'160fc08a43cd9a719d306b5f023dea42')
[ "$CARCH" = "x86_64" ] && md5sums[0]='9b85875277ef728527e421b7f69f5b55'
[ "$CARCH" = "x86_64" ] && md5sums[0]='4f6303fe7680bd70f49bc96a770c2bf4'
build() {
# Check and unpack the run package via sh(1)