Package Details: gerbera-git 2:1.9.2.r281.g6ed650c4-1

Git Clone URL: https://aur.archlinux.org/gerbera-git.git (read-only, click to copy)
Package Base: gerbera-git
Description: UPnP Media Server (Based on MediaTomb)
Upstream URL: https://github.com/gerbera/gerbera
Licenses: GPL2
Conflicts: gerbera
Provides: gerbera
Submitter: bhedrich
Maintainer: Rogach
Last Packager: Rogach
Votes: 1
Popularity: 0.000000
First Submitted: 2017-08-05 18:25 (UTC)
Last Updated: 2021-12-25 17:26 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

kyak commented on 2020-03-15 09:08 (UTC)

And you should more than definitely switch to the official gerbera/gerbera.git.

Whyman is one of developers, and his branch can easily fall behind the master.

Just like at the time of this writing, his branch is three commits behind the master.

kyak commented on 2020-03-15 06:36 (UTC) (edited on 2020-03-15 06:37 (UTC) by kyak)

Also, if you want to use libupnp18 instead of libupnp, you need the following (similar to gerbera package):

sed -i 's/${PC_UPNP_LIBRARIES}//g' cmake/FindLibUpnp.cmake

kyak commented on 2020-03-14 09:36 (UTC)

The git version is missing the following deps: fmt, spdlog, pugixml,

Rogach commented on 2020-03-06 12:31 (UTC)

It looks like it is a whyman's personal fork, that he uses for his branches - he is active in the main repo as well.

maderios commented on 2020-03-06 12:22 (UTC)

Good question. It redirects to 'https://github.com/whyman/gerbera', it's seen as Whyman fork but Whyman is Gerbera dev. Confusing...

Rogach commented on 2020-03-06 11:36 (UTC)

@bhedrich Why this PKGBUILD uses whyman/gerbera instead of gerbera/gerbera repository?

Rogach commented on 2020-03-03 18:46 (UTC) (edited on 2020-03-06 10:57 (UTC) by Rogach)

@maderios When I was talking about "necessary packages" I meant fmt, spdlog and pugixml - these are not listed in PKGBUILD and thus are not automatically installed.

Do you have these packages - could you please check with pacman -Qi spdlog?

maderios commented on 2020-03-03 17:52 (UTC)

I have not "the necessary packages" to build, i just do 'makepkg -sicC' in main directory package to build. As you see in PKGBUILD, Gerbera needs libupnp18. All dependencies are automatically downloaded and installed. Nothing to do, all is very simple because makepkg does the job.

Rogach commented on 2020-03-02 21:12 (UTC)

@maderios Yes, I am most definitely using Arch system.

I suspect you did not have problems because you already had the necessary packages installed. You can try the following to reproduce the problems I had:

sudo pacman -R fmt spdlog pugixml
sudo pacman -S libupnp
sudo pacman -R libupnp18
cd gerbera-git/
makepkg -s

After these steps I get the following error:

-- Found UPnP: /usr/lib/libupnp.so (found version "1.6.25") 
CMake Error at CMakeLists.txt:301 (message):
  gerbera requires libupnp 1.8.6 or above.

1.6.25 is the version from extra/libupnp, it seems to interfere with building, so I removed it:

sudo pacman -R libupnp

After that the correct version of libupnp is found, but I see the next error:

CMake Error at CMakeLists.txt:322 (find_package):
  By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "fmt", but
  CMake did not find one.

  Could not find a package configuration file provided by "fmt" with any of
  the following names:

    fmtConfig.cmake
    fmt-config.cmake

  Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
  to a directory containing one of the above files.  If "fmt" provides a
  separate development package or SDK, be sure it has been installed.

So I install the fmt package. The same story happens for spdlog and pugixml packages.

After that I come upon:

/usr/bin/ld: cannot find -lupnp
/usr/bin/ld: cannot find -lixml
collect2: error: ld returned 1 exit status

I'm not sure what is the most correct way to resolve this, but symlinking the libraries did work:

sudo ln -s /usr/lib/libupnp-1.8/libupnp.so.13.1.1 /usr/lib/libupnp.so
sudo ln -s /usr/lib/libupnp-1.8/libixml.so.10.0.2 /usr/lib/libixml.so

maderios commented on 2020-03-02 20:21 (UTC)

@Rogach Today I built and install Gerbera without any problem. Your difficulties seem strange. Are you really using Arch system?