FiSH http://fish.sekure.us/ is a blowfish encryption module for several irc clients, including IRSSI. suggested: net-irc/irssi-mod-fish depends: >=dev-libs/glib-2.2.1 dev-libs/miracl (previously submitted) >=net-irc/irssi-0.8.9 IRSSI_PV is hard-coded as I don't know how to extract the version from an installed package Tested on: ~amd64, should work on ~x86 Reproducible: Always
Created attachment 131370 [details] irssi-mod-fish-0.99.ebuild
Created attachment 131371 [details, diff] irssi-mod-fish-0.99-fPIC.patch
Created attachment 131373 [details, diff] irssi-mod-fish-0.99-include.patch
Created attachment 131441 [details] irssi-mod-fish-0.99.ebuild update: possible to use gmp instead of miracl with the gmp use flag enabled no unnecessary download of irssi sources anymore, hard-coded version solved uses toolchain-funcs
Created attachment 131443 [details, diff] irssi-mod-fish-gmp.patch
Created attachment 131444 [details, diff] irssi-mod-fish-gmp-type.patch
Created attachment 133830 [details] compile log Fails to compile rather spectacularly for me on amd64 with gcc 4.2.2. Attached since I don't know what's potentially relevant and it's rather large.
(In reply to comment #7) > Created an attachment (id=133830) [edit] > compile log > > Fails to compile rather spectacularly for me on amd64 with gcc 4.2.2. > Attached since I don't know what's potentially relevant and it's rather large. > >/usr/include/irssi/src/common.h:49:18: error: glib.h: No such file or directory It seems it cannot find the /usr/lib/glib-2.0/include/glib.h file. Is it located somewhere inside /usr/lib64/glib2.0/ ?
(In reply to comment #8) > It seems it cannot find the /usr/lib/glib-2.0/include/glib.h file. Is it > located somewhere inside /usr/lib64/glib2.0/ ? > No, it's at /usr/include/glib-2.0/glib.h for me.
(In reply to comment #9) > > No, it's at /usr/include/glib-2.0/glib.h for me. > And adding that -I/usr/include/glib-2.0 to that big sed in the ebuild, indeed gets it compiling for me. :)
(In reply to comment #10) > (In reply to comment #9) > > > > No, it's at /usr/include/glib-2.0/glib.h for me. > > > > And adding that -I/usr/include/glib-2.0 to that big sed in the ebuild, indeed > gets it compiling for me. :) > Good. I updated the ebuild so it now looks in both directories (on my system it wouldn't compile if I simply changed it to look in /usr/include/glib-2.0 as it couldn't find glibconfig.h then. Just out of curiosity: Did you build it with miracl or gmp? If you built it with miracl it meens that my ebuild for miracl seems to work and if you built it with gmp it means that the gmp-patch should work.
Created attachment 133846 [details] irssi-mod-fish-0.99.ebuild Updated ebuild so it patches the Makefile to include /usr/include/glib-2.0 as well.
(In reply to comment #11) > Just out of curiosity: Did you build it with miracl or gmp? If you built it > with miracl it meens that my ebuild for miracl seems to work and if you built > it with gmp it means that the gmp-patch should work. > I built it with gmp, because I remembered the fun I had trying to get that pos to build manually. Must be the worst build system ever, if you can call it that. If you want, I can test with miracl tomorrow.
Created attachment 141177 [details] irssi-mod-fish-0.99-fPIC.patch-13471.out Patching fails. New domain for fish is http://fish.secure.la
(In reply to comment #14) > Created an attachment (id=141177) [edit] > irssi-mod-fish-0.99-fPIC.patch-13471.out > > Patching fails. > New domain for fish is http://fish.secure.la > Judging from the output you attached you're using an ebuild from another overlay, which is probably why it doesn't work. Set up your own overlay and use the ebuild and the patches provided here.
Created attachment 141187 [details] irssi-mod-fish-0.99.ebuild Updated URLs.
> Judging from the output you attached you're using an ebuild from another > overlay, which is probably why it doesn't work. Set up your own overlay and use > the ebuild and the patches provided here. Hi there, its not another ebuild, I just wrecked yours into another overlay, I know very dirty, but should work. Manual patching didn't work either.
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq