<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Sebastian,<div>maybe I didn’t understood correctly but to compile using a local repository I did these changes without success… sort but I’m not so familiar with git and cerebra also.</div><div><br></div><div>First thing my effort is to modify the gstvp8pay.c file which is contained in <span style="color: rgb(215, 57, 30); font-family: Menlo; font-size: 11px;"><a href="git://anongit.freedesktop.org/gstreamer/">git://anongit.freedesktop.org/gstreamer/</a></span><span style="color: rgb(215, 57, 30); font-family: Menlo; font-size: 11px;">gst-plugins-good</span></div><div>so I cloned the project in /Users/elio/Projects/GStreamer directory, then I changed the receipe in this way:</div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(215, 57, 30);"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(215, 57, 30);"># self.remotes['origin'] = ('%s/%s' % ('<a href="git://anongit.freedesktop.org/gstreamer'">git://anongit.freedesktop.org/gstreamer'</a>, 'gst-plugins-good')) </div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(197, 156, 156);"><span style="color: #000000"> </span><span style="color: #d03cff">self</span><span style="color: #000000">.remotes[</span>'local'<span style="color: #000000">] = (</span>'<a href="file:///Users/elio/Projects/GStreamer/gst-plugins-good'">file:///Users/elio/Projects/GStreamer/gst-plugins-good'</a><span style="color: #000000">)</span></div></div><div>#<span style="font-family: Menlo; font-size: 11px;"> </span><span style="font-family: Menlo; font-size: 11px; color: rgb(175, 215, 255); background-color: rgb(179, 42, 178);">commi</span><span style="font-family: Menlo; font-size: 11px;">t = </span><font color="#c59c9c" face="Menlo"><span style="font-size: 11px;">‘origin/master'</span></font></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(197, 156, 156);"><span style="color: #000000"> </span><span style="color: #afd7ff; background-color: #b32ab2">commi</span><span style="color: #000000">t = </span>'local/master’</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(197, 156, 156);"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(197, 156, 156);"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">The output I receive is:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;">Building the following recipes: gst-plugins-good-1.0-static</div><div style="margin: 0px;">[(1/1) gst-plugins-good-1.0-static -> fetch ]</div><div style="margin: 0px;">Running command 'git remote add -f origin <a href="git://anongit.freedesktop.org/gstreamer-sdk/gst-plugins-good-1.0.git'">git://anongit.freedesktop.org/gstreamer-sdk/gst-plugins-good-1.0.git'</a></div><div style="margin: 0px;">fatal: remote origin already exists.</div><div style="margin: 0px;">Running command 'git remote add -f local <a href="file:///Users/elio/Projects/GStreamer/gst-plugins-good'">file:///Users/elio/Projects/GStreamer/gst-plugins-good'</a></div><div style="margin: 0px;">fatal: remote local already exists.</div><div style="margin: 0px;">Running command 'git remote add -f upstream <a href="file:///Users/elio/Projects/GStreamer/gst-plugins-good'">file:///Users/elio/Projects/GStreamer/gst-plugins-good'</a></div><div style="margin: 0px;">……</div><div style="margin: 0px;"><div style="margin: 0px;">Fetching upstream</div><div style="margin: 0px;">Fetching local</div><div style="margin: 0px;">fatal: '/elio/Projects/GStreamer/gst-plugins-good' does not appear to be a git repository</div><div style="margin: 0px;">fatal: Could not read from remote repository.</div><div style="margin: 0px; min-height: 13px;"><br></div><div style="margin: 0px;">Please make sure you have the correct access rights</div><div style="margin: 0px;">and the repository exists.</div><div style="margin: 0px;">error: Could not fetch local</div><div style="margin: 0px;">Running command 'git reset --hard local/master'</div><div style="margin: 0px;">fatal: ambiguous argument 'local/master': unknown revision or path not in the working tree.</div><div style="margin: 0px;">Use '--' to separate paths from revisions, like this:</div><div style="margin: 0px;">'git <command> [<revision>...] -- [<file>...]'</div><div style="margin: 0px;">***** Error running 'buildone' command:</div><div style="margin: 0px;">Recipe 'gst-plugins-good-1.0-static' failed at the build step ‘fetch'</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Can you help me?</div><div style="margin: 0px;">Thanks</div><div style="margin: 0px;">Elio</div><div style="color: rgb(197, 156, 156); margin: 0px; min-height: 13px;"><br></div></div></div><div><div>On 04 Nov 2013, at 15:16, Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On Mo, 2013-11-04 at 14:37 +0100, Elio Francesconi wrote:<br><blockquote type="cite">Hi Sebastian,<br>thanks for this info, I’ll take a look for sure.<br>I want to recompile GStreamer with my changes but I’m facing an issue with cerbero.<br>I recompiled everything using these commands:<br><br>git clone <a href="git://anongit.freedesktop.org/gstreamer/sdk/cerbero">git://anongit.freedesktop.org/gstreamer/sdk/cerbero</a><br>cd cerbero<br>cerbero bootstrap<br>cerbero -c config/cross-ios-universal.cbc package gstreamer-1.0 -k<br><br>I’m using option -k to see source files<br>then when the compilation phase is terminated, if I change a file content(for example gstvp8pay.c), and I run again:<br>cerbero -c config/cross-ios-universal.cbc package gstreamer-1.0 -k<br>The library is not compiled again and I receive as result: already build.<br><br>What is wrong in this procedure?<br>Also I found in my directory several copies of the same file, one for platform, should I change all files or is there an easiest way to do that?<br></blockquote><br>The easiest solution would be to have a GIT repository with those<br>changes somewhere local, and then reference that in<br>recipes/gst-plugins-bad*.recipe. You could there then specify the<br>commit/tag/branch from which it should build and the URL to the<br>repository, which could also be a file:// URL to a local repository. See<br>recipes/pitivi.recipe for an example. The "remotes" and "commit" field<br>is of interest for you. You could there e.g. add:<br>remotes = { local: '<a href="file:///somewhere'">file:///somewhere'</a>}<br>commit = 'local/master'<br><br>Then you could do<br>cerbero -c config/cross-ios-universal.cbc buildone gst-plugins-bad-1.0 gst-plugins-bad-1.0-static<br>cerbero -c config/cross-ios-universal.cbc package gstreamer-1.0 -k<br><br>--<span class="Apple-converted-space"> </span><br>Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>><br>Centricular Ltd -<span class="Apple-converted-space"> </span><a href="http://www.centricular.com/">http://www.centricular.com</a><br>Expertise, Straight from the Source<br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></blockquote></div><br></div></body></html>