This is a new ebuild that I wrote (thanks to ABCD and others in #gentoo-dev-help) for gsimplecal. The homepage states that it is a "very simple GUI calendar application, written in C using GTK2." It was originally made to work with the new features of tint2 and openbox, but can be used as a standalone application as well.
I tested it locally, and didn't seem to get any further sandbox errors after switching to dobin instead of emake.
Created attachment 220893 [details]
ebuild for gsimplecal-15
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 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. =)
On behalf of the Gentoo Sunrise Team,
I dunno why you stuck wxGTK in there. It doesn't need it *at all*. It just needs gtk+ and libunique, plus dev-util/pkgconfig as a build-time dep.
Created attachment 224637 [details]
Here's an ebuild that really works.
However, the problem is that the Makefile doesn't respect the user's CXXFLAGS, LDFLAGS, and it doesn't properly go about finding the system cpp compiler. i.e. inheriting toolchain-funcs and using $(tc-getCC) and all that jazz.
So the next step is writing a proper src_compile() function that does all that.
Created attachment 224643 [details]
. . . like this one. This ebuild is the one to use.
This does the magic stuff thanks to sed and the toolchain-funcs eclass.
Upstream really needs to fix their build system.
Comment on attachment 224643 [details]
Actually, there are some problems with the g++ stuff. Fixed ebuild will go up later.
Created attachment 224649 [details]
The one with the g++ fixes, so that it can be properly cross-compiled and/or properly distCCed. Thanks to leio on IRC for identifying the g++ invocation issues.
Created attachment 229265 [details]
Created attachment 229369 [details]
configuration actions moved out from src_compile() into src_configure()
src_install() installs man page as well
Created attachment 229415 [details]
A better ebuild. This one makes use of some default functions, and removes unnecessary code. For example, no need to redundantly specify "die" when it's already built-in to Portage.
Created attachment 244439 [details]
Gsimplecal has grown to version 0.5, hence new ebuild.
Created attachment 274551 [details]
Created attachment 357174 [details]
new ebuild version
Homepage has moved to https://github.com/dmedvinsky/gsimplecal. Also, latest version is 2.0, released on 2013-11-11.
The latest version is 2.1, released on 2014-12-09.
this has been maintainer-wanted for ages, with no one picking it up. upstream hasn't updated the package in a few years. should this bug be closed?