Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29459 - [dia] bad symlinks (and other less important things)

Attached to Project: Community Packages
Opened by Piotr Rogoża (dracorp) - Saturday, 14 April 2012, 20:35 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 16 April 2012, 11:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

bad symlink:
namcap dia-0.97.2-2-i686.pkg.tar.xz
...
dia E: Symlink (usr/share/dia/help) points to non-existing dia/html
...

Steps to reproduce:

diff --git a/PKGBUILD b/PKGBUILD
index be41af7..2504ce6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,10 +12,10 @@ arch=('i686' 'x86_64')
license=('GPL')
url="http://live.gnome.org/Dia"
install=dia.install
-depends=('libxslt' 'desktop-file-utils' 'libart-lgpl' 'gtk2')
+depends=('libxslt' 'desktop-file-utils' 'libart-lgpl' 'gtk2' 'hicolor-icon-theme' 'python')
makedepends=('intltool' 'python2' 'docbook-xsl')
optdepends=('python2')
-options=('!libtool' 'docs')
+options=('!libtool' 'docs' '!emptydirs')
source=("ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.97/${pkgname}-${pkgver}.tar.xz"
"dia-overflow-fix.patch")
md5sums=('1e1180a513fb567709b09bc19f12105e'
@@ -44,5 +44,5 @@ package() {
make DESTDIR="${pkgdir}" install
cd doc
make DESTDIR="${pkgdir}" install-html
- ln -sf dia/html "${pkgdir}"/usr/share/dia/help
+ ln -sf ../doc/dia/html "${pkgdir}"/usr/share/dia/help
}
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 16 April 2012, 11:09 GMT
Reason for closing:  Fixed
Comment by Balló György (City-busz) - Saturday, 14 April 2012, 22:10 GMT
@dracorp: dia should not depends on python, instead the shebang lines in files usr/share/dia/python/{doxrev,gtkcons}.py are wrong. The other things are valid.
Comment by Piotr Rogoża (dracorp) - Sunday, 15 April 2012, 17:51 GMT
$ grep 'usr.*python' /usr/share/dia/python/doxrev.py /usr/share/dia/python/gtkcons.py
/usr/share/dia/python/doxrev.py:#!/usr/bin/env python
/usr/share/dia/python/gtkcons.py:#!/usr/bin/env python

Should it be '#!/usr/bin/env python2'?

Loading...