From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/uchardet/, app-i18n/uchardet/files/
Date: Sat, 17 Mar 2018 10:55:04 +0000 (UTC) [thread overview]
Message-ID: <1521284090.83e28e9814824cce13db4f7ee5b07f86a3d73bf2.mgorny@gentoo> (raw)
commit: 83e28e9814824cce13db4f7ee5b07f86a3d73bf2
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Fri Mar 16 18:57:17 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 17 10:54:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e28e98
app-i18n/uchardet: remove old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
...hardet-0.0.6-enforce-IEEE-float-precision.patch | 53 ----------------------
app-i18n/uchardet/uchardet-0.0.6-r1.ebuild | 30 ------------
app-i18n/uchardet/uchardet-0.0.6.ebuild | 31 -------------
3 files changed, 114 deletions(-)
diff --git a/app-i18n/uchardet/files/uchardet-0.0.6-enforce-IEEE-float-precision.patch b/app-i18n/uchardet/files/uchardet-0.0.6-enforce-IEEE-float-precision.patch
deleted file mode 100644
index 010fe6a3140..00000000000
--- a/app-i18n/uchardet/files/uchardet-0.0.6-enforce-IEEE-float-precision.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-Add configuration option to enable SSE2.
-Add -ffloat-store flag on x86 without SSE2.
-
-Gentoo bug: https://bugs.gentoo.org/631852
-Upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=101033
-
-This patch is an aggregation of the following upstream commits:
-5996bbd995aed5045cc22e4d1fab08c989377983
-77bf71ea365a19ac55c59cf10399b566a02d82c1
-939482ab2b5a6585bdd2e5251f3f2f113d64686f
-cd617d181de03a7a13c2020e6c73cd14585e24b6
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 84270e3..e212b4a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,5 +1,6 @@
- ######## Project settings
- cmake_minimum_required(VERSION 2.8.5)
-+include(CheckCCompilerFlag)
- set (PACKAGE_NAME uchardet)
- project (${PACKAGE_NAME} CXX C)
- enable_testing()
-@@ -35,13 +36,27 @@ include(GNUInstallDirs)
-
- ######## Configuration
-
--option(BUILD_BINARY "Build executable" ON)
--option(BUILD_SHARED_LIBS "Build shared library and link executable to it" ON)
-+option(BUILD_BINARY "Build the CLI tool." ON)
-+option(BUILD_SHARED_LIBS "Build shared library and link executable to it." ON)
-+option(CHECK_SSE2 "Check and enable SSE2 extensions if supported. Disabling SSE on platforms which support it may decrease performances." ON)
-
- if (BUILD_SHARED_LIBS)
- option(BUILD_STATIC "Build static library" ON)
- endif (BUILD_SHARED_LIBS)
-
-+string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} TARGET_ARCHITECTURE)
-+if (TARGET_ARCHITECTURE MATCHES ".*(x86)|(amd).*")
-+ CHECK_C_COMPILER_FLAG(-msse2 SUPPORTS_CFLAG_SSE2)
-+ CHECK_C_COMPILER_FLAG(-mfpmath=sse SUPPORTS_CFLAG_SSE_MATH)
-+ if (CHECK_SSE2 AND SUPPORTS_CFLAG_SSE2 AND SUPPORTS_CFLAG_SSE_MATH)
-+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -mfpmath=sse")
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -mfpmath=sse")
-+ else (CHECK_SSE2 AND SUPPORTS_CFLAG_SSE2 AND SUPPORTS_CFLAG_SSE_MATH)
-+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffloat-store")
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffloat-store")
-+ endif (CHECK_SSE2 AND SUPPORTS_CFLAG_SSE2 AND SUPPORTS_CFLAG_SSE_MATH)
-+endif (TARGET_ARCHITECTURE MATCHES ".*(x86)|(amd).*")
-+
- configure_file(
- uchardet.pc.in
- uchardet.pc
diff --git a/app-i18n/uchardet/uchardet-0.0.6-r1.ebuild b/app-i18n/uchardet/uchardet-0.0.6-r1.ebuild
deleted file mode 100644
index 408937d901e..00000000000
--- a/app-i18n/uchardet/uchardet-0.0.6-r1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="An encoding detector library"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/"
-SRC_URI="https://www.freedesktop.org/software/uchardet/releases/${P}.tar.xz"
-
-LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 ~x86"
-IUSE="cpu_flags_x86_sse2 static-libs test"
-
-PATCHES=( "${FILESDIR}/${P}-enforce-IEEE-float-precision.patch" )
-
-src_prepare() {
- cmake-utils_src_prepare
- use test || cmake_comment_add_subdirectory test
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_STATIC=$(usex static-libs)
- -DCHECK_SSE2=$(usex cpu_flags_x86_sse2)
- )
- cmake-utils_src_configure
-}
diff --git a/app-i18n/uchardet/uchardet-0.0.6.ebuild b/app-i18n/uchardet/uchardet-0.0.6.ebuild
deleted file mode 100644
index fc32c0008b4..00000000000
--- a/app-i18n/uchardet/uchardet-0.0.6.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="An encoding detector library"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/"
-SRC_URI="https://www.freedesktop.org/software/uchardet/releases/${P}.tar.xz"
-
-LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 x86"
-IUSE="static-libs test"
-
-src_prepare() {
- cmake-utils_src_prepare
- use test || cmake_comment_add_subdirectory test
-
- # Remove flaky test. See Gentoo bug 631852.
- # Track https://bugs.freedesktop.org/show_bug.cgi?id=101033
- rm test/th/tis-620.txt || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_STATIC=$(usex static-libs)
- )
- cmake-utils_src_configure
-}
next reply other threads:[~2018-03-17 10:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-17 10:55 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-20 7:28 [gentoo-commits] repo/gentoo:master commit in: app-i18n/uchardet/, app-i18n/uchardet/files/ Ionen Wolkens
2021-02-27 17:50 Andreas Sturmlechner
2018-01-21 20:56 Thomas Deutschmann
2017-11-19 14:32 David Seifert
2017-04-10 9:16 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1521284090.83e28e9814824cce13db4f7ee5b07f86a3d73bf2.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox