summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-08-02 22:42:06 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-08-02 22:42:06 +0000
commit7704a7ddc7a7f47744e321211f9ad531f64ca075 (patch)
treed858e32b731cff9c81cf96c3addf7f6d9b154de3
parentClean up metadata.xml from old USE flag description. (diff)
downloadhistorical-7704a7ddc7a7f47744e321211f9ad531f64ca075.tar.gz
historical-7704a7ddc7a7f47744e321211f9ad531f64ca075.tar.bz2
historical-7704a7ddc7a7f47744e321211f9ad531f64ca075.zip
Initial ebuild by Gilles Dartiguelongue <eva@gentoo.org>, copied and bumped from gnome overlay, closes bug #268015.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
-rw-r--r--app-misc/gnote/ChangeLog11
-rw-r--r--app-misc/gnote/Manifest15
-rw-r--r--app-misc/gnote/files/gnote-0.6.1-dbus-switch.patch46
-rw-r--r--app-misc/gnote/gnote-0.6.1.ebuild54
-rw-r--r--app-misc/gnote/metadata.xml13
5 files changed, 139 insertions, 0 deletions
diff --git a/app-misc/gnote/ChangeLog b/app-misc/gnote/ChangeLog
new file mode 100644
index 000000000000..a28c1bf77762
--- /dev/null
+++ b/app-misc/gnote/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-misc/gnote
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gnote/ChangeLog,v 1.1 2009/08/02 22:42:06 eva Exp $
+
+*gnote-0.6.1 (02 Aug 2009)
+
+ 02 Aug 2009; Gilles Dartiguelongue <eva@gentoo.org> +gnote-0.6.1.ebuild,
+ +files/gnote-0.6.1-dbus-switch.patch, +metadata.xml:
+ Initial ebuild by Gilles Dartiguelongue <eva@gentoo.org>, copied and bumped
+ from gnome overlay, closes bug #268015.
+
diff --git a/app-misc/gnote/Manifest b/app-misc/gnote/Manifest
new file mode 100644
index 000000000000..9867cce73c5a
--- /dev/null
+++ b/app-misc/gnote/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX gnote-0.6.1-dbus-switch.patch 1486 RMD160 f5b3273d9ef89e1be21b9bed0314b8a95249b912 SHA1 92fb3adc5bbb520c8f5992d44ee361fb4b321082 SHA256 7fa4abfd81ca5a811847d50e6f20c581324b764fbf3551f27b9c86eb801eec1c
+DIST gnote-0.6.1.tar.bz2 1215881 RMD160 25a6d2f3e2df058ec9e5b607b14ea973f135ec11 SHA1 3ca723e169795e25c60cbb32e5e3d99a31399ba7 SHA256 60fee9f90baafc1933d78a65ed2f967d9a99a5a10a54e0938f932f75e18caec6
+EBUILD gnote-0.6.1.ebuild 1281 RMD160 dd312f96c7a9f3761fd9f3d1c9b859d4484db7e7 SHA1 7ac211937c834e8f7731c2227163e50f57720091 SHA256 c02e7885d83ec051a5d6f8bd017a9715f8732459cbb576540cc9485dbf23f28a
+MISC ChangeLog 477 RMD160 bee8dfa0809d1864aa77bf41416affe469a31b8e SHA1 e63f116167ee788f14f8de597d3f1e1066d3fe37 SHA256 3c022c2bacb6357bde256b46782c45511f0c8c553ce01b2611e5aeb9f6a746f3
+MISC metadata.xml 360 RMD160 cf909f1a4ac3af93e460b399f39aa8cb325b992e SHA1 5bf9ef61ef8587bdb9bc0365fdb6fd935ad3583a SHA256 bb3a0273a2bc0105a61ddbbe4dddb9189553625ff0c4ff946dd201a454b4a9b7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkp2FkMACgkQ1fmVwcYIWAYC1ACgnrlvhEjjrCJpYOWYD+MkVzla
+R5MAoJZFscyKEHixpYaB5WXGFkkmc/LL
+=VMIV
+-----END PGP SIGNATURE-----
diff --git a/app-misc/gnote/files/gnote-0.6.1-dbus-switch.patch b/app-misc/gnote/files/gnote-0.6.1-dbus-switch.patch
new file mode 100644
index 000000000000..34a9f9390d8e
--- /dev/null
+++ b/app-misc/gnote/files/gnote-0.6.1-dbus-switch.patch
@@ -0,0 +1,46 @@
+From fa67c7f9f70b24edfec27e6d2023a4aeb15ee8dd Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <eva@gentoo.org>
+Date: Mon, 3 Aug 2009 00:06:15 +0200
+Subject: [PATCH] Fix configure failure with --disable-dbus
+
+AM_CONDITIONAL for HAVE_DBUS was badly placed resulting in configure
+getting confused.
+
+GNOME bug #590560
+---
+ configure.ac | 18 ++++++++++--------
+ 1 files changed, 10 insertions(+), 8 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index d9cf17a..f06deab 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -166,15 +166,17 @@ AC_LANG_POP
+ #
+ # Use DBus to export our remote control if available.
+ #
+-AC_ARG_ENABLE(dbus,
+- [ --enable-dbus[[=no/yes]] compile with dbus support [[default: yes]]],
+- ENABLE_DBUS="$enableval", ENABLE_DBUS="yes")
+-if test "x$ENABLE_DBUS" != "xno"; then
+- PKG_CHECK_MODULES(DBUS, dbus-c++-1 >= $DBUSCPP_VERSION, [
+- have_dbus="yes";AC_DEFINE([ENABLE_DBUS], [1], [Define to 1 if DBus is enabled])
+- ], have_dbus="no")
+- AM_CONDITIONAL(HAVE_DBUS, test "$have_dbus" = "yes")
++AC_ARG_ENABLE(dbus,
++ AS_HELP_STRING([--enable-dbus],[compile with dbus support @<:@default: yes@:>@]),
++ [],[enable_dbus=yes])
++
++if test "$enable_dbus" != "no"; then
++ PKG_CHECK_MODULES(DBUS, dbus-c++-1 >= $DBUSCPP_VERSION, [
++ have_dbus="yes"
++ AC_DEFINE([ENABLE_DBUS], [1], [Define to 1 if DBus is enabled])
++ ], have_dbus="no")
+ fi
++AM_CONDITIONAL(HAVE_DBUS, test "$have_dbus" = "yes")
+
+
+
+--
+1.6.3.3
+
diff --git a/app-misc/gnote/gnote-0.6.1.ebuild b/app-misc/gnote/gnote-0.6.1.ebuild
new file mode 100644
index 000000000000..a9193f51443c
--- /dev/null
+++ b/app-misc/gnote/gnote-0.6.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gnote/gnote-0.6.1.ebuild,v 1.1 2009/08/02 22:42:06 eva Exp $
+
+EAPI="2"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Desktop note-taking application"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="applet debug" # dbus
+
+RDEPEND=">=x11-libs/gtk+-2.14
+ >=dev-cpp/glibmm-2
+ >=dev-cpp/gtkmm-2.12
+ >=dev-libs/libxml2-2
+ dev-libs/libxslt
+ >=gnome-base/gconf-2
+ >=dev-libs/libpcre-7.8[cxx]
+ >=app-text/gtkspell-2.0.9
+ >=dev-libs/boost-1.34
+ sys-libs/e2fsprogs-libs
+ >=gnome-base/gnome-panel-2
+ applet? ( >=dev-cpp/libpanelappletmm-2.26 )"
+# Build with dbus is currently not implemented
+# dbus? ( >=dev-libs/dbus-glib-0.70 )"
+DEPEND="${DEPEND}
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.35.0
+ app-text/gnome-doc-utils"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix dbus configure switch, upstream bug #590560
+ epatch "${FILESDIR}/${P}-dbus-switch.patch"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+}
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-dbus
+ --disable-static
+ $(use_enable applet)
+ $(use_enable debug)"
+}
diff --git a/app-misc/gnote/metadata.xml b/app-misc/gnote/metadata.xml
new file mode 100644
index 000000000000..5ee10ea9c8f2
--- /dev/null
+++ b/app-misc/gnote/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome</herd>
+ <maintainer>
+ <email>eva@gentoo.org</email>
+ <name>Gilles Dartiguelongue</name>
+ </maintainer>
+ <use>
+ <flag name="applet">Enable gnote applet for <pkg>gnome-base/gnome-panel</pkg></flag>
+ </use>
+</pkgmetadata>
+