Ticket #1222 (closed bug: fixed)

Opened 1 year ago

Last modified 2 weeks ago

check if AboutHaiku lists an acknowledgment for all packages

Reported by: wkornewald Assigned to: nielx
Priority: blocker Milestone: R1/alpha1
Component: - General Version: R1 development
Cc: wkornewald, axeld Platform: All

Description

Check all libraries and applications in our repository and make sure that we have an acknowledgment for them in the appropriate place (e.g., AboutHaiku application).

Maybe someone from the community could do this as it doesn't require coding skills? It would be sufficient to know what has to be added, so the devs can do the rest.

Attachments

AboutSystem.cpp.diff (5.2 kB) - added by scottmc on 04/11/08 13:43:10.
Here is my first .diff for this ticket.
AboutSystem.cpp.diff#2 (3.7 kB) - added by scottmc on 04/24/08 17:52:26.
diff for 2nd round of updates.
AboutSystem.cpp.diff2 (3.4 kB) - added by scottmc on 04/25/08 13:04:37.
AboutSystem.diff2 (3.8 kB) - added by scottmc on 04/30/08 00:20:21.

Change History

05/16/07 22:45:45 changed by mmadia

attempting to document this locally.
i'm starting in src/system/libroot and /runtime_loader

06/21/07 16:32:43 changed by axeld

  • owner deleted.

02/26/08 14:41:46 changed by nielx

  • priority changed from critical to blocker.
  • milestone changed from R1 to R1/alpha1.

Moving this to the alpha 1 milestone, as stippi and others acknowledged on the development mailing list on the thread called 'Haiku alpha 1 release'.

03/23/08 07:14:06 changed by emitrax

What's the status of this ticket? And what do you think it is the best way to proceed for a non-developer user?

(follow-up: ↓ 6 ) 03/23/08 11:03:29 changed by nielx

Funnily enought I just thought about this ticket too, this morning while I was sitting in my car. There once was a thread on the mailing list on how to do this. Here's my take on the problem: let's just make a list of all non-Haiku software that is currently used. Put this in a file in the root of the trunk and list the:

  • Name of the package and the version
  • The license
  • The copyrightholder. If there is more than one, just put down 'several copyright holders'.
  • The URL where more information on the package can be found.

The build system would 'cat' this file into a C-file, which is imported into the AboutHaiku application.

This will not make these copyright statements very appealing and sexy, but remember: it is a legal requirement, rather than something our users would look at.

(That's just my take). A non-coder could start compiling that list.

(in reply to: ↑ 5 ) 03/23/08 12:51:39 changed by bonefish

  • cc changed from wkornewald, bonefish, axeld to wkornewald, axeld.

Replying to nielx:

Funnily enought I just thought about this ticket too, this morning while I was sitting in my car. There once was a thread on the mailing list on how to do this. Here's my take on the problem: let's just make a list of all non-Haiku software that is currently used. Put this in a file in the root of the trunk and list the:

...

Well, in the end it doesn't make much difference whether you list the files in a separate file or in the AboutSystem sources. The main work is compiling the list. Thanks for attacking this.

(follow-up: ↓ 8 ) 04/01/08 14:31:20 changed by scottmc

I've started looking into this and here's what I have turned up so far. Maybe we should create a format of the file in which this should all be put so we can make sure we are capturing all of the required info. Perhaps list Package name, License, Version, Website, etc...
In many cases there are newer versions available than are currently in the Haiku source tree.
This can be a starting point, I'm sure there's lots more to add to this list.

gdb 6.7.1
acpica 20080321
ncurses 5.6
unrar 3.7.1
7zip LGPL 4.57 <- can/should this be added?
libpng 1.2.25
libprint
libjpeg
xmlwf

Already in AboutHaiku
freetype 2.3.5 freetype liscense freetype.org
ffmpeg ffmpeg.org
antigrain.com
pdflib pdflib.com
mesa3d mesa3d.org
glu
glut
bregion backend xfree86
konatu font
expat
zlib
info-ZIP
bzip2
Vi IMproved
lp_solve
OpenEXR
Bullet

in vendor directory:

acpica - Intel
atftp - GPL 2 - 0.7
bash - GNU.org - 3.2
coreutils GNU.org - 6.9
cortex - Eric Moon - 1999-2000
docbook oasis-open.org - 4.2
freebsd
gdb - GNU.org - 6.3
libxml2 - Daniel Veillard, MIT Licence - 2.6.26
libxslt - Daniel Veillard, MIT Licence - 1.1.17
lpsolve - LGPL - 5.5.0.11
mesa - 1999-2007 Brian Paul - 7.0.2
ncurses - 1998-2004,2005 Free Software Foundation - 5.5
unrar - Alexander Roshal - FreeWare - 3.6.7
yellowtab_extreme2 - 17 December 2005

(in reply to: ↑ 7 ) 04/03/08 17:00:40 changed by nielx

Replying to scottmc:

I've started looking into this and here's what I have turned up so far. Maybe we should create a format of the file in which this should all be put so we can make sure we are capturing all of the required info. Perhaps list Package name, License, Version, Website, etc...
In many cases there are newer versions available than are currently in the Haiku source tree.
This can be a starting point, I'm sure there's lots more to add to this list.

I saw on the mailing list you already started adding these to the AboutSystem.cpp file. I guess that's preferred right now, however, as the complexity of the code in our repository increases, it might be a good idea to think about another solution.

04/04/08 08:15:07 changed by nielx

  • owner set to nielx.

BTW, if everyone is allright with it, I would like to volunteer to 'assign' the ticket to me so I will coordinate with Scott that his patches end up in the repository.

Will do that tomorrow if no one objects.

04/11/08 13:43:10 changed by scottmc

  • attachment AboutSystem.cpp.diff added.

Here is my first .diff for this ticket.

04/15/08 09:24:06 changed by stippi

I applied your patch in r24966. Your work is highly appreciated! Since you have the best overview, do you know if there are (could be) any copyrights missing yet?

04/15/08 14:00:27 changed by scottmc

I should know more in the next week or so. I'm going to go through the bin directory and check each file in there and if anyone else reports any I'll add those in as well. I'd like to close this ticket out by the end of April.

04/24/08 17:52:26 changed by scottmc

  • attachment AboutSystem.cpp.diff#2 added.

diff for 2nd round of updates.

04/24/08 17:57:44 changed by scottmc

Here's the second round of changes, adding libMicro, matroska, tput, SharUtils. I put OpenSound in but don't have the copyright info yet.
This will complete this ticket unless someone still spots something that is still missing. I've searching through all of the command line utils in bin and most of the rest of the system. I did not put in the Translators as those have their copyrights built-in to their settings window.

(follow-up: ↓ 14 ) 04/24/08 18:05:48 changed by umccullough

I think that currently OpenSound isn't in the Haiku tree, it is only supported as an optional package downloaded from François' server. (So it would basically be no different than the Firefox optional package at this point)

The media node in the tree is all written from scratch and not ported.

(in reply to: ↑ 13 ; follow-up: ↓ 15 ) 04/24/08 18:15:29 changed by mmu_man

Replying to umccullough:

I think that currently OpenSound isn't in the Haiku tree, it is only supported as an optional package downloaded from François' server. (So it would basically be no different than the Firefox optional package at this point)

Indeed, only the media node is in svn for now.
I still need to update the port since they changed the licence from CDDL to BSD.

The media node in the tree is all written from scratch and not ported.

Yes I wrote it.

(in reply to: ↑ 14 ) 04/24/08 18:20:38 changed by mmu_man

(follow-up: ↓ 17 ) 04/24/08 18:32:03 changed by scottmc

Ok, updated the diff2 file, so it's ready to add. I have Opensound in there, with the copyright and license updated, but it's commented out still.
If someone could apply this diff, this ticket can then be closed.

(in reply to: ↑ 16 ) 04/25/08 10:58:45 changed by nielx

Replying to scottmc:

Ok, updated the diff2 file, so it's ready to add. I have Opensound in there, with the copyright and license updated, but it's commented out still.
If someone could apply this diff, this ticket can then be closed.

I will check whether the patch compiles cleanly and whether the formatting is nice tomorrow. I will then commit. Thanks for the effort!

(follow-up: ↓ 20 ) 04/25/08 12:49:46 changed by axeld

BTW libMicro is an optional package as well, and doesn't have to be listed this way; the optional packages should now come with proper licensing information.

04/25/08 12:58:20 changed by scottmc

I put cal under FreeBSD and also ftpd, but is ftpd in the image yet? #807
Should I comment out libMicro or just remove it? I'll update the diff file.

04/25/08 13:04:37 changed by scottmc

  • attachment AboutSystem.cpp.diff2 added.

(in reply to: ↑ 18 ; follow-up: ↓ 28 ) 04/25/08 16:49:18 changed by bonefish

Replying to axeld:

BTW libMicro is an optional package as well, and doesn't have to be listed this way; the optional packages should now come with proper licensing information.

Only the ones that download a zip file, which would contain a description file. That obviously doesn't work for optional packages built from sources in our repository. So I guess I have to add a rule that adds a copyright description after all.

04/26/08 07:00:25 changed by axeld

ftpd is part of Haiku - I've updated ticked #807 now, thanks for the note :-)

04/29/08 11:18:06 changed by nielx

Hi Scott. The patch looks good, but does not apply cleanly on my system. Could you please create a new patch using 'svn diff' and post it here (or perhaps even mail it to me?)

Thanks.

(follow-up: ↓ 24 ) 04/29/08 15:07:21 changed by stippi

Scott, I also had problems with your earlier patch and needed to apply it by hand. It looked to me like your editor was replacing tabs with spaces. Could that be what happened?

(in reply to: ↑ 23 ) 04/29/08 17:07:48 changed by scottmc

Replying to stippi:

Scott, I also had problems with your earlier patch and needed to apply it by hand. It looked to me like your editor was replacing tabs with spaces. Could that be what happened?

That's probably what happened. I'm working on a few different systems here and not sure which one I used when I created this diff. So are you able to make it work or should I recreate it?

04/30/08 00:20:21 changed by scottmc

  • attachment AboutSystem.diff2 added.

04/30/08 00:23:06 changed by scottmc

I updated the diff to include copyright for 7zip, but it's commented out as 7zip isn't in as of yet. The tabs/spacing should be right this time.

04/30/08 12:37:45 changed by scottmc

Here's the detailed, step-by-step instructions for getting and making 7za, the GPL'd command line app for 7zip:

wget http://internap.dl.sourceforge.net/sourceforge/p7zip/p7zip_4.57_src_all.tar.bz2
bunzip2 p7zip_4.57_src_all.tar.bz2
tar -xf p7zip_4.57_src_all.tar
cd p7zip_4.57
cp makefile.beos makefile.machine
make

then copy the resulting 7za file to your bin directory, it's in p7zip_4.57/bin.

05/02/08 17:49:56 changed by nielx

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r25297. Thanks Scott for all the work!

(in reply to: ↑ 20 ) 05/04/08 11:15:19 changed by bonefish

Replying to bonefish:

Replying to axeld:

BTW libMicro is an optional package as well, and doesn't have to be listed this way; the optional packages should now come with proper licensing information.


Only the ones that download a zip file, which would contain a description file. That obviously doesn't work for optional packages built from sources in our repository. So I guess I have to add a rule that adds a copyright description after all.

Did that in r25313. The new rules AddOptionalPackDescriptionToHaikuImage and AddLicenseToHaikuImage can be used in optional package descriptions to add the copyright entries and licenses. I did that for the libMicro optional package (r25314).