Package Details: lirc-git r3075.700f4a54-1

Git Clone URL: https://aur.archlinux.org/lirc-git.git (read-only)
Package Base: lirc-git
Description: Linux Infrared Remote Control utils. Git version.
Upstream URL: http://www.lirc.org/
Licenses: GPL
Conflicts: lirc, lirc-utils
Provides: lirc, lirc-utils
Replaces: lirc-utils
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 1
Popularity: 0.000000
First Submitted: 2015-10-03 11:53
Last Updated: 2017-03-11 21:41

Dependencies (11)

Required by (67)

Sources (3)

Latest Comments

thenextdon13 commented on 2016-12-13 17:01

Looks like it is working to me!
Now i have to figure out why I have no output using mode2, cat, etc to key presses on my /dev/lirc0.

[dylan@kodiarch lirc-git]$ sudo pacman -U lirc-git-r3024.8c87a28-2-x86_64.pkg.tar.xz
[sudo] password for dylan:
loading packages...
resolving dependencies...
looking for conflicting packages...
:: lirc-git and lirc are in conflict (lirc-utils). Remove lirc? [y/N] y

Packages (2) lirc-1:0.9.4.c-1 [removal] lirc-git-r3024.8c87a28-2

Total Installed Size: 3.53 MiB
Net Upgrade Size: 0.14 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#############################################################################] 100%
(1/1) checking package integrity [#############################################################################] 100%
(1/1) loading package files [#############################################################################] 100%
(1/1) checking for file conflicts [#############################################################################] 100%
(2/2) checking available disk space [#############################################################################] 100%
:: Processing package changes...
(1/1) removing lirc [#############################################################################] 100%
(1/1) installing lirc-git [#############################################################################] 100%
Optional dependencies for lirc-git
python: for lirc-setup, irdb-get and pronto2lirc [installed]
[dylan@kodiarch lirc-git]$

graysky commented on 2016-12-13 08:34

Please try r3024.8c87a28-2

thenextdon13 commented on 2016-12-13 05:38

Odd, not working for me...
I"m not sure what change you made.

[dylan@kodiarch aur]$ rm lirc-git.tar.gz
[dylan@kodiarch aur]$ wget https://aur.archlinux.org/cgit/aur.git/snapshot/lirc-git.tar.gz
--2016-12-12 21:28:59-- https://aur.archlinux.org/cgit/aur.git/snapshot/lirc-git.tar.gz
Resolving aur.archlinux.org (aur.archlinux.org)... 5.9.250.164, 2a01:4f8:160:3033::2
Connecting to aur.archlinux.org (aur.archlinux.org)|5.9.250.164|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘lirc-git.tar.gz’

lirc-git.tar.gz [ <=> ] 1.53K --.-KB/s in 0s

2016-12-12 21:29:00 (59.5 MB/s) - ‘lirc-git.tar.gz’ saved [1569]

[dylan@kodiarch aur]$ tar -xzf lirc-git.tar.gz
[dylan@kodiarch aur]$ cd lirc-git/
[dylan@kodiarch lirc-git]$ ls -l ../lirc-git.tar.gz
-rw-r--r-- 1 dylan dylan 1569 Dec 12 21:29 ../lirc-git.tar.gz
[dylan@kodiarch lirc-git]$ date
Mon Dec 12 21:30:48 PST 2016
[dylan@kodiarch lirc-git]$ ls -l PKGBUILD
-rw-r--r-- 1 dylan dylan 1525 Dec 12 13:21 PKGBUILD
[dylan@kodiarch lirc-git]$
[dylan@kodiarch lirc-git]$ grep -e provides -e conflicts -e replaces PKGBUILD
provides=('lirc-utils')
conflicts=('lirc-utils' 'lirc')
replaces=('lirc-utils')
[dylan@kodiarch lirc-git]$

package made..
==> Finished making: lirc-git r3024.8c87a28-1 (Mon Dec 12 21:33:33 PST 2016)
[dylan@kodiarch lirc-git]$ ls -l lirc-git-r3024.8c87a28-1-x86_64.pkg.tar.xz
-rw-r--r-- 1 dylan dylan 1142904 Dec 12 21:33 lirc-git-r3024.8c87a28-1-x86_64.pkg.tar.xz
[dylan@kodiarch lirc-git]$

But same kind of problem:
[dylan@kodiarch lirc-git]$ sudo pacman -U lirc-git-r3024.8c87a28-1-x86_64.pkg.tar.xz
[sudo] password for dylan:
loading packages...
resolving dependencies...
looking for conflicting packages...
:: lirc-git and lirc are in conflict (lirc-utils). Remove lirc? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: libirman: removing lirc breaks dependency 'lirc'
[dylan@kodiarch lirc-git]$



I verified that i only had to add 'lirc' to 'provides=', and not to 'replaces='

[dylan@kodiarch lirc-git]$ grep -e provides -e conflicts -e replaces PKGBUILD
provides=('lirc-utils' 'lirc')
conflicts=('lirc-utils' 'lirc')
replaces=('lirc-utils')
[dylan@kodiarch lirc-git]$


==> Finished making: lirc-git r3024.8c87a28-1 (Mon Dec 12 21:36:56 PST 2016)
[dylan@kodiarch lirc-git]$ ls -l lirc-git-r3024.8c87a28-1-x86_64.pkg.tar.xz
-rw-r--r-- 1 dylan dylan 1142996 Dec 12 21:36 lirc-git-r3024.8c87a28-1-x86_64.pkg.tar.xz
[dylan@kodiarch lirc-git]$

[dylan@kodiarch lirc-git]$ sudo pacman -U lirc-git-r3024.8c87a28-1-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
:: lirc-git and lirc are in conflict (lirc-utils). Remove lirc? [y/N] y

Packages (2) lirc-1:0.9.4.c-1 [removal] lirc-git-r3024.8c87a28-1

Total Installed Size: 3.53 MiB
Net Upgrade Size: 0.14 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [######################################################################] 100%
(1/1) checking package integrity [######################################################################] 100%
(1/1) loading package files [######################################################################] 100%
(1/1) checking for file conflicts [######################################################################] 100%
(2/2) checking available disk space [######################################################################] 100%
:: Processing package changes...
(1/1) removing lirc [######################################################################] 100%
(1/1) installing lirc-git [######################################################################] 100%
Optional dependencies for lirc-git
python: for lirc-setup, irdb-get and pronto2lirc [installed]
[dylan@kodiarch lirc-git]$

graysky commented on 2016-12-12 21:22

Updated. Works for me. Please try and report back.

thenextdon13 commented on 2016-12-12 21:03

Hello,
I get stuck in a dependency loop when trying to install this package.
I think perhaps there is something not right with the PKGBUILD


Since lirc is pulled in as a dependency by libirman, it gets installed on the system as part of the initial makepkg -s


[dylan@storage ~]$ sudo pacman -Si libirman | grep "Depends On"
Depends On : glib

"[dylan@kodiarch lirc-git]$ makepkg -s
==> Making package: lirc-git r2985.c6d4949-1 (Mon Dec 12 12:34:29 PST 2016)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (4) libusb-compat-0.1.5-1 lirc-1:0.9.4.c-1 libftdi-compat-0.20-3 libirman-0.5.2-1

Total Installed Size: 3.61 MiB"
"

Once the package builds successfully.. and we try to install it, replacing the original lirc package, it doesn't work:

"==> Finished making: lirc-git r3024.8c87a28-1 (Mon Dec 12 12:37:37 PST 2016)
[dylan@kodiarch lirc-git]$ sudo pacman -U lirc-git-r3024.8c87a28-1-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
:: lirc-git and lirc are in conflict (lirc-utils). Remove lirc? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: libirman: removing lirc breaks dependency 'lirc'
[dylan@kodiarch lirc-git]$
"

lirc-git should take the place of lirc for all packages depending on lirc, i believe.

the PKGBUILD included in AUR has:
provides=('lirc-utils')
conflicts=('lirc-utils' 'lirc')
replaces=('lirc-utils')

It seems from some testing and from the PKGBUILD wiki, 'lirc' should be in 'replaces' (indicating that installation of lirc-git should trigger immediate removal of lirc).

But that isn't enough it seems.

Adding 'lirc' to 'provides=' seems to resolve the problem.

provides=('lirc-utils' 'lirc')
conflicts=('lirc-utils' 'lirc')
replaces=('lirc-utils' 'lirc')

Hmm It may not need to be in 'replaces', based on the PKGBUILD wiki but just had a power failure and cannot test

('If providing an alternate version of an already existing package or uploading to the AUR, use the conflicts and provides arrays, which are only evaluated when actually installing the conflicting package.')

thoughts?