After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697640 - Any Autotool files provided
Any Autotool files provided
Status: RESOLVED FIXED
Product: snappy
Classification: Other
Component: general
git
Other Linux
: Normal normal
: ---
Assigned To: Snappy maintainer(s)
Snappy maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-04-09 14:31 UTC by Antonio Trande
Modified: 2013-11-21 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
snappy autotools files (770.00 KB, application/x-gzip)
2013-04-27 19:07 UTC, Antonio Trande
Details

Description Antonio Trande 2013-04-09 14:31:17 UTC
Hi all.

snappy-0.3 source tarball doesn't provide any pre-generated Autotool files. 
Currently, I must generate these files manually and, since a manual process by using aclocal, autoheader, automake, autoconf commands becomes more complex in Fedora packaging's environment, I wish ask you if you can include all Autotool files already in the origin source tarball.

Greetings
Comment 1 Luis de Bethencourt 2013-04-09 15:51:14 UTC
Antonio,

If you run ./autogen.sh the configure file and the rest are generated. Is this troublesome for you?

Just confirming you know you can use that script to build.
./autogen.sh ;
./configure ;
make ;
make install

Thanks :)
Comment 2 Antonio Trande 2013-04-09 16:20:21 UTC
Hi Luis.

>If you run ./autogen.sh the configure file and the rest are generated. Is this
>troublesome for you?

This is shortest way to do what I wish avoid. :)

In future, I could be forced to regenerate Autotools files because, for example, of a release changing or to add additional patches for same reason. 
All that is already happening: https://bugzilla.redhat.com/buglist.cgi?quicksearch=autoconf

>Just confirming you know you can use that script to build.

I know. :)
Comment 3 Luis de Bethencourt 2013-04-09 16:30:52 UTC
Antonio,

Do you have any experience setting up autotools for projects? I'm happy to accept any patches you have to fix this.
Comment 4 Antonio Trande 2013-04-09 16:39:57 UTC
Honestly, no. 

Generally all Autotools pregenerated files are already included in a source tarball so it is an unusual procedure for me.
Comment 5 Luis de Bethencourt 2013-04-09 16:41:22 UTC
OK. I understand.

Autotools isn't the nicest thing to learn :P

I will get around to this sometime this week. Will let you know.

Thanks for packaging this for Fedora.
Comment 6 Antonio Trande 2013-04-09 16:44:59 UTC
>Thanks for packaging this for Fedora.

Thank you too to be so fully available.
Comment 7 Antonio Trande 2013-04-24 16:07:48 UTC
(In reply to comment #5)
> 
> Autotools isn't the nicest thing to learn :P
> 
> I will get around to this sometime this week. Will let you know.
> 
> Thanks for packaging this for Fedora.

Hi Luis.

Any news ?
Comment 8 Luis de Bethencourt 2013-04-24 16:22:42 UTC
Sorry Antonio.

Haven't found time to do this. Should do it before the end of the week.
Comment 9 Antonio Trande 2013-04-27 19:06:27 UTC
(In reply to comment #3)
> Antonio,
> 
> Do you have any experience setting up autotools for projects? I'm happy to
> accept any patches you have to fix this.

Today, I have created all Autotools files to compile snappy; I send you the archive. They seem to work fine in RPM packaging. 
I hope they can help you.
Comment 10 Antonio Trande 2013-04-27 19:07:36 UTC
Created attachment 242675 [details]
snappy autotools files
Comment 11 Mario Blättermann 2013-11-19 20:40:11 UTC
Nothing happened here since Antonio provided the Autotools files half a year ago. Nevertheless, there was some Git activity in that time, I count a few commits from Luis in october. When we may expect the Autotools stuff gets into the Git? The review ticket for the Fedora package [1] is stalled and we like to continue there.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=947640
Comment 12 Luis de Bethencourt 2013-11-19 22:15:23 UTC
Hello.

I just pushed Antonio's pregenerated autotool files to snappy's git.

https://git.gnome.org/browse/snappy/commit/?id=8ece98e0b8b7ea8e79b0d181fb8f79bd8895d3ed

Antonio,
Thanks very much and apologies for this being so delayed after is slid off my ToDo queue.

Mario,
Can you confirm this is OK and what you need?
Thanks!
Comment 13 Mario Blättermann 2013-11-20 18:53:56 UTC
OK, this is what we need. No we can go ahead with the package review. Thanks!
Comment 14 Luis de Bethencourt 2013-11-20 19:33:09 UTC
Great!

Let me know how the review goes.
Comment 15 Mario Blättermann 2013-11-20 19:51:33 UTC
(In reply to comment #14)
> Great!
> 
> Let me know how the review goes.

Recently I've detected a bundled library, which is not allowed in Fedora. The folder ./ltdl contains that what Fedora ships as libtool-ltdl-devel. Packagers are forced to use system libraries instead of bundled ones, if possible. Well, there are some exceptions (gnulib etc.) but in almost all cases either the package has to be patched to use the system library, or in case it doesn't exist in Fedora yet, a new package for that library has to be provided.

This doesn't affect the upstream development. It's your choice to bundle an external library if the license allows that. But now we need a patch for our package.
Comment 16 Luis de Bethencourt 2013-11-20 20:22:02 UTC
Mario,

I added that because it was included in the tarball Antonio uploaded here.
I've removed this library and updated the upstream repo.

https://git.gnome.org/browse/snappy/commit/?id=cb5587c4f9f2ce7137f3107b82bedda91adef531

Is this what you needed?
Comment 17 Mario Blättermann 2013-11-20 20:43:37 UTC
(In reply to comment #16)
> https://git.gnome.org/browse/snappy/commit/?id=cb5587c4f9f2ce7137f3107b82bedda91adef531
> 
> Is this what you needed?

Yes, indeed. But now we have to test it without the bundled libltdl, maybe something more is now needed in BuildRequires. Waiting for Antonio's update.
Comment 18 Luis de Bethencourt 2013-11-20 20:47:05 UTC
That's fine. Keep me up to date :)
Comment 19 Antonio Trande 2013-11-20 20:48:01 UTC
(In reply to comment #16)
> Mario,
> 
> I added that because it was included in the tarball Antonio uploaded here.
> I've removed this library and updated the upstream repo.

Right. It's been my mistake.
Comment 20 Luis de Bethencourt 2013-11-20 20:55:21 UTC
Antonio,

No blame :) Just explaining myself. Thanks for packaging this and help to make upstream better for packaging.
Comment 21 Mario Blättermann 2013-11-21 18:20:30 UTC
The Fedora package has been approved [1] and is now on the road to the package repos. Usually it should be available in the testing branches next days.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=947640#c14