thekvs / radiotray-lite

Online radio streaming player with minimum interface that runs on a Linux system tray
Other
52 stars 7 forks source link

Flatpak #22

Open baimafeima opened 6 years ago

baimafeima commented 6 years ago

Could you make radiotray-lite available as a flatpak for easy cross-platform installation?

vovs03 commented 6 years ago

:+1: :notes:

thekvs commented 6 years ago

Thanks for the suggestion! But to say the truth personally I don't use flatpak, so can't tell you about when this will be done.

vovs03 commented 6 years ago

Dependecies Hell

So.. I have dependecies Hell ( I tryed to compile radiotray-lite for Linux-Mint-19, but have no result...)
I don't understanding steps described in README.md Before i used radiotray correctly installed in my previous LinuxMint18.3.
:dart: I am searching any way to start radio in my OS.

vovs03 commented 6 years ago

What me do it wrong?

keyjoo@osart-011:~/Downloads/radiotray-lite-master$ cmake ~/Downloads/radiotray-lite-master -DCMAKE_INSTALL_PREFIX=/usr/
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Performing Test COMPILER_SUPPORTS_C11
-- Performing Test COMPILER_SUPPORTS_C11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- CMAKE_BUILD_TYPE is not set, set to default = RelWithDebInfo
-- CMAKE_BUILD_TYPE: RelWithDebInfo
-- Found LibMagic: /usr/lib/x86_64-linux-gnu/libmagic.so  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find LibNotify (missing: LIBNOTIFY_INCLUDE_DIRS
  LIBNOTIFY_LIBRARIES) (found version "")
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindLibNotify.cmake:49 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:42 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeOutput.log".
See also "/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeError.log".

Log files

thekvs commented 6 years ago

You have to install libnotify-dev package.

vovs03 commented 6 years ago

You have to install libnotify-dev package.

Konstantin, thank you. It was my :one:st-time experience to compile programm in C++ It works! So cool.

:ru: "Огромное спасибо за помощь!"

compile

➜  radiotray-lite-master make
Scanning dependencies of target radiotray-lite
[  6%] Building CXX object src/CMakeFiles/radiotray-lite.dir/radiotray-lite.cpp.o
[ 12%] Building CXX object src/CMakeFiles/radiotray-lite.dir/tray.cpp.o
[ 18%] Building CXX object src/CMakeFiles/radiotray-lite.dir/player.cpp.o
[ 25%] Building CXX object src/CMakeFiles/radiotray-lite.dir/about.cpp.o
[ 31%] Building CXX object src/CMakeFiles/radiotray-lite.dir/playlist.cpp.o
[ 37%] Building CXX object src/CMakeFiles/radiotray-lite.dir/notification.cpp.o
[ 43%] Building CXX object src/CMakeFiles/radiotray-lite.dir/config.cpp.o
[ 50%] Building CXX object src/CMakeFiles/radiotray-lite.dir/options.cpp.o
[ 56%] Building CXX object src/CMakeFiles/radiotray-lite.dir/event_manager.cpp.o
[ 62%] Building CXX object src/CMakeFiles/radiotray-lite.dir/m3u_playlist_decoder.cpp.o
[ 68%] Building CXX object src/CMakeFiles/radiotray-lite.dir/pls_playlist_decoder.cpp.o
[ 75%] Building CXX object src/CMakeFiles/radiotray-lite.dir/asx_playlist_decoder.cpp.o
[ 81%] Building CXX object src/CMakeFiles/radiotray-lite.dir/ram_playlist_decoder.cpp.o
[ 87%] Building CXX object src/CMakeFiles/radiotray-lite.dir/xspf_playlist_decoder.cpp.o
[ 93%] Building CXX object src/CMakeFiles/radiotray-lite.dir/third_party/pugixml/pugixml.cpp.o
[100%] Linking CXX executable radiotray-lite
[100%] Built target radiotray-lite

pack to deb

➜  radiotray-lite-master cpack -G DEB
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: radiotray
CPack: - Install project: radiotray
CPack: Create package
CPack: - package: packages/radiotray-lite_0.2.19_amd64.deb generated.