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

  • From: Matt Madia <mattmadia@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 6 Jul 2009 15:29:40 +0000

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
                }
        }
}


--mmadia

Other related posts: