Skip to content
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

gnome-extra/gnome-commander: add version 1.14.0 #24092

Closed
wants to merge 2 commits into from

Conversation

turboscholz
Copy link
Contributor

This version removes the dependency from gnome-vfs.

Also, the changelog URL is corrected in the metadata.xml file.

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @turboscholz
Areas affected: ebuilds
Packages affected: gnome-extra/gnome-commander

gnome-extra/gnome-commander: @turboscholz, @gentoo/proxy-maint

Linked bugs

Bugs linked: 751001


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Feb 5, 2022
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-02-05 21:15 UTC
Newest commit scanned: 1440da8
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/c9d3c6375f/output.html

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about EAPI-8?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will check. Why does repoman -dx full does not complain? This would be a nice feature. ;-)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will start complaining about it once EAPI-7 becomes deprecated - we are quite some time away from that, but no reason to wait for porting either. ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aha 👍

gnome-extra/gnome-commander/gnome-commander-1.14.0.ebuild Outdated Show resolved Hide resolved
sys-devel/gettext
virtual/pkgconfig
"
DEPEND="
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is likely where you wanted to put RDEPEND (instead of above).

RESTRICT="!test? ( test )"

RDEPEND="
app-text/yelp-tools
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yelp-tools should likely be in BDEPEND.


RDEPEND="
app-text/yelp-tools
dev-libs/atk
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see no evidence that this dependency is correct.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there was this commit c32dfd8 from @juippis where this dependency was added. I did not find the time to check why this was done, maybe he can comment. But I agree that it can be removed. Same holds true for the other additional packages you mentioned. Thanks for bringing it up.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

grep -i atk /var/db/pkg/gnome-extra/gnome-commander-1.14.0/NEEDED.ELF.2
X86_64;/usr/lib64/gnome-commander/plugins/libfileroller.so;libfileroller.so;;libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libpangocairo-1.0.so.0,libatk-1.0.so.0,libcairo.so.2,libgdk_pixbuf-2.0.so.0,libgio-2.0.so.0,libpangoft2-1.0.so.0,libpango-1.0.so.0,libgobject-2.0.so.0,libglib-2.0.so.0,libharfbuzz.so.0,libfontconfig.so.1,libfreetype.so.6,libstdc++.so.6,libc.so.6,libgcc_s.so.1;x86_64

scanelf -n /usr/lib64/gnome-commander/plugins/libfileroller.so
TYPE NEEDED FILE
ET_DYN libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libpangocairo-1.0.so.0,libatk-1.0.so.0,libcairo.so.2,libgdk_pixbuf-2.0.so.0,libgio-2.0.so.0,libpangoft2-1.0.so.0,libpango-1.0.so.0,libgobject-2.0.so.0,libglib-2.0.so.0,libharfbuzz.so.0,libfontconfig.so.1,libfreetype.so.6,libstdc++.so.6,libc.so.6,libgcc_s.so.1 /usr/lib64/gnome-commander/plugins/libfileroller.so

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! It took a while but since yesterday, gnome-commander-1.16.0 is in portage which does not have this issue with that many linked libraries anymore - as the program uses Meson now. Example:

$ scanelf -n /usr/lib64/gnome-commander/plugins/libfilerollerplugin.so
 TYPE   NEEDED FILE 
ET_DYN libglib-2.0.so.0,libgio-2.0.so.0,libgobject-2.0.so.0,libgtk-x11-2.0.so.0,libgdk_pixbuf-2.0.so.0,libstdc++.so.6,libgcc_s.so.1,libc.so.6 /usr/lib64/gnome-commander/plugins/libfilerollerplugin.so

I'm happy 😃

RDEPEND="
app-text/yelp-tools
dev-libs/atk
dev-libs/glib:2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be >=dev-libs/glib-2.70.0:2. The dependency in configure.ac is 2.66, but there's an additional check for 2.70, so just require that since it's already stable.

app-text/yelp-tools
dev-libs/atk
dev-libs/glib:2
gnome-base/gconf:2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see no evidence this is required.

dev-libs/atk
dev-libs/glib:2
gnome-base/gconf:2
media-libs/fontconfig
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see no evidence this is required.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

X86_64;/usr/lib64/gnome-commander/plugins/libfileroller.so;libfileroller.so;;libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libpangocairo-1.0.so.0,libatk-1.0.so.0,libcairo.so.2,libgdk_pixbuf-2.0.so.0,libgio-2.0.so.0,libpangoft2-1.0.so.0,libpango-1.0.so.0,libgobject-2.0.so.0,libglib-2.0.so.0,libharfbuzz.so.0,libfontconfig.so.1,libfreetype.so.6,libstdc++.so.6,libc.so.6,libgcc_s.so.1;x86_64

TYPE NEEDED FILE
ET_DYN libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libpangocairo-1.0.so.0,libatk-1.0.so.0,libcairo.so.2,libgdk_pixbuf-2.0.so.0,libgio-2.0.so.0,libpangoft2-1.0.so.0,libpango-1.0.so.0,libgobject-2.0.so.0,libglib-2.0.so.0,libharfbuzz.so.0,libfontconfig.so.1,libfreetype.so.6,libstdc++.so.6,libc.so.6,libgcc_s.so.1 /usr/lib64/gnome-commander/plugins/libfileroller.so

x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/pango
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see calls to pango_ functions, but no #includes of pango headers nor checks in configure.ac for pango.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see pango being linked to final libraries and binaries.

X86_64;/usr/lib64/gnome-commander/plugins/libfileroller.so;libfileroller.so;;libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libpangocairo-1.0.so.0,libatk-1.0.so.0,libcairo.so.2,libgdk_pixbuf-2.0.so.0,libgio-2.0.so.0,libpangoft2-1.0.so.0,libpango-1.0.so.0,libgobject-2.0.so.0,libglib-2.0.so.0,libharfbuzz.so.0,libfontconfig.so.1,libfreetype.so.6,libstdc++.so.6,libc.so.6,libgcc_s.so.1;x86_64
X86_64;/usr/bin/gnome-commander;;/usr/lib64/gnome-commander;libgcmd.so.0,libgmodule-2.0.so.0,libunique-1.0.so.0,libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libgdk_pixbuf-2.0.so.0,libgio-2.0.so.0,libpango-1.0.so.0,libexiv2.so.27,libgsf-1.so.114,libgobject-2.0.so.0,libglib-2.0.so.0,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6;x86_64

x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/pango
chm? ( dev-libs/chmlib )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does nothing. I've made a PR to remove the configure.ac logic upstream: https://gitlab.gnome.org/GNOME/gnome-commander/-/merge_requests/27

x11-libs/pango
chm? ( dev-libs/chmlib )
exif? ( >=media-gfx/exiv2-0.14 )
gsf? ( gnome-extra/libgsf:= )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be gsf? ( >=gnome-extra/libgsf-1.12:= )

"
BDEPEND="
dev-util/gtk-doc-am
sys-devel/gettext
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be >=sys-devel/gettext-0.19.7

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only available in portage is 0.21, do you really think the explicit version is needed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general we keep minimum version reqs until after some time (2 years) they have left the tree. gnome proj may have different standards.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I don't really have a preference. I guess it just seems easier to put the version in so you don't have to think about it. 🤷

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, along with the addition of sys-devel/flex

src_configure() {
gnome2_src_configure \
--disable-static \
$(use_with chm libchm) \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please just pass --without-libchm since the config option does nothing.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-02-05 22:06 UTC
Newest commit scanned: 07034b5
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/acb8a31ec5/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-02-05 23:06 UTC
Newest commit scanned: ac735bc
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/c0a90ab334/output.html

@juippis
Copy link
Member

juippis commented Feb 6, 2022

Also in addition:

configure: error: You need the 'flex' lexer generator to compile Gnome Commander

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/gnome-extra/gnome-commander-1.14.0/work/gnome-commander-1.14.0/config.log
 * ERROR: gnome-extra/gnome-commander-1.14.0::gentoo failed (configure phase):
 *   econf failed

Bug: https://bugs.gentoo.org/751001
Signed-off-by: Uwe Scholz <u.scholz83@gmx.de>
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Change the URL to the one in upstream master branch

Signed-off-by: Uwe Scholz <u.scholz83@gmx.de>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-02-06 10:21 UTC
Newest commit scanned: 43f53cb
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/99a2830817/output.html

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had this,

/bin/sh: line 1: glib-mkenums: command not found
make[2]: *** [Makefile:695: org.gnome.gnome-commander.enums.xml] Error 127

so I'm going to add glib-utils to BDEPEND. But with that, thanks for your patience! And I hope the efforts of porting to meson will pay off.

@gentoo-bot gentoo-bot closed this in 9723905 Feb 9, 2022
@turboscholz
Copy link
Contributor Author

turboscholz commented Feb 9, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
6 participants