a major first for me

cairo-clock is now officially included in the repositories for Ubuntu 6.10 (Edgy Eft) and upcoming Ubuntu 7.04 (Feisty Fawn). This is quite something for me, sending chills down my spine!

There is more to come on several fronts. You just wait, see and be delighted *g*

So far I only know of Ubuntu now offering cairo-clock in its repositories. I have not yet heard about other distributions including it in their repositories. There are more than enough packaging contributions from the community for the different flavours *hint.hint*.

11 Responses to “a major first for me”

  1. Michael Scherer Says:

    Cairo clock is in Mandriva since 17 May : http://sophie.zarb.org/viewrpm/8241d1ba2a62e401ba87581a7229a472

    And therefore, it is shipped in Mandriva 2006.0, in the contribs medias.

    ( but I guess no one took the time to write a newsletter about it )

  2. Pascal Says:

    0.3.2 had been added to Mandriva on May 17 and is in Mandriva 2007.0 which was released in September :-)
    ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/2007.0/i586/media/contrib/release/cairo-clock-0.3.2-4mdv2007.0.i586.rpm

  3. Dan Ballard Says:

    Gentoo does, and has for a bit now.
    http://packages.gentoo.org/search/?sstring=cairo-clock

  4. Alex Smith Says:

    http://frugalware.org/packages/10595

    Frugalware Linux has had it for quite a few months now.

  5. MacSlow Says:

    Oh, I had no idea. This is really nice to know! Thanks for the heads up, folks!

  6. ajax Says:

    I don’t think you’re likely to ever get submissions for RHL; cairo didn’t even exist in Fedora 4, let alone RHL9.

  7. devsk Says:

    when are we going to see the "day" in the "date" inside the cairo-clock?

  8. devsk Says:

    like this http://home.comcast.net/~funtoos/cairo-clock-day.png

  9. devsk Says:

    I just wrote the patch, please include it in next patch:

    $ diff -u cairo-clock.c~ cairo-clock.c
    — cairo-clock.c~ 2006-04-01 10:37:38.000000000 -0800
    +++ cairo-clock.c 2006-12-20 15:17:27.977303074 -0800
    @@ -122,6 +122,7 @@
    int g_iDay;
    int g_iMonth;
    char g_acDate[6];
    +char g_acDay[4];
    static time_t g_timeOfDay;
    struct tm* g_pTime;
    int g_i24 = 0; /* make/don’t make hour-hand use 24h-display */
    @@ -362,6 +363,32 @@
    g_iDay = g_pTime->tm_mday;
    g_iMonth = g_pTime->tm_mon + 1;
    sprintf (g_acDate, "%02d/%02d", g_iDay, g_iMonth);
    + switch(g_pTime->tm_wday)
    + {
    + case 0:
    + sprintf (g_acDay, "%03s", "SUN");
    + break;
    + case 1:
    + sprintf (g_acDay, "%03s", "MON");
    + break;
    + case 2:
    + sprintf (g_acDay, "%03s", "TUE");
    + break;
    + case 3:
    + sprintf (g_acDay, "%03s", "WED");
    + break;
    + case 4:
    + sprintf (g_acDay, "%03s", "THU");
    + break;
    + case 5:
    + sprintf (g_acDay, "%03s", "FRI");
    + break;
    + case 6:
    + sprintf (g_acDay, "%03s", "SAT");
    + break;
    + default:
    + break;
    + }

    cairo_set_operator (g_pMainContext, CAIRO_OPERATOR_SOURCE);

    @@ -384,10 +411,12 @@
    cairo_set_line_width (g_pMainContext, 5.0f);
    cairo_text_extents (g_pMainContext, g_acDate, &textExtents);
    cairo_rotate (g_pMainContext, (M_PI/180.0f) * 90.0f);
    - cairo_move_to (g_pMainContext,
    - -textExtents.width / 2.0f,
    + cairo_move_to (g_pMainContext, -textExtents.width / 2.0f,
    2.0f * textExtents.height);
    cairo_show_text (g_pMainContext, g_acDate);
    + cairo_move_to (g_pMainContext, -textExtents.width / 2.0f+2.0f,
    + 2.0f * textExtents.height-25.0f);
    + cairo_show_text (g_pMainContext, g_acDay);
    cairo_restore (g_pMainContext);
    }

  10. cyberorg Says:

    After packaging the last version, I have been waiting for the smooooth version to include in openSUSE build-service repository.

    Cheers

    -J

  11. macewan Says:

    works beautifully on Edgy

Leave a Reply