[Synfig-devl] [PATCH] fix sequence point warning in state_brush.cpp

2015-06-22 Thread Olaf Hering
gcc 4.8 in openSUSE 13.1 warns about this code: states/state_brush.cpp:824:44: warning: operation on 'hue' may be undefined [-Wsequence-point] : hue = 60.0 * (((r - g)/(diff))+4.0); Remove early assignment and adjust indention to clearify logical code flow. Signed-off-by: Olaf Hering

Re: [Synfig-devl] Segmentation Fault when running command synfig

2015-06-22 Thread Konstantin Dmitriev
Hello! 2015-06-02 10:07 GMT+06:00 Pengfei Hao int...@gmail.com: By the way, I hope you could fix another type bug I reported before, and create a new release. So I could provide a formal rpm ready package for openSUSE users. In ETL/ETL/_clock_system.h 60 class clock_desc_sys_clock 61 {

[Synfig-devl] [synfig/synfig] 34063d: Fix compilation error on OpenSuse. Thanks to Pengf...

2015-06-22 Thread Konstantin Dmitriev
Branch: refs/heads/master Home: https://github.com/synfig/synfig Commit: 34063d8951d5a6b7642fc18705e162ddf9009a08 https://github.com/synfig/synfig/commit/34063d8951d5a6b7642fc18705e162ddf9009a08 Author: Konstantin Dmitriev ksee.zelga...@gmail.com Date: 2015-06-22 (Mon, 22 Jun

[Synfig-devl] [PATCH] lyr_freetype: fix crash if FcFontList returns empty FcFontSet

2015-06-22 Thread Olaf Hering
If FcFontList returns an empty FcFontSet synfig will crash because fs-fonts is a NULL pointer. Avoid that crash by checking the number of returned fonts. Signed-off-by: Olaf Hering o...@aepfle.de --- src/modules/lyr_freetype/lyr_freetype.cpp |2 +- 1 file changed, 1 insertion(+), 1

[Synfig-devl] [synfig/synfig] d86a48: If synfigstudio.spec has just BuildRequires: pkgc...

2015-06-22 Thread Konstantin Dmitriev
Branch: refs/heads/master Home: https://github.com/synfig/synfig Commit: d86a485e985cf05963896cf46c24473da9c33a77 https://github.com/synfig/synfig/commit/d86a485e985cf05963896cf46c24473da9c33a77 Author: Konstantin Dmitriev ksee.zelga...@gmail.com Date: 2015-06-22 (Mon, 22 Jun

Re: [Synfig-devl] [PATCH] lyr_freetype: fix crash if FcFontList returns empty FcFontSet

2015-06-22 Thread Konstantin Dmitriev
2015-06-22 21:28 GMT+06:00 Olaf Hering o...@aepfle.de: If FcFontList returns an empty FcFontSet synfig will crash because fs-fonts is a NULL pointer. Avoid that crash by checking the number of returned fonts. Signed-off-by: Olaf Hering o...@aepfle.de ---

[Synfig-devl] [PATCH] synfig.pc: include all use libraries in devel package

2015-06-22 Thread Olaf Hering
If synfigstudio.spec has just BuildRequires: pkgconfig(synfig) some required libs will not be installed. In my case pkgconfig(Magick++). As a result linking failed. Put more libs into CONFIG_DEPS to automatically install them if synfig-devel is installed. Signed-off-by: Olaf Hering

[Synfig-devl] [synfig/synfig] 38e5b0: Fix issue in e3a2635979

2015-06-22 Thread Konstantin Dmitriev
Branch: refs/heads/master Home: https://github.com/synfig/synfig Commit: 38e5b06ff467cf9db32e0d6b3ce0f4a7a62db0d8 https://github.com/synfig/synfig/commit/38e5b06ff467cf9db32e0d6b3ce0f4a7a62db0d8 Author: Konstantin Dmitriev ksee.zelga...@gmail.com Date: 2015-06-22 (Mon, 22 Jun

[Synfig-devl] [synfig/synfig] d7e7b5: If FcFontList returns an empty FcFontSet synfig wi...

2015-06-22 Thread Konstantin Dmitriev
Branch: refs/heads/master Home: https://github.com/synfig/synfig Commit: d7e7b5651316cd2c4258c8d088c01334fed67a51 https://github.com/synfig/synfig/commit/d7e7b5651316cd2c4258c8d088c01334fed67a51 Author: Konstantin Dmitriev ksee.zelga...@gmail.com Date: 2015-06-22 (Mon, 22 Jun

Re: [Synfig-devl] Segmentation Fault when running command synfig

2015-06-22 Thread Konstantin Dmitriev
2015-06-02 10:03 GMT+06:00 Pengfei Hao int...@gmail.com: I added : BuildRequires:xorg-x11-fonts Then it passed compilation. So definitely the missing of fonts caused the problem. I hope synfig command could give message when it did not detect fonts, rather than directly crash in the

[Synfig-devl] [PATCH] configure.ac: do not touch g++ option -g

2015-06-22 Thread Olaf Hering
CFLAGS and CXXFLAGS may contain other valid options than just -g. Leave anything related to debuginfo as instructed by the user to avoid syntax errors. Prepend the private debug knobs to give the user a chance to pass its own knobs to the compiler. This patch fixes g++ -grecord-gcc-switches and

Re: [Synfig-devl] [PATCH] configure.ac: do not touch g++ option -g

2015-06-22 Thread Olaf Hering
On Mon, Jun 22, Konstantin Dmitriev wrote: 2015-06-22 15:32 GMT+06:00 Olaf Hering o...@aepfle.de: CFLAGS and CXXFLAGS may contain other valid options than just -g. Leave anything related to debuginfo as instructed by the user to avoid syntax errors. Prepend the private debug knobs to

Re: [Synfig-devl] [PATCH] configure.ac: do not touch g++ option -g

2015-06-22 Thread Konstantin Dmitriev
2015-06-22 15:32 GMT+06:00 Olaf Hering o...@aepfle.de: CFLAGS and CXXFLAGS may contain other valid options than just -g. Leave anything related to debuginfo as instructed by the user to avoid syntax errors. Prepend the private debug knobs to give the user a chance to pass its own knobs to the