Commit 87f21f7b authored by Gabriel F. T. Gomes's avatar Gabriel F. T. Gomes

Imported upstream version v1.3.3

Imported from upstream vcs [1] with the following command:

  rsync -av --exclude .git /path/to/upstream/dir/ .

[1] https://github.com/pragha-music-player/pragha.git
parent ed755420
compile
config.*
configure
INSTALL
*.cache
*.m4
/depcomp
/install-sh
/libtool
/Makefile
/Makefile.in
/missing
/mkinstalldirs
/ltmain.sh
/stamp-h1
*.tar.bz2
*.in
*Makefile
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
Frequently Answered Questions
=============================
Q. Pragha does not play certain audio file.
A. Pragha adds new audio formats on a par with taglib.
If compiled with taglib = 1.4, pragha support ogg, flac, mpeg, wav
and all variants. If taglib = 1.6 add support to asf, wma and m4a.
If taglib >= 1.7 also support ape files.
Then you need to install the gstreamer codecs needed to play them.
In general installing gstreamer-plugins-bad and gstreamer-plugins-ugly
you can play all files.
\ No newline at end of file
SUBDIRS = \
data \
po \
src
if HAVE_LIBPEAS
SUBDIRS += plugins
endif
AUTOMAKE_OPTIONS = \
1.8 \
dist-bzip2
doc_DATA = ChangeLog FAQ NEWS README
EXTRA_DIST = \
$(text_DATA) \
$(doc_DATA)
transifex-setup:
tx init
tx set --auto-remote https://www.transifex.com/projects/p/Pragha/
tx set --auto-local -r Pragha.Pragha 'po/<lang>.po' --source-lang en --source-file po/pragha.pot --execute
transifex-pull:
tx pull -a -f
@echo "You can now git commit -a -m 'Transfix pull, *.po update'"
transifex-push:
tx push -s
@echo "You can now git commit -a -m 'Transfix push, pragha.pot update'"
distclean-local:
rm -rf *.cache *~
This diff is collapsed.
Pragha is a Lightweight Music Player for GNU/Linux, based on Gtk, sqlite, and
completely written in C, constructed to be fast, light, and simultaneously
tries to be complete without obstructing the daily work. ;)
A tiny history of the project.?
Consonance, An excellent player emerged in the archlinux forums, was
discontinued. The author, Sacamano said in his blog:
"Which doesn't mean that it won't be maintained. I would still be fixing bugs,
but major feature additions are not in the pipeline, because I have completed
all that I wanted to see in Consonance. It has been a fun project. :)"
Well.. Dissonance is the project to continue developing Consonance, and its
result is Pragha Music Player. A New reproducer of music.. ;)
Main features:
* Full integration with GTK+3, but always completely independent of
gnome or xfce.
* Two panel desing inspired on Amarok 1.4. Library and current playlist.
* Library with multiple views, according tags or folder structure.
* Search, filtering and queue songs on current playlist.
* Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape files.
Limited only by codecs installed and taglib version used.
* Playlist management: Exporting M3U and read M3U, PLS, XSPF and WAX
playlists.
* Playback control with command line.
Extensible by plugins:
* AcoustID: Get metadata on AcoustID service.
* CD-ROM: Play audio CDs and identifies this with CDDB.
* DLNA Server: Share your playlist on a DLNA server.
* DLNA Renderer: Play music of a DLNA server.
* Gnome-Media-Keys: Control pragha with gnome-media-keys daemon.
* Global Hotkeys: Control pragha with multimedia keys.
* Last.fm: Scrobbling, love, unlove song, and append similar song to get
related playlists.
* MPRIS2: Control pragha with mpris2 interface.
* Mtp Devices: Basic Management of MTP devices.
* Notification: Show notification when change songs.
* Removable media: Detect removable media and scan it.
* Song-info: Get Artist info, Lyrics and Album arts of yours songs.
* Get radios: Search radios on TuneIn service.
Requirements:
* gtk+-3.0 >= 3.8, glib-2.0 >= 2.36
* gstreamer-1.0 >= 1.0, gstreamer-base-1.0 >= 1.0
* taglib >= 1.8
* sqlite3 >= 3.4
Optional:
* libpeas-1.0 >= 1.0.0 and libpeas-gtk-1.0 >= 1.0.0: Required for all plugins.
* libxfce4ui >= 4.11.0: Better session managament support. Save the current
playlist, last posicion when save session, etc.
* totem-plparser >= 2.26: Support to open many more format and internet radios
playlist.
* gstreamer-plugins-base-devel >= 1.0: Use cubic volume to a better control of
volume.
#!/bin/sh
echo "Running Xfce Developer Tools..."
xdt-autogen $@
if [ $? -ne 0 ]; then
echo "xdt-autogen Failed"
echo "Prease, install xfce4-dev-tools"
echo "or verify Errors"
fi
This diff is collapsed.
pragha.desktop
SUBDIRS = icons
appdatadir = $(datadir)/appdata
dist_appdata_DATA = pragha.appdata.xml
desktopdir=$(datadir)/applications
desktop_in_files = pragha.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
imagedir = $(datadir)/pixmaps/pragha
image_DATA = \
album.png \
artist.png \
track.png \
cover.png \
genre.png
man_MANS = pragha.1
EXTRA_DIST = \
$(desktop_in_files) \
$(image_DATA) \
$(man_MANS)
CLEANFILES = \
$(desktop_DATA)
data/cover.png

