# ChangeLog for app-office/lyx
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.96 2007/02/18 23:52:29 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/ChangeLog,v 1.97 2007/02/25 16:27:54 matsuu Exp $
+
+ 25 Feb 2007; MATSUU Takuto <matsuu@gentoo.org>
+ -files/lyx-1.4.1-dvips-R0.patch, -files/lyx-1.4.1-gentoo.patch,
+ -lyx-1.4.1-r1.ebuild, lyx-1.4.2.ebuild, lyx-1.4.4.ebuild:
+ Dropped virtual/x11, bug #156381.
+ Remove old version.
18 Feb 2007; Jason Wever <weeve@gentoo.org> lyx-1.4.2.ebuild:
Stable on SPARC wrt bug #167012.
MD5 01d67cd0d7c3b2bb8aae514aeb8a9200 files/gnome-mime-application-x-lyx.png 3302
RMD160 6b59808311d032c201961c0b085e13e2aae86bef files/gnome-mime-application-x-lyx.png 3302
SHA256 d0d16c7a835cbb8f15ea79efd27128a9c633ac56cdc06365449f389b21a0abce files/gnome-mime-application-x-lyx.png 3302
-AUX lyx-1.4.1-dvips-R0.patch 2586 RMD160 b4b6b8f213838a607d8b65c1bb3d05aa1dcbe9fa SHA1 1ea6e7cc833469df28193f63c86c281ed1fba109 SHA256 3efdbcfbe11a141bd8f02903246300a010c1ea19b0cc3b64b6d3afa2236d4c2c
-MD5 dc630537b02512fe8fba15a3b86159cb files/lyx-1.4.1-dvips-R0.patch 2586
-RMD160 b4b6b8f213838a607d8b65c1bb3d05aa1dcbe9fa files/lyx-1.4.1-dvips-R0.patch 2586
-SHA256 3efdbcfbe11a141bd8f02903246300a010c1ea19b0cc3b64b6d3afa2236d4c2c files/lyx-1.4.1-dvips-R0.patch 2586
-AUX lyx-1.4.1-gentoo.patch 2002 RMD160 ff4430dcdbed6399bd63c2ffb437a87631ed4c89 SHA1 9584dc21592f48d0d61cc9845c47218b2fc30081 SHA256 fd31d112c943950e7b2cea6d8c5ba09e0c628c84e44370ab1b57324152d9fac0
-MD5 bbc945b21611649c2ab96ceab33bb066 files/lyx-1.4.1-gentoo.patch 2002
-RMD160 ff4430dcdbed6399bd63c2ffb437a87631ed4c89 files/lyx-1.4.1-gentoo.patch 2002
-SHA256 fd31d112c943950e7b2cea6d8c5ba09e0c628c84e44370ab1b57324152d9fac0 files/lyx-1.4.1-gentoo.patch 2002
AUX lyx-1.4.2-gentoo.patch 1938 RMD160 bd5ea056819f736df809119d3bfa8538b23ddc9f SHA1 60072c2ad094c4debcfba13d4f9f1ba95b6dfba0 SHA256 a32afb34add417c5c8a3cf6a98deb427c23f54d3da3569bac30db461f58b7c12
MD5 5c98a7bcb042b42b535266ec3a042853 files/lyx-1.4.2-gentoo.patch 1938
RMD160 bd5ea056819f736df809119d3bfa8538b23ddc9f files/lyx-1.4.2-gentoo.patch 1938
MD5 517a1baf1371255f801e9966c0c1e90b files/lyx.desktop 214
RMD160 7f9b377e1345565ade15c6a6b0b1e8664ee946b3 files/lyx.desktop 214
SHA256 2e72d8bfc3c47536665e8539ebb1a55a8067914bf649a153c39874b67b2294f8 files/lyx.desktop 214
-DIST CJK-LyX-qt-1.4.1-2.patch 420933 RMD160 f25c197fe18aebbb0d93b64e0eabc6c5298e62eb SHA1 dcfa6184fd23c401614f76663def1f91e2f23909 SHA256 b853e308619f87bcd3f9e8e3243083ebede72f3938c9c68c4fbd1816974d5f5d
DIST CJK-LyX-qt-1.4.2-1.patch 420797 RMD160 d2afc2cc07f4cf6ad434e244db9264d23fd07c52 SHA1 cd3336515c38290a4016097e8ea99bb0e5af0a39 SHA256 3e1993b9beeb8e4b109c3529469e944661cfae85bceb9e103550a0bcae58e8f0
DIST CJK-LyX-qt-1.4.4-1.patch 688282 RMD160 22676ca69c1eaef170dfb0b8d3ff67914327b27b SHA1 6f6fa5b8665b1e3b8f72c272de13bb692e7d1eac SHA256 f08d97af009cc3265414092f50c06051a85e623c929d08eebacad44f99dc2b6e
DIST hebrew.bind 45 RMD160 1621bd311aa053798815fd6c795406a505761531 SHA1 85c39df7cd0a3a4f95fe6101a23d44abb7641b2c SHA256 fc3b1e19560f7a22af1c6bca13c0c0d7786d6453e292201645abff54fd0b67dd
DIST latex-xft-fonts-0.1.tar.gz 91730 RMD160 0a516eeba71ddc474e97f315e45e41028efa2e4d SHA1 50edf35ff08354bdf08517add33e16ee37f769e9 SHA256 78bceea8a055bc43bd0d246ae8e69f81d2f161ae4d8f1aaaa2dfff9e293ae964
-DIST lyx-1.4.1.tar.bz2 6637018 RMD160 8569859a1badb3f5f1869b61210bd743bd274c5c SHA1 7c036311891692d90dcc3d70bcf9c3cdd0c2fcdf SHA256 290b55df4d2726581b9451289b4d73e53aab733fbd0f09e22385022e84424854
DIST lyx-1.4.2.tar.bz2 6874598 RMD160 af1dac6f6601ba3aae16543db4310afb990101b9 SHA1 df79126dd2cad60c15640c0218654ec22b404c77 SHA256 54de255a4ef947726b6ce7067cf149804cee82fc8d27f6749cd4c927be21b782
DIST lyx-1.4.4.tar.bz2 7859197 RMD160 31f709db8e4785cb378f261355a7b2551dd38253 SHA1 896240ab947fb4995dab04c8ca40d3952c90e1f2 SHA256 5f48996c4217093d5cfaa9566cc4349cbfeb65ac12cd1b996ac6a5b5e4480307
DIST preferences 1669 RMD160 26986d7bcc48c4ecf60f84d95490148a5e171785 SHA1 3567ad4d4a2a041c295e40fef76ca53de6cb260d SHA256 41867ac67bc729d1057253bf305aced1ff666ee4d648dfefc99fd0c3c0501d43
-EBUILD lyx-1.4.1-r1.ebuild 4703 RMD160 ec159339702d8867ebc78c96b2bb5e246aa210b2 SHA1 6ac45293098038ba70ebd3d18535e1f15274db37 SHA256 97d75b566ee4301e6ac8ae613c7a592e76427e7efb1b0300598c47db4a5f227e
-MD5 766a7d9a03ae298b3ed98354447b681a lyx-1.4.1-r1.ebuild 4703
-RMD160 ec159339702d8867ebc78c96b2bb5e246aa210b2 lyx-1.4.1-r1.ebuild 4703
-SHA256 97d75b566ee4301e6ac8ae613c7a592e76427e7efb1b0300598c47db4a5f227e lyx-1.4.1-r1.ebuild 4703
-EBUILD lyx-1.4.2.ebuild 4507 RMD160 672a769fdd1bf030dfc19949b9ba570990ba8495 SHA1 e2b46c54814e76acd48fc9cc9b2c51e36a991a51 SHA256 d1d9d1d11c177b0913184a467ea7c4abff187032248db2720f2031e2c3faecdc
-MD5 1676137deeb1ccff743f2d05474f4e80 lyx-1.4.2.ebuild 4507
-RMD160 672a769fdd1bf030dfc19949b9ba570990ba8495 lyx-1.4.2.ebuild 4507
-SHA256 d1d9d1d11c177b0913184a467ea7c4abff187032248db2720f2031e2c3faecdc lyx-1.4.2.ebuild 4507
-EBUILD lyx-1.4.4.ebuild 4518 RMD160 1ea8f635035e962a3ec8ee1fd58fa26dc1410393 SHA1 d2b71ccd5d9a4a1119b3de7fafd18e6070fd1968 SHA256 5a2ab5e77adf7097af0fdda0ba613908f78cf0caa861773014e4c4bb8f28ad88
-MD5 42b42706ef35e22a40f88ec2a1cdb9f7 lyx-1.4.4.ebuild 4518
-RMD160 1ea8f635035e962a3ec8ee1fd58fa26dc1410393 lyx-1.4.4.ebuild 4518
-SHA256 5a2ab5e77adf7097af0fdda0ba613908f78cf0caa861773014e4c4bb8f28ad88 lyx-1.4.4.ebuild 4518
-MISC ChangeLog 15360 RMD160 908a3c3e5e88bf009b2e7526817b660b064a97a3 SHA1 f7b737ed78cb4c84d33e8c483cb830ef3d2c0242 SHA256 8c11d0c555bf3ae23688fbdf0779bcc0f86b146d784dfc77901a79e65f84a147
-MD5 96cead9fa30297477961dfa85188d39f ChangeLog 15360
-RMD160 908a3c3e5e88bf009b2e7526817b660b064a97a3 ChangeLog 15360
-SHA256 8c11d0c555bf3ae23688fbdf0779bcc0f86b146d784dfc77901a79e65f84a147 ChangeLog 15360
+EBUILD lyx-1.4.2.ebuild 4431 RMD160 81d055beb1ff4482d2239aa48af21b95c5de6fa8 SHA1 3b89f85b57382fd65c7553810c811a138e1a0fe7 SHA256 84003565c62d5ac1d12ebcdb2d376fd4c2a3474bc551d103a92de777f03d3d5d
+MD5 abf504f952e485fbf0a60ea934619995 lyx-1.4.2.ebuild 4431
+RMD160 81d055beb1ff4482d2239aa48af21b95c5de6fa8 lyx-1.4.2.ebuild 4431
+SHA256 84003565c62d5ac1d12ebcdb2d376fd4c2a3474bc551d103a92de777f03d3d5d lyx-1.4.2.ebuild 4431
+EBUILD lyx-1.4.4.ebuild 4440 RMD160 0f27b1d988bcfbd6b40e243b0ec784d80f1a8ff9 SHA1 100e3911d16b1137f2d155232a0a42e850082a6b SHA256 ae3cebdc3b10aa3e7ffbddd135c68530cf26a74ae7a628b173d853c5772eb3b3
+MD5 5c44085497ba3e891d8efd3585f0fde2 lyx-1.4.4.ebuild 4440
+RMD160 0f27b1d988bcfbd6b40e243b0ec784d80f1a8ff9 lyx-1.4.4.ebuild 4440
+SHA256 ae3cebdc3b10aa3e7ffbddd135c68530cf26a74ae7a628b173d853c5772eb3b3 lyx-1.4.4.ebuild 4440
+MISC ChangeLog 15595 RMD160 124a950825059b143fa7ff0f9cd111aab6cf356e SHA1 71d46c94b6b53fd99f7bd90ae0cf83643685c6d0 SHA256 0612d1f0001f134cb2950361954b1393607b4ec96dc34a703fc910899a276809
+MD5 424a470775c9dc616bc048d5a4fe19b6 ChangeLog 15595
+RMD160 124a950825059b143fa7ff0f9cd111aab6cf356e ChangeLog 15595
+SHA256 0612d1f0001f134cb2950361954b1393607b4ec96dc34a703fc910899a276809 ChangeLog 15595
MISC metadata.xml 181 RMD160 076b1da29f7ec9ff8c71af3d300db7934a6c16c5 SHA1 5effb8ab828993de4d80369d8148ec8505a723a0 SHA256 fee59649574618944ad5be45972b6d1a8e09b75e64d07a75fbdef4c335a88fca
MD5 a43370bbb57cb967dbffe1a084475550 metadata.xml 181
RMD160 076b1da29f7ec9ff8c71af3d300db7934a6c16c5 metadata.xml 181
SHA256 fee59649574618944ad5be45972b6d1a8e09b75e64d07a75fbdef4c335a88fca metadata.xml 181
-MD5 da5a5061914a9ccfed39268e344f87ff files/digest-lyx-1.4.1-r1 1154
-RMD160 c3dff6f5cc9a7c3a16e7431f3220494ac03f3cef files/digest-lyx-1.4.1-r1 1154
-SHA256 a2db0f2c700e4b223f6834a61521ebf10f71c03cde53b2fdc68f0029d5818a2d files/digest-lyx-1.4.1-r1 1154
MD5 96f038440e3578a8bf0bc882295ed2d2 files/digest-lyx-1.4.2 1154
RMD160 6c4509f7b3e5b0efc604f998adc3c3551995aec2 files/digest-lyx-1.4.2 1154
SHA256 255851134c1b170edfc08e6c10174d3285e2eeee4ac5c8c977a99493611de92f files/digest-lyx-1.4.2 1154
+++ /dev/null
-MD5 56a96428e726190a92e35ad9cf0afa8b CJK-LyX-qt-1.4.1-2.patch 420933
-RMD160 f25c197fe18aebbb0d93b64e0eabc6c5298e62eb CJK-LyX-qt-1.4.1-2.patch 420933
-SHA256 b853e308619f87bcd3f9e8e3243083ebede72f3938c9c68c4fbd1816974d5f5d CJK-LyX-qt-1.4.1-2.patch 420933
-MD5 f1df2f1426cca24c0dafa1dc1a832e6a hebrew.bind 45
-RMD160 1621bd311aa053798815fd6c795406a505761531 hebrew.bind 45
-SHA256 fc3b1e19560f7a22af1c6bca13c0c0d7786d6453e292201645abff54fd0b67dd hebrew.bind 45
-MD5 0f3275e403be5fdbd14117dd8a26675f latex-xft-fonts-0.1.tar.gz 91730
-RMD160 0a516eeba71ddc474e97f315e45e41028efa2e4d latex-xft-fonts-0.1.tar.gz 91730
-SHA256 78bceea8a055bc43bd0d246ae8e69f81d2f161ae4d8f1aaaa2dfff9e293ae964 latex-xft-fonts-0.1.tar.gz 91730
-MD5 368696695a05e428773626e3b0f8ae74 lyx-1.4.1.tar.bz2 6637018
-RMD160 8569859a1badb3f5f1869b61210bd743bd274c5c lyx-1.4.1.tar.bz2 6637018
-SHA256 290b55df4d2726581b9451289b4d73e53aab733fbd0f09e22385022e84424854 lyx-1.4.1.tar.bz2 6637018
-MD5 a0e3948595801a90d32d8b712596a5fe preferences 1669
-RMD160 26986d7bcc48c4ecf60f84d95490148a5e171785 preferences 1669
-SHA256 41867ac67bc729d1057253bf305aced1ff666ee4d648dfefc99fd0c3c0501d43 preferences 1669
+++ /dev/null
-diff -urN lyx-1.4.0.orig/lib/configure lyx-1.4.0/lib/configure
---- lyx-1.4.0.orig/lib/configure 2006-03-07 00:49:49.000000000 +0100
-+++ lyx-1.4.0/lib/configure 2006-03-29 18:07:01.000000000 +0200
-@@ -997,7 +997,7 @@
- echo $ac_n "checking for a DVI to PS converter""... $ac_c"
- echo "$ac_t"""
- dvi_to_ps_command=
--for ac_prog in "dvips -o \$\$o \$\$i"
-+for ac_prog in "dvips -R0 -o \$\$o \$\$i"
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog ; ac_word=$2
-diff -urN lyx-1.4.0.orig/lib/configure.m4 lyx-1.4.0/lib/configure.m4
---- lyx-1.4.0.orig/lib/configure.m4 2006-02-03 22:47:25.000000000 +0100
-+++ lyx-1.4.0/lib/configure.m4 2006-03-29 18:07:21.000000000 +0200
-@@ -302,7 +302,7 @@
- SEARCH_PROG([for a PS to PDF converter],ps_to_pdf_command, "ps2pdf13 \$\$i")
-
- # Search for a program to convert dvi to ps
--SEARCH_PROG([for a DVI to PS converter],dvi_to_ps_command, "dvips -o \$\$o \$\$i")
-+SEARCH_PROG([for a DVI to PS converter],dvi_to_ps_command, "dvips -R0 -o \$\$o \$\$i")
-
- # Search for a program to convert dvi to pdf
- SEARCH_PROG([for a DVI to PDF converter],dvi_to_pdf_command, "dvipdfm \$\$i")
-diff -urN lyx-1.4.0.orig/lib/lyxrc.defaults lyx-1.4.0/lib/lyxrc.defaults
---- lyx-1.4.0.orig/lib/lyxrc.defaults 2006-03-07 00:50:44.000000000 +0100
-+++ lyx-1.4.0/lib/lyxrc.defaults 2006-03-29 18:05:20.000000000 +0200
-@@ -53,7 +53,7 @@
- \converter docbook dvi "db2dvi $$i" ""
- \converter docbook html "db2html $$i" ""
- \converter dvi pdf3 "dvipdfm $$i" ""
--\converter dvi ps "dvips -o $$o $$i" ""
-+\converter dvi ps "dvips -R0 -o $$o $$i" ""
- \converter fen asciichess "python $$s/scripts/fen2ascii.py $$i $$o" ""
- \converter fig pdftex "sh $$s/scripts/fig2pdftex.sh $$i $$o" ""
- \converter fig pstex "sh $$s/scripts/fig2pstex.sh $$i $$o" ""
-diff -urN lyx-1.4.0.orig/lib/lyxrc.example lyx-1.4.0/lib/lyxrc.example
---- lyx-1.4.0.orig/lib/lyxrc.example 2005-09-08 11:20:16.000000000 +0200
-+++ lyx-1.4.0/lib/lyxrc.example 2006-03-29 18:06:12.000000000 +0200
-@@ -348,7 +348,7 @@
- # The converter command has 4 arguments: The source format, the target format,
- # the command, and additional flags.
- # For example, the following defines a DVI->Postscript converter:
--#\converter dvi ps "dvips -o $$o $$i" ""
-+#\converter dvi ps "dvips -R0 -o $$o $$i" ""
- # The variable name $$i is replaced with the name of the source file,
- # and $$o is replaced with the name of the target file.
- # The flags argument is a list of comma separated flags.
+++ /dev/null
-diff -urN lyx-1.4.1.orig/lib/configure lyx-1.4.1/lib/configure
---- lyx-1.4.1.orig/lib/configure 2006-04-11 11:18:17.000000000 +0200
-+++ lyx-1.4.1/lib/configure 2006-05-21 13:05:30.000000000 +0200
-@@ -95,7 +95,7 @@
- echo "\\begin{document}\\end{document}" >> $tmpfname
- inpname=`cygpath -w $tmpfname | tr '\\\\' /`
- echo "\\input{$inpname}" > wrap_temp$$.ltx
-- check_err=`latex wrap_temp$$.ltx 2>&1 < /dev/null | grep Error`
-+ check_err=`latex --no-mktex=tfm wrap_temp$$.ltx 2>&1 < /dev/null | grep Error`
- rm -f wrap_temp$$.* /tmp/x$$.*
- if [ x"$check_err" = "x" ]
- then
-@@ -151,7 +151,7 @@
- \\fi
- \\@@end
- EOF
--if eval ${LATEX} chklatex.ltx </dev/null 2>/dev/null \
-+if eval ${LATEX} --no-mktex=tfm chklatex.ltx </dev/null 2>/dev/null \
- | grep 'ThisIsLaTeX2e' >/dev/null; then
- :
- else
-@@ -1193,7 +1193,7 @@
- echo $ac_n "checking for a spellchecker""... $ac_c"
- echo "$ac_t"""
- prog=
--for ac_prog in ispell
-+for ac_prog in aspell
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog ; ac_word=$2
-@@ -1634,7 +1634,7 @@
- fi ;;
- esac
- done > chklayouts.tex
-- ${LATEX} wrap_chkconfig.ltx 2>/dev/null | grep '^\+'
-+ ${LATEX} --no-mktex=tfm wrap_chkconfig.ltx 2>/dev/null | grep '^\+'
- eval `cat chkconfig.vars | sed 's/-/_/g'`
- test -n "${rmcopy}" && rm -f chkconfig.ltx
- fi
-@@ -1683,7 +1683,7 @@
- fname="a b"
- rm -f "$fname".tex
- echo "\\message{working^^J}" >"$fname".tex
-- if ${LATEX} "$fname" </dev/null | grep 'working' >/dev/null ; then
-+ if ${LATEX} --no-mktex=tfm "$fname" </dev/null | grep 'working' >/dev/null ; then
- echo "$ac_t""yes"
- tex_allows_spaces=true
- else
-@@ -1999,6 +1999,11 @@
-
- $rc_entries
- \\font_encoding "$chk_fontenc"
-+
-+# Gentoo systems have TrueType fonts available, use them by default
-+\\screen_font_roman "Times New Roman"
-+\\screen_font_sans "Verdana"
-+\\screen_font_typewriter "Courier New"
- \\tex_allows_spaces $tex_allows_spaces
- EOF
-
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.4.1-r1.ebuild,v 1.8 2007/02/18 05:11:23 matsuu Exp $
-
-inherit kde-functions fdo-mime eutils libtool flag-o-matic
-
-DESCRIPTION="WYSIWYM frontend for LaTeX"
-HOMEPAGE="http://www.lyx.org/"
-SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/${P}.tar.bz2
- ftp://ftp.lyx.org/pub/lyx/contrib/latex-xft-fonts-0.1.tar.gz
- http://cs.haifa.ac.il/~dekelts/lyx/files/hebrew.bind
- http://cs.haifa.ac.il/~dekelts//lyx/files/preferences
- cjk? ( ftp://cellular.phys.pusan.ac.kr/CJK-LyX/qt/CJK-LyX-qt-${PV}-2.patch )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-IUSE="cjk cups debug gtk nls qt3 gnome"
-
-RDEPEND="|| (
- virtual/x11
- (
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXcursor
- x11-libs/libXft
- )
- )
- virtual/ghostscript
- virtual/aspell-dict
- dev-tex/latex2html
- dev-tex/dvipost
- media-gfx/imagemagick
- cups? ( virtual/lpr )
- app-text/sgmltools-lite
- app-text/noweb
- dev-tex/chktex"
-
-# these dependencies need looking at.
-# does lyx only need qt to compile but not run ?
-# I'll look into it <obz@gentoo.org>
-DEPEND="${RDEPEND}
- || (
- virtual/x11
- (
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXpm
- x11-proto/xproto
- )
- )
- virtual/tetex
- >=dev-lang/perl-5
- nls? ( sys-devel/gettext )
- app-text/aiksaurus
- dev-lang/python
- >=sys-devel/autoconf-2.58
- cjk? ( =x11-libs/qt-3* )
- !cjk? (
- qt3? ( =x11-libs/qt-3* )
- !qt3? ( =x11-libs/xforms-1* )
- )
- gtk? (
- >=dev-cpp/gtkmm-2.4
- >=dev-cpp/libglademm-2.4
- )"
-
-src_unpack() {
- unpack ${P}.tar.bz2 || die "unpacking lyx failed"
- unpack latex-xft-fonts-0.1.tar.gz || die "unpacking xft-fonts failed"
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.patch || die
- # bug #125309
- epatch ${FILESDIR}/${P}-dvips-R0.patch || die
- if use cjk ; then
- elog
- elog "CJK-LyX now only supports the qt frontend"
- elog "the xforms frontend has been removed."
- elog
- epatch ${DISTDIR}/CJK-LyX-qt-${PV}-2.patch || die
- fi
- elibtoolize || die "elibtoolize failed "
-}
-
-src_compile() {
- local myconf=""
-
- # Choose qt over gtk, since gtk is not feature complete
- if use qt3 || use cjk ; then
- set-qtdir 3
- myconf="$myconf --with-frontend=qt --with-qt-dir=${QTDIR}"
- elif use gtk ; then
- ewarn
- ewarn "GTK support for lyx is currently not feature complete."
- ewarn "Don't report any bugs about missing or faulty features to gentoo,"
- ewarn "instead you have the option of turning GTK support off by removing"
- ewarn "the gtk use flag or enable the gt use flag"
- ewarn "(or help implement the missing features at lyx.org)"
- ewarn
- myconf="$myconf --with-frontend=gtk"
- else
- myconf="$myconf --with-frontend=xforms"
- fi
-
- export WANT_AUTOCONF=2.5
-
- append-flags "$(test-flags -fno-stack-protector -fno-stack-protector-all)"
- filter-flags "-Os"
- econf \
- $(use_enable nls) \
- $(use_enable debug) \
- ${myconf} \
- || die "econf failed"
-
- # bug 57479
- emake || die "emake failed"
-
-}
-
-src_install() {
- einstall || die "einstall failed"
-
- dodoc README* UPGRADING ChangeLog NEWS ANNOUNCE ABOUT-NLS ${DISTDIR}/preferences
-
- insinto /usr/share/lyx/bind
- doins ${DISTDIR}/hebrew.bind
-
- domenu ${FILESDIR}/lyx.desktop
-
- # install the latex-xft fonts, which should fix
- # the problems outlined in bug #15629
- # <obz@gentoo.org>
- cd ${WORKDIR}/latex-xft-fonts-0.1
- make DESTDIR=${D} install || die "Font installation failed"
-
- mkfontscale ${D}/usr/share/fonts/latex-xft-fonts
- mkfontdir -e /usr/share/fonts/encodings \
- -e /usr/share/fonts/encodings/large \
- -e /usr/X11R6/$(get_libdir)/X11/fonts/encodings \
- ${D}/usr/share/fonts/latex-xft-fonts
- HOME=/root fc-cache -f ${D}/usr/share/fonts/latex-xft-fonts
-
- # bug #102310
- if use gnome ; then
- insinto /usr/share/icons/gnome/48x48/mimetypes
- doins ${FILESDIR}/gnome-mime-application-x-lyx.png
- fi
-
- # fix for bug 91108
- dodir /usr/share/texmf/tex/latex
- cd ${D}/usr/share/texmf/tex/latex
- ln -s ../../../lyx/tex lyx
-}
-
-pkg_postinst() {
- # fix for bug 91108
- texhash
-
- # bug #102310
- if use gnome ; then
- fdo-mime_desktop_database_update
- fi
-
- elog
- elog "How to use Hebrew in LyX:"
- elog "1. emerge dev-tex/ivritex."
- elog "2. unzip /usr/share/doc/${P}/preferences.gz into ~/.lyx/preferences"
- elog "or, read http://www.math.tau.ac.il/~dekelts/lyx/instructions2.html"
- elog "for instructions on using lyx's own preferences dialog to equal effect."
- elog "3. use lyx's qt interface (compile with USE=qt3) for maximum effect."
- elog
-
- if ! useq qt3 ; then
- elog
- elog "If you have a multi-head setup not using xinerama you can only use lyx"
- elog "on the 2nd head if not using qt (maybe due to a xforms bug). See bug #40392."
- elog
- fi
-}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.4.2.ebuild,v 1.9 2007/02/18 23:52:29 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.4.2.ebuild,v 1.10 2007/02/25 16:27:54 matsuu Exp $
inherit kde-functions fdo-mime eutils libtool flag-o-matic font
KEYWORDS="amd64 ppc ~ppc64 sparc x86"
IUSE="cjk cups debug gtk nls qt3 gnome"
-RDEPEND="|| (
- virtual/x11
- (
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXcursor
- x11-libs/libXft
- )
- )
+RDEPEND="x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXcursor
+ x11-libs/libXft
virtual/ghostscript
virtual/aspell-dict
dev-tex/latex2html
# does lyx only need qt to compile but not run ?
# I'll look into it <obz@gentoo.org>
DEPEND="${RDEPEND}
- || (
- virtual/x11
- (
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXpm
- x11-proto/xproto
- )
- )
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libXpm
+ x11-proto/xproto
virtual/tetex
>=dev-lang/perl-5
nls? ( sys-devel/gettext )
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.4.4.ebuild,v 1.2 2007/02/18 05:11:23 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-1.4.4.ebuild,v 1.3 2007/02/25 16:27:54 matsuu Exp $
inherit kde-functions fdo-mime eutils libtool flag-o-matic font
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="cjk cups debug gtk nls qt3 gnome"
-RDEPEND="|| (
- virtual/x11
- (
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXcursor
- x11-libs/libXft
- )
- )
+RDEPEND="x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXcursor
+ x11-libs/libXft
virtual/ghostscript
virtual/aspell-dict
dev-tex/latex2html
# does lyx only need qt to compile but not run ?
# I'll look into it <obz@gentoo.org>
DEPEND="${RDEPEND}
- || (
- virtual/x11
- (
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXpm
- x11-proto/xproto
- )
- )
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libXpm
+ x11-proto/xproto
virtual/tetex
>=dev-lang/perl-5
nls? ( sys-devel/gettext )