Summary: | app-misc/splitpipe - a program that allows the output of a program to span multiple volumes | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel <danny> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | dirk.heinrichs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://ds9a.nl/splitpipe/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
very simple ebuild
One possible splitpipe-0.4 ebuild |
Description
Daniel
2008-07-05 02:56:02 UTC
Created attachment 159889 [details]
very simple ebuild
Very simple ebuild which works for me on stable amd64.
Comment on attachment 159889 [details] very simple ebuild ><HTML><HEAD/><BODY><PRE>S=${WORKDIR}/${P} >DESCRIPTION="Multi-Volume Tool" >HOMEPAGE="http://ds9a.nl/splitpipe" >SRC_URI="http://ds9a.nl/splitpipe/${P}.tar.gz" > > >DEPEND="" > >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="x86 amd64" > >src_compile() { >emake CFLAGS="$CFLAGS" || die >} > >src_install() { >make \ >DESTDIR=${D} \ >prefix=${D}/usr \ >mandir=${D}/usr/share/man \ >infodir=${D}/usr/share/info \ >install || die > >} ></PRE></BODY></HTML> Created attachment 160194 [details]
One possible splitpipe-0.4 ebuild
Modified version of Daniel's original ebuild. Header added, (R)DEPENDS added, unnecessary(?) methods dropped, src_install modified to use doman, dobin and dodoc.
Seems to emerge and to be writing to media nicely on amd64, no idea of x86 at the moment. However, restoring (joinpipe) appeared to have some problems. I couldn't restore the last file on first disk nor any files on later disks. Maybe this is an issue with wodim which I was writing CD-Rs with (cdrkit 1.1.8, not cdrtools)?
Anyway, feel free to modify onwards.
As per discussion on gentoo-user, here's what I get when I try to compile this thing manually: # LANG="" make g++ -Wall -g -O2 -DVERSION=\"0.4\" -c -o splitpipe.o splitpipe.cc In file included from splitpipe.cc:34: md5.hh:18: warning: 'MD5Summer' has a field 'MD5Summer::d_context' whose type uses the anonymous namespace splitpipe.cc: In function 'uint64_t getSize(const char*)': splitpipe.cc:79: error: 'strcasecmp' was not declared in this scope splitpipe.cc: In member function 'void SplitpipeClass::spawnOutputThread()': splitpipe.cc:257: error: 'strcpy' was not declared in this scope splitpipe.cc:261: warning: deprecated conversion from string constant to 'char*' splitpipe.cc:262: warning: deprecated conversion from string constant to 'char*' make: *** [splitpipe.o] Error 1 # LANG="" g++ -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /gentoo/build/sys-devel-gcc-4.3.1-r1/work/gcc-4.3.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --disable-libmudflap --disable-libssp --enable-cld --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.1-r1 p1.1' Thread model: posix gcc version 4.3.1 (Gentoo 4.3.1-r1 p1.1) On amd64 it compiles OK with: gcc -v Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /home/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.2 (Gentoo 4.1.2 p1.1) Comment on attachment 160194 [details]
One possible splitpipe-0.4 ebuild
Just noticed over an emptytree rebuild that this splitpipe-0.4 ebuild won't compile with current gcc4xx/glibc210 without some (possibly minor?) patching. Deprecating the ebuild.
|