summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2017-11-29 21:25:30 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2017-11-29 21:25:30 +0000
commitaa2eb5cba452fa3abddfb834a310dac99addafd4 (patch)
tree507a41d9b8cb37a51d91a9d8fee1e84c34aca215
parentBackport of the tempfile module from Python 3 (diff)
New port: misc/crosti: Convert custom image to cross stitch design, edit stitch designs
Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13266
Notes
Notes: svn path=/head/; revision=455151
-rw-r--r--misc/Makefile1
-rw-r--r--misc/crosti/Makefile21
-rw-r--r--misc/crosti/distinfo3
-rw-r--r--misc/crosti/files/patch-crosti.pro36
-rw-r--r--misc/crosti/pkg-descr16
-rw-r--r--misc/crosti/pkg-plist181
6 files changed, 258 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 80a24fbda677..ee63a64136f0 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -56,6 +56,7 @@
SUBDIR += countrycodes
SUBDIR += cpuid
SUBDIR += crosspad
+ SUBDIR += crosti
SUBDIR += cs
SUBDIR += cstream
SUBDIR += dahdi
diff --git a/misc/crosti/Makefile b/misc/crosti/Makefile
new file mode 100644
index 000000000000..b6ca56c17ee3
--- /dev/null
+++ b/misc/crosti/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= crosti
+DISTVERSION= 1.13.3
+DISTVERSIONSUFFIX= -source
+CATEGORIES= misc
+MASTER_SITES= SF/crosti/crosti%20${DISTVERSION}/
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Convert custom image to cross stitch design, edit stitch designs
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/gpl.txt
+
+USES= desktop-file-utils dos2unix qmake shared-mime-info zip
+USE_GL= gl
+USE_QT5= concurrent core gui printsupport svg widgets buildtools_build
+DOS2UNIX_FILES= ${PORTNAME}.pro
+NO_WRKSUBDIR= yes
+
+.include <bsd.port.mk>
diff --git a/misc/crosti/distinfo b/misc/crosti/distinfo
new file mode 100644
index 000000000000..1e7528593303
--- /dev/null
+++ b/misc/crosti/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1511764028
+SHA256 (crosti-1.13.3-source.zip) = 1434ba87e45974f63230d4c35f6674068ba12aa40dc248fd25205a479c3ad13f
+SIZE (crosti-1.13.3-source.zip) = 544647
diff --git a/misc/crosti/files/patch-crosti.pro b/misc/crosti/files/patch-crosti.pro
new file mode 100644
index 000000000000..1f85c53e4d5f
--- /dev/null
+++ b/misc/crosti/files/patch-crosti.pro
@@ -0,0 +1,36 @@
+--- crosti.pro.orig 2017-11-27 07:23:03 UTC
++++ crosti.pro
+@@ -54,24 +54,24 @@ win32{
+ unix{# deb-package data
+ DESTDIR = .
+ CONFIG(release,debug|release){
+- target.path = /usr/bin
+- data.path = /usr/share/crosti
++ target.path = $$PREFIX/bin
++ data.path = $$PREFIX/share/crosti
+ data.files = changelog.txt \
+ gpl.txt \
+ readme.txt
+- icon16.path = /usr/share/icons/hicolor/16x16/apps
++ icon16.path = $$PREFIX/share/icons/hicolor/16x16/apps
+ icon16.files = src/icons/16x16/crosti.png
+- icon32.path = /usr/share/icons/hicolor/32x32/apps
++ icon32.path = $$PREFIX/share/icons/hicolor/32x32/apps
+ icon32.files = src/icons/32x32/crosti.png
+- icon48.path = /usr/share/icons/hicolor/48x48/apps
++ icon48.path = $$PREFIX/share/icons/hicolor/48x48/apps
+ icon48.files = src/icons/48x48/crosti.png
+- iconmime32.path = /usr/share/icons/hicolor/32x32/mimetypes
++ iconmime32.path = $$PREFIX/share/icons/hicolor/32x32/mimetypes
+ iconmime32.files = src/icons/32x32/text-x-cst.png
+- system.path = /usr/share/crosti/system
++ system.path = $$PREFIX/share/crosti/system
+ system.files = system/*
+- shortcut.path = /usr/share/applications
++ shortcut.path = $$PREFIX/share/applications
+ shortcut.files = src/crosti.desktop
+- mime.path = /usr/share/mime/packages
++ mime.path = $$PREFIX/share/mime/packages
+ mime.files = src/crosti.xml
+ INSTALLS += target \
+ data \
diff --git a/misc/crosti/pkg-descr b/misc/crosti/pkg-descr
new file mode 100644
index 000000000000..35d118195eb5
--- /dev/null
+++ b/misc/crosti/pkg-descr
@@ -0,0 +1,16 @@
+This tool allows you to make your own unique cross stitch design from custom
+image. You can resize and rotate image, reduce the number of colors, change
+image palette, make cross stitch design, preview it, save and print. Cross
+stitch design edition available: colors and icons changing, new color addition,
+color fill, pixel draw, lines and half-stitches.
+
+Features:
+* Convert custom image to cross stitch design
+* Edit cross stitch design
+* Save and print the design that you created
+* Input pictures: BMP, GIF, ICO, JPEG, JPG, MNG, PBM, PGM, PNG, PPM, SVG, TIF,
+ TIFF, XBM, XPM
+* Output cross stitch design: BMP, ICO, JPEG, JPG, PNG, PPM, TIF, TIFF, XBM,
+ XPM, PDF, CST (crosti scheme text file)
+
+WWW: https://sourceforge.net/projects/crosti
diff --git a/misc/crosti/pkg-plist b/misc/crosti/pkg-plist
new file mode 100644
index 000000000000..5ba97782b60d
--- /dev/null
+++ b/misc/crosti/pkg-plist
@@ -0,0 +1,181 @@
+bin/crosti
+share/applications/crosti.desktop
+%%DATADIR%%/changelog.txt
+%%DATADIR%%/gpl.txt
+%%DATADIR%%/readme.txt
+%%DATADIR%%/system/clpics/clpic0.bmp
+%%DATADIR%%/system/clpics/clpic1.bmp
+%%DATADIR%%/system/clpics/clpic10.bmp
+%%DATADIR%%/system/clpics/clpic11.bmp
+%%DATADIR%%/system/clpics/clpic12.bmp
+%%DATADIR%%/system/clpics/clpic13.bmp
+%%DATADIR%%/system/clpics/clpic14.bmp
+%%DATADIR%%/system/clpics/clpic15.bmp
+%%DATADIR%%/system/clpics/clpic16.bmp
+%%DATADIR%%/system/clpics/clpic17.bmp
+%%DATADIR%%/system/clpics/clpic18.bmp
+%%DATADIR%%/system/clpics/clpic19.bmp
+%%DATADIR%%/system/clpics/clpic2.bmp
+%%DATADIR%%/system/clpics/clpic20.bmp
+%%DATADIR%%/system/clpics/clpic21.bmp
+%%DATADIR%%/system/clpics/clpic22.bmp
+%%DATADIR%%/system/clpics/clpic23.bmp
+%%DATADIR%%/system/clpics/clpic24.bmp
+%%DATADIR%%/system/clpics/clpic25.bmp
+%%DATADIR%%/system/clpics/clpic26.bmp
+%%DATADIR%%/system/clpics/clpic27.bmp
+%%DATADIR%%/system/clpics/clpic28.bmp
+%%DATADIR%%/system/clpics/clpic29.bmp
+%%DATADIR%%/system/clpics/clpic3.bmp
+%%DATADIR%%/system/clpics/clpic30.bmp
+%%DATADIR%%/system/clpics/clpic31.bmp
+%%DATADIR%%/system/clpics/clpic32.bmp
+%%DATADIR%%/system/clpics/clpic33.bmp
+%%DATADIR%%/system/clpics/clpic34.bmp
+%%DATADIR%%/system/clpics/clpic35.bmp
+%%DATADIR%%/system/clpics/clpic36.bmp
+%%DATADIR%%/system/clpics/clpic37.bmp
+%%DATADIR%%/system/clpics/clpic38.bmp
+%%DATADIR%%/system/clpics/clpic39.bmp
+%%DATADIR%%/system/clpics/clpic4.bmp
+%%DATADIR%%/system/clpics/clpic40.bmp
+%%DATADIR%%/system/clpics/clpic41.bmp
+%%DATADIR%%/system/clpics/clpic42.bmp
+%%DATADIR%%/system/clpics/clpic43.bmp
+%%DATADIR%%/system/clpics/clpic44.bmp
+%%DATADIR%%/system/clpics/clpic45.bmp
+%%DATADIR%%/system/clpics/clpic46.bmp
+%%DATADIR%%/system/clpics/clpic47.bmp
+%%DATADIR%%/system/clpics/clpic48.bmp
+%%DATADIR%%/system/clpics/clpic49.bmp
+%%DATADIR%%/system/clpics/clpic5.bmp
+%%DATADIR%%/system/clpics/clpic50.bmp
+%%DATADIR%%/system/clpics/clpic51.bmp
+%%DATADIR%%/system/clpics/clpic52.bmp
+%%DATADIR%%/system/clpics/clpic53.bmp
+%%DATADIR%%/system/clpics/clpic54.bmp
+%%DATADIR%%/system/clpics/clpic55.bmp
+%%DATADIR%%/system/clpics/clpic56.bmp
+%%DATADIR%%/system/clpics/clpic57.bmp
+%%DATADIR%%/system/clpics/clpic58.bmp
+%%DATADIR%%/system/clpics/clpic59.bmp
+%%DATADIR%%/system/clpics/clpic6.bmp
+%%DATADIR%%/system/clpics/clpic60.bmp
+%%DATADIR%%/system/clpics/clpic61.bmp
+%%DATADIR%%/system/clpics/clpic62.bmp
+%%DATADIR%%/system/clpics/clpic63.bmp
+%%DATADIR%%/system/clpics/clpic64.bmp
+%%DATADIR%%/system/clpics/clpic65.bmp
+%%DATADIR%%/system/clpics/clpic66.bmp
+%%DATADIR%%/system/clpics/clpic67.bmp
+%%DATADIR%%/system/clpics/clpic68.bmp
+%%DATADIR%%/system/clpics/clpic69.bmp
+%%DATADIR%%/system/clpics/clpic7.bmp
+%%DATADIR%%/system/clpics/clpic70.bmp
+%%DATADIR%%/system/clpics/clpic71.bmp
+%%DATADIR%%/system/clpics/clpic72.bmp
+%%DATADIR%%/system/clpics/clpic73.bmp
+%%DATADIR%%/system/clpics/clpic74.bmp
+%%DATADIR%%/system/clpics/clpic75.bmp
+%%DATADIR%%/system/clpics/clpic76.bmp
+%%DATADIR%%/system/clpics/clpic77.bmp
+%%DATADIR%%/system/clpics/clpic78.bmp
+%%DATADIR%%/system/clpics/clpic79.bmp
+%%DATADIR%%/system/clpics/clpic8.bmp
+%%DATADIR%%/system/clpics/clpic80.bmp
+%%DATADIR%%/system/clpics/clpic81.bmp
+%%DATADIR%%/system/clpics/clpic82.bmp
+%%DATADIR%%/system/clpics/clpic83.bmp
+%%DATADIR%%/system/clpics/clpic84.bmp
+%%DATADIR%%/system/clpics/clpic85.bmp
+%%DATADIR%%/system/clpics/clpic86.bmp
+%%DATADIR%%/system/clpics/clpic87.bmp
+%%DATADIR%%/system/clpics/clpic88.bmp
+%%DATADIR%%/system/clpics/clpic89.bmp
+%%DATADIR%%/system/clpics/clpic9.bmp
+%%DATADIR%%/system/clpics/lstitch.bmp
+%%DATADIR%%/system/clpics/rstitch.bmp
+%%DATADIR%%/system/image/1.png
+%%DATADIR%%/system/image/2.png
+%%DATADIR%%/system/image/3.png
+%%DATADIR%%/system/image/4.png
+%%DATADIR%%/system/image/5.png
+%%DATADIR%%/system/image/clear.png
+%%DATADIR%%/system/image/close.png
+%%DATADIR%%/system/image/colortable.png
+%%DATADIR%%/system/image/crosti.png
+%%DATADIR%%/system/image/exit.png
+%%DATADIR%%/system/image/export.png
+%%DATADIR%%/system/image/eye.png
+%%DATADIR%%/system/image/help.png
+%%DATADIR%%/system/image/imageopen.png
+%%DATADIR%%/system/image/imagereset.png
+%%DATADIR%%/system/image/imagesave.png
+%%DATADIR%%/system/image/invert.png
+%%DATADIR%%/system/image/lstitch.png
+%%DATADIR%%/system/image/minus.png
+%%DATADIR%%/system/image/money.png
+%%DATADIR%%/system/image/plus.png
+%%DATADIR%%/system/image/preview.png
+%%DATADIR%%/system/image/print.png
+%%DATADIR%%/system/image/printcolortable.png
+%%DATADIR%%/system/image/printcrosti.png
+%%DATADIR%%/system/image/printscheme.png
+%%DATADIR%%/system/image/redo.png
+%%DATADIR%%/system/image/rotl.png
+%%DATADIR%%/system/image/rotr.png
+%%DATADIR%%/system/image/rstitch.png
+%%DATADIR%%/system/image/schemeopen.png
+%%DATADIR%%/system/image/schemesave.png
+%%DATADIR%%/system/image/settings.png
+%%DATADIR%%/system/image/stitch.png
+%%DATADIR%%/system/image/tool0.png
+%%DATADIR%%/system/image/tool1.png
+%%DATADIR%%/system/image/tool2.png
+%%DATADIR%%/system/image/tool3.png
+%%DATADIR%%/system/image/tool4.png
+%%DATADIR%%/system/image/tool5.png
+%%DATADIR%%/system/image/tool6.png
+%%DATADIR%%/system/image/tool7.png
+%%DATADIR%%/system/image/tools.png
+%%DATADIR%%/system/image/undo.png
+%%DATADIR%%/system/image/wizard.png
+%%DATADIR%%/system/image/zoom.png
+%%DATADIR%%/system/image/zoomreset.png
+%%DATADIR%%/system/palette/anchor.csc
+%%DATADIR%%/system/palette/dmc.csc
+%%DATADIR%%/system/palette/gamma.csc
+%%DATADIR%%/system/theme/theme1/btn.qss
+%%DATADIR%%/system/theme/theme1/down_arrow.png
+%%DATADIR%%/system/theme/theme1/down_arrow_disabled.png
+%%DATADIR%%/system/theme/theme1/frame.png
+%%DATADIR%%/system/theme/theme1/groupbox.qss
+%%DATADIR%%/system/theme/theme1/lineedit.qss
+%%DATADIR%%/system/theme/theme1/menu.qss
+%%DATADIR%%/system/theme/theme1/progressbar.qss
+%%DATADIR%%/system/theme/theme1/spinbox.qss
+%%DATADIR%%/system/theme/theme1/spindown.png
+%%DATADIR%%/system/theme/theme1/spindown_hover.png
+%%DATADIR%%/system/theme/theme1/spindown_off.png
+%%DATADIR%%/system/theme/theme1/spindown_pressed.png
+%%DATADIR%%/system/theme/theme1/spinup.png
+%%DATADIR%%/system/theme/theme1/spinup_hover.png
+%%DATADIR%%/system/theme/theme1/spinup_off.png
+%%DATADIR%%/system/theme/theme1/spinup_pressed.png
+%%DATADIR%%/system/theme/theme1/up_arrow.png
+%%DATADIR%%/system/theme/theme1/up_arrow_disabled.png
+%%DATADIR%%/system/theme/theme1/widget.qss
+%%DATADIR%%/system/translations/crosti_cs.qm
+%%DATADIR%%/system/translations/crosti_fr.qm
+%%DATADIR%%/system/translations/crosti_it.qm
+%%DATADIR%%/system/translations/crosti_ru.qm
+%%DATADIR%%/system/translations/qt_cs.qm
+%%DATADIR%%/system/translations/qt_fr.qm
+%%DATADIR%%/system/translations/qt_it.qm
+%%DATADIR%%/system/translations/qt_ru.qm
+share/icons/hicolor/16x16/apps/crosti.png
+share/icons/hicolor/32x32/apps/crosti.png
+share/icons/hicolor/32x32/mimetypes/text-x-cst.png
+share/icons/hicolor/48x48/apps/crosti.png
+share/mime/packages/crosti.xml
+@dir %%DATADIR%%/system/theme/default