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-p2p/classified-ads | |
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-p2p/classified-ads')
-rw-r--r-- | net-p2p/classified-ads/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/classified-ads/classified-ads-0.07.ebuild | 86 | ||||
-rw-r--r-- | net-p2p/classified-ads/classified-ads-0.07_p20150728.ebuild | 82 | ||||
-rw-r--r-- | net-p2p/classified-ads/metadata.xml | 38 |
4 files changed, 210 insertions, 0 deletions
diff --git a/net-p2p/classified-ads/Manifest b/net-p2p/classified-ads/Manifest new file mode 100644 index 000000000000..8cf07eb8b18a --- /dev/null +++ b/net-p2p/classified-ads/Manifest @@ -0,0 +1,4 @@ +DIST classified-ads-0.07.tar.gz 2194177 SHA256 882874da2d1610d64c952969222b9295bab59b519de8a7da69790805fecca394 SHA512 a42e9604ce922968b0d7f345d623b250dae39fad2f43648b996ab10f3e7941ec3de95e89d94f4ec28bba882cf2bd38ea28aac88885522a7375926aee3c5d0843 WHIRLPOOL a797387e0f8537ab5366c55554c8909d656436122c3cbf2b35c7c8cc989a8cf76c3f0d6d39a99ac54e0b7cbcd8063dd1a4ec3a99b320f243338081f665f3b933 +DIST classified-ads-0.07_p20150728.tar.gz 2197413 SHA256 e8d488b6c44b198bf1150c7a33ae698887cfb345cb4473d91a5949abeb846d95 SHA512 1cb42252ab695e90212d05144255a66b0d8dc63d8d010b5781e470a4c5e9cdf9c4dce1b9e44cba83d5fb2fef99e3d46fd5cc1b9880db69c9c163475b7e4349fc WHIRLPOOL 458d3947f00709c633d652b753b7801496479f610da0d249e8e2f5f7ddecb341fb885184c027b453aa2f9db7998a74fcbd60bbb9d0bb5765b7b7e45bcdcfc2c0 +DIST classified-ads-graphics-0.07.tar.gz 340476 SHA256 12bd4f581f82c4c805bbf19cc794f7462f9ec0e71358fbc1628fd872169295e2 SHA512 c59f65f37a8e4dddb753dbcdec835e946d9de021c5273319b3cd95ef1c3343715ce4b87d76b2d96264acc791a6cced32967521c74978131bd76fbcfc37bb344d WHIRLPOOL 2535170cdc4cc1d4ad2e204e85b546089b3aa404e4cee0e2ab9d094d6cda869043f24fba29d6f68b37f450ff947c13f02336e63b3236b404cbae528f801cc1ad +DIST classified-ads-graphics-0.07_p20150728.tar.gz 340476 SHA256 12bd4f581f82c4c805bbf19cc794f7462f9ec0e71358fbc1628fd872169295e2 SHA512 c59f65f37a8e4dddb753dbcdec835e946d9de021c5273319b3cd95ef1c3343715ce4b87d76b2d96264acc791a6cced32967521c74978131bd76fbcfc37bb344d WHIRLPOOL 2535170cdc4cc1d4ad2e204e85b546089b3aa404e4cee0e2ab9d094d6cda869043f24fba29d6f68b37f450ff947c13f02336e63b3236b404cbae528f801cc1ad diff --git a/net-p2p/classified-ads/classified-ads-0.07.ebuild b/net-p2p/classified-ads/classified-ads-0.07.ebuild new file mode 100644 index 000000000000..31a937f74a6b --- /dev/null +++ b/net-p2p/classified-ads/classified-ads-0.07.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PLOCALES="en fi sv" +PLOCALE_BACKUP="en" +inherit qt4-r2 + +DESCRIPTION="Program for displaying classified advertisement items" +HOMEPAGE="http://katiska.org/classified-ads/" +SRC_URI="https://github.com/operatornormal/classified-ads/archive/${PV}.tar.gz \ + -> classified-ads-${PV}.tar.gz \ + https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \ + -> classified-ads-graphics-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug doc test" + +DEPEND="dev-libs/openssl:0 + dev-libs/qjson + >=net-libs/libnatpmp-20130911 + <=net-libs/libnatpmp-20140401-r1 + >=net-libs/miniupnpc-1.8 + sys-apps/file + dev-qt/qtgui:4[debug?] + test? ( dev-libs/libgcrypt:0 + dev-qt/qttest:4 + sys-devel/gdb:0 ) + doc? ( app-doc/doxygen[dot] )" +RDEPEND="dev-libs/openssl:0 + dev-libs/qjson + >=net-libs/libnatpmp-20130911 + <=net-libs/libnatpmp-20140401-r1 + >=net-libs/miniupnpc-1.8 + sys-apps/file + dev-qt/qtgui:4[debug?]" + +src_prepare() { + # preprocessed graphics are unpacked into wrong directory + # so lets move them into correct location: + mv ../ui/* ui/ || die + # then just run qmake + qt4-r2_src_prepare +} + +src_compile() { + qt4-r2_src_compile + if use doc; then + cd doc || die + doxygen || die + fi +} + +src_test() { + cd test || die "test suite missing" + qmake || die "test suite configure failed" + make + + if [ -e $HOME/.classified_ads/sqlite_db ]; then + mv $HOME/.classified_ads/sqlite_db $HOME/.classified_ads/sqlite_db.backup \ + || die "datafile backup failed" + fi + ./testca + result=$? + rm $HOME/.classified_ads/sqlite_db || true + + if [ -e $HOME/.classified_ads/sqlite_db.backup ]; then + mv $HOME/.classified_ads/sqlite_db.backup $HOME/.classified_ads/sqlite_db \ + || die "datafile restore failed" + fi + + if [ $result != "0" ]; then + die "test failed with code $result" + fi + + return $result +} + +src_install() { + emake install INSTALL_ROOT="${D}" + use doc && dodoc -r doc/doxygen.generated/html/ +} diff --git a/net-p2p/classified-ads/classified-ads-0.07_p20150728.ebuild b/net-p2p/classified-ads/classified-ads-0.07_p20150728.ebuild new file mode 100644 index 000000000000..eaf67d4ad294 --- /dev/null +++ b/net-p2p/classified-ads/classified-ads-0.07_p20150728.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PLOCALES="en fi sv" +PLOCALE_BACKUP="en" +inherit qt4-r2 vcs-snapshot + +COMMIT_ID="dd2017f3be9d5d68d5fb85af2d626424b3e712e0" +DESCRIPTION="Program for displaying classified advertisement items" +HOMEPAGE="http://katiska.org/classified-ads/" +SRC_URI="https://github.com/operatornormal/classified-ads/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz \ + https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \ + -> classified-ads-graphics-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug doc test" + +RDEPEND="dev-libs/openssl:0 + dev-libs/qjson + >=net-libs/libnatpmp-20130911 + <=net-libs/libnatpmp-20140401-r1 + >=net-libs/miniupnpc-1.8 + sys-apps/file + dev-qt/qtgui:4[debug?]" + +DEPEND="${RDEPEND} + dev-qt/qttest:4 + sys-devel/gdb:0 + doc? ( app-doc/doxygen[dot] ) + test? ( dev-libs/libgcrypt:0 ) + " + +src_prepare() { + # preprocessed graphics are unpacked into wrong directory + # so lets move them into correct location: + mv ../classified-ads-graphics-${PV}/* ui/ || die + # then just run qmake + qt4-r2_src_prepare +} + +src_compile() { + qt4-r2_src_compile + if use doc; then + cd doc || die + doxygen || die + fi +} + +src_test() { + cd test || die "test suite missing" + qmake || die "test suite configure failed" + emake + + if [ -e $HOME/.classified_ads/sqlite_db ]; then + mv $HOME/.classified_ads/sqlite_db $HOME/.classified_ads/sqlite_db.backup \ + || die "datafile backup failed" + fi + ./testca + result=$? + rm $HOME/.classified_ads/sqlite_db || true + + if [ -e $HOME/.classified_ads/sqlite_db.backup ]; then + mv $HOME/.classified_ads/sqlite_db.backup $HOME/.classified_ads/sqlite_db \ + || die "datafile restore failed" + fi + + if [ $result != "0" ]; then + die "test failed with code $result" + fi + + return $result +} + +src_install() { + emake install INSTALL_ROOT="${D}" + use doc && dodoc -r doc/doxygen.generated/html/ +} diff --git a/net-p2p/classified-ads/metadata.xml b/net-p2p/classified-ads/metadata.xml new file mode 100644 index 000000000000..ee823cc1d09d --- /dev/null +++ b/net-p2p/classified-ads/metadata.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>idella4@gentoo.org</email> + </maintainer> + <maintainer> + <email>antti.jarvinen@katiska.org</email> + <name>Antti Järvinen</name> + <description>proxy maintainer</description> + </maintainer> + <longdescription lang="en"> + Classified ads is an attempt to re-produce parts of the functionality + that went away when Usenet news ceased to exist. This attempt tries to + fix the problem of disappearing news-servers so that there is no servers + required and no service-providers needed for any operation ; + data storage is implemented inside client applications that + users are running. Features of the program currently include: + + * Posting of ads online. Ads have a category ; there are some + pre-defined categories but more can be invented just by typing + over the suggested categories. + * Replying to ads either in public or privately to operator. + * (Small-sized) binary attachments to posts. + * Providing basic data of operators - data that operator may enter + himself, or leave blank. + * Basic searching of content based on words. + </longdescription> + <upstream> + <maintainer status="active"> + <email>antti.jarvinen@katiska.org</email> + </maintainer> + <changelog>https://github.com/operatornormal/classified-ads/commits/master</changelog> + <bugs-to>https://github.com/operatornormal/classified-ads/issues</bugs-to> + <remote-id type="github">operatornormal/classified-ads</remote-id> + </upstream> +</pkgmetadata> |