summaryrefslogtreecommitdiff
path: root/DEBIAN
diff options
context:
space:
mode:
Diffstat (limited to 'DEBIAN')
-rw-r--r--DEBIAN/HOWTO2
-rw-r--r--DEBIAN/debian.changelog5
-rw-r--r--DEBIAN/debian.control13
-rw-r--r--DEBIAN/debian.rules29
-rw-r--r--DEBIAN/format.sh1
-rw-r--r--DEBIAN/photocrop.dsc41
6 files changed, 91 insertions, 0 deletions
diff --git a/DEBIAN/HOWTO b/DEBIAN/HOWTO
new file mode 100644
index 0000000..a371e0b
--- /dev/null
+++ b/DEBIAN/HOWTO
@@ -0,0 +1,2 @@
+foramt zapisu nazwy pliku:
+ photocrop_0.221225-0~alpha.tar.gz
diff --git a/DEBIAN/debian.changelog b/DEBIAN/debian.changelog
new file mode 100644
index 0000000..0adf1f3
--- /dev/null
+++ b/DEBIAN/debian.changelog
@@ -0,0 +1,5 @@
+photocrop (0.221225-4) unstable; urgency=low
+
+ * Last release
+
+ -- Przemysław R. Pietraszczyk Sat, 25 Dec 2022 08:31:41 +0200
diff --git a/DEBIAN/debian.control b/DEBIAN/debian.control
new file mode 100644
index 0000000..bf96b7d
--- /dev/null
+++ b/DEBIAN/debian.control
@@ -0,0 +1,13 @@
+Source: photocrop
+Section: python
+Priority: extra
+Maintainer: Przemysław R. Pietraszczyk
+Build-Depends: debhelper-compat (= 13), python3-all, dh-python, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0, fakeroot
+Standards-Version: 0.230112-0~alpha
+Homepage: http://prymula.ct8.pl
+
+
+Package: photocrop
+Architecture: all
+Depends: ${misc:Depends}, python3-all, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0
+Description: An application for cropping photos to popular paper sizes.
diff --git a/DEBIAN/debian.rules b/DEBIAN/debian.rules
new file mode 100644
index 0000000..ce6541d
--- /dev/null
+++ b/DEBIAN/debian.rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+#export PYBUILD_NAME = photocrop
+#export PYBUILD_SYSTEM = custom
+
+clean:
+ @
+
+build:
+ @
+
+binary:
+ mkdir -pm 0755 debian/photocrop
+ mkdir -pm 0755 debian/photocrop/usr/bin
+ mkdir -pm 0755 debian/photocrop/usr/share
+ mkdir -pm 0755 debian/photocrop/usr/share/photocrop
+ mkdir -pm 0755 debian/photocrop/usr/share/applications
+ cp src/photocrop.py debian/photocrop/usr/bin
+ cp data/clip.png debian/photocrop/usr/share/photocrop
+ cp data/IMG_6854.JPG debian/photocrop/usr/share/photocrop
+ cp data/photocrop.desktop debian/photocrop/usr/share/applications
+ dh_gencontrol
+ dh_builddeb
+# dh $@ --with python3 --buildsystem=pybuild
+# dh $@ --with python3
+
+#override_dh_auto_configure:
+# dh_auto_configure --
diff --git a/DEBIAN/format.sh b/DEBIAN/format.sh
new file mode 100644
index 0000000..d0e6a06
--- /dev/null
+++ b/DEBIAN/format.sh
@@ -0,0 +1 @@
+exec /usr/lib/build/debtransform ./ ./photocrop.dsc ./exec
diff --git a/DEBIAN/photocrop.dsc b/DEBIAN/photocrop.dsc
new file mode 100644
index 0000000..a742dc5
--- /dev/null
+++ b/DEBIAN/photocrop.dsc
@@ -0,0 +1,41 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+Format: 1.0
+Source: photocrop
+Binary: photocrop
+Architecture: all
+Version: 0.230112-0~alpha
+Maintainer: Przemysław R. Pietraszczyk <przem@pietraszczyk.vxm.pl>
+Homepage: http://pietraszczyk.vxm.pl
+DEBTRANSFORM-TAR: debian.tar.gz
+DEBTRANSFORM-TAR: photocrop_0.2301012-0~alpha.tar.gz
+
+Standards-Version: 0.2301012-0~alpha
+Build-Depends: debhelper-compat (= 13), python3-all, dh-python, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0, fakeroot
+Package-List:
+ photocrop deb x11 optional arch=all
+Files:
+ b31649bc23b2b7bca9ab70ea3410711a 128820 photocrop_0.230112-0~alpha.tar.gz
+ 29e7e7e60bc81891e3da3871b9eeb549 764 photocrop-0.230112-0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