Hello community, here is the log from the commit of package lyx for openSUSE:Factory checked in at 2019-07-11 13:15:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lyx (Old) and /work/SRC/openSUSE:Factory/.lyx.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lyx" Thu Jul 11 13:15:41 2019 rev:92 rq:713564 version:2.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/lyx/lyx.changes 2019-03-18 10:40:51.943309156 +0100 +++ /work/SRC/openSUSE:Factory/.lyx.new.4615/lyx.changes 2019-07-11 13:15:56.506813732 +0200 @@ -1,0 +2,23 @@ +Thu Jul 4 15:12:50 UTC 2019 - Cor Blom <[email protected]> + +- Add README.SUSE and refer to that in %description to explain + limited functionality of ImageMagick in openSUSE + +------------------------------------------------------------------- +Wed Jul 3 19:43:35 UTC 2019 - Cor Blom <[email protected]> + +- Update the description in the spec file with information on + security setting for ImageMagick in openSUSE. See boo#1139928 + It seems the only thing we can do about it. + +------------------------------------------------------------------- +Tue Jun 25 18:39:19 UTC 2019 - Cor Blom <[email protected]> + +- Update to 2.3.3: + This is a bugfix release with only minor improvements that are + not really bugfixes. The many details can be found here: + https://www.lyx.org/announce/2_3_3.txt +- Removed upstream patch: fix_boost_169.patch +- Improved spec file a bit + +------------------------------------------------------------------- Old: ---- fix_boost_169.patch lyx-2.3.2.tar.xz lyx-2.3.2.tar.xz.sig New: ---- README.SUSE lyx-2.3.3.tar.xz lyx-2.3.3.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lyx.spec ++++++ --- /var/tmp/diff_new_pack.RyuAyA/_old 2019-07-11 13:15:58.970812957 +0200 +++ /var/tmp/diff_new_pack.RyuAyA/_new 2019-07-11 13:15:58.994812949 +0200 @@ -12,29 +12,27 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: lyx -Version: 2.3.2 +Version: 2.3.3 Release: 0 Summary: WYSIWYM (What You See Is What You Mean) document processor License: GPL-2.0-or-later Group: Productivity/Publishing/TeX/Frontends -Url: http://www.lyx.org/ +URL: http://www.lyx.org/ Source: ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/lyx-%{version}.tar.xz Source1: lyxrc.dist Source2: lyx.keyring Source3: ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/lyx-%{version}.tar.xz.sig +Source4: README.SUSE # PATCH-FIX-UPSTREAM to satisfy rpmlint - use #! /usr/bin/python as shebang # See: https://www.lyx.org/trac/changeset/cac27076ead10684270520670adc6bd004793361/lyxgit # Upstream also made change to python3 in master. Because 2.3.1 is compatible with both # python2 and 3 we follow and switch to python3 Patch0: correct-shebang.patch -# PATCH-FIX-UPSTREAM: fix build with boost 1.69 -Patch1: fix_boost_169.patch -#!BuildIgnore: lyx BuildRequires: autoconf BuildRequires: automake BuildRequires: bc @@ -43,14 +41,11 @@ BuildRequires: file-devel BuildRequires: hicolor-icon-theme BuildRequires: hunspell-devel +BuildRequires: libboost_headers-devel BuildRequires: pkgconfig BuildRequires: python3 BuildRequires: update-desktop-files BuildRequires: zlib-devel -Requires: ImageMagick -Requires: ghostscript -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: libboost_headers-devel BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) @@ -61,6 +56,9 @@ BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) +#!BuildIgnore: lyx +Requires: ImageMagick +Requires: ghostscript # Goal is to require/recommends (roughly) everything that is supported in the GUI of LyX # LyX can supoort everything of LaTeX in the preamble, but not everything is supported in the GUI # I have ingored extra fonts and document classes @@ -118,10 +116,13 @@ LyX can check the LaTeX installation by opening the LaTeX Configuration document under "Help" on the menubar. +LyX uses ImageMagick to deal with images. For security reasons +(open)SUSE limits the functionaly of ImageMagick. See README.SUSE +(in /usr/share/doc/packages/lyx/) for more information. + %prep %setup -q %patch0 -p1 -%patch1 -p1 %build #./autogen.sh @@ -152,7 +153,7 @@ popd cp ANNOUNCE COPYING NEWS \ - README README.localization RELEASE-NOTES UPGRADING \ + README README.localization RELEASE-NOTES UPGRADING %{SOURCE4} \ %{buildroot}/%{_defaultdocdir}/%{name}/ mkdir -p $RPM_BUILD_ROOT$TEXMF/tex/latex @@ -177,7 +178,6 @@ %icon_theme_cache_postun %files -f %{name}.lang -%defattr(-,root,root) %docdir %{_datadir}/lyx/doc %doc %{_defaultdocdir}/lyx %{_bindir}/lyx @@ -192,9 +192,9 @@ %dir %{_datadir}/texmf/tex/latex %{_datadir}/texmf/tex/latex/lyx %{_datadir}/lyx -%{_mandir}/man1/lyx.1%{ext_man} -%{_mandir}/man1/lyxclient.1%{ext_man} -%{_mandir}/man1/tex2lyx.1%{ext_man} +%{_mandir}/man1/lyx.1%{?ext_man} +%{_mandir}/man1/lyxclient.1%{?ext_man} +%{_mandir}/man1/tex2lyx.1%{?ext_man} %{_datadir}/bash-completion/completions/lyx %changelog ++++++ README.SUSE ++++++ LyX makes use of ImageMagick, a.o. for showing previews of images in the LyX windows. In openSUSE some functionality of ImageMagick is disabled for security reasons. This is true for all postscripts files. Showing an eps image in LyX, therefore, does not work out of the box. If you want to enable some disabled functionality, you can edit the settings in /etc/ImageMagick-7, if you know what you are doing. An alternative is to remove the package with the default SUSE setting and install the upstream version: ImageMagick-config-7-SUSE must be replaced by ImageMagick-config-7-upstream. More information can be found in this announcement: https://lists.opensuse.org/opensuse-security-announce/2019-05/msg00010.html More information on ImageMagick security settings can be found here: https://imagemagick.org/script/security-policy.php ++++++ lyx-2.3.2.tar.xz -> lyx-2.3.3.tar.xz ++++++ /work/SRC/openSUSE:Factory/lyx/lyx-2.3.2.tar.xz /work/SRC/openSUSE:Factory/.lyx.new.4615/lyx-2.3.3.tar.xz differ: char 25, line 1
