[Github-comments] [geany] msys2 bundle script: Rework for less typo fragility, and add more pac… (#560)

Enrico Tröger notifications at xxxxx
Sat Jan 16 18:43:57 UTC 2016


There must be some differences between your and my system, I get the following output when trying to create a GTK2 bundle:
http://pastebin.geany.org/04tvt/

- in the temporary mingw/ directory, I get no `locale` folder hence the message `mv: cannot stat 'mingw32/locale': No such file or directory`
- the `permission denied` error at the end only occurrs sometimes, I can successfully prevent this when I add a `sleep 1` at line 96. This might be some special bug/behaviour of my system, I'm testing the bundle creation script on a RAM disk to speed up testing a bit
- there is a strange `mkdir` error on line 39 which I didn't debug yet
- as you can see in the `ls` output at the end, there is this .BUILDINFO file laying around on my system. Not critical nor hard to fix but I'm curious why this doesn't happen for you

My MSYS2 system is up2date (according to `pacman -Syu`), I already cleared the cached packages, downloaded them again, no change.
@kugel- could you compare if your package versions are similar to those I used?

However, besides those smaller problems mentioned above, the dependency handling seems like the real issue to me:
I like the little Python script, nice idea. But it pulls in many new dependencies which are not strictly necessary I think. The following list contains new packages installed by the script which are not necessary to run Geany from the created bundle (tested):
```
mingw-w64-i686-libjpeg-turbo
mingw-w64-i686-gmp
mingw-w64-i686-jasper
mingw-w64-i686-xz
mingw-w64-i686-libtiff
mingw-w64-i686-lzo2
mingw-w64-i686-libxml2
mingw-w64-i686-gnome-common
mingw-w64-i686-shared-mime-info
mingw-w64-i686-adwaita-icon-theme
```

I'd prefer to keep the hand-written package list and extend it as necessary. It's not that the package dependencies change five times a month, I guess.
Don't get me wrong, your approach is the right one, but as long as pactree pulls in so many extra dependencies I'm a bit worried about the final bundle size which we have to distribute.

I also started already writing some code to strip the created bundle when a ZIP archive is requested (deleting gtk-doc stuff, headers, manpages, static libraries, ...) but I would wait for the dependency issue until I finish this.
The previously used bundle which we distributed had about 40 MB, the created bundle with all those dependencies has about 170 MB.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/560#issuecomment-172244826
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160116/0e746c2e/attachment.html>


More information about the Github-comments mailing list