Re: [Geany-Devel] geany and geany-pluigins standalone installation

2016-03-12 Thread Volodymyr Kononenko
Hi,

Thank you.
The problem was that I used the latest Geany master branch and
b4n:pairtaghighligher/less-deprecated branch, which was incompatible.
After downloading fresh geany-plugins master and cherry-picking the single
change everything was built successfully.

On 11 March 2016 at 19:52, Colomban Wendling 
wrote:

> Hi,
>
> Le 11/03/2016 18:40, Volodymyr Kononenko a écrit :
> > Hi folks,
> >
> > I am trying to build PairTagHighlighter to verify PR
> > https://github.com/geany/geany-plugins/pull/359
> >
> > But I am getting undefined references to all Scintilla functions:
> >  CCLD pairtaghighlighter.la 
> > .libs/pair_tag_highlighter.o: In function `findBracket':
> >
> /home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:85:
> > undefined reference to `sci_get_char_at'
> > […]
> >
> > The way how I build Geany:
> >
> >   * ./autogen.sh
> >   * ./configure --prefix=
> >   * make
> >   * make install
>
> Which version of Geany?  It looks like you'd be building a relatively
> old one, and a recent version of Geany-Plugins or something like this.
>
> > The way how I build geany-plugins:
> >
> >   * export PKG_CONFIG_PATH=/lib/pkgconfig
> >   * ./configure --prefix=
> > --with-geany-libdir=/lib --disable-addons
> > --disable-autoclose  --disable-automark --disable-codenav
> > --disable-commander --disable-debugger --disable-defineformat
> > --disable-devhelp --disable-geanyctags --disable-geanydoc
> > --disable-geanyextrasel --disable-geanygendoc
> > --disable-geanyinsertnum --disable-geanylatex --disable-geanylipsum
> > --disable-geanylua --disable-geanymacro --disable-geanyminiscript
> > --disable-geanynumberedbookmarks --disable-geanyprj
> > --disable-geanypy --disable-geanysendmail --disable-geanyvc
> > --disable-geanypg --disable-largefile --disable-geniuspaste
> > --disable-gitchangebar --disable-lineoperations --disable-markdown
> > --disable-multiterm --disable-overview --disable-pohelper
> > --disable-pretty_printer --disable-projectorganizer --disable-scope
> > --disable-shiftcolumn --disable-spellcheck --disable-treebrowser
> > --disable-tableconvert --disable-updatechecker --disable-webhelper
> > --disable-xmlsnippets
>
> You could use --disable-all-plugins --enable-pairtaghighlighter to avoid
> having to list all --disable options ;)
>
> > Please suggest, how to make standalone installation in a proper way.
>
> Your way looks good, and all I can imagine is trying to build against an
> old version of Geany not using libgeany and a recent enough version of
> GP with
>
> https://github.com/geany/geany-plugins/commit/25e3c8851a5113423ce16a6b80085925ebac2e13
> applied.
>
> Regards,
> Colomban
> ___
> Devel mailing list
> Devel@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
>



-- 
Best regards,
Volodymyr Kononenko
http://kononenko.ws
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] geany and geany-pluigins standalone installation

2016-03-11 Thread Colomban Wendling
Hi,

Le 11/03/2016 18:40, Volodymyr Kononenko a écrit :
> Hi folks,
> 
> I am trying to build PairTagHighlighter to verify PR
> https://github.com/geany/geany-plugins/pull/359
> 
> But I am getting undefined references to all Scintilla functions:
>  CCLD pairtaghighlighter.la 
> .libs/pair_tag_highlighter.o: In function `findBracket':
> /home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:85:
> undefined reference to `sci_get_char_at'
> […]
> 
> The way how I build Geany:
> 
>   * ./autogen.sh
>   * ./configure --prefix=
>   * make
>   * make install

Which version of Geany?  It looks like you'd be building a relatively
old one, and a recent version of Geany-Plugins or something like this.

