[x11:burner] HacBurn

HacBurn is a script written in perl to aid in writing CDs. It is a graphical interface (using gtk+) to cdrtools, mpg321 and ogg123.
Screenie of hacburn in action (which is not very action)
I want to pkg it as i like supporting little things that do a lot - the things is what is the best way to set it up?
Here is  first effort:
# dibblethewrecker
pkgname=HacBurn
pkgver=0.2
pkgrel=1
url="http://hacburn.sourceforge.net/"
pkgdesc="HacBurn is a script written in perl to aid in writing CDs. It is a graphical interface (using gtk+) to cdrtools, mpg321 and ogg123."
depends=('gtk2-perl' 'glib-perl' 'cdrtools' 'mpg321' 'vorbis-tools' 'gtk2' 'x-server')
source=(http://unc.dl.sourceforge.net/sourceforge/hacburn/$pkgname-$pkgver.tar.bz2)
build() {
mkdir -p $startdir/pkg/usr/bin/
install -m 755 $startdir/src/$pkgname-$pkgver/hacburn.pl
$startdir/pkg/usr/bin/hacburn.pl
.:EDIT:. you can ignoe the bit below here - i made my decision
is this the best way to pkg a script tho?  There are loads of apps that feature bash scripts which are simply treated as bins and don't have a .sh extention.  In this fashion would it be better to do:
build() {
mkdir -p $startdir/pkg/usr/{bin,share}
install -m 755 $startdir/src/$pkgname-$pkgver/hacburn.pl
$startdir/pkg/usr/share/hacburn.pl
ln -s $startdir/pkg/usr/share/hacburn.pl $startdir/pkg/usr/bin/hacburn
i think the first is better but it is the first time I have come across this

nice one - i have no internet connection at the mo so my Arch life revolves around USB pens, internet cafes and patience
I also just managed to discover the last dependency
Based on my research as well i will leave the PKGBUILD as is i.e. install hacburn.pl to /usr/bin
I'll pop this sucker in my repo too

Similar Messages

  • IMac w/ CD-Burner only; how do I install 10.4.3?

    I have two iMacs; one with a DVD reader, and one with a CD-Burner only. The 10.4.3 software is on DVD. How in the heck I am supposed to install the OS on the iMac with the CD-Burner? If Apple tells me I have to purchase a DVD drive, I am going to be EXTREMELY IRRITATED.
    Is there any way to use my other iMac to host a network install?
    iMac 700Mhz G4 512MB RAM Mac OS X (10.4.3)
    iMac 700Mhz G4 512MB RAM   Mac OS X (10.4.3)  

    Sweet. I like your setup. Do you have an ethernet
    cable (or a firewire cable) for networking?
    as long as you've got the cable, here's what you do:
    1. pop the DVD in the mac with a DVD drive, open disk
    copy, and get it started making a READ/WRITE image of
    the DVD
    2. that'll take a while, so while it's going, get
    BootCD from http://www.charlessoft.com/ and make a
    boot CD that works for your mac without a dVD drive.
    make sure to include these programs:
    nstaller
    Terminal
    Disk Utility
    Console
    3. burn your Boot disk
    4. if you want to do a clean install, back up, and
    erase your disk on the destination mac (the one
    without the DVD drive). otherwise, just continue.
    5. boot the destination mac from the cd you jsut
    made.
    6. if you have ethernet cable, connect the two macs
    with ethernet cable (patch or crossover, doesn't
    matter) and open the disk image on the DVD mac If
    not, boot the DVD mac in target mode connected to the
    destination mac
    7. on the destination mac, connect to the DVD mac if
    you haven't already. if using ethernet, you need
    only mount the install disk image you made earlier.
    if using Target mode, just mount the disk image
    now.
    . navigate to /System/Installation/Packages/ on the
    install mount. open OSInstall.mpkg
    9. follow the instructions. if you're lucky,
    everything will go smoothly, and you are on your way.
    if you're not lucky, stuff will be wierd. if it
    worked out, go ahead and clean up... delete the disk
    image and stuff, reinstall apps, user data,
    whatever. IF NOt, continue on.
    0. if it doesn't work, that means one of the
    packages is being troublesome. I've had trouble with
    X11User and BaseSystem. X11 user can be installed
    later, so we won't worry about it, but BaseSystem is
    a bit of a trick. See, the problem generally is that
    it's preflight script is looking for files that
    aren't there. So you'll need to navigate to
    /System/Installation/Packages/BaseSystem.pkg/... and
    find the preflight script, and edit it. pretty much
    you'll need two lines left. the first line of the
    file can stay. then go through and find a line that
    says something about 'exit' and 0. (meaning exit and
    return a success). Delete every line in the file
    except this exit line and that first line up at the
    very top. Save, and try installing again. If
    something still doesn't work, check the console to
    see what it says, and keep playing.
    11. Once you get it working, Clean up, and you're
    done
    I've used this method to install 10.4 on my
    iMac(350MHz CD-ROM) several times (twice actually),
    and almost managed to make it work on my mom's beige
    G3, except that her CD drive won't spin up, so I
    would have had to boot of a ZIP disk. Have you ever
    tried to fit an OS X boot system into 100MB?? it's
    next to impossible.
    However, that doesn't mean I'm responsible for
    anything you do to your mac. Really you should back
    up before you get started, regardless of whether you
    want to do a clean install or not, but that's just me.
    Thank you very much for your instructions but I have just one iMac.
    Any other ideas?
    Thankx

  • Getting rid of burn folders in the Places sidebar

    A few weeks ago I was burning some CDs.  When I was done I ended up with two burn folder icons both named "Untitled CD" in my Places sidebar. These folders no longer exist but I cannot seem to remove them from the sidebar.
    I went into X11/Terminal and tried using both find and ls -R -l | grep "Untitled" and found nothing.
    Suggestions on how to remove these icons?
    --Brian

    Hold down CMD and drag them off.  It's a new change for 10.6.7
    Regards,
    Captfred

  • X11 libraries in Leopard?

    I have (I believe) a fairly standard 10.5 installation, and I'm trying to compile.. Well, I'm trying to compile T.38modem, which requires OPAL which requires pwlib which requires libX11. Kinda dumb, but whatever.
    The problem is that in /usr/X11/lib, I have the following:
    Brians-mini$ nol libX11.*
    lrwxr-xr-x 1 root wheel 14 Mar 3 2008 libX11.6.2.0.dylib@ -> libX11.6.dylib
    lrwxr-xr-x 1 root wheel 18 Feb 20 17:53 libX11.6.dylib@ -> libX11.6.2.0.dylib
    lrwxr-xr-x 1 root wheel 14 Feb 20 17:54 libX11.dylib@ -> libX11.6.dylib
    Anyone see anything odd with that???
    So, where am I supposed to get libX11.dylib? (or .6.2.0.dylib, or whatever)
    thanks

    It's your machine. What else has been scrambled on it? No way to tell. If you have more problems later on, how do you know that something else wasn't corrupted?
    MacOS X Security gets a lot of press, but incompetent programmers are a much greater threat. When you give your admin password to an installer, you give that programmer complete control over your system.
    I've been burned by this myself. I installed some software that did recursive chmod and chown operations on system directories. What a mess! I used Repair Permissions to fix it, but weeks later I discovered that it had also trashed my Photoshop installation. Repair Permissions only repairs Apple software, not 3rd parties.
    I have no good answer for you. You just have to be very careful. Before you give out your admin rights, make really, really sure you know what is going to happen and agree with it.

  • CD DVD burner

    Is there is any usable CD burner. I have used number of applicaions none of them work:
    1) Graveman - Hangs on startup.:(
    2) HacBurn - Doesn't detect my device and custom data burning is not working.:(
    3) GnomeBaker- Hangs.:(
    4) K3B-Works but heavy dependencies.:|
    5) BashBurn- Need something with GUI.:|
    6) brasero- Heavy dependencies haven't tested yet.:|

    jaideep_jdof wrote:k3b or brasero both have heavy dependencies i am looking for a light weight app and gnomebaker hangs on my system.
    Cdrkit?
    jaideep_jdof wrote:Is there a free nero for linux.
    There isn't even one for Windows... Trial ain't free
    Last edited by B (2007-11-08 21:38:45)

  • Burner software supported by iTunes

    are there any free burner software supported by iTunes and what is it? If not what ones does it support?

    I'm guessing you have an unsupported external burner and that's why you're looking for alternative burning software. Your best bet might be commercial (expensive) software like Toast, but you may have luck in trying free software like X-CD-Roast. That software will require that you first install X11, which is included on your OS X installation media. There is no iTunes integration, though, so everything you'd burn would have to be in WAV format. You can use iTunes to convert files to WAV format for burning, so that shouldn't be a problem unless you're dealing with DRM-protected iTMS music downloads.
    Another alternative would be to try installing Patchburn to try to get your unsupported burner recognized by iTunes.

  • HT203164 help! i am using itunes 10.6.1.7 and windows vista 64. itunes will no longer burn cds. i have searched online and tried all i saw that could possibly fix it and it is still not working.

    i have tried:
    reloading itunes
    unchecking 'write'
    removing lower filters in regedit
    ensuring i had the correct 'gear' info in the upper filters in regedit
    removing 'gear' from regedit, system32
    reloading updated version of 'gear'
    cleaning my registery
    deleting itunes
    cleaning registry again
    reloading itunes
    cleaning registry again
    i still cannot burn cd. t i can import and play cds in itunes and i can watch dvds. itunes will just not burn to blank cds, and i have tried sever new blank cds, each is not recognized.
    i do not know what else to do, i have searched the internet and whatever i saw doable i tried.
    when i check the cd drive in itunes i had gotten a 4220 error, cnet advised to download a free error fixer, however, this error fixer gave me and enduser message, so that didn't work.
    the diagnostic for the cd burner read that i had to put in a formatted disc with content so i did and there are the results of that were that it read the cd and that the 4220 errir code was encountered last time there was an attempt to burn.
    and 'could not open cd handler 32. there is a problem with the installation of the drive in windows or the drive contains a copyprotected cd.
    the above is not the case as it also popped up for me to import cd to itunes.
    i tried to copy and past the entire contents here but it would not allow me to paste.
    please help!

    I too have only recently encountered this problem. I have been able to burn disks before but it keeps making all these weird sounds. It might be a hardware problem but the fact that everything else that uses a disk works I doubt it.

  • I am trying to burn a CD from a playlist in iTunes. I set everything up, and then when it tries to burn, it cancels the burn right away, and gives me the error code: 4251. What am I doing wrong?

    Okay, so I wanted to burn a CD to play on players in the house. The songs on my playlist are from CDs that I own and imported into my iTunes. Here are the steps I've taken:
    1. I created a playlist
    2. Selected File > Burn Playlist to Disc...
    3. My Burn Settings are as follows: Maximum Possible Speed (I have tried all the other speeds as well with the same result), Audio CD (No gaps between songs), Use Sound Check is selected, Include CD Text is selected (I have also tried unselecting these two options).
    4. Then I clicked Burn
    5. Within a couple of seconds "Cancelling Burn" shows up in the window at the top of the screen, and a box pops up that says: The attempt to burn a disc failed. An unknown error occurred (4251).
    I have tried different CDs, I have changed all the settings in the Burn Settings box, and I get the same result over and over again. I researched the error 4251, and it refers to a problem with importing songs from a CD. This is totally irrelevant since I'm not trying to import, I'm trying to burn. This is a blank CD, and it is a CD-R. These CDs are off a tower I purchased less than a month ago, and have had absolutely no problem burning other things to these CDs. I really don't want to have to re-import these songs to Windows Media Player or another application just so I can burn what I want onto a CD, but this is almost the point I am at.
    iTunes certainly isn't helping me much at this point, and I would appreciate any feedback into what I am possibly doing wrong in trying to create a CD.

    I have Windows 7 on a Dell.  Open and play iTunes in the compatability mode and use Windows XP (service pack 2).  Disregard any messsages to disable the compability mode.  This has worked for me.  I have also reinstalled iTunes and played with burn speeds etc.  These ideas did not work.  Compatability mode works.

  • X11 environment variables on MacBook Pro

    Hi
    I have just got my new MacBook Pro and have installed Gimp to run using x11 that came on the apple installation disks however I can't seem to get the xterm to configure correctly.
    GIMP is installed under /sw/bin but the default PATH for x11 does not include this location so I added PATH=$PATH:/sw/bin:/sw/sbin to a newly created .bash_profile. But x11 did not seem to use this file although terminal worked OK.
    After doing a bit of research, I then created a .bashrc file with the PATH defined and changed the .bash_profile to source .bashrc with no other entries.
    Again this worked OK for Terminal but now when I type 'echo $Path' in an x11 xterm the PATH displays two entries for /sw/bin & /sw/sbin. i.e.
    $ echo $PATH
    /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/sw/bin:/sw/sbin:/sw/bin:/sw/sbin
    Any ideas why? and how can I correct it?
    Macbook Pro 17   Mac OS X (10.4.9)  

    Sorry this was a bit brief; I think I was still asleep when I typed it.
    The reasons are these:
    1. Many fink programs require environment variables and other settings. When you source that init.sh file, it ensures everything is set up to work out of the box. (Among the things it does is to in turn source every relevant file in /sw/etc/profile.d -- take a look in it to see what, if anything, is in there). There is also some code to keep your path trimmed properly, so you don't get repeats pasted on.
    2. Bash is unique in that either .bashrc or .bash_profile, but not both, get sourced. In a rooted X11 environment, everything works properly, but on OS X, where X11 is "rootless," it leads to unexpected behavior like what you saw. As long as you put everything into one file and then tell the other one to source its contents, you should be ok.
    You can also run X11 stuff from Apple's terminal, provided you somewhere in a startup file have something to set the DISPLAY variable, usually to .0.
    I've put more discussion of these things here

  • I have three videos to edit.How do I save each one so I can burn them together to a DVD?

    I have three videos to edit. How do I save each one so I can burn them together to a DVD?

    Use Share/Computer/AVI to output each video as a DV-AVI.
    Then open a new project set up for DV and combine the three AVIs on that timeline. Voila!

  • I bought a cd and downloaded it to my itunes account. I want to burn it to keep one in my car but I dont get that option. how can i burn it from my itunes account?

    I bought a cd and downloaded it to my itunes account.  I want to burn one to keep in my car, but dont get that option. how can i burn it from my itunes account?

    Hello lindsey0315,
    I read your post, and I have linked to an article that will instruct you on how to create CDs with iTunes:
    iTunes 11 for Windows: Create your own CDs and DVDs
    http://support.apple.com/kb/PH12348
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • X11 on a single screen in a dual monitor setup

    Same problem as posed here: http://discussions.info.apple.com/message.jspa?messageID=2260647&tstart=0
    I was excited when I read the following:
    I fiddled with Apple's X11, which I'd installed on my Desktop, to no avail. Nowhere could I disable the screen-spanning behavior. On a hunch, I decided to try out XDarwin, however, and lo and behold --- a checkbox for enabling/disabling Xinerama! In addition, XDarwin seems to be better behaved than Apple's X11 when it comes to correctly sourcing some of my $HOME/.X* configuration files (e.g., I always had to run xmodmap ~/.Xmodmap manually under X11, even after putting the command in my .xinitrc).
    I only ever use Xquartz(currently XQuartz 2.6.0 (xorg-server 1.9.3)) which is Xdarwin now. But I do not see the mentioned checkbox for enabling/disabling Xinerama.
    Which sounds exactly like what I want to do. I want to have my macbook air(mba) to display full screen Xquartz on external 27" Dell monitor only. On the macbook screen I want to show the OSX desktop with open applications not blacked out by X11.
    Any pointers to this checkbox's location would be great. Or any other way to configure this setup would also be good.
    I'm not looking for solutions that keep the laptop monitor off in any way as I have seen suggested many times. This is because I want to use it to view state of other OS X apps on the macbook screen while working in full screen X session on the external monitor.
    The xnest solution sounds inferior for the same reasons pointed out by Michael C. Lee in the post I mentioned above.

    Hi Andy,
    I really appreciate your help!
    I believe you're correct in that I wouldn't be able to start the X server and have it only produce output on one of my monitors, as they are necessarily part of a single "display" (in OS X, at least). Barring that, however, I wanted to be able to at least keep X11 from creating a single screen that spanned both my monitors (the problem with this is that it doesn't recognize the separate monitor geometries, so large chunks of the virtual spanning screen were inaccessible, and it also made dealing with X apps that are none dual-head friendly a pain). On my linux machine, I was able to get this behavior by default (i.e., separate screens named '.0 and .1' under a single X display), and could get monitor spanning only after enabling the Xinerama extension.
    I fiddled with Apple's X11, which I'd installed on my Desktop, to no avail. Nowhere could I disable the screen-spanning behavior. On a hunch, I decided to try out XDarwin, however, and lo and behold --- a checkbox for enabling/disabling Xinerama! In addition, XDarwin seems to be better behaved than Apple's X11 when it comes to correctly sourcing some of my $HOME/.X* configuration files (e.g., I always had to run xmodmap ~/.Xmodmap manually under X11, even after putting the command in my .xinitrc).
    Anyway, that basically gave me what I needed, so I'm a happy camper. Just thought I'd post this in the unlikely event that someone else is in the same situation. Oh, and if you're curious, the reason I needed to do this in the first place was because I wanted to run the ratpoison windows manager fullscreen --- great for dealing with ADD!

  • Encore can't burn more than one DVD at a time: Sense Code 56400

    For a long time now I've been unable to burn multiple DVD's at a time. I burn more than one and I get an error and have to make a coaster out of yet another DVD
    I just upgraded to 24 gb of DDR3 PC 1600 RAM, I have an 6 Core Processor, I have 7.8 on everything accept my hard drive which is 7.0 out of 7.9 according to my Windows 7 Pro. 64 bit system.
    I have 2 different DVD burners, one is a blu-ray burner too. I have the same issues, only different error readings it seems, on both drives. The first drive didn't burn even one for some reason so I tried the second. The second drive would burned 3 and on the fourth I got the errors' which I've included screen shots of below. I was surprised I got through three before I got to this error. By the end of the week I have a large project I need to make 30 DVD's of. HELP!!!!!
    A long time ago on my older machine I had similar problems and I went through different drives and discs until I seemed to come up with the magic combination which seemed to be a Plextor burner and Verbatim. But, then i got a bad batch of verbatim and tried Maxell and used those successfully for a while. Right now I'm using what a friend gave me, TDK's. I'm wondering if that's what the problem is... HELP!!!!

    I have managed to get it to work consistently now. I just burned 20 DVD's without a problem.
    I tried everything you suggested except the imageburn software. I didn't like that site, I was too anxious to try and figure out where to download that software in the midst of all the advertisements on that site.
    After clearing out everything in startup and services except what I needed I still wasn't able to burn successfully. Finally I went and purchased some Verbatim DVD-R discs and wahlah! Actually, after the first try with the verbatim I had an error code when trying to burn with Encore. So, I created and image file as you suggested and then I used Cyberlink's Power2Go to burn the image file and from there on it seems everything is solid.
    I think the biggest problem was using TDK discs. I came to the realization a few years ago that certain disks are not as predictable as others and that verbatim and maxell seem to be the best. I did get one bad batch of verbatim though one time and that's when I switched to Maxell. My friend gave me 200 of the TDK's and I've been having problems ever since. But, I wasn't sure what it was exactly because he gave me those around the same time I rebuilt my system.
    I had also found the Plextor seems to be the best bet for burners. But, I had been using an HP one lately and thought maybe that was the problem. However, now it seems to be fine.
    I really don't know what fixed it. I mean, nothing definitely worked until I started using the Verbatim today. But, that first verbatim erroring perplexed me. I had done some other things too, like removed some programs, like a bunch of HP printer crap. I even removed my virus software, Window Security Essentials. I just reinstalled it so now I'm wondering if I can burn as consistently. I had seen somewhere where someone said they removed Windows' Defender to get theirs working.
    Anyways, I guess what I need to do is format my main hard drive, only put adobe stuff on it, and then take my old computer set it up for everything else. That'll probably be the best thing to do... If I have anymore problems like this I'm doing that right away!

  • I got an error message while burning a cd in itunes - "The attempt to burn a disc failed.  The burn failed because of a medium write error.  What is that and how can i fix it?t

    I got an error message while burning a CD in iTunes - "the attempt to burn a disc failed.  The burn failed because of a medium write error."  What does this mean and how do I fix it?

    The disk you are using probably has a defect, not uncommon on consumer grade disks. Try another disk or better yet another disk from a different manufacturer or at least a different batch.

  • Multiplex Error - While Burning Disc Image

    I've been trying to burn an hour and a half dvd using idvd '08 on professional quality, coming from and AIC HDV project in final cut express 3.5. It takes around 5 hours to encode and then for the third time it's given me a multiplexer error at the end. Is there anyway to solve this?
    Thanks,
    Mike

    Do you have 20GB+ free on your start-up drive? Do you have any external HDs attached?
    Your MacBook Pro hasn't frozen up while encoding?
    There is 10.5.2 available today.

Maybe you are looking for

  • Add effects to video does not work

    I have a motorola ROKR E6 I am able to use it as a webcam in ichat on my mac mini. But when I try to add effects to it iChat says connection problem. I tried this on photo booth as soon as I launch Photo Booth while ROKR is connected Photo Booth cras

  • Why is it so hard to copy pictures from my iPhone to my iPad?

    I want to use iCloud to backup both my iPhone and iPad, but not any of the pictures on these devices.  I want to backup the pictures to my iMac, since they take up so much space.  What is the best way to do this?  What is the correct way to copy pict

  • The iPad's hardware system doesn't work.

    I have an iPad 2, which won in 2013 and today the hardware operating system this product is fail, as the screen freezes, it turns on and off alone, applications open and close alone. In 2014 and now the screen is just flashing with lime-green color,

  • TS1424 itunes error "secure link to itunes failed"

    Having difficulties updating my itunes on my laptop to newest version. When I run diagnostic I get the error "secure link to itunes failed." I've tried all the suggestions under the help tab. Need help.

  • Itunes store -42404 error

    So everytime I try to download anything from the store on my computer i get this error. i have updated itunes, uninstalled and reinstalled, but nothing fixed it. Any help?