1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

2013-03-05 devel/linux-js: Broken for more than 6 month

emulators/osmose: depends on expired devel/linux-js
This commit is contained in:
Baptiste Daroussin 2013-06-04 21:54:49 +00:00
parent 9e7500c3bf
commit 3942f83276
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319921
13 changed files with 2 additions and 244 deletions

2
MOVED
View File

@ -4376,3 +4376,5 @@ www/hs-yesod-default||2013-06-04|Removed: This package is obsoleted since Yesod
www/hs-yesod-json||2013-06-04|Removed: This package is obsoleted since Yesod 1.2
security/ftwtk||2013-06-04|Removed: No more public distfiles
net/samba34|net/samba36|2013-06-04|Removed: Unmaintained by upstream
devel/linux-js||2013-06-04|Has expired: Broken for more than 6 month
emulators/osmose||2013-06-04|Removed: depends on expired devel/linux-js

View File

@ -1146,7 +1146,6 @@
SUBDIR += linux-f10-ncurses-base
SUBDIR += linux-f10-nspr
SUBDIR += linux-f10-sdl12
SUBDIR += linux-js
SUBDIR += linux-kmod-compat
SUBDIR += linux_kdump
SUBDIR += linuxthreads

View File

@ -1,69 +0,0 @@
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# $FreeBSD$
PORTNAME= linux-js
PORTVERSION= 2.2
CATEGORIES= devel emulators kld
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jylefort
MAINTAINER= ports@FreeBSD.org
COMMENT= The Linux joystick interface ported to FreeBSD
DEPRECATED= Broken for more than 6 month
EXPIRATION_DATE= 2013-03-05
PROGRAMS= jscal jstest
MAN1= ${PROGRAMS:S|$|.1|}
MAN4= linux_js.4
PORTDOCS= joystick-api.txt
USE_RC_SUBR= jscal linux_js
OPTIONS_DEFINE= LINUX JOY UHID DOCS
OPTIONS_DEFAULT= LINUX JOY UHID
LINUX_DESC= Linux mode support (i386/amd64 only)
JOY_DESC= PC joystick support
UHID_DESC= USB joystick support
MAKE_ENV= WITHOUT_DEBUG=yes
.include <bsd.port.pre.mk>
BROKEN= does not build
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel source files
.endif
.if empty(PORT_OPTIONS:MLINUX)
MAKE_ENV+= WITHOUT_LINUX=yes
.endif
.if empty(PORT_OPTIONS:MJOY)
MAKE_ENV+= WITHOUT_JOY=yes
.endif
.if empty(PORT_OPTIONS:MUHID)
MAKE_ENV+= WITHOUT_UHID=yes
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/linux_js.4
@${REINPLACE_CMD} -e 's|FILEDESC_UNLOCK|FILEDESC_SUNLOCK|' ${WRKSRC}/linux_js.c
@${REINPLACE_CMD} -e 's|FILEDESC_LOCK|FILEDESC_SLOCK|' ${WRKSRC}/linux_js.c
post-install:
${MKDIR} ${PREFIX}/include/linux
${INSTALL_DATA} ${WRKSRC}/joystick.h ${PREFIX}/include/linux
${INSTALL_PROGRAM} ${PROGRAMS:S|^|${WRKSRC}/|} ${PREFIX}/bin
.for s in 1 4
${INSTALL_MAN} ${MAN${s}:S|^|${WRKSRC}/|} ${PREFIX}/man/man${s}
.endfor
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/joystick-api.txt ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (linux-js-2.2.tar.gz) = b9b4e3bfc775d3b00d88f3110db9b76d3fba357e98f735a4a6ba5fc034eb758c
SIZE (linux-js-2.2.tar.gz) = 32850

View File

@ -1,45 +0,0 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: jscal
# REQUIRE: linux_js
# KEYWORD: shutdown
. /etc/rc.subr
name=jscal
rcvar=jscal_enable
load_rc_config $name
jscal_enable=${jscal_enable:-"NO"}
jscal_devices="${jscal_devices:-/dev/input/js*}"
jscal_state="${jscal_state:-/var/db/jscal-state}"
command="%%PREFIX%%/bin/jscal"
start_cmd="jscal_start"
stop_cmd="jscal_stop"
jscal_start()
{
echo "Starting ${name}."
for d in $jscal_devices; do
[ "x$d" = "x$jscal_devices" ] && break
statefile="$jscal_state-`basename $d`"
[ -f "$statefile" ] && . "$statefile" 2>/dev/null
done
}
jscal_stop()
{
echo "Stopping ${name}."
for d in $jscal_devices; do
[ "x$d" = "x$jscal_devices" ] && break
statefile="$jscal_state-`basename $d`"
cal=`"$command" -p "$d" 2>/dev/null` && \
echo "$cal" | sed -e "s|^jscal|$command|" > "$statefile"
done
}
run_rc_command "$1"

View File

@ -1,27 +0,0 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: linux_js
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name=linux_js
rcvar=linux_js_enable
load_rc_config $name
linux_js_enable=${linux_js_enable:-"NO"}
start_cmd="load_kld -m linux_js"
stop_cmd="linux_js_stop"
linux_js_stop()
{
echo "Stopping ${name}."
kldunload linux_js
}
run_rc_command "$1"

View File

@ -1,3 +0,0 @@
This port provides a FreeBSD kernel module implementing the Linux joystick
interface (/dev/input/js?), as well as calibration (jscal) and test (jstest)
utilities.

View File

@ -1,32 +0,0 @@
===============================================================================
To load the linux_js kernel module immediately, type the following commands:
kldload joy (if PC joystick support is desired)
kldload uhid (if USB joystick support is desired)
kldload linux_js
To load the linux_js kernel module at boot, add the following lines to
/boot/loader.conf:
joy_load="YES" (if PC joystick support is desired)
uhid_load="YES" (if USB joystick support is desired)
and add the following line to /etc/rc.conf:
linux_js_enable="YES"
To test a joystick, type the following command:
jstest /dev/input/jsXXX
To calibrate a joystick, type the following command:
jscal -c /dev/input/jsXXX
To save the calibration data at system shutdown and restore it at
boot, add the following line to /etc/rc.conf:
jscal_enable="YES"
===============================================================================

View File

@ -1,8 +0,0 @@
bin/jscal
bin/jstest
include/linux/joystick.h
@dirrmtry include/linux
@cwd /boot/modules
linux_js.ko
@exec kldxref %D
@unexec kldxref %D

View File

@ -123,7 +123,6 @@
SUBDIR += open-vm-tools
SUBDIR += open-vm-tools-nox11
SUBDIR += openmsx
SUBDIR += osmose
SUBDIR += p5-Acme-6502
SUBDIR += parallels-tools
SUBDIR += pcemu

View File

@ -1,45 +0,0 @@
# New ports collection makefile for: osmose
# Date created: 27 Jul 2005
# Whom: Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#
PORTNAME= osmose
PORTVERSION= 0.9.96
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://bcz.asterope.fr/osmose/
DISTNAME= Osmose-${PORTVERSION:S/./-/g}-QT
MAINTAINER= ports@FreeBSD.org
COMMENT= Sega Master System emulator
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js
LIB_DEPENDS= asound.2:${PORTSDIR}/audio/alsa-lib
RUN_DEPENDS= ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js
USE_ZIP= yes
USE_QT4= corelib gui opengl moc_build qmake_build uic_build
QMAKEFLAGS+= TARGET=release
PORTDOCS= Readme.txt TODO.txt
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.pre.mk>
do-configure:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (Osmose-0-9-96-QT.zip) = aca1d1b6b01d1e0efefd7e42eca9bc332d043869a934863321d3925267ca8d79
SIZE (Osmose-0-9-96-QT.zip) = 194671

View File

@ -1,9 +0,0 @@
Osmose is another Sega Master System emulator. The emulator is released as
open source project, under GPL license.
The emulator relies on Qt library, zlib, and uses Alessandro Scotti z80 cpu
core. Alessandro, is the author of the nice multi machine emulator 'Tickle'.
Rom decompression relies on Zlib and Gilles Vollant unzip package. Scale2x
video Filter is based on Andrea Mazzoleni's algorithm.
WWW: http://bcz.asterope.fr/osmose.htm