Compile a modified plugin for Windows

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile a modified plugin for Windows

Dagomi
Hi all,

I added a some features to a gstreamer plugin using the binaries in Ubintu and now need generate the MSI installers for Windows. I'm consulting the solution but I not have clear the correct proces.

The steps are:

1 - Get a copy of Cerbero by cloning the git repository:
2 - bootstrapping process

3 - I asume in this step I need execute cerbero package gstreamer-1.0 and add my modifications in ../cerbero/build/sources/linux_x86_64/pligin_to_modify

4 -./cerbero-uninstalled -c config/cross-win32.cbc package gstreamer-1.0

Are correct this list of steps?

Ty



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile a modified plugin for Windows

Nirbheek Chauhan
On Fri, May 11, 2018 at 5:29 PM David Gomez <[hidden email]> wrote:

> Hi all,

> I added a some features to a gstreamer plugin using the binaries in
Ubintu and now need generate the MSI installers for Windows. I'm consulting
the solution but I not have clear the correct proces.

> The steps are:

> 1 - Get a copy of Cerbero by cloning the git repository:
> 2 - bootstrapping process

> 3 - I asume in this step I need execute cerbero package gstreamer-1.0 and
add my modifications in
../cerbero/build/sources/linux_x86_64/pligin_to_modify

Not quite. What you should instead do is change the `remotes` variable in
the recipe to point to your own git repo (can be a local git checkout).
Then you can build it with the `package` command.

Cheers,
Nirbheek
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile a modified plugin for Windows

Dagomi
Ty  Nirbheek,

In other hands I have this error:

[(1/17) mingw-runtime -> already built ]
[(2/17) gettext -> already built ]
[(3/17) libiconv -> already built ]
[(4/17) autoconf -> already built ]
[(5/17) gettext-tools -> already built ]
[(6/17) gettext-m4 -> already built ]
[(7/17) automake -> already built ]
[(8/17) m4 -> already built ]
[(9/17) libtool -> already built ]
[(10/17) pkg-config -> already built ]
[(11/17) orc-tool -> already built ]
[(12/17) ninja -> fetch ]
-----> Fetching tarball https://github.com/ninja-build/ninja/archive/v1.8.2.tar.gz to C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/local/ninja-1.8.2/v1.8.2.tar.gz
File C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/local/ninja-1.8.2/v1.8.2.tar.gz already downloaded.
[(12/17) ninja -> extract ]
-----> Extracting tarball to C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/build-tools/ninja-1.8.2
Unpacking C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/local/ninja-1.8.2/v1.8.2.tar.gz in C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/build-tools
[(12/17) ninja -> configure ]
Running command './configure.py --bootstrap'
bootstrapping ninja...
Traceback (most recent call last):
  File "./configure.py", line 324, in <module>
    if platform.msvc_needs_fs():
  File "./configure.py", line 87, in msvc_needs_fs
    stderr=subprocess.PIPE)
  File "c:\Python34\lib\subprocess.py", line 859, in __init__
    restore_signals, start_new_session)
  File "c:\Python34\lib\subprocess.py", line 1114, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado

Recipe 'ninja' failed at the build step 'configure'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort

Its really hard complile to windows ....

Regards,
David

2018-05-11 14:24 GMT+02:00 Nirbheek Chauhan <[hidden email]>:
On Fri, May 11, 2018 at 5:29 PM David Gomez <[hidden email]> wrote:

> Hi all,

> I added a some features to a gstreamer plugin using the binaries in
Ubintu and now need generate the MSI installers for Windows. I'm consulting
the solution but I not have clear the correct proces.

> The steps are:

> 1 - Get a copy of Cerbero by cloning the git repository:
> 2 - bootstrapping process

> 3 - I asume in this step I need execute cerbero package gstreamer-1.0 and
add my modifications in
../cerbero/build/sources/linux_x86_64/pligin_to_modify

Not quite. What you should instead do is change the `remotes` variable in
the recipe to point to your own git repo (can be a local git checkout).
Then you can build it with the `package` command.

Cheers,
Nirbheek
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile a modified plugin for Windows

Nirbheek Chauhan
On Mon, May 14, 2018 at 9:00 PM David Gomez <[hidden email]> wrote:

> Ty  Nirbheek,

> In other hands I have this error:


I will try to reproduce this issue, but in the meantime you will have
better luck building the 1.14 branch instead of master.

Cheers,
Nirbheek
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel