Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rbn42 committed Jan 29, 2020
1 parent 6423660 commit 1c422f3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.plasmoid
*.tgz
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
15 changes: 15 additions & 0 deletions kde/makepackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,27 @@
#Verify the existence of third party files before packaging.
if [ -f "../third_party/hsluv-glsl/hsluv-glsl.fsh" ];then

# plasmoid
rm ../panon/__pycache__ -r
rm ./plasmoid/contents/scripts/__pycache__/ -r
rm ./plasmoid/contents/scripts/soundcard/__pycache__/ -r
rm ./panon.plasmoid
zip -r panon.plasmoid ./plasmoid

# i18n
cd ./translations
mkdir build
cd build
cmake ..
rm ./locale -r
make install DESTDIR=./locale
cd locale
NAME=../../../i18n.tgz
rm $NAME
tar czvf $NAME *
# Extract
# tar xzvf $NAME -C ~/.local/share/locale

else
echo "Cannot find third party files."
fi
2 changes: 1 addition & 1 deletion kde/plasmoid/contents/scripts/get_effect_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def _get_shaders(root: Path, root_id):
if _file.suffix == '.frag' or any(_file.glob('*.frag')):
yield Effect(
_file.name,
str(root_id) + ':' + _file.name.replace(' ', '_').replace('"', '__').replace("'", '___').replace("$", '____'),
str(root_id) + '.' + _file.name.replace(' ', '_').replace('"', '__').replace("'", '___').replace("$", '____'),
str(_file.absolute()),
)

Expand Down
2 changes: 1 addition & 1 deletion kde/plasmoid/metadata.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ X-KDE-ServiceTypes=Plasma/Applet
X-KDE-PluginInfo-Author=rbn42
X-KDE-PluginInfo-Email=
X-KDE-PluginInfo-Name=panon
X-KDE-PluginInfo-Version=0.3.1
X-KDE-PluginInfo-Version=0.4.0
X-KDE-PluginInfo-Website=github.com/rbn42/panon
X-KDE-PluginInfo-Category=Multimedia
X-KDE-PluginInfo-Depends=
Expand Down
4 changes: 2 additions & 2 deletions panon/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
panon client
Usage:
freetile [options] <port>
freetile -h | --help
main [options] <port>
main -h | --help
Options:
-h --help Show this screen.
Expand Down

0 comments on commit 1c422f3

Please sign in to comment.