summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2025-06-17 14:26:00 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2025-06-17 14:26:00 +0000
commit711015b94242d32a809b4ff1a9ff5a92d680c277 (patch)
tree0d17e35d81806e53ba3ecec194b8b5de425de731
parentsysutils/conmon: update from 2.1.12 to 2.1.13 (diff)
www/gnome-user-share: update the port to version 47.2
- Use versionless DIST_SUBDIR and define LICENSE (GPLv2+) - Now only supports Apache web server version 2.4 - Nautilus extension had been removed, GC dependencies - ObexPush support dropped, it is now available directly in the ``gnome-bluetooth'' widget in Gnome Settings
-rw-r--r--www/gnome-user-share/Makefile36
-rw-r--r--www/gnome-user-share/distinfo5
-rw-r--r--www/gnome-user-share/pkg-plist21
3 files changed, 30 insertions, 32 deletions
diff --git a/www/gnome-user-share/Makefile b/www/gnome-user-share/Makefile
index b84cbedebbee..a9d51e1a0e71 100644
--- a/www/gnome-user-share/Makefile
+++ b/www/gnome-user-share/Makefile
@@ -1,39 +1,31 @@
PORTNAME= gnome-user-share
-PORTVERSION= 3.14.0
-PORTREVISION= 8
+PORTVERSION= 47.2
CATEGORIES= www deskutils gnome
MASTER_SITES= GNOME
-DIST_SUBDIR= gnome2
+DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Personal file-sharing service for the GNOME Desktop
-BROKEN= Package 'libnautilus-extension' not found
-DEPRECATED= Broken build for months
-EXPIRATION_DATE=2025-06-30
+LICENSE= GPLv2+
-BUILD_DEPENDS= itstool:textproc/itstool
-LIB_DEPENDS= libavahi-client.so:net/avahi-app \
- libnotify.so:devel/libnotify \
- libcanberra-gtk3.so:audio/libcanberra-gtk3 \
- libunique-1.0.so:x11-toolkits/unique
RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_dnssd>=0:www/mod_dnssd \
console-kit-daemon:sysutils/consolekit2
-USES= apache gettext gmake gnome libtool pkgconfig tar:xz xorg
-USE_XORG= sm
-USE_GNOME= gnomeprefix gtk30 intlhack nautilus4
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-modules-path=${LOCALBASE}/${APACHEMODDIR} \
- --disable-bluetooth
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib
-INSTALL_TARGET= install-strip
+USES= apache gettext gnome meson pkgconfig tar:xz
+USE_GNOME= glib20
+MESON_ARGS= -Dmodules_path=${LOCALBASE}/${APACHEMODDIR} \
+ -Dsystemduserunitdir=${PREFIX}/lib/systemd/user
GLIB_SCHEMAS= org.gnome.desktop.file-sharing.gschema.xml
post-patch:
- @${REINPLACE_CMD} -e 's|/etc/httpd/modules|${LOCALBASE}/${APACHEMODDIR}|g' \
- ${WRKSRC}/data/dav_user_*.conf
+ @${REINPLACE_CMD} -e '/socket/s,PF_INET,AF_INET,' \
+ ${WRKSRC}/src/http.c
+ @${REINPLACE_CMD} -e '/AuthGroupFile/s,/usr,${PREFIX},' \
+ ${WRKSRC}/data/dav_user_2.4.conf
+
+post-install:
+ @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
.include <bsd.port.mk>
diff --git a/www/gnome-user-share/distinfo b/www/gnome-user-share/distinfo
index 531b0d8ac9d6..40965b56d8b1 100644
--- a/www/gnome-user-share/distinfo
+++ b/www/gnome-user-share/distinfo
@@ -1,2 +1,3 @@
-SHA256 (gnome2/gnome-user-share-3.14.0.tar.xz) = cd69e7d2a0131a6d542db4365b0f14e88fffb82fd2ce7d1f7d4a5190ee6efdb8
-SIZE (gnome2/gnome-user-share-3.14.0.tar.xz) = 389112
+TIMESTAMP = 1732382998
+SHA256 (gnome/gnome-user-share-47.2.tar.xz) = 1fac1bb8800dfa48ad9c3e19690f7e10e67a4f994d9cb17cae1d1bdffc9144ba
+SIZE (gnome/gnome-user-share-47.2.tar.xz) = 108804
diff --git a/www/gnome-user-share/pkg-plist b/www/gnome-user-share/pkg-plist
index ccfc16a02c46..47a196f62818 100644
--- a/www/gnome-user-share/pkg-plist
+++ b/www/gnome-user-share/pkg-plist
@@ -1,16 +1,9 @@
-etc/xdg/autostart/gnome-user-share-obexpush.desktop
libexec/gnome-user-share-webdav
-lib/nautilus/extensions-3.0/libnautilus-share-extension.so
share/GConf/gsettings/gnome-user-share.convert
share/applications/gnome-user-share-webdav.desktop
share/gnome-user-share/dav_groupfile
-share/gnome-user-share/dav_user_2.0.conf
-share/gnome-user-share/dav_user_2.2.conf
share/gnome-user-share/dav_user_2.4.conf
-share/icons/hicolor/16x16/apps/gnome-obex-server.png
-share/icons/hicolor/22x22/apps/gnome-obex-server.png
-share/icons/hicolor/32x32/apps/gnome-obex-server.png
-share/icons/hicolor/48x48/apps/gnome-obex-server.png
+share/locale/ab/LC_MESSAGES/gnome-user-share.mo
share/locale/af/LC_MESSAGES/gnome-user-share.mo
share/locale/an/LC_MESSAGES/gnome-user-share.mo
share/locale/ar/LC_MESSAGES/gnome-user-share.mo
@@ -21,8 +14,10 @@ share/locale/bg/LC_MESSAGES/gnome-user-share.mo
share/locale/bn/LC_MESSAGES/gnome-user-share.mo
share/locale/bn_IN/LC_MESSAGES/gnome-user-share.mo
share/locale/br/LC_MESSAGES/gnome-user-share.mo
+share/locale/bs/LC_MESSAGES/gnome-user-share.mo
share/locale/ca/LC_MESSAGES/gnome-user-share.mo
share/locale/ca@valencia/LC_MESSAGES/gnome-user-share.mo
+share/locale/ckb/LC_MESSAGES/gnome-user-share.mo
share/locale/cs/LC_MESSAGES/gnome-user-share.mo
share/locale/da/LC_MESSAGES/gnome-user-share.mo
share/locale/de/LC_MESSAGES/gnome-user-share.mo
@@ -40,23 +35,33 @@ share/locale/fi/LC_MESSAGES/gnome-user-share.mo
share/locale/fr/LC_MESSAGES/gnome-user-share.mo
share/locale/fur/LC_MESSAGES/gnome-user-share.mo
share/locale/ga/LC_MESSAGES/gnome-user-share.mo
+share/locale/gd/LC_MESSAGES/gnome-user-share.mo
share/locale/gl/LC_MESSAGES/gnome-user-share.mo
share/locale/gu/LC_MESSAGES/gnome-user-share.mo
share/locale/he/LC_MESSAGES/gnome-user-share.mo
share/locale/hi/LC_MESSAGES/gnome-user-share.mo
+share/locale/hr/LC_MESSAGES/gnome-user-share.mo
share/locale/hu/LC_MESSAGES/gnome-user-share.mo
share/locale/id/LC_MESSAGES/gnome-user-share.mo
+share/locale/ie/LC_MESSAGES/gnome-user-share.mo
+share/locale/is/LC_MESSAGES/gnome-user-share.mo
share/locale/it/LC_MESSAGES/gnome-user-share.mo
share/locale/ja/LC_MESSAGES/gnome-user-share.mo
+share/locale/ka/LC_MESSAGES/gnome-user-share.mo
+share/locale/kab/LC_MESSAGES/gnome-user-share.mo
+share/locale/kk/LC_MESSAGES/gnome-user-share.mo
share/locale/km/LC_MESSAGES/gnome-user-share.mo
share/locale/kn/LC_MESSAGES/gnome-user-share.mo
share/locale/ko/LC_MESSAGES/gnome-user-share.mo
+share/locale/ln/LC_MESSAGES/gnome-user-share.mo
share/locale/lt/LC_MESSAGES/gnome-user-share.mo
share/locale/lv/LC_MESSAGES/gnome-user-share.mo
share/locale/mai/LC_MESSAGES/gnome-user-share.mo
+share/locale/mjw/LC_MESSAGES/gnome-user-share.mo
share/locale/mk/LC_MESSAGES/gnome-user-share.mo
share/locale/ml/LC_MESSAGES/gnome-user-share.mo
share/locale/mr/LC_MESSAGES/gnome-user-share.mo
+share/locale/ms/LC_MESSAGES/gnome-user-share.mo
share/locale/nb/LC_MESSAGES/gnome-user-share.mo
share/locale/ne/LC_MESSAGES/gnome-user-share.mo
share/locale/nl/LC_MESSAGES/gnome-user-share.mo