[haiku-development] Re: Write access to haiku-files.org?

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 07 Jul 2009 15:49:31 +0200

On 2009-07-06 at 17:29:40 [+0200], Matt Madia <mattmadia@xxxxxxxxx> wrote:
> 2009/7/6 Jérôme Duval <korli@xxxxxxxxxxxxxxxx>:
> > Licensing for redistribution should apply though (ie for GPL this 
implies
> > providing the source package at the same place).
> >
> 
> luroh filed a ticket about this about 2 months ago :
> http://dev.haiku-os.org/ticket/3818
> 
> In addition to that, I've been putting some more thought into it:
> 
> Each OptionalPackage Archive contains  
> path/data/gpl-offers/${GplSoftwareName}
> 
> That is a textfile with a url pointing to the location of the following:
>     note: these files should be hosted at
> www.haiku-files.org/files/gpl-source/ or haiku-ports.de/gpl-source/
>     -tarball
>     -patches
>     -build instructions
>       -should indicate which revision of Haiku the instructions were 
>       created.
>       -include disclaimer that these instructions may need tweaking for 
>       newer
>       revisions of Haiku or said distribution based on Haiku's source 
code.
> 
> 
> BuildSystem:
>   The purpose of this is to aid in the physical distribution of Haiku,
>   as including the sources on the physical medium is the most sure-fire 
way
>   to meet the GPL distribution requirements.
> 
>   Create some mechanism that will allow a user to add an optional
> package "GPLSources"
>   Maybe a variable HAIKU_INCLUDE_GPL_SOURCES, eg:
> 
> # NetSurf web browser
> if [ IsOptionalHaikuImagePackageAdded NetSurf ] {
>     if $(TARGET_ARCH) != x86 {
>         Echo "No optional package NetSurf available for $(TARGET_ARCH)" ;
>     } else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
>         Echo "No optional package NetSurf available for gcc4" ;
>     } else {
>         InstallOptionalHaikuImagePackage NetSurf
>             : 
>             
> http://haiku-files.org/files/optional-packages/NetSurf-r7117-x86-gcc2-2009-04-17.zip
>             :
>         ;
>         AddSymlinkToHaikuImage home config be Applications
>             : /boot/apps/netsurf/NetSurf ;
>         if $(HAIKU_INCLUDE_GPL_SOURCES) {
>             # download and install gpl sources
>         }
>     }
> }

How about a "Sources:" field to the .OptionalPackageDescription, a URL that 
AboutSystem would link to? I suppose linking to the original source plus 
(if applicable) the Haiku specific patch would work, too. Or even just to 
the HaikuPorts portlog page.

CU, Ingo

Other related posts: