X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-ua1-f68.google.com (mail-ua1-f68.google.com [209.85.222.68]) by lists.alpinelinux.org (Postfix) with ESMTP id F2B005C632D for ; Tue, 4 Sep 2018 13:13:28 +0000 (GMT) Received: by mail-ua1-f68.google.com with SMTP id i4-v6so2817220uak.0 for ; Tue, 04 Sep 2018 06:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MUKQLIHU6HapcKobwMIWbGawfhWOQYgL7CWsnEXnaHc=; b=thONNHKmmmDdRPratTAjukdbwc+4kfzWeTrh+SKTO5BTPaGQE7G6H63lCGA1XzSnLZ mh2LIaTomFOZFwdE919DP5uZDDL/fLI8uAevwbT2ZffDTN7I7ojBava5fPaLZxvNW5h7 b7ozD29XV/RGF3DkHI2BbG9vZZ376pJCOaFEllTNVjCEbIuR2f23ZvY1fazwBGYI2Kt3 C4lbdXDChigE+JgcfSc46eDcKGZSLKic4LSO+/eWnnCFhdig3L5M1Y0WgUjdrYfaK6Wb UCXUlQS1HeLe/QsJjZ9LcAV5rVzTtHU+X93/dSd63blzcckK6mPbNbvDk6BHKoddX65x Kw2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MUKQLIHU6HapcKobwMIWbGawfhWOQYgL7CWsnEXnaHc=; b=YYUaHMUf+1adWk49Aj38gFY2W7QEFp0SYNpD2Id4kI3aVT9ggsXM0edxBULaOKcwAv ctmvVRL7IR4ZxJ67ZviZDjBI/1FKt/iIdi/tgJIa8x7rl98qNOr3MpW3VtQFh6123783 32thYuaOVhxL76rz/YnZEK/2P0xKc1r+ZCYBVMRDVs3rn/SlqEu8pstVuZeqhZ0NTq84 QF5lb7GFyEBrUYXficBqceAgDBhxZcB+XBSwKBO778UN7pk8pqm9Z3Anc6mRDsxRvbWx HYDFr/sCpr80EGbXBmd7ZSxTXUNAePBJN29ovVSULvu4BjTOjScDECY3q9pOk+WeCNQO Swbw== X-Gm-Message-State: APzg51C58YlhjZuQJR5uYJQCbEk6ued3YtZjJhRMSuhzrKGbiEnC7W3f oY6zcMXnzgwi5NnoWLlzd9SUoWFEm6XnVS4XIjKrXgFcG2E= X-Google-Smtp-Source: ANB0VdaoJ4MD77O16W1wx6sHWBmzLrhCx1XHEWuTEYcu75fUQWEGd8Fd0dQGJ6uT+eqQhwwXKRt5rN6KvwxwhSqWA2Y= X-Received: by 2002:a67:c81b:: with SMTP id u27-v6mr10455290vsk.53.1536066808117; Tue, 04 Sep 2018 06:13:28 -0700 (PDT) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20180808090017.5841-1-raschi.alex@gmail.com> <20180904103704.5b6f4417@ncopa-desktop.copa.dup.pw> In-Reply-To: <20180904103704.5b6f4417@ncopa-desktop.copa.dup.pw> From: Alex Raschi Date: Tue, 4 Sep 2018 13:13:15 +0000 Message-ID: Subject: Re: [alpine-aports] [PATCH] testing/numlockx: new aport To: ncopa@alpinelinux.org Cc: alpine-aports@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="00000000000073016005750b6cd6" --00000000000073016005750b6cd6 Content-Type: text/plain; charset="UTF-8" Debian is a reliable source, i think reporting bugs to them is probably the best option. Plus debian includes some patches that other distros don't include like with scrot package. Arch, Void, Fedora and Freebsd haven't touched these packages for a while, debian at least shows some activity: https://salsa.debian.org/debian/numlockx/commits/master On Tue, Sep 4, 2018 at 8:37 AM Natanael Copa wrote: > On Wed, 8 Aug 2018 11:00:17 +0200 > Alex Raschi 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 > > @@ -0,0 +1,42 @@ > > +# Maintainer: Alex Raschi > > +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" > > --00000000000073016005750b6cd6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Debian is a reliable source, i think reporting bugs t= o them is probably the best option.
Plus debian includes some pat= ches that other distros don't include like with scrot package.

Arch, Void, Fedora and Freebsd haven't touched these p= ackages for a while, debian

On Tue, Sep 4, 2018 at 8:37 AM Natanael C= opa <ncopa@alpinelinux.org&= gt; wrote:
On Wed,=C2=A0 8 Aug 2018= 11:00:17 +0200
Alex Raschi <= raschi.alex@gmail.com> wrote:

> https://tracker.debian.org/pkg/numlockx
> Enable NumLock in X11 sessions
> ---
>=C2=A0 testing/numlockx/APKBUILD | 42 +++++++++++++++++++++++++++++++++= ++++++
>=C2=A0 1 file changed, 42 insertions(+)
>=C2=A0 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
> @@ -0,0 +1,42 @@
> +# Maintainer: Alex Raschi <raschi.alex@gmail.com>
> +pkgname=3Dnumlockx
> +pkgver=3D1.2
> +_pkgver=3D7.1 # debian sub version
> +pkgrel=3D0
> +pkgdesc=3D"Enable NumLock in X11 sessions"
> +url=3D"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 lo= oks 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=3D"all"
> +license=3D"MIT"
> +depends=3D""
> +makedepends=3D"libx11-dev libxtst-dev"
> +options=3D"!check" # no test suite
> +source=3D"https://salsa.debian.org/debian/numlockx= /-/archive/debian/$pkgver-$_pkgver/$pkgname-debian-$pkgver-$_pkgver.tar.gz<= /a>"
> +builddir=3D"$srcdir/$pkgname-debian-$pkgver-$_pkgver"
> +
> +prepare() {
> +=C2=A0 =C2=A0 =C2=A0default_prepare
> +=C2=A0 =C2=A0 =C2=A0local patch=3D
> +
> +=C2=A0 =C2=A0 =C2=A0for patch in improve-help get-state; do
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0patch < debian/pat= ches/"$patch".patch
> +=C2=A0 =C2=A0 =C2=A0done
> +}
> +
> +build() {
> +=C2=A0 =C2=A0 =C2=A0cd "$builddir"
> +=C2=A0 =C2=A0 =C2=A0./configure \
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--build=3D$CBUILD \ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--host=3D$CHOST \
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--prefix=3D/usr \
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--sysconfdir=3D/etc \=
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--mandir=3D/usr/share= /man \
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--localstatedir=3D/va= r
> +=C2=A0 =C2=A0 =C2=A0make
> +}
> +
> +package() {
> +=C2=A0 =C2=A0 =C2=A0cd "$builddir"
> +=C2=A0 =C2=A0 =C2=A0make DESTDIR=3D"$pkgdir" install
> +}
> +
> +sha512sums=3D"55cb3f334efb5de8d5f8b4b3d604f5f67aeeb3e3c6b9e2a3b1= af99ada7aeb3d8440164628a8df68cd90fb66110669c586e7bf3809259ae4572446d5982159= 017=C2=A0 numlockx-debian-1.2-7.1.tar.gz"

--00000000000073016005750b6cd6-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---