Package Details: qtcam-git r145.51ddb5d-1

Git Clone URL: https://aur.archlinux.org/qtcam-git.git (read-only, click to copy)
Package Base: qtcam-git
Description: A free, Open Source Linux Webcamera Software with more than 10 image control settings - alexzk1 fork
Upstream URL: http://www.e-consystems.com/opensource-linux-webcam-software-application.asp
Licenses: GPL
Submitter: dracorp
Maintainer: None
Last Packager: ImNtReal
Votes: 16
Popularity: 0.000369
First Submitted: 2015-09-27 21:28
Last Updated: 2020-05-13 16:19

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

LeonardK commented on 2016-02-29 22:25

Yep, that's why I proposed editing the PKGBUILD and forcing the value of 7 (the default), this way even if config is edited it will use a length of 7.
just replace --short with --short=7

dracorp commented on 2016-02-29 22:23

But everyone could use modified settings for git. Maybe is way always to use system config.

LeonardK commented on 2016-02-28 11:09

Then I'd recommend using --short=7 (or whatever you want) in the pkgver() as the value of 8 is not the default and cannot be expected to be used on other's PCs.
This way it only triggers unwanted rebuilds

dracorp commented on 2016-02-28 09:11

$ git config --global core.abbrev
8

LeonardK commented on 2016-02-27 12:22

Well, that's weird -- for me it's one digit less. And according to git documentation, mine is correct:

--short
--short=number
Instead of outputting the full SHA-1 values of object names try to abbreviate them to a shorter unique name. When no length is specified 7 is used. The minimum length is 4.

(https://git-scm.com/docs/git-rev-parse)

yours is giving 8 digits for some reason -- but it's not standard O.o

dracorp commented on 2016-02-26 22:54

$ git rev-parse --short HEAD
34326dc8

LeonardK commented on 2016-02-26 22:05

No problem, but you seem to have made a typo when changing the version:

r10.34326dc8

should be

r10.34326dc

You can also just run `makepkg`, it will update the pkgver in the PKGBUILD automatically, no need to write it manually, this is always prone to errors ;-)

Cheers!

dracorp commented on 2016-02-26 20:42

@LeonardK
Thx for suggestions. I did know that [the page](https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git) has changed.

LeonardK commented on 2016-02-26 12:37

I'd recommend patching the *PKGBUILD* with this patch or incorporating the changes a different way:

https://gist.github.com/LeonardKoenig/2f554e450152daf7d2b0#file-0001-use-pkgbuild-guidelines-patch

Changes:
- Use VCS-PKGBUILD guidelines for pkgver() (https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git)
- this also stops it from trying to update the package everytime
- remove `cd "$srcdir"` NOPs
- remove unnecessary messages (adhere to packaging guidelines)
- regenerate .SRCINFO with mksrcinfo
- add .gitignore

NOTE: Also add a one-time
```
epoch=1
```

To force the upgrade since "34326dc-1" is regarded newer than "r10.34326dc-1"

dracorp commented on 2016-01-21 21:42

@TruckerZer0
Fixed and also added desktop file.