Bug 147550 - [PORT UPDATE] net/skype update to 2.1.0.81
Summary: [PORT UPDATE] net/skype update to 2.1.0.81
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ion-Mihai "IOnut" Tetcu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-06 06:10 UTC by hashiz
Modified: 2011-05-13 07:58 UTC (History)
0 users

See Also:


Attachments
Mk::bsd.linux-apps.mk.patch (1.23 KB, patch)
2010-06-06 06:10 UTC, hashiz
no flags Details | Diff
file.diff (2.25 KB, patch)
2010-06-06 06:10 UTC, hashiz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hashiz 2010-06-06 06:10:08 UTC
	net/skype was BROKEN.

Fix: Update skype to 2.1.0.81.
	And add alsa-oss plugin for linux environment.
	skype -> alsa-lib -> alsa-oss plugin -> /dev/dsp

	see http://www.freebsd.org/cgi/query-pr.cgi?pr=147549
How-To-Repeat: 	cd /usr/ports/net/skype
	make build
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-06-06 06:10:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->itetcu

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2010-06-06 08:34:18 UTC
State Changed
From-To: open->feedback

Hi, 

First of all many thanks for your work and helping use to get skype 
again working.  I've tested your patchset and the new port. 
Unfortunately it fails to start, i get the message Please reinstall 
Skype, Binary file corrupted. 

Tested under i386 and AMD64 (HEAD from yesterday) 

FreeBSD miwi.homeunix.com 8.0-STABLE-201005 FreeBSD 8.0-STABLE-201005 
#0: Fri May  7 00:19:29 UTC 2010 
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386 

Any ideas?
Comment 3 hashiz 2010-06-06 12:54:25 UTC
----Next_Part(Sun_Jun__6_20_54_25_2010_700)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

First.

This patch is still imperfect.

Skype cannot input the voice.

In "Re: ports/147550: [PORT UPDATE] net/skype update to 2.1.0.81" at Sun, 6 Jun 2010 07:37:08 GMT
 miwi@FreeBSD.org  wrote:
> Synopsis: [PORT UPDATE] net/skype update to 2.1.0.81
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: miwi
> State-Changed-When: Sun Jun 6 07:34:18 UTC 2010
> State-Changed-Why: 
> Hi,
> 
> First of all many thanks for your work and helping use to get skype
> again working.  I've tested your patchset and the new port.
> Unfortunately it fails to start, i get the message Please reinstall
> Skype, Binary file corrupted.

My mistake.

This patch Brandelf 'Linux' to skype binary.
But skype new binary does not permit falsification.

> Tested under i386 and AMD64 (HEAD from yesterday)
> 
> FreeBSD miwi.homeunix.com 8.0-STABLE-201005 FreeBSD 8.0-STABLE-201005
> #0: Fri May  7 00:19:29 UTC 2010
> root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> 
> Any ideas?
> http://www.freebsd.org/cgi/query-pr.cgi?pr=147550
> 

Corrected patch follow.

----Next_Part(Sun_Jun__6_20_54_25_2010_700)--
Content-Type: Text/X-Patch; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="net::skype.patch"

diff -ru net/skype.orig/Makefile net/skype/Makefile
--- net/skype.orig/Makefile	2010-03-01 21:27:37.000000000 +0900
+++ net/skype/Makefile	2010-06-06 20:50:15.000000000 +0900
@@ -9,11 +9,11 @@
 #
 
 PORTNAME=	skype
-PORTVERSION=	2.0.0.72
+PORTVERSION=	2.1.0.81
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	http://download.skype.com/linux/
-DISTNAME=	skype_static-${DISTVERSION}-oss
+DISTNAME=	skype_static-${DISTVERSION}
 
 MAINTAINER=	itetcu@FreeBSD.org
 COMMENT=	P2P VoIP software
@@ -25,14 +25,12 @@
 USE_LINUX_APPS+=dri
 .endif
 
-BROKEN=		This is the last version of skype that works on FreeBSD, but the distfile is no longer available from the vendor, and won't be in the future. We are working on alternative solutions.
-
 USE_BZIP2=	yes
 USE_LINUX=	yes
-USE_LINUX_APPS+=alsalib expat fontconfig libsigcpp20
+USE_LINUX_APPS+=alsalib expat fontconfig libsigcpp20 alsapluginsoss
 RESTRICTED=	Redistribution prohibited.
 
-WRKSRC=		${WRKDIR}/${PORTNAME}_static-${DISTVERSION}-oss
+WRKSRC=		${WRKDIR}/${PORTNAME}_static-${DISTVERSION}
 SKYPEDIR=	share/skype
 PORTDOCS=	LICENSE README
 PLIST_SUB+=	SKYPEDIR=${SKYPEDIR}
@@ -57,7 +55,7 @@
 	@${ECHO_MSG}	""
 
 do-build:
-	@${BRANDELF} -t Linux ${WRKSRC}/skype
+#	@${BRANDELF} -t Linux ${WRKSRC}/skype
 
 do-install:
 	@${INSTALL} -d ${PREFIX}/share/applications
diff -ru net/skype.orig/distinfo net/skype/distinfo
--- net/skype.orig/distinfo	2008-06-19 10:31:13.000000000 +0900
+++ net/skype/distinfo	2010-06-06 20:49:42.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (skype_static-2.0.0.72-oss.tar.bz2) = ff41dd31906484863884ee0a7da441c1
-SHA256 (skype_static-2.0.0.72-oss.tar.bz2) = dbb70b25ec16202b867d8336649c8314f9fd8d224cf78ee444f168c8a67e5b6c
-SIZE (skype_static-2.0.0.72-oss.tar.bz2) = 21587040
+MD5 (skype_static-2.1.0.81.tar.bz2) = 137a4a749c8fb3b76c3410514c7e2053
+SHA256 (skype_static-2.1.0.81.tar.bz2) = 5cbdc7c07b47af01607ac6d0b7285368866f92a244f52aed68c4f7c227d466ae
+SIZE (skype_static-2.1.0.81.tar.bz2) = 27555345
diff -ru net/skype.orig/pkg-plist net/skype/pkg-plist
--- net/skype.orig/pkg-plist	2008-11-26 12:21:47.000000000 +0900
+++ net/skype/pkg-plist	2010-06-06 20:49:42.000000000 +0900
@@ -101,6 +101,8 @@
 %%SKYPEDIR%%/lang/skype_th.ts
 %%SKYPEDIR%%/lang/skype_tr.qm
 %%SKYPEDIR%%/lang/skype_tr.ts
+%%SKYPEDIR%%/lang/skype_uk.qm
+%%SKYPEDIR%%/lang/skype_uk.ts
 %%SKYPEDIR%%/lang/skype_zh_s.qm
 %%SKYPEDIR%%/lang/skype_zh_s.ts
 %%SKYPEDIR%%/lang/skype_zh_t.qm
Only in net/skype: work

----Next_Part(Sun_Jun__6_20_54_25_2010_700)----
Comment 4 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2010-06-06 13:28:50 UTC
On Sun, 06 Jun 2010 20:54:25 +0900 (JST)
HASHI Hiroaki <hashiz@meridiani.jp> wrote:

> First.
> 
> This patch is still imperfect.
> 
> Skype cannot input the voice.


Yes, that's why I didn't update the port.

I'll update -devel instead.

So far, despite the efforts miwi@, fluffy@ and myself we couldn't make
newer skype version work with either alsa or pulse.

-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B
Comment 5 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2010-09-26 21:35:25 UTC
State Changed
From-To: feedback->suspended

Suspend until a solution to the voice problem can be found.
Comment 6 dfilter service freebsd_committer freebsd_triage 2011-05-11 10:51:21 UTC
itetcu      2011-05-11 09:51:07 UTC

  FreeBSD ports repository

  Modified files:
    .                    MOVED 
    net                  Makefile 
    net-im               Makefile 
    net-im/skype         Makefile distinfo pkg-plist 
    net-im/skype/files   skype.sh.in 
    net-im/skype20       Makefile pkg-descr 
  Added files:
    net-im/skype         pkg-message 
  Removed files:
    net/skype            Makefile distinfo pkg-descr pkg-plist 
    net/skype/files      skype.sh.in 
  Log:
  1. preserve the latest skype version that has OSS support as net-im/skype20
  (but schedule it for removal soon)
  
  2. update net-im/skype to 2.1.0.81.
  - It supports sound and video, please read the pkg-message to find out how to
  make it work.
  - OPTIONify
  
  Both ports are based on repocopy from net/skype.
  
  Many thanks to: avg@, nox@, kwm@, miwi@, netchild@ and many others
  
  PR:             147550 [1], 156860 [2] (partially based on)
  Submitted by:   HASHI Hiroaki <hashiz@meridiani.jp> [1],
                  patch from nox@ [2]
  
  Revision  Changes    Path
  1.2453    +2 -1      ports/MOVED
  1.148     +2 -0      ports/net-im/Makefile
  1.59      +46 -30    ports/net-im/skype/Makefile
  1.26      +2 -2      ports/net-im/skype/distinfo
  1.3       +2 -2      ports/net-im/skype/files/skype.sh.in
  1.1       +101 -0    ports/net-im/skype/pkg-message (new)
  1.16      +2 -0      ports/net-im/skype/pkg-plist
  1.59      +14 -11    ports/net-im/skype20/Makefile
  1.4       +2 -0      ports/net-im/skype20/pkg-descr
  1.2338    +0 -1      ports/net/Makefile
  1.58      +0 -81     ports/net/skype/Makefile (dead)
  1.25      +0 -2      ports/net/skype/distinfo (dead)
  1.2       +0 -3      ports/net/skype/files/skype.sh.in (dead)
  1.3       +0 -5      ports/net/skype/pkg-descr (dead)
  1.15      +0 -135    ports/net/skype/pkg-plist (dead)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2011-05-13 07:58:32 UTC
State Changed
From-To: suspended->closed

Skype ports updated, thanks for your submissions.