Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235630 - qpitch-1.0.1.ebuild (New Package)
Summary: qpitch-1.0.1.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Qt Bug Alias
URL:
Whiteboard: [qting-edge]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2008-08-24 20:31 UTC by Nico Schlömer
Modified: 2009-12-20 19:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qpitch-1.0.1 ebuild (qpitch-1.0.1.ebuild,654 bytes, text/plain)
2008-08-24 20:33 UTC, Nico Schlömer
Details
patch suppress warning message when compiling (add-cmake-minimum-version.patch,397 bytes, patch)
2008-08-24 20:34 UTC, Nico Schlömer
Details | Diff
patch that adds make install target (add-make-install.patch,382 bytes, patch)
2008-08-24 20:34 UTC, Nico Schlömer
Details | Diff
patch to install .png icon instead of .xpm, as it is unavailable (qpitch-1.0.1-icon.patch,331 bytes, patch)
2009-05-20 10:46 UTC, kavol
Details | Diff
desktop file, doesn't use absolute path (qpitch.desktop,201 bytes, text/plain)
2009-05-20 10:47 UTC, kavol
Details
qpitch 1.0.1 ebuild, committed to sunrise at 2009-05-21 (qpitch-1.0.1.ebuild,624 bytes, text/plain)
2009-05-20 23:21 UTC, Gokdeniz Karadag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Schlömer 2008-08-24 20:31:46 UTC
hi!

i just wrote an ebuild plus to tiny little patches for qpitch, a musical intrument tuner program written with qt 4. 

it might be a replacement candidate for media-sound/k3guitune which, according to the homepage, is no longer maintained.

i don't really know what the procedure is here as this is my first ebuild, but i suggest you guys have a look at it first and see if it compiles for you.

cheers,
nico

Reproducible: Always
Comment 1 Nico Schlömer 2008-08-24 20:33:13 UTC
Created attachment 163726 [details]
qpitch-1.0.1 ebuild
Comment 2 Nico Schlömer 2008-08-24 20:34:09 UTC
Created attachment 163727 [details, diff]
patch suppress warning message when compiling
Comment 3 Nico Schlömer 2008-08-24 20:34:39 UTC
Created attachment 163729 [details, diff]
patch that adds make install target
Comment 4 kavol 2009-05-19 15:34:45 UTC
note that the location of this project changed ... however, after modifying the source URI, I'm still unable to install it due to various errors (install patch rejected, files referenced in CMakeLists.txt missing ...)
Comment 5 kavol 2009-05-20 10:44:53 UTC
ok, I took a closer look and I was able to get it installed ...

--- qpitch-1.0.1.ebuild~        2009-05-19 16:19:21.000000000 +0200
+++ qpitch-1.0.1.ebuild 2009-05-20 12:21:49.000000000 +0200
@@ -7,8 +7,8 @@
 inherit eutils cmake-utils

 DESCRIPTION="A program to tune musical instruments using Qt 4."
-HOMEPAGE="http://wspinell.altervista.org/qpitch/"
-SRC_URI="http://wspinell.altervista.org/qpitch/files/${P}.tar.bz2"
+HOMEPAGE="http://www.webalice.it/wspinelli/qpitch/"
+SRC_URI="http://download.gna.org/qpitch/releases/${P}.tar.gz"

 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86"
@@ -23,6 +23,8 @@
 src_unpack () {
        unpack ${A}
        cd "${S}"
+       mkdir "src/data"
+       cp ${FILESDIR}/qpitch.desktop "src/data/qpitch.desktop"
        epatch ${FILESDIR}/add-cmake-minimum-version.patch
-       epatch ${FILESDIR}/add-make-install.patch
+       epatch ${FILESDIR}/${P}-icon.patch
 }
Comment 6 kavol 2009-05-20 10:46:06 UTC
Created attachment 191896 [details, diff]
patch to install .png icon instead of .xpm, as it is unavailable
Comment 7 kavol 2009-05-20 10:47:36 UTC
Created attachment 191897 [details]
desktop file, doesn't use absolute path
Comment 8 Gokdeniz Karadag 2009-05-20 19:28:18 UTC
(In reply to comment #4)
> note that the location of this project changed ... however, after modifying the
> source URI, I'm still unable to install it due to various errors (install patch
> rejected, files referenced in CMakeLists.txt missing ...)
> 

I contacted the maintainer and he added the missing files to tarball.

I'm currently working on a an ebuild to be included in sunrise overlay.
Comment 9 Gokdeniz Karadag 2009-05-20 23:21:54 UTC
Created attachment 191967 [details]
qpitch 1.0.1 ebuild, committed to sunrise at 2009-05-21

Attached qpitch 1.0.1 ebuild that is committed to sunrise overlay.
Comment 10 Nico Schlömer 2009-06-07 22:37:01 UTC
Hi,

I guess the the manual install line should read

	doman src/data/qpitch.1.gz || die "Could not install man page"

(with .gz).

Cheers,
Nico
Comment 11 Gokdeniz Karadag 2009-06-07 23:23:07 UTC
(In reply to comment #10)

Hi,

Latest version of qpitch installs the man page by itself. See;
http://overlays.gentoo.org/proj/sunrise/browser/sunrise/media-sound/qpitch

BTW, doman without a .gz worked fine.


Comment 12 Nico Schlömer 2009-06-07 23:32:35 UTC
> BTW, doman without a .gz worked fine.
Hm, not for me. It always fails with

/usr/libexec/paludis/utils/doman: src/data/qpitch.1 does not exist

Anyway, I'm fine with the doman gone. Thanks for the heads-up!
Comment 13 Markos Chandras (RETIRED) gentoo-dev 2009-06-07 23:45:26 UTC
Qt herd will pick this up. Moved from sunrise to qting-edge for testing before I commit it to portage tree. I added a live ebuild for this package as well

Thank you
Comment 14 Markos Chandras (RETIRED) gentoo-dev 2009-06-08 13:33:43 UTC
+*qpitch-1.0.1 (08 Jun 2009)
+
+  08 Jun 2009; Markos Chandras <hwoarang@gentoo.org> +qpitch-1.0.1.ebuild,
+  +metadata.xml:
+  Initial commit of qpitch package. Thanks to Nico Schlömer, kavol@email.cz
+  and
+  Gokdeniz Karadag for the initial ebuilds. Fixes bug 235630

On tree. Thank you all

Live ebuild will stay on qting-edge overlay
Comment 15 Lars 2009-12-19 23:03:02 UTC
I installed this ebuild. If I'm trying to start qpitch:

  $ qpitch
  Speicherzugriffsfehler

Speicherzugriffsfehler = segmentation fault

eix qpitch
[I] media-sound/qpitch
     Available versions:  (~)1.0.1
     Installed versions:  1.0.1(23:30:48 19.12.2009)
     Homepage:            http://wspinell.altervista.org/qpitch/
     Description:         A program to tune musical instruments using Qt4
Comment 16 Markos Chandras (RETIRED) gentoo-dev 2009-12-20 19:33:10 UTC
Try the live ebuild instead or report the bug upstream