Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#12688 - [licenses] Get rid of the licenses package
Attached to Project:
Arch Linux
Opened by Greg (dolby) - Tuesday, 06 January 2009, 10:16 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 15 September 2009, 01:11 GMT
Opened by Greg (dolby) - Tuesday, 06 January 2009, 10:16 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 15 September 2009, 01:11 GMT
|
DetailsI know i wasnt here when Archlinux got born but i think i can imagine how the common licenses package got invented.
It was because Archlinux left out the packages documentation. Now that documentation of packages is installed in /usr/share/doc most packages install COPYING or LICENSE files inside those dirs. So the licenses package is no longer needed. IMO it would be preferable to just install the license file of all packages not doing that on themselves, manually. All GNU programs do it on their own. Most other apps too. |
This task depends upon
Closed by Dan McGee (toofishes)
Tuesday, 15 September 2009, 01:11 GMT
Reason for closing: Won't implement
Tuesday, 15 September 2009, 01:11 GMT
Reason for closing: Won't implement
- standard licenses are in /usr/share/common-licenses, these licenses are just like our licenses package
- every package contains a "copyright" file in /usr/share/doc/pkgname, this file contains information about where the sources are from, a small version of the license, and a hint to view the complete license in /usr/share/common-licenses
Our policy for documentation is a bit weird at this moment. Take a look in /usr/share/doc -> you'll find directories named after the package name, directories with capitals in it, directories with versions, etc. Another thing is the name of the copyright file in /usr/share/licenses/$pkgname. If we want to change this, we should take some steps:
- make sure /usr/share/doc/anything is named after the package name
- install or symlink licenses as /usr/share/doc/pkgname/copyright or COPYING
- packages that are not a generic license type, like GPL with exceptions, require a COPYING/copyright file with the name of the license, the exception below that and a reference where to read the rest of the license
mkdir -p $PKG/usr/doc/apmd-$VERSION
cp -a \
AUTHORS COPYING LSM README apmlib.COPYING apmsleep.README \
$PKG/usr/doc/apmd-$VERSION
cp -a xbattery/README $PKG/usr/doc/apmd-$VERSION/README.xbattery
That means treat every license as uncommon. You can copy over examples and other stuff you find useful in /usr/share/doc/$pkgname-$pkgver/ for the end user like apmd above.
That also means less automation in PKGBUILDs.
But even for example if a license changes, you are sure you are distributing the package with the correct license.
Now that im analysing this im not even sure if the license array if even needed in that case but i wont go that far.
Perhaps some post_install magic to check to see if the copyright file exists, if not then symlink the file from the licenses array.
Is it in any way related to this?
I dont know if you wish to keep this open as a reminder, or close it, as the request has been denied.