05
Jul
05

New script for Gentoo

I want to remove all the app-doc/ebook-* ebuilds from portage (silly ebuilds), so i wrote an script to manage all the eBooks in lidn. Now you have about 84 eBooks in a unique ebuild :)

Features :

  • Search in lidn eBooks
  • Dowload eBooks
  • Install eBooks in devhelp (i need help to know how to install them in anjunta and kadevelop)
  • Uninstall eBooks
  • Example:

    bass@clarisse ~ $ ebookmerge.sh -s python
    * Results for python :
    python-2.2.1.tgz
    bass@clarisse ~ $ ebookmerge.sh -e python-2.2.1.tgz
    * Dowloading eBook python-2.2.1.tgz in /var/tmp/ebooktmp…
    * Dowloaded.
    * Installing /var/tmp/ebooktmp/python-2.2.1.tgz in DevHelp…
    * unpacking /var/tmp/ebooktmp/python-2.2.1.tgz…

    To install

    emerge ebookmerge

    It need your love and test so enjoy :)

  • ebookmerge 0.6
  • Advertisements

    4 Responses to “New script for Gentoo”


    1. 1 Chris Rebert
      5 July, 2005 at 01:32 am

      Um, I get a 403 Forbidden error on trying to download the script.

    2. 3 Marc Weber
      11 July, 2005 at 12:46 pm

      Would be nice to search/install in one step e.g
      ebookemerge.sh -e `ebookemerge.sh -s python` ..
      Or s.th. like that..

      If there is no fitting book (e.g. -s abcdef) there still appears the text “Downloaded”. That’s confusing!

      And there is a little spelling : “list of know[n] ebooks” ?

      It would be very comfortable if there would be an option –show (which e.g. runs your favourite browser with index.html..)
      I had to look at the code to get to know where the ebuilds are stored because I didn’t knew that DevHelp is .devhelp/books/..

      Nice idea..

    3. 2 August, 2005 at 00:56 am

      mmm search and instal in one step? maybe i can do it interactive so how to decide waht search result use to isntall?
      i prefer to mantain the script simple

      Thanks for the bugs :)

      if you have moer ideas tell me :)


    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s


    del.icio.us

    Flickr Photos


    %d bloggers like this: