Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bellegarde-c committed Jan 26, 2017
1 parent cf65a4e commit 1ed8eab
Show file tree
Hide file tree
Showing 9 changed files with 474 additions and 674 deletions.
85 changes: 85 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
*~
/lollypop-cli
/po
/help
/*.bak
/*.lo
/*.o
/*.orig
/*.rej
/*.tab.c
/*~
/.*.sw[nop]
/.deps
/.dirstamp
/.libs
/AUTHORS
/GPATH
/GRTAGS
/GSYMS
/GTAGS
/ID
/INSTALL
/Makefile
/Makefile.in
/TAGS
/_libs
/aclocal.m4
/autom4te.cache
/autoscan.log
/compile
/config.cache
/config.guess
/config.h
/config.h.in
/config.log
/config.lt
/config.status
/config.status.lineno
/config.sub
/configure
/configure.lineno
/configure.scan
/depcomp
/install-sh
/intltool-extract.in
/intltool-merge.in
/intltool-update.in
/libtool
/ltmain.sh
/m4
/missing
/mkinstalldirs
/so_locations
/stamp-h1
/tags
/src/*.pyc
/src/Makefile
/src/Makefile.in
/py-compile
*.tar.xz
*.desktop
*.gresource
*.compiled
search-provider/org.gnome.Lollypop.SearchProvider.service
search-provider/lollypop-sp
search-provider/Makefile
search-provider/Makefile.in
portal/org.gnome.Lollypop.Portal.service
portal/lollypop-portal
portal/Makefile
portal/Makefile.in
data/Makefile
data/Makefile.in
flatpak/metadata
*.pyc
lollypop
*.valid
/src/Makefile.in
/data/AboutDialog.ui
/data/org.gnome.Lollypop.appdata.xml
/flatpak/app
/flatpak/repo
/flatpak/*.bundle
/flatpak/*.flatpak
/flatpak/.flatpak-builder
674 changes: 0 additions & 674 deletions LICENSE

This file was deleted.

79 changes: 79 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
ACLOCAL_AMFLAGS = -I m4
NULL =

bin_SCRIPTS = lollypop

dist_bin_SCRIPTS = lollypop-cli\
rhythmbox2lollypop

SUBDIRS = src data po help search-provider

EXTRA_DIST = \
lollypop.in\
lollypop-cli.in
$(NULL)

CLEANFILES = \
$(bin_SCRIPTS)\
lollypop-cli\
$(NULL)

MAINTAINERCLEANFILES = \
$(srcdir)/AUTHORS \
$(srcdir)/INSTALL \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
$(srcdir)/compile \
$(srcdir)/config.guess \
$(srcdir)/config.h.in \
$(srcdir)/config.sub \
$(srcdir)/configure.scan \
$(srcdir)/depcomp \
$(srcdir)/install-sh \
$(srcdir)/ltmain.sh \
$(srcdir)/missing \
$(srcdir)/mkinstalldirs \
$(NULL)

GITIGNOREFILES = \
m4 \
$(NULL)

lollypop: lollypop.in Makefile
$(AM_V_GEN)sed \
-e s!\@srcdir\@!$(abs_top_srcdir)! \
-e s!\@prefix\@!$(prefix)! \
-e s!\@datadir\@!$(datadir)! \
-e s!\@pkgdatadir\@!$(pkgdatadir)! \
-e s!\@libexecdir\@!$(libexecdir)! \
-e s!\@libdir\@!$(libdir)! \
-e s!\@pkglibdir\@!$(pkglibdir)! \
-e s!\@localedir\@!$(localedir)! \
-e s!\@pythondir\@!$(pythondir)! \
-e s!\@pyexecdir\@!$(pyexecdir)! \
-e s!\@PACKAGE\@!$(PACKAGE)! \
-e s!\@VERSION\@!$(VERSION)! \
< $< > $@
chmod a+x $@

lollypop-cli: lollypop-cli.in Makefile
$(AM_V_GEN)sed \
-e s!\@srcdir\@!$(abs_top_srcdir)! \
-e s!\@prefix\@!$(prefix)! \
-e s!\@datadir\@!$(datadir)! \
-e s!\@pkgdatadir\@!$(pkgdatadir)! \
-e s!\@libexecdir\@!$(libexecdir)! \
-e s!\@libdir\@!$(libdir)! \
-e s!\@pkglibdir\@!$(pkglibdir)! \
-e s!\@localedir\@!$(localedir)! \
-e s!\@pythondir\@!$(pythondir)! \
-e s!\@pyexecdir\@!$(pyexecdir)! \
-e s!\@PACKAGE\@!$(PACKAGE)! \
-e s!\@VERSION\@!$(VERSION)! \
< $< > $@
chmod a+x $@

all-local: lollypop lollypop-cli

-include $(top_srcdir)/git.mk

41 changes: 41 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

#[ ! -d "$srcdir"/po ] && git clone https://github.com/gnumdk/lollypop-po.git "$srcdir"/po
#[ ! -d "$srcdir"/help ] && git clone https://github.com/gnumdk/lollypop-help.git "$srcdir"/help

(test -f $srcdir/configure.ac) || {
echo "**Error**: Directory "\`$srcdir\'" does not look like the top-level project directory"
exit 1
}

PKG_NAME=`autoconf --trace 'AC_INIT:$1' "$srcdir/configure.ac"`

if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
echo "**Warning**: I am going to run \`configure' with no arguments." >&2
echo "If you wish to pass any to it, please specify them on the" >&2
echo \`$0\'" command line." >&2
echo "" >&2
fi

set -x
aclocal --install || exit 1
glib-gettextize --force --copy || exit 1
#gtkdocize --copy || exit 1
intltoolize --force --copy --automake || exit 1
autoreconf --verbose --force --install -Wno-portability || exit 1
{ set +x; } 2>/dev/null

if [ "$NOCONFIGURE" = "" ]; then
set -x
$srcdir/configure "$@" || exit 1
{ set +x; } 2>/dev/null

if [ "$1" = "--help" ]; then exit 0 else
echo "Now type \`make\' to compile $PKG_NAME" || exit 1
fi
else
echo "Skipping configure process."
fi
42 changes: 42 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
AC_PREREQ(2.63)
AC_INIT([eolie],
[0.1.0],
[https://github.com/gnumdk/eolie],
[eolie],
[https://github.com/gnumdk/eolie])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip -Wno-portability subdir-objects])
AM_MAINTAINER_MODE([enable])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

AM_PATH_PYTHON(3.0)
AM_PYTHON_CHECK_VERSION(3.0)

GETTEXT_PACKAGE=eolie
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
[The prefix for our gettext translation domains.])
IT_PROG_INTLTOOL(0.26)

PKG_PROG_PKG_CONFIG([0.22])

GLIB_GSETTINGS
YELP_HELP_INIT
GOBJECT_INTROSPECTION_REQUIRE([1.35.9])
PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.14])

GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
AC_SUBST(GLIB_COMPILE_RESOURCES)

AC_CONFIG_FILES([
Makefile
data/Makefile
data/AboutDialog.ui
src/Makefile
#help/Makefile
#search-provider/Makefile
#po/Makefile.in
])
AC_OUTPUT
81 changes: 81 additions & 0 deletions data/AboutDialog.ui.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<interface domain="lollypop">
<requires lib="gtk+" version="3.12"/>
<object class="GtkAboutDialog" id="about_dialog">
<property name="can_focus">False</property>
<property name="modal">True</property>
<property name="destroy_with_parent">True</property>
<property name="type_hint">normal</property>
<property name="program_name">Lollypop</property>
<property name="version">@PACKAGE_VERSION@</property>
<property name="copyright">Copyright © 2014-2016 Cédric Bellegarde</property>
<property name="comments" translatable="yes">A music player for GNOME.</property>
<property name="website">@PACKAGE_URL@</property>
<property name="website_label" translatable="yes">Visit Lollypop website</property>
<property name="authors">Cédric Bellegarde &lt;[email protected]&gt;
</property>
<property name="translator_credits" translatable="yes" context="Translation credits here, put your name here!" comments="Replace me with your names">Cédric Bellegarde &lt;[email protected]&gt;</property>
<property name="artists"> Reda Lazri (Lollypop icon)
https://www.elegantthemes.com (Spotify icon)
http://simpleicon.com (Itunes icon)
http://www.onlinewebfonts.com/icon (Last.fm icon)
</property>
<property name="logo_icon_name">org.gnome.Lollypop</property>
<property name="license_type">gpl-3-0</property>
<child internal-child="vbox">
<object class="GtkBox" id="aboutdialog-vbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<child internal-child="action_area">
<object class="GtkButtonBox" id="aboutdialog-action_area1">
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="column_spacing">5</property>
<child>
<object class="GtkLabel" id="donation">
<property name="label" translatable="yes">Donations:</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
</child>
<child>
<object class="GtkLinkButton" id="flattr">
<property name="label" translatable="yes">Flattr</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<property name="uri">https://flattr.com/profile/lollypop</property>
</object>
</child>
<child>
<object class="GtkLinkButton" id="paypal">
<property name="label" translatable="yes">PayPal</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<property name="uri">https://www.paypal.me/lollypopgnome</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
Loading

0 comments on commit 1ed8eab

Please sign in to comment.