ADD local packages
This commit is contained in:
parent
8ba6a0b94c
commit
63caa4ed86
|
@ -0,0 +1,32 @@
|
||||||
|
modname := clevo-xsm-wmi
|
||||||
|
obj-m := $(modname).o
|
||||||
|
|
||||||
|
KVERSION := $(shell uname -r)
|
||||||
|
KDIR := /lib/modules/$(KVERSION)/build
|
||||||
|
PWD := "$$(pwd)"
|
||||||
|
|
||||||
|
ifdef DEBUG
|
||||||
|
CFLAGS_$(obj-m) := -DDEBUG
|
||||||
|
endif
|
||||||
|
|
||||||
|
default:
|
||||||
|
$(MAKE) -C $(KDIR) M=$(PWD) modules
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(MAKE) O=$(PWD) -C $(KDIR) M=$(PWD) clean
|
||||||
|
|
||||||
|
load:
|
||||||
|
-rmmod $(modname)
|
||||||
|
insmod $(modname).ko
|
||||||
|
|
||||||
|
install:
|
||||||
|
mkdir -p /lib/modules/$(KVERSION)/misc/$(modname)
|
||||||
|
install -m 0755 -o root -g root $(modname).ko /lib/modules/$(KVERSION)/kernel/drivers/input/keyboard/$(modname)
|
||||||
|
depmod -a
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm /lib/modules/$(KVERSION)/kernel/drivers/input/keyboard/$(modname)/$(modname).ko
|
||||||
|
rmdir /lib/modules/$(KVERSION)/kernel/drivers/input/keyboard/$(modname)
|
||||||
|
rmdir /lib/modules/$(KVERSION)/kernel/drivers/input/keyboard
|
||||||
|
depmod -a
|
||||||
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
# Maintainer: Marc ROZANC <marc@rozanc.fr>
|
||||||
|
|
||||||
|
_pkgbase='clevo-xsm-wmi'
|
||||||
|
_modname=$_pkgbase
|
||||||
|
pkgname="${_pkgbase}-dkms"
|
||||||
|
pkgver='1.1'
|
||||||
|
_pkgtag='dcf282992eb8'
|
||||||
|
pkgrel=7
|
||||||
|
pkgdesc='A reverse engineering driver for the Clevo SM series backlight keyboard (DKMS version)'
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
license=('GPL')
|
||||||
|
url='https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi'
|
||||||
|
options=(!emptydirs)
|
||||||
|
conflicts=("$_pkgbase" 'tuxedo-wmi' 'tuxedo-wmi-dkms')
|
||||||
|
provides=("$_pkgbase")
|
||||||
|
depends=('dkms' 'gcc' 'make')
|
||||||
|
source=("clevo-xsm-wmi-${_pkgtag}.src.tar.gz::https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi/get/${_pkgtag}.tar.gz"
|
||||||
|
"addmodels.patch"
|
||||||
|
"dkms.conf"
|
||||||
|
"Makefile")
|
||||||
|
sha256sums=('dd326e9855b708b7ab922d47b3abcd24c53a3af4fdc1c164399c8dbdb5a7f6ce'
|
||||||
|
'047fc4ba91b4a0a58eed41b28bbdd8cfcce3a1a6d148581c085322befca15859'
|
||||||
|
'0cdf0213692a71d69f54730d1856d9f1e7b3d363d9b2a66a5d6bb363e8d8212f'
|
||||||
|
'fb20847bde676a305fda41b865b46aff52ae9de60e1262d6e9725a71d72b806b')
|
||||||
|
install='clevo-xsm-wmi-dkms.install'
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${srcdir}/tuxedocomputers-clevo-xsm-wmi-${_pkgtag}"
|
||||||
|
patch -i "${srcdir}/addmodels.patch" -p1
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/tuxedocomputers-clevo-xsm-wmi-${_pkgtag}/module"
|
||||||
|
|
||||||
|
# Copy sources (including Makefile)
|
||||||
|
install -dm755 "${pkgdir}/usr/src/${_modname}-${pkgver}/"
|
||||||
|
install -Dm644 "${srcdir}/Makefile" "${srcdir}/dkms.conf" "clevo-xsm-wmi.c" "${pkgdir}/usr/src/${_modname}-${pkgver}/"
|
||||||
|
|
||||||
|
# Copy license
|
||||||
|
install -Dm644 "/usr/share/licenses/common/GPL2/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
|
||||||
|
# Module loading
|
||||||
|
install -Dm644 /dev/null "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
|
||||||
|
echo "clevo-xsm-wmi" > "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
diff --git a/module/clevo-xsm-wmi.c b/module/clevo-xsm-wmi.c
|
||||||
|
index e045d7e..0c7e3e8 100644
|
||||||
|
--- a/module/clevo-xsm-wmi.c
|
||||||
|
+++ b/module/clevo-xsm-wmi.c
|
||||||
|
@@ -1638,6 +1638,22 @@ static struct dmi_system_id clevo_xsm_dmi_table[] __initdata = {
|
||||||
|
.callback = clevo_xsm_dmi_matched,
|
||||||
|
.driver_data = &kb_full_color_ops,
|
||||||
|
},
|
||||||
|
+ {
|
||||||
|
+ .ident = "Clevo P950ER",
|
||||||
|
+ .matches = {
|
||||||
|
+ DMI_MATCH(DMI_PRODUCT_NAME, "P95xER"),
|
||||||
|
+ },
|
||||||
|
+ .callback = clevo_xsm_dmi_matched,
|
||||||
|
+ .driver_data = &kb_full_color_ops,
|
||||||
|
+ },
|
||||||
|
+ {
|
||||||
|
+ .ident = "Clevo NH58RHQ",
|
||||||
|
+ .matches = {
|
||||||
|
+ DMI_MATCH(DMI_PRODUCT_NAME, "NH50_70RH"),
|
||||||
|
+ },
|
||||||
|
+ .callback = clevo_xsm_dmi_matched,
|
||||||
|
+ .driver_data = &kb_full_color_ops,
|
||||||
|
+ },
|
||||||
|
{
|
||||||
|
/* terminating NULL entry */
|
||||||
|
},
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# arg 1: the new package version
|
||||||
|
# arg 2: the old package version
|
||||||
|
post_upgrade() {
|
||||||
|
if (( $(vercmp $2 8.0-2) < 0 )); then
|
||||||
|
echo '==> Since version 8.0-2 kernel modules are loaded at boot by systemd-modules-load.'
|
||||||
|
echo '==> Read modules-load.d man page to disable them.'
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
PACKAGE_NAME="clevo-xsm-wmi"
|
||||||
|
PACKAGE_VERSION="#MODULE_VERSION#"
|
||||||
|
AUTOINSTALL="yes"
|
||||||
|
CLEAN="make clean"
|
||||||
|
MAKE[0]="make KVERSION=$kernelver"
|
||||||
|
BUILT_MODULE_NAME[0]="clevo-xsm-wmi"
|
||||||
|
DEST_MODULE_LOCATION[0]="/kernel/drivers/input/keyboard"
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
pkgbase = clevo-xsm-wmi-dkms
|
||||||
|
pkgdesc = A reverse engineering driver for the Clevo SM series backlight keyboard (DKMS version)
|
||||||
|
pkgver = 1.1
|
||||||
|
pkgrel = 7
|
||||||
|
url = https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi
|
||||||
|
install = clevo-xsm-wmi-dkms.install
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL
|
||||||
|
depends = dkms
|
||||||
|
depends = gcc
|
||||||
|
depends = make
|
||||||
|
depends = linux-headers
|
||||||
|
provides = clevo-xsm-wmi
|
||||||
|
conflicts = clevo-xsm-wmi
|
||||||
|
conflicts = tuxedo-wmi
|
||||||
|
conflicts = tuxedo-wmi-dkms
|
||||||
|
options = !emptydirs
|
||||||
|
source = clevo-xsm-wmi-dcf282992eb8.src.tar.gz::https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi/get/dcf282992eb8.tar.gz
|
||||||
|
source = P950ER.patch
|
||||||
|
source = dkms.conf
|
||||||
|
source = Makefile
|
||||||
|
sha256sums = 68d3aa0c73b8cfef237f517d129c730e248de5c3720090f04f0e36f58ea5843a
|
||||||
|
sha256sums = ccd1a9277c055b702eb05662484c0c6b0e62f6fae255030d3a30975984b0c427
|
||||||
|
sha256sums = 0cdf0213692a71d69f54730d1856d9f1e7b3d363d9b2a66a5d6bb363e8d8212f
|
||||||
|
sha256sums = fb20847bde676a305fda41b865b46aff52ae9de60e1262d6e9725a71d72b806b
|
||||||
|
|
||||||
|
pkgname = clevo-xsm-wmi-dkms
|
||||||
|
|
|
@ -0,0 +1,88 @@
|
||||||
|
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
|
||||||
|
# Maintainer: TidestManager1 < michaelpulliam1 (at) gmail (dot) com >
|
||||||
|
|
||||||
|
pkgname=conky-lua
|
||||||
|
_pkgname=conky
|
||||||
|
pkgver=1.11.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Lightweight system monitor for X, with Lua support enabled'
|
||||||
|
url='http://github.com/brndnmtthws/conky'
|
||||||
|
license=('BSD' 'GPL3')
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
options=('!emptydirs')
|
||||||
|
makedepends=('cmake')
|
||||||
|
# 'docbook2x'
|
||||||
|
# 'docbook-xml'
|
||||||
|
# 'docbook-xsl'
|
||||||
|
# 'librsvg'
|
||||||
|
# 'libxinerama'
|
||||||
|
# 'libxml2'
|
||||||
|
# 'man-db'
|
||||||
|
# 'perl-xml-libxml')
|
||||||
|
depends=('cairo' 'glib2' 'libxml2' 'lua')
|
||||||
|
provides=("conky=$pkgver")
|
||||||
|
conflicts=('conky')
|
||||||
|
backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
|
||||||
|
source=("https://github.com/brndnmtthws/${_pkgname}/archive/v${pkgver}.tar.gz"
|
||||||
|
"longerpid.patch")
|
||||||
|
sha1sums=('73b607f5d7235ef4c44912b6c6b082dc1cf314e6'
|
||||||
|
'26d0fa6d090fcdab05c76ca8bf8e339462929415')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
## ensure our awesome makepkg flags are used (mostly mnative)
|
||||||
|
sed -i "s/\(CMAKE_C_FLAGS\) \"\(.*\)\"/\1 \"\2 ${CFLAGS}\"/" cmake/ConkyBuildOptions.cmake
|
||||||
|
sed -i "s/\(CMAKE_CXX_FLAGS\) \"\(.*\)\"/\1 \"\2 ${CXXFLAGS}\"/" cmake/ConkyBuildOptions.cmake
|
||||||
|
## enable longer pids
|
||||||
|
patch --strip=2 --input=${srcdir}/longerpid.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
|
||||||
|
cmake \
|
||||||
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-D MAINTAINER_MODE=OFF \
|
||||||
|
-D BUILD_APCUPSD=OFF \
|
||||||
|
-D BUILD_ARGB=OFF \
|
||||||
|
-D BUILD_BUILTIN_CONFIG=OFF \
|
||||||
|
-D BUILD_CMUS=OFF \
|
||||||
|
-D BUILD_CURL=OFF \
|
||||||
|
-D BUILD_HDDTEMP=OFF \
|
||||||
|
-D BUILD_IBM=OFF \
|
||||||
|
-D BUILD_I18N=OFF \
|
||||||
|
-D BUILD_IOSTATS=OFF \
|
||||||
|
-D BUILD_IPV6=OFF \
|
||||||
|
-D BUILD_LUA_RSVG=OFF \
|
||||||
|
-D BUILD_LUA_CAIRO=ON \
|
||||||
|
-D BUILD_LUA_IMLIB2=OFF \
|
||||||
|
-D BUILD_IMLIB2=OFF \
|
||||||
|
-D BUILD_MATH=OFF \
|
||||||
|
-D BUILD_MOC=OFF \
|
||||||
|
-D BUILD_MPD=OFF \
|
||||||
|
-D BUILD_NCURSES=OFF \
|
||||||
|
-D BUILD_OLD_CONFIG=OFF \
|
||||||
|
-D BUILD_PORT_MONITORS=OFF \
|
||||||
|
-D BUILD_TESTING=OFF \
|
||||||
|
-D BUILD_RSS=OFF \
|
||||||
|
-D BUILD_WEATHER_METAR=OFF \
|
||||||
|
-D BUILD_WEATHER_XOAP=OFF \
|
||||||
|
-D BUILD_XDAMAGE=OFF \
|
||||||
|
-D BUILD_XDBE=ON \
|
||||||
|
-D BUILD_XFT=OFF \
|
||||||
|
-D BUILD_XINERAMA=ON \
|
||||||
|
-D BUILD_XSHAPE=OFF \
|
||||||
|
-D BUILD_WLAN=OFF \
|
||||||
|
.
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
install -Dm644 LICENSE.BSD ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.BSD
|
||||||
|
install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
|
||||||
|
install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
|
||||||
|
}
|
|
@ -0,0 +1,39 @@
|
||||||
|
pkgbase = conky-lua
|
||||||
|
pkgdesc = Lightweight system monitor for X, with Lua support enabled
|
||||||
|
pkgver = 1.11.3
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://github.com/brndnmtthws/conky
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = BSD
|
||||||
|
license = GPL3
|
||||||
|
makedepends = cmake
|
||||||
|
makedepends = docbook2x
|
||||||
|
makedepends = docbook-xml
|
||||||
|
makedepends = docbook-xsl
|
||||||
|
makedepends = librsvg
|
||||||
|
makedepends = libxinerama
|
||||||
|
makedepends = libxml2
|
||||||
|
makedepends = man-db
|
||||||
|
makedepends = perl-xml-libxml
|
||||||
|
depends = alsa-lib
|
||||||
|
depends = cairo
|
||||||
|
depends = curl
|
||||||
|
depends = glib2
|
||||||
|
depends = imlib2
|
||||||
|
depends = libxdamage
|
||||||
|
depends = libxft
|
||||||
|
depends = libxml2
|
||||||
|
depends = lua51
|
||||||
|
depends = tolua++
|
||||||
|
depends = wireless_tools
|
||||||
|
provides = conky=1.11.3
|
||||||
|
conflicts = conky
|
||||||
|
options = !emptydirs
|
||||||
|
backup = etc/conky/conky.conf
|
||||||
|
backup = etc/conky/conky_no_x11.conf
|
||||||
|
source = https://github.com/brndnmtthws/conky/archive/v1.11.3.tar.gz
|
||||||
|
sha1sums = 73b607f5d7235ef4c44912b6c6b082dc1cf314e6
|
||||||
|
|
||||||
|
pkgname = conky-lua
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
diff --unified --recursive --text src/conky-1.11.5/src/top.cc src.new/conky-1.11.5/src/top.cc
|
||||||
|
--- src/conky-1.11.5/src/top.cc 2019-08-12 17:53:54.000000000 -0400
|
||||||
|
+++ src.new/conky-1.11.5/src/top.cc 2020-02-06 13:42:03.645192303 -0500
|
||||||
|
@@ -542,7 +542,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
PRINT_TOP_GENERATOR(cpu, (unsigned int)7, "%6.2f", amount)
|
||||||
|
-PRINT_TOP_GENERATOR(pid, (unsigned int)6, "%5i", pid)
|
||||||
|
+PRINT_TOP_GENERATOR(pid, (unsigned int)8, "%7i", pid)
|
||||||
|
PRINT_TOP_GENERATOR(uid, (unsigned int)6, "%5i", uid)
|
||||||
|
PRINT_TOP_HR_GENERATOR(mem_res, rss, 1)
|
||||||
|
PRINT_TOP_HR_GENERATOR(mem_vsize, vsize, 1)
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Generated by gem2arch (https://github.com/anatol/gem2arch)
|
||||||
|
# Maintainer: Jose Riha <jose1711 gmail com>
|
||||||
|
# Contributor: mitro <mitro@somecode.com>
|
||||||
|
|
||||||
|
_pkgname=taskjuggler
|
||||||
|
pkgname=$_pkgname-git
|
||||||
|
_pkgver=3.6.0
|
||||||
|
pkgver=release.3.5.0.79.gf36b8f44
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A project management tool for Linux and UNIX system-based operating systems."
|
||||||
|
arch=(any)
|
||||||
|
url='http://www.taskjuggler.org'
|
||||||
|
license=('GPL')
|
||||||
|
depends=(ruby ruby-mail ruby-term-ansicolor ruby-rdoc)
|
||||||
|
makedepends=(ruby-rake ruby-rspec)
|
||||||
|
options=(!emptydirs)
|
||||||
|
source=('git://github.com/taskjuggler/TaskJuggler.git')
|
||||||
|
sha1sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd TaskJuggler
|
||||||
|
git describe | sed 's/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd TaskJuggler
|
||||||
|
rake gem
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
local _gemdir="$(ruby -e'puts Gem.default_dir')"
|
||||||
|
gem install --ignore-dependencies --no-user-install -i \
|
||||||
|
"$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" \
|
||||||
|
"$srcdir/TaskJuggler/pkg/$_pkgname-$_pkgver.gem"
|
||||||
|
rm "$pkgdir/$_gemdir/cache/$_pkgname-$_pkgver.gem"
|
||||||
|
install -D -m644 "$pkgdir/$_gemdir/gems/$_pkgname-$_pkgver/COPYING" "$pkgdir/usr/share/licenses/$_pkgname/COPYING"
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
pkgbase = taskjuggler-git
|
||||||
|
pkgdesc = A project management tool for Linux and UNIX system-based operating systems.
|
||||||
|
pkgver = release.3.5.0.79.gf36b8f44
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://www.taskjuggler.org
|
||||||
|
arch = any
|
||||||
|
license = GPL
|
||||||
|
makedepends = ruby-rake
|
||||||
|
makedepends = ruby-rspec
|
||||||
|
depends = ruby
|
||||||
|
depends = ruby-mail
|
||||||
|
depends = ruby-term-ansicolor
|
||||||
|
depends = ruby-rdoc
|
||||||
|
options = !emptydirs
|
||||||
|
source = git://github.com/taskjuggler/TaskJuggler.git
|
||||||
|
sha1sums = SKIP
|
||||||
|
|
||||||
|
pkgname = taskjuggler-git
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
pkgname=xkb-hypermode
|
||||||
|
pkgver=0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="custom us keyboard layout with hyper modifiers"
|
||||||
|
arch=('any')
|
||||||
|
license=('MIT')
|
||||||
|
depends=('xkeyboard-config')
|
||||||
|
source=("https://github.com/ndwarshuis/xkb-hypermode/archive/v$pkgver.tar.gz")
|
||||||
|
md5sums=('42472d8ba0dcccd2426e1c38e61b6f60')
|
||||||
|
backup=("etc/X11/xorg.conf.d/10-hyperctrl.conf")
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm644 "$srcdir/$pkgname-$pkgver/10-hyperctrl.conf" "$pkgdir/etc/X11/xorg.conf.d/10-hyperctrl.conf"
|
||||||
|
mkdir -p "$pkgdir/usr/share/X11"
|
||||||
|
cp -r "$srcdir/$pkgname-$pkgver/xkb" "$pkgdir/usr/share/X11"
|
||||||
|
find "$pkgdir/usr/share/X11/xkb/" -type f -exec chmod 644 {} \;
|
||||||
|
}
|
Loading…
Reference in New Issue