Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/numlockx: new aport

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Tue, 4 Sep 2018 10:37:04 +0200

On Wed, 8 Aug 2018 11:00:17 +0200
Alex Raschi <raschi.alex_at_gmail.com> wrote:

> https://tracker.debian.org/pkg/numlockx
> Enable NumLock in X11 sessions
> ---
> testing/numlockx/APKBUILD | 42 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
> create mode 100644 testing/numlockx/APKBUILD
>
> diff --git a/testing/numlockx/APKBUILD b/testing/numlockx/APKBUILD
> new file mode 100644
> index 0000000000..f0431fa07e
> --- /dev/null
> +++ b/testing/numlockx/APKBUILD
> _at_@ -0,0 +1,42 @@
> +# Maintainer: Alex Raschi <raschi.alex_at_gmail.com>
> +pkgname=numlockx
> +pkgver=1.2
> +_pkgver=7.1 # debian sub version
> +pkgrel=0
> +pkgdesc="Enable NumLock in X11 sessions"
> +url="https://tracker.debian.org/pkg/numlockx"

According the above URL, the upstream homepage is
http://home.kde.org/~seli/numlockx/ which is gone. So it looks like
this application is not longer maintained upstream?

Also Fedora points to a upstream homepage:
https://src.fedoraproject.org/cgit/rpms/numlockx.git/tree/numlockx.spec
http://ktown.kde.org/~seli/numlockx/

My question is, where do we send patches and bugreports upstream?


> +arch="all"
> +license="MIT"
> +depends=""
> +makedepends="libx11-dev libxtst-dev"
> +options="!check" # no test suite
> +source="https://salsa.debian.org/debian/numlockx/-/archive/debian/$pkgver-$_pkgver/$pkgname-debian-$pkgver-$_pkgver.tar.gz"
> +builddir="$srcdir/$pkgname-debian-$pkgver-$_pkgver"
> +
> +prepare() {
> + default_prepare
> + local patch=
> +
> + for patch in improve-help get-state; do
> + patch < debian/patches/"$patch".patch
> + done
> +}
> +
> +build() {
> + cd "$builddir"
> + ./configure \
> + --build=$CBUILD \
> + --host=$CHOST \
> + --prefix=/usr \
> + --sysconfdir=/etc \
> + --mandir=/usr/share/man \
> + --localstatedir=/var
> + make
> +}
> +
> +package() {
> + cd "$builddir"
> + make DESTDIR="$pkgdir" install
> +}
> +
> +sha512sums="55cb3f334efb5de8d5f8b4b3d604f5f67aeeb3e3c6b9e2a3b1af99ada7aeb3d8440164628a8df68cd90fb66110669c586e7bf3809259ae4572446d5982159017 numlockx-debian-1.2-7.1.tar.gz"



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Sep 04 2018 - 10:37:04 GMT