net-im/tkabber-svn ebuild with finegrained plugin support
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
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. ;)
Created attachment 162237 [details] icon
Created attachment 162256 [details] ebuild with finegrained plugin support Fixed TKABBER_PLUGINS recreation in plugins_verify function. Cosmetic fix in src_install.
Created attachment 162382 [details] ebuild with finegrained plugin support Added block net-im/tkabber, Because this is not the same package.
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]
s/user/used/; s/definite/definitive/
I don't see this going into the tree anytime soon... tkabber 0.11.0 is there.
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.
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
Created attachment 201874 [details] metadata.xml
Created attachment 205555 [details] tkabber-svn-0.ebuild Corrected make_desktop_entry function arguments
Created attachment 208881 [details] upstream Makefile used upstream Makefile used
Created attachment 227181 [details] ebuild with finegrained plugin support Add EAPI=3, src_prepare with epatch_user
Haven't found out what's happening yet, but recent checkouts of tkabber don't see the enabled plugins with this ebuild.
(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.
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.
(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.
Created attachment 289637 [details] environment from /var/db/pkg/…
Created attachment 289639 [details] Displayed build log
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.
(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!
"${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.
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?
(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.
(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 :).
Created attachment 297475 [details] emerge --info =tkabber-svn-0* log file.