Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (caaa10c74d1347e168a59de69b49a6bf918befb9)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (caaa10c74d1347e168a59de69b49a6bf918befb9)
  • Date: Mon, 1 Jul 2013 13:34:14 -0500

GIT changes to master grimoire by Ladislav Hagara <hgr AT vabo.cz>:

ChangeLog | 3 +++
libs/libbinio/DEPENDS | 1 +
libs/libbinio/DETAILS | 17 +++++++++++++++++
libs/libbinio/HISTORY | 3 +++
libs/libbinio/PRE_BUILD | 4 ++++
libs/libbinio/eof.diff | 28 ++++++++++++++++++++++++++++
libs/libbinio/libbinio-1.4.tar.bz2.sig |binary
7 files changed, 56 insertions(+)

New commits:
commit caaa10c74d1347e168a59de69b49a6bf918befb9
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

libs/libbinio: new spell, binary I/O stream class library

diff --git a/ChangeLog b/ChangeLog
index 93f2e3f..f309a85 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2013-07-01 Ladislav Hagara <hgr AT vabo.cz>
+ * libs/libbinio: new spell, binary I/O stream class library
+
2013-06-28 Treeve Jelbert <treeve AT sourcemage.org>
* python-pypi/pybindgen: generate Python bindings for C/C++ code

diff --git a/libs/libbinio/DEPENDS b/libs/libbinio/DEPENDS
new file mode 100755
index 0000000..f148724
--- /dev/null
+++ b/libs/libbinio/DEPENDS
@@ -0,0 +1 @@
+depends -sub CXX gcc
diff --git a/libs/libbinio/DETAILS b/libs/libbinio/DETAILS
new file mode 100755
index 0000000..862f77d
--- /dev/null
+++ b/libs/libbinio/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=libbinio
+ VERSION=1.4
+ SOURCE=$SPELL-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+ SOURCE_GPG="gurus.gpg:${SOURCE}.sig"
+ LICENSE[0]=GPL
+ WEB_SITE=http://libbinio.sourceforge.net/
+ ENTERED=20130701
+ SHORT="binary I/O stream class library"
+cat << EOF
+The binary I/O stream class library presents a platform-independent way to
+access binary data streams in C++. The library is hardware independent in
+the form that it transparently converts between the different forms of
+machine-internal binary data representation. It further employs no special
+I/O protocol and can be used on arbitrary binary data sources.
+EOF
diff --git a/libs/libbinio/HISTORY b/libs/libbinio/HISTORY
new file mode 100644
index 0000000..ecf9281
--- /dev/null
+++ b/libs/libbinio/HISTORY
@@ -0,0 +1,3 @@
+2013-07-01 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS, DEPENDS, PRE_BUILD, eof.diff: spell created, version 1.4
+ eof.diff from Arch
diff --git a/libs/libbinio/PRE_BUILD b/libs/libbinio/PRE_BUILD
new file mode 100755
index 0000000..80fb7ba
--- /dev/null
+++ b/libs/libbinio/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY/src" &&
+
+patch -p0 < "$SPELL_DIRECTORY/eof.diff"
diff --git a/libs/libbinio/eof.diff b/libs/libbinio/eof.diff
new file mode 100644
index 0000000..d4e54c2
--- /dev/null
+++ b/libs/libbinio/eof.diff
@@ -0,0 +1,28 @@
+--- binwrap.cpp 2003/03/08 16:02:34 1.10
++++ binwrap.cpp 2009/09/29 22:06:39 1.11
+@@ -14,7 +14,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * binwrap.cpp - Binary I/O wrapper, using standard iostreams library
+- * Copyright (C) 2002, 2003 Simon Peter <dn.tlp AT gmx.net>
++ * Copyright (C) 2002, 2003, 2009 Simon Peter <dn.tlp AT gmx.net>
+ */
+
+ #include "binwrap.h"
+@@ -47,9 +47,12 @@
+ {
+ if(!in) { err = NotOpen; return 0; }
+
+- int i = in->get();
+- if(i == EOF) err |= Eof;
+- return (Byte)i;
++ if(!in->eof()) {
++ return (Byte)in->get();
++ } else {
++ err |= Eof;
++ return 0;
++ }
+ }
+
+ long biniwstream::pos()
+
diff --git a/libs/libbinio/libbinio-1.4.tar.bz2.sig
b/libs/libbinio/libbinio-1.4.tar.bz2.sig
new file mode 100644
index 0000000..19e3822
Binary files /dev/null and b/libs/libbinio/libbinio-1.4.tar.bz2.sig differ



  • [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (caaa10c74d1347e168a59de69b49a6bf918befb9), Ladislav Hagara, 07/01/2013

Archive powered by MHonArc 2.6.24.

Top of Page