public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-libs/utf8proc/, dev-libs/utf8proc/files/
@ 2014-01-27  3:00 Guillaume Horel
  0 siblings, 0 replies; 3+ messages in thread
From: Guillaume Horel @ 2014-01-27  3:00 UTC (permalink / raw
  To: gentoo-commits

commit:     326596f002769e7a6a8d744b2c79ae7c2b2bb747
Author:     Uwe L. Korn <uwelk <AT> xhochy <DOT> com>
AuthorDate: Sun Jan 26 19:06:22 2014 +0000
Commit:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Sun Jan 26 19:06:22 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=326596f0

Add ebuild for utf8proc

Package-Manager: portage-2.2.7

---
 dev-libs/utf8proc/ChangeLog                        |  9 ++++++
 .../utf8proc/files/utf8proc-1.1.6-buildflags.patch | 11 +++++++
 .../utf8proc/files/utf8proc-1.1.6-soname.patch     | 11 +++++++
 dev-libs/utf8proc/metadata.xml                     |  5 +++
 dev-libs/utf8proc/utf8proc-1.1.6.ebuild            | 36 ++++++++++++++++++++++
 5 files changed, 72 insertions(+)

diff --git a/dev-libs/utf8proc/ChangeLog b/dev-libs/utf8proc/ChangeLog
new file mode 100644
index 0000000..f859697
--- /dev/null
+++ b/dev-libs/utf8proc/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-libs/utf8proc
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*utf8proc-1.1.6 (26 Jan 2014)
+
+  26 Jan 2014;  <xhochy@gentoo.org> +files/utf8proc-1.1.6-buildflags.patch,
+  +files/utf8proc-1.1.6-soname.patch, +metadata.xml, +utf8proc-1.1.6.ebuild:
+  Add ebuild for utf8proc

diff --git a/dev-libs/utf8proc/files/utf8proc-1.1.6-buildflags.patch b/dev-libs/utf8proc/files/utf8proc-1.1.6-buildflags.patch
new file mode 100644
index 0000000..d9ff3be
--- /dev/null
+++ b/dev-libs/utf8proc/files/utf8proc-1.1.6-buildflags.patch
@@ -0,0 +1,11 @@
+--- a/Makefile	2014-01-26 18:55:57.400996757 +0000
++++ b/Makefile	2014-01-26 19:00:10.264164095 +0000
+@@ -3,7 +3,7 @@
+ 
+ # settings
+ 
+-cflags = -O2 -std=c99 -pedantic -Wall -fpic $(CFLAGS)
++cflags = -std=c99 -pedantic -fpic $(CFLAGS)
+ cc = $(CC) $(cflags)
+ 
+ 

diff --git a/dev-libs/utf8proc/files/utf8proc-1.1.6-soname.patch b/dev-libs/utf8proc/files/utf8proc-1.1.6-soname.patch
new file mode 100644
index 0000000..c046370
--- /dev/null
+++ b/dev-libs/utf8proc/files/utf8proc-1.1.6-soname.patch
@@ -0,0 +1,11 @@
+--- a/Makefile	2014-01-26 19:01:17.723542649 +0000
++++ b/Makefile	2014-01-26 19:02:24.532907919 +0000
+@@ -34,7 +34,7 @@
+ 	ar rs libutf8proc.a utf8proc.o
+ 
+ libutf8proc.so: utf8proc.o
+-	$(cc) -shared -o libutf8proc.so utf8proc.o
++	$(cc) -Wl,-soname,libutf8proc.so -shared -o libutf8proc.so utf8proc.o
+ 	chmod a-x libutf8proc.so
+ 
+ libutf8proc.dylib: utf8proc.o

diff --git a/dev-libs/utf8proc/metadata.xml b/dev-libs/utf8proc/metadata.xml
new file mode 100644
index 0000000..d369d06
--- /dev/null
+++ b/dev-libs/utf8proc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>sci</herd>
+</pkgmetadata>

diff --git a/dev-libs/utf8proc/utf8proc-1.1.6.ebuild b/dev-libs/utf8proc/utf8proc-1.1.6.ebuild
new file mode 100644
index 0000000..81df460
--- /dev/null
+++ b/dev-libs/utf8proc/utf8proc-1.1.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="library for processing UTF-8 encoded Unicode strings"
+HOMEPAGE="http://www.public-software-group.org/utf8proc"
+SRC_URI="http://www.public-software-group.org/pub/projects/${PN}/v${PV}/utf8proc-v${PV}.tar.gz"
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-soname.patch \
+		"${FILESDIR}"/${P}-buildflags.patch
+}
+
+src_compile() {
+	emake libutf8proc.so
+	use static-libs & emake libutf8proc.a
+}
+
+src_install() {
+	doheader utf8proc.h
+	dolib.so libutf8proc.so
+	use static-libs && dolib.a libutf8proc.a
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-libs/utf8proc/, dev-libs/utf8proc/files/
@ 2015-05-23 15:53 Justin Lecher
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Lecher @ 2015-05-23 15:53 UTC (permalink / raw
  To: gentoo-commits

commit:     3d80e4ae6a859f3a51dc77b1470622572177a312
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu May 21 12:26:00 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu May 21 12:26:00 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3d80e4ae

dev-libs/utf8proc: Version bump

Package-Manager: portage-2.2.18

 dev-libs/utf8proc/ChangeLog                        |  8 +++++-
 .../utf8proc/files/utf8proc-1.2-buildflags.patch   | 14 ++++++++++
 dev-libs/utf8proc/utf8proc-1.2.ebuild              | 31 ++++++++++++++++++++++
 3 files changed, 52 insertions(+), 1 deletion(-)

diff --git a/dev-libs/utf8proc/ChangeLog b/dev-libs/utf8proc/ChangeLog
index f5afbed..f822d34 100644
--- a/dev-libs/utf8proc/ChangeLog
+++ b/dev-libs/utf8proc/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for dev-libs/utf8proc
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*utf8proc-1.2 (21 May 2015)
+
+  21 May 2015; Marius Brehler <marbre@linux.sungazer.de>
+  +files/utf8proc-1.2-buildflags.patch, +utf8proc-1.2.ebuild:
+  Version bump
+
   02 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
   utf8proc-1.1.6.ebuild:
   dev-libs/utf8proc: Keyworded for amd64-linux x86-linux

diff --git a/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch b/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch
new file mode 100644
index 0000000..4d583e4
--- /dev/null
+++ b/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch
@@ -0,0 +1,14 @@
+Adjust build flags. Proted from 1.1.6.
+
+Patch by Marius Brehler.
+--- Makefile
++++ Makefile
+@@ -6,7 +6,7 @@ AR=ar
+ INSTALL=install
+ 
+ # compiler settings
+-cflags = -O2 -std=c99 -pedantic -Wall -fpic -DUTF8PROC_EXPORTS $(CFLAGS)
++cflags = -std=c99 -pedantic -fpic -DUTF8PROC_EXPORTS $(CFLAGS)
+ cc = $(CC) $(cflags)
+ 
+ # shared-library version MAJOR.MINOR.PATCH ... this may be *different*

diff --git a/dev-libs/utf8proc/utf8proc-1.2.ebuild b/dev-libs/utf8proc/utf8proc-1.2.ebuild
new file mode 100644
index 0000000..349806f
--- /dev/null
+++ b/dev-libs/utf8proc/utf8proc-1.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="library for processing UTF-8 encoded Unicode strings"
+HOMEPAGE="http://www.public-software-group.org/utf8proc"
+SRC_URI="https://github.com/JuliaLang/${PN}/archive/v1.2.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+src_prepare() {
+	epatch "${FILESDIR}"/"${P}"-buildflags.patch
+}
+
+src_compile() {
+	emake libutf8proc.so
+	use static-libs & emake libutf8proc.a
+}
+
+src_install() {
+	doheader utf8proc.h
+	dolib.so libutf8proc.so
+	use static-libs && dolib.a libutf8proc.a
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-libs/utf8proc/, dev-libs/utf8proc/files/
@ 2020-09-25 22:19 Aisha Tammy
  0 siblings, 0 replies; 3+ messages in thread
From: Aisha Tammy @ 2020-09-25 22:19 UTC (permalink / raw
  To: gentoo-commits

commit:     ba0fefe2733ba8b98884c9778c9c1c6f1d2ada7d
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 22:16:08 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 22:16:08 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ba0fefe2

dev-libs/utf8proc: version bump to 2.5.0

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --force
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 .../utf8proc/files/utf8proc-2.5.0-libdir.patch     | 15 +++++++++++++
 dev-libs/utf8proc/utf8proc-2.5.0.ebuild            | 26 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-libs/utf8proc/files/utf8proc-2.5.0-libdir.patch b/dev-libs/utf8proc/files/utf8proc-2.5.0-libdir.patch
new file mode 100644
index 000000000..8054c7ae3
--- /dev/null
+++ b/dev-libs/utf8proc/files/utf8proc-2.5.0-libdir.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bfc3f9b..8fef4af 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -52,8 +52,8 @@ set_target_properties (utf8proc PROPERTIES
+ if (UTF8PROC_INSTALL)
+   install(TARGETS utf8proc
+     RUNTIME DESTINATION bin
+-    LIBRARY DESTINATION lib
+-    ARCHIVE DESTINATION lib)
++    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++    ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ 
+   install(
+     FILES

diff --git a/dev-libs/utf8proc/utf8proc-2.5.0.ebuild b/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
new file mode 100644
index 000000000..a44b3c93c
--- /dev/null
+++ b/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils toolchain-funcs cmake
+
+DESCRIPTION="library for processing UTF-8 encoded Unicode strings"
+HOMEPAGE="http://www.public-software-group.org/utf8proc"
+SRC_URI="https://github.com/JuliaLang/utf8proc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+PATCHES=( "${FILESDIR}"/${P}-libdir.patch )
+
+src_configure() {
+	local mycmakeargs=(
+		-DUTF8PROC_INSTALL=ON
+		-DUTF8PROC_ENABLE_TESTING=$(usex test)
+	)
+	cmake_src_configure
+}
\ No newline at end of file


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-25 22:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-23 15:53 [gentoo-commits] proj/sci:master commit in: dev-libs/utf8proc/, dev-libs/utf8proc/files/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2020-09-25 22:19 Aisha Tammy
2014-01-27  3:00 Guillaume Horel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox