Skip to content

Commit 9f99308

Browse files
committed
Update makefile and general fixies
1 parent 18dc084 commit 9f99308

File tree

15 files changed

+389
-587
lines changed

15 files changed

+389
-587
lines changed

.fpm

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-C package
2+
-s dir
3+
--name pynocchio
4+
--license gpl3
5+
--version 4.0.0
6+
--architecture all
7+
--depends poppler-utils
8+
--description "Minimalis comic reader"
9+
--url "https://github/mstuttgart/pynocchio"
10+
--maintainer "Michell Stuttgart <michellstut@gmail.com>"
11+
--category "graphics"

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ target/
6767
*.py~
6868
*.xml~
6969
*.deb
70+
*.rpm
71+
*.pacman
7072
env*/
7173
.venv
7274
.python-version
@@ -75,7 +77,7 @@ env*/
7577
.backup
7678
.env*
7779

78-
package/usr/bin/*.bin
80+
package/usr/bin/*
7981
.flatpak-builder
8082
repo
8183
builddir

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,20 @@ rcc:
9090
deploy:
9191
$(MAKE) lrelease
9292
$(MAKE) rcc
93+
rm -rf build
9394
mkdir -p build
9495
pyside6-project deploy .
9596

97+
# build .deb packages
98+
packages:
99+
cp -f build/Pynocchio.bin package/usr/bin/pynocchio
100+
cp -f resources/logo.svg package/usr/share/icons/hicolor/scalable/apps/pynocchio.svg
101+
rm -f *.deb
102+
rm -f *.rpm
103+
rm -f *.pacman
104+
fpm -t deb -p pynocchio-v4.0.0-amd64.deb
105+
fpm -t rpm -p pynocchio-v4.0.0-amd64.rpm
106+
96107
# Update and create translation files
97108
lupdate:
98109
pyside6-lupdate src/views/main_window_view.py -ts i18n/*.ts

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ The current version is stable, and we aim to improve it further.
5151
* Support PDF comic files.
5252
* Minimalist design, free, and easy to use!
5353

54-
### Roadmap: https://github.com/mstuttgart/pynocchio/issues/103
55-
5654
## Installation
5755

56+
Download latest release [here](https://github.com/mstuttgart/pynocchio/releases).
5857

5958

6059
## Contributing

docs/img/logo.png

-321 KB
Binary file not shown.

docs/img/logo.svg

Lines changed: 166 additions & 0 deletions
Loading

docs/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h1>Pynocchio</h1>
4646
<p>
4747
<img
4848
class="img-fluid"
49-
src="img/logo.png"
49+
src="img/logo.svg"
5050
alt="Logo"
5151
width="30%"
5252
/>
@@ -58,7 +58,6 @@ <h1>Pynocchio</h1>
5858
</div>
5959
<div class="col-md-12 mx-auto text-left">
6060
<p class="dot-circle font-weight-normal">
61-
<ul>
6261
<li>
6362
Supports several view adjustment modes with anti-aliasing.
6463
</li>

package/usr/share/applications/pynocchio.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Name=Pynocchio
33
GenericName=Comic Book Viewer
44
Comment=A minimalist comic reader
5-
Exec=Pynocchio.bin
5+
Exec=pynocchio
66
Terminal=false
77
Type=Application
88
MimeType=application/x-cbz;application/x-cbr;application/x-cbt;application/x-zip;application/x-rar;application/x-tar;

package/usr/share/control

Lines changed: 0 additions & 12 deletions
This file was deleted.

package/usr/share/icons/hicolor/scalable/apps/pynocchio.svg

Lines changed: 141 additions & 31 deletions
Loading

0 commit comments

Comments
 (0)