Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 08:27
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Grafburn cd burner - new version 0.10.1
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 11 [151 Posts]   Goto page: 1, 2, 3, ..., 9, 10, 11 Next
Author Message
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 16 Jan 2007, 03:14    Post subject:  Grafburn cd burner - new version 0.10.1  



EDIT: new version 0.10 -
* Added support for cue and toc files
* Added workaround for drives that must use -raw mode as opposed to -sao
* Allow files to be symlinked into temp directory
* Greatly simplified burning dialog moving everything into one window
* Total rewrite of preferences dialog usig gtkdialog, all into one window now
* Use the system default drives set up using the burning wizard
* Implemented appending tracks to multisession disks
* Rewrote most of the audio cd interface in gtkdialog - more streamlined
* Made relocation of the application directory easier
* Implemented version upgrades
* Created a nicer "About" screen

This is a dead simple gui for creating cd's and dvd's, basically just a couple shellscripts that call the command line tools. It was born out of my frustration with Puppy's lack of a good, simple burning program now that Graveman has gone screwy. I'll be the first to say, I hate Gcombust with a passion.

Parts of this will look quite familiar to Puppy users, since it calls burniso2cd if you select the burn iso option. Why reinvent here. You can also create a disk from scratch and I plan to add a blanking feature later in the week. Install as an alien with petget, and then launch it from the launcher in /usr/local/apps (which you can drag to the desktop).


Nathan
Grafburn-0.10.1.pet
Description 
pet

 Download 
Filename  Grafburn-0.10.1.pet 
Filesize  60.22 KB 
Downloaded  2306 Time(s) 

_________________
Bring on the locusts ...

Last edited by Nathan F on Thu 17 May 2007, 20:16; edited 11 times in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Tue 16 Jan 2007, 03:56    Post subject: Re: Grafburn cd burner  

Nathan F wrote:
You can also create a disk from scratch and I plan to add a blanking feature later in the week. Install as an alien with petget, and then launch it from the launcher in /usr/local/apps (which you can drag to the desktop).

Hi Nathan,

Followed instructions to a T: downloaded tarball, installed with Petget alien installer and dragged icon to desktop.

I can start the process to "Burn an iso file" fine, but when I click on "Create a data cd/dvd" from scratch nothing happens.

At first I thought the problem might be that I needed a blank cd in the burner when starting the option, as with Gcombust, but that made no difference. Nada. Nothing. I also get nothing when I choose to "Set preferences".

UPDATE: Interestingly, if I right click on the desktop icon and choose "create a cd/dvd" the program starts, but not from the button on the gui. And when it says "I have opened a filer window in the tempdir", the filer window actually shows /root Confused

OTOH, if I choose to "set preferences" by right click on the icon, I get duplicate copies of a huge list of Xdialog settings. Sorry but I dare not fiddle with any of them! Smile

Any ideas?
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 16 Jan 2007, 04:07    Post subject:  

Give me a few hours sleep and I'll look it over again, it's 2:00AM here. I bet I made a simple mistake here.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 16 Jan 2007, 04:34    Post subject:  

WhoDo -

I looked at it anyway, and found the bugs. There's a fix uploaded already. You should remove the old one using the package manager, but then you have to manually delete the file /root/.config/grafburnrc before starting again. Then all should be kosher.

I had moved the location of the scripts while I was working on the package, and didn't update the paths in the grafburn script. I also fixed a bug, that caused it to fail if there was an empty profile directory. I will do some more improvements later this week to make it a bit sturdier and add the missing blank feature. I also want to add an option to set the speed, but that's about as complicated as it's going to get.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Tue 16 Jan 2007, 05:00    Post subject:  

Nathan F wrote:
I looked at it anyway, and found the bugs. There's a fix uploaded already. You should remove the old one using the package manager, but then you have to manually delete the file /root/.config/grafburnrc before starting again. Then all should be kosher.

Thanks, Nathan. I'll give your bugfix version a trial and post my results here. Much appreciated.

UPDATE: Yep, that sorted 'em all out, Nathan. Thanks, mate.
Back to top
View user's profile Send private message 
MUguest

Joined: 09 Dec 2006
Posts: 73

PostPosted: Tue 16 Jan 2007, 06:37    Post subject:  

For Muppy 006 two changes are required in create_iso.

Code:
#!/bin/sh
#January, 2007 Nathan Fisher

# Determine the path to this application.
CURDIR="`pwd`"
APPDIR=`dirname "$0"`
cd "${APPDIR}"
APPDIR="`pwd`"
cd "${CURDIR}"

#gxmessage -center -title "Grafburn" -buttons "GTK_STOCK_OK" \
#   "First choose a temporary directory to place files into."
#TMPDIR=`Xdialog --icon $APPDIR/big/media-cdrom.png \
#--stdout --title "Choose temp directory" --dselect $HOME 0 0`

TMPDIR=`cat ~/.config/grafburnrc | grep TMPDIR | cut -f 2 -d '='`/
OUTDIR=`cat ~/.config/grafburnrc | grep OUTDIR | cut -f 2 -d '='`/
rox $TMPDIR

Xdialog --icon $APPDIR/icons/big/drive-optical.png \
--left --title "Grafburn: Add files and folders" --msgbox \
"I have opened a filer window in the tempdir.\nYou should place any files or \
directories\nyou want to include into this directory.\n\
Any and all files that are placed in here\nwill go into the disk image\n\
Do not close this window until you are finished.\n\n\
When finished, press the OK button." 0 0

Xdialog --icon $APPDIR/icons/big/drive-optical.png --stdout \
--no-cancel --left --title \
"Grafburn: Set disk properties" --2inputsbox "Now you can optionally set the \
iso file\nname and the Volume ID for the disk." 0 0 "File name" grafburn.iso \
"Volume ID" "grafburn_project" > ~/.config/grafburntmp

NAME=`cat ~/.config/grafburntmp | cut -f 1 -d '/'`
VOLUME=`cat ~/.config/grafburntmp | cut -f 2 -d '/'`
rm -f ~/.config/grafburntmp
echo "debug: $OUTDIR$NAME"
rxvt --geometry 60x8 -e mkisofs -D -J -R -o "$OUTDIR$NAME" -V "$VOLUME" $TMPDIR

#if [ ! $? -eq 0 ];then
if [ ! -f "$OUTDIR$NAME" ];then
  gxmessage -center -buttons "GTK_STOCK_DIALOG_ERROR" -bg red \
  "There was an error creating the iso file, exiting."
fi

Xdialog --icon $APPDIR/icons/big/drive-optical.png --stdout --left --title \
"Grafburn: burn image?" --yesno "The iso file has been created.\nDo you want \
to go\nahead and burn it to disk?" 0 0

if [ $? -eq 0 ];then
  exec $APPDIR/burn_iso $OUTDIR$NAME
fi


1.) I add a "/" to $TMPDIR and $OUTDIR
2.) I replace the test, if the returnvalue is ok, with a filecheck.
Here are the relevant lines again:
TMPDIR=`cat ~/.config/grafburnrc | grep TMPDIR | cut -f 2 -d '='`/

OUTDIR=`cat ~/.config/grafburnrc | grep OUTDIR | cut -f 2 -d '='`/

#if [ ! $? -eq 0 ];then
if [ ! -f "$OUTDIR$NAME" ];then

Mark
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11180
Location: Arizona USA

PostPosted: Tue 16 Jan 2007, 09:49    Post subject:  

Looking good, Nathan. Are you going to include multisession DVDs in the menu? (Command for the first session is different from the command for succeeding sessions.)

Plinej incorporated a window in the latest version (1.9) of his PBcdripper GUI that shows the commands PBcdripper will execute. Very Cool.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 16 Jan 2007, 10:36    Post subject:  

Thanks Nathan, It looks pretty good. I'll try it out next time I burn a cd. I agree with you about gcombust. I was going to write a gui like this for my next project but now I won't have to.
Back to top
View user's profile Send private message 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Tue 16 Jan 2007, 12:13    Post subject:  

You are not the only one who dislikes gcombust. Though I have yet to use this I can already tell what my favorite features are speed and the blanking option.

Great job !

_________________
Heaven is on the way, until then let's get the truth out!
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 16 Jan 2007, 13:38    Post subject:  

Mark - What version of Puppy is Muppy based on? I think it has to do with the trailing slash issue that was fixed recently in Xdialog (was this Dougal?). So the fix should only apply to older pups.

Flash - The program should already support multi-session dvd. When you just burn an iso all it does is call the burniso2cd script. If you create an iso from scratch the burning stage is based on the same code, with all the same functions. I just cleaned it a bit, removed the unnecessary parts, and made it better looking.

A little window showing the burning commands might not be a bad idea, I'll have to think about it. I'm purposely keeping this as simple as possible, though. The idea is not to write a full featured replacement but a really simple program. I don't want to add in extra popup windows or extra choices that the user has to make. I hate gcombust mainly because of the cluttered, confusing interface. I loved Graveman because it was the exact opposite.

plinej - You might be a better person to do this than me anyway, so take a look at what I've done before saying you won't have to. It might not do everything you want it to.

klhrevolutionist - The blanking function is the only major part not written yet, sorry. I'll be on it, but probably not until later in the week.

Thanks everybody for the feedback, and especially to those who actually tested it. I had a feeling I wasn't the only one who needed something like this.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 16 Jan 2007, 14:00    Post subject:  

I'll take a look at it and see if there's anything I can add but I've got a couple other projects that I need to work on first.
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 16 Jan 2007, 16:45    Post subject:  

Version 0.3 is uploaded at the top of the thread. This implements the blanking function, which works for me but could use a little testing. In particular I've never blanked a dvd, so while I think the commands are correct I have no way of knowing for sure. None of my drives are even capable of this Sad

I also went in and changed some colors and made other small improvements. Regarding multisession, it occurs to me that the thing is drastically incomplete because it offers no way to append to a previous session. Put this on the "long term" list though. The only other changes you can expect for now are some improvements to the preferences manager, including a speed setting and a way to set the default burner so that we don't have to do so every time you burn or blank a disk. That would get rid of at least one dialog box for the rest of the gui.

BTW - if you have xdg menus this package should create a menu entry.

Any other ideas, suggestions, or bugs please let me know.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
zigbert


Joined: 29 Mar 2006
Posts: 5813
Location: Valåmoen, Norway

PostPosted: Tue 16 Jan 2007, 17:04    Post subject:  

I don't know how advanced GrafBurn is intended to be. But now since sox is included into Puppy, it would be possible to burn audioCDs from mp3 and other file formats in one operation. My windows-daughters have crowded me for that lack of feature in Puppy.

I'm glad you started this, Nathan. Puppy needs a useful burning program.

Sigmund
Back to top
View user's profile Send private message Visit poster's website 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Tue 16 Jan 2007, 17:39    Post subject:  

I have two suggestions. The first being changing the text from "Otherwise just pick a task and the program should guide you through it" to "Otherwise pick a task and the program will guide you through the process".

My second suggestion is to ask for or add an option for an input file of an md5sum.txt, this will allow the user to verify the iso before ruining a cd-r or dvd-r

_________________
Heaven is on the way, until then let's get the truth out!
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Tue 16 Jan 2007, 17:55    Post subject: what the tmp directory was for  

Nice.

I am glad some improvements to preferences . . .
I did not understand what the tmp directory was for until I created one and ran the program. It then became obvious and I had to change it (I did not think the my-documents/tmp was right, in fact it was) - so a dialogue would help there . . . Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 11 [151 Posts]   Goto page: 1, 2, 3, ..., 9, 10, 11 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1064s ][ Queries: 13 (0.0060s) ][ GZIP on ]