public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: x11-libs/qtsingleapplication/, x11-libs/qtsingleapplication/files/
Date: Tue,  1 Jan 2013 19:36:36 +0000 (UTC)	[thread overview]
Message-ID: <1357068762.82a8a69981ec5df58b8f59f8b64c30715b9b0305.kensington@gentoo> (raw)

commit:     82a8a69981ec5df58b8f59f8b64c30715b9b0305
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  1 19:32:42 2013 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Jan  1 19:32:42 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=82a8a699

[x11-libs/qtsingleapplication] New package wrt bug #441914.

Package-Manager: portage-2.1.11.38

---
 x11-libs/qtsingleapplication/Manifest              |    1 +
 .../files/qtsingleapplication-2.6.1-gcc47.patch    |   11 ++++++
 x11-libs/qtsingleapplication/metadata.xml          |    5 +++
 .../qtsingleapplication-2.6.1.ebuild               |   35 ++++++++++++++++++++
 4 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/x11-libs/qtsingleapplication/Manifest b/x11-libs/qtsingleapplication/Manifest
new file mode 100644
index 0000000..d441812
--- /dev/null
+++ b/x11-libs/qtsingleapplication/Manifest
@@ -0,0 +1 @@
+DIST qtsingleapplication-2.6_1-opensource.tar.gz 92779 SHA256 b0435c9dd2da391ade5686ed75ef0247a1cd341e884d641860bd0f2a70cf1819 SHA512 75ea5f8e860e1e7c7c6989717042c0279a5eb8ba1d1f2ccb8a4ef727d06cb579d4e3aff0557b4f0688ccb5550eff007e8537191c52f84196714ac3fb80d70f5c WHIRLPOOL 9513230e0eddf4ceb65e03692f03ea9ceb192adb06d3a768da0f436f6e2a77b00108d81cb2f933fafb8024f4715d971e755e8a9a8515475fed1707e70475520b

diff --git a/x11-libs/qtsingleapplication/files/qtsingleapplication-2.6.1-gcc47.patch b/x11-libs/qtsingleapplication/files/qtsingleapplication-2.6.1-gcc47.patch
new file mode 100644
index 0000000..a01143e
--- /dev/null
+++ b/x11-libs/qtsingleapplication/files/qtsingleapplication-2.6.1-gcc47.patch
@@ -0,0 +1,11 @@
+diff -rupN qtsingleapplication-2.6_1-opensource.old/src/qtlocalpeer.cpp qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.cpp
+--- qtsingleapplication-2.6_1-opensource.old/src/qtlocalpeer.cpp	2012-01-11 08:15:08.000000000 -0500
++++ qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.cpp	2012-01-11 08:17:36.874461946 -0500
+@@ -58,6 +58,7 @@ static PProcessIdToSessionId pProcessIdT
+ #endif
+ #if defined(Q_OS_UNIX)
+ #include <time.h>
++#include <unistd.h>
+ #endif
+ 
+ const char* QtLocalPeer::ack = "ack";

diff --git a/x11-libs/qtsingleapplication/metadata.xml b/x11-libs/qtsingleapplication/metadata.xml
new file mode 100644
index 0000000..ab02f99
--- /dev/null
+++ b/x11-libs/qtsingleapplication/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>qt</herd>
+</pkgmetadata>

diff --git a/x11-libs/qtsingleapplication/qtsingleapplication-2.6.1.ebuild b/x11-libs/qtsingleapplication/qtsingleapplication-2.6.1.ebuild
new file mode 100644
index 0000000..b916028
--- /dev/null
+++ b/x11-libs/qtsingleapplication/qtsingleapplication-2.6.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit qt4-r2 versionator
+
+MY_P="${PN}-$(replace_version_separator 2 _)-opensource"
+
+DESCRIPTION="Qt library to start applications only once per user"
+HOMEPAGE="http://doc.qt.digia.com/solutions/4/qtsingleapplication/index.html"
+SRC_URI="http://get.qt.nokia.com/qt/solutions/lgpl/${MY_P}.tar.gz"
+
+LICENSE="|| ( LGPL-2.1 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="x11-libs/qt-core:4
+	x11-libs/qt-gui:4"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}/${P}-gcc47.patch" )
+
+src_configure() {
+	eqmake4 CONFIG+=qtsingleapplication-uselib
+}
+
+src_install() {
+	dolib.so lib/*
+	doheader src/${PN}.h
+}


             reply	other threads:[~2013-01-01 19:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-01 19:36 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-01-12 16:40 [gentoo-commits] proj/qt:master commit in: x11-libs/qtsingleapplication/, x11-libs/qtsingleapplication/files/ Michael Palimaka
2013-09-04 15:00 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1357068762.82a8a69981ec5df58b8f59f8b64c30715b9b0305.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox