]> git.lyx.org Git - lyx.git/blob - development/tools/lyx-fedora
#9130 Text in main work area isn't rendered with high resolution
[lyx.git] / development / tools / lyx-fedora
1 #!/bin/sh
2 #
3 # lyx-fedora build script for Fedora
4 #
5 # Author: Kayvan Sylvan <kayvan@sylvan.com>
6 #                       <kayvansylvan@gmail.com>
7 #
8 # Easily build lyx from the git repository for Fedora systems.
9 # Tested on Fedora 15, 16, 17.
10 #
11 # Just run "lyx-fedora init", then "lyx-fedora rpm" and "lyx-fedora install"
12 #
13 # Subsequently: "lyx-fedora pull", "lyx-fedora rpm" and "lyx-fedora install"
14 #
15 EXT=fc$(sed 's/[^0-9]*\([0-9]*\)[^0-9]*/\1/' /etc/fedora-release)
16
17 TOPDIR=$HOME/src
18 SRCDIR=$HOME/src/lyx
19 BUILDDIR=$HOME/src/lyx-build
20 RPMDIR=$HOME/rpmbuild
21
22 case "X$1" in
23 Xinit)
24   # install packages
25   sudo yum -y install lyx git rpm-build cmake qt-devel qt gcc-c++ \
26     automake autogen autoconf fontpackages-devel enchant-devel \
27     boost-devel hunspell-devel file-devel zlib-devel
28
29   # set up the src dir
30   if [ ! -d $SRCDIR ]
31   then
32     mkdir -p $TOPDIR
33     cd $TOPDIR
34     git clone git://git.lyx.org/lyx
35   fi
36
37   # set up rpmbuild
38   mkdir -p $RPMDIR/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
39   if [ ! -r $HOME/.rpmmacros ]
40   then
41     echo '%_topdir %(echo $HOME)/rpmbuild' > $HOME/.rpmmacros
42     echo '%_smp_mflags -j3' >> $HOME/.rpmmacros
43   fi
44
45   # set up the directory to make the source tarball
46   mkdir -p $BUILDDIR
47   cd $BUILDDIR
48   cmake $SRCDIR -DLYX_CPACK:BOOL=ON
49   perl -pi -e 's@;/Makefile\\\\.in\$@@' CPackSourceConfig.cmake
50   perl -pi -e 's@;/POTFILES@@' CPackSourceConfig.cmake
51
52   # extra files to include in the Fedora RPM
53   cat > $RPMDIR/SOURCES/lyxrc.dist << EOF
54 # -*- text -*-
55 # This file has the Fedora specific configuration for lyx.
56 # If you want to make your own modifications you should do them from
57 # inside LyX and save.
58
59 Format 1
60
61 \hunspelldir_path "/usr/share/myspell/"
62 \thesaurusdir_path "/usr/share/mythes/"
63
64 \serverpipe "~/.lyx/lyxpipe"
65
66 \screen_zoom 100
67 \screen_font_roman "Serif"
68 \screen_font_sans "Sans Serif"
69 \screen_font_typewriter "Monospace"
70 EOF
71   cat > $RPMDIR/SOURCES/lyx.desktop << EOF
72 [Desktop Entry]
73 Name=LyX
74 GenericName=Structured Word Processor
75 Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
76 Exec=lyx
77 Icon=lyx
78 MimeType=application/x-lyx;text/x-lyx;
79 Type=Application
80 Encoding=UTF-8
81 Categories=Office;WordProcessor;
82 EOF
83   cat > $RPMDIR/SOURCES/lyx-2.0.1-xdg_open.patch << EOF
84 --- lyx-2.0.1.orig/lib/configure.py     2011-08-29 23:23:17.000000000 +0100
85 +++ lyx-2.0.1/lib/configure.py  2011-09-05 19:14:37.461269747 +0100
86 @@ -510,7 +510,7 @@
87      checkViewerEditor('a SVG viewer and editor', ['inkscape'],
88          rc_entry = [r'\Format svg        svg     SVG                    "" "%%" "%%"   "vector"'])
89      #
90 -    path, iv = checkViewerNoRC('a raster image viewer', ['xv', 'kview', 'gimp-remote', 'gimp'],
91 +    path, iv = checkViewerNoRC('a raster image viewer', ['xdg-open', 'xv', 'kview', 'gimp-remote', 'gimp'],
92          rc_entry = [r'''\Format bmp        bmp     BMP                    "" "%s"      "%s"    ""
93  \Format gif        gif     GIF                    "" "%s"      "%s"    ""
94  \Format jpg        jpg     JPEG                   "" "%s"      "%s"    ""
95 @@ -573,7 +573,7 @@
96  \Format excel      xls    "Excel spreadsheet"      "" "" "%%"    "document"
97  \Format oocalc     ods    "OpenOffice spreadsheet" "" "" "%%"    "document"'''])
98   #
99 -    path, xhtmlview = checkViewer('an HTML previewer', ['firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
100 +    path, xhtmlview = checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
101          rc_entry = [r'\Format xhtml      xhtml   "LyXHTML"              y "%%" ""    "document,menu=export"'])
102      if xhtmlview == "":
103          addToRC(r'\Format xhtml      xhtml   "LyXHTML"              y "" ""  "document,menu=export"')
104 @@ -587,11 +587,11 @@
105      #
106      #checkProg('a Postscript interpreter', ['gs'],
107      #  rc_entry = [ r'\ps_command "%%"' ])
108 -    checkViewer('a Postscript previewer', ['kghostview', 'okular', 'evince', 'gv', 'ghostview -swap'],
109 +    checkViewer('a Postscript previewer', ['xdg-open', 'kghostview', 'okular', 'evince', 'gv', 'ghostview -swap'],
110          rc_entry = [r'''\Format eps        eps     EPS                    "" "%%"      ""      "vector"
111  \Format ps         ps      Postscript             t  "%%"      ""      "document,vector,menu=export"'''])
112      # for xdg-open issues look here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151818.html
113 -    checkViewer('a PDF previewer', ['kpdf', 'okular', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \\
114 +    checkViewer('a PDF previewer', ['xdg-open', 'kpdf', 'okular', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', \\
115                     'gv', 'ghostview'],
116          rc_entry = [r'''\Format pdf        pdf    "PDF (ps2pdf)"          P  "%%"      ""      "document,vector,menu=export"
117  \Format pdf2       pdf    "PDF (pdflatex)"        F  "%%"      ""      "document,vector,menu=export"
118 @@ -599,14 +599,14 @@
119  \Format pdf4       pdf    "PDF (XeTeX)"           X  "%%"      ""      "document,vector,menu=export"
120  \Format pdf5       pdf    "PDF (LuaTeX)"          u  "%%"      ""      "document,vector,menu=export"'''])
121      #
122 -    checkViewer('a DVI previewer', ['xdvi', 'kdvi', 'okular', 'yap', 'dviout -Set=!m'],
123 +    checkViewer('a DVI previewer', ['xdg-open', 'xdvi', 'kdvi', 'okular', 'yap', 'dviout -Set=!m'],
124          rc_entry = [r'''\Format dvi        dvi     DVI                    D  "%%"      ""      "document,vector,menu=export"
125  \Format dvi3       dvi     "DVI (LuaTeX)"          V  "%%"     ""      "document,vector,menu=export"'''])
126      if dtl_tools:
127          # Windows only: DraftDVI
128          addToRC(r'\Format dvi2       dvi     DraftDVI               "" ""      ""      "vector"')
129      #
130 -    checkViewer('an HTML previewer', ['firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
131 +    checkViewer('an HTML previewer', ['xdg-open', 'firefox', 'mozilla file://\$\$p\$\$i', 'netscape'],
132          rc_entry = [r'\Format html       html    HTML                   H  "%%"        ""      "document,menu=export"'])
133      #
134      checkViewerEditor('Noteedit', ['noteedit'],
135 EOF
136   cat > $RPMDIR/SPECS/lyx-cmake.spec << EOF
137 ## lyx-fonts
138 %global fontname lyx
139 %if 1
140 %define fontpackages 1
141 BuildRequires: fontpackages-devel
142 %else
143 %define _fontdir %{_datadir}/fonts/%{fontname}
144 %endif
145
146 %define _without_included_boost --without-included-boost
147
148 Summary: WYSIWYM (What You See Is What You Mean) document processor
149 Name:    lyx
150 Version: 2.1.0dev
151 Release: 1%{?dist}
152
153 License: GPLv2+
154 Group:   Applications/Publishing
155 Url:     http://www.lyx.org/
156 Source0: LyX-2.1.tar.bz2
157 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
158
159 Source1: lyxrc.dist
160 Source10: lyx.desktop
161
162 ## upstreamable patches
163 # submitted, but upstream rejected it.  we currently agree to disagree.
164 Patch50: lyx-2.0.1-xdg_open.patch
165 # Do we need to rebuild configuration files?
166 %global autotools 0
167
168 %if 0%{?autotools}
169 BuildRequires: automake libtool
170 %endif
171 BuildRequires: enchant-devel
172 %if 0%{?_without_included_boost:1}
173 BuildRequires: boost-devel
174 %endif
175 BuildRequires: desktop-file-utils
176 BuildRequires: gettext
177 BuildRequires: hunspell-devel
178 BuildRequires: python
179 BuildRequires: qt4-devel
180 BuildRequires: zlib-devel
181
182 # optional minimal qt4 dep
183 %{?_qt_version:Requires: qt4 >= %{_qt4_version}}
184
185 Obsoletes: %{name}-qt < 1.5.0
186 Provides:  %{name}-qt = %{version}-%{release}
187 Obsoletes: %{name}-xforms < 1.5.0
188
189 Requires: %{name}-common = %{version}-%{release}
190
191 Requires: %{fontname}-fonts = %{version}-%{release}
192
193 %if 0%{?fedora} > 8 || 0%{?rhel} > 5
194 BuildRequires: tex(dvips) tex(latex)
195 Requires(post): texlive
196 Requires(postun): texlive
197 Requires: dvipdfm
198 Requires: tex(dvips) tex(latex)
199 Requires: tex-simplecv
200 %else
201 BuildRequires: tetex-dvips tetex-latex tetex-fonts
202 Requires(post): tetex-fonts
203 Requires(postun): tetex-fonts
204 Requires: tetex-dvips tetex-latex
205 %endif
206 Requires: ghostscript
207 ## Soft dependencies
208 %if 0%{?fedora} > 3 && 0%{?fedora} < 9
209 # Document->Change Tracking feature
210 Requires: tetex-dvipost
211 Requires: tetex-preview
212 Requires: tetex-IEEEtran
213 %endif
214 # convert doc files to lyx (bug #193858)
215 Requires: wv
216 Requires: xdg-utils
217 # required for instant preview
218 # we use a file require because depending on the texlive version used
219 # the package can either be texlive-dviutils for texlive 2007 or
220 # texlive-dtl-bin for texlive >= 2010
221 Requires: /usr/bin/dv2dt
222 Requires: ImageMagick
223
224 %description
225 LyX is a modern approach to writing documents which breaks with the
226 obsolete "typewriter paradigm" of most other document preparation
227 systems.
228
229 It is designed for people who want professional quality output
230 with a minimum of time and effort, without becoming specialists in
231 typesetting.
232
233 The major innovation in LyX is WYSIWYM (What You See Is What You Mean).
234 That is, the author focuses on content, not on the details of formatting.
235 This allows for greater productivity, and leaves the final typesetting
236 to the backends (like LaTeX) that are specifically designed for the task.
237
238 With LyX, the author can concentrate on the contents of his writing,
239 and let the computer take care of the rest.
240
241 %package common
242 Summary:  Common files of %{name}
243 Group:    Applications/Publishing
244 Requires: %{name} = %{version}-%{release}
245 BuildArch: noarch
246 %description common
247 {summary}.
248
249 %package fonts
250 Summary: Lyx/MathML fonts
251 Group:   Applications/Publishing
252 # The actual license says "The author of these fonts, Basil K. Malyshev, has
253 # kindly granted permission to use and modify these fonts."
254 # One of the font files (wasy10) is separately licensed GPL+.
255 License: Copyright only and GPL+
256 %{?fontpackages:Requires: fontpackages-filesystem}
257 Obsoletes: mathml-fonts < 1.0-50
258 Provides:  mathml-fonts = 1.0-50
259 Obsoletes: lyx-fonts-common < 1.6.5-3
260 Obsoletes: lyx-fonts-compat < 1.6.5-3
261 Obsoletes: lyx-cmex10-fonts < 1.6.5-3
262 Obsoletes: lyx-cmmi10-fonts < 1.6.5-3
263 Obsoletes: lyx-cmr10-fonts < 1.6.5-3
264 Obsoletes: lyx-cmsy10-fonts < 1.6.5-3
265 Obsoletes: lyx-esint10-fonts < 1.6.5-3
266 Obsoletes: lyx-eufm10-fonts < 1.6.5-3
267 Obsoletes: lyx-msam10-fonts < 1.6.5-3
268 Obsoletes: lyx-msbm10-fonts < 1.6.5-3
269 Obsoletes: lyx-wasy10-fonts < 1.6.5-3
270 Provides:  lyx-cmex10-fonts = %{version}-%{release}
271 Provides:  lyx-cmmi10-fonts = %{version}-%{release}
272 Provides:  lyx-cmr10-fonts = %{version}-%{release}
273 Provides:  lyx-cmsy10-fonts = %{version}-%{release}
274 BuildArch: noarch
275 %description  fonts
276 A collection of Math symbol fonts for %{name}.
277
278
279 %prep
280
281 %setup -q -n LyX-2.1
282
283 #%patch50 -p1 -b .xdg_open
284
285 %if 0%{?autotools}
286 ./autogen.sh
287 %endif
288
289
290 %build
291
292 %configure \\
293   --disable-dependency-tracking \\
294   --disable-rpath \\
295   --enable-build-type=release \\
296   --enable-optimization="%{optflags}" \\
297   --without-included-boost \\
298   --with-enchant \\
299   --with-hunspell
300
301 make %{?_smp_mflags}
302
303
304 %install
305 rm -rf %{buildroot}
306
307 make install DESTDIR=%{buildroot}
308
309 # misc/extras
310 install -p -m644 -D %{SOURCE1} %{buildroot}%{_datadir}/lyx/lyxrc.dist
311
312 # Set up the lyx-specific class files where TeX can see them
313 texmf=%{_datadir}/texmf
314 mkdir -p %{buildroot}\${texmf}/tex/latex
315 mv %{buildroot}%{_datadir}/lyx/tex \\
316    %{buildroot}\${texmf}/tex/latex/lyx
317
318 # .desktop
319 desktop-file-install --vendor="" \\
320   --dir="%{buildroot}%{_datadir}/applications" \\
321   %{SOURCE10}
322
323 # icon
324 install -p -D -m644 lib/images/lyx.png \\
325   %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/lyx.png
326
327 # ghost'd files
328 touch %{buildroot}%{_datadir}/lyx/lyxrc.defaults
329 touch %{buildroot}%{_datadir}/lyx/{packages,textclass}.lst
330
331 # fonts
332 install -m 0755 -d %{buildroot}%{_fontdir}
333 mv %{buildroot}%{_datadir}/lyx/fonts/*.ttf %{buildroot}%{_fontdir}/
334 rm -rf %{buildroot}%{_datadir}/lyx/fonts
335
336 %find_lang %{name}
337
338
339 %check
340 # tests/test_filetools error bogus ( see http://bugzilla.redhat.com/723938 )
341 make -k check ||:
342
343
344 %post common
345 touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
346
347 %postun common
348 if [ \$1 -eq 0 ] ; then
349   texhash >& /dev/null
350   update-desktop-database -q &> /dev/null
351   touch --no-create %{_datadir}/icons/hicolor &> /dev/null
352   gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
353 fi
354
355 %posttrans common
356 texhash >& /dev/null
357 update-desktop-database -q &> /dev/null
358 gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
359
360 ## Catch installed/uninstalled helpers
361 ##   not sure if this is really needed anymore, as it seems to be a per-user thing,
362 ##   and besides, we use xdg-open now -- Rex
363 #triggerin common -- latex2html,wv
364 #if [ \$2 -gt 1 ]; then
365 #cd %{_datadir}/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
366 #fi
367 #
368 #triggerun common -- latex2html,wv
369 #if [ \$2 -eq 0 ]; then
370 #cd %{_datadir}/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
371 #fi
372
373
374 %clean
375 rm -rf %{buildroot}
376
377
378 %files
379 %defattr(-,root,root,-)
380 %doc ANNOUNCE COPYING lib/CREDITS NEWS README
381 %{_bindir}/*
382
383 %files common -f %{name}.lang
384 %defattr(-,root,root,-)
385 %{_mandir}/man1/*
386 %{_datadir}/applications/*.desktop
387 %{_datadir}/icons/hicolor/*/*/*
388 %{_datadir}/lyx/
389 %config(noreplace) %{_datadir}/lyx/lyxrc.dist
390 %ghost %{_datadir}/lyx/lyxrc.defaults
391 %ghost %{_datadir}/lyx/*.lst
392 %{_datadir}/texmf/tex/latex/lyx/
393
394 %if 0%{?fontpackages:1}
395 %_font_pkg
396 %{_fontdir}/*.ttf
397 %doc lib/fonts/BaKoMaFontLicense.txt
398 %doc lib/fonts/ReadmeBaKoMa4LyX.txt
399 %else
400 %files fonts
401 %defattr(-,root,root,-)
402 %dir %{_fontdir}/
403 %{_fontdir}/*.ttf
404 %doc lib/fonts/BaKoMaFontLicense.txt
405 %doc lib/fonts/ReadmeBaKoMa4LyX.txt
406
407 %posttrans fonts
408 fc-cache %{_fontdir} 2> /dev/null ||:
409 %endif
410
411
412 %changelog
413 * Sun Nov  4 2012 Kayvan Sylvan <kayvan@sylvan.com>
414 - Remove texlive-fonts from BuildRequires (Fedora 18 obsoletes texlive-fonts)
415
416 * Fri Nov  2 2012 Kayvan Sylvan <kayvan@sylvan.com> - 2.1
417 - lyx-2.1 dev
418
419 * Sat Jun 30 2012 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1
420 - lyx-2.0.4
421 - Omitted backslash in code for floatingfootnote, after export to latex, and re-import (#811719)
422
423 * Mon Mar  5 2012 José Matos <jamatos@fedoraproject.org> - 2.0.3-1
424 - New bugfix release
425
426 * Wed Feb 29 2012 Rex Dieter <rdieter@fedoraproject.org> 2.0.2-4
427 - hack around gcc-4.7 ftbfs for now
428
429 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
430 - Rebuilt for c++ ABI breakage
431
432 * Sat Jan  7 2012 José Matos <jamatos@fedoraproject.org> - 2.0.2-2
433 - Require ImageMagick (#753626)
434
435 * Thu Dec  1 2011 José Matos <jamatos@fedoraproject.org> - 2.0.2-1
436 - New stable release.
437
438 * Tue Nov 22 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.1-3
439 - rebuild (boost)
440
441 * Mon Sep  5 2011 José Matos <jamatos@fedoraproject.org> - 2.0.1-2
442 - Update xdg_open patch for version 2.0.1
443
444 * Mon Sep  5 2011 José Matos <jamatos@fedoraproject.org> - 2.0.1-1
445 - Update to 2.0.1
446
447 * Thu Jul 21 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-5
448 - rebuild (boost)
449
450 * Wed Jun  1 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-4
451 - LaTeXConfig.lyx is no longer a ghost (#684428)
452
453 * Thu May 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-3
454 - fix hunspell support (use pkgconfig)
455
456 * Thu May 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-2
457 - rebuild (hunspell)
458
459 * Fri Apr 29 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-1
460 - Update to 2.0.0 final
461
462 * Mon Apr 11 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.21.rc3
463 - Update to rc3
464
465 * Thu Apr  7 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.20.rc2
466 - Rebuild for new boost (just applies to F16)
467
468 * Tue Mar 29 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.19.rc2
469 - New upstream release (rc2)
470
471 * Mon Mar 14 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.18.rc1
472 - Rebuild for boost upgrade
473
474 * Sat Mar 12 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.17.rc1
475 - Add thesaurus and hunspell paths to lyxrc.dist thus fixing
476   http://www.lyx.org/trac/ticket/7253
477 - Simplified the content of lyxrc.dist leaving only the relevant
478   options and updating the format to the current one
479
480 * Fri Mar 11 2011 José Matos <jamatos@fedoraproject.org> - 2.0.0-0.16.rc1
481 - Update for rc1 and add a dependency to ensure that math instant
482   preview works by default
483 - Removed patch applied upstream for gcc 4.6 fixes
484 - Renamed patch for xdg_open to be in sync with current version (rc1)
485
486 * Fri Feb 11 2011 Orion Poplawski <orion@cora.nwra.com> 2.0.0-0.15.beta4
487 - Get gcc46 fixes from svn
488
489 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.14.beta4
490 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
491
492 * Mon Feb 07 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.13.beta4
493 - 2.0.0-beta4
494
495 * Mon Feb 07 2011 Thomas Spura <tomspur@fedoraproject.org> 2.0.0-0.12.beta3
496 - rebuild for new boost
497
498 * Tue Jan 11 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.11.beta3
499 - lyx-2.0.0-beta3
500
501 * Wed Dec 08 2010 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-0.10.beta2
502 - lyx-2.0.0-beta2
503
504 * Wed Nov 10 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.9.beta1
505 - lyx-2.0.0-beta1 (#651488)
506
507 * Tue Nov 09 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.8.alpha6
508 - lyx-2.0.0-alpha6 (#651488)
509
510 * Wed Nov 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.7.alpha5
511 - drop %%triggers, *may* affect selinux labels (#632944)
512
513 * Thu Aug 05 2010 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-0.6.alpha5
514 - Rebuild for newer boost
515
516 * Wed Jul 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.5.alpha5
517 - lyx-2.0.0-alpha5
518
519 * Thu Jun 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.4.alpha4
520 - lyx-2.0.0-alpha4
521
522 * Thu May 13 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.3.alpha3
523 - lyx-2.0.0-alpha3
524
525 * Sat Apr 17 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.2.alpha2
526 - lyx-2.0.0-alpha2
527
528 * Sat Apr 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.1.alpha1
529 - lyx-2.0.0-alpha1
530
531 * Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-5
532 - FTBFS lyx-1.6.5-4.fc13: ImplicitDSOLinking (#565009)
533
534 * Thu Jan 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-4
535 - -fonts: Provides: lyx-{cmex10,cmmi10,cmr10,cmsy10}-fonts
536
537 * Sat Jan 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.6.5-3
538 - rebiuld (boost)
539 - use simple font template
540
541 * Wed Dec  9 2009 José Matos <jamatos@fc.up.pt> - 1.6.5-2
542 - Add patch for autoconf 2.65 (F13+)
543
544 * Wed Dec  9 2009 José Matos <jamatos@fc.up.pt> - 1.6.5-1
545 - lyx-1.6.5
546
547 * Thu Nov 19 2009 José Matos <jamatos@fc.up.pt> - 1.6.4-3
548 - LyX supports autoconf 2.64 (should be upstream for 1.6.5)
549
550 * Thu Sep 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.4-2
551 - use enchant instead of aspell (#524046)
552
553 * Sat Aug 22 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.4-1
554 - lyx-1.6.4
555 - handle fonts manually (now EPEL-5 compatible)
556
557 * Mon Aug 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.3-3
558 - add lyx-*-fonts subpkgs (#452357, #514549)
559 - -common (noarch) subpkg
560 - trim %%changelog
561
562 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-2
563 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
564
565 * Thu Jun 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.3-1
566 - lyx-1.6.3
567
568 * Mon Mar 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.2-2
569 - scriptlet optimization
570
571 * Sun Mar 15 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.2-1
572 - lyx-1.6.2
573 - use --without-included-boost unconditionally
574
575 * Wed Mar 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.6.1-3
576 - --without-included-boost (f11+)
577
578 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
579 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
580
581 * Sun Dec 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.1-1
582 - lyx-1.6.1
583
584 * Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.6.0-2
585 - Rebuild for Python 2.6
586
587 * Fri Nov 07 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-1
588 - lyx-1.6.0(final)
589
590 * Tue Oct 28 2008 José Matos <jamatos@fc.up.pt> - 1.6.0-0.11.rc5
591 - lyx-1.6.0rc5
592
593 * Fri Oct 24 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.10.rc4
594 - lyx-1.6.0rc4
595
596 * Tue Sep 30 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.9.rc3
597 - lyx-1.6.0rc3
598
599 * Fri Sep 26 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.8.rc3
600 - lyx-1.6.0rc3-svn26576
601
602 * Fri Sep 12 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.7.rc2
603 - lyx-1.6.0rc2
604
605 * Wed Aug 06 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.6.rc1
606 - lyx-1.6.0rc1
607
608 * Sun Aug 03 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.6.0-0.5.beta4
609 - Requires: dvipdfm (f9+, #448647)
610 - add (optional) minimal qt4 dep
611 - make Req: tex-simplecv fedora only
612 - drop file deps (texhash)
613
614 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.4.beta4
615 - Changelog has been removed from the distribution
616
617 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.3.beta4
618 - icon has changed from xpm to png
619
620 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.2.beta4
621 - revert to use pre instead of devrel.
622 - require tex-simplecv (#428526)
623
624 * Wed Jul 16 2008 José Matos <jamatos[AT]fc.up.pt> - 1.6.0-0.1.beta4
625 - lyx-1.6.0beta4
626 - --enable-build-type=release disables extra debug information (no
627     warnings, debug, assertions, concept-checks and stdlib-debug).
628
629 * Mon May 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.5.5-1
630 - lyx-1.5.5
631
632 * Mon Feb 25 2008 Rex Dieter <rdieter@fedoraproject.org> 1.5.4-1
633 - lyx-1.5.4 (#434689)
634 - reintroduce xdg-utils patch (reverted upstream).
635 - omit bakoma ttf fonts
636
637 * Mon Feb 11 2008 José Matos <jamatos[AT]fc.up.pt> - 1.5.3-2
638 - Rebuild for gcc 4.3
639
640 * Mon Dec 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.3-1
641 - lyx-1.5.3
642
643 * Tue Dec 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.2-2
644 - drop scriptlet optimization hack
645
646 * Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.2-1
647 - lyx-1.5.2
648
649 * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.1-2
650 - respin (BuildID)
651
652 * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.1-1
653 - lyx-1.5.1
654 - License: GPLv2+
655
656 * Wed Jul 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-1
657 - lyx-1.5.0(final)
658
659 * Sun Jul 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.10.rc2
660 - upstream patch for 'lyx --export latex' crasher (#248282)
661
662 * Thu Jun 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.9.rc2
663 - scriptlet optmization
664
665 * Thu Jun 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.8.rc2
666 - lyx-1.5.0rc2
667
668 * Fri Jun 01 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.7.rc1
669 - lyx-1.5.0rc1
670
671 * Fri May 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.6.beta3
672 - lyx-1.5.0beta3
673
674 * Sun Apr 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.5.beta2
675 - lyx-1.5.0beta2
676
677 * Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.4.beta1
678 - fix qt-4.3 crasher
679
680 * Tue Mar 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.3.beta1
681 - stop omitting -fexceptions
682
683 * Wed Mar 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.2.beta1
684 - +Requires: tetex-IEEEtran (#232840)
685
686 * Mon Mar 05 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5.0-0.1.beta1
687 - lyx-1.5.0beta1
688 - tweak lyxrc.dist
689
690 * Thu Feb 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-2
691 - biffed sources, respin
692
693 * Wed Feb 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-1
694 - lyx-1.4.4
695 - .desktop's: -Category=Application
696 - mark -xforms as deprecated
697
698 * Sun Oct 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.3-3
699 - sync .desktop files with upstream
700 - use xdg-open as default helper, +Requires: xdg-utils
701
702 * Thu Sep 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.3-1
703 - lyx-1.4.3
704
705 * Thu Sep 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-5
706 - fc6 respin
707
708 * Thu Aug 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-4
709 - owowned files, incomplete package removal (bug #201197)
710
711 * Thu Jul 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-2
712 - 1.4.2
713
714 * Wed Jun 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-9
715 - Requires(hint): wv (bug #193858)
716 - fix dependancy -> dependency
717
718 * Thu Jun 15 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-8
719 - BR: gettext
720 - fc4: restore Requires(hint): tetex-preview
721
722 * Thu May 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-7.1
723 - fc4: drop Requires: tetex-preview, it's not ready yet.
724
725 * Wed May 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-7
726 - use serverpipe "~/.lyx/lyxpipe" instead, that was the old default
727   and what pybibliographer expects.
728
729 * Tue May 23 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-6
730 - set defaults for (see %{_datadir}/lyx/lyxrc.defaults.custom)
731   screen_font_roman "Serif"
732   screen_font_sans "Sans"
733   screen_font_typewriter "Monospace"
734   screen_zoom 100
735   serverpipe "~/.lyx/pipe"
736   (bug #192253)
737
738 * Mon May 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-5
739 - Requires(hint): tetex-preview
740
741 * Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-4
742 - add generic app icon (rh #191944)
743
744 * Fri Apr 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-3
745 - Requires(hint): tetex-dvipost
746   adds support for lyx's Document->Change Tracking
747
748 * Tue Apr 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-2
749 - 1.4.1
750
751 * Thu Mar 30 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-5
752 - %%trigger ImageMagick (#186319)
753
754 * Thu Mar 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-4
755 - fix stripping of -fexceptions from %%optflags
756
757 * Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-3
758 - include beamer.layout
759
760 * Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-2
761 - 1.4.0(final)
762 - drop boost bits
763 EOF
764   cd $SRCDIR
765   git pull
766   ./autogen.sh
767   ;;
768 Xpull)
769   cd $SRCDIR
770   git pull
771   ./autogen.sh
772   ;;
773 Xrpm)
774   cd $BUILDDIR
775   make package_source
776   mv LyX-2.1.tar.bz2 $HOME/rpmbuild/SOURCES
777   rpmbuild -ba $HOME/rpmbuild/SPECS/lyx-cmake.spec
778   ;;
779 Xinstall)
780   VER=$(head $SRCDIR/configure.ac | grep AC_INIT|awk -F, '{print $2}')
781   rpm -q lyx | grep -q lyx-$VER
782   if [ $? -eq 0 ]
783   then
784     cmd="reinstall"
785   else
786     cmd="install"
787   fi
788   sudo yum $cmd \
789   $HOME/rpmbuild/RPMS/x86_64/lyx-$VER-1.$EXT.x86_64.rpm \
790   $HOME/rpmbuild/RPMS/noarch/lyx-common-$VER-1.$EXT.noarch.rpm \
791   $HOME/rpmbuild/RPMS/noarch/lyx-fonts-$VER-1.$EXT.noarch.rpm
792   ;;
793 *)
794 cat << EOF
795 On recent Fedora install (F15, F16, and F17 work): 
796
797 To install the needed packages, create the rpmbuild directory, and set
798 up the build directory:
799
800   $0 init
801   $0 rpm
802   $0 install
803
804 After this, you can refresh and re-install the latest like this:
805
806   $0 pull
807   $0 rpm
808   $0 install
809
810 For any problems, Email Kayvan Sylvan <kayvansylvan@gmail.com>.
811 EOF
812   ;;
813 esac