| Summary: | akarixb, AkariXB, a Jabber/XMPP bot with a GUI | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | JanKusanagi <jan-bugs> |
| Component: | New RPM package request | Assignee: | David GEIGER <geiger.david68210> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | geiger.david68210, jan-bugs, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://jancoding.wordpress.com/category/akarixb/ | ||
| Whiteboard: | |||
| Source RPM: | akarixb | CVE: | |
| Status comment: | |||
| Attachments: |
akarixb_install_files_patch
generate_qm_files_patch |
||
|
Description
JanKusanagi
2016-06-27 22:03:51 CEST
JanKusanagi
2016-06-27 22:05:15 CEST
Priority:
Normal =>
Low Assigning to the default assignee for package requests Priority:
Low =>
Normal I will see for this one :) CC:
(none) =>
geiger.david68210 @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" 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 Sorry, above gnu.org link might need a while to get into the mirrors :p 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. 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 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.
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 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. 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. > 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? Created attachment 8088 [details]
generate_qm_files_patch
For generation of translation files you can using something like the attached patch :)
> 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 =) 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/ Ok, thanks for the link! So closing of this bug as it is fixed. Status:
NEW =>
RESOLVED |