summaryrefslogtreecommitdiff
path: root/pkgs/development/tools/misc/libtool
AgeCommit message (Collapse)Author
2026-02-14glibtool, libtool, libtool_2: move env variable(s) into env for structuredAttrsStefan Frijters
2025-12-10treewide: clean up 'meta = with' patternIhar Hrachyshka
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-04-01treewide: Format all Nix filesSilvan Mosberger
Format all Nix files using the officially approved formatter, making the CI check introduced in the previous commit succeed: nix-build ci -A fmt.check This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153) of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166). This commit will lead to merge conflicts for a number of PRs, up to an estimated ~1100 (~33%) among the PRs with activity in the past 2 months, but that should be lower than what it would be without the previous [partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537). Merge conflicts caused by this commit can now automatically be resolved while rebasing using the [auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase). If you run into any problems regarding any of this, please reach out to the [formatting team](https://nixos.org/community/teams/formatting/) by pinging @NixOS/nix-formatting.
2024-12-19libtool: 2.4.7 -> 2.5.4 (#363684)s1syph0s
2024-12-10treewide: format all inactive Nix filesSilvan Mosberger
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev 57b193d8ddeaf4f5219d2bae1d23b081e4906e57 result/bin/apply-formatting $NIXPKGS_PATH
2024-05-27various: Enable updateAutotoolsGnuConfigScriptsHookAudrey Dutcher
Prior to August 2023, any config.guess generated by autoconf will include a hardcoded /usr/bin/uname invocation for FreeBSD on any architecture other than arm. This clearly doesn't work under nix. We must then update or otherwise patch each old config.guess.
2024-05-24pkgs/development: remove unused fetchpatch argumentsSigmanificient
2023-08-01treewide: Add meta.mainProgramRobert Hensing
Based on ofborg feedback. Part of https://github.com/NixOS/nixpkgs/pull/246386
2023-01-13libtool: drop unused auto* dependenciesSergei Trofimovich
Autoreconf was initially added in e44dd84664f ("libtool2: macOS 11 support") for configure patches. The patches were removed since 2.4.7 release. Let's drop these dependencies to make boostrap tree leaner. The diff of bootstrap tree before and after the change: $ nix-store --query --graph $(nix-instantiate -A stdenv) | fgrep ' -> ' | awk '{print $3}' | sort -u | sed 's/"[0-9a-z]\{32\}-/"/g' | sort > before $ nix-store --query --graph $(nix-instantiate -A stdenv) | fgrep ' -> ' | awk '{print $3}' | sort -u | sed 's/"[0-9a-z]\{32\}-/"/g' | sort > after $ diff -U0 before after --- before +++ after @@ -64,2 +63,0 @@ -"help2man-1.49.2.drv" -"help2man-1.49.2.drv" @@ -77 +74,0 @@ -"libxcrypt-4.4.33.drv" @@ -88,4 +84,0 @@ -"perl-5.36.0.drv" -"perl-5.36.0.drv" -"perl5.36.0-gettext-1.07.drv" -"perl5.36.0-gettext-1.07.drv" This removes 2 of 3 builds of `perl` and `help2man` dependencies. Co-authored-by: Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com>
2022-08-20libtool: fix shebang-fixing from 2.4.7 version bumpAdam Joseph
Libtool 2.4.7 changed the shebangs in `libtoolize.in` and `ltmain.sh` from `/bin/sh` (which is a special sandbox exception) to `/usr/bin/env sh` (which is not). My PR (#167071) to bump the libtool version adjusted both of these shebangs, when it should only have adjusted the one in `libtoolize.in`. `ltmain.sh` is not a script to be *executed* at `libtool`-invocation-time. It is a script which is *vendored into a release* at `libtoolize`-invocation-time. Thanks to @trofi for reporting this https://github.com/NixOS/nixpkgs/pull/167071#pullrequestreview-1079484605
2022-07-08Merge branch 'staging-next' into stagingJan Tojnar
; Conflicts: ; pkgs/data/icons/papirus-icon-theme/default.nix
2022-07-08libtool_1_5: remove used-in-fetchurl warningAdam Joseph
2022-07-06libtool,libtool_1_5: don't fix libtoolAlyssa Ross
For the same reason we disable shebang patching in these derivations, we want to disable the patching of libtool scripts stdenv does. Otherwise, libtool will install scripts into other packages that are already "fixed", but for the environment libtool was built in. These scripts won't be fixed properly by stdenv anymore, because it will think they were already fixed. This fixes the build of pkgsStatic.libwebp, which was failing because its libtool script wasn't being patched properly. Another problem "fixing" the scripts in the libtool package would cause is that package tarballs generated on NixOS would contain libtool scripts that didn't make sense on other distros. I've tested this change by building pkgsStatic.libwebp, which now works, as well as by testing the build of the bootstrap files for mips64el to make sure that didn't regress from 97c43828fb7 ("fixLibtool(): patch ./configure, add `file` to common-path.nix").
2022-05-22treewide: enable strictDeps in bootstrap packagesArtturin
2022-05-18Revert "Add mingwW64-llvm cross-system."Janne Heß
2022-05-09Add msys2 libtool patch for mingw + clang + compiler-rtShea Levy
libtool upstream seems quite slow to merge...
2022-04-11libtool: 2.4.6 -> 2.4.7Adam Joseph
libtool2-macos11.patch has been merged upstream as 9e8c88251 Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-06-30application/development: /s/name/pname&version/Felix Buehler
2021-05-17libtool2: add bootstrapping warningAndrew Childs
2021-05-17libtool2: macOS 11 supportAndrew Childs
2021-01-23pkgs/development/tools: stdenv.lib -> libBen Siraphob
2020-07-31treewide: add warning comment to “boot” packagesMatthew Bauer
This adds a warning to the top of each “boot” package that reads: Note: this package is used for bootstrapping fetchurl, and thus cannot use fetchpatch! All mutable patches (generated by GitHub or cgit) that are needed here should be included directly in Nixpkgs as files. This makes it clear to maintainer that they may need to treat this package a little differently than others. Importantly, we can’t use fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale hashes, we need to include patches that are subject to changing overtime (for instance, gitweb’s patches contain a version number at the bottom).
2020-05-12treewide: strip more things in crossMatthew Bauer
Stripping reduces closure sizes.
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly
2019-05-24libtool2: enable parallel buildsBenjamin Hipple
2018-12-02Treewide: use HTTPS on GNU domainsc0bw3b
HTTP -> HTTPS for : - http://gnu.org/ - http://www.gnu.org/ - http://elpa.gnu.org/ - http://lists.gnu.org/ - http://gcc.gnu.org/ - http://ftp.gnu.org/ (except in fetchurl mirrors) - http://bugs.gnu.org/
2018-08-30treewide: Remove usage of remaining redundant platform compatability stuffJohn Ericson
Want to get this out of here for 18.09, so it can be deprecated thereafter.
2018-04-25tree-wide: disable `doCheck` and `doInstallCheck` where it fails (the ↵Jan Malakhovski
trivial part)
2018-01-22libtool2: Enable cross-compilationBen Gamari
2017-12-03libtool: Enable cross compilationBen Gamari
2017-09-05misc pkgs: Recategorize some dependenciesJohn Ericson
2017-06-28libtool2: Don't use stdenv ? crosshsloan
2016-08-02treewide: Add lots of meta.platformsTuomas Tynkkynen
Build-tested on x86_64 Linux & Mac.
2015-04-18Merge 'staging' into closure-sizeVladimír Čunát
- there were many easy merge conflicts - cc-wrapper needed nontrivial changes Many other problems might've been created by interaction of the branches, but stdenv and a few other packages build fine now.
2015-03-26libtool: 2.4.5 -> 2.4.6William A. Kennington III
2015-03-09libtool: updateVladimír Čunát
I see nothing dangerous in NEWS. Also refactored the expression.
2015-01-13unmaintain a bunch of packagesLudovic Courtès
2014-08-31Merge branch 'staging' into v/modularVladimír Čunát
Conflicts (easy): pkgs/development/interpreters/perl/5.10/setup-hook.sh pkgs/development/interpreters/perl/5.8/setup-hook.sh pkgs/development/libraries/gtk+/2.x.nix
2014-08-30mutiout: make it builtinVladimír Čunát
2014-08-27WIP: getting goodVladimír Čunát
2014-08-24Fix many package descriptionsBjørn Forsman
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
2014-08-23Merge 'staging' into multiple-outputsVladimír Čunát
Conflicts: pkgs/applications/audio/flac/default.nix pkgs/build-support/gcc-wrapper/builder.sh pkgs/development/libraries/apr-util/default.nix pkgs/development/libraries/apr/default.nix pkgs/development/libraries/atk/default.nix pkgs/development/libraries/freetype/default.nix pkgs/development/libraries/gdk-pixbuf/default.nix pkgs/development/libraries/glib/default.nix pkgs/development/libraries/glibc/2.17/builder.sh pkgs/development/libraries/glibc/2.17/locales.nix pkgs/development/libraries/libjpeg/default.nix pkgs/development/libraries/libogg/default.nix pkgs/development/libraries/libsamplerate/default.nix pkgs/development/libraries/libtiff/default.nix pkgs/development/libraries/libvorbis/default.nix pkgs/development/libraries/mesa/default.nix pkgs/development/libraries/pango/default.nix pkgs/development/web/nodejs/default.nix pkgs/os-specific/linux/pam/default.nix pkgs/os-specific/linux/systemd/default.nix pkgs/stdenv/generic/setup.sh pkgs/stdenv/linux/default.nix pkgs/top-level/all-packages.nix pkgs/top-level/release-small.nix
2014-07-28Turn some license strings into lib.licenses valuesMateusz Kowalczyk
2013-06-09Merge remote-tracking branch 'origin/master' into multiple-outputsEelco Dolstra
Conflicts: pkgs/development/libraries/acl/default.nix pkgs/development/libraries/atk/2.6.x.nix pkgs/development/libraries/attr/default.nix pkgs/development/libraries/cairo/default.nix pkgs/development/libraries/freetype/default.nix pkgs/development/libraries/glib/2.34.x.nix pkgs/development/libraries/gtk+/2.24.x.nix pkgs/development/libraries/libtiff/default.nix pkgs/development/libraries/openssl/default.nix pkgs/development/libraries/pango/1.30.x.nix pkgs/misc/cups/default.nix pkgs/os-specific/linux/util-linux/default.nix pkgs/servers/x11/xorg/builder.sh pkgs/servers/x11/xorg/default.nix pkgs/top-level/all-packages.nix
2012-12-28Rename buildNativeInputs -> nativeBuildInputsEelco Dolstra
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
2012-08-24libtool: Separate libltdl from the main packageEelco Dolstra
Some packages have a runtime dependency on libltdl, but shouldn't depend on the rest of libtool (which in turn depends on binutils and other stdenv tools). For example, splitting off libltdl cuts about 35 MiB from the closure of PulseAudio.
2011-10-30GNU Libtool 2.4.2.Ludovic Courtès
svn path=/nixpkgs/trunk/; revision=30111
2011-07-01GNU Libtool: Use `dontStrip' instead of the non-existent `dontNativeStrip'.Ludovic Courtès
svn path=/nixpkgs/trunk/; revision=27571
2011-07-01GNU Libtool: Don't run the native `strip' when cross-compiling.Ludovic Courtès
svn path=/nixpkgs/trunk/; revision=27568
2010-10-07GNU Libtool 2.4.Ludovic Courtès
svn path=/nixpkgs/branches/stdenv-updates/; revision=24162