Skip to content

Commit

Permalink
comms/deforaos-phone: Add back latest version 0.6.2
Browse files Browse the repository at this point in the history
DeforaOS telephony application
WWW:	https://www.defora.org/
  • Loading branch information
khorben authored and ocochard committed Nov 23, 2023
1 parent 66e8b20 commit 8dddb34
Show file tree
Hide file tree
Showing 7 changed files with 217 additions and 3 deletions.
3 changes: 0 additions & 3 deletions MOVED
Expand Up @@ -7621,10 +7621,7 @@ sysutils/intel-qcu|sysutils/intel-epct|2023-06-14|Moved to sysutils/intel-epct
multimedia/obs-qtwebkit||2023-06-16|Has expired: OBS ships with their own browser plugin from version 25 onwards
games/tuxmath||2023-06-16|Has expired: Upstream last release was in 2011
emulators/skyeye||2023-06-17|Has expired: Upstream last release was in 2014
x11/deforaos-panel||2023-06-18|Has expired: Broken on all supported versions
x11/deforaos-desktop||2023-06-18|Removed, needs expired x11/deforaos-panel
x11/deforaos-locker||2023-06-18|Removed, needs expired x11/deforaos-panel
comms/deforaos-phone||2023-06-18|Removed, needs expired x11/deforaos-panel
textproc/apache-solr9|textproc/apache-solr|2023-06-18|New stable release
games/poker-eval||2023-06-20|Upstream vanished
graphics/3d-ascii-viewer-c|graphics/3d-ascii-viewer|2023-06-21|Project was renamed
Expand Down
1 change: 1 addition & 0 deletions comms/Makefile
Expand Up @@ -27,6 +27,7 @@
SUBDIR += cwdaemon
SUBDIR += cwstudio
SUBDIR += cyclonedds
SUBDIR += deforaos-phone
SUBDIR += dcf77pi
SUBDIR += dfu-programmer
SUBDIR += dfu-util
Expand Down
51 changes: 51 additions & 0 deletions comms/deforaos-phone/Makefile
@@ -0,0 +1,51 @@
PORTNAME= phone
PORTVERSION= 0.6.2
CATEGORIES= comms
MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Phone/
PKGNAMEPREFIX= deforaos-
DISTNAME= Phone-${PORTVERSION}

MAINTAINER= olivier@FreeBSD.org
COMMENT= DeforaOS telephony application
WWW= https://www.defora.org/

LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \
libDesktop.so:x11/deforaos-libdesktop \
libharfbuzz.so:print/harfbuzz
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat

USES= desktop-file-utils gnome pkgconfig ssl
USE_XORG= x11
USE_GNOME= gtk30 cairo gdkpixbuf2
MAKE_ARGS+= PREFIX=${PREFIX}
MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man

OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl

post-patch-DOCS-off:
${REINPLACE_CMD} 's|data doc include|data include|' \
${WRKSRC}/Makefile

post-patch-NLS-off:
${REINPLACE_CMD} 's|include po src|include src|' \
${WRKSRC}/Makefile

post-patch:
@${REINPLACE_CMD} -e 's,/dev/modem,/dev/cuaU0,g' \
${WRKSRC}/src/modems/hayes.c
@${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \
${WRKSRC}/data/pkgconfig.sh

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/Phone/plugins/*
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/Phone/modem/*

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions comms/deforaos-phone/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1700689064
SHA256 (Phone-0.6.2.tar.gz) = c853ce96ba4b4ff64173b50b1bec00a15e85d8de8b47d026bb92a3cb93f881c3
SIZE (Phone-0.6.2.tar.gz) = 323657
67 changes: 67 additions & 0 deletions comms/deforaos-phone/files/patch-doc_Makefile
@@ -0,0 +1,67 @@
--- doc/Makefile.orig 2023-11-22 21:37:07 UTC
+++ doc/Makefile
@@ -4,7 +4,7 @@ RM = rm -f
MKDIR = mkdir -m 0755 -p
INSTALL = install
RM = rm -f
-TARGETS = $(OBJDIR)gprs.1 $(OBJDIR)gprs.html $(OBJDIR)index.html $(OBJDIR)phone.1 $(OBJDIR)phone.html $(OBJDIR)phonectl.1 $(OBJDIR)phonectl.html
+TARGETS = $(OBJDIR)gprs.1 $(OBJDIR)phone.1 $(OBJDIR)phonectl.1
RM = rm -f
LN = ln -f
MKDIR = mkdir -m 0755 -p
@@ -16,43 +16,24 @@ $(OBJDIR)gprs.1: gprs.xml
$(OBJDIR)gprs.1: gprs.xml
./docbook.sh -P "$(PREFIX)" -- "$(OBJDIR)gprs.1"

-$(OBJDIR)gprs.html: manual.css.xml gprs.css.xml gprs.xml
- ./docbook.sh -P "$(PREFIX)" -- "$(OBJDIR)gprs.html"
-
-$(OBJDIR)index.html: gprs.xml index.xml index.xsl phone.xml phonectl.xml
- ./docbook.sh -P "$(PREFIX)" -- "$(OBJDIR)index.html"
-
$(OBJDIR)phone.1: phone.xml
./docbook.sh -P "$(PREFIX)" -- "$(OBJDIR)phone.1"

-$(OBJDIR)phone.html: manual.css.xml phone.css.xml phone.xml
- ./docbook.sh -P "$(PREFIX)" -- "$(OBJDIR)phone.html"
-
$(OBJDIR)phonectl.1: phonectl.xml
./docbook.sh -P "$(PREFIX)" -- "$(OBJDIR)phonectl.1"

-$(OBJDIR)phonectl.html: manual.css.xml phonectl.css.xml phonectl.xml
- ./docbook.sh -P "$(PREFIX)" -- "$(OBJDIR)phonectl.html"
-
clean:
./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)gprs.1"
- ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)gprs.html"
- ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)index.html"
./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)phone.1"
- ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)phone.html"
./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)phonectl.1"
- ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)phonectl.html"

distclean: clean
$(RM) -- $(TARGETS)

install: all
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)gprs.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)gprs.html"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)phone.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)phone.html"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)phonectl.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)phonectl.html"
$(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/Phone
$(INSTALL) -m 0644 phone.conf $(DESTDIR)$(PREFIX)/share/doc/Phone/phone.conf
$(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/Phone
@@ -64,11 +45,8 @@ uninstall:

uninstall:
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "gprs.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "gprs.html"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "phone.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "phone.html"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "phonectl.1"
- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "phonectl.html"
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/phone.conf
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-chat_gprs
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-peers_gprs
1 change: 1 addition & 0 deletions comms/deforaos-phone/pkg-descr
@@ -0,0 +1 @@
DeforaOS telephony application
94 changes: 94 additions & 0 deletions comms/deforaos-phone/pkg-plist
@@ -0,0 +1,94 @@
bin/gprs
bin/phone
bin/phonectl
include/Desktop/Phone.h
include/Desktop/Phone/modem.h
include/Desktop/Phone/modems/hayes.h
include/Desktop/Phone/phone.h
include/Desktop/Phone/plugin.h
lib/Phone/modem/debug.so
lib/Phone/modem/hayes.so
lib/Phone/plugins/blacklist.so
lib/Phone/plugins/console.so
lib/Phone/plugins/debug.so
lib/Phone/plugins/engineering.so
lib/Phone/plugins/gprs.so
lib/Phone/plugins/gps.so
lib/Phone/plugins/n900.so
lib/Phone/plugins/openmoko.so
lib/Phone/plugins/oss.so
lib/Phone/plugins/panel.so
lib/Phone/plugins/password.so
lib/Phone/plugins/profiles.so
lib/Phone/plugins/smscrypt.so
lib/Phone/plugins/systray.so
lib/Phone/plugins/ussd.so
libdata/pkgconfig/Phone.pc
%%PORTDOCS%%man/man1/gprs.1.gz
%%PORTDOCS%%man/man1/phone.1.gz
%%PORTDOCS%%man/man1/phonectl.1.gz
share/applications/org.defora.phone-contacts.desktop
share/applications/org.defora.phone-dialer.desktop
share/applications/org.defora.phone-log.desktop
share/applications/org.defora.phone-messages.desktop
share/applications/org.defora.phone-settings.desktop
share/applications/org.defora.phone-sofia.desktop
share/icons/hicolor/16x16/apps/phone-gprs.png
share/icons/hicolor/16x16/apps/phone-drafts.png
share/icons/hicolor/16x16/apps/phone-inbox.png
share/icons/hicolor/16x16/apps/phone-n900.png
share/icons/hicolor/16x16/apps/phone-openmoko.png
share/icons/hicolor/16x16/apps/phone-roaming.png
share/icons/hicolor/16x16/apps/phone-sent.png
share/icons/hicolor/22x22/apps/phone-gprs.png
share/icons/hicolor/22x22/apps/phone-signal-00.png
share/icons/hicolor/22x22/apps/phone-signal-100.png
share/icons/hicolor/22x22/apps/phone-signal-25.png
share/icons/hicolor/22x22/apps/phone-signal-50.png
share/icons/hicolor/22x22/apps/phone-signal-75.png
share/icons/hicolor/24x24/apps/phone-gprs.png
share/icons/hicolor/24x24/apps/phone-drafts.png
share/icons/hicolor/24x24/apps/phone-inbox.png
share/icons/hicolor/24x24/apps/phone-n900.png
share/icons/hicolor/24x24/apps/phone-openmoko.png
share/icons/hicolor/24x24/apps/phone-roaming.png
share/icons/hicolor/24x24/apps/phone-sent.png
share/icons/hicolor/32x32/apps/phone-gprs.png
share/icons/hicolor/32x32/apps/phone-n900.png
share/icons/hicolor/32x32/apps/phone-openmoko.png
share/icons/hicolor/32x32/apps/phone-roaming.png
share/icons/hicolor/48x48/apps/phone-gprs.png
share/icons/hicolor/48x48/apps/phone-inbox.png
share/icons/hicolor/48x48/apps/phone-n900.png
share/icons/hicolor/48x48/apps/phone-openmoko.png
share/icons/hicolor/48x48/apps/phone-roaming.png
share/icons/hicolor/48x48/apps/phone-sent.png
share/sounds/Phone/0.wav
share/sounds/Phone/1.wav
share/sounds/Phone/2.wav
share/sounds/Phone/3.wav
share/sounds/Phone/4.wav
share/sounds/Phone/5.wav
share/sounds/Phone/6.wav
share/sounds/Phone/7.wav
share/sounds/Phone/8.wav
share/sounds/Phone/9.wav
share/sounds/Phone/a.wav
share/sounds/Phone/b.wav
share/sounds/Phone/busy.wav
share/sounds/Phone/c.wav
share/sounds/Phone/d.wav
share/sounds/Phone/hash.wav
share/sounds/Phone/keytone.wav
share/sounds/Phone/ringback.wav
share/sounds/Phone/ringtone.wav
share/sounds/Phone/star.wav
%%NLS%%share/locale/fr/LC_MESSAGES/Phone.mo
%%NLS%%share/locale/es/LC_MESSAGES/Phone.mo
share/doc/Phone/COPYING
%%PORTDOCS%%share/doc/Phone/gprs.conf
%%PORTDOCS%%share/doc/Phone/phone.conf
%%PORTDOCS%%share/doc/Phone/pppd-chat_gprs
%%PORTDOCS%%share/doc/Phone/pppd-peers_gprs
%%PORTDOCS%%share/doc/Phone/pppd-peers_phone
%%PORTDOCS%%share/doc/Phone/ussd.conf

0 comments on commit 8dddb34

Please sign in to comment.