Hello community,
here is the log from the commit of package units for openSUSE:Factory checked in at 2014-04-09 13:17:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/units (Old)
and /work/SRC/openSUSE:Factory/.units.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "units"
Changes:
--------
--- /work/SRC/openSUSE:Factory/units/units.changes 2014-03-31 20:45:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.units.new/units.changes 2014-04-09 13:17:37.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Apr 7 20:11:57 UTC 2014 - andreas.stieger@gmx.de
+
+- GNU Units 2.11:
+ * Many long options didn't work
+ * units_cur wouldn't print to stdout
+
+-------------------------------------------------------------------
Old:
----
units-2.10.tar.gz
units-2.10.tar.gz.sig
New:
----
units-2.11.tar.gz
units-2.11.tar.gz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ units.spec ++++++
--- /var/tmp/diff_new_pack.mxvXGd/_old 2014-04-09 13:17:38.000000000 +0200
+++ /var/tmp/diff_new_pack.mxvXGd/_new 2014-04-09 13:17:38.000000000 +0200
@@ -19,7 +19,7 @@
%bcond_with units_cur
Name: units
-Version: 2.10
+Version: 2.11
Release: 0
Summary: Conversion Utility
License: GPL-3.0+
++++++ units-2.10.tar.gz -> units-2.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/ChangeLog new/units-2.11/ChangeLog
--- old/units-2.10/ChangeLog 2014-01-24 01:30:48.000000000 +0100
+++ new/units-2.11/ChangeLog 2014-03-29 01:02:48.000000000 +0100
@@ -1,3 +1,8 @@
+2014-03-28 Adrian Mariano
+
+ * units.c (main): Changed getprogname->getprogramname to avoid
+ CYGWIN conflict.
+
2014-01-23 Adrian Mariano
* units.c (processargs): Only print error message for invalid
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/Makefile.in new/units-2.11/Makefile.in
--- old/units-2.10/Makefile.in 2014-03-25 22:47:11.000000000 +0100
+++ new/units-2.11/Makefile.in 2014-03-29 17:49:04.000000000 +0100
@@ -36,6 +36,7 @@
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
TEXI2PDF = texi2pdf
+MKDIR_P = @MKDIR_P@
LDFLAGS = @LDFLAGS@
LIBS= @LIBS@
VPATH = @srcdir@
@@ -67,8 +68,8 @@
DISTFILES = README ChangeLog units.info units.txt getopt1.c units.dvi \
Makefile.in units.c getopt.c getopt.h definitions.units units.texinfo \
- configure.ac configure strfunc.c COPYING Makefile.Win install-sh units.man \
- mkinstalldirs NEWS texi2man INSTALL units.pdf units_cur2 units_cur3 \
+ configure.ac configure strfunc.c COPYING Makefile.Win install-sh \
+ units.man NEWS texi2man INSTALL units.pdf units_cur2 units_cur3 \
parse.tab.c parse.y units.h Makefile.OS2 makeobjs.cmd README.OS2 \
README.MKS locale_map.txt fdl-1.3.texi currency.units README.Win \
unitsfile.ico unitsprog.ico icon_ms.png winmkdirs.bat
@@ -87,7 +88,7 @@
units_cur: units_cur2 units_cur3
@if test $(HAVE_PYTHON) = no; then \
- make units_cur_dummy; \
+ $(MAKE) units_cur_dummy; \
else \
version=`$(PYTHON) --version 2>&1`; \
if echo $$version | grep 'Python 2' >/dev/null; then \
@@ -120,7 +121,7 @@
units_cur > units_cur_inst
install-support: definitions.units currency.units units_cur_inst
- $(srcdir)/mkinstalldirs $(DESTDIR)@UDAT@ $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)@UDAT@ $(DESTDIR)$(bindir)
$(INSTALL_DATA) $(srcdir)/definitions.units $(DESTDIR)@UDAT@definitions.units
$(INSTALL_DATA) $(srcdir)/currency.units $(DESTDIR)@UDAT@currency.units
$(INSTALL_DATA) $(srcdir)/locale_map.txt $(DESTDIR)@UDAT@locale_map.txt
@@ -129,17 +130,17 @@
install: units@EXEEXT@ install-doc install-support
- $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) units@EXEEXT@ $(DESTDIR)$(bindir)/`echo units@EXEEXT@|sed '$(transform)'`
install-strip: units@EXEEXT@ install-doc install-support
- $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) -s units@EXEEXT@ $(DESTDIR)$(bindir)/`echo units@EXEEXT@|sed '$(transform)'`
install-doc: install-man install-info
install-man: units.1
- $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
+ $(MKDIR_P) $(DESTDIR)$(mandir)/man1
$(INSTALL_DATA) units.1 $(DESTDIR)$(mandir)/man1/`echo units|sed '$(transform)'`.1
units.man: units.texinfo texi2man
@@ -152,7 +153,7 @@
$(DESTDIR)$(infodir)/units.info: units.info
$(POST_INSTALL)
- $(srcdir)/mkinstalldirs $(DESTDIR)$(infodir)
+ $(MKDIR_P) $(DESTDIR)$(infodir)
# There may be a newer info file in . than in srcdir.
-if test -f units.info; then d=.; \
else d=$(srcdir); fi; \
@@ -268,6 +269,8 @@
TAGS: units.c
etags $(srcdir)/units.c $(srcdir)/parse.y
+tags: units.c
+ ctags $(srcdir)/units.c
smalldist: units.c units.h parse.y parse.tab.c
echo units-`sed -n -e '/\#.*VERSION/s/.*"\(.*\)"/\1/gp' \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/NEWS new/units-2.11/NEWS
--- old/units-2.10/NEWS 2014-03-21 11:10:38.000000000 +0100
+++ new/units-2.11/NEWS 2014-04-02 03:01:55.000000000 +0200
@@ -1,6 +1,10 @@
GNU units NEWS - User visible changes.
Copyright (C) 1996, 1997, 1999-2007, 2010-2014 Free Software Foundation, Inc.
+Version 2.11 - 2 April 2014 (bug fix release)
+* Many long options didn't work.
+* units_cur wouldn't print to stdout
+
Version 2.10 - 19 March 2014
* Added '_' to represent the previous result.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/README new/units-2.11/README
--- old/units-2.10/README 2014-03-21 11:10:38.000000000 +0100
+++ new/units-2.11/README 2014-03-28 02:31:30.000000000 +0100
@@ -71,6 +71,20 @@
Ports
+A Windows version
+
+A binary distribution for Windows is available at
+http://ftp.gnu.org/gnu/units/windows/ The executable was built with
+Microsoft Visual C/C++ Express using Makefile.Win and the same source
+files included in the source distribution. There is currently no
+support for UTF-8 or readline; however, command history and intraline
+editing are available via the standard Windows console facilities
+described in the documentation for doskey.
+
+A port of units 1.87 to Windows is available from the
+http://gnuwin32.sourceforge.net/packages/units.htm
+This port includes readline support.
+
A Java version of units by Roman Redziejowski
is available on SourceForge at http://units-in-java.sourceforge.net/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/README.MKS new/units-2.11/README.MKS
--- old/units-2.10/README.MKS 2014-03-25 22:14:39.000000000 +0100
+++ new/units-2.11/README.MKS 2014-04-02 00:35:58.000000000 +0200
@@ -1,15 +1,15 @@
This comments in this file are based on MKS Toolkit for developers,
-version 9.5, running on Windows XP Professional, SP3. The configure
+version 9.6, running on Windows XP Professional, SP3. The configure
script was generated by GNU Autoconf 2.68.
The most recent build of units with the Toolkit (using Microsoft Visual
-C/C++ 6.0, and Visual C/C++ Express 9.0 and 10.0) was for version 2.10
+C/C++ 6.0, and Visual C/C++ Express 9.0 and 10.0) was for version 2.11
on 24 March 2014.
The system on which the build was done had /bin as a symbolic link to
C:/Program Files/MKS Toolkit/mksnt.
- -- Jeff Conrad (jeff_conrad@msn.com) 24 March 2014
+ -- Jeff Conrad (jeff_conrad@msn.com) 1 April 2014
Configure
---------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/README.Win new/units-2.11/README.Win
--- old/units-2.10/README.Win 2014-03-25 22:14:41.000000000 +0100
+++ new/units-2.11/README.Win 2014-04-02 00:35:59.000000000 +0200
@@ -2,8 +2,8 @@
========================
If you have Unix-like utilities, you may be able to build and install in
much the same manner as on most Unix-like systems with a few
-adjustments. Version 2.10 was built using Microsoft Visual C/C++ 6.0,
-Visual C/C++ Express 9.0 and 10.0, and the MKS Toolkit version 9.5 under
+adjustments. Version 2.11 was built using Microsoft Visual C/C++ 6.0,
+Visual C/C++ Express 9.0 and 10.0, and the MKS Toolkit version 9.6 under
Windows XP, SP3--see README.MKS for the details.
Without Unix-Like Utilities
@@ -190,7 +190,7 @@
does not, set permissions manually by adding 'Modify' permission for
the appropriate groups (typically 'Power Users' and 'Users')
-This build and installation were tested for units 2.10 using Microsoft
+This build and installation were tested for units 2.11 using Microsoft
Visual C/C++ 6, 9.0, and 10.0 under Windows XP SP3.
- -- Jeff Conrad (jeff_conrad@msn.com) 24 March 2014
+ -- Jeff Conrad (jeff_conrad@msn.com) 1 April 2014
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/configure new/units-2.11/configure
--- old/units-2.10/configure 2014-02-28 22:44:13.000000000 +0100
+++ new/units-2.11/configure 2014-04-02 03:02:59.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for GNU units 2.10.
+# Generated by GNU Autoconf 2.68 for GNU units 2.11.
#
# Report bugs to .
#
@@ -560,8 +560,8 @@
# Identity of this package.
PACKAGE_NAME='GNU units'
PACKAGE_TARNAME='units'
-PACKAGE_VERSION='2.10'
-PACKAGE_STRING='GNU units 2.10'
+PACKAGE_VERSION='2.11'
+PACKAGE_STRING='GNU units 2.11'
PACKAGE_BUGREPORT='adrianm@gnu.org'
PACKAGE_URL='http://www.gnu.org/software/units/'
@@ -608,6 +608,7 @@
EGREP
GREP
CPP
+MKDIR_P
INSTALL_DATA
INSTALL_SCRIPT
INSTALL_PROGRAM
@@ -1218,7 +1219,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures GNU units 2.10 to adapt to many kinds of systems.
+\`configure' configures GNU units 2.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1284,7 +1285,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of GNU units 2.10:";;
+ short | recursive ) echo "Configuration of GNU units 2.11:";;
esac
cat <<\_ACEOF
@@ -1373,7 +1374,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-GNU units configure 2.10
+GNU units configure 2.11
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1742,7 +1743,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by GNU units $as_me 2.10, which was
+It was created by GNU units $as_me 2.11, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -2111,6 +2112,7 @@
+
saveCFLAGS=$CFLAGS
ac_ext=c
@@ -3098,6 +3100,48 @@
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sin" >&5
@@ -4402,7 +4446,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by GNU units $as_me 2.10, which was
+This file was extended by GNU units $as_me 2.11, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4457,7 +4501,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-GNU units config.status 2.10
+GNU units config.status 2.11
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
@@ -4468,6 +4512,7 @@
ac_pwd='$ac_pwd'
srcdir='$srcdir'
INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
test -n "\$AWK" || AWK=awk
_ACEOF
@@ -4907,6 +4952,11 @@
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
@@ -4961,6 +5011,7 @@
s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/configure.ac new/units-2.11/configure.ac
--- old/units-2.10/configure.ac 2014-02-28 22:42:48.000000000 +0100
+++ new/units-2.11/configure.ac 2014-04-02 03:02:55.000000000 +0200
@@ -1,7 +1,7 @@
dnl Copyright (C) 2006, 2014 Free Software Foundation, Inc
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(GNU units,2.10,adrianm@gnu.org)
+AC_INIT(GNU units,2.11,adrianm@gnu.org)
AC_PREREQ(2.59)
AC_ARG_PROGRAM
@@ -13,6 +13,7 @@
AC_SUBST(MKSFIX)
+
dnl Hack to set correct CFLAGS for cl compiler while still
dnl allowing user to override the CFLAGS setting
@@ -28,6 +29,7 @@
AC_C_CONST
AC_PROG_INSTALL
+AC_PROG_MKDIR_P
dnl Checks for libraries.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/currency.units new/units-2.11/currency.units
--- old/units-2.10/currency.units 2014-03-26 21:53:44.000000000 +0100
+++ new/units-2.11/currency.units 2014-04-03 00:00:12.000000000 +0200
@@ -178,172 +178,172 @@
# Currency exchange rates from Time Genie (www.timegenie.com)
-!message Currency exchange rates from www.timegenie.com on 2014-03-26
+!message Currency exchange rates from www.timegenie.com on 2014-04-02
-uaedirham 1|5.0709949133074 euro
-afghanafghani 1|79.328 euro
-albanialek 1|139.94 euro
-armeniadram 1|568.96594047254 euro
-angolakwanza 1|134.82 euro
-argentinapeso 1|11.013590844063 euro
-australiadollar 1|1.5069 euro
-arubaflorin 1|2.468231 euro
-azerbaijanmanat 1|1.0813209626722 euro
+uaedirham 1|5.0662750990302 euro
+afghanafghani 1|79.502 euro
+albanialek 1|140.11 euro
+armeniadram 1|571.85013876041 euro
+angolakwanza 1|134.58 euro
+argentinapeso 1|11.045718432511 euro
+australiadollar 1|1.4929 euro
+arubaflorin 1|2.46841 euro
+azerbaijanmanat 1|1.0810695798163 euro
bosniaconvertiblemark 1|1.95583 euro
-barbadosdollar 1|2.7578 euro
-bangladeshtaka 1|107.35 euro
+barbadosdollar 1|2.758 euro
+bangladeshtaka 1|106.99 euro
bulgarialev 1|1.9558 euro
-bahraindinar 1|0.5184664 euro
-burundifranc 1|2148 euro
-bermudadollar 1|1.3789 euro
-bruneidollar 1|1.7496 euro
-boliviaboliviano 1|9.5423 euro
-brazilreal 1|3.1990 euro
-bahamasdollar 1|1.3789 euro
-bhutanngultrum 1|83.3530 euro
-botswanapula 1|12.224 euro
-belarusruble 1|13624.246877296 euro
-belizedollar 1|2.7578 euro
-canadadollar 1|1.5413 euro
-drcfranccongolais 1|1276.3 euro
-swissfranc 1|1.2197 euro
-chilepeso 1|769.85 euro
-sintmaartencaribbeanguilder 1|2.468231 euro
-chinayuan 1|8.5525 euro
-colombiapeso 1|2725.1327433628 euro
-costaricacolon 1|754.27 euro
-cubapeso 1|1.3813 euro
+bahraindinar 1|0.518504 euro
+burundifranc 1|2145.3 euro
+bermudadollar 1|1.3790 euro
+bruneidollar 1|1.7365 euro
+boliviaboliviano 1|9.5275 euro
+brazilreal 1|3.1338 euro
+bahamasdollar 1|1.3790 euro
+bhutanngultrum 1|82.6950 euro
+botswanapula 1|12.105 euro
+belarusruble 1|13666.24907885 euro
+belizedollar 1|2.758 euro
+canadadollar 1|1.5241 euro
+drcfranccongolais 1|1269.2 euro
+swissfranc 1|1.2178 euro
+chilepeso 1|760.28971028971 euro
+sintmaartencaribbeanguilder 1|2.46841 euro
+chinayuan 1|8.5592 euro
+colombiapeso 1|2708.3629893238 euro
+costaricacolon 1|752.8 euro
+cubapeso 1|1.3788 euro
capeverdeescudo 1|110.265 euro
-czechkoruna 1|27.395 euro
-djiboutifranc 1|245.0594869 euro
-denmarkkrona 1|7.4647 euro
-dominicanrepublicpeso 1|59.486 euro
-algeriadinar 1|107.21 euro
-egyptpound 1|9.6100917431193 euro
-eritreanakfa 1|20.6835 euro
-ethiopianbirr 1|26.672 euro
-euro 1.3789 US$
-fijidollar 1|0.3931747934145 euro
-falklandislandspound 1|0.83480 euro
-ukpound 1|0.83480 euro
-georgialari 1|2.4119827776838 euro
-guernseypound 1|0.83480 euro
-ghanacedi 1|3.681731229077 euro
-gibraltarpound 1|0.83480 euro
-gambiadalasi 1|52.904 euro
-guineafranc 1|9694.1 euro
-guatemalaquetzal 1|10.85059901339 euro
-guyanadollar 1|293.8 euro
-hongkongdollar 1|10.6959 euro
-honduraslempira 1|26.482628138975 euro
-croatiakuna 1|7.6625 euro
-haitigourde 1|60.538 euro
-hungariaforint 1|311.81 euro
-indonesiarupiah 1|15736.58 euro
-israelnewshekel 1|4.8080 euro
-manxpound 1|0.83480 euro
-indiarupee 1|83.3530 euro
-iraqdinar 1|1609.3 euro
-iranrial 1|0.0434 euro
-icelandkrona 1|157.00762066046 euro
-jerseypound 1|0.83480 euro
-jamaicadollar 1|150.361328125 euro
-jordandinar 1|0.9776401 euro
-japanyen 1|141.22 euro
-kenyaschilling 1|119.21 euro
-kyrgyzstansom 1|75.22047787108 euro
-cambodiariel 1|5497.6 euro
+czechkoruna 1|27.449 euro
+djiboutifranc 1|245.077259 euro
+denmarkkrona 1|7.4655 euro
+dominicanrepublicpeso 1|59.36 euro
+algeriadinar 1|107.78 euro
+egyptpound 1|9.6136728147554 euro
+eritreanakfa 1|20.685 euro
+ethiopianbirr 1|26.705 euro
+euro 1.3790 US$
+fijidollar 1|0.39393748424502 euro
+falklandislandspound 1|0.82920 euro
+ukpound 1|0.82920 euro
+georgialari 1|2.4039276686759 euro
+guernseypound 1|0.82920 euro
+ghanacedi 1|3.7061115169223 euro
+gibraltarpound 1|0.82920 euro
+gambiadalasi 1|52.532 euro
+guineafranc 1|9693.1 euro
+guatemalaquetzal 1|10.864382583869 euro
+guyanadollar 1|292.72 euro
+hongkongdollar 1|10.6971 euro
+honduraslempira 1|26.531288129685 euro
+croatiakuna 1|7.6485 euro
+haitigourde 1|61.123 euro
+hungariaforint 1|307.79 euro
+indonesiarupiah 1|15595.18 euro
+israelnewshekel 1|4.7931 euro
+manxpound 1|0.82920 euro
+indiarupee 1|82.6950 euro
+iraqdinar 1|1668.4 euro
+iranrial 1|0.0429 euro
+icelandkrona 1|155.55359838953 euro
+jerseypound 1|0.82920 euro
+jamaicadollar 1|151.45273631841 euro
+jordandinar 1|0.977711 euro
+japanyen 1|142.53 euro
+kenyaschilling 1|119.2 euro
+kyrgyzstansom 1|75.160492826457 euro
+cambodiariel 1|5535.9 euro
comorosfranc 1|491.96775 euro
-northkoreawon 1|179.41 euro
-southkoreawon 1|1487.51 euro
-kuwaitdinar 1|0.38880303618045 euro
-caymanislandsdollar 1|1.1490833333333 euro
-kazakhstantenge 1|251.69811320755 euro
-laokip 1|11093 euro
-lebanonpound 1|2078.69175 euro
-srilankanrupee 1|0.0055640061558457 euro
-liberiadollar 1|111.71 euro
+northkoreawon 1|178.76 euro
+southkoreawon 1|1460.04 euro
+kuwaitdinar 1|0.38854912411925 euro
+caymanislandsdollar 1|1.1491666666667 euro
+kazakhstantenge 1|251.18650954896 euro
+laokip 1|11090 euro
+lebanonpound 1|2078.8425 euro
+srilankanrupee 1|0.0055276661859103 euro
+liberiadollar 1|110.3 euro
lithuanialita 1|3.4528 euro
latvialat 1|0.702804 euro
-libyadinar 1|1.7147 euro
-moroccodirham 1|11.230488694384 euro
-moldovaleu 1|18.5426 euro
-madagascarariary 1|3243.3 euro
-macedoniadenar 1|61.741 euro
-myanmarkyat 1|1327.3275862069 euro
-mongoliatugrik 1|0.0308 euro
-macaupataca 1|11.016777 euro
-mauritaniaouguiya 1|402.65 euro
-mauritiusrupee 1|41.439 euro
-maldiverufiyaa 1|21.286 euro
-malawikwacha 1|577.38 euro
-mexicopeso 1|18.1256 euro
-malaysiaringgit 1|4.5584 euro
-mozambicanmetical 1|44.823 euro
-namibiadollar 1|14.8605 euro
-nigerianaira 1|227.78 euro
-nicaraguacordobaoro 1|34.901 euro
-norwaykrone 1|8.3400 euro
-nepalrupee 1|133.3648 euro
-newzealanddollar 1|1.6138 euro
-omanrial 1|0.53018302060904 euro
-panamabalboa 1|1.3789 euro
-perunuevosol 1|3.8734591194969 euro
-papuanewguineakina 1|0.26133076181292 euro
-philippinepeso 1|62.224 euro
-pakistanrupee 1|0.0074226327779557 euro
-polandzloty 1|4.1983 euro
-paraguayguarani 1|6120.8 euro
-qatarrial 1|5.019196 euro
-romanianewlei 1|4.4663 euro
-serbiadinar 1|115.76535517625 euro
-russiarouble 1|49.3027 euro
-rwandafranc 1|941.38 euro
-saudiarabiariyal 1|5.170875 euro
-solomonislandsdollar 1|0.099959906984203 euro
-seychellesrupee 1|16.804 euro
-sudanpound 1|8.2408 euro
-swedenkrona 1|8.8576 euro
-singaporedollar 1|1.7502 euro
-sainthelenapound 1|0.83480 euro
-sierraleoneleone 1|5986.6 euro
-somaliaschilling 1|1426.5 euro
-surinamedollar 1|4.5583 euro
-saotome&principedobra 1|24527 euro
-elsalvadorcolon 1|12.083 euro
-syriapound 1|198.95 euro
-swazilandlilangeni 1|14.8605 euro
-thailandbaht 1|44.919 euro
-tajikistansomoni 1|6.6275645149761 euro
-turkmenistanmanat 1|3.9348527289704 euro
-tunisiadinar 1|2.1808781869688 euro
-tongapa'anga 1|0.40743888089946 euro
-turkeylira 1|3.0751 euro
-trinidadandtobagodollar 1|8.61881445 euro
-tuvaludollar 1|1.5069 euro
-taiwandollar 1|42.056815077848 euro
-tanzaniashilling 1|2243.2 euro
-ukrainehryvnia 1|15.129261239155 euro
-ugandaschilling 1|3478 euro
-uruguaypeso 1|31.079 euro
-uzbekistansum 1|3087.8601165695 euro
-venezuelabolivar 1|8.6792559188275 euro
-vietnamdong 1|29050.943396226 euro
-vanuatuvatu 1|0.0074937481965952 euro
-samoatala 1|0.320726561696 euro
+libyadinar 1|1.7227 euro
+moroccodirham 1|11.224926253687 euro
+moldovaleu 1|18.5451 euro
+madagascarariary 1|3258.1 euro
+macedoniadenar 1|61.681 euro
+myanmarkyat 1|1323.5652173913 euro
+mongoliatugrik 1|0.0306 euro
+macaupataca 1|11.018013 euro
+mauritaniaouguiya 1|411.57 euro
+mauritiusrupee 1|41.502 euro
+maldiverufiyaa 1|21.234 euro
+malawikwacha 1|551.52 euro
+mexicopeso 1|18.0263 euro
+malaysiaringgit 1|4.5039 euro
+mozambicanmetical 1|42.95 euro
+namibiadollar 1|14.6168 euro
+nigerianaira 1|227.32 euro
+nicaraguacordobaoro 1|35.335 euro
+norwaykrone 1|8.2270 euro
+nepalrupee 1|132.312 euro
+newzealanddollar 1|1.5903 euro
+omanrial 1|0.53022147031683 euro
+panamabalboa 1|1.3790 euro
+perunuevosol 1|3.8730279898219 euro
+papuanewguineakina 1|0.26075167897218 euro
+philippinepeso 1|61.744 euro
+pakistanrupee 1|0.0073544118235318 euro
+polandzloty 1|4.1779 euro
+paraguayguarani 1|6128.8 euro
+qatarrial 1|5.01956 euro
+romanianewlei 1|4.4654 euro
+serbiadinar 1|115.46450162814 euro
+russiarouble 1|48.4420 euro
+rwandafranc 1|939.68 euro
+saudiarabiariyal 1|5.17125 euro
+solomonislandsdollar 1|0.099345221067353 euro
+seychellesrupee 1|16.797 euro
+sudanpound 1|8.2259 euro
+swedenkrona 1|8.9002 euro
+singaporedollar 1|1.7380 euro
+sainthelenapound 1|0.82920 euro
+sierraleoneleone 1|5919.2 euro
+somaliaschilling 1|1358.3 euro
+surinamedollar 1|4.55 euro
+saotome&principedobra 1|24483 euro
+elsalvadorcolon 1|12.063 euro
+syriapound 1|201.39 euro
+swazilandlilangeni 1|14.6168 euro
+thailandbaht 1|44.632 euro
+tajikistansomoni 1|6.6263265087362 euro
+turkmenistanmanat 1|3.9311287758347 euro
+tunisiadinar 1|2.1809714858862 euro
+tongapa'anga 1|0.40810863746164 euro
+turkeylira 1|2.9659 euro
+trinidadandtobagodollar 1|8.6194395 euro
+tuvaludollar 1|1.4929 euro
+taiwandollar 1|41.804449327108 euro
+tanzaniashilling 1|2254.3 euro
+ukrainehryvnia 1|15.675307577065 euro
+ugandaschilling 1|3518.7 euro
+uruguaypeso 1|31.071 euro
+uzbekistansum 1|3113.6836803224 euro
+venezuelabolivar 1|8.6977142857143 euro
+vietnamdong 1|29271.153846154 euro
+vanuatuvatu 1|0.0076771070901787 euro
+samoatala 1|0.31977695927972 euro
centralafricancfafranc 1|655.957 euro
-silverounce 1|0.49723 euro
-goldounce 1|30.991 euro
-eastcaribbeandollar 1|3.72303 euro
-specialdrawingrights 1|1.5129261239155 euro
+silverounce 1|0.46425 euro
+goldounce 1|30.148 euro
+eastcaribbeandollar 1|3.7233 euro
+specialdrawingrights 1|1.5675307577065 euro
westafricanfranc 1|655.957 euro
-palladiumounce 1|17.32 euro
+palladiumounce 1|18.132 euro
cfpfranc 1|119.33 euro
-platinumounce 1|33.866 euro
-yemenrial 1|296.84 euro
-southafricarand 1|14.8605 euro
-zambiakwacha 1|8.0392 euro
-zimbabwedollar 1|445.27 euro
+platinumounce 1|33.103 euro
+yemenrial 1|296.3 euro
+southafricarand 1|14.6168 euro
+zambiakwacha 1|8.4759 euro
+zimbabwedollar 1|444.46 euro
# Precious metals prices from http://services.packetizer.com/spotprices/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/mkinstalldirs new/units-2.11/mkinstalldirs
--- old/units-2.10/mkinstalldirs 2005-04-24 20:14:56.000000000 +0200
+++ new/units-2.11/mkinstalldirs 1970-01-01 01:00:00.000000000 +0100
@@ -1,32 +0,0 @@
-#! /bin/sh
-# mkinstalldirs --- make directory hierarchy
-# Author: Noah Friedman
-# Created: 1993-05-16
-# Last modified: 1994-03-25
-# Public domain
-
-errstatus=0
-
-for file in ${1+"$@"} ; do
- set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
- shift
-
- pathcomp=
- for d in ${1+"$@"} ; do
- pathcomp="$pathcomp$d"
- case "$pathcomp" in
- -* ) pathcomp=./$pathcomp ;;
- esac
-
- if test ! -d "$pathcomp"; then
- echo "mkdir $pathcomp" 1>&2
- mkdir "$pathcomp" || errstatus=$?
- fi
-
- pathcomp="$pathcomp/"
- done
-done
-
-exit $errstatus
-
-# mkinstalldirs ends here
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/units.c new/units-2.11/units.c
--- old/units-2.10/units.c 2014-03-20 21:51:21.000000000 +0100
+++ new/units-2.11/units.c 2014-04-02 03:03:26.000000000 +0200
@@ -1,4 +1,4 @@
-#define VERSION "2.10"
+#define VERSION "2.11"
/*
* units, a program for units conversion
@@ -3825,7 +3825,7 @@
*/
char *
-getprogname(char *path)
+getprogramname(char *path)
{
size_t proglen;
char *programname;
@@ -3838,7 +3838,7 @@
if ((p = strrchr(path, '.')) && isexe(p))
proglen -= 4;
- programname = (char *) mymalloc(proglen + 1, "(getprogname)");
+ programname = (char *) mymalloc(proglen + 1, "(getprogramname)");
strncpy(programname, path, proglen);
programname[proglen] = '\0';
@@ -4558,6 +4558,8 @@
case 'h':
usage();
exit(EXIT_SUCCESS);
+ case 0: break; /* This is reached if a long option is
+ processed with no return value set. */
case '?': /* Invalid option or missing argument returns '?' */
default:
helpmsg(); /* helpmsg() exits with error */
@@ -5399,7 +5401,7 @@
parserflags.minusminus = 1; /* '-' character gives subtraction */
parserflags.oldstar = 0; /* '*' has same precedence as '/' */
- progname = getprogname(argv[0]);
+ progname = getprogramname(argv[0]);
/*
unless UNITSFILE and LOCALEMAP have absolute pathnames, we may need
Files old/units-2.10/units.dvi and new/units-2.11/units.dvi differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/units.info new/units-2.11/units.info
--- old/units-2.10/units.info 2014-03-20 21:44:16.000000000 +0100
+++ new/units-2.11/units.info 2014-03-27 21:54:47.000000000 +0100
@@ -1,5 +1,5 @@
This is units.info, produced by makeinfo version 4.13 from
-./units.texinfo.
+/home/adrian/src/units/units.texinfo.
This manual is for GNU Units (version 2.10), which performs units
conversions and units calculations.
@@ -3444,48 +3444,48 @@
Tag Table:
-Node: Top859
-Node: Overview2340
-Ref: Overview-Footnote-14102
-Node: Interactive Use4296
-Node: Command Line Use9884
-Node: Unit Definitions11131
-Node: Unit Expressions17271
-Node: Operators17884
-Node: Sums and Differences of Units23000
-Node: Numbers as Units25045
-Node: Built-in Functions25851
-Node: Previous Result27134
-Node: Complicated Unit Expressions29461
-Node: Backwards Compatibility31097
-Node: Nonlinear Conversions33000
-Node: Temperature Conversions33439
-Node: Other Nonlinear Units35503
-Node: Unit Lists38648
-Node: Logging Calculations47419
-Node: Invoking Units49564
-Ref: Invoking Units-Footnote-161872
-Node: Defining Your Own Units62126
-Node: Units Data Files62664
-Node: Defining New Units65151
-Node: Defining Nonlinear Units69059
-Node: Piecewise Linear Units77238
-Node: Defining Unit List Aliases80996
-Node: Numeric Output Format82157
-Node: Format Specification83432
-Node: Flags85403
-Node: Field Width87502
-Node: Precision88537
-Node: Localization90994
-Node: Locale91440
-Node: Additional Localization93452
-Node: Environment Vars97908
-Node: Data Files100472
-Node: Unicode Support102259
-Node: Readline Support105221
-Node: Currency106627
-Node: Database Syntax107863
-Node: GNU Free Documentation License109927
-Node: Index135079
+Node: Top880
+Node: Overview2361
+Ref: Overview-Footnote-14123
+Node: Interactive Use4317
+Node: Command Line Use9905
+Node: Unit Definitions11152
+Node: Unit Expressions17292
+Node: Operators17905
+Node: Sums and Differences of Units23021
+Node: Numbers as Units25066
+Node: Built-in Functions25872
+Node: Previous Result27155
+Node: Complicated Unit Expressions29482
+Node: Backwards Compatibility31118
+Node: Nonlinear Conversions33021
+Node: Temperature Conversions33460
+Node: Other Nonlinear Units35524
+Node: Unit Lists38669
+Node: Logging Calculations47440
+Node: Invoking Units49585
+Ref: Invoking Units-Footnote-161893
+Node: Defining Your Own Units62147
+Node: Units Data Files62685
+Node: Defining New Units65172
+Node: Defining Nonlinear Units69080
+Node: Piecewise Linear Units77259
+Node: Defining Unit List Aliases81017
+Node: Numeric Output Format82178
+Node: Format Specification83453
+Node: Flags85424
+Node: Field Width87523
+Node: Precision88558
+Node: Localization91015
+Node: Locale91461
+Node: Additional Localization93473
+Node: Environment Vars97929
+Node: Data Files100493
+Node: Unicode Support102280
+Node: Readline Support105242
+Node: Currency106648
+Node: Database Syntax107884
+Node: GNU Free Documentation License109948
+Node: Index135100
End Tag Table
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/units_cur2 new/units-2.11/units_cur2
--- old/units-2.10/units_cur2 2014-03-07 22:37:28.000000000 +0100
+++ new/units-2.11/units_cur2 2014-04-01 22:59:29.000000000 +0200
@@ -104,7 +104,8 @@
try:
if outfile == '-':
- outfile = sys.stdout
+ info = codecs.lookup('utf8')
+ outfile = codecs.StreamReaderWriter(sys.stdout, info.streamreader, info.streamwriter)
else:
outfile = codecs.open(outfile,'w','utf8')
except IOError, exc:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/units-2.10/units_cur3 new/units-2.11/units_cur3
--- old/units-2.10/units_cur3 2014-03-07 22:37:38.000000000 +0100
+++ new/units-2.11/units_cur3 2014-04-01 22:59:35.000000000 +0200
@@ -104,7 +104,8 @@
try:
if outfile == '-':
- outfile = sys.stdout
+ info = codecs.lookup('utf8')
+ outfile = codecs.StreamReaderWriter(sys.stdout, info.streamreader, info.streamwriter)
else:
outfile = codecs.open(outfile,'w','utf8')
except IOError as exc: