Cgtkcalc is a scientific calculator for complex numbers for gtk+ http://cgtkcalc.sourceforge.net/ (check the file, it's my first ebuild) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 67076 [details] cgtkcalc-2.1.7
Please fix the following and reopen: * The gtk DEPEND is incorrect. * You can kill src_unpack and src_compile. * Do you really have to use einstall? make DESTDIR="${D}" install || die "install failed" is the preferred way of doing things. * Are there any README or ChangeLog files that need installing via dodoc? * KEYWORDS don't follow policy.
I've correct some parts of the ebuild (see the attached file). But there are two problems: 1-Why gtk DEPEND is incorrect? See the second line of http://cgtkcalc.sourceforge.net/INSTALL 2-If I change einstall with make DESTDIR="${D}" install the package won't merge , there's an ACCESS DENIED message. (In reply to comment #2) > Please fix the following and reopen: > > * The gtk DEPEND is incorrect. > * You can kill src_unpack and src_compile. > * Do you really have to use einstall? make DESTDIR="${D}" install || die > "install failed" is the preferred way of doing things. > * Are there any README or ChangeLog files that need installing via dodoc? > * KEYWORDS don't follow policy.
Created attachment 67104 [details] cgtkcalc-2.1.7
Using einstall is fine if necessary, but if it is include a comment like: # make DESTDIR="${D}" install gives a sandbox violation This will tell us that you aren't simply using einstall because you thought that it was the default way of installing things. The gtk+ dep is incorrect because it will match either gtk+-1.2 or gtk+-2. If the package will only work with gtk+-1.2, you want =gtk+-1.2* as your dependency. If it will work with either 1.2 or 2.x, you need a USE flag and a ./configure parameter to select which one is desired. Please reopen with an updated ebuild. Cheers.
Ok...thank for the help. I hope now the ebuild is correct. (In reply to comment #5) > Using einstall is fine if necessary, but if it is include a comment like: > > # make DESTDIR="${D}" install gives a sandbox violation > > This will tell us that you aren't simply using einstall because you thought that > it was the default way of installing things. > > The gtk+ dep is incorrect because it will match either gtk+-1.2 or gtk+-2. If > the package will only work with gtk+-1.2, you want =gtk+-1.2* as your > dependency. If it will work with either 1.2 or 2.x, you need a USE flag and a > ./configure parameter to select which one is desired. > > Please reopen with an updated ebuild. Cheers.
Created attachment 67106 [details] cgtkcalc-2.1.7
As of a few days ago, the gtk2 USE flag has been deprecated in favour of just using whichever gtk version works best. Please update this to just use gtk2 regardless. You can set IUSE="" then.
(In reply to comment #8) > As of a few days ago, the gtk2 USE flag has been deprecated in favour of just > using whichever gtk version works best. Please update this to just use gtk2 > regardless. You can set IUSE="" then. It should be ok.
Created attachment 69729 [details] cgtkcalc-2.1.7
Created attachment 69730 [details] cgtkcalc-2.1.7
You still need to pass the --with-gtk2, no?
(In reply to comment #12) > You still need to pass the --with-gtk2, no? I think it's not necessary because the configure uses gtk2 by default (if you specify --without-gtk2 it uses gtk1). Of course i've tried the ebuild and it works correclty.
(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