Commit Graph

1543 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
cc44d6cb0b Hide messages when using cmake-gui.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28580 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 22:41:30 +00:00
Vincent van Ravesteijn
a833b6f097 Fix cmake after r28575. Patch from Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28579 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 22:37:25 +00:00
Uwe Stöhr
2bab705f62 LayoutModuleList: - make LyX compile
- fix SCons after r28575
                  - set EOL to native

@ Richard: For new files please always set the EOL flag to native. If possible it would be nice if you can also update SCons manifest file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28576 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 21:04:27 +00:00
Peter Kümmel
56f8b5f3c3 Kornel: cmake, use external files for packaging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28501 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 15:38:32 +00:00
Peter Kümmel
cc9edb643a Kornel really needs write access
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28500 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 14:02:26 +00:00
Peter Kümmel
dff3b19aea fix stupid typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28499 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 13:39:05 +00:00
Peter Kümmel
a478fde5be add readme for packaging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 13:15:14 +00:00
Peter Kümmel
3f8bc76ecb add missing cmake files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28496 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 13:11:44 +00:00
Peter Kümmel
72526f6f8b ke/CMakeLists.txt
Expanded parsing of configure.ac to get also the BUGREPORT value
		Added creation of red hat- and debian-packages

	Kornel

--line, and those below, will be ignored--

M    development/cmake/CMakeLists.txt


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28495 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 10:43:06 +00:00
Peter Kümmel
2ef89683a3 development/cmake/CMakeLists.txt
Expanded parsing of configure.ac to get also the BUGREPORT value
		Added creation of red hat- and debian-packages

	Kornel


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 21:37:08 +00:00
Pavel Sanda
701506f356 Greetings from gimp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 15:11:52 +00:00
Pavel Sanda
4d847204ed *cmake - patch from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28465 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 08:23:12 +00:00
Uwe Stöhr
248e769c76 scons_manifest.py: fix another SCons issue after r28456
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 01:32:32 +00:00
Pavel Sanda
1c0f15fbd9 * scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28457 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 23:55:51 +00:00
Peter Kümmel
fb3d47a14d Changes:
development/cmake/CMakeLists.txt
		Use lowercase for PACKAGE iff (USE_POSIX_PACKAGING)
		Set correct PROGRAM_SUFFIX,
			CMakeLists.txt in subdirectories depend now on it
		Define PACKAGE_BASE depending on  PACKAGING type
			for use in subsequent directories
	development/cmake/config.h.cmake
		typo: PPROGRAM_SUFFIX --> PROGRAM_SUFFIX
	development/cmake/src/tex2lyx/CMakeLists.txt +
	+ development/cmake/src/CMakeLists.txt +
	+ development/cmake/src/client/CMakeLists.txt +
	+ development/cmake/man/CMakeLists.txt
		added desired version-info to executables and manuals
			tex2lyx, lyx, lyxclient respectivelly

	Kornel



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28438 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 22:21:39 +00:00
André Pönitz
20d5148dca move ColorSet to a header of its own to reduce #include dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:30:24 +00:00
Uwe Stöhr
66eb4fa193 - Math.lyx: translation updates by Ignacio
- Braille.lyx: new Spanish translation by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28402 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 19:01:26 +00:00
Peter Kümmel
1fe1080cf6 cmake: Kornel's package versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28396 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 12:20:31 +00:00
Peter Kümmel
765e190753 cmake: Kornel
Search for all possible files, since there is no POTFILES.in anymore in svn
		Use the PACKAGE-Value as the root of the .mo file
			 (For now it will be LyX.mo)
--line, and those below, will be ignored--

M    development/cmake/po/CMakeLists.txt


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28365 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 19:02:27 +00:00
Uwe Stöhr
8a0d98e67e - stdmenus.inc: Phantom can contain other things as well, not only text
- LyXAction.cpp: updates and sorting
- GuiPhantom: a dialog to set the different phantom types (stolen from GuiNote)

The Phantom feature should now be complete. Thanks to all who contributed and helped.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 18:09:36 +00:00
Uwe Stöhr
f800571674 SCons: update version suffix for LyX 2.0svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28362 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 15:49:09 +00:00
Georg Baum
3d7878212b Add missing esint bits.
They should have been part of the initial commit, but I overlooked them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28355 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 19:57:02 +00:00
Uwe Stöhr
b742ff6406 support for the LaTeX commands \*phantom, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 00:56:37 +00:00
Peter Kümmel
9ef5e73fa1 Kornel:
Setting some internal variables from info in configure.ac
	(PACKAGE, PACKAGE_VERSION, LYX_DATE, LYX_DIR_VER, LYX_USERDIR_VER)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28283 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-26 18:42:02 +00:00
Uwe Stöhr
6a0cdc2a1e revert r28281
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28282 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 23:50:54 +00:00
Uwe Stöhr
5ae52b3b6c remove the no longer used GuiNote
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28281 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 17:48:38 +00:00
Jürgen Spitzmüller
0f830027a3 * GuiApplication.cpp:
- use the first command in sequence as icon name for command-alternatives.
* lib/ui/stdtoolbars.inc:
	- use command-alternatives for the alignment buttons in the tabular toolbar (bug 5709).
* lib/images/tabular-feature_align-*.png:
* lib/images/tabular-feature_valign-*.png:
	- rename to tabular-feature_m-[v]align-*.png:

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28280 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 17:04:57 +00:00
Uwe Stöhr
53064b49e8 SCons: require Python 2.6 for SCons for LyX 2.0 (branch and other Python files will stay as they are), this keeps us on track to Python 3.0 as discussed on the list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28249 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 18:54:43 +00:00
Peter Kümmel
60ce0b3226 Kornel: Moved handling of for lyx2lyx created files to lyx2lyx/CMakeLists.txt
Installation of executabe lyx2lyx
		creation and installation of lyx2lyx_version.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28241 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:45:57 +00:00
Peter Kümmel
802ca12d08 cmake: fix some stupid errors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28234 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 10:55:54 +00:00
Peter Kümmel
2467c38ca9 cmake: fix for PyCompile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28227 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 19:17:51 +00:00
Peter Kümmel
42dc171666 cmake: fix for PyCompile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28226 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 18:54:28 +00:00
Peter Kümmel
01854608fd cmake: more fixes from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28103 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 20:56:40 +00:00
Peter Kümmel
fbdafecf52 cmake: more fixes from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28102 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 20:52:14 +00:00
Peter Kümmel
138d393a17 Kornel's patch
development/cmake/Install.cmake
		Added directory scripts
		Corrected handling of directories. There may well be empty _dir_list.
			(if we search for e.g. lib/doc/en/clipart, there is nothing)
	development/cmake/lyx2lyx/CMakeLists.txt
		most ot the code moved to development/cmake/lyx2lyx/CMakeLists.txt,
			we include now this module.
	development/cmake/CMakeLists.txt
		add the subdirectory "scripts"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28100 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 18:50:24 +00:00
Peter Kümmel
ed50dbfe0f New files from Kornel
development/cmake/PyCompile.cmake
		common code for creating .pyc and .pyo files
			for scripts and lyx2lyx python files
	development/cmake/scripts/CMakeLists.txt
		sets a variable and includes development/cmake/PyCompile.cmake


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28098 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 18:28:48 +00:00
Uwe Stöhr
e816f3818c Braille.lyx: new German translation of the Braille manual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28078 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-10 20:09:46 +00:00
Peter Kümmel
588a118f3f cmake: some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28010 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-06 18:51:00 +00:00
Uwe Stöhr
5b678eefc2 Customization.lyx: - new Spanish translation by Ignacio
- many typos fixed
                   - corrected some folder names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28005 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-06 03:17:16 +00:00
Peter Kümmel
18305961ed cmake: set default install path, add py-compile for lyx2lyx, from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28001 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 19:13:20 +00:00
Peter Kümmel
9c44e16aea cmake: explain ugly hacks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27984 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 13:33:23 +00:00
Peter Kümmel
b89a2ff510 cmake: more changes from Kornel, and Windows fixes: glob is not really cross plattform
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27983 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 13:01:55 +00:00
Peter Kümmel
874a696dfa cmake: more changes from Kornel, and Windows fixes: glob is not really cross plattform
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27982 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 13:00:34 +00:00
Peter Kümmel
afe522b1f6 Kornel
New files:
        development/cmake/doc/ReplaceValues.pl
                perl-script to substitute words (defined in the cmd-line) with their actual
                        values
        development/cmake/doc/CMakefiles.txt
                convert and install files .lyx and .txt-files from the lib/doc-directory
	development/cmake/src/client/CMakeLists.txt
		create and install lyxclient
	
Changed:
        development/cmake/Install.cmake
                include the new doc-directory
                remove installation of .lyx from the doc-directory. Will be installed in
                        development/cmake/doc/CMakefiles.txt
        development/cmake/Install.cmake
                changed macro lyx_install() to not insert '.' into the globbing-expression
                        automatically. We need sometimes also dotless files.
	development/cmake/src/CMakefiles.txt
		Added subdirectory client to create and install lyxclient on unix-like systems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27978 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-03 10:53:24 +00:00
Peter Kümmel
510c918c6c Kornel's cmake install changes:
New files:
        Directories:
		development/cmake/po
		development/cmake/man
        Files:
		development/cmake/po/CMakeLists.txt
			Creates lyx.pot and *.gmo-files;
			Installs ${_lang} as ${LYX_ABS_INSTALLED_DATADIR}/${LYX_LOCALEDIR}/${_lang}/LC_MESSAGES/lyx.mo
		development/cmake/man/CMakeLists.txt
			Handling of lyx-manuals.
		development/cmake/modules/FindLyXGettext.cmake
			Original: (GNU) FindGettext.cmake
			Changed the installation subdirectory of .gmo-files.
			Previously installing into "/usr/local/share/lyx2.0" led
				   to e.g. /usr/local/share/lyx2.0/share/locale/de/LC_MESSAGES/lyx.mo
				   now     /usr/local/share/lyx2.0/locale/de/LC_MESSAGES/lyx.mo
Changes:
        development/cmake/Install.cmake
                macro lyx_install _parent_src_dir
                        searches now through directories specified as simple regular expression.
                        Until now we had to specify explicitly each directory for each language.
                Mode of the DESTINATION/lyx2lyx is now corect
                Installation of the .gmo files

	development/cmake/config.h.cmake:
		Changed some #cmakedefine to #define, because config_file() did not
        	substitute the desired values in config.h.
        	Some typos corrected (TOP_SRCDIR -> TOP_SRC_DIR)

        development/cmake/configCompiler.h.cmake
                Removed doubly defined ENABLE_NLS, HAVE_LC_MESSAGES
                Installation directory still hardcoded, users need to to set environment
                variable LYX_LOCALEDIR to get the corect translations.

	development/cmake/CMakeLists.txt
		Setting correct values to LYX_ABS_INSTALLED_DATADIR,
        		LYX_ABS_INSTALLED_LOCALEDIR, LYX_ABS_TOP_SRCDIR.
			Now the lyx-executable searches on the installed places for it's data,
        		so no need to set environment anymore.
		New variable: LYX_LOCALEDIR. We need it later in FindLyXGettext.cmake,
		    	because we cannot use the absolute path LYX_ABS_INSTALLED_LOCALEDIR.
			(We need relative path when packaging to different root-directory).
                Use of module FindLyXGettext.cmake: This is a modified version
		       	of (GNU) FindGettext.cmake
                Include the new development/cmake/po directory
		Include the new development/cmake/man directory

        development/cmake/po/CMakeLists.txt
                Creation of lyx.pot and apropriate .gmo files
                Creating lyx.pot file
                        I had to use perl to simulate the unix "cat" command. Maybe Jose can
                        write the corect statement in python





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27973 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-28 13:35:29 +00:00
Peter Kümmel
b581607b55 cmake: gettext patch from Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27931 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 09:25:55 +00:00
Bo Peng
4a918ed2d9 Fix a typo in scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27887 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 17:59:14 +00:00
Jürgen Spitzmüller
fb6a6ecfba I/1H\$Hl$Ld$Ll$ Lt$(L|$0H8M
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27879 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 11:08:23 +00:00
Uwe Stöhr
8795db1740 installer: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27874 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 00:58:50 +00:00
Peter Kümmel
672a158a0a cmake: more install fixes, thx to Kornel Benko
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-14 17:09:06 +00:00