-
Notifications
You must be signed in to change notification settings - Fork 270
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
Add shell script to add plugin dependencies into GTK bundle on MSYS2 #375
Conversation
f88c0fe
to
25fda93
Compare
As you can see, the list of dependencies is quite long. Probably 80% of the list are for webkitgtk. |
One more note: the whole dependency list is only tested with GTK2. |
# include: cleanup development files | ||
rm -rf include | ||
# lib: cleanup development files | ||
rm -rf libexec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libexec is not generally dev files, is it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the comment is a bit misleading. Sorry.
$ ls -l bundle-plugins/libexec/*
-rwxr-xr-x 1 enrico None 71586 Jul 10 2015 bundle-plugins/libexec/dbus-bash-completion-helper.exe
-rwxr-xr-x 1 enrico None 22546 Jul 10 2015 bundle-plugins/libexec/geoclue-example.exe
-rwxr-xr-x 1 enrico None 26689 Jul 10 2015 bundle-plugins/libexec/geoclue-geonames.exe
-rwxr-xr-x 1 enrico None 54614 Jul 10 2015 bundle-plugins/libexec/geoclue-gsmloc.exe
-rwxr-xr-x 1 enrico None 64544 Jul 10 2015 bundle-plugins/libexec/geoclue-hostip.exe
-rwxr-xr-x 1 enrico None 81757 Jul 10 2015 bundle-plugins/libexec/geoclue-localnet.exe
-rwxr-xr-x 1 enrico None 27452 Jul 10 2015 bundle-plugins/libexec/geoclue-manual.exe
-rwxr-xr-x 1 enrico None 106206 Jul 10 2015 bundle-plugins/libexec/geoclue-master.exe
-rwxr-xr-x 1 enrico None 27775 Jul 10 2015 bundle-plugins/libexec/geoclue-nominatim.exe
-rwxr-xr-x 1 enrico None 78317 Jul 10 2015 bundle-plugins/libexec/geoclue-plazes.exe
-rwxr-xr-x 1 enrico None 78238 Jul 10 2015 bundle-plugins/libexec/geoclue-skyhook.exe
-rwxr-xr-x 1 enrico None 24743 Jul 10 2015 bundle-plugins/libexec/geoclue-yahoo.exe
bundle-plugins/libexec/gstreamer-1.0:
total 20
-rwxr-xr-x 1 enrico None 20137 Feb 10 09:29 gst-plugin-scanner.exe
Nothing we need.
Anyway, I'll change the script to let libexec
alone and instead delete all *.exe. Then the resulting empty directories will be deleted at the end.
Ideally I'd say include it in the installer but allow not to install them with a nice installer option -- e.g. allow disabling specific plugins, or just webkitgtk ones. |
|
Yeah I didn't mean it would be easy, that's why I said "ideally" :) So yeah if it's not easy leave it. |
Heh about the Btw, I pushed a change regarding handling of |
This is a helper script to easily fetch and extract plugin dependencies on Windows using the MSYS2 environment.
2d01eb9
to
57f4504
Compare
Just pushed an update with all command line options and arguments documented and squashed commits together. |
if [ -d "mingw32/$d" ]; then | ||
rm -rf $d | ||
# prevent sporadic 'permission denied' errors on my system, not sure why they happen | ||
sleep 0.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huhu :]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this deleting not only $d?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on IRC, it does delete only $d which is intended here because mingw32/$d is moved to $d afterwards.
LGBQI (quick inspection ;) |
Add shell script to add plugin dependencies into GTK bundle on MSYS2
This is a helper script to easily fetch and extract plugin dependencies
on Windows using the MSYS2 environment.
Inspired and based on @kugel- 's initial script in geany/geany#560.
Currently it installs the dependencies we had already in the past (enchant, lua, libgit2, libsoup, ctpl, libxml2) and a few new ones which we got for free from MSYS2 (webkitgtk, ctags, gnupg/gpgme).
This script works like the one from Geany but only extracts additional dependencies to be merged into the bundle created for Geany.