mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
calligra: 2.9.11 -> 3.0.1
This commit is contained in:
parent
eb903ccc31
commit
3f2a3d299b
55
pkgs/applications/office/calligra/2.nix
Normal file
55
pkgs/applications/office/calligra/2.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ stdenv, fetchurl, automoc4, cmake, perl, pkgconfig, kdelibs4, lcms2, libpng, eigen
|
||||
, exiv2, boost, sqlite, icu, vc, shared_mime_info, librevenge, libodfgen, libwpg
|
||||
, libwpd, poppler_qt4, ilmbase, gsl, qca2, marble, libvisio, libmysql, postgresql
|
||||
, freetds, fftw, glew, libkdcraw, pstoedit, opencolorio, kdepimlibs
|
||||
, kactivities, okular, git, oxygen-icons5, makeWrapper
|
||||
# TODO: not found
|
||||
#, xbase, openjpeg
|
||||
# TODO: package libWPS, Spnav, m2mml, LibEtonyek
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "calligra-2.9.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/${name}/${name}.tar.xz";
|
||||
sha256 = "02gaahp7a7m53n0hvrp3868s8w37b457isxir0z7b4mwhw7jv3di";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ automoc4 cmake perl pkgconfig makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
kdelibs4 lcms2 libpng eigen
|
||||
exiv2 boost sqlite icu vc shared_mime_info librevenge libodfgen libwpg
|
||||
libwpd poppler_qt4 ilmbase gsl qca2 marble libvisio libmysql postgresql
|
||||
freetds fftw glew libkdcraw opencolorio kdepimlibs
|
||||
kactivities okular git
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
for i in $out/bin/*; do
|
||||
wrapProgram $i \
|
||||
--prefix PATH ':' "${pstoedit.out}/bin" \
|
||||
--prefix XDG_DATA_DIRS ':' "${oxygen-icons5}/share"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A suite of productivity applications";
|
||||
longDescription = ''
|
||||
Calligra Suite is a set of applications written to help
|
||||
you to accomplish your work. Calligra includes efficient
|
||||
and capable office components: Words for text processing,
|
||||
Sheets for computations, Stage for presentations, Plan for
|
||||
planning, Flow for flowcharts, Kexi for database creation,
|
||||
Krita for painting and raster drawing, and Karbon for
|
||||
vector graphics.
|
||||
'';
|
||||
homepage = http://calligra.org;
|
||||
maintainers = with maintainers; [ phreedom ebzzry ];
|
||||
inherit (kdelibs4.meta) platforms;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
@ -1,55 +1,65 @@
|
||||
{ stdenv, fetchurl, automoc4, cmake, perl, pkgconfig, kdelibs4, lcms2, libpng, eigen
|
||||
, exiv2, boost, sqlite, icu, vc, shared_mime_info, librevenge, libodfgen, libwpg
|
||||
, libwpd, poppler_qt4, ilmbase, gsl, qca2, marble, libvisio, libmysql, postgresql
|
||||
, freetds, fftw, glew, libkdcraw, pstoedit, opencolorio, kdepimlibs
|
||||
, kactivities, okular, git, oxygen-icons5, makeWrapper
|
||||
# TODO: not found
|
||||
#, xbase, openjpeg
|
||||
# TODO: package libWPS, Spnav, m2mml, LibEtonyek
|
||||
{
|
||||
mkDerivation, lib, fetchurl, extra-cmake-modules, kdoctools, makeWrapper,
|
||||
boost, qtwebkit, qtx11extras, shared_mime_info,
|
||||
breeze-icons, kactivities, karchive, kcodecs, kcompletion, kconfig, kconfigwidgets,
|
||||
kcoreaddons, kdbusaddons, kdiagram, kguiaddons, khtml, ki18n,
|
||||
kiconthemes, kitemviews, kjobwidgets, kcmutils, kdelibs4support, kio, kross,
|
||||
knotifications, knotifyconfig, kparts, ktextwidgets, kwallet, kwidgetsaddons,
|
||||
kwindowsystem, kxmlgui, sonnet, threadweaver,
|
||||
kcontacts, akonadi, akonadi-calendar, akonadi-contacts,
|
||||
eigen, git, gsl, ilmbase, kproperty, kreport, lcms2, marble, libgit2, libodfgen,
|
||||
librevenge, libvisio, libwpd, libwpg, libwps, okular, openexr, openjpeg, phonon,
|
||||
poppler, pstoedit, qca-qt5, vc
|
||||
# TODO: package Spnav, m2mml LibEtonyek, Libqgit2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "calligra-2.9.11";
|
||||
mkDerivation rec {
|
||||
pname = "calligra";
|
||||
version = "3.0.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/${name}/${name}.tar.xz";
|
||||
sha256 = "02gaahp7a7m53n0hvrp3868s8w37b457isxir0z7b4mwhw7jv3di";
|
||||
url = "mirror://kde/stable/${pname}/${version}/${name}.tar.xz";
|
||||
sha256 = "1cjdd7sx1zhas6lhw0dzhrnki790jkf93f88wn6z9yrww32dsas5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ automoc4 cmake perl pkgconfig makeWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
kdelibs4 lcms2 libpng eigen
|
||||
exiv2 boost sqlite icu vc shared_mime_info librevenge libodfgen libwpg
|
||||
libwpd poppler_qt4 ilmbase gsl qca2 marble libvisio libmysql postgresql
|
||||
freetds fftw glew libkdcraw opencolorio kdepimlibs
|
||||
kactivities okular git
|
||||
boost qtwebkit qtx11extras shared_mime_info
|
||||
kactivities karchive kcodecs kcompletion kconfig kconfigwidgets kcoreaddons
|
||||
kdbusaddons kdiagram kguiaddons khtml ki18n kiconthemes kitemviews
|
||||
kjobwidgets kcmutils kdelibs4support kio kross knotifications knotifyconfig kparts
|
||||
ktextwidgets kwallet kwidgetsaddons kwindowsystem kxmlgui sonnet threadweaver
|
||||
kcontacts akonadi akonadi-calendar akonadi-contacts
|
||||
eigen git gsl ilmbase kproperty kreport lcms2 marble libgit2 libodfgen librevenge
|
||||
libvisio libwpd libwpg libwps okular openexr openjpeg phonon poppler qca-qt5 vc
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
propagatedUserEnvPkgs = [ kproperty ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
|
||||
|
||||
postInstall = ''
|
||||
for i in $out/bin/*; do
|
||||
wrapProgram $i \
|
||||
--prefix PATH ':' "${pstoedit.out}/bin" \
|
||||
--prefix XDG_DATA_DIRS ':' "${oxygen-icons5}/share"
|
||||
--prefix XDG_DATA_DIRS ':' "${breeze-icons}/share"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A suite of productivity applications";
|
||||
longDescription = ''
|
||||
Calligra Suite is a set of applications written to help
|
||||
you to accomplish your work. Calligra includes efficient
|
||||
and capable office components: Words for text processing,
|
||||
Sheets for computations, Stage for presentations, Plan for
|
||||
planning, Flow for flowcharts, Kexi for database creation,
|
||||
Krita for painting and raster drawing, and Karbon for
|
||||
Sheets for computations, Plan for planning, and Karbon for
|
||||
vector graphics.
|
||||
'';
|
||||
homepage = http://calligra.org;
|
||||
maintainers = with maintainers; [ phreedom ebzzry ];
|
||||
inherit (kdelibs4.meta) platforms;
|
||||
license = licenses.gpl2;
|
||||
homepage = https://www.calligra.org/;
|
||||
maintainers = with maintainers; [ phreedom ebzzry zraexy ];
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [ gpl2 lgpl2 ];
|
||||
};
|
||||
}
|
||||
|
@ -13674,10 +13674,15 @@ with pkgs;
|
||||
|
||||
calibre = libsForQt5.callPackage ../applications/misc/calibre { };
|
||||
|
||||
calligra = kde4.callPackage ../applications/office/calligra {
|
||||
calligra2 = kde4.callPackage ../applications/office/calligra/2.nix {
|
||||
vc = vc_0_7;
|
||||
};
|
||||
|
||||
calligra = libsForQt5.callPackage ../applications/office/calligra {
|
||||
inherit (kdeApplications) akonadi-calendar akonadi-contacts;
|
||||
openjpeg = openjpeg_1;
|
||||
};
|
||||
|
||||
camlistore = callPackage ../applications/misc/camlistore { };
|
||||
|
||||
canto-curses = callPackage ../applications/networking/feedreaders/canto-curses { };
|
||||
|
Loading…
Reference in New Issue
Block a user