> The way how I build geany-plugins:
> 
>   * export PKG_CONFIG_PATH=/lib/pkgconfig
>   * ./configure --prefix=
> --with-geany-libdir=/lib --disable-addons
> --disable-autoclose  --disable-automark --disable-codenav
> --disable-commander --disable-debugger --disable-defineformat
> --disable-devhelp --disable-geanyctags --disable-geanydoc
> --disable-geanyextrasel --disable-geanygendoc
> --disable-geanyinsertnum --disable-geanylatex --disable-geanylipsum
> --disable-geanylua --disable-geanymacro --disable-geanyminiscript
> --disable-geanynumberedbookmarks --disable-geanyprj
> --disable-geanypy --disable-geanysendmail --disable-geanyvc
> --disable-geanypg --disable-largefile --disable-geniuspaste
> --disable-gitchangebar --disable-lineoperations --disable-markdown
> --disable-multiterm --disable-overview --disable-pohelper
> --disable-pretty_printer --disable-projectorganizer --disable-scope
> --disable-shiftcolumn --disable-spellcheck --disable-treebrowser
> --disable-tableconvert --disable-updatechecker --disable-webhelper
> --disable-xmlsnippets

You could use --disable-all-plugins --enable-pairtaghighlighter to avoid
having to list all --disable options ;)

> Please suggest, how to make standalone installation in a proper way.

Your way looks good, and all I can imagine is trying to build against an
old version of Geany not using libgeany and a recent enough version of
GP with
https://github.com/geany/geany-plugins/commit/25e3c8851a5113423ce16a6b80085925ebac2e13
applied.

Regards,
Colomban
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


[Geany-Devel] geany and geany-pluigins standalone installation

2016-03-11 Thread Volodymyr Kononenko
Hi folks,

I am trying to build PairTagHighlighter to verify PR
https://github.com/geany/geany-plugins/pull/359

But I am getting undefined references to all Scintilla functions:
 CCLD pairtaghighlighter.la
.libs/pair_tag_highlighter.o: In function `findBracket':
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:85:
undefined reference to `sci_get_char_at'
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:86:
undefined reference to `sci_get_char_at'
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:87:
undefined reference to `sci_get_char_at'
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:57:
undefined reference to `sci_get_char_at'
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:58:
undefined reference to `sci_get_char_at'
.libs/pair_tag_highlighter.o:/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:59:
more undefined references to `sci_get_char_at' follow
.libs/pair_tag_highlighter.o: In function `clear_previous_highlighting':
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:152:
undefined reference to `scintilla_send_message'
.libs/pair_tag_highlighter.o: In function `highlight_tag':
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:131:
undefined reference to `scintilla_send_message'
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:132:
undefined reference to `scintilla_send_message'
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:134:
undefined reference to `scintilla_send_message'
/home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:135:
undefined reference to `scintilla_send_message'

and etc. etc.

The way how I build Geany:

   - ./autogen.sh
   - ./configure --prefix=
   - make
   - make install

The way how I build geany-plugins:

   - export PKG_CONFIG_PATH=/lib/pkgconfig
   - ./configure --prefix=
   --with-geany-libdir=/lib --disable-addons
   --disable-autoclose  --disable-automark --disable-codenav
   --disable-commander --disable-debugger --disable-defineformat
   --disable-devhelp --disable-geanyctags --disable-geanydoc
   --disable-geanyextrasel --disable-geanygendoc --disable-geanyinsertnum
   --disable-geanylatex --disable-geanylipsum --disable-geanylua
   --disable-geanymacro --disable-geanyminiscript
   --disable-geanynumberedbookmarks --disable-geanyprj --disable-geanypy
   --disable-geanysendmail --disable-geanyvc --disable-geanypg
   --disable-largefile --disable-geniuspaste --disable-gitchangebar
   --disable-lineoperations --disable-markdown --disable-multiterm
   --disable-overview --disable-pohelper --disable-pretty_printer
   --disable-projectorganizer --disable-scope --disable-shiftcolumn
   --disable-spellcheck --disable-treebrowser --disable-tableconvert
   --disable-updatechecker --disable-webhelper --disable-xmlsnippets

Please suggest, how to make standalone installation in a proper way.
Thank you!

-- 
Best regards,
Volodymyr Kononenko
http://kononenko.ws
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel