]> git.lyx.org Git - features.git/commitdiff
Generate auto matically lyxrc.dist and Info.plist for LyX/Mac
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 9 Aug 2007 20:54:16 +0000 (20:54 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 9 Aug 2007 20:54:16 +0000 (20:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19381 a592a061-630c-0410-9148-cb99ea01b6c8

configure.ac
development/MacOSX/Info.plist [deleted file]
development/MacOSX/Info.plist.in [new file with mode: 0644]
development/MacOSX/Makefile.am
development/MacOSX/lyxrc.dist [deleted file]
development/MacOSX/lyxrc.dist.in [new file with mode: 0644]

index fb19a9a96d1ca9793be927c57048248e14b2fe29..c4006e971a2f383d665a98eca6fb75be2113ce3e 100644 (file)
@@ -415,6 +415,8 @@ AC_CONFIG_FILES([Makefile
        config/Makefile \
        development/Makefile \
        development/MacOSX/Makefile \
+       development/MacOSX/Info.plist \
+       development/MacOSX/lyxrc.dist \
        development/MacOSX/spotlight/Makefile \
        development/lyx.spec \
        intl/Makefile \
diff --git a/development/MacOSX/Info.plist b/development/MacOSX/Info.plist
deleted file mode 100644 (file)
index 3fc2600..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-       <key>CFBundleExecutable</key>
-       <string>lyx</string>
-       <key>CFBundleDocumentTypes</key>
-       <array>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>lyx</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>LyX.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>LyX Document</string>
-                       <key>CFBundleTypeOSTypes</key>
-                       <array>
-                               <string>LYX </string>
-                       </array>
-                       <key>CFBundleTypeRole</key>
-                       <string>Editor</string>
-               </dict>
-       </array>
-       <key>CFBundleGetInfoString</key>
-       <string>LyX/Mac-1.6.0svn</string>
-       <key>CFBundleIconFile</key>
-       <string>LyXapp.icns</string>
-       <key>CFBundleIdentifier</key>
-       <string>org.lyx.lyx</string>
-       <key>CFBundleName</key>
-       <string>LyX</string>
-       <key>CFBundlePackageType</key>
-       <string>APPL</string>
-       <key>CFBundleShortVersionString</key>
-       <string>1.6.0svn</string>
-       <key>CFBundleSignature</key>
-       <string>OLYX</string>
-</dict>
-</plist>
diff --git a/development/MacOSX/Info.plist.in b/development/MacOSX/Info.plist.in
new file mode 100644 (file)
index 0000000..3fc2600
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>CFBundleExecutable</key>
+       <string>lyx</string>
+       <key>CFBundleDocumentTypes</key>
+       <array>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>lyx</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>LyX.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>LyX Document</string>
+                       <key>CFBundleTypeOSTypes</key>
+                       <array>
+                               <string>LYX </string>
+                       </array>
+                       <key>CFBundleTypeRole</key>
+                       <string>Editor</string>
+               </dict>
+       </array>
+       <key>CFBundleGetInfoString</key>
+       <string>LyX/Mac-1.6.0svn</string>
+       <key>CFBundleIconFile</key>
+       <string>LyXapp.icns</string>
+       <key>CFBundleIdentifier</key>
+       <string>org.lyx.lyx</string>
+       <key>CFBundleName</key>
+       <string>LyX</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+       <key>CFBundleShortVersionString</key>
+       <string>1.6.0svn</string>
+       <key>CFBundleSignature</key>
+       <string>OLYX</string>
+</dict>
+</plist>
index 9282d86a81e9d5b6821743a87bc542ee21c178dc..de8a43bd289545301c9b9bac58b52b89f9ede90a 100644 (file)
@@ -5,11 +5,13 @@ LINGUAS = $(srcdir)/../../po/LINGUAS
 SUBDIRS = spotlight
 
 bundledir = ${prefix}/Contents
-dist_bundle_DATA = Info.plist PkgInfo
+dist_bundle_DATA = PkgInfo
+nodist_bundle_DATA = Info.plist
 
 dist_bin_SCRIPTS = lyxeditor
 
-dist_pkgdata_DATA = COPYING LyXapp.icns LyX.icns lyxrc.dist
+dist_pkgdata_DATA = COPYING LyXapp.icns LyX.icns
+nodist_pkgdata_DATA = lyxrc.dist
 
 
 install-data-hook:
diff --git a/development/MacOSX/lyxrc.dist b/development/MacOSX/lyxrc.dist
deleted file mode 100644 (file)
index b7b128b..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-### This file is part of
-### ========================================================
-###          LyX, The Document Processor
-###
-###          Copyright 1995 Matthias Ettrich
-###          Copyright 1995-2001 The LyX Team.
-###
-### ========================================================
-
-# This file is written by LyX, if you want to make your own
-# modifications you should do them from inside LyX and save
-
-\bind_file "mac"
-
-#
-# MISC SECTION ######################################
-#
-
-\path_prefix "/usr/texbin:/usr/local/gwTeX/bin/powerpc-apple-darwin-current:/usr/local/gwTeX/bin/i386-apple-darwin-current:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/local/teTeX/bin/i386-apple-darwin-current:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin"
-\serverpipe "~/Library/Application Support/LyX-1.5/.lyxpipe"
-\preview on
-
-#
-# SCREEN & FONTS SECTION ############################
-#
-
-\screen_font_roman "Times"
-\screen_font_sans "Helvetica"
-\screen_font_typewriter "Courier"
-
-#
-# COLOR SECTION ###################################
-#
-
-
-#
-# PRINTER SECTION ###################################
-#
-
-
-#
-# EXPORT SECTION ####################################
-#
-
-
-#
-# TEX SECTION #######################################
-#
-
-
-#
-# FILE SECTION ######################################
-#
-
-\template_path "~/Library/Application Support/LyX-1.5/templates"
-
-#
-# PLAIN TEXT EXPORT SECTION ##############################
-#
-
-
-#
-# SPELLCHECKER SECTION ##############################
-#
-
-\spell_command "aspell"
-
-#
-# LANGUAGE SUPPORT SECTION ##########################
-#
-
-
-#
-# 2nd MISC SUPPORT SECTION ##########################
-#
-
-
-#
-# FORMATS SECTION ##########################
-#
-
-\format "fig" "fig" "FIG" "" "open -a X11; export DISPLAY=:0.0; xfig" "open -a X11; export DISPLAY=:0.0; xfig" "vector"
-
-
-#
-# CONVERTERS SECTION ##########################
-#
-
-\converter "rtf" "latex" "rtf2latex2e $$i" ""
-\converter "latex" "rtf" "latex2rtf $$i" ""
-\converter "latex" "lyx" "$$s/../MacOS/tex2lyx -f $$i $$o" ""
-
-#
-# COPIERS SECTION ##########################
-#
-
diff --git a/development/MacOSX/lyxrc.dist.in b/development/MacOSX/lyxrc.dist.in
new file mode 100644 (file)
index 0000000..670b09e
--- /dev/null
@@ -0,0 +1,96 @@
+### This file is part of
+### ========================================================
+###          LyX, The Document Processor
+###
+###          Copyright 1995 Matthias Ettrich
+###          Copyright 1995-2001 The LyX Team.
+###
+### ========================================================
+
+# This file is written by LyX, if you want to make your own
+# modifications you should do them from inside LyX and save
+
+\bind_file "mac"
+
+#
+# MISC SECTION ######################################
+#
+
+\path_prefix "/usr/texbin:/usr/local/gwTeX/bin/powerpc-apple-darwin-current:/usr/local/gwTeX/bin/i386-apple-darwin-current:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/local/teTeX/bin/i386-apple-darwin-current:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin"
+\serverpipe "~/Library/Application Support/LyX@program_suffix@/.lyxpipe"
+\preview on
+
+#
+# SCREEN & FONTS SECTION ############################
+#
+
+\screen_font_roman "Times"
+\screen_font_sans "Helvetica"
+\screen_font_typewriter "Courier"
+
+#
+# COLOR SECTION ###################################
+#
+
+
+#
+# PRINTER SECTION ###################################
+#
+
+
+#
+# EXPORT SECTION ####################################
+#
+
+
+#
+# TEX SECTION #######################################
+#
+
+
+#
+# FILE SECTION ######################################
+#
+
+\template_path "~/Library/Application Support/LyX@program_suffix@/templates"
+
+#
+# PLAIN TEXT EXPORT SECTION ##############################
+#
+
+
+#
+# SPELLCHECKER SECTION ##############################
+#
+
+\spell_command "aspell"
+
+#
+# LANGUAGE SUPPORT SECTION ##########################
+#
+
+
+#
+# 2nd MISC SUPPORT SECTION ##########################
+#
+
+
+#
+# FORMATS SECTION ##########################
+#
+
+\format "fig" "fig" "FIG" "" "open -a X11; export DISPLAY=:0.0; xfig" "open -a X11; export DISPLAY=:0.0; xfig" "vector"
+
+
+#
+# CONVERTERS SECTION ##########################
+#
+
+\converter "rtf" "latex" "rtf2latex2e $$i" ""
+\converter "latex" "rtf" "latex2rtf $$i" ""
+\converter "latex" "lyx" "$$s/../MacOS/tex2lyx -f $$i $$o" ""
+
+#
+# COPIERS SECTION ##########################
+#
+