FS#38200 - [ruby-gtk2] Gemify the ruby packages

Attached to Project: Community Packages
Opened by Anatol Pomozov (anatolik) - Friday, 20 December 2013, 05:08 GMT
Last edited by Balló György (City-busz) - Wednesday, 15 April 2015, 18:13 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I was trying to build the AUR package https://aur.archlinux.org/packages/ruby-gobject-introspection/ and it fails to compile. It tries to find 'gnome2' gemspec file. https://gist.github.com/anatol/563aaa69bd6802cbf415

Other ruby packages might also expect that 'gnome2' is a rubygem.

I believe the best way is to install these bindings is by running "gem install" in package(). Or using some other way to generate/install gemspec. The idea is that gnome2 (and other bindings) gemspec should be present in system.
This task depends upon

Closed by  Balló György (City-busz)
Wednesday, 15 April 2015, 18:13 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in commit 130581
Comment by Alexander F. Rødseth (xyproto) - Sunday, 29 December 2013, 23:01 GMT
Hi. Thanks for reporting. I will consider packaging ruby-gtk2 with gem install instead.
Comment by Anatol Pomozov (anatolik) - Sunday, 29 December 2013, 23:06 GMT
Try gem2arch tool, it creates PKGBUILD from gems. You only need to add required native dependencies.

https://aur.archlinux.org/packages/gem2arch/
Comment by Anatol Pomozov (anatolik) - Wednesday, 22 October 2014, 22:38 GMT
According to the project author, installing ruby-gnome2 bindings via make is not supported anymore [1]. install-via-gem should be used instead. I reopen the ticket to track this activity.



[1] https://github.com/ruby-gnome2/ruby-gnome2/commit/1b23a7824fa4a1a143c90c3b5a3dfb02fea4a0b7#commitcomment-8233690
Comment by Balló György (City-busz) - Saturday, 27 December 2014, 20:04 GMT
I attached the gem based packages.
Comment by Balló György (City-busz) - Wednesday, 15 April 2015, 15:49 GMT
The following packages are missing for GTK+3 support:
- ruby-cairo-gobject
- ruby-gdk3
- ruby-gio2
- ruby-gobject-introspection
- ruby-gtk3

Would you like to maintain them?
Comment by Anatol Pomozov (anatolik) - Wednesday, 15 April 2015, 16:39 GMT
There are no such packages in Arch repos. Anyone can add them to AUR if needed.
Comment by Balló György (City-busz) - Wednesday, 15 April 2015, 16:53 GMT Comment by Anatol Pomozov (anatolik) - Wednesday, 15 April 2015, 18:10 GMT
Package ruby-gtk3 is not required by any of the [community] package, thus it got dropped. Now it presents in AUR https://aur.archlinux.org/packages/ruby-gtk3/

I have no plans to bring it to [community].
Comment by Balló György (City-busz) - Wednesday, 15 April 2015, 18:13 GMT
ok

Loading...