rpms/lyx/EL-4 lyx-1.4.4-xdg_open.patch, NONE, 1.1 lyxrc.dist, NONE, 1.1 .cvsignore, 1.3, 1.4 lyx-qt.desktop, 1.1, 1.2 lyx-xforms.desktop, 1.1, 1.2 lyx.desktop, 1.3, 1.4 lyx.spec, 1.13, 1.14 sources, 1.5, 1.6 helpers.conf, 1.1, NONE helpers.sh, 1.2, NONE lyx-1.3.7-helpers.patch, 1.1, NONE lyx-1.3.7-noxfonts.patch, 1.1, NONE lyx-crystal.png, 1.1, NONE

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Thu Oct 11 16:36:11 UTC 2007


Author: rdieter

Update of /cvs/pkgs/rpms/lyx/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22550

Modified Files:
	.cvsignore lyx-qt.desktop lyx-xforms.desktop lyx.desktop 
	lyx.spec sources 
Added Files:
	lyx-1.4.4-xdg_open.patch lyxrc.dist 
Removed Files:
	helpers.conf helpers.sh lyx-1.3.7-helpers.patch 
	lyx-1.3.7-noxfonts.patch lyx-crystal.png 
Log Message:
- lyx-1.4.5.1
- epel: drop Requires(hint): wv (until wv is available)


lyx-1.4.4-xdg_open.patch:

--- NEW FILE lyx-1.4.4-xdg_open.patch ---
--- lyx-1.4.4/lib/configure.py.helpers	2007-02-13 17:20:29.000000000 -0600
+++ lyx-1.4.4/lib/configure.py	2007-02-14 09:53:28.000000000 -0600
@@ -251,7 +251,7 @@
     checkViewer('a FEN viewer and editor', ['xboard -lpf $$i -mode EditPosition'],
         rc_entry = [r'\Format fen        fen     FEN                    "" "%%"	"%%"'])
     #
