Commit graph

49 commits

Author SHA1 Message Date
Alyssa Ross 9144866bb7
libical: re-disable introspection if no emulator
e.g. when cross compiling from Linux to FreeBSD.

We have to get the build libical from pkgsBuildBuild, to avoid picking
up a propagated gobject-introspection host dependency.

Fixes: 1bd8727a4c ("various: enable gobject-introspection when cross-compiling")
2023-03-02 14:42:03 +00:00
Alyssa Ross 71a5e14eb3
libical: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:08 +00:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Mario Rodas 4511dc34bd libical: 3.0.15 -> 3.0.16
https://github.com/libical/libical/releases/tag/v3.0.16
2022-10-22 04:20:00 +00:00
Ryan Burns 017cc2d4b7 libical: fix tests with 32-bit time_t
A test added in the latest version fails with 32-bit time_t.
Use the upstream fix until the next version is released.
Fixes pkgsi686Linux.libical and dependers, such as lutris
2022-10-15 20:19:02 -07:00
Mario Rodas e96ef86e70 libical: unbreak on darwin 2022-10-07 20:31:00 +00:00
R. Ryantm e903932306 libical: 3.0.14 -> 3.0.15 2022-10-07 20:30:17 +00:00
Artturin 31843808bd libical: readd explicit introspection and vapi flags
the build doesn't autodetect the existence of the programs required
2022-07-25 20:08:01 +03:00
Artturin 20642e2ab0 various: readd gobject-introspection to buildInputs
see eb829035c9
2022-07-12 15:18:44 +03:00
Artturin 1bd8727a4c various: enable gobject-introspection when cross-compiling
and fix cross in some
2022-07-08 03:56:47 +03:00
Alyssa Ross 5f63ac02e3 pkgsMusl.libical: fix build by disabling tests
We can't support running tests on Musl until TZDIR support is added.
2022-06-29 13:14:51 +00:00
Rick van Schijndel 7d58a30286
treewide: pkgs/development/libraries: mark broken for darwin 2022-05-30 13:42:53 +02:00
Artturin faef083426 libical: enable strictDeps and fix cross
checked with diffoscope
2022-04-27 22:08:21 +03:00
R. Ryantm 9808412565 libical: 3.0.11 -> 3.0.14 2022-02-28 14:29:24 +01:00
R. Ryantm 4c047d740b libical: 3.0.10 -> 3.0.11 2022-01-28 20:16:19 +01:00
Jonathan Ringer c227fb4b17
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/tools/rust/cargo-cache/default.nix
	pkgs/development/tools/rust/cargo-embed/default.nix
	pkgs/development/tools/rust/cargo-flash/default.nix
	pkgs/servers/nosql/influxdb2/default.nix
2021-05-17 07:01:38 -07:00
Stéphan Kochen 371d80c468 libical: fix darwin build 2021-05-16 23:49:52 -07:00
R. RyanTM 4e071804aa libical: 3.0.9 -> 3.0.10 2021-05-08 18:47:06 -07:00
Ben Wolsieffer 618bcb8cdb libical: fix cross-compilation again
The naming of CMake option required to enable cross-compiling was revised when
the patch was accepted upstream.
2021-03-01 18:56:52 -05:00
Jörg Thalheim aed7689619
libical: 3.0.8 -> 3.0.9 2021-02-15 14:44:07 +01:00
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Robert Hensing 5e1cf83383 Revert "libical: skip timezone tests"
This reverts commit 9c5154b5aa.
2020-11-06 14:48:28 +01:00
Jan Tojnar 0d32565644
libical: disable rest of failing tests
likely caused by tzdata bump
2020-11-04 14:02:28 +01:00
Jan Tojnar 9c5154b5aa
libical: skip timezone tests
They are incompatible with tzdata2020c.

