From nobody Tue Nov 21 19:06:53 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SZYlb3JFJz527p7 for ; Tue, 21 Nov 2023 19:07:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZYlZ6gksz4t1q for ; Tue, 21 Nov 2023 19:07:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; none Received: from terra.edvax.de ([178.12.114.137]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1Mhnnc-1ra9w71RsO-00dlrL; Tue, 21 Nov 2023 20:07:03 +0100 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.17.1/8.17.1) with ESMTPA id 3ALJ6wNB032829; Tue, 21 Nov 2023 20:06:58 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 21 Nov 2023 20:06:53 +0100 From: Polytropon To: Joe B Cc: freebsd-questions@freebsd.org Subject: Re: Trying to get spotify working Message-Id: <20231121200653.1b8cae0e.freebsd@edvax.de> In-Reply-To: <20231121000443.3e975f52@freebsd2> References: <20231121000443.3e975f52@freebsd2> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:q/Sn/m+br7l1fHQz2340Jkbc3UQDTGLD4caW78akdOFpVka2Y9d hMh/agOijcxNjJunhhKeWk5F0uLnTmEoGjl1dgTk0flwRljLxgxQdmmGDS11XnZBxNcGm3N HcQR6tmzDejD0k8WHNmMGR3tjIbRzQMFuHVis8kdJk0gOpd/Zy34SGfFohfY29M4kR1g3lf EnAXXFzjb3wMNyd5R/S3Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Ie1Kxk0DKcQ=;Nt8lS0fabLkWYiJk5TWAUGVbqc/ x1z1GBHaqTK1v/j9srq8PXMmgCp7TtETY1vE3kWgTdYGpFHMgR0vPCeKeNMeyvAZWZGX63Fzu mAyWuYot5SF1qgYMqtqiUAkCnZzIeohHOgbW+d1ED+LGKi+tMHs0BchIfbK5Az7IirKSMSuPy ZAphA6zuxTZ3cH1fmP9KTzH0OAVfwk7U3lD899iufUA1qG+aQy46reyGcfIbYM6OfKU1djC1J 6f/PeWQFjZ5eoZAhw6gSdDVfjvcWFvxeALmCQ63/zDuM7cm7diom4F55C42KoGCMvRPmgpRAR z4vs2y0A8zjw8HVt4Gw76mJwDxE3LqyxMJuDCx1g6ghKabD9R866K+cno32VHLmcN1MO5/gTa qvsj353KTcjX5uTLtxoBftiWgSc7miwonSYi2W72RKO6O8m6VOgOJ9m+OS7sCIpZok/Gbs2nv Hc3Dg4Rd6KiESBFSHOZq+JBBy7SdVs1x8/TgyV6IR7MgTEbTD5Zi603sLkLUheebWA0iL+RMj ixONnD6WL9XV7ej1YweGHjweXdk5MxKzo4K45uBQnj7GEWU/ERac+IDbR55AOJB097FlNupzp Gj/AHcP0972cUAiYTAbTUsOtNcKxm4HjNyvdFny0MLO2zVFLPpeq6v1LOuVm8uAEvV7UHpPn4 ItiEHIYo2m7amz5Kjp2OA6ckmFzuchPcIiG6Co8MscxR6H/S3raSufTvXmq5JEUnJ4grp3pHa goKIFAKpyg5dy2Ki5ulHX21aq7Iej00/p3nVz4inEs8bkaljn39Y0XjsheE2N9pz7aJqm95M3 G5V2VIbRhn198wRw7KeVv38uruQNoZuG39pAGpBJnePt1oyk7+ePxfukJtjWC3WyJfthcIxN3 ya4Lk8SGXXyyG/g== X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4SZYlZ6gksz4t1q On Tue, 21 Nov 2023 00:04:43 -0800, Joe B wrote: > So I followed this post > > https://forums.freebsd.org/threads/watching-spotify-and-listening-to-netflix-in-2023.90695/#post-626065 > > It was asking me a lot of prompts and i was like im just going to see > if it works > > After it failed to compile i was like let me remove it. so i did a make > deinstall clean. After about 30 mins i went back to the tty where it > was and it was skipping packages that weren't there and eventually i > just stopped it. went to startx and i was missing lots of modules. I > reinstaled and everything is workinga again exepct no spotify > > Question is when is it safe to use make deinstall ? When you are inside the directory of the official port, i. e., /usr/ports//, that you want to deinstall. See "man 7 ports" for details. The files /usr/ports/Makefile and /usr/ports/Mk/* contain the implementation of "deinstall" at the possible locations. > I was wondering since the forum post had me in 1 directory that wasn't > offical is that the reason why it removed stuff at the root level? That is quite possible. The thread in the web forum instructs you to do this: % sudo pkg install chromium # 117.0.5938.149_2 or higher % sudo pkg install foreign-cdm % sudo sysrc linux_enable="YES" % sudo service linux start % git clone --depth 1 https://github.com/freebsd/freebsd-ports % cd freebsd-ports/www/linux-widevine-cdm % make % sudo make install This seems to be relative to your current location whatever that might be ($PWD). From that (undefined) point, a directory freebsd-ports with the subdirecotires www and linux-widevine-cdm will be created. If this happens inside /usr/ports (which it shouldn't, as it also requires root permissions to write to there), a "make deinstall"... well, actually this sounds wrong. I have no idea what's inside the git repository, so any unwanted side effect could be possible, like a temporary change to /usr/ports... If you assume that you run "make deinstall" from the /usr/ports/www directory, it will iterate though the ports found there and try to deinstall them. If there is a /usr/ports/www/linux-widevine-cdm, and you run "make deinstall" from there, it will only deinstall the linux-widevine-cdm port - of course the official version. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...