Commit Graph

40 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
77ed2dbe33 kiwix-tools: 3.6.0 -> 3.7.0 2024-03-15 09:00:06 +00:00
ajs124
1a47967714 remove my maintainership from some packages 2024-03-04 14:39:00 +01:00
Colin
04abc6788b libkiwix: 12.1.1 -> 13.1.0 2024-02-26 11:45:06 +00:00
R. Ryantm
a3445af790 libkiwix: 12.0.0 -> 12.1.1 2023-09-20 03:06:48 +00:00
Colin
146f2449a1 kiwix-tools: 3.4.0 -> 3.5.0
upstream changelog: <https://github.com/kiwix/kiwix-tools/blob/main/Changelog>

almost entirely documentation and CI improvements.
2023-05-15 10:38:22 +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
colin
f45dd59576 kiwix-tools: init at 3.4.0
this provides the `kiwix-serve` tool asked for in
<https://github.com/NixOS/nixpkgs/issues/35009>,
but does not implement the systemd service requested.

package contents:
- bin/kiwix-manage
- bin/kiwix-search
- bin/kiwix-serve

tested by invoking `kiwix-serve` and connecting to it in a web browser:

```sh
nix build '.#kiwix-tools'
wget 'https://dumps.wikimedia.org/other/kiwix/zim/wikipedia/wikipedia_en_simple_all_mini_2022-11.zim'
./result/bin/kiwix-serve -p 1080 ./wikipedia_en_simple_all_mini_2022-11.zim
curl http://localhost:1080
```
2023-01-13 05:07:17 +00:00
colin
fa9cc1b2a0 kiwix: split libkiwix out its own toplevel package
this allows libkiwix to be more easily used by non-nixpkgs consumers.
2023-01-13 05:07:14 +00:00
colin
bea06ddf35 kiwix: 2.2.1 -> 2.3.1
changelog:
- 2.3.1
        - Fix the AppImage packaging. Now published AppImages work correctly on recent distrubution (mgautierfr 905)
        - Improve zim file picker (kelson42 886)
        - Do not show ServiceWorker zim file from the remote catalog (kelson42 887)
- 2.3.0
        - Fix downloading of file bigger than 4G (Juzz0 855)
        - Hide top widget and topbar in fullscreen (Juzz0 859)
        - Add shortcuts for navigating tabs (Ctrl-tab, Ctrl-shift-tab) (Juzz0 867)
        - Do not use deprecated method QWebEngineDownloadItem::setPath (Juzz0 853)
        - Fix compilation with last version of libkiwix (mgautierfr 858)
        - Fix README.md (psypherium 860)
        - Update translations.
- 2.2.2
        - Remove usage of deprecated libkiwix function (Juzz0 mgautiefr 831)
        - Adapt kiwix-desktop to last libkiwix api (mgautierfr 842, veloman-yunkan 844)
        - Do not search (and crash) on a zim file without fulltext index (mgautierfr 830)
        - Update translations.
        - [Flathub] Update link to screenshot

libkiwix changelog:
<0ae31bd181/ChangeLog>

libkiwix now requires libzim to be compiled with xapian support.
kiwix-desktop fails to link of xapian isn't also found there, so i made
this part of `propagatedBuildInputs`. `xz` also needed to be propagated,
otherwise libkiwix would fail with
```
> meson.build:38:0: ERROR: Could not generate cargs for libzim:
> Package liblzma was not found in the pkg-config search path.
```

additionally, upstream renamed the repo to `libkiwix`. the old `kiwix-lib` repo redirects to
`libkiwix`, so i updated pname to reflect this.
2022-12-16 00:37:35 +00:00
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
Alyssa Ross
207e649ab9
kiwix: 2.0.5 -> 2.2.1 2022-06-10 14:37:47 +00:00
ajs124
cbac34be88 kiwix: 0.9 -> 2.0.5 2021-03-30 14:58:46 +02:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Ben Siraphob
b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Niklas Hambüchen
9e78f76ade treewide: Remove unnecessary --disable-static (#66759)
* freetype: Remove unnecessary `--disable-static`.

The true-by-default `dontDisableStatic` already takes care of it.

Fixes freetype not being overridable to have static libs.

* treewide: Remove unnecessary `--disable-static`.

The true-by-default `dontDisableStatic` already takes care of it.

Fixes these packages not being overridable to have static libs.
2019-08-31 08:10:53 -04: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
worldofpeace
b1bc0645ea gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
Matthew Bauer
290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
Andreas Rammhold
2898972377 kiwix: mark as insecure
There is at least one recorded issue against our kiwix version. Upstream
does no longer support this version of the project. They have moved to a
different repository & software architecture.
2018-10-26 12:17:58 +02: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
Matthew Bauer
f7bc33abf0 Revert "treewide: fixup breakage due to absolute compiler path"
This reverts commit d0888d1503.
2018-08-22 01:14:53 +02:00
Vladimír Čunát
d0888d1503
treewide: fixup breakage due to absolute compiler path
Some packages just can't handle them #44767.  It was tempting to try
to abstract this in some way, but I didn't do that ATM.
2018-08-21 12:34:33 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
Jan Malakhovski
07ed5ebc8e kiwix: use default gcc
overrideCC no longer needed
2017-08-30 01:52:17 +02:00
Daiderd Jordan
7d81be90c2 Merge pull request #23569 from LnL7/darwin-idutils
idutils: disable tests on darwin
2017-03-18 13:26:25 +01:00
Robin Gloster
b94e253e69
kiwix: remove unused param 2017-03-07 14:14:14 +01:00
Robin Gloster
09d7f7dfbd
kiwix: fix eval and build 2017-03-07 14:09:33 +01:00
Daiderd Jordan
6e4d902e49
kiwix: add platforms 2017-03-06 22:21:28 +01:00
Jan Malakhovski
8698782554 kiwix: fix the build by using custom ctpp2 2017-03-05 15:02:07 +00:00
Jan Malakhovski
659fb3b757 kiwix: refactor expression, push pugixml into its own derivation 2017-03-05 15:02:07 +00:00
Kirill Boltaev
bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Robbin C
2a84cc856b kiwix: Fix broken build 2016-08-18 07:55:06 +08:00
Vladimír Čunát
30f14243c3 Merge branch 'master' into closure-size
Comparison to master evaluations on Hydra:
  - 1255515 for nixos
  - 1255502 for nixpkgs
2016-04-10 11:17:52 +02:00
Graham Christensen
2ce26f4f94 kiwix: mark as broken
Compiling is now emitting:

    ../common/kiwix/kiwix_serve-searcher.o: In function `kiwix::Searcher::getHtml[abi:cxx11]()':
    /tmp/nix-build-kiwix-0.9.drv-0/kiwix-0.9/src/server/../common/kiwix/searcher.cpp:142: undefined reference to `CTPP::CDT::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    ... snip ...
    /tmp/nix-build-kiwix-0.9.drv-0/kiwix-0.9/src/server/../common/kiwix/searcher.cpp:191: undefined reference to `CTPP::CDT::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    /tmp/nix-build-kiwix-0.9.drv-0/kiwix-0.9/src/server/../common/kiwix/searcher.cpp:201: undefined reference to `CTPP::SimpleVM::Run(CTPP::CDT&, CTPP::VMLoader const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, CTPP::Logger&)'
    collect2: error: ld returned 1 exit status
    Makefile:506: recipe for target 'kiwix-serve' failed
    make[2]: *** [kiwix-serve] Error 1
    make[2]: Leaving directory '/tmp/nix-build-kiwix-0.9.drv-0/kiwix-0.9/src/server'
    Makefile:396: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/tmp/nix-build-kiwix-0.9.drv-0/kiwix-0.9/src'
    Makefile:456: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1
2016-04-04 07:42:38 -05:00
Tuomas Tynkkynen
a1909d7380 treewide: Mass replace 'glibc}/lib' to refer the 'out' output 2016-01-24 10:03:35 +02:00
Robbin C
9952afa2ff kiwix: init at 0.9.
This adds kiwix, an offline reader for Web content (like Wikipedia).
2015-09-24 22:01:55 +08:00