summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /mail-client/geary
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'mail-client/geary')
-rw-r--r--mail-client/geary/Manifest2
-rw-r--r--mail-client/geary/files/geary-0.5.3-unity.patch31
-rw-r--r--mail-client/geary/files/geary-0.5.3-vapigen.patch29
-rw-r--r--mail-client/geary/files/geary-0.6.0-desktopfile.patch12
-rw-r--r--mail-client/geary/files/geary-0.6.3-cflags.patch27
-rw-r--r--mail-client/geary/files/geary-0.7.2-cflags.patch27
-rw-r--r--mail-client/geary/geary-0.10.0.ebuild86
-rw-r--r--mail-client/geary/geary-0.6.3-r1.ebuild101
-rw-r--r--mail-client/geary/metadata.xml6
9 files changed, 321 insertions, 0 deletions
diff --git a/mail-client/geary/Manifest b/mail-client/geary/Manifest
new file mode 100644
index 000000000000..b8246a9bf610
--- /dev/null
+++ b/mail-client/geary/Manifest
@@ -0,0 +1,2 @@
+DIST geary-0.10.0.tar.xz 917376 SHA256 46197a5a1b8b040adcee99082dbfd9fff9ca804e3bf0055a2e90b13214bdbca5 SHA512 9126acb3608f7aac9236f7d38f5ca549fe04427e244bbff093d06095e09d0ae642ed8e5722325f152a40d3c642a5f31035fca1685749fbe311c4bf3965ee3256 WHIRLPOOL 5d79011682cb47299a147f44380341c05b997b1c825f86df53772be8fcf3818eca85eb55aa325e8c6a6737024166d58044ab01298476a5dad5036092d5a17f74
+DIST geary-0.6.3.tar.xz 791248 SHA256 2fa2612bf3821f8ff74664463a430729776f6f9bf31795156be2ca7959b52eca SHA512 4a4f26b3e88032191f2b683d8ed0d48401b278c4d1cc69c09731d9ca878450847a35c0653a8b9907ce81b989e713d1a41a40b7b6193f6e84a6e6f4eb4d5053f4 WHIRLPOOL 83e4a648a792639a10fde6eccf78db2fb582ebea4f5f0806091e4cc9f8550387e976e46b383b33819b32a25ec665116cfecfa3417acb72950f1eba3ffa48d403
diff --git a/mail-client/geary/files/geary-0.5.3-unity.patch b/mail-client/geary/files/geary-0.5.3-unity.patch
new file mode 100644
index 000000000000..7bf282963564
--- /dev/null
+++ b/mail-client/geary/files/geary-0.5.3-unity.patch
@@ -0,0 +1,31 @@
+commit 1f875e8a629a54748eb46237fd854359aa5edbc8
+Author: hasufell <hasufell@gentoo.org>
+Date: Tue Aug 27 01:40:45 2013 +0200
+
+ provide option for unity
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 66145c9..5d4464c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -28,6 +28,7 @@
+ option(ICON_UPDATE "Run gtk-update-icon-cache after the install." ON)
+ option(DESKTOP_UPDATE "Run update-desktop-database after the install." ON)
+ option(DESKTOP_VALIDATE "Check generated desktop file for errors during build." ON)
++option(WITH_UNITY "Add unity support." OFF)
+
+ if (DEBUG)
+ message(STATUS "Debug build")
+@@ -46,8 +47,10 @@
+ endif ()
+
+ find_package(PkgConfig)
+-pkg_check_modules(LIBUNITY QUIET unity>=5.12.0)
+-pkg_check_modules(LIBMESSAGINGMENU QUIET messaging-menu>=12.10.2)
++if (WITH_UNITY)
++ pkg_check_modules(LIBUNITY QUIET unity>=5.12.0)
++ pkg_check_modules(LIBMESSAGINGMENU QUIET messaging-menu>=12.10.2)
++endif ()
+
+ # CMake's range-checking syntax doesn't allow for a bare less-than, so using
+ # improbably high version numbers to indicate maximum
diff --git a/mail-client/geary/files/geary-0.5.3-vapigen.patch b/mail-client/geary/files/geary-0.5.3-vapigen.patch
new file mode 100644
index 000000000000..18b3c8049b4b
--- /dev/null
+++ b/mail-client/geary/files/geary-0.5.3-vapigen.patch
@@ -0,0 +1,29 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Feb 2 00:17:18 UTC 2014
+Subject: gentoo specific
+
+--- geary-0.5.1.tar.xz/src/CMakeLists.txt
++++ geary-0.5.1.tar.xz/src/CMakeLists.txt
+@@ -399,12 +399,7 @@
+ include(ValaPrecompile)
+
+ # Vapigen
+-find_program(VAPIGEN vapigen)
+-if (VAPIGEN STREQUAL "VAPIGEN-NOTFOUND")
+- message(FATAL_ERROR "vapigen must be installed to build Geary.")
+-else ()
+- message(STATUS "Found vapigen: " ${VAPIGEN})
+-endif ()
++set(VAPIGEN $ENV{VAPIGEN})
+
+ # Packages
+ if (LIBMESSAGINGMENU_FOUND)
+@@ -615,7 +610,7 @@
+ WORKING_DIRECTORY
+ ${CMAKE_SOURCE_DIR}/bindings/metadata
+ COMMAND
+- vapigen --pkg=gio-2.0 --pkg=gtk+-3.0 --pkg=libsoup-2.4 --metadatadir=. --metadatadir=${WEBKITGTK_METADATA_DIR} --library=webkitgtk-3.0 --directory=${CMAKE_BINARY_DIR}/src ${WEBKITGTK_CUSTOM_VALA} `pkg-config --variable=girdir gobject-introspection-1.0`/WebKit-3.0.gir
++ $ENV{VAPIGEN} --pkg=gio-2.0 --pkg=gtk+-3.0 --pkg=libsoup-2.4 --metadatadir=. --metadatadir=${WEBKITGTK_METADATA_DIR} --library=webkitgtk-3.0 --directory=${CMAKE_BINARY_DIR}/src ${WEBKITGTK_CUSTOM_VALA} `pkg-config --variable=girdir gobject-introspection-1.0`/WebKit-3.0.gir
+ )
+
+ # Geary client app
diff --git a/mail-client/geary/files/geary-0.6.0-desktopfile.patch b/mail-client/geary/files/geary-0.6.0-desktopfile.patch
new file mode 100644
index 000000000000..3ba892f0bb3d
--- /dev/null
+++ b/mail-client/geary/files/geary-0.6.0-desktopfile.patch
@@ -0,0 +1,12 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Mar 23 22:56:46 UTC 2014
+Subject: fix desktop file
+
+--- a/desktop/geary.desktop.in
++++ b/desktop/geary.desktop.in
+@@ -17,5 +17,3 @@
+ [Desktop Action Compose]
+ _Name=Compose Message
+ Exec=geary mailto:
+-OnlyShowIn=X-Messaging Menu;Unity;
+-
diff --git a/mail-client/geary/files/geary-0.6.3-cflags.patch b/mail-client/geary/files/geary-0.6.3-cflags.patch
new file mode 100644
index 000000000000..959ae4b1f34d
--- /dev/null
+++ b/mail-client/geary/files/geary-0.6.3-cflags.patch
@@ -0,0 +1,27 @@
+commit e41cf68206eb16be678eeaa1dc998d94d2f93d57
+Author: hasufell <hasufell@gentoo.org>
+Date: Tue Aug 27 01:40:58 2013 +0200
+
+ respect system CFLAGS
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 5202b99..949d494 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -471,16 +471,8 @@ set(CFLAGS
+ -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"
+ -DLANGUAGE_SUPPORT_DIRECTORY=\"${LANGUAGE_SUPPORT_DIRECTORY}\"
+ -DGCR_API_SUBJECT_TO_CHANGE
+- -g
+ )
+
+-if (NOT DEBUG)
+- set(CFLAGS
+- ${CFLAGS}
+- -O2
+- )
+-endif ()
+-
+ if (REF_TRACKING)
+ message(STATUS "Reference tracking: ON")
+ set(EXTRA_VALA_OPTIONS
diff --git a/mail-client/geary/files/geary-0.7.2-cflags.patch b/mail-client/geary/files/geary-0.7.2-cflags.patch
new file mode 100644
index 000000000000..959ae4b1f34d
--- /dev/null
+++ b/mail-client/geary/files/geary-0.7.2-cflags.patch
@@ -0,0 +1,27 @@
+commit e41cf68206eb16be678eeaa1dc998d94d2f93d57
+Author: hasufell <hasufell@gentoo.org>
+Date: Tue Aug 27 01:40:58 2013 +0200
+
+ respect system CFLAGS
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 5202b99..949d494 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -471,16 +471,8 @@ set(CFLAGS
+ -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"
+ -DLANGUAGE_SUPPORT_DIRECTORY=\"${LANGUAGE_SUPPORT_DIRECTORY}\"
+ -DGCR_API_SUBJECT_TO_CHANGE
+- -g
+ )
+
+-if (NOT DEBUG)
+- set(CFLAGS
+- ${CFLAGS}
+- -O2
+- )
+-endif ()
+-
+ if (REF_TRACKING)
+ message(STATUS "Reference tracking: ON")
+ set(EXTRA_VALA_OPTIONS
diff --git a/mail-client/geary/geary-0.10.0.ebuild b/mail-client/geary/geary-0.10.0.ebuild
new file mode 100644
index 000000000000..9c67de189cd3
--- /dev/null
+++ b/mail-client/geary/geary-0.10.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+GCONF_DEBUG="no"
+VALA_MIN_API_VERSION=0.22
+
+# Keep cmake-utils at the end
+inherit eutils fdo-mime gnome2 vala cmake-utils
+
+DESCRIPTION="A lightweight, easy-to-use, feature-rich email client"
+HOMEPAGE="https://wiki.gnome.org/Apps/Geary"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+DEPEND="
+ >=app-crypt/gcr-3.10.1[gtk,introspection,vala]
+ app-crypt/libsecret
+ dev-db/sqlite:3
+ dev-libs/glib:2
+ >=dev-libs/libgee-0.8.5:0.8
+ dev-libs/libxml2:2
+ dev-libs/gmime:2.6
+ media-libs/libcanberra
+ >=net-libs/webkit-gtk-1.10.0:3[introspection]
+ >=x11-libs/gtk+-3.10.0:3[introspection]
+ x11-libs/libnotify
+"
+RDEPEND="${DEPEND}
+ gnome-base/gsettings-desktop-schemas
+ nls? ( virtual/libintl )
+"
+DEPEND="${DEPEND}
+ app-text/gnome-doc-utils
+ dev-util/desktop-file-utils
+ nls? ( sys-devel/gettext )
+ $(vala_depend)
+ virtual/pkgconfig
+"
+
+DOCS=( AUTHORS MAINTAINERS README NEWS THANKS )
+
+src_prepare() {
+ # https://bugzilla.gnome.org/show_bug.cgi?id=751556
+ epatch "${FILESDIR}"/${PN}-0.7.2-cflags.patch
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=751557
+ epatch "${FILESDIR}"/${PN}-0.5.3-vapigen.patch
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=751558
+ epatch "${FILESDIR}"/${PN}-0.6.0-desktopfile.patch
+
+ local i
+ if use nls ; then
+ if [[ -n "${LINGUAS+x}" ]] ; then
+ for i in $(cd po ; echo *.po) ; do
+ if ! has ${i%.po} ${LINGUAS} ; then
+ sed -i -e "/^${i%.po}$/d" po/LINGUAS || die
+ fi
+ done
+ fi
+ else
+ sed -i -e 's#add_subdirectory(po)##' CMakeLists.txt || die
+ fi
+
+ cmake-utils_src_prepare
+ gnome2_src_prepare
+ vala_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDESKTOP_UPDATE=OFF
+ -DGSETTINGS_COMPILE=OFF
+ -DICON_UPDATE=OFF
+ -DVALA_EXECUTABLE="${VALAC}"
+ -DWITH_UNITY=OFF
+ -DDESKTOP_VALIDATE=OFF
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/mail-client/geary/geary-0.6.3-r1.ebuild b/mail-client/geary/geary-0.6.3-r1.ebuild
new file mode 100644
index 000000000000..009195e63d83
--- /dev/null
+++ b/mail-client/geary/geary-0.6.3-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+VALA_MIN_API_VERSION=0.22
+
+inherit eutils fdo-mime gnome2-utils vala cmake-utils
+
+MY_P=${P/_pre/pr}
+DESCRIPTION="A lightweight, easy-to-use, feature-rich email client"
+HOMEPAGE="http://www.yorba.org/projects/geary/"
+SRC_URI="mirror://gnome/sources/geary/${PV:0:3}/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls"
+
+DEPEND="
+ app-crypt/gcr[gtk,introspection,vala]
+ app-crypt/libsecret
+ dev-db/sqlite:3
+ dev-libs/glib:2
+ >=dev-libs/libgee-0.8.5:0.8
+ dev-libs/libxml2:2
+ dev-libs/gmime:2.6
+ media-libs/libcanberra
+ >=net-libs/webkit-gtk-1.10.0:3[introspection]
+ >=x11-libs/gtk+-3.6.0:3[introspection]
+ x11-libs/libnotify"
+RDEPEND="${DEPEND}
+ gnome-base/gsettings-desktop-schemas
+ nls? ( virtual/libintl )"
+DEPEND="${DEPEND}
+ app-text/gnome-doc-utils
+ dev-util/desktop-file-utils
+ nls? ( sys-devel/gettext )
+ $(vala_depend)
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS MAINTAINERS README NEWS THANKS )
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.5.3-{unity,vapigen}.patch \
+ "${FILESDIR}"/${PN}-0.6.3-cflags.patch \
+ "${FILESDIR}"/${PN}-0.6.0-desktopfile.patch
+
+ local i
+ if use nls ; then
+ if [[ -n "${LINGUAS+x}" ]] ; then
+ for i in $(cd po ; echo *.po) ; do
+ if ! has ${i%.po} ${LINGUAS} ; then
+ sed -i -e "/^${i%.po}$/d" po/LINGUAS || die
+ fi
+ done
+ fi
+ else
+ sed -i -e 's#add_subdirectory(po)##' CMakeLists.txt || die
+ fi
+
+ cmake-utils_src_prepare
+ vala_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDESKTOP_UPDATE=OFF
+ -DGSETTINGS_COMPILE=OFF
+ -DICON_UPDATE=OFF
+ -DVALA_EXECUTABLE="${VALAC}"
+ -DWITH_UNITY=OFF
+ -DDESKTOP_VALIDATE=OFF
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ elog "For libnotify sounds you will need"
+ elog "\"alsa\" or \"pulseaudio\" useflag of media-libs/libcanberra"
+ elog "enabled."
+
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
diff --git a/mail-client/geary/metadata.xml b/mail-client/geary/metadata.xml
new file mode 100644
index 000000000000..e98dd9082dc1
--- /dev/null
+++ b/mail-client/geary/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+</pkgmetadata>
+