1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

gdict development has ceased and rely on a service which is not available anymore

This commit is contained in:
Baptiste Daroussin 2015-07-14 21:02:36 +00:00
parent f689b045f0
commit a75bdd6fb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392096
9 changed files with 1 additions and 93 deletions

1
MOVED
View File

@ -7690,3 +7690,4 @@ graphics/fpc-fpgtk||2015-07-14|Development has been discontinued
editors/lazarus-lcl-gtk||2015-07-14|Development has been discontinued
x11/gmessage||2015-07-14|Upstream has disappeared and development ceased
security/ssh-guid||2015-07-14|Development ceased, broken with modern ssh
textproc/gdict||2015-07-14|Development ceased, unusable

View File

@ -192,7 +192,6 @@
SUBDIR += ga-aspell
SUBDIR += gastex
SUBDIR += gd-aspell
SUBDIR += gdict
SUBDIR += gdome2
SUBDIR += gl-aspell
SUBDIR += gladtex

View File

@ -1,19 +0,0 @@
# Created by: domi@saargate.de
# $FreeBSD$
PORTNAME= gdict
PORTVERSION= 0.7
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= http://www.brettnacher.org/users/dominik/FreeBSD/
MAINTAINER= ports@FreeBSD.org
COMMENT= Small program that finds definitions of arbitrary (English) words
USE_GNOME= gtk12
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdict ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/dict ${STAGEDIR}${PREFIX}/bin/cdict
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (gdict-0.7.tar.gz) = 68236355bba09feb2ae6896cb6d3341ac6bb79cec9c8123ca498846874ab8035
SIZE (gdict-0.7.tar.gz) = 12053

View File

@ -1,14 +0,0 @@
--- Makefile Mon Mar 29 08:02:27 1999
+++ Makefile~ Thu Jul 22 22:25:09 1999
@@ -1,8 +1,8 @@
# Makefile for gdict
-CC = gcc
-CFLAGS = -O6 -Wall
-CFL_GTK = $(CFLAGS) `gtk-config --cflags` `gtk-config --libs`
+CC ?= gcc
+CFLAGS ?= -O6 -Wall
+CFL_GTK = $(CFLAGS) `$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs`
CFL = $(CFLAGS)
OBJECTS_GDICT = gdict.c
OBJECTS_DICT = dict.c

View File

@ -1,25 +0,0 @@
--- dict.c Mon Mar 29 08:10:35 1999
+++ dict.c~ Thu Jul 22 22:25:16 1999
@@ -4,11 +4,12 @@
* Thanks goes out to #linuxos also. :)
*/
+#include <sys/types.h>
#include <stdio.h>
#include <sys/socket.h>
#include <unistd.h>
-#include <arpa/inet.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <string.h>
int main (int argc, char *argv[]) {
@@ -40,7 +41,7 @@
Sockaddr.sin_port = htons(2627);
Sockaddr.sin_addr.s_addr = inet_addr("128.52.39.7");
- err = connect (sd, &Sockaddr, sizeof(Sockaddr) );
+ err = connect (sd, (struct sockaddr *) &Sockaddr, sizeof(Sockaddr) );
if (err != 0) {
printf("Could not connect to dictionary server!\n");

View File

@ -1,26 +0,0 @@
--- gdict.c Mon Mar 29 17:35:54 1999
+++ gdict.c~ Thu Jul 22 22:25:19 1999
@@ -13,12 +13,13 @@
* Window resizing and cleanup by Iain (Nodatadj, EFNet) 23-Mar-1999
*/
+#include <sys/types.h>
#include <gtk/gtk.h>
#include <stdio.h>
#include <sys/socket.h>
#include <unistd.h>
-#include <arpa/inet.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <string.h>
/* globals */
@@ -154,7 +155,7 @@
Sockaddr.sin_port = htons(2627);
Sockaddr.sin_addr.s_addr = inet_addr ("128.52.39.7");
- err = connect (sd, &Sockaddr, sizeof(Sockaddr));
+ err = connect (sd, (struct sockaddr *) &Sockaddr, sizeof(Sockaddr));
if (err != 0) {
sprintf (buffer, "Could not connect to dictionary server!");

View File

@ -1,4 +0,0 @@
gdict is a small C/GTK+ program written to find definitions of arbitrary
words. It contacts the MIT dictionary server and returns a definition.
Additionally, there is a CLI version named "cdict".

View File

@ -1,2 +0,0 @@
bin/cdict
bin/gdict