You are not logged in.
Hydrogen is a drum loop editor. I disabled JACK support since it's not part of the distribution yet. Here's the PKGBUILD:
# Contributor: K. Piche <kpiche@rogers.com>
pkgname=hydrogen
pkgver=0.8.2
pkgrel=1
pkgdesc="Hydrogen is an advanced drum machine for GNU/Linux"
url=(http://hydrogen.sourceforge.net/)
depends=('alsa-lib' 'audiofile' 'liblrdf' 'qt')
source=(http://dl.sourceforge.net/sourceforge/hydrogen/$pkgname-$pkgver.tar.gz
hydrogen-0.8.2.patch)
md5sums=('65e16cabfaa414dabdd0039cad5eee94' 'd2de6e8147eb99f7899f2f1d0b5e674f')
build() {
cd $startdir/src/$pkgname-$pkgver
# correct compile errors.
patch -Np0 -i ../hydrogen-0.8.2.patch
./configure --prefix=/usr --disable-jack-support
make || return 1
make DESTDIR=$startdir/pkg install
}
And the hydrogen-0.8.2.patch:
--- lib/Hydrogen.cpp.orig 2004-05-26 16:52:15.000000000 -0400
+++ lib/Hydrogen.cpp 2004-05-26 16:56:10.000000000 -0400
@@ -2502,7 +2502,7 @@
float fBPM = 60000.0 / fInterval;
- if ( abs(fOldBpm1 - fBPM) > 20 ) { // troppa differenza, niente media
+ if ( fabs(fOldBpm1 - fBPM) > 20 ) { // troppa differenza, niente media
fOldBpm1 = fBPM;
fOldBpm2 = fBPM;
fOldBpm3 = fBPM;
--- hydrogen_gui/AudioEngineInfoForm_UI.h.orig 2004-05-26 17:06:29.000000000 -0400
+++ hydrogen_gui/AudioEngineInfoForm_UI.h 2004-05-26 17:14:11.000000000 -0400
@@ -12,6 +12,7 @@
#include <qvariant.h>
#include <qwidget.h>
+#include <qlayout.h>
class QVBoxLayout;
class QHBoxLayout;
@@ -56,6 +57,8 @@
QLabel* currentPatternLbl;
QLabel* TextLabel1_2_2;
QLabel* m_pSongPositionLbl;
+ QSpacerItem* Spacer1;
+ QSpacerItem* Spacer2;
protected:
QHBoxLayout* Layout2;
--- hydrogen_gui/LadspaFXSelector_UI.h.orig 2004-05-26 17:24:11.000000000 -0400
+++ hydrogen_gui/LadspaFXSelector_UI.h 2004-05-26 17:24:48.000000000 -0400
@@ -12,6 +12,7 @@
#include <qvariant.h>
#include <qdialog.h>
+#include <qlayout.h>
class QVBoxLayout;
class QHBoxLayout;
@@ -51,6 +52,8 @@
QLabel* m_pMakerLbl;
QLabel* textLabel5;
QLabel* m_pCopyrightLbl;
+ QSpacerItem* Spacer1;
+ QSpacerItem* Spacer2;
public slots:
virtual void pluginSelected();
--- hydrogen_gui/PreferencesDialog_UI.h.orig 2004-05-26 17:29:30.000000000 -0400
+++ hydrogen_gui/PreferencesDialog_UI.h 2004-05-26 17:36:13.000000000 -0400
@@ -12,6 +12,7 @@
#include <qvariant.h>
#include <qdialog.h>
+#include <qlayout.h>
class QVBoxLayout;
class QHBoxLayout;
@@ -83,6 +84,8 @@
QLabel* mixerFontLbl;
QLabel* textLabel1;
QLabel* textLabel3;
+ QSpacerItem* Spacer1;
+ QSpacerItem* Spacer2;
public slots:
virtual void cancelBtnClicked() = 0;
These two files are also tarred up in incoming.
Offline
Wow! Thanks a lot! I've been trying to get this to work for a long time! I ended up getting the cvs snapshot to work, but boy! That was buggy as heck! I'd love to see this package in the official respitories!
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
That was a quick reply! No problem...
Offline
You just need to fix your md5sums for the patch, and it makepkgs fine.
[edit] I spoke too soon... I'm getting comile errors :- I'll post them in a second...
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DQT_THREAD_SUPPORT -D_REENTRANT -O3 -c -o Hydrogen.o `test -f 'Hydrogen.cpp' || echo './'`Hydrogen.cpp
Hydrogen.cpp: In member function `void Hydrogen::setTapTempo(float)':
Hydrogen.cpp:2505: error: call of overloaded `abs(float)' is ambiguous
/usr/include/stdlib.h:740: note: candidates are: int abs(int)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/cstdlib:153: note: long long int __gnu_cxx::abs(long long int)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/cstdlib:123: note: long int std::abs(long int)
make[2]: *** [Hydrogen.o] Error 1
make[2]: Leaving directory `/home/punkrockguy318/hydro/src/hydrogen-0.8.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/punkrockguy318/hydro/src/hydrogen-0.8.2'
make: *** [all] Error 2
Those are my errors...
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Hmm... I downloaded the version from incoming, and it works fine so far... the compile is looking good. Recopy and paste your PKGBUILD and patch on the forum post, I think the ones on the forum are invalid
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
The problem is how the tabs from the original patch were converted to spaces by the forum software. I'm not sure how to get around this.
Offline
ok, great! i've got 0.8.2 running with jack! it's with jack that hydrogen becomes really interesting, so i hope to se it as a official package soon(0.9.4.0 is in incoming). Then if rosegarden and ardour comes in, arch will be an attractive choice for the music studio!
Offline
I second the motion for ardour ...when it finally becomes stable.
It's getting to be very frustrating to use while all these big changes are going on.
Back on the thread subject, nice PKGBUILD! I wouldn't mind if jack were included by default either. Arch's minimalist POV provides an excellent platform for running audio apps.
Offline
Arch (with hydrogen) has everything I need for recording.
1) GTick
2) Audacity
3) ALSA
4) Hydrogen
5) K3B
6) LAME
For now I have win98 on the machine I use for recording - but I guess now that there's a stable hydrogen pkg, I might as well put Arch down there! Does Arch have any tools of the 0.6 disk that can resize FAT32? Or will I have to use System Rescue Disk (Gentoo live cd)?
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
The AIR shows that ardour and rosegarden are available in incoming.
Offline
Arch (with hydrogen) has everything I need for recording.
1) GTick
2) Audacity
3) ALSA
4) Hydrogen
5) K3B
6) LAMEFor now I have win98 on the machine I use for recording - but I guess now that there's a stable hydrogen pkg, I might as well put Arch down there! Does Arch have any tools of the 0.6 disk that can resize FAT32? Or will I have to use System Rescue Disk (Gentoo live cd)?
For the most importent things for recordning is rather something like this
* ALSA (ok)
* JACK
* LADSPA-plugins (ok)
* Ardour
* Audacity (ok)
* Hydrogen (ok!)
* Rosegarden-4
then there's a lot more...
Offline
I've created another thread for discussion audio/music with arch
http://bbs.archlinux.org/viewtopic.php?t=4790
Join it!
Offline
Building hydrogen i get an error
makepkg
==> Making package: hydrogen (Wed Jun 9 15:02:43 EDT 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Found hydrogen-0.8.2.tar.gz in build dir
==> Found hydrogen-0.8.2.patch in build dir
==> Validating source files with MD5sums
hydrogen-0.8.2.tar.gz ... Passed
hydrogen-0.8.2.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
Does this have to do with MDSUM, if so how do i fix. ??
Whereis 'incoming" so i can get the original file.
Thanks
:shock:
HeTePu
Offline
See my comment about this about 8 posts up. The patch got mangled by cut and pasting. Download the tar file from Arch incoming for a correct version of the patch.
Offline
Did read post previously, but was not clear how to find 'incoming'.
Eventually found incoming, got the patch and the program built.
So far i've got jack and hdrogen installed.
Trying to understand how jack works or how to use it.. I usually get a graphical interface on ccrma.
Will qjackctl be available for arch, wil try to build.
Next up are rosegarden, ladspa and rezound, snd 'if available.'
Thanks a lot.
HeTePu
Offline
Ah.
LADSPA and snd are already available via pacman. I tried building rezound but had too many C++/gcc 3.4 issues. Rosegarden is in incoming but may not build anymore with gcc 3.4.
Offline
Thanks
Didn't notice qjackctl or qjackconnect in incoming.
Tried to build qjackctl, but can't find qt3-devel.
MYPKGBUILD
--------------------------------------------------------------
pkgname=qjackctl
pkgver=0.2.8
pkgrel=1
pkgdesc="A simple Qt app to control the JACK sound server daemon"
url="http://qjackctl.sourceforge.net/"
depends=('alsa-driver' 'jack-audio-connection-kit')
makedepends=()
conflicts=()
replaces=()
backup=()
source=(http://prdownloads.sourceforge.net/sourceforge/qjackctl/$pkgname-$pkgver.tar.gz)
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr/local
make || return 1
make DESTDIR=$startdir/pkg install
}
-------------------------------------------------
ERROR
checking for Qt library version >= 3.1.1... yes
checking for qmake... no
configure: error: qmake not found in current PATH. Maybe QT development environment isn't available (qt3-devel).
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed. Aborting...
I do have qmake installed
Can't find qt3-devel arch package, found rpm package on rpmfind.
Any help appreciated
Thanks
:shock:
HeTePu
Offline
/opt/qt/bin/qmake is provided by the qt package. You probably just need to set your PATH or provide the path to ./configure. You should make your package depend on qt as well.
Offline
This app looks awsome and i would love to get it working. When i try running it i get this error.
[jsutnoni@Otis jsutnoni]$ hydrogen
hydrogen: error while loading shared libraries: libcurl.so.2: cannot open shared object file: No such file or directory
Iv got curl installed and updatedb && locate lubcurl.so.2 pulls nothing. Any suggestions?
-=JsutNoni=-
Offline
Maybe this might help http://bugs.archlinux.org/?do=details&id=1017 .
Offline
sweet that worked! slocate libcurl.so found /usr/lib/libcurl.so.3 so i jsut simlinked it to /usr/lib/libcurl.so.2 and everything works jsut fine now. Thanks!
-=JsutNoni=-
Offline
hehe, no problem.
/me hails www.google.com/linux
Offline
sweet that worked! slocate libcurl.so found /usr/lib/libcurl.so.3 so i jsut simlinked it to /usr/lib/libcurl.so.2 and everything works jsut fine now. Thanks!
Hm folks, good if you can help your self but won't help me as maintainer.
Strange thing is that I didn't build it against an old libcurl it might be another
lib called by hydrogen.
Seems that it can be an heritage from raptor. I just checked on my build
box, the one I built official hydrogen on, that the apps all call libcurl.so.3.
So please make sure all things are uptodate.
-neri
Offline
jsutnoni wrote:sweet that worked! slocate libcurl.so found /usr/lib/libcurl.so.3 so i jsut simlinked it to /usr/lib/libcurl.so.2 and everything works jsut fine now. Thanks!
Hm folks, good if you can help your self but won't help me as maintainer.
Strange thing is that I didn't build it against an old libcurl it might be another
lib called by hydrogen.
Seems that it can be an heritage from raptor. I just checked on my build
box, the one I built official hydrogen on, that the apps all call libcurl.so.3.So please make sure all things are uptodate.
-neri
neri: hydrogen just needs a rebuild, then it'll be fine.
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline