Arch Linux

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#1840 - lyx dependency problem

Attached to Project: Arch Linux
Opened by Joshua Rubin (miasma) - Friday, 26 November 2004, 07:43 GMT
Last edited by Dale Blount (dale) - Friday, 26 November 2004, 13:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jason Chu (jason)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The lyx dependencies are incorrect.
Currently the PKGBUILD has the following line:
depends=('gcc' 'x-server' 'xforms' 'libjpeg')

I would recommend changing that line to:
depends=('x-server' 'xforms' 'tetex' 'python' 'perl' 'imagemagick')

tetex is VITAL to lyx working properly. The lyx webpage (http://www.lyx.org/download/related.php3) says that python is also a requirement. The same site also says that imagemagick is a requirement, and that also satisfies the libjpeg requirement. gcc is also already satisfied by the said requirements. perl is recommended as an optional requirement on the lyx page above. The following quote is from that page:
"Note that reLyX is bundled with LyX, but is only installed if Perl is found."

I would also recommend the following change:
depends=('x-server' 'qt' 'tetex' 'python' 'perl' 'imagemagick')

The only difference with the above line is replcing xforms with qt. xforms is a rarely used toolkit and the fonts look terrible. lyx with qt looks MUCH MUCH MUCH better.
The following is a build statement that configures with qt:
build() {
cd $startdir/src/lyx-$pkgver
./configure --prefix=/usr \
--with-qt-dir=/opt/qt \
--with-qt-includes=/opt/qt/include \
--with-qt-libraries=/opt/qt/lib \
--with-frontend=qt
make || return 1
make DESTDIR=$startdir/pkg install
}
This task depends upon

Closed by  Jason Chu (jason)
Tuesday, 04 January 2005, 05:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  Updated in version 1.3.5-2.

Loading...