New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
at-spi2-atk, at-spi2-core, clutter-gtk, fribidi: updates, build with meson, adding updareScript #41365
Conversation
Using |
3c4b145
to
49c3aef
Compare
|
For fribidi, does adding |
Reverted commits. |
|
Yes, |
@Anton-Latukha then we either need to remove |
The behavior of |
I would go rest. Created bugreport for core GNOME library Others would do later. |
}; | ||
|
||
# FIXME: Please build with Meson after https://github.com/fribidi/fribidi/issues/79 solved | ||
nativeBuildInputs = [ autoreconfHook pkgconfig ]; | ||
|
||
# Configure script checks for glib, but it is only used for tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
glib dependency was removed i 1.0.2.
rev = version; | ||
sha256 = "10q5jfch5qzrj2w4fbkr086ank66plx8hp7ra9a01irj80pbk96d"; | ||
rev = "v${version}"; | ||
sha256 = "02483nscxc695j9b92clcdf0xb7xkfjry09kqdkkhkzl3vdcj039"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe try fetchurl with "https://github.com/fribidi/fribidi/releases/download/v${version}/${name}.tar.bz2"
, it should have the manpage bundled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how man pages should look in this packaging.
To me it seems like this tarball is the same deal. Build requires c2man
OR mesonFlags = [ "-Ddocs=false" ];
and I see the in doc
c2man
input files.
I would elaborate more about the topic in that upstream bugreport fribidi/fribidi#79.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. I think we can probably do without man pages for now.
6b571f6
to
d03d219
Compare
Could you replace the underscore in the |
I tested several packages depending on |
fribidi/fribidi#79 resulted in a dev PR that is waiting to merge there.
I would make changes. |
During my work:
I see that not developers, not packages in other distros do not use:
nixpkgs/pkgs/development/libraries/at-spi2-core/default.nix Lines 22 to 27 in c30bd1c
|
Not sure, but other distributions often omit transitive dependencies from packages’ dependency list. Nix needs to list all dependencies that are not propagated from other dependencies. Though some of the dependencies might no longer be needed, for example
Having a developer documentation is preferred, we use a
meson does not use |
It would be also nice to add updateScript to |
Yes. I tuned down some info, dbus, glib change. Deps I asked about not needed I am removing them. Updated package. Created upstream bug report, they not updated install info for 8 years. They have good documentation otherwise. Would send changes, when get internet access. |
Since they are twins, I would review |
Thanks for support, lots of info, and you double my effort on most cases. It is hardcore. |
d03d219
to
dbac6c8
Compare
|
||
meta = with stdenv.lib; { | ||
description = "D-Bus bridge for Assistive Technology Service Provider Interface (AT-SPI) and Accessibility Toolkit (ATK)"; | ||
homepage = "https://gitlab.gnome.org/GNOME/at-spi2-atk"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to wrap the URL in quotes.
name = "${moduleName}-${versionMajor}.${versionMinor}"; | ||
moduleName = "at-spi2-atk"; | ||
versionMajor = "2.26"; | ||
versionMinor = "2"; | ||
|
||
src = fetchurl { | ||
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to use stdenv.lib.versions.majorMinor version
so that the various update tools could update the single version
attribute, see #36150.
platforms = platforms.unix; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While at it, could you also add a license and me as a maintainer?
Then it says it does not know what is gnome3. You say I need to do |
You need to add |
You marked it in reviews. So that is why I am asking how to do it in other way. |
It is strange to see update helper script in Maybe it belongs to |
160226c
to
d21d2f2
Compare
Perhaps I did not express clearly. Qualified names should be used instead of GNOME’s update script is in |
So this mean all this currently seems OK? |
was before split-packages, if I know what I am talking about. |
sha256 = "10q5jfch5qzrj2w4fbkr086ank66plx8hp7ra9a01irj80pbk96d"; | ||
# NOTE: 2018-06-06 v1.0.4: Only URL tarball has "Have pre-generated man pages: true", which works-around upstream usage of rare ancient `c2man` fossil. | ||
src = fetchurl { | ||
url = "https://github.com/${pname}/${pname}/releases/download/v{$version}/${name}.tar.bz2"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL or the comment? ;]
Ok, all further changes I going to do on the next day.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The {$version}
should be ${version}
.
passthru = { | ||
updateScript = gnome3.updateScript { | ||
packageName = pname; | ||
versionPolicy = "none"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: at-spi2-atk
is version 2.26.2
, while *this (at-spi2-core
) is 2.28.0
version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but it still uses the default version policy.
d21d2f2
to
1d84ebc
Compare
Jan, thank you. |
@GrahamcOfBorg build |
What it can be? Looks like bot did not built them. https://monitoring.nix.ci/dashboard/db/ofborg?orgId=1&from=1528343308390&to=1528400908390 I am interested what it can be? We need to wait more, or bot drops/does not return some requests? |
It sometimes requires to list the package names, not sure why @GrahamcOfBorg build at-spi2-core at-spi2-atk clutter-gtk fribidi gnome3.lightsoff |
Success on x86_64-darwin (full log) Attempted: at-spi2-core, at-spi2-atk, fribidi The following builds were skipped because they don't evaluate on x86_64-darwin: clutter-gtk, gnome3.lightsoff Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: at-spi2-core, at-spi2-atk, clutter-gtk, fribidi, gnome3.lightsoff Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: at-spi2-core, at-spi2-atk, clutter-gtk, fribidi, gnome3.lightsoff Partial log (click to expand)
|
Thank you. |
Please, let's merge this progress.
I gathered information and would open new pull request on new work.
Motivation for this change
Number of projects support Meson builds.
This would make Hydra rebuilds faster for this packages.
Also doing version updates on these packages.
Light linting of this packages
Since many of these packages are under GNOME umbrella - migrating them to use fresh GNOME GitLab.
Packages
at-spi2-atk
(GNOME)at-spi2-core
(GNOME)clutter-gtk
(GNOME)fribidi
Notes on encountered bugs
gnome-logs
(GNOME)meson.build
withfetchurl
gnome-nettool
(GNOME)grilo
(GNOME)meson.build
withfetchurl
pango
meson.build
withfetchurl
gnome3.gtk
meson.build
withfetchurl
For later work
grilo-plugins
(GNOME)hexchat
intel-gpu-tools
jsoncpp
libdrm
libmediaart
(GNOME)mesa
mpc
orc
rofi
seahorse
(GNOME)Things done
nix-shell -p nox --run "nox-review wip"
./result/bin/
)