From 2560cb8c5b59595f1e46de5b7821800ae36dca7e Mon Sep 17 00:00:00 2001 From: arcan1s Date: Wed, 11 Sep 2013 01:27:20 +0400 Subject: [PATCH] Added current pkgbuilds --- appset-qt/PKGBUILD | 38 +++++ appset-qt/appset-helper.service | 8 + appset-qt/appset-qt.changelog | 153 ++++++++++++++++++ appset-qt/appset-qt.install | 23 +++ food_gui/PKGBUILD | 22 +++ ghemical-mpqc/PKGBUILD | 40 +++++ ghemical-mpqc/ghemical.desktop | 13 ++ kate-latex-plugin/PKGBUILD | 34 ++++ kdeplasma-applets-oblikuestrategies/PKGBUILD | 32 ++++ ...deplasma-applets-oblikuestrategies.install | 23 +++ kdeplasma-applets-pytextmonitor/PKGBUILD | 46 ++++++ .../kdeplasma-applets-pytextmonitor.install | 26 +++ libghemical-mpqc/PKGBUILD | 31 ++++ mathmech/PKGBUILD | 37 +++++ mpqc-shared/PKGBUILD | 30 ++++ qscite/PKGBUILD | 41 +++++ scidavis/PKGBUILD | 62 +++++++ scidavis/qt-assistant-compat.patch | 12 ++ scidavis/qwt5.patch | 36 +++++ scidavis/scidavis-python2.patch | 74 +++++++++ scidavis/scidavis.install | 10 ++ scidavis/scidavis.pro.patch | 49 ++++++ scidavis/scidavis.sip.patch | 20 +++ 23 files changed, 860 insertions(+) create mode 100644 appset-qt/PKGBUILD create mode 100644 appset-qt/appset-helper.service create mode 100644 appset-qt/appset-qt.changelog create mode 100644 appset-qt/appset-qt.install create mode 100644 food_gui/PKGBUILD create mode 100644 ghemical-mpqc/PKGBUILD create mode 100644 ghemical-mpqc/ghemical.desktop create mode 100644 kate-latex-plugin/PKGBUILD create mode 100644 kdeplasma-applets-oblikuestrategies/PKGBUILD create mode 100644 kdeplasma-applets-oblikuestrategies/kdeplasma-applets-oblikuestrategies.install create mode 100644 kdeplasma-applets-pytextmonitor/PKGBUILD create mode 100644 kdeplasma-applets-pytextmonitor/kdeplasma-applets-pytextmonitor.install create mode 100644 libghemical-mpqc/PKGBUILD create mode 100644 mathmech/PKGBUILD create mode 100644 mpqc-shared/PKGBUILD create mode 100644 qscite/PKGBUILD create mode 100644 scidavis/PKGBUILD create mode 100644 scidavis/qt-assistant-compat.patch create mode 100644 scidavis/qwt5.patch create mode 100644 scidavis/scidavis-python2.patch create mode 100644 scidavis/scidavis.install create mode 100644 scidavis/scidavis.pro.patch create mode 100644 scidavis/scidavis.sip.patch diff --git a/appset-qt/PKGBUILD b/appset-qt/PKGBUILD new file mode 100644 index 0000000..bf6b18d --- /dev/null +++ b/appset-qt/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Simone Tobia + +pkgname=appset-qt +pkgver=0.7.2 +pkgrel=6 +pkgdesc="An advanced and feature rich Package Manager Frontend" +arch=('i686' 'x86_64') +url="http://appset.sourceforge.net/" +license=('GPL2') +depends=('qt4>=4.7 qtwebkit') +optdepends=('packer: for AUR support') +install=${pkgname}.install +changelog=$pkgname.changelog +source=(http://sourceforge.net/projects/appset/files/appset-qt/0.7/$pkgver/$pkgname-$pkgver-sources.tar.gz + appset-helper.service) +md5sums=('8658b6452e1f941af8501a6a772b6cd9' + '7791c134cc275b387c1290f771e43a3d') + +build() { + cd $srcdir/$pkgname-$pkgver-sources + + qmake-qt4 PREFIX=/usr -Wnone + + # localization + lrelease-qt4 Qt/AppSet-Qt/*.ts + lrelease-qt4 Qt/AppSetTray-Qt/*.ts + lrelease-qt4 Qt/AppSetRepoEditor-Qt/*.ts + + make || return 1 +} + +package() { + cd $srcdir/$pkgname-$pkgver-sources + + make INSTALL_ROOT="$pkgdir/" install + # appset-helper daemon + install -D -m 755 ../appset-helper.service $pkgdir/usr/lib/systemd/system/appset-helper.service +} diff --git a/appset-qt/appset-helper.service b/appset-qt/appset-helper.service new file mode 100644 index 0000000..de8c48d --- /dev/null +++ b/appset-qt/appset-helper.service @@ -0,0 +1,8 @@ +[Unit] +Description=Appset Helper Daemon + +[Service] +ExecStart=/usr/bin/appset-helper + +[Install] +WantedBy=multi-user.target diff --git a/appset-qt/appset-qt.changelog b/appset-qt/appset-qt.changelog new file mode 100644 index 0000000..8d08541 --- /dev/null +++ b/appset-qt/appset-qt.changelog @@ -0,0 +1,153 @@ +0.7.1 : + -"Memory leak in trayicon when no sync folder present" bug fixed + -"Locale format" bug fixed + -Changed deprecated (in Qt 4.8) function calls for QQueue + -Updated zh_TW and hu_HU translations + +0.7.0 : + -A button to stop package downloading once started (feature req. #3413922) + -Owned files tree view tab for installed packages (with desktop theme file icons, not in enhanced view, feature req. #3413878) + -New packages search filter: repository + -Per repository statistics + -An alternative (not for AUR/CCR) way to execute requested operations on an external X Terminal emulator where: + *the X Terminal Emulator is configurable via options panel + *in the "check and apply" page you can select (via radio button) to use the internal (like before and default) or external tool + *AUR/CCR now working only with external tools (also fixes bug #3420465 and #3413000) + -New option for tray icon visibility (Always or only when there are available updates) + -New option to enable/disable rss feed reader (feature req. #3353471) + -New option to enable/disable packages homepage loading (feature req. #3353471) + -New option to select the first page ("Start" or "All" packages) + -Tabbed options panel + -Hungarian translation + +0.6.4 : + -AUR/CCR show installed action fixed (bug #3399666) + -Main GUI memory optimizations + +0.6.3 : + -Tray icon change after db upgrade (bug #3394196) + -Minor memory optimizations + +0.6.2 : + -Upgrade not asking for packages replace bug fixed + -Tray icon increasing amount of memory over time bug fixed + -Extra info checkbox not working bug fixed + +0.6.1 : + -Black feed reader widget with dark themes bug fixed (bug #3376645) + -Software categories in packages view as left panel (feature req. #3321918) + -Packages homepage and details in separated tabs + -Other minor UI changes + -Basque translation + -Russian translation + +0.6.0 : + -The option to manually answer to backend's questions (only in english). There are 3 choices in option panel: + *Automatic (the old behaviour) + *Semi-Automatic (few user interactions required - By now only questions like: "Replace ... with ... ?" and "... and ... are in conflict. Remove ...?") DEFAULT + *Ask everything (All backend questions require user interaction) + -Repository editor tool (show, modify, add, remove and change priority for repositories) + -"Report a bug" and "Request a feature" buttons in main GUI + -The option to disable packages preload on startup to minimize memory and CPU usage on boot + -Upgrade backend tool integration with new auth structure bug fixed + -Chinese (China) translation + -Portuguese (Portugal) translation + -Portuguese (Brazilian) translation + -pacman-color + packer + appset conflict fixed + -"Start Fullscreen" bug fixed + -"Extra Info" option persistency bug fixed + + +0.5.1 : + -Some minor bugs fixed for both tray and main GUI + -Romanian translation + -Serbian translation + +0.5.0 : + -Completely new authorization structure: + *Now starts immediately (without asking for password) as unprivileged user (every user can browse apps) + *Requests superuser authorization for privileged operations (only when needed) + *Drops superuser privileges immediately when it is not more useful (more secure) + *Let's the main GUI to be preloaded by the tray (faster startup) + *Closing/Minimizing the main GUI (also when running privileged operations) is managed by the tray + *Tray click leads to show/hide the main GUI + *Closing the tray also closes AppSet instances (when running privileged operations ask for a confirmation) + *Tray "check for updates NOW!" action is now calling the authorization backend (and really works better than before) + -Options are now stored "per user" (every possible sudoer has its own options) + -New option "Auto select system files for upgrade" (checked by default) for "non expert users" (disabled if in expert mode) + -Search bar delay now default to 1200 ms + -Removed AppSetTray-Qt desktop file (now there is only AppSet-Qt in DE's menus) + -Better integration with helper daemon + -News reader now retries (every 5 seconds) to download feeds when fails (without hiding the panel) + -Asks DE's Session Manager to cancel shutdown if the main GUI is still opened (to avoid errors caused by user distraction) + -New About dialog + -Chinese-Taiwan translation + +0.4.4 : + -Simplified actions for standard view (e.g. install/remove actions with one click, withouth showing a redundant context menu) + -Tray click when already running leading to a new appset start bug fixed + -AUR/CCR "list installed" action with no results crash bug fixed + +0.4.3 : + -Generalization of packages size output interpretation for pacman 3.5.2 + -Polish translation + +0.4.2 : + -Installed packages repository information + -lower niceness (10 -> 15) for appset-helper daemon + -Infinite loop on upgrade deps check bug fixed + -Pacman's "Replace %package% with ..." question now get "yes" answer on upgrades (no more using --noconfirm option on upgrade/install) + +0.4.1 : + -New packets view for main repos using QML: + *more apps listed with the same win size + *bigger embedded browser for detailed view + *Touchscreen friendly + *animated + -option to switch between Standard (old) and Enhanced (new) views + -Resize bug fixed for External repo (AUR) view + -AppSet version in about dialog + -Localization bug fixed for about dialog (automatic switch between English and Italian) + -ExtraInfo option now is saved + -Main backend (pacman) upgrade check and backend post upgrade command (pacman-db-upgrade) + -Bug fixed for dependencies check + -Flickering in progress window bug fixed + -Default search bar delay to 900ms + +0.4.0 : + -Basic support to AUR using packer as backend: + *Browse packages with an embedded browser for their homepages (searching with a search bar) + *Install AUR packages (one at a time) + *Remove AUR packages (one at a time from the AUR specialized GUI - more than one with the normal GUI) + *Upgrade AUR packages (all in the same time) + *Automatic activation based on the presence of packer (the backend) + *A button to show all external installed packages + -Clean cache command now requires a confirmation from the user + +0.3.4 : + -Repository information added to avoid incorect behaviours (with the management of multiple sources for the same application) + -Option to view repository in packages table + -Option to disable countdown for auto confirmation of changes + -SearchBar now got the focus after a previous search + -Web Preview now is navigable + -Tray now shows "repo/package last_version" entries ordered by repo + +0.3.3 : + -New outcome evaluation logic + -Local precompiled packages installer (from main GUI, shell cmd argument or Desktop's "Open With..." menu) + -Loading icon + -Spanish translation + +0.3.2 : + -Packages statistics (enabled via options) + -Backend's output (enabled via options) + -Interval between db updates selectable by options + -Changes in main GUI + -External Browser Command now accepts arguments + -Bug fixed for updates operations outcome + +0.3.0-1 : Localization support + +0.2.X : Embedded browser and feed-reader, helper daemon and tray icon + +0.1.X : Basic functions to handle packages diff --git a/appset-qt/appset-qt.install b/appset-qt/appset-qt.install new file mode 100644 index 0000000..ab2a660 --- /dev/null +++ b/appset-qt/appset-qt.install @@ -0,0 +1,23 @@ +whisperer(){ + echo "----------------------------------------------------------------" + echo "Don't forget that this is an alpha release of AppSet-Qt." + echo "You can test it but it is not recommended for use every day" + echo "----------------------------------------------------------------" + echo "AppSet is in your desktop menu under Applications->System" + echo "To launch AppSet from shell run 'appset-launch.sh' as normal" + echo "user." + echo "----------------------------------------------------------------" + echo "----------------------------------------------------------------" + echo "IMPORTANT: NOW YOU NEED TO REBOOT YOUR COMPUTER TO LET APPSET" + echo "WORKING AT ITS BEST" + echo "----------------------------------------------------------------" + echo "----------------------------------------------------------------" +} + +post_install(){ + whisperer +} + +post_upgrade(){ + whisperer +} diff --git a/food_gui/PKGBUILD b/food_gui/PKGBUILD new file mode 100644 index 0000000..e113643 --- /dev/null +++ b/food_gui/PKGBUILD @@ -0,0 +1,22 @@ +# Author: Evgeniy "arcanis" Alexeev +# Maintainer: Evgeniy "arcanis" Alexeev + +pkgname=food_gui +pkgver=1.2.0 +pkgrel=2 +pkgdesc=" Food_gui is a simple program-calculator written on Python2.7 with GUI interface (Qt4) " +url="https://github.com/arcan1s/food_gui" +license=("GPL") +arch=('i686' 'x86_64') +depends=('python2-pyqt4') +source=(https://github.com/arcan1s/food_gui/raw/master/linux/$pkgname-$pkgver.tar.xz) +md5sums=('a206c16e88313b29a02f6b400ce76498') + +package() { + install -D -m755 $srcdir/usr/bin/food_gui $pkgdir/usr/bin/food_gui + + install -D -m644 $srcdir/usr/lib/food_gui/db_eng.dat $pkgdir/usr/lib/food_gui/db_eng.dat + install -D -m644 $srcdir/usr/lib/food_gui/db_rus.dat $pkgdir/usr/lib/food_gui/db_rus.dat + + install -D -m644 $srcdir/usr/share/man/man1/food_gui.1 $pkgdir/usr/share/man/man1/food_gui.1 +} diff --git a/ghemical-mpqc/PKGBUILD b/ghemical-mpqc/PKGBUILD new file mode 100644 index 0000000..92decca --- /dev/null +++ b/ghemical-mpqc/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer Evgeniy Alexeev +# Contributor: Xyne +# Contributor: Abhishek Dasgupta + +pkgname=ghemical-mpqc +_pkgname=ghemical +pkgver=3.0.0 +pkgrel=3 +pkgdesc='Computational chemistry package. Version with enabled mpqc' +license=("GPL") +arch=('x86_64' 'i686') +url='http://bioinformatics.org/ghemical/ghemical/' +depends=('libghemical-mpqc' 'liboglappth>=1.0' 'libglade' 'gtkglext' 'openbabel') +makedepends=('pkgconfig' 'intltool>=0.40.0' 'gettext') +source=(http://bioinformatics.org/ghemical/download/release20111012/${_pkgname}-${pkgver}.tar.gz + ${_pkgname}.desktop) +md5sums=('becf98626f0eba73f7f042bc92aa60ac' + '7e8789d42d1318a427a30f3bf64cb5a6') + +prepare() +{ + cd ${srcdir}/${_pkgname}-${pkgver} + + # Some users have reported crashes due to the courier font. + sed -i 's:courier 12:monospace:g' ./src/*.cpp +} + +build() +{ + cd ${srcdir}/${_pkgname}-${pkgver} + ./configure --prefix=/usr + make -j3 +} + +package() +{ + cd ${srcdir}/${_pkgname}-${pkgver} + install -Dm644 ${srcdir}/${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop + make DESTDIR=${pkgdir} install +} diff --git a/ghemical-mpqc/ghemical.desktop b/ghemical-mpqc/ghemical.desktop new file mode 100644 index 0000000..eff4501 --- /dev/null +++ b/ghemical-mpqc/ghemical.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Version=3.0.0 +Name=Ghemical +GenericName=Computational chemistry package +GenericName[de]=Chemisches Berechnungsprogramm +Comment=3D molecule editor and computing program +Comment[de]=3D Moleküleditor und Berechnungsprogramm +Icon=/usr/share/ghemical/3.0.0/pixmaps/ghemical.png +Exec=/usr/bin/ghemical +Terminal=false +Categories=Science;Chemistry;Education; +StartupNotify=true diff --git a/kate-latex-plugin/PKGBUILD b/kate-latex-plugin/PKGBUILD new file mode 100644 index 0000000..1e45035 --- /dev/null +++ b/kate-latex-plugin/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: Bernardo Barros +# Maintainer: Evgeniy "arcanis" Alexeev + +pkgname=kate-latex-plugin +_pkgname=katelatexplugin +pkgver=0.5 +pkgrel=1 +pkgdesc="Kate LaTeX typesetting plugin" +arch=('i686' 'x86_64') +url="http://www.kde-apps.org/content/show.php/Kate+LaTeX+typesetting+plugin?content=84772" +license=('GPL') +depends=('kdesdk-kate' 'libxtst') +makedepends=('automoc4') +source=(http://kde-apps.org/CONTENT/content-files/84772-${_pkgname}-${pkgver}.tar.bz2) +md5sums=('d6e30aa41da5279300f5d638ff595a77') + +build() +{ + if [ -d ${srcdir}/build ]; then + rm -rf ${srcdir}/build + fi + mkdir ${srcdir}/build && cd ${srcdir}/build + + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \ + ../${_pkgname}-${pkgver} + make || return 1 +} + +package() +{ + cd $srcdir/build + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/kdeplasma-applets-oblikuestrategies/PKGBUILD b/kdeplasma-applets-oblikuestrategies/PKGBUILD new file mode 100644 index 0000000..5ce3521 --- /dev/null +++ b/kdeplasma-applets-oblikuestrategies/PKGBUILD @@ -0,0 +1,32 @@ +# Author: Evgeniy "arcanis" Alexeev +# Maintainer: Evgeniy "arcanis" Alexeev + +pkgname=kdeplasma-applets-oblikuestrategies +_pkgname=oblikue-strategies +pkgver=1.5 +pkgrel=2 +pkgdesc="Plasmoid that displays a random draw from Brian Eno and Peter Schmidt's Oblique Strategies" +arch=(any) +url="https://github.com/arcan1s/oblikuestrategies" +license=('GPL') +depends=('kdebase-workspace') +makedepends=('cmake' 'automoc4') +source=(https://github.com/arcan1s/oblikuestrategies/releases/download/V.${pkgver}/${_pkgname}-${pkgver}.tar.xz) +install=${pkgname}.install +md5sums=('e813b03a17d96cddc41acdf457e37bbb') + +build () +{ + if [ -d ${srcdir}/build ]; then + rm -r ${srcdir}/build + fi + mkdir ${srcdir}/build && cd ${srcdir}/build + cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../${_pkgname}/ + make || return 1 +} + +package() +{ + cd ${srcdir}/build + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/kdeplasma-applets-oblikuestrategies/kdeplasma-applets-oblikuestrategies.install b/kdeplasma-applets-oblikuestrategies/kdeplasma-applets-oblikuestrategies.install new file mode 100644 index 0000000..d7ee1f1 --- /dev/null +++ b/kdeplasma-applets-oblikuestrategies/kdeplasma-applets-oblikuestrategies.install @@ -0,0 +1,23 @@ +post_install() +{ + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 +} + +post_upgrade() +{ + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 +} + +post_remove() +{ + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 +} diff --git a/kdeplasma-applets-pytextmonitor/PKGBUILD b/kdeplasma-applets-pytextmonitor/PKGBUILD new file mode 100644 index 0000000..6b61cfd --- /dev/null +++ b/kdeplasma-applets-pytextmonitor/PKGBUILD @@ -0,0 +1,46 @@ +# Author: Evgeniy "arcanis" Alexeev +# Maintainer: Evgeniy "arcanis" Alexeev + +pkgname=kdeplasma-applets-pytextmonitor +_pkgname=py-text-monitor +pkgver=1.3.4 +pkgrel=6 +_dtengine=ext-sysmon +_dtver=1.2 +pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm" +arch=(any) +url="https://github.com/arcan1s/pytextmonitor" +license=('GPL') +depends=('kdebase-workspace' 'kdebindings-python2' 'lm_sensors' 'net-tools') +optdepends=("hddtemp: for HDD temperature monitor" + "catalyst: for GPU monitor" + "nvidia-utils: for GPU monitor") +makedepends=('cmake' 'automoc4') +source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}.plasmoid + https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_dtengine}-${_dtver}.zip) +install=${pkgname}.install +md5sums=('7cca5fd76735add215f35d406c020dea' + '9b547781732ab19ad103710b7bd07d8d') + +build () +{ +# build dataengine + if [ -d ${srcdir}/${_dtengine}/build ]; then + rm -r ${srcdir}/${_dtengine}/build + fi + mkdir ${srcdir}/${_dtengine}/build && cd ${srcdir}/${_dtengine}/build + cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../ + make || return 1 +} + +package() +{ +# install dataengine + cd ${srcdir}/${_dtengine}/build + make DESTDIR=${pkgdir} install || return 1 + +# install plasmoid + install -D ${srcdir}/metadata.desktop ${pkgdir}/`kde4-config --prefix`/share/kde4/services/${_pkgname}.desktop || return 1 + install -D ${srcdir}/metadata.desktop ${pkgdir}/`kde4-config --prefix`/share/apps/plasma/plasmoids/${_pkgname}/metadata.desktop || return 1 + cp -r ${srcdir}/contents ${pkgdir}/`kde4-config --prefix`/share/apps/plasma/plasmoids/${_pkgname}/ || return 1 +} diff --git a/kdeplasma-applets-pytextmonitor/kdeplasma-applets-pytextmonitor.install b/kdeplasma-applets-pytextmonitor/kdeplasma-applets-pytextmonitor.install new file mode 100644 index 0000000..946f255 --- /dev/null +++ b/kdeplasma-applets-pytextmonitor/kdeplasma-applets-pytextmonitor.install @@ -0,0 +1,26 @@ +post_install() +{ + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 + cat << EOF +Make sure that \`hddtemp\` can be run as non-root +EOF +} + +post_upgrade() +{ + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 +} + +post_remove() +{ + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 +} diff --git a/libghemical-mpqc/PKGBUILD b/libghemical-mpqc/PKGBUILD new file mode 100644 index 0000000..ff6eeaa --- /dev/null +++ b/libghemical-mpqc/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer Evgeniy Alexeev +# Contributor: Xyne +# Contributor: Abhishek Dasgupta + +pkgname=libghemical-mpqc +_pkgname=libghemical +pkgver=3.0.0 +pkgrel=1 +pkgdesc='Library containing computational chemistry facility of ghemical. Version with enabled mpqc and mopac7' +license=('GPL') +arch=('x86_64' 'i686') +url='http://bioinformatics.org/ghemical/libghemical/' +depends=('gcc-libs' 'mopac7' 'mpqc-shared') +makedepends=('openbabel' 'intltool>=0.40.0') +conflicts=('libghemical') +provides=('libghemical') +replaces=('libghemical') +source=(http://bioinformatics.org/ghemical/download/release20111012/${_pkgname}-${pkgver}.tar.gz) +md5sums=('1d5c9c19bb119470d2bb41a7e681eafd') + +build() +{ + cd ${srcdir}/${_pkgname}-${pkgver} + ./configure --prefix=/usr --enable-openbabel --enable-mpqc --enable-mopac7 + make -j3 +} + +package() { + cd ${srcdir}/${_pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/mathmech/PKGBUILD b/mathmech/PKGBUILD new file mode 100644 index 0000000..96099f3 --- /dev/null +++ b/mathmech/PKGBUILD @@ -0,0 +1,37 @@ +# Author: Evgeniy "arcanis" Alexeev +# Maintainer: Evgeniy "arcanis" Alexeev + +pkgname=mathmech +pkgver=1.1.1 +pkgrel=1 +pkgdesc="Software package for analysis of molecular dynamics trajectories" +arch=(any) +url="https://github.com/arcan1s/moldyn" +license=('GPL') +depends=('qt4' 'qwt') +makedepends=('cmake' 'automoc4') +source=(https://github.com/arcan1s/moldyn/releases/download/mm-${pkgver}/${pkgname}-${pkgver}-src.zip) +md5sums=('6a7f3dd17ae4ad0498110aaaadea5a2b') +_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr + -DQWT_INCLUDE_PATH=/usr/include/qwt + -DQWT_LIBRARY_PATH=/usr/lib + -DMM_PREFIX=mm_ + -DADD_DOCS:BOOL=0 + -DCMAKE_BUILD_TYPE=Release" + +build () +{ + if [ -d ${srcdir}/build ]; then + rm -rf ${srcdir}/build + fi + mkdir ${srcdir}/build && cd ${srcdir}/build + cmake ${_cmakekeys} ../ + make +} + +package() +{ + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} + diff --git a/mpqc-shared/PKGBUILD b/mpqc-shared/PKGBUILD new file mode 100644 index 0000000..ac8677b --- /dev/null +++ b/mpqc-shared/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Evgeniy "arcanis" Alexeev + +pkgname=mpqc-shared +_pkgname=mpqc +pkgver=2.3.1 +pkgrel=1 +pkgdesc="The Massively Parallel Quantum Chemistry Program computes properties of atoms and molecules using the time independent Schrödinger equation. Version with shared libraries" +arch=('i686' 'x86_64') +url="http://www.mpqc.org/" +license=('LGPL') +depends=('lapack' 'gcc-fortran' 'gcc-libs' 'tk' 'perl') +conflicts=('mpqc') +provides=('mpqc') +replaces=('mpqc') +source=(http://sourceforge.net/projects/mpqc/files/mpqc/${pkgver}/${_pkgname}-${pkgver}.tar.bz2) +md5sums=('2f9b4f7487387730d78066a53764f848') + +build() +{ + cd ${srcdir}/${_pkgname}-${pkgver} + ./configure --prefix=/usr --enable-shared + make -j3 +} + +package() +{ + cd ${srcdir}/${_pkgname}-${pkgver} + make installroot=${pkgdir} install + make installroot=${pkgdir} install_devel +} diff --git a/qscite/PKGBUILD b/qscite/PKGBUILD new file mode 100644 index 0000000..e597b44 --- /dev/null +++ b/qscite/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Jared Sutton +# Maintainer: Evgeniy Alekseev + +pkgname=qscite +pkgver=0.5_svn211 +_pkgrev=211 +pkgrel=2 +pkgdesc="A code editor written in C++ and Qt4; A clone of SciTE." +arch=('i686' 'x86_64') +url="http://qscite.googlecode.com/" +license=('GPL') +depends=('qt4') +source=(http://qscite.googlecode.com/files/${pkgname}-r${_pkgrev}.tar.gz) +md5sums=('2ce7a915e5560725d897816688a4bef7') + +prepare() +{ +# FIXME: Achtung! +# fix scintilla2 download path + sed -i "s;\"http://www.riverbankcomputing.co.uk\$_download_path\";\ +\`echo \$_download_path | sed \"s#http://#http://optimate.dl.#\"\ +| sed \"s#projects/pyqt/files#project/pyqt#\"\`;" ${srcdir}/${pkgname}/get_qsci.sh +# fix filepath + sed -i "s:QScintilla2/Qt4:QScintilla2/Qt4Qt5:" ${srcdir}/${pkgname}/qscite.pro +# fix version + sed -i "s:0.5-svn190:${pkgver}:" ${srcdir}/${pkgname}/qscite.desktop +} + +build() +{ + cd ${srcdir}/${pkgname} + qmake-qt4 qscite-release.pro || return 1 + make || return 1 +} + +package() +{ +# makefile haven't install section + install -D -m755 ${srcdir}/${pkgname}/build/${pkgname}-release ${pkgdir}/usr/bin/${pkgname} + install -D -m644 ${srcdir}/${pkgname}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop +} diff --git a/scidavis/PKGBUILD b/scidavis/PKGBUILD new file mode 100644 index 0000000..5a2740a --- /dev/null +++ b/scidavis/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: Evgeniy "arcanis" Alexeev +# Contributor: Knut Franke - Knut.Franke*gmx.de +# Contributor: Olaf Leidinger +# Contributor: Robal + +pkgname=scidavis +pkgver=0.2.4 +pkgrel=8 +pkgdesc="Application for Scientific Data Analysis and Visualization, fork of QtiPlot" +arch=('i686' 'x86_64') +depends=('gsl' 'mesa' 'muparser' 'python2-pyqt4' 'shared-mime-info' + 'qt-assistant-compat' 'qwtplot3d' 'qwt5') +license=('GPL') +url="http://scidavis.sourceforge.net/" +source=(http://prdownloads.sourceforge.net/sourceforge/scidavis/${pkgname}-${pkgver}.tar.bz2 + scidavis.pro.patch + scidavis.sip.patch + scidavis-python2.patch + qt-assistant-compat.patch + qwt5.patch) +install=${pkgname}.install +md5sums=('c5650475c5e0b22f9ee5dc49630a0e89' + '2ec36f34039ca8cd6db2401b1215590b' + 'c140a5ce784f9e106fb637fcc3df517c' + 'ff0a7cb32e8ed439f008bfd114cbf611' + '450b7139f913210dd8a0ffbde03e86be' + '159aad53f13328123d42bfb7a4adf1b8') + +prepare() +{ + cd ${srcdir}/${pkgname}-${pkgver}/${pkgname} + # disable building self library + patch < ${srcdir}/scidavis.pro.patch + # fix bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655776 + patch -p2 < ${srcdir}/scidavis.sip.patch + # change python to python2 + patch < ${srcdir}/scidavis-python2.patch + # fix path to QtAssistant header + patch -p2 < ${srcdir}/qt-assistant-compat.patch + # change qwt to qwt5 + patch < ${srcdir}/qwt5.patch +} + +build() +{ + cd ${srcdir}/${pkgname}-${pkgver}/ + lupdate-qt4 scidavis.pro + lrelease-qt4 scidavis.pro + qmake-qt4 + make || return 1 +} + +package () +{ + cd ${srcdir}/${pkgname}-${pkgver}/ + make INSTALL_ROOT=${pkgdir} install || return 1 + + _pydir=`python2 -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` + python2 `dirname ${_pydir}`/py_compile.py ${pkgdir}/etc/scidavisrc.py + python2 `dirname ${_pydir}`/py_compile.py ${pkgdir}/usr/share/scidavis/scidavisUtil.py +} + diff --git a/scidavis/qt-assistant-compat.patch b/scidavis/qt-assistant-compat.patch new file mode 100644 index 0000000..68a1725 --- /dev/null +++ b/scidavis/qt-assistant-compat.patch @@ -0,0 +1,12 @@ +diff -uNr scidavis-0.2.4.orig/scidavis/src/ApplicationWindow.cpp scidavis-0.2.4/scidavis/src/ApplicationWindow.cpp +--- scidavis-0.2.4.orig/scidavis/src/ApplicationWindow.cpp 2010-10-06 20:00:36.000000000 +0200 ++++ scidavis-0.2.4/scidavis/src/ApplicationWindow.cpp 2010-10-06 20:01:28.000000000 +0200 +@@ -135,7 +135,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include diff --git a/scidavis/qwt5.patch b/scidavis/qwt5.patch new file mode 100644 index 0000000..cf422ac --- /dev/null +++ b/scidavis/qwt5.patch @@ -0,0 +1,36 @@ +*** scidavis.pro-old 2011-08-07 02:40:22.794577716 +0200 +--- scidavis.pro 2011-08-07 02:40:50.047911224 +0200 +*************** +*** 102,108 **** + ### Link everything dynamically + ############################################################################# + +! unix:INCLUDEPATH += /usr/include/qwt + unix:LIBS += -L/usr/lib$${libsuff} + ## dynamically link against Qwt(3D) installed system-wide + ## WARNING: make sure they are compiled against >= Qt4.2 +--- 102,108 ---- + ### Link everything dynamically + ############################################################################# + +! unix:INCLUDEPATH += /usr/include/qwt5 + unix:LIBS += -L/usr/lib$${libsuff} + ## dynamically link against Qwt(3D) installed system-wide + ## WARNING: make sure they are compiled against >= Qt4.2 +*************** +*** 110,116 **** + ## cause problems. + unix:INCLUDEPATH += /usr/include/qwtplot3d + unix:LIBS += -lqwtplot3d +! unix:LIBS += -lqwt + ##dynamically link against GSL and zlib installed system-wide + unix:LIBS += -lgsl -lgslcblas -lz -lmuparser + +--- 110,116 ---- + ## cause problems. + unix:INCLUDEPATH += /usr/include/qwtplot3d + unix:LIBS += -lqwtplot3d +! unix:LIBS += -lqwt5 + ##dynamically link against GSL and zlib installed system-wide + unix:LIBS += -lgsl -lgslcblas -lz -lmuparser + diff --git a/scidavis/scidavis-python2.patch b/scidavis/scidavis-python2.patch new file mode 100644 index 0000000..3d47035 --- /dev/null +++ b/scidavis/scidavis-python2.patch @@ -0,0 +1,74 @@ +# HG changeset patch +# User Robal +# Date 1287746261 -7200 +# Node ID 1f5799d979b49f7bdd5ebb58e9c2083081147529 +# Parent 5765007ad9e767615a57ead333906b19cfa43c54 +set python2 env + +diff -r 5765007ad9e7 -r 1f5799d979b4 scidavis/python-includepath.py +--- a/scidavis/python-includepath.py Fri Oct 22 13:09:25 2010 +0200 ++++ b/scidavis/python-includepath.py Fri Oct 22 13:17:41 2010 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + from distutils import sysconfig + from PyQt4 import pyqtconfig + config = pyqtconfig.Configuration() +diff -r 5765007ad9e7 -r 1f5799d979b4 scidavis/python-libs-win.py +--- a/scidavis/python-libs-win.py Fri Oct 22 13:09:25 2010 +0200 ++++ b/scidavis/python-libs-win.py Fri Oct 22 13:17:41 2010 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + from PyQt4 import pyqtconfig + config = pyqtconfig.Configuration() + +diff -r 5765007ad9e7 -r 1f5799d979b4 scidavis/python-sipcmd.py +--- a/scidavis/python-sipcmd.py Fri Oct 22 13:09:25 2010 +0200 ++++ b/scidavis/python-sipcmd.py Fri Oct 22 13:17:41 2010 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + from PyQt4 import pyqtconfig + config = pyqtconfig.Configuration() + flags = [] +diff -r 5765007ad9e7 -r 1f5799d979b4 scidavis/python.pri +--- a/scidavis/python.pri Fri Oct 22 13:09:25 2010 +0200 ++++ b/scidavis/python.pri Fri Oct 22 13:17:41 2010 +0200 +@@ -15,7 +15,7 @@ + SOURCES += src/PythonScript.cpp src/PythonScripting.cpp + + unix { +- INCLUDEPATH += $$system(python python-includepath.py) ++ INCLUDEPATH += $$system(python2 python-includepath.py) + macx { + LIBS += -framework Python + } else { +@@ -23,7 +23,7 @@ + } + LIBS += -lm + system(mkdir -p $${SIP_DIR}) +- system($$system(python python-sipcmd.py) -c $${SIP_DIR} src/scidavis.sip) ++ system($$system(python2 python-sipcmd.py) -c $${SIP_DIR} src/scidavis.sip) + } + + win32 { +# HG changeset patch +# User Robal +# Date 1287751697 -7200 +# Node ID 42d95b7369a82382d81670c5d0af3d675262c93f +# Parent 1f5799d979b49f7bdd5ebb58e9c2083081147529 +change missed 'python' to 'python2' in python.pri + +diff -r 1f5799d979b4 -r 42d95b7369a8 scidavis/python.pri +--- a/scidavis/python.pri Fri Oct 22 13:17:41 2010 +0200 ++++ b/scidavis/python.pri Fri Oct 22 14:48:17 2010 +0200 +@@ -19,7 +19,7 @@ + macx { + LIBS += -framework Python + } else { +- LIBS += $$system(python -c "\"from distutils import sysconfig; print '-lpython'+sysconfig.get_config_var('VERSION')\"") ++ LIBS += $$system(python2 -c "\"from distutils import sysconfig; print '-lpython'+sysconfig.get_config_var('VERSION')\"") + } + LIBS += -lm + system(mkdir -p $${SIP_DIR}) diff --git a/scidavis/scidavis.install b/scidavis/scidavis.install new file mode 100644 index 0000000..90e16a1 --- /dev/null +++ b/scidavis/scidavis.install @@ -0,0 +1,10 @@ +post_install() { + update-desktop-database -q + update-mime-database /usr/share/mime/ > /dev/null +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: diff --git a/scidavis/scidavis.pro.patch b/scidavis/scidavis.pro.patch new file mode 100644 index 0000000..363f4f5 --- /dev/null +++ b/scidavis/scidavis.pro.patch @@ -0,0 +1,49 @@ +--- scidavis.pro.orig 2010-03-12 19:40:49.000000000 +0100 ++++ scidavis.pro 2010-03-12 19:42:34.000000000 +0100 +@@ -87,32 +87,32 @@ + ### are compiled against Qt4), dynamically against everything else. + ############################################################################# + +-unix:INCLUDEPATH += ../3rdparty/qwtplot3d/include +-unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a ++#unix:INCLUDEPATH += ../3rdparty/qwtplot3d/include ++#unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a + +-unix:INCLUDEPATH += ../3rdparty/qwt/src +-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a ++#unix:INCLUDEPATH += ../3rdparty/qwt/src ++#unix:LIBS += ../3rdparty/qwt/lib/libqwt.a + +-unix:LIBS += -L/usr/lib$${libsuff} +-unix:LIBS += -lgsl -lgslcblas -lz +-unix:LIBS += -lmuparser +-unix:INCLUDEPATH += /usr/include/muParser ++#unix:LIBS += -L/usr/lib$${libsuff} ++#unix:LIBS += -lgsl -lgslcblas -lz ++#unix:LIBS += -lmuparser ++#unix:INCLUDEPATH += /usr/include/muParser + + ############################################################################# + ### Link everything dynamically + ############################################################################# + +-#unix:INCLUDEPATH += /usr/include/qwt5 +-#unix:LIBS += -L/usr/lib$${libsuff} ++unix:INCLUDEPATH += /usr/include/qwt ++unix:LIBS += -L/usr/lib$${libsuff} + ## dynamically link against Qwt(3D) installed system-wide + ## WARNING: make sure they are compiled against >= Qt4.2 + ## Mixing Qt 4.2 and Qt >= 4.3 compiled stuff may also + ## cause problems. +-#unix:INCLUDEPATH += /usr/include/qwtplot3d +-#unix:LIBS += -lqwtplot3d +-#unix:LIBS += -lqwt ++unix:INCLUDEPATH += /usr/include/qwtplot3d ++unix:LIBS += -lqwtplot3d ++unix:LIBS += -lqwt + ##dynamically link against GSL and zlib installed system-wide +-#unix:LIBS += -lgsl -lgslcblas -lz -lmuparser ++unix:LIBS += -lgsl -lgslcblas -lz -lmuparser -lGLU + + ############################################################################# + ### Default settings for Windows diff --git a/scidavis/scidavis.sip.patch b/scidavis/scidavis.sip.patch new file mode 100644 index 0000000..c9bd450 --- /dev/null +++ b/scidavis/scidavis.sip.patch @@ -0,0 +1,20 @@ +--- scidavis-0.2.4.orig/scidavis/src/scidavis.sip 2010-03-12 17:49:20.000000000 +0300 ++++ scidavis-0.2.4/scidavis/src/scidavis.sip 2013-09-10 05:17:57.599898053 +0400 +@@ -926,7 +926,7 @@ + void removeCurve(const QString&); + void deleteFitCurves(); + int curves() /PyName=numCurves/; +- QList curves() const /NoDerived/; ++ QList curves() /NoDerived/; + %MethodCode + sipRes = new QList(); + for (int i = 0; icurves(); i++) +@@ -995,7 +995,7 @@ + sipRes = sipCpp->d_plot->canvas(); + %End + +- QPointF pickPoint() const /NoDerived/; ++ QPointF pickPoint() /NoDerived/; + %MethodCode + ApplicationWindow *app = sipscidavis_app(); + sipRes = new QPointF();