Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590360 - dev-cpp/grpc ebuild request
Summary: dev-cpp/grpc ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL: http://www.grpc.io/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-03 06:11 UTC by Amit Prakash Ambasta
Modified: 2018-06-12 06:53 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
grpc-live ebuild (grpc-9999.ebuild,500 bytes, text/plain)
2016-08-03 06:11 UTC, Amit Prakash Ambasta
Details
Patch to grpc makefile (fix-makefile.patch,13.39 KB, patch)
2016-08-03 06:12 UTC, Amit Prakash Ambasta
Details | Diff
Updated Ebuild (grpc-9999.ebuild,621 bytes, text/plain)
2016-08-04 11:35 UTC, Amit Prakash Ambasta
Details
metadata information for repoman (metadata.xml,348 bytes, text/xml)
2016-08-04 11:35 UTC, Amit Prakash Ambasta
Details
Updated ebuild to use CMake instead (grpc-9999.ebuild,1.02 KB, text/plain)
2016-08-11 09:51 UTC, Amit Prakash Ambasta
Details
Patches to CMakeLists.txt (cmake-protobuf.patch,8.38 KB, patch)
2016-08-11 09:52 UTC, Amit Prakash Ambasta
Details | Diff
grpc-1.3.4.ebuild (grpc-1.3.4.ebuild,3.41 KB, text/plain)
2017-06-08 20:20 UTC, pva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Prakash Ambasta 2016-08-03 06:11:02 UTC
gRpc is a high performance, open source, general RPC framework by Google that puts mobile and HTTP/2 first.
Comment 1 Amit Prakash Ambasta 2016-08-03 06:11:40 UTC
Created attachment 442352 [details]
grpc-live ebuild
Comment 2 Amit Prakash Ambasta 2016-08-03 06:12:24 UTC
Created attachment 442354 [details, diff]
Patch to grpc makefile
Comment 3 Jonas Stein gentoo-dev 2016-08-04 11:12:25 UTC
Amit, thank you for the initial .ebuild.
The ebuild has some errors. Check it with repoman -d full

Do you have a public repository? If not, we can upload and repair your .ebuild in my overlay on https://github.com/jonasstein/jstein-overlay

You can add the header as described here:
https://devmanual.gentoo.org/ebuild-writing/file-format/

You may contact me via mail, or IRC, if you need help.

Later we need someone who is willing to maintain the new ebuild.
Comment 4 Amit Prakash Ambasta 2016-08-04 11:35:02 UTC
Created attachment 442496 [details]
Updated Ebuild

Fixed ebuild against repoman issues
Comment 5 Amit Prakash Ambasta 2016-08-04 11:35:41 UTC
Created attachment 442498 [details]
metadata information for repoman

Probably incorrect metadata.xml
Comment 6 Amit Prakash Ambasta 2016-08-04 11:38:39 UTC
Hi Jonas,

I do have a public repository at https://github.com/ambasta/ambasta, but it mostly contains ebuilds from other overlays, sometimes with my personal minor modifications. Not sure if that's a good place to host this ebuild. Feel free to add it to your overlay as you see fit.

Have updated the ebuild as per repoman QA issues. I'm actively using this project, so I can try to update this in near future.
Comment 7 Amit Prakash Ambasta 2016-08-04 13:39:42 UTC
Updated ebuild + metadata etc @ https://github.com/ambasta/ambasta/tree/master/dev-cpp/grpc
Comment 8 Amit Prakash Ambasta 2016-08-11 09:51:58 UTC
Created attachment 443042 [details]
Updated ebuild to use CMake instead
Comment 9 Amit Prakash Ambasta 2016-08-11 09:52:37 UTC
Created attachment 443044 [details, diff]
Patches to CMakeLists.txt
Comment 10 Amit Prakash Ambasta 2016-08-11 09:54:55 UTC
Hi Jonas,

I've changed the ebuild to use project's CMakeLists instead of Makefile. Hopefully, this is more consistent with an ideal packaging structure.

I've also added the ability to generate pkg-config pc files. Please let me know if this is in a state that can be merged w/ portage.

All my changes are also recorded at https://github.com/ambasta/ambasta/tree/master/dev-cpp/grpc
Comment 11 pva 2017-06-08 20:20:21 UTC
Created attachment 475678 [details]
grpc-1.3.4.ebuild

Amit, looks like you removed this ebuild from your overlay. In any case I needed this package with python support, so probably somebody will find my ebuild usefull. It also installs grpcio_tools python module that is required to generate python code for RPC.

Also I think it's worth to move to cmake build system, but better I ask upstream first.
Comment 12 Larry the Git Cow gentoo-dev 2018-06-12 06:53:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a5cce25d69125ae024db31aa2b8f37689876164

commit 5a5cce25d69125ae024db31aa2b8f37689876164
Author:     Georgy Yakovlev <ya@sysdump.net>
AuthorDate: 2018-06-11 08:33:19 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2018-06-12 06:33:41 +0000

    net-libs/grpc: bump to 1.12.1, add python and more
    
    Add python useflag and module installation.
    Add tools useflag and grpc_tools installation.
    Add google-perftools dep.
    Add systemtap useflag to fix automagic dep.
    Add doc useflag
    Add examples useflag
    Add myself to metadata, as discussed with perfinion
    
    Closes: https://bugs.gentoo.org/590360
    
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-libs/grpc/Manifest                             |   2 +
 .../0006-grpc-1.12.1-allow-system-openssl.patch    |  65 +++++++++
 .../files/0007-grpc-1.12.1-allow-system-zlib.patch |  52 +++++++
 .../0008-grpc-1.12.1-allow-system-cares.patch      |  52 +++++++
 net-libs/grpc/grpc-1.12.1.ebuild                   | 159 +++++++++++++++++++++
 net-libs/grpc/metadata.xml                         |  11 ++
 6 files changed, 341 insertions(+)