There are still some other failing tests but I am not sure if they are also due to timezones.
2020-10-31 13:45:32 +01:00
Ben Wolsieffer 56ef82d0cd libical: fix cross-compilation
gobject-introspection cannot be cross-compiled, so disable it when
cross-compiling. The glib bindings attempt to run a binary compiled for the
host during the build, so add a patch that allows the binary to be provided
by buildPackages.libical.
2020-09-29 17:51:27 -04:00
R. RyanTM d985dc8e16 libical: 3.0.7 -> 3.0.8 2020-03-07 21:25:02 +00:00
R. RyanTM 674520d607 libical: 3.0.6 -> 3.0.7 2019-12-23 09:52:44 -08:00
R. RyanTM ba065f3fad libical: 3.0.5 -> 3.0.6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libical/versions
2019-11-03 10:33:43 +01:00
Jan Tojnar c5762ff9e5
libical: 3.0.4 → 3.0.5
https://github.com/libical/libical/releases/tag/v3.0.5

Docs now fail with a different issue so I had to keep them disabled:

FAILED: doc/reference/libical-glib/html/index.html
cd /build/source/build/doc/reference/libical-glib && /nix/store/0x1ylx8kxb4aivvj3m4yh64bnw85vkrx-gtk-doc-1.30/bin/gtkdoc-scan --module=libical-glib --deprecated-guards="LIBICAL_GLIB_DISABLE_DEPRECATED" --ignore-headers="libical-glib-private.h" --rebuild-sections --rebuild-types --source-dir="/build/source/build/src/libical-glib" && /nix/store/rlp98mmbvp008720p25k73w2khzs9rzn-cmake-3.14.5/bin/cmake -E chdir /build/source/build/doc/reference/libical-glib /nix/store/rlp98mmbvp008720p25k73w2khzs9rzn-cmake-3.14.5/bin/cmake -E env LD_LIBRARY_PATH=":/build/source/build/lib:/build/source/build/lib:/nix/store/vvj5xbcqjq3wcnaz0ca9a5q74vsgxghc-libical-3.0.5/lib:" /nix/store/0x1ylx8kxb4aivvj3m4yh64bnw85vkrx-gtk-doc-1.30/bin/gtkdoc-scangobj --module=libical-glib --cflags=\ -I/nix/store/90y20imp7c9rykrwj9xsavpmi4gpllr8-glib-2.60.4-dev/include\ -I/nix/store/90y20imp7c9rykrwj9xsavpmi4gpllr8-glib-2.60.4-dev/include/glib-2.0\ -I/nix/store/vl5a1s7i5bqjjbgs5x821avx3ddcx8a4-glib-2.60.4/lib/glib-2.0/include\ -I/nix/store/hnd5m3l1cysr5wpim0h0khvsycgr7577-libical-3.0.5-dev/include --ldflags=-L/build/source/build/lib\ -lical-glib\ -lglib-2.0\ -lgobject-2.0\ -L/nix/store/vl5a1s7i5bqjjbgs5x821avx3ddcx8a4-glib-2.60.4/lib\ -L/build/source/build/lib\ -lical\ -L/nix/store/vvj5xbcqjq3wcnaz0ca9a5q74vsgxghc-libical-3.0.5/lib && /nix/store/0x1ylx8kxb4aivvj3m4yh64bnw85vkrx-gtk-doc-1.30/bin/gtkdoc-mkdb --module=libical-glib --name-space=libical-glib --main-sgml-file="/build/source/build/doc/reference/libical-glib/libical-glib-docs.sgml" --sgml-mode --output-format=xml --source-dir="/build/source/build/src/libical-glib" && /nix/store/rlp98mmbvp008720p25k73w2khzs9rzn-cmake-3.14.5/bin/cmake -E make_directory /build/source/build/doc/reference/libical-glib/html && /nix/store/rlp98mmbvp008720p25k73w2khzs9rzn-cmake-3.14.5/bin/cmake -E chdir /build/source/build/doc/reference/libical-glib/html /nix/store/0x1ylx8kxb4aivvj3m4yh64bnw85vkrx-gtk-doc-1.30/bin/gtkdoc-mkhtml --path=.. libical-glib ../libical-glib-docs.sgml && /nix/store/0x1ylx8kxb4aivvj3m4yh64bnw85vkrx-gtk-doc-1.30/bin/gtkdoc-fixxref --module=libical-glib --module-dir=html --extra-dir=.. --html-dir="share/gtk-doc/html/libical-glib"
/nix/store/mgdjnsrkqgmxqjaqaxgqyqm7fwyi96fk-binutils-2.31.1/bin/ld: libical-glib-scan.o: undefined reference to symbol '__errno_location@@GLIBC_2.2.5'
/nix/store/mgdjnsrkqgmxqjaqaxgqyqm7fwyi96fk-binutils-2.31.1/bin/ld: /nix/store/iykxb0bmfjmi7s53kfg6pjbfpd8jmza6-glibc-2.27/lib/libpthread.so.0: error adding symbols: DSO missing from command line
2019-08-21 14:05:13,671:scangobj.py:execute_command:1198:WARNING:Linking scanner failed: 1, command: ld libical-glib-scan.o -L/build/source/build/lib -lical-glib -lglib-2.0 -lgobject-2.0 -L/nix/store/vl5a1s7i5bqjjbgs5x821avx3ddcx8a4-glib-2.60.4/lib -L/build/source/build/lib -lical -L/nix/store/vvj5xbcqjq3wcnaz0ca9a5q74vsgxghc-libical-3.0.5/lib -o libical-glib-scan
[169/227] Building C object src/libical-glib/CMakeFiles/ical-glib-static.dir/i-cal-derived-property.c.o
ninja: build stopped: subcommand failed.
2019-08-21 16:30:21 +02:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
worldofpeace ff3049f67d Revert "Revert "libical: temporarily don't build docs to unblock staging-next""
This reverts commit ea01202e5e.
2019-06-03 15:55:19 -04:00
Jörg Thalheim b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Jan Tojnar a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00
Will Dietz 6cb1bdb67f libical: disable parallel check, fix 2018-11-27 10:32:24 -06:00
R. RyanTM fea3840fef libical: 3.0.3 -> 3.0.4 (#45196)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libical/versions.
2018-08-21 14:42:46 +02:00
Jan Tojnar 9b7cb8be4d
libical: 2.0.0 → 3.0.3 2018-06-29 14:43:13 +02:00
Jan Malakhovski 7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Jan Tojnar a51f6474d2
libical: 1.0.1 → 2.0.0 2017-11-05 20:44:07 +01:00
Bjørn Forsman bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Luca Bruno fbfdc71e1f libical: fix crash when TZDIR is empty, and add non-nixos zoneinfo paths. Closes #8285 2015-06-11 15:49:29 +02:00
William A. Kennington III 5e790f0e17 libical: 1.0.0 -> 1.0.1 2015-03-26 17:29:57 -07:00
Mathijs Kwik 05400054ae libical: upgrade to 1.0 2013-09-28 22:00:03 +02:00
Eelco Dolstra ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Yury G. Kudryashov c03efbd8f9 Fix libical
Libical searched zoneinfo in /usr/share/zoneinfo, and failed to find it.
This leads to, e.g., random Kontact freezes.
2012-08-26 22:05:19 +04:00
Yury G. Kudryashov cf207c3e83 libical-0.48
svn path=/nixpkgs/trunk/; revision=31539
2012-01-14 18:02:46 +00:00
Yury G. Kudryashov 22726acbfc libical-0.47 (e.g., contains updated TZ info)
svn path=/nixpkgs/trunk/; revision=30296
2011-11-07 16:48:40 +00:00
Sander van der Burg 770b01890a Added libical package, patch submitted by Andrew Morsillo
svn path=/nixpkgs/trunk/; revision=14118
2009-02-18 20:57:36 +00:00