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
Created attachment 163726 [details] qpitch-1.0.1 ebuild
Created attachment 163727 [details, diff] patch suppress warning message when compiling
Created attachment 163729 [details, diff] patch that adds make install target
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 ...)
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 }
Created attachment 191896 [details, diff] patch to install .png icon instead of .xpm, as it is unavailable
Created attachment 191897 [details] desktop file, doesn't use absolute path
(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.
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.
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
(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.
> 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!
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
+*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
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
Try the live ebuild instead or report the bug upstream