Script for downloading(svn) and install E17

I've been working on a script that download for the svn repository e17, compiler and install. I've made this script more as a to lear more about bash script. You can do the same thing as my script with yaourt. I hope someone might need it.
#!/bin/bash
# Title: Arch E17 svn #
# Auther: Kamil MIklaszewski ([email protected]) #
# Date: 2008-12-19 19:10 #
# Licence: GPL #
# 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. #
# Version: 1.0 #
# Description: This script was writen for Archlinux. It will download e17 #
# from the svn repository and it will do a full installation. #
# This script also take care of the dependency for all of the #
# programs that are installed with e17. #
# TODO: For version 1.0 #
# -have the scipt use dialog #
# -make the script more autamatic #
# Change Log: *2008-12-19 #
# -creation of script #
# Function name: prep
# Function paramiter(s): none
# Function description: This function prepers the envirement to run
# the rest of the script
prep()
#make a temporery directory and go to it
mkdir -p ~/arch_e17_svn
cd ~/arch_e17_svn
#export this path to compile succesfuly
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
# Function name: message
# Function paramiter(s): Word to be printed on the screen
# Function description: This function print messages on the screen.
message()
#print a message to the screen
echo -e "==>" $*
# Function name: downloadPackage
# Function paramiter(s): none
# Function description: This function go to the user's home
# directory and downloads e17 from svn repo.
downloadPackage()
message "Downloading " $1 " from E17 svn repository."
#download the specifed package with less text
svn co --quiet http://svn.enlightenment.org/svn/e/trunk/$1 $1-svn
# Function name: generalDependencys
# Function paramiter(s): none
# Function description: This fuction install the general
# dependencys.
generalDependencys()
message "Installing Dependencys..."
#list of package needed to be installed
generalDependencysList=(
'svn'
'm4'
'autoconf'
'automake'
'libtool'
'pkgconfig'
'texinfo'
'zlib'
'libpng'
'libjpeg'
'freetype2'
'xorg'
'dbus'
'hal'
'pam'
'librsvg'
'libnotify'
'curl'
'openssl'
'libungif'
'libtiff'
'gettext'
'glibc'
'glibmm'
'doxygen'
'giflib'
'cairo'
'libx11'
'libxext'
'libxrender'
'fontconfig'
'libxcb'
'sdl'
'mesa'
'qt'
'librsvg'
'libtiff'
'directfb'
#install the dependencys in the list
sudo pacman -Sq --needed ${generalDependencysList[@]}
# Function name: installPackage
# Function paramiter(s): The name of the package to install
# Function description: This fuction need one paramiter that is
# the package to configure and install.
installPackage()
#change directory to the program to configure and install
cd ~/arch_e17_svn/$1-svn
message "Configurating package " $1
#run the autogen script that will configure and
#make read to install this program
./autogen.sh
message "Compiling package " $1
#now compile the source file of the program
make
message "Installing package " $1
#now install the program
sudo make install
cleanUp()
rm -r ~/arch_e17_svn
# MAIN #
main()
#preper the envirement
prep
#install the general dependecys using pacman
generalDependencys
#list of packages to download and install
packagesList=(
'eina'
'eet'
'evas'
'ecore'
'efreet'
'embryo'
'edje'
'e_dbus'
'e'
#loop that gos through the list and downloads the packages
for package in ${packagesList[@]}
do
downloadPackage $package
message "Done\n"
done
#loop that gos through the list and installs the packages
for package in ${packagesList[@]}
do
installPackage $package
message "Done\n"
done
main

pressh wrote:to not duplicate work I've already created a python script some time ago which you can use to build e17 pacman packages using the community PKGBUILDs: http://dev.archlinux.org/~ronald/e17.html
I may extend its usage if someone sees any use for it. Either way, just thought I should drop it here.
is that script any different from a full build through makepkg/yaourt using AUR's Pkgbuilds?
I tried to use it but i get a list of errors similar to
cp: impossibile creare il file normale `eina-build/eina/.svn/prop-base/NEWS.svn-
base': Permission denied
but if i can use yaourt, why not?
Edit: sorry, i looked at the python source and realized that it actually just syncs abs and then runs makepkg and namcap for each package. so i guess i'll use yaourt instead (or try to understand why makepkg exits with that error)
Last edited by pikiweb (2009-06-19 08:48:46)

Similar Messages

  • HT2052 After I purchased , downloaded it and installed it , my Ipod Touch 1st gen restarted and show connect to Itune but Itune does not recognize it, I restarted the PC, the Ipod, now I paid for something that I was thinking will be easy and make my life

    After I purchased , downloaded it and installed it , my Ipod Touch 1st gen restarted and show connect to Itune but Itune does not recognize it, I restarted the PC, the Ipod, now I paid for something that I was thinking will be easy and make my life easy

    See if placing the iPod in DFU mode will allow a restore.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • PKGBUILD script for Gambas SVN

    Hi!
    Some time ago I found an old PKGBUILD script for Gambas SVN that I've successfully used to make and install Gambas with. The problem with this is that it builds Gambas as one package, while it is recommended to build it like the stable version as done in the arch Community repo: https://www.archlinux.org/packages/?q=gambas. One important reason for this is that install packages created by the Gambas IDE depends on these individual packages to install.
    I was wondering if someone could direct me how to make a PKGBUILD script for Gambas SVN that does this? There are some directions on the Gambas Wiki here: http://gambaswiki.org/wiki/howto/package

    Head_on_a_Stick wrote:
    jerik wrote:I was wondering if it would be possible to have a look at the PKGBUILD file that is used?
    You can use the ABS to download the PKGBUILD for the (many) Gambas packages available.
    Oh, OK It is very strange, but $ sudo pacman -S abs told me that the package did not exist, so I downloaded it from the arch website and installed it.
    Then, now when I run it, this happens:
    # abs
    ==> Downloading tarballs...
    ==> core...
    ==> ERROR: Download failed
    ==> extra...
    ==> ERROR: Download failed
    ==> community...
    ==> ERROR: Download failed
    ==> multilib...
    ==> ERROR: Download failed
    Last edited by jerik (2014-12-26 00:31:50)

  • When i plug in my iphone to my macbook it says i need to update itunes to 11.1 but i've already downloaded it and installed it. it still says that i need to download iTunes. what do i do?

    when i plug in my iphone to my macbook it says i need to update itunes to 11.1 but i've already downloaded it and installed it. it still says that i need to download iTunes. what do i do?

    Hi conor1221!
    You will probably want to download the newest version of iTunes (iTunes 11.1) directly from Apple and install it on your computer if you are having issues updating. The link for the download can be found here:
    Apple - iTunes - Download iTunes Now
    http://www.apple.com/itunes/download/
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Downloaded Firefox and installed...but nothing

    Downloaded Firefox and installed but when I type an address example : "facebook.com"....press enter.....NOTHING...NOTHING at all.....I did uninstall and then reinstall and still nothing...can you please share your wisdom...Thank you in advance for your help.

    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to install for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    See also:
    *http://kb.mozillazine.org/Error_loading_websites

  • I downloaded Lightroom and installed it,but never activated it before my computer crashed. I now have a new computer and wish to install it on that windows machine.

    I don't know what to do.  I bought Lightroom, downloaded it and installed it, but never activated it with a serial number. My computer crapped the bed and I had to buy a new machine.  How do I get it set up on my new machine?

    download and install.  if you need an activation count reset, contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5 | 1
    Contribute:  CS5 | CS4, CS3 | 3,2
    FrameMaker:  12, 11, 10, 9, 8, 7.2
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • I bough a new imac, this haven't dvd burner, i bought a external dvd burner but the imac havent a idvd and i need this program, no other one, how to download this and install?

    i bough a new imac, this haven't dvd burner, i bought a external dvd burner but the imac havent a idvd and i need this program, no other one, how to download this and install?

    Hi
    how to download this and install?
    There are no free DownLoads !
    There are no legal DownLoads at all !
    If there is no iDVD on Your Mac (and it's not on newer Macs as Apple discarded it) then You need a program that can do this.
    Your Mac can burn CDs and DVDs - BUT DVD as Data-DVDs not as Video-DVDs - they need a program to be encoded and STRUCTURED as such.
    • iDVD is part of the boxed version of iLife'11 and can only be bought outside Apple as on Amazon and e-bay
    • DVD Studio pro - Part of FinalCut Studio Pro bundle - this to has expired and can only be bought second handed. (High price and tough learning Curve - but best ever done.)
    • Roxio Toast™ - Not as elegant as iDVD - but has many other positive additions (I like it as 10-Pro incl BD-component) (now version 11)
    • Burn - only free alternative I know of on internet. Very simple - Just for doing a plain Video-DVD
    Burn http://www.digital-digest.com/software/Burn.html
    only You can buy from Apple is
    • FinalCut Pro-X which also can burn to DVD but without any nice themes.
    AppleMan1958
    You can also buy Compressor from Apple for $50 US. It will also create DVD and BluRay but without the nice themes.
    Yours Bengt W

  • I have downloaded, extracted and installed Elements 12 but it will not open nor can I find the Adobe file in the file where I installed it to..  When I've tried to download and install again

    I have downloaded, extracted and installed Elements 12 but it will not open nor can I find the Adobe file in the file where I installed it to..  When I've tried to download and install again it says that the "Object Already Exists."  It may exists, but it is not visible in the file or in my list of programs on the Startup Menu.

    cactisken
    You should not have to uninstall Premiere Elements 12/12.1 in order to install and run Premiere Elements 13 on the same computer unless your computer is overloaded and the computer resources are compromised. Just use one program at a time.
    Can you still use 12/12.1 on this same computer that will not let you use 13?
    What specific Window operating system are you using?
    Let us go through the usual drill...
    1. Does the problem exist with and without the antivirus and firewall(s) disabled?
    2. Are you using a pen and tablet device instead of a mouse?
    3. Did you install the program with antivirus and firewall(s) disabled?
    4. Disable the SLCache Folder found in Windows 7, 8, or 8.1 64 bit
    Local Disk C
    Program Files (x86)
    Common Files
    Adobe
    and in the Adobe Folder should be the SL Cache Folder that you delete or disable by renaming the Folder
    from SLCache to SLCacheOLD.
    5. Are you running the program as Administrator and is the latest version of QuickTime installed on the same
    computer as Premiere Elements 13?
    Let us start here and then decide what next.
    Thank you.
    ATR

  • HT5787 i buy iphone 4sfrom some friend that's he got it from his friend in canada and me set up software for it from Itunes and it asking now for apple ID that's i don't used it for download apps and me can't open my Iphone right now !! what i should do ?

    i buy iphone 4sfrom some friend that's he got it from his friend in canada and me set up software for it from Itunes and it asking now for apple ID that's i don't used it for download apps and me can't open my Iphone right now !! what i should do ?

    It's not stolen ,that iphone came from canada to Egypt and me activeted it last night i got the acc from the owner
    Thanks for Replay Mr

  • I am not able to download ITunes. I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don

    I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don't see any thing else. Now not sure what else I have to do.
    Thanks,
    Ranjit

    See the further information area of Troubleshooting issues with iTunes for Windows updates.
    tt2

  • I need to re-download Lion and install it. Holding the Option key while clicking on "purchases" does not work.

    I need to re-download Lion and install it, after re-formatting my hard-drive to "journaled" as requested. Holding the Option key while clicking on "purchases" does not work.

    Thanks Smokemonster. I found that the Lion install app was in in my applications folder already. Worked fine.

  • What's the best App for downloading, editing and saving Microsoft Excel spreadsheets please?

    What's the best App for downloading, editing and saving Microsoft Excel spreadsheets please?

    You can have a look at Quickoffice
    http://i1224.photobucket.com/albums/ee374/Diavonex/74fb0e85.jpg

  • Hi we have apple credentials for downloading OS and creating Provisioning profiles. Now we are trying to upgrade the Mac OS 10.7.3 version. do we need should buy this version from appStore. or can it be download from the apple site for free?  Many thanks

    Hi we have apple credentials for downloading OS and creating Provisioning profiles. Now we are trying to upgrade the Mac OS 10.7.3 version. do we need should buy this version from appStore. or can it be download from the apple site for free?  Many thanks in advance!

    Whether you need to buy Mac OS X 10.7.3 depends on what version of OS X you have now.
    If you have OS X 10.6.x or lower it is a paid upgrade from the Mac AppStore.
    If you have OS X 10.7.x it is a free upgrade you get using Software Update on your Mac.

  • I can't get my ipod touch to sync with my new computer. My old one died. I downloaded itunes and installed music but the ipod will not sync with this new computer. What do I do?

    I can't get my ipod touch to sync with my new computer. My old one died. I downloaded itunes and installed music but the ipod will not sync with this new computer. What do I do?

    You can only sync with one iTunes library/computer. To switch:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • I have snow leopard 10.6.8 and want to get on iCloud which requires Lion... should I buy Lion at $29.99 now and upgrade to Mountain Lion whne available (I can't see where it is available for download yet) and what is cost of upgrade to Mountain Lion?

    I have snow leopard 10.6.8 and want to get on iCloud which requires Lion... should I buy Lion at $29.99 now and upgrade to Mountain Lion when available (I can't see where it is available for download yet) and what is cost of upgrade to Mountain Lion?   Or should I simply wait for Mountain Lion?

    I would wait for Mountain Lion to be released. According to Apple, Mountain Lion will be released by end of July 2012.
    It will cost you only $19.99 to upgrade. You can find all the details at the following link...
         http://www.apple.com/osx/

Maybe you are looking for