Merge branch 'master' into flip-map-foreach
This commit is contained in:
@@ -25,8 +25,6 @@ stdenv.mkDerivation rec {
|
||||
preInstall = ''
|
||||
substituteInPlace src/cmake_install.cmake \
|
||||
--replace ${fcitx} $out
|
||||
substituteInPlace po/cmake_install.cmake \
|
||||
--replace ${fcitx} $out
|
||||
substituteInPlace data/cmake_install.cmake \
|
||||
--replace ${fcitx} $out
|
||||
substituteInPlace dictmanager/cmake_install.cmake \
|
||||
|
||||
@@ -1,42 +1,38 @@
|
||||
{ stdenv, fetchurl, cmake, fcitx, pkgconfig, qtbase, extra-cmake-modules
|
||||
, fetchpatch
|
||||
{ lib, mkDerivation, fetchFromGitLab
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, fcitx
|
||||
, pkgconfig
|
||||
, qtbase
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fcitx-qt5-${version}";
|
||||
version = "1.2.1";
|
||||
mkDerivation rec {
|
||||
pname = "fcitx-qt5";
|
||||
version = "1.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.fcitx-im.org/fcitx-qt5/${name}.tar.xz";
|
||||
sha256 = "0z8ax0dxk88byic41mfaiahjdv1k8ciwn97xfjkkgr4ijgscdr8c";
|
||||
src = fetchFromGitLab {
|
||||
owner = "fcitx";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0860v3rxsh054wkkbawvyin5mk0flp4cwfcpmcpq147lvdm5lq2i";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with Qt 5.11
|
||||
# https://github.com/fcitx/fcitx-qt5/issues/34
|
||||
(fetchpatch {
|
||||
url = https://github.com/fcitx/fcitx-qt5/commit/af033e3d5305108eecc568adff7f8b2da5831ed6.diff;
|
||||
sha256 = "14vfz1fw2k362wnqpglw766fg3d3mc8cmfgic2p96yyipjh9xx3b";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ];
|
||||
|
||||
buildInputs = [ fcitx qtbase ];
|
||||
|
||||
preInstall = ''
|
||||
substituteInPlace platforminputcontext/cmake_install.cmake \
|
||||
--replace ${qtbase.out} $out
|
||||
--replace ${qtbase.bin} $out
|
||||
substituteInPlace quickphrase-editor/cmake_install.cmake \
|
||||
--replace ${fcitx} $out
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/fcitx/fcitx-qt5;
|
||||
meta = with lib; {
|
||||
homepage = https://gitlab.com/fcitx/fcitx-qt5;
|
||||
description = "Qt5 IM Module for Fcitx";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ericsagnes ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, bundlerApp, makeWrapper, libinput }:
|
||||
{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, libinput }:
|
||||
|
||||
bundlerApp {
|
||||
pname = "fusuma";
|
||||
@@ -12,11 +12,13 @@ bundlerApp {
|
||||
--prefix PATH : ${lib.makeBinPath [ libinput ]}
|
||||
'';
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "fusuma";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Multitouch gestures with libinput driver on X11, Linux";
|
||||
homepage = https://github.com/iberianpig/fusuma;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jfrankenau ];
|
||||
maintainers = with maintainers; [ jfrankenau nicknovitski ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, substituteAll, fetchurl, fetchFromGitHub, autoreconfHook, gettext, makeWrapper, pkgconfig
|
||||
, vala, wrapGAppsHook, dbus, dconf ? null, glib, gdk_pixbuf, gobject-introspection, gtk2
|
||||
, vala, wrapGAppsHook, dbus, dconf ? null, glib, gdk-pixbuf, gobject-introspection, gtk2
|
||||
, gtk3, gtk-doc, isocodes, python3, json-glib, libnotify ? null, enablePython2Library ? false
|
||||
, enableUI ? true, withWayland ? false, libxkbcommon ? null, wayland ? null
|
||||
, buildPackages, runtimeShell }:
|
||||
@@ -134,7 +134,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
dbus
|
||||
dconf
|
||||
gdk_pixbuf
|
||||
gdk-pixbuf
|
||||
gobject-introspection
|
||||
python3.pkgs.pygobject3 # for pygobject overrides
|
||||
gtk2
|
||||
|
||||
Reference in New Issue
Block a user