Giter Club home page Giter Club logo

Comments (13)

PerfectCarl avatar PerfectCarl commented on July 28, 2024

Note that when I'm trying to build the plugins (with waf or autogen) I get the error

Requested 'geany >= 1.24' but version of Geany is 1.23.1

While I have geany 1.25 running and installed.

from geany-plugins.

b4n avatar b4n commented on July 28, 2024

You probably also have the Geany version from your distribution installed, and it's probably found before your custom build. If you want a custom build, you probably should just uninstall the distribution's packages. Then, re-run the geany-plugins's configure script and it should work fine (assuming you do have an appropriate Geany version installed).

And just as with Geany, you need to build the plugins against GTK3, so it's perfectly normal that the plugins from your distribution's package won't work with your custom GTK3 Geany, unless they were themselves build for GTK3 (which is unlikely).

Finally, note that while we want to reach the point where all plugins work with GTK3, it's not yet the case, so some plugins that are available with GTK2 won't be with GTK3. We hope to port those as soon as possible, but it has to be done.

from geany-plugins.

PerfectCarl avatar PerfectCarl commented on July 28, 2024

Thanks for the clear explanation: it worked.

Here what I did:

sudo apt-get purge geany

git clone [email protected]:geany/geany.git
./autogen.sh  --enable-gtk3 --disable-html-docs --prefix=/usr
make 
sudo make install
cd .. 

cd geany-plugins-master/ 
./waf configure
./waf build -p
sudo ./waf install

And I got those error when starting geany:

17:17:54: Geany INFO        : Plugin "/usr/lib/geany/addons.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/autoclose.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/automark.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/codenav.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/commander.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/defineformat.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/filebrowser.so" already loaded.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanyctags.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanydoc.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanyextrasel.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanyinsertnum.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanylatex.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanylipsum.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanymacro.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanyminiscript.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanynumberedbookmarks.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanyprj.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanysendmail.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geanyvc.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/geniuspaste.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/pairtaghighlighter.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/pohelper.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/pretty-printer.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/projectorganizer.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/shiftcolumn.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/tableconvert.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/treebrowser.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/updatechecker.so" is not binary compatible with this release of Geany - recompile it.
17:17:54: Geany INFO        : Plugin "/usr/lib/geany/xmlsnippets.so" is not binary compatible with this release of Geany - recompile it.

from geany-plugins.

b4n avatar b4n commented on July 28, 2024

Try building the plugins with Autotools instead of Waf, just like you built Geany itself. Apparently Waf can't build GTK3 plugins yet (yes, it's a bug/missing feature).

from geany-plugins.

PerfectCarl avatar PerfectCarl commented on July 28, 2024

Indeed :)

This what I did :

        ./autogen.sh  --enable-gtk3 --disable-html-docs --prefix=/usr
        make 
        sudo make install 

and most of the plugins loaded!!

Here's the list of the loading errors:

17:51:15: Geany INFO        : Plugin "/usr/lib/geany/addons.so" is not binary compatible with this release of Geany - recompile it.
17:51:15: Geany INFO        : Plugin "/usr/lib/geany/filebrowser.so" already loaded.
17:51:15: Geany INFO        : Plugin "/usr/lib/geany/geanydoc.so" is not binary compatible with this release of Geany - recompile it.
17:51:15: Geany INFO        : Plugin "/usr/lib/geany/geanylatex.so" is not binary compatible with this release of Geany - recompile it.
17:51:15: Geany INFO        : Plugin "/usr/lib/geany/geanymacro.so" is not binary compatible with this release of Geany - recompile it.
17:51:15: Geany INFO        : Plugin "/usr/lib/geany/geanynumberedbookmarks.so" is not binary compatible with this release of Geany - recompile it.
17:51:15: Geany INFO        : Plugin "/usr/lib/geany/geanyprj.so" is not binary compatible with this release of Geany - recompile it.
17:51:15: Geany INFO        : Plugin "/usr/lib/geany/geanyvc.so" is not binary compatible with this release of Geany - recompile it.

from geany-plugins.

b4n avatar b4n commented on July 28, 2024

Here's the list of the loading errors:

Yes, as said previously, those plugins are not yet compatible with GTK3, so they are not built (and I guess you have them because you didn't remove explicitly the previous GTK2 ones).

from geany-plugins.

PerfectCarl avatar PerfectCarl commented on July 28, 2024

Thanks for the info.
Good luck with the porting to gtk3!

I wanted to give the best feedback I could

from geany-plugins.

frlan avatar frlan commented on July 28, 2024

Well, actually some of them should already be (my ones). So this actually really might be a bug or need for enhancement ;)

from geany-plugins.

pik avatar pik commented on July 28, 2024

This what I did :

    ./autogen.sh  --enable-gtk3 --disable-html-docs --prefix=/usr
    make 
    sudo make install 

I don't think there even is a flag for building geany-plugins with gtk+-3.0, or am I missing something?

from geany-plugins.

b4n avatar b4n commented on July 28, 2024

@pik no, geany-plugins doesn't have a specific flag, because it has to match what the Geany version it is built against used. So geany-plugins will just use the same thing as Geany used.

from geany-plugins.

pik avatar pik commented on July 28, 2024

@b4n I just looked at it - the gtk version is hard-coded https://github.com/geany/geany-plugins/blob/master/wscript#L83 package='gtk+-2.0' so it won't build with gtk+-3.0 even if geany is.

from geany-plugins.

b4n avatar b4n commented on July 28, 2024

@pik oh, you're talking about Waf. Yes, apparently Waf cannot currently build geany-plguins for GTK3. But the commands you quoted used Autotools, not Waf ;)

from geany-plugins.

frlan avatar frlan commented on July 28, 2024

waf is history for our project as well as most plugins are supporting Gtk3 where possible. Closing the bugreport. Please reopen a new one in case of a particular plugin.

from geany-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.