Hello community, here is the log from the commit of package sdcc for openSUSE:Factory checked in at 2019-01-10 15:22:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sdcc (Old) and /work/SRC/openSUSE:Factory/.sdcc.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sdcc" Thu Jan 10 15:22:23 2019 rev:15 rq:663758 version:3.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sdcc/sdcc.changes 2018-10-22 11:23:06.415170098 +0200 +++ /work/SRC/openSUSE:Factory/.sdcc.new.28833/sdcc.changes 2019-01-10 15:22:44.982367175 +0100 @@ -1,0 +2,8 @@ +Thu Dec 13 17:19:59 UTC 2018 - Michal Suchanek <msucha...@suse.de> + +- Fix Tumbleweed build. +- Instead of including prebuilt MCS51_named.pdf build it during package build. + Besides avoiding the ImageMagick problem with interpreting PS this also + avoids rasterising the image. + +------------------------------------------------------------------- @@ -11,0 +20 @@ + [bsc#1109976] Old: ---- MCS51_named.pdf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sdcc.spec ++++++ --- /var/tmp/diff_new_pack.ZOBtVU/_old 2019-01-10 15:22:46.018366103 +0100 +++ /var/tmp/diff_new_pack.ZOBtVU/_new 2019-01-10 15:22:46.018366103 +0100 @@ -25,8 +25,6 @@ Url: http://sdcc.sourceforge.net/ Source: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.bz2 Source1: %{name}-rpmlintrc -# Converted from included MCS51_named.svg, avoid dependency on tools for SVG->EPS->PDF conversion -Source2: MCS51_named.pdf Patch0: 0001-Doc-Disable-fallback-to-dvipdfm-remove-non-pdftex-ta.patch Patch2: sdcc_enable_additional_target_libs.patch BuildRequires: bison @@ -46,6 +44,7 @@ BuildRequires: ncurses-devel BuildRequires: python-devel # documentation +BuildRequires: inkscape BuildRequires: lyx BuildRequires: makeinfo BuildRequires: texlive-babel-english @@ -53,6 +52,9 @@ BuildRequires: texlive-makeindex-bin %endif BuildRequires: texlive-fancyhdr +%if 0%{?suse_version} > 1500 +BuildRequires: texlive-footnotehyper +%endif BuildRequires: texlive-latex BuildRequires: texlive-makeindex BuildRequires: texlive-ulem @@ -100,7 +102,6 @@ %patch0 -p1 %patch2 -p1 sed -i '1 s@.*@#!/usr/bin/python2@' support/scripts/as2gbmap.py -cp %{SOURCE2} doc/ %build # Force configure to ignore missing, but unused TeX binaries @@ -114,6 +115,8 @@ --enable-doc %endif +inkscape --export-area-drawing --export-pdf=doc/MCS51_named.pdf doc/MCS51_named.svg + make %{?_smp_mflags} %install