You are not logged in.
https://aur.archlinux.org/packages/qtcam-git
/usr/bin/ld: audioinput.o: undefined reference to symbol 'pa_stream_set_read_callback@@PULSE_0'
/usr/bin/ld: /usr/lib/libpulse.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:446: Qtcam] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Last edited by RedArcher (2020-12-31 09:50:21)
Offline
Builds in a clean chroot after making the following changes:
git diff
diff --git a/PKGBUILD b/PKGBUILD
index c2992be..a914094 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
# Contributor: Piotr Rogoza <piotr dot r dot public at gmail dot com>
pkgname=qtcam-git
-pkgver=r145.51ddb5d
+pkgver=r160.411420b
pkgrel=1
pkgdesc='A free, Open Source Linux Webcamera Software with more than 10 image control settings - alexzk1 fork'
arch=('i686' 'x86_64')
url='http://www.e-consystems.com/opensource-linux-webcam-software-application.asp'
license=('GPL')
-depends=('qt5-declarative' 'ffmpeg' 'libusb')
-makedepends=('git')
+depends=('qt5-declarative' 'qt5-multimedia' 'ffmpeg' 'libusb')
+makedepends=('git' 'dpkg' 'lsb-release')
source=('git://github.com/econsysqtcam/qtcam.git')
sha256sums=('SKIP')
_gitname='qtcam'
@@ -27,9 +27,9 @@ build() {
package() {
cd "${srcdir}/${_gitname}/src"
#make INSTALL_ROOT="${pkgdir}" install
- install -Dm644 "${srcdir}/${_gitname}/arch_linux/qtcam.desktop" "${pkgdir}/usr/share/applications/qtcam.desktop"
+# install -Dm644 "${srcdir}/${_gitname}/arch_linux/qtcam.desktop" "${pkgdir}/usr/share/applications/qtcam.desktop"
install -Dm644 "${srcdir}/${_gitname}/src/qml/qtcam/icon/images/icon.jpg" "${pkgdir}/usr/share/pixmaps/qtcam.jpg"
- install -Dm755 "${srcdir}/${_gitname}/src/qtcam" "${pkgdir}/usr/bin/qtcam"
+ install -Dm755 "${srcdir}/${_gitname}/src/Qtcam" "${pkgdir}/usr/bin/Qtcam"
}
# vim: set ts=2 sw=2 ft=sh noet:
Edit:
If you still can not build the package with the above changes applied, post the full output of makepkg. Also are you a custom version of ffmpeg or any of its dependencies?
Last edited by loqs (2020-12-30 22:40:44)
Offline
First of all, thank you.
Second, I must be missing something
$ ./Qtcam
file:///usr/share/qml/qtcam/Views/qtcam.qml: No such file or directory
QObject::connect: Cannot connect (nullptr)::stopCamPreview() to (nullptr)::triggerModeCapture()
Offline
Please try with the following changes applied
diff --git a/PKGBUILD b/PKGBUILD
index c2992be..e2eacba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,23 @@
# Contributor: Piotr Rogoza <piotr dot r dot public at gmail dot com>
pkgname=qtcam-git
-pkgver=r145.51ddb5d
+pkgver=r160.411420b
pkgrel=1
pkgdesc='A free, Open Source Linux Webcamera Software with more than 10 image control settings - alexzk1 fork'
arch=('i686' 'x86_64')
url='http://www.e-consystems.com/opensource-linux-webcam-software-application.asp'
license=('GPL')
-depends=('qt5-declarative' 'ffmpeg' 'libusb')
-makedepends=('git')
+depends=('qt5-declarative' 'qt5-multimedia' 'ffmpeg' 'libusb')
+makedepends=('git' 'dpkg' 'lsb-release')
source=('git://github.com/econsysqtcam/qtcam.git')
sha256sums=('SKIP')
_gitname='qtcam'
+prepare() {
+ cd "${srcdir}/${_gitname}/src"
+ sed -i 's|target.path = /usr/|target.path = /usr/share/|' qtcam.pro
+}
+
pkgver() {
cd "${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
@@ -26,10 +31,11 @@ build() {
}
package() {
cd "${srcdir}/${_gitname}/src"
- #make INSTALL_ROOT="${pkgdir}" install
- install -Dm644 "${srcdir}/${_gitname}/arch_linux/qtcam.desktop" "${pkgdir}/usr/share/applications/qtcam.desktop"
- install -Dm644 "${srcdir}/${_gitname}/src/qml/qtcam/icon/images/icon.jpg" "${pkgdir}/usr/share/pixmaps/qtcam.jpg"
- install -Dm755 "${srcdir}/${_gitname}/src/qtcam" "${pkgdir}/usr/bin/qtcam"
+ make INSTALL_ROOT="${pkgdir}" install
+ rm "${pkgdir}/usr/share/Qtcam"
+# install -Dm644 "${srcdir}/${_gitname}/arch_linux/qtcam.desktop" "${pkgdir}/usr/share/applications/qtcam.desktop"
+# install -Dm644 "${srcdir}/${_gitname}/src/qml/qtcam/icon/images/icon.jpg" "${pkgdir}/usr/share/pixmaps/qtcam.jpg"
+ install -Dm755 "${srcdir}/${_gitname}/src/Qtcam" "${pkgdir}/usr/bin/Qtcam"
}
# vim: set ts=2 sw=2 ft=sh noet:
Use make install which previously commented, but had to patch the target path to /usr/share from /usr.
Offline
Thank you!
I've tried using command "cp" a it seems that "install" doesn't have recursive action, and it didn't work.
Where can I find more on function "prepare()"?
Last edited by RedArcher (2020-12-31 09:52:10)
Offline
Offline
Thanks!
I've made Desktop and Icon files
Desktop File:
[Desktop Entry]
Version=1.0
Type=Application
Name=Qtcam
Comment=Qt Camera App
#Comment=Webcamera Software with more than 10 image control settings
#Comment=e-con’s open source Linux webcam software
#Comment=e-con’s Linux Webcam Software
GenericName=Webcam
Icon=qtcam
Exec=Qtcam
Terminal=false
Categories=Video;AudioVideo;
StartupNotify=true
Graphics:
https://imgur.com/TKAbBol
Edit: There already is an icon available at https://www.e-consystems.com/images/QtC … M-Icon.png
Last edited by RedArcher (2020-12-31 16:57:48)
Offline
Have you added the .desktop file icons to the PKGBUILD? You could notify the maintainer the PKGBUILD fails to build, flag it out of date and link to this thread or provide an update PKGBUILD.
Edit:
Package has no current maintainer, you could adopt if you wanted to maintain it.
Last edited by loqs (2020-12-31 18:25:24)
Offline
Package has no current maintainer, you could adopt if you wanted to maintain it.
I'd love to. To whom do I send an application?
Offline
No need to send an application.
register an aur account .
login to aur, navigate to the qtcam-git page and you'll notice an "adopt package" option .
For submitting you'll need a personal ssh key pair.
Check https://wiki.archlinux.org/index.php/AU … guidelines thoroughly .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline