summaryrefslogtreecommitdiff
path: root/app-text/xfbib
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xfbib')
-rw-r--r--app-text/xfbib/Manifest7
-rw-r--r--app-text/xfbib/files/xfbib-0.0.2-libxfce4ui.patch106
-rw-r--r--app-text/xfbib/files/xfbib-0.0.2-validate.patch19
-rw-r--r--app-text/xfbib/metadata.xml8
-rw-r--r--app-text/xfbib/xfbib-0.0.2-r1.ebuild40
5 files changed, 180 insertions, 0 deletions
diff --git a/app-text/xfbib/Manifest b/app-text/xfbib/Manifest
new file mode 100644
index 000000000000..4c53e36f04ef
--- /dev/null
+++ b/app-text/xfbib/Manifest
@@ -0,0 +1,7 @@
+AUX xfbib-0.0.2-libxfce4ui.patch 2662 SHA256 a1ff8e69c2882eaeb2331ed963233c9b310069abbb33958926f1d7e8964649c7 SHA512 0fadc92daf23de69e8074870933a98c60dfd91d1d505299fbcd0c774a01cce4c81b00b0c08c37f8609a85897cf9b4d3ace5b08c5694ea246baa46bfc70394d2b WHIRLPOOL d614f341a8ce988e4d7110c612f3ce8e1a5e8b592fdc92c20efe662580a3adff8d4bc4eae76dcdb62e90572559ea5a2773d3cbd056f637cdb6f6e06d836ef073
+AUX xfbib-0.0.2-validate.patch 349 SHA256 9c0b19a0149dc18fc82c5166c9a14ab20131124526965b575c11782f04622e11 SHA512 fffd683dc018889793dc9371c756ec89c89d7de0a1c863aba9bac3fad8660baf16688b02831f83c07642de401c134ed86b62e34c95018c8836c714ad2fe89035 WHIRLPOOL 5a19e9e2e009ef2725376c30908af7e8c44dfb7a5baba75c9d5d63b8e7bc92b58988a4c7947fadc590dfe7aac8d61e603499b5e3177b5877f1aa67abccff465f
+DIST xfbib-0.0.2.tar.bz2 340703 SHA256 eeb668b5cedbc9a9b4d8e54767fb7262f173dd9e440031b94580ca108b95f920 SHA512 7f6f812bfdb6b95574f66b63e51fb1a70ce20fd795b6070b055cdc8e753656a266237be92a7e60865d9f1e5fa750be0af3404ecf219a8a5d89dde505c759aebc WHIRLPOOL b45d18574479c42b3fe473d38b217fa603ff0d69a8f678ea328e7af72d8bb92121dfc450e33f46b747e3a8c25e02aa689d16ba61c988bdb28815ffac52bc0807
+EBUILD xfbib-0.0.2-r1.ebuild 926 SHA256 dd8e11836da9a1ada6ee4deabccad9a3bcc6ab31933dc1e67f354fa7f744c6df SHA512 b41007e3fe8929163c416b1ef13ecfb90dbecd270005f47d7a756861a9ad23a82686ff94a665390f6bd061f3b80fdbafbe43b494413e025f7889245fd8673fee WHIRLPOOL 6fa424a65608b2dee541bf768fd8767f8c49c4102e070e13aa83ea6612a28b3b97024b554faae089045309b5a8294be38e90ccde92d723701717f7d325caa964
+MISC ChangeLog 2250 SHA256 162e6782a69eadf6ce1512d5e9e3994a25dd3e39338a5c3fbbe2f2e0e9dc1884 SHA512 af6b360b331b4a4d3b92a5e833291c46b616418a77870f5b53f8ab1f33a1694600764dbed823f9e36b7b07e395e45efef5d22ee69a138c5a9d101fa2a54a3cc9 WHIRLPOOL ae03b1640f74c65526234e78825748e8c854b739aeab0e57dcbd1854d4a5bdbbe3a97479cc616af08089b54fc9d0d0fcf1b49a97e7eb665f95922c7c98f28cce
+MISC ChangeLog-2015 1306 SHA256 c1d5f3e82d8be7b6d376c71fa399c3098c2c65ede817865e0cb70142a8925348 SHA512 40eeeaebf3199aefa0f8b8aa08c417942ead1bdd975ee6bdcea4d417d83dcdc4b196aa5a8537ae03c0e973874ae5af4984e40072c21884a33b98a7ddecb8f4c4 WHIRLPOOL 9f517b00802a5a63b71243cc8d62d15e5c9ae25054871d39a6965b5c7098187c314288b9f7e31323b0d14d4165dc49ffa557fe4cc172ed97b43c52cf33159cf9
+MISC metadata.xml 247 SHA256 5e270543b0f1e81148a19b29d77d40191169f37a8b3e34c7c08bdca376150864 SHA512 25494c0053fb7b2ed0f78ecc2de8a8ae08a971db8e15f89e906a1d43177fef53eb9ec5dd075a5c67ddee2be112c0943f6c87e4870d405436bddfea3a4fa19203 WHIRLPOOL 15305f8aec1b5f5e255d6378d5b44652a3958e808017fd8ba00350b667528753ff0466bcf5b9b28b683fd3341d25bf8884396730003f071515ad28146d33893b
diff --git a/app-text/xfbib/files/xfbib-0.0.2-libxfce4ui.patch b/app-text/xfbib/files/xfbib-0.0.2-libxfce4ui.patch
new file mode 100644
index 000000000000..0759dbf4e61d
--- /dev/null
+++ b/app-text/xfbib/files/xfbib-0.0.2-libxfce4ui.patch
@@ -0,0 +1,106 @@
+http://bugzilla.xfce.org/show_bug.cgi?id=9568
+
+--- src/entry_edit_dialog.c
++++ src/entry_edit_dialog.c
+@@ -17,7 +17,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <config.h>
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+
+ #include "entry_edit_dialog.h"
+ #include "entry.h"
+@@ -589,11 +589,13 @@
+ key = (char *) gtk_entry_get_text(GTK_ENTRY(key_entry));
+ if ((type = gtk_combo_box_get_active_text(GTK_COMBO_BOX(combobox))) == NULL) {
+ _DEBUG(("No type selected"));
+- xfce_warn(_("No type was selected"));
++ /* xfce_warn(_("No type was selected")); */
++ xfce_dialog_show_warning(NULL,NULL,_("No type was selected"));
+ continue;
+ } else if (strcmp(key, "") == 0) {
+ _DEBUG(("No key selected"));
+- xfce_warn(_("No key was selected"));
++ /* xfce_warn(_("No key was selected")); */
++ xfce_dialog_show_warning(NULL,NULL,_("No key was selected"));
+ continue;
+ } else {
+ if (selected == NULL) {
+--- src/menubar.c
++++ src/menubar.c
+@@ -15,7 +15,7 @@
+ */
+
+ #include <gtk/gtk.h>
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+ #include <libintl.h>
+ #include <config.h>
+
+--- src/open.c
++++ src/open.c
+@@ -14,7 +14,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+ #include <config.h>
+ #include <string.h>
+ #include <stdlib.h>
+--- src/open_dialog.c
++++ src/open_dialog.c
+@@ -14,7 +14,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+ #include <libintl.h>
+ #include <string.h>
+ #include <stdlib.h>
+--- src/save_dialog.c
++++ src/save_dialog.c
+@@ -15,7 +15,7 @@
+ */
+
+ #include <libintl.h>
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+ #include <config.h>
+
+ #include "xfbib.h"
+--- src/string_edit_dialog.c
++++ src/string_edit_dialog.c
+@@ -15,7 +15,7 @@
+ */
+
+ #include <gtk/gtk.h>
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+
+ #include "debug.h"
+ #include "strings.h"
+--- src/treeview.c
++++ src/treeview.c
+@@ -14,7 +14,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+ #include <libintl.h>
+ #include <config.h>
+ #include <string.h>
+--- src/xfbib.c
++++ src/xfbib.c
+@@ -20,7 +20,7 @@
+
+ #include <gtk/gtk.h>
+ #include <stdlib.h>
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+ #include <libintl.h>
+
+ #include "window.h"
diff --git a/app-text/xfbib/files/xfbib-0.0.2-validate.patch b/app-text/xfbib/files/xfbib-0.0.2-validate.patch
new file mode 100644
index 000000000000..a072b730c3a6
--- /dev/null
+++ b/app-text/xfbib/files/xfbib-0.0.2-validate.patch
@@ -0,0 +1,19 @@
+--- xfbib.desktop
++++ xfbib.desktop
+@@ -1,13 +1,11 @@
+-
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Xfbib
+ Exec=xfbib
+ Icon=xfbib
+ Type=Application
+ Comment=A BibTeX editor for Xfce
+-Terminal=0
+-MimeType=text/x-bibtex
+-Categories=Application;Office;GTK;
++Terminal=false
++MimeType=text/x-bibtex;
++Categories=Office;GTK;
+ GenericName=
+ StartupNotify=false
diff --git a/app-text/xfbib/metadata.xml b/app-text/xfbib/metadata.xml
new file mode 100644
index 000000000000..359901b31db4
--- /dev/null
+++ b/app-text/xfbib/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 type="project">
+ <email>xfce@gentoo.org</email>
+ <name>XFCE Team</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-text/xfbib/xfbib-0.0.2-r1.ebuild b/app-text/xfbib/xfbib-0.0.2-r1.ebuild
new file mode 100644
index 000000000000..2447fd8df262
--- /dev/null
+++ b/app-text/xfbib/xfbib-0.0.2-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit xfconf
+
+DESCRIPTION="a lightweight BibTeX editor"
+HOMEPAGE="https://goodies.xfce.org/projects/applications/xfbib"
+SRC_URI="https://goodies.xfce.org/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.12
+ >=x11-libs/gtk+-2.10:2
+ >=xfce-base/libxfce4ui-4.8
+ >=xfce-base/libxfce4util-4.8"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+pkg_setup() {
+ PATCHES=(
+ "${FILESDIR}"/${P}-validate.patch
+ "${FILESDIR}"/${P}-libxfce4ui.patch
+ )
+
+ DOCS=( AUTHORS ChangeLog NEWS README TODO )
+}
+
+src_prepare() {
+ # This is to prevent eautoreconfigure:
+ sed -i -e 's:libxfcegui4-1.0:libxfce4ui-1:' configure || die
+ sed -i -e 's:$(LIBXFCE4UTIL_CFLAGS):& $(LIBXFCEGUI4_CFLAGS):' src/Makefile.in || die
+
+ xfconf_src_prepare
+}