-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set package license #276
Comments
There is no such field in the control file but I think you are talking about Also see https://www.debian.org/doc/manuals/maint-guide/dreq.en.html |
Made me realize I made the exact same mistake. The funny thing is that in Ubuntu I cannot find a single package in /var/cache/apt/archive which provide the license (was searching for examples). |
Thank for you answer +1 It should be a nice enhancement to add this feature in jdeb 2.0 ;) |
How would you imagine that feature to be working? |
I was thinking of adding it in your Maven example, like:
And add 2 generic template files into your code, like below for the copyright file:
I'm sure that it came like an evidence to you but when we are not from Linux world it doesn't ;) |
Since the Maven pom contains a |
Adding the copyright file didn't make it, as PackageKit show:
|
I am all for adding this to the example - but I suggest to find a reference package to compare against. |
Do you have any reference package in mind? |
@Sami32 Just like @tmortagne I would have expected the latest Ubuntu packages to have this. Maybe check an official Debian packages. |
It seem that my configuration was fine, but that it is an issue from Ubuntu Software manager: |
Does lintian check this? |
Sorry i've no idea as i've never used it not knowing it. |
@tcurdt Thank you for making me discover that tool 👍 It seem that the changelog and copyright files are not set in the correct place inside the package
But there are in as they are been found in the /usr/share/docs folders after install. |
@tcurdt That said when i read that:
EDIT: |
Ah ok, i get these Lintian errors because the project name and folder was not the same. |
That's actually #106 I think :) |
Hehe, yes ;) |
Argh i didn't saw any way to set a license. Unbuntu 18.04 throw that it is proprietary license because none has been added.
License:
or<license>GPLv2</license>
Is there is a way to set the package license? I really hope that i have missed it.
The text was updated successfully, but these errors were encountered: