After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748434 - Support for the Gentoo distrib
Support for the Gentoo distrib
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other other
: Normal enhancement
: 1.9.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-24 22:56 UTC by Emmanuel Poitier
Modified: 2016-05-27 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for Gentoo support (5.14 KB, patch)
2015-04-24 22:56 UTC, Emmanuel Poitier
committed Details | Review

Description Emmanuel Poitier 2015-04-24 22:56:06 UTC
Created attachment 302319 [details] [review]
Patch for Gentoo support

Please find attached a patch to apply to cerbero to add support for the Gentoo distribution to build GStreamer and also to build GStreamer for other platforms such as Android on Gentoo.

The package type chosen for Gentoo is a disttarball.

Please review and give any feedback if necessary.
Comment 1 Tim-Philipp Müller 2016-01-07 14:43:25 UTC
Comment on attachment 302319 [details] [review]
Patch for Gentoo support

Thanks for the patch.

Could you elaborate on this change, which doesn't seem directly related to the rest of the patch?

>--- a/recipes/build-tools/m4.recipe
>+++ b/recipes/build-tools/m4.recipe
>@@ -10,4 +10,4 @@ class Recipe(recipe.Recipe):
>     files_bins = ['m4']
> 
>     def prepare(self):
>-        self.append_env['CFLAGS'] = " -Wno-error=cast-align "
>+        self.append_env['CFLAGS'] = " -Wno-error=cast-align -Wp,-Wunused-macros "
Comment 2 Sebastian Dröge (slomo) 2016-01-08 14:40:23 UTC
Comment on attachment 302319 [details] [review]
Patch for Gentoo support

Also the Gentoo support and unrelated changes should be in different patches
Comment 3 Tim-Philipp Müller 2016-04-24 23:38:14 UTC
What shall we do with this? Are any other changes needed to the patch apart from removing the CFLAGS change? But then seeing that there's been no response from Emmanuel so we might just as well close it.
Comment 4 Emmanuel Poitier 2016-04-25 07:07:02 UTC
Tim, Sebastian,

(In reply to Tim-Philipp Müller from comment #3)
> What shall we do with this? Are any other changes needed to the patch apart
> from removing the CFLAGS change? But then seeing that there's been no
> response from Emmanuel so we might just as well close it.

sorry to not have answered earlier, it is quite busy at the moment. So the diff on the m4.recipe is a modification to allow us to comply with out internal process. It is not necessary to have it to support Gentoo.

Best regards,
Emmanuel Poitier
Comment 5 Tim-Philipp Müller 2016-05-22 16:48:32 UTC
Ok, thanks. For Arch we call the version DistroVersion.ARCH_ROLLING, I wonder if  GENTOO_ROLLING would make more sense than GENTOO_VERSION here - is that terminology used by Gentoo as well?
Comment 6 Emmanuel Poitier 2016-05-22 17:24:28 UTC
Tim,

there is no specific scheme Gentoo could impose. I believe it is up to your own naming scheme.

Best regards,
Emmanuel Poitier
Comment 7 Tim-Philipp Müller 2016-05-22 17:33:49 UTC
Thanks Emmanuel - but not sure what to make of your answer to be honest :) Are you saying GENTOO_ROLLING would be fine as well, or that it doesn't really make sense?
Comment 8 Tim-Philipp Müller 2016-05-27 16:11:05 UTC
Ok, let's get this in then:

commit 7f59d28c87791062e9dae0cdb6367bc43a19d701
Author: Emmanuel Poitier <emmanuel.poitier@enman.fr>
Date:   Fri May 27 17:07:10 2016 +0100

    Add support for Gentoo distro
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748434
Comment 9 Tim-Philipp Müller 2016-05-27 16:11:26 UTC
Comment on attachment 302319 [details] [review]
Patch for Gentoo support

Pushed without the m4.recipe changes.