tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gigedit: svn-2342 -> 1.1.0
Orivej Desh
8 years ago
56ca5cb1
9b1ba651
+30
-15
2 changed files
expand all
collapse all
unified
split
pkgs
applications
audio
gigedit
default.nix
gigedit-1.1.0-pangomm-2.40.1.patch
+15
-15
pkgs/applications/audio/gigedit/default.nix
···
1
1
-
{ stdenv, fetchsvn, autoconf, automake, docbook_xml_dtd_45
2
2
-
, docbook_xsl, gtkmm2, intltool, libgig, libsndfile, libtool, libxslt
3
3
-
, pkgconfig }:
1
1
+
{ stdenv, fetchurl, autoconf, automake, intltool, libtool, pkgconfig, which
2
2
+
, docbook_xml_dtd_45, docbook_xsl, gtkmm2, libgig, libsndfile, libxslt
3
3
+
}:
4
4
5
5
stdenv.mkDerivation rec {
6
6
-
name = "gigedit-svn-${version}";
7
7
-
version = "2342";
6
6
+
name = "gigedit-${version}";
7
7
+
version = "1.1.0";
8
8
9
9
-
src = fetchsvn {
10
10
-
url = "https://svn.linuxsampler.org/svn/gigedit/trunk";
11
11
-
rev = "${version}";
12
12
-
sha256 = "0wi94gymj0ns5ck9lq1d970gb4gnzrq4b57j5j7k3d6185yg2gjs";
9
9
+
src = fetchurl {
10
10
+
url = "http://download.linuxsampler.org/packages/${name}.tar.bz2";
11
11
+
sha256 = "087pc919q28r1vw31c7w4m14bqnp4md1i2wbmk8w0vmwv2cbx2ni";
13
12
};
14
13
15
15
-
patchPhase = "sed -e 's/which/type -P/g' -i Makefile.cvs";
14
14
+
patches = [ ./gigedit-1.1.0-pangomm-2.40.1.patch ];
15
15
+
16
16
+
preConfigure = "make -f Makefile.svn";
17
17
+
18
18
+
nativeBuildInputs = [ autoconf automake intltool libtool pkgconfig which ];
16
19
17
17
-
preConfigure = "make -f Makefile.cvs";
20
20
+
buildInputs = [ docbook_xml_dtd_45 docbook_xsl gtkmm2 libgig libsndfile libxslt ];
18
21
19
19
-
buildInputs = [
20
20
-
autoconf automake docbook_xml_dtd_45 docbook_xsl gtkmm2 intltool
21
21
-
libgig libsndfile libtool libxslt pkgconfig
22
22
-
];
22
22
+
enableParallelBuilding = true;
23
23
24
24
meta = with stdenv.lib; {
25
25
homepage = http://www.linuxsampler.org;
+15
pkgs/applications/audio/gigedit/gigedit-1.1.0-pangomm-2.40.1.patch
···
1
1
+
--- a/src/gigedit/wrapLabel.cc
2
2
+
+++ b/src/gigedit/wrapLabel.cc
3
3
+
@@ -64,12 +64,7 @@ WrapLabel::WrapLabel(const Glib::ustring &text) // IN: The label text
4
4
+
: mWrapWidth(0),
5
5
+
mWrapHeight(0)
6
6
+
{
7
7
+
- // pangomm >= 2.35.1
8
8
+
-#if PANGOMM_MAJOR_VERSION > 2 || (PANGOMM_MAJOR_VERSION == 2 && (PANGOMM_MINOR_VERSION > 35 || (PANGOMM_MINOR_VERSION == 35 && PANGOMM_MICRO_VERSION >= 1)))
9
9
+
- get_layout()->set_wrap(Pango::WrapMode::WORD_CHAR);
10
10
+
-#else
11
11
+
get_layout()->set_wrap(Pango::WRAP_WORD_CHAR);
12
12
+
-#endif
13
13
+
set_alignment(0.0, 0.0);
14
14
+
set_text(text);
15
15
+
}