Off-Topic > SCM EXtensions

gtk2.scm is not downloaded while downloading audacity2, if gtk2.tcz is installed

<< < (3/3)

AbNoRMiS:
just i remembered that previously midori.scm worked with gtk2.tcz before update some tcz
but now i understood that there are some difficulties and limitations when building scms
thanks for explanations

AbNoRMiS:
maybe can add some control directives for scms which are built from scratch against some scm
for example require=name.scm in config/spec to force loading dependencies when it required

Jason W:
On further study of perl and python, there is not a reliable way to make their shebangs portable to be able to make different python or perl packages installed into different places interchangeable.  And using the default shebangs that result from a "make install" without further hacking is usually  the best and most trouble free way to go.

I too lament that gtk2.scm is 22mb large, most of it locales that most folks will never use.  But you only have to download it once, and updates are incremental.   Though some scm uses in cloud mode involve downloading not much if any more MB than their tcz counterparts when downloading just that extension and it's deps,  I guess it goes back to accepting that the scm is going to be a larger download on average than the tcz method. 

althalus:

--- Quote from: Jason W on September 14, 2012, 08:43:33 PM ---On further study of perl and python, there is not a reliable way to make their shebangs portable to be able to make different python or perl packages installed into different places interchangeable.

--- End quote ---
Most portable way I've found is:

--- Code: ---#!/usr/bin/env python
--- End code ---

Of course, even that isn't foolproof, sometimes env ends up in /bin/env instead, and doesn't deal with distros where python 3's binary is python and the binary for python 2.7/whatever is python27. May have other implications for the particular use case being discussed here that haven't occured to me.

Jason W:
That would normally work, but I found with trying to package edna I believe that e full path is needed.    And for perl, the full path it seems is needed to use the -w option.

But even if it did work, it means adjusting and testing every perl or python script in an extension, which is a large overhead of time and resources.

Navigation

[0] Message Index

[*] Previous page

Go to full version