Re: damn small lilypond

2011-10-25 Thread Alex Austin
mkdir $HOME/lilypond
mount none -t tmpfs $HOME/lilypond
cd $HOME/lilypond
wget /url/of/lilypond.sh
./lilypond.sh
Figure out what packages you don't need, delete them and the .sh package,
and copy everything else into a different, non-tmpfs directory in your home
folder.
On Oct 25, 2011 5:45 PM, "Federico Bruni"  wrote:

> What would you do if you had to install lilypond v2.14.2 on computers
> running Ubuntu 10.04 (where lilypond is still v2.12), with the following
> limitations:
>
> - only the standard packages distributed by Ubuntu can be installed on /
> - the maximum space available in each /home directory is 50 MB
>
> Lilypond sh package decompressed is around 60 MB.
>
> I guess that the best solution is bringing a bunch of USB drives and
> copying the executables there.
>
> But I wonder if there's any other solution...
> I don't know ho many USB drives I'll need.
>
> What happens if I remove usr/lib/python2.4 (22,4 MB)?
>
> Thanks,
> Federico
>
> __**_
> lilypond-devel mailing list
> lilypond-devel@gnu.org
> https://lists.gnu.org/mailman/**listinfo/lilypond-devel
>
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Federico Bruni

Il 26/10/2011 07:34, Alex Austin ha scritto:

mkdir $HOME/lilypond
mount none -t tmpfs $HOME/lilypond
cd $HOME/lilypond
wget /url/of/lilypond.sh
./lilypond.sh
Figure out what packages you don't need, delete them and the .sh
package, and copy everything else into a different, non-tmpfs directory
in your home folder.


Thanks Alex.
So, IIUC, tmpfs allows to use more space than the space actually 
available. Smart.


However, I'm afraid that there's not much I can remove from the lilypond 
package.
I may remove usr/lib/python2.4, because lilypond keeps working. But all 
the python scripts (convert-ly, lilypond-book) won't work.


50 MB is really a ridiculous space for $HOME.
I think I'll bring some USB drives containing lilypond binaries, 
documentation and Frescobaldi 2 (python-poppler-qt4 included).


Fortunately, I can install the dependencies in the main system (/).

I can install lilypond using the --prefix option:
sh lilypond.sh --prefix /media/usb

and then add the path to the binary in Frescobaldi options.

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Alex Austin
Another option is, once the files are stripped down, pack them up in a
squashfs, and loop-mount them in place when needed.

- Alex
-- 
It is referred to as the Fibonacci meal. Today's dinner is the sum of
yesterday's leftovers and the day before's leftovers.


On Wed, Oct 26, 2011 at 3:35 PM, Federico Bruni  wrote:

> Il 26/10/2011 07:34, Alex Austin ha scritto:
>
>  mkdir $HOME/lilypond
>> mount none -t tmpfs $HOME/lilypond
>> cd $HOME/lilypond
>> wget /url/of/lilypond.sh
>> ./lilypond.sh
>> Figure out what packages you don't need, delete them and the .sh
>> package, and copy everything else into a different, non-tmpfs directory
>> in your home folder.
>>
>
> Thanks Alex.
> So, IIUC, tmpfs allows to use more space than the space actually available.
> Smart.
>
> However, I'm afraid that there's not much I can remove from the lilypond
> package.
> I may remove usr/lib/python2.4, because lilypond keeps working. But all the
> python scripts (convert-ly, lilypond-book) won't work.
>
> 50 MB is really a ridiculous space for $HOME.
> I think I'll bring some USB drives containing lilypond binaries,
> documentation and Frescobaldi 2 (python-poppler-qt4 included).
>
> Fortunately, I can install the dependencies in the main system (/).
>
> I can install lilypond using the --prefix option:
> sh lilypond.sh --prefix /media/usb
>
> and then add the path to the binary in Frescobaldi options.
>
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread -Eluze


Federico Bruni-5 wrote:
> 
> Lilypond sh package decompressed is around 60 MB.
> 
> I guess that the best solution is bringing a bunch of USB drives and 
> copying the executables there.
> 
> But I wonder if there's any other solution...
> I don't know ho many USB drives I'll need.
> 

i have a USB-stick with 4GB and one with 16GB (both for the price of 10-20
bucks, one bought a few years ago the other 1 year ago).

on the 4GB stick i could store more than 50 versions of lilypond (plus jedit
or Frescobaldi…)

i don't understand the problem!
-- 
View this message in context: 
http://old.nabble.com/damn-small-lilypond-tp32721256p32727486.html
Sent from the Gnu - Lilypond - Dev mailing list archive at Nabble.com.


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Alex Austin
Most USB sticks are formatted as FAT and not EXT, so they lose file
permission bits. Not sure that lilypond would still be executable off of a
thumb drive.

- Alex
-- 
It is referred to as the Fibonacci meal. Today's dinner is the sum of
yesterday's leftovers and the day before's leftovers.


On Wed, Oct 26, 2011 at 3:45 PM, -Eluze  wrote:

