diff --git a/deskutils/Makefile b/deskutils/Makefile index 2dc79156f89e..8848397fb8f3 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -1,301 +1,302 @@ 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 += 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 += 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 += horde-groupware SUBDIR += horde-kronolith SUBDIR += horde-mnemo SUBDIR += horde-nag 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 += kalendar 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 += meteo SUBDIR += mindforger SUBDIR += moregroupware SUBDIR += mozo 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 += 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 += 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/spacefm/Makefile b/deskutils/spacefm/Makefile new file mode 100644 index 000000000000..234c72db8622 --- /dev/null +++ b/deskutils/spacefm/Makefile @@ -0,0 +1,68 @@ +PORTNAME= spacefm +DISTVERSION= 1.0.6 +CATEGORIES= deskutils + +MAINTAINER= yuri@FreeBSD.org +COMMENT= SpaceFM file manager +WWW= https://ignorantguru.github.io/spacefm + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= bash:shells/bash # for configure +LIB_DEPENDS= libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer \ + libinotify.so:devel/libinotify \ + libstartup-notification-1.so:x11/startup-notification \ + libudev.so:devel/libudev-devd +RUN_DEPENDS= bash:shells/bash + +USES= desktop-file-utils gettext gmake gnome localbase:ldflags \ + pkgconfig shared-mime-info shebangfix xorg +USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 intltool pango +USE_XORG= x11 + +USE_GITHUB= yes +GH_ACCOUNT= IgnorantGuru + +SHEBANG_FILES= src/spacefm-auth.bash spacefm-installer + +GNU_CONFIGURE= yes +CONFIGURE_SHELL= ${PREFIX}/bin/bash +CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc \ + --with-bash-path=${LOCALBASE}/bin/bash + +CFLAGS+= -Dstat64=stat -Dfstat64=fstat -Dlstat64=lstat \ + -fcommon +LDFLAGS+= -lX11 -linotify + +OPTIONS_DEFINE= DOCS +OPTIONS_GROUP= OPT_DEPS +OPTIONS_GROUP_OPT_DEPS= CURLFTPFS IFUSE JMTPFS LSOF PHOTOFS + +PORTDOCS= * + +CURLFTPFS_DESC= Mount FTP shares +CURLFTPFS_RUN_DEPENDS= fusefs-curlftpfs>0:sysutils/fusefs-curlftpfs + +IFUSE_DESC= Mount your iPhone/iPod Touch +IFUSE_RUN_DEPENDS= fusefs-ifuse>0:sysutils/fusefs-ifuse + +JMTPFS_DESC= Mount MTP devices +JMTPFS_RUN_DEPENDS= fusefs-jmtpfs>0:sysutils/fusefs-jmtpfs + +LSOF_DESC= Device processes +LSOF_RUN_DEPENDS= lsof:sysutils/lsof + +PHOTOFS_DESC= Mount cameras +PHOTOFS_RUN_DEPENDS= fusefs-gphotofs>0:graphics/fusefs-gphotofs + +post-patch: + @${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \ + ${WRKSRC}/src/ptk/ptk-handler.c + @${REINPLACE_CMD} -e '\ + s|^/bin/bash|${LOCALBASE}/bin/bash|; \ + s|/usr/bin/sha256sum|/sbin/sha256| \ + ' \ + ${WRKSRC}/src/spacefm-auth.bash + +.include diff --git a/deskutils/spacefm/distinfo b/deskutils/spacefm/distinfo new file mode 100644 index 000000000000..d512763c508d --- /dev/null +++ b/deskutils/spacefm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1676930139 +SHA256 (IgnorantGuru-spacefm-1.0.6_GH0.tar.gz) = fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9 +SIZE (IgnorantGuru-spacefm-1.0.6_GH0.tar.gz) = 3498587 diff --git a/deskutils/spacefm/files/patch-src_settings.c b/deskutils/spacefm/files/patch-src_settings.c new file mode 100644 index 000000000000..8d9b84e42548 --- /dev/null +++ b/deskutils/spacefm/files/patch-src_settings.c @@ -0,0 +1,10 @@ +--- src/settings.c.orig 2023-02-20 22:03:12 UTC ++++ src/settings.c +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + + #include "glib-utils.h" /* for g_mkdir_with_parents() */ + #include diff --git a/deskutils/spacefm/files/patch-src_vfs_vfs-file-info.h b/deskutils/spacefm/files/patch-src_vfs_vfs-file-info.h new file mode 100644 index 000000000000..d3bcc842f098 --- /dev/null +++ b/deskutils/spacefm/files/patch-src_vfs_vfs-file-info.h @@ -0,0 +1,11 @@ +--- src/vfs/vfs-file-info.h.orig 2023-02-20 22:01:54 UTC ++++ src/vfs/vfs-file-info.h +@@ -56,7 +56,7 @@ struct _VFSFileInfo + time_t mtime; + time_t atime; + long blksize; //sfm was long then blksize_t but blksize_t not defined for squeeze gcc +- blkcnt64_t blocks; //sfm was blkcnt_t ++ blkcnt_t blocks; //sfm was blkcnt_t + + char* name; /* real name on file system */ + char* disp_name; /* displayed name (in UTF-8) */ diff --git a/deskutils/spacefm/files/patch-src_vfs_vfs-volume-nohal.c b/deskutils/spacefm/files/patch-src_vfs_vfs-volume-nohal.c new file mode 100644 index 000000000000..1a9e9198f04b --- /dev/null +++ b/deskutils/spacefm/files/patch-src_vfs_vfs-volume-nohal.c @@ -0,0 +1,105 @@ +--- src/vfs/vfs-volume-nohal.c.orig 2023-02-20 22:04:57 UTC ++++ src/vfs/vfs-volume-nohal.c +@@ -35,8 +35,8 @@ + #include + + #include // kill +-#include // MAJOR MINOR +-#include // needed for dev_t ++//#include // MAJOR MINOR ++//#include // needed for dev_t + + #ifdef HAVE_STATVFS + #include +@@ -1000,6 +1000,7 @@ void info_device_properties( device_t *device ) + + gchar* info_mount_points( device_t *device ) + { ++#if 0 + gchar *contents; + gchar **lines; + GError *error; +@@ -1137,6 +1138,10 @@ gchar* info_mount_points( device_t *device ) + } + else + return NULL; ++ ++#else ++ return NULL; ++#endif + } + + void info_partition_table( device_t *device ) +@@ -1489,9 +1494,11 @@ char* device_show_info( device_t *device ) + + line[i++] = g_strdup_printf("Showing information for %s\n", device->devnode ); + line[i++] = g_strdup_printf(" native-path: %s\n", device->native_path ); ++#if 0 + line[i++] = g_strdup_printf(" device: %u:%u\n", + (unsigned int)MAJOR( device->devnum ), + (unsigned int)MINOR( device->devnum ) ); ++#endif + line[i++] = g_strdup_printf(" device-file: %s\n", device->devnode ); + line[i++] = g_strdup_printf(" presentation: %s\n", device->devnode ); + if ( device->device_by_id ) +@@ -1945,11 +1952,13 @@ void parse_mounts( gboolean report ) + if ( volume = vfs_volume_read_by_mount( devnum, + devmount->mount_points ) ) + { ++#if 0 + printf( "special mount changed: %s (%u:%u) on %s\n", + volume->device_file, + (unsigned int)MAJOR( volume->devnum ), + (unsigned int)MINOR( volume->devnum ), + devmount->mount_points ); ++#endif + vfs_volume_device_added( volume, FALSE ); //frees volume if needed + } + else +@@ -2465,8 +2474,12 @@ void vfs_volume_set_info( VFSVolume* volume ) + disp_fstype = g_strdup( volume->fs_type );// g_strdup_printf( "-%s", volume->fs_type ); + else + disp_fstype = g_strdup( "" ); ++#if 0 + disp_devnum = g_strdup_printf( "%u:%u", (unsigned int)MAJOR( volume->devnum ), + (unsigned int)MINOR( volume->devnum ) ); ++#else ++ disp_devnum = g_strdup_printf( "" ); ++#endif + + char* fmt = xset_get_s( "dev_dispname" ); + if ( !fmt ) +@@ -3652,6 +3665,7 @@ gboolean vfs_volume_is_automount( VFSVolume* vol ) + + char* vfs_volume_device_info( VFSVolume* vol ) + { ++#if 0 + struct udev_device* udevice = udev_device_new_from_devnum( udev, 'b', + vol->devnum ); + if ( udevice == NULL ) +@@ -3671,6 +3685,9 @@ char* vfs_volume_device_info( VFSVolume* vol ) + device_free( device ); + udev_device_unref( udevice ); + return info; ++#else ++ return g_strdup_printf( _("( no udev device )") ); ++#endif + } + + char* vfs_volume_device_mount_cmd( VFSVolume* vol, const char* options, +@@ -4203,6 +4220,7 @@ static void vfs_volume_device_added( VFSVolume* volume + + static gboolean vfs_volume_nonblock_removed( dev_t devnum ) + { ++#if 0 + GList* l; + VFSVolume* volume; + +@@ -4226,6 +4244,7 @@ static gboolean vfs_volume_nonblock_removed( dev_t dev + return TRUE; + } + } ++#endif + return FALSE; + } + diff --git a/deskutils/spacefm/pkg-descr b/deskutils/spacefm/pkg-descr new file mode 100644 index 000000000000..16f3c2e86ddb --- /dev/null +++ b/deskutils/spacefm/pkg-descr @@ -0,0 +1,4 @@ +SpaceFM is a multi-panel tabbed file and desktop manager for Linux with built-in +VFS, udev- or HAL-based device manager, customisable menu system, and bash-GTK +integration. SpaceFM aims to provide a stable, capable file manager with +significant customisation capabilities. diff --git a/deskutils/spacefm/pkg-plist b/deskutils/spacefm/pkg-plist new file mode 100644 index 000000000000..75506f1c21a6 --- /dev/null +++ b/deskutils/spacefm/pkg-plist @@ -0,0 +1,84 @@ +bin/spacefm +bin/spacefm-auth +bin/spacefm-installer +%%ETCDIR%%/spacefm.conf +share/applications/spacefm-find.desktop +share/applications/spacefm-folder-handler.desktop +share/applications/spacefm.desktop +share/icons/Faenza/apps/48/spacefm-find.png +share/icons/Faenza/apps/48/spacefm-root.png +share/icons/Faenza/apps/48/spacefm.png +share/icons/hicolor/128x128/apps/spacefm-128-cube-blue.png +share/icons/hicolor/128x128/apps/spacefm-128-cube-green.png +share/icons/hicolor/128x128/apps/spacefm-128-cube-red.png +share/icons/hicolor/128x128/apps/spacefm-128-pyramid-blue.png +share/icons/hicolor/128x128/apps/spacefm-128-pyramid-green.png +share/icons/hicolor/128x128/apps/spacefm-128-pyramid-red.png +share/icons/hicolor/48x48/apps/spacefm-48-cube-blue.png +share/icons/hicolor/48x48/apps/spacefm-48-cube-green.png +share/icons/hicolor/48x48/apps/spacefm-48-cube-red.png +share/icons/hicolor/48x48/apps/spacefm-48-folder-blue.png +share/icons/hicolor/48x48/apps/spacefm-48-folder-red.png +share/icons/hicolor/48x48/apps/spacefm-48-pyramid-blue.png +share/icons/hicolor/48x48/apps/spacefm-48-pyramid-green.png +share/icons/hicolor/48x48/apps/spacefm-48-pyramid-red.png +share/icons/hicolor/48x48/apps/spacefm-find.png +share/icons/hicolor/48x48/apps/spacefm-root.png +share/icons/hicolor/48x48/apps/spacefm.png +share/locale/af/LC_MESSAGES/spacefm.mo +share/locale/ar/LC_MESSAGES/spacefm.mo +share/locale/bg/LC_MESSAGES/spacefm.mo +share/locale/bn_IN/LC_MESSAGES/spacefm.mo +share/locale/ca/LC_MESSAGES/spacefm.mo +share/locale/cs/LC_MESSAGES/spacefm.mo +share/locale/da/LC_MESSAGES/spacefm.mo +share/locale/de/LC_MESSAGES/spacefm.mo +share/locale/el/LC_MESSAGES/spacefm.mo +share/locale/es/LC_MESSAGES/spacefm.mo +share/locale/et/LC_MESSAGES/spacefm.mo +share/locale/eu/LC_MESSAGES/spacefm.mo +share/locale/fa/LC_MESSAGES/spacefm.mo +share/locale/fi/LC_MESSAGES/spacefm.mo +share/locale/fr/LC_MESSAGES/spacefm.mo +share/locale/gl/LC_MESSAGES/spacefm.mo +share/locale/he/LC_MESSAGES/spacefm.mo +share/locale/hr/LC_MESSAGES/spacefm.mo +share/locale/hu/LC_MESSAGES/spacefm.mo +share/locale/id/LC_MESSAGES/spacefm.mo +share/locale/it/LC_MESSAGES/spacefm.mo +share/locale/ja/LC_MESSAGES/spacefm.mo +share/locale/km/LC_MESSAGES/spacefm.mo +share/locale/ko/LC_MESSAGES/spacefm.mo +share/locale/lt/LC_MESSAGES/spacefm.mo +share/locale/ltg/LC_MESSAGES/spacefm.mo +share/locale/ml/LC_MESSAGES/spacefm.mo +share/locale/ms/LC_MESSAGES/spacefm.mo +share/locale/nb/LC_MESSAGES/spacefm.mo +share/locale/nl/LC_MESSAGES/spacefm.mo +share/locale/nn/LC_MESSAGES/spacefm.mo +share/locale/pl/LC_MESSAGES/spacefm.mo +share/locale/ps/LC_MESSAGES/spacefm.mo +share/locale/pt/LC_MESSAGES/spacefm.mo +share/locale/pt_BR/LC_MESSAGES/spacefm.mo +share/locale/ru/LC_MESSAGES/spacefm.mo +share/locale/sk/LC_MESSAGES/spacefm.mo +share/locale/sl/LC_MESSAGES/spacefm.mo +share/locale/sr/LC_MESSAGES/spacefm.mo +share/locale/sr@latin/LC_MESSAGES/spacefm.mo +share/locale/sv/LC_MESSAGES/spacefm.mo +share/locale/tr/LC_MESSAGES/spacefm.mo +share/locale/uk/LC_MESSAGES/spacefm.mo +share/locale/ur/LC_MESSAGES/spacefm.mo +share/locale/ur_PK/LC_MESSAGES/spacefm.mo +share/locale/vi/LC_MESSAGES/spacefm.mo +share/locale/zh_CN/LC_MESSAGES/spacefm.mo +share/locale/zh_TW/LC_MESSAGES/spacefm.mo +share/mime/packages/spacefm-mime.xml +%%DATADIR%%/ui/about-dlg.ui +%%DATADIR%%/ui/appchooserdlg.ui +%%DATADIR%%/ui/file_properties.ui +%%DATADIR%%/ui/find-files.ui +%%DATADIR%%/ui/find-files2.ui +%%DATADIR%%/ui/godlg.ui +%%DATADIR%%/ui/prefdlg.ui +%%DATADIR%%/ui/prefdlg2.ui