summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/uvconv
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/uvconv')
-rw-r--r--app-text/uvconv/Manifest1
-rw-r--r--app-text/uvconv/files/uvconv-1.1.3b-gcc43.patch10
-rw-r--r--app-text/uvconv/files/uvconv-1.1.3b-ldflags.patch13
-rw-r--r--app-text/uvconv/metadata.xml8
-rw-r--r--app-text/uvconv/uvconv-1.1.3b-r1.ebuild33
5 files changed, 65 insertions, 0 deletions
diff --git a/app-text/uvconv/Manifest b/app-text/uvconv/Manifest
new file mode 100644
index 00000000000..5203bf60828
--- /dev/null
+++ b/app-text/uvconv/Manifest
@@ -0,0 +1 @@
+DIST uvconv-1.1.3b.tar.gz 36895 SHA256 b5c7ae6c6ae62de748dd24cc2665a4e18f2ae14a999004d64551823235b4bf14 SHA512 4a5058dea321b7441699ffdd8c5ef9f1f72632ef5e73ecce1d59434b8e8ea7c028739ba7f79123e7bc08439249cbc5b590e3341970ba576149b6d5e42a3d4c87 WHIRLPOOL b716972cc114975fb560cbf5950fb635abcc63ebc0bb41755363433286a3abf9978678058176cd8df50d9bc7f04d8ab5101dc8f5de14b4b590b81d23c8095c6b
diff --git a/app-text/uvconv/files/uvconv-1.1.3b-gcc43.patch b/app-text/uvconv/files/uvconv-1.1.3b-gcc43.patch
new file mode 100644
index 00000000000..900bfa90740
--- /dev/null
+++ b/app-text/uvconv/files/uvconv-1.1.3b-gcc43.patch
@@ -0,0 +1,10 @@
+--- uvconv.orig/uvconvert/uvconvert.cpp 2004-07-26 05:19:18.000000000 +0900
++++ uvconv/uvconvert/uvconvert.cpp 2008-12-17 17:57:23.000000000 +0900
+@@ -19,6 +19,7 @@
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ --------------------------------------------------------------------------------*/
+
++#include <cstring>
+ #include "prehdr.h"
+ #include "vnconv.h"
+
diff --git a/app-text/uvconv/files/uvconv-1.1.3b-ldflags.patch b/app-text/uvconv/files/uvconv-1.1.3b-ldflags.patch
new file mode 100644
index 00000000000..3aef9b3c303
--- /dev/null
+++ b/app-text/uvconv/files/uvconv-1.1.3b-ldflags.patch
@@ -0,0 +1,13 @@
+diff --git a/uvconvert/Makefile b/uvconvert/Makefile
+index 8819779..c610965 100644
+--- a/uvconvert/Makefile
++++ b/uvconvert/Makefile
+@@ -6,7 +6,7 @@ OPTFLAGS="-O3"
+
+ all: uvconv
+ uvconv: ${OBJS} libvnconv
+- ${CXX} ${CXXFLAGS} ${OPTFLAGS} -o $@ ${OBJS} ${LIBS}
++ ${CXX} ${CXXFLAGS} ${OPTFLAGS} -o $@ ${OBJS} ${LIBS} ${LDFLAGS}
+
+ ${OBJS}: %.o: %.cpp
+ ${CXX} ${CXXFLAGS} ${OPTFLAGS} -c $< -o $@ -I${INCLUDE_DIR}
diff --git a/app-text/uvconv/metadata.xml b/app-text/uvconv/metadata.xml
new file mode 100644
index 00000000000..c225088eb91
--- /dev/null
+++ b/app-text/uvconv/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cjk</herd>
+ <upstream>
+ <remote-id type="sourceforge">unikey</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/uvconv/uvconv-1.1.3b-r1.ebuild b/app-text/uvconv/uvconv-1.1.3b-r1.ebuild
new file mode 100644
index 00000000000..f1ba96c6dad
--- /dev/null
+++ b/app-text/uvconv/uvconv-1.1.3b-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A small utility that converts among Vietnamese charsets"
+HOMEPAGE="http://unikey.org/"
+SRC_URI="mirror://sourceforge/unikey/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" OPTFLAGS="${CFLAGS}" -C uvconvert
+}
+
+src_install() {
+ dobin uvconvert/${PN}
+ doman uvconv.1
+ dodoc readme.txt AUTHORS CREDITS changes.txt
+}