diff options
author | Rene Ladan <rene@FreeBSD.org> | 2021-04-07 19:54:12 +0200 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2021-04-07 19:54:26 +0200 |
commit | 5980fd40bc59f3f872f57f75b3a31fb986c1b06e (patch) | |
tree | 717e82c8a03179338de8d28a97e4fb040aa3ff6f /audio/cdplay | |
parent | print/R-cran-tinytex: Update to 0.31 (diff) |
Remove expired ports:
2021-04-01 ftp/wzdftpd: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 astro/roadmap: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 games/cosmo: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 games/bomberinstinct: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 games/drm: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 games/bygfoot: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 games/cre: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 irc/hybserv: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 irc/xaric: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 mail/elmo: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 misc/cave: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 security/bugs: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 security/dmitry: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 security/doorman: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 shells/esh: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 sysutils/cpu: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 textproc/libcrm114: No known users, dead upstream
2021-04-01 x11/wmmatrix: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 x11/wmxss: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 x11/tycoon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 x11/xgrab: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 x11/xbanner: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 x11/bricons: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 x11/xmon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 games/cavezofphear: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 astro/saoimage: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/ksmp3play: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/jamin: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/musicbox-tag-editor: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/nspmod: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/cdplay: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/gimmix: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/ghostess: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/wmrecord: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/toolame: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 audio/shout: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 biology/grappa: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 biology/phylip: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 biology/lagan: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 cad/varkon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 cad/transcalc: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 comms/seyon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 comms/efax: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 converters/vda2fbd: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 converters/shftool: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 devel/openzz: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 devel/sourcenav: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 devel/gb: Unmaintained and dead upstream
2021-04-01 dns/checkdns: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 dns/inadyn-mt: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 editors/gate: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 editors/thoteditor: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 emulators/cinc: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 emulators/e-uae: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 emulators/dtcyber: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 ftp/jftpgw: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-01 ftp/pureadmin: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-04-02 textproc/hs-pandoc-citeproc: Integrated into textproc/hs-pandoc
Diffstat (limited to 'audio/cdplay')
-rw-r--r-- | audio/cdplay/Makefile | 43 | ||||
-rw-r--r-- | audio/cdplay/distinfo | 2 | ||||
-rw-r--r-- | audio/cdplay/files/patch-cd.c | 140 | ||||
-rw-r--r-- | audio/cdplay/files/patch-cdplay.1 | 54 | ||||
-rw-r--r-- | audio/cdplay/files/patch-cdplay.h | 22 | ||||
-rw-r--r-- | audio/cdplay/files/patch-main.c | 82 | ||||
-rw-r--r-- | audio/cdplay/pkg-descr | 2 |
7 files changed, 0 insertions, 345 deletions
diff --git a/audio/cdplay/Makefile b/audio/cdplay/Makefile deleted file mode 100644 index cdc1675765e7..000000000000 --- a/audio/cdplay/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# Created by: Antti Kaipila <anttik@iki.fi> - -PORTNAME= cdplay -PORTVERSION= 0.92 -PORTREVISION= 3 -CATEGORIES= audio -MASTER_SITES= LOCAL/dannyboy - -MAINTAINER= ports@FreeBSD.org -COMMENT= CD-player with text-based user interface - -LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/COPYRIGHT - -USES= ncurses -MAKE_ARGS= CFLAGS="${CFLAGS} -c -ansi" \ - LFLAGS="${LDFLAGS} -lncurses" \ - BINPATH="${PREFIX}/bin/" \ - MANPATH="${MANPREFIX}/man/man1/" \ - CC="${CC}" -MAKE_JOBS_UNSAFE= yes - -CFLAGS+= -fcommon - -DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11) -EXPIRATION_DATE=2021-04-01 - -PLIST_FILES= bin/cdplay \ - share/man/man1/cdplay.1.gz - -post-patch: - ${REINPLACE_CMD} \ - -e 's/^OPTIMISE=.*$$/OPTIMISE=/'\ - ${WRKSRC}/Makefile - -post-extract: - @${GUNZIP_CMD} ${WRKSRC}/cdplay.1.gz - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cdplay ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/cdplay.1 ${STAGEDIR}${PREFIX}/share/man/man1 - -.include <bsd.port.mk> diff --git a/audio/cdplay/distinfo b/audio/cdplay/distinfo deleted file mode 100644 index c0e5b1217039..000000000000 --- a/audio/cdplay/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (cdplay-0.92.tar.gz) = 35f1cd146d9e9a3feeb0cc0a3f177c8eaedb91858fb95eec835738eafea04660 -SIZE (cdplay-0.92.tar.gz) = 14614 diff --git a/audio/cdplay/files/patch-cd.c b/audio/cdplay/files/patch-cd.c deleted file mode 100644 index 18fb70325166..000000000000 --- a/audio/cdplay/files/patch-cd.c +++ /dev/null @@ -1,140 +0,0 @@ ---- cd.c.orig 1997-10-24 15:38:25 UTC -+++ cd.c -@@ -98,8 +98,16 @@ void play_track(int track) - cd_play.end_s=cdinfo.s_sec[cdinfo.l_track-1]; - cd_play.end_f=cdinfo.s_frame[cdinfo.l_track-1]; - -- if(ioctl (cd_fd, CDIOCPLAYMSF, (char *) &cd_play)<0) -- per(); -+ if(ioctl (cd_fd, CDIOCPLAYMSF, (char *) &cd_play)<0) { -+ /* Hack for IDE CD-ROMs */ -+ if (cd_play.start_s < 2) { -+ cd_play.start_s=2; -+ if(ioctl (cd_fd, CDIOCPLAYMSF, (char *) &cd_play)<0) -+ per(); -+ } else -+ per(); -+ } -+ cdinfo.pause=0; - } - - /* Skips one track forward */ -@@ -111,7 +119,7 @@ void next(void) - /* Quess */ - void prev(void) - { -- if(cdinfo.c_sec<1) -+ if(cdinfo.c_sec<4) - play_track(cdinfo.c_track-1); - else play_track(cdinfo.c_track); - } -@@ -141,17 +149,59 @@ void cdpause(void) - } - } - -+/* Softly pauses the cd, or unpauses, as appropriate */ -+void cdsoftpause(void) -+{ -+ struct ioc_vol real_vol, cur_vol; -+ int i; -+ -+ if(ioctl(cd_fd,CDIOCGETVOL,(char *) &real_vol)) per(); -+ cur_vol = real_vol; -+ -+ if(cdinfo.pause){ -+ message="continue"; -+ memset (cur_vol.vol, 0, sizeof(cur_vol.vol)); -+ if(ioctl(cd_fd,CDIOCSETVOL,(char *) &cur_vol)) per(); -+ if(ioctl(cd_fd,CDIOCRESUME)<0) per(); else cdinfo.pause=0; -+ for (i=0; i<20; usleep(21), i++) { -+ cur_vol.vol[0] += (real_vol.vol[0] / 20); -+ cur_vol.vol[1] += (real_vol.vol[1] / 20); -+ cur_vol.vol[2] += (real_vol.vol[2] / 20); -+ cur_vol.vol[3] += (real_vol.vol[3] / 20); -+ if(ioctl(cd_fd,CDIOCSETVOL,(char *) &cur_vol)) per(); -+ } -+ if(ioctl(cd_fd,CDIOCSETVOL,(char *) &real_vol)) per(); -+ } -+ else { -+ message="pause"; -+ for (i=0; i<20; usleep(21), i++) { -+ cur_vol.vol[0] -= (real_vol.vol[0] / 20); -+ cur_vol.vol[1] -= (real_vol.vol[1] / 20); -+ cur_vol.vol[2] -= (real_vol.vol[2] / 20); -+ cur_vol.vol[3] -= (real_vol.vol[3] / 20); -+ if(ioctl(cd_fd,CDIOCSETVOL,(char *) &cur_vol)) per(); -+ } -+ if(ioctl (cd_fd, CDIOCPAUSE)<0) per(); else cdinfo.pause=1; -+ if(ioctl (cd_fd, CDIOCSETVOL,(char *) &real_vol)) per(); -+ } -+} -+ - /* Huge kludge */ --void ff(void) -+void ff(int n_times) - { -+ int secs; - struct ioc_play_msf cd_play; - -- if(cdinfo.c_seca%60+5>=60){ -- cd_play.start_s=((cdinfo.c_seca%60)+5)%60; -+ secs=4*n_times; -+ -+ if (secs > 59) secs=59; -+ -+ if(cdinfo.c_seca%60+secs>=60){ -+ cd_play.start_s=((cdinfo.c_seca%60)+secs)%60; - cd_play.start_m=cdinfo.c_seca/60+1; - } - else { -- cd_play.start_s=(cdinfo.c_seca%60)+5; -+ cd_play.start_s=(cdinfo.c_seca%60)+secs; - cd_play.start_m=cdinfo.c_seca/60; - } - cd_play.start_f=1; -@@ -160,19 +210,25 @@ void ff(void) - cd_play.end_f=cdinfo.s_frame[cdinfo.l_track-1]; - - if(ioctl(cd_fd,CDIOCPLAYMSF,(char *) &cd_play)<0) per(); -+ cdinfo.pause=0; - } - - /* Hi mom!! */ --void rew(void) -+void rew(int n_times) - { -+ int secs; - struct ioc_play_msf cd_play; - -- if(cdinfo.c_seca%60-5<0){ -- cd_play.start_s=((cdinfo.c_seca%60)-5)+60; -+ secs=4*n_times; -+ -+ if (secs > 59) secs=59; -+ -+ if(cdinfo.c_seca%60-secs<0){ -+ cd_play.start_s=((cdinfo.c_seca%60)-secs)+60; - cd_play.start_m=cdinfo.c_seca/60-1; - } - else { -- cd_play.start_s=(cdinfo.c_seca%60)-5; -+ cd_play.start_s=(cdinfo.c_seca%60)-secs; - cd_play.start_m=cdinfo.c_seca/60; - } - cd_play.start_f=1; -@@ -181,6 +237,7 @@ void rew(void) - cd_play.end_f=cdinfo.s_frame[cdinfo.l_track-1]; - - if(ioctl(cd_fd,CDIOCPLAYMSF,(char *) &cd_play)<0) per(); -+ cdinfo.pause=0; - } - - /* Spit cd out */ -@@ -192,6 +249,7 @@ void eject(void) - per(); - close(cd_fd); - cdinfo.eject=1; -+ cdinfo.pause=1; - } - - diff --git a/audio/cdplay/files/patch-cdplay.1 b/audio/cdplay/files/patch-cdplay.1 deleted file mode 100644 index c35918430495..000000000000 --- a/audio/cdplay/files/patch-cdplay.1 +++ /dev/null @@ -1,54 +0,0 @@ ---- cdplay.1.orig 1997-11-08 01:13:21 UTC -+++ cdplay.1 -@@ -35,15 +35,14 @@ cdplay \- play CD's with nice interface - ] - .SH DESCRIPTION - .B cdplay --plays audio cd's with a confortable console user interface. --Supports only SCSI CD-ROM drives. -+plays audio cd's with a comfortable console user interface. - .SH OPTIONS - .TP - .BR \-d " device" - Uses - .B device --instead of /dev/rcd0a witch it uses by default. (unless defined otherwise --while compiling) -+instead of /dev/rcd0a which it uses by default (unless defined otherwise -+while compiling). - .TP - .BR -h - Display a brief help message. -@@ -59,6 +58,9 @@ Stop. Stops cd and sets current track to - Space - Pause. If cd is already on pause continues. - .TP -+\'P\' -+Pause (or unpause) abruptly. -+.TP - \'e\' - Eject. Spits the disc out of your drive. - .TP -@@ -79,14 +81,18 @@ Skip to track [num]. NOTE! works only fo - .TP - \'q\' - Quit. Exit the program. -+.SH ENVIRONMENT -+.TP -+CDROM -+The cd device to use if one isn't specified with the -d flag. - .SH NOTES --If someone gets this to work with IDE drive please let me know. Currently --tested ONLY with FreeBSD and NetBSD. Writen for FreeBSD and some features -+Currently -+tested ONLY with FreeBSD and NetBSD. Written for FreeBSD and some features - may not work with NetBSD, OpenBSD or BSDi. Don't think it'll work with linux - or some SYSV Unix's. - .SH BUGS --Yes. I know it does'nt work with your IDE drive. And I also know that it --does'nt work with your old SCSI drive. -+Yes, I know that it -+doesn't work with your old SCSI drive. - .SH AUTHOR - .br - Copyright (C) 1997 diff --git a/audio/cdplay/files/patch-cdplay.h b/audio/cdplay/files/patch-cdplay.h deleted file mode 100644 index abccf6bc0899..000000000000 --- a/audio/cdplay/files/patch-cdplay.h +++ /dev/null @@ -1,22 +0,0 @@ ---- cdplay.h.orig 1997-11-17 07:21:55 UTC -+++ cdplay.h -@@ -71,8 +71,9 @@ void next(void); - void prev(void); - void stop(void); - void cdpause(void); --void ff(void); --void rew(void); -+void cdsoftpause(void); -+void ff(int); -+void rew(int); - void eject(void); - - /* Terminal related functions */ -@@ -90,6 +91,7 @@ void hs_cont(void); - void hs_winch(void); - void do_exit(int); - void do_stop(void); -+void getcommand(char *command, int *repetivity); - - /* Awesome!!1!!1! 2 sound functions */ - void more_vol(void); diff --git a/audio/cdplay/files/patch-main.c b/audio/cdplay/files/patch-main.c deleted file mode 100644 index f9bb8d845181..000000000000 --- a/audio/cdplay/files/patch-main.c +++ /dev/null @@ -1,82 +0,0 @@ ---- main.c.orig 1997-11-17 09:26:26 UTC -+++ main.c -@@ -35,11 +35,14 @@ extern struct termios old_ttyattr; - int main(int argc, char **argv) - { - char cmd[1]; -+ int repetivity; - fd_set rset; - struct timeval stime; - - /* Parse arguments */ -- cd_device=DEVICE; -+ cd_device=getenv("CDROM"); -+ if (cd_device==NULL) -+ cd_device=DEVICE; - if(argc>1 && !strcmp(argv[1],"-d")) - cd_device=argv[2]; - else if(argc>1) -@@ -68,19 +71,20 @@ int main(int argc, char **argv) - - while(1){ - if(select(1,&rset,(fd_set *) 0,(fd_set *) 0,&stime)>0) { -- read(STDIN_FILENO,cmd,FD_SETSIZE); -- -+ getcommand(&cmd[0], &repetivity); -+ - if(cmd[0]=='p'){message="play";play_track(1);} - else if(cmd[0]=='F'){message="next";next();} - else if(cmd[0]=='R'){message="prev";prev();} -- else if(cmd[0]=='f'){message="ff";ff();} -- else if(cmd[0]=='r'){message="rew";rew();} -+ else if(cmd[0]=='f'){message="ff";ff(repetivity);} -+ else if(cmd[0]=='r'){message="rew";rew(repetivity);} - else if(cmd[0]=='s'){message="stop";stop();} -- else if(cmd[0]=='e'){message="eject";eject();} -- else if(cmd[0]==' ') cdpause(); -+ else if(cmd[0]=='E'){message="eject";eject();} -+ else if(cmd[0]==' ') cdsoftpause(); - else if(cmd[0]=='+'){message="more vol";more_vol();} - else if(cmd[0]=='-'){message="less vol";less_vol();} - else if(cmd[0]=='q'){message="bye!";do_exit(0);} -+ else if(cmd[0]=='P') cdpause(); - } - update_cdinfo(); - move_up(5); -@@ -92,6 +96,36 @@ int main(int argc, char **argv) - exit(0); - } - -+void getcommand(char *command, int *repetivity) -+{ -+ static char stored_command; -+ int n; -+ -+ fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK); -+ -+ if (stored_command) { -+ *command=stored_command; -+ } else { -+ n=read(STDIN_FILENO,command,1); -+ if (n <= 0) { -+ *command='\0'; -+ *repetivity=0; -+ return; -+ } -+ } -+ -+ *repetivity=1; -+ while (read(STDIN_FILENO, &stored_command, 1) > 0) { -+ if (stored_command == *command) { -+ (*repetivity)++; -+ } else { -+ return; -+ } -+ } -+ stored_command='\0'; -+ return; -+} -+ - void hs_cont(void) - { - init_term(); diff --git a/audio/cdplay/pkg-descr b/audio/cdplay/pkg-descr deleted file mode 100644 index 219c59328a80..000000000000 --- a/audio/cdplay/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -This is a neat cd-player for those of you who don't use X11 -and still want to play audio cds. |