Commit Graph

151 Commits

Author SHA1 Message Date
Bo Peng
aa3b2eccf5 Scons: new update_manifest target.
When you run 'scons update_manifest', it tells you which files are missing
and which files are not in the source tree. It also generates a 
scons_manifest.py.new file with all the missing files added to 
XXX_extra_files. It will *not* change other sections of existing
manifest.py



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18121 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 16:19:49 +00:00
Michael Schmitt
2aec22b662 * development/scons/SConstruct: fix POTFILES.in generation
* development/scons/scons_manifest.py: add src_support_extra_files
	needed for POTFILES.in generation; add a few empty lines


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18112 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 11:33:53 +00:00
Bo Peng
d42a8d3736 Scons: check mkfifo and define HAVE_MKFIFO. This will fix lyxserver
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18078 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:58:29 +00:00
Bo Peng
a6e1dc19a3 Scons: update_po target now updates po/POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18075 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:33:15 +00:00
Bo Peng
153c9b0461 Rename version.C.in to version.cpp.in, and Package.C.in to package.cpp.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 15:05:08 +00:00
Bo Peng
2af333100c fix scons for Andre's recent renames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18041 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 16:01:03 +00:00
Bo Peng
138b23fac8 Rename files in src/support, step one.
src/support/package.h                              src/support/Package.h    Package
src/support/package.C.in                           src/support/Package.C.in  Package
src/support/path.h                                 src/support/Path.h    Path
src/support/fs_extras.h                            src/support/fs_extras.h NOCLASSES
src/support/RandomAccessList.h                     src/support/RandomAccessList.h    RandomAccessList
src/support/lyxmanip.h                             src/support/lyxmanip.h NOCLASSES
src/support/rename.C                               src/support/rename.cpp  NOCLASSES
src/support/abort.C                                src/support/abort.cpp  NOCLASSES
src/support/lyxlib.h                               src/support/lyxlib.h NOCLASSES
src/support/ExceptionMessage.h                     src/support/ExceptionMessage.h    ExceptionMessage
src/support/copy.C                                 src/support/copy.cpp  NOCLASSES
src/support/limited_stack.h                        src/support/limited_stack.h    limited_stack
src/support/filefilterlist.C                       src/support/FileFilterList.cpp    ['FileFilterList', 'Filter']
src/support/cow_ptr.h                              src/support/cow_ptr.h    cow_ptr
src/support/os_unix.C                              src/support/os_unix.cpp  NOCLASSES
src/support/socktools.h                            src/support/socktools.h NOCLASSES
src/support/forkedcontr.h                          src/support/ForkedcallsController.h    ForkedcallsController
src/support/os.h                                   src/support/os.h NOCLASSES
src/support/FileMonitor.h                          src/support/FileMonitor.h    FileMonitor
src/support/copied_ptr.h                           src/support/copied_ptr.h    copied_ptr
src/support/translator.h                           src/support/Translator.h    Translator
src/support/filetools.C                            src/support/filetools.cpp  NOCLASSES
src/support/unlink.C                               src/support/unlink.cpp  NOCLASSES
src/support/os_win32.C                             src/support/os_win32.cpp    GetFolderPath
src/support/lstrings.C                             src/support/lstrings.cpp  NOCLASSES
src/support/qstring_helpers.C                      src/support/qstring_helpers.cpp  NOCLASSES
src/support/getcwd.C                               src/support/getcwd.cpp  NOCLASSES
src/support/systemcall.C                           src/support/Systemcall.cpp    Systemcall
src/support/lyxalgo.h                              src/support/lyxalgo.h NOCLASSES
src/support/filefilterlist.h                       src/support/FileFilterList.h    ['FileFilterList', 'Filter']
src/support/unicode.C                              src/support/unicode.cpp    IconvProcessor
src/support/userinfo.C                             src/support/userinfo.cpp  NOCLASSES
src/support/lyxtime.C                              src/support/lyxtime.cpp  NOCLASSES
src/support/kill.C                                 src/support/kill.cpp  NOCLASSES
src/support/docstring.C                            src/support/docstring.cpp    to_local8bit_failure
src/support/os_cygwin.C                            src/support/os_cygwin.cpp  NOCLASSES
src/support/lyxsum.C                               src/support/lyxsum.cpp  NOCLASSES
src/support/environment.C                          src/support/environment.cpp  NOCLASSES
src/support/filetools.h                            src/support/filetools.h NOCLASSES
src/support/textutils.C                            src/support/textutils.cpp  NOCLASSES
src/support/mkdir.C                                src/support/mkdir.cpp  NOCLASSES
src/support/forkedcall.C                           src/support/Forkedcall.cpp    ['ForkedProcess', 'Forkedcall']
src/support/tempname.C                             src/support/tempname.cpp  NOCLASSES
src/support/os_win32.h                             src/support/os_win32.h    GetFolderPath
src/support/types.h                                src/support/types.h NOCLASSES
src/support/lstrings.h                             src/support/lstrings.h NOCLASSES
src/support/forkedcallqueue.C                      src/support/ForkedCallQueue.cpp    ForkedCallQueue
src/support/qstring_helpers.h                      src/support/qstring_helpers.h NOCLASSES
src/support/convert.C                              src/support/convert.cpp  NOCLASSES
src/support/filename.C                             src/support/FileName.cpp    ['FileName', 'DocFileName']
src/support/tests/convert.C                        src/support/tests/convert.cpp  NOCLASSES
src/support/tests/filetools.C                      src/support/tests/filetools.cpp  NOCLASSES
src/support/tests/lstrings.C                       src/support/tests/lstrings.cpp  NOCLASSES
src/support/tests/boost.C                          src/support/tests/boost.cpp  NOCLASSES
src/support/docstream.C                            src/support/docstream.cpp    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/std_istream.h                          src/support/std_istream.h NOCLASSES
src/support/systemcall.h                           src/support/Systemcall.h    Systemcall
src/support/chdir.C                                src/support/chdir.cpp  NOCLASSES
src/support/std_ostream.h                          src/support/std_ostream.h NOCLASSES
src/support/unicode.h                              src/support/unicode.h    IconvProcessor
src/support/path.C                                 src/support/Path.cpp    Path
src/support/fs_extras.C                            src/support/fs_extras.cpp  NOCLASSES
src/support/userinfo.h                             src/support/userinfo.h NOCLASSES
src/support/lyxtime.h                              src/support/lyxtime.h NOCLASSES
src/support/docstring.h                            src/support/docstring.h    to_local8bit_failure
src/support/debugstream.h                          src/support/debugstream.h    basic_debugstream
src/support/environment.h                          src/support/environment.h NOCLASSES
src/support/textutils.h                            src/support/textutils.h NOCLASSES
src/support/forkedcall.h                           src/support/Forkedcall.h    ['ForkedProcess', 'Forkedcall']
src/support/socktools.C                            src/support/socktools.cpp  NOCLASSES
src/support/forkedcallqueue.h                      src/support/ForkedCallQueue.h    ForkedCallQueue
src/support/forkedcontr.C                          src/support/ForkedcallsController.cpp    ForkedcallsController
src/support/os.C                                   src/support/os.cpp  NOCLASSES
src/support/convert.h                              src/support/convert.h NOCLASSES
src/support/filename.h                             src/support/FileName.h    ['FileName', 'DocFileName']
src/support/docstream.h                            src/support/docstream.h    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/FileMonitor.C                          src/support/FileMonitor.cpp    FileMonitor



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:12:52 +00:00
Bo Peng
00e305c9d9 Rename .C ==> .cpp for files in src, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
Bo Peng
6fdb8bf85a Rename .C ==> .cpp for files in src/frontends/qt4, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18014 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 03:53:02 +00:00
Bo Peng
ee89110c24 make scons temporarily usable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17955 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 18:44:21 +00:00
Bo Peng
bd0998b138 Scons: prepare for .C ==> .cpp conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17934 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 04:58:16 +00:00
Bo Peng
a01f198769 Scons: build installer only in release mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17870 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:17:45 +00:00
Uwe Stöhr
13fa44d3e2 Add math fonts to SVN
(please check if the Makefile entry is complete, I couldn't test this here)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 11:46:26 +00:00
Michael Schmitt
7ac394d9a6 fix obvious typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17661 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 13:57:04 +00:00
Bo Peng
f6b9509ea5 Scons update_po target: Windows/cmd.exe is unhappy about single quotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17521 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-23 14:27:27 +00:00
Bo Peng
90f39c2dca Scons: finalize update_po target.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17511 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 20:04:12 +00:00
Bo Peng
b990c21294 Scons: update_po should now work (missing dependency though)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17510 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 18:26:58 +00:00
Bo Peng
5e94f81cbf Scons: update_po target, move processing functions to po/lyx_pot.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17509 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 15:39:44 +00:00
Bo Peng
f7ca768468 Scons: update_po target part five: update po files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17504 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 04:42:34 +00:00
Bo Peng
b92cef16ee Scons: update_po target part four: lyx.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17503 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 03:15:58 +00:00
Bo Peng
1385059003 Scons: update_po target part three: ui_l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17502 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 02:51:51 +00:00
Bo Peng
8ab80df229 Scons: update_po target part two: qt4_l10n and layouts_l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17501 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 02:37:26 +00:00
Bo Peng
2593c4b206 Scons: update_po target, part one: language_l10n.pot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17496 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-21 03:23:54 +00:00
Bo Peng
673da6c01c SCons: build TOC.lyx during installation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17468 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 06:03:28 +00:00
Michael Schmitt
f9a423c9a6 * scons/SConstruct: fix clipart directory; remove duplicate 'doc' entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17402 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 10:52:31 +00:00
Michael Schmitt
edcac9ea02 fix building: replace lib_clipart_files by lib_doc_clipart_files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17400 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 09:35:41 +00:00
Bo Peng
070138899e Scons: fix installation of language directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17353 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 05:52:36 +00:00
Michael Schmitt
f6aad90641 when running msgfmt (from the gettext package), perform all checks and output statistics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17339 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 09:44:32 +00:00
Bo Peng
5402048cea Scons windows installer integration:
* INSTALL.Win32: add instructin of building windows bundle installer
	* development/scons/SConstruct: add bundle and bundle_dir option
	* development/scons/scons_utils.py: handle bundle building
	* development/Win32/packaging/installer/lyx.nsi: 
		allow specify bundle .exe name from command line
	* development/Win32/packaging/installer/settings.user.nsh: 
		allow specify bundle directory from command line
	* development/Win32/packaging/installer/components/external.nsh:
		get files from bundle directory
	* development/Win32/packaging/installer/settings.nsh
		update miktex version (link needs to be updated as well?)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17081 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 07:55:38 +00:00
Bo Peng
67e8d59d68 Forgot to use absolute paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 03:54:29 +00:00
Bo Peng
d57708a28a Scons: add deps_dir option for windows installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17023 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-02 03:44:14 +00:00
Bo Peng
16d5b72ea1 Scons: also consider prefix option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16901 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 07:07:57 +00:00
Bo Peng
168d3ef631 Scons: continue refining scons installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 06:58:03 +00:00
Bo Peng
bae86e4098 Scons: refine scons installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16899 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 06:47:11 +00:00
Bo Peng
c9fb2a107e Scons: NSIS support (installer target)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 19:13:22 +00:00
Bo Peng
db4499f4b1 Scons: initial windows nsis installer support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16846 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 06:19:49 +00:00
Bo Peng
3b8d367e6e Scons: fix a mingw/scons bug (it is a scons bug)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16539 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 18:30:46 +00:00
Bo Peng
b1c7fc3e4f Scons: fix two mingw bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16522 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 06:29:18 +00:00
Bo Peng
71794188c7 Scons: allow use of different icons for lyx and tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16464 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 06:13:53 +00:00
Bo Peng
5059ac7648 Scons: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 05:22:20 +00:00
Bo Peng
c35c782b30 Scons: create an .rc file and link lyx.exe etc with .res to set icon
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 05:21:08 +00:00
Michael Schmitt
515616a914 * scons/SConstruct: fix manifest on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16382 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 09:09:10 +00:00
Bo Peng
d99334d73b Scons: fix a newly introduced qt4 CCFLAGS bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16343 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-20 01:32:43 +00:00
Bo Peng
356fb608ed Scons: allow shared boost libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16342 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 20:39:00 +00:00
Bo Peng
e75d65a829 Scons: clear separation of env and frontend_env (a major reshuffling)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16341 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 18:32:55 +00:00
Bo Peng
d78a76a6ee Scons: handle the case when qt4 is in system directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16338 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 15:44:39 +00:00
Bo Peng
c1a5770979 Scons: remove boost 1.33.1 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 23:27:33 +00:00
Bo Peng
cd43719f96 Scons: load qt4 module with debug=False when the debug library is not available; modify boost/check warning message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16323 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 15:30:50 +00:00
Bo Peng
39186319da Scons: support boost 1.34
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16305 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 23:31:15 +00:00
Bo Peng
016d529945 Scons: test for the availability of debug version of qt libraries before linking to them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16304 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 20:16:34 +00:00