Re: State of master and release process

2016-02-15 Thread Uwe Stöhr

Am 15.02.2016 um 22:33 schrieb Scott Kostyshak:


If the zip file extracts correctly and Uwe can compile for Windows,


I can. The Zip file is sufficient to build LyX. Here's the installer:
http://ftp.lyx.de/LyX%202.2.0beta-2/

regards Uwe


State of master and release process

2016-02-15 Thread Scott Kostyshak
Just an update for those who have not been following the other
conversations, and also a question:

beta2 has been tagged, and the tars have been posted. We have not
formally released it because we are still trying to make it so that it
is possible to compile on Windows from the self-contained archive. There
is a problem with extracting the tar on Windows, so I have just sent Uwe
a zip file containing the same files that the tar contains.

If the zip file extracts correctly and Uwe can compile for Windows, does
this mean that we should release beta2 as long as we post the zip file
and in the email announcement we recommend the zip file if compiling on
Windows? Or because the tar has issues with being extracted on Windows,
we must move to beta3 which hopefully (still not confirmed) would
produce a tar that can be extracted correctly with the Windows build? A
separate question is does it matter that the 'make lyxdist' command for
beta2 did not produce the zip file that would be posted as beta2?

It seems to me that although it is indicative of an inexperienced
release manager, the best thing would be to move to beta3, and confirm
with Uwe before posting the files that the archive can be extracted and
that the Windows build succeeds. I don't have a strong opinion on this
though.

On a separate note, master branch is open. Depending on the above
discussion we might move very soon to beta3, so please nothing
non-trivial.

Scott


signature.asc
Description: PGP signature


Re: [LyX/master] Add missing boost files to source package

2016-02-15 Thread Peter Kümmel



Am 15.02.2016 um 22:06 schrieb Georg Baum:

Peter Kümmel wrote:


commit 6de524e6cf2d13636b04b9bb850d0a8b1eaa398b
Author: Peter Kümmel 
Date:   Sat Feb 13 18:34:08 2016 +0100

 Add missing boost files to source package

 and remove Visual Studio files, we build with CMake on Windows.

diff --git a/3rdparty/boost/Makefile.am b/3rdparty/boost/Makefile.am
index cfac86b..fcb9ff7 100644
--- a/3rdparty/boost/Makefile.am
+++ b/3rdparty/boost/Makefile.am
@@ -4,13 +4,14 @@ noinst_LIBRARIES = liblyxboost.a

  EXTRA_DIST = boost \
  CMakeLists.txt \
+   LICENSE_1_0.txt \
  libs/CMakeLists.txt \
  libs/regex/CMakeLists.txt \
-   libs/regex/regex.vcproj \
  libs/regex/src/CMakeLists.txt \
  libs/signals/CMakeLists.txt \
-   libs/signals/signals.vcproj \
-   libs/signals/src/CMakeLists.txt
+   libs/signals/src/CMakeLists.txt \
+


boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp

\
+


boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp

These two additions are not needed, right? At least the files appear in the
tar also before this changes.


Yes, only the .txt files are needed.



What about the unused files libs/regex/regex.vcproj,
libs/signals/signals.vcproj, libs/regex/src/icu.cpp,
libs/regex/src/usinstances.cpp and libs/regex/src/wc_regex_traits.cpp? I'd
like to remove them from git.



I'm sure only about .vcproj.



Georg






Re: [LyX/master] Add missing boost files to source package

2016-02-15 Thread Georg Baum
Peter Kümmel wrote:

> commit 6de524e6cf2d13636b04b9bb850d0a8b1eaa398b
> Author: Peter Kümmel 
> Date:   Sat Feb 13 18:34:08 2016 +0100
> 
> Add missing boost files to source package
> 
> and remove Visual Studio files, we build with CMake on Windows.
> 
> diff --git a/3rdparty/boost/Makefile.am b/3rdparty/boost/Makefile.am
> index cfac86b..fcb9ff7 100644
> --- a/3rdparty/boost/Makefile.am
> +++ b/3rdparty/boost/Makefile.am
> @@ -4,13 +4,14 @@ noinst_LIBRARIES = liblyxboost.a
>  
>  EXTRA_DIST = boost \
>  CMakeLists.txt \
> + LICENSE_1_0.txt \
>  libs/CMakeLists.txt \
>  libs/regex/CMakeLists.txt \
> - libs/regex/regex.vcproj \
>  libs/regex/src/CMakeLists.txt \
>  libs/signals/CMakeLists.txt \
> - libs/signals/signals.vcproj \
> - libs/signals/src/CMakeLists.txt
> + libs/signals/src/CMakeLists.txt \
> +
> 
boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp
> \
> +
> 
boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp

These two additions are not needed, right? At least the files appear in the 
tar also before this changes.

What about the unused files libs/regex/regex.vcproj, 
libs/signals/signals.vcproj, libs/regex/src/icu.cpp, 
libs/regex/src/usinstances.cpp and libs/regex/src/wc_regex_traits.cpp? I'd 
like to remove them from git.


Georg





Re: [LyX/master] Partial fix for #9740 "XeTeX/LuaTeX with TeX fonts problems".

