Bug 18801 - akarixb, AkariXB, a Jabber/XMPP bot with a GUI
Summary: akarixb, AkariXB, a Jabber/XMPP bot with a GUI
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL: https://jancoding.wordpress.com/categ...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-27 22:03 CEST by JanKusanagi
Modified: 2016-07-03 09:38 CEST (History)
3 users (show)

See Also:
Source RPM: akarixb
CVE:
Status comment:


Attachments
akarixb_install_files_patch (770 bytes, patch)
2016-06-27 23:41 CEST, David GEIGER
Details | Diff
generate_qm_files_patch (519 bytes, patch)
2016-06-29 16:03 CEST, David GEIGER
Details | Diff

Description JanKusanagi 2016-06-27 22:03:51 CEST
Description of problem:

** Disclaimer: This is my own program, I don't know what shame is =)


Please consider packaging AkariXB. It's a simple (well, for now) bot for the Jabber/XMPP IM network, built around a GUI to control it.

Some of its features include setting up different MUC rooms that can be marked for autojoin, and the ability to create several types of custom commands: static replies, random replies, keyword-based replies, output of a command, and alias for another command.

Unlike many other bots, this is not a script to be run on a command line, configured with text files. It's all configured from the GUI, so it's quite easy to use. Also, in a limited way, it can function as a basic XMPP client, because it allows reading the MUCs' logs and sending messages on the fly.



Release tarballs: https://www.linux-apps.com/p/1131940/
Direct link to v0.4 tarball: https://dl.opendesktop.org/api/files/download?id=1467047651
Git repo: https://gitlab.com/akarixb/akarixb-dev

It can be built with Qt 5.x (and it's preferred).
It depends on QXMPP, which is now in repos thanks to David GEIGER, see https://bugs.mageia.org/show_bug.cgi?id=18714


Cheers!


Version-Release number of selected component (if applicable):

akarixb-0.4
JanKusanagi 2016-06-27 22:05:15 CEST

Priority: Normal => Low

Comment 1 Marja Van Waes 2016-06-27 22:08:33 CEST
Assigning to the default assignee for package requests

Priority: Low => Normal
CC: (none) => marja11
Assignee: bugsquad => pkg-bugs
Summary: AkariXB, a Jabber/XMPP bot with a GUI => akarixb, AkariXB, a Jabber/XMPP bot with a GUI

Comment 2 David GEIGER 2016-06-27 22:21:45 CEST
I will see for this one :)

CC: (none) => geiger.david68210
Assignee: pkg-bugs => geiger.david68210

Comment 3 David GEIGER 2016-06-27 22:53:10 CEST
@JanKusanagi

Would it be possible to provide a tarball with an URL? (not a direct link), like some project eg: qxmpp:

https://github.com/qxmpp-project/qxmpp/archive/v0.9.3/qxmpp-0.9.3.tar.gz

perhaps something like that:

https://gitlab.com/akarixb/akarixb-dev/archive/v0.4/akarixb-0.4.tar.gz (not akarixb-v0.4.tar.gz)

This is for easily/automatically download the tarball with:

"wget https://gitlab.com/akarixb/akarixb-dev/archive/v0.4/akarixb-0.4.tar.gz"
Comment 4 JanKusanagi 2016-06-27 23:19:57 CEST
Thanks for looking at it!

Is there a problem with the opendesktop.org link? AFAICT it works fine with wget, it's just that it can't determine a proper filename. Is that the issue?

Either way, how about this one? =) http://download.savannah.gnu.org/releases/dianara/akarixb-v0.4.tar.gz
Comment 5 JanKusanagi 2016-06-27 23:22:18 CEST
Sorry, above gnu.org link might need a while to get into the mirrors :p
Comment 6 David GEIGER 2016-06-27 23:30:48 CEST
Yes in spec file we would an URL + filename of tarball:

correct filename is "NAME-VERSION.tar.gz" (or tar.xz, or tar.bz2)

In spec file should be:

URL: https://jancoding.wordpress.com/akarixb/
Source0: http://download.savannah.gnu.org/releases/dianara/akarixb-0.4.tar.gz


For now this one doesn't work, there is nothing to download: http://download.savannah.gnu.org/releases/dianara/akarixb-v0.4.tar.gz

and I get:
The requested URL /nongnu//dianara/akarixb-v0.4.tar.gz was not found on this server.
Comment 7 JanKusanagi 2016-06-27 23:33:45 CEST
Yes, the GNU Savannah links take some time to be available in the mirrors.

Anyway, I should get another subdomain there for AkariXB; this one is uploaded in the file space for one of my other programs :p
Comment 8 David GEIGER 2016-06-27 23:41:23 CEST
Created attachment 8077 [details]
akarixb_install_files_patch

So I tried a build locally and tested, all works fine as it should! Great :)

I attached a patch to fix installation of all available and needed files, you can merge in your project development for next release if you want.
Comment 9 JanKusanagi 2016-06-27 23:54:59 CEST
ok, http://download.savannah.gnu.org/releases/dianara/akarixb-v0.4.tar.gz seems to be working now.

Still, I've aplied for another project at nongnu.org to have a proper place, like that one, where to store the released tarballs.

If this link is ok, the definitive one would be almost the same.


Re: the patch, if that can help packagers, and save you from keeping patches around, sure, I'll apply it right now =)

Thanks!
JanKusanagi 2016-06-28 00:57:02 CEST

CC: (none) => jan-bugs

Comment 10 David GEIGER 2016-06-28 10:15:29 CEST
So ok this link for tarball is now good and works!

Also I'm on the French translation and I see in your code that the translation files (*.ts) don't generate the "*.qm" files during compilation. Can you fix this please?

It is preferable to generate translation files during build from the available "*.ts" files in source and not provide directly all "*.qm" files in source.
Comment 11 David GEIGER 2016-06-29 13:47:21 CEST
package akarixb-0.4 is now imported and uploaded on Cauldron Core/Release repo.

http://svnweb.mageia.org/packages/cauldron/akarixb/

Note that it is built against Qt5 :)

Best regards daviddavid.
Comment 12 JanKusanagi 2016-06-29 15:58:26 CEST
> Also I'm on the French translation and I see in your code that the translation files (*.ts) don't generate the "*.qm" files during compilation. Can you fix this please?

I'm looking into it. I've found a way to do this with Qmake that seems simple enough. I just need to test it.


> package akarixb-0.4 is now imported and uploaded on Cauldron Core/Release repo.

Cool!
Thanks again!!


I'm still waiting for approval of a new project space specifically for AkariXB at nongnu.org, where I'll be storing the release tarballs. Then I can give you a more appropriate link. Maybe leave this bugreport open until then?
Comment 13 David GEIGER 2016-06-29 16:03:41 CEST
Created attachment 8088 [details]
generate_qm_files_patch

For generation of translation files you can using something like the attached patch :)
Comment 14 JanKusanagi 2016-06-30 17:16:22 CEST
> For generation of translation files you can using something like the attached patch :)

Yes, I was actually looking at that exact piece of code, from http://stackoverflow.com/questions/4366898/how-to-specify-auto-generated-resource-files-to-qmake

Along with some other recommendations from that post, and some tweaking to fit my needs, it seems to be working fine now, so future v0.5 will have that too =)
Comment 15 JanKusanagi 2016-07-03 01:05:48 CEST
Hi!

I have a proper space at nongnu.org for the tarballs now.

You can use http://download.savannah.gnu.org/releases/akarixb/akarixb-v0.4.tar.gz in your package spec file.

Future versions will be at the same address, same filename scheme, just changing the version number.

Thanks! o/
Comment 16 David GEIGER 2016-07-03 09:38:24 CEST
Ok, thanks for the link!

So closing of this bug as it is fixed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.