-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65678c8
commit 804c7d7
Showing
18 changed files
with
2,181 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# ignore build directories | ||
src/obj_arm_gnueabi/ | ||
src/obj_emu/ | ||
# ignore QtCreator project files | ||
pbxmms2client.cflags | ||
pbxmms2client.config | ||
pbxmms2client.creator* | ||
pbxmms2client.cxxflags | ||
pbxmms2client.files | ||
pbxmms2client.includes | ||
# other | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
pbxmms2client v0.006 (first release on GitHub) | ||
- fix ALSA lib warning "Invalid CTL" | ||
- fix saving volume level | ||
- update copyrights | ||
.05.2020 | ||
|
||
pbxmms2client v0.005 | ||
- various internal improvements | ||
- added displaying battery charge | ||
- added displaying current playtime | ||
18.03.2020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# pbxmms2client.app | ||
# | ||
# Copyright (C) 2014-2020 Programmist11180 <[email protected]> | ||
# | ||
# This file is part of PBXMMS2client. | ||
# | ||
# PBXMMS2client is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# PBXMMS2client is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with PBXMMS2client. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
|
||
#!/bin/sh | ||
export LD_PRELOAD=/mnt/ext1/system/lib/preloadable_libiconv.so | ||
export LD_LIBRARY_PATH=/mnt/ext1/system/lib | ||
export XDG_CACHE_HOME=/mnt/ext1/system/cache | ||
export XDG_CONFIG_HOME=/mnt/ext1/system/config | ||
|
||
exec /mnt/ext1/system/bin/pbxmms2client.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# xmms2-launcher | ||
# | ||
# Copyright (C) 2014-2020 Programmist11180 <[email protected]> | ||
# | ||
# This file is part of PBXMMS2client. | ||
# | ||
# PBXMMS2client is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# PBXMMS2client is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with PBXMMS2client. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
|
||
#!/bin/sh | ||
export LD_PRELOAD=/mnt/ext1/system/lib/preloadable_libiconv.so | ||
export LD_LIBRARY_PATH=/mnt/ext1/system/lib | ||
export XDG_CACHE_HOME=/mnt/ext1/system/cache | ||
export XDG_CONFIG_HOME=/mnt/ext1/system/config | ||
|
||
exec /mnt/ext1/system/bin/xmms2-launcher.bin -- --plugindir=/mnt/ext1/system/lib/xmms2_plugins --quiet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# xmms2-cli | ||
# | ||
# Copyright (C) 2014-2020 Programmist11180 <[email protected]> | ||
# | ||
# This file is part of PBXMMS2client. | ||
# | ||
# PBXMMS2client is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# PBXMMS2client is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with PBXMMS2client. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
|
||
#!/bin/sh | ||
export LD_PRELOAD=/mnt/ext1/system/lib/preloadable_libiconv.so | ||
export LD_LIBRARY_PATH=/mnt/ext1/system/lib | ||
export XDG_CACHE_HOME=/mnt/ext1/system/cache | ||
export XDG_CONFIG_HOME=/mnt/ext1/system/config | ||
|
||
cd /mnt/ext1/system/bin | ||
exec /mnt/ext1/system/bin/xmms2 "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# | ||
# Makefile | ||
# | ||
# Copyright (C) 2014-2020 Programmist11180 <[email protected]> | ||
# | ||
# This file is part of PBXMMS2client. | ||
# | ||
# PBXMMS2client is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# PBXMMS2client is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with PBXMMS2client. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
|
||
OUT = pbxmms2client | ||
include /usr/local/pocketbook/common.mk | ||
|
||
SOURCES += fork.cpp main.cpp client_screen.cpp settings.cpp log.cpp xmms.cpp | ||
|
||
CXXFLAGS+= -Wall -Wextra -I$(HOME)/pb_programming/pbtk-0.2.1 \ | ||
`pkg-config --cflags xmms2-client freetype2 glib-2.0` | ||
|
||
ifeq (${BUILD},emu) | ||
CXXFLAGS+= -std=c++11 -Wno-write-strings `pkg-config --cflags sigc++-2.0` | ||
LDFLAGS+= -L$(HOME)/pb_programming/pblibs_emulator | ||
endif | ||
|
||
ifeq (${BUILD},arm_gnueabi) | ||
CXXFLAGS+= -std=c++98 -I$(HOME)/pb_programming/sigc++-arm-bin/include/sigc++-2.0 | ||
LDFLAGS+= -L$(HOME)/pb_programming/pblibs_arm_gnueabi | ||
endif | ||
|
||
LIBS+= -linkview -lpbtk -lsigc-2.0 -lxmmsclient -lglib-2.0 -lxmmsclient-glib -lpthread -lpng12 | ||
|
||
|
||
PIXMAPS= | ||
|
||
PIXMAPS_C=$(PIXMAPS:.xpm=.c) | ||
PIXMAPS_OBJS=$(addprefix $(OBJDIR)/,$(PIXMAPS_C:.c=.o)) | ||
|
||
all: $(PROJECT) | ||
|
||
$(PROJECT): $(PIXMAPS_C) $(OBJDIR) $(OBJS) $(PIXMAPS_OBJS) | ||
$(CXX) -o $@ $(OBJS) $(PIXMAPS_OBJS) $(LDFLAGS) $(LIBS) | ||
|
||
# $(PROJECT) : $(OBJDIR) $(SYSTEM_LINK) $(OBJS) $(BITMAP_OBJS) | ||
# $(LD) -o $@ $(OBJS) $(BITMAP_OBJS) $(LDFLAGS) $(LIBS) | ||
|
||
#$(OBJDIR): | ||
# mkdir -p $(OBJDIR) | ||
# mkdir -p $(OBJDIR) | ||
|
||
$(OBJDIR)/%.cxx.o: %.cxx | ||
$(CXX) -c -o $@ $(CXXFLAGS) $(INCLUDES) $(CDEPS) $< | ||
$(OBJDIR)/%.cpp.o: %.cpp | ||
$(CXX) -c -o $@ $(CXXFLAGS) $(INCLUDES) $(CDEPS) $< | ||
|
||
$(OBJDIR)/images/%.o: images/%.c | ||
$(CC) -c -o $@ $(CFLAGS) $(INCLUDES) $(CDEPS) $< | ||
|
||
$(PIXMAPS_C): $(PIXMAPS) | ||
|
||
images/%.c: images/%.xpm | ||
./xpbres -c $@ $< | ||
|
||
-include $(OBJDIR)/*.d |
Oops, something went wrong.