FreeBSD Bugzilla – Attachment 168527 Details for
Bug 208230
net-im/uTox: Update to 0.7.0.20160321
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
uTox.diff
patch-uTox.txt (text/plain), 3.62 KB, created by
Ivan Klymenko
on 2016-03-23 09:23:44 UTC
(
hide
)
Description:
uTox.diff
Filename:
MIME Type:
Creator:
Ivan Klymenko
Created:
2016-03-23 09:23:44 UTC
Size:
3.62 KB
patch
obsolete
>diff --git a/uTox.orig/Makefile b/uTox.new/Makefile >index 879c3e1..12b9872 100644 >--- a/uTox.orig/Makefile >+++ b/uTox.new/Makefile >@@ -1,6 +1,5 @@ > PORTNAME= uTox >-PORTVERSION= 0.5.1.20160121 >-PORTREVISION= 1 >+PORTVERSION= 0.7.0.20160321 > CATEGORIES= net-im net-p2p > > MAINTAINER= fidaj@ukr.net >@@ -21,7 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox > > USE_GITHUB= yes > GH_ACCOUNT= GrayHatter >-GH_TAGNAME= b623d58 >+GH_TAGNAME= 9524f98 > > USES= compiler:c11 desktop-file-utils gmake openal:al pkgconfig > USE_XORG= x11 xext xrender >@@ -35,7 +34,7 @@ DBUS_MAKE_ARGS_OFF= DBUS=0 > > post-patch: > @${REINPLACE_CMD} -e 's|$$(GIT_V)|${DISTVERSION}-${GH_TAGNAME}|' \ >- -e 's|share/man|man|' ${WRKSRC}/${MAKEFILE} >+ -e 's|(DATAROOTDIR)/man|(PREFIX)/man|' ${WRKSRC}/${MAKEFILE} > > pre-configure: > @(if [ ! -e "${LOCALBASE}/lib/libtoxav.so" ]; then \ >diff --git a/uTox.orig/distinfo b/uTox.new/distinfo >index 0d7d3b4..64d055a 100644 >--- a/uTox.orig/distinfo >+++ b/uTox.new/distinfo >@@ -1,2 +1,2 @@ >-SHA256 (GrayHatter-uTox-0.5.1.20160121-b623d58_GH0.tar.gz) = eaaeccc253c6262b9316783ed51d87b9103bef54f5dbf60b4ef9f124a9a342c0 >-SIZE (GrayHatter-uTox-0.5.1.20160121-b623d58_GH0.tar.gz) = 978712 >+SHA256 (GrayHatter-uTox-0.7.0.20160321-9524f98_GH0.tar.gz) = 5e6a6023e63ec77f5378541ed5f03981aa8b71b5586d8b02b24335dfcc88a636 >+SIZE (GrayHatter-uTox-0.7.0.20160321-9524f98_GH0.tar.gz) = 1986717 >diff --git a/uTox.orig/files/patch-Makefile b/uTox.new/files/patch-Makefile >index 2dc6d97..1c969bd 100644 >--- a/uTox.orig/files/patch-Makefile >+++ b/uTox.new/files/patch-Makefile >@@ -1,15 +1,18 @@ >---- Makefile.orig 2015-12-29 12:13:36.418539000 +0200 >-+++ Makefile 2015-12-29 12:16:20.089265000 +0200 >-@@ -2,7 +2,7 @@ >+--- Makefile.orig 2016-03-23 10:44:16.957188000 +0200 >++++ Makefile 2016-03-23 10:47:19.622876000 +0200 >+@@ -2,9 +2,9 @@ > # set to anything else to disable them >- DBUS = 1 >- V4LCONVERT = 1 >--FILTER_AUDIO = 0 >-+FILTER_AUDIO = 1 >- UNITY = 0 >+ DBUS = 1 >+ V4LCONVERT = 1 >+-FILTER_AUDIO = 0 >++FILTER_AUDIO = 1 >+ UNITY = 0 >+-XP = 0 >++XP = 0 > > DEPS = libtoxav libtoxcore openal vpx libsodium >-@@ -50,6 +50,37 @@ >+ >+@@ -53,6 +53,37 @@ > > TRAY_OBJ = icons/utox-128x128.o > TRAY_GEN = $(LD) -r -b binary icons/utox-128x128.png -o >diff --git a/uTox.new/files/patch-src_ui.c b/uTox.new/files/patch-src_ui.c >new file mode 100644 >index 0000000..1d23026 >--- /dev/null >+++ b/uTox.new/files/patch-src_ui.c >@@ -0,0 +1,21 @@ >+--- src/ui.c.orig 2016-03-08 23:47:27.502538000 +0200 >++++ src/ui.c 2016-03-08 23:47:41.255378000 +0200 >+@@ -275,16 +275,9 @@ >+ setfont(FONT_SELF_NAME); >+ drawstr(MAIN_LEFT + SCALE(10), SCALE(10), UTOX_SETTINGS); >+ #ifdef GIT_VERSION >+- int x = MAIN_LEFT + SCALE(10) + UTOX_STR_WIDTH(UTOX_SETTINGS) + SCALE(10); >++ int x = MAIN_LEFT + UTOX_SCALE(5 ) + UTOX_STR_WIDTH(UTOX_SETTINGS) + UTOX_SCALE(5 ); >+ setfont(FONT_TEXT); >+- drawtext(x, SCALE(10), (uint8_t*)GIT_VERSION, strlen(GIT_VERSION)); >+- char version_string[64]; >+- int count; >+- count = snprintf(version_string, 64, "Core v%u.%u.%u ToxAV v%u.%u.%u ToxES v%u.%u.%u", >+- tox_version_major(), tox_version_minor(), tox_version_patch(), >+- toxav_version_major(), toxav_version_minor(), toxav_version_patch(), >+- toxes_version_major(), toxes_version_minor(), toxes_version_patch()); >+- drawtextwidth_right(w, textwidth((char_t*)version_string, count), SCALE(10), (uint8_t*)version_string, strlen(version_string)); >++ drawtext(x, UTOX_SCALE(5), (uint8_t*)GIT_VERSION, strlen(GIT_VERSION)); >+ #endif >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 208230
: 168527