summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/qalculate-gtk/Manifest1
-rw-r--r--sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-entry.patch18
-rw-r--r--sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-wformat-security.patch48
-rw-r--r--sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7-r1.ebuild44
-rw-r--r--sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7.ebuild39
5 files changed, 0 insertions, 150 deletions
diff --git a/sci-calculators/qalculate-gtk/Manifest b/sci-calculators/qalculate-gtk/Manifest
index 9574898ac444..3653e55bf7fd 100644
--- a/sci-calculators/qalculate-gtk/Manifest
+++ b/sci-calculators/qalculate-gtk/Manifest
@@ -1,2 +1 @@
-DIST qalculate-gtk-0.9.7.tar.gz 1511036 SHA256 a4ea8ee2366ac3ad53bb17fd2f76a7bed7211640cf2fdadfcf3b79eb4b37282d SHA512 d9dca6298caba85ac763a734c06b29d8786edd6769b81ddeef70d81e6d3cda529a92e2489a1b450de3b42edbd076a30f616b894e10100469e42edcc0a47016af WHIRLPOOL e0086c43ca8c419595a558fbc8e0b6b2b45a25429f40870076a553b5ccba19ae612fca27246b6bf93127603a53b46fc0fb587cf5e0487bb76ad1f73435b7b5a7
DIST qalculate-gtk-0.9.9.tar.gz 1283947 SHA256 5c88b7595b654c128d0aa56c16e80b6e02e5cfc6378112000fb01133872d024a SHA512 944fad21d96de4a9d6b01fe259efb72f4872dd555357577fff18dca5bc4022c77d894b5cf8a0b470fbb02331de21210a6f034627346e08dc57be2f7c08e9faef WHIRLPOOL a42218f4959e2ed2987cd5461ea625eb84ba4256638da320cb71a4c361528d954d3e2adc8693fe5be54907b97ab6d8125e5fc9d69ded5c44239ce49e5138c357
diff --git a/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-entry.patch b/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-entry.patch
deleted file mode 100644
index 104662e7c608..000000000000
--- a/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-entry.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Update to latest freedesktop spec.
-
---- qalculate-gtk-0.9.7/data/qalculate-gtk.desktop.in
-+++ qalculate-gtk-0.9.7/data/qalculate-gtk.desktop.in
-@@ -1,11 +1,9 @@
- [Desktop Entry]
--Encoding=UTF-8
- _Name=Qalculate!
- _Comment=Powerful and easy to use calculator
- Exec=qalculate-gtk
--Icon=qalculate.png
-+Icon=qalculate
- Terminal=false
- Type=Application
- StartupNotify=true
--Categories=GNOME;Application;Utility;
--
-+Categories=GTK;Utility;
diff --git a/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-wformat-security.patch b/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-wformat-security.patch
deleted file mode 100644
index dee57dd54503..000000000000
--- a/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.7-wformat-security.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Fix -Werror=format-security errors
-https://bugs.gentoo.org/show_bug.cgi?id=541986
-
-callbacks.cc: In function ‘void show_message(const gchar*, GtkWidget*)’:
-callbacks.cc:391:137: error: format not a string literal and no format arguments [-Werror=format-security]
- GtkWidget *edialog = gtk_message_dialog_new(GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, text);
-
---- qalculate-gtk-0.9.7/src/callbacks.cc
-+++ qalculate-gtk-0.9.7/src/callbacks.cc
-@@ -388,12 +388,12 @@
- }
-
- void show_message(const gchar *text, GtkWidget *win) {
-- GtkWidget *edialog = gtk_message_dialog_new(GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, text);
-+ GtkWidget *edialog = gtk_message_dialog_new(GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", text);
- gtk_dialog_run(GTK_DIALOG(edialog));
- gtk_widget_destroy(edialog);
- }
- bool ask_question(const gchar *text, GtkWidget *win) {
-- GtkWidget *edialog = gtk_message_dialog_new(GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_YES_NO, text);
-+ GtkWidget *edialog = gtk_message_dialog_new(GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_YES_NO, "%s", text);
- int question_answer = gtk_dialog_run(GTK_DIALOG(edialog));
- gtk_widget_destroy(edialog);
- return question_answer == GTK_RESPONSE_YES;
-@@ -654,6 +654,7 @@
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_INFO,
- GTK_BUTTONS_CLOSE,
-+ "%s",
- CALCULATOR->message()->message().c_str());
- gtk_dialog_run(GTK_DIALOG(edialog));
- gtk_widget_destroy(edialog);
-@@ -667,6 +668,7 @@
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR,
- GTK_BUTTONS_CLOSE,
-+ "%s",
- str.c_str());
- } else {
- edialog = gtk_message_dialog_new(
-@@ -674,6 +676,7 @@
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_WARNING,
- GTK_BUTTONS_CLOSE,
-+ "%s",
- str.c_str());
- }
-
diff --git a/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7-r1.ebuild b/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7-r1.ebuild
deleted file mode 100644
index 90f4170ae297..000000000000
--- a/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-GCONF_DEBUG=no
-inherit eutils gnome2
-
-DESCRIPTION="Modern multi-purpose calculator"
-HOMEPAGE="http://qalculate.sourceforge.net/"
-SRC_URI="mirror://sourceforge/qalculate/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="gnome"
-
-RDEPEND=">=sci-libs/libqalculate-0.9.7
- >=sci-libs/cln-1.2
- x11-libs/gtk+:2
- gnome-base/libglade:2.0
- gnome? ( >=gnome-base/libgnome-2 )"
-DEPEND="${RDEPEND}
- app-text/rarian
- sys-devel/gettext
- dev-util/intltool
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}/${P}-entry.patch"
- "${FILESDIR}/${P}-wformat-security.patch"
-)
-DOCS="AUTHORS ChangeLog NEWS README TODO"
-
-src_prepare() {
- # Required by src_test() and `make check`
- echo data/periodictable.glade > po/POTFILES.skip || die
- epatch -p1 "${PATCHES[@]}"
- gnome2_src_prepare
-}
-
-src_configure() {
- gnome2_src_configure $(use_with gnome libgnome)
-}
diff --git a/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7.ebuild b/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7.ebuild
deleted file mode 100644
index ad6dd4f1dc7c..000000000000
--- a/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.7.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-GCONF_DEBUG=no
-inherit eutils gnome2
-
-DESCRIPTION="Modern multi-purpose calculator"
-HOMEPAGE="http://qalculate.sourceforge.net/"
-SRC_URI="mirror://sourceforge/qalculate/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux"
-IUSE="gnome"
-
-RDEPEND=">=sci-libs/libqalculate-0.9.7
- >=sci-libs/cln-1.2
- x11-libs/gtk+:2
- gnome-base/libglade:2.0
- gnome? ( >=gnome-base/libgnome-2 )"
-DEPEND="${RDEPEND}
- app-text/rarian
- sys-devel/gettext
- dev-util/intltool
- virtual/pkgconfig"
-
-pkg_setup() {
- DOCS="AUTHORS ChangeLog NEWS README TODO"
- G2CONF="$(use_with gnome libgnome)"
-}
-
-src_prepare() {
- # Required by src_test() and `make check`
- echo data/periodictable.glade > po/POTFILES.skip
- epatch "${FILESDIR}"/${P}-entry.patch
- gnome2_src_prepare
-}