./ 0000755 0001750 0000000 00000000000 10455762500 007704 5 ustar pete root ./TODO 0000644 0001750 0000000 00000002544 10446705057 010405 0 ustar pete root Jordan's Features
* handle becoming root better (perhaps ask for sudo only when needed) - good idea as we can still get information on the ISO such as volume label etc without mounting. I should think we can just gksudo it.
* Have test this and it works, will implement this at next update
Pete's Features
* Favortise ISOS
* Add support for filtering in the file chooser dialog. Not that difficult
* Add get_text to allow for rosetta translation
* FUSERMOUNT?
Fixed Issues and Finished Features
* Active, inactive tabs -- FIXED
* If quitting and no volumes mounted why ask us dummy? -- FIXED
* Sort out indexes of glade objects so they match the pRef values, ie 0=1, 1=2 will clean up code and make it a lot easier to read -- FIXED
* Redo the find_Free function so that it actually reads from the iso class instead of from the entry windows. This is stupid and leads to the program not exiting cleanly if a text box is full. -- FIXED
* Break out the mount/umount functions from their handlers -- FIXED
* maybe use icons instead of text for mount/unmount -- FIXED
* Burn image to iso -- FIXED
* browse button to open mount point in Nautilus -- FIXED
2 files to consider
./
dapper-server-i386.iso
452636672 100% 4.23MB/s 0:01:42 (1, 100.0% of 2)
sent 99 bytes received 441882708 bytes 4311051.78 bytes/sec
total size is 452636672 speedup is 1.02
pete@ubuntu:~$
./ChangeLog 0000644 0001750 0000000 00000000000 10446530734 011446 0 ustar pete root ./gisomount 0000755 0001750 0000000 00000053542 10455761617 011677 0 ustar pete root #!/usr/bin/env python
# Copyright (C) 2006 Pete Savage & Jordan Mantha
# This file is part of gisomount.
# gisomount is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# gisomount is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with gisomount; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import sys
import os
import subprocess
import string
import gisomount.config
try:
import pygtk
pygtk.require("2.0")
except:
pass
try:
import gtk
import gtk.glade
import gobject
except:
print "GTK is not installed"
sys.exit(1)
#Checks to see if program has been run with setuid of 0, if not shout at user
if os.geteuid() != 0:
dialog = gtk.MessageDialog(None, 0, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK,"You need to be root to run this program")
dialog.run()
dialog.destroy()
sys.exit(1)
#GUI initialisation script
class gui:
def __init__(self):
#Main initialisation script for the application
self.isos=[info() for x in range(5)]
self.treestore=[0 for x in range(5)]
if os.path.isfile("gisomount.glade"):
useglade="gisomount.glade"
else:
useglade="/usr/share/gisomount/gisomount.glade"
self.wTree=gtk.glade.XML (useglade)
self.win=self.wTree.get_widget("window1")
self.about=self.wTree.get_widget("about")
self.notebook=self.wTree.get_widget("notebook2")
dic = {"on_add_fav":
self.on_add_fav,
"on_menu_help" :
self.on_menu_help,
"on_menu_browse" :
self.on_menu_browse,
"on_menu_open" :
self.on_menu_open,
"on_menu_burn" :
self.on_menu_burn,
"on_menu_summer" :
self.on_menu_summer,
"on_browse" :
self.on_browse,
"on_summer" :
self.on_summer,
"on_progress_destroy" :
self.on_progress_destroy,
"about_delete_event" :
self.on_about_ok,
"on_info" :
self.on_info,
"on_mmount" :
self.on_mmount,
"on_burn" :
self.on_burn,
"on_open" :
self.on_open,
"on_exit" :
(gtk.main_quit) }
for x in range (5):
self.on_info(x)
self.wTree.signal_autoconnect(dic)
self.win.connect("delete_event", self.delete_event)
self.about.connect("delete_event", self.about_delete_event)
for x in range (1,5):
self.hide_tab(x)
self.reconnect()
#Setup main menus
self.vbox1=self.wTree.get_widget("vbox1")
self.menu_items = '''
'''
self.actiongroup = gtk.ActionGroup('UIManagerExample')
self.actiongroup.add_actions([('File', None, '_File'),
('Open', None, '_Open', None,
'Open an ISO', self.on_menu_open),
('Quit', None, '_Quit', None,
'Quit', gtk.main_quit),
('Calculate md5', None, '_Calculate md5sum', None,
'Calculate', self.on_menu_summer),
('Burn', None, '_Burn', None,
'Burn', self.on_menu_burn),
('About', None, '_About', None,
'About', self.on_menu_help),
('Browse', None, 'B_rowse', None,
'Browse', self.on_menu_browse),
('Add to Favorites', None, 'Add to Favorites', None,
'Add to Favorites', self.on_add_fav),
('Actions', None, '_Actions'),
('Favorites', None, '_Favorites'),
('Help', None, '_Help')])
self.uimanager=gtk.UIManager()
self.uimanager.insert_action_group(self.actiongroup, 0)
self.uimanager.add_ui_from_string(self.menu_items)
menubar = self.uimanager.get_widget('/MenuBar')
self.vbox1.pack_start(menubar,False,True,0)
self.vbox1.reorder_child(menubar,0)
self.rebuildFav()
self.mtabpollerobj=gobject.timeout_add (1000, self.mtabPoller)
def rebuildFav(self):
#Rebuild the favorites from the config file
self.config=gisomount.config.configFile()
self.fav=[]
cnt=0
while self.config.getValue("fav"+str(cnt))!=None:
tempFav=self.config.getValue("fav"+str(cnt))
self.fav.append(tempFav)
tempAction=gtk.Action(tempFav, tempFav, tempFav, None)
if tempFav.rfind('/')!= -1:
tempFav=tempFav[tempFav.rfind('/')+1:]
tempFav=str(cnt+1)+". "+tempFav
self.uimanager.add_ui(self.uimanager.new_merge_id(),'/MenuBar/Favorites', tempFav, tempFav, 'menuitem',False)
self.actiongroup.add_action(gtk.Action(tempFav, tempFav, tempFav, None))
self.uimanager.get_widget('/MenuBar/Favorites/'+tempFav).connect("activate", self.on_chooseFav,cnt)
cnt=cnt+1
def on_add_fav(self,widget):
#######TO DO CHECK IF REAL ISO#######
cnt=len(self.fav)
entry=self.wTree.get_widget("entry"+str(self.notebook.get_current_page()))
tempFav=entry.get_text()
self.config.setValue("fav"+str(len(self.fav)),tempFav)
if tempFav.rfind('/')!= -1:
tempFav=tempFav[tempFav.rfind('/')+1:]
tempFav=str(cnt+1)+". "+tempFav
self.uimanager.add_ui(self.uimanager.new_merge_id(),'/MenuBar/Favorites', tempFav, tempFav, 'menuitem',False)
self.actiongroup.add_action(gtk.Action(tempFav, tempFav, tempFav, None))
self.uimanager.get_widget('/MenuBar/Favorites/'+tempFav).connect("activate", self.on_chooseFav,cnt)
self.fav.append(entry.get_text())
def on_chooseFav(self,widget,cnt):
#######TO DO CHECK IF REAL ISO#######
entry=self.wTree.get_widget("entry"+str(self.notebook.get_current_page()))
entry.set_text(self.fav[cnt])
self.get_cd_info(self.notebook.get_current_page())
self.on_info(self.notebook.get_current_page())
def about_delete_event(self,widget,event):
self.about.hide_all()
return True
def on_about_ok(self,widget):
self.about.hide_all()
def mtabPoller(self):
#Function to continually monitor the mtab and unmount when an iso has been unmounted
existISO=open('/etc/mtab','r')
existISOArr=[]
output=existISO.readline()
while output!="":
mark1=output.find("(vcd)")
mark2=output.find("/media/")
if (mark1 != -1) & (mark2 != -1):
splitISO=output.split(" ")
existISOArr.append(splitISO[1].decode('string-escape'))
output=existISO.readline()
for i in range(0,4):
if self.isos[i].mounted==True:
flag=0
for j in existISOArr:
if j==self.isos[i].mntpoint:
flag=1
if flag==0:
self.on_umount(i,1)
return True
def reconnect(self):
#This reconnects iso mount points that have been previously mounted with gismount
existISO=open('/etc/mtab','r')
output=existISO.readline()
while output!="":
mark1=output.find("(vcd)")
mark2=output.find("/media/")
if (mark1 != -1) & (mark2 != -1):
splitISO=output.split(" ")
isoFile=splitISO[0].decode('string-escape')
isoMount=splitISO[1].decode('string-escape')
free=self.find_free_slot()
self.show_tab(free)
self.isos[free].mounted=True
self.isos[free].mntpoint=isoMount
self.isos[free].filename=isoFile
entry=self.wTree.get_widget("entry"+str(free))
entry.set_text(isoFile)
self.lock_slot(free)
self.get_cd_info(free)
self.on_info(free)
self.notebook.set_tab_label_text(self.notebook.get_nth_page(free),self.isos[free].info.vollabel[:7]+"...")
button=self.wTree.get_widget("mmount"+str(free))
button.set_label("Unmount")
output=existISO.readline()
existISO.close()
self.unlock_slot(self.find_free_slot())
def on_mmount(self,widget):
widgetName=widget.get_name()
partial=widgetName[6:]
pRef=int(partial)
if self.isos[pRef].mounted==False:
self.on_mount(pRef)
else:
self.on_umount(pRef)
def on_menu_help(self,widget):
self.about=self.wTree.get_widget("about")
self.about.show_all()
def on_info(self,index):
#Possibly this should be a class of it's own
tabswin=self.wTree.get_widget("window1")
tabs=self.wTree.get_widget("treeview"+str(index))
if not tabs.get_model():
#Create the model if it doesn't already exist
self.treestore[index]=gtk.TreeStore(str,str)
column = gtk.TreeViewColumn("Key", gtk.CellRendererText(), text=0)
column.set_resizable(True)
column.set_sort_column_id(0)
column2 = gtk.TreeViewColumn("Info", gtk.CellRendererText(), text=1)
column2.set_resizable(True)
column2.set_sort_column_id(1)
tabs.append_column(column)
tabs.append_column(column2)
tabs.set_model(self.treestore[index])
#Clear the model so we can add new information in
self.treestore[index].clear()
self.treeRefBasic=self.treestore[index].append(None, ("File Information",""))
self.treeRefAdv=self.treestore[index].append(None, ("ISO Information",""))
self.treeRefMount=self.treestore[index].append(None, ("Mount Information",""))
#Name Size md5 DVD
basicInfo=[
("Filename",self.isos[index].filename),
("Size",self.isos[index].size),
("MD5 sum",self.isos[index].md5),
("ISO type",self.isos[index].itype)
]
advancedInfo=[
("Volume Label",self.isos[index].info.vollabel),
("Publisher ID",self.isos[index].info.publishid),
("Creation Date",self.isos[index].info.volcreate),
("Data Preparer",self.isos[index].info.datprepareid),
("Volume Set Identifier",self.isos[index].info.volsetident),
("Standard ID",self.isos[index].info.standardid),
("System ID",self.isos[index].info.systemid),
("Volume Set Size",self.isos[index].info.volsetsize),
("Application ID",self.isos[index].info.applicid)
]
mountInfo=[
("Mount Point",self.isos[index].mntpoint)
]
for dataTuple in basicInfo:
if dataTuple[1]!="":
self.treestore[index].append(self.treeRefBasic, dataTuple)
for dataTuple in advancedInfo:
if dataTuple[1]!="":
self.treestore[index].append(self.treeRefAdv, dataTuple)
for dataTuple in mountInfo:
if dataTuple[1]!="":
self.treestore[index].append(self.treeRefMount, dataTuple)
def on_progress_destroy(self, widget):
#Kill the md5sum process if the user cancels the progress bar
gobject.source_remove(self.progresstimer)
gobject.source_remove(self.progressbartimer)
self.progress.hide_all()
mountproc=subprocess.Popen("kill "+str(self.md5proc.pid), shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
def md5sum_dead(self):
#Polls to check if the md5sum has finished it's operation, and then destroy
#progress bar window. Tied to a gobject timer.
mountoutput=self.md5proc.poll()
if mountoutput==None:
return True
else:
gobject.source_remove(self.progresstimer)
gobject.source_remove(self.progressbartimer)
self.progress.hide_all()
md5info=self.md5proc.stdout.read()
md5split=md5info.split(" ")
displayMessage(self,'md5sum is: '+md5split[0]+'',gtk.MESSAGE_INFO)
return False
def progress_update(self):
#Pulse the progress bar, needed cos eith gobject it stupid, or I am!
self.progressbar.pulse()
return True
def delete_event(self,widget,event):
#Interrupt the closing of the main gtk window and prompt the
#user if they wish to unmount all of the vcds.
if self.find_free_slot()==0:
return False
self.win.set_sensitive(False)
dialog = gtk.MessageDialog(self.win,
gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
gtk.MESSAGE_INFO, gtk.BUTTONS_YES_NO, None)
dialog.add_button("Cancel",-10)
dialog.set_markup('Do you want to unmount all vcds now?')
dialog.connect("destroy", lambda w: self.win.set_sensitive(True))
resp = dialog.run()
if resp==-8:
#Close gISOMount and unmount all volumes mounted
dialog.destroy()
for i in range(len(self.isos)):
if self.isos[i].mounted==True:
umount=self.ac_umount(self.isos[i].mntpoint)
if umount==True:
mountproc=subprocess.Popen("rmdir \""+self.isos[i].mntpoint+"\"", shell=True)
return False
elif resp==-9:
#Close gISOMount and leave all volumes mounted
dialog.destroy()
return False
else:
#Just cancel
dialog.destroy()
return True
def get_cd_info(self,index):
#Adds the cd info into the iso info class
entry=self.wTree.get_widget("entry"+str(index))
cdinfo=isoinfo(entry.get_text())
entry=self.wTree.get_widget("entry"+str(index))
info=os.stat(entry.get_text())
self.isos[index].size=info.st_size
self.isos[index].filename=entry.get_text()
self.isos[index].info.vollabel=cdinfo.vollabel()
self.isos[index].info.volcreate=cdinfo.volcreate()
self.isos[index].info.volsetident=cdinfo.volsetident()
self.isos[index].info.standardid=cdinfo.standardid()
self.isos[index].info.systemid=cdinfo.systemid()
self.isos[index].info.volsetsize=cdinfo.volsetsize()
self.isos[index].info.volseqnum=cdinfo.volseqnum()
self.isos[index].info.publishid=cdinfo.publishid()
self.isos[index].info.datprepareid=cdinfo.datprepareid()
self.isos[index].info.applicid=cdinfo.applicid()
def on_menu_browse(self,widget):
self.on_browse(self.wTree.get_widget("browse"+str(self.notebook.get_current_page())))
def on_menu_burn(self,widget):
self.on_burn(self.wTree.get_widget("burn"+str(self.notebook.get_current_page())))
def on_menu_summer(self,widget):
self.on_summer(self.wTree.get_widget("summer"+str(self.notebook.get_current_page())))
def on_menu_open(self,widget):
self.on_open(self.wTree.get_widget("open"+str(self.notebook.get_current_page())))
def on_browse(self,widget):
#Opens the iso chooser window
widgetName=widget.get_name()
partial=widgetName[6:]
filew = gtk.FileChooserDialog(title="Open ISO image...",action=gtk.FILE_CHOOSER_ACTION_OPEN,buttons=(gtk.STOCK_CANCEL,gtk.RESPONSE_CANCEL,gtk.STOCK_OPEN,gtk.RESPONSE_OK))
response=filew.run()
if response == gtk.RESPONSE_OK:
entry=self.wTree.get_widget("entry"+str(partial))
entry.set_text(filew.get_filename())
filew.destroy()
self.get_cd_info(int(partial))
self.on_info(int(partial))
elif response == gtk.RESPONSE_CANCEL:
filew.destroy()
def on_mount(self,index):
#Handler: Mount button is pushed, which button has been pressed is
#picked up by the widget's name
entry=self.wTree.get_widget("entry"+str(index))
is_valid=self.is_iso_valid(entry.get_text())
if is_valid==True:
#Try mounting it now, cos all appears gooooooood
self.get_cd_info(index)
if os.path.isdir("/media/"+self.isos[index].info.vollabel.strip()+"(vcd)"):
j=0
while os.path.isdir("/media/"+self.isos[index].info.vollabel.strip()+"("+str(j)+")(vcd)"):
j=j+1
fileMount="/media/"+self.isos[index].info.vollabel.strip()+"("+str(j)+")(vcd)"
else:
fileMount="/media/"+self.isos[index].info.vollabel.strip()+"(vcd)"
#fileMount=fileMount.strip()
self.isos[index].mntpoint=fileMount
makeDir=subprocess.Popen("mkdir \""+fileMount+"\"", shell=True)
makeDir.wait()
mount=self.ac_mount(entry.get_text(),fileMount)
#If the mount was successful, get on with updating the UI
if mount==True:
info=os.stat(entry.get_text())
icon=self.wTree.get_widget("icon"+str(index))
if info.st_size<729217000:
icon.set_from_file("cd.png")
self.isos[index].itype="CD-ROM"
else:
icon.set_from_file("dvd.png")
self.isos[index].itype="DVD-ROM"
self.lock_slot(index)
self.isos[index].mounted=True
self.isos[index].filename=entry.get_text()
if self.find_free_slot()<5:
self.show_tab(self.find_free_slot())
self.unlock_slot(self.find_free_slot())
self.notebook.set_tab_label_text(self.notebook.get_nth_page(self.notebook.get_current_page()),self.isos[index].info.vollabel[:7]+"...")
button=self.wTree.get_widget("mmount"+str(index))
button.set_label("Unmount")
self.on_info(self.notebook.get_current_page())
def on_umount(self,index,poll=0):
#Handler: Unmount
if poll==0:
umount=self.ac_umount(self.isos[index].mntpoint)
else:
umount=True
self.notebook.set_tab_label_text(self.notebook.get_nth_page(index),"")
icon=self.wTree.get_widget("icon"+str(index))
icon.set_from_file("cdicon.png")
if umount==True:
mountproc=subprocess.Popen("rmdir \""+self.isos[index].mntpoint+"\"", shell=True)
self.unlock_slot(index)
#Re-initialise the iso infor class
self.isos[index]=info()
button=self.wTree.get_widget("mmount"+str(index))
button.set_label("Mount")
def on_exit(obj):
mainquit()
def find_free_slot(self):
#Nicer version of the old find_Free(), returns the next free ie. uninitialised slot
free=-1
for i in range(0,4):
if self.isos[i].mounted==False:
free=i
return free
def lock_slot(self,slot):
#Locks a mount slot on the gui
entry=self.wTree.get_widget("entry"+str(slot))
entry.set_sensitive(False)
browse=self.wTree.get_widget("browse"+str(slot))
browse.set_sensitive(False)
def unlock_slot(self,slot):
#Unlocks a mount slot on the gui
entry=self.wTree.get_widget("entry"+str(slot))
entry.set_sensitive(True)
browse=self.wTree.get_widget("browse"+str(slot))
browse.set_sensitive(True)
def ac_mount(self,filename,mountpoint):
mountproc=subprocess.Popen("mount -o loop,ro -t iso9660 "+filename+" \""+mountpoint+"\"", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
mountoutput=mountproc.stderr.read()
if mountoutput != "":
displayMessage(self,''+mountoutput+'',gtk.MESSAGE_ERROR)
return False
else:
return True
def ac_umount(self,mountpoint):
mountproc=subprocess.Popen("umount \""+mountpoint+"\"", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
mountoutput=mountproc.stderr.read()
if mountoutput != "":
displayMessage(self,''+mountoutput+'',gtk.MESSAGE_ERROR)
return False
else:
return True
def on_summer(self,widget):
widgetName=widget.get_name()
partial=widgetName[6:]
pRef=int(partial)
#Handler: If summer button is pressed, start the md5sum process
entry=self.wTree.get_widget("entry"+partial)
self.progress=self.wTree.get_widget("progress")
self.progress.show_all()
self.progressbar=self.wTree.get_widget("progressbar1")
self.progressbartimer=gobject.timeout_add (100, self.progress_update)
self.md5proc=subprocess.Popen("md5sum "+entry.get_text(), shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
self.progresstimer=gobject.timeout_add (100, self.md5sum_dead)
def on_open(self,widget):
widgetName=widget.get_name()
partial=widgetName[4:]
pRef=int(partial)
mountproc=subprocess.Popen("nautilus \""+self.isos[pRef].mntpoint+"\"", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
def on_burn(self,widget):
widgetName=widget.get_name()
partial=widgetName[4:]
pRef=int(partial)
mountproc=subprocess.Popen("/usr/bin/nautilus-cd-burner --source-iso=\""+self.isos[pRef].filename+"\"", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
def is_iso_valid(self,filename):
#Checks to see if an iso is valid
if filename == "":
#Dude, select a file first you idiot
displayMessage(self,'You must input an iso image',gtk.MESSAGE_ERROR)
return False
process=subprocess.Popen("file "+filename, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
output=process.stdout.read()
if output.find("ISO") == -1:
#File is clearly not an iso, dummy :p
displayMessage(self,'File selected is not an ISO',gtk.MESSAGE_ERROR)
return False
return True
def hide_tab(self,index):
test=self.wTree.get_widget("tabwrap"+str(index))
test.hide_all()
def show_tab(self,index):
test=self.wTree.get_widget("tabwrap"+str(index))
test.show_all()
class isoinfo:
#Class for providing the volume label etc of an iso
def __init__(self,filename):
self.isoimage=file(filename,'r')
def standardid(self):
self.isoimage.seek(32767+2)
return self.isoimage.read(5)
def systemid(self):
self.isoimage.seek(32767+9)
return self.isoimage.read(32)
def vollabel(self):
self.isoimage.seek(32767+41)
return self.isoimage.read(32)
def volsetsize(self):
self.isoimage.seek(32767+121)
return self.isoimage.read(4)
def volseqnum(self):
self.isoimage.seek(32767+125)
return self.isoimage.read(4)
def volsetident(self):
self.isoimage.seek(32767+191)
return self.isoimage.read(128)
def publishid(self):
self.isoimage.seek(32767+319)
return self.isoimage.read(128)
def datprepareid(self):
self.isoimage.seek(32767+447)
return self.isoimage.read(128)
def applicid(self):
self.isoimage.seek(32767+575)
return self.isoimage.read(128)
def volcreate(self):
self.isoimage.seek(32767+814)
return self.isoimage.read(16)
class info:
#Class for holding vcd info
def __init__(self):
self.info=self.iso()
self.mounted=False
self.filename=""
self.mntpoint=""
self.size=""
self.md5=""
self.itype=""
class iso:
def __init__(self):
self.vollabel=""
self.volcreate=""
self.volsetident=""
self.standardid=""
self.systemid=""
self.volsetsize=""
self.volseqnum=""
self.publishid=""
self.datprepareid=""
self.applicid=""
def displayMessage(mclass,mtext,mtype):
mclass.win.set_sensitive(False)
dialog = gtk.MessageDialog(mclass.win,
gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
mtype, gtk.BUTTONS_OK, None)
dialog.set_markup(mtext)
dialog.connect("destroy", lambda w: mclass.win.set_sensitive(True))
resp = dialog.run()
if resp:
dialog.destroy()
app=gui()
gtk.main()
#dir(gtk.Entry()) - Very useful
./AUTHORS 0000644 0001750 0000000 00000000106 10446530734 010753 0 ustar pete root Pete Savage
Jordan Mantha
./NEWS 0000644 0001750 0000000 00000000032 10454644514 010401 0 ustar pete root Nothing to report captain
./README 0000644 0001750 0000000 00000000024 10454644535 010566 0 ustar pete root This is coming soon
./COPYING 0000644 0001750 0000000 00000043103 10455755745 010755 0 ustar pete root GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
./cdicon.png 0000644 0001750 0000000 00000010755 10446530734 011663 0 ustar pete root PNG
IHDR 0 0 W IDATxb` ! @G0(4?fPOƁ2"t4(xa' QZ:j2l|l̬aǿ7>:300g``xJG "B֮iq.fB<|,_}g'W^8{f.g``8T "zJj%]-n6R,,Lf+3##+333+33C,l΅>p/ ", Ei?gfF40301axf1323|5ng&200d``C' "
36+ͷO3031 yh&,@ fbdf`fbf`d`dw+b``' b"D~ͷP)t0PCP ??2Mrv
d X2.Sŗ/L~p`bdq29?ÿh(2߿Fvbwf``' fòpՏ߿3-a`b```:3PGCea`*3 FaSx-N66fV&fhP3F(/CH5-*q VKI!!03pq3=!?$A=_15[200B݄ F9T[cc?NVi>~n6cx#g4& I9!_o'`g! - l1
@D$j
W/E.KcDl[lL1F@۟6Yۅd De1ņD0@Si5{(&KbQ0!F"ϲqp#> \A@@OXVNbuŴڴX
z lj檚W c~QApEh[rMOCD b)|X$ILd-#qۖl7yMeY;_ox \=A@
6"u)DBݘ(L![!N/I}{rYgJ,3|15! ERs\s<$eRI=ε(U
CF_ \=
@W$)<<@YI
odo0o|@ȟ7;L cR?߁H.Wz̧ B ! ՕHw*+tJ㭨,̓()L \
@ DF!nk/7%E
Y^zإ`93HlU 7Q\ӔdQ *ӔO(ST$V-`KCƼm!8| l;
PϽQ vmlD[t<0>E@?t-Z)i`}q
W(nE d쎗Waܭg
S1x%$}&$RDϲ0 \1AF?'KJ($:gq8CFYD&3mdW}/X :mm?} ע w+Lc^,
|2
.'jh&F,(hNL"i| v6V?!Ȁ
`b`{TJT➾n@;YGƋpXH!B2sZ( lA
0G}"XxDPi$,lHTx_DU9S&%!C? 21}[14SWHWPE l=
@J`k/v[ -B$gA,͌1#]K"
bwf;iQl2v<|9nu#i߰o 息^$
ffFF!A!o_?3߽b6fQk",]4T^~o?~1rp1__3L,l,l?ݱ \ؽ
`-lhv#hZۃNê $ŊOz.x]ksD8TEz"4!t6
e('{i4[xmp0seJ+B WfvMJyT l;0Qq*JbOG[K qHp}<So<ҵ[ӎΊYc4pBwsFUyȦi{s- R2|ɔ5!t5W? _ \=
@FBXD9[KT0+