git: 8dddb345249c - main - comms/deforaos-phone: Add back latest version 0.6.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Nov 2023 12:34:32 UTC
The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=8dddb345249cfab9f6015c4357254cfb4c1a541b commit 8dddb345249cfab9f6015c4357254cfb4c1a541b Author: Pierre Pronchery <khorben@defora.org> AuthorDate: 2023-11-22 22:48:08 +0000 Commit: Olivier Cochard <olivier@FreeBSD.org> CommitDate: 2023-11-23 12:30:50 +0000 comms/deforaos-phone: Add back latest version 0.6.2 DeforaOS telephony application WWW: https://www.defora.org/ --- MOVED | 3 - comms/Makefile | 1 + comms/deforaos-phone/Makefile | 51 +++++++++++++++ comms/deforaos-phone/distinfo | 3 + comms/deforaos-phone/files/patch-doc_Makefile | 67 +++++++++++++++++++ comms/deforaos-phone/pkg-descr | 1 + comms/deforaos-phone/pkg-plist | 94 +++++++++++++++++++++++++++ 7 files changed, 217 insertions(+), 3 deletions(-) diff --git a/MOVED b/MOVED index 094a3a3e4ed2..20f0b2c5982f 100644 --- a/MOVED +++ b/MOVED @@ -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 diff --git a/comms/Makefile b/comms/Makefile index 1519ea0432d6..0f82cb081fb3 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -27,6 +27,7 @@ SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += cyclonedds + SUBDIR += deforaos-phone SUBDIR += dcf77pi SUBDIR += dfu-programmer SUBDIR += dfu-util diff --git a/comms/deforaos-phone/Makefile b/comms/deforaos-phone/Makefile new file mode 100644 index 000000000000..0bc26253dd83 --- /dev/null +++ b/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> diff --git a/comms/deforaos-phone/distinfo b/comms/deforaos-phone/distinfo new file mode 100644 index 000000000000..b7d549686c9e --- /dev/null +++ b/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 diff --git a/comms/deforaos-phone/files/patch-doc_Makefile b/comms/deforaos-phone/files/patch-doc_Makefile new file mode 100644 index 000000000000..59a089f461e7 --- /dev/null +++ b/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 diff --git a/comms/deforaos-phone/pkg-descr b/comms/deforaos-phone/pkg-descr new file mode 100644 index 000000000000..1f22cb2a0527 --- /dev/null +++ b/comms/deforaos-phone/pkg-descr @@ -0,0 +1 @@ +DeforaOS telephony application diff --git a/comms/deforaos-phone/pkg-plist b/comms/deforaos-phone/pkg-plist new file mode 100644 index 000000000000..5ac9e6b4f251 --- /dev/null +++ b/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