Tony,

You have to get the source package for HAL.
Do something like:
$ mkdir ~/hal; cd ~/hal; apt-get source hal
This will download a few files and a directory (in my case hal-0.5.9).
Then add my patch: (assuming you download my patch to the Desktop):
$ cp ~/Desktop/68-disc_identification.patch hal-0.5.9/debian/patches
Then from within tha hal-0.5.9 directory you run:
$ cd hal-0.5.9; debuild -i -us -uc -b
to build a binary package: the package will be called  something like 
hal_0.5.9-1ubuntu2~feisty1ubuntu1_i386.deb in the directory above the 
hal-0.5.9 one.
I found
and then you install it using dpkg:
$ cd ~/hal/
$ dpkg -i  hal_0.5.9-1ubuntu2~feisty1ubuntu1_i386.deb

I think that is sufficient, but at the build stage you may well find you are 
missing a whole load of tools that you will need to add using either apt-get 
or Synaptic, things like the debian support tools package, like debuild for 
example, that I think is in package debian-builder.


David

>From: Tony Sweeney <[EMAIL PROTECTED]>
>Reply-To: Bug 109763 <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [Bug 109763] Re: Insert a rewriteable or blank disc when 
>tryingto       use CD/DVD Creator, with blank disc in CDR drive
>Date: Mon, 20 Aug 2007 19:44:56 -0000
>
>David C wrote:
> > Tom,
> > I think it likely that the patch I had attached to my previous message 
>(entitled Additional disc identification) provides a fix for problem with 
>old drives.
> > The issue is that newer drives have a command that returns the size of 
>the disc, for older drives this command is missing, but you can probe the 
>disc itself to get the information.
> > This is what my patch to hal does.
> > It is in a format that you can just drop it into the debian/patches 
>directory of HAL and then rebuild and re-install it.
> > I have sent it to the HAL developers but so far there have been no 
>comments from them.
> >
> > I tested it on my LG drive using HAL 0.5.9, but I expect the patch would
> > work with 0.5.8 - the only reason I upgraded was in the hope that this
> > problem would have been resolved, and I don't think the affected file
> > has been touched for a couple of years.
> >
> > It would be good to get your feedback on the patch as this would double
> > the number of devices on which it has been tested!
> >
> > David
> >
> >
>David,
>
>I'd gladly give this a try, but I don't know the first thing about
>building Linux from source.  I've been building FreeBSD and XFree86 from
>source for years, and have build the GNU toolchain more times than I
>care to think about.  But I don''t know where to start with Linux.  The
>documentation doesn't seem geared to someone who just wants to get the
>source and build it (or I'm looking in all the wrong places).  If you
>could give me a pointer, or better yet a definitive recipe for building
>HAL, I'd love to give this a go.  The Sony drive I was going to swap in
>turned out to be dying, so I have a day or so to kill waiting for a
>replacement drive which is ultimately destined for the donor machine
>anyway, so I have a real incentive to get this working.
>
>Tony.
>
>--
>Insert a rewriteable or blank disc when trying to use CD/DVD Creator, with 
>blank disc in CDR drive
>https://bugs.launchpad.net/bugs/109763
>You received this bug notification because you are a direct subscriber
>of the bug.

_________________________________________________________________
The next generation of Hotmail is here!  http://www.newhotmail.co.uk

-- 
Insert a rewriteable or blank disc when trying to use CD/DVD Creator, with 
blank disc in CDR drive
https://bugs.launchpad.net/bugs/109763
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to