Skip to content

Commit

Permalink
net/remmina: update to 1.4.17
Browse files Browse the repository at this point in the history
ChangeLog: https://gitlab.com/Remmina/Remmina/-/blob/master/CHANGELOG.md

While here, adopt port.

 * Remove empty REINPLACE_CMD
 * Add missing LIBDEPENDS
 * Remove USE_LDCONFIG (does not install shared libraries)
 * Pet linters
  • Loading branch information
fernape committed Jun 2, 2021
1 parent cd0ba40 commit 8ec6e61
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 33 deletions.
42 changes: 23 additions & 19 deletions net/remmina/Makefile
@@ -1,11 +1,10 @@
# Created by: Alexander Logvinov <ports@logvinov.com>

PORTNAME= remmina
DISTVERSION= 1.4.11
PORTREVISION= 1
DISTVERSION= 1.4.17
CATEGORIES= net gnome

MAINTAINER= ports@FreeBSD.org
MAINTAINER= fernape@FreeBSD.org
COMMENT= GTK+ Remote Desktop Client

LICENSE= GPLv2+
Expand All @@ -14,35 +13,38 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
libpcre2-8.so:devel/pcre2 \
libsodium.so:security/libsodium \
libsoup-2.4.so:devel/libsoup

CONFLICTS_INSTALL= remmina-plugin*
libsoup-2.4.so:devel/libsoup \
libwayland-client.so:graphics/wayland

FLAVORS= default lite
lite_DESCR= ${.CURDIR}/pkg-descr-lite
lite_PKGNAMESUFFIX= -lite
lite_DESCR= ${.CURDIR}/pkg-descr-lite

USES= cmake compiler:c11 desktop-file-utils gettext gnome localbase:ldflags pathfix \
pkgconfig shared-mime-info ssl shebangfix xorg

USE_GITLAB= yes
GL_ACCOUNT= Remmina
GL_PROJECT= Remmina
GL_COMMIT= d848e92df4d19145a10b7872bf85994d5fbf340d
GL_COMMIT= 0ef1621b3e16b3168213147a2bfca39da2c2668f

USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango
USE_XORG= ice sm x11 xext xkbfile
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CMAKE_ARGS= -DWITH_APPINDICATOR:BOOL=false

USE_XORG= ice sm x11 xext xkbfile

SHEBANG_FILES= data/desktop/remmina-file-wrapper.in
bash_CMD= ${SH}

CMAKE_ARGS= -DWITH_APPINDICATOR:BOOL=false

CONFLICTS_INSTALL= remmina-plugin*

OPTIONS_DEFINE= AVAHI CUPS GCRYPT NLS SSH TERM
OPTIONS_GROUP= PLUGINS
OPTIONS_GROUP_PLUGINS= EXEC KWALLET NX RDP SECRET SPICE ST VNC WWW XDMCP
OPTIONS_DEFAULT= AVAHI CUPS GCRYPT NLS SSH TERM \
EXEC NX RDP SECRET SPICE ST VNC WWW XDMCP
OPTIONS_GROUP= PLUGINS
OPTIONS_GROUP_PLUGINS= EXEC KWALLET NX RDP SECRET SPICE ST VNC WWW XDMCP
OPTIONS_SUB= yes

.if ${FLAVOR:U} == lite
Expand Down Expand Up @@ -92,28 +94,30 @@ SPICE_LIB_DEPENDS= libspice-client-gtk-3.0.so:deskutils/spice-gtk
SPICE_CMAKE_BOOL= WITH_SPICE

SSH_LIB_DEPENDS= libssh.so:security/libssh
SSH_LDFLAGS= -fstack-protector
SSH_CMAKE_BOOL= WITH_LIBSSH
SSH_LDFLAGS= -fstack-protector

ST_IMPLIES= EXEC

TERM_USE= gnome=vte3
TERM_CMAKE_BOOL= WITH_VTE

VNC_USES= jpeg
VNC_LIB_DEPENDS= libgnutls.so:security/gnutls \
libvncserver.so:net/libvncserver
VNC_USES= jpeg
VNC_CMAKE_BOOL= WITH_LIBVNCSERVER

WWW_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libsoup-2.4.so:devel/libsoup
WWW_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
libsoup-2.4.so:devel/libsoup \
libwebkit2gtk-4.0.so:www/webkit2-gtk3



XDMCP_RUN_DEPENDS= Xephyr:x11-servers/xephyr

post-patch:
${REINPLACE_CMD} -e 's,FreeBSD,FreeBSD|DragonFly,' \
${WRKSRC}/CMakeLists.txt \
${WRKSRC}/src/CMakeLists.txt
${WRKSRC}/CMakeLists.txt

post-patch-EXEC-off:
${REINPLACE_CMD} -e '/add_subdirectory(exec)/d' ${WRKSRC}/plugins/CMakeLists.txt
Expand Down
6 changes: 3 additions & 3 deletions net/remmina/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1617891706
SHA256 (Remmina-Remmina-d848e92df4d19145a10b7872bf85994d5fbf340d_GL0.tar.gz) = fd14dc45f3963f7651579cd022c618de493d80f08ae91fa3b0c348bd2bc7e238
SIZE (Remmina-Remmina-d848e92df4d19145a10b7872bf85994d5fbf340d_GL0.tar.gz) = 2178799
TIMESTAMP = 1622216518
SHA256 (Remmina-Remmina-0ef1621b3e16b3168213147a2bfca39da2c2668f_GL0.tar.gz) = 45ae312568b76bf5698e5b0814363b7e23bca2f7d547943ab1e0a3a7ecdacb91
SIZE (Remmina-Remmina-0ef1621b3e16b3168213147a2bfca39da2c2668f_GL0.tar.gz) = 2620853
18 changes: 7 additions & 11 deletions net/remmina/pkg-plist
Expand Up @@ -39,6 +39,7 @@ share/icons/hicolor/32x32/apps/remmina-panel.png
share/icons/hicolor/48x48/apps/org.remmina.Remmina.png
share/icons/hicolor/48x48/apps/remmina-panel-inverted.png
share/icons/hicolor/48x48/apps/remmina-panel.png
share/icons/hicolor/512x512/apps/org.remmina.Remmina.png
share/icons/hicolor/64x64/apps/org.remmina.Remmina.png
share/icons/hicolor/64x64/apps/remmina-panel-inverted.png
share/icons/hicolor/64x64/apps/remmina-panel.png
Expand All @@ -61,6 +62,7 @@ share/icons/hicolor/scalable/actions/remmina-fit-window-symbolic.svg
share/icons/hicolor/scalable/actions/remmina-fullscreen-symbolic.svg
share/icons/hicolor/scalable/actions/remmina-go-bottom-symbolic.svg
share/icons/hicolor/scalable/actions/remmina-keyboard-symbolic.svg
share/icons/hicolor/scalable/actions/remmina-multi-monitor-symbolic.svg
share/icons/hicolor/scalable/actions/remmina-pan-down-symbolic.svg
share/icons/hicolor/scalable/actions/remmina-pan-up-symbolic.svg
share/icons/hicolor/scalable/actions/remmina-pin-down-symbolic.svg
Expand All @@ -70,6 +72,7 @@ share/icons/hicolor/scalable/actions/remmina-scale-symbolic.svg
share/icons/hicolor/scalable/actions/remmina-switch-page-symbolic.svg
share/icons/hicolor/scalable/actions/remmina-system-run-symbolic.svg
share/icons/hicolor/scalable/actions/view-list.svg
share/icons/hicolor/scalable/apps/org.remmina.Remmina-symbolic.svg
share/icons/hicolor/scalable/apps/org.remmina.Remmina.svg
share/icons/hicolor/scalable/apps/remmina-panel-inverted.svg
share/icons/hicolor/scalable/apps/remmina-panel.svg
Expand Down Expand Up @@ -104,6 +107,7 @@ share/icons/hicolor/scalable/panel/remmina-panel.svg
%%NLS%%share/locale/el/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/en_AU/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/en_GB/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/en_US/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/eo/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/es/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/es_VE/LC_MESSAGES/remmina.mo
Expand All @@ -121,6 +125,7 @@ share/icons/hicolor/scalable/panel/remmina-panel.svg
%%NLS%%share/locale/ie/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/it/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/ja/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/ka/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/kab/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/kk/LC_MESSAGES/remmina.mo
%%NLS%%share/locale/km/LC_MESSAGES/remmina.mo
Expand Down Expand Up @@ -221,6 +226,7 @@ share/mime/packages/remmina-mime.xml
%%DATADIR%%/theme/Django.colors
%%DATADIR%%/theme/DjangoRebornAgain.colors
%%DATADIR%%/theme/DjangoSmooth.colors
%%DATADIR%%/theme/Doom Peacock.colors
%%DATADIR%%/theme/DoomOne.colors
%%DATADIR%%/theme/DotGov.colors
%%DATADIR%%/theme/Dracula+.colors
Expand Down Expand Up @@ -310,6 +316,7 @@ share/mime/packages/remmina-mime.xml
%%DATADIR%%/theme/OneHalfLight.colors
%%DATADIR%%/theme/Operator Mono Dark.colors
%%DATADIR%%/theme/Overnight Slumber.colors
%%DATADIR%%/theme/PaleNightHC.colors
%%DATADIR%%/theme/Pandora.colors
%%DATADIR%%/theme/Paraiso Dark.colors
%%DATADIR%%/theme/Parasio Dark.colors
Expand Down Expand Up @@ -407,14 +414,3 @@ share/mime/packages/remmina-mime.xml
%%DATADIR%%/theme/shades-of-purple.colors
%%DATADIR%%/theme/synthwave-everything.colors
%%DATADIR%%/theme/synthwave.colors
%%DATADIR%%/ui/remmina_about.glade
%%DATADIR%%/ui/remmina_key_chooser.glade
%%DATADIR%%/ui/remmina_main.glade
%%DATADIR%%/ui/remmina_mpc.glade
%%DATADIR%%/ui/remmina_news.glade
%%DATADIR%%/ui/remmina_preferences.glade
%%DATADIR%%/ui/remmina_search.glade
%%DATADIR%%/ui/remmina_snap_info_dialog.glade
%%DATADIR%%/ui/remmina_spinner.glade
%%DATADIR%%/ui/remmina_string_list.glade
%%DATADIR%%/ui/remmina_unlock.glade

0 comments on commit 8ec6e61

Please sign in to comment.