Merge pull request #29068 from zraexy/calligra

calligra: 2.9.11 -> 3.0.1

authored by Orivej Desh and committed by GitHub bb11cae3 0bd1f7a9

+239 -29
+55
pkgs/applications/office/calligra/2.nix
··· 1 + { stdenv, fetchurl, automoc4, cmake, perl, pkgconfig, kdelibs4, lcms2, libpng, eigen 2 + , exiv2, boost, sqlite, icu, vc, shared_mime_info, librevenge, libodfgen, libwpg 3 + , libwpd, poppler_qt4, ilmbase, gsl, qca2, marble, libvisio, libmysql, postgresql 4 + , freetds, fftw, glew, libkdcraw, pstoedit, opencolorio, kdepimlibs 5 + , kactivities, okular, git, oxygen-icons5, makeWrapper 6 + # TODO: not found 7 + #, xbase, openjpeg 8 + # TODO: package libWPS, Spnav, m2mml, LibEtonyek 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + name = "calligra-2.9.11"; 13 + 14 + src = fetchurl { 15 + url = "mirror://kde/stable/${name}/${name}.tar.xz"; 16 + sha256 = "02gaahp7a7m53n0hvrp3868s8w37b457isxir0z7b4mwhw7jv3di"; 17 + }; 18 + 19 + nativeBuildInputs = [ automoc4 cmake perl pkgconfig makeWrapper ]; 20 + 21 + buildInputs = [ 22 + kdelibs4 lcms2 libpng eigen 23 + exiv2 boost sqlite icu vc shared_mime_info librevenge libodfgen libwpg 24 + libwpd poppler_qt4 ilmbase gsl qca2 marble libvisio libmysql postgresql 25 + freetds fftw glew libkdcraw opencolorio kdepimlibs 26 + kactivities okular git 27 + ]; 28 + 29 + enableParallelBuilding = true; 30 + 31 + postInstall = '' 32 + for i in $out/bin/*; do 33 + wrapProgram $i \ 34 + --prefix PATH ':' "${pstoedit.out}/bin" \ 35 + --prefix XDG_DATA_DIRS ':' "${oxygen-icons5}/share" 36 + done 37 + ''; 38 + 39 + meta = with stdenv.lib; { 40 + description = "A suite of productivity applications"; 41 + longDescription = '' 42 + Calligra Suite is a set of applications written to help 43 + you to accomplish your work. Calligra includes efficient 44 + and capable office components: Words for text processing, 45 + Sheets for computations, Stage for presentations, Plan for 46 + planning, Flow for flowcharts, Kexi for database creation, 47 + Krita for painting and raster drawing, and Karbon for 48 + vector graphics. 49 + ''; 50 + homepage = http://calligra.org; 51 + maintainers = with maintainers; [ phreedom ebzzry ]; 52 + inherit (kdelibs4.meta) platforms; 53 + license = licenses.gpl2; 54 + }; 55 + }
+38 -28
pkgs/applications/office/calligra/default.nix
··· 1 - { stdenv, fetchurl, automoc4, cmake, perl, pkgconfig, kdelibs4, lcms2, libpng, eigen 2 - , exiv2, boost, sqlite, icu, vc, shared_mime_info, librevenge, libodfgen, libwpg 3 - , libwpd, poppler_qt4, ilmbase, gsl, qca2, marble, libvisio, libmysql, postgresql 4 - , freetds, fftw, glew, libkdcraw, pstoedit, opencolorio, kdepimlibs 5 - , kactivities, okular, git, oxygen-icons5, makeWrapper 6 - # TODO: not found 7 - #, xbase, openjpeg 8 - # TODO: package libWPS, Spnav, m2mml, LibEtonyek 1 + { 2 + mkDerivation, lib, fetchurl, extra-cmake-modules, kdoctools, makeWrapper, 3 + boost, qtwebkit, qtx11extras, shared_mime_info, 4 + breeze-icons, kactivities, karchive, kcodecs, kcompletion, kconfig, kconfigwidgets, 5 + kcoreaddons, kdbusaddons, kdiagram, kguiaddons, khtml, ki18n, 6 + kiconthemes, kitemviews, kjobwidgets, kcmutils, kdelibs4support, kio, kross, 7 + knotifications, knotifyconfig, kparts, ktextwidgets, kwallet, kwidgetsaddons, 8 + kwindowsystem, kxmlgui, sonnet, threadweaver, 9 + kcontacts, akonadi, akonadi-calendar, akonadi-contacts, 10 + eigen, git, gsl, ilmbase, kproperty, kreport, lcms2, marble, libgit2, libodfgen, 11 + librevenge, libvisio, libwpd, libwpg, libwps, okular, openexr, openjpeg, phonon, 12 + poppler, pstoedit, qca-qt5, vc 13 + # TODO: package Spnav, m2mml LibEtonyek, Libqgit2 9 14 }: 10 15 11 - stdenv.mkDerivation rec { 12 - name = "calligra-2.9.11"; 16 + mkDerivation rec { 17 + pname = "calligra"; 18 + version = "3.0.1"; 19 + name = "${pname}-${version}"; 13 20 14 21 src = fetchurl { 15 - url = "mirror://kde/stable/${name}/${name}.tar.xz"; 16 - sha256 = "02gaahp7a7m53n0hvrp3868s8w37b457isxir0z7b4mwhw7jv3di"; 22 + url = "mirror://kde/stable/${pname}/${version}/${name}.tar.xz"; 23 + sha256 = "1cjdd7sx1zhas6lhw0dzhrnki790jkf93f88wn6z9yrww32dsas5"; 17 24 }; 18 25 19 - nativeBuildInputs = [ automoc4 cmake perl pkgconfig makeWrapper ]; 26 + nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ]; 20 27 21 28 buildInputs = [ 22 - kdelibs4 lcms2 libpng eigen 23 - exiv2 boost sqlite icu vc shared_mime_info librevenge libodfgen libwpg 24 - libwpd poppler_qt4 ilmbase gsl qca2 marble libvisio libmysql postgresql 25 - freetds fftw glew libkdcraw opencolorio kdepimlibs 26 - kactivities okular git 29 + boost qtwebkit qtx11extras shared_mime_info 30 + kactivities karchive kcodecs kcompletion kconfig kconfigwidgets kcoreaddons 31 + kdbusaddons kdiagram kguiaddons khtml ki18n kiconthemes kitemviews 32 + kjobwidgets kcmutils kdelibs4support kio kross knotifications knotifyconfig kparts 33 + ktextwidgets kwallet kwidgetsaddons kwindowsystem kxmlgui sonnet threadweaver 34 + kcontacts akonadi akonadi-calendar akonadi-contacts 35 + eigen git gsl ilmbase kproperty kreport lcms2 marble libgit2 libodfgen librevenge 36 + libvisio libwpd libwpg libwps okular openexr openjpeg phonon poppler qca-qt5 vc 27 37 ]; 28 38 29 - enableParallelBuilding = true; 39 + propagatedUserEnvPkgs = [ kproperty ]; 40 + 41 + NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR"; 30 42 31 43 postInstall = '' 32 44 for i in $out/bin/*; do 33 45 wrapProgram $i \ 34 46 --prefix PATH ':' "${pstoedit.out}/bin" \ 35 - --prefix XDG_DATA_DIRS ':' "${oxygen-icons5}/share" 47 + --prefix XDG_DATA_DIRS ':' "${breeze-icons}/share" 36 48 done 37 49 ''; 38 50 39 - meta = with stdenv.lib; { 51 + meta = with lib; { 40 52 description = "A suite of productivity applications"; 41 53 longDescription = '' 42 54 Calligra Suite is a set of applications written to help 43 55 you to accomplish your work. Calligra includes efficient 44 56 and capable office components: Words for text processing, 45 - Sheets for computations, Stage for presentations, Plan for 46 - planning, Flow for flowcharts, Kexi for database creation, 47 - Krita for painting and raster drawing, and Karbon for 57 + Sheets for computations, Plan for planning, and Karbon for 48 58 vector graphics. 49 59 ''; 50 - homepage = http://calligra.org; 51 - maintainers = with maintainers; [ phreedom ebzzry ]; 52 - inherit (kdelibs4.meta) platforms; 53 - license = licenses.gpl2; 60 + homepage = https://www.calligra.org/; 61 + maintainers = with maintainers; [ phreedom ebzzry zraexy ]; 62 + platforms = platforms.linux; 63 + license = with licenses; [ gpl2 lgpl2 ]; 54 64 }; 55 65 }
+47
pkgs/applications/office/kexi/default.nix
··· 1 + { 2 + mkDerivation, lib, fetchurl, extra-cmake-modules, kdoctools, 3 + boost, qttools, qtwebkit, 4 + breeze-icons, karchive, kcodecs, kcompletion, kconfig, kconfigwidgets, kcoreaddons, 5 + kcrash, kguiaddons, ki18n, kiconthemes, kitemviews, kio, ktexteditor, ktextwidgets, 6 + kwidgetsaddons, kxmlgui, 7 + kdb, kproperty, kreport, lcms2, libmysql, marble, postgresql 8 + }: 9 + 10 + mkDerivation rec { 11 + pname = "kexi"; 12 + version = "3.0.2"; 13 + name = "${pname}-${version}"; 14 + 15 + src = fetchurl { 16 + url = "mirror://kde/stable/${pname}/src/${name}.tar.xz"; 17 + sha256 = "1fjvjifi5ygx5gs2lzfg22j0x3r7kl4wk5jll09r8gc3dfxaiblf"; 18 + }; 19 + 20 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 21 + 22 + buildInputs = [ 23 + boost qttools qtwebkit 24 + breeze-icons karchive kcodecs kcompletion kconfig kconfigwidgets kcoreaddons 25 + kcrash kguiaddons ki18n kiconthemes kitemviews kio ktexteditor ktextwidgets 26 + kwidgetsaddons kxmlgui 27 + kdb kproperty kreport lcms2 libmysql marble postgresql 28 + ]; 29 + 30 + propagatedUserEnvPkgs = [ kproperty ]; 31 + 32 + meta = with lib; { 33 + description = "A open source visual database applications creator, a long-awaited competitor for programs like MS Access or Filemaker"; 34 + longDescription = '' 35 + Kexi is a visual database applications creator. 36 + It can be used for creating database schemas, 37 + inserting data, performing queries, and processing data. 38 + Forms can be created to provide a custom interface to your data. 39 + All database objects - tables, queries and forms - are stored in the database, 40 + making it easy to share data and design. 41 + ''; 42 + homepage = http://kexi-project.org/; 43 + maintainers = with maintainers; [ zraexy ]; 44 + platforms = platforms.linux; 45 + license = with licenses; [ gpl2 lgpl2 ]; 46 + }; 47 + }
+29
pkgs/development/libraries/kdb/default.nix
··· 1 + { 2 + mkDerivation, lib, fetchurl, 3 + extra-cmake-modules, 4 + qtbase, qttranslations, kcoreaddons, python2, sqlite, postgresql, libmysql 5 + }: 6 + 7 + mkDerivation rec { 8 + pname = "kdb"; 9 + version = "3.0.2"; 10 + name = "${pname}-${version}"; 11 + 12 + src = fetchurl { 13 + url = "mirror://kde/stable/${pname}/src/${name}.tar.xz"; 14 + sha256 = "1n11xhqk3sf4a5nzvnrnj7bj21yqqqkm2d1xzfx3q82fkyah8s49"; 15 + }; 16 + 17 + nativeBuildInputs = [ extra-cmake-modules ]; 18 + 19 + buildInputs = [ qttranslations kcoreaddons python2 sqlite postgresql libmysql ]; 20 + 21 + propagatedBuildInputs = [ qtbase ]; 22 + 23 + meta = with lib; { 24 + description = "A database connectivity and creation framework for various database vendors"; 25 + license = licenses.lgpl2; 26 + platforms = platforms.linux; 27 + maintainers = with maintainers; [ zraexy ]; 28 + }; 29 + }
+29
pkgs/development/libraries/kproperty/default.nix
··· 1 + { 2 + mkDerivation, lib, fetchurl, 3 + extra-cmake-modules, 4 + qtbase, kconfig, kcoreaddons, kwidgetsaddons, kguiaddons 5 + }: 6 + 7 + mkDerivation rec { 8 + pname = "kproperty"; 9 + version = "3.0.2"; 10 + name = "${pname}-${version}"; 11 + 12 + src = fetchurl { 13 + url = "mirror://kde/stable/${pname}/src/${name}.tar.xz"; 14 + sha256 = "1hzkvdap7dzpnxlp4rfg5f24fhqjpqm2hlvv88gj4c0scbp73ynm"; 15 + }; 16 + 17 + nativeBuildInputs = [ extra-cmake-modules ]; 18 + 19 + buildInputs = [ kconfig kcoreaddons kwidgetsaddons kguiaddons ]; 20 + 21 + propagatedBuildInputs = [ qtbase ]; 22 + 23 + meta = with lib; { 24 + description = "A property editing framework with editor widget similar to what is known from Qt Designer"; 25 + license = licenses.lgpl2; 26 + platforms = platforms.linux; 27 + maintainers = with maintainers; [ zraexy ]; 28 + }; 29 + }
+27
pkgs/development/libraries/kreport/default.nix
··· 1 + { 2 + mkDerivation, lib, fetchurl, 3 + extra-cmake-modules, 4 + qtbase, qtdeclarative, qtwebkit, kconfig, kcoreaddons, kwidgetsaddons, kguiaddons, kproperty, marble, python2 5 + }: 6 + 7 + mkDerivation rec { 8 + pname = "kreport"; 9 + version = "3.0.2"; 10 + name = "${pname}-${version}"; 11 + 12 + src = fetchurl { 13 + url = "mirror://kde/stable/${pname}/src/${name}.tar.xz"; 14 + sha256 = "1zd3vhf26cyp8xrq11awm9pmhnk88ppyc0riyr0gxj8y703ahkp0"; 15 + }; 16 + 17 + nativeBuildInputs = [ extra-cmake-modules ]; 18 + 19 + buildInputs = [ qtdeclarative qtwebkit kconfig kcoreaddons kwidgetsaddons kguiaddons kproperty marble python2 ]; 20 + 21 + meta = with lib; { 22 + description = "A framework for creation and generation of reports in multiple formats"; 23 + license = licenses.lgpl2; 24 + platforms = platforms.linux; 25 + maintainers = with maintainers; [ zraexy ]; 26 + }; 27 + }
+14 -1
pkgs/top-level/all-packages.nix
··· 10320 10320 kirigami_1 10321 10321 kirigami_2; 10322 10322 10323 + kdb = callPackage ../development/libraries/kdb { }; 10324 + 10323 10325 kdiagram = callPackage ../development/libraries/kdiagram { }; 10326 + 10327 + kproperty = callPackage ../development/libraries/kproperty { }; 10328 + 10329 + kreport = callPackage ../development/libraries/kreport { }; 10324 10330 10325 10331 kirigami = kirigami_1; 10326 10332 ··· 13829 13835 13830 13836 calibre = libsForQt5.callPackage ../applications/misc/calibre { }; 13831 13837 13832 - calligra = kde4.callPackage ../applications/office/calligra { 13838 + calligra2 = kde4.callPackage ../applications/office/calligra/2.nix { 13833 13839 vc = vc_0_7; 13840 + }; 13841 + 13842 + calligra = libsForQt5.callPackage ../applications/office/calligra { 13843 + inherit (kdeApplications) akonadi-calendar akonadi-contacts; 13844 + openjpeg = openjpeg_1; 13834 13845 }; 13835 13846 13836 13847 camlistore = callPackage ../applications/misc/camlistore { }; ··· 15195 15206 keepnote = callPackage ../applications/office/keepnote { }; 15196 15207 15197 15208 kermit = callPackage ../tools/misc/kermit { }; 15209 + 15210 + kexi = libsForQt5.callPackage ../applications/office/kexi { }; 15198 15211 15199 15212 keyfinder = libsForQt5.callPackage ../applications/audio/keyfinder { }; 15200 15213