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
New package: amule-0.0.20201210 #26999
Conversation
Any pointers on the ircnotify check failure? |
We generally don't allow untagged releases, fetching with git instead of tar balls and limiting the package to x86_64 or modifiying the root of the masterdir i.e. the symlink you are creating in The irc notification doesn't matter. |
The release is tagged. The git checkout actually points to a tag. It's just that it doesn't produce proper release tarballs. |
Those tags come from converting svn to git, they are generated for every single commit, there are not 8 "releases" two months ago on a single day. |
Well, what's the proper procedure then, if the upstream project lacks proper release ? |
Ask upstream for releases. |
srcpkgs/amule/template
Outdated
revision=1 | ||
wrksrc=amule-master | ||
build_style=gnu-configure | ||
configure_args="--prefix=/usr --mandir=/usr/share/man |
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.
--prefix
and --mandir
are set by default for the gnu-configure
build-style.
Please indent inside of variables with just one space instead of tab.
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.
Fixed
srcpkgs/amule/template
Outdated
--enable-fileview --with-boost --with-wx-config=/usr/bin/wx-config-gtk3" | ||
hostmakedepends="tar autoconf automake gettext gettext-devel wxWidgets-gtk3" | ||
makedepends="boost-devel zlib-devel wxWidgets-gtk3-devel gd-devel geoip-devel crypto++-devel" | ||
depends="wxWidgets-gtk3-devel gd-devel geoip-devel crypto++-devel" |
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.
Why does this depend on -devel
packages, xbps-src will usually look at the resulting binaries and automatically add dependencies by looking at linked shared libraries.
If a dependency is not automatically detected you need to add them, but generally not the -devel ones.
https://github.com/void-linux/void-packages/pull/26999/checks?check_run_id=1514556177#step:10:1156
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.
Fixed
srcpkgs/amule/template
Outdated
--enable-alcc --enable-webserver --disable-debug | ||
--enable-optimize --enable-geoip --disable-upnp | ||
--enable-fileview --with-boost --with-wx-config=/usr/bin/wx-config-gtk3" | ||
hostmakedepends="tar autoconf automake gettext gettext-devel wxWidgets-gtk3" |
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.
Does it actually need tar (bsdtar is used by default to extract distfiles)?
srcpkgs/amule/template
Outdated
vbin src/amule | ||
vbin src/amuled | ||
vbin src/amulecmd | ||
vbin src/amulegui |
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.
Any reason to manually install the binaries instead of using the default make install
target?
srcpkgs/amule/template
Outdated
maintainer="hazayan <hazayan@hotmail.com>" | ||
license="GPL-2.0-or-later" | ||
homepage="https://github.com/amule-project/amule" | ||
distfiles="https://github.com/amule-project/amule/archive/master.tar.gz" |
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.
master is wrong, if you really need to use unreleased tarballs, use a git revision/hash.
If you are using the master tarball, the checksum is going to break as soon as they add new
commits to master and we won't be able to rebuild the package without updating it.
srcpkgs/amule/template
Outdated
maintainer="hazayan <hazayan@hotmail.com>" | ||
license="GPL-2.0-or-later" | ||
homepage="https://github.com/amule-project/amule" | ||
_commit="9fd038f8208f085dc7e0b52b73b2e18b6536437b" |
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.
put that below revision
so it's near the meta data you'd change on an update (grep for _githash in the repo)
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.
Fixed
srcpkgs/amule/template
Outdated
} | ||
|
||
do_install() { | ||
make install DESTDIR="${DESTDIR}" |
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 is the default
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.
Without that, the build fails because of empty destdir
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.
Probably some other unrelated issue, removing do_install
and using the default one should be exactly the same.
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.
Fixed.
Also if you invent a version, use some thing like |
that branch needs a fix |
Closes: void-linux#31440 [via git-merge-pr]
partially fixes void-linux#31343: some icon paths are still invalid. Also fix update for 1.5. Closes: void-linux#31439 [via git-merge-pr]
@hazayan rebase your commit onto upstream/master |
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
No description provided.