diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-im/kouchat | |
download | gentoo-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-im/kouchat')
-rw-r--r-- | net-im/kouchat/Manifest | 2 | ||||
-rw-r--r-- | net-im/kouchat/files/build.xml | 52 | ||||
-rw-r--r-- | net-im/kouchat/kouchat-1.1.0.ebuild | 30 | ||||
-rw-r--r-- | net-im/kouchat/metadata.xml | 8 |
4 files changed, 92 insertions, 0 deletions
diff --git a/net-im/kouchat/Manifest b/net-im/kouchat/Manifest new file mode 100644 index 000000000000..e858993b9ee2 --- /dev/null +++ b/net-im/kouchat/Manifest @@ -0,0 +1,2 @@ +DIST kouchat-1.1.0-buildfiles.tar.gz 2793 SHA256 80251607b13eb094b73e8556f825c56520adf7c7792b8bd93004feaf8eebd543 SHA512 daae5a4f3374ab588214321793725f4b9add063f4c7b98f64f6db0ab71cc2d07f2ae9f27fb0ed12c7704604fd97781b0cfa9bdb0a188782c4f5bd0172e167c89 WHIRLPOOL db0114019e89907608837c7c4bc6ebb8011d1bacc8035c77bdc314069d8e473a8b227122920fa65fa3dc9f09c335155078cbebbab241a09633627a6de316a921 +DIST kouchat-1.1.0-src.tar.gz 363491 SHA256 be7eb437afc8710405ae0c678e7d0383f416ef34b9401897ef1590149b417f4a SHA512 838d2afac858d698a543ad9ca6e249fa6439cd6f31bf67d20bc44961c9dcbed843fefb51430202666c74c02ec71b8bd30edbd5dcfe5a15d2c364426e99350c27 WHIRLPOOL 08dc58961afc2be4db404674e72fe5c03ba5dbeae523afee73061530919e5655c47ac3cf569551e23158d3a7bfff9f7c1a9b8807f17265d16cf7f6d5685aa6a5 diff --git a/net-im/kouchat/files/build.xml b/net-im/kouchat/files/build.xml new file mode 100644 index 000000000000..a413586b648a --- /dev/null +++ b/net-im/kouchat/files/build.xml @@ -0,0 +1,52 @@ +<project name="kouchat" default="jar"> + <property name="dest.jar" value="kouchat.jar"/> + <property name="build.app" value="build/app"/> + <property name="build.test" value="build/test"/> + <target name="compile"> + <mkdir dir="${build.app}"/> + <javac srcdir="src" destdir="${build.app}"/> + <copy todir="${build.app}/icons"> + <fileset dir="resources/icons"/> + </copy> + <copy todir="${build.app}/sounds"> + <fileset dir="resources/sounds"/> + </copy> + <copy file="kou_shortcut.ico" todir="${build.app}"/> + <copy file="kou_shortcut.png" todir="${build.app}"/> + <copy file="CHANGES" todir="${build.app}"/> + <copy file="COPYING" todir="${build.app}"/> + <copy file="FAQ" todir="${build.app}"/> + <copy file="README" todir="${build.app}"/> + </target> + + <target name="jar" depends="compile"> + <jar destfile="${dest.jar}"> + <fileset dir="${build.app}"/> + </jar> + </target> + + <target name="test"> + <mkdir dir="${build.test}"/> + <javac srcdir="test" destdir="${build.test}"> + <classpath> + <pathelement location="${dest.jar}"/> + <pathelement path="${junit4.jar}"/> + </classpath> + </javac> + <junit printsummary="yes" haltonfailure="yes"> + <classpath> + <pathelement path="${build.test}"/> + <pathelement path="${build.app}"/> + </classpath> + <test name="net.usikkert.kouchat.net.MessageParserTest"/> + <test name="net.usikkert.kouchat.net.UDPReceiverTest"/> + <test name="net.usikkert.kouchat.net.UDPSenderTest"/> + </junit> + </target> + + <target name="javadoc" depends="compile"> + <mkdir dir="docs"/> + <javadoc sourcepath="src" destdir="docs"/> + </target> + +</project> diff --git a/net-im/kouchat/kouchat-1.1.0.ebuild b/net-im/kouchat/kouchat-1.1.0.ebuild new file mode 100644 index 000000000000..b403d810b15a --- /dev/null +++ b/net-im/kouchat/kouchat-1.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +JAVA_PKG_IUSE="" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="KouChat is a simple serverless chat client for local area networks" +HOMEPAGE="http://kouchat.googlecode.com/" +SRC_URI="http://kouchat.googlecode.com/files/${P}-src.tar.gz + http://dev.gentoo.org/~serkan/distfiles/${P}-buildfiles.tar.gz" +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6" + +S=${WORKDIR}/${P}-src + +src_install() { + java-pkg_newjar target/${P}.jar ${PN}.jar + java-pkg_dolauncher ${PN} --main net.usikkert.kouchat.KouChat + java-pkg_dolauncher ${PN}-console --main net.usikkert.kouchat.KouChat --pkg_args "--console" + newicon kou_shortcut.png ${PN}.png + make_desktop_entry ${PN} "KouChat" +} diff --git a/net-im/kouchat/metadata.xml b/net-im/kouchat/metadata.xml new file mode 100644 index 000000000000..01c7bbf2f461 --- /dev/null +++ b/net-im/kouchat/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>java</herd> + <upstream> + <remote-id type="google-code">kouchat</remote-id> + </upstream> +</pkgmetadata> |