Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356605 - New ebuild for sys-power/acpi_call
Summary: New ebuild for sys-power/acpi_call
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Maxim Koltsov (RETIRED)
URL: http://github.com/mkottman/acpi_call
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2011-02-26 18:12 UTC by Maxim Koltsov (RETIRED)
Modified: 2011-06-16 11:14 UTC (History)
2 users (show)

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


Attachments
Ebuild (acpi_call-9999.ebuild,563 bytes, text/plain)
2011-02-26 18:13 UTC, Maxim Koltsov (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Koltsov (RETIRED) gentoo-dev 2011-02-26 18:12:23 UTC
acpi_call is kernel module that allows user to call ACPI functions through /proc directory, e.g. it's useful for switching discrete video cards in notebooks on and off.

Reproducible: Always
Comment 1 Maxim Koltsov (RETIRED) gentoo-dev 2011-02-26 18:13:17 UTC
Created attachment 263961 [details]
Ebuild
Comment 2 Maxim Koltsov (RETIRED) gentoo-dev 2011-02-26 18:19:04 UTC
This is now at sunrise overlay, waiting for review.
Comment 3 iegor 2011-06-09 12:48:32 UTC
Hello Maxim,

My name is Iegor. I am currently dealing with introducing bumblebee
support on Gentoo and have found your ebuild via search in
bugs.gentoo.org.

Original bumblebee need acpi_call module as one of the dependencies and
I'd like to use your ebuild as one of dependencies that need to be
installed before bumblebee installation can be done.

Did you uploaded your ebuild somewhere in web, maybe github or anywhere
I can refer to it from layman ?

Cheers,
Iegor
Comment 4 Maxim Koltsov (RETIRED) gentoo-dev 2011-06-09 14:56:22 UTC
(In reply to comment #3)
Hello Iegor.
I'm a gentoo developer now and can add the ebuild directly to tree. Can you tell me what is bumblebee and how can i help you getting it to gentoo?
Comment 5 iegor 2011-06-09 15:23:25 UTC
(In reply to comment #4)
> (In reply to comment #3)
> Hello Iegor.
> I'm a gentoo developer now and can add the ebuild directly to tree. Can you
> tell me what is bumblebee and how can i help you getting it to gentoo?

Hi Maxim,

Thank you for proposition to put bumblebee to tree.

Bumblebee is a solution that allows to work with NVidia "Optimus" technology on many laptops.
here a little bit more about Optimus: http://www.nvidia.com/object/optimus_technology.html
Using VirtualGL make enabled NVidia gfx device work and render (well I am currently reading about VirtualGL).
here is the homepage of bumblebee: https://github.com/MrMEEE/bumblebee

and here is my github page: https://github.com/iegor/bumblebee-Gentoo-support

I am completely new to Gentoo ebuild development, bumblebee support is my first ebuild ever made. It is now in incomplete state. It still lack of several components and platform support only for amd64 for now. So I would rather not risk adding it to (If I understand correctly) main Gentoo tree.

I wanted to ask could I add your ebuild in my ebuild in RDEPEND section ?

And also I am curious if you will add acpi_call installation into main tree ?

I did found your installation in sunrise.
I could add information about what overlay need to be added before conducting complete successful installation.

Cheers,
Iegor
Comment 6 Maxim Koltsov (RETIRED) gentoo-dev 2011-06-09 16:51:12 UTC
(In reply to comment #5)
> I am completely new to Gentoo ebuild development, bumblebee support is my first
> ebuild ever made. It is now in incomplete state. It still lack of several
> components and platform support only for amd64 for now. So I would rather not
> risk adding it to (If I understand correctly) main Gentoo tree.

Ok, we can wait adding it to tree, but i think sunrise is the right place. Please join #gentoo-sunrise on FreeNode and ask review for your ebuild when ready. I can give you some advices about development, contact me by email (maksbotan@gentoo.org). The only problem is that i don't have any Nvidia Optimus devices here.

> I wanted to ask could I add your ebuild in my ebuild in RDEPEND section ?
Yes, you can.
> And also I am curious if you will add acpi_call installation into main tree ?
I will add it in a few days.
Comment 7 iegor 2011-06-09 17:12:00 UTC
(In reply to comment #6)
> I can give you some advices about development, ...
Thanks for that :)
> I will add it in a few days.
Oh, that is cool, then I will wait those days, I will spend them on finishing (hopefully) my ebuild.
Comment 8 Maxim Koltsov (RETIRED) gentoo-dev 2011-06-10 05:48:49 UTC
I commited acpi_call-9999 to tree. Please open new bug for bumblebee when needed.
Comment 9 iegor 2011-06-16 10:58:43 UTC
Hello Maxim,

I am currently working on bumblebee ebuild and want to ask you a question
about using git within ebuild.

How can you use (if you can) more than one git repository for your installation ?

For example I have more than two sources of files that are need to be on user machine while he/she conducting installation.

As I understand I must use EGIT_REPO_URI variable to specify where git repository
can be accessed, and then in src_unpack it will clone it as supposed to.

But what if I need to get files from more than one repo ? Do I need to modify 
src_unpack (I am currently didn't defined it) ? Or it is impossible at current moment ?

Thank you

Best regards,
Iegor
Comment 10 Maxim Koltsov (RETIRED) gentoo-dev 2011-06-16 11:14:38 UTC
(In reply to comment #9)
I suggest you to split up one ebuild into group of smaller ones, to avoid troubles like that.
Also, please stop commenting in close ebuild. Use e-mail (maksbotan@gentoo.org) org #gentoo-dev-help on freenode.