Package: easychem / 0.6-8

Metadata

Package Version Patches format
easychem 0.6-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix_include_locale_h.patch | (download)

common.h | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
fix_bug_380210_fix_buffer_overflow.patch | (download)

export.c | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 fix a buffer overflow
 * export.c (eps_write): Fixes a buffer overflow (crashes
   easychem) when trying to export a formula to either eps or pdf
   format. This bug was found by Fabian Greffrath.
Bug-Debian: http://bugs.debian.org/380210


fix_locale_initialization.patch | (download)

easychem.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 fix the setlocale call
 * easychem.c (main): Fix setlocale call. Fix `Gtk-WARNING **: Invalid
   input string' and `Pango-WARNING **: Invalid UTF-8 string passed to
   pango_layout_set_text()'.


fix_bond_and_arrow_fixes.patch | (download)

bonds.c | 7 6 + 1 - 0 !
dialogs.c | 4 2 + 2 - 0 !
2 files changed, 8 insertions(+), 3 deletions(-)

 fix for arrow heads
 * bonds.c (add_bond): Set the ending head by default, when drawing an arrow.
 * dialogs.c (edit_bond): Swap the beginning/ending arrow heads, which
   now fit, what the user sees.


fix_bug_380210_fix_export_and_export_utils_detection.patch | (download)

bonds.c | 17 17 + 0 - 0 !
detect.c | 36 16 + 20 - 0 !
easychem.c | 11 7 + 4 - 0 !
export.c | 38 27 + 11 - 0 !
postscript/cm_common.ps | 3 2 + 1 - 0 !
postscript/preamble.ps | 23 16 + 7 - 0 !
postscript/times.ps | 8 4 + 4 - 0 !
7 files changed, 89 insertions(+), 47 deletions(-)

 major bug fix
 * bonds.c (save_list_bonds, load_list_bonds): Temporarily set LC_NUMERIC
   to ``C" to fix a freeze when trying to run the export function.
 * export.c (eps_write, fig_export): Ditto.
   (fig_pstoedit_export): Bug-fix.
 * detect.c (detect_gs, detect_pstoedit): Fix buggy detection routines.
 * postscript/cm_common.ps: Backported from CVS.
 * postscript/preamble.ps: Ditto.
 * postscript/times.ps: Ditto.
Bug-Debian: http://bugs.debian.org/380210
Bug-Ubuntu: https://bugs.launchpad.net/bugs/71118


fix_makefiles.patch | (download)

Makefile.linux | 29 15 + 14 - 0 !
po/Makefile | 9 5 + 4 - 0 !
2 files changed, 20 insertions(+), 18 deletions(-)

 fix installation routine and consider nostrip option
 This patch simply fixes some directory values and allows a correct
 installation of the binary and the translations (all done later using
 dh_install). Also respect the CFLAGS set in debian/rules.
 Also respect/handle nostrip build option (policy 10.1).
Bug-Debian: http://bugs.debian.org/436782


translation_updates_and_fixes.patch | (download)

dialogs.c | 22 12 + 10 - 0 !
easychem.c | 59 30 + 29 - 0 !
po/easychem.pot | 705 705 + 0 - 0 !
po/fr.po | 674 425 + 249 - 0 !
4 files changed, 1172 insertions(+), 288 deletions(-)

 translation updates
 * dialogs.c, easychem.c: Many strings, that were not translatble, now
   are now (using gettext()). Some improvements have been made too.
 * po/fr.po: Updates to French translation (thanks to Guillaume Burel).
 * po/easychem.pot: Added.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/55010


fix_bug_536388_fix_export_eps.patch | (download)

postscript/preamble.ps | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 when exporting to eps the position and size of some bonds
 where wrongly calculated due to a swap in argument.
Bug-Debian: http://bugs.debian.org/536388