2016-02-15 Thread Georg Baum
Guenter Milde wrote:

> I assume, heb1.tex is "splash_good.tex" and heb2.tex is "splash_bad.tex",
> right?

I guess so. My newsreader did not display any names for the attachments at 
Scotts message.

> 
>> So, the real diferences of this change are:
> 
>> 1) LyX writes cp1255 encoding instead of utf8
> 
> Yes. This is intended -- if document source is set to use 8-bit TeX fonts,
> the input encoding should be the same for pdftex and luatex.
> (Before, it was forced to be utf8-plain with luatex and xetex, which led
> to many errors (or wrong output).)

Thanks for the explanation. I did not think of the \inputencoding setting of 
the LyX file.

> 
>> 2) LyX adds a \cyrtext command
> 
> If I read the diff correctly, the \cyrtext was added before (heb1) but is
> now only added if required.

Right, I mixed this up with the first version of the diff that I did the 
other way round.


Georg




Re: beta2?

2016-02-15 Thread Uwe Stöhr

Am 15.02.2016 um 11:18 schrieb Jean-Marc Lasgouttes:


BTW, why don't you use lzma for the compression of the installer?


I do. Otherwise the installer for the betas would be 69 MB large.

regards Uwe


Re: [LyX/master] Preparing a helper script to creat md5sum of a file.

2016-02-15 Thread Kornel Benko
Am Montag, 15. Februar 2016 um 12:57:20, schrieb Richard Heck 
> On 02/15/2016 09:25 AM, Kornel Benko wrote:
> > +# Use-example in some CMakeLists.txt
> > +#
> > +# set(md5out ...)
> > +# set(fileToCheck ...)
> > +# add_custom_command(
> > +#   OUTPUT ${md5out}
> > +#   COMMAND ${CMAKE_COMMAND}
> > +#  "-DFILE_TO_HANDLE=${fileToCheck}"
> > +#  "-DMD5_OUTPUT=${md5out}"
> > +#  -P ${TOP_SCRIPT_PATH}/CtreateMD5MD5.cmake
> 
> Typo? "Ctreate" instead of "Create"?

Yes, sorry.

> Richard

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: [LyX/master] Preparing a helper script to creat md5sum of a file.

2016-02-15 Thread Richard Heck
On 02/15/2016 09:25 AM, Kornel Benko wrote:
> +# Use-example in some CMakeLists.txt
> +#
> +# set(md5out ...)
> +# set(fileToCheck ...)
> +# add_custom_command(
> +#   OUTPUT ${md5out}
> +#   COMMAND ${CMAKE_COMMAND}
> +#  "-DFILE_TO_HANDLE=${fileToCheck}"
> +#  "-DMD5_OUTPUT=${md5out}"
> +#  -P ${TOP_SCRIPT_PATH}/CtreateMD5MD5.cmake

Typo? "Ctreate" instead of "Create"?

Richard



Re: beta2?

2016-02-15 Thread Kornel Benko
Am Sonntag, 14. Februar 2016 um 23:39:00, schrieb Pavel Sanda 
> Peter Kümmel wrote:
>  Uwe still gets the following errors from the tar I sent to him:
> 
>  D:\LyXGit\LyX22beta3\3rdparty\boost\boost/numeric/conversion/detail/numeric_cast_traits.hpp(12):
>  fatal error C1083: File (Include) cannot be opened:
>  "boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp":
>  No such file or directory
>  [D:\LyXGit\LyX22beta3\compile-2010\src\support\support.vcxproj]
> >
> > I only tested with "build5-2010-installer.bat"
> 
> Is this script now used to build official installer?
> In case of yes, would be our cmake gurus able to add routine
> which spits out md5sum of installer binaries which could Uwe
> posts in his email when publishing the binaries?
> 
> Pavel

For me it is not clear, how the binary zip-file is created on windows.
If I would know, I could create a new target to compute md5sum for this 
zip-file.
I created and committed a cmake-script to be used for this task.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: beta2?

2016-02-15 Thread Jean-Marc Lasgouttes

Le 15/02/2016 11:18, Jean-Marc Lasgouttes a écrit :

BTW, why don't you use lzma for the compression of the installer? This
is potentially a big win for the end user. Or did it turn out to be
disappointing?


Now I see that you use it only for the bundle installer. I would have 
thought that the gain is not so high there, since it probably contains 
lots of stuff that is already compressed.


JMarc



Re: beta2?

2016-02-15 Thread Jean-Marc Lasgouttes

Le 15/02/2016 00:55, Uwe Stöhr a écrit :

Am 14.02.2016 um 19:44 schrieb Peter Kümmel:


So the unzip tool has a problem, maybe because of the long path length.

Maybe we should also distribute a zip file.


Yes, a zip would be fine. I don't think that we need to save a few kB by
using special formats like .xz.


As Pavel pointed out, this is an interesting understatement. But indeed 
the size of the source distribution is not vital on binary-loving 
platforms like windows.


BTW, why don't you use lzma for the compression of the installer? This 
is potentially a big win for the end user. Or did it turn out to be 
disappointing?


JMarc