Merge pull request #28887 from womfoo/fix/ekiga-build

ekiga: fix build and cleanup patches

authored by Michael Raskin and committed by GitHub b6730e76 491f5be4

+12 -45
-11
pkgs/applications/networking/instant-messengers/ekiga/autofoo.patch
··· 1 - --- a/configure.ac 2 - +++ b/configure.ac 3 - @@ -4,7 +4,7 @@ 4 - AC_PREREQ([2.53]) 5 - AC_CONFIG_MACRO_DIR([m4]) 6 - AC_CONFIG_SRCDIR(src/ekiga.cpp) 7 - -AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar]) 8 - +AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar subdir-objects]) 9 - 10 - AM_MAINTAINER_MODE([enable]) 11 - AC_CONFIG_HEADERS([config.h])
-31
pkgs/applications/networking/instant-messengers/ekiga/boost.patch
··· 1 - --- a/m4/ax_boost_base.m4 2 - +++ b/m4/ax_boost_base.m4 3 - @@ -33,7 +33,7 @@ 4 - # and this notice are preserved. This file is offered as-is, without any 5 - # warranty. 6 - 7 - -#serial 20 8 - +#serial 22 9 - 10 - AC_DEFUN([AX_BOOST_BASE], 11 - [ 12 - @@ -91,9 +91,17 @@ if test "x$want_boost" = "xyes"; then 13 - dnl are found, e.g. when only header-only libraries are installed! 14 - libsubdirs="lib" 15 - ax_arch=`uname -m` 16 - - if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then 17 - + case $ax_arch in 18 - + x86_64|ppc64|s390x|sparc64|aarch64) 19 - libsubdirs="lib64 lib lib64" 20 - - fi 21 - + ;; 22 - + esac 23 - + 24 - + dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give 25 - + dnl them priority over the other paths since, if libs are found there, they 26 - + dnl are almost assuredly the ones desired. 27 - + AC_REQUIRE([AC_CANONICAL_HOST]) 28 - + libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs" 29 - 30 - dnl first we check the system location for boost libraries 31 - dnl this location ist chosen if boost libraries are installed with the --layout=system option
+12 -3
pkgs/applications/networking/instant-messengers/ekiga/default.nix
··· 1 - { stdenv, glib, fetchurl, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool 1 + { stdenv, glib, fetchurl, fetchpatch, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool 2 2 , perl, perlXMLParser, evolution_data_server, gnome_doc_utils, avahi, autoreconfHook 3 3 , libsigcxx, gtk, dbus_glib, libnotify, libXext, xextproto, gnome3, boost, libsecret 4 4 , pkgconfig, libxml2, videoproto, unixODBC, db, nspr, nss, zlib, hicolor_icon_theme ··· 34 34 35 35 enableParallelBuilding = true; 36 36 37 - patches = [ ./autofoo.patch ./boost.patch ]; 37 + patches = [ 38 + (fetchpatch { url = https://sources.debian.net/data/main/e/ekiga/4.0.1-7/debian/patches/autofoo.patch; 39 + sha256 = "1vyagslws4mm9yfz1m5p1kv9sxmk5lls9vxpm6j72q2ahsgydzx4"; 40 + }) 41 + (fetchpatch { url = https://sources.debian.net/data/main/e/ekiga/4.0.1-7/debian/patches/boost.patch; 42 + sha256 = "01k0rw8ibrrf9zn9lx6dzbrgy58w089hqxqxqdv9whb65cldlj5s"; 43 + }) 44 + (fetchpatch { url = https://src.fedoraproject.org/rpms/ekiga/raw/dbf5f5ba449d22bd79f0394cddb7d4d8a88ec6ac/f/ekiga-4.0.1-libresolv.patch; 45 + sha256 = "18wc68im8422ibpa0gkrkgjq41m7hikaha3xqmjs2km45i1cwcaz"; 46 + }) 47 + ]; 38 48 39 49 postInstall = '' 40 50 wrapProgram "$out"/bin/ekiga \ ··· 45 55 description = "VOIP/Videoconferencing app with full SIP and H.323 support"; 46 56 maintainers = [ maintainers.raskin ]; 47 57 platforms = platforms.linux; 48 - broken = true; # because of glibc-2.25 49 58 }; 50 59 51 60 passthru = {