Import gnome-clocks-0.1.3.
Clock application for the GNOME Desktop. ok jasper@
This commit is contained in:
parent
022694920b
commit
eb3e7aad37
39
x11/gnome/clocks/Makefile
Normal file
39
x11/gnome/clocks/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/09/30 13:50:26 ajacoutot Exp $
|
||||
|
||||
PKG_ARCH= *
|
||||
|
||||
COMMENT= clock application for GNOME
|
||||
|
||||
GNOME_PROJECT= gnome-clocks
|
||||
GNOME_VERSION= 0.1.3
|
||||
MODPY_EGG_VERSION= ${GNOME_VERSION}
|
||||
|
||||
HOMEPAGE= https://live.gnome.org/GnomeClocks
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MODULES= devel/dconf \
|
||||
lang/python \
|
||||
x11/gnome
|
||||
|
||||
BUILD_DEPENDS= devel/py-distutils-extra
|
||||
|
||||
RUN_DEPENDS= devel/libnotify \
|
||||
devel/py-gobject3 \
|
||||
graphics/clutter/clutter-gtk \
|
||||
x11/gnome/libgweather
|
||||
|
||||
MODGNOME_DESKTOP_FILE= Yes
|
||||
MODGNOME_ICON_CACHE= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
CONFIGURE_STYLE= # empty
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/gnome-clocks
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11/gnome/clocks/distinfo
Normal file
2
x11/gnome/clocks/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (gnome/gnome-clocks-0.1.3.tar.xz) = Oy00YLsUSpPj5W7w0mAzUK2OfYIgaYfM4p0ds8hYbhY=
|
||||
SIZE (gnome/gnome-clocks-0.1.3.tar.xz) = 722896
|
17
x11/gnome/clocks/patches/patch-data_gtk-style_css
Normal file
17
x11/gnome/clocks/patches/patch-data_gtk-style_css
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-data_gtk-style_css,v 1.1.1.1 2012/09/30 13:50:26 ajacoutot Exp $
|
||||
|
||||
From 6e41605c884af1f4ff19e9ddf65b2d1358f785df Mon Sep 17 00:00:00 2001
|
||||
From: Paolo Borelli <pborelli@gnome.org>
|
||||
Date: Thu, 27 Sep 2012 20:21:10 +0000
|
||||
Subject: Also override the fg color
|
||||
|
||||
--- data/gtk-style.css.orig Tue Sep 25 22:24:53 2012
|
||||
+++ data/gtk-style.css Sun Sep 30 12:22:25 2012
|
||||
@@ -72,6 +72,7 @@
|
||||
|
||||
.view.clocks-laps {
|
||||
background-color: @theme_bg_color;
|
||||
+ color: @theme_fg_color;
|
||||
}
|
||||
|
||||
.frame.clocks-laps-scroll {
|
16
x11/gnome/clocks/patches/patch-gnome-clocks
Normal file
16
x11/gnome/clocks/patches/patch-gnome-clocks
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-gnome-clocks,v 1.1.1.1 2012/09/30 13:50:26 ajacoutot Exp $
|
||||
--- gnome-clocks.orig Sun Sep 30 12:15:38 2012
|
||||
+++ gnome-clocks Sun Sep 30 12:16:09 2012
|
||||
@@ -32,9 +32,9 @@ if os.path.exists("gnome-clocks.doap"):
|
||||
}
|
||||
else:
|
||||
ENV_PATHS = {
|
||||
- "GNOME_CLOCKS_DATA_PATH": "/usr/share/gnome-clocks/",
|
||||
- "GNOME_CLOCKS_IMAGE_PATH": "/usr/share/gnome-clocks/",
|
||||
- "GNOME_CLOCKS_LOCALE_PATH": "/usr/share/locale/",
|
||||
+ "GNOME_CLOCKS_DATA_PATH": "${PREFIX}/share/gnome-clocks/",
|
||||
+ "GNOME_CLOCKS_IMAGE_PATH": "${PREFIX}/share/gnome-clocks/",
|
||||
+ "GNOME_CLOCKS_LOCALE_PATH": "${PREFIX}/share/locale/",
|
||||
}
|
||||
|
||||
for var, path in ENV_PATHS.iteritems():
|
36
x11/gnome/clocks/patches/patch-gnomeclocks_widgets_py
Normal file
36
x11/gnome/clocks/patches/patch-gnomeclocks_widgets_py
Normal file
@ -0,0 +1,36 @@
|
||||
$OpenBSD: patch-gnomeclocks_widgets_py,v 1.1.1.1 2012/09/30 13:50:26 ajacoutot Exp $
|
||||
|
||||
From 6241e753000f30fbb3799373d5ccc692c595553c Mon Sep 17 00:00:00 2001
|
||||
From: Paolo Borelli <pborelli@gnome.org>
|
||||
Date: Thu, 27 Sep 2012 20:14:07 +0000
|
||||
Subject: Try to prevent clutter from interfering with key events
|
||||
|
||||
--- gnomeclocks/widgets.py.orig Mon Sep 10 19:08:23 2012
|
||||
+++ gnomeclocks/widgets.py Sun Sep 30 12:22:14 2012
|
||||
@@ -354,6 +354,13 @@ class Embed(GtkClutter.Embed):
|
||||
GtkClutter.Embed.__init__(self)
|
||||
self.set_use_layout_size(True)
|
||||
|
||||
+ # Set can-focus to false and override key-press and
|
||||
+ # key-release so that we skip all Clutter key event
|
||||
+ # handling and we let the contained gtk widget do
|
||||
+ # their thing
|
||||
+ # See https://bugzilla.gnome.org/show_bug.cgi?id=684988
|
||||
+ self.set_can_focus(False)
|
||||
+
|
||||
self.stage = self.get_stage()
|
||||
|
||||
self._overlayLayout = Clutter.BinLayout()
|
||||
@@ -399,6 +406,12 @@ class Embed(GtkClutter.Embed):
|
||||
Clutter.BinAlignment.FILL,
|
||||
Clutter.BinAlignment.FILL)
|
||||
self._background.lower_bottom()
|
||||
+
|
||||
+ def do_key_press_event(self, event):
|
||||
+ return False
|
||||
+
|
||||
+ def do_key_release_event(self, event):
|
||||
+ return False
|
||||
|
||||
def _spotlight_finished(self, actor, name, is_finished):
|
||||
self._viewActor.set_child_below_sibling(self._background, None)
|
1
x11/gnome/clocks/pkg/DESCR
Normal file
1
x11/gnome/clocks/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Clock application for the GNOME Desktop.
|
115
x11/gnome/clocks/pkg/PLIST
Normal file
115
x11/gnome/clocks/pkg/PLIST
Normal file
@ -0,0 +1,115 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/30 13:50:26 ajacoutot Exp $
|
||||
bin/gnome-clocks
|
||||
lib/python${MODPY_VERSION}/site-packages/gnome_clocks-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/alarm.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/alarm.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/app.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/app.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/clocks.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/clocks.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/pycanberra.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/pycanberra.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/stopwatch.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/stopwatch.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/timer.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/timer.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/utils.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/widgets.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/widgets.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/world.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gnomeclocks/world.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/alarm.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/alarm.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/app.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/app.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/clocks.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/clocks.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/pycanberra.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/pycanberra.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/stopwatch.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/stopwatch.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/timer.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/timer.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/utils.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/widgets.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/widgets.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/world.py
|
||||
lib/python${MODPY_VERSION}/site-packages/lib/gnomeclocks/world.pyc
|
||||
share/applications/gnome-clocks.desktop
|
||||
share/doc/gnome-clocks/
|
||||
share/doc/gnome-clocks/NEWS
|
||||
share/doc/gnome-clocks/README
|
||||
share/gnome-clocks/
|
||||
share/gnome-clocks/button-border-go-active.svg
|
||||
share/gnome-clocks/button-border-go.svg
|
||||
share/gnome-clocks/button-border-stop-active.svg
|
||||
share/gnome-clocks/button-border-stop.svg
|
||||
share/gnome-clocks/cities/
|
||||
share/gnome-clocks/cities/day.jpg
|
||||
share/gnome-clocks/cities/day.png
|
||||
share/gnome-clocks/cities/night.jpg
|
||||
share/gnome-clocks/cities/night.png
|
||||
share/gnome-clocks/gtk-style.css
|
||||
share/icons/hicolor/16x16/apps/clocks.png
|
||||
share/icons/hicolor/22x22/apps/clocks.png
|
||||
share/icons/hicolor/256x256/apps/clocks.png
|
||||
share/icons/hicolor/32x32/apps/clocks.png
|
||||
share/icons/hicolor/48x48/apps/clocks.png
|
||||
share/locale/ar/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/as/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/be/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/ca/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/ca@valencia/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/cs/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/da/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/de/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/el/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/en_GB/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/es/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/et/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/fa/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/fi/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/fr/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/gl/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/he/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/hi/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/hu/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/id/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/it/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/ja/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/ko/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/lt/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/lv/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/ml/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/mr/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/nb/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/pa/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/pl/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/pt/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/ru/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/sl/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/sr/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/sr@latin/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/sv/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/ta/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/te/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/th/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/uk/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/vi/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/zh_HK/LC_MESSAGES/gnome-clocks.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/gnome-clocks.mo
|
||||
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
|
||||
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
Loading…
Reference in New Issue
Block a user