Hello community, here is the log from the commit of package klatexformula for openSUSE:Factory checked in at 2013-08-10 11:04:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/klatexformula (Old) and /work/SRC/openSUSE:Factory/.klatexformula.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "klatexformula" Changes: -------- --- /work/SRC/openSUSE:Factory/klatexformula/klatexformula.changes 2012-06-10 21:51:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.klatexformula.new/klatexformula.changes 2013-08-10 11:04:11.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Aug 7 21:35:54 UTC 2013 - badshah...@gmail.com + +- Update to version 3.2.7: + + Fixes a bug preventing epstopdf from being executed on some + linux systems +- Pass -DCMAKE_SKIP_RPATH=ON to cmake to fix Factory build issues. + +------------------------------------------------------------------- Old: ---- klatexformula-3.2.6.tar.gz New: ---- klatexformula-3.2.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ klatexformula.spec ++++++ --- /var/tmp/diff_new_pack.vLkaue/_old 2013-08-10 11:04:12.000000000 +0200 +++ /var/tmp/diff_new_pack.vLkaue/_new 2013-08-10 11:04:12.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package klatexformula # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,7 +36,7 @@ %endif # * Set CMake Common compilation options # Note: KLF_CMAKE_DEBUG only turns on KLF's CMake debugging messages, it has no effect upon the build itself. -%define cmake_common_options -DKLF_CMAKE_DEBUG=ON -DCMAKE_INSTALL_PREFIX="/usr" -DKLF_INSTALL_LIB_DIR=%{_libdir} -DKLF_INSTALL_BIN_DIR=%{_bindir} +%define cmake_common_options -DCMAKE_SKIP_RPATH=ON -DKLF_CMAKE_DEBUG=ON -DCMAKE_INSTALL_PREFIX="/usr" -DKLF_INSTALL_LIB_DIR=%{_libdir} -DKLF_INSTALL_BIN_DIR=%{_bindir} %define build_ktexteditorplugin 0%{?suse_version} > 1110 %if %build_ktexteditorplugin %define cmake_buildktexteditorplugin -DKLF_BUILD_KTEXTEDITORPLUGIN=ON @@ -49,7 +49,7 @@ # -------------- Name: klatexformula -Version: 3.2.6 +Version: 3.2.7 Release: 0 Summary: An easy-to-use graphical application for generating images from LaTeX equations License: GPL-2.0+ ++++++ klatexformula-3.2.6.tar.gz -> klatexformula-3.2.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/klatexformula-3.2.6/VERSION new/klatexformula-3.2.7/VERSION --- old/klatexformula-3.2.6/VERSION 2012-05-23 00:25:54.000000000 +0200 +++ new/klatexformula-3.2.7/VERSION 2013-06-23 12:52:36.000000000 +0200 @@ -1 +1 @@ -3.2.6 +3.2.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/klatexformula-3.2.6/src/klfbackend/klfblockprocess.cpp new/klatexformula-3.2.7/src/klfbackend/klfblockprocess.cpp --- old/klatexformula-3.2.6/src/klfbackend/klfblockprocess.cpp 2012-05-23 00:25:54.000000000 +0200 +++ new/klatexformula-3.2.7/src/klfbackend/klfblockprocess.cpp 2013-06-23 12:52:33.000000000 +0200 @@ -19,7 +19,9 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -/* $Id: klfblockprocess.cpp 748 2012-01-01 15:06:40Z phfaist $ */ +/* $Id: klfblockprocess.cpp 856 2013-06-23 10:38:35Z phfaist $ */ + +#include <ctype.h> #include <qprocess.h> #include <qapplication.h> @@ -79,7 +81,8 @@ // ** epstopdf bug in ubuntu: peek into executable, see if it is script. if it is, run with 'sh' on *nix's. // this is a weird bug with QProcess that will not execute some script files like epstopdf. - { QString fn = cmd[0]; + { + QString fn = cmd[0]; if (!QFile::exists(fn)) fn = klfSearchPath(cmd[0]); QFile fpeek(fn); @@ -91,7 +94,7 @@ bool isbinary = false; while (n++ < 3 && (line = fpeek.readLine()).size()) { for (j = 0; j < line.size(); ++j) { - if ((int)line[j] > 127 || (int)line[j] < 0) { + if ( ! isascii(line[j]) ) { isbinary = true; break; } @@ -100,8 +103,8 @@ break; } if (!isbinary) { - // explicitely add the shell (we're on *nix, so OK) - cmd.prepend("sh"); + // explicitely run with /usr/bin/env (we're on *nix, so OK) + cmd.prepend("/usr/bin/env"); } } } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org