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 /net-misc/pedro
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 'net-misc/pedro')
-rw-r--r--net-misc/pedro/Manifest2
-rw-r--r--net-misc/pedro/files/pedro-1.5-portage.patch20
-rw-r--r--net-misc/pedro/files/pedro-1.6-portage.patch20
-rw-r--r--net-misc/pedro/metadata.xml8
-rw-r--r--net-misc/pedro/pedro-1.6.ebuild45
5 files changed, 95 insertions, 0 deletions
diff --git a/net-misc/pedro/Manifest b/net-misc/pedro/Manifest
new file mode 100644
index 000000000000..263ec1542953
--- /dev/null
+++ b/net-misc/pedro/Manifest
@@ -0,0 +1,2 @@
+DIST pedro-1.6.tgz 711856 RMD160 7978b894bfb4f807a1411d79388d215e236baee1 SHA1 1f71817c692c3f20a91c5345de88a82476b6f41b SHA256 bc13b0d9020e46c2f374d0e3c078fcec5ceafd75894e8b65d2c2985ae356225c
+DIST pedro-manual-1.6.tar.gz 222863 RMD160 b481345af93288742d489382e38b20a26fd923d2 SHA1 7b47e6dfafe7b28804fe6515f6e97b1831870ff5 SHA256 2cc10c5c4de00a344a8f2cd58b293bcda9b4629f4fa5567fb6fb507b7e83d5e4
diff --git a/net-misc/pedro/files/pedro-1.5-portage.patch b/net-misc/pedro/files/pedro-1.5-portage.patch
new file mode 100644
index 000000000000..a5639eac38b2
--- /dev/null
+++ b/net-misc/pedro/files/pedro-1.5-portage.patch
@@ -0,0 +1,20 @@
+--- pedro-1.5.orig/configure 2010-06-15 15:59:50.000000000 +1200
++++ pedro-1.5/configure 2010-07-03 15:29:06.000000000 +1200
+@@ -11292,7 +11292,7 @@
+ ac_config_headers="$ac_config_headers config.h"
+
+ #AC_CONFIG_MACRO_DIR([m4])
+-CPPFLAGS="-O2 -g `pkg-config --cflags glib-2.0`"
++CPPFLAGS="`pkg-config --cflags glib-2.0`"
+ case "${host}" in
+ i[3456789]86-*-mingw32*)
+ WIN32="yes"
+@@ -11300,7 +11300,7 @@
+ ;;
+ *)
+ WIN32="no"
+- LDFLAGS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
++ LDFLAGS="$LDFLAGS -L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
+ ;;
+ esac
+ ac_config_files="$ac_config_files Makefile src/Makefile src/server/Makefile src/lib/Makefile src/examples/Makefile doc/Makefile"
diff --git a/net-misc/pedro/files/pedro-1.6-portage.patch b/net-misc/pedro/files/pedro-1.6-portage.patch
new file mode 100644
index 000000000000..be1f9d3b2136
--- /dev/null
+++ b/net-misc/pedro/files/pedro-1.6-portage.patch
@@ -0,0 +1,20 @@
+--- pedro-1.6.orig/configure 2011-08-23 11:01:21.000000000 +1200
++++ pedro-1.6/configure 2011-11-19 21:28:47.000000000 +1300
+@@ -10478,7 +10478,7 @@
+ ac_config_headers="$ac_config_headers config.h"
+
+ #AC_CONFIG_MACRO_DIR([m4])
+-CPPFLAGS="-O2 -g `pkg-config --cflags glib-2.0`"
++CPPFLAGS="`pkg-config --cflags glib-2.0`"
+ case "${host}" in
+ i[3456789]86-*-mingw32*)
+ WIN32="yes"
+@@ -10486,7 +10486,7 @@
+ ;;
+ *)
+ WIN32="no"
+- LDFLAGS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
++ LDFLAGS="$LDFLAGS -L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
+ ;;
+ esac
+ ac_config_files="$ac_config_files Makefile src/Makefile src/server/Makefile src/lib/Makefile src/examples/Makefile doc/Makefile"
diff --git a/net-misc/pedro/metadata.xml b/net-misc/pedro/metadata.xml
new file mode 100644
index 000000000000..f21843862263
--- /dev/null
+++ b/net-misc/pedro/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>keri@gentoo.org</email>
+ <name>Keri Harris</name>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/pedro/pedro-1.6.ebuild b/net-misc/pedro/pedro-1.6.ebuild
new file mode 100644
index 000000000000..fc77a0e1965d
--- /dev/null
+++ b/net-misc/pedro/pedro-1.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="Pedro is a subscription/notification communications system"
+HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/PedroHome.html"
+SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/PedroFiles/${P}.tgz
+ doc? ( mirror://gentoo/${PN}-manual-${PV}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="doc examples"
+
+RDEPEND="dev-libs/glib:2"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-portage.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS README || die
+
+ if use doc ; then
+ dodoc "${WORKDIR}"/${PN}.pdf || die
+ fi
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins src/examples/*.{c,tcl} || die
+ insinto /usr/share/doc/${PF}/examples/java_api
+ doins src/java_api/*.java || die
+ insinto /usr/share/doc/${PF}/examples/python_api
+ doins src/python_api/*.py || die
+ fi
+}