audacious and Dependency audacious-plugins libbinio First Release.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static \
|
||||
--enable-iostream \
|
||||
--enable-string")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ChangeLog", "COPYING", "AUTHORS", "NEWS", "README", "TODO")
|
||||
@@ -0,0 +1,11 @@
|
||||
diff -p -up libbinio-1.4/src/binwrap.cpp~ libbinio-1.4/src/binwrap.cpp
|
||||
--- libbinio-1.4/src/binwrap.cpp~ 2003-03-08 17:02:34.000000000 +0100
|
||||
+++ libbinio-1.4/src/binwrap.cpp 2009-05-22 14:20:31.000000000 +0200
|
||||
@@ -17,6 +17,7 @@
|
||||
* Copyright (C) 2002, 2003 Simon Peter <dn.tlp@gmx.net>
|
||||
*/
|
||||
|
||||
+#include <cstdio>
|
||||
#include "binwrap.h"
|
||||
|
||||
#if BINIO_ENABLE_IOSTREAM
|
||||
@@ -0,0 +1,35 @@
|
||||
--- libbinio-1.4/src/binfile.cpp.stringconversion 2008-06-10 19:00:43.349866044 +0200
|
||||
+++ libbinio-1.4/src/binfile.cpp 2008-06-10 19:00:47.585864964 +0200
|
||||
@@ -151,12 +151,12 @@ binofstream::~binofstream()
|
||||
|
||||
void binofstream::open(const char *filename, const Mode mode)
|
||||
{
|
||||
- char *modestr = "wb";
|
||||
+ std::string modestr = "wb";
|
||||
|
||||
// Check if append mode is desired
|
||||
if(mode & Append) modestr = "ab";
|
||||
|
||||
- f = fopen(filename, modestr);
|
||||
+ f = fopen(filename, modestr.c_str());
|
||||
|
||||
if(f == NULL)
|
||||
switch(errno) {
|
||||
@@ -209,7 +209,7 @@ binfstream::~binfstream()
|
||||
|
||||
void binfstream::open(const char *filename, const Mode mode)
|
||||
{
|
||||
- char *modestr = "w+b"; // Create & at beginning
|
||||
+ std::string modestr = "w+b"; // Create & at beginning
|
||||
int ferror = 0;
|
||||
|
||||
// Apply desired mode
|
||||
@@ -220,7 +220,7 @@ void binfstream::open(const char *filena
|
||||
if(mode & Append) // Create & append
|
||||
modestr[0] = 'a';
|
||||
|
||||
- f = fopen(filename, modestr);
|
||||
+ f = fopen(filename, modestr.c_str());
|
||||
|
||||
// NoCreate & append (emulated -- not possible with standard C fopen())
|
||||
if(f != NULL && (mode & Append) && (mode & NoCreate))
|
||||
@@ -0,0 +1,51 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libbinio</Name>
|
||||
<Homepage>http://libbinio.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Binary I/O stream class library</Summary>
|
||||
<Description>libbinio is a binary I/O stream class library.</Description>
|
||||
<Archive type="tarbz2" sha1sum="47db5f7448245f38b9d26c8b11f53a07b6f6da73">mirrors://sourceforge/libbinio/libbinio-1.4.tar.bz2</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">gcc44.patch</Patch>
|
||||
<Patch level="1">string-conversion.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libbinio</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libbinio-devel</Name>
|
||||
<Summary>Development headers for libbinio</Summary>
|
||||
<Description>libbinio-devel provides development headers for libbinio.</Description>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libbinio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2018-12-06</Date>
|
||||
<Version>1.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ali Cengiz KLurt</Name>
|
||||
<Email>alicengizkurt@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,17 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libbinio</Name>
|
||||
<Summary xml:lang="tr">İkili I/O yayın sınıfı kitaplığı</Summary>
|
||||
<Description xml:lang="tr">libbinio ikili I/O yayın sınıfı kitaplığıdır.</Description>
|
||||
<Summary xml:lang="en">Binary I/O stream class library</Summary>
|
||||
<Description xml:lang="en">libbinio is a binary I/O stream class library.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libbinio-devel</Name>
|
||||
<Summary xml:lang="tr">libbinio için geliştirme başlıkları</Summary>
|
||||
<Description xml:lang="tr">libbinio için geliştirme başlıklarını içerir.</Description>
|
||||
<Summary xml:lang="en">Headers I/O stream class library</Summary>
|
||||
<Description xml:lang="en">libbinio is a binary I/O stream class library.</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user