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
how to install? #1169
Comments
If you built Geany then you should have the basic tools to build the plugins. If you built Geany with all defaults then the plugins should also build with defaults. If you set any options when configuring Geany (particularly But as #1063 notes, beyond the basic build tools some of the plugins have other dependencies, and if configure can't find them they will be configured as "no" and that plugin will not be built, but any configured as "yes" should still build. As noted in #1168 there is not a good list of these other dependencies for plugins, you need to read each plugins documentation (and sadly sometimes code). PS #1163 is about the github test builds for pull requests, it doesn't affect you building, so don't worry about it :-) |
Geany loads plugins from a number of default locations (on Linux The default Geany plugins (as packaged with Geany app) are installed in |
I built a bin/geany .exe from the wiki https://wiki.geany.org/howtos/win32/msys2 and followed this document https://www.geany.org/manual/reference/howto.html. Use it as an example, but compile with a prompt that geoyplugin.h cannot be found, and when I link to the include directory, there will be a new header file that cannot be found. Is this a lack of dependency at build time, or something else, expect a reply. |
@hupeng111 geoyplugin.h is not part of Geany. Are you compiling your own plugin? Is it part of your plugin? If so you need to setup your build right, which is not part of Geany. |
I misspelled, this is my problem, I mean geanyplugin.h, this problem arises when I build my helloworld plugin according to the two wikis above, I'm not sure which step I'm wrong, or what is missing |
I presume your Geany built and runs? The
|
Are you referring to running this command on cmd, it gives the following results
This is what I looked at at msys2
Cflags error is prompted under my windows.But when I downloaded and used gtk3, cflags didn't get a similar error |
Please do a github preview before you post the comment, your copying and pasting on Windows seems to have converted the text you copied from my post to non-utf-8 so it shows as Asian characters. Your subsequent edits show that the problem is pkg-config can't find Geany and tells you what to do, add the directory containing the geany.pc file to the environment variable. Are you running the gcc command in the mingw shell, not the Windows cmd? |
@hupeng111: At this point, this issue appears as a very confusing mix of platforms, options, versions, shells, and most crucially, user's intention. This issue started from building Geany and its plugins under Ubuntu. If you're dealing with problems in different context, it would make sense to start a different issue, to avoid the confusion. I understand that you successfully built and installed the Geany binary. So, given all dependencies are in-place, you should be equally able to similarly build and install the plugins. In fact, you could do this just for a simple plugin that needs no extra dependencies (e.g. To configure
Then just build and install:
If this works for a single plugin, and the plugins is visible in the Geany, then the other plugins can be built at once (provided all needed dependencies are set up). Reconfigure to allow building all plugins, basically it's a default. Just pass |
As you said I successfully compiled the helloworld plugin and can use it. Now I'm trying to build the installed version, but I'm having some problems.
Can you provide this installation route? |
The information in the howto on https://wiki.geany.org/howtos/win32/msys2 were pretty old and also partly outdated. Some months ago, I started to rewrite the howto to be more accurate and recent. It took some time but I could finally finish it (except the release.py scripts, I forgot to copy them from my Windows machine, will do in a few days). The updated howto now also uses Some remarks regarding your mentioned problems above:
|
i try: |
@jklouz are you building from tarball or git? If git you need need to run |
|
I'm closing this issue now as the Windows build system was updated quiet heavy and this issue really is a colorful mixture between a lot of different platforms - unfortunately not really helpful, too. |
Hi, I am on an older version of ubuntu so the repos are not up to date. I installed geany from source to be up to date and was hoping to get the plugins. I can't make sense of the install instructions. I tried both cloning and getting the release files, tried running
autogen.sh
and./configure
but not sure what the exact procedure is supposed to be? Also tried moving the releases into~/.config/geany/plugins/
but geany does not pick them up.Also saw #1063 and #1163, not sure of the implications. Is it not possible to obtain these in this manner?
The text was updated successfully, but these errors were encountered: