diff options
author | Dugan Chen <dugan [underscore] c [at] fastmail [dot] fm> | 2011-10-04 08:00:56 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-10-11 21:20:15 -0500 |
commit | a36bef798f1b669f6ed0a097bc23c97df9c1add1 (patch) | |
tree | 47fa3c6be7c5acf884767837f353ae8c2fb30577 /graphics | |
parent | 7af79e748cd5aae5d899f4518ff0293173c2c369 (diff) |
graphics/dia: Updated for version 0.97.1 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/dia/dia-0.97-fixup_fr_mandir.patch | 12 | ||||
-rw-r--r-- | graphics/dia/dia.SlackBuild | 17 | ||||
-rw-r--r-- | graphics/dia/dia.info | 14 | ||||
-rw-r--r-- | graphics/dia/doinst.sh | 4 | ||||
-rw-r--r-- | graphics/dia/slack-desc | 2 |
5 files changed, 19 insertions, 30 deletions
diff --git a/graphics/dia/dia-0.97-fixup_fr_mandir.patch b/graphics/dia/dia-0.97-fixup_fr_mandir.patch deleted file mode 100644 index 01cb8f32ef1fe..0000000000000 --- a/graphics/dia/dia-0.97-fixup_fr_mandir.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur dia-0.97.orig/doc/fr/Makefile.in dia-0.97/doc/fr/Makefile.in ---- dia-0.97.orig/doc/fr/Makefile.in 2009-05-03 13:12:41.000000000 -0500 -+++ dia-0.97/doc/fr/Makefile.in 2009-10-12 17:44:25.949545398 -0500 -@@ -298,7 +298,7 @@ - libexecdir = @libexecdir@ - localedir = @localedir@ - localstatedir = @localstatedir@ --mandir = $(datadir)/man/$(lang) -+mandir = @mandir@/$(lang) - mkdir_p = @mkdir_p@ - oldincludedir = @oldincludedir@ - pdfdir = @pdfdir@ diff --git a/graphics/dia/dia.SlackBuild b/graphics/dia/dia.SlackBuild index cc383f7eb5f81..fad89df44a10c 100644 --- a/graphics/dia/dia.SlackBuild +++ b/graphics/dia/dia.SlackBuild @@ -3,18 +3,17 @@ # Slackware build script for dia # Written by Matt Hayes (dominian@slackadelic.com # Updated for 64bit by Ash Wiren (ash@spooksoftware.com 19-08-2009 +# Currently mantained by Dugan Chen (dugan [underscore] c [at] fastmail [dot] fm))) PRGNAM=dia -VERSION=0.97 +VERSION=0.97.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -49,8 +48,8 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Fixup the fr mandir -patch -p1 < $CWD/dia-0.97-fixup_fr_mandir.patch +# Fix the location of the French manpages. +sed -i 's/$(datadir)\/man/@mandir@/' doc/fr/Makefile.in CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -67,14 +66,12 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +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 # docdir already exists :-) cp -a \ - AUTHORS COPYING ChangeLog KNOWN_BUGS MAINTAINERS NEWS README THANKS TODO \ + AUTHORS COPYING ChangeLog ChangeLog.pre-git KNOWN_BUGS MAINTAINERS NEWS README RELEASE-PROCESS THANKS TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/graphics/dia/dia.info b/graphics/dia/dia.info index c140a81c2dfef..10a9cd09f81f6 100644 --- a/graphics/dia/dia.info +++ b/graphics/dia/dia.info @@ -1,10 +1,10 @@ PRGNAM="dia" -VERSION="0.97" -HOMEPAGE="http://www.gnome.org/projects/dia/" -DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/dia/0.97/dia-0.97.tar.bz2" -MD5SUM="3d11f9aaa5a4923f0a5533962c87bdfb" +VERSION="0.97.1" +HOMEPAGE="http://live.gnome.org/Dia" +DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/dia/0.97/dia-0.97.1.tar.bz2" +MD5SUM="57e44bb9f387559a0506b52a134deaf0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="Ash Wiren" -EMAIL="ash@spooksoftware.com" -APPROVED="rworkman" +MAINTAINER="Dugan Chen" +EMAIL="dugan [underscore] c [at] fastmail [dot] fm" +APPROVED="rworkman,Niels Horn" diff --git a/graphics/dia/doinst.sh b/graphics/dia/doinst.sh index 1f8ff67dedb29..9830478e8cc75 100644 --- a/graphics/dia/doinst.sh +++ b/graphics/dia/doinst.sh @@ -2,6 +2,10 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/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 diff --git a/graphics/dia/slack-desc b/graphics/dia/slack-desc index 46b31cb647cf8..6bce585fcd51a 100644 --- a/graphics/dia/slack-desc +++ b/graphics/dia/slack-desc @@ -16,4 +16,4 @@ dia: flowcharts, network diagrams, and many other diagrams. It is also dia: possible to add support for new shapes by writing simple XML files, dia: using a subset of SVG to draw the shape. dia: -dia: Homepage: http://www.gnome.org/projects/dia/ +dia: Homepage: http://live.gnome.org/Dia |