morevnaproject-org / papagayo-ng

Papagayo is a lip-syncing program designed to help you line up phonemes (mouth shapes) with the actual recorded sound of actors speaking. Papagayo makes it easy to lip sync animated characters by making the process very simple - just type in the words being spoken (or copy/paste them from the animation's script), then drag the words on top of the sound's waveform until they line up with the proper sounds.
233 stars 51 forks source link

Build system is broken #43

Open morevnaproject opened 6 years ago

morevnaproject commented 6 years ago

It turns out that the latest changes in our build system (https://github.com/morevnaproject/morevna-builds) break the possibility to build Papagayo-NG packages. Needs to be resolved.

morevnaproject commented 6 years ago

Not to myself: when fixed make sure to drop a note here - https://github.com/morevnaproject/opentoonz/issues/2#issuecomment-361033643

morevnaproject commented 5 years ago

We probably should use a simpler way to build Appimages - https://github.com/AppImage/AppImageKit/wiki/Bundling-Python-apps

Hunanbean commented 4 years ago

This may not help, or even be relevant, but i came across this when trying to build it.

Stackoverflow -> "The solution I used was to use PyInstaller as an alternative because Py2Exe stopped development at python 3.4 and will not work with newer versions." https://stackoverflow.com/questions/41578808/indexerror-tuple-index-out-of-range-when-using-py2exe

I tried that advice and failed, but you may have a better experience with it. it did build an executable, but it did not execute. it was not a priority at that time, so i did not try to troubleshoot. Oh, and Please, for the sake of sanity, avoid the Docker route

steveway commented 4 years ago

I was able to create a working executable with PyInstaller. If you use the .spec file then it should also work for you. In my newest commit I changed a hardcoded path in the spec file, seems to work like this: https://github.com/steveway/papagayo-ng/commit/c1193f72f7b2c7be441ef44feccb6cdfb070b14c

steveway commented 4 years ago

This also creates a running executable in OSX Catalina, but I don't have sound in my Test VM and it's really slow, so I can't test much. And on a current Ubuntu this also builds a working executable, these are quite big but there is not much we can do about this.

Hunanbean commented 4 years ago

Very cool. Thank you

morevnaproject commented 4 years ago

Cool! Thank you!!!

steveway commented 3 years ago

So for Linux we now have a working script to create Appimage files and for Windows and technically OSX (not tested since last time) we can build binaries with PyInstaller using first the prepare_appimage_build_dir.py and then running the papagayo-ng.spec file in that using PyInstaller. It should be possible to update the Build System to use this. I could also create a Python script which will try to build binaries using these steps for the different systems. It could then have a command line parameter to choose the system, Linux Appimage, Windows or OSX. (For OSX we need a machine running that system as far as I know.)