autorun4linuxcd-0.13/0000755000175000017500000000000011047335742013331 5ustar useruserautorun4linuxcd-0.13/autorun/0000755000175000017500000000000011047366264015031 5ustar useruserautorun4linuxcd-0.13/autorun/autorun.css0000644000175000017500000000374611047366014017243 0ustar useruser/* Copyright (C) 2007 Franklin Piat 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. */ body { color:buttontext; background:buttonface; margin-top:0; margin:0; } table,thead,tbody,tr,th,td { background-color: inherit; color:inherit; } #header { background-color: #f0f0f0; color: #707070; padding:0; padding:0.7ex; border-bottom: 1px solid #b0b0b0; height: 70pt; } #headertitle { font-family: "Bitstream Vera Serif", Georgia, Palatino, serif; font-size:32pt; margin:0; padding: 0; font-weight: 100; position: absolute; top:0; left:70pt; } #headersubtitle { font-family: sans-serif; font-size:14pt; margin:0; padding: 0; font-weight: 100; position: absolute; top:45pt; left:70pt; } /* MAIN TABULATION MENU */ .tabtitle { text-decoration:none; color:inherit; background: text; font-family:Sans-Serif; margin: 0.5em 0 0 0 ; padding: 0.2em 0.5em 0em 0.5em; border-style: solid; border-width: 2px 1px 0px 3px ; border-color:InactiveBorder; } .tabContent { width: 100%; border:1px solid inactivecaption; display:none; } #pannels { width:100%; border-style: ridge; border-width: thin; } /* PLUGINS LIST */ #pluginsTbl { border-collapse:collapse; width:100%; } .PluginLine td,.PluginLine th { border: none; border-top-width: 1px solid #444; border-bottom: 1px solid #444; padding: 0.15em 0.5em 0.15em 0.5em; text-align:left; background-color: CaptionText; color:Caption; } .PluginLine th { border-width: 3pt ; } autorun4linuxcd-0.13/autorun/favicon.ico0000644000175000017500000001114607423130600017137 0ustar useruser F h (>( @ʦ @ ` @@ @@@`@@@@`` `@`````` @` @` @` @`@@ @@@`@@@@@ @ @ @@ `@ @ @ @ @@@@ @@@@@`@@@@@@@@@`@` @`@@``@`@`@`@`@@ @@@`@@@@@@ @@@`@@@@@@ @@@`@@@@@@ @@@`@@@@ @` @ ` @@ @@@`@@@@`` `@`````` @` @` @` @` @` @ ` @@ @@@`@@@@`` `@`````` @` @` @`NFFNFFFNFFFFFFFNFFFFFFFWNNFFFFFFNNNFFFFNFFNFWFFFWNFFFFFNFFNFFFFFFFFFFFNFNWFNFFNFFFNFFFFWFFNFFFFNFFFFFFFFFNFFFFFFFFFFFFFNFFFFNFFFFFFFFFFFFFFFFFFFFFFFFFFNNFFNW??8?{?( @ ??|???( @ʦ @ ` @@ @@@`@@@@`` `@`````` @` @` @` @`@@ @@@`@@@@@ @ @ @@ `@ @ @ @ @@@@ @@@@@`@@@@@@@@@`@` @`@@``@`@`@`@`@@ @@@`@@@@@@ @@@`@@@@@@ @@@`@@@@@@ @@@`@@@@ @` @ ` @@ @@@`@@@@`` `@`````` @` @` @` @` @` @ ` @@ @@@`@@@@`` `@`````` @` @` @`NNNNFVFFNFFFNNFVNVNFFFNNFNFFNFVVNFVFFV?:+3J1XO(  < 3'ـ95autorun4linuxcd-0.13/autorun/autorun.vbs0000644000175000017500000002602211047366176017246 0ustar useruser' Copyright (C) 2007 Franklin Piat ' ' 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. Option Explicit Const FsoOpenForReading = 1, FsoOpenForWriting = 2, FsoOpenForAppending = 8 Const TristateFalse = -2 Dim CurrentTab Dim DefaultTab Dim WshShell Dim fso Dim oScriptFile Dim oScriptFolder Sub About_callBack() ' nothing to do End Sub Sub Refs_callBack() ' nothing to do End Sub Sub MainPage_callBack() ' nothing to do End Sub Sub QemuPage_callBack() ' nothing to do End Sub Sub QemuOptions_callBack() ' nothing to do End Sub ' /////////////////////////////////////////////////////////////// Function Between( ByRef x, ByRef minVal, ByRef maxVal ) Between = Min(Max( minVal, x),maxVal) End Function Function Max(ByRef a, ByRef b) If (a>b) Then Max = a Else Max = b End If End Function Public Function Min(ByRef a,ByRef b) If (a>b) Then Min = b Else Min = a End If End Function ' /////////////////////////////////////////////////////////////// Sub buildMenu() Dim td, action,title, node For each td in document.getElementById("main").childNodes title = td.title action = td.id action = left(action,len(action)-7) Set node = document.createElement("") menu.appendChild(node) Set document.getElementById(action & "Tab").onclick = GetRef("ShowHideTab") Next End Sub Sub DOM_removeChildren(obj) Dim subObj For Each subObj in obj.childNodes If (subObj.hasChildNodes()) Then DOM_removeChildren(subObj) End If obj.removeChild(subObj) Next End Sub Sub ShowHideTab() Dim action, Sub_exists if (window.event.type = "click" ) Then action = window.event.srcElement.id If (Not right(action ,3) = "Tab") Then Exit Sub End If action = left(action,len(action)-3) Else action = DefaultTab End If If (CurrentTab <> "") Then window.document.getElementById(CurrentTab & "Content").style.display = "none" window.document.getElementById(CurrentTab & "Tab").style.borderColor = "" window.document.getElementById(CurrentTab & "Tab").style.backgroundColor = "" window.document.getElementById(CurrentTab & "Tab").style.color = "" End If window.document.getElementById(action & "Content").style.display = "block" window.document.getElementById(action & "Tab").style.borderColor = "" window.document.getElementById(action & "Tab").style.backgroundColor = "highlight" window.document.getElementById(action & "Tab").style.color = "CaptionText" CurrentTab = action Execute("Call " & action & "_callBack()") End Sub Function checkRunningInHTA() checkRunningInHTA = not IsNull(myHta.getAttribute("commandLine")) End Function Sub ParseArgs 'Parse Args: 'http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr05/hey0420.mspx arrCommands = Split(oHTA.commandLine, chr(34)) For i = 3 to (Ubound(arrCommands) - 1) Step 2 Msgbox arrCommands(i) Next End Sub Sub Could_Not_Load_AutorunVBS() ' XXX.VBS has been fount.. fine ! ' This sub is for debug purpose only End Sub ' /////////////////////////////////////////////////////////////// Sub runVM() Dim cmd, Drive ' & " -hda \\.\PhysicalDrive1 "_ Drive = oDrive.driveLetter 'Drive = "D" cmd = """" & oScriptFolder.Path & "\qemu\qemu.exe"" -L " & oScriptFolder.Path & "\qemu\ -no-kqemu " _ & " -hda \\.\" & Drive & ": -snapshot "_ & " -kernel """ & Drive &":\" & Replace(bKernel.value,"/","\") & """ " If (Trim(bInitrd.value) <> "") Then cmd = cmd & " -initrd """ & Drive &":\" & Replace(Trim(bInitrd.value),"/","\") & """ " End If If (Trim(bAppend.value) <> "") Then cmd = cmd & " -append """ & Trim(bAppend.value) & """ " End If 'WshShell.run "cmd /k echo " & cmd WshShell.run cmd End Sub Sub keyEventHandler() key = window.event.Keycode If (key >= 48 And key <= 57) Then key = key - 48 If (helpPages.Exists("F" & key) And VarType(WshShell) = 9) Then WshShell.exec "notepad " & oDrive.driveLetter &":\"& helpPages.item("F" & key) End If End If End Sub sub configListChanged() dim s, p bKernel.value = bootConfigs.item(configList.value).item("KERNEL") bIPAppend.value = bootConfigs.item(configList.value).item("IPAPPEND") s = " " &bootConfigs.item(configList.value).item("APPEND") p = InStr(s,"initrd=") If (p>0) Then bAppend.value = Trim( Left(s,p-1) & Mid(s,InStr(p,s," "))) bInitrd.value = Mid(s,p+7,InStr(p,s," ")-1 -7) Else bInitrd.value = "" bAppend.value = bootConfigs.item(configList.value).item("APPEND") End If Call localeChanged() End Sub ' ## LOAD SYSCONF FILE Sub LoadSysConfFile() Dim ts, currentLabel, s, p, keyword, args, bootConfigs_default, keynames,i, myOpt, lastline Set helpPages = CreateObject("Scripting.Dictionary") Set bootConfigs = CreateObject("Scripting.Dictionary") On Error Resume next Err.Clear Set ts = fso.OpenTextFile(oDrive.driveLetter & ":\syslinux.cfg", FsoOpenForReading, false, TristateFalse) If (Err.Number > 0) Then Err.Clear Set ts = fso.OpenTextFile(oDrive.driveLetter & ":\syslinux\syslinux.cfg", FsoOpenForReading, false, TristateFalse) End If If (Err.Number > 0) Then Err.Clear Set ts = fso.OpenTextFile(oDrive.driveLetter & ":\isolinux\isolinux.cfg", FsoOpenForReading, false, TristateFalse) End If If (Err.Number > 0) Then runVmBtn.disabled = "disabled" Exit Sub End If On Error Goto 0 currentLabel="" bootConfigs.add currentLabel, CreateObject("Scripting.Dictionary") bootConfigs.item(currentLabel).add "KERNEL", "linux" bootConfigs.item(currentLabel).add "APPEND", "" bootConfigs.item(currentLabel).add "IPAPPEND", "" Do While Not ts.AtEndOfStream s = Trim(Replace(ts.ReadLine,vbTab," ")) p = InStr(s," ") If (( Left(s,1) <> "#" ) And (s <> "") And (p>1) ) Then keyword = UCase(Left(s, p - 1 )) If (keyword = "MENU") Then p = InStr(p+1,s," ") keyword = UCase(Left(s, p - 1 )) ' If (keyword = "MENU LABEL") Then keyword="LABEL" End If args = Ltrim(Mid(s, p + 1)) Select Case keyword Case "DEFAULT" bootConfigs_default = args Case "LABEL" currentLabel = args If Not bootConfigs.Exists(args) Then bootConfigs.add args, CreateObject("Scripting.Dictionary") If ((Left(lastline,2) = "# ") and (Trim(Mid(lastline,2,99)) <> "")) Then bootConfigs.item(args).add "LABEL", Trim(Mid(lastline,2,99)) Else bootConfigs.item(args).add "LABEL", Trim(args) End If bootConfigs.item(args).add "KERNEL", bootConfigs.item("").item("KERNEL") bootConfigs.item(args).add "APPEND", bootConfigs.item("").item("APPEND") bootConfigs.item(args).add "IPAPPEND", bootConfigs.item("").item("IPAPPEND") End If Case "MENU LABEL" bootConfigs.item(currentLabel).item("LABEL") = Trim(args) Case "KERNEL" bootConfigs.item(currentLabel).item("KERNEL") = args Case "APPEND" If (args="-") Then bootConfigs.item(currentLabel).item("APPEND") = "" Else bootConfigs.item(currentLabel).item("APPEND") = args End If Case "IPAPPEND" If (args="-") Then bootConfigs.item(currentLabel).item("APPEND") = "" Else bootConfigs.item(currentLabel).item("APPEND") = args End If Case "F1","F2","F3","F4","F5","F6","F7","F8","F9","F0" If Not helpPages.Exists(keyword) Then helpPages.add keyword, args Else helpPages.item(keyword) = args End If Case "SAY" 'TODO Case "DISPLAY" 'TODO Case "ALLOWOPTIONS" Case "IMPLICIT" Case "PROMPT" 'TODO Case "TIMEOUT" 'Ignored ! Case Else MsgBox "Ignored Line :" & vBcRlF & "'" & keyword & "' '" & args & "'" End Select End If lastline = s Loop ' ## insert syslinux menu entries in the dropdown list If (bootConfigs.count > 1) Then configList.style.Visibility= "visible" keynames = bootConfigs.Keys For i = 0 to bootConfigs.count -1 If ((keyNames(i) <> "" Or keyNames(i) = bootConfigs_default) _ AND Not ( InStr(LCase(bootConfigs.item(keyNames(i)).item("KERNEL")),"memtest") >=1 )) Then Set myOpt = Document.createElement("OPTION") myOpt.Text = bootConfigs.item(keyNames(i)).item("LABEL") myOpt.Value = keyNames(i) If (keyNames(i) = bootConfigs_default) Then myOpt.selected="selected" End If configList.add(myOpt) End If Next Else configList.style.Display = "none" configList.style.Visibility= "hidden" End if ' ## trigger an event, to reload "options" page. Call configListChanged() End Sub Sub localeChanged() Dim locale , p, p2 locale = localesList.value If (InStr(locale,".")>0) Then locale = Left (locale, InStr(locale,".")-1) End If p = inStr(Lcase(bAppend.value), "lang=") if (p >= 1) Then p2 = inStr(p, Lcase(bAppend.value), " ") if (p2 >= 1) Then bAppend.value = Left(bAppend.value,p -1) & "lang=" & locale & Mid(bAppend.value,p, p2-p) Else bAppend.value = Left(bAppend.value,p -1) & "lang=" & locale End If Else bAppend.value = bAppend.value & " lang=" & locale End if End Sub ' ##Let's pick a keyboard and language (according to current windows session) Sub ChooseLang() Dim lang,i,j,myOpt If (InStr("PAD,"&availableLocales&",", ","&Left(navigator.userLanguage,5))>1) Then lang = Left(navigator.userLanguage,5) ElseIf (InStr("PAD,"&availableLocales&",", ","&Left(navigator.userLanguage,2))>1) Then lang = Left(navigator.userLanguage,2) Else lang = "" End If Dim ts, s On Error Resume next Err.Clear Set ts = fso.OpenTextFile(oDrive.driveLetter & ":\autorun\language.txt", FsoOpenForReading, false, TristateFalse) If (Err.Number = 0) Then On Error GoTo 0 Do While Not ts.AtEndOfStream s = Split(Trim(Replace(ts.ReadLine,vbTab," ")),";",-1, vbTextCompare) If (UBound(s) >= 6) Then Set myOpt = Document.createElement("OPTION") myOpt.Value = s(4) myOpt.Text = s(0) ' MsgBox myOpt.Value &"/"& lang localesList.add(myOpt) If (s(2) = lang) Then myOpt.selected="selected" End If End If Loop Else On Error GoTo 0 i = 1 Do While (inStr(i,availableLocales,",") <> False) j = inStr(i,availableLocales,",") Set myOpt = Document.createElement("OPTION") myOpt.Value = Mid(availableLocales,i,j-i) myOpt.Text = myOpt.Value ' MsgBox myOpt.Value &"/"& lang ' If (myOpt.Value = lang) Then ' myOpt.selected="selected" ' End If localesList.add(myOpt) i = j+1 Loop localesList.Value = lang End If End Sub autorun4linuxcd-0.13/autorun/language.txt0000644000175000017500000000533110567106632017354 0ustar useruserAlbanian;2;sq;AL;sq_AL.UTF-8;;kbd=lat0-sun16(utf8) Arabic;3;ar;EG;ar_EG.UTF-8;; Basque;1;eu;ES;eu_ES.UTF-8;;kbd=lat0-sun16(utf8) Belarusian;2;be;BY;be_BY.UTF-8;;cyr Bengali;4;bn;BD;bn_BD;; Bosnian;2;bs;BA;bs_BA.UTF-8;;kbd=Lat2-Terminus16(utf8) Bulgarian;2;bg;BG;bg_BG;;kbd=ruscii_8x16(cp1251) C;0;en;;C; Catalan;1;ca;ES;ca_ES.UTF-8;;kbd=lat0-sun16(utf8) Chinese (Simplified);3;zh;CN;zh_CN.UTF-8;zh_CN:zh; Chinese (Traditional);3;zh;TW;zh_TW.UTF-8;zh_TW:zh; Croatian;2;hr;HR;hr_HR.UTF-8;;kbd=lat2-sun16(utf8) Czech;2;cs;CZ;cs_CZ.UTF-8;;kbd=lat2-sun16(utf8) Danish;1;da;DK;da_DK.UTF-8;;kbd=lat0-sun16(utf8) Dutch;1;nl;NL;nl_NL.UTF-8;;kbd=lat0-sun16(utf8) Dzongkha;4;dz;BT;dz_BT;; English;0;en;US;en_US.UTF-8;;kbd=lat0-sun16(utf8) Esperanto;2;eo;AQ;eo;;kbd=LatArCyrHeb-16(utf8) Estonian;2;et;EE;et_EE.UTF-8;;kbd=lat0-sun16(utf8) Finnish;1;fi;FI;fi_FI.UTF-8;;kbd=lat0-sun16(utf8) French;1;fr;FR;fr_FR.UTF-8;;kbd=lat9u-16(utf8) Galician;1;gl;ES;gl_ES.UTF-8;;kbd=lat0-sun16(utf8) Georgian;4;ka;GE;ka_GE;;kbd=ka8x16thin(utf8) German;1;de;DE;de_DE.UTF-8;;kbd=lat0-sun16(utf8) Greek;2;el;GR;el_GR.UTF-8;;kbd=iso07.f16(utf8) Gujarati;4;gu;IN;gu_IN;; Hebrew;3;he;IL;he_IL.UTF-8;;kbd=LatArCyrHeb-16(utf8) Hindi;4;hi;IN;hi_IN;; Hungarian;2;hu;HU;hu_HU.UTF-8;;kbd=lat2-sun16(utf8) Indonesian;1;id;ID;id_ID.UTF-8;;kbd=lat0-sun16(utf8) Italian;1;it;IT;it_IT.UTF-8;;kbd=lat0-sun16(utf8) Japanese;3;ja;JP;ja_JP.UTF-8;; Khmer;4;km;KH;km_KH;; Korean;3;ko;KR;ko_KR.UTF-8;; Kurdish;2;ku;TR;ku_TR.UTF-8;;kbd=Lat15-Terminus16(utf8) Latvian;2;lv;LV;lv_LV.UTF-8;;kbd=lat7-14(utf8) Lithuanian;2;lt;LT;lt_LT.UTF-8;;kbd=LatArCyrHeb-16(utf8) Malayalam;4;ml;IN;ml_IN;; Macedonian;2;mk;MK;mk_MK.UTF-8;;kbd=iso05.f16(utf8) Nepali;4;ne;NP;ne_NP;; Northern Sami;1;se;NO;se_NO.UTF-8;se_NO:nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en;kbd=lat0-sun(utf8) Norwegian Bokmaal;1;nb;NO;nb_NO.UTF-8;nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en;kbd=lat0-sun16(utf8) Norwegian Nynorsk;1;nn;NO;nn_NO.UTF-8;nn_NO:nn:no_NO:no:nb_NO:nb:da:sv:en;kbd=lat0-sun16(utf8) Polish;2;pl;PL;pl_PL.UTF-8;;kbd=lat2-sun16(utf8) Portuguese;1;pt;PT;pt_PT.UTF-8;pt:pt_BR:en;kbd=lat0-sun16(utf8) Portuguese (Brazil);1;pt;BR;pt_BR.UTF-8;pt_BR:pt:en;kbd=lat1-16(utf8) Punjabi (Gurmukhi);4;pa;IN;pa_IN;; Romanian;2;ro;RO;ro_RO.UTF-8;;kbd=Lat2-Terminus16(utf8) Russian;2;ru;RU;ru_RU.UTF-8;;cyr Slovak;2;sk;SK;sk_SK.UTF-8;;kbd=lat2-sun16(utf8) Slovenian;2;sl;SI;sl_SI.UTF-8;;kbd=lat2-sun16(utf8) Spanish;1;es;ES;es_ES.UTF-8;;kbd=lat0-sun16(utf8) Swedish;1;sv;SE;sv_SE.UTF-8;;kbd=lat0-sun16(utf8) Tagalog;1;tl;PH;tl_PH.UTF-8;;kbd=lat0-sun16(utf8) Tamil;4;ta;IN;ta_IN;; Thai;4;th;TH;th_TH.UTF-8;; Turkish;2;tr;TR;tr_TR.UTF-8;;kbd=Lat15-Terminus16(utf8) Ukrainian;2;uk;UA;uk_UA.UTF-8;;kbd=ruscii_8x16(utf8) Vietnamese;3;vi;VN;vi_VN.UTF-8;; Wolof;2;wo;SN;wo_SN;wo:fr:en; autorun4linuxcd-0.13/autorun/autorun.hta0000644000175000017500000001436111047366264017231 0ustar useruser

