]> git.lyx.org Git - lyx.git/commitdiff
Sync 13x and 14x
authorAngus Leeming <leeming@lyx.org>
Sun, 17 Jul 2005 21:31:02 +0000 (21:31 +0000)
committerAngus Leeming <leeming@lyx.org>
Sun, 17 Jul 2005 21:31:02 +0000 (21:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10297 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/README
development/Win32/packaging/build_lyxwin.sh
development/Win32/packaging/package_lyxwin.sh

index 03dec127b71acdc13cfd97227f1d9d6cfbfbbcac..12f4aaeef81dfe43cad82f5bff4464ef78bbffae 100644 (file)
@@ -34,7 +34,8 @@ the process:
 * Remove all stuff generated by running configure. It makes sense on
   your machine only, not for whoever is installing LyX. Specifically
 
-  doc/LaTeXConfig.lyx, lyxrc.defaults, packages.lst and textclass.lst
+  xfonts/fonts.dir, xfonts/fonts.scale, doc/LaTeXConfig.lyx,
+  lyxrc.defaults, packages.lst and textclass.lst
 
   should all be removed.
 
index 798c40a983bd6fb1fab52c044cbb2d58e3da4d8d..4db8740da60098b80dc2efbc2e99288174fec389 100644 (file)
 # It compiles the static version of the Aspell libraries because no
 # .dll version exists.
 
-HOME="/home/Angus"
-
-# You may need to change these three variables.
+# You may need to change these four variables.
+MINGW_DIR="/j/MinGW"
 QT_DIR="${HOME}"/qt3
 ASPELL_DIR="${HOME}"/aspell-0.50.5
 # A space-separated string of directories
 # ASPELL_DICT_DIRS="${HOME}/aspell-en-0.50-2 ${HOME}/aspell-de-0.50-2 "
 ASPELL_DICT_DIRS="${HOME}/aspell-en-0.50-2"
-LYX_DIR="${HOME}"/lyx/13x
 
 # Everything from here on down should be OK "as is".
+LYX_DIR="../../.."
 PACKAGING_DIR="$LYX_DIR/development/Win32/packaging"
 DTL_DIR="$PACKAGING_DIR/dtl"
 CLEAN_DVI_DIR="$PACKAGING_DIR"
@@ -58,12 +57,12 @@ LYX_INSTALL_DIR=installprefix
 
 # These are all installed in the final LyX package
 QT_DLL="${QT_DIR}/bin/qt-mt3.dll"
-LIBICONV_DLL="/j/MinGW/bin/libiconv-2.dll"
-MINGW_DLL="/j/MinGW/bin/mingwm10.dll"
+LIBICONV_DLL="${MINGW_DIR}/bin/libiconv-2.dll"
+MINGW_DLL="${MINGW_DIR}/bin/mingwm10.dll"
 
-DT2DV="$DTL_DIR/dt2dv.exe"
-DV2DT="$DTL_DIR/dv2dt.exe"
-CLEAN_DVI_PY="$CLEAN_DVI_DIR/clean_dvi.py"
+DT2DV="${DTL_DIR}/dt2dv.exe"
+DV2DT="${DTL_DIR}/dv2dt.exe"
+CLEAN_DVI_PY="${CLEAN_DVI_DIR}/clean_dvi.py"
 
 # Change this to 'mv -f' when you are confident that
 # the various sed scripts are working correctly.
@@ -242,12 +241,13 @@ build_lyx()
        # Check the line endings of configure.ac
        # The configure script will be unable to create config.h if it
        # contains Win32-style line endings.
+       rm -f configure.ac
        sed 's/
-$//' ${LYX_DIR}/configure.ac > configure.ac.$$
-       cmp -s ${LYX_DIR}/configure.ac configure.ac.$$ && {
+$//' config/configure.ac > configure.ac.$$
+       cmp -s config/configure.ac configure.ac.$$ && {
            rm -f configure.ac.$$
        } || {
-           mv -f configure.ac.$$ ${LYX_DIR}/configure.ac
+           mv -f configure.ac.$$ config/configure.ac
            echo 'configure.ac has Win32-style line endings. Corrected' >&2
        }
 
@@ -299,7 +299,7 @@ install_lyx()
        }
 
        make install || {
-           echo "Failed to install $LYX_DIR" >&2
+           echo "Failed to install" >&2
            exit 1
        }
     )
@@ -311,9 +311,9 @@ test $# -ne 0 && LYX_VERSION_STR=$1
 check_dirs_exist || exit 1
 query_qt || exit 1
 check_files_exist || exit 1
-#build_dtl || exit 1
-#build_aspell || exit 1
-#build_aspell_dicts || exit 1
+build_dtl || exit 1
+build_aspell || exit 1
+build_aspell_dicts || exit 1
 build_lyx || exit 1
 install_lyx || exit 1
 # The end
index 1e49589ec83555155fa03ceb0e793b3981eec134..e8ec1cbd40382d1bf136f4abea28b4738067cb91 100644 (file)
@@ -17,6 +17,7 @@
 # ensure that the generated .dvi file is usable.
 
 # It removes all stuff generated by running configure:
+#   xfonts/
 #   doc/LaTeXConfig.lyx
 #   lyxrc.defaults
 #   packages.lst
@@ -96,6 +97,7 @@ a\
     # Strip the executables
     (
        cd "${LYX_INSTALL_DIR}/Resources/lyx"
+       rm -rf xfonts
        for file in doc/LaTeXConfig.lyx lyxrc.defaults packages.lst textclass.lst
        do
          rm -f $file