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 762233 - Improve Cerbero README
Improve Cerbero README
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
1.7.1
Other Linux
: Normal enhancement
: 1.7.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-18 08:14 UTC by George Yunaev
Modified: 2016-02-18 09:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch against HEAD readme (1.65 KB, patch)
2016-02-18 08:40 UTC, George Yunaev
none Details | Review
Version 2, now with cerbero-uninstalled (2.71 KB, patch)
2016-02-18 09:25 UTC, George Yunaev
committed Details | Review

Description George Yunaev 2016-02-18 08:14:32 UTC
===============================================================================
cerbero must be run in the MingGW shell, which is accessible from the main menu.
The last step is making python and git available from the shell, for which you will need
to create a .profile file:
  $ echo "export PATH=\"\$PATH:/c/Python27:/c/Git/bin\"" > ~/.profile

Note that inside the shell, / is mapped to c:\Mingw\msys\1.0\
===============================================================================

should IMHO be explained as:

cerbero must be run in the MingGW shell, which is accessible from the desktop/main menu as "MinGW Shell" (if you don't have it, you did not install the bash lnk" package).

Once you run the shell, you need to make python, MinGW and git available from the shell, for which you will need to create a .profile file:

If you use 64-bit Windows:

echo 'export PATH="$PATH:/c/Python27:/c/Program Files (x86)/Git/bin:/c/MinGW/bin/"' >  ~/.profile

if you use 32-bit Windows:

echo 'export PATH="$PATH:/c/Python27:/c/Program Files/Git/bin:/c/MinGW/bin/"' >  ~/.profile

Note that inside the shell, / is mapped to c:\Mingw\msys\1.0\

===============================================================================

There are two issues fixed besides more explanation:

- Git is now installed in Program Files, not in c:\git; and
- msys shell for some unknown reason does not have mingw in path, so once you start cerbero it couldn't find mingw-get and fails.
Comment 1 George Yunaev 2016-02-18 08:19:57 UTC
Also it is worth mentioning somewhere that cerbero is invoked as 'cerbero-uninstalled', not as 'cerbero'.
Comment 2 Sebastian Dröge (slomo) 2016-02-18 08:26:37 UTC
Can you provide a patch against the README with your changes? Sounds good to me except for the lnk" typo
Comment 3 George Yunaev 2016-02-18 08:40:06 UTC
Created attachment 321567 [details] [review]
Patch against HEAD readme
Comment 4 Sebastian Dröge (slomo) 2016-02-18 09:17:20 UTC
Review of attachment 321567 [details] [review]:

Looks good except for one minor detail, thanks!

::: README
@@ +70,3 @@
 
+On Windows cerbero is used as-is without installation, and is invoked as 'cerbero-uninstalled'. 
+So please replace 'cerbero' with 'cerbero-uninstalled' in the examples below.

Not only on Windows but everywhere. Nobody should use cerbero-uninstalled. Want to change all the references to cerbero? :)
Comment 5 George Yunaev 2016-02-18 09:25:18 UTC
Created attachment 321571 [details] [review]
Version 2, now with cerbero-uninstalled

Here it is.
Comment 6 Sebastian Dröge (slomo) 2016-02-18 09:53:55 UTC
commit 69ebb3def89113ec655209a2bd5beef11af6552e
Author: George Yunaev <gyunaev@gmail.com>
Date:   Thu Feb 18 11:51:28 2016 +0200

    README: Update Windows instructions and mention cerbero-uninstalled instead of cerbero
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762233