This CD/DVD contains Debian Live, a version of Debian GNU/Linux that can be run from the CD/DVD without being installed on the computer.

This laucher also also allows to run this Live system inside a QEMU virtual machine (see the VM tab).

  


Note: This disk contains a minimal version of QEMU, which lets you run the Live system inside a virtual machine. Running it is slower than running it on real hardware.

   Language :

Kernel :

initrd :

append options :

IP append options :

 

Autorun4LinuxCD

A Live CD Launcher for Windows CD/DVD


© 2007,2008 Franklin Piat.

autorun4linuxcd-0.13/autorun/logo.png0000644000175000017500000000305710636352766016511 0ustar useruserPNG  IHDR8FWbKGDIDAThݛ{lE-@ jAQjJj FVMbb"J*>BT$- `hF6`VJ)sVͽewo_2v朙4aur]MHˁF-Iҗ3Oa@9p=#g?m$#r @*HA-lӽolFLYo/9c`/p+ uV8(7 xA S[p2 *^V=n_v[=rRQ`K!k%#oxho)6e_u`ųx8 cQ\FXCQ~8$vM[@J`f qPkS~D!Zf㱶ā{.-| JBq-7 i'F4 x΃E6w&j_d\ <:fD[#onMWaJwlU63kxӧwqF v_,#-Hҽh)Ty_|־B~jydqߔdITkre~ʐ, ?+MIZ>Io3僎1` [$'xԔWg8<ynpsT9E[[zD0M 2ÙZ^.&uAX= |KV0tWǒX{b,⁧:"YA6'"3O&qA|=N䦋sJp/ʊ=@{,Ehq@St2Ac8jxWM^fy -p)T-!TBz ].G` % u9Nma(Aj Ւq9|WA[}Bpɣڿ A#Xn{5L7Ҫ*l66'!!I`+)o$ޞ+ADX i3B6 NVk>Fq!h55m UV?Y09r?Qxus?% A$fGvuQZL:gx &/xīYa!%?&4WXt.ex Xt ID5|'>IENDB`autorun4linuxcd-0.13/autorun.inf0000640000175000017500000000023110637173455015521 0ustar useruser[autorun] OPEN=autorun\shellrun\shellrun.exe autorun\autorun.hta ICON=autorun\favicon.ico [Content] MusicFiles=no PictureFiles=no VideoFiles=no autorun4linuxcd-0.13/debian/0000755000175000017500000000000011047367653014561 5ustar useruserautorun4linuxcd-0.13/debian/compat0000644000175000017500000000000211047353315015745 0ustar useruser7 autorun4linuxcd-0.13/debian/rules0000755000175000017500000000116711047360163015633 0ustar useruser#!/usr/bin/make -f include /usr/share/dpatch/dpatch.make clean: unpatch dh_testdir dh_testroot rm -f build-stamp rm -f shellrun/shellrun.exe dh_clean build: build-stamp build-stamp: patch dh_testdir i586-mingw32msvc-gcc shellrun/shellrun.c -o shellrun/shellrun.exe touch build-stamp install: build binary: binary-arch binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_install dh_lintian dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary-indep: .PHONY: clean build install binary binary-arch binary-indep autorun4linuxcd-0.13/debian/changelog0000644000175000017500000000021011047364107016413 0ustar useruserautorun4linuxcd (0.13) unstable; urgency=low * Initial release. -- Franklin Piat Fri, 8 Aug 2008 23:38:00 -0300 autorun4linuxcd-0.13/debian/control0000644000175000017500000000131411047367653016163 0ustar useruserSource: autorun4linuxcd Section: otherosfs Priority: extra Maintainer: Debian Live Uploaders: Franklin Piat Build-Depends: debhelper (>= 7), dpatch, mingw32 Standards-Version: 3.8.0 Homepage: http://www.klabs.be/~fpiat/projects/autorun4linuxCD/ Vcs-Browser: http://git.debian.org/git/debian-live/autorun4linuxcd.git Vcs-Git: git://git.debian.org/git/debian-live/autorun4linuxcd.git Package: autorun4linuxcd Architecture: amd64 i386 Depends: ${shlibs:Depends}, ${misc:Depends} Description: Menu for Debian Live under Windows This package contains a menu system for Debian Live under Windows. It is only useful for live-helper, while building CD images. autorun4linuxcd-0.13/debian/install0000644000175000017500000000022511047353710016136 0ustar useruserautorun.inf /usr/lib/autorun4linuxcd/ autorun/* /usr/lib/autorun4linuxcd/autorun/ shellrun/shellrun.exe /usr/lib/autorun4linuxcd/autorun/shellrun/ autorun4linuxcd-0.13/debian/patches/0000755000175000017500000000000011047360136016175 5ustar useruserautorun4linuxcd-0.13/debian/patches/01-shellrun.dpatch0000755000175000017500000000134511047360136021442 0ustar useruser#!/bin/sh /usr/share/dpatch/dpatch-run ## 01-shellrun.dpatch by Daniel Baumann ## ## DP: Don't include broken and unused comment. @DPATCH@ diff -Naurp autorun4linuxcd-0.12.orig/shellrun/shellrun.c autorun4linuxcd-0.12/shellrun/shellrun.c --- autorun4linuxcd-0.12.orig/shellrun/shellrun.c 2007-04-02 10:39:18.000000000 +0000 +++ autorun4linuxcd-0.12/shellrun/shellrun.c 2008-08-09 18:21:08.000000000 +0000 @@ -16,7 +16,7 @@ open=shellrun.exe index.html #include -statuc char[] RCS_ID = "$Id: shellrun.c,v 1.1 2004/06/13 11:05:04 jv Exp $ "; +//statuc char[] RCS_ID = "$Id: shellrun.c,v 1.1 2004/06/13 11:05:04 jv Exp $ "; int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, autorun4linuxcd-0.13/debian/patches/00list0000644000175000017500000000002311047360072017225 0ustar useruser01-shellrun.dpatch autorun4linuxcd-0.13/debian/copyright0000644000175000017500000000310311047354214016476 0ustar useruserAuthor: Franklin Piat > Download: http://www.klabs.be/~fpiat/projects/autorun4linuxCD/ Files: * Copyright: (C) 2007-2008 Franklin Piat License: GPL-2+ 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. . On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. Files: autorun/favicon.ico autorun/logo.png Copyright: (C) 1999 Software in the Public Interest, Inc. License: Debian Open Use Logo License This logo or a modified version may be used by anyone to refer to the Debian project, but does not indicate endorsement by the project. . Note: we would appreciate that you make the image a link to http://www.debian.org/ if you use it on a web page. Files: autorun/shellrun/* Copyright: (C) 2004 Squirrel Consultancy License: n/a This is Open Source. Do with it as you please. Downloaded from: http://search.cpan.org/src/JV/Album-1.06/helper/ autorun4linuxcd-0.13/debian/lintian-overrides0000644000175000017500000000012011047354737020132 0ustar useruserautorun4linuxcd: image-file-in-usr-lib usr/lib/autorun4linuxcd/autorun/logo.png autorun4linuxcd-0.13/COPYING0000644000175000017500000004310310641012126014350 0ustar useruser 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. autorun4linuxcd-0.13/TODO0000644000175000017500000000117111047335713014017 0ustar useruserTODO list for live-helper ------------------------- This file lists only outstanding tasks. Any additions/comments/questions and help is welcome. Write to . * key event handler should intercept "Fn" keys, not digit keys. * convert syslinux menu files as HTML. * support grub/iso * detect di installer (if the CD has a /install/ folder) * Detect winXP/64 * testing ! - Win 2000 and Vista - Languages detection BUGS ---- Some known bugs and known limitation * syslinux.cfg's INCLUDE isn't implemented. * This folder containing this script must not contain any special chars autorun4linuxcd-0.13/shellrun/0000755000175000017500000000000011047367670015172 5ustar useruserautorun4linuxcd-0.13/shellrun/autorun.inf0000644000175000017500000000005110604156526017353 0ustar useruser[autorun] open=shellrun.exe index.html autorun4linuxcd-0.13/shellrun/README0000644000175000017500000000076510604156526016054 0ustar useruserThis directory contains some helper programs. Makefile A generic Makefile to maintain albums. mpegstill.c A fast tool to extract a still image from an MPEG movie. Requires libmpeg2, http://libmpeg2.sourceforge.net shellrun.exe MS Windows autostart helper program. Put this program, autorun.inf and autorun.inf, both in the root of the CD-ROM. Inserting the CD-ROM in a Windows system will then automatically open index.html in a browser. shellrun.c Source for shellrun.c. No secrets. autorun4linuxcd-0.13/shellrun/Makefile0000644000175000017500000000313410604156526016625 0ustar useruser# Generic Makefile for albums. HERE = . TOOLS = $(HOME)/src/album/src DATA = $(HOME)/src/album/data CAMERA = /mnt/camera DCIM = dcim/101msdcf DSC = $(CAMERA)/$(DCIM) RAW = $(HERE)/$(DCIM) OPTS = PERL = perl IMPORT = $(shell test -d $(DCIM) && echo "--dcim=$(DCIM)") default : update fetch : mountc _fetch umountc mountc : -mount $(CAMERA) _fetch : rsync -av --modify-window=1 --exclude=dsc00000.jpg \ $(DSC)/ $(RAW)/ find $(RAW) -type f -perm +333 -print -exec chmod 0444 {} \; umountc : -umount $(CAMERA) update : $(PERL) -w $(TOOLS)/album.pl $(OPTS) --verbose --update $(IMPORT) $(HERE) clobber : $(PERL) -w $(TOOLS)/album.pl $(OPTS) --verbose --clobber --update $(IMPORT) $(HERE) export-web : $(PERL) -w $(TOOLS)/album.pl $(OPTS) --verbose --mediumonly --caption=tc $(HERE) rm -f web.zip zip -r web.zip index*.html icons css medium thumbnails journal init :: mkdir -p $(DCIM) ln -s $(TOOLS)/shellrun.exe . ln -s $(TOOLS)/autorun.inf . test -f Makefile || ln -s $(TOOLS)/generic.mk Makefile test -f info.dat || { \ dir="`basename \`pwd\``"; \ touch $(DATA)/$$dir.dat; \ ln -s $(DATA)/$$dir.dat info.dat; \ echo "!title $$dir" > info.dat; \ } init-nolinks :: mkdir -p $(DCIM) cp $(TOOLS)/shellrun.exe . cp $(TOOLS)/autorun.inf . test -f Makefile || cp $(TOOLS)/generic.mk Makefile test -f info.dat || { \ dir="`basename \`pwd\``"; \ echo "!title $$dir" > info.dat; \ } clean :: rm -f .cache *png index*html large/*html *~ rm -f shellrun.exe ShellRun.exe autorun.inf rm -fr icons css images medium thumbnails .xvpics realclean :: clean rm -f `readlink info.dat` info.dat autorun4linuxcd-0.13/shellrun/shellrun.c0000644000175000017500000000211110604156526017157 0ustar useruser/* Wrapper for the ShellExecute system call. * * Put this program, with an appropriate AUTORUN.INF in the root of a * CD to automatically show any document, not just executable types. * * Example AUTORUN.INF: ---cut here --- [Autorun] open=shellrun.exe index.html --- cut here */ /* Copyright 2004 Squirrel Consultancy. * This is Open Source. Do with it as you please. */ #include statuc char[] RCS_ID = "$Id: shellrun.c,v 1.1 2004/06/13 11:05:04 jv Exp $ "; int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) { HINSTANCE result; // Launch the file specified on the command-line. result = ShellExecute(NULL, "open", lpCmdLine, NULL, NULL, SW_SHOWMAXIMIZED); if ((int)result <= 32) { // An error was encountered launching, probably because the // computer doesn't have IE5 or greater. // Open windows explorer, showing the CD contents. ShellExecute(NULL, "explore", "", NULL, NULL, SW_SHOWNORMAL); return 1; } else { // Launched OK. return 0; } }