From faa5a755d199035b806a68c63c0de5ea4a2b0fa3 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 8 Jul 2012 08:57:55 +0000 Subject: [PATCH] Import gnome-documents-0.4.2. Documents is a document manager application for GNOME. ok jasper@ --- x11/gnome/documents/Makefile | 53 ++++++++ x11/gnome/documents/distinfo | 5 + .../patch-src_gnome-documents-debug_in | 15 +++ ...tch-src_gnome-documents-search-provider_in | 15 +++ .../patches/patch-src_gnome-documents_in | 15 +++ x11/gnome/documents/pkg/DESCR | 1 + x11/gnome/documents/pkg/PLIST | 124 ++++++++++++++++++ 7 files changed, 228 insertions(+) create mode 100644 x11/gnome/documents/Makefile create mode 100644 x11/gnome/documents/distinfo create mode 100644 x11/gnome/documents/patches/patch-src_gnome-documents-debug_in create mode 100644 x11/gnome/documents/patches/patch-src_gnome-documents-search-provider_in create mode 100644 x11/gnome/documents/patches/patch-src_gnome-documents_in create mode 100644 x11/gnome/documents/pkg/DESCR create mode 100644 x11/gnome/documents/pkg/PLIST diff --git a/x11/gnome/documents/Makefile b/x11/gnome/documents/Makefile new file mode 100644 index 00000000000..0218bf38a7a --- /dev/null +++ b/x11/gnome/documents/Makefile @@ -0,0 +1,53 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2012/07/08 08:57:55 ajacoutot Exp $ + +SHARED_ONLY= Yes + +COMMENT= document manager for GNOME + +GNOME_PROJECT= gnome-documents +GNOME_VERSION= 0.4.2 + +HOMEPAGE= https://live.gnome.org/GnomeDocuments + +TRACKER_VERSION=0.14 +SUBST_VARS= TRACKER_VERSION + +# GPLv2+ +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes +WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo +WANTLIB += cairo-gobject clutter-1.0 clutter-gtk-1.0 cogl cogl-pango +WANTLIB += crypto curl dbus-1 drm e2fs-uuid evdocument3 evview3 +WANTLIB += expat ffi fontconfig freetype gailutil-3 gcrypt gdata +WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 girepository-1.0 gjs glib-2.0 +WANTLIB += gmodule-2.0 gnome-desktop-3 gnome-keyring goa-1.0 gobject-2.0 +WANTLIB += gpg-error gthread-2.0 gtk-3 idn json-glib-1.0 kvm m +WANTLIB += mozjs185 nspr4 nss3 oauth pango-1.0 pangocairo-1.0 +WANTLIB += pangoft2-1.0 pcre pixman-1 plc4 plds4 png pthread pthread-stubs +WANTLIB += smime3 softokn3 soup-2.4 soup-gnome-2.4 sqlite3 ssl +WANTLIB += ssl3 stdc++ tracker-sparql-0.14 unistring xcb xcb-render +WANTLIB += xcb-shm xml2 z +WANTLIB += lib/tracker-${TRACKER_VERSION}/tracker-data +WANTLIB += lib/tracker-${TRACKER_VERSION}/tracker-common + +MODULES= devel/gettext \ + devel/dconf \ + x11/gnome + +LIB_DEPENDS= graphics/clutter/clutter-gtk \ + graphics/evince \ + x11/gnome/gjs \ + x11/gnome/tracker + +MODGNOME_ICON_CACHE= Yes +MODGNOME_DESKTOP_FILE= Yes + +LIBTOOL_FLAGS= --tag=disable-static + +CONFIGURE_ARGS= --disable-static + +.include diff --git a/x11/gnome/documents/distinfo b/x11/gnome/documents/distinfo new file mode 100644 index 00000000000..d5d54828e33 --- /dev/null +++ b/x11/gnome/documents/distinfo @@ -0,0 +1,5 @@ +MD5 (gnome/gnome-documents-0.4.2.tar.xz) = Rl3oW/m6xI/zALG/aqWFHA== +RMD160 (gnome/gnome-documents-0.4.2.tar.xz) = nOMcowhVhRkDjDkqcP45OmUEPx4= +SHA1 (gnome/gnome-documents-0.4.2.tar.xz) = 2gZDrdrwtS8jaZFTuiypfACbC+4= +SHA256 (gnome/gnome-documents-0.4.2.tar.xz) = jDRczy5xz8ItPxEY58hnbhplfIo/1AUscZvhtKMRrIw= +SIZE (gnome/gnome-documents-0.4.2.tar.xz) = 500428 diff --git a/x11/gnome/documents/patches/patch-src_gnome-documents-debug_in b/x11/gnome/documents/patches/patch-src_gnome-documents-debug_in new file mode 100644 index 00000000000..7c74a8a95a2 --- /dev/null +++ b/x11/gnome/documents/patches/patch-src_gnome-documents-debug_in @@ -0,0 +1,15 @@ +$OpenBSD: patch-src_gnome-documents-debug_in,v 1.1.1.1 2012/07/08 08:57:55 ajacoutot Exp $ + +From fffb37e1ea849578ac34561bc6fb076e61ff2fb9 Mon Sep 17 00:00:00 2001 +From: Antoine Jacoutot +Date: Sun, 08 Jul 2012 06:56:26 +0000 +Subject: /bin/bash -> /bin/sh + +--- src/gnome-documents-debug.in.orig Mon Feb 20 15:07:20 2012 ++++ src/gnome-documents-debug.in Sun Jul 8 09:18:48 2012 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + if test x"$GJS_PATH" = x ; then + export GJS_PATH=@pkgdatadir@/js diff --git a/x11/gnome/documents/patches/patch-src_gnome-documents-search-provider_in b/x11/gnome/documents/patches/patch-src_gnome-documents-search-provider_in new file mode 100644 index 00000000000..4ef0b4628c7 --- /dev/null +++ b/x11/gnome/documents/patches/patch-src_gnome-documents-search-provider_in @@ -0,0 +1,15 @@ +$OpenBSD: patch-src_gnome-documents-search-provider_in,v 1.1.1.1 2012/07/08 08:57:55 ajacoutot Exp $ + +From fffb37e1ea849578ac34561bc6fb076e61ff2fb9 Mon Sep 17 00:00:00 2001 +From: Antoine Jacoutot +Date: Sun, 08 Jul 2012 06:56:26 +0000 +Subject: /bin/bash -> /bin/sh + +--- src/gnome-documents-search-provider.in.orig Sun Mar 4 03:37:42 2012 ++++ src/gnome-documents-search-provider.in Sun Jul 8 09:18:48 2012 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + if test x"$GJS_PATH" = x ; then + export GJS_PATH=@pkgdatadir@/js diff --git a/x11/gnome/documents/patches/patch-src_gnome-documents_in b/x11/gnome/documents/patches/patch-src_gnome-documents_in new file mode 100644 index 00000000000..0fed72d1d75 --- /dev/null +++ b/x11/gnome/documents/patches/patch-src_gnome-documents_in @@ -0,0 +1,15 @@ +$OpenBSD: patch-src_gnome-documents_in,v 1.1.1.1 2012/07/08 08:57:55 ajacoutot Exp $ + +From fffb37e1ea849578ac34561bc6fb076e61ff2fb9 Mon Sep 17 00:00:00 2001 +From: Antoine Jacoutot +Date: Sun, 08 Jul 2012 06:56:26 +0000 +Subject: /bin/bash -> /bin/sh + +--- src/gnome-documents.in.orig Mon Feb 20 15:05:05 2012 ++++ src/gnome-documents.in Sun Jul 8 09:18:48 2012 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + if test x"$GJS_PATH" = x ; then + export GJS_PATH=@pkgdatadir@/js diff --git a/x11/gnome/documents/pkg/DESCR b/x11/gnome/documents/pkg/DESCR new file mode 100644 index 00000000000..0aa2d669850 --- /dev/null +++ b/x11/gnome/documents/pkg/DESCR @@ -0,0 +1 @@ +Documents is a document manager application for GNOME. diff --git a/x11/gnome/documents/pkg/PLIST b/x11/gnome/documents/pkg/PLIST new file mode 100644 index 00000000000..d18d4f91565 --- /dev/null +++ b/x11/gnome/documents/pkg/PLIST @@ -0,0 +1,124 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/07/08 08:57:55 ajacoutot Exp $ +bin/gnome-documents +lib/gnome-documents/ +lib/gnome-documents/girepository-1.0/ +lib/gnome-documents/girepository-1.0/Gd-1.0.typelib +@comment lib/gnome-documents/libgdprivate-1.0.la +lib/gnome-documents/libgdprivate-1.0.so +@bin libexec/gd-tracker-gdata-miner +libexec/gnome-documents-search-provider +share/applications/gnome-documents.desktop +share/dbus-1/services/org.gnome.Documents.GDataMiner.service +share/dbus-1/services/org.gnome.Documents.SearchProvider.service +share/glib-2.0/schemas/org.gnome.Documents.enums.xml +share/glib-2.0/schemas/org.gnome.documents.gschema.xml +share/gnome-documents/ +share/gnome-documents/gir-1.0/ +share/gnome-documents/gir-1.0/Gd-1.0.gir +share/gnome-documents/icons/ +share/gnome-documents/icons/thumbnail-frame.png +share/gnome-documents/js/ +share/gnome-documents/js/application.js +share/gnome-documents/js/changeMonitor.js +share/gnome-documents/js/config.js +share/gnome-documents/js/documents.js +share/gnome-documents/js/embed.js +share/gnome-documents/js/error.js +share/gnome-documents/js/errorBox.js +share/gnome-documents/js/format.js +share/gnome-documents/js/gDataMiner.js +share/gnome-documents/js/global.js +share/gnome-documents/js/loadMore.js +share/gnome-documents/js/main.js +share/gnome-documents/js/mainToolbar.js +share/gnome-documents/js/mainWindow.js +share/gnome-documents/js/manager.js +share/gnome-documents/js/notifications.js +share/gnome-documents/js/offsetController.js +share/gnome-documents/js/path.js +share/gnome-documents/js/preview.js +share/gnome-documents/js/query.js +share/gnome-documents/js/searchbar.js +share/gnome-documents/js/selections.js +share/gnome-documents/js/shellSearchProvider.js +share/gnome-documents/js/sources.js +share/gnome-documents/js/spinnerBox.js +share/gnome-documents/js/trackerController.js +share/gnome-documents/js/trackerUtils.js +share/gnome-documents/js/util/ +share/gnome-documents/js/util/tweener.js +share/gnome-documents/js/utils.js +share/gnome-documents/js/view.js +share/gnome-documents/js/windowMode.js +share/gnome-shell/ +share/gnome-shell/search-providers/ +share/gnome-shell/search-providers/gnome-documents-search-provider.ini +share/icons/hicolor/16x16/apps/gnome-documents.png +share/icons/hicolor/22x22/apps/gnome-documents.png +share/icons/hicolor/24x24/apps/gnome-documents.png +share/icons/hicolor/256x256/apps/gnome-documents.png +share/icons/hicolor/32x32/apps/gnome-documents.png +share/icons/hicolor/48x48/apps/gnome-documents.png +share/locale/af/LC_MESSAGES/gnome-documents.mo +share/locale/ar/LC_MESSAGES/gnome-documents.mo +share/locale/as/LC_MESSAGES/gnome-documents.mo +share/locale/be/LC_MESSAGES/gnome-documents.mo +share/locale/bg/LC_MESSAGES/gnome-documents.mo +share/locale/ca/LC_MESSAGES/gnome-documents.mo +share/locale/ca@valencia/LC_MESSAGES/gnome-documents.mo +share/locale/cs/LC_MESSAGES/gnome-documents.mo +share/locale/da/LC_MESSAGES/gnome-documents.mo +share/locale/de/LC_MESSAGES/gnome-documents.mo +share/locale/en_GB/LC_MESSAGES/gnome-documents.mo +share/locale/eo/LC_MESSAGES/gnome-documents.mo +share/locale/es/LC_MESSAGES/gnome-documents.mo +share/locale/et/LC_MESSAGES/gnome-documents.mo +share/locale/eu/LC_MESSAGES/gnome-documents.mo +share/locale/fa/LC_MESSAGES/gnome-documents.mo +share/locale/fi/LC_MESSAGES/gnome-documents.mo +share/locale/fr/LC_MESSAGES/gnome-documents.mo +share/locale/gl/LC_MESSAGES/gnome-documents.mo +share/locale/gu/LC_MESSAGES/gnome-documents.mo +share/locale/he/LC_MESSAGES/gnome-documents.mo +share/locale/hi/LC_MESSAGES/gnome-documents.mo +share/locale/hu/LC_MESSAGES/gnome-documents.mo +share/locale/id/LC_MESSAGES/gnome-documents.mo +share/locale/it/LC_MESSAGES/gnome-documents.mo +share/locale/ja/LC_MESSAGES/gnome-documents.mo +share/locale/kn/LC_MESSAGES/gnome-documents.mo +share/locale/ko/LC_MESSAGES/gnome-documents.mo +share/locale/lt/LC_MESSAGES/gnome-documents.mo +share/locale/lv/LC_MESSAGES/gnome-documents.mo +share/locale/mk/LC_MESSAGES/gnome-documents.mo +share/locale/ml/LC_MESSAGES/gnome-documents.mo +share/locale/mr/LC_MESSAGES/gnome-documents.mo +share/locale/nb/LC_MESSAGES/gnome-documents.mo +share/locale/nl/LC_MESSAGES/gnome-documents.mo +share/locale/or/LC_MESSAGES/gnome-documents.mo +share/locale/pa/LC_MESSAGES/gnome-documents.mo +share/locale/pl/LC_MESSAGES/gnome-documents.mo +share/locale/pt/LC_MESSAGES/gnome-documents.mo +share/locale/pt_BR/LC_MESSAGES/gnome-documents.mo +share/locale/ru/LC_MESSAGES/gnome-documents.mo +share/locale/sk/LC_MESSAGES/gnome-documents.mo +share/locale/sl/LC_MESSAGES/gnome-documents.mo +share/locale/sr/LC_MESSAGES/gnome-documents.mo +share/locale/sr@latin/LC_MESSAGES/gnome-documents.mo +share/locale/sv/LC_MESSAGES/gnome-documents.mo +share/locale/ta/LC_MESSAGES/gnome-documents.mo +share/locale/te/LC_MESSAGES/gnome-documents.mo +share/locale/th/LC_MESSAGES/gnome-documents.mo +share/locale/tr/LC_MESSAGES/gnome-documents.mo +share/locale/ug/LC_MESSAGES/gnome-documents.mo +share/locale/uk/LC_MESSAGES/gnome-documents.mo +share/locale/vi/LC_MESSAGES/gnome-documents.mo +share/locale/xh/LC_MESSAGES/gnome-documents.mo +share/locale/zh_CN/LC_MESSAGES/gnome-documents.mo +share/locale/zh_HK/LC_MESSAGES/gnome-documents.mo +share/locale/zh_TW/LC_MESSAGES/gnome-documents.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/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