Compile a modified plugin for Windows

classic Classic list List threaded Threaded
5 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
Reply | Threaded
Open this post in threaded view
|

Re: Compile a modified plugin for Windows

Dagomi
Hi Nirbheek,

First thanks for your answers! 

Actually I have some evolution in the proces but have this errors ( end of email ) both errors try to download sources from  https://gstreamer.freedesktop.org/src/mirror/ and this sources dont exist. 

Enviorment windows 10
Cerbero dist 1.12.0 

python cerbero-uninstalled bootstrap
python cerbero-uninstalled package gstreamer-1.0

[(38/90) wavpack -> fetch ]
-----> Fetching tarball https://github.com/dbry/WavPack/archive/5.1.0.tar.gz to C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/local/wavpack-5.1.0/5.1.0.tar.gz
Running command 'wget https://github.com/dbry/WavPack/archive/5.1.0.tar.gz -O C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/local/wavpack-5.1.0/5.1.0.tar.gz  --no-check-certificate'
Resolving github.com... 192.30.253.112, 192.30.253.113
Connecting to github.com|192.30.253.112|:443... connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.
Running command 'wget https://gstreamer.freedesktop.org/src/mirror/5.1.0.tar.gz -O C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/local/wavpack-5.1.0/5.1.0.tar.gz  --no-check-certificate'
Resolving gstreamer.freedesktop.org... 131.252.210.176
Connecting to gstreamer.freedesktop.org|131.252.210.176|:443... connected.
WARNING: cannot verify gstreamer.freedesktop.org's certificate, issued by `/C=US/O=Let\'s Encrypt/CN=Let\'s Encrypt Authority X3':
  Unable to locally verify the issuer's authority.
WARNING: certificate common name `distributions.freedesktop.org' doesn't match requested host name `gstreamer.freedesktop.org'.
HTTP request sent, awaiting response... 404 Not Found
2018-07-17 07:07:43 ERROR 404: Not Found.

-----------------

[(41/90) libdv -> extract ]
-----> Extracting tarball to C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/windows_x86_64/libdv-1.0.0
Unpacking C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/local/libdv-1.0.0/libdv-1.0.0.tar.gz in C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/windows_x86_64
-----> Corrupted or partial tarball, redownloading...
-----> Fetching tarball http://sourceforge.net/projects/libdv/files/libdv/1.0.0/libdv-1.0.0.tar.gz to C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/local/libdv-1.0.0/libdv-1.0.0.tar.gz
Running command 'wget http://sourceforge.net/projects/libdv/files/libdv/1.0.0/libdv-1.0.0.tar.gz -O C:/MinGW/msys/1.0/home/Pc/cerbero/build/sources/local/libdv-1.0.0/libdv-1.0.0.tar.gz  --no-check-certificate'
Resolving sourceforge.net... 216.105.38.13
Connecting to sourceforge.net|216.105.38.13|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Connecting to sourceforge.net|216.105.38.13|:443... connected.
Unable to establish SSL connection.

2018-05-16 8:02 GMT+02:00 Nirbheek Chauhan <[hidden email]>:
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


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