Package Details: cairo-clock 0.3.4-5

Git Clone URL: https://aur.archlinux.org/cairo-clock.git (read-only, click to copy)
Package Base: cairo-clock
Description: An analog clock displaying the system-time
Upstream URL: https://macslow.org
Keywords: clock widget
Licenses: GPL
Submitter: bidulock
Maintainer: Rooki
Last Packager: Rooki
Votes: 12
Popularity: 1.58
First Submitted: 2014-08-28 05:15 (UTC)
Last Updated: 2025-11-23 22:22 (UTC)

Latest Comments

Rooki commented on 2025-11-23 22:24 (UTC)

@JSpace i didnt saw your comment after i fixed it with a another approach. I use the ubuntu version and adjusted a LDFLAGS setting. Than everything worked fine for me, please let me know if this is still wrong or needs adjustment!

JSpaces commented on 2025-11-16 01:53 (UTC) (edited on 2025-11-20 21:41 (UTC) by JSpaces)

The source exist in git. The code needed some fixes to compile.


# Maintainer: Cairo-clock user

pkgname=cairo-clock
pkgver=2023.07.19.66.46460b1
pkgrel=1
pkgdesc='An analog clock displaying the system-time'
arch=('i686' 'x86_64')
url='https://github.com/MacSlow/cairo-clock'
license=('GPL')
depends=('libglade' 'librsvg')
makedepends=('intltool')
source=(git+https://github.com/MacSlow/cairo-clock.git)
sha256sums=('SKIP')

pkgver() {
    cd ${pkgname}
    printf "%s.%s.%s" "$(git log -1 --format="%cd" --date=short | sed 's/-/./g')" \
                    "$(git rev-list --count HEAD)" \
                    "$(git rev-parse --short HEAD)"
}

build() {
  cd ${pkgname}
    msg2 "Updating the width and height variables to the correct names."
    sed -i 's|cairo_xlib_surface_get_width|cairo_image_surface_get_width|' src/cairo-clock.c
    sed -i 's|cairo_xlib_surface_get_height|cairo_image_surface_get_height|' src/cairo-clock.c
    autoreconf -i -f
  ./configure --prefix=/usr
    msg2 "Fixing the linking error."
    sed -i 's|LDFLAGS = -Wl,-O1|LDFLAGS = -Wl,-lm -Wl,-O1|' src/Makefile
    make
}

package() {
  cd ${pkgname}
  make prefix=${pkgdir}/usr install
}

This PKGBUILD compiles a working clock.

ignace1972 commented on 2023-05-10 12:35 (UTC) (edited on 2023-05-10 12:35 (UTC) by ignace1972)

Hello everyone,
The source on Debian servers does not exist anymore.
It still exists on Ubuntu servers for Bionic:
https://launchpad.net/ubuntu/bionic/+package/cairo-clock

micwoj92 commented on 2021-05-06 13:27 (UTC)

Hello, could you update links to https?

bidulock commented on 2014-08-28 10:15 (UTC)

Sorry, I started with cairo-clock-ccw.

russo79 commented on 2014-08-28 07:32 (UTC)

You should change the description of this package. The clock isn't running counter-clockwise :)