summaryrefslogtreecommitdiff
path: root/community/cairo-clock
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/cairo-clock
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/cairo-clock')
-rw-r--r--community/cairo-clock/PKGBUILD31
-rw-r--r--community/cairo-clock/cairo-clock.patch18
2 files changed, 49 insertions, 0 deletions
diff --git a/community/cairo-clock/PKGBUILD b/community/cairo-clock/PKGBUILD
new file mode 100644
index 000000000..110270fc2
--- /dev/null
+++ b/community/cairo-clock/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 32901 2010-11-18 18:13:30Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Kane Wilson <kane_wilson@hotmail.com>
+
+pkgname=cairo-clock
+pkgver=0.3.4
+pkgrel=1
+pkgdesc="It's an analog clock displaying the system-time."
+arch=('i686' 'x86_64')
+url='http://macslow.thepimp.net/?page_id=23'
+license=('GPL')
+depends=('cairo' 'libglade>=2.6.0' 'librsvg>=2.14.0')
+makedepends=('intltool')
+source=("http://macslow.thepimp.net/projects/cairo-clock/${pkgname}-${pkgver}.tar.gz"
+ cairo-clock.patch)
+md5sums=('78e5b3aa3492aa6c182eaacae63a7c03'
+ 'a2ec378bf79dfb9a1b1418d7b2d341ff')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np0 -i ../cairo-clock.patch
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make prefix="${pkgdir}/usr" install
+}
diff --git a/community/cairo-clock/cairo-clock.patch b/community/cairo-clock/cairo-clock.patch
new file mode 100644
index 000000000..0f6a9775d
--- /dev/null
+++ b/community/cairo-clock/cairo-clock.patch
@@ -0,0 +1,18 @@
+--- src/cairo-clock.c.orig 2008-02-27 11:02:57.000000000 +0000
++++ src/cairo-clock.c 2008-06-10 07:51:17.000000000 +0100
+@@ -1487,15 +1487,6 @@
+ g_pErrorDialog = glade_xml_get_widget (pGladeXml,
+ "errorDialog");
+
+- if (!gdk_screen_is_composited (gtk_widget_get_screen (g_pMainWindow)))
+- {
+- gtk_window_set_icon_from_file (GTK_WINDOW (g_pErrorDialog),
+- get_icon_filename (),
+- NULL);
+- gtk_dialog_run (GTK_DIALOG (g_pErrorDialog));
+- exit (2);
+- }
+-
+ g_pPopUpMenu = glade_xml_get_widget (pGladeXml,
+ "popUpMenu");
+ pSettingsMenuItem = glade_xml_get_widget (pGladeXml,