diff options
author | Kyle Guinn <elyk03@gmail.com> | 2015-02-12 00:57:59 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-02-15 07:56:32 +0700 |
commit | 8b610bdb197e750d90521a617d514b5c0ba62db7 (patch) | |
tree | a250892e3d052e3059ea94a9ed1f375c77624c0d /development | |
parent | 444e1342b0a218a8170e420f79f2ce6e49dc5e70 (diff) |
development/eagle: Updated for version 7.2.0 + new maintainer.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'development')
-rw-r--r-- | development/eagle/doinst.sh | 9 | ||||
-rw-r--r-- | development/eagle/eagle.SlackBuild | 80 | ||||
-rw-r--r-- | development/eagle/eagle.info | 10 | ||||
-rw-r--r-- | development/eagle/eagle.png | bin | 1848 -> 0 bytes |
4 files changed, 42 insertions, 57 deletions
diff --git a/development/eagle/doinst.sh b/development/eagle/doinst.sh index 5fb28930db0b9..1252ea8d0a207 100644 --- a/development/eagle/doinst.sh +++ b/development/eagle/doinst.sh @@ -1,3 +1,12 @@ +#!/bin/sh + if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/development/eagle/eagle.SlackBuild b/development/eagle/eagle.SlackBuild index 8a182ec0d3519..74ae617eeec84 100644 --- a/development/eagle/eagle.SlackBuild +++ b/development/eagle/eagle.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for eagle (binary repackaging) -# Copyright 2008 Kyle Guinn <elyk03@gmail.com> +# Copyright 2008,2015 Kyle Guinn <elyk03@gmail.com>, USA # Copyright 2010,2013 Niels Horn, Rio de Janeiro, RJ, Brazil # All rights reserved. # @@ -12,51 +12,37 @@ # 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. - -# Revision date: 2013/03/27 - -PRGNAM="eagle" -VERSION=${VERSION:-"6.4.0"} +# 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. + +PRGNAM=eagle +VERSION=${VERSION:-7.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=i486 CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ ! "$ARCH" = "i486" ]; then - echo "Sorry, only i486 supported" - exit 1 -fi - # Documentation is distributed for English, German and Chinese. Due to the size # of the documentation, only include one language. LANG=${LANG:-"en"} if [ "$LANG" = "de" ]; then - DOCS="README_de UPDATE_de library_de.txt license_de.txt manual_de.pdf tutorial_de.pdf elektro-tutorial.pdf" + DOCS="README_de UPDATE_de library_de.txt license_de.txt manual_de.pdf tutorial_de.pdf eagle.dtd connect-device-split-symbol-de.pdf generate-3d-idf-data_de.pdf make-symbol-device-package-bsdl-2011-de.pdf elektro-tutorial.pdf" elif [ "$LANG" = "zh" ]; then - DOCS="README_en UPDATE_en library_en.txt license_en.txt manual_zh.pdf tutorial_zh.pdf" + DOCS="README_en UPDATE_en library_en.txt license_en.txt manual_zh.pdf tutorial_zh.pdf eagle.dtd" else - DOCS="README_en UPDATE_en library_en.txt license_en.txt manual_en.pdf tutorial_en.pdf" + DOCS="README_en UPDATE_en library_en.txt license_en.txt manual_en.pdf tutorial_en.pdf eagle.dtd connect-device-split-symbol-en.pdf generate-3d-idf-data_en.pdf make-symbol-device-package-bsdl-2011-en.pdf EagleIDFExporterInstructions.pdf layer-setup_designrules.pdf" fi set -e @@ -71,31 +57,21 @@ chown -R root:root $PKG touch $PKG/opt/$PRGNAM-$VERSION/bin/$PRGNAM.key chmod 0666 $PKG/opt/$PRGNAM-$VERSION/bin/$PRGNAM.key -# Some versions of EAGLE have a graphics bug that results in corruption of the -# displayed window, particularly affecting the display of trees and lists. -# This is due to a conflict with compositing. The quickest fix is to set an -# environment variable (XLIB_SKIP_ARGB_VISUALS) before running EAGLE. The fix -# may not apply to the latest version of EAGLE, but it doesn't hurt to leave -# it in. See http://www.cadsoft.de/faq.htm#07041701 for details. mkdir -p $PKG/usr/bin -cat > $PKG/usr/bin/$PRGNAM << EOF -#!/bin/sh -XLIB_SKIP_ARGB_VISUALS=1 -export XLIB_SKIP_ARGB_VISUALS -exec /opt/$PRGNAM-$VERSION/bin/$PRGNAM "\$@" -EOF -chmod +x $PKG/usr/bin/$PRGNAM +ln -s /opt/$PRGNAM-$VERSION/bin/$PRGNAM $PKG/usr/bin/eagle + +mkdir -p $PKG/usr/share/icons/hicolor/16x16/apps +mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps +ln -s /opt/$PRGNAM-$VERSION/bin/eagleicon16.png $PKG/usr/share/icons/hicolor/16x16/apps/$PRGNAM.png +ln -s /opt/$PRGNAM-$VERSION/bin/eagleicon50.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png + +mkdir -p $PKG/usr/share/applications +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop # Move any man pages to the proper location mkdir -p $PKG/usr/man/man1 mv $PKG/opt/$PRGNAM-$VERSION/doc/*.1 $PKG/usr/man/man1 - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -mkdir -p $PKG/usr/share/{applications,pixmaps} -cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop -cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png +find $PKG/usr/man -type f -exec gzip -9 {} + # Move the documentation to the proper location mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/eagle/eagle.info b/development/eagle/eagle.info index 95bce5d44589d..10bd04ad62964 100644 --- a/development/eagle/eagle.info +++ b/development/eagle/eagle.info @@ -1,10 +1,10 @@ PRGNAM="eagle" -VERSION="6.4.0" +VERSION="7.2.0" HOMEPAGE="http://www.cadsoft.de/" -DOWNLOAD="ftp://ftp.cadsoft.de/eagle/program/6.4/eagle-lin-6.4.0.run" -MD5SUM="5e0b4f2864bdbc1677f2897c69ad20a0" +DOWNLOAD="http://web.cadsoft.de/ftp/eagle/program/7.2/eagle-lin-7.2.0.run" +MD5SUM="31abdc995fe39946cb4624716966f1c7" DOWNLOAD_x86_64="UNSUPPORTED" MD5SUM_x86_64="UNSUPPORTED" REQUIRES="" -MAINTAINER="Niels Horn" -EMAIL="niels.horn@gmail.com" +MAINTAINER="Kyle Guinn" +EMAIL="elyk03@gmail.com" diff --git a/development/eagle/eagle.png b/development/eagle/eagle.png Binary files differdeleted file mode 100644 index 88373d46e9750..0000000000000 --- a/development/eagle/eagle.png +++ /dev/null |