Import gnome-weather-3.8.0.
Weather application for GNOME. ok jasper@
This commit is contained in:
parent
48e0ad1afe
commit
84664f9460
42
x11/gnome/weather/Makefile
Normal file
42
x11/gnome/weather/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/03 13:41:17 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= weather application for GNOME
|
||||
|
||||
GNOME_PROJECT= gnome-weather
|
||||
GNOME_VERSION= 3.8.0
|
||||
|
||||
HOMEPAGE= https://live.gnome.org/Design/Apps/Weather
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
|
||||
WANTLIB += Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi
|
||||
WANTLIB += cairo cairo-gobject dbus-1 expat ffi fontconfig freetype
|
||||
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
||||
WANTLIB += graphite2 gthread-2.0 gtk-3 harfbuzz iconv icudata
|
||||
WANTLIB += icule icuuc intl m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
||||
WANTLIB += pcre pixman-1 png pthread pthread-stubs xcb xcb-render
|
||||
WANTLIB += xcb-shm z
|
||||
|
||||
MODULES= devel/dconf \
|
||||
x11/gnome
|
||||
|
||||
BUILD_DEPENDS= x11/gnome/gjs
|
||||
RUN_DEPENDS= x11/gnome/gjs
|
||||
|
||||
LIB_DEPENDS= x11/gtk+3
|
||||
|
||||
MODGNOME_TOOLS= goi
|
||||
MODGNOME_DESKTOP_FILE= Yes
|
||||
|
||||
LIBTOOL_FLAGS= --tag=disable-static
|
||||
|
||||
CONFIGURE_ARGS= --disable-static
|
||||
|
||||
post-install:
|
||||
rm ${PREFIX}/lib/gnome-weather/*.la
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11/gnome/weather/distinfo
Normal file
2
x11/gnome/weather/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (gnome/gnome-weather-3.8.0.tar.xz) = dO7cJiMFzKZZKgWVRayCcJIZN098XPFMRsgtMK69Hb0=
|
||||
SIZE (gnome/gnome-weather-3.8.0.tar.xz) = 10331248
|
102
x11/gnome/weather/patches/patch-configure
Normal file
102
x11/gnome/weather/patches/patch-configure
Normal file
@ -0,0 +1,102 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2013/04/03 13:41:17 ajacoutot Exp $
|
||||
|
||||
Fix DATADIRNAME: see LOCALBASE/share/aclocal/{glib-gettext.m4,intltool.m4}
|
||||
|
||||
--- configure.orig Mon Mar 25 23:03:56 2013
|
||||
+++ configure Wed Apr 3 14:16:20 2013
|
||||
@@ -4399,48 +4399,12 @@ fi
|
||||
# Substitute ALL_LINGUAS so we can use it in po/Makefile
|
||||
|
||||
|
||||
-# Set DATADIRNAME correctly if it is not set yet
|
||||
-# (copied from glib-gettext.m4)
|
||||
-if test -z "$DATADIRNAME"; then
|
||||
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
-/* end confdefs.h. */
|
||||
|
||||
-int
|
||||
-main ()
|
||||
-{
|
||||
-extern int _nl_msg_cat_cntr;
|
||||
- return _nl_msg_cat_cntr
|
||||
- ;
|
||||
- return 0;
|
||||
-}
|
||||
-_ACEOF
|
||||
-if ac_fn_c_try_link "$LINENO"; then :
|
||||
- DATADIRNAME=share
|
||||
-else
|
||||
- case $host in
|
||||
- *-*-solaris*)
|
||||
- ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
|
||||
-if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
|
||||
- DATADIRNAME=share
|
||||
-else
|
||||
- DATADIRNAME=lib
|
||||
-fi
|
||||
|
||||
- ;;
|
||||
- *)
|
||||
- DATADIRNAME=lib
|
||||
- ;;
|
||||
- esac
|
||||
-fi
|
||||
-rm -f core conftest.err conftest.$ac_objext \
|
||||
- conftest$ac_exeext conftest.$ac_ext
|
||||
-fi
|
||||
|
||||
|
||||
|
||||
|
||||
-
|
||||
-
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
@@ -5329,6 +5293,46 @@ host_os=$*
|
||||
IFS=$ac_save_IFS
|
||||
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
||||
|
||||
+
|
||||
+# Set DATADIRNAME correctly if it is not set yet
|
||||
+# (copied from glib-gettext.m4)
|
||||
+if test -z "$DATADIRNAME"; then
|
||||
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
+/* end confdefs.h. */
|
||||
+
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+extern int _nl_msg_cat_cntr;
|
||||
+ return _nl_msg_cat_cntr
|
||||
+ ;
|
||||
+ return 0;
|
||||
+}
|
||||
+_ACEOF
|
||||
+if ac_fn_c_try_link "$LINENO"; then :
|
||||
+ DATADIRNAME=share
|
||||
+else
|
||||
+ case $host in
|
||||
+ *-*-solaris*)
|
||||
+ ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
|
||||
+if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
|
||||
+ DATADIRNAME=share
|
||||
+else
|
||||
+ DATADIRNAME=lib
|
||||
+fi
|
||||
+
|
||||
+ ;;
|
||||
+ *-*-openbsd*)
|
||||
+ DATADIRNAME=share
|
||||
+ ;;
|
||||
+ *)
|
||||
+ DATADIRNAME=lib
|
||||
+ ;;
|
||||
+ esac
|
||||
+fi
|
||||
+rm -f core conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext conftest.$ac_ext
|
||||
+fi
|
||||
|
||||
# Backslashify metacharacters that are still active within
|
||||
# double-quoted strings.
|
1
x11/gnome/weather/pkg/DESCR
Normal file
1
x11/gnome/weather/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Weather application for GNOME.
|
40
x11/gnome/weather/pkg/PLIST
Normal file
40
x11/gnome/weather/pkg/PLIST
Normal file
@ -0,0 +1,40 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/03 13:41:17 ajacoutot Exp $
|
||||
bin/gnome-weather
|
||||
lib/gnome-weather/
|
||||
lib/gnome-weather/girepository-1.0/
|
||||
lib/gnome-weather/girepository-1.0/Gd-1.0.typelib
|
||||
lib/gnome-weather/libgd.so
|
||||
share/applications/gnome-weather.desktop
|
||||
share/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml
|
||||
share/gnome-weather/
|
||||
share/gnome-weather/city.js
|
||||
share/gnome-weather/forecast.js
|
||||
share/gnome-weather/gir-1.0/
|
||||
share/gnome-weather/gir-1.0/Gd-1.0.gir
|
||||
share/gnome-weather/gnome-weather.gresource
|
||||
share/gnome-weather/main.js
|
||||
share/gnome-weather/package.js
|
||||
share/gnome-weather/params.js
|
||||
share/gnome-weather/strings.js
|
||||
share/gnome-weather/util.js
|
||||
share/gnome-weather/window.js
|
||||
share/gnome-weather/world.js
|
||||
share/locale/cs/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/de/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/es/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/gl/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/he/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/it/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/ja/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/pa/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/pl/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/ru/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/sk/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/sl/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/sr/LC_MESSAGES/gnome-weather.mo
|
||||
share/locale/sr@latin/LC_MESSAGES/gnome-weather.mo
|
||||
@exec %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas >/dev/null
|
||||
@unexec-delete %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas >/dev/null
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
Loading…
Reference in New Issue
Block a user