ubuntustudio-installer-0.01/0000755000000000000000000000000012205671334013070 5ustar ubuntustudio-installer-0.01/debian/0000755000000000000000000000000012205671334014312 5ustar ubuntustudio-installer-0.01/debian/source/0000755000000000000000000000000012205671334015612 5ustar ubuntustudio-installer-0.01/debian/source/format0000644000000000000000000000001512205671261017020 0ustar 3.0 (native) ubuntustudio-installer-0.01/debian/copyright0000644000000000000000000000214112205671261016242 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Len Ovens Files: * Copyright: 2013 Len Ovens License: GPL-2+ Files: usr/share/icons/* Copyright: 2013 Ralf Mardorf License: GPL-2+ License: GPL-2+ This package 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, or (at your option) any later version. . This package 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 allong with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. ubuntustudio-installer-0.01/debian/changelog0000644000000000000000000000167212205671320016165 0ustar ubuntustudio-installer (0.01) saucy; urgency=low * Initial release. * Added debian/rules file * Added debian/source/format file * Fixed control file format error * Added an icon for ubuntustudio-installer. * Fixed copyright to add Ralf as icon creator. * Fixed spelling error in copyright file. * Added Keywords line to desktop file. * Added man page. * fix wording in copyright file * Redid man page as gzip src * added newline to desktop file * Removed unused conflicts line from control * Changed debhelper version to what is currently available * updated compat to 9 * Made copyright file machine readable * Added Usage for no arguments on command line. * Add error dialog for words on command line being non-packages * Change progress bar from terminal to gui * Change desktop file to set terminal false * releasing fixes (LP: #1209414) -- Len Ovens Fri, 23 Aug 2013 15:33:52 +0100 ubuntustudio-installer-0.01/debian/control0000644000000000000000000000127512205671261015721 0ustar Source: ubuntustudio-installer Section: admin Priority: optional Maintainer: Ubuntu Studio Developers Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Vcs-Bzr: http://bazaar.launchpad.net/~ubuntustudio-dev/ubuntustudio/ubuntustudio-installer Package: ubuntustudio-installer Architecture: all Depends: zenity, perl, debconf, policykit-1, ${misc:Depends} Description: Software installer for Ubuntu Studio Takes a list of packages on the command line and allows the user choose which package to install. The desktop file should determine the list of packages. More than one desktop file can allow each menu category to have extra software installable. ubuntustudio-installer-0.01/debian/rules0000755000000000000000000000003512205671261015367 0ustar #!/usr/bin/make -f %: dh $@ ubuntustudio-installer-0.01/debian/install0000644000000000000000000000000512205671261015675 0ustar usr/ ubuntustudio-installer-0.01/debian/compat0000644000000000000000000000000212205671261015507 0ustar 9 ubuntustudio-installer-0.01/usr/0000755000000000000000000000000012205671334013701 5ustar ubuntustudio-installer-0.01/usr/bin/0000755000000000000000000000000012205671334014451 5ustar ubuntustudio-installer-0.01/usr/bin/ubuntustudio-installer0000755000000000000000000001013512205671261021143 0ustar #!/usr/bin/perl -w # A script for taking package names on the command line, checking if they # are available, and displaying a list from which the user can select which # package(s) to install. # # this installer is intended to be used from an xdg desktop file so that # the packages on the command line can match the menu where the # desktop file is displayed. # lets set some variables here so they are easy to find: # Start of our command to run package selection window $zen = 'zenity --title="Ubuntu Studio - software installer" --width=650 --height=400 --list --text="Select the metas to install" --separator=" " --print-column=2 --checklist --column="select" --column="package" --column="description" '; # how many arguments? $numpkgs = @ARGV; # count var for packages actually found $pksfnd = 0; # print usage if no arguements if ($numpkgs == 0) { print STDERR "USAGE:\n ubuntustudio-installer [] ... \n"; exit 1; } # get a string with list of packages for ($count = 0; $count < $numpkgs; $count++) { # check if exists while getting description $cachecmd = "apt-cache search -n $ARGV[$count] |"; open(FHCACHE, $cachecmd); while () { @ln = split; $p = shift @ln; if ($p eq $ARGV[$count]) { #get rid of - shift @ln; ++$pksfnd; #make description back into string $d = join(" ",@ln); #add a line onto zenity command line $zen = "$zen false $p \"$d\""; } } close (FHCACHE); } # if none of the listed packages exist get out if ($pksfnd == 0) { print STDERR "None of the packages appear to be the repos you are connected to\n"; exec( "zenity --warning --text=\"packages not in repositories.\""); } # show the selection dialog and collect users selected packages $SIG{PIPE} = "IGNORE"; open(FHSEL, "$zen|") || die "can't fork: $!"; $selpkgs = ; close(FHSEL) || die "Transaction Canceled (status=$?)"; #run the install as system with progress bar in terminal and exit if ($selpkgs) { # initialize current percent to 0 $pctcur = 0; # run apt-get install -y open stdout as file handle $aptcmd = "pkexec apt-get install -y $selpkgs |"; open(FHAPTG, $aptcmd) || die "Unable to run apt-get"; # run zenity --progress pipe we print to it's stdin # zenity progree starts at 0%, initial text = "Installing" $zenprogcmd = " |zenity --progress --width=650 --no-cancel --title=\"UbuntuStudio Installer\" --text=\"Installing\" --percentage=0"; open(FHZENPROG, $zenprogcmd) || die "Failed to start zenity."; # turn off buffering for FHZENPROG select (FHZENPROG); $| = 1; select (STDOUT); # run loop for each line from aptget while () { @ln = split; @ln = (@ln, "."); # start if else stuff # look for no. upgraded, no. newly installed if ($ln[1] eq "upgraded,") { $pkttl = $ln[0] + $ln[2]; # step value is how many percent to add for each step if ($pkttl == 0) { $stepval = 0; }else{ $stepval = 100 / ( $pkttl * 3 + 1); } print FHZENPROG "# $pkttl Packages to install. \n"; sleep (1); # For each get: }elsif ($ln[0] =~ /^Get/) { $pctcur = $pctcur + $stepval; print FHZENPROG "$pctcur\n"; print FHZENPROG "# Downloading $ln[3] \n"; # For each Unpacking line: }elsif ($ln[0] =~ /^Unpackin/) { $pctcur = $pctcur + $stepval; print FHZENPROG "$pctcur\n"; if ($ln[1] eq "replacement") { print FHZENPROG "# $ln[0] $ln[1] $ln[2] \n"; }else{ print FHZENPROG "# $ln[0] $ln[1] \n"; } # For each Setting up line: }elsif ($ln[0] =~ /^Setting/) { $pctcur = $pctcur + $stepval; print FHZENPROG "$pctcur\n"; print FHZENPROG "# @ln \n"; } } # apt-get has finished when we get here so close it's file handle close (FHAPTG); print FHZENPROG "# Installation complete. \n"; print FHZENPROG "100\n"; # close file handle so that OK is the only live button. close (FHZENPROG); }else{ exec( "zenity --warning --text=\"no package chosen\""); } ubuntustudio-installer-0.01/usr/share/0000755000000000000000000000000012205671334015003 5ustar ubuntustudio-installer-0.01/usr/share/applications/0000755000000000000000000000000012205671334017471 5ustar ubuntustudio-installer-0.01/usr/share/applications/ubuntustudio-installer.desktop0000644000000000000000000000065312205671261025634 0ustar [Desktop Entry] Name=Ubuntu Studio Meta Installer GenericName=Software Installer Comment=Used to install Ubuntu Studio Software Metas Exec=ubuntustudio-installer ubuntustudio-audio ubuntustudio-menu linux-lowlatency ubuntustudio-graphics ubuntustudio-photography ubuntustudio-publishing ubuntustudio-video Terminal=false Type=Application StartupNotify=true Icon=ubuntustudio-installer Categories=System; Keywords=Install;Apps; ubuntustudio-installer-0.01/usr/share/man/0000755000000000000000000000000012205671334015556 5ustar ubuntustudio-installer-0.01/usr/share/man/man1/0000755000000000000000000000000012205671334016412 5ustar ubuntustudio-installer-0.01/usr/share/man/man1/ubuntustudio-installer.1.gz0000644000000000000000000000104512205671261023657 0ustar ]Qubuntustudio-installer.1}R0+F{jDZU %$RWm&qE} [${((\,|]'ӃH W")gz(fQ NBqC}/m F[.i.S$2>?I2-WC/l6$ ON@$ ٩hOh/),E̺L8jѫYS ijA cw# @feV&Ԫbls ˪R:gp@*:1/7S:cFEe]¥uqSF1s+~+:Bn0Jl2^0ǀ?8-]cڊN. ?]a`F%Ě5(l)31x:Ka<+[.@(G(#1:)`rx5DZ]bĖȞp_/5eFvzubuntustudio-installer-0.01/usr/share/icons/0000755000000000000000000000000012205671334016116 5ustar ubuntustudio-installer-0.01/usr/share/icons/hicolor/0000755000000000000000000000000012205671334017555 5ustar ubuntustudio-installer-0.01/usr/share/icons/hicolor/22x22/0000755000000000000000000000000012205671334020334 5ustar ubuntustudio-installer-0.01/usr/share/icons/hicolor/22x22/apps/0000755000000000000000000000000012205671334021277 5ustar ubuntustudio-installer-0.01/usr/share/icons/hicolor/22x22/apps/ubuntustudio-installer.png0000644000000000000000000000277312205671261026562 0ustar PNG  IHDRĴl;bKGD pHYs B(xtIME$.'5IDAT8}_UW9s 0 :#`E-VKIb`ĢofbbRmccLRXZHDSk"mas wf= Ѩ]zX+Y/ uرtW˛{55"V}_Zߜl}=`#iNg~2}"fhRa$Jhx \-Fj9 <]۹obbxbbl}p |ϐB Dqau _]tM2ƹ^2,{ɫuzNɍ"BnTt(=aշZ!7RWQZ糣fg=gn'1L9kv׻B*UR/s!ˡz\) >ʫIiK 1xv :t2,Wm*R0J'.Xm7 G8_o3Yl)'p:o$-qnnh-Z[UE Zo4,oj%n9-.͆n?Ɨv& Y{YwUPVӠ\ո?H tF<2X255㭥s\sb3_u6UJ)$ IP R V e 5{夾7`'צƨ55JYkX}vN9\ݾuYU۶€`D@@EF6ى-=ڕ:FXTVS9$5b\OE(Y Reo |М{5*5WֵV;Eah+(05z7佦 {s0ӳ޸QMK`J}=9֩۾AyW@H^ v}(m3~iA=Պ89p3 W2Eb ۞ng > KqdFX_7L;rADnc!S[CRDq!,YU[.}e.26۷#5/N<-+IUp!s0|/#"'v&:EgXUBOd4vY o\xⱱ-qO(J8kr Da3MִQz#;I$CK3S\vpvs)U9pΑe=9Ar^;ų>G>;@O;99xxA1_=ݤ54Mi۔ύT>Tx!JA14-"xowa<ɲ dVFkLOOכf%"W,ZZXTMbyc4ei[;sNsv:hhFHuIENDB`ubuntustudio-installer-0.01/usr/share/icons/hicolor/scalable/0000755000000000000000000000000012205671334021323 5ustar ubuntustudio-installer-0.01/usr/share/icons/hicolor/scalable/apps/0000755000000000000000000000000012205671334022266 5ustar ubuntustudio-installer-0.01/usr/share/icons/hicolor/scalable/apps/ubuntustudio-installer.svg0000644000000000000000000021460612205671261027564 0ustar Ubuntu Studio v3 image/svg+xml Ubuntu Studio v3 Cory Kontros New Ubuntu Studio logo based on the Ubuntu logo 1st used in Ubuntu 10.04. August 8th 2010 ubuntustudio-installer-0.01/usr/share/icons/hicolor/48x48/0000755000000000000000000000000012205671334020354 5ustar ubuntustudio-installer-0.01/usr/share/icons/hicolor/48x48/apps/0000755000000000000000000000000012205671334021317 5ustar ubuntustudio-installer-0.01/usr/share/icons/hicolor/48x48/apps/ubuntustudio-installer.png0000644000000000000000000001151412205671261026573 0ustar PNG  IHDR00WbKGD pHYs B(xtIME $QIDATh޽ye}?sν,=4b ,X6( )8rFJ")6K\SI VE*R#cG%D#!r)Z#a`10=3[r/ozTDɫ:u=oS<ӻ1{EdLcB*"EQswu׫?=pιD q+Din|yYRwzvoJkzUw&ۼC.G1>oٳ 2DX (XJI~G:yӸ ]Q[jm%/6{N'ƭRlc.F`߾}EbTʨ-*: ZpRFAR5-Ɋ9u!d4_yC~bX/ SO\$o:U 4ӂ-6 \LǞqc=XZa-u)o--&@Z]4cD_#5櫫35 ap+@"2id9Ή2.ESF\`jZC7PhB@3@6{- |bv.1++H7J0NVk'RnIHD_zrn*j⋵JJ a p j FZX'&|=C XkV:{ELB0XUtL,$)8W]:}:[.?eiLo:l |:66Q  +J~g+t_ KLEbm1WP[Dd¨jS Ab& g!U7QE6?΃OwSTMdڝB*d0|n` t2lVo[MATىb"Eݐ)1RRLNT5듯7%9T1eT=( ÑSljm|Q˃ [hCݗY4*1qi[';,zW7 כrNDDyy-שk[|LLaE}^lYv9;A٪ԶſfO[gi 5SS[]QJ46d6ܮ]๝#T~ 6EFD^ݵt] %-^x%[EYo[ZQ==Bq;W1"R&MAFĕ/Ǝc&myjk* f+C~-e :؈M~_ޓ>Yy]Wwشi6.8獱*&90pEDYoc;.(\ѣoz(OJiy'A>x *ZjRI$Zẖ۫w{oXje+ /uEy5 8St1xm̝Ģe0iN%K7 c$N'ybD-)t01Ub QjpXN{@VWs:<sw.366qt+77Į+u~t*y__3H"I%,G1Fj Á膲 \s䝟Db(%A1'WBO {S/9Y)u[Vns4j\:w&㇮Xg2%ɘZETX77x?Goɽ@l $C"Ľb] o`%BV\y6 [+vvjLLcn}>>$ԬUedi{zNk'\))7Jdjhd+!|邞{o - 64 1SVMF=j{;?;{<ҽrXt0*Hna}YcM\ bŖ1s4ߗ֩{QS{B+mzA hPn+j_Ə%htͰv3g3Ue> RUٿG?V_ON< _ ϭD鄣]Kq>ṩiwlUEP;xpx _JQRcOl#6{QYߌo/|M*YY^:V Cn),c+YY~v^qru\Zac|9q`"4_9s߃>[SOWʶ}:M c#|!a`r֙"fO/9 'ͧT8  qVusLR猩0v*^|Zϯ|<p 箻ǤgS.[Ǚ0tlk:6 ˶cv$bhl1tlqlx6וm:5cXԿWk^XY?Kx(['&80]bi?_׈v}G?}v=۶l^-[pZvx8U=ySpczdt7إ}ꭂW10>>]Ibqαw׿g/Fl\_җ>>;;m6B{EAiJQfpU=ێn(i. Sy zPsv@t(k-fP'IXkvwl:xzA0.5`c߼yoܹs{ϋ/֭[9ǁ6cpBhz9$j e 4M:k'N<Q __;vlRU( * ڡ)__yjvÕeYQYa#DȲNCZF$soC}c]|_h|m׮]W?s8/Oj/v?'1e"Zt:E[VBzZBŚZHE# @erkY-EQ {ӝ0|N76 ԩ$PMŜIENDB`