>
>
> Federico Bruni-5 wrote:
> >
> > Lilypond sh package decompressed is around 60 MB.
> >
> > I guess that the best solution is bringing a bunch of USB drives and
> > copying the executables there.
> >
> > But I wonder if there's any other solution...
> > I don't know ho many USB drives I'll need.
> >
>
> i have a USB-stick with 4GB and one with 16GB (both for the price of 10-20
> bucks, one bought a few years ago the other 1 year ago).
>
> on the 4GB stick i could store more than 50 versions of lilypond (plus
> jedit
> or Frescobaldi…)
>
> i don't understand the problem!
> --
> View this message in context:
> http://old.nabble.com/damn-small-lilypond-tp32721256p32727486.html
> Sent from the Gnu - Lilypond - Dev mailing list archive at Nabble.com.
>
>
> ___
> lilypond-devel mailing list
> lilypond-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-devel
>
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Federico Bruni

Il 26/10/2011 22:45, -Eluze ha scritto:

i have a USB-stick with 4GB and one with 16GB (both for the price of 10-20
bucks, one bought a few years ago the other 1 year ago).

on the 4GB stick i could store more than 50 versions of lilypond (plus jedit
or Frescobaldi…)

i don't understand the problem!


No problem with USB sticks, in fact I've decided that I'll use them.

You probably missed the limitations of the PCs:


What would you do if you had to install lilypond v2.14.2 on computers running 
Ubuntu 10.04 (where lilypond is still v2.12), with the following limitations:

- only the standard packages distributed by Ubuntu can be installed on /
- the maximum space available in each /home directory is 50 MB


I'm going to hold a workshop about LilyPond next saturday and the 
computers available have such limitations.


Cheers,
Federico

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Alex Austin
Can lilypond be installed in /opt/? Ask the admin if that's possible. That's
where 3rd-party software usually goes.

- Alex
-- 
It is referred to as the Fibonacci meal. Today's dinner is the sum of
yesterday's leftovers and the day before's leftovers.


On Wed, Oct 26, 2011 at 4:03 PM, Federico Bruni  wrote:

> Il 26/10/2011 22:45, -Eluze ha scritto:
>
>  i have a USB-stick with 4GB and one with 16GB (both for the price of 10-20
>> bucks, one bought a few years ago the other 1 year ago).
>>
>> on the 4GB stick i could store more than 50 versions of lilypond (plus
>> jedit
>> or Frescobaldi…)
>>
>> i don't understand the problem!
>>
>
> No problem with USB sticks, in fact I've decided that I'll use them.
>
> You probably missed the limitations of the PCs:
>
>
>  What would you do if you had to install lilypond v2.14.2 on computers
>> running Ubuntu 10.04 (where lilypond is still v2.12), with the following
>> limitations:
>>
>> - only the standard packages distributed by Ubuntu can be installed on /
>> - the maximum space available in each /home directory is 50 MB
>>
>
> I'm going to hold a workshop about LilyPond next saturday and the computers
> available have such limitations.
>
> Cheers,
> Federico
>
>
> __**_
> lilypond-devel mailing list
> lilypond-devel@gnu.org
> https://lists.gnu.org/mailman/**listinfo/lilypond-devel
>
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Federico Bruni

Il 26/10/2011 22:59, Alex Austin ha scritto:

Can lilypond be installed in /opt/? Ask the admin if that's possible.
That's where 3rd-party software usually goes.


No, they told me that no 3rd-party software is allowed.
Just official Ubuntu repository.

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Alex Austin
Isn't lilypond in the official Ubuntu repo?
- Alex
-- 
It is referred to as the Fibonacci meal. Today's dinner is the sum of
yesterday's leftovers and the day before's leftovers.


On Wed, Oct 26, 2011 at 4:06 PM, Federico Bruni  wrote:

> Il 26/10/2011 22:59, Alex Austin ha scritto:
>
>  Can lilypond be installed in /opt/? Ask the admin if that's possible.
>> That's where 3rd-party software usually goes.
>>
>
> No, they told me that no 3rd-party software is allowed.
> Just official Ubuntu repository.
>
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Federico Bruni

Il 26/10/2011 22:55, Alex Austin ha scritto:

Most USB sticks are formatted as FAT and not EXT, so they lose file
permission bits. Not sure that lilypond would still be executable off of
a thumb drive.


I'll use ext.
The only concern I have is precisely about permissions.
IIRC, as the files I've added are owned by my user, whose id is 1000, 
when I'll plug the USB sticks on those computers what will happen?


If the user has the same id, no problem.
If the user has a different id, I'll need to do something (/etc/fstab or 
chown?).

Is this correct?

Thanks

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Federico Bruni

Il 26/10/2011 23:03, Alex Austin ha scritto:

Isn't lilypond in the official Ubuntu repo?


yes, but it's still v2.12.3
I want to use the last stable

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: damn small lilypond

2011-10-26 Thread Alex Austin
If you're doing a workshop, I imagine it's sort of an intro, and that recent
changes won't really matter. 2.12.3 is still perfectly usable.

As far as EXT2/3/4 on a thumb drive, you can set the GID of the files to a
group that all the users are members of, such as "user", and make sure group
owners have read permissions on everything.

- Alex
-- 
It is referred to as the Fibonacci meal. Today's dinner is the sum of
yesterday's leftovers and the day before's leftovers.


On Wed, Oct 26, 2011 at 4:12 PM, Federico Bruni  wrote:

> Il 26/10/2011 23:03, Alex Austin ha scritto:
>
>  Isn't lilypond in the official Ubuntu repo?
>>
>
> yes, but it's still v2.12.3
> I want to use the last stable
>
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel