Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564086 - net-im/pidgin-9999 new live ebuild
Summary: net-im/pidgin-9999 new live ebuild
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-25 14:46 UTC by jospezial
Modified: 2022-06-29 06:46 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pidgin-9999.ebuild (pidgin-9999.ebuild,8.23 KB, text/plain)
2015-10-25 14:46 UTC, jospezial
Details
dev-libs/gplugin-9999.ebuild needed by Pidgin 3.0.0-devel (gplugin-9999.ebuild,2.27 KB, text/plain)
2020-05-20 14:37 UTC, Ingo Brunberg
Details
x11-libs/talkatu-9999.ebuild needed for Gtk UI of Pidgin 3.0.0-devel (talkatu-9999.ebuild,1.43 KB, text/plain)
2020-05-20 14:39 UTC, Ingo Brunberg
Details
dev-libs/libgnt-9999.ebuild needed for the ncurses UI of Pidgin 3.0.0-devel (libgnt-9999.ebuild,812 bytes, text/plain)
2020-05-20 14:40 UTC, Ingo Brunberg
Details
Ebuild for Pidgin 3.0.0-devel (pidgin-9999.ebuild,2.82 KB, text/plain)
2020-05-20 14:51 UTC, Ingo Brunberg
Details
Ebuild for Pidgin 3.0.0-devel (pidgin-9999.ebuild,2.87 KB, text/plain)
2020-07-06 13:45 UTC, Ingo Brunberg
Details
dev-libs/gplugin-9999.ebuild needed by Pidgin 3.0.0-devel (gplugin-9999.ebuild,2.27 KB, text/plain)
2020-07-06 13:46 UTC, Ingo Brunberg
Details
dev-libs/libgnt-9999.ebuild needed for the ncurses UI of Pidgin 3.0.0-devel (libgnt-9999.ebuild,839 bytes, text/plain)
2020-07-06 13:47 UTC, Ingo Brunberg
Details
x11-libs/talkatu-9999.ebuild needed for Gtk UI of Pidgin 3.0.0-devel (talkatu-9999.ebuild,1.59 KB, text/plain)
2020-07-06 13:48 UTC, Ingo Brunberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2015-10-25 14:46:08 UTC
Created attachment 415476 [details]
pidgin-9999.ebuild

As the latest release of pidgin (v2.10.11) is 11 month old and there was no live ebuild available anywhere, I decided to create one for version 3.0.0devel.

There were a lot of changes upstream:
https://hg.pidgin.im/pidgin/main
https://hg.pidgin.im/pidgin/main/file/tip/ChangeLog


