git.iko.soy/typeable/nixpkgs
on master help sign in
gigedit: svn-2342 -> 1.1.0
56ca5cbOrivej Desh
pkgs/applications/audio/gigedit/default.nix+15−15
@@ -1,25 +1,25 @@
1−{ stdenv, fetchsvn, autoconf, automake, docbook_xml_dtd_45
1+{ stdenv, fetchurl, autoconf, automake, intltool, libtool, pkgconfig, which
2−, docbook_xsl, gtkmm2, intltool, libgig, libsndfile, libtool, libxslt
2+, docbook_xml_dtd_45, docbook_xsl, gtkmm2, libgig, libsndfile, libxslt
3−, pkgconfig }:
3+}:
4
4
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
6− name = "gigedit-svn-${version}";
6+ name = "gigedit-${version}";
7− version = "2342";
7+ version = "1.1.0";
8
8
9− src = fetchsvn {
9+ src = fetchurl {
10− url = "https://svn.linuxsampler.org/svn/gigedit/trunk";
10+ url = "http://download.linuxsampler.org/packages/${name}.tar.bz2";
11− rev = "${version}";
11+ sha256 = "087pc919q28r1vw31c7w4m14bqnp4md1i2wbmk8w0vmwv2cbx2ni";
12− sha256 = "0wi94gymj0ns5ck9lq1d970gb4gnzrq4b57j5j7k3d6185yg2gjs";
13 };
12 };
14
13
15− patchPhase = "sed -e 's/which/type -P/g' -i Makefile.cvs";
14+ patches = [ ./gigedit-1.1.0-pangomm-2.40.1.patch ];
16
15
17− preConfigure = "make -f Makefile.cvs";
16+ preConfigure = "make -f Makefile.svn";
18
17
19− buildInputs = [
18+ nativeBuildInputs = [ autoconf automake intltool libtool pkgconfig which ];
19+
20− autoconf automake docbook_xml_dtd_45 docbook_xsl gtkmm2 intltool
20+ buildInputs = [ docbook_xml_dtd_45 docbook_xsl gtkmm2 libgig libsndfile libxslt ];
21− libgig libsndfile libtool libxslt pkgconfig
21+
22− ];
22+ enableParallelBuilding = true;
23
23
24 meta = with stdenv.lib; {
24 meta = with stdenv.lib; {
25 homepage = http://www.linuxsampler.org;
25 homepage = http://www.linuxsampler.org;
pkgs/applications/audio/gigedit/gigedit-1.1.0-pangomm-2.40.1.patchnew file+15
@@ -0,0 +1,15 @@
1+--- a/src/gigedit/wrapLabel.cc
2++++ b/src/gigedit/wrapLabel.cc
3+@@ -64,12 +64,7 @@ WrapLabel::WrapLabel(const Glib::ustring &text) // IN: The label text
4+ : mWrapWidth(0),
5+ mWrapHeight(0)
6+ {
7+- // pangomm >= 2.35.1
8+-#if PANGOMM_MAJOR_VERSION > 2 || (PANGOMM_MAJOR_VERSION == 2 && (PANGOMM_MINOR_VERSION > 35 || (PANGOMM_MINOR_VERSION == 35 && PANGOMM_MICRO_VERSION >= 1)))
9+- get_layout()->set_wrap(Pango::WrapMode::WORD_CHAR);
10+-#else
11+ get_layout()->set_wrap(Pango::WRAP_WORD_CHAR);
12+-#endif
13+ set_alignment(0.0, 0.0);
14+ set_text(text);
15+ }