934 Bytes

iconsdir = $(datadir)/icons/hicolor/128x128/apps
icons_DATA = \
pragha.png
EXTRA_DIST = \
$(icons_DATA)
\ No newline at end of file
iconsdir = $(datadir)/icons/hicolor/16x16/apps
icons_DATA = \
pragha.png
EXTRA_DIST = \
$(icons_DATA)
\ No newline at end of file
iconsdir = $(datadir)/icons/hicolor/24x24/apps
icons_DATA = \
pragha.png
EXTRA_DIST = \
$(icons_DATA)
\ No newline at end of file
iconsdir = $(datadir)/icons/hicolor/32x32/apps
icons_DATA = \
pragha.png
EXTRA_DIST = \
$(icons_DATA)
\ No newline at end of file
iconsdir = $(datadir)/icons/hicolor/48x48/apps
icons_DATA = \
pragha.png
EXTRA_DIST = \
$(icons_DATA)
\ No newline at end of file
iconsdir = $(datadir)/icons/hicolor/64x64/apps
icons_DATA = \
pragha.png
EXTRA_DIST = \
$(icons_DATA)
\ No newline at end of file
SUBDIRS = \
16x16 \
24x24 \
32x32 \
48x48 \
64x64 \
128x128
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. Remember to run:"; \
echo "***"; \
echo "*** $(gtk_update_icon_cache)"; \
echo "***"; \
fi
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
distuninstallcheck_listfiles = \
find . -type f -print | grep -v ./share/icons/hicolor/icon-theme.cache
.TH "pragha" "1" "1.3.3" "Matias De lellis" ""
.SH "NAME"
.LP
pragha \- A lightweight music player, forked of Consonance Music Manager
.SH "SYNTAX"
.LP
pragha [OPTION...] [FILE1 [FILE2...]]
.SH "DESCRIPTION"
.LP
pragha is a lightweight music player that aims to be fast, bloat\-free, and light on memory consumption. It is written completely in C and GTK+. Some of the features are:
.LP
.br
* Library management using sqlite3
.br
* Multiple views
.br
* OSD support
.br
* asf, ape, flac, mp3, mp4, ogg, wav, wma, and CDDA support
.LP
pragha is released under the GNU General Public Licence version 3 (GPLv3).
.SH "OPTIONS"
.LP
.TP
\fB\-?, \-\-help\fR
Output help information and exit.
.TP
\fB\-\-help\-all\fR
Output all help options and exit.
.TP
\fB\-\-help\-gtk\fR
Output GTK+ Options and exit.
.TP
\fB\-v, \-\-version\fR
Output version information and exit.
.TP
\fB\-e, \-\-debug\fR
Enable Debug ( Levels: 1,2,3,4 )
.TP
\fB\-l, \-\-log\-file\fR
Log Debug to a file.
.TP
\fB\-p, \-\-play\fR
Start playing.
.TP
\fB\-s, \-\-stop\fR
Stop playing.
.TP
\fB\-t, \-\-pause\fR
Play/Pause/Resume the current song.
.TP
\fB\-r, \-\-prev\fR
Play the previous song in the playlist.
.TP
\fB\-n, \-\-next\fR
Play the next song in the playlist.
.TP
\fB\-f, \-\-shuffle\fR
Toggle shuffle mode.
.TP
\fB\-u, \-\-repeat\fR
Toggle repeat mode.
.TP
\fB\-i, \-\-inc_vol\fR
Increase the volume by 1.
.TP
\fB\-d, \-\-dec_vol\fR
Decrease the volume by 1.
.TP
\fB\-o, \-\-show_osd\fR
Show OSD notification (a popup window with info about the current song).
.TP
\fB\-x, \-\-toggle_view\fR
Toggle player visibility
.TP
\fB\-c, \-\-current_state\fR
Get current player state.
.TP
\fB\-a, \-\-audio_backend\fR
Audio backend (valid options: alsa/oss)
.TP
\fB\-g, \-\-audio_device\fR
Audio Device (For ALSA: hw:0,0 etc.., For OSS: /dev/dsp etc..)
.TP
\fB\-m, \-\-audio_mixer\fR
Mixer Element (For ALSA: Master, PCM, etc.., For OSS: /dev/mixer, etc...)
.TP
\fB\-\-display=DISPLAY\fR
Set the X display to use.
.SH "USAGE"
.LP
* Add a library location in menu Edit \- Preferences.
.br
* Rescan Library from menu Tools.
.br
* Start using. :-)
.SH "FILES"
.TP
$HOME/.config/pragha/pragha.db
Library database (in sqlite3 format)
.TP
$HOME/.config/pragha/config
personal settings (use the GUI interface to change them, Edit \- Preferences)
.TP
$HOME/.cache/pragha-album-art
Basic cache for downloaded cover art saved as artist \- album.jpeg
.SH "AUTHORS"
.nf
Pragha was originally a fork of Consonance written by Sujith <m.sujith@gmail.com>
At the moment developed by Matias De lellis. <mati86dl@gmail.com>
Man page written by Martin Zelaia <martintxo@sindominio.net>
.SH "SEE ALSO"
.LP
http://pragha-music-player.github.io and http://sites.google.com/site/consonancemanager
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014-2015 Matias De lellis -->
<application>
<id type="desktop">pragha.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Pragha Mucic Player</name>
<summary>Manage and listen to music</summary>
<description>
<p>
Pragha is a Lightweight Music Player for GNU/Linux, based on Gtk, sqlite, and
completely written in C, constructed to be fast, light, and simultaneously tries
to be complete without obstructing the daily work.
</p>
<p>Features:</p>
<ul>
<li>Full integration with GTK+3 support, but always completely independent of gnome or xfce</li>
<li>Two panel desing inspired on Amarok 1.4. Library and current playlist</li>
<li>Library with multiple views, according tags or folder structure</li>
<li>Search, filtering and queue songs on current playlist</li>
<li>Playing and edit tag of mp3, m4a, ogg, flac, asf, wma, and ape files. Of course you need codecs</li>
<li>Playlist management. Exporting M3U and read M3U, PLS, XSPF and WAX playlists</li>
<li>Play audio CDs and identifies this with CDDB</li>
<li>Playback control with command line and MPRIS2</li>
<li>Native desktop notifications with libnotify</li>
</ul>
</description>
<url type="homepage">http://pragha-music-player.github.io</url>
<screenshots>
<screenshot type="default">http://pragha-music-player.github.io/images/Pragha-Xfce-HIG.png</screenshot>
<screenshot>http://pragha-music-player.github.io/images/Pragha-Gnome3-HIG.png</screenshot>
<screenshot>http://pragha-music-player.github.io/images/Pragha-W7.jpg</screenshot>
</screenshots>
<updatecontact>mati86dl_at_gmail.com</updatecontact>
</application>
[Desktop Entry]
Version=1.0
Type=Application
Name=Pragha
_GenericName=Music Player
_Comment=Manage and listen to music
Icon=pragha
Categories=GTK;AudioVideo;Player;
Exec=pragha %F
TryExec=pragha
Terminal=false
StartupNotify=true
MimeType=application/x-ape;audio/ape;audio/x-ape;audio/x-m4a;video/x-ms-asf;audio/x-ms-wma;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpeg3;audio/mp3;application/ogg;application/x-ogg;audio/vorbis;audio/x-vorbis;audio/ogg;audio/x-ogg;audio/x-flac;application/x-flac;audio/flac;audio/x-wav;audio/mpegurl;audio/x-mpegurl;audio/x-scpls;application/xspf+xml;audio/x-ms-wax;
*.deps*
*.libs*
*.la
*.lo
*~
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(srcdir) \
$(LIBPEAS_CFLAGS) \
$(LIB_PEAS_GTK_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
pluginincludedir = $(includedir)/pragha/plugins
plugininclude_HEADERS = pragha-plugin-macros.h
SUBDIRS = \
mpris2 \
gnome-media-keys
if HAVE_LIBGLYR
SUBDIRS += song-info
endif
if HAVE_LIBKEYBINDER
SUBDIRS += keybinder
endif
if HAVE_LIBNOTIFY
SUBDIRS += notify
endif
if HAVE_GUDEV
SUBDIRS += devices
SUBDIRS += removable-media
endif
if HAVE_LIBMTP
SUBDIRS += mtp
endif
if HAVE_LIBSOUP
SUBDIRS += acoustid
SUBDIRS += tunein
endif
if HAVE_RYGEL
SUBDIRS += dlna
endif
if HAVE_GRILO
SUBDIRS += dlna-renderer
endif
if HAVE_LIBCDIO
if HAVE_LIBCDIO_PARANOIA
if HAVE_LIBCDDB
SUBDIRS += cdrom
endif
endif
endif
if HAVE_LIBCLASTFM
SUBDIRS += lastfm
endif
plugindir = $(libdir)/pragha/plugins/acoustid
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(LIBPEAS_CFLAGS) \
$(LIBPEAS_GTK_CFLAGS)
plugin_LTLIBRARIES = libacoustid.la
libacoustid_la_SOURCES = \
pragha-acoustid-plugin.c
libacoustid_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libacoustid_la_CFLAGS = \
$(LIBSOUP_CFLAGS) \
$(GSTREAMER_CFLAGS) \
$(GSTREAMER_BASE_CFLAGS) \
$(GLIB_CFLAGS) \
$(GIO_CFLAGS) \
$(GTK_CFLAGS) \
$(SQLITE3_CFLAGS) \
$(TAGLIB_C_CFLAGS) \
$(LIBPEAS_CFLAGS) \
$(LIBPEAS_GTK_CFLAGS) \
-I$(top_srcdir)/src/include \
-Wall
libacoustid_la_LIBADD = \
$(LIBSOUP_LIBS) \
$(GSTREAMER_LIBS) \
$(GLIB_LIBS) \
$(GIO_LIBS) \
$(GTK_LIBS) \
$(SQLITE3_LIBS) \
$(TAGLIB_C_LIBS) \
$(LIBPEAS_LIBS) \
$(LIBPEAS_GTK_LIBS)
if HAVE_GSTREAMER_AUDIO
libacoustid_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS)
libacoustid_la_LIBADD += $(GSTREAMER_AUDIO_LIBS)
endif
if HAVE_LIBXFCE4UI
libacoustid_la_CFLAGS += $(LIBXFCE4UI_CFLAGS)
libacoustid_la_LIBADD += $(LIBXFCE4UI_LIBS)
endif
plugin_DATA = acoustid.plugin
EXTRA_DIST = $(plugin_DATA)
[Plugin]
Module=acoustid
Name=AcoustID
Description=Get metadata on AcoustID service
Authors=Matias De lellis <mati86dl@gmail.com>
Copyright=Copyright © 2014 Matias De lellis
Website=https://github.com/matiasdelellis/pragha
Help=https://github.com/matiasdelellis/pragha
This diff is collapsed.
plugindir = $(libdir)/pragha/plugins/cdrom
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(LIBPEAS_CFLAGS) \
$(LIBPEAS_GTK_CFLAGS)
plugin_LTLIBRARIES = libcdrom.la
libcdrom_la_SOURCES = \
pragha-cdrom-plugin.c \
pragha-cdrom-plugin.h
libcdrom_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libcdrom_la_CFLAGS = \
$(GSTREAMER_CFLAGS) \
$(GSTREAMER_BASE_CFLAGS) \
$(GLIB_CFLAGS) \
$(GIO_CFLAGS) \
$(GTK_CFLAGS) \
$(SQLITE3_CFLAGS) \
$(TAGLIB_C_CFLAGS) \
$(LIBPEAS_CFLAGS) \
$(LIBPEAS_GTK_CFLAGS) \
$(LIBCDIO_CFLAGS) \
$(LIBCDDB_CFLAGS) \
-I$(top_srcdir)/src/include \
-Wall
libcdrom_la_LIBADD = \
$(GSTREAMER_LIBS) \
$(GLIB_LIBS) \
$(GIO_LIBS) \
$(GTK_LIBS) \
$(SQLITE3_LIBS) \
$(TAGLIB_C_LIBS) \
$(LIBPEAS_LIBS) \
$(LIBPEAS_GTK_LIBS) \
$(LIBCDIO_LIBS) \
$(LIBCDIO_PARANOIA_LIBS) \
$(LIBCDDB_LIBS)
if HAVE_GSTREAMER_AUDIO
libcdrom_la_CFLAGS += $(GSTREAMER_AUDIO_CFLAGS)
libcdrom_la_LIBADD += $(GSTREAMER_AUDIO_LIBS)
endif
if HAVE_LIBXFCE4UI
libcdrom_la_CFLAGS += $(LIBXFCE4UI_CFLAGS)
libcdrom_la_LIBADD += $(LIBXFCE4UI_LIBS)
endif
if HAVE_GUDEV
libcdrom_la_CFLAGS += $(GUDEV_CFLAGS)
libcdrom_la_LIBADD += $(GUDEV_LIBS) \
../devices/libdeviceclient.la
endif
plugin_DATA = cdrom.plugin
EXTRA_DIST = $(plugin_DATA)
[Plugin]
Module=cdrom
Name=Play cdrom
Description=Play audios cds
Authors=Matias De lellis <mati86dl@gmail.com>
Copyright=Copyright © 2014 Matias De lellis
Website=https://github.com/matiasdelellis/pragha
Help=https://github.com/matiasdelellis/pragha
Depends=devices
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.