* [gentoo-commits] proj/betagarden:master commit in: app-misc/tudu/files/, app-misc/tudu/
@ 2011-08-03 23:18 Sebastian Pipping
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Pipping @ 2011-08-03 23:18 UTC (permalink / raw
To: gentoo-commits
commit: 65e2b417ac17edfd06adedf480193735a48b33a5
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Wed Aug 3 23:15:43 2011 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Aug 3 23:15:43 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=65e2b417
app-misc/tudu: 0.8
---
app-misc/tudu/files/tudu-0.8-as-needed.patch | 55 ++++++++++++++++++++++++++
app-misc/tudu/files/tudu-0.8-strip.patch | 11 +++++
app-misc/tudu/metadata.xml | 9 ++++
app-misc/tudu/tudu-0.8.ebuild | 28 +++++++++++++
4 files changed, 103 insertions(+), 0 deletions(-)
diff --git a/app-misc/tudu/files/tudu-0.8-as-needed.patch b/app-misc/tudu/files/tudu-0.8-as-needed.patch
new file mode 100644
index 0000000..49589bc
--- /dev/null
+++ b/app-misc/tudu/files/tudu-0.8-as-needed.patch
@@ -0,0 +1,55 @@
+From 6b60134bb0e7b8d02b787baffc9a434a3676b401 Mon Sep 17 00:00:00 2001
+From: Ruben Pollan <meskio@sindominio.net>
+Date: Sat, 12 Feb 2011 04:12:36 +0100
+Subject: [PATCH] Listing -lncursesw before object (or C) files using it
+
+Fixing debian bug #611077
+---
+ configure | 2 +-
+ configure.acr | 2 +-
+ src/Makefile.acr | 2 +-
+ todo.xml | 15 +++++++++++++++
+ 4 files changed, 18 insertions(+), 3 deletions(-)
+
+diff --git a/configure b/configure
+index 440e600..cc8a569 100755
+--- a/configure
++++ b/configure
+@@ -350,7 +350,7 @@ if [ "$LD_CURSES" = "" ]; then
+ case "$undefined_variable" in 0|"") echo ; echo "ERROR: There is no curses installed!" >&2 ; echo ; exit 1 ;; esac; fi
+ LDFLAGS="${LDFLAGS} $LD_CURSES"
+ printf "checking for WIDEC_CURSES... "
+-echo "#define _XOPEN_SOURCE_EXTENDED" > test.c ; echo "#include<$CURSES_INCLUDE>" >> test.c ; echo "main(){ addwstr(L\"\"); }" >> test.c ; eval \$${COMPILER} ${CXXFLAGS} ${LDFLAGS} test.c >/dev/null 2>&1 ; if [ $? = 0 ]; then WIDEC_CURSES=1; else WIDEC_CURSES=0; fi ; rm test.c
++echo "#define _XOPEN_SOURCE_EXTENDED" > test.c ; echo "#include<$CURSES_INCLUDE>" >> test.c ; echo "main(){ addwstr(L\"\"); }" >> test.c ; eval \$${COMPILER} ${CXXFLAGS} test.c ${LDFLAGS} >/dev/null 2>&1 ; if [ $? = 0 ]; then WIDEC_CURSES=1; else WIDEC_CURSES=0; fi ; rm test.c
+ if [ "$WIDEC_CURSES" = 1 ]; then
+ echo yes
+ else
+diff --git a/configure.acr b/configure.acr
+index 4b99c50..576ec83 100644
+--- a/configure.acr
++++ b/configure.acr
+@@ -40,7 +40,7 @@ CHECK WIDEC_CURSES <<EOF
+ echo "#define _XOPEN_SOURCE_EXTENDED" > test.c \
+ echo "#include<$CURSES_INCLUDE>" >> test.c \
+ echo "main(){ addwstr(L\"\"); }" >> test.c \
+-eval \$${COMPILER} ${CXXFLAGS} ${LDFLAGS} test.c >/dev/null 2>&1 \
++eval \$${COMPILER} ${CXXFLAGS} test.c ${LDFLAGS} >/dev/null 2>&1 \
+ if [ $? = 0 ]; then WIDEC_CURSES=1; else WIDEC_CURSES=0; fi \
+ rm test.c
+ <<EOF
+diff --git a/src/Makefile.acr b/src/Makefile.acr
+index 5e4a611..1ffd124 100644
+--- a/src/Makefile.acr
++++ b/src/Makefile.acr
+@@ -17,7 +17,7 @@ OBJS=$(SRCS:.cc=.o)
+ all: $(PKGNAME)
+
+ $(PKGNAME): $(OBJS)
+- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS)
++ $(CXX) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS)
+
+ .cc.o:
+ $(CXX) $(CXXFLAGS) -c $<
+--
+1.6.1
+
diff --git a/app-misc/tudu/files/tudu-0.8-strip.patch b/app-misc/tudu/files/tudu-0.8-strip.patch
new file mode 100644
index 0000000..f356308
--- /dev/null
+++ b/app-misc/tudu/files/tudu-0.8-strip.patch
@@ -0,0 +1,11 @@
+--- configure 2011-08-04 01:09:54.911612217 +0200
++++ configure 2011-08-04 01:10:17.381329878 +0200
+@@ -98,7 +98,7 @@
+ : ${INSTALL_DIR:=${INSTALL} -d}
+ : ${INSTALL_DATA:=${INSTALL} -m 644}
+ : ${INSTALL_SCRIPT:=${INSTALL} -m 755}
+-: ${INSTALL_PROGRAM:=${INSTALL} -m 755 -s}
++: ${INSTALL_PROGRAM:=${INSTALL} -m 755}
+ : ${INSTALL_MAN:=${INSTALL} -m 444}
+ : ${INSTALL_LIB:=${INSTALL} -c}
+ PKGNAME='tudu' ; VERSION='0.8' ; CONTACT_MAIL="meskio@sindominio.net" ; CONTACT_NAME="Ruben Pollan" ; CONTACT="Ruben Pollan <meskio@sindominio.net>" ;
diff --git a/app-misc/tudu/metadata.xml b/app-misc/tudu/metadata.xml
new file mode 100644
index 0000000..328fbd1
--- /dev/null
+++ b/app-misc/tudu/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/tudu/tudu-0.8.ebuild b/app-misc/tudu/tudu-0.8.ebuild
new file mode 100644
index 0000000..a63cb33
--- /dev/null
+++ b/app-misc/tudu/tudu-0.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit eutils
+
+DESCRIPTION="Command line interface to manage hierarchical todos"
+HOMEPAGE="http://www.cauterized.net/~meskio/tudu/"
+SRC_URI="http://www.cauterized.net/~meskio/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses[unicode]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-{as-needed,strip}.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README ChangeLog CONTRIBUTORS || die
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/betagarden:master commit in: app-misc/tudu/files/, app-misc/tudu/
@ 2011-08-04 13:24 Sebastian Pipping
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Pipping @ 2011-08-04 13:24 UTC (permalink / raw
To: gentoo-commits
commit: 6518a95f02ecc2172d1fa73c170660ab8105e48c
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Thu Aug 4 08:04:14 2011 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Thu Aug 4 08:04:42 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=6518a95f
app-misc/tudu: Resolve strip patch
---
app-misc/tudu/files/tudu-0.8-strip.patch | 11 -----------
app-misc/tudu/tudu-0.8.ebuild | 7 +++++--
2 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/app-misc/tudu/files/tudu-0.8-strip.patch b/app-misc/tudu/files/tudu-0.8-strip.patch
deleted file mode 100644
index f356308..0000000
--- a/app-misc/tudu/files/tudu-0.8-strip.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure 2011-08-04 01:09:54.911612217 +0200
-+++ configure 2011-08-04 01:10:17.381329878 +0200
-@@ -98,7 +98,7 @@
- : ${INSTALL_DIR:=${INSTALL} -d}
- : ${INSTALL_DATA:=${INSTALL} -m 644}
- : ${INSTALL_SCRIPT:=${INSTALL} -m 755}
--: ${INSTALL_PROGRAM:=${INSTALL} -m 755 -s}
-+: ${INSTALL_PROGRAM:=${INSTALL} -m 755}
- : ${INSTALL_MAN:=${INSTALL} -m 444}
- : ${INSTALL_LIB:=${INSTALL} -c}
- PKGNAME='tudu' ; VERSION='0.8' ; CONTACT_MAIL="meskio@sindominio.net" ; CONTACT_NAME="Ruben Pollan" ; CONTACT="Ruben Pollan <meskio@sindominio.net>" ;
diff --git a/app-misc/tudu/tudu-0.8.ebuild b/app-misc/tudu/tudu-0.8.ebuild
index a63cb33..7f5409d 100644
--- a/app-misc/tudu/tudu-0.8.ebuild
+++ b/app-misc/tudu/tudu-0.8.ebuild
@@ -19,10 +19,13 @@ DEPEND="sys-libs/ncurses[unicode]"
RDEPEND="${DEPEND}"
src_prepare() {
- epatch "${FILESDIR}"/${P}-{as-needed,strip}.patch
+ epatch "${FILESDIR}"/${P}-as-needed.patch
}
src_install() {
- emake DESTDIR="${D}" install || die
+ emake \
+ DESTDIR="${D}" \
+ INSTALL_PROGRAM='/usr/bin/install -m 755' \
+ install || die
dodoc AUTHORS README ChangeLog CONTRIBUTORS || die
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-04 13:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 23:18 [gentoo-commits] proj/betagarden:master commit in: app-misc/tudu/files/, app-misc/tudu/ Sebastian Pipping
-- strict thread matches above, loose matches on Subject: below --
2011-08-04 13:24 Sebastian Pipping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox