summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-dict
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 /xfce-extra/xfce4-dict
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
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 'xfce-extra/xfce4-dict')
-rw-r--r--xfce-extra/xfce4-dict/Manifest2
-rw-r--r--xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch21
-rw-r--r--xfce-extra/xfce4-dict/metadata.xml8
-rw-r--r--xfce-extra/xfce4-dict/xfce4-dict-0.6.0.ebuild43
-rw-r--r--xfce-extra/xfce4-dict/xfce4-dict-0.7.1.ebuild33
5 files changed, 107 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-dict/Manifest b/xfce-extra/xfce4-dict/Manifest
new file mode 100644
index 00000000000..a334c001a8c
--- /dev/null
+++ b/xfce-extra/xfce4-dict/Manifest
@@ -0,0 +1,2 @@
+DIST xfce4-dict-0.6.0.tar.bz2 373420 SHA256 a8188ca4c980ca2003be6bf2391589f5122830680c41d51105b10813850da0d3 SHA512 3964abe66280413f7db4617c33379144414bfc751070a24167cd3285619fce18fdf81c4fce1b3f58e6866611a79400e9ea0a56063a4fb147e3fbc7a2f6db7c4c WHIRLPOOL eb04bd1521fdbfba5d01452948f9b6cedaa4620d48b155dd5a90af77e2d62e3817bb1bdf8804feb11d9d1286a537b341eb59fc9c76395a0677fa43649ab6e3de
+DIST xfce4-dict-0.7.1.tar.bz2 493952 SHA256 d15611e75a5e9c51167f2101cb760505ff72c446ef15542183b5e0fbf9c540fc SHA512 820d77e84583ace3b809b45ecbbf16da7fbdd5d4d69762e18e940f20ea9f54a5f88332e24fe85865fe50a5ab0c31f7b9b20ce28c1179b5538d4612c2d9fe1d50 WHIRLPOOL b17ca270ac568667467bfd79ec40e40257efdeaabee06fcc3a3044832e1f3e6c03876f11583382a95939bcd7a16c0e91b40e8a35557b1b37b45c47946db52158
diff --git a/xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch b/xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch
new file mode 100644
index 00000000000..9366f0b059b
--- /dev/null
+++ b/xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch
@@ -0,0 +1,21 @@
+http://bugzilla.xfce.org/show_bug.cgi?id=8229
+
+Fix underlinking. See below. Function "floor" and math.h is used in common.c which is part of libdict.
+
+/path/to/ld: ../lib/.libs/libdict.a(libdict_la-common.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'
+/path/to/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
+/lib/libm.so.6: could not read symbols: Invalid operation
+collect2: ld returned 1 exit status
+
+--- lib/Makefile.am
++++ lib/Makefile.am
+@@ -34,7 +34,8 @@
+ libdict_la_LIBADD = \
+ $(LIBXFCE4PANEL_LIBS) \
+ $(LIBXFCEGUI4_LIBS) \
+- @GTHREAD_LIBS@
++ @GTHREAD_LIBS@ \
++ -lm
+
+
+ noinst_DATA = \
diff --git a/xfce-extra/xfce4-dict/metadata.xml b/xfce-extra/xfce4-dict/metadata.xml
new file mode 100644
index 00000000000..008cf479f61
--- /dev/null
+++ b/xfce-extra/xfce4-dict/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>xfce@gentoo.org</email>
+ <name>XFCE Team</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/xfce-extra/xfce4-dict/xfce4-dict-0.6.0.ebuild b/xfce-extra/xfce4-dict/xfce4-dict-0.6.0.ebuild
new file mode 100644
index 00000000000..0ac66d54504
--- /dev/null
+++ b/xfce-extra/xfce4-dict/xfce4-dict-0.6.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EAUTORECONF=yes
+inherit multilib xfconf
+
+DESCRIPTION="A dict.org querying application and panel plug-in for the Xfce desktop"
+HOMEPAGE="http://goodies.xfce.org/projects/applications/xfce4-dict"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.24
+ >=x11-libs/gtk+-2.20:2
+ >=xfce-base/libxfce4util-4.8
+ >=xfce-base/libxfcegui4-4.8
+ >=xfce-base/xfce4-panel-4.8"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig"
+
+pkg_setup() {
+ PATCHES=( "${FILESDIR}"/${P}-underlinking.patch )
+
+ XFCONF=(
+ --libexecdir="${EPREFIX}"/usr/$(get_libdir)
+ )
+
+ DOCS=( AUTHORS ChangeLog README )
+}
+
+src_prepare() {
+ # xfce4-dict.desktop: (will be fatal in the future): value "Dictionary" in key
+ # "Categories" in group "Desktop Entry" requires another category to be present
+ # among the following categories: Office;TextTools
+ sed -i -e '/Categories/s:Office:&;Utility;TextTools:' src/xfce4-dict.desktop.in || die
+ xfconf_src_prepare
+}
diff --git a/xfce-extra/xfce4-dict/xfce4-dict-0.7.1.ebuild b/xfce-extra/xfce4-dict/xfce4-dict-0.7.1.ebuild
new file mode 100644
index 00000000000..9710c2114b2
--- /dev/null
+++ b/xfce-extra/xfce4-dict/xfce4-dict-0.7.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EAUTORECONF=yes
+inherit multilib xfconf
+
+DESCRIPTION="A dict.org querying application and panel plug-in for the Xfce desktop"
+HOMEPAGE="http://goodies.xfce.org/projects/applications/xfce4-dict"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.24:=
+ >=x11-libs/gtk+-2.20:2=
+ >=xfce-base/libxfce4util-4.10:=
+ >=xfce-base/libxfce4ui-4.10:=
+ >=xfce-base/xfce4-panel-4.10:="
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig"
+
+pkg_setup() {
+ XFCONF=(
+ --libexecdir="${EPREFIX}"/usr/$(get_libdir)
+ )
+
+ DOCS=( AUTHORS ChangeLog README )
+}