diff options
author | Richard Freeman <rich0@gentoo.org> | 2012-03-19 22:39:03 +0000 |
---|---|---|
committer | Richard Freeman <rich0@gentoo.org> | 2012-03-19 22:39:03 +0000 |
commit | d7c838922298b7e82077642351f8b6206b46e509 (patch) | |
tree | 77f3b08aabe58626f8ad6d25306528401836c67f /app-misc/sleepyhead | |
parent | Put sys-libs/mtdev in RDEPEND too, bug #408921. (diff) | |
download | historical-d7c838922298b7e82077642351f8b6206b46e509.tar.gz historical-d7c838922298b7e82077642351f8b6206b46e509.tar.bz2 historical-d7c838922298b7e82077642351f8b6206b46e509.zip |
Add new package.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'app-misc/sleepyhead')
-rw-r--r-- | app-misc/sleepyhead/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/sleepyhead/Manifest | 16 | ||||
-rw-r--r-- | app-misc/sleepyhead/files/gitfix.patch | 15 | ||||
-rw-r--r-- | app-misc/sleepyhead/files/prs1-64fix.patch | 13 | ||||
-rw-r--r-- | app-misc/sleepyhead/metadata.xml | 8 | ||||
-rw-r--r-- | app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild | 48 |
6 files changed, 110 insertions, 0 deletions
diff --git a/app-misc/sleepyhead/ChangeLog b/app-misc/sleepyhead/ChangeLog new file mode 100644 index 000000000000..1af3691d2028 --- /dev/null +++ b/app-misc/sleepyhead/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/sleepyhead +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/ChangeLog,v 1.1 2012/03/19 22:39:03 rich0 Exp $ + +*sleepyhead-0.9.2.2 (19 Mar 2012) + + 19 Mar 2012; Richard Freeman <rich0@gentoo.org> +sleepyhead-0.9.2.2.ebuild, + +files/prs1-64fix.patch, +files/gitfix.patch, +metadata.xml: + Add new package. + diff --git a/app-misc/sleepyhead/Manifest b/app-misc/sleepyhead/Manifest new file mode 100644 index 000000000000..565125020899 --- /dev/null +++ b/app-misc/sleepyhead/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX gitfix.patch 602 RMD160 219d379c44f005a361a24b0ac6c16f9ffcdf6ab7 SHA1 65ee5f99f99dfb708f3c14985539597db33b20ed SHA256 37aa5bbf7c6710f4a73ce1c2b51b7262ef7eb872bb035d014678c71d1392a74a +AUX prs1-64fix.patch 497 RMD160 75c9dca36837b29c1f23b34f796b1e62357bf1fe SHA1 244398fd9ba7df35dc33e76b1cb11370e142d514 SHA256 ff6c5ea462f2dfbe1b6d16bdcd6f3639c788830498ebca0718be9b744ba6daf5 +DIST sleepyhead-0.9.2.2.tgz 1399077 RMD160 eb1520706d16602ad917693cdcef89af61cb276b SHA1 15376f0c3e7855f561a156d3928c9f655e25d8da SHA256 49bcc7cf2b8351026a1f30b44d71a8500b9c74c6f6ac1aeeb14ca3b039ee7123 +EBUILD sleepyhead-0.9.2.2.ebuild 1101 RMD160 03c06630ddc7d249448b15c785403b98f97b27bb SHA1 624516f364675ac46338904f7e716444bff3271c SHA256 8c5bb8577ef900ba8548ce5469d866f374dc5b3b0683f247d460f67ef4b7187f +MISC ChangeLog 406 RMD160 ad8cb2b6bd19342fe510261486db498faf896a05 SHA1 30512581e15667a467cb52e44f1425ba04073aa8 SHA256 b42e25fb703bd3bdf3f99eb74b603a7db4a19c609940afcd383bb7a465f85f93 +MISC metadata.xml 304 RMD160 fe32926664d515ebd947a9c735109e4d60d533d1 SHA1 6d1749d1b90b271fe5d64d06e9eeb5e248a4034f SHA256 1b7ceae99e0186803b6a20fe8f9ee62eddb24cb13091634ea6ad2b63bf7eabee +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk9ntY8ACgkQCMFw3lXsEjq+jgD+N0AKcJAj7QormRDnPT39KYOk +cC/NtOLtZuzqDglM03QA/0ev/EgKuCfPbevD5nSlekpG9v5ieYAYbagRsAJ2zTQT +=hiMN +-----END PGP SIGNATURE----- diff --git a/app-misc/sleepyhead/files/gitfix.patch b/app-misc/sleepyhead/files/gitfix.patch new file mode 100644 index 000000000000..46cbef0a4530 --- /dev/null +++ b/app-misc/sleepyhead/files/gitfix.patch @@ -0,0 +1,15 @@ +--- a/SleepyHeadQT.pro ++++ b/SleepyHeadQT.pro +@@ -31,10 +31,10 @@ TEMPLATE = app + + #exists(.git):DEFINES += GIT_BRANCH=\\\"$$system(git rev-parse --symbolic-full-name --abbrev-ref HEAD)\\\" + exists(.git):DEFINES += GIT_BRANCH=\\\"$$system(git rev-parse --abbrev-ref HEAD)\\\" +-else:DEFINES += GIT_BRANCH=\\\"NOT BUILT FROM GIT SOURCE\\\" ++else:DEFINES += GIT_BRANCH=\\\"UNKNOWN\\\" + + exists(.git):DEFINES += GIT_REVISION=\\\"$$system(git rev-parse HEAD)\\\" +-else:DEFINES += GIT_BRANCH=\\\"UNKNOWN\\\" ++else:DEFINES += GIT_REVISION=\\\"UNKNOWN\\\" + + SOURCES += main.cpp\ + SleepLib/machine.cpp \ diff --git a/app-misc/sleepyhead/files/prs1-64fix.patch b/app-misc/sleepyhead/files/prs1-64fix.patch new file mode 100644 index 000000000000..a7b1070eeb4c --- /dev/null +++ b/app-misc/sleepyhead/files/prs1-64fix.patch @@ -0,0 +1,13 @@ +diff --git a/SleepLib/loader_plugins/prs1_loader.cpp b/SleepLib/loader_plugins/prs1_loader.cpp +index d7f102c..61f2d34 100644 +--- a/SleepLib/loader_plugins/prs1_loader.cpp ++++ b/SleepLib/loader_plugins/prs1_loader.cpp +@@ -597,7 +597,7 @@ bool PRS1Loader::Parse002v5(qint32 sequence, quint32 timestamp, unsigned char *b + CPAP_LeakTotal, PRS1_12 + }; + +- int ncodes=sizeof(Codes)/sizeof(QString); ++ int ncodes=sizeof(Codes)/sizeof(ChannelID); + EventList * Code[0x20]={NULL}; + + diff --git a/app-misc/sleepyhead/metadata.xml b/app-misc/sleepyhead/metadata.xml new file mode 100644 index 000000000000..b65fdaadcfef --- /dev/null +++ b/app-misc/sleepyhead/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>rich0@gentoo.org</email> +</maintainer> +<longdescription>QT-based application used to analyze data from various CPAP machines.</longdescription> +</pkgmetadata> diff --git a/app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild b/app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild new file mode 100644 index 000000000000..1db40c6fc759 --- /dev/null +++ b/app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild,v 1.1 2012/03/19 22:39:03 rich0 Exp $ + +EAPI=4 +inherit eutils qt4-r2 +DESCRIPTION="Software used to analyze data from CPAP machines." +HOMEPAGE="https://sourceforge.net/apps/mediawiki/sleepyhead/index.php?title=Main_Page" + +# Point to any required sources; these will be automatically downloaded by +# Portage. +SRC_URI="https://github.com/rich0/rich0-sleepyhead/tarball/${PV} -> ${P}.tgz" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64" + +IUSE="" + +DEPEND="virtual/opengl + x11-libs/libX11 + x11-libs/qt-core + x11-libs/qt-gui + x11-libs/qt-opengl + x11-libs/qt-webkit" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/rich0-rich0-sleepyhead-86250b9" + +src_unpack() { + unpack ${A} + cd "${S}" +} + +src_prepare() { +# qt4_src_prepare + cd "{$S}" + epatch "${FILESDIR}/gitfix.patch" + epatch "${FILESDIR}/prs1-64fix.patch" + eqmake4 SleepyHeadQT.pro +} + +src_install() { + cd "{$S}" + dobin SleepyHead || die + dodoc README || die + dodoc docs/* || die +} |