File: packages

package info (click to toggle)
lyx 1.3.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 41,996 kB
  • ctags: 28,239
  • sloc: cpp: 169,428; sh: 11,309; ansic: 6,029; perl: 3,828; python: 1,659; makefile: 1,554; yacc: 356; tcl: 163; sed: 72
file content (249 lines) | stat: -rw-r--r-- 9,046 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
# $Id: packages,v 1.46 2004/03/03 19:32:24 dexter Exp $

# Environment variables:
#   with_full_build_depends=%{$with_full_build_depends}  - use full build-time depends
#   without_aiksaurus=%{$without_aiksaurus}  - doesn't compile aiksaurus support

%define with_full_build_depends %{?$with_full_build_depends:1}%{!?$with_full_build_depends:0}
%define without_aiksaurus %{?$without_aiksaurus:1}%{!?$without_aiksaurus:0}

%define automake_version 1.7
%define qtdir /usr/share/qt3
%define qtlib qt-mt

Source: lyx
Section: editors
Priority: optional
Maintainer: Debian LyX Maintainers <pkg-lyx-devel@lists.alioth.debian.org> 
Uploaders: Erinn Clark <erinn@double-helix.org>, Rob Weir <rweir@ertius.org>
Standards-Version: 3.6.1
Upstream-Source: <URL:ftp://ftp.lyx.org/pub/lyx/stable/lyx-([0-9].*)\.tar.gz>
Home-Page: <URL:http://www.lyx.org/>
Description: High Level Word Processor
 LyX is an almost WYSIWYG-frontend for LaTeX that runs under the X Window
 System. It makes the power and typesetting quality of LaTeX available for
 people who are used to word processors. Since LyX supports LaTeX's concept
 of general mark-ups, it is even easier and faster to create professional
 quality documents with it than with usual word processors. It is also
 possible to use LaTeX-commands within LyX, so nothing of LaTeX's power is
 lost.
Copyright: GPL
 Copyright  (c)  1995,  1996,  1997,  1998,  1999,  2000,  2001, 2002 by
 Matthias Ettrich (ettrich@informatik.uni-tuebingen.de) and the rest  of
 the LyX Team (See About LyX under the Help menu item).
Build-Depends: libqt3-mt-dev, libforms-dev, libforms-bin, xlibs-dev, tetex-bin
%if %{!?without_aiksaurus:1}
Build-Depends: libaiksaurus-dev
%endif
Build-Depends: autoconf (>= 2.52), automake%{automake_version}, libtool
Build-Depends: python
Build-Conflicts: libboost-dev, libboost-regex-dev, libboost-signals-dev
%if %{with_full_build_depends}
Build-Depends: tex4ht, gnuhtml2latex, wv, tetex-extra, nowebm
Build-Depends: kdeprint, linuxdoc-tools, sgmltools-lite, libtiff-tools, groff
Build-Conflicts: tth
%endif
Patches: patches/*.diff
Major-Changes:
 [001] automake updates
 [002] libboost support for unsupported CPUs
 [004] debianized configure script
 [005] htlatex in documentation
Build: sh
 CC="${CC:-gcc}"
 CXX="${CXX:-g++}"
 CPP="${CPP:-cpp}"
 CXXFLAGS="${CXXFLAGS:-$OPTIMIZATION -g}"
 if [ "${DEB_BUILD_OPTIONS#*noopt}" != "$DEB_BUILD_OPTIONS" ]; then
     CXXFLAGS="$CXXFLAGS -O0"
 else
     CXXFLAGS="$CXXFLAGS -O2"
 fi
 case "$($CXX -dumpversion)" in
    3.[3456789]*) CXXFLAGS="$CXXFLAGS -fno-exceptions";;
 esac
 CONFIGURE_OPTIONS=" \
     --prefix=/usr \
     --infodir=/usr/share/info \
     --mandir=/usr/share/man
     --disable-dependency-tracking \
     --enable-warnings \
     --disable-debug \
     --enable-optimization='$CXXFLAGS' \
     --enable-assertions \
     --enable-shared \
     --enable-nls \
     --without-included-string \
%if %{without_aiksaurus}
     --without-aiksaurus \
%else
     --with-aiksaurus \
%endif
     --with-gnu-ld \
     --without-pspell \
     --with-x \
     --without-included-gettext \
 "
 libtoolize --automake --copy --force
 ./autogen.sh
 test -d build-tree-qt || mkdir build-tree-qt
 cd build-tree-qt
 eval qt_cv_libname=-l%{qtlib} ../configure $CONFIGURE_OPTIONS \
     --with-frontend=qt \
     --with-qt-dir=%{qtdir} \
     CC="$CC" CXX="$CXX" CPP="$CPP"
 cp -a /usr/bin/libtool .
 if [ -n "$CONCURRENCY_LEVEL" ] && [ "$CONCURRENCY_LEVEL" -gt 1 ]; then
     make -j $CONCURRENCY_LEVEL
 else
     make
 fi
 cd ..
 test -d build-tree-xforms || mkdir build-tree-xforms
 cd build-tree-xforms
 eval ../configure $CONFIGURE_OPTIONS \
     --with-frontend=xforms \
     CC="$CC" CXX="$CXX" CPP="$CPP"
 cp -a /usr/bin/libtool .
 if [ -n "$CONCURRENCY_LEVEL" ] && [ "$CONCURRENCY_LEVEL" -gt 1 ]; then
     make -j $CONCURRENCY_LEVEL
 else
     make
 fi
 cd ..
 for pod in debian/scripts/update-lyxrc; do
     eval pod2man $(grep '^# pod2man ' $pod | sed 's/^# pod2man //') $pod \
          > $(basename $pod).$(grep '^# pod2man ' $pod | sed -e 's/.*--section=//' -e 's/ .*//')
 done
Clean: sh
 rm -rf autom4te.cache build-tree-qt build-tree-xforms || true
 rm -f update-lyxrc.1 || true

Package: lyx
Architecture: all
Depends: lyx-common, lyx-xforms | lyx-qt
Depends: tetex-bin, tetex-extra
Depends: preview-latex-style
Depends: libtiff-tools, groff
Depends: imagemagick, mime-support
Depends: []
Recommends: lyx-qt
Recommends: ispell | aspell
Recommends: kdeprint | lpr
Recommends: konqueror | www-browser
Recommends: kghostview | postscript-viewer
Recommends: kghostview | pdf-viewer
Recommends: sgmltools-lite, linuxdoc-tools, rcs
Recommends: tex4ht | hevea | tth | latex2html
Recommends: gnuhtml2latex, wv
Recommends: []
Suggests: chktex, nowebm
Suggests: []
Description: High Level Word Processor
%`sed -e '1,3d; s/^$/./; s/^/ /' debian/README | head -n -2`
Install: sh
 yada install -doc -as README.Debian debian/README
Templates:
 Template: lyx/upgrade-notice
 Type: note
 _Description: Default frontend was changed.
  The previous version of LyX had one frontend which used the Xforms library.
  This release introduces a new Qt library based frontend, which many people
  prefer; to use the Qt frontend, install the lyx-qt package.  If you want to
  use the old Xforms-based frontend, install the lyx-xforms package.
Config: sh
 if  [ -n "$2" ] && dpkg --compare-versions "$2" lt-nl "1.3.1"; then
     db_input medium lyx/upgrade-notice || true
     db_go
 fi
Postinst: sh
 db_reset lyx/upgrade-notice || true

Package: lyx-common
Architecture: all
Depends: lyx-qt | lyx-xforms, perl, python (<< 2.4)
Recommends: tetex-bin, tetex-extra
Recommends: libtiff-tools, groff
Recommends: imagemagick, mime-support
Recommends: []
Suggests: ispell | aspell
Suggests: kdeprint | lpr
Suggests: konqueror | www-browser
Suggests: kghostview | postscript-viewer
Suggests: kghostview | pdf-viewer
Suggests: sgmltools-lite, linuxdoc-tools, rcs
Suggests: tex4ht | hevea | tth | latex2html
Suggests: gnuhtml2latex, wv
Suggests: []
Conflicts: lyx (<< ${Source-Version})
Conflicts: lyx-qt (<< ${Source-Version})
Conflicts: lyx-xforms (<< ${Source-Version})
Description: High Level Word Processor - common files
 This package provides common files not dependent on the frontend version.
Install: sh
 yada install -dir /etc /usr/share/texmf/tex/latex
 cd build-tree-qt
 make install DESTDIR=$ROOT
 cd ..
 yada install -script debian/scripts/dviprint debian/scripts/update-lyxrc
 yada install -script -into /usr/share/lyx/scripts debian/scripts/lyx*.sh
 yada remove -bin lyx
 yada remove -man lyx.1
 yada remove -into /usr/share/lyx configure.cmd lyxrc.defaults packages.lst textclass.lst
 yada remove -into /usr/share/lyx/doc LaTeXConfig.lyx
 chmod +x $ROOT/usr/share/lyx/reLyX/reLyXmain.pl
 chmod -x $ROOT/usr/share/lyx/lyx2lyx/*.py $ROOT/usr/share/lyx/lyx2lyx/*.pyc
 mv $ROOT/usr/share/lyx/tex $ROOT/usr/share/texmf/tex/latex/lyx
 sed -e 's/#\\print_command dvips/\\print_command dviprint/' < lib/lyxrc.example > $ROOT/etc/lyxrc
 yada remove -into /usr/share/lyx lyxrc.example
 yada symlink -into /usr/share/lyx -as lyxrc.example /etc/lyxrc
 yada install -man debian/man/noweb2lyx.1 debian/man/dviprint.1 update-lyxrc.1
 yada install -doc ANNOUNCE NEWS README UPGRADING
Postinst: sh
 if [ -e /usr/bin/texconfig ] && fgrep -q TEXMFMAIN /usr/lib/texmf/web2c/texmf.cnf; then
      /usr/bin/texhash
 fi
 echo -n "Running update-lyxrc... "
 update-lyxrc --system >/dev/null
 echo "done"
Postrm: sh
 if [ -e /usr/bin/texconfig ]; then
     /usr/bin/texhash
 fi

Package: lyx-qt
Architecture: any
Depends: latex-xft-fonts
Depends: lyx-common (= ${Source-Version}), []
Description: High Level Word Processor - Qt frontend
 This package provides Lyx with Qt frontend.
Install: sh
 yada install -bin -as lyx-qt build-tree-qt/src/lyx
 yada install -man -as lyx-qt.1 build-tree-qt/lyx.1
 yada install -data -subdir pixmaps -as lyx-qt.xpm debian/pixmaps/lyx.xpm
Doc-Depends: lyx-common
Menu:
 ?package(lyx-qt):needs="X11" section="Apps/Editors" \
   title="LyX (Qt)" command="/usr/bin/lyx-qt" \
   icon="/usr/share/pixmaps/lyx-qt.xpm" hints="Word processors"
Alternatives:
 /usr/bin/lyx -> lyx -> /usr/bin/lyx-qt (200)
 >> /usr/share/man/man1/lyx.1.gz -> lyx.1.gz -> /usr/share/man/man1/lyx-qt.1.gz

Package: lyx-xforms
Architecture: any
Depends: lyx-common (= ${Source-Version}), []
Description: High Level Word Processor - XForms frontend
 This package provides Lyx with XForms frontend.
Install: sh
 yada install -bin -as lyx-xforms build-tree-xforms/src/lyx
 yada install -man -as lyx-xforms.1 build-tree-xforms/lyx.1
 yada install -data -subdir pixmaps -as lyx-xforms.xpm debian/pixmaps/lyx.xpm
Doc-Depends: lyx-common
Menu:
 ?package(lyx-xforms):needs="X11" section="Apps/Editors" \
   title="LyX (XForms)" command="/usr/bin/lyx-xforms" \
   icon="/usr/share/pixmaps/lyx-xforms.xpm" hints="Word processors"
Alternatives:
 /usr/bin/lyx -> lyx -> /usr/bin/lyx-xforms (100) 
 >> /usr/share/man/man1/lyx.1.gz -> lyx.1.gz -> /usr/share/man/man1/lyx-xforms.1.gz