Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233915 - net-im/tkabber-svn - SVN ebuild with finegrained plugin support
Summary: net-im/tkabber-svn - SVN ebuild with finegrained plugin support
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-04 20:27 UTC by gtlinuxman
Modified: 2011-12-31 17:38 UTC (History)
4 users (show)

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


Attachments
ebuild with finegrained plugin support (tkabber-svn-0.ebuild,9.15 KB, text/plain)
2008-08-04 20:38 UTC, gtlinuxman
Details
ebuild with finegrained plugin support (tkabber-svn-0.ebuild,9.21 KB, text/plain)
2008-08-05 00:24 UTC, gtlinuxman
Details
icon (tkabber.png,1.89 KB, image/png)
2008-08-05 00:31 UTC, gtlinuxman
Details
ebuild with finegrained plugin support (tkabber-svn-0.ebuild,9.23 KB, text/plain)
2008-08-05 11:06 UTC, gtlinuxman
Details
ebuild with finegrained plugin support (tkabber-svn-0.ebuild,9.25 KB, text/plain)
2008-08-06 18:52 UTC, gtlinuxman
Details
tkabber-svn-0.ebuild (tkabber-svn-0.ebuild,9.60 KB, text/plain)
2009-08-21 15:55 UTC, gtlinuxman
Details
metadata.xml (metadata.xml,783 bytes, text/plain)
2009-08-21 15:56 UTC, gtlinuxman
Details
tkabber-svn-0.ebuild (tkabber-svn-0.ebuild,9.61 KB, text/plain)
2009-09-28 23:12 UTC, gtlinuxman
Details
upstream Makefile used (tkabber-svn-0.ebuild,9.55 KB, text/plain)
2009-10-31 17:55 UTC, gtlinuxman
Details
ebuild with finegrained plugin support (tkabber-svn-0.ebuild,9.57 KB, text/plain)
2010-04-09 22:08 UTC, gtlinuxman
Details
environment from /var/db/pkg/… (environment.bz2,23.70 KB, application/octet-stream)
2011-10-12 09:27 UTC, Antek Grzymała (antoszka)
Details
Displayed build log (build.log,90.18 KB, text/plain)
2011-10-12 09:28 UTC, Antek Grzymała (antoszka)
Details
ebuild with finegrained plugin support (tkabber-svn-0.ebuild,10.34 KB, text/plain)
2011-11-09 12:44 UTC, gtlinuxman
Details
emerge --info =tkabber-svn-0* log file. (emerge-info-tkabber-svn-0-r1,6.09 KB, text/plain)
2011-12-31 17:38 UTC, Antek Grzymała (antoszka)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gtlinuxman 2008-08-04 20:27:47 UTC
net-im/tkabber-svn ebuild with finegrained plugin support
Comment 1 gtlinuxman 2008-08-04 20:38:20 UTC
Created attachment 162218 [details]
ebuild with finegrained plugin support

We made it with Antoni and have added some USE-flags too.

dev-tcltk/tktray-1.1 ebuild located in attachment http://bugs.gentoo.org/attachment.cgi?id=124054 of report http://bugs.gentoo.org/show_bug.cgi?id=168385
Comment 2 gtlinuxman 2008-08-05 00:24:43 UTC
Created attachment 162236 [details]
ebuild with finegrained plugin support

Changed description to original from developers.
?dded desktop entry generation and icon installation.
Thx to Denis Misiurca for icon. ;)
Comment 3 gtlinuxman 2008-08-05 00:31:03 UTC
Created attachment 162237 [details]
icon
Comment 4 gtlinuxman 2008-08-05 11:06:06 UTC
Created attachment 162256 [details]
ebuild with finegrained plugin support

Fixed TKABBER_PLUGINS recreation in plugins_verify function.
Cosmetic fix in src_install.
Comment 5 gtlinuxman 2008-08-06 18:52:58 UTC
Created attachment 162382 [details]
ebuild with finegrained plugin support

Added block net-im/tkabber, Because this is not the same package.
Comment 6 Antek Grzymała (antoszka) 2008-08-06 19:08:24 UTC
There seems to be some confusion as to whether SCM-based ebuilds should be called with just the package name (tkabber) or with the scm postfix (tkabber-svn). Also it's not clear, what package version should be user (0 and 9999 are frequent). You can see examples of both (and more) in portage. There's nothing definite on that matter in the Gentoo Dev Manual.

We feel, that tkabber-svn-0 is the most elegant and would like to keep the bug summary and ebuild names this way. If this is wrong or against current Gentoo policy, please let us know and perhaps point us to relevant Gentoo documents.

Regards,