-    path, iv = checkViewer('a raster image viewer', ['xv', 'kview', 'gimp'])
+    path, iv = checkViewer('a raster image viewer', ['xdg-open', 'xv', 'kview', 'gimp'])
     path, ie = checkViewer('a raster image editor', ['gimp'])
     addToRC(r'''\Format bmp        bmp     BMP                    "" "%s"	"%s"
 \Format gif        gif     GIF                    "" "%s"	"%s"
@@ -283,23 +283,23 @@
     #
     #checkProg('a Postscript interpreter', ['gs'],
     #  rc_entry = [ r'\ps_command "%%"' ])
-    checkViewer('a Postscript previewer', ['gv', 'ghostview -swap', 'kghostview'],
+    checkViewer('a Postscript previewer', ['xdg-open', 'gv', 'ghostview -swap', 'kghostview'],
         rc_entry = [r'''\Format eps        eps     EPS                    "" "%%"	""	"vector"
 \Format ps         ps      Postscript             t  "%%"	""	"vector"'''])
     #
-    checkViewer('a PDF previewer', ['acrobat', 'acroread', 'gv', 'ghostview', \
+    checkViewer('a PDF previewer', ['xdg-open', 'acrobat', 'acroread', 'gv', 'ghostview', \
                             'xpdf', 'kpdf', 'kghostview'],
         rc_entry = [r'''\Format pdf        pdf    "PDF (ps2pdf)"          P  "%%"	""	"vector"
 \Format pdf2       pdf    "PDF (pdflatex)"        F  "%%"	""	"vector"
 \Format pdf3       pdf    "PDF (dvipdfm)"         m  "%%"	""	"vector"'''])
     #
-    checkViewer('a DVI previewer', ['xdvi', 'kdvi'],
+    checkViewer('a DVI previewer', ['xdg-open', 'xdvi', 'kdvi'],
         rc_entry = [r'\Format dvi        dvi     DVI                    D  "%%"	""	"vector"'])
     if dtl_tools:
         # Windows only: DraftDVI
         addToRC(r'\Format dvi2       dvi     DraftDVI               ""	""	"vector"')
     #
-    checkViewer('a HTML previewer', ['mozilla file://$$p$$i', 'netscape'],
+    checkViewer('a HTML previewer', ['xdg-open', 'htmlview file://$$p$$i', 'mozilla file://$$p$$i', 'netscape'],
         rc_entry = [r'\Format html       html    HTML                   H  "%%"	""'])
     #
     # entried that do not need checkProg


--- NEW FILE lyxrc.dist ---
# -*- text -*-

# file lyxrc.dist

#
# BIND SECTION ###########################################################
#

# Before defining your own key-bindings, select one of the available default
# binding sets. These are resource files (like this one) that define a
# large set of (keyboard) bindings. These files live in bind directory of
# the LyX system directory and have in general the .bind suffix.
# Currently, you can choose from the following flavors:
#
# cua.bind            for Windows-, Mac- and Motif-like bindings
# emacs.bind          for Emacs-like bindings.
#
# The \bind_file command looks in the LyX bind directory for a file
# of the given name, but a full path can also be given. If you have
# a bind file in your ~/.lyx/bind/ directory, it will be preferred
# over a system wide bind file. Default is `cua'.

#\bind_file cua
#\bind_file emacs

# Based on the default, you can now change part or all of it with the
# \bind command. For example, when you want the delete key to do the
# backspace action, uncomment the following line:
#\bind "Delete" "delete-backward"

# However, if you're not at all happy with the default bindings,
# the most logical thing to do would be to use one of the system
# wide bind files as a template and place your own version in
# ~/.lyx/bind/mine_is_best.bind and change the above \bind_file
# to this instead:
#\bind_file mine_is_best

# By default, LyX takes over the handling of the dead keys (or accent
# keys) that may be defined for your keyboard. While this allows you
# to enter characters that would not be normally available, some
# people dislike the different behaviour. You can use raw dead keys by
# just uncommenting the next line
#\override_x_deadkeys false

# Tip: Use "lyx -dbg 4" to survey how LyX interprets your keybindings.


#
# MISC SECTION ###########################################################
#

# Set this to false if you don't want the startup banner.
# Default is true.
#\show_banner true

# Set to false if you don't want the current selection to be replaced
# automatically by what you type. Default is true.
#\auto_region_delete false

# This is the time interval between auto-saves (in seconds).
# 0 means no auto-save, default is 300 for five minutes.
#\autosave 600

# LyX asks for a second confirmation to exit if you exit with changed
# documents that you don't want to save.  You can turn this confirmation off
# (LyX will still ask to save changed documents) with the following line.
# We recommend to keep the confirmation, though.
#\exit_confirmation false

# This sets the behaviour if you want to be asked for a filename when
# creating a new document or wait until you save it and be asked then.
# The default for now is ask on save.
# \new_ask_filename false

# LyX continously displays names of last command executed, along with a list
# of defined short-cuts for it in the minibuffer.
# It requires some horsepower to function, so you can turn it off, if LyX
# seems slow to you, by uncommenting this line:
#\display_shortcuts false

# \view_dvi_paper_option allows to specify a paper option to the dvi
# viewer. By default LyX specifies the paper size of the document to
# the dvi viewer via the command line option -paper size, where size
# is one of "us","letter","a3","a4" and so on. The command
# \view_dvi_paper_option allows the user to overwrite the name of the
# command line flag, i.e. replace -paper with something else. If
# specified and left empty, i.e. \view_dvi_paper_option "", LyX does
# not append the -paper option to the dvi command at all. This case is
# especially useful when viewing your documents on Windows with yap,
# because yap does not allow a command line option for the paper size.
#\view_dvi_paper_option ""

# LyX assumes that the default papersize should be usletter.  If this is not
# true for your site, use the next line to specify usletter, legal,
# executive, a3, a4, a5, or b5 as the default papersize.
#\default_papersize "a4"

# Define which program to use to run "chktex".
# You should include options that turn different warnings on and off.
# Default is "chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38"
# Check the ChkTeX documentation for info on what the flags mean.
# Example: use this to ignore warnings about using "\ldots" instead of "..."
#\chktex_command "chktex -n11 -n1 -n3 -n6 -n9 -22 -n25 -n30 -n38"

# Keyboard Mapping. Use this to set the correct mapping file for your
# keyboard, that is if you need one. You'll need one if you for instance
# want to type German documents on an American keyboard. In that case,
# uncomment these three lines:
#\kbmap true
#\kbmap_primary german
#\kbmap_secondary american
# The following keyboards are supported: american, czech, francais,
# french, german, german-2, magyar, magyar-2, portuges, romanian,
# slovak, slovene, transilvanian, turkish and turkish-f. Check
# the lib/kbd directory if you want to write support for your language.
# If you do, please submit it to lyx-devel at lists.lyx.org.

# The Pause button is defined to be a three-way switch between primary
# keyboard, secondary keyboard, and no keyboard mapping with the
# following command. It is useful if you want to write in a language
# not directly supported by your keyboard and you have defined a
# custom keyboard mapping above.
#\bind "Pause" "keymap-toggle"

# This starts the lyxserver. The pipes get an additional extension
# '.in' and '.out'. Only for advanced users.
\serverpipe "~/.lyx/lyxpipe"

# Default format string for the date-insert command
#
# This accepts the normal strftime formats; see man strftime for full
# details of the format.
#
#\date_insert_format "%A, %e. %B %Y"


# Maximum number of words in the initialization string for a new label.
# If it is set to 0, then the init. string will only contain the prefix
# (e.g. "sec:"). If it is set to -1, the init. string will be empty.
# This feature is disabled in 1.1.6.
#
#\label_init_length 0

#
# SCREEN & FONTS SECTION #################################################
#

# DPI (dots per inch) of your monitor is auto-detected by LyX. If that goes
# wrong, you can override the setting here:
#\screen_dpi 100

# The zoom percentage for screen fonts.
# A setting of 100% will make the fonts roughly the same size as on paper.
# However, since a screen is wider than a piece of paper, the default setting
# is 150%.
\screen_zoom 100

# The wheel movement factor (for mice with wheels or five button mice)
# Default is 100, about a page down. A value of 10 give me about a line and
# a half
#\wheel_jump 10

# LyX normally doesn't update the cursor position if you move the scrollbar.
# If you scroll the cursor off the screen and then start typing LyX will
# move you back to where the cursor was. If you'd prefer to always have the
# cursor on screen, bounded by the topmost and bottommost visible lines
# -- much like XEmacs for example -- then uncomment the next line.
#\cursor_follows_scrollbar true

# The screen fonts used to display the text while editing
# The defaults are:
\screen_font_roman "Serif"
\screen_font_sans "Sans"
\screen_font_typewriter "Monospace"

# For some, this font looks better:
#\screen_font_roman "-*-utopia"

# Allow the use of scalable screen fonts? Default is true.
# If you choose "false", LyX will use the closest existing size for a match.
# Use this if the scalable fonts look bad and you have many fixed size fonts.
#\screen_font_scalable false

# Tip: Run lyx as "lyx -dbg 512" to learn which fonts are used.

# The norm for the screen fonts. The default is iso8859-1, which is
# the same as what LaTeX calls latin1.
#\screen_font_encoding iso8859-2

# The norm for the popup fonts. The default is an empty string, which
# causes to use the screen fonts norm (defined by \screen_font_encoding).
#\popup_font_encoding iso8859-2


# The normal font for popups. It is set to
#    <font_popup>-*-*-*-?-*-*-*-*-<font_encoding>.
# The default  is:
#\popup_font_name "-*-helvetica-medium-r"

# The bold font for popups. It is set to
#    <font_menu>-*-*-*-?-*-*-*-*-<font_encoding>.
# The default  is:
#\popup_bold_font "-*-helvetica-bold-r"

# The font sizes used for calculating the scaling of the screen fonts.
# You should only have to change these if the fonts on your screen look bad,
# in which case you can fine tune the font selection size by size. LyX selects
# font size according to this table, the monitor DPI setting and the current
# zoom setting.
# The format is:
#\screen_font_sizes tiny smallest smaller small normal large larger largest huge huger
#
# This is the default in LyX (exactly what LaTeX does):
#\screen_font_sizes 5.0 7.0 8.0 9.0 10.0 12.0 14.4 17.28 20.74 24.88

# To change the colors for footnotes:
#\set_color footnote green
# for mathed you may also want to change the coloring of lines and brackets:
#\set_color math yellow
#\set_color mathlines yellow

#
# UI SECTION ########################################################
#

# Choose your UI (user interface) definition here. The .ui files are in the
# directory "lib/ui" and contains the definition of the menu and the toolbar.
#\ui_file "default"

#
# PRINTER SECTION ########################################################
#

# The default printer to print on. If none is specified, LyX will use
# the environment variable PRINTER. If that fails, the default is empty.
#\printer ""

# If you have setup (as we recommend you to do) your print program
# (e.g. dvips) to take advantage of the particularities of the various
# printers you have access to, then you should set the following to
# true. Then LyX will pass the name of the destination printer to your
# print command.
# The default is false, because we have unfortunately to cope with
# people who refuse to take the time to configure their system.
# Note that you will probably have to change \print_spool_command below.
#\print_adapt_output true

# If you don't use dvips, you may specify your favorite print program
# here. See other options at the end of this section to adapt LyX to
# your print program.
#\print_command dvips

# Extra options to pass to printing program after everything
# else, but before the filename of the DVI file to be printed.
#\print_extra_options ""

# When set, this printer option automatically prints to a file
# and then calls a separate print spooling program on that file
# with the given name and arguments.
# This is set by default to 'lp' or 'lpr', depending on what your
# system uses.
# Set this to "" if you have set up dvips so that it sends
# output to the right printer (remember to also use \print_adapt_output).
#\print_spool_command ""

# If you specify a printer name in the print dialog,
# the following argument is prepended along with the printer name
# after the spool command. The default is autodetected, along with
# \print_spool_command determination.
#\print_spool_printerprefix ""

# Other print related options

# The following options are only of interest to people who do not
# use dvips as print command. You may safely skip to the end of this
# section otherwise.

# These specify the options to pass to the printer program to select the
# corresponding features. These default to the options used for the dvips
# program. Look at the man page for your favorite print program to learn
# which options to use.
# Normally you don't need to change this unless you use something other
# than dvips.
#\print_evenpage_flag -B
#\print_oddpage_flag -A
#\print_reverse_flag -r
#\print_landscape_flag "-t landscape"
#\print_pagerange_flag -pp
#\print_copies_flag -c
#\print_collcopies_flag -C
#\print_paper_flag -t
#\print_paper_dimension_flag -T

# Option to pass to the print program to print on a specific printer.
#\print_to_printer -P

# Option to pass to the print program to print to a file.
#\print_to_file -o

# Extension of printer program output file. Usually .ps
#\print_file_extension .ps

# Sample configuration to use with dvilj4 for a HP Laserjet IV (or
# better) printer [provided by Reuben Thomas <rrt at sc3d.org>]:
#\print_command dvilj4
#\print_extra_options -q
#\print_evenpage_flag "-D2 -r"
#\print_oddpage_flag -D1
#\print_reverse_flag -r
#\print_landscape_flag -l
#\print_pagerange_flag -p
#\print_to_file -e
#\print_file_extension .lj
#\print_copies_flag -c
#\print_collcopies_flag -c
#\print_adapt_output false

#
# EXPORT SECTION ########################################################
#

# The \converter command defines a converter between two formats.
# LyX uses the defined converters for generating output in various formats,
# or for importing.
# 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" ""
# 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.
# Known flags are
# - * : copy the previously defined flags
# - latex : The converter is latex or its derivatives (pdflatex).
# - originaldir : The converter must be invoked in the directory of the lyx
#   file and not in the temporary directory. This is needed for tex->html
#   converters in order to be able to read the eps files.
# - needaux : The converted uses the .aux file, so we need to call latex
#   before running the converter.
# - resultdir=dir : The converter put all the files in dir.
#   Using "resultdir" is same as "resultdir=$$b".
#   Note: When exporting, the whole directory will be moved from the temporary
#   directory to the target directory.
# - resultfile=file : Name of main file in the result directory, for example
#  "index.html" or "$$b.html"
#   If "resultfile" is omitted, the name of this file is assumed to be
#   "index.format"
# - parselog=filtername : filtername is a name of a filter command that takes
#   the converter error log (from stderr), and converts it to a fake latex .log
#   file.
# For example:
#\converter latex html "latex2html -split 0 $$i"
#           "originaldir,needaux,resultdir"
#
# For literate programming, use something like
#\converter literate latex "noweave -delay -index $$i >$$o"
#                          "parselog=listerrors g"
#\converter literate program "build-script $$i"
#                            "originaldir,parselog=listerrors g"

# The format command is used to define file formats. It has 4 arguments:
# the format name, the extension, and "pretty name" and menu shortcut.
# For example
#\Format latex tex LaTeX L

# The \viewer command is used to define viewers for new formats,
# or to change the already defined viewers.
# For example, to use xdvi as the viewer to dvi files use
#\viewer dvi "xdvi"
# It can get more involved. Expert users might prefer something like:
#\viewer dvi "xdvi -s 2 -expert -geometry 1014x720+0+0 -keep -margins 1.5"

#
# TEX SECTION  ###########################################################
#

# The font encoding used for the LaTeX2e fontenc package.
# T1 is highly recommended for non-English languages. LyX uses T1 as a
# default if you have the ec fonts installed on your system.
#\font_encoding T1
# Choose "default" if T1 doesn't work for you for some reason:
#\font_encoding default

#
# FILE SECTION  ##########################################################
#

# The default path for your documents.
# Default is $HOME
#\document_path ~/Documents/

# The file where the last-files information should be stored.
# Default is ~/.lyx/lastfiles
#\lastfiles ~/.lyx_lastfiles

# Maximal number of lastfiles. Up to nine can appear in the file menu.
# Default is four.
#\num_lastfiles 9

# Flag telling whether the lastfiles should be checked for existence.
# Files that does not exist are left out of the lastfiles entries.
# Default is true. If you use slow or removable media, such as networks
# or floppy disks, you can speed up the starting time of LyX by disabling
# this feature.
#\check_lastfiles false

# The path that LyX will set when offering you to choose a template.
# Default is (System LyX dir)/templates
#\template_path ~/.lyx/templates

# The path that LyX will use to put temporary TeX outputs.
# Default is /tmp/<unique directory for each instance of LyX>
# containing <unique subdirectory for each buffer>
# If you set it, it will be /directory/<unique subdirectory for each buffer>
# (unless set to /tmp).
#\tempdir_path /usr/tmp

# If you set this flag, LyX will always use a temporary directory
# to put TeX outputs into. It is enabled by default.
# This directory is deleted when you quit LyX.
# You might want to avoid using a temporary directory in several
# cases:
# - LaTeX cannot find some files it needs;
# - you have a large number of include files, and you get messages
#   saying that some LaTeX buffers overflow.
# Note that, even if tell LyX not to use a temporary directory, there
# will be cases where it will be forced to: this happens for example
# when typesetting a file in a read-only directory (documentation).
#\use_tempdir false

# This is the maximum line length of an exported ASCII file (LaTeX,
# SGML or plain text). Default is 75.
#\ascii_linelen 80

# Set to false if you don't want LyX to create backup files.
# Default is true.
#\make_backup true

# The path for storing backup files. If it is the empty string, LyX will
# store the backup file in the same directory of the original file.
# Default is "".
#\backupdir_path "~/Desktop/Trash/"

#
# ASCII EXPORT SECTION ###################################################
#

# The following entry can be used to define an external program to
# render tables in the ASCII output. If you specify "none", a simple
# internal routine is used. The default is auto-detected.
# The following line will use groff and output using latin-1 encoding
# (here $$FName is the input file and the output goes to stdout):
#\ascii_roff_command "groff -t -Tlatin1 $$FName"

#
# SPELLCHECKER SECTION ####################################################
#

# What command runs the spellchecker? Default is "ispell" if it is
# installed, "none" otherwise.
# If you have aspell (http://metalab.unc.edu/kevina/aspell/)
# installed and configured, you might want to uncomment the line below.
#\spell_command aspell

# Consider run-together words, such as "notthe" for "not the", as legal
# words? Default is false.
#\accept_compound true

# Specify an alternate language. The default is to use the language of
# document. Uncomment both to enable.
#\use_alt_language true
#\alternate_language dansk

# Specify additional chars that can be part of a word.
#\use_escape_chars true
#\escape_chars "æøåÆØÅ"

# Specify an alternate personal dictionary file. If the file name does not
# begin with "/", $HOME is prefixed. The default is to search for a personal
# dictionary in both the current directory and $HOME, creating one in $HOME
# if none is found. The preferred name is constructed by appending ".ispell_"
# to the base name of the hash file. For example, if you use the English
# dictionary, your personal dictionary would be named ".ispell_english".
#\use_personal_dictionary true
#\personal_dictionary .ispell_dansk

# Specify whether to pass the -T input encoding option to ispell (only if the
# language is different than "default".) Enable this if you can't spellcheck
# words with international letters in them. There have been reports that this
# does not work with all dictionaries, so this is disabled by default.
#\use_input_encoding true


#
# LANGUAGE SUPPORT SECTION ####################################################
#

# Set to true to enable support of right-to-left languages (e.g. Hebrew,
# Arabic). Default is false.
#\rtl true

# The latex command for loading the language package.
# Default is \usepackage{babel}.
#\language_package "\usepackage{omega}"

# The latex command for changing the from the language of the document
# to another language. $$lang is substituted by the name of the second
# language. Default is \selectlanguage{$$lang}.
#\language_command_begin "\begin{otherlanguage}{$$lang}"

# The latex command for changing back the language to the language of
# the document. Default is \selectlanguage{$$lang}.
#\language_command_end "\end{otherlanguage}"

# Set to false if a language switching command is needed at the beginning of
# the document. Default is true.
#\language_auto_begin false

# Set to false if a language switching command is needed at the end of
# the document. Default is true.
#\language_auto_end false

# Set mark_foreign_language to "false" to disable the highlighting of words
# with a foreign language to the language of the documet.
# Default is "true"
#\mark_foreign_language false

# It is possible to bind keys for changing the language inside a document.
# For example, the following command will cause F12 to switch between French
# and English in a French document, and in a document of other language it will
# switch between that language and French.
#\bind "F12" "language french"

#
# HEBREW SUPPORT SECTION ####################################################
#

# To enable the Hebrew support, uncommnet the following lines:
#\rtl true
#\kbmap true
#\kbmap_primary null
#\kbmap_secondary hebrew
#\converter tex dvi elatex ""
#\converter tex pdf pdfelatex ""
#\font_encoding default

# You also need to bind a key for switching between Hebrew and English.
# For example,
#\bind "F12" "language hebrew"

# You might want ot disable the foreign language marking:
#\mark_foreign_language false

# Finally, you need to select iso8859-8 font encoding, and select screen fonts
# (below are the default fonts. You need to replace them by Hebrew fonts)
#\screen_font_encoding iso8859-8
#\screen_font_roman "-*-times"
#\screen_font_sans "-*-helvetica"
#\screen_font_typewriter "-*-courier"
#\screen_font_popup "-*-helvetica-medium-r"
#\screen_font_menu "-*-helvetica-bold-r"

#
# ARABIC SUPPORT SECTION ####################################################
#

# To enable the Arabic support, uncommnet the following lines:
#\rtl true
#\kbmap true
#\kbmap_primary null
#\kbmap_secondary arabic

# You also need to bind a key for switching between Arabic and English.
# For example,
#\bind "F12" "language arabic"

# If you use arabtex, uncomment the following lines
#\language_auto_begin false
#\language_auto_end false
#\language_command_begin "\begin{arabtext}"
#\language_command_end "\end{arabtext}"
#\language_package "\usepackage{arabtex,iso88596}\setcode{iso8859-6}"

# Finally, you need to select iso8859-6.8x font encoding,
# and select screen fonts.
# iso8859-6.8x fonts can be found at
#   http://www.langbox.com/AraMosaic/mozilla/fontXFE/
#\screen_font_encoding iso8859-6.8x
#\screen_font_encoding_menu iso8859-1
#\screen_font_roman "-*-naskhi"


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lyx/EL-4/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	17 Feb 2006 12:49:03 -0000	1.3
+++ .cvsignore	11 Oct 2007 16:35:38 -0000	1.4
@@ -1 +1,5 @@
-lyx-1.3.7.tar.bz2
+clog
+beamer.layout
+lyx-1.4.3.tar.bz2
+lyx-1.4.4.tar.bz2
+lyx-1.4.5.1.tar.bz2


Index: lyx-qt.desktop
===================================================================
RCS file: /cvs/pkgs/rpms/lyx/EL-4/lyx-qt.desktop,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lyx-qt.desktop	17 Feb 2006 12:51:17 -0000	1.1
+++ lyx-qt.desktop	11 Oct 2007 16:35:38 -0000	1.2
@@ -1,11 +1,11 @@
 [Desktop Entry]
 Name=LyX-qt
-GenericName=WYSIWYM document processor
-Comment=Lyx using Qt frontend
+GenericName=Structured Word Processor
+Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
 Exec=lyx-qt
 Icon=lyx
 MimeType=application/x-lyx;text/x-lyx;
 Type=Application
 Encoding=UTF-8
-Categories=Qt;Application;Office;
+Categories=Qt;Office;WordProcessor;
 


Index: lyx-xforms.desktop
===================================================================
RCS file: /cvs/pkgs/rpms/lyx/EL-4/lyx-xforms.desktop,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lyx-xforms.desktop	17 Feb 2006 12:51:17 -0000	1.1
+++ lyx-xforms.desktop	11 Oct 2007 16:35:38 -0000	1.2
@@ -1,11 +1,11 @@
 [Desktop Entry]
 Name=LyX-xforms
-GenericName=WYSIWYM document processor
-Comment=Lyx using XForms frontend
+GenericName=Structured Word Processor
+Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
 Exec=lyx-xforms
 Icon=lyx
 MimeType=application/x-lyx;text/x-lyx;
 Type=Application
 Encoding=UTF-8
-Categories=Qt;Application;Office;
+Categories=Office;WordProcessor;
 


Index: lyx.desktop
===================================================================
RCS file: /cvs/pkgs/rpms/lyx/EL-4/lyx.desktop,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- lyx.desktop	17 Feb 2006 12:49:03 -0000	1.3
+++ lyx.desktop	11 Oct 2007 16:35:38 -0000	1.4
@@ -1,11 +1,11 @@
 [Desktop Entry]
 Name=LyX
-GenericName=WYSIWYM document processor
-Comment=WYSIWYM document processor
+GenericName=Structured Word Processor
+Comment=WYSIWYM (What You See Is What You Mean) word processor with LaTeX output
 Exec=lyx
 Icon=lyx
 MimeType=application/x-lyx;text/x-lyx;
 Type=Application
 Encoding=UTF-8
-Categories=Qt;Application;Office;
+Categories=Office;WordProcessor;
 


Index: lyx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lyx/EL-4/lyx.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- lyx.spec	17 Feb 2006 12:54:29 -0000	1.13
+++ lyx.spec	11 Oct 2007 16:35:38 -0000	1.14
@@ -1,58 +1,60 @@
 
+%if 0%{?fedora} > 3
+%define _with_aiksaurus --with-aiksaurus
+%endif
+
 Summary: WYSIWYM (What You See Is What You Mean) document processor
 Name:	 lyx
-Version: 1.3.7 
-Release: 5%{?dist}.2
+Version: 1.4.5.1
+Release: 3%{?dist}
 
-License: GPL
+License: GPLv2+
 Group: 	 Applications/Publishing
 Url: 	 http://www.lyx.org/
-Source:	 ftp://ftp.lyx.org/pub/lyx/stable/lyx-%{version}.tar.bz2
+Source0: ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 
-Patch1: lyx-1.3.7-helpers.patch
-Patch2: lyx-1.3.7-noxfonts.patch
+Patch1: lyx-1.4.4-xdg_open.patch
 
+Source1: lyxrc.dist
 # app-wrapper for various frontends
 Source10: lyx.sh
-
+# .desktop files
 Source20: lyx.desktop
 Source21: lyx-qt.desktop
 Source22: lyx-xforms.desktop
 
-# "borrow" kde's crystal icon for lyx
-Source30: lyx-crystal.png
-
-# TODO: use this find_helpers.sh script at runtime, instead of depending on
-# lyx's configure and %%triggers
-#Source100: helpers.sh
-
 # qt frontend
 BuildRequires: qt-devel
 # xforms frontend
 BuildRequires: xforms-devel
-BuildRequires: libjpeg-devel
-%if "%{?fedora}" > "4"
-BuildRequires: libXpm-devel
-%endif
 
-BuildRequires: desktop-file-utils
-BuildRequires: aiksaurus-devel
+%{?_with_aiksaurus:BuildRequires: aiksaurus-devel}
 BuildRequires: aspell-devel
-BuildRequires: tetex-latex
-BuildRequires: tetex-fonts
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: python
+BuildRequires: tetex-fonts tetex-latex
+BuildRequires: zlib-devel
 
 # For texhash
 Requires(post): tetex-fonts
 Requires(postun): tetex-fonts
 
+Requires: %{name}-frontend = %{version}
 Requires: tetex-latex
 Requires: tetex-dvips
 Requires: mathml-fonts
 Requires: ghostscript
-Requires: htmlview
-Requires: %{name}-frontend = %{version}
-
+## Soft dependencies
+%if 0%{?fedora} > 3
+# dvipost adds support for lyx's Document->Change Tracking feature
+Requires(hint): tetex-dvipost
+Requires(hint): tetex-preview
+# convert doc files to lyx (bug #193858)
+Requires(hint): wv
+%endif
+Requires(hint): xdg-utils
 
 %description
 LyX is a modern approach to writing documents which breaks with the
@@ -87,64 +89,51 @@
 Provides: %{name}-frontend = %{version}-%{release}
 %description xforms
 %{summary}.
+Please note: This frontend is deprecated, and will no longer be included
+in lyx-1.5.x.
 
 
 %prep
 
-%setup -q
-
-%patch1 -p1 -b .helpers
-%patch2 -p1 -b .noxfonts
+%setup -q -n %{name}-%{version}%{?beta}
 
-# ./autogen.sh
+%patch1 -p1 -b .xdg_open
 
 
 %build
 
-unset LINGUAS ||:
+unset QTDIR || : ; . /etc/profile.d/qt.sh
 
-# QT
-test -f /etc/profile.d/qt.sh && unset QTDIR || : ; . /etc/profile.d/qt.sh
-export QTLIB=${QTDIR}/lib;QTINC=${QTDIR}/include
-%{?gcc296: export CXXFLAGS="$RPM_OPT_FLAGS -ftemplate-depth-44" }
-%configure \
-  --with-frontend=qt \
-  --enable-optimization="$RPM_OPT_FLAGS" \
-  --with-aiksaurus \
-  --with-pspell \
-  --without-warnings --disable-debug --disable-dependency-tracking
-
-make %{?_smp_mflags}
-cp -a src/lyx lyx-qt
-
-# Intermediate cleanup 
-# (for the paranoid, we could do a full 'make clean', and drop --disable-dependancy-tracking
-make -C src/frontends clean
+# drop -fexceptions from optflags, suggested by lyx devs:
+# http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg85794.html
+optflags="$(echo %optflags | sed -e 's|-fexceptions||' )"
+%global optflags $optflags
 
-# XFORMS
 %configure \
-  --with-frontend=xforms \
-  --enable-optimization="$RPM_OPT_FLAGS" \
-  --with-aiksaurus \
-  --with-pspell \
-  --without-warnings --disable-debug --disable-dependency-tracking
+  --disable-rpath \
+  --enable-compression-support \
+  --with-frontend="qt xforms" \
+  --enable-optimization="%{optflags}" \
+  %{?_with_aiksaurus} %{!?_with_aiksaurus:--without-aiksaurus} \
+  --with-aspell \
+  --without-warnings --disable-dependency-tracking \
+  --disable-debug --disable-stdlib-debug --disable-assertions --disable-concept-checks 
 
 make %{?_smp_mflags}
-cp -a src/lyx lyx-xforms
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-unset LINGUAS ||:
-
 make install DESTDIR=$RPM_BUILD_ROOT
 
 ## Handle front-ends
-install -p -m0755 -D %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}/lyx
-install -p -m0755 -D lyx-qt     $RPM_BUILD_ROOT%{_bindir}/lyx-qt
-install -p -m0755 -D lyx-xforms $RPM_BUILD_ROOT%{_bindir}/lyx-xforms
+install -p -m0755 -D %{SOURCE10}    $RPM_BUILD_ROOT%{_bindir}/lyx
+install -p -m0755 -D src/lyx-qt     $RPM_BUILD_ROOT%{_bindir}/lyx-qt
+install -p -m0755 -D src/lyx-xforms $RPM_BUILD_ROOT%{_bindir}/lyx-xforms
 
+# misc/extras
+install -p -m644 %{SOURCE1}   $RPM_BUILD_ROOT%{_datadir}/lyx/lyxrc.dist
 
 # Set up the lyx-specific class files where TeX can see them
 texmf=%{_datadir}/texmf
@@ -152,39 +141,53 @@
 mv $RPM_BUILD_ROOT%{_datadir}/lyx/tex \
    $RPM_BUILD_ROOT${texmf}/tex/latex/lyx
 
-# KDE already has a nice builtin crystalsvg icon, 
-# but this is for gnome's benefit (gtk2 < 2.6)
-install -p -m644 -D %{SOURCE30} $RPM_BUILD_ROOT%{_datadir}/pixmaps/lyx.png
-
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --vendor fedora \
-   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
-   --add-category "X-Fedora" \
-   %{SOURCE21} %{SOURCE22}
-
-%find_lang %{name} || touch %{name}.lang
+# .desktop
+desktop-file-install \
+  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+  --vendor="" \
+  %{SOURCE21} %{SOURCE22}
+
+# generic/hicolor icon
+install -p -D -m644 lib/images/lyx.xpm \
+  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/lyx.xpm
+
+# configure renamed to configure.py recently, make symlink to
+# old location
+ln -s configure.py $RPM_BUILD_ROOT%{_datadir}/lyx/configure
+
+# ghost'd files
+touch $RPM_BUILD_ROOT%{_datadir}/lyx/lyxrc.defaults
+touch $RPM_BUILD_ROOT%{_datadir}/lyx/{packages,textclass}.lst
+touch $RPM_BUILD_ROOT%{_datadir}/lyx/doc/LaTeXConfig.lyx
 
-#touch $RPM_BUILD_ROOT%{_datadir}/%{name}/xfonts/PSres.upr
+%find_lang %{name}
 
 
 %post
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-texhash >& /dev/null ||:
-cd %{_datadir}/lyx && ./configure --srcdir >& /dev/null
+touch --no-create %{_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+texhash > /dev/null 2>&1 ||:
 
 %postun
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-texhash >& /dev/null ||:
+if [ $1 -eq 0 ]; then
+touch --no-create %{_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+texhash > /dev/null 2>&1 ||:
+fi
 
-# Catch installed/uninstalled helpers
-%triggerin -- acroread,AdobeReader_enu,evince,gsview,kdegraphics,latex2html,tetex-xdvi,wv
+## Catch installed/uninstalled helpers
+##   not sure if this is really needed anymore, as it seems to be a per-user thing, 
+##   and besides, we use xdg-open now -- Rex
+%triggerin -- latex2html,wv
 if [ $2 -gt 1 ]; then
-cd %{_datadir}/lyx && ./configure --srcdir >& /dev/null
+cd %{_datadir}/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||: 
 fi
 
-%triggerun -- acroread,AdobeReader_enu,evince,gsview,kdegraphics,latex2html,tetex-xdvi,wv
+%triggerun -- latex2html,wv
 if [ $2 -eq 0 ]; then
-cd %{_datadir}/lyx && ./configure --srcdir >& /dev/null
+cd %{_datadir}/lyx && ./configure.py --without-latex-config > /dev/null 2>&1 ||:
 fi
 
 
@@ -196,30 +199,145 @@
 %defattr(-,root,root,-)
 %doc ANNOUNCE ChangeLog lib/CREDITS NEWS README
 %{_bindir}/lyx
-%{_bindir}/noweb2lyx
-%{_bindir}/reLyX
-#{_datadir}/applications/*-lyx.desktop
-%{_datadir}/pixmaps/*
-%{_mandir}/man?/*
+%{_bindir}/lyxclient
+%{_bindir}/tex2lyx
+%{_mandir}/man1/*
+%{_datadir}/icons/hicolor/*/*/*
 %{_datadir}/lyx/
+%config(noreplace) %{_datadir}/lyx/lyxrc.dist
+%ghost %{_datadir}/lyx/lyxrc.defaults
+%ghost %{_datadir}/lyx/*.lst
+%ghost %{_datadir}/lyx/doc/LaTeXConfig.lyx
 %{_datadir}/texmf/tex/latex/lyx/
-%verify(not md5 size mtime) %{_datadir}/lyx/*.lst
-%verify(not md5 size mtime) %{_datadir}/lyx/lyxrc.defaults
-%verify(not md5 size mtime) %{_datadir}/lyx/doc/LaTeXConfig.lyx
 
 %files qt
 %defattr(-,root,root,-)
 %{_bindir}/lyx-qt
-%{_datadir}/applications/*-lyx-qt.desktop
+%{_datadir}/applications/*lyx-qt.desktop
 
 %files xforms
 %defattr(-,root,root,-)
 %{_bindir}/lyx-xforms
-%{_datadir}/applications/*-lyx-xforms.desktop
+%{_datadir}/applications/*lyx-xforms.desktop
 
 
 %changelog
-* Fri Jan 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.3.7-5
+* Thu Sep 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.5.1-3
+- epel: drop Requires(hint): wv (until wv is available)
+
+* Mon Sep 10 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.5.1-2
+- License: GPLv2+
+- epel: drop aiksaurus support (until aiksaurus is available)
+
+* Fri Jul 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.5.1-1
+- lyx-1.4.5.1
+
+* Thu Feb 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-2
+- biffed sources, respin
+
+* Wed Feb 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.4-1
+- lyx-1.4.4
+- .desktop's: -Category=Application
+- mark -xforms as deprecated
+
+* Sun Oct 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.3-3
+- sync .desktop files with upstream
+- use xdg-open as default helper, +Requires: xdg-utils
+
+* Thu Sep 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.3-1
+- lyx-1.4.3
+
+* Thu Sep 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-5
+- fc6 respin
+
+* Thu Aug 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-4
+- owowned files, incomplete package removal (bug #201197)
+
+* Thu Jul 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.2-2
+- 1.4.2
+
+* Wed Jun 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-9
+- Requires(hint): wv (bug #193858)
+- fix dependancy -> dependency
+
+* Thu Jun 15 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-8
+- BR: gettext
+- fc4: restore Requires(hint): tetex-preview
+
+* Thu May 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-7.1
+- fc4: drop Requires: tetex-preview, it's not ready yet.
+
+* Wed May 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-7
+- use serverpipe "~/.lyx/lyxpipe" instead, that was the old default
+  and what pybibliographer expects.
+
+* Tue May 23 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-6
+- set defaults for (see %{_datadir}/lyx/lyxrc.defaults.custom)
+  screen_font_roman "Serif"
+  screen_font_sans "Sans"
+  screen_font_typewriter "Monospace"
+  screen_zoom 100
+  serverpipe "~/.lyx/pipe"
+  (bug #192253)
+
+* Mon May 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-5
+- Requires(hint): tetex-preview
+
+* Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-4
+- add generic app icon (rh #191944)
+
+* Fri Apr 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-3
+- Requires(hint): tetex-dvipost
+  adds support for lyx's Document->Change Tracking
+
+* Tue Apr 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.1-2
+- 1.4.1
+
+* Thu Mar 30 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-5
+- %%trigger ImageMagick (#186319)
+
+* Thu Mar 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-4
+- fix stripping of -fexceptions from %%optflags
+
+* Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-3
+- include beamer.layout
+
+* Wed Mar 08 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-2
+- 1.4.0(final)
+- drop boost bits
+
+* Tue Mar 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-0.12.rc
+- 1.4.0rc
+- drop boost patch (for now)
+
+* Fri Mar 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-0.11.pre6
+- 1.4.0pre6
+- --disable-stdlib-debug --disable-assertions --disable-concept-checks
+- don't use --without-included-boost (for now)
+
+* Mon Feb 20 2006 Rex Dieter <rexdieter[AT]usres.sf.net> 1.4.0-0.10.pre5
+- gcc41 patch
+- document boost/gcc41 patches
+- avoid --without-included-boost on fc4/gcc-4.0.2 (gcc bug)
+
+* Tue Feb 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-0.9.pre5
+- updated boost patch
+- drop -fexceptions from %%optflags
+
+* Mon Feb 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-0.7.pre5
+- --without-included-boost
+- BR: boost-devel
+
+* Mon Feb 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-0.5.pre5
+- 1.4.0pre5
+
+* Tue Jan 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-0.2.pre4
+- 1.4.0pre4
+
+* Fri Jan 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0-0.1.pre3
+- 1.4.0pre3
+
+* Fri Jan 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.3.7-4
 - cleanup/fix snarfing of intermediate frontend builds.
 
 * Fri Jan 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.3.7-2
@@ -253,7 +371,7 @@
   htmlview, gsview (rh bug #143992)
 - %%configure: --with-aiksaurus
 - %%configure: --enable-optimization="$$RPM_OPT_FLAGS"
-- %%configure: --disable-dependancy-tracking
+- %%configure: --disable-dependency-tracking
 
 * Sun May 22 2005 Jeremy Katz <katzj at redhat.com> - 1.3.5
 - rebuild on all arches
@@ -296,7 +414,7 @@
 - convert icon xpm -> png
 
 * Thu Mar 11 2004 Rex Dieter <rexdieter at sf.net> 0:1.3.4-0.fdr.3
-- dynamically determine version for qt dependancy.
+- dynamically determine version for qt dependency.
 
 * Tue Mar 09 2004 Rex Dieter <rexdieter at sf.net> 0:1.3.4-0.fdr.2
 - add a few (mostly superfluous) BuildRequires to make fedora.us's


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lyx/EL-4/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	17 Feb 2006 12:49:03 -0000	1.5
+++ sources	11 Oct 2007 16:35:38 -0000	1.6
@@ -1 +1 @@
-cef9a2fca128c32ffa04c214d02cde04  lyx-1.3.7.tar.bz2
+b74d82e80c49c7edb782ec7395b7ca27  lyx-1.4.5.1.tar.bz2


--- helpers.conf DELETED ---


--- helpers.sh DELETED ---


--- lyx-1.3.7-helpers.patch DELETED ---


--- lyx-1.3.7-noxfonts.patch DELETED ---




More information about the fedora-extras-commits mailing list