Doxygen has been replaced by gtk-doc for generating documentation.
--disable-gtk-doc does not work. (It can't find gtk-doc.make if gtk-doc not installed)
Could be related to gtkdocize needed.

I took pidgin-2.10.11.ebuild from http://data.gpo.zugaina.org/poly-c/net-im/pidgin/ as a base.

It should be possible to use gstreamer-1.x and drop 0.10 dependency.
Pidgin was the last gsteamer-0.10 consumer on my system.
Fedora had some patches for pidgin-2.10.11
http://pkgs.fedoraproject.org/cgit/pidgin.git/log/?qt=grep&q=gst
I think this is now integrated upstream.

To use plugins >=dev-libs/gplugin-0.0.17 is needed.
Not in tree yet but gplugin-0.0.22.ebuild is available from
https://github.com/jgeboski/ebuilds/tree/master/dev-libs/gplugin
That has a sandbox violation.


I disabled the patches in this pidgin ebuild.
They have to be adapted or removed if no longer needed.

configure: WARNING: unrecognized options: --enable-gtkspell, --disable-perl, --disable-tk, --disable-tcl, --disable-mono, --with-gadu-includes, --with-gadu-libs, --with-gnutls-includes, --with-gnutls-libs

You can see in upstream changelog why.


In /var/tmp/portage/net-im/pidgin-9999/temp/automake.out I find:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake-1.15 line 3936.



http://hg.pidgin.im/ and http://pidgin.im were temporary not available for the last days. For now they are back online.
Comment 1 jospezial 2015-10-25 14:47:14 UTC
I was able to compile it with USE="doc" a few days ago but now I get:

Making all in facebook
make[5]: Entering directory '/var/tmp/portage/net-im/pidgin-9999/work/pidgin-9999/doc/reference/protocols/facebook'
if test "/var/tmp/portage/net-im/pidgin-9999/work/pidgin-9999/doc/reference/protocols/facebook" != "/var/tmp/portage/net-im/pidgin-9999/work/pidgin-9999/doc/reference/protocols/facebook" ; then \
    files=`echo ../version.xml  facebook-docs.xml facebook-sections.txt facebook-overrides.txt facebook.types`; \
    if test "x$files" != "x" ; then \
        for file in $files ; do \
            destdir=`dirname /var/tmp/portage/net-im/pidgin-9999/work/pidgin-9999/doc/reference/protocols/facebook/$file`; \
            test -d "$destdir" || mkdir -p "$destdir"; \
            test -f /var/tmp/portage/net-im/pidgin-9999/work/pidgin-9999/doc/reference/protocols/facebook/$file && \
                cp -pf /var/tmp/portage/net-im/pidgin-9999/work/pidgin-9999/doc/reference/protocols/facebook/$file /var/tmp/portage/net-im/pidgin-9999/work/pidgin-9999/doc/reference/protocols/facebook/$file || true; \
        done; \
    fi; \
fi
touch setup-build.stamp
_source_dir='' ; \
for i in ../../../../libpurple/protocols/facebook ; do \
    _source_dir="${_source_dir} --source-dir=$i" ; \
done ; \
gtkdoc-scan --module=facebook --ignore-headers="marshal.h" ${_source_dir} --deprecated-guards="PURPLE_DISABLE_DEPRECATED" --rebuild-types --rebuild-sections 
if grep -l '^..*$' facebook.types > /dev/null 2>&1 ; then \
    scanobj_options=""; \
    gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
    if test "$?" = "0"; then \
        if test "x" = "x1"; then \
            scanobj_options="--verbose"; \
        fi; \
    fi; \
    CC="/bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -g -march=native -O2 -pipe" LD="/bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -lgobject-2.0 -lglib-2.0  -g -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed" RUN="/bin/sh ../../../../libtool --mode=execute" CFLAGS="-I../../../.. -I../../../../libpurple/protocols/facebook -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gplugin-1.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall  -DPURPLE_DISABLE_DEPRECATED -DPIDGIN_DISABLE_DEPRECATED -DFINCH_DISABLE_DEPRECATED -DGNT_DISABLE_DEPRECATED -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-declaration -Wextra -Wno-unused-parameter -Wformat-security -Werror=format-security -Winit-self -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wfloat-equal -Wundef -Wp,-D_FORTIFY_SOURCE=2 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/lib64/libffi-3.2.1/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -march=native -O2 -pipe" LDFLAGS="../../../../libpurple/protocols/facebook/libfacebook.la  -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -L/usr/lib -lgplugin -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0  -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lz -lgirepository-1.0 -lgobject-2.0 -lglib-2.0 -Wl,-O1 -Wl,--as-needed" \
    gtkdoc-scangobj  $scanobj_options --module=facebook; \
else \
    for i in facebook.args facebook.hierarchy facebook.interfaces facebook.prerequisites facebook.signals ; do \
        test -f $i || touch $i ; \
    done \
fi
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
libtool:   error: cannot find the library '../../../../libpurple/protocols/facebook/libfacebook.la' or unhandled argument '../../../../libpurple/protocols/facebook/libfacebook.la'
Linking of scanner failed: 
Makefile:872: recipe for target 'scan-build.stamp' failed
make[5]: *** [scan-build.stamp] Error 1
make[5]: Leaving directory '/var/tmp/portage/net-im/pidgin-9999/work/pidgin-9999/doc/reference/protocols/facebook'
Comment 2 jospezial 2015-10-25 15:10:14 UTC
And what I don't understand:

joerg@bastellinux ~ $ pidgin 
java version "1.7.0_85"
OpenJDK Runtime Environment (IcedTea 2.6.1) (Gentoo icedtea-7.2.6.1-r1)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)

