diff options
| author | Guillaume Le Vaillant <glv@posteo.net> | 2025-08-15 14:13:06 +0200 |
|---|---|---|
| committer | Guillaume Le Vaillant <glv@posteo.net> | 2025-08-15 14:13:06 +0200 |
| commit | 02d42eba10e83ef366eb5dd5a877d07f6c1bc4e7 (patch) | |
| tree | e8584f71b6d5fcf1a4ffe21ba38197c323a57e24 | |
| parent | 1212e541fe8d40a8eb3fb609b41a3b1924f721b3 (diff) | |
gnu: js8call: Fix build.
* gnu/packages/radio.scm (js8call)[inputs]: Replace wsjtx-hamlib by hamlib.
[arguments]: Update 'fix-hamlib' phase.
(wsjtx-hamlib): Remove variable.
Change-Id: I78a943ba3a1e80fd466fda9faa29d85ec4785c87
| -rw-r--r-- | gnu/packages/radio.scm | 37 |
1 files changed, 3 insertions, 34 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 9682b00fbd7..376cef88bd8 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm | |||
| @@ -1668,34 +1668,6 @@ users.") | |||
| 1668 | (home-page "https://hamlib.github.io/") | 1668 | (home-page "https://hamlib.github.io/") |
| 1669 | (license (list license:gpl2+ license:lgpl2.1+)))) | 1669 | (license (list license:gpl2+ license:lgpl2.1+)))) |
| 1670 | 1670 | ||
| 1671 | (define wsjtx-hamlib | ||
| 1672 | ;; Fork of hamlib with custom patches used by wsjtx. | ||
| 1673 | (package | ||
| 1674 | (inherit hamlib) | ||
| 1675 | (name "wsjtx-hamlib") | ||
| 1676 | (version "2.5.2") | ||
| 1677 | (source | ||
| 1678 | (origin | ||
| 1679 | (method git-fetch) | ||
| 1680 | (uri (git-reference | ||
| 1681 | (url "https://git.code.sf.net/u/bsomervi/hamlib.git") | ||
| 1682 | (commit (string-append "wsjtx-" version)))) | ||
| 1683 | (file-name (git-file-name name version)) | ||
| 1684 | (sha256 | ||
| 1685 | (base32 "1bgf7bz2280739a7ip7lvpns0i7x6svryxfmsp32cff2dr146lz3")))) | ||
| 1686 | (native-inputs | ||
| 1687 | `(("autoconf" ,autoconf) | ||
| 1688 | ("automake" ,automake) | ||
| 1689 | ("libtool" ,libtool) | ||
| 1690 | ("texinfo" ,texinfo) | ||
| 1691 | ,@(package-native-inputs hamlib))) | ||
| 1692 | (arguments | ||
| 1693 | `(#:configure-flags '("--disable-static" | ||
| 1694 | "--with-lua-binding" | ||
| 1695 | "--with-python-binding" | ||
| 1696 | "--with-tcl-binding" | ||
| 1697 | "--with-xml-support"))))) | ||
| 1698 | |||
| 1699 | (define-public jtdx-hamlib | 1671 | (define-public jtdx-hamlib |
| 1700 | ;; Fork of hamlib with custom patches used by jtdx. | 1672 | ;; Fork of hamlib with custom patches used by jtdx. |
| 1701 | (package | 1673 | (package |
| @@ -1909,10 +1881,7 @@ focused on DXing and being shaped by community of DXers.JTDX") | |||
| 1909 | (("set \\(ENV\\{PKG_CONFIG_PATH\\}.*\\)") | 1881 | (("set \\(ENV\\{PKG_CONFIG_PATH\\}.*\\)") |
| 1910 | "set (__pc_path $ENV{PKG_CONFIG_PATH}) | 1882 | "set (__pc_path $ENV{PKG_CONFIG_PATH}) |
| 1911 | list (APPEND __pc_path \"${__hamlib_pc_path}\") | 1883 | list (APPEND __pc_path \"${__hamlib_pc_path}\") |
| 1912 | set (ENV{PKG_CONFIG_PATH} \"${__pc_path}\")")) | 1884 | set (ENV{PKG_CONFIG_PATH} \"${__pc_path}\")")))) |
| 1913 | (substitute* "HamlibTransceiver.hpp" | ||
| 1914 | (("#ifdef JS8_USE_LEGACY_HAMLIB") | ||
| 1915 | "#if 1")))) | ||
| 1916 | (delete 'check) | 1885 | (delete 'check) |
| 1917 | (add-after 'install 'check | 1886 | (add-after 'install 'check |
| 1918 | (lambda* (#:key tests? #:allow-other-keys) | 1887 | (lambda* (#:key tests? #:allow-other-keys) |
| @@ -1928,11 +1897,11 @@ focused on DXing and being shaped by community of DXers.JTDX") | |||
| 1928 | (list boost | 1897 | (list boost |
| 1929 | fftw | 1898 | fftw |
| 1930 | fftwf | 1899 | fftwf |
| 1900 | hamlib | ||
| 1931 | libusb | 1901 | libusb |
| 1932 | qtbase-5 | 1902 | qtbase-5 |
| 1933 | qtmultimedia-5 | 1903 | qtmultimedia-5 |
| 1934 | qtserialport-5 | 1904 | qtserialport-5)) |
| 1935 | wsjtx-hamlib)) | ||
| 1936 | (home-page "http://js8call.com/") | 1905 | (home-page "http://js8call.com/") |
| 1937 | (synopsis "Weak-signal ham radio communication program") | 1906 | (synopsis "Weak-signal ham radio communication program") |
| 1938 | (description | 1907 | (description |
