initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

53
xidle/LICENSE Normal file
View File

@@ -0,0 +1,53 @@
This package was debianised by Thorsten Glaser <tg@mirbsd.de> on
Thu Jul 09 18:36:14 UTC 2015.
It was downloaded from MirBSD anonymous CVS.
xidle is published under the 2-clause UCB licence:
* Copyright (c) 2005 Federico G. Schwindt.
* Copyright (c) 2005 Claudio Castiglia
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE OPENBSD PROJECT AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENBSD
* PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
xidle uses strtonum under OpenBSDs ISC licence:
* Copyright (c) 2004 Ted Unangst and Todd Miller
* Copyright (c) 2005 mirabilos
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
The packagaging for the Debian system is
Copyright © 2015, 2016, 2020 mirabilos
and published under the same licence or The MirOS Licence.

11
xidle/Makefile Normal file
View File

@@ -0,0 +1,11 @@
PREFIX = /usr
INSTALL = install
CFLAGS += -Wall -D__dead=
FLAGS = $(shell pkg-config --libs --cflags xscrnsaver xext x11)
xidle:
$(CC) -o xidle xidle.c $(CFLAGS) $(LDFLAGS) $(FLAGS)
install:
$(INSTALL) -D -m 0755 xidle $(DESTDIR)/$(PREFIX)/bin/xidle
$(INSTALL) -D -m 0644 xidle.1 $(DESTDIR)/$(PREFIX)/share/man/man1/xidle.1

26
xidle/PKGBUILD Normal file
View File

@@ -0,0 +1,26 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=xidle
pkgver=26052015
pkgrel=1
pkgdesc="xidle runs a program on X inactivity"
arch=('i686' 'x86_64')
license=('Simplified-BSD')
depends=('libxss' 'libxext' 'libx11')
source=("http://distcache.freebsd.org/local-distfiles/novel/${pkgname}-${pkgver}.tar.bz2"
"Makefile"
"LICENSE")
sha512sums=('bb132a431a5dd585be6a93519aa06a73eade63dde81bbe582a5dd966646c5eeaca65fa2573e6795b73bbfd08388390b4e92954929577051f13098ef8e38c2200'
'23d8560edf934c96e557a5423ea433f4658b5fe7cd08b4600127dc2585f73ac177083114695c873af1574de8971f2b38b87812cdbcc58a877f43bb8f90290bbc'
'81bf5e2355ad26e59be9216731c90f9e245d319f09528450eea7237cb3bee9858fbb2f93a0d60e0cf7f67fc90d09cfd11a5f95e182d04785bfb387ed4cd323dc')
build() {
cd "${pkgname}-${pkgver}"
make -f ${srcdir}/Makefile
}
package() {
cd "${pkgname}-${pkgver}"
make -f ${srcdir}/Makefile DESTDIR="${pkgdir}" install
install -Dm644 ${srcdir}/LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
}