GNOME Bugzilla – Bug 755173
deploying java class from plugin
Last modified: 2015-10-20 17:58:25 UTC
With android camera patch of gst-plugins-bad, java class file will be located in share directory (datadir). However, cerbero seems to miss the file when packaging.
Created attachment 311573 [details] [review] packaging java class
Comment on attachment 311573 [details] [review] packaging java class It's enough to do it in one of the two recipes. I would vote for the non-static one.
Created attachment 313404 [details] [review] packaging java class files only static recipe set file_devel variable.
Comment on attachment 313404 [details] [review] packaging java class files Can go in after the other part is merged. We use += in other places, and also usually don't put a space before opening parenthesis in Python
Created attachment 313415 [details] [review] replaced with '+='
Review of attachment 313415 [details] [review]: ::: recipes/gst-plugins-bad-1.0-static.recipe @@ +184,3 @@ + if self.config.target_platform == Platform.ANDROID: + self.files_devel += \ + 'share/gst-android/ndk-build' That's not how this works: >>> foo=[] >>> foo+='bla' >>> foo ['b', 'l', 'a'] You have to use += ['share/...']
Created attachment 313445 [details] [review] string array Whew, sorry for disturbing you. Now I remember why I used "append" instead of "+=". Thank you very much for reviewing kindly.
Thanks! commit cedbf84355a9122612018b8c0560608d5f855676 Author: Justin Kim <justin.kim@collabora.com> Date: Fri Oct 16 06:21:52 2015 +0900 gst-plugins-bad-1.0: copy java class into package https://bugzilla.gnome.org/show_bug.cgi?id=755173