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

New package: qmidiarp-0.6.5 #23072

Merged
merged 1 commit into from Dec 28, 2021
Merged

New package: qmidiarp-0.6.5 #23072

merged 1 commit into from Dec 28, 2021

Conversation

mvf
Copy link
Contributor

@mvf mvf commented Jun 19, 2020

No description provided.

homepage="http://qmidiarp.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum=22a3a26d3dbe4bf215aa33c0fd4a79c088549328477840d00e72e50c6e807e10
CXXFLAGS="-D_GNU_SOURCE"
Copy link
Member

Choose a reason for hiding this comment

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

since you run autoeconf anyway, patch it in?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm, what would be the benefit? A patch would be more verbose and messier to maintain. The envvar is straightforward and build system agnostic...

@ericonr ericonr added the new-package This PR adds a new package label Dec 20, 2020
Copy link
Member

@ericonr ericonr left a comment

Choose a reason for hiding this comment

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

The program does look interesting, though.

@@ -0,0 +1,18 @@
# Template file for 'qmidiarp'
pkgname=qmidiarp
version=0.6.5
Copy link
Member

Choose a reason for hiding this comment

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

This release is from 2017... Things using Qt sometimes start accumulating more and more patches :/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm, IME it's not worse than with other libs. Of course, there will likely have to be a patch for Qt6 at some point.

Comment on lines +7 to +12
- EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
- AC_CHECK_FILE([$QT_INCLUDE_DIR/QtWidgets/QWidget],
- AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]),
- AC_CHECK_FILE([$EXTRA_QT_INCLUDE_DIR/QtWidgets/QWidget],
- QT_CPPFLAGS="$QT_CPPFLAGS -I$EXTRA_QT_INCLUDE_DIR",
- AC_MSG_WARN([QWidget not found])))
Copy link
Member

Choose a reason for hiding this comment

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

Is the removal because of the -I$EXTRA_QT_INCLUDE_DIR inclusion?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This removes a cross-unaware file existence check that breaks the build:

checking for /usr/include/qt5/QtWidgets/QWidget... configure: error: cannot check for file existence when cross compiling
=> ERROR: qmidiarp-0.6.5_1: do_configure: '${configure_script} ${configure_args}' exited with 1
=> ERROR:   in do_configure() at common/build-style/gnu-configure.sh:8

It's unnecessary too, because the pkg-config based check succeeds and returns the same include paths:

checking for Qt5Core Qt5Gui Qt5Widgets >= 5.0... yes

@Duncaen Duncaen merged commit b8c7830 into void-linux:master Dec 28, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2022
@mvf mvf deleted the pr/qmidiarp branch April 14, 2023 06:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants