x11-fm/xfe: Update to 2.0.1

This commit is contained in:
Emanuel Haupt 2025-03-18 21:58:32 +01:00
parent b48b81738a
commit 532fb6d65b
5 changed files with 46 additions and 4 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= xfe
DISTVERSION= 2.0
DISTVERSION= 2.0.1
CATEGORIES= x11-fm
MASTER_SITES= SF

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1736755930
SHA256 (xfe-2.0.tar.xz) = a06a8166304bfd4735f992590959d4c7016f5804feda6406660ca04d9bb29848
SIZE (xfe-2.0.tar.xz) = 3072412
TIMESTAMP = 1742303527
SHA256 (xfe-2.0.1.tar.xz) = be5bb4cac853ef6ad6401d1aa8295e22c749499e2410bf0c52c6044f556a25b3
SIZE (xfe-2.0.1.tar.xz) = 3111784

View file

@ -0,0 +1,14 @@
--- src/main.cpp.orig 2025-01-24 08:42:30 UTC
+++ src/main.cpp
@@ -389,6 +389,11 @@ int main(int argc, char* argv[])
textdomain(PACKAGE);
#endif
+#if defined(__FreeBSD__)
+ FXuint pkg_format;
+ pkg_format = OTHER_PKG;
+#endif
+
#if defined(linux)
// For package query on Linux systems, try to guess if the default package format is deb or rpm:
// - if dpkg exists then the system uses deb packages

View file

@ -0,0 +1,12 @@
--- src/xfedefs.h.orig 2025-01-24 15:19:54 UTC
+++ src/xfedefs.h
@@ -351,6 +351,9 @@ enum
// Macro to add parentheses before and after a given string
#define PARS(s) ((FXString)" (" + (s) + (FXString)")")
+#if defined(__FreeBSD__)
+#define OTHER_PKG 2
+#endif
// Linux specials

View file

@ -1512,4 +1512,20 @@ share/man/man1/xfw.1.gz
%%DATADIR%%/icons/xfce-theme/zip_32x32.png
%%DATADIR%%/icons/xfce-theme/zst_16x16.png
%%DATADIR%%/icons/xfce-theme/zst_32x32.png
%%DATADIR%%/icons/default-theme/jar_16x16.png
%%DATADIR%%/icons/default-theme/jar_32x32.png
%%DATADIR%%/icons/default-theme/mat_16x16.png
%%DATADIR%%/icons/default-theme/mat_32x32.png
%%DATADIR%%/icons/gnome-theme/jar_16x16.png
%%DATADIR%%/icons/gnome-theme/jar_32x32.png
%%DATADIR%%/icons/gnome-theme/mat_16x16.png
%%DATADIR%%/icons/gnome-theme/mat_32x32.png
%%DATADIR%%/icons/kde-theme/jar_16x16.png
%%DATADIR%%/icons/kde-theme/jar_32x32.png
%%DATADIR%%/icons/kde-theme/mat_16x16.png
%%DATADIR%%/icons/kde-theme/mat_32x32.png
%%DATADIR%%/icons/xfce-theme/jar_16x16.png
%%DATADIR%%/icons/xfce-theme/jar_32x32.png
%%DATADIR%%/icons/xfce-theme/mat_16x16.png
%%DATADIR%%/icons/xfce-theme/mat_32x32.png
%%DATADIR%%/xferc