New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: compile.sh: Move most functions to a helper script #155
Conversation
In general it looks good to me. Are you sure that do_vcs splits the input correct to archive; git; hg and svn? |
Haven't tried yet, but i won't join do_wget with do_vcs. I just joined the Splitting to a helper script would maybe allow later for the script to be always On Tue, 8 Sep 2015 10:23 jb-alvarado notifications@github.com wrote:
|
Turning a github archive into a repo could be done by adding some check after making sure git is installed (after installing pac-base in the soonest) that |
Seems to run fine with my .ini at least. |
Freetype, fontconfig and fribidi are updated enough to be installed. Since harfbuzz is a dependency we probably have to use it installed too. And lots of packages depend on these, like tesseract and others. More candidates: dcadec, libogg, libvorbis, opencore-amr, opusfile, libtheora, libcaca, and libcdio-paranoia. |
This last commit is pretty cool if it works :) |
Finally tested after making most packages optional with my light .ini. Things seem to work, but it's hard to know if things stop working if they aren't doing anything. For reference, my .ini: [compiler list]
msys2Arch=2
arch=3
free=1
vpx=2
x264=2
x265=3
other265=2
flac=2
mediainfo=2
soxB=2
ffmpegB=1
ffmpegUpdate=1
ffmpegChoice=1
mp4box=2
mplayer=2
mpv=1
cores=2
deleteSource=1
strip=1
pack=2 and ffmpeg_options.txt:
|
Finished building from scratch with full .ini with no problems. Do you want to test yourself before or is it OK if I merge? |
I try a run how, but only 64 bit - my time today is a bit short. |
What you think about, putting the helper script in the build dir? So users don't need the include folder locally. Maybe we also can put the other scripts and ini file there to. So only the batch file is in root. |
Getting a error in ffmpeg:
But it looks not like it have to do with the script. |
.git* files, README.md and LICENSE still need to be on root, so it's never just .bat alone. Not unless the .bat can be externally downloaded and the whole git repository could be stored in /build, like:
Or the .bat can still be in the repo but be run from /build by a |
Can't reproduce that yadif error. |
Yes that is true, not everything can be out of the root, then maybe like this:
The include in build folder I also don't like so much, is not really a include folder and the things in it to. Maybe we rename them? I don't know. What you think? |
I try ffmpeg again, and it still not work, but now on a other place.
|
Hm, I remember yesterday someone complaining about that in #ffmpeg-devel. I would say it's because I have hwaccels disabled that I don't get it but I didn't get it with the full build either, neither in 32 or 64-bits, so it's probably some FFmpeg issue with Mingw. |
What do you think of this? |
You can try again now. I've rebased from master again with FFmpeg disabled options. |
Sorry for the delay! I let the script now running. |
make can error building and make install can still install headers, but libraries are less likely to be installed. Maybe would be better to force uninstall every time to be safe, since this might not work everytime (like in #156)
compile.sh: Don't delete extras and patches
I have a funny thing here, the script has start to compile libopenjp* and after It start to install the compiler again and after that it continue compiling. |
Ah sorry, I see that It don't install the hole compiler, only some libs - freetype; fontconfig, and to others. |
Get it from mingw. The package doesn't have tessdata. You have to get it yourself. This is data is big. You can get it already packaged from https://www.archlinux.org/packages/?sort=&q=tesseract-data and split by languages.
Looks done to me. How did your build go? |
Is a bit irritating for me, that some mingw libs get install between compiling, but is ok. ffmpeg still hangs, now on libtowlame:
|
I see now that all the patches where not apply, because the download link has not match. At the moment the script will break to, when the build folder gets delete? At the very begin I had a download function in the batch file for the shell scripts, maybe we can put it back? What you think about? |
We have no way of knowing what scripts are up to date or not unless we use git.
Same behavior as before. If they are already installed nothing is done. If people don't want gsm or opencore or schroedinger or others they don't need to install it. The installing the first time the script runs takes a bit less and there's less wasted space with libs that people might not need. |
Patching should grab a local patch in |
What about My test run is now done, and everything went fine. So I guess you can merge :). |
Maybe something like this? Maybe the |
Check #162 |
Also, unite do_git, do_svn and do_hg into do_vcs.