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 /app-laptop/samsung-tools
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 'app-laptop/samsung-tools')
-rw-r--r--app-laptop/samsung-tools/Manifest2
-rw-r--r--app-laptop/samsung-tools/files/samsung-tools.init15
-rw-r--r--app-laptop/samsung-tools/metadata.xml10
-rw-r--r--app-laptop/samsung-tools/samsung-tools-2.1.ebuild43
-rw-r--r--app-laptop/samsung-tools/samsung-tools-2.3.1.ebuild55
5 files changed, 125 insertions, 0 deletions
diff --git a/app-laptop/samsung-tools/Manifest b/app-laptop/samsung-tools/Manifest
new file mode 100644
index 000000000000..8be96c087d6f
--- /dev/null
+++ b/app-laptop/samsung-tools/Manifest
@@ -0,0 +1,2 @@
+DIST samsung-tools-2.1.tar.gz 415254 SHA256 dc5a4d7f24e621785ca9c73f07d18e88cacf0e4b9d77e0f798f7abd9290d6ab9 SHA512 c7e60ef9accd5707913951d37442f9cf1c2363ca4150f0058c1345ea0a8027ddc32b9cf6da386e2c001c75d163034a48dbe16bf0936ade03e7067082257d42bd WHIRLPOOL b629ed0bc7a891148e3c1e9df5d3591a1391ed350d5373b52c44a443d156226dbf02d65afb5c1dcd7270ace3a84365813fccfb87bc84e565f9032e7a6b800673
+DIST samsung-tools-2.3.1.tar.gz 425379 SHA256 423ec128d75035b77d9bdeaa3662acbf0e644ae7a6b15671943e7a5764d7b370 SHA512 1234972ceea3925c95d631a2429b9669ba8ece078adb5790784a8ee2f88ec269b5fef98e915604f9c68b404bb37a37a79c8192554c3a5aca97ec654f291d74f1 WHIRLPOOL f7b45eb94406102febd3fcb8079a7a1ebdf31d26d397a900fae20ec052aa262baf20b95deeddba411efd7a17644a889cba06df3e14a909bd5e6fb781e0fc0f2d
diff --git a/app-laptop/samsung-tools/files/samsung-tools.init b/app-laptop/samsung-tools/files/samsung-tools.init
new file mode 100644
index 000000000000..3580390a1758
--- /dev/null
+++ b/app-laptop/samsung-tools/files/samsung-tools.init
@@ -0,0 +1,15 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need dbus
+}
+
+start() {
+ ebegin "Setting up samsung-tools"
+ dbus-send --system --print-reply=literal --dest='org.voria.SamsungTools.System' \
+ '/' org.voria.SamsungTools.System.SetInitialDevicesStatus
+ eend $?
+}
diff --git a/app-laptop/samsung-tools/metadata.xml b/app-laptop/samsung-tools/metadata.xml
new file mode 100644
index 000000000000..f80fe720b6e1
--- /dev/null
+++ b/app-laptop/samsung-tools/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">samsung-tools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-laptop/samsung-tools/samsung-tools-2.1.ebuild b/app-laptop/samsung-tools/samsung-tools-2.1.ebuild
new file mode 100644
index 000000000000..822055b17c79
--- /dev/null
+++ b/app-laptop/samsung-tools/samsung-tools-2.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit fdo-mime python-r1
+
+DESCRIPTION="Tools for Samsung laptops"
+HOMEPAGE="http://launchpad.net/samsung-tools"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="app-laptop/easy-slow-down-manager
+ dev-python/dbus-python
+ dev-python/notify-python
+ dev-python/pygtk
+ net-wireless/rfkill
+ sys-apps/vbetool
+ sys-power/pm-utils
+ x11-misc/xbindkeys"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ return
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/app-laptop/samsung-tools/samsung-tools-2.3.1.ebuild b/app-laptop/samsung-tools/samsung-tools-2.3.1.ebuild
new file mode 100644
index 000000000000..52eaa37c7a17
--- /dev/null
+++ b/app-laptop/samsung-tools/samsung-tools-2.3.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit fdo-mime python-single-r1
+
+DESCRIPTION="Tools for Samsung laptops"
+HOMEPAGE="http://launchpad.net/samsung-tools"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ app-laptop/easy-slow-down-manager
+ net-wireless/rfkill
+ sys-apps/vbetool
+ sys-power/pm-utils
+ x11-misc/xbindkeys"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_compile() {
+ return
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+
+ python_fix_shebang "${D}"/usr/bin
+ python_fix_shebang "${D}"/usr/share/samsung-tools/system-service.py
+ python_fix_shebang "${D}"/usr/share/samsung-tools/session-service.py
+ python_optimize "${D}"/usr/share/samsung-tools/backends
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}