-
Notifications
You must be signed in to change notification settings - Fork 47
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
Linux packaging #1
Conversation
There is no need for -fno-gnu-keywords (which was implied by -ansi) in the current code. -ansi disables GCC built-in functions, which add optimizations and extra security checks in some cases. It may be good to use it (and -pedantic) while developing to try to keep the code ANSI standard, but users should have binaries compiled without the option.
Thanks for the work. A couple of objections:
|
And:
|
|
|
Once the -ansi things is decided (I don't really have any problem keeping -fno-gnu-keywords) I will try to find some time and redo all this. |
Dang. I remembered wrong; I didn't add |
This should be it. There is another problem. The FSF address in the LICENSE.LGPL and the sources is outdated. No idea about the exact legal implications but openSUSE build tools complain about that. |
Very nice, thanks, I'll merge it. As for the license: The address (the full header) in LICENSE.LGPL should be fixed to match the text in http://www.gnu.org/licenses/lgpl-2.1.html, of course. All source files still mentioning the license on matroska.org should have their URLs changed to http://www.gnu.org/licenses/lgpl-2.1.html as well. If you'd be willing to do that and provide another pull request then that would be very, very nice (I'm pretty busy for the next two weeks). |
The idea is being able to change
make libdir=%{buildroot}%{_libdir} includedir=%{buildroot}%{_includedir}/ebml install_sharedlib install_headers
which requires the spec file knowing the names of the specific rules and the headers installation path, for
%make_install prefix=%{_prefix} libdir=%{_libdir} NO_STATIC=yes