periodic-calendar-1.3 doesn't build on my ~x86 systems (see errors below). I'll attach an ebuild for the newest version 2.1 which does ebuild on my system. In file included from mainwindow.h:23, from mainwindow.cpp:17: prefdialog.h:30: error: `Gnome' has not been declared prefdialog.h:30: error: `Xml' was not declared in this scope prefdialog.h:30: error: template argument 1 is invalid prefdialog.h:30: error: ISO C++ forbids declaration of `refGlade' with no type prefdialog.h:38: error: `Gnome' has not been declared prefdialog.h:38: error: `Xml' was not declared in this scope prefdialog.h:38: error: template argument 1 is invalid prefdialog.h:38: error: ISO C++ forbids declaration of `m_refGlade' with no type In file included from mainwindow.cpp:17: mainwindow.h:37: error: `Gnome' has not been declared mainwindow.h:37: error: `Xml' was not declared in this scope mainwindow.h:37: error: template argument 1 is invalid mainwindow.h:37: error: ISO C++ forbids declaration of `m_refGlade' with no type mainwindow.h:43: error: `Gnome' has not been declared mainwindow.h:43: error: `Xml' was not declared in this scope mainwindow.h:43: error: template argument 1 is invalid mainwindow.h:43: error: ISO C++ forbids declaration of `refGlade' with no type mainwindow.cpp:29: error: `Gnome' has not been declared mainwindow.cpp:29: error: `Xml' was not declared in this scope mainwindow.cpp:29: error: template argument 1 is invalid mainwindow.cpp:30: error: ISO C++ forbids declaration of `refGlade' with no type mainwindow.cpp: In constructor `PCalMainWindow::PCalMainWindow(GtkWindow*, const int&)': mainwindow.cpp:56: error: base operand of `->' is not a pointer mainwindow.cpp:58: error: base operand of `->' is not a pointer mainwindow.cpp:59: error: base operand of `->' is not a pointer mainwindow.cpp:60: error: base operand of `->' is not a pointer mainwindow.cpp:61: error: base operand of `->' is not a pointer mainwindow.cpp:62: error: base operand of `->' is not a pointer mainwindow.cpp:63: error: base operand of `->' is not a pointer mainwindow.cpp:64: error: base operand of `->' is not a pointer mainwindow.cpp:65: error: base operand of `->' is not a pointer mainwindow.cpp:66: error: base operand of `->' is not a pointer mainwindow.cpp:67: error: base operand of `->' is not a pointer mainwindow.cpp:68: error: base operand of `->' is not a pointer mainwindow.cpp:69: error: base operand of `->' is not a pointer mainwindow.cpp:70: error: base operand of `->' is not a pointer mainwindow.cpp:71: error: base operand of `->' is not a pointer mainwindow.cpp:72: error: base operand of `->' is not a pointer mainwindow.cpp:75: error: base operand of `->' is not a pointer mainwindow.cpp:80: error: base operand of `->' is not a pointer mainwindow.cpp:85: error: base operand of `->' is not a pointer mainwindow.cpp:90: error: base operand of `->' is not a pointer mainwindow.cpp:95: error: base operand of `->' is not a pointer mainwindow.cpp:122: error: base operand of `->' is not a pointer mainwindow.cpp:127: error: base operand of `->' is not a pointer mainwindow.cpp:132: error: base operand of `->' is not a pointer mainwindow.cpp:137: error: base operand of `->' is not a pointer mainwindow.cpp:142: error: base operand of `->' is not a pointer pcalendar.cpp:19:24: libglademm.h: No such file or directory In file included from mainwindow.h:23, from pcalendar.cpp:20: prefdialog.h:30: error: `Gnome' has not been declared prefdialog.h:30: error: `Xml' was not declared in this scope prefdialog.h:30: error: template argument 1 is invalid prefdialog.h:30: error: ISO C++ forbids declaration of `refGlade' with no type prefdialog.h:38: error: `Gnome' has not been declared prefdialog.h:38: error: `Xml' was not declared in this scope prefdialog.h:38: error: template argument 1 is invalid prefdialog.h:38: error: ISO C++ forbids declaration of `m_refGlade' with no type mainwindow.cpp:147: error: base operand of `->' is not a pointer mainwindow.cpp:152: error: base operand of `->' is not a pointer mainwindow.cpp:157: error: base operand of `->' is not a pointer mainwindow.cpp:162: error: base operand of `->' is not a pointer mainwindow.cpp:167: error: base operand of `->' is not a pointer mainwindow.cpp:180: error: base operand of `->' is not a pointer mainwindow.cpp: In member function `void PCalMainWindow::refreshLegend()': mainwindow.cpp:206: error: base operand of `->' is not a pointer mainwindow.cpp:210: error: base operand of `->' is not a pointer mainwindow.cpp:217: error: base operand of `->' is not a pointer mainwindow.cpp:221: error: base operand of `->' is not a pointer mainwindow.cpp:228: error: base operand of `->' is not a pointer mainwindow.cpp:232: error: base operand of `->' is not a pointer mainwindow.cpp:239: error: base operand of `->' is not a pointer mainwindow.cpp:243: error: base operand of `->' is not a pointer mainwindow.cpp:250: error: base operand of `->' is not a pointer mainwindow.cpp:254: error: base operand of `->' is not a pointer mainwindow.cpp: In member function `virtual void PCalMainWindow::on_about_item()': mainwindow.cpp:264: error: `Gnome' has not been declared mainwindow.cpp:264: error: `Xml' undeclared (first use this function) mainwindow.cpp:264: error: (Each undeclared identifier is reported only once for each function it appears in.) mainwindow.cpp:264: error: template argument 1 is invalid mainwindow.cpp:264: error: invalid type in declaration before ';' token mainwindow.cpp:267: error: `Gnome' has not been declared mainwindow.cpp:267: error: `create' undeclared (first use this function) mainwindow.cpp:269: error: `Gnome' has not been declared mainwindow.cpp:269: error: ISO C++ forbids declaration of `XmlError' with no type mainwindow.cpp:269: error: expected `)' before '&' token mainwindow.cpp:269: error: expected `{' before '&' token mainwindow.cpp:269: error: `ex' undeclared (first use this function) mainwindow.cpp:269: error: expected `;' before ')' token mainwindow.cpp:274: error: base operand of `->' is not a pointer mainwindow.cpp:279: error: base operand of `->' is not a pointer mainwindow.cpp:286: error: base operand of `->' is not a pointer mainwindow.cpp:292: error: base operand of `->' is not a pointer In file included from pcalendar.cpp:20: mainwindow.h:37: error: `Gnome' has not been declared mainwindow.h:37: error: `Xml' was not declared in this scope mainwindow.h:37: error: template argument 1 is invalid mainwindow.h:37: error: ISO C++ forbids declaration of `m_refGlade' with no type mainwindow.h:43: error: `Gnome' has not been declared mainwindow.h:43: error: `Xml' was not declared in this scope mainwindow.h:43: error: template argument 1 is invalid mainwindow.h:43: error: ISO C++ forbids declaration of `refGlade' with no type pcalendar.cpp: In function `int main(int, char**)': pcalendar.cpp:49: error: `Gnome' has not been declared pcalendar.cpp:49: error: `Xml' undeclared (first use this function) pcalendar.cpp:49: error: (Each undeclared identifier is reported only once for each function it appears in.) pcalendar.cpp:49: error: template argument 1 is invalid pcalendar.cpp:49: error: invalid type in declaration before ';' token pcalendar.cpp:52: error: `Gnome' has not been declared pcalendar.cpp:53: error: `create' undeclared (first use this function) pcalendar.cpp:55: error: `Gnome' has not been declared pcalendar.cpp:55: error: ISO C++ forbids declaration of `XmlError' with no type pcalendar.cpp:55: error: expected `)' before '&' token pcalendar.cpp:55: error: expected `{' before '&' token pcalendar.cpp:55: error: `ex' undeclared (first use this function) pcalendar.cpp:55: error: expected `;' before ')' token pcalendar.cpp:62: error: base operand of `->' is not a pointer mainwindow.cpp: In member function `virtual void PCalMainWindow::on_pref_item()': mainwindow.cpp:312: error: `Gnome' has not been declared mainwindow.cpp:312: error: `Xml' undeclared (first use this function) mainwindow.cpp:312: error: template argument 1 is invalid mainwindow.cpp:312: error: invalid type in declaration before ';' token mainwindow.cpp:315: error: `Gnome' has not been declared mainwindow.cpp:316: error: `create' undeclared (first use this function) mainwindow.cpp:318: error: `Gnome' has not been declared mainwindow.cpp:318: error: ISO C++ forbids declaration of `XmlError' with no type mainwindow.cpp:318: error: expected `)' before '&' token mainwindow.cpp:318: error: expected `{' before '&' token mainwindow.cpp:318: error: `ex' undeclared (first use this function) mainwindow.cpp:318: error: expected `;' before ')' token mainwindow.cpp:323: error: base operand of `->' is not a pointer mainwindow.cpp: In member function `virtual void PCalMainWindow::on_calendar_click(GdkEventButton*)': mainwindow.cpp:557: error: `Gnome' has not been declared mainwindow.cpp:557: error: `Xml' undeclared (first use this function) mainwindow.cpp:557: error: template argument 1 is invalid mainwindow.cpp:557: error: invalid type in declaration before ';' token mainwindow.cpp:560: error: `Gnome' has not been declared mainwindow.cpp:560: error: `create' undeclared (first use this function) mainwindow.cpp:562: error: `Gnome' has not been declared mainwindow.cpp:562: error: ISO C++ forbids declaration of `XmlError' with no type mainwindow.cpp:562: error: expected `)' before '&' token mainwindow.cpp:562: error: expected `{' before '&' token mainwindow.cpp:562: error: `ex' undeclared (first use this function) mainwindow.cpp:562: error: expected `;' before ')' token mainwindow.cpp:568: error: base operand of `->' is not a pointer mainwindow.cpp:573: error: base operand of `->' is not a pointer mainwindow.cpp:580: error: base operand of `->' is not a pointer distcc[2975] ERROR: compile pcalendar.cpp on localhost failed make[2]: *** [pcalendar.o] Error 1 make[2]: *** Waiting for unfinished jobs.... distcc[2969] ERROR: compile mainwindow.cpp on localhost failed make[2]: *** [mainwindow.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/periodic-calendar-1.3/work/PeriodicCalendar-1.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/periodic-calendar-1.3/work/PeriodicCalendar-1.3' make: *** [all] Error 2 !!! ERROR: x11-misc/periodic-calendar-1.3 failed. !!! Function gnome2_src_compile, Line 48, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 74036 [details] periodic-calendar-2.1.ebuild
Created attachment 74037 [details, diff] 1.3_to_2.1.diff I updated the RDEPEND with info from: http://www.gnomefiles.org/app.php?soft_id=460 http://linuxorg.sourceforge.net/document.html I'm not sure what to do with DEPEND though so I just left it unchanged. Also, for what its worth, this program seems to crash with scim (I'll report that upstream).
Thank you for the reminder. I was working on this ebuild when the version was updated but it failed to compile on my machine. And I forgot. Doh. I'll have another go. ;)
The scim issue I mentioned in Comment #2 turned out to be my fault (bug #114471).
in cvs, thanks