For what in hell does it use java?
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-02 12:30:52 UTC
pidgin upstream switched to meson build system. Any chance you can update your ebuild?
Comment 4 jospezial 2019-04-10 22:07:27 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #3)
> pidgin upstream switched to meson build system. Any chance you can update
> your ebuild?

I'm sorry but I have no knowledge how to use meson.
Comment 5 Ingo Brunberg 2020-05-20 14:37:32 UTC
Created attachment 640564 [details]
dev-libs/gplugin-9999.ebuild needed by Pidgin 3.0.0-devel
Comment 6 Ingo Brunberg 2020-05-20 14:39:39 UTC
Created attachment 640566 [details]
x11-libs/talkatu-9999.ebuild needed for Gtk UI of Pidgin 3.0.0-devel
Comment 7 Ingo Brunberg 2020-05-20 14:40:51 UTC
Created attachment 640568 [details]
dev-libs/libgnt-9999.ebuild needed for the ncurses UI of Pidgin 3.0.0-devel
Comment 8 Ingo Brunberg 2020-05-20 14:51:53 UTC
Created attachment 640572 [details]
Ebuild for Pidgin 3.0.0-devel

It is getting time to get rid of Gtk-2 (when Gimp is ready), so I created new live Ebuilds for Pidgin.

Regarding gplugin: Building with tcc fails. The perl loader requires ExtUtils::Embed which is not yet in Portage but could be created with g-cpan, so will also fail. Regardless of these problems I put those flags in.
Comment 9 jospezial 2020-06-03 14:20:52 UTC
(In reply to Ingo Brunberg from comment #8)
> Created attachment 640572 [details]
> Ebuild for Pidgin 3.0.0-devel
> 
> It is getting time to get rid of Gtk-2 (when Gimp is ready), so I created
> new live Ebuilds for Pidgin.
> 
> Regarding gplugin: Building with tcc fails. The perl loader requires
> ExtUtils::Embed which is not yet in Portage but could be created with
> g-cpan, so will also fail. Regardless of these problems I put those flags in.

Are the python dependencies gone?
https://bugs.gentoo.org/show_bug.cgi?id=712996
Comment 10 Ingo Brunberg 2020-06-03 18:53:01 UTC
Language bindings, including python, are now in gplugin. For the pidgin ebuild python is only indirectly involved through the use of meson.
Comment 11 Perfect Gentleman 2020-06-21 07:57:45 UTC
(In reply to Ingo Brunberg from comment #6)
> Created attachment 640566 [details]
> x11-libs/talkatu-9999.ebuild needed for Gtk UI of Pidgin 3.0.0-devel

needs correcting as new option is introduced, 'vapi'. which needs vala
Comment 12 Ingo Brunberg 2020-07-06 13:45:52 UTC
Created attachment 647970 [details]
Ebuild for Pidgin 3.0.0-devel
Comment 13 Ingo Brunberg 2020-07-06 13:46:48 UTC
Created attachment 647972 [details]
dev-libs/gplugin-9999.ebuild needed by Pidgin 3.0.0-devel
Comment 14 Ingo Brunberg 2020-07-06 13:47:23 UTC
Created attachment 647974 [details]
dev-libs/libgnt-9999.ebuild needed for the ncurses UI of Pidgin 3.0.0-devel
Comment 15 Ingo Brunberg 2020-07-06 13:48:04 UTC
Created attachment 647976 [details]
x11-libs/talkatu-9999.ebuild needed for Gtk UI of Pidgin 3.0.0-devel
Comment 16 Ingo Brunberg 2020-07-06 13:53:52 UTC
I have added vala to the talkatu ebuild and furthermore updated all ebuilds with their new source location, because bitbucket dropped mercurial support.