commit
8cf56826e3
@ -1,27 +1,21 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
, fetchFromGitHub
|
, fetchgit
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, qtbase
|
, qtbase
|
||||||
, qtscript
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "ofono-phonesim";
|
pname = "ofono-phonesim";
|
||||||
version = "unstable-2014-04-22";
|
version = "unstable-2019-11-18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchgit {
|
||||||
owner = "jpakkane";
|
url = "git://git.kernel.org/pub/scm/network/ofono/phonesim.git";
|
||||||
repo = "ofono-phonesim";
|
rev = "adf231a84cd3708b825dc82c56e841dd7e3b4541";
|
||||||
rev = "baa41f04e6a86c5289d7185cad8a6f08a5c3ed0a";
|
sha256 = "sha256:1840914sz46l8h2jwa0lymw6dvgj72wq9bhp3k4v4rk6masbf6hp";
|
||||||
sha256 = "0ywalvvf3dfbn81ml21gji1n2hywh2nmakynakjzyyskcqjn2wiz";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
./qt5-compat.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
pkgconfig
|
pkgconfig
|
||||||
@ -29,7 +23,6 @@ mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
qtbase
|
||||||
qtscript
|
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
@ -39,7 +32,7 @@ mkDerivation {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Phone Simulator for modem testing";
|
description = "Phone Simulator for modem testing";
|
||||||
homepage = https://github.com/jpakkane/ofono-phonesim;
|
homepage = "https://01.org/ofono";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ jtojnar ];
|
maintainers = with maintainers; [ jtojnar ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 2436292..993df87 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -21,18 +21,18 @@ AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization],
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
-PKG_CHECK_MODULES(QT, QtCore QtGui QtXml QtNetwork QtScript QtDBus, dummy=yes,
|
|
||||||
+PKG_CHECK_MODULES(QT, Qt5Core Qt5Gui Qt5Widgets Qt5Xml Qt5Network Qt5Script Qt5DBus, dummy=yes,
|
|
||||||
AC_MSG_ERROR(Qt is required))
|
|
||||||
AC_SUBST(QT_CFLAGS)
|
|
||||||
AC_SUBST(QT_LIBS)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for moc)
|
|
||||||
-MOC="`$PKG_CONFIG --variable=moc_location QtCore`"
|
|
||||||
+MOC="`$PKG_CONFIG --variable=moc_location Qt5Core`"
|
|
||||||
AC_SUBST(MOC)
|
|
||||||
AC_MSG_RESULT($MOC)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for uic)
|
|
||||||
-UIC="`$PKG_CONFIG --variable=uic_location QtCore`"
|
|
||||||
+UIC="`$PKG_CONFIG --variable=uic_location Qt5Core`"
|
|
||||||
AC_SUBST(UIC)
|
|
||||||
AC_MSG_RESULT($UIC)
|
|
||||||
|
|
||||||
diff --git a/src/control.cpp b/src/control.cpp
|
|
||||||
index e1838a6..880da68 100644
|
|
||||||
--- a/src/control.cpp
|
|
||||||
+++ b/src/control.cpp
|
|
||||||
@@ -22,7 +22,7 @@
|
|
||||||
#include <qslider.h>
|
|
||||||
#include <qcheckbox.h>
|
|
||||||
#include <qcombobox.h>
|
|
||||||
-#include <QtGui/qmessagebox.h>
|
|
||||||
+#include <QMessageBox>
|
|
||||||
#include <qfiledialog.h>
|
|
||||||
#include <Qt>
|
|
||||||
#include <qbuffer.h>
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
#include <QFileInfo>
|
|
||||||
#include <QFile>
|
|
||||||
#include <QDir>
|
|
||||||
-#include <QtGui/QHeaderView>
|
|
||||||
+#include <QHeaderView>
|
|
||||||
|
|
||||||
#define TWO_BYTE_MAX 65535
|
|
||||||
#define FOUR_CHAR 4
|
|
38
pkgs/tools/networking/mmsd/default.nix
Normal file
38
pkgs/tools/networking/mmsd/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchgit
|
||||||
|
, autoreconfHook
|
||||||
|
, pkgconfig
|
||||||
|
, glib
|
||||||
|
, dbus
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "mmsd";
|
||||||
|
version = "unstable-2019-07-15";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "git://git.kernel.org/pub/scm/network/ofono/mmsd.git";
|
||||||
|
rev = "f4b8b32477a411180be1823fdc460b4f7e1e3c9c";
|
||||||
|
sha256 = "0hcnpyhsi7b5m825dhnwbp65yi0961wi8mipzdvaw5nc693xv15b";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
pkgconfig
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
dbus
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Multimedia Messaging Service Daemon";
|
||||||
|
homepage = "https://01.org/ofono";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ jtojnar ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -12,14 +12,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ofono";
|
pname = "ofono";
|
||||||
version = "1.30";
|
version = "1.31";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "git://git.kernel.org/pub/scm/network/ofono/ofono.git";
|
url = "git://git.kernel.org/pub/scm/network/ofono/ofono.git";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1qzysmzpgbh6zc3x9xh931wxcazka9wwx727c2k66z9gal2n6n66";
|
sha256 = "033y3vggjxn1c7mw75j452idp7arrdv51axs727f7l3c5lnxqdjy";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -20012,6 +20012,8 @@ in
|
|||||||
wxGTK30 = wxGTK30.override { withWebKit = true ; };
|
wxGTK30 = wxGTK30.override { withWebKit = true ; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mmsd = callPackage ../tools/networking/mmsd { };
|
||||||
|
|
||||||
moc = callPackage ../applications/audio/moc { };
|
moc = callPackage ../applications/audio/moc { };
|
||||||
|
|
||||||
mod-distortion = callPackage ../applications/audio/mod-distortion { };
|
mod-distortion = callPackage ../applications/audio/mod-distortion { };
|
||||||
|
Loading…
Reference in New Issue
Block a user