Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uplibmatroska: fix REQUIRES_devel, drop libtool file, add TEST(). #671
Conversation
|
Requiring gcc isn't what it should be. You'd like something like devel:libstdc++? |
|
Well, I had tried using
Should we add a |
|
I'm confused. Why is such a dependency needed? Isn't gcc_syslibs_devel needed to compile anything, and thus anything that wanted matroska would also have it? |
|
As we know, some packages have |
|
The current policy has been to simply remove the .la files from packages. They are designed for use with libtool, but in our case libtool works just fine without them. No need to clutter the development dirs with these files, then. That being said, it would still be nice if the gcc package properly exposed all included libs. This would make it possible to reorganize the packages later on (split it further, merge it with something else, or simply rename it) without breaking everything as would be the case with packages which depend directly on the package name or rely on it being installed by the system. |
I have recently came accross one package, midnight commander, that could not be built because it could not find
I agree, but I don't feel comfortable with changing gcc without @korli's approval. All this brings me to this qustion: do I have green lights to merge this PR as is, i.e. keeping and fixing the EDIT: I forgot to say I would be OK with making this recipe depend on |
|
FWIW I wrote a fixLibtoolArchives helper although I'm not sure it is fully correct. |
|
Cool, thanks! I'll try it. |
|
Please try to drop the libtool file before fixing it. This avoids several headaches down the road. |
|
OK. The only recipes which depend on libmatroska are those of VLC, so I'm quite sure it will be OK to drop both the static lib and the libtool file. I'll test that. If it turns out that we can drop them, should I drop both the static lib and the libtool file or should I drop the static lib only? |
|
I'm dropping BTW, I forgot to tell that I tried using
|
* libmatroska.la has a path which will become invalid if libebml gets updated. Dropping that .la file is OK because we don't need it. * Add devel:libebml to REQUIRES_devel. * Add TEST() with "make check".
fbrosson commentedJun 29, 2016
•
edited
libmatroska.lahas a path which will become invalid if libebml gets updated. Dropping that.lafile is OK because we don't need it.devel:libebmlto REQUIRES_devel.Also add gcc to REQUIRES_devel on effective architectures other than x86_gcc2 to make sure it will have libstdc++.TEST()withmake check.