WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: small xcdroast bug  (Read 4958 times)

Offline ibug

  • Jr. Member
  • **
  • Posts: 76
small xcdroast bug
« on: February 05, 2012, 12:10:26 PM »
xcdroast-gtk2.tcz.info say require cdrecord.tcz
and there is no cdrecord.tcz
but in xcdroast-gtk2.tcz.dep or xcdroast-gtk2.tcz.tree
need cdrtools.tcz

and xcdroast-gtk2.tcz require some small script
 to first run in root mode
 and save config and check config
 and run in root mode if is not saved correctly



Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: small xcdroast bug
« Reply #1 on: February 05, 2012, 05:57:05 PM »
Hmmm, can you please check that you've got the correct 'xcdroast-gtk2.tcz.dep', as the one I'm looking at clearly shows 'cdrtools.tcz' and dates back from Sep. 2011. Likewise I can't see any 'cdrecord.tcz' in the *.tree file (which are anyway merely FYI only and not used to resolve download requirements).

BTW, I've checked both the GTK-1 as well as the GTK-2 extension *.dep and *.tree files and from my POV all is looking good, as the following extract indicates:
Code: (bash) [Select]
tc@box:~$ tce-fetch.sh xcdroast-gtk2.tcz.dep
tc@box:~$ cat xcdroast-gtk2.tcz.dep
cdrtools.tcz
gtk2.tcz
tc@box:~$

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11519
Re: small xcdroast bug
« Reply #2 on: February 05, 2012, 07:49:09 PM »
Hi maro
He's referring to the info file which states  "Requires cdrecord.tcz and gtk2.tcz .....". Obviously a typo.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: small xcdroast bug
« Reply #3 on: February 05, 2012, 08:16:43 PM »
Hi maro
He's referring to the info file which states  "Requires cdrecord.tcz and gtk2.tcz .....". Obviously a typo.

Darn, serves me right for not reading carefully enough ...

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: small xcdroast bug
« Reply #4 on: February 06, 2012, 12:09:20 AM »
cdrecord.tcz changed to cdrtools.tcz in both -gtk1 and -gtk2 info files.  Went on memory of the command rather than package name, haven't really looked close at those info files in years.

Also, moving to tce bugs.

Offline ibug

  • Jr. Member
  • **
  • Posts: 76
Re: small xcdroast bug
« Reply #5 on: February 06, 2012, 06:30:32 AM »
cdrecord.tcz changed to cdrtools.tcz in both -gtk1 and -gtk2 info files.  Went on memory of the command rather than package name, haven't really looked close at those info files in years.

Also, moving to tce bugs.

does it now run some small script
 to first run in root mode
 and save config and check config
 and run in root mode if config is not saved correctly

it is GUI :(

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: small xcdroast bug
« Reply #6 on: February 06, 2012, 07:45:09 AM »
I don't like to include a startup or similar script to launch a graphical app as root.  If I was to try to make it automatic, I would just parse the machine for devices and insert the results into the root xcdroast config file.   But this is a case of where I don't see the effort worth the result.  Launching once as root, setting your own config easily and graphically and backing up the result, works every time.  Me writing a script would be hours of testing, troubleshooting, bug fixing, and maintaining.   Not to mention that you need to be the one to determine where you want your working or saving directory and which devices you want to use, not me.


Xcdroast is a gui app, but it is an app from back in a day when some manual effort on the part of the user in configuration -- like scsi emulation, another once necessary step to use xcdroast -- was quite normal and expected.   

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11519
Re: small xcdroast bug
« Reply #7 on: February 06, 2012, 11:51:36 AM »
Hi ibug
1 You should always read the info file for an appilcation
2 You don't need to find it, it's in the path. If you do want to find it, enter   which xcdroast-gtk2
3 Only needs to be done once
4 It's up to the end user to setup and save config files

Quote
expertise=wrong what else to burn one dvd
Basic reading skills are all that is required, that hardly qualifies as expertise.

Quote
r why not always run by sudo my linux partitions need root to write ...
It's your system, you are free to run as root if you wish.
« Last Edit: February 06, 2012, 12:07:27 PM by Rich »

Offline ibug

  • Jr. Member
  • **
  • Posts: 76
Re: small xcdroast bug
« Reply #8 on: February 06, 2012, 12:02:14 PM »
(did del post now will edit)

yes it is unix, but is this easy? add both
xcdroast-gtk2.desktop
xcdroast-gtk2-cfg.sh.desktop      in to    usr/local/share/applications/

and 1 NO need to reading xcdroast-gtk2.tcz.info
and 2 NO need to find `xcdroast-gtk2` command
and 3 NO need to sudo

analysis=wrong what else to burn one dvd       [if ms-wirus die]

or what wrong with always run by root many partitions require root to write ...

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: small xcdroast bug
« Reply #9 on: February 06, 2012, 12:30:03 PM »
ibug-

Ok, I see a little more of what you were asking.  I was thinking you wanted a script to check your system, find and set up the cd drives and enter them in the proper syntax in the xcdroast config file, etc, etc.  In other words, an automatic config file generator that prevented the need for going through the graphical configuration. 

But I see that basically you mean a menu entry to launch xcdroast as root so one can set up the configuration.   I will consider a 'launch as root' menu entry.

Offline ibug

  • Jr. Member
  • **
  • Posts: 76
Re: small xcdroast bug
« Reply #10 on: February 06, 2012, 01:51:30 PM »
this is another post misunderstanding
yes my new computr created status is right newbie

so you can add small script
#---------------# if config file exist run tc else root

if [ -e /usr/local/etc/xcdroast.conf ]; then
 xcdroast-gtk2
else
 sudo xcdroast-gtk2
fi

#---------------#
some mistake
maybey you even fit it to Exec= in xcdroast-gtk?.desktop