Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors
In directory vz-cvs-3.sog:/tmp/cvs-serv18195/10.4/stable/main/finkinfo/editors
Added Files:
lyx-qt-10.5.info lyx-qt.patch
Log Message:
To stable
--- NEW FILE: lyx-qt.patch ---
--- lyx/lyx.sh.orig Wed Sep 24 14:34:33 2003
+++ lyx/lyx.sh Wed Sep 24 14:34:25 2003
@@ -0,0 +1,15 @@
+#!/bin/sh
+# make symlinks in ~/.fonts for latex-xft-fonts.
+# if they are not already there.
+export QT_XFT=TRUE
+for file in @PREFIX@/lib/X11/fonts/latex-xft-fonts/*ttf; do
+ if [ ! -d ~/.fonts ]; then
+ mkdir ~/.fonts
+ fi
+ symlink=~/.fonts/`basename $file`
+ if [ -f $file ] && [ ! -L $symlink ] && [ ! -f $symlink ] ; then
+ ln -s $file $symlink
+ fi
+done
+# launch lyx
+@PREFIX@/bin/lyxx $@
--- NEW FILE: lyx-qt-10.5.info ---
Package: lyx-qt
Version: 1.5.6
Revision: 101
Distribution: 10.5
Source: ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-%v.tar.gz
Source-MD5: da10641ee8654bb9943b52bcba93a777
Depends: qt4-x11-core-shlibs, qt4-x11-gui-shlibs,aspell, glib2-shlibs,
freetype219-shlibs, aspell-shlibs, libgettext3-shlibs, libpng3-shlibs,
libiconv, aiksaurus-shlibs, fink-obsolete-packages
BuildDepends: qt4-x11, expat1, libgettext3-dev, gettext-bin, gettext-tools,
libiconv-dev, libpng3, latex-xft-fonts, x11-dev, glib2-dev, aspell-dev,
freetype219, fink (>= 0.24.12), xmkmf, aiksaurus-dev
Conflicts: lyx ( << 1.5.6-2 )
Replaces: lyx ( << 1.5.6-2 )
Provides: lyx
Recommends: <<
tetex | ptex,
imagemagick | imagemagick-nox,
gv | kghostview | evince | launch ,
gv | kghostview | kpdf | xpdf | evince | launch
<<
UpdatePoMakefile: true
SetLDFLAGS: -Wl,-framework,Carbon -Wl,-framework,OpenGL -Wl,-framework,AGL
-Wl,-framework,QuickTime
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
PatchFile: %n.patch
PatchFile-MD5: 21f0b994568a271f66c7c6da1bfbf114
PatchScript: <<
sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
<<
ConfigureParams: --mandir='${prefix}/share/man' --with-frontend=qt4
--with-qt4-includes=%p/lib/qt4-x11/include
--with-qt4-libraries=%p/lib/qt4-x11/lib --with-packaging=posix --with-aspell
--disable-dependency-tracking
CompileScript: <<
#!/bin/sh -ev
export PYTHON=/usr/bin/python
export CCACHE_DISABLE=1
export QT4DIR=%p/lib/qt4-x11
export PATH="%p/lib/xmkmf/bin:$PATH"
./configure %c
# some bits don't compile with -O2.
perl -pi.bak -e "s/CXXFLAGS = -O2/CXXFLAGS = /" src/tex2lyx/Makefile
make
<<
InstallScript: <<
#!/bin/sh -ev
export PYTHON=/usr/bin/python
make install DESTDIR=%d
mkdir -p %i/etc/texmf.local/tex/latex
cp -R %i/share/lyx/tex %i/etc/texmf.local/tex/latex/lyx
cp -f lib/images/lyx.xpm %i/share/lyx/images/
pushd %i/share/lyx
ln -s %p/share/lyx/lyxrc.example preferences
popd
mv %i/bin/lyx %i/bin/lyxx
cp lyx.sh %i/bin/lyx
chmod 755 %i/bin/lyx
<<
License: GPL
DocFiles: INSTALL COPYING ChangeLog NEWS README UPGRADING ANNOUNCE
PostInstScript: <<
echo "Configuring LyX for your system..."
(cd %p/share/lyx; ./configure.py)
if [ -f %p/bin/mktexlsr ]; then %p/bin/mktexlsr %p/etc/texmf.local;
fi
<<
PostRmScript: <<
if [ -f %p/bin/mktexlsr ]; then %p/bin/mktexlsr %p/etc/texmf.local; fi
<<
Description: Wordprocessor utilizing LaTeX (QT version)
DescDetail: <<
LyX is a modern approach of writing documents with a computer
which breaks with the tradition of the obsolete typewriter
concept. It is designed for people who want a professional
output with a minimum of time and effort, without becoming specia-
lists in typesetting. Compared to common word processors LyX
will increase the productivity a lot, since most of the type-
setting will be done by the computer, not the author. With LyX
the author can concentrate on the contents of his writing,
since the computer will take care of the look.
This version uses the QT GUI toolkit (instead of xforms).
It is also obsolete and you should install lyx-x11, which
is the same package under a different name, if you want to
receive future updates.
<<
DescUsage: <<
If you're using a non-Fink TeX distro, you'll want to run
/path/to/mktexlsr %p/etc/texmf.local
after installation of the package, and also after removing it,
to integrate its style and class files with your TeX setup.
Since LyX is highly configurable at runtime, we've moved to
having recommended rather than mandatory dependencies on
Imagemagick, TeX, and Postscript and PDF viewers. Some users
may already have non-Fink options for these and so we won't
force extra packages upon them.
<<
DescPort: <<
Thanks to Ronald Florence for his instructions on getting
lyx-1.3.2 to compile (http://www.18james.com/lyx_on_osx.html)
lyx is a wrapper script that sets up symlinks to latex-xft fonts
fonts in ~/.fonts, so that lyx-qt will find them.
Patch to prevent BusError when new file is opened with keyboard
shortcut.
Some bits are compiled without optimization to work around
problems with g++-3.3 on ppc.
We let it roll its own boost because it seems not to get along
with Fink's boost packages for some reason.
<<
DescPackaging: <<
Since we're using the system's python to avoid extra dependencies, we
have to force a rebuild for a 10.4 -> 10.5 update
Prior versions by Jeffrey Whitaker
<<
Homepage: http://www.lyx.org
Maintainer: Alexander Hansen <[email protected]>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs