Package Details: hid-apple-patched-git-dkms 20200401.5ebf708-1

Git Clone URL: (read-only, click to copy)
Package Base: hid-apple-patched-git-dkms
Description: Swaping the Fn and left Control keys and some other mapping tweaks on Macbook Pro and Apple keyboards (DKMS)
Upstream URL:
Licenses: GPL2
Submitter: Aetf
Maintainer: None
Last Packager: Aetf
Votes: 20
Popularity: 0.013854
First Submitted: 2017-04-17 15:14
Last Updated: 2020-04-04 03:40

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

j53c commented on 2017-04-10 11:13

Hi Aetf, I'm new to manjaro (previously ubuntu so I'm still struggling with the very different packing system in arch etc) and I've been trying to apply this patch to my mac keyboard but without luck. I got the error during the installation, which is basically related to other comments bellow stating that the package is hardcoded for arch. However, I've tried to use the snapshot tarball provided in the link above and no luck. Then I tried to patch that tarball with diffs I found in the links here (from @chronossc), again no luck. The link you provided to your submodule on github is broken, but anyways even if you go to PKGBUILDs repository all your submodules seem to be broken. Also, doing `git submodule update --init` didn't help. Could you please provide a description in one comment about what would one need to do in order for the patch to work on manjaro? Thanks.

Aetf commented on 2017-03-31 17:04

Hi @f4bio, most of the packages I'm managing on Github are added as submodule directly using the AUR git url. That's why Github can't recognize them. Doing a clone locally with `git submodule update --init` should get a copy of everything.

For the pull request, I can't see any difference? Could you explain what you modified? Thanks

f4bio commented on 2017-03-31 12:58

hi Aetf, thanks for adopting.
I'm kinda confused by your git repos, so I'm submitting my pull request here :D

in your PKGBUILD, "_distro" should be:
`_distro="$(uname -r | sed -e 's/[^a-Z]*//')"`

juantascon commented on 2017-03-29 14:00

thanks for the contributions, I don't own a mac anymore, I'll orphan it so you guys free to adopt it

Aetf commented on 2017-03-28 22:08

Better dkms handling, as well as no distro hardcode from @chronossc

chronossc commented on 2017-03-26 18:12

This is hardcoded for ARCH so for who uses MANJARO for example, it doesn't compile. On Manjaro it also don't _kernmajor.

There is a gist with fixed PKGBUILD and a diff: (I don't want to paste a lot of code here ;])

f4bio commented on 2017-03-24 09:03

quick workaround, after build completed (but install failed), install desired version (either standard OR dkms) by hand:
~$ /tmp/yaourt-tmp-someuser
~# pacman -U hid-apple-patched-git-dkms-*

don't know about an "official" solution... I'm guessing split it into separate packages?

juantascon commented on 2017-01-16 15:07

irhel I think yaourt is trying to install both regular and dkms versions at the same time, they both conflict with each other

lrhel commented on 2016-12-26 16:27

Hello, by installing the package with yaourt I got this error

error: failed to commit transactions (conflicting files)
/etc/depmod.d/hid-apple-patched.conf exists in both 'hid-apple-patched-git' and 'hid-apple-patched-git-dkms'
/etc/modprobe.d/hid-apple.conf exists in both 'hid-apple-patched-git' and 'hid-apple-patched-git-dkms'
Errors occured, no packages were upgraded.

I fixed it by deleting the line number #62 of the PKGBUILD: do_package_general_files of the function package_hid-apple-patched-git-dkms()
The problem was the `do_package_general_files` is invoced twice.

Thank you for the package :)

karlyzo commented on 2016-11-11 10:31

==> Starting build()...
make: Entering directory '/usr/lib/modules/4.8.2-1-ARCH/build'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory '/usr/lib/modules/4.8.2-1-ARCH/build'
==> ERROR: A failure occurred in build().

What am I doing wrong?