Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New ebuild: cdrskin, cdrecord wrapper for libburn
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Mon Jan 16, 2006 9:12 am    Post subject: New ebuild: cdrskin, cdrecord wrapper for libburn Reply with quote

I saw this wrapper for libburn i wanted to test and made an ebuild for it.

This is experimental and might hose your system.

It installs a slightly patched libburn which does not interferes with the system libburn which you might have installed.

    Known deficiencies:

    * No audio features yet.
    * Burns only a single closed session. No -multi option yet.
    * No TAO mode and therefore no writing on-the-fly without a predefined source size.
    * cdrskin -scanbus or --devices hangs for quite a while if there is a CD drive which does not work properly (e.g. because it has individual problems with DMA). So if the superuser gets no result with cdrskin --devices then one should disable DMA with the problematic CD drives (like: hdparm -d0 /dev/hdd ) and try again.
    In severe cases it might be necessary to guess the device name /dev/sgN resp. /dev/hdX of the non-ill burner if it cannot be found otherwise among its ill peers. Alternatively one can guess the address of the ill device, remove rw-permissions and retry the bus scan as non-superuser.
    * Burners other than /dev/sg0 and /dev/hdX (i.e. without ide-scsi) need a user supplied device address for eject.


It takes the standard (not all) cdrecord commands like -scanbus. For more info run cdrskin --help for non cdrecord option and cdrskin -help for cdrecord options. There is also a very informative readme file which is not installed yet by the ebuild, it can be found here

Have fun testing :twisted:

UPDATE 2006-03-12: Changed the ebuild so it uses the latest release and the new website.

Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

MY_PV="0.1.2.0.2.ts"
S=${WORKDIR}/${PN}-${MY_PV}

DESCRIPTION="Limited cdrecord compatibility wrapper for libburn"
HOMEPAGE="http://scdbackup.webframe.org/cdrskin_eng.html"
SRC_URI="http://scdbackup.webframe.org/${PN}-${MY_PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND="virtual/libc"
RDEPEND=""

src_compile(){
   econf || die
   emake || die
   ./compile_cdrskin.sh || die "cdrskin failed to build"
}

src_install(){
   make DESTDIR=${D} install
   dobin cdrskin/cdrskin
}

_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today


Last edited by infirit on Sun Mar 12, 2006 5:18 pm; edited 3 times in total
Back to top
View user's profile Send private message
hager
n00b
n00b


Joined: 28 Jun 2005
Posts: 7
Location: Sweden

PostPosted: Thu Feb 02, 2006 6:57 am    Post subject: Reply with quote

Thanks!
Works great here.
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Thu Feb 02, 2006 12:09 pm    Post subject: Reply with quote

As soon as it does not use a special tweaked libburn i'll submit the ebuild to bugs.gentoo.org. But this may takes some time.
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sun Mar 12, 2006 2:09 pm    Post subject: Reply with quote

New version and website. It now actually works on amd64 :)
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Mar 12, 2006 3:21 pm    Post subject: Reply with quote

Instead of the two "cd" lines, the ebuild should have S=${WORKDIR}/${PN}-${MY_PV} above src_compile().
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sun Mar 12, 2006 5:19 pm    Post subject: Reply with quote

PaulBredbury wrote:
Instead of the two "cd" lines, the ebuild should have S=${WORKDIR}/${PN}-${MY_PV} above src_compile().

Thanks, updated the ebuild :D
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum