diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-03-04 03:55:06 +0000 |
---|---|---|
committer | Dave Woodfall <dave@slackbuilds.org> | 2022-03-04 03:55:06 +0000 |
commit | 78eae1b73a44735070ff3b55f85063d47970ee33 (patch) | |
tree | a317bbb72b3e33f04bc2402df11296a6245dab38 /academic | |
parent | 2ffda9b0ed8b84506de81d12d2b84a39cf2b23a2 (diff) |
academic/avogadro: Removed.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/avogadro/README | 6 | ||||
-rw-r--r-- | academic/avogadro/avogadro-1.1.1-python_openbabel.patch | 14 | ||||
-rw-r--r-- | academic/avogadro/avogadro-1.2.0-libmsym.patch | 29 | ||||
-rw-r--r-- | academic/avogadro/avogadro.SlackBuild | 128 | ||||
-rw-r--r-- | academic/avogadro/avogadro.info | 10 | ||||
-rw-r--r-- | academic/avogadro/doinst.sh | 4 | ||||
-rw-r--r-- | academic/avogadro/slack-desc | 19 |
7 files changed, 0 insertions, 210 deletions
diff --git a/academic/avogadro/README b/academic/avogadro/README deleted file mode 100644 index ef97a2fae01e5..0000000000000 --- a/academic/avogadro/README +++ /dev/null @@ -1,6 +0,0 @@ -Avogadro is a molecular graphics and modelling system targeted at -molecules and biomolecules. It can visualize properties like molecular -orbitals or electrostatic potentials and features an intuitive -molecular builder. - -Optionally numpy can be installed for python support. diff --git a/academic/avogadro/avogadro-1.1.1-python_openbabel.patch b/academic/avogadro/avogadro-1.1.1-python_openbabel.patch deleted file mode 100644 index c819b08502e6d..0000000000000 --- a/academic/avogadro/avogadro-1.1.1-python_openbabel.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt.openbabel avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt ---- avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt.openbabel 2013-12-06 09:50:04.000000000 -0600 -+++ avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt 2016-01-25 13:50:10.469758655 -0600 -@@ -20,8 +20,8 @@ if (WIN32) - set_target_properties(python-module PROPERTIES SUFFIX ".pyd") - target_link_libraries(python-module avogadro ${PYTHON_LIBRARIES}) - else() -- target_link_libraries(python-module stdc++ avogadro -- ${QT_LIBRARIES} ${PYTHON_LIBRARIES} ${Boost_LIBRARIES}) -+ target_link_libraries(python-module stdc++ avogadro -+ ${QT_LIBRARIES} ${PYTHON_LIBRARIES} ${OPENBABEL2_LIBRARIES} ${Boost_LIBRARIES}) - endif() - - # Let's try to use this instead: diff --git a/academic/avogadro/avogadro-1.2.0-libmsym.patch b/academic/avogadro/avogadro-1.2.0-libmsym.patch deleted file mode 100644 index 818b2e434bb44..0000000000000 --- a/academic/avogadro/avogadro-1.2.0-libmsym.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Naur avogadro-1.2.0.orig/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt avogadro-1.2.0/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt ---- avogadro-1.2.0.orig/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt 2016-06-08 14:19:45.000000000 +0000 -+++ avogadro-1.2.0/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt 2016-08-01 04:18:55.910888721 +0000 -@@ -7,13 +7,13 @@ - set(LIBMSYM_PATCH_VERSION 0) - set(LIBMSYM_VERSION ${LIBMSYM_MAJOR_VERSION}.${LIBMSYM_MINOR_VERSION}.${LIBMSYM_PATCH_VERSION}) - --set(INSTALL_LIB_DIR lib CACHE PATH "Installation directory for msym library") -+set(INSTALL_LIB_DIR lib${LIB_SUFFIX} CACHE PATH "Installation directory for msym library") - set(INSTALL_INCLUDE_DIR include CACHE PATH "Installation directory for header files") - - if(WIN32 AND NOT CYGWIN) - set(DEF_INSTALL_CMAKE_DIR CMake) - else() -- set(DEF_INSTALL_CMAKE_DIR lib/cmake/libmsym) -+ set(DEF_INSTALL_CMAKE_DIR lib${LIB_SUFFIX}/cmake/libmsym) - endif() - set(INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files") - -@@ -29,6 +29,9 @@ - file (GLOB source src/*.c) - add_library (msym ${source}) - if (BUILD_SHARED_LIBS) -+ if(CMAKE_SYSTEM_NAME MATCHES Linux) -+ target_link_libraries(msym m) -+ endif() - set_target_properties (msym PROPERTIES - POSITION_INDEPENDENT_CODE "TRUE") - endif () diff --git a/academic/avogadro/avogadro.SlackBuild b/academic/avogadro/avogadro.SlackBuild deleted file mode 100644 index ab79957b1aa08..0000000000000 --- a/academic/avogadro/avogadro.SlackBuild +++ /dev/null @@ -1,128 +0,0 @@ -#!/bin/bash - -# Slackware build script for Avogadro - -# Copyright 2010-2016 Larry Hajali <larryhaja[at]gmail[dot]com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=avogadro -VERSION=${VERSION:-1.2.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Fix manpage directory. -sed -i 's|share/man|man|' doc/CMakeLists.txt -# Fix install directory and linking for libmsym library. -patch -p1 < $CWD/avogadro-1.2.0-libmsym.patch - -# fix build (with recent swig/linker/python?) -# http://pkgs.fedoraproject.org/cgit/rpms/avogadro.git/tree/avogadro-1.1.1-python_openbabel.patch -patch -p1 < $CWD/avogadro-1.1.1-python_openbabel.patch - -mkdir -p build -cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DENABLE_RPATH=OFF \ - -DCMAKE_SKIP_RPATH=YES \ - -DENABLE_GLSL:BOOL=ON \ - -DENABLE_UPDATE_CHECKER=OFF \ - -DENABLE_VERSIONED_PLUGIN_DIR:BOOL=OFF \ - -DBUILD_SHARED_LIBS:BOOL=ON \ - -DQT_MKSPECS_RELATIVE=lib${LIBDIRSUFFIX}/qt/mkspecs \ - -DCMAKE_BUILD_TYPE=Release .. - - make VERBOSE=1 - make install DESTDIR=$PKG -cd - - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING INSTALL README \ - libavogadro/src/extensions/gl2ps/{COPYING*,*.txt,*.pdf} \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/academic/avogadro/avogadro.info b/academic/avogadro/avogadro.info deleted file mode 100644 index 68813ecc75325..0000000000000 --- a/academic/avogadro/avogadro.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="avogadro" -VERSION="1.2.0" -HOMEPAGE="http://avogadro.cc/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/avogadro-1.2.0.tar.gz" -MD5SUM="3206068fc27bd3b717c568ee72f1e5ec" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="openbabel" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" diff --git a/academic/avogadro/doinst.sh b/academic/avogadro/doinst.sh deleted file mode 100644 index 4e8ba7071dea7..0000000000000 --- a/academic/avogadro/doinst.sh +++ /dev/null @@ -1,4 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - diff --git a/academic/avogadro/slack-desc b/academic/avogadro/slack-desc deleted file mode 100644 index 50fba281d95cb..0000000000000 --- a/academic/avogadro/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -avogadro: avogadro (An advanced molecular editor based on Qt 4.) -avogadro: -avogadro: Avogadro is a molecular graphics and modelling system targetted at -avogadro: molecules and biomolecules. It can visualize properties like -avogadro: molecular orbitals or electrostatic potentials and features an -avogadro: intuitive molecular builder. -avogadro: -avogadro: Homepage: http://avogadro.cc/ -avogadro: -avogadro: -avogadro: |