Commit Graph

58 Commits

Author SHA1 Message Date
Adam Joseph
486cc09058 recoll: simplify --with{out}-inotify expression
This cleanup commit uses `lib.withFeature` to simplify the
expression for recoll's `--with{out}-inotify` flags.
2023-06-17 10:39:28 +01:00
Adam Joseph
d77f9d908e recoll: use wrapProgram to set $PATH for recoll, recollindex
Many recoll filters assume that $PATH contains all their
dependencies.  Our current patching approach is a game of
whack-a-mole, and while we will continue trying to play it we ought
to set the $PATH as well.

This commit eliminates a huge number of extraneous error messages
from recoll's log, making it easier to see the remaining ones which
really matter.
2023-06-08 08:25:05 +01:00
Adam Joseph
8d2530ece4 recoll: factor out dependency list
This commit factors out a long repetitive list of `wrapProgram`
invocations into a Nix list which can be iterated upon for other
purposes.
2023-06-08 08:25:05 +01:00
Adam Joseph
d61bdc7ded recoll: fix cross
This commit fixes cross-compilation of recoll by:

1. Disabling the python module when cross compiling

2. Removing `file` from `nativeBuildInputs`, since it leaks into
   recoll-*.so, and forcing use of the hostPlatform `file` by adding
   the configureFlag that does that.

3. Adding `qtbase` to `nativeBuildInputs` if `withGui`
2023-06-07 21:10:09 +01:00
Adam Joseph
2c5682c927 recoll: add withPython parameter
Cross-compiling the recoll python modules does not work and is not
easy to fix; for now we disable them.
2023-06-07 21:10:09 +01:00
Artturin
cab4a24c34 treewide: fix lints
Arg to lib.optional is a list

build time tool in buildInputs
2023-03-11 00:55:17 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Emery Hemingway
961892a085 recoll: wrap some input handlers with extra deps 2023-02-12 21:32:48 -06:00
Fabian Affolter
26fff39e4f
python310Packages.recoll: add changelog to meta
- specify license
2023-01-04 09:12:48 +01:00
R. Ryantm
34c3093c20 python310Packages.recoll: 1.33.2 -> 1.33.4 2023-01-01 02:40:55 +00:00
Gabriel Arazas
41f4a69fd5 recoll: 1.32.7 -> 1.33.2 2022-12-22 14:01:45 -06:00
Jiajie Chen
4ed7e2a866 recoll: fix no/bad configuration error on darwin
Prior to this fix, running recoll fails with the following error:

No/bad main configuration file in /nix/store/.../Resources/examples.

The path is incorrect and RECOLL_DATADIR should be used.
2022-10-28 11:06:57 +08:00
Karthik Iyengar
20c9a9e87d
Remove kiyengar from maintainers (#187781) 2022-08-21 23:50:03 +02:00
R. Ryantm
a3d5cf1dd2 python310Packages.recoll: 1.32.5 -> 1.32.7 2022-08-16 21:48:46 +00:00
R. Ryantm
177a9e4f15 python310Packages.recoll: 1.32.0 -> 1.32.5 2022-08-02 00:11:29 +00:00
Mario Rodas
c1922f2381 recoll: 1.31.0 -> 1.32.0
https://www.lesbonscomptes.com/recoll/pages/release-1.32.html
2022-05-12 04:20:00 +00:00
R. RyanTM
4de6fe6a9d python38Packages.recoll: 1.28.6 -> 1.31.0 2021-09-14 10:08:29 +00:00
Robert Schütz
346af47879
Merge pull request #118574 from dotlambda/recoll-python
python3Packages.recoll: init
2021-04-08 18:21:06 +02:00
Robert Schütz
af9ea7040c python3Packages.recoll: init
Also move some stuff to recoll's nativeBuildInputs.
2021-04-05 15:08:25 +02:00
Dmitry Kalinkin
97bb239d9d
recoll: drop assert on hostPlatform.system
This was introduced in 05e5f5d5 ('Fix tarball') and no longer serves
the original purpose.
2021-04-04 20:23:56 -04:00
R. RyanTM
8789af1496 recoll: 1.27.12 -> 1.28.6 2021-03-09 11:12:25 +00:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Fabián Heredia Montiel
3ec7527f6e recoll: refactor and 1.24.5 -> 1.27.12
Refactor Changes:

- name -> pname + version
- python2 -> python3
- add pkg-config (to find libxslt)
- patch /usr/share/recoll to $out/share/recoll
- remove Makefile patch for macOS that has been merged upstream (
  b5c5734d06 )
2020-11-23 14:01:56 -06:00
Frank Doepper
9cdfa8adc2 recoll: qt4 -> qt5, fix build 2020-09-09 19:28:32 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
c0bw3b
9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Daniel Schaefer
bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
R. RyanTM
f8f14c9a63 recoll: 1.24.4 -> 1.24.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/recoll/versions
2019-02-03 20:02:35 -08:00
R. RyanTM
d121a13f67 recoll: 1.24.3 -> 1.24.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/recoll/versions
2018-12-14 03:50:48 -08:00
R. RyanTM
3caf460533 recoll: 1.23.7 -> 1.24.3 (#50563)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/recoll/versions
2018-11-18 12:31:12 +01:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Mario Rodas
79b81c31d4 recoll: Add support to build without QT 2018-07-05 06:17:34 -05:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
John Wiegley
850c9d805a recoll: Avoid using substituteInPlace on zip files 2018-02-28 17:44:42 -08:00
John Wiegley
bddc23b134 recoll: Allow building a non-X/inotify version on Darwin 2018-02-28 14:02:59 -08:00
Ryan Mulligan
365b5c41ae recoll: 1.23.5 -> 1.23.7
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/l9d50wqwzrfqgj3wj9456kiapygmacr0-recoll-1.23.7/bin/recollindex -h` got 0 exit code
- ran `/nix/store/l9d50wqwzrfqgj3wj9456kiapygmacr0-recoll-1.23.7/bin/recollindex -h` and found version 1.23.7
- found 1.23.7 with grep in /nix/store/l9d50wqwzrfqgj3wj9456kiapygmacr0-recoll-1.23.7
- found 1.23.7 in filename of file in /nix/store/l9d50wqwzrfqgj3wj9456kiapygmacr0-recoll-1.23.7

cc "@jcumming"
2018-02-28 14:21:35 +00:00
Tor Hedin Brønner
e0b84b9f35 recoll: 1.23.1 -> 1.23.5 2017-12-08 11:37:33 +01:00
ndowens
c9bcbaa75a recoll: 1.21.3 -> 1.23.1 2017-03-22 17:14:30 -05:00
Nikolay Amiantov
5ff40ddedf add get* helper functions and mass-replace manual outputs search with them 2016-04-25 13:24:39 +03:00
Thomas Tuegel
1f56abef8e recoll: fix evaluation error on Darwin 2016-03-11 09:53:20 -06:00
Vladimír Čunát
09af15654f Merge master into closure-size
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
Tuomas Tynkkynen
7b0c4d452a treewide: Mass replace 'poppler_utils}/bin' to refer the 'out' output 2016-02-01 20:46:18 +02:00
Bojan Nikolic
d71b1294dc recoll: 1.20.6 -> 1.21.3
Add dependency on bison. Correct corruption caused by substituteInPlace
replacing non-commands in the filters
2015-12-18 14:09:28 +00:00
Bojan Nikolic
98d1abd46b recoll: Disable --install-layout 2015-12-18 13:51:58 +00:00
Bojan Nikolic
316406269d recoll: Enable parallel builds 2015-12-18 11:51:10 +00:00
Vladimír Čunát
333d69a5f0 Merge staging into closure-size
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00
Vladimír Čunát
f9e9c7242a djvulibre: split dev and bin outputs 2015-10-28 19:36:40 +01:00
karsten gebbert
55b2baa501 recoll: use poppler_utils instead of xpdf
Closes #10285, fixes #10284.
2015-10-09 14:25:16 +02:00