Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 15:03:11 +0000 (UTC)
From:      Olivier Cochard <olivier@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431398 - in head/comms/deforaos-phone: . files
Message-ID:  <201701131503.v0DF3Boe015422@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivier
Date: Fri Jan 13 15:03:11 2017
New Revision: 431398
URL: https://svnweb.freebsd.org/changeset/ports/431398

Log:
  Update to 0.5.1 (and fix build)

Added:
  head/comms/deforaos-phone/files/patch-doc_Makefile   (contents, props changed)
Deleted:
  head/comms/deforaos-phone/files/patch-doc__Makefile
  head/comms/deforaos-phone/files/patch-src-plugins-Makefile
Modified:
  head/comms/deforaos-phone/Makefile
  head/comms/deforaos-phone/distinfo
  head/comms/deforaos-phone/pkg-plist

Modified: head/comms/deforaos-phone/Makefile
==============================================================================
--- head/comms/deforaos-phone/Makefile	Fri Jan 13 15:02:29 2017	(r431397)
+++ head/comms/deforaos-phone/Makefile	Fri Jan 13 15:03:11 2017	(r431398)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	phone
-PORTVERSION=	0.3.12
-PORTREVISION=	3
+PORTVERSION=	0.5.1
 CATEGORIES=	comms
-MASTER_SITES=	http://www.defora.org/os/download/download/4296/
+MASTER_SITES=	http://www.defora.org/os/download/download/4455/
 PKGNAMEPREFIX=	deforaos-
 DISTNAME=	Phone-${PORTVERSION}
 
@@ -18,20 +17,48 @@ LIB_DEPENDS=	libSystem.so:devel/deforaos
 		libDesktop.so:x11/deforaos-libdesktop \
 		libpulse.so:audio/pulseaudio \
 		libpurple.so:net-im/libpurple \
-		libsofia-sip-ua.so:net/sofia-sip
+		libsofia-sip-ua.so:net/sofia-sip \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2
 BUILD_DEPENDS=	locker:x11/deforaos-locker \
-		${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
-		xsltproc:textproc/libxslt \
-		${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
+		${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
 
-USES=		desktop-file-utils gettext pkgconfig
-USE_GNOME=	gtk20
+USES=		desktop-file-utils pkgconfig
+USE_GNOME=	gtk20 cairo
 INSTALLS_ICONS=	yes
 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
+	@${REINPLACE_CMD} 's|-Wl,-pie||g' \
+		${WRKSRC}/tools/Makefile \
+		${WRKSRC}/src/Makefile \
+		${WRKSRC}/tests/Makefile
+	@${REINPLACE_CMD} 's|-lossaudio||' \
+		${WRKSRC}/src/plugins/Makefile \
+		${WRKSRC}/tests/Makefile
+
+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>

Modified: head/comms/deforaos-phone/distinfo
==============================================================================
--- head/comms/deforaos-phone/distinfo	Fri Jan 13 15:02:29 2017	(r431397)
+++ head/comms/deforaos-phone/distinfo	Fri Jan 13 15:03:11 2017	(r431398)
@@ -1,2 +1,3 @@
-SHA256 (Phone-0.3.12.tar.gz) = 53c6d2484a3c11d6bdcd980254cfa41c5f5c8fbc811892e61bf0425a3bde416d
-SIZE (Phone-0.3.12.tar.gz) = 175768
+TIMESTAMP = 1484259053
+SHA256 (Phone-0.5.1.tar.gz) = 8762b78893725fdc8d2ec31ce2e69e5f0e77dbebc2f3b076f92db64042647e91
+SIZE (Phone-0.5.1.tar.gz) = 327180

Added: head/comms/deforaos-phone/files/patch-doc_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/deforaos-phone/files/patch-doc_Makefile	Fri Jan 13 15:03:11 2017	(r431398)
@@ -0,0 +1,47 @@
+--- doc/Makefile.orig	2017-01-12 16:11:40 UTC
++++ doc/Makefile
+@@ -1,7 +1,7 @@
+ 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
+ OBJDIR	=
+ PREFIX	= /usr/local
+ DESTDIR	=
+@@ -37,23 +37,16 @@ $(OBJDIR)phonectl.html: manual.css.xml p
+ clean:
+ 	$(RM) -- $(gprs.1_OBJS) $(gprs.html_OBJS) $(index.html_OBJS) $(phone.1_OBJS) $(phone.html_OBJS) $(phonectl.1_OBJS) $(phonectl.html_OBJS)
+ 	./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: $(TARGETS)
+ 	./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
+@@ -65,11 +58,8 @@ install: $(TARGETS)
+ 
+ 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

Modified: head/comms/deforaos-phone/pkg-plist
==============================================================================
--- head/comms/deforaos-phone/pkg-plist	Fri Jan 13 15:02:29 2017	(r431397)
+++ head/comms/deforaos-phone/pkg-plist	Fri Jan 13 15:03:11 2017	(r431398)
@@ -1,3 +1,4 @@
+bin/gprs
 bin/phone
 bin/phonectl
 include/Desktop/Phone.h
@@ -7,60 +8,86 @@ include/Desktop/Phone/phone.h
 include/Desktop/Phone/plugin.h
 lib/Phone/modem/debug.so
 lib/Phone/modem/hayes.so
-lib/Phone/modem/purple.so
-lib/Phone/modem/sofia.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/locker.so
 lib/Phone/plugins/n900.so
-lib/Phone/plugins/notify.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/pulseaudio.so
 lib/Phone/plugins/smscrypt.so
 lib/Phone/plugins/systray.so
 lib/Phone/plugins/ussd.so
-man/man1/phone.1.gz
-man/man1/phonectl.1.gz
-share/applications/phone-contacts.desktop
-share/applications/phone-dialer.desktop
-share/applications/phone-log.desktop
-share/applications/phone-messages.desktop
-share/applications/phone-settings.desktop
-share/icons/hicolor/16x16/apps/phone-dialer.png
+libdata/pkgconfig/Phone.pc
+%%PORTDOCS%%man/man1/gprs.1.gz
+%%PORTDOCS%%man/man1/phone.1.gz
+%%PORTDOCS%%man/man1/phonectl.1.gz
+share/applications/deforaos-phone-contacts.desktop
+share/applications/deforaos-phone-dialer.desktop
+share/applications/deforaos-phone-log.desktop
+share/applications/deforaos-phone-messages.desktop
+share/applications/deforaos-phone-settings.desktop
+share/applications/deforaos-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-dialer.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-dialer.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-dialer.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-dialer.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/locale/fr/LC_MESSAGES/Phone.mo
+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
+%%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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701131503.v0DF3Boe015422>