diff --git a/deskutils/Makefile b/deskutils/Makefile index 874b8cf62bb8..be7f7497084d 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -1,303 +1,304 @@ COMMENT = Things that used to be on the desktop before computers were invented SUBDIR += affiche SUBDIR += akonadi-calendar-tools SUBDIR += akonadi-import-wizard SUBDIR += akonadiconsole SUBDIR += akregator SUBDIR += alarm-clock-applet SUBDIR += anydesk SUBDIR += appwrapper SUBDIR += arttime SUBDIR += aspostit SUBDIR += ausweisapp2 SUBDIR += autocutsel SUBDIR += baobab SUBDIR += basket SUBDIR += belcard SUBDIR += bigyear SUBDIR += bijiben SUBDIR += birdtray SUBDIR += bookworm SUBDIR += budgie-desktop-view SUBDIR += budgie-trash-applet SUBDIR += cairo-dock SUBDIR += cairo-dock-plugins SUBDIR += caja-extensions SUBDIR += cal SUBDIR += calcurse SUBDIR += calendar SUBDIR += calendar-data SUBDIR += calibre SUBDIR += calindori SUBDIR += cartotheque SUBDIR += cfiles SUBDIR += charmtimetracker SUBDIR += chart SUBDIR += clipit SUBDIR += clipmenu SUBDIR += clipnotify SUBDIR += conkyforecast SUBDIR += coolreader SUBDIR += copyq SUBDIR += coregarage SUBDIR += countdown SUBDIR += dailystrips SUBDIR += deforaos-todo SUBDIR += dfshow SUBDIR += dmenu-wayland SUBDIR += docear SUBDIR += dosage SUBDIR += dstask SUBDIR += easystroke SUBDIR += elementary-calendar SUBDIR += fasd SUBDIR += fbreader SUBDIR += fet SUBDIR += fff SUBDIR += flameshot SUBDIR += foliate SUBDIR += freebsd-update-notify SUBDIR += freemind SUBDIR += freeplane SUBDIR += ganttproject SUBDIR += gcal SUBDIR += gcalcli SUBDIR += genius SUBDIR += glabels SUBDIR += gnome-calendar SUBDIR += gnome-characters SUBDIR += gnome-clocks SUBDIR += gnome-contacts SUBDIR += gnome-dictionary SUBDIR += gnome-font-viewer SUBDIR += gnome-initial-setup SUBDIR += gnome-maps SUBDIR += gnome-photos SUBDIR += gnome-planner SUBDIR += gnome-pomodoro SUBDIR += gnome-screenshot SUBDIR += gnome-shell-extension-audio-output-switcher SUBDIR += gnome-shell-extension-coverflow SUBDIR += gnome-shell-extension-dashtodock SUBDIR += gnome-shell-extension-dashtopanel SUBDIR += gnome-shell-extension-filesmenu SUBDIR += gnome-shell-extension-hidetopbar SUBDIR += gnome-shell-extension-lockkeys SUBDIR += gnome-shell-extension-mediaplayer SUBDIR += gnome-shell-extension-openweather SUBDIR += gnome-shell-extension-panel-osd SUBDIR += gnome-shell-extension-recent-items SUBDIR += gnome-shell-extension-trash SUBDIR += gnome-shell-extension-weather SUBDIR += gnome-shell-extension-windowoverlay-icons SUBDIR += gnome-shell-extra-extensions SUBDIR += gnome-sound-recorder SUBDIR += gnome-todo SUBDIR += gnome-tweaks SUBDIR += gnome-utils SUBDIR += gnome-weather SUBDIR += gnote SUBDIR += gnustep-wrapper SUBDIR += go-for-it SUBDIR += goesimage SUBDIR += gpicker SUBDIR += grantlee-editor SUBDIR += grantleetheme SUBDIR += griffith SUBDIR += growl-for-linux SUBDIR += gsimplecal SUBDIR += gtimer SUBDIR += gucharmap SUBDIR += gworkspace SUBDIR += gworkspace-gwmetadata SUBDIR += gxmessage SUBDIR += gxneur SUBDIR += havoc SUBDIR += health SUBDIR += hebcal SUBDIR += helpviewer SUBDIR += hot-babe SUBDIR += howm SUBDIR += hs-arbtt SUBDIR += i3lock SUBDIR += i3status SUBDIR += ical SUBDIR += iconbrowser SUBDIR += itinerary SUBDIR += jjclient SUBDIR += jlj SUBDIR += jot SUBDIR += just SUBDIR += kaddressbook SUBDIR += kalarm SUBDIR += kcharselect SUBDIR += kchmviewer SUBDIR += kdeconnect-kde SUBDIR += kdepim SUBDIR += kdepim-addons SUBDIR += kdepim-runtime SUBDIR += keditbookmarks SUBDIR += keep-presence SUBDIR += kfind SUBDIR += kmail SUBDIR += kmail-account-wizard SUBDIR += knotes SUBDIR += kodaskanna SUBDIR += kongress SUBDIR += kontact SUBDIR += korganizer SUBDIR += kronometer SUBDIR += kruler SUBDIR += ktimetracker SUBDIR += kuserfeedback SUBDIR += latte-dock SUBDIR += lazycli SUBDIR += libcprime SUBDIR += libkdepim SUBDIR += libportal SUBDIR += libportal-gtk3 SUBDIR += libportal-gtk4 SUBDIR += libportal-qt5 SUBDIR += ljclive SUBDIR += lumina-archiver SUBDIR += lumina-calculator SUBDIR += lumina-fileinfo SUBDIR += lumina-fm SUBDIR += lumina-mediaplayer SUBDIR += lumina-pdf SUBDIR += lumina-photo SUBDIR += lumina-screenshot SUBDIR += lumina-textedit SUBDIR += lxqt-notificationd SUBDIR += maliit-framework SUBDIR += maliit-keyboard SUBDIR += mate-indicator-applet SUBDIR += mate-notification-daemon SUBDIR += mate-utils SUBDIR += mbox-importer SUBDIR += mencal SUBDIR += menumaker SUBDIR += merkuro SUBDIR += meteo SUBDIR += mindforger SUBDIR += moregroupware SUBDIR += mozo + SUBDIR += mytetra SUBDIR += nautilus-sendto SUBDIR += nextcloudclient SUBDIR += note SUBDIR += notekit SUBDIR += notes SUBDIR += noti SUBDIR += notification-daemon SUBDIR += notify-osd SUBDIR += orage SUBDIR += owncloudclient SUBDIR += p5-Data-ICal SUBDIR += p5-Data-ICal-DateTime SUBDIR += p5-Goo SUBDIR += pal SUBDIR += parcellite SUBDIR += peaclock SUBDIR += pet SUBDIR += phpicalendar SUBDIR += pim-data-exporter SUBDIR += pim-sieve-editor SUBDIR += pinot SUBDIR += plan SUBDIR += plans SUBDIR += plasma5-milou SUBDIR += plasma5-sddm-kcm SUBDIR += plasma5-xdg-desktop-portal-kde SUBDIR += plopfolio SUBDIR += preferences SUBDIR += presage SUBDIR += projectlibre SUBDIR += pueue SUBDIR += puush SUBDIR += py-autokey SUBDIR += py-bugwarrior SUBDIR += py-khal SUBDIR += py-khard SUBDIR += py-paperless SUBDIR += py-py3status SUBDIR += py-pystash SUBDIR += py-send2trash SUBDIR += py-taskw SUBDIR += py-term-background SUBDIR += py-todoman SUBDIR += py-vdirsyncer SUBDIR += py-vobject SUBDIR += qlipper SUBDIR += qmediamanager SUBDIR += qownnotes SUBDIR += qtfeedback SUBDIR += recoll SUBDIR += remind SUBDIR += rolo SUBDIR += rubrica SUBDIR += rubygem-shellplay SUBDIR += rubygem-taskjuggler SUBDIR += semantik SUBDIR += showdown SUBDIR += sigi SUBDIR += simpleagenda SUBDIR += skim SUBDIR += sliderule SUBDIR += solanum SUBDIR += sowon SUBDIR += spacefm SUBDIR += spice-gtk SUBDIR += subsurface SUBDIR += synapse SUBDIR += syncthingtray SUBDIR += sysctlview SUBDIR += systempreferences SUBDIR += taskd SUBDIR += tasksh SUBDIR += taskwarrior SUBDIR += taskwarrior-tui SUBDIR += teapot SUBDIR += terminal-image-viewer SUBDIR += thinkingrock SUBDIR += thokr SUBDIR += timewarrior SUBDIR += todo SUBDIR += todour SUBDIR += toolboxkit SUBDIR += tpb SUBDIR += treeline SUBDIR += treesheets SUBDIR += ultralist SUBDIR += virt-manager SUBDIR += vit SUBDIR += vym SUBDIR += walld SUBDIR += when SUBDIR += wmpinboard SUBDIR += x026 SUBDIR += xannotate SUBDIR += xcalendar SUBDIR += xcbautolock SUBDIR += xchm SUBDIR += xdg-desktop-portal SUBDIR += xfce4-generic-slider SUBDIR += xfce4-notes-plugin SUBDIR += xfce4-notifyd SUBDIR += xfce4-tumbler SUBDIR += xfce4-volumed-pulse SUBDIR += xfce4-xkb-plugin SUBDIR += xmdiary SUBDIR += xneur SUBDIR += xpad SUBDIR += xpad3 SUBDIR += xpostit SUBDIR += xpostitPlus SUBDIR += xwrits SUBDIR += ydotool SUBDIR += zanshin SUBDIR += zim SUBDIR += znotes SUBDIR += zorro .include diff --git a/deskutils/mytetra/Makefile b/deskutils/mytetra/Makefile new file mode 100644 index 000000000000..a1fd2c746a6e --- /dev/null +++ b/deskutils/mytetra/Makefile @@ -0,0 +1,24 @@ +PORTNAME= mytetra +DISTVERSION= 1_43_27 +CATEGORIES= deskutils +MASTER_SITES= https://webhamster.ru/db/data/articles/105/ \ + http://vault.101011010.xyz/distfiles/ +DISTNAME= ${PORTNAME}_${DISTVERSION}_src + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Smart manager for information collecting +WWW= https://webhamster.ru/site/page/index/articles/projectcode/138 + +LICENSE= GPLv3 + +USES= gmake qmake qt:5 zip +USE_QT= buildtools:build core gui network printsupport svg widgets xml + +PLIST_FILES= bin/mytetra share/applications/mytetra.desktop \ + share/icons/hicolor/48x48/apps/mytetra.png \ + share/icons/hicolor/scalable/apps/mytetra.svg + +post-extract: + ${CHMOD} -x ${WRKSRC}/desktop/any/mytetra.desktop + +.include diff --git a/deskutils/mytetra/distinfo b/deskutils/mytetra/distinfo new file mode 100644 index 000000000000..3279449e5c03 --- /dev/null +++ b/deskutils/mytetra/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1530899149 +SHA256 (mytetra_1_43_27_src.zip) = f649d1932c7a40ba2e5e7258fac672c7a90cb46273cfb50b21d8c7f300c1ac6d +SIZE (mytetra_1_43_27_src.zip) = 14309620 diff --git a/deskutils/mytetra/files/patch-mytetra.pro b/deskutils/mytetra/files/patch-mytetra.pro new file mode 100644 index 000000000000..7de75a0ab899 --- /dev/null +++ b/deskutils/mytetra/files/patch-mytetra.pro @@ -0,0 +1,58 @@ +--- mytetra.pro.orig 2018-06-12 15:49:29 UTC ++++ mytetra.pro +@@ -6,7 +6,7 @@ TARGET_OS=ANY_OS + + # Build type + # "debug" or "release" +-BUILD_TYPE="debug" ++BUILD_TYPE=$$find(CONFIG, debug|release) + + # Enable console for Windows + # 0 - disable, 1 - enable +@@ -54,13 +54,7 @@ QT = gui \ + CONFIG += qt \ + warn_on + +-# If debug build +-equals(BUILD_TYPE, "debug") { +- message(Is debug build) +- CONFIG += debug +-} else { +- message(Is release build) +-} ++message(Is $$first(BUILD_TYPE) build) + + # If Windows console enable + equals(WINDOWS_CONSOLE_ENABLE, 1) { +@@ -91,7 +85,7 @@ INCLUDEPATH += $${_PRO_FILE_PWD_}/src + contains(TARGET_OS, ANY_OS) { + message(Building the any OS version...) + SYSTEM_PROGRAM_NAME=mytetra +- BINARY_INSTALL_PATH=/usr/local/bin ++ BINARY_INSTALL_PATH=$$PREFIX/bin + } + + contains(TARGET_OS, MEEGO_OS){ +@@ -115,7 +109,7 @@ message(Set installation directory for binary file to + target.path=$${BINARY_INSTALL_PATH} + INSTALLS+=target + +-desktop_file.path=/usr/share/applications ++desktop_file.path=$$PREFIX/share/applications + contains(TARGET_OS, ANY_OS) { + desktop_file.files=desktop/any/mytetra.desktop + } +@@ -127,11 +121,11 @@ contains(TARGET_OS, ANDROID_OS) { + } + INSTALLS+=desktop_file + +-icon_scalable_file.path=/usr/share/icons/hicolor/scalable/apps ++icon_scalable_file.path=$$PREFIX/share/icons/hicolor/scalable/apps + icon_scalable_file.files=desktop/mytetra.svg + INSTALLS+=icon_scalable_file + +-icon_48_file.path=/usr/share/icons/hicolor/48x48/apps ++icon_48_file.path=$$PREFIX/share/icons/hicolor/48x48/apps + icon_48_file.files=desktop/mytetra.png + INSTALLS+=icon_48_file + diff --git a/deskutils/mytetra/files/patch-src_main.cpp b/deskutils/mytetra/files/patch-src_main.cpp new file mode 100644 index 000000000000..72499d23cd9c --- /dev/null +++ b/deskutils/mytetra/files/patch-src_main.cpp @@ -0,0 +1,21 @@ +--- src/main.cpp.orig 2018-06-17 14:02:54 UTC ++++ src/main.cpp +@@ -1,4 +1,4 @@ +-#include ++#include + + #include + #include +@@ -572,9 +572,9 @@ int getMilliCount(void) + // Something like GetTickCount but portable + // It rolls over every ~ 12.1 days (0x100000/24/60/60) + // Use getMilliSpan to correct for rollover +- timeb tb; +- ftime( &tb ); +- int nCount = tb.millitm + (tb.time & 0xfffff) * 1000; ++ timeval tv; ++ gettimeofday(&tv, NULL); ++ int nCount = tv.tv_usec / 1000 + (tv.tv_sec & 0xfffff) * 1000; + return nCount; + } + diff --git a/deskutils/mytetra/pkg-descr b/deskutils/mytetra/pkg-descr new file mode 100644 index 000000000000..a53bba91a994 --- /dev/null +++ b/deskutils/mytetra/pkg-descr @@ -0,0 +1,8 @@ +MyTetra is a full-featured, open-source, cross-platform note manager +(PIM-manager) used to collect and accumulate various kinds of information. +All entries (notes, articles) are organized in a tree structure, as well +as supplied with keywords tags that allow you to quickly find the right +entries. Links between records, attachments, encryption, detailed search, +synchronization, copying from the browser, one of the best visual WYSIWYG +text editors -- all this is in the PIM-manager MyTetra. It is powerful +program for data memorization and structuring notes.