INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]   Go Down

Author Topic: mediacenter in Archlinux  (Read 41341 times)

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #50 on: April 22, 2014, 03:54:32 pm »

If I understand right with the last version I should remove lib32-curl (in my case lib32-curl-jriver, since the official version will make jriver segfault) lib32-libssh2, lib32-libidn (not possible to remove, used by acroread), libcrypt (libgcrypt?, I don't have it), libz (what is this in Arch?)
libcurl is not used anymore....? I don't see it in your debian package in /usr/lib/jriver...

Ok, I have removed lib32-curl-jriver and ib32-libssh2, however is not working. If I start mediacenter19 I will have a segfault.
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #51 on: April 22, 2014, 04:10:23 pm »

In the debian package there is data.tar.xz instead of data.tar.gz, so makepkg was using the one from a previous package!!

Now is working
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #52 on: April 22, 2014, 04:12:22 pm »

So what did you do exactly?

I extracted the deb and the data file that comes of that, and copied it over /usr/*.

When that still segfaulted, I removed the libcurl files from /usr/lib/etc.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: mediacenter in Archlinux
« Reply #53 on: April 22, 2014, 04:16:07 pm »

In the debian package there is data.tar.xz instead of data.tar.gz, so makepkg was using the one from a previous package!!

Now is working

Sorry about that. Was trying to make a smaller package.
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #54 on: April 22, 2014, 04:17:01 pm »

pacman -R lib32-curl-jriver lib32-libssh2
pacman -U jriver-media-center-19.0.129.1-1-x86_64.pkg.tar.xz

The package jriver-media-center-19.0.129.1-1-x86_64.pkg.tar.xz is made with
makepkg PKGBUILD

The contents of PKGBUILD (not perfect but working)

# Contributor: Doug Newgard <scimmia at archlinux dot info>

pkgname=jriver-media-center
_debpkgver=19.0.129
_debpkgrel=1
pkgver=$_debpkgver.$_debpkgrel
pkgrel=1
pkgdesc="The Most Comprehensive Media Software"
arch=('x86_64')
url="http://www.jriver.com/"
license=('unknown')
depends=('lib32-alsa-lib' 'lib32-gcc-libs' 'lib32-libx11')
#source=("http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-$_debpkgver-$_debpkgrel.deb")
source=("http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-$_debpkgver.deb")
sha256sums=('7664fa8112b92f622602fa9c3e17242852f2d82ce5641def3da25df01aaa3a04')

package() {
  cd "$srcdir"
  bsdtar xf data.tar.xz -C "$pkgdir"
}
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #55 on: April 22, 2014, 04:27:14 pm »

Thanks hifi.

Few things, I can't remove lib32-ssh2, it depends on lib32-curl. Removing both will also remove flashplugin and some other stuff.

The latest mediacenter package is 129-3. I simply adjusted the package build and built it, that part works.

I removed both jriver and jriver-curl and installed the newly created package.

This is still segfaulting for me.
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #56 on: April 22, 2014, 04:35:58 pm »

...you should install flashplugin not lib32-flashplugin.

It is strange: I have installed in another computer and I have a segfault. In the first computer is fine.
In both I have removed lib32-curl-jriver lib32-libssh2
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: mediacenter in Archlinux
« Reply #57 on: April 22, 2014, 04:39:51 pm »

I'm getting ready to try and install this distro.
MC shouldn't care if you have installed any libcurl, libssh stuff. It's not supposed to be using any of it.
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #58 on: April 22, 2014, 04:41:31 pm »

Bob,

You're awesome.

Thank you!
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #59 on: April 22, 2014, 05:03:21 pm »

Last package 129-3 is working fine in both systems!

PKGBUILD:

# Contributor: Doug Newgard <scimmia at archlinux dot info>

pkgname=jriver-media-center
_debpkgver=19.0.129
_debpkgrel=3
pkgver=$_debpkgver.$_debpkgrel
pkgrel=1
pkgdesc="The Most Comprehensive Media Software"
arch=('x86_64')
url="http://www.jriver.com/"
license=('unknown')
depends=('lib32-alsa-lib' 'lib32-gcc-libs' 'lib32-libx11')
source=("http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-$_debpkgver-$_debpkgrel.deb")
#source=("http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-$_debpkgver.deb")
sha256sums=('30bf27fc747aabe589631ec35d6e7811fd41b4524d6b7f4ffe49c35fa745b337')

package() {
  cd "$srcdir"
  bsdtar xf data.tar.xz -C "$pkgdir"
}
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #60 on: April 22, 2014, 05:13:32 pm »

Working!

I redid the makepkg with that PKGBUILD and reinstalled. The only thing that was different is the sha256sum.
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #61 on: May 14, 2014, 08:15:44 am »

Updated PKGBUILD

Code: [Select]
# Contributor: Doug Newgard <scimmia at archlinux dot info>

pkgname=jriver-media-center
_debpkgver=19.0.133
_debpkgrel=2
pkgver=$_debpkgver.$_debpkgrel
pkgrel=1
pkgdesc="The Most Comprehensive Media Software"
arch=('x86_64')
url="http://www.jriver.com/"
license=('unknown')
depends=('lib32-alsa-lib' 'lib32-gcc-libs' 'lib32-libx11')
source=("http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-$_debpkgver-$_debpkgrel.deb")
#source=("http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-$_debpkgver.deb")
sha256sums=('673a4481069d80a7e807605cc2dd5faa2028cc13e19949cdffe190692c92c15b')

package() {
  cd "$srcdir"
  bsdtar xf data.tar.xz -C "$pkgdir"
}
Logged

code59656

  • Member
  • *
  • Posts: 2
Re: mediacenter in Archlinux
« Reply #62 on: May 18, 2014, 08:46:58 pm »

lib32-curl-jriver ERROR!
"Error. Please check config.log"
Can anyone update the PKGBUILD for that, or do I need to uninstall lib32-gcc? (You need to uninstall lib32-gcc to install multilib-*)
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #63 on: May 19, 2014, 12:54:18 am »

With the latest versions you don't need any more lib32-curl-jriver, you can remove it.
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #64 on: May 19, 2014, 01:04:54 am »

Updated PKGBUILD

Code: [Select]
# Contributor: Doug Newgard <scimmia at archlinux dot info>

pkgname=jriver-media-center
_debpkgver=19.0.134
#_debpkgrel=2
pkgver=$_debpkgver.$_debpkgrel
pkgrel=1
pkgdesc="The Most Comprehensive Media Software"
arch=('x86_64')
url="http://www.jriver.com/"
license=('unknown')
depends=('lib32-alsa-lib' 'lib32-gcc-libs' 'lib32-libx11')
#source=("http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-$_debpkgver-$_debpkgrel.deb")
source=("http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-$_debpkgver.deb")
sha256sums=('a6973f35382c737ba662191bd2a143e335caa00e9d36b014df74c6a698f6d896')

package() {
  cd "$srcdir"
  bsdtar xf data.tar.xz -C "$pkgdir"
}
Logged

code59656

  • Member
  • *
  • Posts: 2
Re: mediacenter in Archlinux
« Reply #65 on: May 19, 2014, 08:17:35 am »

Thank You Very Much for the updated media-center-134 PKGBUILD! It works perfectly!
This is very easy for someone new to Arch, like me.
I would give a screenshot, but maximum upload size is 700kb :(
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #66 on: May 19, 2014, 02:58:26 pm »

Now there is an official AUR package!

https://aur.archlinux.org/packages/jriver-media-center/

Maintainer is blackhole, that is me...

For installation you can use:
yaourt jriver-media-center

or use another AUR package application of your choice.

What should I write in the field "licence"?

Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #67 on: May 19, 2014, 03:00:36 pm »

Very nice, thanks!
Logged

audiolover

  • Junior Woodchuck
  • **
  • Posts: 93
Re: mediacenter in Archlinux
« Reply #68 on: May 26, 2014, 06:55:00 am »

Does Archlinux have an advantage over Debian or is it "just" another distro?
I am currently on Debian as JRiver is officially build on that Distro.
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #69 on: May 26, 2014, 07:25:09 am »

Read:
https://wiki.archlinux.org/index.php/Arch_Linux
https://wiki.archlinux.org/index.php/The_Arch_Way

That all sounds nice if that's the sort of thing that tickles your imagination.

In day to day business, Arch is a rolling distribution that contians the latest features, fixes and of course, their bugs. Debian is different in that respect in that it only sees security and bug fixes, but no major version updates for components (or at least, not very often to my knowledge).

Arch requires a little more attention and I suppose its a little steeper to get it running, to get used to and to maintain. On the other hand, their wiki, guides and forums contain very accurate information and so far, anything I needed was found working and up to date on their wiki/forum.

Arch still seems to have a reputation of breaking regularly. This is no longer the case, at least not for me and the people I know that run Arch (which I admit, is only a handful of people). For the months with a steady flow of almost daily updates including big kernel and other core OS updates, I've not seen or heard of anything break.

With Debian, I ran into bugs that I couldn't get rid of, because updating a major component on Debian (not on the official repositories means compiling from source) required me recompile dozens of libraries and other dependencies (it just cascades into half the system) and then still break the system on the next update. On Arch this is a lot easier to fix or prevent from happening.

You could choose to update Debian from Stable to Testing or even unstable (sid). I tried and testing works quite well but missed some stuff for me, testing seems just broken most of the time. I hear people claim Sid is working fine for them, so I suppose it just depends and the same could be said for Arch.

The best thing you can do is to just try it :).
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #70 on: July 22, 2014, 05:02:39 am »

I remember that the AUR package is always up to date. Now 19.0.152 at

https://aur.archlinux.org/packages/jriver-media-center/
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5242
  • "Linux Merit Badge" Recipient
Re: mediacenter in Archlinux
« Reply #71 on: August 05, 2014, 12:13:03 am »

I just wanted to thank hifi25nl and Inflatable Mouse for this thread, I just got MC up and running in arch and I never would have managed it without this thread (and that AUR package).  Thanks a million  ;D

Quick question for hifi25nl; I installed the AUR and the listed dependencies on a comparatively blank Arch build, but MC did not initially run (gave me a black screen).  After re-reading this thread and some other threads, I also pulled lib32-curl and that solved the issue (MC ran fine after that).  Should lib32-curl be listed as a dependency in the AUR package?

Either way, MC's running for me! Thanks again!
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #72 on: August 05, 2014, 02:32:53 am »

Awesome! Good choice on Arch. Out of all the Linux distro's I tried, its the least buggy one for me, it's been running flawless. I update about once a week.

How did the installation of Arch go for you? Are you an experienced Linux user? Did you follow their wiki installation guide?

You know about yaourt AUR package? If not, look it up and install it, it will make installing packages from AUR simple like installing official applications with pacman.

If you need any help with anything feel free to ask, PM me if you think its offtopic.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5242
  • "Linux Merit Badge" Recipient
Re: mediacenter in Archlinux
« Reply #73 on: August 05, 2014, 10:44:14 am »

Awesome! Good choice on Arch. Out of all the Linux distro's I tried, its the least buggy one for me, it's been running flawless. I update about once a week.

How did the installation of Arch go for you? Are you an experienced Linux user? Did you follow their wiki installation guide?

You know about yaourt AUR package? If not, look it up and install it, it will make installing packages from AUR simple like installing official applications with pacman.

If you need any help with anything feel free to ask, PM me if you think its offtopic.

I actually tried Arch because of your recommendations in various threads.  I initially tried installing Debian Wheezy from an iso to dual boot with win 8, but the debian installer completely screwed up the boot record such that neither wheezy nor win 8 would boot (apparently it's a known problem that if your linux boot drive is not on the first drive (sda) debian sometimes borks the MBR with the auto install)!  I tried doing some recovery operations, but after the third failed try of getting Wheezy going, and seeing how unhelpful the Debian installation FAQs were, I took a look at the Arch beginner's guide and figured "why not."  

The Arch install went pretty easily (worked the first time, up and running in a few hours).  If I were writing the Arch beginner guide, I might rewrite a few parts for clarity, but on the whole it went great.  I'm not a super experienced Linux user, but I have some IT background ( I used to do C and pascal programming (as well as dos scripting) in the 90's). My first linux experience was setting up a headless linux server in my house about two months ago using Mint.  I realized too late that the defaut mint Cinnamon DE spin breaks VNC and X forwarding completely with my hardware, which meant I had to learn how to do remote administration through the command line.  Thankfully CLI interfaces and scripting aren't totally foreign to me, so I picked up bash pretty quickly.  If I hadn't spent the last two months learning my way around the CLI, and manually configuring ssh and samba shares, etc. I might have been daunted by Arch, but as it was, it seemed like a fun project (and a way to rescue my borked laptop)

I actually used yaourt to install the JRiver package after trying unsuccessfully to build it myself.  The issue wasn't resolved by yaourt, which is when I realized that that I wasn't subscribed to the multilib repo so I couldn't satisfy the dependencies (d'oh).  After that the yaourt jriver install went smoothly (other than the absence of lib32-curl).

Thanks for the offer, I'm sure I'll have some questions for you in PM before too long  ;D

Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #74 on: September 09, 2014, 06:16:51 am »

For video support in archlinux there is:
lib32-nvidia-libgl for nvidia closed source driver
lib32-mesa-libgl for open source driver

The results:
lib32-nvidia-libgl is working fine. Some flash but strangely this disappeared after some time (?)
lib32-mesa-libgl is NOT working. There is a segmentation fault when a video is started (both with hardware acceleration enabled or disabled)

However I have upgraded the AUR package to version 20.0.13
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #75 on: September 09, 2014, 06:29:47 am »

Did you revert back to nouveau for lib32-mesa and did you check it was working properly?
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #76 on: September 09, 2014, 06:39:40 am »

The test has been made in two different computers, one with only nouveau driver one with only nvidia closed source.

In dmesg the error message is:

mediacenter20[2495]: segfault at e2500000 ip 00000000457ab8d8 sp 00000000e78ee9f4 error 6 in libc-2.19.so[4567b000+1bb000]
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #77 on: September 12, 2014, 04:35:35 am »

The problem has been partially solved in the computer with the last linux realtime kernel.
I have installed nvidia-rt (special version for linux-rt) and now on this computer with a Benq 7000 video projector video is playing fine without flash.
Logged

tiguan

  • Recent member
  • *
  • Posts: 17
Re: mediacenter in Archlinux
« Reply #78 on: October 01, 2014, 06:44:31 am »

I am using already debian+MC20 but on the other partition with AP-Linux v3 (which is developed over Arch Linux) I want to install as well and compare.

I have read all messages in this topic and searched thorough internet. I found this page;

http://linuxandfriends.com/arch-linux-how-to-install-packages-from-aur/

Should I follow all instructions at this website to install MC20. Any additional thing?

" just as a final stage I should type;

$ yaourt jriver-media-center "


Am I correct? Thanks in advance for the assistance.
Logged

hifi25nl

  • Junior Woodchuck
  • **
  • Posts: 68
Re: mediacenter in Archlinux
« Reply #79 on: October 01, 2014, 06:52:41 am »

Yes, it is very easy, "yaourt jriver-media-center" should install the package without problems.
Logged

tiguan

  • Recent member
  • *
  • Posts: 17
Re:
« Reply #80 on: October 01, 2014, 07:03:35 am »

Thanks for fast reply...
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #81 on: October 01, 2014, 07:41:59 am »

yaourt -Ss [packagename] to search
yaourt -S [packagename] to install

I know it works without the operator and options but its simply not a very good pratice to asume a command defaults to a certain operation. One day the defaults change (a developters' mistake?) to -Rcn and you'll be left with a broken system.

My advice: learn to use operators and their options and be specific about what you want a command to do (any command, basically). Yaourt is developed to accept the same operators and parameters as pacman so if you know one, you know them both.
Logged

tiguan

  • Recent member
  • *
  • Posts: 17
Re: Ynt: mediacenter in Archlinux
« Reply #82 on: October 01, 2014, 01:00:47 pm »

Last 1 hour I am trying to install MC20 to aplinux. Without success.
First İ tried simply yaourt jriver-media-center.
Reported yaourt bad command.
Ok Tried to load yaourt
Received this result.


Then tried to install MC manual but again without success
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #83 on: October 01, 2014, 01:05:50 pm »

It says right there on your screen what the problem is:

Missing dependency: package-query.

Download it from AUR and build it. Then build yaourt. Then you can install jriver-media-center.

Did you enable multilib? You're going to need it for MC's dependencies.
Logged

tiguan

  • Recent member
  • *
  • Posts: 17
Re:
« Reply #84 on: October 02, 2014, 05:48:19 am »

İ tried all ways wget one by one yaourt tar and pkgbuild. Make -s
Also like the link İ shared above. Same message always.
İ installed package-query but the same message when building yaourt
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #85 on: October 02, 2014, 05:57:01 am »

First, stop running everything with root. Use sudo when you have to. Pkgbuild should be run as user.

After building with pkgbuild, you need to install the package.

Install it with:

sudo pacman -U package-query-1.4-1-x86_64.pkg.tar.xz

Correct the filename if yours is named differently.

After that, build yaourt and install it the same way.

If that fails, post the error messages it fails with. Make sure if compains about a missing dependency that you install that first.

Then, if yaourt is installed, you can install MC as follows:

yaourt -S jriver-media-center

Accept to install all the dependencies.

You should also install the following, they are not hard depencies but will make things easier:

lame, xorg-fonts-100dpi, xorg-fonts-75dpi.
Logged

tiguan

  • Recent member
  • *
  • Posts: 17
Re:
« Reply #86 on: October 02, 2014, 06:43:26 am »

Ok thanks. I just tried that and at sudo pacman ....
I got the message
Error:failed to init transaction (unable to lock database)
Error: could not lock database: read-only file system

I found in the net , the command about permission check ls -l
Result is total 0
Read-only or permissions stops me to go further
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #87 on: October 02, 2014, 12:53:32 pm »

Did you abort a pacman action (ie, ctrl-c or ctrl-/)??

Or maybe you closed a terminal while one was active and now its hanging in the background?

Either way, make sure there is not another instance of pacman running.

Do a sudo ps aux|grep pacman

If there's one still active and, kill it.

Then do sudo rm /var/lib/pacman/db.lck

and try again.

I hope your package database is not corrupt ...
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: mediacenter in Archlinux
« Reply #88 on: October 23, 2014, 12:10:05 am »

For our Arch Linux users who are not subscribed to the Arch-announce (which you should):

Quote
Microcode on Intel CPUs is no longer loaded automatically, as it needs to be
loaded very early in the boot process. This requires adjustments in the
bootloader. If you have an Intel CPU, please follow [the instructions in the
wiki][1].

   [1]:
https://wiki.archlinux.org/index.php/Microcode#Enabling_Intel_Microcode_Updates

URL: https://www.archlinux.org/news/changes-to-intel-microcodeupdates/
Logged

pcmsc

  • Recent member
  • *
  • Posts: 13
Re: mediacenter in Archlinux
« Reply #89 on: August 07, 2015, 01:47:15 am »

The problem has been partially solved in the computer with the last linux realtime kernel.
I have installed nvidia-rt (special version for linux-rt) and now on this computer with a Benq 7000 video projector video is playing fine without flash.

Thank you very much to pay, if you can write an installation guide MC working at Arch linux, it would be great.
Logged
Pages: 1 [2]   Go Up