Mailinglist Archive: opensuse-commit (640 mails)

< Previous Next >
commit ht for openSUSE:Factory

Hello community,

here is the log from the commit of package ht for openSUSE:Factory
checked in at Wed Apr 6 09:48:44 CEST 2011.



--------
New Changes file:

--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/ht/ht.changes 2011-03-29 00:57:06.000000000
+0200
@@ -0,0 +1,11 @@
+-------------------------------------------------------------------
+Mon Mar 28 22:56:35 UTC 2011 - jengelh@xxxxxxxxxx
+
+- Enable detection of inverse hyperbolic math functions and make
+ them available in the evaluator.
+
+-------------------------------------------------------------------
+Wed Mar 23 13:03:48 UTC 2011 - jengelh@xxxxxxxxxx
+
+- Initial package for build.opensuse.org
+

calling whatdependson for head-i586


New:
----
ht-2.0.18.tar.xz
ht-enable-math.diff
ht-locale-fix.diff
ht-search-progress.diff
ht.changes
ht.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ht.spec ++++++
#
# spec file for package ht
#
# Copyright (c) 2011 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name: ht
Version: 2.0.18
Release: 1
Group: Development/Tools/Debuggers
Summary: Disassembler, object dumper and hex editor
License: GPL2
Url: http://hte.sf.net/

#Source-DL: http://downloads.sf.net/%name/%name-%version.tar.bz2
Source: %name-%version.tar.xz
Patch1: ht-locale-fix.diff
Patch2: ht-search-progress.diff
Patch3: ht-enable-math.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison flex
BuildRequires: gcc-c++ libstdc++-devel lzo-devel ncurses-devel xz

%description
This program is a file viewer, editor and analyzer for text, binary,
and (especially) executable files.

Authors:
--------
Stefan Weyergraf
Sebastian Biallas

%prep
%setup -q
%patch -P 1 -P 2 -P 3 -p1

%build
autoreconf -fi;
%configure --enable-release
make %{?_smp_mflags};

%install
b="%buildroot";
make install DESTDIR="$b";

%files
%defattr(-,root,root)
%_bindir/%name
%doc AUTHORS ChangeLog KNOWNBUGS NEWS README TODO

%changelog
++++++ ht-enable-math.diff ++++++
From: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: 2011-03-29 00:54 UTC+0200

---
configure.in | 1 +
1 file changed, 1 insertion(+)

Index: ht-2.0.18/configure.in
===================================================================
--- ht-2.0.18.orig/configure.in
+++ ht-2.0.18/configure.in
@@ -199,6 +199,7 @@ AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(long int, 4)

dnl Checks for library functions.
+HT_LIBS="$HT_LIBS -lm"
AC_CHECK_FUNCS(asinh acosh atanh)

AC_OUTPUT([
++++++ ht-locale-fix.diff ++++++
From: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: sometime 2006-2007?

This had become necessary when wanting to use HT on UTF-8 xterm terminals.
---
configure.in | 2 +-
io/posix/sysdisplay.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Index: ht-2.0.17/configure.in
===================================================================
--- ht-2.0.17.orig/configure.in
+++ ht-2.0.17/configure.in
@@ -175,7 +175,7 @@ AC_CHECK_HEADERS([stdint.h])
dnl AC_CONFIG_HEADER(config.h)
CURSES_LIB=
if test "x$NEED_CURSES" = "x1"; then
- AC_CHECK_HEADERS(ncurses.h, AC_DEFINE(CURSES_HDR, <ncurses.h>, [This
system provides (n)curses.h]) CURSES_LIB=ncurses)
+ AC_CHECK_HEADERS(ncurses.h, AC_DEFINE(CURSES_HDR, <ncurses.h>, [This
system provides (n)curses.h/wide]) CURSES_LIB=ncursesw)
if test "x$CURSES_LIB" = "x"; then
AC_CHECK_HEADERS(curses.h, AC_DEFINE(CURSES_HDR, <curses.h>,
[This system provides (n)curses.h]) CURSES_LIB=curses)
if test "x$CURSES_LIB" = "x"; then
Index: ht-2.0.17/io/posix/sysdisplay.cc
===================================================================
--- ht-2.0.17.orig/io/posix/sysdisplay.cc
+++ ht-2.0.17/io/posix/sysdisplay.cc
@@ -301,7 +301,7 @@ void CursesSystemDisplay::term_on()

setCursor(0, 0, CURSOR_OFF);

-// ::setlocale(LC_ALL, "");
+ ::setlocale(LC_ALL, "");

// terminal = ::newterm(NULL, stdout, stdin);
win = ::initscr();
++++++ ht-search-progress.diff ++++++
From: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: 2008?

Knowing how far a search has progressed (and as such estimating on how
long it can take) is tremendously useful.
---
htsearch.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Index: ht-2.0.17/htsearch.cc
===================================================================
--- ht-2.0.17.orig/htsearch.cc
+++ ht-2.0.17/htsearch.cc
@@ -531,10 +531,11 @@ bool search_bin_process(Object *context,
}
ctx->o -= ctx->patlen-1;

- int p = (int)(((double)(ctx->o - ctx->ofs))*100/ctx->len);
+ double p = ((double)(ctx->o - ctx->ofs))*100/ctx->len;

char status[64];
- ht_snprintf(status, sizeof status, "%d %%", p);
+ ht_snprintf(status, sizeof status, "%.1f %% (%llu MB)",
+ p, (unsigned long long)ctx->o >> 20);
progress_indicator->settext(status);

return true;

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages