summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-07-08 21:41:31 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-07-08 21:41:31 +0000
commit21d35049f20e016794483bc5c1d47d756b61ba2b (patch)
tree0a2e429384ba316831a72986a5a535af6ea3420f /media-video
parentnet-misc/aria2: Bumped to version 0.6.0_p1, metalink USE-flag added for new v... (diff)
downloadsunrise-21d35049f20e016794483bc5c1d47d756b61ba2b.tar.gz
sunrise-21d35049f20e016794483bc5c1d47d756b61ba2b.tar.bz2
sunrise-21d35049f20e016794483bc5c1d47d756b61ba2b.zip
media-video/palantir: New ebuilds for bug 126282
svn path=/sunrise/; revision=561
Diffstat (limited to 'media-video')
-rw-r--r--media-video/palantir-client/Manifest20
-rw-r--r--media-video/palantir-client/files/2.6-senselessConfigFileHandling.patch16
-rw-r--r--media-video/palantir-client/files/digest-palantir-client-2.63
-rw-r--r--media-video/palantir-client/palantir-client-2.6.ebuild54
-rw-r--r--media-video/palantir-webclient/Manifest20
-rw-r--r--media-video/palantir-webclient/files/digest-palantir-webclient-2.63
-rw-r--r--media-video/palantir-webclient/files/postinstall-en-2.6.txt2
-rw-r--r--media-video/palantir-webclient/palantir-webclient-2.6.ebuild36
-rw-r--r--media-video/palantir/ChangeLog7
-rw-r--r--media-video/palantir/Manifest28
-rw-r--r--media-video/palantir/files/2.6-makefile.patch44
-rw-r--r--media-video/palantir/files/digest-palantir-2.63
-rw-r--r--media-video/palantir/files/palantir.conf.sample255
-rw-r--r--media-video/palantir/files/palantir.init31
-rw-r--r--media-video/palantir/metadata.xml5
-rw-r--r--media-video/palantir/palantir-2.6.ebuild63
16 files changed, 590 insertions, 0 deletions
diff --git a/media-video/palantir-client/Manifest b/media-video/palantir-client/Manifest
new file mode 100644
index 000000000..b48b946a7
--- /dev/null
+++ b/media-video/palantir-client/Manifest
@@ -0,0 +1,20 @@
+AUX 2.6-senselessConfigFileHandling.patch 551 RMD160 0c8adb6aac1277fe59462708f3cfe62d134c143b SHA1 814e720f0cf3eb6ec621719324f357917a778b97 SHA256 e9b355b730786f1f2e125e59e39b938882032f090c37001f8d3af8b2435ac53d
+MD5 cb03bb0ed44c15d07b3d481df29ad4a9 files/2.6-senselessConfigFileHandling.patch 551
+RMD160 0c8adb6aac1277fe59462708f3cfe62d134c143b files/2.6-senselessConfigFileHandling.patch 551
+SHA256 e9b355b730786f1f2e125e59e39b938882032f090c37001f8d3af8b2435ac53d files/2.6-senselessConfigFileHandling.patch 551
+DIST palantir-2.6.tgz 424082 RMD160 8e0578990d8757413635c5779aa471c13e37950e SHA1 42f527db049cbc10ad3ed8d245ab5746b8d5e4ff SHA256 a80f22e5df3d318e55f07f7ed09427bdc9d24e0762cc00a9df7223b3b5dff0e1
+EBUILD palantir-client-2.6.ebuild 1283 RMD160 06bd2247e4eba9288c0090c0d211720411995c93 SHA1 5269f1c1be08748f2bb678d83a4422cbb02cb342 SHA256 07ad63f30b49170b5adbc99787cb77aaf02b25db711140f0d901e85c7fcbadc3
+MD5 0d27aa251e3732fd93d85e2856336df2 palantir-client-2.6.ebuild 1283
+RMD160 06bd2247e4eba9288c0090c0d211720411995c93 palantir-client-2.6.ebuild 1283
+SHA256 07ad63f30b49170b5adbc99787cb77aaf02b25db711140f0d901e85c7fcbadc3 palantir-client-2.6.ebuild 1283
+MISC ChangeLog 232 RMD160 43b6a0ce6e7fb1786b1cf2e33b7b5b1a6f9d3bcd SHA1 010f8dc3cc3f5920847a12a6b4c128a51d278800 SHA256 62e8009f0d4a87ee4577c20e21dad643fb8ff076c44002b536f6d52857b9ff99
+MD5 aca5de8ee10b9a1227da27855a8e1032 ChangeLog 232
+RMD160 43b6a0ce6e7fb1786b1cf2e33b7b5b1a6f9d3bcd ChangeLog 232
+SHA256 62e8009f0d4a87ee4577c20e21dad643fb8ff076c44002b536f6d52857b9ff99 ChangeLog 232
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 6946b394fbd3dc0285a5bf74b170dd58 files/digest-palantir-client-2.6 229
+RMD160 a91177543be826a4b1a57a58065f910dc9e66001 files/digest-palantir-client-2.6 229
+SHA256 fa16ef355463be121e371a09eb93bf8eac62b6efb8cdb0d7d144dae78c453173 files/digest-palantir-client-2.6 229
diff --git a/media-video/palantir-client/files/2.6-senselessConfigFileHandling.patch b/media-video/palantir-client/files/2.6-senselessConfigFileHandling.patch
new file mode 100644
index 000000000..764d56caf
--- /dev/null
+++ b/media-video/palantir-client/files/2.6-senselessConfigFileHandling.patch
@@ -0,0 +1,16 @@
+diff -Naur qt/MainWindow.cpp qt.new/MainWindow.cpp
+--- qt/MainWindow.cpp 2005-08-16 01:10:46.000000000 +0200
++++ qt.new/MainWindow.cpp 2006-07-08 18:49:49.000000000 +0200
+@@ -103,12 +103,6 @@
+ iniSetIgnored(true);
+ }
+ }
+- else
+- {
+- if (iniOpen("./pclient.ini")==0)
+- QMessageBox::information(this,"Palantir configuration","Found pclient.ini in the current directory;\nwill use it instead of ~./pclientrc.\nNo updates will be made to any of these files.",QMessageBox::Ok);
+- iniSetIgnored(true);
+- }
+
+ InitGrid(servername,serverport);
+
diff --git a/media-video/palantir-client/files/digest-palantir-client-2.6 b/media-video/palantir-client/files/digest-palantir-client-2.6
new file mode 100644
index 000000000..1c6456162
--- /dev/null
+++ b/media-video/palantir-client/files/digest-palantir-client-2.6
@@ -0,0 +1,3 @@
+MD5 a40863d7079ca5e7b1a0da0fd4dbd5f0 palantir-2.6.tgz 424082
+RMD160 8e0578990d8757413635c5779aa471c13e37950e palantir-2.6.tgz 424082
+SHA256 a80f22e5df3d318e55f07f7ed09427bdc9d24e0762cc00a9df7223b3b5dff0e1 palantir-2.6.tgz 424082
diff --git a/media-video/palantir-client/palantir-client-2.6.ebuild b/media-video/palantir-client/palantir-client-2.6.ebuild
new file mode 100644
index 000000000..48a3fa1ad
--- /dev/null
+++ b/media-video/palantir-client/palantir-client-2.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils qt3
+
+MY_PN="${PN/-client/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Palantir is a Linux-based streaming system designed to transmit live video, audio and data over a TCP/IP network, as well as to control remote devices."
+HOMEPAGE="http://www.fastpath.it/products/palantir/index.php"
+SRC_URI="http://www.fastpath.it/products/${MY_PN}/pub/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="$(qt_min_version 3.3)"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}/clients/qt"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ # patching in subdir because there are ebuilds for parts of this package
+ epatch "${FILESDIR}/${PV}-senselessConfigFileHandling.patch"
+
+ sed -i \
+ -e 's/-ggdb//' \
+ -e 's/CPPFLAGS/CPPFLAGS+/' \
+ -e 's/g++/$(CXX)/g' \
+ Makefile || die "sed failed"
+
+ # Fix the relative path
+ for file in $(ls *.cpp *.h); do
+ sed -i \
+ -e 's#./icons#/usr/share/palantir-client/icons#g' \
+ -e 's#./pclient.ini#/usr/share/palantir-client/pclient.ini#g' \
+ ${file} || die "sed failed"
+ done
+
+}
+
+src_install() {
+ dobin pclient || die "pclient not built"
+ dodoc README
+ insinto /usr/share/${PN}
+ doins -r icons/
+ doins pclient.ini
+}
+
diff --git a/media-video/palantir-webclient/Manifest b/media-video/palantir-webclient/Manifest
new file mode 100644
index 000000000..99a6e3bd1
--- /dev/null
+++ b/media-video/palantir-webclient/Manifest
@@ -0,0 +1,20 @@
+AUX postinstall-en-2.6.txt 137 RMD160 a3f68f5d379f8be4166858948b917c2bf4237832 SHA1 7412ce4bf8292a57f57efd363c08ad5bc9e2b4fc SHA256 5637bfced4f2a3d3f34069b0fc361a4d83a154663e32f4a94304f820e45b628a
+MD5 e5cbbe0ab5af5c9314990b539c6a50be files/postinstall-en-2.6.txt 137
+RMD160 a3f68f5d379f8be4166858948b917c2bf4237832 files/postinstall-en-2.6.txt 137
+SHA256 5637bfced4f2a3d3f34069b0fc361a4d83a154663e32f4a94304f820e45b628a files/postinstall-en-2.6.txt 137
+DIST palantir-2.6.tgz 424082 RMD160 8e0578990d8757413635c5779aa471c13e37950e SHA1 42f527db049cbc10ad3ed8d245ab5746b8d5e4ff SHA256 a80f22e5df3d318e55f07f7ed09427bdc9d24e0762cc00a9df7223b3b5dff0e1
+EBUILD palantir-webclient-2.6.ebuild 929 RMD160 ad25394d39fe29d01e03f2313501d0c846f37d74 SHA1 5c286574085a2cf80b67ec1195ef8c5874b288b9 SHA256 2438610711e89498c6eda5d6109d5849519af823135749bc692c432b15db00de
+MD5 219f01087302a3fda43e4fa10ef0e2cc palantir-webclient-2.6.ebuild 929
+RMD160 ad25394d39fe29d01e03f2313501d0c846f37d74 palantir-webclient-2.6.ebuild 929
+SHA256 2438610711e89498c6eda5d6109d5849519af823135749bc692c432b15db00de palantir-webclient-2.6.ebuild 929
+MISC ChangeLog 247 RMD160 b175be260c9968a50fba0b319191702f782f1c1c SHA1 b190e4a64a09c97d56881ee3d65ea2676cde4f9f SHA256 7cb12be41bd201002cfb94027b665492f1e4e27149450d160204c39f8e78e6e3
+MD5 5db73713c0053d0ab8ee3aaf15a7432d ChangeLog 247
+RMD160 b175be260c9968a50fba0b319191702f782f1c1c ChangeLog 247
+SHA256 7cb12be41bd201002cfb94027b665492f1e4e27149450d160204c39f8e78e6e3 ChangeLog 247
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 6946b394fbd3dc0285a5bf74b170dd58 files/digest-palantir-webclient-2.6 229
+RMD160 a91177543be826a4b1a57a58065f910dc9e66001 files/digest-palantir-webclient-2.6 229
+SHA256 fa16ef355463be121e371a09eb93bf8eac62b6efb8cdb0d7d144dae78c453173 files/digest-palantir-webclient-2.6 229
diff --git a/media-video/palantir-webclient/files/digest-palantir-webclient-2.6 b/media-video/palantir-webclient/files/digest-palantir-webclient-2.6
new file mode 100644
index 000000000..1c6456162
--- /dev/null
+++ b/media-video/palantir-webclient/files/digest-palantir-webclient-2.6
@@ -0,0 +1,3 @@
+MD5 a40863d7079ca5e7b1a0da0fd4dbd5f0 palantir-2.6.tgz 424082
+RMD160 8e0578990d8757413635c5779aa471c13e37950e palantir-2.6.tgz 424082
+SHA256 a80f22e5df3d318e55f07f7ed09427bdc9d24e0762cc00a9df7223b3b5dff0e1 palantir-2.6.tgz 424082
diff --git a/media-video/palantir-webclient/files/postinstall-en-2.6.txt b/media-video/palantir-webclient/files/postinstall-en-2.6.txt
new file mode 100644
index 000000000..4a2702969
--- /dev/null
+++ b/media-video/palantir-webclient/files/postinstall-en-2.6.txt
@@ -0,0 +1,2 @@
+If the webcamserver runs on a different machine than the client,
+you have to change the server parameter for the applet in 'index.html'.
diff --git a/media-video/palantir-webclient/palantir-webclient-2.6.ebuild b/media-video/palantir-webclient/palantir-webclient-2.6.ebuild
new file mode 100644
index 000000000..f4118a8e1
--- /dev/null
+++ b/media-video/palantir-webclient/palantir-webclient-2.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit webapp java-utils-2
+
+MY_PN="${PN/-webclient/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Palantir is a Linux-based streaming system designed to transmit live video, audio and data over a TCP/IP network, as well as to control remote devices."
+HOMEPAGE="http://www.fastpath.it/products/palantir/index.php"
+SRC_URI="http://www.fastpath.it/products/${MY_PN}/pub/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${MY_P}/clients/java"
+
+
+src_compile() {
+ ejavac *.java || die "ejavac failed!"
+ jar cfm pclient.jar MANIFEST.MF *.class || die "jar failed!"
+}
+
+src_install() {
+ webapp_src_preinst
+ cp *.jar *.html "${D}/${MY_HTDOCSDIR}"
+ dodoc README TODO
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en-${PV}.txt
+ webapp_src_install
+}
+
diff --git a/media-video/palantir/ChangeLog b/media-video/palantir/ChangeLog
new file mode 100644
index 000000000..6a838f20d
--- /dev/null
+++ b/media-video/palantir/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for media-video/palantir
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 08 Jul 2006; Tiziano Müller <gentoo@dev-zero.ch> ChangeLog:
+ New ebuild for bug 126282 (server)
+
diff --git a/media-video/palantir/Manifest b/media-video/palantir/Manifest
new file mode 100644
index 000000000..cf9a5b534
--- /dev/null
+++ b/media-video/palantir/Manifest
@@ -0,0 +1,28 @@
+AUX 2.6-makefile.patch 1302 RMD160 966f34c9d1919de02d7a5c54df72350a2492d939 SHA1 34c6e2a4989d073d3331212b000b091c2d1a8f25 SHA256 76981b352735ab04ac665dc7e7894f583100641aba066929bacd75c45440d6b8
+MD5 26c7903bb99b490efdbfeaafae261419 files/2.6-makefile.patch 1302
+RMD160 966f34c9d1919de02d7a5c54df72350a2492d939 files/2.6-makefile.patch 1302
+SHA256 76981b352735ab04ac665dc7e7894f583100641aba066929bacd75c45440d6b8 files/2.6-makefile.patch 1302
+AUX palantir.conf.sample 5484 RMD160 fe8face277f828ac59c3f624bf93d1f5b5920403 SHA1 1dc64a650fe2aca162fb26681ee9c86919c61d55 SHA256 39c45aa878bf399b503ae84608a8dbfde73f0fb4440fd33aea62cfdd8620e4e0
+MD5 1b484bf2b6610cbd1c19fa74782970a6 files/palantir.conf.sample 5484
+RMD160 fe8face277f828ac59c3f624bf93d1f5b5920403 files/palantir.conf.sample 5484
+SHA256 39c45aa878bf399b503ae84608a8dbfde73f0fb4440fd33aea62cfdd8620e4e0 files/palantir.conf.sample 5484
+AUX palantir.init 931 RMD160 b452f53a2b3f93994ab55dafef2b5998b3a2fb90 SHA1 fd2d343c9ba583450d9af08a248c7bee94c0d8cd SHA256 a1d1206a5e9dbd14370c6230895f6c6363c76d01aaf54ea071768b20ac90c279
+MD5 b071b33b9a90473bf8129cfbf754946a files/palantir.init 931
+RMD160 b452f53a2b3f93994ab55dafef2b5998b3a2fb90 files/palantir.init 931
+SHA256 a1d1206a5e9dbd14370c6230895f6c6363c76d01aaf54ea071768b20ac90c279 files/palantir.init 931
+DIST palantir-2.6.tgz 424082 RMD160 8e0578990d8757413635c5779aa471c13e37950e SHA1 42f527db049cbc10ad3ed8d245ab5746b8d5e4ff SHA256 a80f22e5df3d318e55f07f7ed09427bdc9d24e0762cc00a9df7223b3b5dff0e1
+EBUILD palantir-2.6.ebuild 1485 RMD160 245e35a36bcc991936c85618966775413bcd5316 SHA1 240d8a2ac7b177cbf62a82e1f9ed15cdb469ceac SHA256 a3935c84429353664159a400b9679f7fd1bd2670b75646fcc44a946ec5e5e5db
+MD5 31408dff80b5a88de646faccec046443 palantir-2.6.ebuild 1485
+RMD160 245e35a36bcc991936c85618966775413bcd5316 palantir-2.6.ebuild 1485
+SHA256 a3935c84429353664159a400b9679f7fd1bd2670b75646fcc44a946ec5e5e5db palantir-2.6.ebuild 1485
+MISC ChangeLog 222 RMD160 541e80275fb4c4f086b273cc0b128c5b133322ab SHA1 9521e4aa204179fad824e933e8322a086c4128b8 SHA256 12af74760750182b53df06c50e77ee6c47dccbdbc3d277afd0f1d6720572db2a
+MD5 5aa640baae91bbf6e89d65388cdb5540 ChangeLog 222
+RMD160 541e80275fb4c4f086b273cc0b128c5b133322ab ChangeLog 222
+SHA256 12af74760750182b53df06c50e77ee6c47dccbdbc3d277afd0f1d6720572db2a ChangeLog 222
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 6946b394fbd3dc0285a5bf74b170dd58 files/digest-palantir-2.6 229
+RMD160 a91177543be826a4b1a57a58065f910dc9e66001 files/digest-palantir-2.6 229
+SHA256 fa16ef355463be121e371a09eb93bf8eac62b6efb8cdb0d7d144dae78c453173 files/digest-palantir-2.6 229
diff --git a/media-video/palantir/files/2.6-makefile.patch b/media-video/palantir/files/2.6-makefile.patch
new file mode 100644
index 000000000..c7317011f
--- /dev/null
+++ b/media-video/palantir/files/2.6-makefile.patch
@@ -0,0 +1,44 @@
+--- palantir-2.6/server/Makefile 2005-09-02 14:33:50.000000000 +0200
++++ palantir-2.6.new/server/Makefile 2006-07-08 23:06:04.000000000 +0200
+@@ -8,7 +8,7 @@
+
+ # most installation directories are relative to this one.
+ # Some might want to choose "/usr" instead.
+-BASE_DIR= /usr/local
++BASE_DIR= /usr
+
+ # the owner of the system directory and of the named pipe contained therein.
+ # Note that since pipe has permission 600, all processes which interface to
+@@ -21,12 +21,12 @@
+ SYS_DIR= $(BASE_DIR)/share/palantir
+
+ # location of default config file
+-CONFIG_FILE= $(SYS_DIR)/palantir.conf
++CONFIG_FILE= /etc/palantir/palantir.conf
+
+ # named pipe used as a supplementary I/O channel.
+ # For Palantir to use it, its correct path must be specified as a
+ # NamedPipe directive in the configuration file
+-NAMED_PIPE= $(SYS_DIR)/telmu_pipe
++#NAMED_PIPE= $(SYS_DIR)/telmu_pipe
+
+ # directory where to install executables in
+ BIN_DIR= $(BASE_DIR)/bin
+@@ -35,7 +35,7 @@
+ MAN_DIR= $(BASE_DIR)/man
+
+ # location of default log file
+-LOG_FILE= /var/log/palantir
++LOG_FILE= /var/log/palantir.log
+
+ # set to 1 to enable capture monitoring in a stand-alone window
+ # (requires Imlib)
+@@ -47,8 +47,6 @@
+ .PHONY : tools man
+
+
+-CFLAGS= -Wall -D_REENTRANT -O3 -g
+-CC= gcc
+ libjpeg= -ljpeg
+
+ ifeq ($(TARGET),mips)
diff --git a/media-video/palantir/files/digest-palantir-2.6 b/media-video/palantir/files/digest-palantir-2.6
new file mode 100644
index 000000000..1c6456162
--- /dev/null
+++ b/media-video/palantir/files/digest-palantir-2.6
@@ -0,0 +1,3 @@
+MD5 a40863d7079ca5e7b1a0da0fd4dbd5f0 palantir-2.6.tgz 424082
+RMD160 8e0578990d8757413635c5779aa471c13e37950e palantir-2.6.tgz 424082
+SHA256 a80f22e5df3d318e55f07f7ed09427bdc9d24e0762cc00a9df7223b3b5dff0e1 palantir-2.6.tgz 424082
diff --git a/media-video/palantir/files/palantir.conf.sample b/media-video/palantir/files/palantir.conf.sample
new file mode 100644
index 000000000..b8e9a3e32
--- /dev/null
+++ b/media-video/palantir/files/palantir.conf.sample
@@ -0,0 +1,255 @@
+
+#
+# Configuration file for Palantir.
+#
+# See palantir.conf(5) for details.
+#
+# $Id: palantir.conf.sample,v 1.11 2005/08/15 20:45:09 santinod Exp $
+
+
+
+##
+## Global options
+##
+
+
+## VideoDevice: video device to capture from.
+## Default is /dev/video0.
+#
+# VideoDevice /dev/video0
+
+
+## Channel: video channel to capture from.
+## Default is channel 0.
+#
+# Channel 0
+
+
+## VideoNorm: norm of the video signal in your country.
+## Default is PAL. Other allowed values are NTSC, SECAM and AUTO.
+#
+# VideoNorm PAL
+
+
+## Palette: video capture palette (either Mono or Color). Default is Color.
+#
+# Palette Color
+
+
+## FrameSize: size of captured frames.
+## Default is 320x240.
+#
+# FrameSize 352x288
+
+
+## FrameRate: capture frame rate, in frames per second.
+## Only works with webcams supported by the pwc driver.
+## Default is 15.
+#
+# FrameRate 30
+
+
+## JpegQuality: JPEG compression quality level. Default is 50.
+#
+# JpegQuality 50
+
+
+## ImageFilters: apply one or more filters to the captured frames.
+## Allowed values are Flip, Invert, UpsideDown (which stands for
+## "Flip Invert").
+## Multiple (space-separated) values are allowed.
+## Default is to apply no filter.
+#
+# ImageFilters UpsideDown
+
+
+## Audio: enable or disable audio stream.
+## Allowed values are "On" and "Off".
+## Default is On.
+#
+# Audio On
+
+
+## AudioCaptureDevice: audio device to capture from.
+## Default is /dev/dsp.
+#
+# AudioCaptureDevice /dev/dsp
+
+
+## VideoAudioInput: audio input on the video capture device.
+##
+## Default is input 0, which is often the only audio device (if any) on the
+## capture card.
+#
+# VideoAudioInput 0
+
+
+## VideoAudioVolume: volume of the audio input device selected with
+## VideoAudioInput.
+## Allowed values are 0...65535.
+## Default is 65535.
+#
+# VideoAudioVolume 65535
+
+
+## TunerFreq: video card tuner frequency. Only useful if the video device
+## has an on-board tuner.
+## Default is not to set the tuner frequency (preserve last setting).
+#
+# TunerFreq 663.25
+
+
+## TCPPort: TCP base port to listen to. Clients connect to this port
+## for the HTTP (video+data) stream.
+## If the audio channel is enabled, it is made available to clients
+## on an additional port, which defaults to (base port)+1 (a different value
+## can be selected via a command-line option or the TCPAudioPort directive).
+#
+# TCPPort 3000
+
+
+## TCPAudioPort: TCP audio port to listen to (if the audio channel is
+## not disabled).
+## Default is (base port)+1.
+#
+# TCPAudioPort 3001
+
+
+## SerialPort: serial port used to control external devices.
+## Default is not to use a serial link.
+#
+# SerialPort /dev/ttyS1
+
+
+## ControlTimeout: duration for the control time share, in seconds.
+## Default is 30.
+#
+# ControlTimeout 30
+
+
+## ClientTimeout: maximum duration of a single client connection, in seconds.
+## Default is to allow indefinitely long connections.
+
+ClientTimeout 300
+
+
+## ClientAckTimeout: how long the server should wait for the "frame received"
+## acknowledgement from the client, in seconds.
+## Default is 30 seconds.
+#
+# ClientAckTimeout 30
+
+
+## MaxStreamingClients: maximum number of simultaneous connections to video
+## stream. Clients in excess get a snapshot.
+## Default is 5.
+#
+# MaxStreamingClients 5
+
+
+## Greeting: message sent to clients upon connection.
+## Default is "Experimental Palantir server".
+#
+# Greeting "Experimental Palantir server"
+
+
+## NamedPipe: location of the special file (named pipe) used to communicate
+## with software devices.
+## Default is not to use a named pipe.
+#
+NamedPipe /var/run/palantir/telmu_pipe
+
+
+## LogFile: location of the log file. If none is specified, diagnostic
+# messages go to stderr.
+
+LogFile /var/log/palantir.log
+
+
+##
+## Device definitions
+##
+
+
+# Define controls for pan/tilt/zoom.
+# Assume the hardware is connected via the serial port.
+# The special names "Pan", "Tilt", "Zoom" cause ad-hoc sliders to be
+# displayed by clients around the video frame.
+
+Device {
+ Carrier serial 0
+ Direction readwrite
+ Name "Pan"
+ Hint "Camera pan"
+ Range 20 230
+ Visual slider_x
+ }
+
+Device {
+ Carrier serial 1
+ Direction readwrite
+ Name "Tilt"
+ Hint "Camera tilt"
+ Range 20 230
+ Visual slider_y
+ }
+
+Device {
+ Carrier serial 2
+ Direction readwrite
+ Name "Zoom"
+ Hint "Camera zoom"
+ Range 0 100
+ Visual slider_z
+ }
+
+
+# Define a slider to control frame brightness (which is channel 0 on the
+# "internal" link).
+# "Notifier Client" is needed here to have all connected clients reflect the
+# changes made by the client in control, since "internal" devices do not provide
+# feedback to the server.
+
+Device {
+ Carrier internal 0
+ Direction readwrite
+ Name "Brightness"
+ Hint "Video capture brightness"
+ Visual slider
+ Remap -32768 32767
+ Notifier Client
+ }
+
+
+# Define visual indicators for various system information gathered by
+# 'sysfeed' and sent to the server via the named pipe link.
+# Note that the device at address 2 (used memory) should be "Remap"ped to match
+# the total amount of RAM installed in your system (e.g. use "Remap 0 256"
+# if there are 256 MB of RAM).
+
+Device {
+ Carrier pipe 0
+ Direction read
+ Name "CPU load"
+ Hint "1 minute CPU load average"
+ Visual gauge
+ Remap 0 1
+ }
+
+Device {
+ Carrier pipe 1
+ Direction read
+ Name "Processes"
+ Hint "Number of running processes"
+ Visual gauge
+ Range 0 150
+ }
+
+Device {
+ Carrier pipe 2
+ Direction read
+ Name "Used memory"
+ Hint "Physical memory currently in use (in megabytes)"
+ Visual gauge
+ Remap 0 640
+ }
diff --git a/media-video/palantir/files/palantir.init b/media-video/palantir/files/palantir.init
new file mode 100644
index 000000000..7801f164a
--- /dev/null
+++ b/media-video/palantir/files/palantir.init
@@ -0,0 +1,31 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: $
+
+depend() {
+ need net
+ after coldplug
+}
+
+start() {
+ if [[ ! -f /etc/palantir/palantir.conf ]]; then
+ eerror "You have to create the configurationfile"
+ eerror "'/etc/palantir/palantir.conf' before"
+ eerror "starting the server!"
+ return 1
+ fi
+
+ ebegin "Starting Palantir Streaming Server"
+
+ start-stop-daemon --start -b -q --exec /usr/bin/palantir --chuid palantir:video
+ start-stop-daemon --start -b -q --exec /usr/bin/palantir_sysfeed --chuid palantir:video
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Palantir Streaming Server"
+ start-stop-daemon --stop -q --exec /usr/bin/palantir
+ start-stop-daemon --stop -q --exec /usr/bin/palantir_sysfeed
+ eend $?
+}
diff --git a/media-video/palantir/metadata.xml b/media-video/palantir/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/media-video/palantir/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/media-video/palantir/palantir-2.6.ebuild b/media-video/palantir/palantir-2.6.ebuild
new file mode 100644
index 000000000..b5fa7d533
--- /dev/null
+++ b/media-video/palantir/palantir-2.6.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Palantir is a Linux-based streaming system designed to transmit live video, audio and data over a TCP/IP network, as well as to control remote devices."
+HOMEPAGE="http://www.fastpath.it/products/palantir/index.php"
+SRC_URI="http://www.fastpath.it/products/${PN}/pub/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="media-libs/jpeg"
+RDEPEND="${DEPEND}"
+
+S="${S}/server"
+
+PALANTIR_USER="palantir"
+PALANTIR_PIPE_PATH="/var/run/palantir/telmu_pipe"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${PV}-makefile.patch"
+ sed -i -e "s#/usr/local/share/palantir/telmu_pipe#${PALANTIR_PIPE_PATH}#" "${S}/tools/set_sensor"
+}
+
+pkg_setup() {
+ enewuser ${PALANTIR_USER}
+}
+
+src_compile() {
+ export NAMED_PIPE="${PALANTIR_PIPE_PATH}"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin palantir
+ newbin tools/sysfeed palantir_sysfeed
+ newbin tools/set_sensor palantir_set_sensor
+
+ insinto /usr/share/${PN}
+ doins -r pict
+
+ insinto /etc/palantir
+ doins "${FILESDIR}/palantir.conf.sample"
+
+ dodir /var/log
+ touch "${D}/var/log/palantir.log"
+
+ dodir /var/run/palantir
+ mkfifo "${D}${NAMED_PIPE}"
+ fperms 0600 "${NAMED_PIPE}"
+ fowners ${PALANTIR_USER} "${NAMED_PIPE}" /var/log/palantir.log
+
+ newinitd "${FILESDIR}/palantir.init" palantir
+
+ dodoc doc/* README TODO
+ doman man/palantir.1 man/palantir.conf.5
+ dohtml man/html/*
+}