Skip to content

Commit 19dee15

Browse files
authored
Add files via upload
1 parent e7565c6 commit 19dee15

30 files changed

+1589
-105
lines changed

debian/changelog

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
imfoc (1.0-1) unstable; urgency=medium
1+
imfoc (1.0.2) unstable; urgency=medium
22

33
* Initial release.
44

5-
-- Fatih Önder <fatih@algyazilim.com> Thu, 08 Dec 2024 10:00:00 +0300
6-
5+
-- Fatih ÖNDER <fatih@algyazilim.com> Wed, 20 Mar 2024 14:30:00 +0300

debian/control

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,36 @@
11
Source: imfoc
22
Section: graphics
33
Priority: optional
4-
Maintainer: Fatih Önder <fatih@algyazilim.com>
5-
Build-Depends: debhelper (>= 12),
6-
python3-all,
7-
python3-setuptools,
8-
python3-pyqt5,
9-
python3-pillow
10-
Standards-Version: 4.5.0
11-
X-Debbugs-CC: debian-devel@lists.debian.org
12-
Homepage: http://www.algyazilim.com
4+
Maintainer: Fatih ÖNDER <fatih@algyazilim.com>
5+
Build-Depends: debhelper-compat (= 13),
6+
dh-python,
7+
python3-all,
8+
python3-setuptools,
9+
python3-opencv,
10+
python3-numpy
11+
Standards-Version: 4.5.1
12+
Homepage: https://github.com/cektor
13+
Rules-Requires-Root: no
1314

1415
Package: imfoc
1516
Architecture: all
16-
Depends: ${python3:Depends},
17-
${misc:Depends},
18-
python3-pillow,
19-
python3-pyqt5
20-
Description: Bu uygulama, kullanıcıların görüntü dosyalarını kolayca farklı formatlara dönüştürmesine olanak tanır. Sürükle-bırak özelliğiyle kullanıcı dostu bir deneyim sunar; bir görüntü dosyasını uygulamaya sürükleyerek veya etiket alanına tıklayarak dosya seçebilirsiniz.
17+
Depends: ${python3:Depends},
18+
${misc:Depends},
19+
python3-pyqt5,
20+
python3-pil,
21+
python3-tqdm,
22+
python3-opencv,
23+
python3-numpy
24+
Description: Image Format Converter with Background Removal
25+
IMFOC (IMage FOrmat Converter) is a user-friendly application
26+
that allows users to easily convert image files between different
27+
formats. It features:
28+
.
29+
* Support for multiple image formats (PNG, JPEG, GIF, BMP, TIFF, WEBP)
30+
* Background removal capability using OpenCV
31+
* Drag-and-drop interface
32+
* JPEG quality adjustment
33+
* Bilingual support (Turkish/English)
34+
.
35+
This application is developed by ALG Software Inc. to support
36+
migration to Pardus Linux.

debian/files

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
imfoc_1.0-1_all.deb graphics optional
2-
imfoc_1.0-1_amd64.buildinfo graphics optional
1+
imfoc_1.0.2_all.deb graphics optional
2+
imfoc_1.0.2_amd64.buildinfo graphics optional

debian/imfoc.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Desktop Entry]
2-
Version=1.0
2+
Version=1.0.2
33
Name=IMFOC
44
Comment=Image Format Converter
55
Exec=python3 /usr/bin/imfoc.py

debian/imfoc.postinst.debhelper

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# Automatically added by dh_python3
3+
if command -v py3compile >/dev/null 2>&1; then
4+
py3compile -p imfoc
5+
fi
6+
if command -v pypy3compile >/dev/null 2>&1; then
7+
pypy3compile -p imfoc || true
8+
fi
9+
10+
# End automatically added section

debian/imfoc.prerm.debhelper

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# Automatically added by dh_python3
3+
if command -v py3clean >/dev/null 2>&1; then
4+
py3clean -p imfoc
5+
else
6+
dpkg -L imfoc | sed -En -e '/^(.*)\/(.+)\.py$/s,,rm "\1/__pycache__/\2".*,e'
7+
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
8+
fi
9+
10+
# End automatically added section

debian/imfoc.substvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
python3:Depends=python3-pil, python3-pyqt5, python3:any
12
misc:Depends=
23
misc:Pre-Depends=

debian/imfoc/DEBIAN/control

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
Package: imfoc
2-
Version: 1.0-1
2+
Version: 1.0.2
33
Architecture: all
4-
Maintainer: Fatih Önder <fatih@algyazilim.com>
4+
Maintainer: Fatih ÖNDER <fatih@algyazilim.com>
55
Installed-Size: 81
6-
Depends: python3-pillow, python3-pyqt5
6+
Depends: python3-pil, python3-pyqt5, python3:any, python3-tqdm, python3-opencv, python3-numpy
77
Section: graphics
88
Priority: optional
9-
Homepage: http://www.algyazilim.com
10-
Description: Bu uygulama, kullanıcıların görüntü dosyalarını kolayca farklı formatlara dönüştürmesine olanak tanır. Sürükle-bırak özelliğiyle kullanıcı dostu bir deneyim sunar; bir görüntü dosyasını uygulamaya sürükleyerek veya etiket alanına tıklayarak dosya seçebilirsiniz.
9+
Homepage: https://github.com/cektor
10+
Description: Image Format Converter with Background Removal
11+
IMFOC (IMage FOrmat Converter) is a user-friendly application
12+
that allows users to easily convert image files between different
13+
formats. It features:
14+
.
15+
* Support for multiple image formats (PNG, JPEG, GIF, BMP, TIFF, WEBP)
16+
* Background removal capability using OpenCV
17+
* Drag-and-drop interface
18+
* JPEG quality adjustment
19+
* Bilingual support (Turkish/English)
20+
.
21+
This application is developed by ALG Software Inc. to support
22+
migration to Pardus Linux.

debian/imfoc/DEBIAN/md5sums

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
a3e0290e4a0e45188875c655198ff95f usr/bin/imfoc
2-
807f9863daf935b114ba1bde4ab7d5b0 usr/bin/imfoc.py
3-
0f2202412c43b54605fa9a226d02ec06 usr/lib/python3.11/dist-packages/imfoc-1.0.egg-info/PKG-INFO
4-
68b329da9893e34099c7d8ad5cb9c940 usr/lib/python3.11/dist-packages/imfoc-1.0.egg-info/dependency_links.txt
5-
68c0ab3210f15376a3fc26dce8a91215 usr/lib/python3.11/dist-packages/imfoc-1.0.egg-info/entry_points.txt
6-
2ebc87ffe885c02ff42167639f23de5a usr/lib/python3.11/dist-packages/imfoc-1.0.egg-info/requires.txt
7-
1d80682773290e614dd828a4d099f8d2 usr/lib/python3.11/dist-packages/imfoc-1.0.egg-info/top_level.txt
8-
215bd72b2c8fb210d1a11a6ccbdf751b usr/lib/python3.11/dist-packages/imfoc/__pycache__/imfoc.cpython-311.pyc
9-
7cdcf79ff82e9699c159a21ef9b09ead usr/lib/python3.11/dist-packages/imfoc/imfoc.desktop
10-
807f9863daf935b114ba1bde4ab7d5b0 usr/lib/python3.11/dist-packages/imfoc/imfoc.py
11-
e286be59d7bed8f76bf94703e06d5d1a usr/lib/python3.11/dist-packages/imfoc/imfoclo.png
12-
7cdcf79ff82e9699c159a21ef9b09ead usr/share/applications/imfoc.desktop
13-
2c93885bd6a8fbaa4e55ce227809ff23 usr/share/doc/imfoc/changelog.Debian.gz
1+
154cba2e8279c422cc8204e29f185ca8 usr/bin/imfoc
2+
eea52a29befb402978d93292f5aa2fca usr/bin/imfoc.py
3+
9fa1ddc444601c587ce58b953c88c7f2 usr/lib/python3/dist-packages/imfoc-1.0.2.egg-info/PKG-INFO
4+
68b329da9893e34099c7d8ad5cb9c940 usr/lib/python3/dist-packages/imfoc-1.0.2.egg-info/dependency_links.txt
5+
68c0ab3210f15376a3fc26dce8a91215 usr/lib/python3/dist-packages/imfoc-1.0.2.egg-info/entry_points.txt
6+
b967fc8d49db5e37c0da94031af572d4 usr/lib/python3/dist-packages/imfoc-1.0.2.egg-info/requires.txt
7+
1d80682773290e614dd828a4d099f8d2 usr/lib/python3/dist-packages/imfoc-1.0.2.egg-info/top_level.txt
8+
7cdcf79ff82e9699c159a21ef9b09ead usr/lib/python3/dist-packages/imfoc/imfoc.desktop
9+
807f9863daf935b114ba1bde4ab7d5b0 usr/lib/python3/dist-packages/imfoc/imfoc.py
10+
e286be59d7bed8f76bf94703e06d5d1a usr/lib/python3/dist-packages/imfoc/imfoclo.png
11+
4b0142c8d38476afdfd9eb28aa998f35 usr/share/applications/imfoc.desktop
12+
ff1992ce1ea5501c684b5dbe8878b9aa usr/share/doc/imfoc/changelog.gz
1413
40c910e419004fe15b3068ee616c1dd8 usr/share/doc/imfoc/copyright
1514
e286be59d7bed8f76bf94703e06d5d1a usr/share/icons/hicolor/48x48/apps/imfoclo.png

debian/imfoc/DEBIAN/postinst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
# postinst script for imfoc
3+
4+
set -e
5+
6+
# Kurulum sonrası yapılacaklar
7+
pip3 install rembg
8+
9+
# Bitiş
10+
exit 0
11+

debian/imfoc/DEBIAN/prerm

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
set -e
3+
4+
# Automatically added by dh_python3
5+
if command -v py3clean >/dev/null 2>&1; then
6+
py3clean -p imfoc
7+
else
8+
dpkg -L imfoc | sed -En -e '/^(.*)\/(.+)\.py$/s,,rm "\1/__pycache__/\2".*,e'
9+
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
10+
fi
11+
12+
# End automatically added section

debian/imfoc/usr/bin/imfoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/python3
2-
# EASY-INSTALL-ENTRY-SCRIPT: 'imfoc==1.0','gui_scripts','imfoc'
2+
# EASY-INSTALL-ENTRY-SCRIPT: 'imfoc==1.0.2','gui_scripts','imfoc'
33
import re
44
import sys
55

66
# for compatibility with easy_install; see #2198
7-
__requires__ = 'imfoc==1.0'
7+
__requires__ = 'imfoc==1.0.2'
88

99
try:
1010
from importlib.metadata import distribution
@@ -30,4 +30,4 @@ globals().setdefault('load_entry_point', importlib_load_entry_point)
3030

3131
if __name__ == '__main__':
3232
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
33-
sys.exit(load_entry_point('imfoc==1.0', 'gui_scripts', 'imfoc')())
33+
sys.exit(load_entry_point('imfoc==1.0.2', 'gui_scripts', 'imfoc')())

0 commit comments

Comments
 (0)