[a]
Comment 7 Antek Grzymała (antoszka) 2008-08-06 19:14:29 UTC
s/user/used/; s/definite/definitive/
Comment 8 Olivier Crete (RETIRED) gentoo-dev 2008-08-31 02:20:38 UTC
I don't see this going into the tree anytime soon... tkabber 0.11.0 is there.
Comment 9 Antek Grzymała (antoszka) 2008-09-26 14:00:27 UTC
Tkabber 0.11 has one major drawback. Someone removed the crypt (crucial to many users) USE flag because tclgpgme got masked because “nothing used it” (I'd call it a circular lie).

Current SVN releases of tkabber include a preliminary version of GPG support without gpgme and tclgpgme which may be a definitive argument for using it. Incidentally it also enables GPG support for tkabber under windows which it never had.

Apart from that SVN releases include other fixed, new plugins and are generally stable enough for public consumption. It seems that “stable” releases of tkabber are mostly a formality.
Comment 10 gtlinuxman 2009-08-21 15:55:10 UTC
Created attachment 201870 [details]
tkabber-svn-0.ebuild

1. Replaced tclgpgme by tclgpg https://bugs.gentoo.org/show_bug.cgi?id=280898
2. Added new contrib, doc, examples USE-flags
3. Fixed repoman warnings
Comment 11 gtlinuxman 2009-08-21 15:56:37 UTC
Created attachment 201874 [details]
metadata.xml
Comment 12 gtlinuxman 2009-09-28 23:12:13 UTC
Created attachment 205555 [details]
tkabber-svn-0.ebuild

Corrected make_desktop_entry function arguments
Comment 13 gtlinuxman 2009-10-31 17:55:10 UTC
Created attachment 208881 [details]
upstream Makefile used

upstream Makefile used
Comment 14 gtlinuxman 2010-04-09 22:08:32 UTC
Created attachment 227181 [details]
ebuild with finegrained plugin support

Add EAPI=3, src_prepare with epatch_user
Comment 15 Antek Grzymała (antoszka) 2011-10-09 17:33:24 UTC
Haven't found out what's happening yet, but recent checkouts of tkabber don't see the enabled plugins with this ebuild.
Comment 16 Serj 2011-10-10 20:31:38 UTC
(In reply to comment #15)
> Haven't found out what's happening yet, but recent checkouts of tkabber don't
> see the enabled plugins with this ebuild.

This issue appeared after portage had been upgraded to 2.1.10.x. Plugins are installed in case of portage-2.1.9.x usage.
Comment 17 gtlinuxman 2011-10-12 08:44:22 UTC
Wow! You are still using this.  :)
can you paste  the  full build.log & environment file from portages temp dir?
The ebuild has deprecated functions and need to be updated.
Comment 18 Antek Grzymała (antoszka) 2011-10-12 09:26:38 UTC
(In reply to comment #17)
> Wow! You are still using this.  :)

Why, of course we are. No better client has shown up to date.

> can you paste  the  full build.log & environment file from portages temp dir?
> The ebuild has deprecated functions and need to be updated.

Which file is the build log?

/var/tmp/portage/net-im/tkabber-svn-0/temp/build.log

Certainly not the above one, this one only includes a copy of onscreen information? Including a de-ANSI-fied copy, anyway.

Also environment from /var/db/pkg.
Comment 19 Antek Grzymała (antoszka) 2011-10-12 09:27:28 UTC
Created attachment 289637 [details]
environment from /var/db/pkg/…
Comment 20 Antek Grzymała (antoszka) 2011-10-12 09:28:02 UTC
Created attachment 289639 [details]
Displayed build log
Comment 21 gtlinuxman 2011-11-09 12:44:13 UTC
Created attachment 292009 [details]
ebuild with finegrained plugin support

Hi folks.
I rewrote the ebuild, and fixed some errors.
I hope, I'have fixed them all.
I also removed some unnecessary actions and checks in internal functions.
Could you try and test a new version?

The ebuild has ugly algorithms for plugins installation, but I am sorry to say I could not invent anything better.

Be careful with 3rd-party plugins.
There may be some plugins with the attached binary libs without any neccessary descriptions, sources or anything else that should come with them. Vimage for example. I am sorry, but I don't want sort them and to do anything else with same things. Please contact the authors of the plugins, if there are any issues of same kind.
Comment 22 Antek Grzymała (antoszka) 2011-11-09 22:19:44 UTC
(In reply to comment #21)
> Created attachment 292009 [details]
> ebuild with finegrained plugin support
> 
> Hi folks.
> I rewrote the ebuild, and fixed some errors.
> I hope, I'have fixed them all.
> I also removed some unnecessary actions and checks in internal functions.
> Could you try and test a new version?
> 
> The ebuild has ugly algorithms for plugins installation, but I am sorry to say
> I could not invent anything better.
> 
> Be careful with 3rd-party plugins.
> There may be some plugins with the attached binary libs without any neccessary
> descriptions, sources or anything else that should come with them. Vimage for
> example. I am sorry, but I don't want sort them and to do anything else with
> same things. Please contact the authors of the plugins, if there are any issues
> of same kind.

Thanks a lot for the effort! There might still be some kinks to iron out, I'm getting:

>>> Install tkabber-svn-0-r1 into /var/tmp/portage/net-im/tkabber-svn-0-r1/image/ category net-im
make -j5 DESTDIR=/var/tmp/portage/net-im/tkabber-svn-0-r1/image/ PREFIX=/usr install-bin
mkdir -p /var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/share/tkabber
cp -r *.tcl emoticons ifacetk mclistbox msgs pixmaps plugins sounds tclxmpp trans /var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/share/tkabber
chmod 755 /var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/share/tkabber/tkabber.tcl
chmod 755 /var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/share/tkabber/tkabber-remote.tcl
mkdir -p /var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/bin
echo "#!/bin/sh" >/var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/bin/tkabber
echo "exec /usr/share/tkabber/tkabber.tcl \"\$@\"" >>/var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/bin/tkabber
echo "#!/bin/sh" >/var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/bin/tkabber-remote
echo "exec /usr/share/tkabber/tkabber-remote.tcl \"\$@\"" >>/var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/bin/tkabber-remote
chmod 755 /var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/bin/tkabber
chmod 755 /var/tmp/portage/net-im/tkabber-svn-0-r1/image//usr/bin/tkabber-remote
 * ERROR: net-im/tkabber-svn-0-r1 failed (install phase):
 *   Can't install the icon.
 *
 * Call stack:
 *     ebuild.sh, line  91:  Called src_install
 *   environment, line 2451:  Called die
 * The specific snippet of code:
 *       doicon "${FILESDIR}/${MY_PN}.png" || die "Can't install the icon.";
 *
 * If you need support, post the output of 'emerge --info =net-im/tkabber-svn-0-r1',
 * the complete build log and the output of 'emerge -pqv =net-im/tkabber-svn-0-r1'.
 * This ebuild is from an overlay named 'antoni': '/usr/local/portage/antoni/'
 * The complete build log is located at '/var/tmp/portage/net-im/tkabber-svn-0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-im/tkabber-svn-0-r1/temp/environment'.
 * S: '/var/tmp/portage/net-im/tkabber-svn-0-r1/work/tkabber-svn-0'

>>> Failed to emerge net-im/tkabber-svn-0-r1, Log file:

>>>  '/var/tmp/portage/net-im/tkabber-svn-0-r1/temp/build.log'
 *
 * The following package has failed to build or install:
 *
 *  (net-im/tkabber-svn-0-r1::antoni, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/net-im/tkabber-svn-0-r1/temp/build.log'
 *

I commented out the icon/desktop file stuff for now, not using it anyway. Otherwise seems to work fine!
Comment 23 gtlinuxman 2011-11-11 08:59:42 UTC
"${FILESDIR}/${MY_PN}.png"
Antek, Do you have the icon file by this path?
There may be a package naming issue. I am not sure that the package name is still correct. But, if you rename ebuild to tkabber-svn-0.ebuild, the problem will be solved for once.
Comment 24 gtlinuxman 2011-11-11 09:16:29 UTC
Hm... wtf...
The package has installed successfully with "net-im/tkabber-svn-0-r1" name on my system.

Could you attach output of 'emerge --info "=net-im/tkabber-svn-0*"', please?
Comment 25 Antek Grzymała (antoszka) 2011-12-31 17:34:54 UTC
(In reply to comment #23)
> "${FILESDIR}/${MY_PN}.png"
> Antek, Do you have the icon file by this path?
> There may be a package naming issue. I am not sure that the package name is
> still correct. But, if you rename ebuild to tkabber-svn-0.ebuild, the problem
> will be solved for once.

Sorry, my bad, I just forgot to put the icon file. But that's not important since I'm not using any system icons anyway.
Comment 26 Antek Grzymała (antoszka) 2011-12-31 17:37:22 UTC
(In reply to comment #24)
> Hm... wtf...
> The package has installed successfully with "net-im/tkabber-svn-0-r1" name on
> my system.
> 
> Could you attach output of 'emerge --info "=net-im/tkabber-svn-0*"', please?

I've been running the ebuild as -r1 myself from the start just to keep the old ebuild around in my overlay, so haven't some across any other problems. I'm attaching the emerge-info just in case, though :).
Comment 27 Antek Grzymała (antoszka) 2011-12-31 17:38:12 UTC
Created attachment 297475 [details]
emerge --info =tkabber-svn-0* log file.