mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-visualization/fityk: drop 1.3.1-r102
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST fityk-1.3.1.tar.bz2 1518937 BLAKE2B 6eb13646e1b5cf3fb0763bcf3e91a1877d89f14f1b986f1065fd27052e7110b357c99431a326a6c1fa2ba002300912b922cd3d5589ac5da367d2fbcee209f9a2 SHA512 4a7a65691af8b8d5b47461133b7870ea21ea04ac2ee8ee5714a6b9bab2f072baa6b5d8bf011baba09c62a7ce2dc9d60f3040cc6fdb77dc498b6e03a24fc0fe08
|
||||
DIST fityk-1.3.2.tar.bz2 1611794 BLAKE2B 294d64ed34532e7c126a7128c6f027004c86093293f335d5d900bffc5e1fc6d56b48f8a1ca0739f00b9983f9d21c544a3296a12e187401c0bf429cb545be10d7 SHA512 6871358cc1d12479f4ae8d76260412095fa17247b2bd76d7b036be330d73b8aac6d242239aea5c086a2eefad1bc387caa83e5a61452016cd77ea6a88e387aee3
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
From 85ea545db65d7c6fbb94988b85f1e8cf1c9cbba5 Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Wojdyr <wojdyr@gmail.com>
|
||||
Date: Sun, 17 Jan 2021 19:18:47 +0100
|
||||
Subject: [PATCH] allow building with wxGTK3 (closes #32)
|
||||
|
||||
It works, but with some problems.
|
||||
|
||||
The separator in wxSplitterWindow is not updated, as per:
|
||||
http://trac.wxwidgets.org/ticket/16890
|
||||
|
||||
wxSpinCtrl is much wider (it has [+][-] instead of arrows)
|
||||
---
|
||||
wxgui/app.cpp | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/wxgui/app.cpp b/wxgui/app.cpp
|
||||
index 526c8f14..1041eccf 100644
|
||||
--- a/wxgui/app.cpp
|
||||
+++ b/wxgui/app.cpp
|
||||
@@ -8,11 +8,6 @@
|
||||
#include <wx/filesys.h>
|
||||
#include <wx/tooltip.h>
|
||||
|
||||
-#ifdef __WXGTK3__
|
||||
-#error "Not everything is working with wxGTK3. Use default wxGTK instead, " \
|
||||
- "based on GTK+2. If you want to test it, just remove this #error."
|
||||
-#endif
|
||||
-
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <vector>
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..3} )
|
||||
WX_GTK_VER=3.0-gtk3
|
||||
|
||||
inherit flag-o-matic lua-single wxwidgets xdg
|
||||
|
||||
DESCRIPTION="General-purpose nonlinear curve fitting and data analysis"
|
||||
HOMEPAGE="https://fityk.nieto.pl/"
|
||||
SRC_URI="https://github.com/wojdyr/${PN}/releases/download/v${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="gnuplot nlopt readline wxwidgets"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
${LUA_DEPS}
|
||||
dev-libs/boost:=
|
||||
>=sci-libs/xylib-1
|
||||
nlopt? ( sci-libs/nlopt )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )"
|
||||
RDEPEND="${DEPEND}
|
||||
gnuplot? ( sci-visualization/gnuplot )"
|
||||
BDEPEND="dev-lang/swig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-fix-gtk3.patch )
|
||||
|
||||
src_configure() {
|
||||
# codebase relies on dynamic exception specifications
|
||||
# for SWIG, no point in trying to fix at this point.
|
||||
# https://github.com/wojdyr/fityk/pull/38
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
use wxwidgets && setup-wxwidgets
|
||||
|
||||
econf \
|
||||
--disable-python \
|
||||
--disable-static \
|
||||
$(use_enable nlopt) \
|
||||
$(use_enable wxwidgets GUI) \
|
||||
$(use_with readline) \
|
||||
--with-wx-config="${WX_CONFIG}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# no static archives
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user