diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index 3d6f9a3b7933..3a82ad4890fb 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -1,1067 +1,1067 @@ #!/bin/sh # MAINTAINER: portmgr@FreeBSD.org set -o pipefail if [ -z "${STAGEDIR}" -o -z "${PREFIX}" -o -z "${LOCALBASE}" ]; then echo "STAGEDIR, PREFIX, LOCALBASE required in environment." >&2 exit 1 fi [ -n "${DEBUG_MK_SCRIPTS}" -o -n "${DEBUG_MK_SCRIPTS_QA}" ] && set -x LF=$(printf '\nX') LF=${LF%X} notice() { echo "Notice: $*" >&2 } warn() { echo "Warning: $*" >&2 } err() { echo "Error: $*" >&2 } list_stagedir_elfs() { cd ${STAGEDIR} && find -s . -type f \( -perm +111 -o -name '*.so*' \) "$@" } shebangonefile() { local f interp interparg badinterp rc f="$*" rc=0 # whitelist some files case "${f}" in *.pm|*.pod|*.txt|${STAGEDIR}${LINUXBASE}/*) return 0 ;; esac interp=$(sed -n -e '1s/^#![[:space:]]*\([^[:space:]]*\).*/\1/p;2q' "${f}") badinterp="" case "${interp}" in "") ;; /bin/rc) # whitelist some interpreters ;; ${LOCALBASE}/bin/python|${PREFIX}/bin/python|${LOCALBASE}/bin/python2|${PREFIX}/bin/python2|${LOCALBASE}/bin/python3|${PREFIX}/bin/python3) badinterp="${interp}" ;; ${LINUXBASE}/*) ;; ${LOCALBASE}/bin/perl5.* | ${PREFIX}/bin/perl5.*) # lang/perl5* are allowed to have these shebangs. if ! expr ${PKGORIGIN} : '^lang/perl5.*' > /dev/null; then err "'${interp}' is an invalid shebang for '${f#${STAGEDIR}${PREFIX}/}' you must use ${LOCALBASE}/bin/perl." err "Either pass \${PERL} to the build or use USES=shebangfix" rc=1 fi ;; ${LOCALBASE}/*) ;; ${PREFIX}/*) ;; /bin/csh) ;; /bin/sh) ;; /bin/tcsh) ;; /usr/bin/awk) ;; /usr/bin/env) interparg=$(sed -n -e '1s/^#![[:space:]]*[^[:space:]]*[[:space:]]*\([^[:space:]]*\).*/\1/p;2q' "${f}") case "${interparg}" in python|python2|python3) badinterp="${interp} ${interparg}" ;; esac ;; /usr/bin/nawk) ;; /usr/bin/sed) ;; /usr/sbin/dtrace) ;; /usr/bin/make) ;; /usr/libexec/atf-sh) ;; *) badinterp="${interp}" ;; esac if [ -n "${badinterp}" ]; then err "'${badinterp}' is an invalid shebang you need USES=shebangfix for '${f#${STAGEDIR}${PREFIX}/}'" rc=1 fi return ${rc} } shebang() { local f l link rc rc=0 while read -r f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue shebangonefile "${f}" || rc=1 # Use heredoc to avoid losing rc from find|while subshell done <<-EOF $(find ${STAGEDIR}${PREFIX} \ -type f -perm +111 2>/dev/null) EOF return ${rc} } baselibs() { local rc local found_openssl local file [ "${PKGBASE}" = "pkg" -o "${PKGBASE}" = "pkg-devel" ] && return while read -r f; do case ${f} in File:\ .*) file=${f#File: .} ;; *NEEDED*\[libarchive.so.[56]]) err "Bad linking on ${f##* } for ${file} please add USES=libarchive" rc=1 ;; *NEEDED*\[libedit.so.7]) err "Bad linking on ${f##* } for ${file} please add USES=libedit" rc=1 ;; *NEEDED*\[libcrypto.so.*]|*NEEDED*\[libssl.so.*]) found_openssl=1 ;; esac done <<-EOF $(list_stagedir_elfs -exec readelf -d {} + 2>/dev/null) EOF if ! list_stagedir_elfs | egrep -q 'lib(crypto|ssl).so*'; then if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then warn "you need USES=ssl" elif [ -n "${USESSSL}" -a -z "${found_openssl}" ]; then warn "you may not need USES=ssl" fi fi return ${rc} } symlinks() { local rc rc=0 # Split stat(1) result into 2 lines and read each line separately to # retain spaces in filenames. while read -r l; do # No results presents a blank line from heredoc. [ -z "${l}" ] && continue read -r link case "${link}" in ${STAGEDIR}*) err "Bad symlink '${l#${STAGEDIR}${PREFIX}/}' pointing inside the stage directory" rc=1 ;; /*) # Only warn for symlinks within the package. if [ -e "${STAGEDIR}${link}" ]; then warn "Bad symlink '${l#${STAGEDIR}}' pointing to an absolute pathname '${link}'" fi # Also warn if the symlink exists nowhere. if [ ! -e "${STAGEDIR}${link}" -a ! -e "${link}" ]; then warn "Symlink '${l#${STAGEDIR}}' pointing to '${link}' which does not exist in the stage directory or in localbase" fi ;; esac # Use heredoc to avoid losing rc from find|while subshell. done <<-EOF $(find ${STAGEDIR} -type l -exec stat -f "%N${LF}%Y" {} +) EOF return ${rc} } paths() { local rc rc=0 while read -r f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue # Ignore false-positive/harmless files case "${f}" in */lib/ruby/gems/*) continue ;; */share/texmf-var/web2c/*/*.fmt) continue ;; */share/texmf-var/web2c/*/*.log) continue ;; esac err "'${f#${STAGEDIR}${PREFIX}/}' is referring to ${STAGEDIR}" rc=1 # Use heredoc to avoid losing rc from find|while subshell done <<-EOF $(find ${TMPPLIST} ${STAGEDIR} -type f -exec grep -l "${STAGEDIR}" {} +) EOF return ${rc} } # For now do not raise an error, just warnings stripped() { [ -x /usr/bin/file ] || return # this is fatal [ -n "${STRIP}" ] || return 0 # Split file and result into 2 lines and read separately to ensure # files with spaces are kept intact. # Using readelf -h ... /ELF Header:/ will match on all ELF files. find ${STAGEDIR} -type f ! -name '*.a' ! -name '*.o' \ -exec sh -c 'readelf -S -- /dev/null "$0" "$@" || :' -- {} + 2>/dev/null | awk ' /File:/ {sub(/File: /, "", $0); file=$0} /[[:space:]]\.debug_info[[:space:]]*PROGBITS/ {print file}' | while read -r f; do warn "'${f#${STAGEDIR}${PREFIX}/}' is not stripped consider trying INSTALL_TARGET=install-strip or using \${STRIP_CMD}" done } desktopfileutils() { if [ -z "${USESDESKTOPFILEUTILS}" ]; then grep -q MimeType= ${STAGEDIR}${PREFIX}/share/applications/*.desktop 2>/dev/null && warn "you need USES=desktop-file-utils" else grep -q MimeType= ${STAGEDIR}${PREFIX}/share/applications/*.desktop 2>/dev/null || warn "you may not need USES=desktop-file-utils" fi return 0 } sharedmimeinfo() { local f found found=0 for f in ${STAGEDIR}${PREFIX}/share/mime/packages/*.xml; do [ "${f}" = "${STAGEDIR}${PREFIX}/share/mime/packages/*.xml" ] && break #no matches [ "${f}" = "${STAGEDIR}${PREFIX}/share/mime/packages/freedesktop.org.xml" ] && continue found=1 break done if [ -z "${USESSHAREDMIMEINFO}" -a ${found} -eq 1 ]; then warn "you need USES=shared-mime-info" elif [ -n "${USESSHAREDMIMEINFO}" -a ${found} -eq 0 ]; then warn "you may not need USES=shared-mime-info" fi return 0 } suidfiles() { local filelist filelist=$(find ${STAGEDIR} -type f \ \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \ \( -perm -u+s -or -perm -g+s \)) if [ -n "${filelist}" ]; then warn "setuid files in the stage directory (are these necessary?):" ls -liTd ${filelist} fi return 0 } libtool() { if [ -z "${USESLIBTOOL}" ]; then find ${STAGEDIR} -name '*.la' | while read -r f; do if grep -q 'libtool library' "${f}"; then err ".la libraries found, port needs USES=libtool" return 1 fi done # The return above continues here. fi } libperl() { local has_some_libperl_so files found if [ -n "${SITE_ARCH_REL}" -a -d "${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}" ]; then has_some_libperl_so=0 files=0 while read -r f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue files=$((files+1)) found=$(readelf -d ${f} | awk "BEGIN {libperl=1} /NEEDED.*${LIBPERL}/ { libperl = 0 } END {print libperl} ") case "${found}" in 1) warn "${f} is not linked with ${LIBPERL}, not respecting lddlflags?" ;; 0) has_some_libperl_so=1 ;; esac # Use heredoc to avoid losing rc from find|while subshell done <<-EOT $(find ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} -name '*.so') EOT if [ ${files} -gt 0 -a ${has_some_libperl_so} -eq 0 ]; then err "None of the ${files} .so in ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} are linked with ${LIBPERL}, see above for the full list." return 1 else return 0 fi fi } prefixvar() { if [ ${PREFIX} != ${LINUXBASE} -a -d ${STAGEDIR}${PREFIX}/var ]; then warn "port uses ${PREFIX}/var instead of /var" fi } terminfo() { local f found for f in ${STAGEDIR}${PREFIX}/share/misc/*.terminfo; do [ "${f}" = "${STAGEDIR}${PREFIX}/share/misc/*.terminfo" ] && break #no matches found=1 break done for f in ${STAGEDIR}${PREFIX}/share/misc/terminfo.db*; do [ "${f}" = "${STAGEDIR}${PREFIX}/share/misc/terminfo.db*" ] && break #no matches found=1 break done if [ -z "${USESTERMINFO}" -a -n "${found}" ]; then warn "you need USES=terminfo" elif [ -n "${USESTERMINFO}" -a -z "${found}" ]; then warn "you may not need USES=terminfo" fi return 0 } listcontains() { local str lst elt str=$1 lst=$2 for elt in ${lst} ; do if [ ${elt} = ${str} ]; then return 0 fi done return 1 } proxydeps_suggest_uses() { local pkg=$1 local lib_file=$2 # miscellaneous USE clauses if [ ${pkg} = 'devel/gettext-runtime' ]; then warn "you need USES+=gettext-runtime" elif [ ${pkg} = 'databases/sqlite3' ]; then warn "you need USES+=sqlite" elif [ ${pkg} = 'databases/sqlite2' ]; then warn "you need USES+=sqlite:2" # Gnome -> same as port # grep LIB_DEPENDS= Mk/Uses/gnome.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|[ "\1" = "\3" ] \&\& echo "\\${pkg} = \\\"\2/\3\\\" -o \\\\"|'|sort|sh elif [ ${pkg} = "accessibility/atk" -o \ ${pkg} = "accessibility/atkmm" -o \ ${pkg} = "graphics/cairo" -o \ ${pkg} = "graphics/cairomm" -o \ ${pkg} = "devel/dconf" -o \ ${pkg} = "devel/gconf2" -o \ ${pkg} = "devel/gconfmm26" -o \ ${pkg} = "devel/glib20" -o \ ${pkg} = "devel/glibmm" -o \ ${pkg} = "audio/gsound" -o \ ${pkg} = "x11-toolkits/gtk20" -o \ ${pkg} = "x11-toolkits/gtk30" -o \ ${pkg} = "www/gtkhtml4" -o \ ${pkg} = "x11-toolkits/gtkmm20" -o \ ${pkg} = "x11-toolkits/gtkmm24" -o \ ${pkg} = "x11-toolkits/gtkmm30" -o \ ${pkg} = "x11-toolkits/gtksourceview2" -o \ ${pkg} = "x11-toolkits/gtksourceview3" -o \ ${pkg} = "x11-toolkits/gtksourceviewmm3" -o \ ${pkg} = "databases/libgda5" -o \ ${pkg} = "databases/libgda5-ui" -o \ ${pkg} = "databases/libgdamm5" -o \ ${pkg} = "devel/libglade2" -o \ ${pkg} = "graphics/libgnomecanvas" -o \ ${pkg} = "x11/libgnomekbd" -o \ ${pkg} = "devel/libgsf" -o \ ${pkg} = "graphics/librsvg2" -o \ ${pkg} = "devel/libsigc++12" -o \ ${pkg} = "devel/libsigc++20" -o \ ${pkg} = "x11-toolkits/libwnck" -o \ ${pkg} = "x11-toolkits/libwnck3" -o \ ${pkg} = "textproc/libxml++26" -o \ ${pkg} = "textproc/libxml2" -o \ ${pkg} = "textproc/libxslt" -o \ ${pkg} = "x11-wm/metacity" -o \ ${pkg} = "x11-toolkits/pango" -o \ ${pkg} = "x11-toolkits/pangomm" -o \ ${pkg} = "x11-toolkits/pangox-compat" -o \ ${pkg} = "x11-toolkits/vte" -o \ ${pkg} = "x11-toolkits/vte3" ]; then warn "you need USE_GNOME+=${pkg#*/}" # Gnome different as port # grep LIB_DEPENDS= Mk/Uses/gnome.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|[ "\1" = "\3" ] \|\| echo "elif [ \\${pkg} = \\\"\2/\3\\\" ]; then; warn \\\"you need USE_GNOME+=\1\\\""|'|sort|sh elif [ ${pkg} = "databases/evolution-data-server" ]; then warn "you need USE_GNOME+=evolutiondataserver3" elif [ ${pkg} = "graphics/gdk-pixbuf" ]; then warn "you need USE_GNOME+=gdkpixbuf" - elif [ ${pkg} = "graphics/gdk-pixbuf2" ]; then warn "you need USE_GNOME+=gdkpixbuf2" + elif [ ${pkg} = "graphics/gdk-pixbuf2" ]; then warn "you need USE_GNOME+=gdkpixbuf" elif [ ${pkg} = "x11/gnome-desktop" ]; then warn "you need USE_GNOME+=gnomedesktop3" elif [ ${pkg} = "devel/gobject-introspection" ]; then warn "you need USE_GNOME+=introspection" elif [ ${pkg} = "graphics/libart_lgpl" ]; then warn "you need USE_GNOME+=libartlgpl2" elif [ ${pkg} = "devel/libIDL" ]; then warn "you need USE_GNOME+=libidl" elif [ ${pkg} = "x11-fm/nautilus" ]; then warn "you need USE_GNOME+=nautilus3" elif [ ${pkg} = "graphics/librsvg2-rust" ]; then warn "you need USE_GNOME+=librsvg2" # mate # grep LIB_DEPENDS= Mk/Uses/mate.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|elif [ ${pkg} = "\2/\3" ]; then warn "you need USE_MATE+=\1"|' elif [ ${pkg} = "x11-fm/caja" ]; then warn "you need USE_MATE+=caja" elif [ ${pkg} = "sysutils/mate-control-center" ]; then warn "you need USE_MATE+=controlcenter" elif [ ${pkg} = "x11/mate-desktop" ]; then warn "you need USE_MATE+=desktop" elif [ ${pkg} = "x11/libmatekbd" ]; then warn "you need USE_MATE+=libmatekbd" elif [ ${pkg} = "net/libmateweather" ]; then warn "you need USE_MATE+=libmateweather" elif [ ${pkg} = "x11-wm/marco" ]; then warn "you need USE_MATE+=marco" elif [ ${pkg} = "x11/mate-menus" ]; then warn "you need USE_MATE+=menus" elif [ ${pkg} = "x11/mate-panel" ]; then warn "you need USE_MATE+=panel" elif [ ${pkg} = "sysutils/mate-polkit" ]; then warn "you need USE_MATE+=polkit" # KDE # grep -B1 _LIB= Mk/Uses/kde.mk | grep _PORT=|sed -e 's/^kde-\(.*\)_PORT=[[:space:]]*\([^[:space:]]*\).*/elif [ ${pkg} = "\2" ]; then warn "you need to use USE_KDE+=\1"/' # KDE Applications elif [ ${pkg} = "net/akonadi-contacts" ]; then warn "you need to use USE_KDE+=akonadicontacts" elif [ ${pkg} = "deskutils/akonadi-import-wizard" ]; then warn "you need to use USE_KDE+=akonadiimportwizard" elif [ ${pkg} = "net/akonadi-mime" ]; then warn "you need to use USE_KDE+=akonadimime" elif [ ${pkg} = "net/akonadi-notes" ]; then warn "you need to use USE_KDE+=akonadinotes" elif [ ${pkg} = "net/akonadi-calendar" ]; then warn "you need to use USE_KDE+=akonadicalendar" elif [ ${pkg} = "net/akonadi-search" ]; then warn "you need to use USE_KDE+=akonadisearch" elif [ ${pkg} = "net/calendarsupport" ]; then warn "you need to use USE_KDE+=calendarsupport" elif [ ${pkg} = "net/kcalcore" ]; then warn "you need to use USE_KDE+=calendarcore" elif [ ${pkg} = "net/kcalutils" ]; then warn "you need to use USE_KDE+=calendarutils" elif [ ${pkg} = "net/kcontacts" ]; then warn "you need to use USE_KDE+=contacts" elif [ ${pkg} = "net/eventviews" ]; then warn "you need to use USE_KDE+=eventviews" elif [ ${pkg} = "net/libkgapi" ]; then warn "you need to use USE_KDE+=gapi" elif [ ${pkg} = "deskutils/grantleetheme" ]; then warn "you need to use USE_KDE+=grantleetheme" elif [ ${pkg} = "net/libgravatar" ]; then warn "you need to use USE_KDE+=gravatar" elif [ ${pkg} = "net/kidentitymanagement" ]; then warn "you need to use USE_KDE+=identitymanagement" elif [ ${pkg} = "net/kimap" ]; then warn "you need to use USE_KDE+=imap" elif [ ${pkg} = "net/incidenceeditor" ]; then warn "you need to use USE_KDE+=incidenceeditor" elif [ ${pkg} = "deskutils/kdepim-apps-libs" ]; then warn "you need to use USE_KDE+=kdepim-apps-libs" elif [ ${pkg} = "net/kitinerary" ]; then warn "you need to use USE_KDE+=kitinerary" elif [ ${pkg} = "net/kontactinterface" ]; then warn "you need to use USE_KDE+=kontactinterface" elif [ ${pkg} = "net/kf5-kdav" ]; then warn "you need to use USE_KDE+=kdav" elif [ ${pkg} = "security/kpkpass" ]; then warn "you need to use USE_KDE+=kpkpass" elif [ ${pkg} = "net/ksmtp" ]; then warn "you need to use USE_KDE+=ksmtp" elif [ ${pkg} = "net/kldap" ]; then warn "you need to use USE_KDE+=ldap" elif [ ${pkg} = "deskutils/libkdepim" ]; then warn "you need to use USE_KDE+=libkdepim" elif [ ${pkg} = "security/libkleo" ]; then warn "you need to use USE_KDE+=libkleo" elif [ ${pkg} = "net/libksieve" ]; then warn "you need to use USE_KDE+=libksieve" elif [ ${pkg} = "net/mailcommon" ]; then warn "you need to use USE_KDE+=mailcommon" elif [ ${pkg} = "net/mailimporter" ]; then warn "you need to use USE_KDE+=mailimporter" elif [ ${pkg} = "net/kmailtransport" ]; then warn "you need to use USE_KDE+=mailtransport" elif [ ${pkg} = "net/kmbox" ]; then warn "you need to use USE_KDE+=mbox" elif [ ${pkg} = "net/messagelib" ]; then warn "you need to use USE_KDE+=messagelib" elif [ ${pkg} = "net/kmime" ]; then warn "you need to use USE_KDE+=mime" elif [ ${pkg} = "net/pimcommon" ]; then warn "you need to use USE_KDE+=pimcommon" elif [ ${pkg} = "net/kpimtextedit" ]; then warn "you need to use USE_KDE+=pimtextedit" elif [ ${pkg} = "net/ktnef" ]; then warn "you need to use USE_KDE+=tnef" elif [ ${pkg} = "databases/akonadi" ]; then warn "you need to use USE_KDE+=akonadi" elif [ ${pkg} = "sysutils/baloo-widgets" ]; then warn "you need to use USE_KDE+=baloo-widgets" elif [ ${pkg} = "audio/libkcddb" ]; then warn "you need to use USE_KDE+=libkcddb" elif [ ${pkg} = "audio/libkcompactdisc" ]; then warn "you need to use USE_KDE+=libkcompactdisc" elif [ ${pkg} = "graphics/libkdcraw" ]; then warn "you need to use USE_KDE+=libkdcraw" elif [ ${pkg} = "games/libkdegames" ]; then warn "you need to use USE_KDE+=libkdegames" elif [ ${pkg} = "misc/libkeduvocdocument" ]; then warn "you need to use USE_KDE+=libkeduvocdocument" elif [ ${pkg} = "graphics/libkexiv2" ]; then warn "you need to use USE_KDE+=libkexiv2" elif [ ${pkg} = "graphics/libksane" ]; then warn "you need to use USE_KDE+=libksane" elif [ ${pkg} = "astro/marble" ]; then warn "you need to use USE_KDE+=marble" elif [ ${pkg} = "graphics/okular" ]; then warn "you need to use USE_KDE+=okular" # KDE Plasma elif [ ${pkg} = "x11/plasma5-kactivitymanagerd" ]; then warn "you need to use USE_KDE+=activitymanagerd" elif [ ${pkg} = "x11-wm/plasma5-kdecoration" ]; then warn "you need to use USE_KDE+=decoration" elif [ ${pkg} = "devel/plasma5-khotkeys" ]; then warn "you need to use USE_KDE+=hotkeys" elif [ ${pkg} = "sysutils/plasma5-kmenuedit" ]; then warn "you need to use USE_KDE+=kmenuedit" elif [ ${pkg} = "security/plasma5-kscreenlocker" ]; then warn "you need to use USE_KDE+=kscreenlocker" elif [ ${pkg} = "x11/plasma5-libkscreen" ]; then warn "you need to use USE_KDE+=libkscreen" elif [ ${pkg} = "sysutils/plasma5-libksysguard" ]; then warn "you need to use USE_KDE+=libksysguard" elif [ ${pkg} = "deskutils/plasma5-milou" ]; then warn "you need to use USE_KDE+=milou" elif [ ${pkg} = "x11-themes/plasma5-oxygen" ]; then warn "you need to use USE_KDE+=oxygen" elif [ ${pkg} = "x11/plasma5-plasma-workspace" ]; then warn "you need to use USE_KDE+=plasma-workspace" elif [ ${pkg} = "sysutils/plasma5-powerdevil" ]; then warn "you need to use USE_KDE+=powerdevil" # KDE Frameworks elif [ ${pkg} = "x11-toolkits/kf5-attica" ]; then warn "you need to use USE_KDE+=attica" elif [ ${pkg} = "sysutils/kf5-baloo" ]; then warn "you need to use USE_KDE+=baloo" elif [ ${pkg} = "x11/kf5-frameworkintegration" ]; then warn "you need to use USE_KDE+=frameworkintegration" elif [ ${pkg} = "devel/kf5-kcmutils" ]; then warn "you need to use USE_KDE+=kcmutils" elif [ ${pkg} = "devel/kf5-kdeclarative" ]; then warn "you need to use USE_KDE+=kdeclarative" elif [ ${pkg} = "x11/kf5-kded" ]; then warn "you need to use USE_KDE+=kded" elif [ ${pkg} = "x11/kf5-kdelibs4support" ]; then warn "you need to use USE_KDE+=kdelibs4support" elif [ ${pkg} = "security/kf5-kdesu" ]; then warn "you need to use USE_KDE+=kdesu" elif [ ${pkg} = "www/kf5-khtml" ]; then warn "you need to use USE_KDE+=khtml" elif [ ${pkg} = "devel/kf5-kio" ]; then warn "you need to use USE_KDE+=kio" elif [ ${pkg} = "lang/kf5-kross" ]; then warn "you need to use USE_KDE+=kross" elif [ ${pkg} = "x11/kf5-plasma-framework" ]; then warn "you need to use USE_KDE+=plasma-framework" elif [ ${pkg} = "graphics/kf5-prison" ]; then warn "you need to use USE_KDE+=prison" elif [ ${pkg} = "misc/kf5-purpose" ]; then warn "you need to use USE_KDE+=purpose" elif [ ${pkg} = "devel/kf5-solid" ]; then warn "you need to use USE_KDE+=solid" elif [ ${pkg} = "textproc/kf5-sonnet" ]; then warn "you need to use USE_KDE+=sonnet" elif [ ${pkg} = "net/kf5-syndication" ]; then warn "you need to use USE_KDE+=syndication" elif [ ${pkg} = "textproc/kf5-syntax-highlighting" ]; then warn "you need to use USE_KDE+=syntaxhighlighting" elif [ ${pkg} = "devel/kf5-threadweaver" ]; then warn "you need to use USE_KDE+=threadweaver" elif expr ${pkg} : '.*/kf5-.*' > /dev/null; then warn "you need USE_KDE+=$(echo ${pkg} | sed -E 's|.*/kf5-k||')" # GStreamer 0.10 elif [ ${pkg} = "multimedia/gstreamer" ]; then warn "you need to use USE_GSTREAMER+=yes" elif [ ${pkg} = "multimedia/gstreamer-plugins" ]; then warn "you need to use USE_GSTREAMER+=yes" elif [ ${pkg} = "multimedia/gstreamer-plugins-bad" ]; then warn "you need to use USE_GSTREAMER+=bad" # GStreamer 1 elif [ ${pkg} = "multimedia/gstreamer1" ]; then warn "you need to use USE_GSTREAMER1+=yes" elif [ ${pkg} = "multimedia/gstreamer1-plugins" ]; then warn "you need to use USE_GSTREAMER1+=yes" elif [ ${pkg} = "multimedia/gstreamer1-plugins-bad" ]; then warn "you need to use USE_GSTREAMER1+=bad" # boost related elif [ ${pkg} = "devel/boost-python-libs" ]; then warn "you need to add LIB_DEPENDS+=\${PY_BOOST} and maybe USES+=python" # sdl-related elif [ ${pkg} = 'devel/sdl12' ]; then warn "you need USE_SDL+=sdl" elif echo ${pkg} | grep -E '/sdl_(console|gfx|image|mixer|mm|net|pango|sound|ttf)$' > /dev/null; then warn "you need USE_SDL+=$(echo ${pkg} | sed -E 's|.*/sdl_||')" elif [ ${pkg} = 'devel/sdl20' ]; then warn "you need USE_SDL+=sdl2" elif echo ${pkg} | grep -E '/sdl2_(gfx|image|mixer|net|ttf)$' > /dev/null; then warn "you need USE_SDL+=$(echo ${pkg} | sed -E 's|.*/sdl2_||')2" # gl-related elif expr ${lib_file} : "${LOCALBASE}/lib/libGL.so.*$" > /dev/null; then warn "you need USE_GL+=gl" elif expr ${lib_file} : "${LOCALBASE}/lib/libGLX.so.*$" > /dev/null; then warn "you need USE_GL+=gl" elif expr ${lib_file} : "${LOCALBASE}/lib/libgbm.so.*$" > /dev/null; then warn "you need USE_GL+=gbm" elif expr ${lib_file} : "${LOCALBASE}/lib/libGLESv2.so.*$" > /dev/null; then warn "you need USE_GL+=glesv2" elif expr ${lib_file} : "${LOCALBASE}/lib/libEGL.so.*$" > /dev/null; then warn "you need USE_GL+=egl" elif expr ${lib_file} : "${LOCALBASE}/lib/libOpenGL.so.*$" > /dev/null; then warn "you need USE_GL+=opengl" elif [ ${pkg} = 'graphics/glew' ]; then warn "you need USE_GL+=glew" elif [ ${pkg} = 'graphics/libGLU' ]; then warn "you need USE_GL+=glu" elif [ ${pkg} = 'graphics/libGLw' ]; then warn "you need USE_GL+=glw" elif [ ${pkg} = 'graphics/freeglut' ]; then warn "you need USE_GL+=glut" # Xorg-libraries: this should be by XORG_MODULES @ bsd.xorg.mk elif echo ${pkg} | grep -E '/lib(X11|Xau|Xdmcp|Xext|SM|ICE|Xfixes|Xft|Xdamage|Xcomposite|Xcursor|Xinerama|Xmu|Xmuu|Xpm|Xt|Xtst|Xi|Xrandr|Xrender|Xres|XScrnSaver|Xv|Xxf86vm|Xxf86dga|Xxf86misc|xcb)$' > /dev/null; then warn "you need USE_XORG+=$(echo ${pkg} | sed -E 's|.*/lib||' | tr '[:upper:]' '[:lower:]')" elif [ ${pkg} = 'x11/pixman' ]; then warn "you need USE_XORG+=pixman" # Qt5 elif expr ${pkg} : '.*/qt5-.*' > /dev/null; then warn "you need USES=qt:5 and USE_QT+=$(echo ${pkg} | sed -E 's|.*/qt5-||')" # Qt6 elif expr ${pkg} : '.*/qt6-.*' > /dev/null; then warn "you need USES=qt:6 and USE_QT+=$(echo ${pkg} | sed -E 's|.*/qt6-||')" # MySQL elif expr ${lib_file} : "${LOCALBASE}/lib/mysql/[^/]*$" > /dev/null; then warn "you need USES+=mysql" # postgresql elif expr ${pkg} : "^databases/postgresql.*-client" > /dev/null; then warn "you need USES+=pgsql" # bdb elif expr ${pkg} : "^databases/db[456]" > /dev/null; then warn "you need USES+=bdb" # fam/gamin elif [ ${pkg} = "devel/fam" -o ${pkg} = "devel/gamin" ]; then warn "you need USES+=fam" # firebird elif [ ${pkg} = "databases/firebird25-client" ]; then warn "you need USES+=firebird" # fuse elif [ ${pkg} = "filesystems/fusefs-libs" ]; then warn "you need USES+=fuse" # gnustep elif [ ${pkg} = "lang/gnustep-base" ]; then warn "you need USES+=gnustep and USE_GNUSTEP+=base" elif [ ${pkg} = "x11-toolkits/gnustep-gui" ]; then warn "you need USES+=gnustep and USE_GNUSTEP+=gui" # iconv elif [ ${pkg} = "converters/libiconv" ]; then warn "you need USES+=iconv, USES+=iconv:wchar_t, or USES+=iconv:translit depending on needs" # jpeg elif [ ${pkg} = "graphics/jpeg-turbo" ]; then warn "you need USES+=jpeg" # libarchive elif [ ${pkg} = "archivers/libarchive" ]; then warn "you need USES+=libarchive" elif [ ${pkg} = "devel/libedit" ]; then warn "you need USES+=libedit" # lua elif expr ${pkg} : "^lang/lua" > /dev/null; then warn "you need USES+=lua" # magick elif [ ${pkg} = "graphics/ImageMagick6" ] ; then warn "you need USES=magick:6" elif [ ${pkg} = "graphics/ImageMagick6-nox11" ] ; then warn "you need USES=magick:6,nox11" elif [ ${pkg} = "graphics/ImageMagick7" ] ; then warn "you need USES=magick:7" elif [ ${pkg} = "graphics/ImageMagick7-nox11" ] ; then warn "you need USES=magick:7,nox11" # motif elif [ ${pkg} = "x11-toolkits/lesstif" -o ${pkg} = "x11-toolkits/open-motif" ]; then warn "you need USES+=motif" # ncurses elif [ ${pkg} = "devel/ncurses" ]; then warn "you need USES+=ncurses" # objc elif [ ${pkg} = "lang/libobjc2" ]; then warn "you need USES+=objc" # openal elif [ ${pkg} = "audio/openal" -o ${pkg} = "audio/openal-soft" -o ${pkg} = "audio/freealut" ]; then warn "you need USES+=openal" # readline elif [ ${pkg} = "devel/readline" ]; then warn "you need USES+=readline" # ssl # When updating this, please also update the versions list in # bsd.default-versions.mk and ssl.mk! elif [ ${pkg} = "security/openssl" -o ${pkg} = "security/openssl111" \ -o ${pkg} = "security/openssl31" -o ${pkg} = "security/openssl32" \ -o ${pkg} = "security/openssl33" \ -o ${pkg} = "security/libressl" -o ${pkg} = "security/libressl-devel" \ ]; then warn "you need USES=ssl" # Tcl elif expr ${pkg} : "^lang/tcl" > /dev/null; then warn "you need USES+=tcl" # Tk elif expr ${pkg} : "^x11-toolkits/tk" > /dev/null; then warn "you need USES+=tk" # Xfce # grep LIB_DEPENDS= Mk/Uses/xfce.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|elif [ ${pkg} = "\2/\3" ]; then warn "you need USE_XFCE+=\1"|' elif [ ${pkg} = "sysutils/garcon" ]; then warn "you need USE_XFCE+=garcon" elif [ ${pkg} = "x11/libexo" ]; then warn "you need USE_XFCE+=libexo" elif [ ${pkg} = "x11-toolkits/libxfce4gui" ]; then warn "you need USE_XFCE+=libgui" elif [ ${pkg} = "x11/libxfce4menu" ]; then warn "you need USE_XFCE+=libmenu" elif [ ${pkg} = "x11/libxfce4util" ]; then warn "you need USE_XFCE+=libutil" elif [ ${pkg} = "x11-wm/xfce4-panel" ]; then warn "you need USE_XFCE+=panel" elif [ ${pkg} = "x11-fm/thunar" ]; then warn "you need USE_XFCE+=thunar" elif [ ${pkg} = "x11/xfce4-conf" ]; then warn "you need USE_XFCE+=xfconf" # default elif expr ${lib_file} : "${LOCALBASE}/lib/[^/]*$" > /dev/null; then lib_file=${lib_file#${LOCALBASE}/lib/} lib_file=${lib_file%.so*}.so warn "you need LIB_DEPENDS+=${lib_file}:${pkg}" fi } proxydeps() { local file dep_file dep_file_pkg already rc dep_lib_file dep_lib_files rc=0 # Check all dynamically linked ELF files # Some .so are not executable, but we want to check them too. while read -r file; do # No results presents a blank line from heredoc. [ -z "${file}" ] && continue while read -r dep_file; do # No results presents a blank line from heredoc. [ -z "${dep_file}" ] && continue # Skip files we already checked. if listcontains ${dep_file} "${already}"; then continue fi if pkg which -q ${dep_file} > /dev/null 2>&1; then dep_file_pkg=$(pkg which -qo ${dep_file}) # Check that the .so we need has a SONAME if [ "${dep_file_pkg}" != "${PKGORIGIN}" ]; then # When grep -q finds a match it will close the pipe immediately. # This may cause the test to fail when pipefail is turned on. set +o pipefail if ! readelf -d "${dep_file}" | grep SONAME > /dev/null; then err "${file} is linked to ${dep_file} which does not have a SONAME. ${dep_file_pkg} needs to be fixed." fi set -o pipefail fi # If we don't already depend on it, and we don't provide it if ! listcontains ${dep_file_pkg} "${LIB_RUN_DEPENDS} ${PKGORIGIN}"; then # If the package has a flavor, check that the dependency is not on that particular flavor. flavor=$(pkg annotate -q -S "$(pkg which -q "${dep_file}")" flavor) if [ -n "${flavor}" ]; then if listcontains ${dep_file_pkg}@${flavor} "${LIB_RUN_DEPENDS} ${PKGORIGIN}"; then continue fi fi err "${file} is linked to ${dep_file} from ${dep_file_pkg} but it is not declared as a dependency" proxydeps_suggest_uses ${dep_file_pkg} ${dep_file} rc=1 fi else err "${file} is linked to ${dep_file} that does not belong to any package" rc=1 fi already="${already} ${dep_file}" dep_lib_file=$(basename ${dep_file}) dep_lib_files="${dep_lib_files} ${dep_lib_file%%.so*}.so" done <<-EOT $(env LD_LIBMAP_DISABLE=1 ldd -a "${STAGEDIR}${file}" | \ awk ' BEGIN {section=0} /^\// {section++} !/^\// && section<=1 && ($3 ~ "^'${PREFIX}'" || $3 ~ "^'${LOCALBASE}'") {print $3}') EOT done <<-EOT $(list_stagedir_elfs | \ file -F $'\1' -f - | \ grep -a 'ELF.*FreeBSD.*dynamically linked' | \ cut -f 1 -d $'\1'| \ sed -e 's/^\.//') EOT # Check whether all files in LIB_DPEENDS are actually linked against for _library in ${WANTED_LIBRARIES} ; do if ! listcontains ${_library} "${dep_lib_files}" ; then warn "you might not need LIB_DEPENDS on ${_library}" fi done [ -z "${PROXYDEPS_FATAL}" ] && return 0 return ${rc} } sonames() { [ ! -d ${STAGEDIR}${PREFIX}/lib -o -n "${BUNDLE_LIBS}" ] && return 0 while read -r f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue # Ignore symlinks [ -f "${f}" -a ! -L "${f}" ] || continue # Ignore .debug files [ "${f}" == "${f%.debug}" ] || continue if ! readelf -d ${f} | grep SONAME > /dev/null; then warn "${f} doesn't have a SONAME." warn "pkg(8) will not register it as being provided by the port." warn "If another port depend on it, pkg will not be able to know where it comes from." case "${f}" in ${STAGEDIR}${PREFIX}/lib/*/*) warn "It is in a subdirectory, it may not be used in another port." ;; *) warn "It is directly in ${PREFIX}/lib, it is probably used by other ports." ;; esac fi # Use heredoc to avoid losing rc from find|while subshell done <<-EOT $(find ${STAGEDIR}${PREFIX}/lib -name '*.so.*') EOT } perlcore_port_module_mapping() { case "$1" in Net) echo "Net::Config" ;; libwww) echo "LWP" ;; *) echo "$1" | sed -e 's/-/::/g' ;; esac } perlcore() { local portname version module gotsome [ -x "${LOCALBASE}/bin/corelist" ] || return 0 for dep in ${UNIFIED_DEPENDS}; do portname=$(expr "${dep}" : ".*/p5-\(.*\)") if [ -n "${portname}" ]; then gotsome=1 module=$(perlcore_port_module_mapping "${portname}") version=$(expr "${dep}" : ".*>=*\([^:<]*\)") while read -r l; do case "${l}" in *was\ not\ in\ CORE*) # This never was with Perl # CORE, so nothing to do here ;; *and\ removed*) # This was in Perl CORE but has # been removed since. warn "${dep##*:} was in Perl CORE. Check with \`corelist ${module} ${version}\` and \`corelist -a ${module}\` if it should be conditionally added depending on PERL_LEVEL" ;; *deprecated*in*) # This is in Perl CORE but is # deprecated. warn "${dep##*:} is in Perl CORE but deprecated. Check with \`corelist ${module} ${version}\` and \`corelist -a ${module}\` if the dependency is really needed or if it should be conditionally added depending on PERL_LEVEL" ;; *was\ first\ released*) # This is in Perl CORE and is # maybe not needed. warn "${dep##*:} is present in Perl CORE. Check with \`corelist ${module} ${version}\` and \`corelist -a ${module}\` if the dependency is really needed or if it should be conditionally added depending on PERL_LEVEL" ;; *) err "This line is not handled: \"${l}\"" esac done <<-EOT $(${LOCALBASE}/bin/corelist "${module}"|tail -1) EOT fi done if [ -n "${gotsome}" ] && ! pkg info -e devel/p5-Module-CoreList; then notice "You have some Perl modules as dependencies but you do not have devel/p5-Module-CoreList installed, the perlcore QA check gets better results when using it, especially with older Perl versions." fi } no_arch() { [ -z "$NO_ARCH" ] && return rc=0 while read -r f; do [ -z "$f" ] && continue if [ -n "$NO_ARCH_IGNORE" ]; then skip= for blacklist in $NO_ARCH_IGNORE; do case $f in *$blacklist) skip=1; break;; esac done [ "$skip" ] && continue fi err "'${f#.}' is a architecture specific binary file and you have set NO_ARCH. Either remove NO_ARCH or add '$(basename $f)' to NO_ARCH_IGNORE." rc=1 done <<-EOF $(list_stagedir_elfs \ | file -F $'\1' -f - -N \ | grep -aE 'ELF .* [LM]SB .*, .*, version [0-9]+ \(FreeBSD\)' \ | cut -f 1 -d $'\1') EOF return $rc } gemdeps() { rc=0 if [ "${PKGBASE%%-*}" = "rubygem" ]; then # shellcheck disable=SC2153 # In the heredoc, ${PORTNAME} comes from the environment, not # to be confused with ${portname} while read -r l; do if [ -n "${l}" ]; then name=${l%% *} vers=${l#* } while read -r v; do if ! while read -r p; do ${LOCALBASE}/bin/ruby -e "puts 'OK' if Gem::Dependency.new('${name}','${v}').match?('${name}','${p}')" done | grep -qFx OK; then err RubyGem dependency ${name} ${v} is not satisfied. rc=1 fi <<-EOF $(${LOCALBASE}/bin/gem list -e "${name}" \ | sed "s|.*(\(.*\))|\1|" \ | tr -d ' ' \ | tr , '\n') EOF done <<-EOF $(while echo "${vers}" | grep -q '"'; do echo "${vers}" | cut -d '"' -f2 vers=$(echo "${vers}"|cut -d '"' -f3-) done) EOF fi done <<-EOF $(grep -a 's.add_runtime_dependency' ${STAGEDIR}${PREFIX}/lib/ruby/gems/*/specifications/${PORTNAME}-*.gemspec \ | sed 's|.*<\(.*\)>.*\[\(.*\)\])|\1 \2|' \ | sort -u) EOF fi return $rc } # If an non rubygem-port has a 'Gemfile' file # it is checked with bundle to be sure # all dependencies are satisfied. # Without the check missing/wrong dependencies # are just found when executing the application gemfiledeps() { # skip check if port does not use ruby at all if [ -z "$USE_RUBY" ]; then return 0 fi # skip check if port is a rubygem-* one; they have no Gemfiles if [ "${PKGBASE%%-*}" = "rubygem" ]; then return 0 fi # advise install of bundler if its not present for check if ! type bundle > /dev/null 2>&1; then notice "Please install sysutils/rubygem-bundler for additional Gemfile-checks" return 0 fi # locate the Gemfile(s) while read -r f; do # no results presents a blank line from heredoc [ -z "$f" ] && continue # if there is no Gemfile everything is fine - stop here [ ! -f "$f" ] && return 0; # use bundle to check if Gemfile is satisfied # if bundle returns 1 the Gemfile is not satisfied # and so stage-qa isn't also if ! bundle check --dry-run --gemfile $f > /dev/null 2>&1; then warn "Dependencies defined in ${f} are not satisfied" fi done <<-EOF $(find ${STAGEDIR} -name Gemfile) EOF return 0 } flavors() { local rc pkgnames uniques rc=0 if [ -n "${FLAVOR}" ]; then pkgnames=$(make -C "${CURDIR}" flavors-package-names|sort) uniques=$(echo "${pkgnames}"|uniq) if [ "$pkgnames" != "${uniques}" ]; then err "Package names are not unique with flavors:" make -C "${CURDIR}" pretty-flavors-package-names >&2 err "maybe use _PKGNAMEPREFIX/SUFFIX". rc=1 fi fi return ${rc} } license() { local lic autoaccept pkgmirror #distsell distmirror pkgsell if [ -n "$DISABLE_LICENSES" ]; then warn "You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks" elif [ -n "$LICENSE" ]; then for lic in $LICENSE_PERMS; do case "$lic" in auto-accept) autoaccept=1 ;; #dist-mirror) distmirror=1 ;; #dist-sell) distsell=1 ;; pkg-mirror) pkgmirror=1 ;; #pkg-sell) pkgsell=1 ;; esac done if [ -z "$autoaccept" ]; then warn "License is not auto-accepted, packages will not be built, ports depending on this one will be ignored." fi if [ -z "$pkgmirror" ]; then warn "License does not allow package to be distributed, ports depending on this one will be ignored" fi fi return 0 } # This is to prevent adding dependencies to meta ports that are only there to # improve the end user experience. depends_blacklist() { local dep rc instead rc=0 for dep in ${UNIFIED_DEPENDS}; do origin=$(expr "${dep}" : ".*:\([^@]*\)") instead="" case "$origin" in lang/python|lang/python2|lang/python3) # lang/python depends on lang/pythonX, but it's # ok, it is also in the blacklist. if [ ${PKGORIGIN} != lang/python ]; then instead="USES=python:xy with a specific version" fi ;; lang/gcc) instead="USE_GCC" ;; lang/go) instead="USES=go" ;; lang/mono) instead="USES=mono" ;; devel/llvm) instead="USES=llvm" ;; esac if [ -n "${instead}" ]; then err "$origin should not be depended upon. Instead, use $instead." rc=1 fi done return $rc } pkgmessage() { for message in ${PKGMESSAGES}; do if [ -f "${message}" ]; then if ! head -1 "${message}" | grep -q '^\['; then warn "${message} not in UCL format, will be shown on initial install only." warn "See https://docs.freebsd.org/en/books/porters-handbook/pkg-files/#porting-message" fi fi done return 0 } reinplace() { if [ -f ${REWARNFILE} ]; then warn "Possible REINPLACE_CMD issues:" cat ${REWARNFILE} fi } prefixman() { if [ -d "${STAGEDIR}${PREFIX}/man" ]; then warn "Installing man files in ${PREFIX}/man is no longer supported. Consider installing these files in ${PREFIX}/share/man instead." ls -liTd ${STAGEDIR}${PREFIX}/man fi return 0 } checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo" checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo" checks="$checks proxydeps sonames perlcore no_arch gemdeps gemfiledeps flavors" checks="$checks license depends_blacklist pkgmessage reinplace prefixman" ret=0 cd ${STAGEDIR} || exit 1 for check in ${checks}; do eval check_test="\$IGNORE_QA_$check" if [ -z "${check_test}" ]; then ${check} || ret=1 else warn "Ignoring $check QA test" fi done exit ${ret} diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk index 03062fa973fc..5603966820ed 100644 --- a/Mk/Uses/gnome.mk +++ b/Mk/Uses/gnome.mk @@ -1,445 +1,445 @@ #-*- tab-width: 4; -*- # ex:ts=4 # # Please view me with 4 column tabs! # ======================= USERS ================================= # # There are no significant user-definable settings in here. # This file is a framework to make it easier to create GNOME ports. # # ======================= /USERS ================================ # Please make sure all changes to this file are passed through the maintainer. # Do not commit them yourself (unless of course you're the Port's Wraith ;). # This section defines possible names of GNOME components and all information # necessary for ports to use those components. # Ports can use this as follows: # # USE_GNOME= glib20 introspection:build # # .include # # As a result proper LIB_DEPENDS/RUN_DEPENDS will be added and CONFIGURE_ENV # and MAKE_ENV defined. # # # GCONF_SCHEMAS - Set the following to list of all the gconf schema files # that your port installs. These schema files and # %gconf.xml files will be automatically added to # the ${PLIST}. For example, if your port has # "etc/gconf/schemas/(foo.schemas and bar.schemas)", # add the following to your Makefile: # "GCONF_SCHEMAS=foo.schemas bar.schemas". # # GLIB_SCHEMAS - Set the following to list of all gsettings schema files # (*.gschema.xml) that your ports installs. The # schema files will be automatically added to # the ${PLIST}. For example, if your port has # "share/glib-2.0/schemas/(foo.gschema.xml and bar.gschema.xml)", # add the following to your Makefile: # "GLIB_SCHEMAS=foo.gschema.xml bar.gschema.xml". # # INSTALLS_OMF - If set, bsd.gnome.mk will automatically scan pkg-plist # file and add apropriate @postexec/@postunexec directives for # each .omf file found to track OMF registration database. # # MAINTAINER: gnome@FreeBSD.org .if !defined(_INCLUDE_USES_GNOME_MK) _INCLUDE_USES_GNOME_MK= yes _USES_POST+= gnome . if !empty(gnome_ARGS) IGNORE= USES=gnome takes no arguments . endif # non-version specific components _USE_GNOME_ALL= intlhack intltool introspection \ gnomemimedata gnomeprefix # GNOME 2 components _USE_GNOME_ALL+= atk cairo \ - gdkpixbuf2 gdkpixbuf2xlib gconf2 glib20 \ + gdkpixbuf gdkpixbuf2xlib gconf2 glib20 \ gtk-update-icon-cache gtk20 \ gtksharp20 gtksourceview2 gvfs libartlgpl2 \ libglade2 libgnomecanvas \ libgsf libidl librsvg2 \ libxml2 libxslt \ pango pangoft2 pangox-compat \ vte # GNOME 3 components _USE_GNOME_ALL+=dconf evolutiondataserver3 gnomecontrolcenter3 gnomedesktop3 \ gnomemenus3 gsound gtk30 gtkhtml4 gtksourceview3 \ gtksourceview4 libgda5 \ libgda5-ui libgnomekbd libwnck3 metacity nautilus3 \ pygobject3 vte3 # GNOME 40 components _USE_GNOME_ALL+=gtk40 libadwaita gtksourceview5 # C++ bindings _USE_GNOME_ALL+=atkmm cairomm gconfmm26 glibmm glibmm26 gtkmm24 \ gtkmm30 gtksourceviewmm3 libgdamm5 libxml++26 libsigc++20 \ libsigc++30 pangomm # glib-mkenums often fails with C locale # https://gitlab.gnome.org/GNOME/glib/issues/1430 USE_LOCALE?= en_US.UTF-8 GNOME_HTML_DIR?= ${PREFIX}/share/doc GCONF_CONFIG_OPTIONS?= merged GCONF_CONFIG_DIRECTORY?=etc/gconf/gconf.xml.defaults GCONF_CONFIG_SOURCE?=xml:${GCONF_CONFIG_OPTIONS}:${PREFIX}/${GCONF_CONFIG_DIRECTORY} GNOME_LOCALSTATEDIR?= ${PREFIX}/share gnomeprefix_CONFIGURE_ENV=GTKDOC="false" gnomeprefix_CONFIGURE_ARGS=--localstatedir=${GNOME_LOCALSTATEDIR} \ --with-html-dir=${GNOME_HTML_DIR} \ --disable-gtk-doc \ --with-gconf-source=${GCONF_CONFIG_SOURCE} atkmm_LIB_DEPENDS= libatkmm-1.6.so:accessibility/atkmm atkmm_USE_GNOME_IMPL= glibmm atk libxml++26_LIB_DEPENDS= libxml++-2.6.so:textproc/libxml++26 libxml++26_USE_GNOME_IMPL= glibmm libxml2 cairo_LIB_DEPENDS= libcairo.so:graphics/cairo cairomm_LIB_DEPENDS= libcairomm-1.0.so:graphics/cairomm cairomm_USE_GNOME_IMPL= cairo libsigc++20 gconfmm26_LIB_DEPENDS= libgconfmm-2.6.so:devel/gconfmm26 gconfmm26_USE_GNOME_IMPL= glibmm gconf2 glibmm_LIB_DEPENDS= libglibmm-2.4.so:devel/glibmm glibmm_USE_GNOME_IMPL= libsigc++20 glib20 glibmm26_LIB_DEPENDS= libglibmm-2.68.so:devel/glibmm26 glibmm26_USE_GNOME_IMPL= libsigc++30 glib20 gsound_BUILD_DEPENDS= gsound-play:audio/gsound gsound_LIB_DEPENDS= libgsound.so:audio/gsound gsound_RUN_DEPENDS= gsound-play:audio/gsound gsound_USE_GNOME_IMPL= glib20 gtkmm24_LIB_DEPENDS= libgtkmm-2.4.so:x11-toolkits/gtkmm24 gtkmm24_USE_GNOME_IMPL= glibmm cairomm atkmm pangomm gtk20 gtkmm30_LIB_DEPENDS= libgtkmm-3.0.so:x11-toolkits/gtkmm30 -gtkmm30_USE_GNOME_IMPL= atkmm cairomm gdkpixbuf2 glibmm gtk30 pangomm +gtkmm30_USE_GNOME_IMPL= atkmm cairomm gdkpixbuf glibmm gtk30 pangomm gtksourceviewmm3_LIB_DEPENDS= libgtksourceviewmm-3.0.so:x11-toolkits/gtksourceviewmm3 gtksourceviewmm3_USE_GNOME_IMPL= gtkmm30 gtksourceview3 libgdamm5_LIB_DEPENDS= libgdamm-5.0.so:databases/libgdamm5 libgdamm5_USE_GNOME_IMPL= libgda5 glibmm libsigc++20_LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20 libsigc++30_LIB_DEPENDS= libsigc-3.0.so:devel/libsigc++30 pangomm_LIB_DEPENDS= libpangomm-1.4.so:x11-toolkits/pangomm pangomm_USE_GNOME_IMPL= pango glibmm cairomm gnomemimedata_BUILD_DEPENDS=${LOCALBASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc:misc/gnome-mime-data gnomemimedata_RUN_DEPENDS=${LOCALBASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc:misc/gnome-mime-data glib20_LIB_DEPENDS= libglib-2.0.so:devel/glib20 \ libintl.so:devel/gettext-runtime atk_LIB_DEPENDS= libatk-1.0.so:accessibility/at-spi2-core atk_USE_GNOME_IMPL= glib20 dconf_BUILD_DEPENDS= dconf:devel/dconf dconf_LIB_DEPENDS= libdconf.so:devel/dconf dconf_RUN_DEPENDS= dconf:devel/dconf dconf_USE_GNOME_IMPL= glib20 pango_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libpango-1.0.so:x11-toolkits/pango pango_USE_GNOME_IMPL= glib20 pangoft2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 pangoft2_USE_GNOME_IMPL=pango pangox-compat_LIB_DEPENDS= libpangox-1.0.so:x11-toolkits/pangox-compat pangox-compat_USE_GNOME_IMPL= glib20 pango -gdkpixbuf2_LIB_DEPENDS= libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 -gdkpixbuf2_USE_GNOME_IMPL=glib20 +gdkpixbuf_LIB_DEPENDS= libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 +gdkpixbuf_USE_GNOME_IMPL=glib20 gdkpixbuf2xlib_LIB_DEPENDS= libgdk_pixbuf_xlib-2.0.so:graphics/gdk-pixbuf2-xlib -gdkpixbuf2xlib_USE_GNOME_IMPL= glib20 gdkpixbuf2 +gdkpixbuf2xlib_USE_GNOME_IMPL= glib20 gdkpixbuf gtk-update-icon-cache_RUN_DEPENDS= gtk-update-icon-cache:graphics/gtk-update-icon-cache gtk20_LIB_DEPENDS= libgtk-x11-2.0.so:x11-toolkits/gtk20 -gtk20_USE_GNOME_IMPL= atk cairo gdkpixbuf2 pangoft2 +gtk20_USE_GNOME_IMPL= atk cairo gdkpixbuf pangoft2 GTK2_VERSION= 2.10.0 gtk30_LIB_DEPENDS= libgtk-3.so:x11-toolkits/gtk30 -gtk30_USE_GNOME_IMPL= atk cairo gdkpixbuf2 pango +gtk30_USE_GNOME_IMPL= atk cairo gdkpixbuf pango GTK3_VERSION= 3.0.0 gtk40_LIB_DEPENDS= libgtk-4.so:x11-toolkits/gtk40 gtk40_USE_GNOME_IMPL= atk pango GTK4_VERSION= 4.0.0 libidl_LIB_DEPENDS= libIDL-2.so:devel/libIDL libidl_USE_GNOME_IMPL= glib20 libglade2_LIB_DEPENDS= libglade-2.0.so:devel/libglade2 libglade2_USE_GNOME_IMPL=libxml2 gtk20 libxml2_BUILD_DEPENDS= xml2-config:textproc/libxml2 libxml2_LIB_DEPENDS= libxml2.so:textproc/libxml2 libxml2_RUN_DEPENDS= xml2-config:textproc/libxml2 libxslt_BUILD_DEPENDS= xsltproc:textproc/libxslt libxslt_LIB_DEPENDS= libxslt.so:textproc/libxslt libxslt_RUN_DEPENDS= ${libxslt_BUILD_DEPENDS} libxslt_USE_GNOME_IMPL= libxml2 introspection_BUILD_DEPENDS= g-ir-scanner:devel/gobject-introspection introspection_LIB_DEPENDS= libgirepository-1.0.so:devel/gobject-introspection introspection_RUN_DEPENDS= g-ir-scanner:devel/gobject-introspection introspection_USE_GNOME_IMPL= glib20 introspection_MAKE_ENV= GI_SCANNER_DISABLE_CACHE=1 gconf2_LIB_DEPENDS= libgconf-2.so:devel/gconf2 gconf2_USE_GNOME_IMPL= libxml2 libgnomecanvas_LIB_DEPENDS= libgnomecanvas-2.so:graphics/libgnomecanvas libgnomecanvas_USE_GNOME_IMPL= libglade2 libartlgpl2 libartlgpl2_LIB_DEPENDS= libart_lgpl_2.so:graphics/libart_lgpl gnomedesktop3_LIB_DEPENDS= libgnome-desktop-3.so:x11/gnome-desktop gnomedesktop3_USE_GNOME_IMPL= gtk30 libwnck3_LIB_DEPENDS= libwnck-3.so:x11-toolkits/libwnck3 libwnck3_USE_GNOME_IMPL=gtk30 vte_LIB_DEPENDS= libvte.so:x11-toolkits/vte vte_USE_GNOME_IMPL= gtk20 vte3_LIB_DEPENDS= libvte-2.91.so:x11-toolkits/vte3 vte3_USE_GNOME_IMPL= gtk30 libadwaita_LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita libadwaita_USE_GNOME_IMPL= gtk40 # Use librsvg2-rust where lang/rust is available . if ${LIBRSVG2_DEFAULT:Mrust} librsvg2_BUILD_DEPENDS= librsvg2-rust>=0:graphics/librsvg2-rust librsvg2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2-rust librsvg2_RUN_DEPENDS= librsvg2-rust>=0:graphics/librsvg2-rust . else librsvg2_BUILD_DEPENDS= librsvg2>=0:graphics/librsvg2 librsvg2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 librsvg2_RUN_DEPENDS= librsvg2>=0:graphics/librsvg2 . endif -librsvg2_USE_GNOME_IMPL=cairo gdkpixbuf2 +librsvg2_USE_GNOME_IMPL=cairo gdkpixbuf nautilus3_LIB_DEPENDS= libnautilus-extension.so:x11-fm/nautilus nautilus3_USE_GNOME_IMPL=gnomedesktop3 libxml2 metacity_LIB_DEPENDS= libmetacity.so:x11-wm/metacity gnomecontrolcenter3_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-keybindings.pc:sysutils/gnome-control-center gnomecontrolcenter3_RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-keybindings.pc:sysutils/gnome-control-center gnomecontrolcenter3_USE_GNOME_IMPL= gnomedesktop3 libgda5_LIB_DEPENDS= libgda-5.0.so:databases/libgda5 libgda5_USE_GNOME_IMPL= glib20 libxslt libgda5-ui_LIB_DEPENDS= libgda-ui-5.0.so:databases/libgda5-ui libgda5-ui_USE_GNOME_IMPL=glib20 libxslt libgda5 gtksourceview2_LIB_DEPENDS= libgtksourceview-2.0.so:x11-toolkits/gtksourceview2 gtksourceview2_USE_GNOME_IMPL=gtk20 libxml2 gtksourceview3_LIB_DEPENDS= libgtksourceview-3.0.so:x11-toolkits/gtksourceview3 gtksourceview3_USE_GNOME_IMPL=gtk30 libxml2 gtksourceview4_LIB_DEPENDS= libgtksourceview-4.so:x11-toolkits/gtksourceview4 gtksourceview4_USE_GNOME_IMPL=gtk30 libxml2 gtksourceview5_LIB_DEPENDS= libgtksourceview-5.so:x11-toolkits/gtksourceview5 gtksourceview5_USE_GNOME_IMPL=gtk40 libxml2 libgsf_LIB_DEPENDS= libgsf-1.so:devel/libgsf libgsf_USE_GNOME_IMPL= glib20 libxml2 pygobject3_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygobject>=0:devel/py-pygobject@${PY_FLAVOR} pygobject3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygobject>=0:devel/py-pygobject@${PY_FLAVOR} pygobject3_USE_GNOME_IMPL= glib20 intltool_BUILD_DEPENDS= ${LOCALBASE}/bin/intltool-extract:textproc/intltool intlhack_PRE_PATCH= ${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${FRAMEWORK_REINPLACE_CMD} \ 's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \ s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";| ; \ s|/usr/bin/iconv|${ICONV_CMD}|g ; \ s|unpack *[(]'"'"'U\*'"'"'|unpack ('"'"'C*'"'"'|' ; \ ${FIND} ${WRKSRC} -name configure | ${XARGS} ${FRAMEWORK_REINPLACE_CMD} \ 's/DATADIRNAME=lib/DATADIRNAME=share/' intlhack_USE_GNOME_IMPL=intltool gtkhtml4_LIB_DEPENDS= libgtkhtml-4.0.so:www/gtkhtml4 gtkhtml4_USE_GNOME_IMPL=gtk30 libxml2 evolutiondataserver3_LIB_DEPENDS= libedataserver-1.2.so:databases/evolution-data-server evolutiondataserver3_USE_GNOME_IMPL= libxml2 gtk30 gnomemenus3_BUILD_DEPENDS= gnome-menus>=3.2.0:x11/gnome-menus gnomemenus3_RUN_DEPENDS= gnome-menus>=3.2.0:x11/gnome-menus gnomemenus3_USE_GNOME_IMPL= glib20 gtksharp20_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-sharp-2.0.pc:x11-toolkits/gtk-sharp20 gtksharp20_RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-sharp-2.0.pc:x11-toolkits/gtk-sharp20 gtksharp20_USE_GNOME_IMPL= gtk20 libgnomekbd_LIB_DEPENDS= libgnomekbd.so:x11/libgnomekbd libgnomekbd_USE_GNOME_IMPL= gtk30 libxml2 gvfs_BUILD_DEPENDS= gvfs>=0:filesystems/gvfs gvfs_RUN_DEPENDS= gvfs>=0:filesystems/gvfs # End component definition section . if defined(USE_GNOME) # First of all expand all USE_GNOME_IMPL recursively . for component in ${_USE_GNOME_ALL} . for subcomponent in ${${component}_USE_GNOME_IMPL} ${component}_USE_GNOME_IMPL+=${${subcomponent}_USE_GNOME_IMPL} . endfor . endfor # Then use already expanded USE_GNOME_IMPL to expand USE_GNOME. # Also, check to see if each component has a desktop requirement. If it does, # and if the user's chosen desktop is not of the same version, mark the # port as IGNORE. . for component in ${USE_GNOME:C/^([^:]+).*/\1/} . if ${_USE_GNOME_ALL:M${component}}=="" IGNORE= cannot install: Unknown component ${component} . endif _USE_GNOME+= ${${component}_USE_GNOME_IMPL} ${component} . endfor # Setup the GTK API version for pixbuf loaders, input method modules, # and theme engines. PLIST_SUB+= GTK2_VERSION="${GTK2_VERSION}" \ GTK3_VERSION="${GTK3_VERSION}" \ GTK4_VERSION="${GTK4_VERSION}" . if defined(_USE_GNOME) && empty(_USE_GNOME:Mglib20:u) && defined(GLIB_SCHEMAS) IGNORE= GLIB_SCHEMAS is set, but needs USE_GNOME=glib20 to work . endif . if defined(_USE_GNOME) && empty(_USE_GNOME:Mgconf2:u) && defined(GCONF_SCHEMAS) IGNORE= GCONF_SCHEMAS is set, but needs USE_GNOME=gconf2 to work . endif # Then traverse through all components, check which of them # exist in ${_USE_GNOME} and set variables accordingly . ifdef _USE_GNOME . for component in ${_USE_GNOME:O:u} . if defined(${component}_PATCH_DEPENDS) PATCH_DEPENDS+= ${${component}_PATCH_DEPENDS} . endif . if ${USE_GNOME:M${component}\:build} && defined(${component}_BUILD_DEPENDS) BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS} . elif ${USE_GNOME:M${component}\:run} && defined(${component}_RUN_DEPENDS) RUN_DEPENDS+= ${${component}_RUN_DEPENDS} . else . if defined(${component}_LIB_DEPENDS) LIB_DEPENDS+= ${${component}_LIB_DEPENDS} . else BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS} RUN_DEPENDS+= ${${component}_RUN_DEPENDS} . endif . endif . if defined(${component}_CONFIGURE_ARGS) CONFIGURE_ARGS+=${${component}_CONFIGURE_ARGS} . endif . if defined(${component}_CONFIGURE_ENV) CONFIGURE_ENV+= ${${component}_CONFIGURE_ENV} . endif . if defined(${component}_MAKE_ENV) MAKE_ENV+= ${${component}_MAKE_ENV} . endif . if !defined(CONFIGURE_TARGET) && defined(${component}_CONFIGURE_TARGET) CONFIGURE_TARGET= ${${component}_CONFIGURE_TARGET} . endif . if defined(${component}_PRE_PATCH) GNOME_PRE_PATCH+= ; ${${component}_PRE_PATCH} . endif . endfor . endif . if defined(GCONF_SCHEMAS) MAKE_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 . endif . endif . if defined(USE_GNOME_SUBR) GNOME_SUBR= ${LOCALBASE}/etc/gnome.subr RUN_DEPENDS+= ${GNOME_SUBR}:sysutils/gnome_subr SUB_LIST+= GNOME_SUBR=${GNOME_SUBR} . endif .endif # end of the part .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_GNOME_POST_MK) _INCLUDE_USES_GNOME_POST_MK= yes . if defined(GNOME_PRE_PATCH) _USES_patch+= 290:gnome-pre-patch gnome-pre-patch: @${GNOME_PRE_PATCH:C/^;//1} . endif . if defined(GCONF_SCHEMAS) _USES_install+= 690:gnome-post-gconf-schemas gnome-post-gconf-schemas: @for i in ${GCONF_SCHEMAS}; do \ ${ECHO_CMD} "@preunexec env GCONF_CONFIG_SOURCE=xml:${GCONF_CONFIG_OPTIONS}:%D/${GCONF_CONFIG_DIRECTORY} HOME=${WRKDIR} gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/$${i} > /dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ ${ECHO_CMD} "etc/gconf/schemas/$${i}" >> ${TMPPLIST}; \ ${ECHO_CMD} "@postexec env GCONF_CONFIG_SOURCE=xml:${GCONF_CONFIG_OPTIONS}:%D/${GCONF_CONFIG_DIRECTORY} HOME=${WRKDIR} gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/$${i} > /dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ done . endif . if defined(GLIB_SCHEMAS) PLIST_FILES+= ${GLIB_SCHEMAS:C,^,share/glib-2.0/schemas/,} . endif . if defined(INSTALLS_OMF) _USES_install+= 690:gnome-post-omf gnome-post-omf: @for i in `${GREP} "\.omf$$" ${TMPPLIST}`; do \ ${ECHO_CMD} "@postexec scrollkeeper-install -q %D/$${i} 2>/dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ ${ECHO_CMD} "@postunexec scrollkeeper-uninstall -q %D/$${i} 2>/dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ done . endif .endif # End of use part. diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index 0610308068a3..2cd5eddb32d3 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -1,387 +1,387 @@ #-*- tab-width: 4; -*- # ex:ts=4 # # Date created: 12 Nov 2005 # Whom: Michael Johnson # # 4 column tabs prevent hair loss and tooth decay! # bsd.gecko.mk abstracts the selection of gecko-based backends. It allows users # and porters to support any available gecko backend without needing to build # many conditional tests. ${USE_GECKO} is the list of backends that your port # can handle, and ${GECKO} is set by bsd.gecko.mk to be the chosen backend. # Users set ${WITH_GECKO} to the list of gecko backends they want on their # system. .if defined(USE_GECKO) . if !defined(_POSTMKINCLUDED) && !defined(Gecko_Pre_Include) Gecko_Pre_Include= bsd.gecko.mk # This file contains some reusable components for mozilla ports. It's of # use primarily to apps from the mozilla project itself (such as Firefox, # Thunderbird, etc.), and probably won't be of use for gecko-based ports # like epiphany, galeon, etc. # # You need to make sure to add USE_GECKO=gecko to for your port can uses # one of these options below. # # Ports can use the following: # # USE_MOZILLA By default, it enables every system dependency # listed in '_ALL_DEPENDS'. If your port doesn't # need one of those then you can use '-' like # 'USE_MOZILLA= -png -vpx' to subtract the # dependencies. Experimental deps use '+' like # 'USE_MOZILLA= +speex +theora'. # # MOZILLA_PLIST_DIRS List of directories to descend into when installing # and creating the plist # # MOZ_OPTIONS configure arguments (added to .mozconfig). If # NOMOZCONFIG is defined, you probably want to set # CONFIGURE_ARGS+=${MOZ_OPTIONS} # # MOZ_MK_OPTIONS The make(1) arguments (added to .mozconfig). If # NOMOZCONFIG is defined, you probably want to set # MAKE_ARGS+=${MOZ_MK_OPTIONS} # # MOZ_EXPORT Environment variables for the build process (added # to .mozconfig). If NOMOZCONFIG is defined, you # probably want to set MAKE_ENV+=${MOZ_EXPORT} # # NOMOZCONFIG Don't drop a customized .mozconfig into the build # directory. Options will have to be specified in # CONFIGURE_ARGS instead # MAINTAINER?= gecko@FreeBSD.org MOZILLA?= ${PORTNAME} MOZILLA_VER?= ${PORTVERSION} MOZILLA_BIN?= ${PORTNAME}-bin MOZILLA_EXEC_NAME?=${MOZILLA} USES+= compiler:c++17-lang cpe elfctl gl gmake gnome iconv \ llvm:min=17,noexport localbase \ pkgconfig python:build desktop-file-utils CPE_VENDOR?=mozilla USE_GL= gl -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 xcb xcomposite xdamage xext xfixes xrandr xrender xt xtst HAS_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes LDFLAGS+= -Wl,--as-needed -Wl,--undefined-version BINARY_ALIAS+= python3=${PYTHON_CMD} ELF_FEATURES+= +wxneeded:dist/bin/${MOZILLA} +wxneeded:dist/bin/${MOZILLA}-bin BUNDLE_LIBS= yes BUILD_DEPENDS+= rust-cbindgen>=0.26.0:devel/rust-cbindgen \ ${RUST_DEFAULT}>=1.85.0:lang/${RUST_DEFAULT} \ node:www/node LIB_DEPENDS+= libdrm.so:graphics/libdrm RUN_DEPENDS+= ${LOCALBASE}/lib/libpci.so:devel/libpci LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim MOZ_EXPORT+= ${CONFIGURE_ENV} \ PYTHON3="${PYTHON_CMD}" \ RUSTFLAGS="${RUSTFLAGS}" MOZ_OPTIONS+= --prefix="${PREFIX}" MOZ_MK_OPTIONS+=MOZ_OBJDIR="${BUILD_WRKSRC}" MOZ_OPTIONS+= --with-libclang-path="${LLVM_PREFIX:S/${PREFIX}/${LOCALBASE}/}/lib" . if !exists(/usr/bin/llvm-objdump) MOZ_EXPORT+= LLVM_OBJDUMP="${LOCALBASE}/bin/llvm-objdump${LLVM_VERSION}" . endif # Require newer Clang than what's in base system unless user opted out . if ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so) CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_VERSION} CC= ${LOCALBASE}/bin/clang${LLVM_VERSION} CXX= ${LOCALBASE}/bin/clang++${LLVM_VERSION} USES:= ${USES:Ncompiler\:*} # XXX avoid warnings . endif MOZSRC?= ${WRKSRC} PLISTF?= ${WRKDIR}/plist_files MOZCONFIG?= ${WRKSRC}/.mozconfig MOZILLA_PLIST_DIRS?= bin lib share/pixmaps share/applications # Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk . if ${ARCH} == amd64 || ${ARCH} == i386 RUSTFLAGS+= ${CFLAGS:M-march=*:S/-march=/-C target-cpu=/} . elif ${ARCH:Mpowerpc*} RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/:S/power/pwr/} . else RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/} . endif # Standard depends _ALL_DEPENDS= av1 event ffi graphite harfbuzz icu jpeg nspr nss png pixman sqlite vpx webp . if exists(${FILESDIR}/patch-bug1559213) av1_LIB_DEPENDS= libaom.so:multimedia/aom libdav1d.so:multimedia/dav1d av1_MOZ_OPTIONS= --with-system-av1 . endif event_LIB_DEPENDS= libevent.so:devel/libevent event_MOZ_OPTIONS= --with-system-libevent ffi_LIB_DEPENDS= libffi.so:devel/libffi ffi_MOZ_OPTIONS= --enable-system-ffi . if exists(${FILESDIR}/patch-bug847568) graphite_LIB_DEPENDS= libgraphite2.so:graphics/graphite2 graphite_MOZ_OPTIONS= --with-system-graphite2 harfbuzz_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz harfbuzz_MOZ_OPTIONS= --with-system-harfbuzz . endif icu_LIB_DEPENDS= libicui18n.so:devel/icu icu_MOZ_OPTIONS= --with-system-icu --with-intl-api -jpeg_BUILD_DEPENDS=yasm:devel/yasm jpeg_USES= jpeg jpeg_MOZ_OPTIONS= --with-system-jpeg=${LOCALBASE} nspr_LIB_DEPENDS= libnspr4.so:devel/nspr nspr_MOZ_OPTIONS= --with-system-nspr nss_LIB_DEPENDS= libnss3.so:security/nss nss_MOZ_OPTIONS= --with-system-nss pixman_LIB_DEPENDS= libpixman-1.so:x11/pixman pixman_MOZ_OPTIONS= --enable-system-pixman png_LIB_DEPENDS= libpng.so:graphics/png png_MOZ_OPTIONS= --with-system-png sqlite_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 sqlite_MOZ_OPTIONS= --enable-system-sqlite -vpx_BUILD_DEPENDS= yasm:devel/yasm vpx_LIB_DEPENDS= libvpx.so:multimedia/libvpx vpx_MOZ_OPTIONS= --with-system-libvpx webp_LIB_DEPENDS= libwebp.so:graphics/webp webp_MOZ_OPTIONS= --with-system-webp . for use in ${USE_MOZILLA} ${use:S/-/_WITHOUT_/}= ${TRUE} . endfor LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 . for dep in ${_ALL_DEPENDS} ${USE_MOZILLA:M+*:S/+//} . if !defined(_WITHOUT_${dep}) BUILD_DEPENDS+= ${${dep}_BUILD_DEPENDS} LIB_DEPENDS+= ${${dep}_LIB_DEPENDS} RUN_DEPENDS+= ${${dep}_RUN_DEPENDS} USES+= ${${dep}_USES} MOZ_OPTIONS+= ${${dep}_MOZ_OPTIONS} . else BUILD_DEPENDS+= ${-${dep}_BUILD_DEPENDS} . endif . endfor # Standard options MOZ_OPTIONS+= \ --enable-update-channel=${PKGNAMESUFFIX:Urelease:S/^-//} \ --disable-updater \ --with-system-zlib # API keys from www/chromium # http://www.chromium.org/developers/how-tos/api-keys # Note: these are for FreeBSD use ONLY. For your own distribution, # please get your own set of keys. MOZ_EXPORT+= MOZ_GOOGLE_LOCATION_SERVICE_API_KEY=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 MOZ_EXPORT+= MOZ_GOOGLE_SAFEBROWSING_API_KEY=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 . if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -O3 MOZ_EXPORT+= MOZ_OPTIMIZE_FLAGS="${CFLAGS:M-O*}" MOZ_OPTIONS+= --enable-optimize . else MOZ_OPTIONS+= --disable-optimize . if ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld # ld 2.17 barfs on Stylo built with -C opt-level=0 USE_BINUTILS= yes LDFLAGS+= -B${LOCALBASE}/bin . endif . endif . if ${PORT_OPTIONS:MCANBERRA} RUN_DEPENDS+= libcanberra>0:audio/libcanberra . endif . if ${PORT_OPTIONS:MDBUS} BUILD_DEPENDS+= libnotify>0:devel/libnotify LIB_DEPENDS+= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib . else MOZ_OPTIONS+= --disable-dbus . endif . if ${PORT_OPTIONS:MFFMPEG} # dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp RUN_DEPENDS+= ffmpeg>=6.0,1:multimedia/ffmpeg . endif . if ${PORT_OPTIONS:MLIBPROXY} LIB_DEPENDS+= libproxy.so:net/libproxy MOZ_OPTIONS+= --enable-libproxy . else MOZ_OPTIONS+= --disable-libproxy . endif . if ${PORT_OPTIONS:MLTO} MOZ_OPTIONS+= --enable-lto=cross . endif . if ${PORT_OPTIONS:MALSA} BUILD_DEPENDS+= ${LOCALBASE}/include/alsa/asoundlib.h:audio/alsa-lib MOZ_OPTIONS+= --enable-alsa . endif . if ${PORT_OPTIONS:MJACK} BUILD_DEPENDS+= ${LOCALBASE}/include/jack/jack.h:audio/jack MOZ_OPTIONS+= --enable-jack . endif . if ${PORT_OPTIONS:MPULSEAUDIO} BUILD_DEPENDS+= ${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio MOZ_OPTIONS+= --enable-pulseaudio . else MOZ_OPTIONS+= --disable-pulseaudio . endif . if ${PORT_OPTIONS:MSNDIO} BUILD_DEPENDS+= ${LOCALBASE}/include/sndio.h:audio/sndio MOZ_OPTIONS+= --enable-sndio . else MOZ_OPTIONS+= --disable-sndio . endif . if ${PORT_OPTIONS:MDEBUG} MOZ_OPTIONS+= --enable-debug --disable-release STRIP= # ports/184285 . else MOZ_OPTIONS+= --disable-debug --disable-debug-symbols --enable-release . if ${ARCH:Maarch64} || (defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}) MOZ_OPTIONS+= --enable-rust-simd . endif . endif . if ${PORT_OPTIONS:MPROFILE} MOZ_OPTIONS+= --enable-profiling STRIP= . else MOZ_OPTIONS+= --disable-profiling . endif . if ${PORT_OPTIONS:MTEST} USE_XORG+= xscrnsaver MOZ_OPTIONS+= --enable-tests . else MOZ_OPTIONS+= --disable-tests . endif . if !defined(STRIP) || ${STRIP} == "" MOZ_OPTIONS+= --disable-strip --disable-install-strip . else MOZ_OPTIONS+= --enable-strip --enable-install-strip . endif # _MAKE_JOBS is only available after bsd.port.post.mk, thus cannot be # used in .mozconfig. And client.mk automatically uses -jN where N # is what multiprocessing.cpu_count() returns. . if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE) MAKE_JOBS_NUMBER= 1 . endif . if defined(MAKE_JOBS_NUMBER) MOZ_MAKE_FLAGS+=-j${MAKE_JOBS_NUMBER} . endif . if defined(MOZ_MAKE_FLAGS) MOZ_MK_OPTIONS+=MOZ_MAKE_FLAGS="${MOZ_MAKE_FLAGS}" . endif . if ${ARCH} == amd64 . if ${USE_MOZILLA:M-nss} USE_BINUTILS= # intel-gcm.s CFLAGS+= -B${LOCALBASE}/bin LDFLAGS+= -B${LOCALBASE}/bin . endif . elif ${ARCH:Mpowerpc*} BUILD_DEPENDS+= as:devel/binutils . endif . else # bsd.port.post.mk post-patch: gecko-post-patch gecko-post-patch: @${RM} ${MOZCONFIG} . if !defined(NOMOZCONFIG) . for arg in ${MOZ_OPTIONS} @${ECHO_CMD} ac_add_options ${arg:Q} >> ${MOZCONFIG} . endfor . for arg in ${MOZ_MK_OPTIONS} @${ECHO_CMD} mk_add_options ${arg:Q} >> ${MOZCONFIG} . endfor . for var in ${MOZ_EXPORT} @${ECHO_CMD} export ${var:Q} >> ${MOZCONFIG} . endfor . endif # .if !defined(NOMOZCONFIG) . if ${USE_MOZILLA:M-nspr} @${ECHO_MSG} "===> Applying NSPR patches" @for i in ${.CURDIR}/../../devel/nspr/files/patch-*; do \ ${PATCH} ${PATCH_ARGS} -d ${MOZSRC}/nsprpub < $$i; \ done . endif . if ${USE_MOZILLA:M-nss} @${ECHO_MSG} "===> Applying NSS patches" @for i in ${.CURDIR}/../../security/nss/files/patch-*; do \ ${PATCH} ${PATCH_ARGS} -d ${MOZSRC}/security/nss < $$i; \ done . endif @if [ -f ${WRKSRC}/config/baseconfig.mk ] ; then \ ${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \ ${WRKSRC}/config/baseconfig.mk; \ fi @${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \ ${MOZSRC}/config/baseconfig.mk @${REINPLACE_CMD} -e 's|/usr/local/netscape|${LOCALBASE}|g ; \ s|/usr/local/lib/netscape|${LOCALBASE}/lib|g' \ ${MOZSRC}/xpcom/io/SpecialSystemDirectory.cpp @${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|g' \ ${MOZSRC}/xpcom/build/nsXPCOMPrivate.h @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|mozilla/plugins|browser_plugins|g' \ -e 's|share/mozilla/extensions|lib/xpi|g' \ ${MOZSRC}/xpcom/io/nsAppFileLocationProvider.cpp \ ${MOZSRC}/toolkit/xre/nsXREDirProvider.cpp # Disable vendor checksums like lang/rust @${REINPLACE_CMD} 's,"files":{[^}]*},"files":{},' \ ${MOZSRC}/third_party/rust/*/.cargo-checksum.json pre-configure-script: # Check that the running kernel has COMPAT_FREEBSD11 required by lang/rust post-ino64 @${SETENV} CC="${CC}" OPSYS="${OPSYS}" OSVERSION="${OSVERSION}" WRKDIR="${WRKDIR}" \ ${SH} ${SCRIPTSDIR}/rust-compat11-canary.sh post-install-script: gecko-create-plist gecko-create-plist: # Create the plist ${RM} ${PLISTF} . for dir in ${MOZILLA_PLIST_DIRS} @cd ${STAGEDIR}${PREFIX}/${dir} && ${FIND} -H -s * ! -type d | \ ${SED} -e 's|^|${dir}/|' >> ${PLISTF} . endfor ${CAT} ${PLISTF} | ${SORT} >> ${TMPPLIST} . endif .endif # HERE THERE BE TACOS -- adamw diff --git a/accessibility/caribou/Makefile b/accessibility/caribou/Makefile index 06c5ecf6cfc9..fc4feaeba96b 100644 --- a/accessibility/caribou/Makefile +++ b/accessibility/caribou/Makefile @@ -1,45 +1,45 @@ PORTNAME= caribou PORTVERSION= 0.4.21 PORTREVISION= 9 CATEGORIES= accessibility gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome On-Screen keyboard WWW= https://live.gnome.org/Caribou LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libclutter-glx-1.0.so:graphics/clutter \ libgee-0.8.so:devel/libgee \ libxklavier.so:x11/libxklavier \ libcogl-path.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib \ libatspi.so:accessibility/at-spi2-core \ libdbus-1.so:devel/dbus RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atspi>=2.1.91:accessibility/py-atspi@${PY_FLAVOR} USES= gettext gl gmake gnome libtool localbase pathfix \ pkgconfig python shebangfix tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack introspection:build libxml2 \ +USE_GNOME= cairo gdkpixbuf gtk30 intlhack introspection:build libxml2 \ libxslt:build pygobject3 USE_PYTHON= py3kplist SHEBANG_FILES= tools/fix_gir.py tools/make_schema.py USE_GL= egl USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xtst GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-gtk2-module=no GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \ org.gnome.antler.gschema.xml .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile index 3edf6b5f248d..afef8d8d3520 100644 --- a/archivers/file-roller/Makefile +++ b/archivers/file-roller/Makefile @@ -1,72 +1,72 @@ PORTNAME= file-roller PORTVERSION= 44.5 PORTEPOCH= 1 CATEGORIES= archivers gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Archive manager for zip files, tar, etc WWW= https://wiki.gnome.org/Apps/FileRoller LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libnotify.so:devel/libnotify \ libhandy-1.so:x11-toolkits/libhandy \ libportal.so:deskutils/libportal \ libportal-gtk4.so:deskutils/libportal-gtk4 RUN_DEPENDS= gtar:archivers/gtar PORTSCOUT= limitw:1,even USES= cpe desktop-file-utils gettext gnome libarchive localbase \ meson pkgconfig python:build tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk40 +USE_GNOME= cairo gdkpixbuf gtk40 USE_LDCONFIG= yes MESON_ARGS= -Dpackagekit=false BINARY_ALIAS= python3=${PYTHON_VERSION} CPE_VENDOR= gnome GLIB_SCHEMAS= org.gnome.FileRoller.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= NAUTILUS OPTIONS_DEFAULT=NAUTILUS OPTIONS_GROUP= FORMATS OPTIONS_GROUP_FORMATS= 7ZIP ARJ LZO RAR ZIP FORMATS_DESC= Additional compression formats support 7ZIP_DESC= 7zip archive support 7ZIP_RUN_DEPENDS= 7zz:archivers/7-zip ARJ_DESC= ARJ archive support ARJ_RUN_DEPENDS= arj:archivers/arj LZO_RUN_DEPENDS= lzop:archivers/lzop RAR_DESC= RAR archive support RAR_RUN_DEPENDS= rar:archivers/rar \ unrar:archivers/unrar ZIP_DESC= ZIP archive support ZIP_RUN_DEPENDS= zip:archivers/zip NAUTILUS_DESC= Nautilus context menu actions NAUTILUS_USE= GNOME=nautilus3 NAUTILUS_MESON_ENABLED= nautilus-actions post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/fr-command-tar.c \ ${WRKSRC}/src/fr-command-zip.c @${REINPLACE_CMD} -e 's|"7z"|"7zz"|g' \ ${WRKSRC}/src/fr-archive-libarchive.c \ ${WRKSRC}/src/fr-command-7z.c \ ${WRKSRC}/src/fr-command-tar.c .include diff --git a/archivers/gnome-autoar/Makefile b/archivers/gnome-autoar/Makefile index 5552a6b29898..57c772371f40 100644 --- a/archivers/gnome-autoar/Makefile +++ b/archivers/gnome-autoar/Makefile @@ -1,25 +1,25 @@ PORTNAME= gnome-autoar DISTVERSION= 0.4.5 CATEGORIES= archivers MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Glib wrapper around libarchives WWW= https://gitlab.gnome.org/GNOME/gnome-autoar LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gettext-runtime gmake gnome libarchive meson pkgconfig \ tar:xz vala:build CPE_VENDOR= gnome -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build OPTIONS_DEFINE= DOCS DOCS_MESON_TRUE= gtk_doc DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc .include diff --git a/archivers/thunar-archive-plugin/Makefile b/archivers/thunar-archive-plugin/Makefile index 3068c9b737f3..9d1e43d81401 100644 --- a/archivers/thunar-archive-plugin/Makefile +++ b/archivers/thunar-archive-plugin/Makefile @@ -1,30 +1,30 @@ PORTNAME= thunar-archive-plugin PORTVERSION= 0.5.3 CATEGORIES= archivers xfce MASTER_SITES= XFCE/thunar-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Archive plugin for the Thunar File Manager WWW= https://docs.xfce.org/xfce/thunar/archive LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libexo thunar GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/archivers/xarchiver/Makefile b/archivers/xarchiver/Makefile index b46c5d616ece..deb48ae579ed 100644 --- a/archivers/xarchiver/Makefile +++ b/archivers/xarchiver/Makefile @@ -1,67 +1,67 @@ PORTNAME= xarchiver DISTVERSION= 0.5.4.23 CATEGORIES= archivers MAINTAINER= eduardo@FreeBSD.org COMMENT= Desktop-agnostic GTK frontend to various archiving tools WWW= https://github.com/ib/xarchiver LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz RUN_DEPENDS= ${LOCALBASE}/bin/gzip:archivers/gzip \ ${LOCALBASE}/bin/unzip:archivers/unzip \ 7zz:archivers/7-zip \ gtar:archivers/gtar \ xdg-open:devel/xdg-utils \ zip:archivers/zip USES= desktop-file-utils gmake gnome libtool:build pkgconfig USE_GITHUB= yes GH_ACCOUNT= ib -USE_GNOME= cairo gdkpixbuf2 glib20 intltool +USE_GNOME= cairo gdkpixbuf glib20 intltool GNU_CONFIGURE= yes PORTSCOUT= limit:^\d\.\d\.\d\.\d+$ # avoid tags like identical_to_xfce_git_content OPTIONS_DEFINE= DOCS NLS OPTIONS_DEFAULT= GTK3 OPTIONS_GROUP= FORMATS OPTIONS_GROUP_FORMATS= ARJ LZO RAR OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 OPTIONS_SUB= yes ARJ_DESC= ARJ compression support FORMATS_DESC= Additional compression formats support RAR_DESC= RAR compression support ARJ_RUN_DEPENDS= arj:archivers/arj LZO_RUN_DEPENDS= lzop:archivers/lzop RAR_RUN_DEPENDS= rar:archivers/rar \ unrar:archivers/unrar DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt DOCS_CONFIGURE_ENABLE= doc GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_ENABLE= gtk2 GTK3_USE= GNOME=gtk30 NLS_USES= gettext localbase NLS_USES_OFF= gettext-tools NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/main.c post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS /s| po||' ${WRKSRC}/Makefile.in .include diff --git a/astro/gpscorrelate/Makefile b/astro/gpscorrelate/Makefile index 2bdbea6597fd..2e666ccc448b 100644 --- a/astro/gpscorrelate/Makefile +++ b/astro/gpscorrelate/Makefile @@ -1,62 +1,62 @@ PORTNAME= gpscorrelate PORTVERSION= 1.6.1 PORTREVISION= 11 CATEGORIES= astro geography MAINTAINER= ports@FreeBSD.org COMMENT= Correlate digital camera photos with GPS data in GPX format WWW= http://freefoote.dview.net/linux_gpscorr.html LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libgtkmm-2.4.so:x11-toolkits/gtkmm24 LIB_DEPENDS+= libatk-1.0.so:accessibility/at-spi2-core LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig LIB_DEPENDS+= libfreetype.so:print/freetype2 LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang gettext-runtime gmake gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= freefoote -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 libxml2 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk20 libxml2 pango PLIST_FILES= bin/gpscorrelate bin/gpscorrelate-gui \ share/man/man1/gpscorrelate.1.gz share/man/man1/gpscorrelate-gui.1.gz PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|^CFLAGS|#CFLAGS| ; \ s|^override CFLAGS|override IFLAGS| ; \ s|gtk+-2.0)|gtk+-2.0 exiv2)| ; \ s|-I/usr/include/exiv2|| ; \ s|-lexiv2|| ; \ /^all:/s|gpscorrelate.1|| ; \ s|g++ $$(OFLAGS)|$$(CXX) $$(OFLAGS)| ; \ s|g++ $$(CFLAGS)|$$(CXX) $$(CXXFLAGS) $$(IFLAGS)| ; \ s|gcc $$(CFLAGS)|$$(CC) $$(CFLAGS) $$(IFLAGS)|' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate-gui ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/gpscorrelate.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${LN} -sf gpscorrelate.1 \ ${STAGEDIR}${PREFIX}/share/man/man1/gpscorrelate-gui.1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/RELEASES ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}/html .include diff --git a/astro/nightfall/Makefile b/astro/nightfall/Makefile index 40dc8e990af6..2b8d2c425f53 100644 --- a/astro/nightfall/Makefile +++ b/astro/nightfall/Makefile @@ -1,55 +1,55 @@ PORTNAME= nightfall PORTVERSION= 1.92 PORTREVISION= 6 CATEGORIES= astro education MASTER_SITES= http://www.la-samhna.de/nightfall/ MAINTAINER= ports@FreeBSD.org COMMENT= Interactive binary star application WWW= http://www.hs.uni-hamburg.de/DE/Ins/Per/Wichmann/Nightfall.html LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler gettext gmake gnome jpeg pathfix perl5 pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale \ --disable-gnome OPTIONS_DEFINE= PGPLOT OPENGL OPTIONS_DEFAULT= PGPLOT OPENGL OPTIONS_SUB= yes OPENGL_CONFIGURE_ON= --with-lib-GL OPENGL_CONFIGURE_OFF= --disable-opengl OPENGL_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 OPENGL_USES= gl OPENGL_USE= GL=glut,gl,glu PGPLOT_DESC= PGPLOT support PGPLOT_CONFIGURE_ON= --with-pgplot-include=${LOCALBASE}/include \ --with-pgplot-lib=${LOCALBASE}/lib PGPLOT_CONFIGURE_OFF= --with-gnuplot PGPLOT_LIB_DEPENDS= libpgplot.so:graphics/pgplot PGPLOT_RUN_DEPENDS_OFF= gnuplot:math/gnuplot PGPLOT_USES= fortran .include post-patch: .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|-fforce-addr||' ${WRKSRC}/configure .endif @${REINPLACE_CMD} -e 's|CFLAGS -O3|CFLAGS|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|^Icon=gnome|Icon=${DATADIR}/pixmaps|g' \ ${WRKSRC}/nightfall.desktop post-install: ${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \ ${STAGEDIR}${PREFIX}/share/applications .include diff --git a/astro/opencpn/Makefile b/astro/opencpn/Makefile index 720db32b8a15..b96244a65627 100644 --- a/astro/opencpn/Makefile +++ b/astro/opencpn/Makefile @@ -1,70 +1,70 @@ PORTNAME= opencpn PORTVERSION= 5.2.4 DISTVERSIONPREFIX= v PORTREVISION= 9 CATEGORIES= astro geography MAINTAINER= ml@netfence.it COMMENT= Concise ChartPlotter/Navigator WWW= https://opencpn.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING.gplv2 LIB_DEPENDS= libportaudio.so:audio/portaudio \ libcurl.so:ftp/curl \ libexif.so:graphics/libexif \ libexpat.so:textproc/expat2 \ libsndfile.so:audio/libsndfile \ libtinyxml.so:textproc/tinyxml \ liblz4.so:archivers/liblz4 USES= cmake compiler:c++11-lang gettext-tools gl gnome libarchive \ localbase pkgconfig sqlite xorg USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= ${GH_PROJECT} GH_PROJECT= OpenCPN USE_GL= gl glu -USE_GNOME= cairo gdkpixbuf2 gtk30 pango +USE_GNOME= cairo gdkpixbuf gtk30 pango USE_LDCONFIG= ${PREFIX}/lib/opencpn USE_WX= 3.0+ WX_CONF_ARGS= absolute WX_PREMK= yes USE_XORG= ice sm x11 xext CMAKE_ARGS= -DOCPN_BUNDLE_GSHHS=CRUDE CMAKE_ON= OCPN_BUNDLE_TCDATA OCPN_FORCE_GTK3 # OCPN_USE_CRASHREPORT CMAKE_OFF= OCPN_USE_NEWSERIAL OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_ON= -DOCPN_BUNDLE_DOCS:STRING="ON" DOCS_CMAKE_OFF= -DOCPN_BUNDLE_DOCS:STRING="OFF" .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DHAVE_MSSE=OFF -DHAVE_MSSE2=OFF -DHAVE_MSSE3=OFF -DHAVE_MAVX2=OFF .endif .if ${ARCH:Marmv*} || ${ARCH:Mpowerpc*} CMAKE_ARGS+= -DHAVE_MFPU_NEON=OFF .endif .include post-patch: @${REINPLACE_CMD} \ -e 's,wx-config,${WX_CONFIG},' \ -e 's,$${PREFIX_PKGDATA}/doc,${DOCSDIR},g' \ ${WRKSRC}/CMakeLists.txt .if ${ARCH} != amd64 && ${ARCH} != i386 @${REINPLACE_CMD} -e '/-msse/d' -e '/-mssse3/d' \ -e '/-mavx2/d' ${WRKSRC}/CMakeLists.txt .endif post-install-DOCS-on: ${CP} -R ${WRKSRC}/Docs/OSENC ${STAGEDIR}${DOCSDIR}/OSENC.docx .include diff --git a/astro/siril/Makefile b/astro/siril/Makefile index 640c4796009e..5c0d4317d88e 100644 --- a/astro/siril/Makefile +++ b/astro/siril/Makefile @@ -1,53 +1,53 @@ PORTNAME= siril DISTVERSION= 1.2.5 CATEGORIES= astro graphics MASTER_SITES= https://free-astro.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Astronomical image processing software WWW= https://siril.org/ \ https://gitlab.com/free-astro/siril LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_i386= undefined reference to `__atomic_load' and `__atomic_compare_exchange' #` .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libcfitsio.so:astro/cfitsio \ libconfig.so:devel/libconfig \ libexiv2.so:graphics/exiv2 \ libffms2.so:multimedia/ffms2 \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libraw.so:graphics/libraw \ librtprocess.so:graphics/librtprocess \ libtiff.so:graphics/tiff \ libwcs.so:astro/wcslib LIB_DEPENDS+= libopencv_photo.so:graphics/opencv # for some reason, configure fails without opencv, but executable only links to opencv-core USES= cmake:indirect compiler:c++11-lang desktop-file-utils gettext \ gnome meson pkgconfig jpeg shared-mime-info tar:bz2 -USE_GNOME= atk cairo gdkpixbuf2 gtk30 intltool pango +USE_GNOME= atk cairo gdkpixbuf gtk30 intltool pango BINARY_ALIAS= git=false OPTIONS_DEFINE= CURL OPENMP OPTIONS_DEFAULT= CURL OPENMP OPENMP_MESON_OFF= -Dopenmp=false CURL_MESON_YES= enable-libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl .include diff --git a/astro/viking/Makefile b/astro/viking/Makefile index c61a8cad6928..3f80378fe8a3 100644 --- a/astro/viking/Makefile +++ b/astro/viking/Makefile @@ -1,91 +1,91 @@ PORTNAME= viking PORTVERSION= 1.10 PORTREVISION= 3 CATEGORIES= astro MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= lantw44@gmail.com COMMENT= Program to manage GPS data (tracks, waypoints, etc.) WWW= https://sourceforge.net/p/viking/wikiallura/Main_Page/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ ${LOCALBASE}/share/aclocal/yelp.m4:textproc/yelp-tools \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libgeoclue-2.so:net/geoclue \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib \ libnettle.so:security/nettle \ liboauth.so:net/liboauth \ libzip.so:archivers/libzip RUN_DEPENDS= gpsbabel:astro/gpsbabel USES= compiler:c++11-lib desktop-file-utils gettext gmake gnome \ iconv localbase perl5 pkgconfig tar:bzip2 xorg USE_XORG= x11 -USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack +USE_GNOME= cairo gdkpixbuf gtk30 intlhack USE_PERL5= run GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share PORTDOCS= AUTHORS ChangeLog NEWS README.md OPTIONS_DEFINE= DOCS GEOCACHES NLS GEOTAG GPSD MAPNIK MBTILES OPTIONS_DEFAULT= GEOTAG GPSD JOSM MBTILES # MAPNIK compatibility is broken with mapnik-4.0.0 OPTIONS_MULTI= EDITOR OPTIONS_MULTI_EDITOR= JOSM MERKAATOR EDITOR_DESC= OpenStreetMap editor GEOCACHES_DESC= GeoCaches Acquire support GEOTAG_DESC= Geotag support GPSD_DESC= Realtime GPS tracking MAPNIK_DESC= Mapnik support MBTILES_DESC= MBTiles support JOSM_DESC= Edit OpenStreetMap via JOSM MERKAATOR_DESC= Edit OpenStreetMap via Merkaartor OPTIONS_SUB= yes GEOCACHES_CONFIGURE_ENABLE= geocaches GEOCACHES_SUB_FILES= pkg-message NLS_CONFIGURE_ENABLE= nls GEOTAG_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 GEOTAG_CONFIGURE_ENABLE=geotag GPSD_LIB_DEPENDS= libgps.so:astro/gpsd GPSD_CONFIGURE_ENABLE= realtime-gps-tracking MAPNIK_LIB_DEPENDS= libmapnik.so:graphics/mapnik MAPNIK_CONFIGURE_ENV= ac_cv_lib_icuuc_main=no # indirect MAPNIK_CONFIGURE_ENABLE= mapnik MAPNIK_CPPFLAGS= -I${LOCALBASE}/include/mapnik MAPNIK_BROKEN= fails to build with mapnik-4.0.0, see https://sourceforge.net/p/viking/bugs/170/ MBTILES_USES= sqlite MBTILES_CONFIGURE_ENABLE= mbtiles JOSM_RUN_DEPENDS= josm:astro/josm MERKAATOR_RUN_DEPENDS= merkaartor:astro/merkaartor post-patch: @${REINPLACE_CMD} -e '/as_fn_error.*libicuuc/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|Science;|Education;Science;|' \ ${WRKSRC}/src/viking.desktop.in post-install: ${LN} -sf ../icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/abx/Makefile b/audio/abx/Makefile index 671c02dffe1b..051d07ab75df 100644 --- a/audio/abx/Makefile +++ b/audio/abx/Makefile @@ -1,29 +1,29 @@ PORTNAME= abx DISTVERSION= 0.1 PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= https://phintsan.kapsi.fi/ MAINTAINER= yuri@FreeBSD.org COMMENT= Simple ABX tester to compare audio files with GUI WWW= https://phintsan.kapsi.fi/abx.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libportaudio.so:audio/portaudio \ libsndfile.so:audio/libsndfile USES= gettext-runtime gmake gnome pkgconfig -USE_GNOME= atk cairo glib20 gdkpixbuf2 gtk20 pango +USE_GNOME= atk cairo glib20 gdkpixbuf gtk20 pango GNU_CONFIGURE= yes LDFLAGS+= -lm PLIST_FILES= bin/abx .include diff --git a/audio/amberol/Makefile b/audio/amberol/Makefile index 9c288edc5e99..72aca8c2349b 100644 --- a/audio/amberol/Makefile +++ b/audio/amberol/Makefile @@ -1,38 +1,38 @@ PORTNAME= amberol DISTVERSION= 2024.2 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org COMMENT= Plays music, and nothing else WWW= https://gitlab.gnome.org/World/amberol LICENSE= CC-BY-SA-3.0 CC0-1.0 GPLv3+ LICENSE_COMB= multi LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/LICENSES/CC-BY-SA-3.0.txt LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSES/CC0-1.0.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt LIB_DEPENDS= libdbus-1.so:devel/dbus \ libgraphene-1.0.so:graphics/graphene USES= cargo desktop-file-utils gettext gnome gstreamer meson \ pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World -USE_GNOME= gdkpixbuf2 gtk40 libadwaita +USE_GNOME= gdkpixbuf gtk40 libadwaita GLIB_SCHEMAS= io.bassi.Amberol.gschema.xml USE_GSTREAMER= bad good libav CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no MAKE_ENV= ${CARGO_ENV} post-patch: # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \ ${WRKSRC}/src/meson.build .include diff --git a/audio/amsynth/Makefile b/audio/amsynth/Makefile index b4099a35d9b2..5943215e222e 100644 --- a/audio/amsynth/Makefile +++ b/audio/amsynth/Makefile @@ -1,50 +1,50 @@ PORTNAME= amsynth DISTVERSION= 1.13.3 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://github.com/amsynth/amsynth/releases/download/release-${DISTVERSION}/ PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ PATCHFILES= 6fb79100a6254220e5adc69a1428572539ecc377.patch:-p1 # Stop using namespace std; https://github.com/amsynth/amsynth/issues/233 MAINTAINER= eduardo@FreeBSD.org COMMENT= Analog modelling software synth WWW= https://amsynth.github.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= dssi>0:audio/dssi \ lv2>0:audio/lv2 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjack.so:audio/jack \ liblash.so:audio/lash \ liblo.so:audio/liblo RUN_DEPENDS= dssi>0:audio/dssi USES= compiler:c++11-lang gettext-tools gmake gnome libtool localbase \ pkgconfig xorg -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 intltool pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 intltool pango USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share OPTIONS_DEFINE= MANPAGES NLS OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc MANPAGES_CONFIGURE_WITH= pandoc NLS_CONFIGURE_ENABLE= nls post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/*.so \ ${STAGEDIR}${PREFIX}/lib/dssi/amsynth_dssi/amsynth_dssi_gtk \ ${STAGEDIR}${PREFIX}/lib/vst/amsynth_vst.so \ ${STAGEDIR}${PREFIX}/lib/lv2/amsynth.lv2/*.so .include diff --git a/audio/aqualung/Makefile b/audio/aqualung/Makefile index ee89fbf15c9c..0729459f1a48 100644 --- a/audio/aqualung/Makefile +++ b/audio/aqualung/Makefile @@ -1,73 +1,73 @@ PORTNAME= aqualung DISTVERSION= 1.2 PORTREVISION= 6 CATEGORIES= audio MAINTAINER= portmaster@BSDforge.com COMMENT= Music player with rich features WWW= https://aqualung.jeremyevans.net/ PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= a991c13d0df734a5d0fea7db6b181176858f3e58.patch:-p1 # Support newer audio/mac PATCHFILES+= d2c88317b6042a05c236faf3c09f600337c6379e.patch:-p1 # Support newer audio/mac PATCHFILES+= 1c2a295a72e1e3abc6df40714d9753e311541550.patch:-p1 # Support newer audio/mac LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFLAC.so:audio/flac \ libmp3lame.so:audio/lame \ libmad.so:audio/libmad \ libmodplug.so:audio/libmodplug \ libogg.so:audio/libogg \ liboggz.so:audio/liboggz \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ libMAC.so:audio/mac \ libspeex.so:audio/speex \ libwavpack.so:audio/wavpack \ libavcodec.so:multimedia/ffmpeg \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libcdio.so:sysutils/libcdio \ libcdio_paranoia.so:sysutils/libcdio-paranoia \ liblrdf.so:textproc/liblrdf \ libfontconfig.so:x11-fonts/fontconfig USES= autoreconf compiler:c++11-lang cpe gettext gnome localbase lua:52 pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 libxml2 libxslt +USE_GNOME= cairo gdkpixbuf gtk20 libxml2 libxslt USE_GITHUB= yes GH_ACCOUNT= jeremyevans GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cddb=no \ --with-ifp=no \ --with-mpc=no DESKTOP_ENTRIES="Aqualung" "" "${DATADIR}/general.png" "aqualung" \ "Audio;AudioVideo;GTK;" "" OPTIONS_DEFINE= ALSA DOCS JACK PULSEAUDIO SNDIO ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-alsa=yes ALSA_CONFIGURE_OFF= --with-alsa=no JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ON= --with-jack=yes JACK_CONFIGURE_OFF= --with-jack=no PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ON= --with-pulse=yes PULSEAUDIO_CONFIGURE_OFF= --with-pulse=no SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ON= --with-sndio=yes SNDIO_CONFIGURE_OFF= --with-sndio=no post-patch: # Remove unused duplicate global symbols (-fno-common) @${REINPLACE_CMD} -E '/^g?char command/d' \ ${WRKSRC}/src/gui_main.c .include diff --git a/audio/ardour/Makefile b/audio/ardour/Makefile index b01fcbbc162b..3b7259482aab 100644 --- a/audio/ardour/Makefile +++ b/audio/ardour/Makefile @@ -1,127 +1,127 @@ PORTNAME= ardour DISTVERSION= 8.11.0 CATEGORIES= audio # Official source download is tailored to browsers, downloads from github are # deliberately made empty. Put the badly named distfile into a subdirectory. MASTER_SITES= https://community.ardour.org/download/release/ DISTNAME= Ardour-${DISTVERSION} DISTFILES= 604 DIST_SUBDIR= ${DISTNAME} MAINTAINER= dev@submerge.ch COMMENT= Multichannel digital audio workstation WWW= https://ardour.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ lv2>=1.18.0:audio/lv2 \ itstool>2.0.0:textproc/itstool \ ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= as:devel/binutils LIB_DEPENDS= libserd-0.so:devel/serd \ libsord-0.so:devel/sord \ libsratom-0.so:audio/sratom \ liblilv-0.so:audio/lilv \ libsuil-0.so:audio/suil \ libaubio.so:audio/aubio \ librubberband.so:audio/rubberband \ liblo.so:audio/liblo \ liblrdf.so:textproc/liblrdf \ libjack.so:audio/jack \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libvamp-hostsdk.so:audio/vamp-plugin-sdk \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libtag.so:audio/taglib \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libcurl.so:ftp/curl \ libogg.so:audio/libogg \ libFLAC.so:audio/flac \ libwebsockets.so:net/libwebsockets USES= compiler:c++14-lang desktop-file-utils gettext gnome \ libarchive pkgconfig python:build readline ssl tar:bzip2 \ waf xorg shared-mime-info USE_CXXSTD= c++14 -USE_GNOME= atk cairo cairomm gdkpixbuf2 glib20 glibmm gtk20 gtkmm24 libxml2 pango +USE_GNOME= atk cairo cairomm gdkpixbuf glib20 glibmm gtk20 gtkmm24 libxml2 pango USE_LDCONFIG= yes USE_XORG= x11 CONFIGURE_ARGS= --optimize --ptformat --freedesktop --no-phone-home \ --with-backends=jack,dummy --internal-shared-libs --no-ytk \ ${CONFIGURE_ARGS_${ARCH}} CONFIGURE_ARGS_amd64= --arch='-msse -mfpmath=sse -DARCH_X86' --dist-target=x86_64 # only support for i686 or better CONFIGURE_ARGS_i386= --arch='-msse -mfpmath=sse -march=i686 -DARCH_X86' --dist-target=i686 CONFIGURE_ENV+= PYTHONDONTWRITEBYTECODE=1 MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 LDFLAGS_powerpc= -Wl,-z,notext ARDOUR_MAJOR= ardour8 ETCDIR= ${PREFIX}/etc/${ARDOUR_MAJOR} DATADIR= ${PREFIX}/share/${ARDOUR_MAJOR} BINARY_ALIAS+= gas=${CC} PLIST_SUB+= VERSION=${PORTVERSION} \ ARDOUR_MAJOR=${ARDOUR_MAJOR} OPTIONS_DEFINE= VST3 OPTIONS_SUB= yes VST3_DESC= Build with VST3 plugin support VST3_BUILD_DEPENDS= vst3sdk>0:audio/vst3sdk VST3_CONFIGURE_OFF= --no-vst3 post-patch: @${REINPLACE_CMD} -e 's/obj\.use = '\''libsmf libpbd'\''/obj\.use = '\''libsmf_internal libpbd'\''/g' ${WRKSRC}/libs/evoral/wscript @${REINPLACE_CMD} -e 's/libsmf\.name = '\''libsmf'\''/libsmf\.name = '\''libsmf_internal'\''/g' ${WRKSRC}/libs/evoral/wscript @${REINPLACE_CMD} -e 's/libsmf\.target = '\''smf'\''/libsmf\.target = '\''smf_internal'\''/g' ${WRKSRC}/libs/evoral/wscript post-install: @${FIND} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR} \ -name '*.so*' -exec ${STRIP_CMD} {} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/sanityCheck @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/utils/${ARDOUR_MAJOR}-copy-mixer @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/utils/${ARDOUR_MAJOR}-export @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/utils/${ARDOUR_MAJOR}-new_empty_session @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/utils/${ARDOUR_MAJOR}-new_session @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/ardour-exec-wrapper @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/ardour-vst-scanner @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/ardour-${PORTVERSION} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/hardour-${PORTVERSION} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/luasession @${LN} -sf ../lib/${ARDOUR_MAJOR}/utils/ardour-util.sh \ ${STAGEDIR}${PREFIX}/bin/${ARDOUR_MAJOR}-new_session @${LN} -sf ../lib/${ARDOUR_MAJOR}/utils/ardour-util.sh \ ${STAGEDIR}${PREFIX}/bin/${ARDOUR_MAJOR}-copy-mixer @${LN} -sf ../lib/${ARDOUR_MAJOR}/utils/ardour-util.sh \ ${STAGEDIR}${PREFIX}/bin/${ARDOUR_MAJOR}-export @${LN} -sf ../lib/${ARDOUR_MAJOR}/utils/ardour-util.sh \ ${STAGEDIR}${PREFIX}/bin/${ARDOUR_MAJOR}-new_empty_session @${LN} -sf ffmpeg ${STAGEDIR}${PREFIX}/bin/ffmpeg_harvid @${LN} -sf ffprobe ${STAGEDIR}${PREFIX}/bin/ffprobe_harvid post-install-VST3-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/ardour-vst3-scanner .include # Some peripheral libraries are only built with libusb-1.0 >= 1.0.16 .if ${OPSYS} == FreeBSD && \ (${OSVERSION} <= 1304500 \ || 1400000 <= ${OSVERSION} && ${OSVERSION} <= 1401502 \ || 1500000 <= ${OSVERSION} && ${OSVERSION} <= 1500019) PLIST_SUB+= LIBUSB="@comment " .else PLIST_SUB+= LIBUSB="" .endif .include diff --git a/audio/ario/Makefile b/audio/ario/Makefile index 0304e059d9a3..e0f09e3fc304 100644 --- a/audio/ario/Makefile +++ b/audio/ario/Makefile @@ -1,58 +1,58 @@ PORTNAME= ario PORTVERSION= 1.6 PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= SF/ario-player/ario-player/${PORTVERSION} MAINTAINER= alfix86@gmail.com COMMENT= GTK client for MPD WWW= https://ario-player.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= intltoolize:textproc/intltool LIB_DEPENDS= libcurl.so:ftp/curl GNU_CONFIGURE= yes USES= gmake gnome libtool pkgconfig USE_LDCONFIG= yes -USE_GNOME= gtk30 pango atk cairo gdkpixbuf2 glib20 libxml2 +USE_GNOME= gtk30 pango atk cairo gdkpixbuf glib20 libxml2 INSTALL_TARGET= install-strip OPTIONS_DEFINE= AVAHI DBUS DEBUG LIBMPDCLIENT2 MPDIDLE NLS PLAYLISTS SEARCH TAGLIB OPTIONS_SUB= yes LIBMPDCLIENT2_DESC= API library for interfacing MPD MPDIDLE_DESC= MPD idle mode support PLAYLISTS_DESC= Playlists support SEARCH_DESC= Search view support TAGLIB_DESC= Manage ID3 tags and Ogg comments OPTIONS_DEFAULT= DBUS LIBMPDCLIENT2 MPDIDLE PLAYLISTS SEARCH TAGLIB AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CONFIGURE_ENABLE= avahi DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus libdbus-glib-1.so:devel/dbus-glib DBUS_CONFIGURE_ENABLE= dbus DEBUG_CONFIGURE_ENABLE= debug LIBMPDCLIENT2_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient LIBMPDCLIENT2_CONFIGURE_ENABLE= libmpdclient2 MPDIDLE_CONFIGURE_ENABLE= mpdidle NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PLAYLISTS_CONFIGURE_ENABLE= playlists SEARCH_CONFIGURE_ENABLE= search TAGLIB_LIB_DEPENDS= libtag_c.so:audio/taglib libtag.so:audio/taglib TAGLIB_CONFIGURE_ENABLE= taglib .include diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile index adf174c23a5b..7a23e1def995 100644 --- a/audio/audacity/Makefile +++ b/audio/audacity/Makefile @@ -1,164 +1,164 @@ PORTNAME= audacity DISTVERSIONPREFIX= Audacity- DISTVERSION= 3.7.3 CATEGORIES= audio MASTER_SITES+= https://github.com/${PORTNAME}/${PORTNAME}-manual/releases/download/v${DISTVERSION}/:manual DISTFILES+= ${PORTNAME}-manual-${DISTVERSION}.tar.gz:manual MAINTAINER= xxjack12xx@gmail.com COMMENT= GUI editor for digital audio waveforms WWW= https://www.audacityteam.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= conan:sysutils/conan \ rapidjson>0:devel/rapidjson \ lv2>0:audio/lv2 BUILD_DEPENDS_amd64= nasm:devel/nasm BUILD_DEPENDS_i386= nasm:devel/nasm LIB_DEPENDS= libexpat.so:textproc/expat2 \ libharfbuzz.so:print/harfbuzz \ liblilv-0.so:audio/lilv \ libmp3lame.so:audio/lame \ libmpg123.so:audio/mpg123 \ libopus.so:audio/opus \ libopusfile.so:audio/opusfile \ libportaudio.so:audio/portaudio \ libportmidi.so:audio/portmidi \ libserd-0.so:devel/serd \ libsndfile.so:audio/libsndfile \ libsord-0.so:devel/sord \ libsoxr.so:audio/libsoxr \ libsratom-0.so:audio/sratom \ libsqlite3.so:databases/sqlite3 \ libsuil-0.so:audio/suil \ libuuid.so:misc/e2fsprogs-libuuid \ libwavpack.so:audio/wavpack USES= cmake compiler:c++20-lang cpe desktop-file-utils gettext \ gnome python:build pkgconfig shared-mime-info CPE_VENDOR= audacityteam USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_WX= 3.2+ WX_COMPS= wx CMAKE_ARGS= -DAUDACITY_BUILD_LEVEL=2 \ -Daudacity_lib_preference:STRING=system \ -Daudacity_use_curl:STRING=system \ -Daudacity_use_expat:STRING=system \ -Daudacity_use_jpeg:STRING=system \ -Daudacity_use_libmp3lame:STRING=system \ -Daudacity_use_libmpg123:STRING=system \ -Daudacity_use_libopus:STRING=system \ -Daudacity_use_libsndfile:STRING=system \ -Daudacity_use_lv2:STRING=system \ -Daudacity_use_midi:STRING=system \ -Daudacity_use_nyquist:STRING=local \ -Daudacity_use_portaudio:STRING=system \ -Daudacity_use_portmixer:STRING=local \ -Daudacity_use_portsmf:STRING=local \ -Daudacity_use_png:STRING=system \ -Daudacity_use_rapidjson:STRING=system \ -Daudacity_use_soxr:STRING=system \ -Daudacity_use_sqlite:STRING=system \ -Daudacity_use_wavpack=system \ -Daudacity_use_wxwidgets:STRING=system \ -Daudacity_use_zlib:STRING=system CMAKE_ON= audacity_bundle_gplv3 audacity_conan_allow_prebuilt_binaries audacity_obey_system_dependencies CMAKE_OFF= audacity_has_audiocom_upload audacity_conan_enabled audacity_conan_force_build_dependencies \ audacity_has_crashreports audacity_has_networking audacity_has_updates_check audacity_has_url_schemes_support \ audacity_has_tests audacity_has_vst3 audacity_perform_codesign audacity_use_pch # TODO: fix NLS support properly PLIST_SUB+= NLS="" PORTDOCS= README.md OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA MANUAL \ OGG SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA OGG SBSMS \ SOUNDTOUCH TWOLAME VAMP VORBIS VST OPTIONS_EXCLUDE_i386= SBSMS OPTIONS_SUB= yes MANUAL_DESC= Include manual SBSMS_DESC= Use libsbsms for pitch and tempo changing SOUNDTOUCH_DESC= Use libSoundTouch for pitch and tempo changing TWOLAME_DESC= Use libtwolame for MP2 export support VAMP_DESC= Vamp plug-in support VST_DESC= VST plug-in support DEBUG_CMAKE_ON= wxWidgets_USE_DEBUG FFMPEG_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libavcodec.pc:multimedia/ffmpeg FFMPEG_RUN_DEPENDS= ${LOCALBASE}/lib/libavformat.so:multimedia/ffmpeg FFMPEG_CMAKE_ON= -Daudacity_use_ffmpeg:STRING=loaded FFMPEG_CMAKE_OFF= -Daudacity_use_ffmpeg:STRING=off FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_ON= -Daudacity_use_libflac:STRING=system FLAC_CMAKE_OFF= -Daudacity_use_libflac:STRING=off ID3TAG_LIB_DEPENDS= libid3tag.so:audio/libid3tag ID3TAG_CMAKE_ON= -Daudacity_use_libid3tag:STRING=system ID3TAG_CMAKE_OFF= -Daudacity_use_libid3tag:STRING=off LADSPA_RUN_DEPENDS= listplugins:audio/ladspa LADSPA_CMAKE_BOOL= audacity_use_ladspa MANUAL_CMAKE_BOOL= audacity_package_manual OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CMAKE_ON= -Daudacity_use_libogg:STRING=system OGG_CMAKE_OFF= -Daudacity_use_libogg:STRING=off SBSMS_CMAKE_ON= -Daudacity_use_sbsms:STRING=local SBSMS_CMAKE_OFF= -Daudacity_use_sbsms:STRING=off SOUNDTOUCH_BROKEN_OFF= Disabling soundtouch builds are currently broken due to a bug. SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:audio/soundtouch SOUNDTOUCH_CMAKE_ON= -Daudacity_use_soundtouch:STRING=system SOUNDTOUCH_CMAKE_OFF= -Daudacity_use_soundtouch:STRING=off TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CMAKE_ON= -Daudacity_use_twolame:STRING=system TWOLAME_CMAKE_OFF= -Daudacity_use_twolame:STRING=off VAMP_LIB_DEPENDS= libvamp-hostsdk.so:audio/vamp-plugin-sdk VAMP_CMAKE_ON= -Daudacity_use_vamp:STRING=system VAMP_CMAKE_OFF= -Daudacity_use_vamp:STRING=off VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis VORBIS_CMAKE_ON= -Daudacity_use_libvorbis:STRING=system VORBIS_CMAKE_OFF= -Daudacity_use_libvorbis:STRING=off VST_CMAKE_BOOL= audacity_use_vst .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DHAVE_MMX:BOOL=OFF \ -DHAVE_SSE:BOOL=OFF \ -DHAVE_SSE2:BOOL=OFF .endif post-configure-MANUAL-on: @${MV} ${WRKDIR}/help/manual ${WRKDIR}/.build/help/ post-install: @${RM} ${STAGEDIR}${DOCSDIR}/LICENSE.txt #delete empty directories: https://github.com/audacity/audacity/issues/808 @${FIND} ${STAGEDIR} -type d -empty -delete post-install-DEBUG-off: @${FIND} ${STAGEDIR}${PREFIX}/lib/audacity -name '*.so*' -exec ${STRIP_CMD} {} + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/aylet/Makefile b/audio/aylet/Makefile index 07a4671b2908..91e513c46c91 100644 --- a/audio/aylet/Makefile +++ b/audio/aylet/Makefile @@ -1,35 +1,35 @@ PORTNAME= aylet DISTVERSION= 0.5 PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= http://www.worldofspectrum.org/pub/sinclair/music/players-unix/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Aylet plays music files in the .ay format WWW= https://www.worldofspectrum.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext-runtime pkgconfig ALL_TARGET= aylet PLIST_FILES= %%GUI%%bin/xaylet \ bin/aylet \ share/man/man1/aylet.1.gz OPTIONS_DEFINE= GUI OPTIONS_DEFAULT= GUI OPTIONS_SUB= yes GUI_USES= gnome -GUI_USE= GNOME=atk,cairo,gdkpixbuf2,glib20,gtk20,pango +GUI_USE= GNOME=atk,cairo,gdkpixbuf,glib20,gtk20,pango GUI_ALL_TARGET= xaylet .include diff --git a/audio/calf-lv2/Makefile b/audio/calf-lv2/Makefile index bb68340cfceb..12195ad6e44a 100644 --- a/audio/calf-lv2/Makefile +++ b/audio/calf-lv2/Makefile @@ -1,60 +1,60 @@ PORTNAME= calf DISTVERSION= 0.90.4 PORTREVISION= 1 CATEGORIES= audio #MASTER_SITES= http://calf-studio-gear.org/files/ PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Calf Studio Gear: audio plug-in pack for LV2 and JACK WWW= https://calf-studio-gear.org/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= lv2>=1.14.0_1:audio/lv2 LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjack.so:audio/jack \ libexpat.so:textproc/expat2 USES= autoreconf compiler:c++11-lang desktop-file-utils gmake gnome libtool localbase pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_CXXSTD= c++11 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-lv2 --disable-static USE_GITHUB= yes GH_ACCOUNT= calf-studio-gear GH_TAGNAME= 648f05e85287cf08af198bdd9e52baba95b502ec # this revision has clang compilation issues fixed INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS LASH OPTIONS_DEFAULT= LASH OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT_amd64= SSE OPTIONS_DEFAULT_i386= SSE LASH_LIB_DEPENDS= liblash.so:audio/lash LASH_CONFIGURE_WITH= lash SSE_CONFIGURE_ENABLE= sse PORTDOCS= * PORTSCOUT= limit:^[0-9\.]*$$ # prevet tags like 'works' post-install: # fix absolute symbolic link to be relative @${RM} ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calf.so @${RLN} ${STAGEDIR}${PREFIX}/lib/calf/libcalf.so ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calf.so @${RLN} ${STAGEDIR}${PREFIX}/lib/calf/libcalflv2gui.so ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calflv2gui.so .include diff --git a/audio/d11amp/Makefile b/audio/d11amp/Makefile index 9a054bdf8c97..a4b5da653c0e 100644 --- a/audio/d11amp/Makefile +++ b/audio/d11amp/Makefile @@ -1,34 +1,34 @@ PORTNAME= d11amp DISTVERSION= 0.61 PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= https://www.dettus.net/d11amp/ DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= dettus@dettus.net COMMENT= Oldskool MP3 player WWW= https://www.dettus.net/d11amp/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libmpg123.so:audio/mpg123 \ libportaudio.so:audio/portaudio \ libzip.so:archivers/libzip USES= gnome pkgconfig tar:bz2 -USE_GNOME= cairo gdkpixbuf2 gtk40 +USE_GNOME= cairo gdkpixbuf gtk40 MAKE_ARGS= INSTALLMAN=${STAGEDIR}${PREFIX}/share/man TEST_ENV= SHA256_CMD=sha256 TMP_DIR=/tmp/d11amp/ TEST_TARGET= check LDFLAGS+= -Wl,--as-needed PLIST_FILES= bin/d11amp \ share/man/man1/d11amp.1.gz post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d11amp .include diff --git a/audio/eq10q-lv2/Makefile b/audio/eq10q-lv2/Makefile index 61fa915ffaea..79219668d22e 100644 --- a/audio/eq10q-lv2/Makefile +++ b/audio/eq10q-lv2/Makefile @@ -1,40 +1,40 @@ PORTNAME= eq10q DISTVERSION= 2.2 PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME} PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Parametric equalizer LV2 audio plugin WWW= https://eq10q.sourceforge.net LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= cmake compiler:c++11-lang dos2unix gnome localbase:ldflags \ pkgconfig -USE_GNOME= glib20 gtk20 gtkmm24 gdkpixbuf2 atkmm cairo cairomm pangomm +USE_GNOME= glib20 gtk20 gtkmm24 gdkpixbuf atkmm cairo cairomm pangomm DOS2UNIX_FILES= dsp/vu.h OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT_amd64= SSE OPTIONS_DEFAULT_i386= SSE SSE_CMAKE_ON= -DPORT_SIMD_FLAGS:STRING="-msse -mfpmath=sse" post-patch: @${REINPLACE_CMD} -e 's/pow10(/pow(10,/g' \ ${WRKSRC}/gui/widgets/*.cpp # fix for audio/lv2 1.18.0 based on: https://sourceforge.net/p/eq10q/bugs/23/ .for f in gui/eq10q_ui.cpp gui/dyn_ui.cpp gui/bassup_ui.cpp gui/midside_ui.cpp cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/const _LV2UI_Descriptor/const LV2UI_Descriptor/' ${f} .endfor .include diff --git a/audio/foo-yc20/Makefile b/audio/foo-yc20/Makefile index d61e9afaf962..36834fedbba5 100644 --- a/audio/foo-yc20/Makefile +++ b/audio/foo-yc20/Makefile @@ -1,31 +1,31 @@ PORTNAME= foo-yc20 DISTVERSION= 1.3.0 PORTREVISION= 4 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Faust implementation of a 1969-designed Yamaha combo organ, the YC-20 WWW= https://github.com/sampov2/foo-yc20 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libjack.so:audio/jack \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++11-lang gmake gnome localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= sampov2 -USE_GNOME= gtk20 gdkpixbuf2 cairo +USE_GNOME= gtk20 gdkpixbuf cairo post-patch: @${REINPLACE_CMD} -e 's|install -Dm|install -m|' ${WRKSRC}/Makefile post-install: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/bin/* \ ${STAGEDIR}${PREFIX}/lib/lv2/foo-yc20.lv2/*.so .include diff --git a/audio/ganv/Makefile b/audio/ganv/Makefile index fb02936e3298..d306d35b91e3 100644 --- a/audio/ganv/Makefile +++ b/audio/ganv/Makefile @@ -1,22 +1,22 @@ PORTNAME= ganv DISTVERSION= 1.8.2 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://download.drobilla.net/ MAINTAINER= yuri@FreeBSD.org COMMENT= Interactive Gtk canvas widget for audio topologies representation WWW= https://drobilla.net/software/ganv.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcgraph.so:graphics/graphviz \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler:c++11-lang gettext gnome localbase:ldflags meson pkgconfig tar:xz -USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk20 gtkmm24 introspection:build libsigc++20 pango pangomm +USE_GNOME= atk atkmm cairo cairomm gdkpixbuf glib20 glibmm gtk20 gtkmm24 introspection:build libsigc++20 pango pangomm USE_LDCONFIG= yes .include diff --git a/audio/gigedit/Makefile b/audio/gigedit/Makefile index 215a2910a5be..898a7533f7a3 100644 --- a/audio/gigedit/Makefile +++ b/audio/gigedit/Makefile @@ -1,32 +1,32 @@ PORTNAME= gigedit DISTVERSION= 1.2.1 CATEGORIES= audio MASTER_SITES= http://download.linuxsampler.org/packages/ MAINTAINER= yuri@FreeBSD.org COMMENT= Graphical instrument editor for sample based virtual instruments WWW= https://edrums.github.io/en/linuxsampler/docs/gigedit/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgig.so:audio/libgig \ libharfbuzz.so:print/harfbuzz \ liblinuxsampler.so:audio/linuxsampler \ libsndfile.so:audio/libsndfile USES= autoreconf gettext gmake gnome libtool pkgconfig tar:bz2 -USE_GNOME= cairo cairomm gdkpixbuf2 glib20 glibmm gtk30 gtkmm30 intltool pango pangomm +USE_GNOME= cairo cairomm gdkpixbuf glib20 glibmm gtk30 gtkmm30 intltool pango pangomm USE_LDCONFIG= yes GNU_CONFIGURE= yes LDFLAGS+= -pthread INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS PORTDOCS= * .include diff --git a/audio/gmtp/Makefile b/audio/gmtp/Makefile index f4ce4680d896..824d570cbe14 100644 --- a/audio/gmtp/Makefile +++ b/audio/gmtp/Makefile @@ -1,47 +1,47 @@ PORTNAME= gmtp PORTVERSION= 1.3.11 PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/gMTP-${PORTVERSION}/ MAINTAINER= freebsd-ports-local@be-well.ilk.org COMMENT= Media Transfer Protocol (MTP) GUI client WWW= http://gmtp.sourceforge.net/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmtp.so:multimedia/libmtp \ libid3tag.so:audio/libid3tag \ libFLAC.so:audio/flac \ libvorbis.so:audio/libvorbis \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= dos2unix gmake gnome localbase pkgconfig DOS2UNIX_FILES= COPYING -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 GLIB_SCHEMAS= org.gnome.gmtp.gschema.xml GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gtk3 # PR: 244712 # Workaround to fix linking with Clang >= 11 and GCC >= 10 which both set # -fno-common by default. Upstream seems to have resolved this issue, so this # line should be removed when updating to the next release. CFLAGS+= -fcommon PORTDOCS= AUTHORS ChangeLog README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/gnome-podcasts/Makefile b/audio/gnome-podcasts/Makefile index 16ef1bc34cee..14640cb37817 100644 --- a/audio/gnome-podcasts/Makefile +++ b/audio/gnome-podcasts/Makefile @@ -1,43 +1,43 @@ PORTNAME= podcasts DISTVERSION= 0.7.1 PORTREVISION= 8 CATEGORIES= audio PKGNAMEPREFIX= gnome- MAINTAINER= ports@FreeBSD.org COMMENT= Podcast app for GNOME WWW= https://gitlab.gnome.org/World/podcasts LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bash:shells/bash USES= cargo gettext gnome gstreamer meson pkgconfig sqlite ssl USE_GITLAB= yes -USE_GNOME= gdkpixbuf2 gtk40 libadwaita +USE_GNOME= gdkpixbuf gtk40 libadwaita USE_GSTREAMER= bad good libav GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World MAKE_ENV= ${CARGO_ENV} CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no GLIB_SCHEMAS= org.gnome.Podcasts.gschema.xml .include .if ${ARCH} == i386 || ${ARCH} == powerpc || ${ARCH:Marmv?} # https://github.com/rust-lang/rust/issues/85598 LTO_UNSAFE= yes .endif post-patch: @${REINPLACE_CMD} -e '/dependency.*openssl/d' \ -e '/update_desktop_database/d' \ ${WRKSRC}/meson.build # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \ ${WRKSRC}/${PORTNAME}-gtk/src/meson.build .include diff --git a/audio/grip/Makefile b/audio/grip/Makefile index b5d8da43b850..c32d353dee83 100644 --- a/audio/grip/Makefile +++ b/audio/grip/Makefile @@ -1,65 +1,65 @@ PORTNAME= grip DISTVERSION= 4.2.4 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= SF/grip/${DISTVERSION} MAINTAINER= freebsd-ports@jan0sch.de COMMENT= GTK front-end to external cd rippers and audio encoders WWW= https://sourceforge.net/projects/grip/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libid3.so:audio/id3lib USES= compiler:c++11-lang gmake gnome libtool localbase pathfix \ pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= ice sm x11 xext GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --disable-werror CONFLICTS_INSTALL= py*-grip # bin/grip OPTIONS_DEFINE= CDDA2WAV CDPARANOIA FAAC FLAC LAME NLS VORBIS OPTIONS_DEFAULT= CDPARANOIA FLAC VORBIS .if !defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= LAME .endif OPTIONS_SUB= yes CDDA2WAV_RUN_DEPENDS= cdda2wav:sysutils/cdrtools CDPARANOIA_LIB_DEPENDS= libcdda_paranoia.so:audio/cdparanoia CDPARANOIA_CONFIGURE_ENABLE= cdpar FAAC_RUN_DEPENDS= faac:audio/faac FLAC_RUN_DEPENDS= flac:audio/flac LAME_RUN_DEPENDS= lame:audio/lame VORBIS_RUN_DEPENDS= ogg123:audio/vorbis-tools NLS_USES= gettext .if defined(WITH_CDROM_DEVICE) DEFAULT_CDROM_DEVICE= ${WITH_CDROM_DEVICE} .else DEFAULT_CDROM_DEVICE= /dev/cd0 .endif pre-everything:: .if !defined(WITH_CDROM_DEVICE) @${ECHO_MSG} "===> The default CDROM device is ${DEFAULT_CDROM_DEVICE}" @${ECHO_MSG} "===> Define WITH_CDROM_DEVICE if you want to change the default" @${ECHO_MSG} "===> For example, 'make WITH_CDROM_DEVICE=\"/dev/somedevice\"'" .endif post-patch: @${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \ ${WRKSRC}/src/grip.c .include diff --git a/audio/gsequencer/Makefile b/audio/gsequencer/Makefile index 85c353d94fc6..3ab8d4b137e3 100644 --- a/audio/gsequencer/Makefile +++ b/audio/gsequencer/Makefile @@ -1,84 +1,84 @@ PORTNAME= gsequencer DISTVERSION= 7.5.5 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Advanced Gtk+ sequencer WWW= https://nongnu.org/gsequencer/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= dssi>0:audio/dssi \ gtkdocize:textproc/gtk-doc \ lv2>0:audio/lv2 BUILD_DEPENDS+= p5-File-Find-Rule>0:devel/p5-File-Find-Rule # only for bsd steps in custom configure LIB_DEPENDS= libfftw3.so:math/fftw3 \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz \ libinstpatch-1.0.so:audio/libinstpatch \ libjson-glib-1.0.so:devel/json-glib \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libsoup-3.0.so:devel/libsoup3 \ libuuid.so:misc/e2fsprogs-libuuid \ libvulkan.so:graphics/vulkan-loader \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 RUN_DEPENDS= dssi>0:audio/dssi USES= autoreconf desktop-file-utils gettext-runtime gettext-tools gmake gnome gstreamer \ libtool localbase:ldflags perl5 pkgconfig shared-mime-info -USE_GNOME= cairo gdkpixbuf2 glib20 gtk40 libxml2 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk40 libxml2 pango USE_XORG= x11 USE_CSTD= gnu99 USE_LDCONFIG= yes USE_PERL5= build # only for custom bsd steps in configure USE_GITHUB= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ INTROSPECTION_SCANNER=g-ir-scanner INTROSPECTION_COMPILER=g-ir-compiler MAKE=${GMAKE} CC=${CC} CXX=${CXX} LD=clang CONFIGURE_ARGS= --disable-alsa --enable-oss --enable-introspection --disable-rt CPPFLAGS+= -DAGS_LICENSE_FILENAME=\\\"${LOCALBASE}/share/licenses/${PKGNAME}/${LICENSE}\\\" \ -DAGS_LOGO_FILENAME=\\\"${DATADIR}/images/ags.png\\\" # there should be no need to supply AGS_LOGO_FILENAME here since the app knows its location LDFLAGS+= -luuid INSTALL_TARGET= install-strip PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DOCS JACK PULSEAUDIO X11 OPTIONS_DEFAULT= X11 DOCS_CONFIGURE_ON= HTMLHELP_XSL=${LOCALBASE}/share/xsl/docbook/htmlhelp/htmlhelp.xsl --docdir=${DOCSDIR} --enable-single-docdir DOCS_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl DOCS_USE= GNOME=libxslt:build DOCS_ALL_TARGET= html DOCS_INSTALL_TARGET= install-html JACK_CONFIGURE_ENABLE= jack # the JACK option is probably broken, see https://github.com/gsequencer/gsequencer/issues/62 JACK_LIB_DEPENDS= libjack.so:audio/jack PULSEAUDIO_CONFIGURE_ENABLE= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio X11_CONFIGURE_ENABLE= x11 # not sure what does X11 support realy mean, because it also shows the window wuth X11=OFF X11_USES= xorg PORTDOCS= * post-extract: @${RM} ${WRKSRC}/configure.ac.orig do-configure: # it fails to build with clang without this custom configure step @${ECHO} "==> Configure, patch symbols, and re-run configure again" @cd ${WRKSRC} && \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} && \ ${MAKE_CMD} gen-symbols-all-bsd && \ ${MAKE_CMD} fix-symbols-all-bsd && \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} .include diff --git a/audio/gtk-mixer/Makefile b/audio/gtk-mixer/Makefile index 55e0e7c98588..b211bfebcfe5 100644 --- a/audio/gtk-mixer/Makefile +++ b/audio/gtk-mixer/Makefile @@ -1,28 +1,28 @@ PORTNAME= gtk-mixer DISTVERSION= 1.0.4 CATEGORIES= audio MAINTAINER= rozhuk.im@gmail.com COMMENT= GTK based volume control tool WWW= https://github.com/rozhuk-im/gtk-mixer LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= cmake gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= rozhuk-im -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 CFLAGS+= -DHAVE_REALLOCARRAY DESKTOP_ENTRIES= "GTK-Mixer" \ "${COMMENT}" \ "multimedia-volume-control" \ "${PORTNAME}" \ "GTK;AudioVideo;Audio;Mixer;" \ true PLIST_FILES= bin/gtk-mixer .include diff --git a/audio/gvolwheel/Makefile b/audio/gvolwheel/Makefile index 418fa4925f83..968f71d93bfb 100644 --- a/audio/gvolwheel/Makefile +++ b/audio/gvolwheel/Makefile @@ -1,34 +1,34 @@ PORTNAME= gvolwheel PORTVERSION= 1.0.3 PORTREVISION= 2 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org COMMENT= Control volume by scrolling over tray icon WWW= https://github.com/Junker/gvolwheel LICENSE= GPLv3 USES= autoreconf libtool gmake gnome pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-oss -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool USE_GITHUB= yes GH_ACCOUNT= Junker PORTDOCS= AUTHORS ChangeLog README.md OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext DESKTOP_ENTRIES="GVolWheel" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "GTK;AudioVideo;Audio;Mixer;" true post-install: ${LN} -sf gvolwheel/audio-volume-high.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include diff --git a/audio/invada-studio-plugins-lv2/Makefile b/audio/invada-studio-plugins-lv2/Makefile index 015db0825b28..62bbf787946c 100644 --- a/audio/invada-studio-plugins-lv2/Makefile +++ b/audio/invada-studio-plugins-lv2/Makefile @@ -1,29 +1,29 @@ PORTNAME= invada-studio-plugins DISTVERSIONPREFIX= lv2_ DISTVERSION= 1.2.0 DISTVERSIONSUFFIX= -nopkg PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://launchpad.net/invada-studio/lv2/1.2/+download/ PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Set of LV2 audio effect plugins, ported from VST WWW= https://launchpad.net/invada-studio LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= gmake gnome localbase pkgconfig tar:tgz -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 +USE_GNOME= cairo gdkpixbuf glib20 gtk20 LLD_UNSAFE= yes WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/*/*.so .include diff --git a/audio/ir-lv2/Makefile b/audio/ir-lv2/Makefile index a1da3c9219f6..81bb699f7278 100644 --- a/audio/ir-lv2/Makefile +++ b/audio/ir-lv2/Makefile @@ -1,39 +1,39 @@ PORTNAME= ir DISTVERSION= 1.3.4 PORTREVISION= 4 CATEGORIES= audio PKGNAMESUFFIX= -lv2 PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 001904135bafa8931e4cf67402e0fa332feb857d.patch:-p1 # Fixing build for lv2 >= 1.18.0: https://github.com/tomszilagyi/ir.lv2/pull/20/ MAINTAINER= yuri@FreeBSD.org COMMENT= LV2 impulse response plugin for reverb and cabinet simulation WWW= https://github.com/tomszilagyi/ir.lv2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 \ ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libsndfile.so:audio/libsndfile \ libsamplerate.so:audio/libsamplerate \ libzita-convolver.so:audio/zita-convolver \ libfontconfig.so:x11-fonts/fontconfig USES= gmake gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= tomszilagyi GH_PROJECT= ir.lv2 -USE_GNOME= glib20 gtk20 gdkpixbuf2 cairo +USE_GNOME= glib20 gtk20 gdkpixbuf cairo MAKE_ENV= INSTDIR=${STAGEDIR}${PREFIX}/lib/lv2 PLIST_FILES= lib/lv2/ir.lv2/ir.so lib/lv2/ir.lv2/ir.ttl \ lib/lv2/ir.lv2/ir_gui.so lib/lv2/ir.lv2/manifest.ttl post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/ir.lv2/ir*.so .include diff --git a/audio/jalv-select/Makefile b/audio/jalv-select/Makefile index 29cf06733d60..0435209aaf64 100644 --- a/audio/jalv-select/Makefile +++ b/audio/jalv-select/Makefile @@ -1,36 +1,36 @@ PORTNAME= jalv-select DISTVERSIONPREFIX= v DISTVERSION= 1.3 PORTREVISION= 6 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Little app to select lv2 plugins to run with jalv WWW= https://github.com/brummer10/jalv_select LICENSE= UNLICENSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ liblilv-0.so:audio/lilv \ libserd-0.so:devel/serd \ libsord-0.so:devel/sord \ libsratom-0.so:audio/sratom RUN_DEPENDS= gawk:lang/gawk \ jalv:audio/jalv USES= compiler:c++11-lang gettext-runtime gmake gnome pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= brummer10 GH_PROJECT= jalv_select -USE_GNOME= atk atkmm cairo gdkpixbuf2 glib20 glibmm gtk20 gtkmm24 pango pangomm +USE_GNOME= atk atkmm cairo gdkpixbuf glib20 glibmm gtk20 gtkmm24 pango pangomm USE_XORG= x11 MAKE_ARGS= MAN_DIR=${PREFIX}/share/man/man1 post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/jalv.select .include diff --git a/audio/jalv/Makefile b/audio/jalv/Makefile index ac53b07e89fa..d9a521223657 100644 --- a/audio/jalv/Makefile +++ b/audio/jalv/Makefile @@ -1,33 +1,33 @@ PORTNAME= jalv DISTVERSION= 1.6.8 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://download.drobilla.net/ MAINTAINER= yuri@FreeBSD.org COMMENT= Simple but fully featured LV2 plugin host for Jack WWW= https://drobilla.net/software/jalv LICENSE= PD LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>=1.14.0:audio/lv2 LIB_DEPENDS= liblilv-0.so:audio/lilv \ libsratom-0.so:audio/sratom \ libsuil-0.so:audio/suil \ libjack.so:audio/jack \ libsord-0.so:devel/sord \ libserd-0.so:devel/serd \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= desktop-file-utils gnome pkgconfig meson qmake:no_configure,no_env \ qt:5 tar:xz USE_QT= core gui widgets buildtools:build USE_GNOME= atk atkmm cairo cairomm pango pangomm libsigc++20 \ - gdkpixbuf2 glib20 glibmm gtk20 gtk30 gtkmm24 + gdkpixbuf glib20 glibmm gtk20 gtk30 gtkmm24 MESON_ARGS= -Dportaudio=disabled CXXFLAGS+= -fPIC .include diff --git a/audio/ladish/Makefile b/audio/ladish/Makefile index 284ba1e3877b..d0e80ea041ce 100644 --- a/audio/ladish/Makefile +++ b/audio/ladish/Makefile @@ -1,58 +1,58 @@ PORTNAME= ladish DISTVERSION= 1.2 PORTREVISION= 1 DISTVERSIONSUFFIX= -g4dcd67d7 CATEGORIES= audio MASTER_SITES= https://dl.ladish.org/ladish/ MAINTAINER= yuri@FreeBSD.org COMMENT= Session management system for JACK WWW= https://ladish.org/ LICENSE= GPLv3 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libdbus-1.so:devel/dbus \ libexpat.so:textproc/expat2 \ libjack.so:audio/jack \ libuuid.so:misc/e2fsprogs-libuuid USES= tar:bz2 localbase:ldflags pkgconfig python shebangfix waf USE_PERL5= configure SHEBANG_FILES= ladish_control OPTIONS_DEFINE= GUI OPTIONS_DEFAULT= GUI OPTIONS_SUB= yes GUI_USES= gettext gnome -GUI_USE= GNOME=atkmm,cairo,gdkpixbuf2,gtk20,gtkmm24,libgnomecanvas,pango,intltool:build +GUI_USE= GNOME=atkmm,cairo,gdkpixbuf,gtk20,gtkmm24,libgnomecanvas,pango,intltool:build GUI_VARS= CONFIGURE_ARGS=--enable-gladish GUI_BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs GUI_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgnomecanvasmm-2.6.so:graphics/libgnomecanvasmm26 \ libharfbuzz.so:print/harfbuzz post-install: # strip @cd ${STAGEDIR}${PREFIX} && \ ${STRIP_CMD} \ bin/jmcore \ bin/ladishd \ bin/ladiconfd \ lib/libalsapid.so # remove unnecessary files @${RM} -rf \ ${STAGEDIR}${DATADIR}/COPYING post-install-GUI-on: #/usr/local/share/ladish/gladish.ui # strip @cd ${STAGEDIR}${PREFIX} && \ ${STRIP_CMD} \ bin/gladish .include diff --git a/audio/lash/Makefile b/audio/lash/Makefile index db435ec17787..1aa2511532d0 100644 --- a/audio/lash/Makefile +++ b/audio/lash/Makefile @@ -1,58 +1,58 @@ PORTNAME= lash PORTVERSION= 0.5.4 PORTREVISION= 19 CATEGORIES= audio MASTER_SITES= SAVANNAH MAINTAINER= ports@FreeBSD.org COMMENT= Session management system for JACK audio applications WWW= https://www.nongnu.org/lash/ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libjack.so:audio/jack \ libdssialsacompat.so:audio/libdssialsacompat \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libuuid.so:misc/e2fsprogs-libuuid USES= gmake gnome libtool pathfix pkgconfig -USE_GNOME= gtk20 libxml2 gdkpixbuf2 cairo +USE_GNOME= gtk20 libxml2 gdkpixbuf cairo GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa-midi USE_LDCONFIG= yes LIBS= -luuid INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -pthread OPTIONS_DEFINE= READLINE PYTHON DOCS OPTIONS_DEFAULT=READLINE OPTIONS_SUB= yes PYTHON_DESC= Build pylash PYTHON_USES= python PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_CONFIGURE_ENABLE=pylash PYTHON_BROKEN= Does not package READLINE_USES= readline READLINE_CONFIGURE_ENV_OFF= vl_cv_lib_readline=no DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_CONFIGURE_ENV_OFF= ac_cv_prog_lash_texi2html=no post-patch: @${REINPLACE_CMD} -e \ '/if test/s|==|=|' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/texi2html/s|--number||' ${WRKSRC}/docs/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/lash-manual-html-one-page/lash-manual.html \ ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/libgpod/Makefile b/audio/libgpod/Makefile index e8c8a37dcc1e..a0f643cfd4d7 100644 --- a/audio/libgpod/Makefile +++ b/audio/libgpod/Makefile @@ -1,57 +1,57 @@ PORTNAME= libgpod PORTVERSION= 0.8.3 PORTREVISION= 13 CATEGORIES= audio MASTER_SITES= SF/gtkpod/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} MAINTAINER?= ports@FreeBSD.org COMMENT?= Library for direct access to iPod contents WWW= http://www.gtkpod.org/wiki/Libgpod LICENSE= LGPL20 LIB_DEPENDS= libplist-2.0.so:devel/libplist \ libtag.so:audio/taglib \ libsgutils2.so:sysutils/sg3_utils USES= compiler:c++11-lang gettext gmake gnome libtool localbase \ pathfix pkgconfig sqlite:3 tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-udev --without-hal \ --without-python \ --with-html-dir="${DOCSDIR:H}" USE_CSTD= gnu89 -USE_GNOME= gdkpixbuf2 intltool libxml2 +USE_GNOME= gdkpixbuf intltool libxml2 INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS IMOBILE OPTIONS_DEFAULT=IMOBILE OPTIONS_SUB= yes IMOBILE_DESC= Apple iPhone/iPod Touch support IMOBILE_LIB_DEPENDS= libimobiledevice-1.0.so:comms/libimobiledevice IMOBILE_CONFIGURE_WITH= libimobiledevice PORTDOCS= ChangeLog NEWS README* .include .if ${PORT_OPTIONS:MIMOBILE} COMMENT:= ${COMMENT:S,iPod,&/iPhone,} .endif post-patch: @${REINPLACE_CMD} -e 's|libplist >= 1\.0|libplist-2.0 >= 2.0|g' \ ${WRKSRC}/configure post-install: ${INSTALL_PROGRAM} ${WRKSRC}/tools/ipod-time-sync \ ${STAGEDIR}${PREFIX}/bin @${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libgpod-sharp.pc post-install-DOCS-on: ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/midivisualizer/Makefile b/audio/midivisualizer/Makefile index 45f4019275f6..7ac6b545a343 100644 --- a/audio/midivisualizer/Makefile +++ b/audio/midivisualizer/Makefile @@ -1,35 +1,35 @@ PORTNAME= midivisualizer DISTVERSIONPREFIX= v DISTVERSION= 7.2 PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Small MIDI visualizer tool, using OpenGL WWW= https://github.com/kosua20/MIDIVisualizer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libasound.so:audio/alsa-lib \ libatk-1.0.so:accessibility/at-spi2-core \ libavcodec.so:multimedia/ffmpeg \ libharfbuzz.so:print/harfbuzz \ libjack.so:audio/jack \ libnotify.so:devel/libnotify USES= cmake compiler:c++20-lang gettext-runtime gl gnome localbase:ldflags pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 pango USE_GL= gl USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= kosua20 GH_PROJECT= MIDIVisualizer PLIST_FILES= bin/MIDIVisualizer do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/MIDIVisualizer ${STAGEDIR}${PREFIX}/bin .include diff --git a/audio/muse-sequencer/Makefile b/audio/muse-sequencer/Makefile index 99e68d2708ce..883623d67854 100644 --- a/audio/muse-sequencer/Makefile +++ b/audio/muse-sequencer/Makefile @@ -1,65 +1,65 @@ PORTNAME= muse-sequencer DISTVERSION= 4.2.1 PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Digital audio workstation (DAW) with support for both Audio and MIDI WWW= https://muse-sequencer.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_i386= compilation breaks: unknown type name 'intptr_t'; did you mean '__intptr_t', see https://github.com/muse-sequencer/muse/issues/1081 BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa \ lv2>0:audio/lv2 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libharfbuzz.so:print/harfbuzz \ libinstpatch-1.0.so:audio/libinstpatch \ libjack.so:audio/jack \ liblash.so:audio/lash \ liblilv-0.so:audio/lilv \ liblo.so:audio/liblo \ librtaudio.so:audio/rtaudio \ liblrdf.so:textproc/liblrdf \ librubberband.so:audio/rubberband \ libsamplerate.so:audio/libsamplerate \ libserd-0.so:devel/serd \ libsndfile.so:audio/libsndfile \ libsord-0.so:devel/sord USES= cmake compiler:c++11-lib desktop-file-utils gl gnome kde:5 localbase:ldflags qt:5 pkgconfig python shared-mime-info shebangfix USE_GL= gl USE_QT= core gui svg xml widgets buildtools:build linguisttools:build qmake:build uitools:build USE_KDE= ecm:build -USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk20 gtkmm24 libsigc++20 pango pangomm +USE_GNOME= atk atkmm cairo cairomm gdkpixbuf glib20 glibmm gtk20 gtkmm24 libsigc++20 pango pangomm USE_LDCONFIG= yes USE_GITHUB= yes GH_PROJECT= muse SHEBANG_FILES= share/scripts/* utils/muse-find-unused-wavs utils/muse-song-convert.py CMAKE_OFF= ENABLE_ALSA ENABLE_DSSI WRKSRC_SUBDIR= src DATADIR= ${PREFIX}/share/muse-${DISTVERSION:R} DOCSDIR= ${PREFIX}/share/doc/muse-${DISTVERSION:R} PLIST_SUB+= VER=${DISTVERSION:R} BINARY_ALIAS= git=false OPTIONS_DEFINE= FLUIDSYNTH DOCS OPTIONS_DEFAULT= FLUIDSYNTH OPTIONS_SUB= yes FLUIDSYNTH_DESC= Enable fluidsynth softsynth plugins FLUIDSYNTH_CMAKE_BOOL= ENABLE_FLUID FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth PORTDOCS= * .include diff --git a/audio/oss/Makefile b/audio/oss/Makefile index 2eccb2b5eb70..17b8997773d8 100644 --- a/audio/oss/Makefile +++ b/audio/oss/Makefile @@ -1,115 +1,115 @@ PORTNAME= oss DISTVERSION= 4.2-build2019 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://www.opensound.com/developer/sources/stable/bsd/ DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-bsd MAINTAINER= crees@FreeBSD.org COMMENT= Open Sound System from 4Front Technologies WWW= http://opensound.com/ LICENSE= BSD2CLAUSE ONLY_FOR_ARCHS= amd64 i386 BUILD_DEPENDS= gawk:lang/gawk LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gnome tar:bzip2 kmod pkgconfig -USE_GNOME= gtk20 cairo gdkpixbuf2 +USE_GNOME= gtk20 cairo gdkpixbuf USE_RC_SUBR= oss HAS_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes CONFIGURE_ENV= HOSTCC="${CC}" MAKE_ENV= WERROR="" # fix build: otherwise sys/conf/kmod.mk adds -Werror that breaks build ALL_TARGET= all install SUB_FILES= pkg-install pkg-deinstall LLD_UNSAFE= yes KMODDIR= ${PREFIX}/lib/oss/modules OSS_CONF_FILES= oss_audigyls oss_audioloop oss_cs461x oss_emu10k1x \ oss_envy24 oss_envy24ht oss_fmedia oss_hdaudio \ oss_ich oss_imux oss_madi oss_midiloop oss_sblive \ oss_sbpci oss_sbxfi oss_trident oss_usb oss_userdev \ oss_ymf7xx osscore PROTO_DIR= ${INSTALL_WRKSRC}/prototype PROTO_ETCDIR= ${PROTO_DIR}/etc PROTO_BINDIR= ${PROTO_DIR}/usr/bin PROTO_SBINDIR= ${PROTO_DIR}/usr/sbin PROTO_MANDIR= ${PROTO_DIR}/usr/share/man PROTO_OSSLIBDIR=${PROTO_DIR}${PREFIX}/lib/oss OPTIONS_DEFINE= VORBIS OPTIONS_DEFAULT=VORBIS VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis VORBIS_CONFIGURE_ENV= OGG_SUPPORT=YES pre-patch: ${FIND} ${PATCH_WRKSRC} -name '*.man' -or \ \( -name '*.[ch]' \! -name ossmkdep.c \) | \ ${XARGS} ${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' \ -e 's|/etc/oss|${PREFIX}/etc/oss|g' post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/setup/srcconf.c ${FIND} ${PATCH_WRKSRC} -name configure -or \ -name make.local -or -name soundoff -or -name soundon | \ ${XARGS} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' pre-build: ${MAKE_CMD} -C ${BUILD_WRKSRC}/kernel/OS/FreeBSD \ -f /usr/share/mk/bsd.kmod.mk \ KMOD=osscore SRCS=os_freebsd.c \ device_if.h bus_if.h pci_if.h do-install: ${INSTALL_PROGRAM} ${PROTO_BINDIR}/* ${STAGEDIR}${PREFIX}/bin/ # @${ECHO_CMD} "OSSLIBDIR=${PREFIX}/lib/oss" > ${PROTO_ETCDIR}/oss.conf ${INSTALL_DATA} ${PROTO_ETCDIR}/oss.conf ${STAGEDIR}${PREFIX}/etc/ -@${MKDIR} ${STAGEDIR}${PREFIX}/lib/oss 2>/dev/null ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/soundon.user \ ${STAGEDIR}${PREFIX}/lib/oss/soundon.user.sample ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/sysfiles.list \ ${STAGEDIR}${PREFIX}/lib/oss/ ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/version.dat \ ${STAGEDIR}${PREFIX}/lib/oss/ -@${MKDIR} ${STAGEDIR}${PREFIX}/lib/oss/conf 2>/dev/null .for CONF_FILE in ${OSS_CONF_FILES} ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/conf/${CONF_FILE}.conf \ ${STAGEDIR}${PREFIX}/lib/oss/conf/${CONF_FILE}.conf.sample .endfor -@${MKDIR} ${STAGEDIR}${PREFIX}/lib/oss/etc 2>/dev/null ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/etc/devices.list \ ${STAGEDIR}${PREFIX}/lib/oss/etc/ -@${MKDIR} ${STAGEDIR}${PREFIX}/lib/oss/include/sys 2>/dev/null ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/include/sys/soundcard.h \ ${STAGEDIR}${PREFIX}/lib/oss/include/sys/ ${INSTALL_KLD} ${PROTO_OSSLIBDIR}/modules/*.ko ${STAGEDIR}${KMODDIR} ${INSTALL_MAN} ${PROTO_MANDIR}/man1/*.1.gz \ ${STAGEDIR}${PREFIX}/share/man/man1/ ${INSTALL_MAN} ${PROTO_MANDIR}/man7/*.7.gz \ ${STAGEDIR}${PREFIX}/share/man/man7/ ${INSTALL_MAN} ${PROTO_MANDIR}/man8/*.8.gz \ ${STAGEDIR}${PREFIX}/share/man/man8/ ${INSTALL_PROGRAM} ${PROTO_SBINDIR}/ossdetect \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${PROTO_SBINDIR}/ossdevlinks \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${PROTO_SBINDIR}/savemixer \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_SCRIPT} ${PROTO_SBINDIR}/soundoff \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_SCRIPT} ${PROTO_SBINDIR}/soundon \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${PROTO_SBINDIR}/vmixctl \ ${STAGEDIR}${PREFIX}/sbin/ .include diff --git a/audio/pa-applet/Makefile b/audio/pa-applet/Makefile index 03f40e4ab6be..48217bbc1ace 100644 --- a/audio/pa-applet/Makefile +++ b/audio/pa-applet/Makefile @@ -1,30 +1,30 @@ PORTNAME= pa-applet PORTVERSION= g20181009 PORTREVISION= 3 CATEGORIES= audio MAINTAINER= glowiak1111@yandex.com COMMENT= PulseAudio system tray applet with volume bar WWW= https://github.com/fernandotcl/pa-applet LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libnotify.so:devel/libnotify USES= autoreconf gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GITHUB= yes GH_ACCOUNT= fernandotcl GH_TAGNAME= 3b4f8b3 DESKTOP_ENTRIES= "PulseAudio Applet" "${COMMENT}" \ "audio-volume-high" "${PORTNAME}" \ "GNOME;GTK;System;" true PLIST_FILES= bin/pa-applet share/man/man1/pa-applet.1.gz .include diff --git a/audio/pasystray/Makefile b/audio/pasystray/Makefile index 611f0bf3db5e..0aa930c75e49 100644 --- a/audio/pasystray/Makefile +++ b/audio/pasystray/Makefile @@ -1,43 +1,43 @@ PORTNAME= pasystray PORTVERSION= 0.8.2 PORTREVISION= 1 CATEGORIES= audio MAINTAINER= julien+freebsdports@delhaye.me COMMENT= System tray applet to control PulseAudio WWW= https://github.com/christophgysin/pasystray LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpulse.so:audio/pulseaudio USES= autoreconf gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 +USE_GNOME= cairo gdkpixbuf GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GITHUB= yes GH_ACCOUNT= christophgysin OPTIONS_DEFINE= APPINDICATOR AVAHI GTK2 NOTIFY OPTIONS_DEFAULT= APPINDICATOR AVAHI NOTIFY APPINDICATOR_DESC= AppIndicator support APPINDICATOR_LIB_DEPENDS= libappindicator3.so:devel/libappindicator APPINDICATOR_CONFIGURE_OFF= --disable-appindicator AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CONFIGURE_OFF= --disable-avahi GTK2_DESC= Use GTK 2 instead of GTK 3 GTK2_CONFIGURE_ON= --with-gtk=2 GTK2_USE= GNOME=gtk20 GTK2_USE_OFF= GNOME=gtk30 GTK2_PLIST_FILES= ${DATADIR_REL}/${PORTNAME}.gtk2.glade GTK2_PLIST_FILES_OFF= ${DATADIR_REL}/${PORTNAME}.gtk3.glade GTK2_PREVENTS= APPINDICATOR NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_OFF= --disable-notify .include diff --git a/audio/patchage/Makefile b/audio/patchage/Makefile index 05fa48f8a784..d0277cfcd0aa 100644 --- a/audio/patchage/Makefile +++ b/audio/patchage/Makefile @@ -1,32 +1,32 @@ PORTNAME= patchage DISTVERSION= 1.0.10 PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= http://download.drobilla.net/ MAINTAINER= yuri@FreeBSD.org COMMENT= Modular patch bay for Jack WWW= https://drobilla.net/software/patchage.html LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/optional/optional.hpp:devel/boost-libs \ raul>0:audio/raul LIB_DEPENDS= libasound.so:audio/alsa-lib \ libboost_date_time.so:devel/boost-libs \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libganv-1.so:audio/ganv \ libharfbuzz.so:print/harfbuzz USES= compiler:c++14-lang gettext gnome localbase meson pkgconfig python:build tar:xz -USE_GNOME= atk cairo cairomm glib20 glibmm gdkpixbuf2 gtk20 gtkmm24 libsigc++20 pango pangomm +USE_GNOME= atk cairo cairomm glib20 glibmm gdkpixbuf gtk20 gtkmm24 libsigc++20 pango pangomm MESON_ARGS= -Djack=disabled post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/audio/praat/Makefile b/audio/praat/Makefile index d209c0db5c01..fac4d8d4397b 100644 --- a/audio/praat/Makefile +++ b/audio/praat/Makefile @@ -1,48 +1,48 @@ PORTNAME= praat DISTVERSIONPREFIX= v DISTVERSION= 6.4.27 PORTREVISION= 1 CATEGORIES= audio science MAINTAINER= adridg@FreeBSD.org COMMENT= Speech analysis tool used for doing phonetics by computer WWW= https://www.fon.hum.uva.nl/praat/ \ https://github.com/praat/praat/ LICENSE= GPLv3+ LIB_DEPENDS= libasound.so:audio/alsa-lib \ libharfbuzz.so:print/harfbuzz # These are recommended but I can't tell the difference RUN_DEPENDS= CharisSIL>=0:x11-fonts/charis \ DoulosSIL>=0:x11-fonts/doulos USES= compiler:c++17-lang gnome iconv pkgconfig xorg USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 PLIST_FILES= bin/praat \ share/man/man1/praat.1.gz \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg post-patch: ${REINPLACE_CMD} -e 's|^CPPFLAGS =|CPPFLAGS +=|' \ ${WRKSRC}/*/Makefile \ ${WRKSRC}/external/*/Makefile ${CP} ${WRKSRC}/makefiles/makefile.defs.freebsd.alsa \ ${WRKSRC}/makefile.defs @${CP} ${WRKSRC}/main/praat-480.svg \ ${WRKSRC}/praat.svg do-install: ${INSTALL_PROGRAM} ${WRKSRC}/praat ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/praat.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/main/${PORTNAME}.desktop \ ${STAGEDIR}${DESKTOPDIR} .include diff --git a/audio/psindustrializer/Makefile b/audio/psindustrializer/Makefile index 277f5749b752..8b28e98e0b7b 100644 --- a/audio/psindustrializer/Makefile +++ b/audio/psindustrializer/Makefile @@ -1,50 +1,50 @@ PORTNAME= psindustrializer DISTVERSION= 0.2.7 PORTREVISION= 9 CATEGORIES= audio MASTER_SITES= SF/industrializer/ MAINTAINER= yuri@FreeBSD.org COMMENT= Percussion sounds synthesizer using physical modelling WWW= https://sourceforge.net/projects/industrializer/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libharfbuzz.so:print/harfbuzz USES= gettext-runtime gl gmake gnome libtool pkgconfig tar:xz xorg -USE_GNOME= atk cairo gdkpixbuf2 gtk20 libxml2 pango pangox-compat +USE_GNOME= atk cairo gdkpixbuf gtk20 libxml2 pango pangox-compat USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa INSTALL_TARGET= install-strip OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= JACK PULSE OPTIONS_DEFAULT= PULSE BACKEND_DESC= Audio Backend JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:audio/jack PULSE_DESC= PulseAudio support PULSE_CONFIGURE_ENABLE= pulse PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/audio/qtractor/Makefile b/audio/qtractor/Makefile index 76423992e007..fad108b706c2 100644 --- a/audio/qtractor/Makefile +++ b/audio/qtractor/Makefile @@ -1,80 +1,80 @@ PORTNAME= qtractor DISTVERSIONPREFIX= v DISTVERSION= 1.5.3 CATEGORIES= audio MASTER_SITES= https://download.steinberg.net/sdk_downloads/:vst3sdk DISTFILES= ${VST3_SDK_ARCHIVE}:vst3sdk EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_TAGNAME}_GH0${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Audio/MIDI multi-track sequencer WWW= https://qtractor.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list, see https://github.com/rncbc/qtractor/issues/353 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libaubio.so:audio/aubio \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjack.so:audio/jack \ liblilv-0.so:audio/lilv \ liblo.so:audio/liblo \ libmad.so:audio/libmad \ libogg.so:audio/libogg \ librubberband.so:audio/rubberband \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libsuil-0.so:audio/suil \ libvorbis.so:audio/libvorbis \ libvorbisenc.so:audio/libvorbis \ libvorbisfile.so:audio/libvorbis RUN_DEPENDS= alsa-seq-server>0:audio/alsa-seq-server USES= cmake compiler:c++17-lang desktop-file-utils gettext-runtime gnome localbase:ldflags pkgconfig qt:5 shared-mime-info -USE_GNOME= atk cairo gdkpixbuf2 gtk20 gtkmm24 pango +USE_GNOME= atk cairo gdkpixbuf gtk20 gtkmm24 pango USE_QT= core gui svg widgets x11extras xml buildtools:build linguisttools:build qmake:build #USE_QT= base svg tools:build # for Qt6 USE_GITHUB= yes GH_ACCOUNT= rncbc CMAKE_OFF= CONFIG_CLAP # for audio/clap, but it doesn't install anything CMAKE_OFF+= CONFIG_QT6 # breaks with Qt6: Gtk-ERROR **: 21:10:56.939: GTK 2.x symbols detected. Using GTK 2.x and GTK 3 in the same process is not supported OPTIONS_DEFINE= VST3 OPTIONS_DEFAULT= VST3 VST3_DESC= Enable VST3 plug-in support VST3_USES= xorg VST3_USE= XORG=xcb VST3_CMAKE_BOOL= CONFIG_VST3 VST3_CMAKE_ON= -DCONFIG_VST3SDK=${WRKDIR}/VST_SDK/vst3sdk #VST3_BUILD_DEPENDS= vst3sdk>0:audio/vst3sdk # this is supposed to work instead of bundled archive, but it doesn't for some reason, see https://github.com/rncbc/qtractor/issues/331 VST3_SDK_ARCHIVE= vst-sdk_3.7.4_build-25_2021-12-16.zip post-extract-VST3-on: @cd ${WRKDIR} && unzip -qq ${DISTDIR}/${VST3_SDK_ARCHIVE} post-patch: @${REINPLACE_CMD} \ 's|the ALSA Sequencer kernel module (snd-seq-midi)|alsa-seq-server (installed by audio/alsa-seq-server)|' \ ${WRKSRC}/src/qtractorMainForm.cpp post-patch-VST3-on: @${REINPLACE_CMD} -e ' \ s,__linux__,__linux__ || __FreeBSD__,; \ s,endian.h,sys/endian.h, \ ' \ ${WRKDIR}/VST_SDK/vst3sdk/pluginterfaces/base/fplatform.h @${REINPLACE_CMD} -e ' \ s,stdatomic.h,atomic,; \ s,atomic_int_least32_t,std::atomic_int_least32_t, \ ' \ ${WRKDIR}/VST_SDK/vst3sdk/pluginterfaces/base/funknown.cpp .include diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile index bf3576820cce..dcfd0e07709f 100644 --- a/audio/rhythmbox/Makefile +++ b/audio/rhythmbox/Makefile @@ -1,69 +1,69 @@ PORTNAME= rhythmbox PORTVERSION= 3.4.8 PORTREVISION= 1 CATEGORIES= audio gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Audio player for GNOME WWW= https://wiki.gnome.org/Apps/Rhythmbox LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ itstool:textproc/itstool LIB_DEPENDS= libtotem-plparser.so:multimedia/totem-pl-parser \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libsoup-3.0.so:devel/libsoup3 \ libpeas-1.0.so:devel/libpeas \ libjson-glib-1.0.so:devel/json-glib \ libsecret-1.so:security/libsecret \ libgudev-1.0.so:devel/libgudev \ libtdb.so:databases/tdb USES= desktop-file-utils gettext gnome gstreamer localbase:ldflags meson \ pkgconfig tar:xz vala:build xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 introspection libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 introspection libxml2 USE_XORG= ice x11 xorgproto USE_GSTREAMER= flac lame jpeg cdparanoia vorbis MESON_ARGS= -Dapidoc=false \ -Dtests=disabled USE_LDCONFIG= yes GLIB_SCHEMAS= org.gnome.rhythmbox.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= BRASERO DAAP DOCS GRILO IPOD LIRC MTP NLS NOTIFY PYTHON OPTIONS_DEFAULT=BRASERO NOTIFY PYTHON BRASERO_DESC= Brasero disc burning support BRASERO_MESON_ENABLED= brasero BRASERO_LIB_DEPENDS= libbrasero-media3.so:sysutils/brasero DAAP_DESC= DAAP support DAAP_MESON_ENABLED= daap DAAP_LIB_DEPENDS= libdmapsharing-4.0.so:net/libdmapsharing GRILO_DESC= Media discovery with Grilo GRILO_MESON_ENABLED= grilo GRILO_BUILD_DEPENDS= grilo>=0.3.1:net/grilo GRILO_LIB_DEPENDS= libgrilo-0.3.so:net/grilo GRILO_RUN_DEPENDS= grilo-plugins>=0.3.2:net/grilo-plugins IPOD_DESC= iPod support IPOD_MESON_ENABLED= ipod IPOD_LIB_DEPENDS= libgpod.so:audio/libgpod \ libplist-2.0.so:devel/libplist \ libimobiledevice-1.0.so:comms/libimobiledevice LIRC_MESON_ENABLED= lirc LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc MTP_MESON_ENABLED= mtp MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp NOTIFY_MESON_ENABLED= libnotify NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify PYTHON_MESON_ENABLED= plugins_python PYTHON_USES= python PYTHON_USE= gnome=pygobject3 PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} PYTHON_BINARY_ALIAS= python3=${PYTHON_CMD} .include diff --git a/audio/shortwave/Makefile b/audio/shortwave/Makefile index 91b6278a4df4..c1cd7dc617fc 100644 --- a/audio/shortwave/Makefile +++ b/audio/shortwave/Makefile @@ -1,45 +1,45 @@ PORTNAME= shortwave DISTVERSION= 3.2.0 PORTREVISION= 22 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org COMMENT= Listen to internet radio WWW= https://gitlab.gnome.org/World/Shortwave LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.md LIB_DEPENDS= libdbus-1.so:devel/dbus \ libshumate-1.0.so:x11-toolkits/libshumate USES= cargo gettext gnome gstreamer meson pkgconfig sqlite ssl USE_GITLAB= yes -USE_GNOME= gdkpixbuf2 gtk40 libadwaita +USE_GNOME= gdkpixbuf gtk40 libadwaita USE_GSTREAMER= good libav soup vorbis GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World GL_PROJECT= Shortwave MAKE_ENV= ${CARGO_ENV} CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no GLIB_SCHEMAS= de.haeckerfelix.Shortwave.gschema.xml OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO PULSEAUDIO_USE= GSTREAMER=pulse post-patch: @${REINPLACE_CMD} -e '/dependency.*openssl/d' \ -e '/gstreamer.*bad/d' \ -e "/vcs_tag/s/=.*/= '${DISTVERSIONFULL}'/" \ ${WRKSRC}/meson.build @${REINPLACE_CMD} -e '/update_desktop_database/d' \ ${WRKSRC}/data/meson.build # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \ ${WRKSRC}/src/meson.build .include diff --git a/audio/songrec/Makefile b/audio/songrec/Makefile index 8701b1a14d03..ff52d8b355b0 100644 --- a/audio/songrec/Makefile +++ b/audio/songrec/Makefile @@ -1,312 +1,312 @@ PORTNAME= songrec DISTVERSION= 0.4.3 PORTREVISION= 6 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Shazam client written in Rust WWW= https://github.com/marin-m/SongRec LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libasound.so:audio/alsa-lib \ libdbus-1.so:devel/dbus \ libpulse.so:audio/pulseaudio USES= cargo gettext-runtime gnome ssl -USE_GNOME= gdkpixbuf2 glib20 gtk30 +USE_GNOME= gdkpixbuf glib20 gtk30 USE_GITHUB= yes GH_ACCOUNT= marin-m GH_PROJECT= SongRec CARGO_CRATES= aho-corasick-0.7.18 \ alsa-0.9.1 \ alsa-sys-0.3.1 \ ansi_term-0.11.0 \ anyhow-1.0.47 \ app_dirs-1.2.1 \ arrayvec-0.7.6 \ atk-0.9.0 \ atk-sys-0.10.0 \ atty-0.2.14 \ autocfg-1.0.1 \ base64-0.12.3 \ base64-0.13.0 \ bindgen-0.56.0 \ bitflags-1.2.1 \ bitflags-2.6.0 \ block-0.1.6 \ bstr-0.2.17 \ bumpalo-3.8.0 \ bytemuck-1.18.0 \ byteorder-1.4.3 \ bytes-0.5.6 \ bytes-1.1.0 \ cairo-rs-0.9.1 \ cairo-sys-rs-0.10.0 \ cc-1.0.72 \ cesu8-1.1.0 \ cexpr-0.4.0 \ cfg-if-0.1.10 \ cfg-if-1.0.0 \ chfft-0.3.4 \ chrono-0.4.19 \ clang-sys-1.3.0 \ clap-2.33.3 \ claxon-0.4.3 \ combine-4.6.2 \ core-foundation-0.9.2 \ core-foundation-sys-0.8.3 \ coreaudio-rs-0.11.3 \ coreaudio-sys-0.2.8 \ cpal-0.15.3 \ crc32fast-1.2.1 \ csv-1.1.6 \ csv-core-0.1.10 \ dasp_sample-0.11.0 \ dbus-0.6.5 \ directories-4.0.1 \ dirs-3.0.2 \ dirs-sys-0.3.6 \ either-1.6.1 \ encoding_rs-0.8.29 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.0.1 \ fuchsia-zircon-0.3.3 \ fuchsia-zircon-sys-0.3.3 \ futures-0.3.17 \ futures-channel-0.3.17 \ futures-core-0.3.17 \ futures-executor-0.3.17 \ futures-io-0.3.17 \ futures-macro-0.3.17 \ futures-sink-0.3.17 \ futures-task-0.3.17 \ futures-util-0.3.17 \ gdk-0.13.2 \ gdk-pixbuf-0.9.0 \ gdk-pixbuf-sys-0.10.0 \ gdk-sys-0.10.0 \ getrandom-0.1.16 \ getrandom-0.2.3 \ gettext-rs-0.5.0 \ gettext-sys-0.19.9 \ gio-0.9.1 \ gio-sys-0.10.1 \ glib-0.10.3 \ glib-macros-0.10.1 \ glib-sys-0.10.1 \ glob-0.3.0 \ gobject-sys-0.10.0 \ gtk-0.9.2 \ gtk-sys-0.10.0 \ h2-0.2.7 \ hashbrown-0.11.2 \ heck-0.3.3 \ hermit-abi-0.1.19 \ hound-3.4.0 \ http-0.2.5 \ http-body-0.3.1 \ httparse-1.5.1 \ httpdate-0.3.2 \ hyper-0.13.10 \ hyper-tls-0.4.3 \ idna-0.2.3 \ indexmap-1.7.0 \ iovec-0.1.4 \ ipnet-2.3.1 \ itertools-0.9.0 \ itoa-0.4.8 \ jni-0.21.1 \ jni-sys-0.3.0 \ jobserver-0.1.24 \ js-sys-0.3.70 \ kernel32-sys-0.2.2 \ lazy_static-1.4.0 \ lazycell-1.3.0 \ lewton-0.10.2 \ libc-0.2.108 \ libdbus-sys-0.2.2 \ libloading-0.7.2 \ libpulse-binding-2.26.0 \ libpulse-sys-1.19.2 \ locale_config-0.3.0 \ log-0.4.14 \ mach2-0.4.2 \ malloc_buf-0.0.6 \ matches-0.1.9 \ memchr-2.4.1 \ mime-0.3.16 \ mime_guess-2.0.3 \ mio-0.6.23 \ miow-0.2.2 \ mpris-player-0.6.1 \ native-tls-0.2.8 \ ndk-0.8.0 \ ndk-context-0.1.1 \ ndk-sys-0.5.0+25.2.9519653 \ net2-0.2.37 \ nom-5.1.2 \ num-complex-0.4.0 \ num-derive-0.3.3 \ num-derive-0.4.2 \ num-integer-0.1.44 \ num-traits-0.2.14 \ num_cpus-1.13.0 \ num_enum-0.7.3 \ num_enum_derive-0.7.3 \ objc-0.2.7 \ objc-foundation-0.1.1 \ objc_id-0.1.1 \ oboe-0.6.1 \ oboe-sys-0.6.1 \ ogg-0.8.0 \ ole32-sys-0.2.0 \ once_cell-1.19.0 \ openssl-0.10.38 \ openssl-probe-0.1.4 \ openssl-sys-0.9.71 \ pango-0.9.1 \ pango-sys-0.10.0 \ peeking_take_while-0.1.2 \ percent-encoding-2.1.0 \ pin-project-1.0.8 \ pin-project-internal-1.0.8 \ pin-project-lite-0.1.12 \ pin-project-lite-0.2.7 \ pin-utils-0.1.0 \ pkg-config-0.3.22 \ ppv-lite86-0.2.15 \ proc-macro-crate-0.1.5 \ proc-macro-crate-1.1.0 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.19 \ proc-macro-nested-0.1.7 \ proc-macro2-1.0.86 \ pulsectl-rs-0.3.2 \ quote-1.0.37 \ rand-0.7.3 \ rand-0.8.4 \ rand_chacha-0.2.2 \ rand_chacha-0.3.1 \ rand_core-0.5.1 \ rand_core-0.6.3 \ rand_hc-0.2.0 \ rand_hc-0.3.1 \ redox_syscall-0.2.10 \ redox_users-0.4.0 \ regex-1.5.4 \ regex-automata-0.1.10 \ regex-syntax-0.6.25 \ remove_dir_all-0.5.3 \ reqwest-0.10.10 \ rodio-0.19.0 \ rustc-hash-1.1.0 \ ryu-1.0.5 \ same-file-1.0.6 \ schannel-0.1.19 \ security-framework-2.3.1 \ security-framework-sys-2.4.2 \ serde-1.0.130 \ serde_derive-1.0.130 \ serde_json-1.0.71 \ serde_urlencoded-0.7.0 \ shell32-sys-0.1.2 \ shlex-0.1.1 \ slab-0.4.5 \ socket2-0.3.19 \ strsim-0.8.0 \ strum-0.18.0 \ strum_macros-0.18.0 \ symphonia-0.5.4 \ symphonia-bundle-mp3-0.5.4 \ symphonia-core-0.5.4 \ symphonia-metadata-0.5.4 \ syn-1.0.81 \ syn-2.0.77 \ system-deps-1.3.2 \ tempfile-3.2.0 \ textwrap-0.11.0 \ thiserror-1.0.64 \ thiserror-impl-1.0.64 \ time-0.1.43 \ tinyvec-1.5.1 \ tinyvec_macros-0.1.0 \ tokio-0.2.25 \ tokio-tls-0.3.1 \ tokio-util-0.3.1 \ toml-0.4.10 \ toml-0.5.8 \ tower-service-0.3.1 \ tracing-0.1.29 \ tracing-core-0.1.21 \ tracing-futures-0.2.5 \ try-lock-0.2.3 \ unicase-2.6.0 \ unicode-bidi-0.3.7 \ unicode-ident-1.0.13 \ unicode-normalization-0.1.19 \ unicode-segmentation-1.8.0 \ unicode-width-0.1.9 \ unicode-xid-0.2.2 \ url-2.2.2 \ uuid-0.8.2 \ vcpkg-0.2.15 \ vec_map-0.8.2 \ version-compare-0.0.10 \ version_check-0.9.3 \ walkdir-2.3.2 \ want-0.3.0 \ wasi-0.9.0+wasi-snapshot-preview1 \ wasi-0.10.2+wasi-snapshot-preview1 \ wasm-bindgen-0.2.93 \ wasm-bindgen-backend-0.2.93 \ wasm-bindgen-futures-0.4.43 \ wasm-bindgen-macro-0.2.93 \ wasm-bindgen-macro-support-0.2.93 \ wasm-bindgen-shared-0.2.93 \ web-sys-0.3.55 \ winapi-0.2.8 \ winapi-0.3.9 \ winapi-build-0.1.1 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-0.54.0 \ windows-core-0.54.0 \ windows-result-0.1.2 \ windows-sys-0.45.0 \ windows-targets-0.42.2 \ windows-targets-0.52.6 \ windows_aarch64_gnullvm-0.42.2 \ windows_aarch64_gnullvm-0.52.6 \ windows_aarch64_msvc-0.42.2 \ windows_aarch64_msvc-0.52.6 \ windows_i686_gnu-0.42.2 \ windows_i686_gnu-0.52.6 \ windows_i686_gnullvm-0.52.6 \ windows_i686_msvc-0.42.2 \ windows_i686_msvc-0.52.6 \ windows_x86_64_gnu-0.42.2 \ windows_x86_64_gnu-0.52.6 \ windows_x86_64_gnullvm-0.42.2 \ windows_x86_64_gnullvm-0.52.6 \ windows_x86_64_msvc-0.42.2 \ windows_x86_64_msvc-0.52.6 \ winreg-0.7.0 \ ws2_32-sys-0.2.1 \ xdg-2.4.0 OPENSSLINC= /usr/include OPENSSLLIB= /usr/lib PLIST_FILES= bin/${PORTNAME} # known problem: The 'Audio input' combobox doesn't have any selections, see https://github.com/marin-m/SongRec/issues/115 .include diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile index 35ffd33ee8c5..fecdd07abb1b 100644 --- a/audio/soundtracker/Makefile +++ b/audio/soundtracker/Makefile @@ -1,51 +1,51 @@ PORTNAME= soundtracker DISTVERSION= 1.0.5 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Pattern-oriented music editor WWW= https://sourceforge.net/projects/soundtracker/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsndfile.so:audio/libsndfile RUN_DEPENDS= bash:shells/bash USES= desktop-file-utils gettext gmake gnome pkgconfig shebangfix tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 libxml2 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk20 libxml2 pango USE_XORG= x11 SHEBANG_FILES= soundtracker_convert_config CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl2-config GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-alsa OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= JACK OSS PULSEAUDIO SDL OPTIONS_DEFAULT= OSS PULSEAUDIO SDL # JACK BACKEND_DESC= Audio backends: JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_BROKEN= # 2023-10-02: JACK option is be broken because the build doesn't use Jack when the option is set OSS_CONFIGURE_ENABLE= oss PULSEAUDIO_CONFIGURE_ENABLE= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio SDL_CONFIGURE_ENABLE= sdl SDL_USES= sdl SDL_USE= SDL=sdl2 .include diff --git a/audio/strawberry/Makefile b/audio/strawberry/Makefile index 5795a5945395..04d0ae6ca323 100644 --- a/audio/strawberry/Makefile +++ b/audio/strawberry/Makefile @@ -1,74 +1,74 @@ PORTNAME= strawberry DISTVERSION= 1.2.7 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://github.com/strawberrymusicplayer/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= jhale@FreeBSD.org COMMENT= Music player and collection organizer WWW= https://www.strawberrymusicplayer.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>0:devel/boost-libs LIB_DEPENDS= libicui18n.so:devel/icu \ libtag.so:audio/taglib TEST_DEPENDS= googletest>=0:devel/googletest USES= cmake:testing compiler:c++17-lang desktop-file-utils \ gl gnome gstreamer pkgconfig qt:6 sqlite tar:xz xorg USE_GL= opengl USE_GNOME= glib20 USE_GSTREAMER= faac faad flac lame libav mpg123 opus taglib vorbis USE_QT= base sqldriver-sqlite:run USE_XORG= ice sm x11 xcb xext CMAKE_OFF= ENABLE_UDISKS2 CMAKE_TESTING_SETENV= yes CMAKE_TESTING_TARGET= strawberry_tests OPTIONS_DEFINE= CDIO EBUR128 IPOD MOODBAR MTP MUSICBRAINZ NLS OPTIONS_DEFAULT= ALSA EBUR128 MOODBAR MUSICBRAINZ OPTIONS_MULTI= SOUND OPTIONS_MULTI_SOUND= ALSA PULSEAUDIO OPTIONS_SUB= yes EBUR128_DESC= EBU R 128 loudness normalization IPOD_DESC= iPod Classic support MOODBAR_DESC= Moodbar support MUSICBRAINZ_DESC= Tagging/fingerprinting from MusicBrainz ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= ENABLE_ALSA CDIO_LIB_DEPENDS= libcdio.so:sysutils/libcdio CDIO_USE= GSTREAMER=cdparanoia CDIO_CMAKE_BOOL= ENABLE_AUDIOCD EBUR128_USES= ebur128 EBUR128_CMAKE_BOOL= ENABLE_EBUR128 IPOD_LIB_DEPENDS= libgpod.so:audio/libgpod \ libimobiledevice-1.0.so:comms/libimobiledevice \ libplist-2.0.so:devel/libplist -IPOD_USE= GNOME=gdkpixbuf2 +IPOD_USE= GNOME=gdkpixbuf IPOD_CMAKE_BOOL= ENABLE_GPOD MOODBAR_LIB_DEPENDS= libfftw3.so:math/fftw3 MOODBAR_CMAKE_BOOL= ENABLE_MOODBAR MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp MTP_CMAKE_BOOL= ENABLE_MTP MUSICBRAINZ_LIB_DEPENDS= libchromaprint.so:audio/chromaprint MUSICBRAINZ_CMAKE_BOOL= ENABLE_MUSICBRAINZ \ ENABLE_SONGFINGERPRINTING NLS_USE= QT=tools:build NLS_CMAKE_BOOL= ENABLE_TRANSLATIONS PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= ENABLE_PULSE .include diff --git a/audio/suil/Makefile b/audio/suil/Makefile index 08380fc386b7..6fe3cd2280e7 100644 --- a/audio/suil/Makefile +++ b/audio/suil/Makefile @@ -1,32 +1,32 @@ PORTNAME= suil PORTVERSION= 0.10.12 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://download.drobilla.net/ MAINTAINER= ports@FreeBSD.org COMMENT= C library for loading and wrapping LV2 plugin UIs WWW= http://drobilla.net/software/suil/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>=1.14.0:audio/lv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= lv2>=1.14.0:audio/lv2 USES= compiler:c++11-lang gnome pkgconfig python:build qt:5 \ tar:bzip2 waf xorg -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 gtk30 pango USE_QT= core gui widgets x11extras USE_XORG= x11 USE_LDCONFIG= yes PLIST_SUB= SUILVERSION=${PORTVERSION} post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsuil-0.so.${PORTVERSION} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/suil-0/*.so .include diff --git a/audio/synthpod-lv2/Makefile b/audio/synthpod-lv2/Makefile index 0da93b933c23..16871528cc6a 100644 --- a/audio/synthpod-lv2/Makefile +++ b/audio/synthpod-lv2/Makefile @@ -1,82 +1,82 @@ PORTNAME= synthpod PORTVERSION= g20230521 PORTREVISION= 2 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight Nonlinear LV2 Plugin Container WWW= https://git.open-music-kontrollers.ch/~hp/synthpod LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/COPYING FETCH_DEPENDS= git:devel/git BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= liblilv-0.so:audio/lilv \ libserd-0.so:devel/serd \ libsratom-0.so:audio/sratom \ libxcb-xrm.so:x11/xcb-util-xrm USES= meson compiler:c++11-lib pkgconfig localbase USE_CXXSTD= c++11 GIT_URL= https://git.open-music-kontrollers.ch/~hp/synthpod GIT_TAGNAME= 8217951d21f53546c7ef7d28ed4143ae43f26d02 MESON_ARGS= -Duse-alsa=false -Duse-qt4=false OPTIONS_DEFINE= JACK DUMMY OPTIONS_DEFAULT= JACK X11 OPTIONS_GROUP= UI OPTIONS_GROUP_UI= X11 GTK2 GTK3 QT OPTIONS_SUB= yes DUMMY_DESC= Build DUMMY standalone host DUMMY_MESON_OFF= -Duse-dummy=false DUMMY_LIB_DEPENDS= libuv.so:devel/libuv GTK2_DESC= Build GTK-2 sandbox GTK2_MESON_ON= -Duse-gtk2=true GTK2_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm GTK2_USES= gnome xorg -GTK2_USE= XORG=x11,xcb,xext GNOME=glib20,gtk20,gdkpixbuf2 gettext-runtime +GTK2_USE= XORG=x11,xcb,xext GNOME=glib20,gtk20,gdkpixbuf gettext-runtime GTK3_DESC= Build GTK-3 sandbox GTK3_MESON_ON= -Duse-gtk3=true GTK3_USES= gnome xorg GTK3_USE= XORG=x11,xcb,xext GNOME=glib20,gtk30,atk gettext-runtime GTK3_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm JACK_DESC= Build JACK standalone host JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_MESON_OFF= -Duse-jack=false QT_DESC= Build Qt-5 sandbox QT_MESON_ON= -Duse-qt5=true QT_USES= qt:5 xorg QT_USE= qt=core,widgets,buildtools:build xorg=xcb QT_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm X11_DESC= Build X11 sandbox X11_MESON_OFF= -Duse-x11=false X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libxcb-icccm.so:x11/xcb-util-wm \ libvterm.so:devel/libvterm X11_USES= gl gnome xorg X11_USE= GL=glew,opengl XORG=xcb,x11 GNOME=cairo do-fetch: @if [ "${FORCE_FETCH_ALL}" = "true" ] || ! [ -f "${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}" ]; then \ ${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \ cd ${DISTDIR}/${DIST_SUBDIR} && \ ${ECHO} "==> Fetching from ${GIT_URL} for tag-name=${GIT_TAGNAME}" && \ git clone -q ${GIT_URL} ${PORTNAME}-${DISTVERSIONFULL} && \ (cd ${PORTNAME}-${DISTVERSIONFULL} && git reset -q --hard ${GIT_TAGNAME} && ${RM} -r .git) && \ ${FIND} ${PORTNAME}-${DISTVERSIONFULL} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \ ${FIND} ${PORTNAME}-${DISTVERSIONFULL} -print0 | LC_ALL=C ${SORT} -z | \ ${TAR} czf ${PORTNAME}-${DISTVERSIONFULL}${EXTRACT_SUFX} --format=ustar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T - && \ ${RM} -r ${PORTNAME}-${DISTVERSIONFULL}; \ fi .include diff --git a/audio/thunar-media-tags-plugin/Makefile b/audio/thunar-media-tags-plugin/Makefile index a9bf46bf75b2..62b1a3697547 100644 --- a/audio/thunar-media-tags-plugin/Makefile +++ b/audio/thunar-media-tags-plugin/Makefile @@ -1,31 +1,31 @@ PORTNAME= thunar-media-tags-plugin PORTVERSION= 0.5.0 CATEGORIES= audio xfce MASTER_SITES= XFCE/thunar-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Media tags plugin WWW= https://docs.xfce.org/xfce/thunar/media-tags LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtag.so:audio/taglib \ libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libutil thunar GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/audio/triceratops-lv2/Makefile b/audio/triceratops-lv2/Makefile index 4be477dded02..299a8fe410dd 100644 --- a/audio/triceratops-lv2/Makefile +++ b/audio/triceratops-lv2/Makefile @@ -1,34 +1,34 @@ PORTNAME= triceratops DISTVERSIONPREFIX= v DISTVERSION= 0.5.0_Oct_2022 CATEGORIES= audio MASTER_SITES= SF/triceratops PKGNAMESUFFIX= -lv2 DISTNAME= ${PORTNAME}_${DISTVERSIONFULL} MAINTAINER= yuri@FreeBSD.org COMMENT= Polyphonic synthesizer LV2 plugin WWW= https://sourceforge.net/projects/triceratops LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang gnome pkgconfig python:build waf -USE_GNOME= cairo cairomm gdkpixbuf2 gtk20 gtkmm24 +USE_GNOME= cairo cairomm gdkpixbuf gtk20 gtkmm24 WRKSRC= ${WRKDIR}/${PORTNAME}#-lv2-0.5.0.o.2022 post-patch: ${REINPLACE_CMD} -e 's|"/usr/lib/lv2"|"${PREFIX}/lib/lv2"|' ${WRKSRC}/wscript post-install: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/lib/lv2/triceratops.lv2/triceratops.so \ ${STAGEDIR}${PREFIX}/lib/lv2/triceratops.lv2/triceratops_gui.so .include diff --git a/audio/tuner/Makefile b/audio/tuner/Makefile index fe45f0abb489..3c29e2133f66 100644 --- a/audio/tuner/Makefile +++ b/audio/tuner/Makefile @@ -1,29 +1,29 @@ PORTNAME= tuner DISTVERSIONPREFIX= v DISTVERSION= 1.5.4 CATEGORIES= audio MAINTAINER= ashish@FreeBSD.org COMMENT= Minimalist radio station player WWW= https://github.com/louis77/tuner LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgranite.so:x11-toolkits/granite \ libsoup-3.0.so:devel/libsoup3 \ libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee USES= desktop-file-utils gettext-tools gnome gstreamer \ meson ninja pkgconfig vala:build USE_GITHUB= yes USE_GSTREAMER= bad libav GH_ACCOUNT= louis77 APPNAME= com.github.louis77.tuner PLIST_SUB= APPNAME=${APPNAME} -USE_GNOME= gdkpixbuf2 glib20 gtk30 intlhack +USE_GNOME= gdkpixbuf glib20 gtk30 intlhack GLIB_SCHEMAS= ${APPNAME}.gschema.xml .include diff --git a/audio/volumeicon/Makefile b/audio/volumeicon/Makefile index 9373139aab76..b81193de6aeb 100644 --- a/audio/volumeicon/Makefile +++ b/audio/volumeicon/Makefile @@ -1,37 +1,37 @@ PORTNAME= volumeicon PORTVERSION= 0.5.1 PORTREVISION= 3 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight volume control for the systray WWW= https://github.com/Maato/volumeicon/ LICENSE= GPLv3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-oss=v3 \ --with-oss-include-path=/usr/include/sys CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib USES= autoreconf gmake gnome gettext pkgconfig xorg -USE_GNOME= gtk30 intltool cairo gdkpixbuf2 +USE_GNOME= gtk30 intltool cairo gdkpixbuf USE_XORG= x11 USE_CSTD= gnu99 USE_GITHUB= yes GH_ACCOUNT= Maato OPTIONS_DEFINE= NLS NOTIFY OPTIONS_DEFAULT= NOTIFY OPTIONS_SUB= yes NLS_USES= gettext NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_ENABLE=notify pre-configure: cd ${WRKSRC} && ./autogen.sh .include diff --git a/audio/xfce4-mixer/Makefile b/audio/xfce4-mixer/Makefile index 72ef84ec610b..2a09dd760b26 100644 --- a/audio/xfce4-mixer/Makefile +++ b/audio/xfce4-mixer/Makefile @@ -1,62 +1,62 @@ PORTNAME= xfce4-mixer PORTVERSION= 4.18.2 CATEGORIES= audio xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Volume control for the Xfce desktop WWW= https://docs.xfce.org/apps/xfce4-mixer/start LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz FLAVORS= lite full FLAVOR?= ${FLAVORS:[1]} full_PKGNAMESUFFIX= -full full_CONFLICTS_INSTALL= xfce4-mixer lite_CONFLICTS_INSTALL= xfce4-mixer-full USES= compiler:c11 gettext-tools gmake gnome gstreamer libtool \ pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_GSTREAMER= good USE_XFCE= libmenu panel xfconf USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= KEYBINDER NLS OPTIONS_DEFAULT= OSS OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA OSS PULSEAUDIO SNDIO OPTIONS_SUB= yes .if ${FLAVOR} == full OPTIONS_DEFAULT+= ALSA KEYBINDER PULSEAUDIO SNDIO .endif KEYBINDER_DESC= Multimedia keyboard shortcuts ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa KEYBINDER_LIB_DEPENDS= libkeybinder-3.0.so:x11/keybinder-gtk3 KEYBINDER_CONFIGURE_ENABLE= keybinder NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls OSS_CONFIGURE_ENABLE= oss PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio .include diff --git a/audio/xfce4-mpc-plugin/Makefile b/audio/xfce4-mpc-plugin/Makefile index ab4779f6696f..1bf81056fe28 100644 --- a/audio/xfce4-mpc-plugin/Makefile +++ b/audio/xfce4-mpc-plugin/Makefile @@ -1,32 +1,32 @@ PORTNAME= xfce4-mpc-plugin PORTVERSION= 0.5.5 CATEGORIES= audio xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Musicpd client plugin for the Xfce panel WWW= https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin/start LICENSE= ISCL LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libmpd.so:audio/libmpd RUN_DEPENDS= musicpd:audio/musicpd USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS+= --with-libmpd=${LOCALBASE} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/audio/xfce4-pulseaudio-plugin/Makefile b/audio/xfce4-pulseaudio-plugin/Makefile index 1b31661090d1..fe1bec213d96 100644 --- a/audio/xfce4-pulseaudio-plugin/Makefile +++ b/audio/xfce4-pulseaudio-plugin/Makefile @@ -1,46 +1,46 @@ PORTNAME= xfce4-pulseaudio-plugin PORTVERSION= 0.4.9 PORTREVISION= 1 CATEGORIES= audio xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Panel plugin for controlling PulseAudio mixer WWW= https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin LICENSE= GPLv2 LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libharfbuzz.so:print/harfbuzz \ libnotify.so:devel/libnotify \ libpulse-mainloop-glib.so:audio/pulseaudio RUN_DEPENDS= pavucontrol>=2.0:audio/pavucontrol USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libwnck3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3 USE_XFCE= libexo panel windowing xfconf USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-libxfce4windowing \ --enable-mpris2 \ --enable-wnck \ --with-mixer-command=${LOCALBASE}/bin/pavucontrol INSTALL_TARGET= install-strip CFLAGS+= -Wno-return-type OPTIONS_DEFINE= KEYBINDER NLS OPTIONS_DEFAULT= KEYBINDER OPTIONS_SUB= yes KEYBINDER_DESC= Keyboard shortcuts KEYBINDER_LIB_DEPENDS= libkeybinder-3.0.so:x11/keybinder-gtk3 KEYBINDER_CONFIGURE_ENABLE= keybinder NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/audio/xfmpc/Makefile b/audio/xfmpc/Makefile index aea16bd76e8d..c9eca877efef 100644 --- a/audio/xfmpc/Makefile +++ b/audio/xfmpc/Makefile @@ -1,32 +1,32 @@ PORTNAME= xfmpc PORTVERSION= 0.3.2 CATEGORIES= audio xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Graphical MPD client focusing on low footprint WWW= https://gitlab.xfce.org/apps/xfmpc LICENSE= GPLv2 LIB_DEPENDS= libmpd.so:audio/libmpd \ libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome pkgconfig tar:bzip2 \ vala:build xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu USE_XORG= ice sm x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/audio/xoscope/Makefile b/audio/xoscope/Makefile index 570e2d3ac206..3862d455b425 100644 --- a/audio/xoscope/Makefile +++ b/audio/xoscope/Makefile @@ -1,24 +1,24 @@ PORTNAME= xoscope PORTVERSION= 2.0 PORTREVISION= 4 CATEGORIES= audio hamradio MASTER_SITES= SF MAINTAINER= db@FreeBSD.org COMMENT= Sound card oscilloscope WWW= https://xoscope.sourceforge.net/ LICENSE= GPLv1 LICENSE_FILE= ${WRKSRC}/README LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} --sysconfdir=${STAGEDIR}${PREFIX} USES= gmake gnome pkgconfig tar:tgz xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 .include diff --git a/audio/zrythm/Makefile b/audio/zrythm/Makefile index 19ba74002e48..2da8c9d1cc57 100644 --- a/audio/zrythm/Makefile +++ b/audio/zrythm/Makefile @@ -1,69 +1,69 @@ PORTNAME= zrythm DISTVERSIONPREFIX= v DISTVERSION= 1.0.0-alpha.26.0.13 PORTREVISION= 13 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Modern music production system, also known as DAW WWW= https://www.zrythm.org/en/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash \ help2man:misc/help2man \ ${LOCALBASE}/lib/libbacktrace.a:devel/libbacktrace \ kf6-breeze-icons>0:x11-themes/kf6-breeze-icons LIB_DEPENDS= libaudec.so:audio/libaudec \ libavcodec.so:multimedia/ffmpeg \ libcyaml.so:textproc/libcyaml \ libgtop-2.0.so:devel/libgtop \ libcgraph.so:graphics/graphviz \ libcurl.so:ftp/curl \ libfftw3_threads.so:math/fftw3 \ libfftw3f_threads.so:math/fftw3-float \ libjack.so:audio/jack \ libjson-glib-1.0.so:devel/json-glib \ liblilv-0.so:audio/lilv \ libpcre.so:devel/pcre \ libpcre2-8.so:devel/pcre2 \ libportaudio.so:audio/portaudio \ libpulse.so:audio/pulseaudio \ libreproc.so:devel/reproc \ librubberband.so:audio/rubberband \ libsamplerate.so:audio/libsamplerate \ libserd-0.so:devel/serd \ libsmf.so:audio/libsmf \ libsndfile.so:audio/libsndfile \ libsord-0.so:devel/sord \ libasound.so:audio/alsa-lib \ libsratom-0.so:audio/sratom \ libsuil-0.so:audio/suil \ libvamp-hostsdk.so:audio/vamp-plugin-sdk \ libxxhash.so:devel/xxhash \ libyaml.so:textproc/libyaml \ libzstd.so:archivers/zstd RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ kf6-breeze-icons>0:x11-themes/kf6-breeze-icons USES= compiler:c11 desktop-file-utils gettext-tools gettext-runtime \ guile:2.2,3.0,alias,conflicts gnome libtool localbase:ldflags \ meson pkgconfig python:build shared-mime-info shebangfix xorg USE_GITHUB= yes -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 libxml2 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 gtksourceview3 libxml2 pango USE_XORG= x11 SHEBANG_FILES= scripts/collect_translatables.sh MESON_ARGS= -Dlsp_dsp=disabled GLIB_SCHEMAS= org.zrythm.Zrythm.gschema.xml LDFLAGS+= ${LOCALBASE}/lib/libfftw3_threads.so ${LOCALBASE}/lib/libfftw3f_threads.so # these libs are required but aren't returned by pkg-config for fftw3 BINARY_ALIAS= git=false python3=${PYTHON_CMD} post-patch: # https://git.zrythm.org/zrythm/zrythm/issues/299 @${REINPLACE_CMD} 's|||' ${WRKSRC}/ext/midilib/src/*.c .include diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile index 64541d14b93d..541d4babb963 100644 --- a/biology/gperiodic/Makefile +++ b/biology/gperiodic/Makefile @@ -1,54 +1,54 @@ PORTNAME= gperiodic PORTVERSION= 3.0.3 PORTREVISION= 1 CATEGORIES= biology MASTER_SITES= SF/${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Displays a periodic table of the elements WWW= https://sourceforge.net/projects/gperiodic/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gpl.txt LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig\ libfreetype.so:print/freetype2 USES= gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 PORTDOCS= AUTHORS ChangeLog README LANGS= be cs da de es fi fr gl is it ms pl pt ru sv tr uk zh_CN OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} `pkg-config --cflags --libs gtk+-2.0` \ gperiodic.c -o gperiodic do-build-NLS-on: .for lang in ${LANGS} cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}/icons && ${INSTALL_DATA} gperiodic-crystal.png gperiodic.png \ ${STAGEDIR}${PREFIX}/share/pixmaps) do-install-NLS-on: .for lang in ${LANGS} @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile index 492e4e137c5b..57911f4861a9 100644 --- a/cad/PrusaSlicer/Makefile +++ b/cad/PrusaSlicer/Makefile @@ -1,72 +1,72 @@ PORTNAME= PrusaSlicer DISTVERSIONPREFIX=version_ DISTVERSION= 2.9.0 PORTREVISION= 1 CATEGORIES= cad DIST_SUBDIR= PrusaSlicer MAINTAINER= teodorsigaev@gmail.com COMMENT= Slicing application for 3D printers WWW= https://www.prusa3d.com/prusaslicer/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE #BROKEN= fails to build with Boost>=1.87 BUILD_DEPENDS= cereal>=1.3.0.10:devel/cereal \ cgal>=5.0.2:math/cgal \ opencascade>=7.7.0:cad/opencascade \ libbgcode>=0.2.0_1:cad/libbgcode \ hidapi>=0.14.0:comms/hidapi LIB_DEPENDS+= libbgcode_convert.so:cad/libbgcode \ libbgcode_binarize.so:cad/libbgcode \ libbgcode_core.so:cad/libbgcode \ libtbb.so:devel/onetbb \ libboost_log.so:devel/boost-libs \ libImath.so:math/Imath \ libnlopt.so:math/nlopt \ libqhull_r.so:math/qhull \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libiconv.so:converters/libiconv \ libopenvdb.so:misc/openvdb \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libdbus-1.so:devel/dbus \ libpng.so:graphics/png \ libTKXSDRAWSTEP.so:cad/opencascade \ libtiff.so:graphics/tiff \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libavcodec.so:multimedia/ffmpeg4 \ libharfbuzz.so:print/harfbuzz \ libwayland-egl.so:graphics/wayland \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \ libsoup-2.4.so:devel/libsoup \ libjavascriptcoregtk-4.0.so:www/webkit2-gtk@40 USES= cmake cpe desktop-file-utils eigen:3 gettext gl gnome iconv \ jpeg pkgconfig xorg ssl tcl tk CPE_VENDOR= prusa3d USE_GITHUB= yes GH_ACCOUNT= prusa3d USE_GL= gl glu glew -USE_GNOME= gtk30 pango atk cairo gdkpixbuf2 glib20 +USE_GNOME= gtk30 pango atk cairo gdkpixbuf glib20 USE_WX= 3.2 USE_XORG= x11 CMAKE_ARGS+= -DCMAKE_FIND_DEBUG_MODE=TRUE \ -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DSLIC3R_GTK=3 \ -DSLIC3R_FHS=1 \ -DSLIC3R_PCH=OFF \ -DSLIC3R_BUILD_TESTS=OFF PORTDATA= * post-patch: ${MKDIR} ${WRKSRC}/bundled_deps/hidapi/libusb ${CP} ${FILESDIR}/hid.c ${WRKSRC}/bundled_deps/hidapi/libusb/hid.c .include diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile index d523d90b3dcc..e21463b1302c 100644 --- a/cad/gtkwave/Makefile +++ b/cad/gtkwave/Makefile @@ -1,42 +1,42 @@ PORTNAME= gtkwave DISTVERSION= 3.3.121 CATEGORIES= cad MASTER_SITES= http://gtkwave.sourceforge.net/ DISTNAME= ${PORTNAME}-gtk3-${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Electronic Waveform Viewer WWW= https://gtkwave.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= desktop-file-utils gettext-runtime gmake gnome gperf pkgconfig \ shared-mime-info -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-mime-update \ --enable-gtk3 \ --without-gconf PORTDOCS= gtkwave.odt PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES TCL TCL_DESC= Enable support for TCL/TK TCL_USES= tcl tk TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR} \ --with-tk=${TK_LIBDIR} TCL_CONFIGURE_OFF= --disable-tcl post-patch-EXAMPLES-off: ${REINPLACE_CMD} '/^SUBDIRS/s|examples||' ${WRKSRC}/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/cad/horizon-eda/Makefile b/cad/horizon-eda/Makefile index 322c7eb6209d..b4065d27ad92 100644 --- a/cad/horizon-eda/Makefile +++ b/cad/horizon-eda/Makefile @@ -1,56 +1,56 @@ PORTNAME= horizon-eda DISTVERSIONPREFIX= v DISTVERSION= 2.6.0 PORTREVISION= 3 CATEGORIES= cad PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 3b6b783db797b593119756821c04ac64b66b7ffa.patch:-p1 # Fix build with libgit2 1.8.2 PATCHFILES+= d5a46d2d7e879e82d0d2798715c1369f8ae54fcd.patch:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= EDA package for printed circuit board design WWW= https://horizon-eda.org/ \ https://github.com/horizon-eda/horizon LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/boost/optional.hpp:devel/boost-libs \ cmake:devel/cmake-core \ cppzmq>0:net/cppzmq \ glm>0:math/glm LIB_DEPENDS= libcurl.so:ftp/curl \ libepoxy.so:graphics/libepoxy \ libfreeimage.so:graphics/freeimage \ libgit2.so:devel/libgit2 \ libpng16.so:graphics/png \ libpodofo09.so:graphics/podofo09 \ libspnav.so:misc/libspnav \ libTKDESTEP.so:cad/opencascade \ libuuid.so:misc/e2fsprogs-libuuid \ libzmq.so:net/libzmq4 USES= desktop-file-utils gnome libarchive localbase meson pkgconfig python:build sqlite -USE_GNOME= atkmm gdkpixbuf2 gtkmm30 librsvg2 +USE_GNOME= atkmm gdkpixbuf gtkmm30 librsvg2 USE_GITHUB= yes GH_PROJECT= horizon BINARY_ALIAS= python3=${PYTHON_CMD} # Patch sources to force using include files installed by graphics/podofo09 pre-configure: @${REINPLACE_CMD} -e '/^#include/s|podofo/podofo.h|podofo09/podofo.h|' \ ${WRKSRC}/src/export_pdf/export_pdf.cpp \ ${WRKSRC}/src/export_pdf/export_pdf_board.cpp \ ${WRKSRC}/src/python_module/board.cpp \ ${WRKSRC}/src/python_module/schematic.cpp \ ${WRKSRC}/src/imp/pdf_export_window.cpp \ ${WRKSRC}/src/export_pdf/export_pdf_util.hpp \ ${WRKSRC}/src/export_pdf/canvas_pdf.hpp post-install: # https://github.com/horizon-eda/horizon/issues/558 @cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} horizon-eda horizon-imp .include diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile index 90521f363890..2b33b4cc1424 100644 --- a/cad/kicad-devel/Makefile +++ b/cad/kicad-devel/Makefile @@ -1,179 +1,179 @@ PORTNAME= kicad DISTVERSION= r${GIT_SRC_DATE} #PORTREVISION= 1 CATEGORIES= cad PKGNAMESUFFIX= -devel DIST_SUBDIR= ${PORTNAME} MAINTAINER= mr@FreeBSD.org COMMENT= Schematic and PCB editing software WWW= http://kicad-pcb.org/ LICENSE= GPLv3 BROKEN_i386= doesn't buld on pkg builder BUILD_DEPENDS= ${LOCALBASE}/bin/git:devel/git \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/bin/swig:devel/swig LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libgit2.so:devel/libgit2 \ libharfbuzz.so:print/harfbuzz \ libngspice.so:cad/ngspice_rework@shlib \ libTKernel.so:cad/opencascade \ libpixman-1.so:x11/pixman \ libpng.so:graphics/png \ libprotobuf.so:devel/protobuf \ libcurl.so:ftp/curl \ libGLEW-wayland.so:graphics/glew-wayland \ libnng.so:net/nng \ libodbc.so:databases/unixODBC CONFLICTS_INSTALL= kicad # bin/_cvpcb.kiface BROKEN_aarch64= Fails to compile: use of undeclared identifier builtin_ia32_emms OPTIONS_DEFINE= DOCS PLIST_SUB= OPSYS=${OPSYS} \ DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} USES= cmake:noninja compiler:c++20-lang desktop-file-utils gl \ gettext gnome pkgconfig python shared-mime-info shebangfix ssl \ tar:bzip2 xorg USE_GITLAB= yes GL_ACCOUNT= kicad/code GL_PROJECT= kicad GL_TAGNAME= ${GIT_SRC_HASH} USE_GL= egl gl glu glut opengl USE_WX= 3.2 WX_COMPS= wx python:lib -USE_GNOME= atk cairo gtk30 gdkpixbuf2 pango +USE_GNOME= atk cairo gtk30 gdkpixbuf pango USE_XORG+= ice pixman x11 xext BINS= cvpcb eeschema gerbview kicad pcbnew EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \ contrib_makefiles.txt running_kicad_under_W98.txt SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py #CXXFLAGS+= --std=c++14 -I${WRKSRC} -I${WRKSRC}/include -I${LOCALBASE}/include CXXFLAGS+= -g # -undefined dynamic_lookup CXXFLAGS_powerpc= -O0 CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \ -DCMAKE_BUILD_TYPE="Debug" \ -DKICAD_BUILD_I18N=ON \ -DKICAD_TESTING_VERSION=ON \ -DKICAD_VERSION=${DISTVERSION} \ -DCMAKE_INCLUDE_PATH="${WRKSRC}/include ${LOCALBASE}/include" \ -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DwxWidgets_USE_DEBUG=ON \ -DwxWidgets_USE_USE_UNICODE=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} \ -DKICAD_SCRIPTING=ON \ -DKICAD_SCRIPTING_MODULES=ON \ -DKICAD_SCRIPTING_PYTHON3=ON \ -DKICAD_SCRIPTING_WXPYTHON=ON \ -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \ -DKICAD_SPICE=ON \ -DKICAD_USE_OCE=OFF \ -DKICAD_USE_OCC=ON \ -DKICAD_USE_EGL=ON \ -DKICAD_USE_BUNDLED_GLEW=ON \ -DNANODBC_ENABLE_BOOST=ON \ -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE USE_LDCONFIG= yes .include "Makefile.git_rev" showversions: @${ECHO} "GIT_SRC_HASH: ${GIT_SRC_HASH}" @${ECHO} "GIT_SRC_DATE: ${GIT_SRC_DATE}" @${ECHO} "DISTDIR: ${DISTDIR}" @${ECHO} "DIST_SUBDIR: ${DIST_SUBDIR}" @${ECHO} "DISTNAME: ${DISTNAME}" @${ECHO} "DISTVERSION: ${DISTVERSION}" # Updating to new rev: # sh files/newVersion.sh # make makesum && make clean # make install #breaks probably due to plist differences # make makeplist > pkg-plist #One has to edit/review the generated plist # make generate-plist && make check-plist # < Check PLIST_FILE_LIST below > tmp: echo "${DATADIR} ${DATADIR:H}" # The CheckCXXSymbolExists module has been shipped with CMake since 3.0 times. # The ancient implementation that this bundled module uses, no longer works # because it uses CMake internals that have gone away in 3.11. post-extract: ${RM} ${WRKSRC}/CMakeModules/CheckCXXSymbolExists.cmake pre-configure: ${REINPLACE_CMD} -e 's|/usr/share/kicad|${DATADIR}|' \ -e 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/common/gestfich.cpp ${REINPLACE_CMD} -e 's|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp post-configure: # ${REINPLACE_CMD} -e 's|#define HAVE_ISO646_H|//#define HAVE_ISO646_H|' \ # ${WRKSRC}/config.h for f in `${FIND} ${WRKSRC} -name \*.make -o -name link.txt` ; do \ ${REINPLACE_CMD} \ -e 's|CC = gcc|#CC = gcc|' \ -e 's|LD = gcc|LD = ${CC}|' \ -e 's|LD = g++|LD = ${CXX}|' \ -e 's|wx-config|${WX_CONFIG}|' \ -e 's|CXX_FLAGS =|CXX_FLAGS = ${WRKSRC}/include -I${LOCALBASE}/include|' \ -e 's|C_FLAGS =|C_FLAGS = ${WRKSRC}/include -I${LOCALBASE}/include|' \ -e 's|LDFLAGS =|LDFLAGS += -L${LOCALBASE}/lib|' \ -e 's|gcc -D|${CC} -D|' \ -e 's/-pthread;-D_THREAD_SAFE/-pthread -D_THREAD_SAFE/g' \ $$f ; \ done ${REINPLACE_CMD} -e 's|/usr/local/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp pre-install: @echo "${DATADIR}, ${DOCSDIR}" #post-install: #.for subdir in library modules template # ${CP} -Rp ${WRKDIR}/kicad-library-master/${subdir} ${STAGEDIR}${DATADIR} #.endfor #.for subdir in internat # ${CP} -Rp ${WRKDIR}/kicad-doc/${subdir} ${STAGEDIR}${DOCSDIR} #.endfor PLIST_FILE_LIST= bin/freeroute.jnlp \ bin/cvpcb \ bin/eeschema \ bin/gerbview \ bin/kicad \ bin/pcbnew \ bin/pl_editor \ bin/bitmap2component \ bin/pcb_calculator \ share/mimelnk/application/x-kicad-schematic.desktop \ share/mimelnk/application/x-kicad-project.desktop \ share/icons/hicolor/24x24/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/48x48/apps/kicad.png \ share/icons/hicolor/48x48/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/scalable/apps/kicad.svg \ share/icons/hicolor/scalable/mimetypes/application-x-kicad-project.svg \ share/icons/hicolor/16x16/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/32x32/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/22x22/mimetypes/application-x-kicad-project.png \ share/mime/packages/kicad.xml \ share/applications/kicad.desktop \ share/applications/eeschema.desktop PLIST_DIR_LIST= lib/kicad PLIST_SHAREDDIR_LIST= share/mimelnk/application \ share/mimelnk .include diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile index 37c1aa505511..bfe6695ab668 100644 --- a/cad/kicad/Makefile +++ b/cad/kicad/Makefile @@ -1,82 +1,82 @@ PORTNAME= kicad DISTVERSION= 9.0.0 PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= cad MAINTAINER= cmt@FreeBSD.org COMMENT= Schematic and PCB editing software WWW= https://kicad.org/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm \ swig:devel/swig LIB_DEPENDS= libboost_locale.so:devel/boost-libs \ libabsl_log_internal_check_op.so:devel/abseil \ libgit2.so:devel/libgit2 \ libprotobuf.so:devel/protobuf \ libnng.so:net/nng \ libharfbuzz.so:print/harfbuzz \ libngspice.so:cad/ngspice_rework@shlib \ libTKernel.so:cad/opencascade \ libpixman-1.so:x11/pixman \ libzstd.so:archivers/zstd \ libcurl.so:ftp/curl \ libwayland-client.so:graphics/wayland \ libfreetype.so:print/freetype2 \ libsecret-1.so:security/libsecret \ libfontconfig.so:x11-fonts/fontconfig \ libodbc.so:databases/unixODBC USES= cmake:noninja compiler:c++20-lang desktop-file-utils \ gnome pkgconfig python shared-mime-info shebangfix \ tar:bz2 xorg SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py USE_XORG= ice x11 xext USE_GL= egl gl glu glut opengl USE_WX= 3.2 WX_COMPS= python:lib wx -USE_GNOME= atk cairo gdkpixbuf2 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf gtk30 pango USE_GITLAB= yes GL_ACCOUNT= kicad/code GL_PROJECT= kicad CXXFLAGS+= -I${WRKSRC}/include -I${LOCALBASE}/include CXXFLAGS_powerpc= -O0 # not using "bundled glew" breaks the 3d viewer CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} \ -DwxWidgets_USE_UNICODE=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} \ -DKICAD_SPICE_QA=ON \ -DKICAD_USE_SENTRY=OFF \ -DKICAD_SIGNAL_INTEGRITY=ON \ -DKICAD_BUILD_QA_TESTS=ON \ -DKICAD_SCRIPTING_WXPYTHON=ON \ -DKICAD_UPDATE_CHECK=OFF \ -DKICAD_USE_EGL=ON \ -DKICAD_USE_BUNDLED_GLEW=ON \ -DKICAD_WAYLAND=ON \ -DKICAD_INSTALL_DEMOS=ON \ -DNANODBC_ENABLE_BOOST=ON \ -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE CMAKE_ENV+= DODBC_PATH=${LOCALBASE} USE_LDCONFIG= yes PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_BOOL= KICAD_BUILD_I18N CONFLICTS_INSTALL= kicad-devel # bin/_cvpcb.kiface pre-configure: ${REINPLACE_CMD} -e 's|/usr/local/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp .include diff --git a/cad/lepton-eda/Makefile b/cad/lepton-eda/Makefile index d44301340f85..04ec713e092d 100644 --- a/cad/lepton-eda/Makefile +++ b/cad/lepton-eda/Makefile @@ -1,65 +1,65 @@ PORTNAME= lepton-eda PORTVERSION= 1.9.18 PORTREVISION= 4 CATEGORIES= cad MASTER_SITES= https://github.com/lepton-eda/lepton-eda/releases/download/${PORTVERSION}-20220529/ MAINTAINER= graahnul.grom@gmail.com COMMENT= Lepton Electronic Design Automation WWW= https://github.com/lepton-eda/lepton-eda LICENSE= GPLv2+ LIB_DEPENDS= libexpat.so:textproc/expat2 \ libffi.so:devel/libffi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libGLdispatch.so:graphics/libglvnd \ libgmp.so:math/gmp \ libgraphite2.so:graphics/graphite2 \ libgtkextra-x11-3.0.so:x11-toolkits/gtkextra \ libharfbuzz.so:print/harfbuzz \ libltdl.so:devel/libltdl \ libpng.so:graphics/png \ libstroke.so:devel/libstroke \ libunistring.so:devel/libunistring USES= desktop-file-utils gettext-tools gnome groff:build \ guile:2.2,3.0,conflicts iconv:wchar_t libtool localbase \ makeinfo pathfix perl5 pkgconfig shared-mime-info shebangfix \ xorg USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \ xi xinerama xrandr xrender -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_GL= egl gl USE_LDCONFIG= yes SHEBANG_FILES= utils/pcb_backannotate/lepton-pcb_backannotate \ utils/refdes_renum/lepton-refdes_renum \ utils/symfix/lepton-symfix GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-guild INSTALL_TARGET= install-strip INFO= lepton-scheme lepton-manual PORTEXAMPLES= examples/* OPTIONS_DEFINE= DOCS EXAMPLES NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: ${REINPLACE_CMD} -e \ 's,\$$(docdir)/examples,\$$(datadir)/examples/lepton-eda,' \ ${WRKSRC}/examples/Makefile.in \ ${WRKSRC}/examples/RF_Amp/Makefile.in \ ${WRKSRC}/examples/TwoStageAmp/Makefile.in \ ${WRKSRC}/examples/gTAG/Makefile.in \ ${WRKSRC}/examples/lightning_detector/Makefile.in .include diff --git a/cad/librnd/Makefile b/cad/librnd/Makefile index 2cd533acf9a6..92ddd3687ae5 100644 --- a/cad/librnd/Makefile +++ b/cad/librnd/Makefile @@ -1,100 +1,100 @@ PORTNAME= librnd DISTVERSION= 4.3.1 CATEGORIES= cad MASTER_SITES= http://www.repo.hu/projects/${PORTNAME}/releases/ MAINTAINER= hasdalcodes@gmail.com COMMENT= Flexible, modular two-dimensional CAD engine WWW= http://www.repo.hu/projects/librnd/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfungw.so:devel/fungw \ libgenht.so:devel/genht USES= gmake pkgconfig tar:bz2 USE_LDCONFIG= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --all=plugin --plugin-hid_remote \ ${WITH_DEBUG:D--debug} \ --CC=${CC} \ --CFLAGS='${CFLAGS}' \ --LDFLAGS='${LDFLAGS}' TEST_TARGET= test BINARY_ALIAS= make=${MAKE_CMD} PLIST_SUB= SOVERSION=${DISTVERSION} OPTIONS_DEFINE= DOCS GD MOTIF GTK2 GTK2GL GTK4 STROKE WGET OPTIONS_DEFAULT= GD GTK2 GTK2GL STROKE WGET OPTIONS_SUB= yes GTK2GL_DESC= GTK 2 GUI with OpenGL support WGET_DESC= Wget support GD_LIB_DEPENDS= libgd.so:graphics/gd GD_CONFIGURE_OFF= --disable-gd GTK2GL_IMPLIES= GTK2 GTK2GL_LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext GTK2GL_USES= gl GTK2GL_USE= gl=gl,glu gnome=pangox-compat xorg=x11 GTK2GL_CONFIGURE_OFF= --disable-hid_gtk2_gl GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz GTK2_USES= gnome -GTK2_USE= gnome=cairo,gdkpixbuf2,gtk20 +GTK2_USE= gnome=cairo,gdkpixbuf,gtk20 GTK2_CONFIGURE_OFF= --disable-hid_gtk2_gdk GTK4_IMPLIES= GTK2 GTK4_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz \ libvulkan.so:graphics/vulkan-loader GTK4_USES= gl gnome -GTK4_USE= gl=gl,glu gnome=cairo,gdkpixbuf2,gtk40 +GTK4_USE= gl=gl,glu gnome=cairo,gdkpixbuf,gtk40 GTK4_CONFIGURE_OFF= --disable-hid_gtk4_gl MOTIF_BROKEN= Fails to build MOTIF_USES= motif MOTIF_USE= xorg=xt,x11,xinerama,xrender MOTIF_CONFIGURE_OFF= --disable-hid_lesstif STROKE_LIB_DEPENDS= libstroke.so:devel/libstroke STROKE_CONFIGURE_OFF= --disable-stroke WGET_RUN_DEPENDS= wget:ftp/wget WGET_CONFIGURE_OFF= --disable-lib_wget post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librnd4/plugins/*.so .for l in puplug sphash scconfig/cquote scconfig/sccbox ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librnd4/${l} .endfor .include .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK4} || ${PORT_OPTIONS:MMOTIF} PLIST_SUB+= GUI="" .else PLIST_SUB+= GUI="@comment " .endif post-patch: @${ECHO_CMD} 'USER_CFLAGS += -DSCCONFIG_ACCEPT_IMPLICIT' \ >> ${WRKSRC}/scconfig/Makefile pre-configure: ${REINPLACE_CMD} \ -e 's,%%LOCALBASE%%,${LOCALBASE},' \ -e 's,%%MOTIFLIB%%,${MOTIFLIB},' \ ${WRKSRC}/scconfig/src/gui/find_gl.c \ ${WRKSRC}/scconfig/src/gui/find_lesstif2.c \ ${WRKSRC}/scconfig/src/gui/find_misc.c \ ${WRKSRC}/scconfig/src/gui/find_x.c .include diff --git a/cad/openctm/Makefile b/cad/openctm/Makefile index 95925327a7c0..8cfc75e780e9 100644 --- a/cad/openctm/Makefile +++ b/cad/openctm/Makefile @@ -1,38 +1,38 @@ PORTNAME= openctm DISTVERSION= 1.0.3 PORTREVISION= 4 CATEGORIES= cad MASTER_SITES= https://sourceforge.net/projects/openctm/files/ DISTNAME= OpenCTM-${DISTVERSION}-src MAINTAINER= db@FreeBSD.org COMMENT= File format for compression of 3D triangle meshes WWW= https://sourceforge.net/projects/openctm/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpnglite.so:graphics/pnglite \ libtinyxml.so:textproc/tinyxml BUILD_DEPENDS= pnglite>0:graphics/pnglite \ tinyxml>0:textproc/tinyxml USES= compiler:c++11-lang dos2unix gettext-runtime gl gmake gnome \ jpeg pkgconfig tar:bz2 USE_GL= gl glew glu glut -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango MAKEFILE= Makefile.linux USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/OpenCTM-${DISTVERSION} post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ -e 's|%%STAGEDIR%%|${STAGEDIR}|' ${WRKSRC}/Makefile.linux @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/tools/Makefile.linux ${WRKSRC}/Makefile.linux .include diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile index 0b8b2742b02b..fb3124e7d5ff 100644 --- a/cad/oregano/Makefile +++ b/cad/oregano/Makefile @@ -1,41 +1,41 @@ PORTNAME= oregano DISTVERSIONPREFIX= v DISTVERSION= 0.84.43 PORTREVISION= 6 CATEGORIES= cad MASTER_SITES= https://waf.io/:new_waf # for Python-3.11 compatibility DISTFILES= waf-2.1.1:new_waf EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${DISTVERSIONFULL}_GH0${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Schematic capture and circuit simulator WWW= https://ahoi.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= nroff:textproc/groff LIB_DEPENDS= libgoocanvas-2.0.so:graphics/goocanvas2 USES= compiler:c11 desktop-file-utils gettext gnome pkgconfig \ shared-mime-info waf USE_GITHUB= yes GH_ACCOUNT= drahnr -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 intltool libxml2 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 gtksourceview3 intltool libxml2 pango GLIB_SCHEMAS= io.ahoi.oregano.gschema.xml .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: # use newer waf that is Python-3.11 compatible @${CP} ${DISTDIR}/waf-2.1.1 ${WRKSRC}/waf post-stage: @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/oregano bin/microtests ${RM} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/gschemas.compiled .include diff --git a/cad/sp2sp/Makefile b/cad/sp2sp/Makefile index 1b06ad86d8ae..1958db30de8c 100644 --- a/cad/sp2sp/Makefile +++ b/cad/sp2sp/Makefile @@ -1,22 +1,22 @@ PORTNAME= sp2sp PORTVERSION= 20090213 PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= SF/gwave/gwave2/${PORTVERSION} DISTNAME= gwave2-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Processor of waveform data generated by SPICE-type simulators WWW= https://gwave.sourceforge.net/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= autoreconf gettext-runtime gnome pkgconfig -USE_GNOME= gtk20 pango atk cairo gdkpixbuf2 glib20 +USE_GNOME= gtk20 pango atk cairo gdkpixbuf glib20 GNU_CONFIGURE= yes PLIST_FILES= bin/sp2sp .include diff --git a/cad/z88/Makefile b/cad/z88/Makefile index 0ebed893f1e8..3d303ac962e9 100644 --- a/cad/z88/Makefile +++ b/cad/z88/Makefile @@ -1,68 +1,68 @@ PORTNAME= z88 DISTVERSIONPREFIX= v DISTVERSION= 15 PORTREVISION= 2 CATEGORIES= cad MAINTAINER= ports@FreeBSD.org COMMENT= Compact Finite Element Analysis System WWW= https://en.z88.de/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gl gnome pkgconfig xorg USE_GITHUB= yes USE_GL= gl glu -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 GH_ACCOUNT= LSCAD GH_PROJECT= Z88OS BUILD_WRKSRC= ${WRKSRC}/make/make_unix_64 INSTALL_WRKSRC= ${WRKSRC}/bin/unix64 Z88_BIN_SUFFIXES= g h n r o x Z88_DATA= 51.txt z88.dyn z88.fcd z88elp.txt z88i1.txt z88i2.txt z88i5.txt z88int.txt \ z88man.txt z88mat.txt z88ni.txt z88o0.txt z88o1.txt z88o2.txt z88o3.txt z88o4.txt z88o5.txt z88o8.txt z88x.dxf OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: for x in ${BUILD_WRKSRC}/*; do ${REINPLACE_CMD} 's,z88v15os,Z88OS-15, ; s,gcc,${CC}, ; s,CFLAGS =,CFLAGS+=, ; s,-O2,, ; s,LDLIBSOX,LDFLAGS, ; s,LDFLAGS =,LDFLAGS+=, ; s,--copy-dt-needed-entries,,' $$x; done post-patch-DOCS-on: ${REINPLACE_CMD} 's,%%DOCSDIR%%,${DOCSDIR},' ${INSTALL_WRKSRC}/z88.fcd do-build: cd ${BUILD_WRKSRC}; for x in com ${Z88_BIN_SUFFIXES}; do ${SETENV} ${MAKE_ENV} ${MAKE} -f z88$$x.mk.gcc64 z88$$x ; done do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/z88com ${STAGEDIR}${DATADIR} for x in ${Z88_BIN_SUFFIXES}; do ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/z88$$x ${STAGEDIR}${PREFIX}/bin; done ${INSTALL_DATA} ${Z88_DATA:S,^,${INSTALL_WRKSRC}/,} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${FILESDIR}/z88 ${STAGEDIR}${PREFIX}/bin ${SED} -i '' 's,%%DATADIR%%,${DATADIR},' ${STAGEDIR}${PREFIX}/bin/z88 ${SED} -i '' 's,%%Z88_DATA%%,${Z88_DATA},' ${STAGEDIR}${PREFIX}/bin/z88 do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} for x in e g; do ${INSTALL_DATA} ${WRKSRC}/docu/z88man$$x.pdf ${STAGEDIR}${DOCSDIR}; done do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/comms/deforaos-phone/Makefile b/comms/deforaos-phone/Makefile index 3ffa7a826cda..a0c3963df2e9 100644 --- a/comms/deforaos-phone/Makefile +++ b/comms/deforaos-phone/Makefile @@ -1,51 +1,51 @@ PORTNAME= phone PORTVERSION= 0.6.2 PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Phone/ PKGNAMEPREFIX= deforaos- DISTNAME= Phone-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS telephony application WWW= https://www.defora.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libDesktop.so:x11/deforaos-libdesktop \ libharfbuzz.so:print/harfbuzz BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat USES= desktop-file-utils gnome pkgconfig ssl USE_XORG= x11 -USE_GNOME= gtk30 cairo gdkpixbuf2 +USE_GNOME= gtk30 cairo gdkpixbuf MAKE_ARGS+= PREFIX=${PREFIX} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc include|data include|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-patch: @${REINPLACE_CMD} -e 's,/dev/modem,/dev/cuaU0,g' \ ${WRKSRC}/src/modems/hayes.c @${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ ${WRKSRC}/data/pkgconfig.sh post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/Phone/plugins/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/Phone/modem/* .include diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile index b735af5f78a8..a4da40e93f1f 100644 --- a/comms/gnokii/Makefile +++ b/comms/gnokii/Makefile @@ -1,120 +1,120 @@ PORTNAME= gnokii PORTVERSION= 0.6.31 PORTREVISION= 15 PORTEPOCH= 1 CATEGORIES= comms MASTER_SITES= http://www.gnokii.org/download/gnokii/ \ http://www.gnokii.org/download/gnokii/0.6.x/ MAINTAINER= madpilot@FreeBSD.org COMMENT= Tools to talk to GSM cellular phones WWW= https://www.gnokii.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser GROUPS= ${PORTNAME} USES= gettext gmake gnome iconv libtool localbase pathfix pkgconfig \ readline shebangfix tar:bzip2 USE_LDCONFIG= yes USE_CSTD= gnu89 USE_GNOME= glib20 intltool GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-security GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= smsd/action SUB_FILES= pkg-message PORTDOCS= * CONFLICTS= smstools sendsms FIXPREFIX= Docs/README common/cfgreader.c OPTIONS_DEFINE= DOCS ICAL PCSC SMSD USB X11 OPTIONS_GROUP= SMSDDB OPTIONS_GROUP_SMSDDB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= X11 ICAL_DESC= Build with IETF iCal support USB_DESC= Build with libusb support PCSC_DESC= Build with PC/SC-Lite support SMSD_DESC= Enable smsd daemon (includes "file" backend) SMSDDB_DESC= Enable database support in smsd (select one or more) X11_DESC= Build graphical version (xgnokii) ICAL_CONFIGURE_ENABLE= libical ICAL_LIB_DEPENDS= libical.so:devel/libical USB_CONFIGURE_ENABLE= libusb PCSC_CONFIGURE_ENABLE= libpcsclite PCSC_LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite MYSQL_IMPLIES= SMSD PGSQL_IMPLIES= SMSD SQLITE_IMPLIES= SMSD SMSD_PLIST_SUB= SMSD='' SMSD_PLIST_SUB_OFF= SMSD='@comment ' MSM='@comment ' PGM='@comment ' SQLT='@comment ' SMSD_CONFIGURE_OFF= --disable-smsd MYSQL_USES= mysql ssl MYSQL_PLIST_SUB= MSM='' MYSQL_PLIST_SUB_OFF= MSM='@comment ' MYSQL_CONFIGURE_OFF= --disable-mysql MYSQL_VARS= IGNORE_WITH_MYSQL="80 81" PGSQL_USES= pgsql PGSQL_PLIST_SUB= PGM='' PGSQL_PLIST_SUB_OFF= PGM='@comment ' PGSQL_CONFIGURE_OFF= --disable-postgres SQLITE_USES= sqlite SQLITE_PLIST_SUB= SQLT='' SQLITE_PLIST_SUB_OFF= SQLT='@comment ' SQLITE_CONFIGURE_OFF= --disable-sqlite X11_CONFIGURE_WITH= x X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz X11_USES= xorg X11_USE= XORG=x11 XORG=xpm \ - GNOME=cairo GNOME=gdkpixbuf2 GNOME=gtk20 + GNOME=cairo GNOME=gdkpixbuf GNOME=gtk20 X11_PLIST_SUB= X11='' X11_PLIST_SUB_OFF= X11='@comment ' post-patch: .for f in ${FIXPREFIX} @${REINPLACE_CMD} -e "s:/etc/gnokiirc:${PREFIX}/etc/gnokiirc:g" \ ${WRKSRC}/${f} .endfor .for f in common/data/virtmodem.c utils/mgnokiidev.c @${REINPLACE_CMD} -E -e "s:^(#ifdef.*)__OpenBSD__:\1__FreeBSD__:" \ ${WRKSRC}/${f} .endfor @${MV} ${WRKSRC}/Docs/man/xgnokii.1x ${WRKSRC}/Docs/man/xgnokii.1 post-install: ${INSTALL_DATA} ${WRKSRC}/xgnokii/xgnokii.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig ${INSTALL_DATA} ${WRKSRC}/Docs/sample/gnokiirc \ ${STAGEDIR}${PREFIX}/etc/gnokiirc.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnokii.so.7.0.0 post-install-DOCS-on: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install -C ${WRKSRC}/Docs post-install-DOCS-off: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install -C ${WRKSRC}/Docs/man post-install-SMSD-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/smsd @cd ${WRKSRC}/smsd && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install ${INSTALL_SCRIPT} ${WRKSRC}/smsd/action ${STAGEDIR}${PREFIX}/share/smsd ${INSTALL_DATA} ${WRKSRC}/smsd/README ${STAGEDIR}${PREFIX}/share/smsd ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/smsd/*.so post-install-MYSQL-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/smsd ${INSTALL_DATA} ${WRKSRC}/smsd/sms.tables.mysql.sql ${STAGEDIR}${PREFIX}/share/smsd post-install-PGSQL-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/smsd ${INSTALL_DATA} ${WRKSRC}/smsd/sms.tables.pq.sql ${STAGEDIR}${PREFIX}/share/smsd .include diff --git a/comms/gpredict/Makefile b/comms/gpredict/Makefile index ff949b98d5bf..0a0b3699d867 100644 --- a/comms/gpredict/Makefile +++ b/comms/gpredict/Makefile @@ -1,31 +1,31 @@ PORTNAME= gpredict DISTVERSION= 2.2.1 PORTREVISION= 5 CATEGORIES= comms hamradio MASTER_SITES= https://github.com/csete/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio satellite tracking and prediction WWW= http://gpredict.oz9aec.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libatk-1.0.so:accessibility/at-spi2-core \ libcurl.so:ftp/curl \ libhamlib.so:comms/hamlib \ libharfbuzz.so:print/harfbuzz \ libgoocanvas-2.0.so:graphics/goocanvas2 \ libgps.so:astro/gpsd USES= compiler:c11 gettext gmake gnome pkgconfig tar:bz2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool post-patch: @${REINPLACE_CMD} -e \ '/^Icon/s|=.*|=${PREFIX}/share/pixmaps/gpredict-icon.png|' \ ${WRKSRC}/data/desktop/gpredict.desktop.in .include diff --git a/comms/grig/Makefile b/comms/grig/Makefile index c8015be67ba8..db7192b69b8f 100644 --- a/comms/grig/Makefile +++ b/comms/grig/Makefile @@ -1,31 +1,31 @@ PORTNAME= grig PORTVERSION= 0.9.0 PORTREVISION= 3 CATEGORIES= comms hamradio MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio control front-end WWW= https://groundstation.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhamlib.so:comms/hamlib \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= autoreconf gettext gmake gnome libtool pkgconfig USE_GITHUB= yes GH_ACCOUNT= fillods GH_PROJECT= grig GH_TAGNAME= 9d79adb -USE_GNOME= cairo gdkpixbuf2 gtk20 intltool +USE_GNOME= cairo gdkpixbuf gtk20 intltool GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share LIBS+= -lm .include diff --git a/comms/xdemorse/Makefile b/comms/xdemorse/Makefile index 62778a953589..2e2947aca4fc 100644 --- a/comms/xdemorse/Makefile +++ b/comms/xdemorse/Makefile @@ -1,34 +1,34 @@ PORTNAME= xdemorse DISTVERSION= 3.6.7 PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= https://www.qsl.net/5/5b4az/pkg/morse/xdemorse/ MAINTAINER= yuri@FreeBSD.org COMMENT= X/GTK-3 application for decoding Morse code signals into text WWW= https://www.qsl.net/5b4az/pkg/morse/xdemorse/xdemorse.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libasound.so:audio/alsa-lib USES= compiler:c++11-lang gettext-tools gmake gnome \ localbase:ldflags pkgconfig tar:bz2 -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share LDFLAGS+= -lgmodule-2.0 PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.svg OPTIONS_DEFINE= DOCS PORTDOCS= * .include diff --git a/comms/xdx/Makefile b/comms/xdx/Makefile index 33d180374839..73dd434405c4 100644 --- a/comms/xdx/Makefile +++ b/comms/xdx/Makefile @@ -1,22 +1,22 @@ PORTNAME= xdx DISTVERSION= 2.91 PORTREVISION= 3 CATEGORIES= comms hamradio MASTER_SITES= SF/xdxclusterclient/${PORTVERSION}/ MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio DX cluster monitor WWW= https://sourceforge.net/projects/xdxclusterclient/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext gmake gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share .include diff --git a/comms/xlog/Makefile b/comms/xlog/Makefile index d5db02eca4de..e3567ba6e0e9 100644 --- a/comms/xlog/Makefile +++ b/comms/xlog/Makefile @@ -1,43 +1,43 @@ PORTNAME= xlog DISTVERSION= 2.0.24 PORTREVISION= 4 CATEGORIES= comms hamradio MASTER_SITES= SAVANNAH MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio logging application WWW= https://xlog.nongnu.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhamlib.so:comms/hamlib \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler:c11 gnome pkgconfig shared-mime-info -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-mime-update CONFIGURE_ENV+= ac_cv_c_compiler_gnu=no DESKTOP_ENTRIES="${PORTNAME}" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Utility;" false OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=deprecated-non-prototype .endif .include diff --git a/comms/xnec2c/Makefile b/comms/xnec2c/Makefile index 654a0bf934a0..be3d7197b5a2 100644 --- a/comms/xnec2c/Makefile +++ b/comms/xnec2c/Makefile @@ -1,40 +1,40 @@ PORTNAME= xnec2c PORTVERSION= 4.4.16 DISTVERSIONPREFIX= v CATEGORIES= comms hamradio MASTER_SITES= https://www.xnec2c.org/releases/ \ LOCAL/db MAINTAINER= hamradio@FreeBSD.org COMMENT= Used to calculate antenna patterns useful to ham radio WWW= https://www.xnec2c.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf desktop-file-utils gettext gmake gnome pkgconfig \ shared-mime-info GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV+= LIBS=-lexecinfo -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool OPTIONS_DEFINE= DOCS EXAMPLES post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in NEC2-bug.txt nec2c.txt xnec2c.html NearFieldCalcs.txt ${INSTALL_DATA} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR}/images .for f in currents.png freq_plots.png radiation.png web-heading.xcf \ excitation.png nec2_edit.png web-heading.png wire.png ${INSTALL_DATA} ${WRKSRC}/doc/images/$f ${STAGEDIR}${DOCSDIR}/images .endfor .include diff --git a/databases/evolution-data-server/Makefile b/databases/evolution-data-server/Makefile index 65aa97d19699..8dbc5306df28 100644 --- a/databases/evolution-data-server/Makefile +++ b/databases/evolution-data-server/Makefile @@ -1,86 +1,86 @@ PORTNAME= evolution-data-server DISTVERSION= 3.54.3 CATEGORIES= databases gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Data backends for the Evolution integrated mail/PIM suite WWW= https://wiki.gnome.org/Apps/Evolution LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 \ libfribidi.so:converters/fribidi \ libgcr-base-3.so:security/gcr3 \ libgoa-1.0.so:net/gnome-online-accounts \ libgdata.so:devel/libgdata \ libharfbuzz.so:print/harfbuzz \ libical.so:devel/libical \ libnss3.so:security/nss \ libicudata.so:devel/icu \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41\ libwebkitgtk-6.0.so:www/webkit2-gtk@60 \ libjson-glib-1.0.so:devel/json-glib \ libp11-kit.so:security/p11-kit \ libnspr4.so:devel/nspr \ libsecret-1.so:security/libsecret \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libuuid.so:misc/e2fsprogs-libuuid PORTSCOUT= limitw:1,even USES= bdb:5 cmake cpe gettext gnome gperf \ iconv:wchar_t localbase pathfix pkgconfig python:build \ sqlite tar:xz xorg USE_CXXSTD= gnu++17 -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection:build libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 intltool introspection:build libxml2 USE_XORG= x11 USE_LDCONFIG= yes CPE_VENDOR= gnome LDFLAGS= -L${LOCALBASE}/lib CMAKE_OFF= CMAKE_CXX_EXTENSIONS CMAKE_ARGS= -DENABLE_INTROSPECTION=ON \ -DENABLE_UOA=OFF \ -DWITH_LIBDB_CFLAGS=-I${LOCALBASE}/include/db5 \ -DWITH_LIBDB_LIBS="-L${LOCALBASE}/lib -ldb-5" GLIB_SCHEMAS= org.gnome.evolution-data-server.addressbook.gschema.xml \ org.gnome.evolution-data-server.calendar.gschema.xml \ org.gnome.evolution-data-server.gschema.xml \ org.gnome.Evolution.DefaultSources.gschema.xml \ org.gnome.evolution.eds-shell.gschema.xml \ org.gnome.evolution.shell.network-config.gschema.xml PLIST_SUB= EVO_VERSION="1.2" CAL_API_VERSION="2.0" OPTIONS_SUB= yes OPTIONS_DEFINE= WEATHER KERBEROS LDAP VAPI OPTIONS_DEFAULT=WEATHER KERBEROS LDAP VAPI KERBEROS_CMAKE_ON= -DWITH_KRB5=/usr KERBEROS_CMAKE_OFF= -DWITH_KRB5=OFF KERBEROS_USES= ssl LDAP_CMAKE_ON= -DWITH_OPENLDAP=${LOCALBASE} LDAP_CMAKE_OFF= -DWITH_OPENLDAP=OFF LDAP_USES= ldap VAPI_USES= vala:build VAPI_CMAKE_BOOL= ENABLE_VALA_BINDINGS WEATHER_DESC= Weather calendar backend WEATHER_LIB_DEPENDS= libgweather-4.so:net/libgweather4 WEATHER_CMAKE_BOOL= ENABLE_WEATHER .include post-install: @${RM} -rf ${STAGEDIR}${PREFIX}/lib/systemd .include diff --git a/databases/gmdb2/Makefile b/databases/gmdb2/Makefile index 0158a6322517..599c5f0698c9 100644 --- a/databases/gmdb2/Makefile +++ b/databases/gmdb2/Makefile @@ -1,36 +1,36 @@ PORTNAME= gmdb2 DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 PORTREVISION= 5 CATEGORIES= databases MAINTAINER= rhurlin@FreeBSD.org COMMENT= Official GUI for mdbtools WWW= https://github.com/mdbtools/gmdb2/ LICENSE= GPLv2 BUILD_DEPENDS= gawk:lang/gawk \ itstool:textproc/itstool \ yelp-check:textproc/yelp-tools LIB_DEPENDS= libmdb.so:databases/mdbtools USES= autoreconf gettext gmake gnome iconv libtool \ pkgconfig readline USE_GITHUB= yes GH_ACCOUNT= mdbtools -USE_GNOME= gdkpixbuf2 glib20 gtk30 libxml2 +USE_GNOME= gdkpixbuf glib20 gtk30 libxml2 GLIB_SCHEMAS= mdbtools.gmdb2.gschema.xml GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS= AUTHORS CHANGELOG.md README.md TODO post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/databases/gom/Makefile b/databases/gom/Makefile index 5e4f8c6f34d4..67f4ea309a19 100644 --- a/databases/gom/Makefile +++ b/databases/gom/Makefile @@ -1,19 +1,19 @@ PORTNAME= gom PORTVERSION= 0.4 PORTREVISION= 1 CATEGORIES= databases gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= GObject Data Mapper WWW= https://wiki.gnome.org/Projects/Gom LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome meson pkgconfig python sqlite tar:xz -USE_GNOME= gdkpixbuf2 glib20 introspection pygobject3 +USE_GNOME= gdkpixbuf glib20 introspection pygobject3 USE_LDCONFIG= yes .include diff --git a/databases/libiodbc/Makefile b/databases/libiodbc/Makefile index 0d9719626d84..992b225728a9 100644 --- a/databases/libiodbc/Makefile +++ b/databases/libiodbc/Makefile @@ -1,48 +1,48 @@ PORTNAME= libiodbc DISTVERSION= 3.52.16 PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= https://github.com/openlink/iODBC/releases/download/v${DISTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= ODBC 3.x driver manager, for universal data source access WWW= https://www.iodbc.org/ LICENSE= BSD3CLAUSE LGPL20 LICENSE_COMB= dual LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE.BSD LICENSE_FILE_LGPL20= ${WRKSRC}/LICENSE.LGPL USES= libtool pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-iodbc-inidir=${ETCDIR} \ --includedir=${LOCALBASE}/include/libiodbc \ --disable-libodbc INSTALL_TARGET= install-strip OPTIONS_DEFINE= GTK2 DOCS EXAMPLES OPTIONS_SUB= yes -GTK2_USE= GNOME=cairo,gdkpixbuf2,gtk20 +GTK2_USE= GNOME=cairo,gdkpixbuf,gtk20 GTK2_USES= gettext-runtime gnome GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_CONFIGURE_ENABLE= gui post-install: @${MKDIR} ${STAGEDIR}/${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/etc/odbc*.ini.sample ${STAGEDIR}/${ETCDIR} @${MKDIR} ${STAGEDIR}/${DOCSDIR} .for f in AUTHORS ChangeLog NEWS README ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} .for f in Makefile.sample iodbctest.c ${INSTALL_DATA} ${WRKSRC}/samples/${f} ${STAGEDIR}/${EXAMPLESDIR} .endfor .include diff --git a/deskutils/anydesk/Makefile b/deskutils/anydesk/Makefile index 44cef8bb7dab..98fa7ce63125 100644 --- a/deskutils/anydesk/Makefile +++ b/deskutils/anydesk/Makefile @@ -1,41 +1,41 @@ PORTNAME= anydesk DISTVERSION= 6.1.1 PORTREVISION= 2 CATEGORIES= deskutils MASTER_SITES= https://download.anydesk.com/freebsd/ DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}-${ARCH:S/amd64/x86_64/:S/i386/i386/} MAINTAINER= freebsd@sysctl.cz COMMENT= Fast remote desktop WWW= https://anydesk.com/remote-desktop LICENSE= commercial LICENSE_NAME= commercial LICENSE_FILE= ${WRKSRC}/copyright LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell \ no-auto-accept ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libinotify.so:devel/libinotify \ libpolkit-gobject-1.so:sysutils/polkit \ libxkbfile.so:x11/libxkbfile USES= cpe gl gnome minizip xorg USE_GL= gl glu -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 pangox-compat +USE_GNOME= cairo gdkpixbuf glib20 gtk20 pangox-compat USE_XORG= x11 xcb xdamage xext xfixes xi xrandr xrender xtst NO_BUILD= YES WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/anydesk do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/deskutils/bookworm/Makefile b/deskutils/bookworm/Makefile index 0792b8f18cae..8c7b8ab3e66c 100644 --- a/deskutils/bookworm/Makefile +++ b/deskutils/bookworm/Makefile @@ -1,61 +1,61 @@ PORTNAME= bookworm DISTVERSION= 1.1.2 PORTREVISION= 22 CATEGORIES= deskutils MAINTAINER= miguel@gocobachi.dev COMMENT= Simple, focused ebook reader WWW= https://babluboy.github.io/bookworm/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= curl>0:ftp/curl \ html2text>0:textproc/html2text LIB_DEPENDS= libappstream-glib.so:devel/appstream-glib \ libgee-0.8.so:devel/libgee \ libgranite.so:x11-toolkits/granite \ libpoppler-glib.so:graphics/poppler-glib \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 RUN_DEPENDS= bash:shells/bash \ pdftohtml:graphics/poppler-utils \ unar:archivers/unarchiver \ unzip:archivers/unzip USES= desktop-file-utils gettext gnome meson pkgconfig \ python shebangfix sqlite vala:build USE_GITHUB= yes GH_ACCOUNT= babluboy -USE_GNOME= gdkpixbuf2 glib20 gtk30 libxml2 pango +USE_GNOME= gdkpixbuf glib20 gtk30 libxml2 pango GLIB_SCHEMAS= com.github.babluboy.bookworm.gschema.xml SHEBANG_FILES= data/scripts/com.github.babluboy.bookworm.search.sh \ data/scripts/mobi_lib/mobi_dict.py \ data/scripts/mobi_lib/mobi_html.py \ data/scripts/mobi_lib/mobi_index.py \ data/scripts/mobi_lib/mobi_k8proc.py \ data/scripts/mobi_lib/mobi_ncx.py \ data/scripts/mobi_lib/mobi_opf.py \ data/scripts/mobi_lib/mobi_split.py \ data/scripts/mobi_lib/mobi_uncompress.py \ data/scripts/mobi_lib/mobi_unpack.py \ data/scripts/mobi_lib/mobi_utils.py MESON_BUILD_DIR= build PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-configure: @${MKDIR} ${WRKSRC}/${MESON_BUILD_DIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} do-test: cd ${WRKSRC}/${MESON_BUILD_DIR} && ${LOCALBASE}/bin/ninja test .include diff --git a/deskutils/budgie-desktop-view/Makefile b/deskutils/budgie-desktop-view/Makefile index d8b21936c46e..45bd4131aa75 100644 --- a/deskutils/budgie-desktop-view/Makefile +++ b/deskutils/budgie-desktop-view/Makefile @@ -1,21 +1,21 @@ PORTNAME= budgie-desktop-view DISTVERSION= 1.3 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= deskutils budgie MASTER_SITES= BUDGIE MAINTAINER= duchateau.olivier@gmail.com COMMENT= Budgie desktop icons application / implementation WWW= https://github.com/BuddiesOfBudgie/budgie-desktop-view LICENSE= APACHE20 USES= budgie gettext gnome meson pkgconfig tar:xz vala:build USE_BUDGIE= raven:run -USE_GNOME= glib20 gtk30 gdkpixbuf2 intltool +USE_GNOME= glib20 gtk30 gdkpixbuf intltool MESON_ARGS= -Dwerror=false GLIB_SCHEMAS= org.buddiesofbudgie.budgie-desktop-view.gschema.xml .include diff --git a/deskutils/caja-extensions/Makefile b/deskutils/caja-extensions/Makefile index 57aa6794beaa..0704fb5041fb 100644 --- a/deskutils/caja-extensions/Makefile +++ b/deskutils/caja-extensions/Makefile @@ -1,35 +1,35 @@ PORTNAME= caja-extensions PORTVERSION= 1.28.0 PORTREVISION= 1 CATEGORIES= deskutils mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Set of extensions for Caja WWW= https://mate-desktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gtkdocize:textproc/gtk-doc LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib PORTSCOUT= limitw:1,even USES= autoreconf compiler:c11 gettext gmake gnome libtool \ localbase mate pathfix pkgconfig tar:xz gstreamer USE_MATE= caja desktop -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-gksu=no INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.Caja.Sendto.gschema.xml \ org.mate.caja-open-terminal.gschema.xml .include diff --git a/deskutils/elementary-calendar/Makefile b/deskutils/elementary-calendar/Makefile index 6e054404745c..09491f40b21e 100644 --- a/deskutils/elementary-calendar/Makefile +++ b/deskutils/elementary-calendar/Makefile @@ -1,34 +1,34 @@ PORTNAME= calendar DISTVERSION= 8.0.0 CATEGORIES= deskutils PKGNAMEPREFIX= elementary- MAINTAINER= nc@FreeBSD.org COMMENT= Desktop calendar app designed for elementary OS WWW= https://github.com/elementary/calendar LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \ libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libfolks.so:net-im/folks \ libgee-0.8.so:devel/libgee \ libgeoclue-2.so:net/geoclue \ libgeocode-glib.so:net/geocode-glib \ libgranite.so:x11-toolkits/granite \ libhandy-1.so:x11-toolkits/libhandy \ libical-glib.so:devel/libical \ libportal.so:deskutils/libportal \ libportal-gtk3.so:deskutils/libportal-gtk3 \ libsoup-2.4.so:devel/libsoup RUN_DEPENDS= consolekit2>0:sysutils/consolekit2 USES= desktop-file-utils gettext gnome meson pkgconfig vala:build USE_GITHUB= yes GH_ACCOUNT= elementary -USE_GNOME= evolutiondataserver3 gdkpixbuf2 glib20 gtk30 +USE_GNOME= evolutiondataserver3 gdkpixbuf glib20 gtk30 GLIB_SCHEMAS= io.elementary.calendar.gschema.xml .include diff --git a/deskutils/fbreader/Makefile b/deskutils/fbreader/Makefile index 241715742812..99fedde2eb26 100644 --- a/deskutils/fbreader/Makefile +++ b/deskutils/fbreader/Makefile @@ -1,80 +1,80 @@ PORTNAME= fbreader PORTVERSION= 0.99.6 DISTVERSIONSUFFIX= -freebsdport PORTREVISION= 8 CATEGORIES= deskutils MAINTAINER= mew14930xvi@inbox.lv COMMENT= Powerful e-book reader WWW= https://fbreader.org/ LICENSE= GPLv2+ LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfribidi.so:converters/fribidi \ libunibreak.so:textproc/libunibreak FLAVORS= gtk2 qt6 FLAVOR?= ${FLAVORS:[1]} USES= compiler gmake iconv localbase pkgconfig sqlite USE_GITHUB= yes GH_ACCOUNT= geometer GH_PROJECT= FBReader USE_LDCONFIG= yes .if defined(WITH_DEBUG) STATUS= debug .else STATUS= release .endif MAKE_ARGS+= MAKE=${MAKE_CMD} LIBDIR=${PREFIX}/lib MAKE_ENV+= TARGET_ARCH=desktop TARGET_STATUS=${STATUS} ROOTDIR=${WRKSRC} \ INSTALLDIR=${PREFIX} LIBDIR=${PREFIX}/lib LD="${CXX}" INSTALL_TARGET= do_install PORTSCOUT= ignore:1 .if ${FLAVOR} == gtk2 LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng16.so:graphics/png USES+= gnome jpeg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 MAKE_ENV+= UI_TYPE=gtk CONFLICTS= ${PORTNAME}-qt6 PLIST_SUB= UITYPE=gtk .else PKGNAMESUFFIX= -qt6 USES+= qt:6 USE_QT= base tools:build MAKE_ENV+= UI_TYPE=qt4 CONFLICTS= ${PORTNAME} PLIST_SUB= UITYPE=qt4 .endif post-patch: @${REINPLACE_CMD} -e '/^CC/d;/^LD/d;/QTINCLUDE/s,-I.*$$,-I${QT_INCDIR},' \ ${WRKSRC}/makefiles/arch/desktop.mk @${REINPLACE_CMD} -e 's,-O3,,;s,-ldl,${ICONV_LIB},' \ ${WRKSRC}/makefiles/config.mk ${WRKSRC}/zlibrary/core/Makefile @${REINPLACE_CMD} -e 's/-llinebreak/-lunibreak/g' ${WRKSRC}/zlibrary/text/Makefile @${REINPLACE_CMD} -e 's/-llinebreak/-lunibreak/g' ${WRKSRC}/makefiles/*.mk @${REINPLACE_CMD} -e 's,/usr,${PREFIX},' ${WRKSRC}/fbreader/desktop/Makefile @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \ -e 's,make ,$$(MAKE) ,' -e '/$$(LDFLAGS)/s/$$/ $$(LIBS)/' @${REINPLACE_CMD} -e '/libexec/s,libexec,${PREFIX}/libexec,' \ ${WRKSRC}/makefiles/arch/desktop.mk pre-configure: # This cannot be done in post-patch because build dependencies are installed # after patching and they can pull in libiconv which can affect CFLAGS in # Mk/Uses/iconv.mk. @${REINPLACE_CMD} 's|^CFLAGS =.*$$|CFLAGS = ${CFLAGS}|' \ ${WRKSRC}/makefiles/arch/desktop.mk .include diff --git a/deskutils/genius/Makefile b/deskutils/genius/Makefile index 2d8087c29a3b..70c9f7a4c8d3 100644 --- a/deskutils/genius/Makefile +++ b/deskutils/genius/Makefile @@ -1,41 +1,41 @@ PORTNAME= genius DISTVERSION= 1.0.27 PORTREVISION= 4 CATEGORIES= deskutils gnome MASTER_SITES= GNOME \ http://ftp.5z.com/pub/genius/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Arbitrary precision calculator for Gnome Desktop Environment WWW= https://www.jirka.org/genius.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libamtk-5.so:x11-toolkits/amtk \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmp.so:math/gmp \ libharfbuzz.so:print/harfbuzz \ libmpfr.so:math/mpfr USES= desktop-file-utils gmake gnome libtool pathfix pkgconfig \ readline shared-mime-info tar:xz xorg -USE_GNOME= cairo gnomeprefix gdkpixbuf2 gtksourceview4 intltool vte3 +USE_GNOME= cairo gnomeprefix gdkpixbuf gtksourceview4 intltool vte3 USE_XORG= x11 xext GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-extra-gcc-optimization \ --disable-scrollkeeper \ --disable-update-mimedb INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/deskutils/glabels/Makefile b/deskutils/glabels/Makefile index fe0c2be45c94..221d514bd720 100644 --- a/deskutils/glabels/Makefile +++ b/deskutils/glabels/Makefile @@ -1,31 +1,31 @@ PORTNAME= glabels PORTVERSION= 3.4.1 PORTREVISION= 5 CATEGORIES= deskutils MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Program to create labels and business cards WWW= http://snaught.com/glabels/ BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup USES= desktop-file-utils gettext gmake gnome libtool pathfix \ pkgconfig shared-mime-info tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool librsvg2 +USE_GNOME= cairo gdkpixbuf gtk30 intltool librsvg2 INSTALL_TARGET= install-strip USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share GLIB_SCHEMAS= org.gnome.glabels-3.gschema.xml OPTIONS_DEFINE= EVOLUTION EVOLUTION_DESC= Support evolution data server EVOLUTION_USE= GNOME=evolutiondataserver3 EVOLUTION_CONFIGURE_WITH= libebook .include diff --git a/deskutils/gnome-contacts/Makefile b/deskutils/gnome-contacts/Makefile index 0d3243d67b14..a422070800bb 100644 --- a/deskutils/gnome-contacts/Makefile +++ b/deskutils/gnome-contacts/Makefile @@ -1,41 +1,41 @@ PORTNAME= gnome-contacts PORTVERSION= 47.1.1 PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} MAINTAINER= gnome@FreeBSD.org COMMENT= Contacts manager for gnome WWW= https://wiki.gnome.org/Apps/Contacts LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfolks.so:net-im/folks \ libgee-0.8.so:devel/libgee \ libgeocode-glib.so:net/geocode-glib \ libgoa-1.0.so:net/gnome-online-accounts \ libgstreamer-1.0.so:multimedia/gstreamer1 \ libportal-gtk4.so:deskutils/libportal-gtk4 \ libqrencode.so:graphics/libqrencode USE_GL= egl -USE_GNOME= cairo evolutiondataserver3 gdkpixbuf2 gnomedesktop3 gtk30 \ +USE_GNOME= cairo evolutiondataserver3 gdkpixbuf gnomedesktop3 gtk30 \ intlhack introspection:build libadwaita USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr USES= compiler:c11 gettext gl gnome localbase meson perl5 pkgconfig \ python:build sqlite tar:xz vala:build xorg GLIB_SCHEMAS= org.gnome.Contacts.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT= MANPAGES MANPAGES_MESON_TRUE= manpage MANPAGES_USE= GNOME=libxslt:build MANPAGES_BUILD_DEPENDS= docbook-xml>=0:textproc/docbook-xml \ docbook-xsl-ns>=0:textproc/docbook-xsl-ns \ docbook-xsl>=0:textproc/docbook-xsl .include diff --git a/deskutils/gnome-photos/Makefile b/deskutils/gnome-photos/Makefile index 0f441d3206ca..7639776fd50e 100644 --- a/deskutils/gnome-photos/Makefile +++ b/deskutils/gnome-photos/Makefile @@ -1,45 +1,45 @@ PORTNAME= gnome-photos DISTVERSION= 44.0 PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Photo application for GNOME WWW= https://wiki.gnome.org/Design/Apps/Photos LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= DOCS BUILD_DEPENDS= geoclue>=0:net/geoclue \ itstool:textproc/itstool LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libdazzle-1.0.so:x11-toolkits/libdazzle \ libfribidi.so:converters/fribidi \ libgegl-0.4.so:graphics/gegl \ libgeocode-glib-2.so:net/geocode-glib2 \ libgexiv2.so:graphics/gexiv2 \ libgoa-1.0.so:net/gnome-online-accounts \ libhandy-1.so:x11-toolkits/libhandy \ libpng.so:graphics/png \ libportal.so:deskutils/libportal \ libportal-gtk3.so:deskutils/libportal-gtk3 \ librest-0.7.so:devel/librest \ libtinysparql-3.0.so:devel/tinysparql RUN_DEPENDS= geoclue>=0:net/geoclue PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gnome jpeg localbase meson pkgconfig \ tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 libxml2 USE_LDCONFIG= yes GLIB_SCHEMAS= org.gnome.photos.gschema.xml MESON_ARGS= --buildtype \ plain .include diff --git a/deskutils/gnome-screenshot/Makefile b/deskutils/gnome-screenshot/Makefile index e65c835391f0..5e3e0557dd63 100644 --- a/deskutils/gnome-screenshot/Makefile +++ b/deskutils/gnome-screenshot/Makefile @@ -1,42 +1,42 @@ PORTNAME= gnome-screenshot PORTVERSION= 41.0 PORTREVISION= 3 CATEGORIES= deskutils gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/ PATCHFILES+= b60dad3c2536.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-screenshot/-/merge_requests/57 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME utility for making pictures of your screen WWW= https://gitlab.gnome.org/GNOME/gnome-screenshot LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= appstream-builder:devel/appstream-glib LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libhandy-1.so:x11-toolkits/libhandy CONFLICTS= gnome-utils-2.[0-9]* PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gnome meson pkgconfig python:build \ shebangfix tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 xext SHEBANG_FILES= build-aux/postinstall.py GLIB_SCHEMAS= org.gnome.gnome-screenshot.gschema.xml OPTIONS_DEFINE= INTEL_FIX OPTIONS_SUB= yes # Workaround garbled screenshot when 3D hardware acceleration is enabled # via x11-drivers/xf86-video-intel port INTEL_FIX_DESC= Don't try to use the gnome-shell interface INTEL_FIX_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-intel .include diff --git a/deskutils/gnotime/Makefile b/deskutils/gnotime/Makefile index 6376a1bef02c..43a0cace6aa8 100644 --- a/deskutils/gnotime/Makefile +++ b/deskutils/gnotime/Makefile @@ -1,48 +1,48 @@ PORTNAME= gnotime DISTVERSION= g20231022 PORTREVISION= 3 CATEGORIES= deskutils gnome MAINTAINER= truckman@FreeBSD.org COMMENT= Time tracker for GTK 3/WebkitGTK WWW= https://github.com/GnoTime/gnotime LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive \ scrollkeeper-config:textproc/rarian LIB_DEPENDS= libqof.so:databases/qof \ libgc-threaded.so:devel/boehm-gc-threaded \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libsoup-2.4.so:devel/libsoup \ libguile-2.2.so:lang/guile2 \ libharfbuzz.so:print/harfbuzz \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 USES= autoreconf desktop-file-utils gettext gmake gnome libtool pathfix pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= GnoTime GH_PROJECT= gnotime GH_TAGNAME= ee0ddbcb8945fc6b11a49b107b738e3c934357a1 USE_XORG= sm ice xscrnsaver x11 -USE_GNOME= cairo gconf2 gdkpixbuf2 glib20 gtk30 libxml2 +USE_GNOME= cairo gconf2 gdkpixbuf glib20 gtk30 libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip INSTALLS_OMF= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= gnotime.schemas #post-patch: # @${REINPLACE_CMD} -e \ # '/^install-data-am/s|install-data-local||' \ # ${WRKSRC}/gconf/Makefile.in # @${REINPLACE_CMD} -e \ # '/^AM_CFLAGS =/s|-g||' ${WRKSRC}/src/Makefile.in .include diff --git a/deskutils/gpicker/Makefile b/deskutils/gpicker/Makefile index ebd7c5b0ef0d..56dad4e6d43c 100644 --- a/deskutils/gpicker/Makefile +++ b/deskutils/gpicker/Makefile @@ -1,24 +1,24 @@ PORTNAME= gpicker DISTVERSION= 2.3 PORTREVISION= 2 CATEGORIES= deskutils MASTER_SITES= SAVANNAH MAINTAINER= yuri@FreeBSD.org COMMENT= Program allowing to quickly pick a file in a large project WWW= https://savannah.nongnu.org/projects/gpicker LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext-runtime gmake gnome pkgconfig -USE_GNOME= gtk20 cairo gdkpixbuf2 +USE_GNOME= gtk20 cairo gdkpixbuf GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share PLIST_FILES= bin/gpicker bin/gpicker-simple share/man/man1/gpicker-simple.1.gz share/man/man1/gpicker.1.gz .include diff --git a/deskutils/growl-for-linux/Makefile b/deskutils/growl-for-linux/Makefile index 817df3423254..176e17033660 100644 --- a/deskutils/growl-for-linux/Makefile +++ b/deskutils/growl-for-linux/Makefile @@ -1,50 +1,50 @@ PORTNAME= growl-for-linux PORTVERSION= 0.8.5 PORTREVISION= 10 CATEGORIES= deskutils MAINTAINER= nivit@FreeBSD.org COMMENT= Notification system compatible with Growl WWW= http://mattn.github.com/growl-for-linux/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= desktop-file-install:devel/desktop-file-utils LIB_DEPENDS= libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 CONFIGURE_ARGS= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" GH_ACCOUNT= mattn GNU_CONFIGURE= yes INSTALL_TARGET= install-strip LIBNOTIFY_DESC= Use notify-osd for libnotify display plugin LIBNOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify LIBNOTIFY_RUN_DEPENDS= notify-osd>=0.9.29_3:deskutils/notify-osd OPTIONS_DEFAULT=LIBNOTIFY OPTIONS_DEFINE= LIBNOTIFY PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,} USES= autoreconf compiler:nestedfct gnome libtool pkgconfig sqlite:3 \ ssl USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk20 libxml2 +USE_GNOME= cairo gdkpixbuf gtk20 libxml2 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/display \ ${PREFIX}/lib/${PORTNAME}/subscribe post-patch: @${REINPLACE_CMD} '/^gol_LDADD =/s/$$/ -lgmodule-2.0/' \ ${WRKSRC}/Makefile.am post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/libgolplug.a .include diff --git a/deskutils/maliit-framework/Makefile b/deskutils/maliit-framework/Makefile index 9977c07bbe9d..2aa9072d7506 100644 --- a/deskutils/maliit-framework/Makefile +++ b/deskutils/maliit-framework/Makefile @@ -1,33 +1,33 @@ PORTNAME= framework DISTVERSION= 2.3.0 PORTREVISION= 2 CATEGORIES= deskutils kde PKGNAMEPREFIX= maliit- MAINTAINER= kde@FreeBSD.org COMMENT= Core libraries of Maliit and server WWW= https://maliit.github.io/ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libudev.so:devel/libudev-devd \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++11-lang gnome pkgconfig qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= maliit -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_QT= core dbus declarative gui network wayland widgets \ buildtools:build qmake:build USE_XORG= xcb CMAKE_ON= enable-dbus-activation \ enable-wayland-gtk CMAKE_OFF= enable-tests \ enable-docs BINARY_ALIAS= qtwaylandscanner=${QT_BINDIR}/qtwaylandscanner .include diff --git a/deskutils/notekit/Makefile b/deskutils/notekit/Makefile index 8f775042bd90..5213e0e910f7 100644 --- a/deskutils/notekit/Makefile +++ b/deskutils/notekit/Makefile @@ -1,28 +1,28 @@ PORTNAME= notekit PORTVERSION= 0.2.0 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= deskutils MAINTAINER= danfe@FreeBSD.org COMMENT= Hierarchical markdown note-taking application WWW= https://github.com/blackhole89/notekit LICENSE= GPLv3+ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libjsoncpp.so:devel/jsoncpp USES= cmake compiler:c++17-lang gnome pkgconfig -USE_GNOME= gdkpixbuf2 gtkmm30 gtksourceviewmm3 +USE_GNOME= gdkpixbuf gtkmm30 gtksourceviewmm3 USE_GITHUB= yes GH_ACCOUNT= blackhole89 PORTSCOUT= skipv:latest,latest-deb post-patch: @${REINPLACE_CMD} -e '/workaround for old jsoncpp/d' \ ${WRKSRC}/mainwindow.cpp .include diff --git a/deskutils/notify-osd/Makefile b/deskutils/notify-osd/Makefile index 5918eed16084..d61ad74661bc 100644 --- a/deskutils/notify-osd/Makefile +++ b/deskutils/notify-osd/Makefile @@ -1,35 +1,35 @@ PORTNAME= notify-osd PORTVERSION= 0.9.34 PORTREVISION= 5 CATEGORIES= deskutils MASTER_SITES= https://launchpad.net/notify-osd/precise/0.9.34/+download/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= On-screen-display notification agent using libnotify WWW= https://launchpad.net/notify-osd LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libfreetype.so:print/freetype2 \ libnotify.so:devel/libnotify \ libfontconfig.so:x11-fonts/fontconfig \ libwnck-3.so:x11-toolkits/libwnck3 RUN_DEPENDS= dbus-daemon:devel/dbus \ gsettings-desktop-schemas>=3.28.0:devel/gsettings-desktop-schemas USES= gettext-runtime gmake gnome libtool pkgconfig xorg -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_XORG= pixman x11 GNU_CONFIGURE= yes GLIB_SCHEMAS= com.canonical.NotifyOSD.gschema.xml CONFLICTS_INSTALL= notification-daemon # share/dbus-1/services/org.freedesktop.Notifications.service post-patch: @${REINPLACE_CMD} '/SUBDIRS =/s/tests//' ${WRKSRC}/Makefile.in .include diff --git a/deskutils/orage/Makefile b/deskutils/orage/Makefile index 587808e6ea62..4c312a6a84b1 100644 --- a/deskutils/orage/Makefile +++ b/deskutils/orage/Makefile @@ -1,42 +1,42 @@ PORTNAME= orage PORTVERSION= 4.20.0 CATEGORIES= deskutils xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Calendar application for the Xfce Desktop WWW= https://docs.xfce.org/apps/orage/start LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libical.so:devel/libical \ libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang desktop-file-utils gettext gmake gnome \ libtool pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libmenu USE_XORG= ice sm x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even OPTIONS_DEFINE= NLS NOTIFY TRAY OPTIONS_DEFAULT= NOTIFY OPTIONS_SUB= yes TRAY_DESC= Enable Tray Icon Support (incompatible with wayland) NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_ENABLE=libnotify TRAY_CONFIGURE_ENABLE= x11-tray-icon .include diff --git a/deskutils/pinot/Makefile b/deskutils/pinot/Makefile index e754d2da117d..05cc19320926 100644 --- a/deskutils/pinot/Makefile +++ b/deskutils/pinot/Makefile @@ -1,91 +1,91 @@ PORTNAME= pinot PORTVERSION= 1.22 PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= thierry@FreeBSD.org COMMENT= Personal search and metasearch for the Free Desktop WWW= https://github.com/FabriceColin/pinot/ LICENSE= GPLv2 BUILD_DEPENDS= desktop-file-install:devel/desktop-file-utils \ update-mime-database:misc/shared-mime-info LIB_DEPENDS= libxapian.so:databases/xapian-core \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libexttextcat-2.0.so:textproc/libexttextcat \ libdbus-1.so:devel/dbus \ libxml++-3.0.so:textproc/libxml++30 \ libboost_thread.so:devel/boost-libs \ libharfbuzz.so:print/harfbuzz \ libnotify.so:devel/libnotify \ libexif.so:graphics/libexif \ libexiv2.so:graphics/exiv2 \ libgmime-2.6.so:mail/gmime26 \ libtag.so:audio/taglib \ libcurl.so:ftp/curl RUN_DEPENDS= update-mime-database:misc/shared-mime-info \ antiword:textproc/antiword \ xdg-open:devel/xdg-utils \ catppt:textproc/catdoc \ unrtf:textproc/unrtf \ catdvi:print/catdvi \ bash:shells/bash \ ${LOCALBASE}/libexec/xpdf/pdftotext:graphics/xpdf USE_GITHUB= yes GH_ACCOUNT= FabriceColin USES= compiler:c++11-lang autoreconf gettext gnome libarchive \ libtool pkgconfig python shebangfix sqlite:3 ssl xorg USE_CXXSTD= c++11 USE_XORG= pixman -USE_GNOME= atkmm cairo cairomm gdkpixbuf2 glibmm gtk30 gtkmm30 \ +USE_GNOME= atkmm cairo cairomm gdkpixbuf glibmm gtk30 gtkmm30 \ libsigc++20 libxml2 pangomm USE_LDCONFIG= ${PREFIX}/lib/pinot/backends ${PREFIX}/lib/pinot/filters SHEBANG_FILES= scripts/bash/*.sh GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-http=curl --with-ssl=${OPENSSLBASE} --enable-libarchive \ --enable-mempool=no --enable-libnotify CONFIGURE_ENV= MKDIR_P="${MKDIR}" TEXTCAT_LIBS="-lexttextcat-2.0" CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lboost_system OPTIONS_DEFINE= DEBUG CHMLIB DOCS OPTIONS_SUB= yes DEBUG_CONFIGURE_ON= --enable-debug=yes CHMLIB_DESC= Support of Microsoft ITSS/CHM files CHMLIB_CONFIGURE_ON= --enable-chmlib=yes CHMLIB_CONFIGURE_OFF= --disable-chmlib CHMLIB_LIB_DEPENDS= libchm.so:misc/chmlib INSTALL_TARGET= install-strip DOCS= AUTHORS ChangeLog ChangeLog-dijon INSTALL NEWS README TODO LM2FIX= Core/pinot-index.cpp Core/pinot-index.1 Makefile.am \ textcat31_conf.txt aclocal.m4 textcat3_conf.txt \ textcat_conf.txt textcat32_conf.txt SHR2FIX= Core/pinot-search.1 UL2FIX= Utils/xdgmime/xdgmime.c pre-configure: ${REINPLACE_CMD} -e \ '//s|pdftotext|${LOCALBASE}/libexec/xpdf/pdftotext|' \ ${WRKSRC}/Tokenize/filters/external-filters.xml ${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \ ${LM2FIX:S|^|${WRKSRC}/|} ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${SHR2FIX:S|^|${WRKSRC}/|} post-install: ${TOUCH} ${STAGEDIR}${DATADIR}/stopwords/.empty_file post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/deskutils/showdown/Makefile b/deskutils/showdown/Makefile index eb00017a399d..130979703849 100644 --- a/deskutils/showdown/Makefile +++ b/deskutils/showdown/Makefile @@ -1,47 +1,47 @@ PORTNAME= showdown DISTVERSION= 0.6 PORTREVISION= 5 CATEGORIES= deskutils MAINTAINER= dmgk@FreeBSD.org COMMENT= Simple markdown viewer, written in Vala and GTK 3 WWW= https://github.com/craigbarnes/showdown LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/lib/libmarkdown.a:textproc/discount LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 USES= compiler:c++11-lang desktop-file-utils gmake gnome \ pkgconfig vala:build xorg -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= craigbarnes MAKEFILE= GNUmakefile MAKE_ARGS= V=1 prefix=${PREFIX} PORTDOCS= README.md PLIST_FILES= bin/showdown \ share/applications/io.gitlab.craigbarnes.Showdown.desktop \ share/icons/hicolor/scalable/apps/showdown.svg OPTIONS_DEFINE= DOCS .include .if ${CHOSEN_COMPILER_TYPE} == gcc EXTRA_PATCHES= ${FILESDIR}/extra-patch-GNUmakefile .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/showdown post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/deskutils/spacefm/Makefile b/deskutils/spacefm/Makefile index 2a3bb1f5a5c5..ebf8a6c42f9b 100644 --- a/deskutils/spacefm/Makefile +++ b/deskutils/spacefm/Makefile @@ -1,69 +1,69 @@ PORTNAME= spacefm DISTVERSION= 1.0.6 PORTREVISION= 3 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_GNOME= cairo gdkpixbuf 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:filesystems/curlftpfs IFUSE_DESC= Mount your iPhone/iPod Touch IFUSE_RUN_DEPENDS= fusefs-ifuse>0:filesystems/ifuse JMTPFS_DESC= Mount MTP devices JMTPFS_RUN_DEPENDS= fusefs-jmtpfs>0:filesystems/jmtpfs LSOF_DESC= Device processes LSOF_RUN_DEPENDS= lsof:sysutils/lsof PHOTOFS_DESC= Mount cameras PHOTOFS_RUN_DEPENDS= fusefs-gphotofs>0:filesystems/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/spice-gtk/Makefile b/deskutils/spice-gtk/Makefile index 5109da95980a..b32247bd824f 100644 --- a/deskutils/spice-gtk/Makefile +++ b/deskutils/spice-gtk/Makefile @@ -1,78 +1,78 @@ PORTNAME= spice-gtk PORTVERSION= 0.37 PORTREVISION= 7 CATEGORIES?= deskutils gnome MASTER_SITES= http://www.spice-space.org/download/gtk/ MAINTAINER= xxjack12xx@gmail.com COMMENT= Gtk client and libraries for SPICE remote desktop servers WWW= https://www.spice-space.org/ LICENSE= GPLv2 LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libjson-glib-1.0.so:devel/json-glib \ libopus.so:audio/opus \ libva-x11.so:multimedia/libva BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} \ spice-protocol>=0.12.15:devel/spice-protocol RUN_DEPENDS= spice-protocol>=0.12.15:devel/spice-protocol USES= compiler:c11 cpe gettext-tools gmake gnome gstreamer jpeg \ libtool localbase:ldflags pkgconfig python ssl tar:bzip2 xorg USE_XORG= pixman x11 -USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 intltool introspection:build +USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 intltool introspection:build CPE_VENDOR= spice-gtk_project SPICE_SSL_CFLAGS= -I${OPENSSLINC} SPICE_SSL_LIBS= -L${OPENSSLLIB} -lcrypto -lssl CONFIGURE_ENV+= OPENSSL_CFLAGS="${SPICE_SSL_CFLAGS}" \ OPENSSL_LIBS="${SPICE_SSL_LIBS}" GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes # we can't use pathfix with USES=autoreconf MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" INSTALL_TARGET= install-strip OPTIONS_DEFINE= BUILTIN-MJPEG DOCS INTROSPECTION LZ4 NLS PIE POLKIT \ PULSEAUDIO SASL OPTIONS_DEFAULT= BUILTIN-MJPEG INTROSPECTION LZ4 PIE POLKIT PULSEAUDIO \ SASL OPTIONS_SUB= yes LZ4_CONFIGURE_ON= --enable-lz4=yes LZ4_CONFIGURE_OFF= --enable-lz4=no LZ4_LIB_DEPENDS+= liblz4.so:archivers/liblz4 NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls BUILTIN-MJPEG_CONFIGURE_ENABLE= builtin-mjpeg BUILTIN-MJPEG_DESC= Enable the builtin mjpeg video decoder INTROSPECTION_CONFIGURE_ON= --enable-introspection=yes INTROSPECTION_CONFIGURE_OFF= --enable-introspection=no INTROSPECTION_DESC= Enable introspection for this build PIE_CONFIGURE_ON= --enable-pie=yes PIE_CONFIGURE_OFF= --enable-pie=no PIE_DESC= Enable position-independent-executable support (for usb acl helper) POLKIT_CONFIGURE_ON= --enable-polkit=yes POLKIT_CONFIGURE_OFF= --enable-polkit=no POLKIT_DESC= Enable PolicyKit support (for usb acl helper) PULSEAUDIO_CONFIGURE_ON= --enable-pulse=yes PULSEAUDIO_CONFIGURE_OFF= --enable-pulse=no PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio SASL_CONFIGURE_ON= --with-sasl=yes SASL_CONFIGURE_OFF= --with-sasl=no SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 .include diff --git a/deskutils/synapse/Makefile b/deskutils/synapse/Makefile index e2243bfcc10a..ee7a5d95ac8b 100644 --- a/deskutils/synapse/Makefile +++ b/deskutils/synapse/Makefile @@ -1,36 +1,36 @@ PORTNAME= synapse DISTVERSION= 0.2.99.4 PORTREVISION= 5 CATEGORIES= deskutils MASTER_SITES= https://launchpadlibrarian.net/363823069/ MAINTAINER= danilo@FreeBSD.org COMMENT= Semantic application launcher written in Vala WWW= https://launchpad.net/synapse-project LICENSE= GPLv2 LGPL21 GPLv3 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL2 LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL2.1 LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LIB_DEPENDS= libzeitgeist-2.0.so:sysutils/zeitgeist \ libgee-0.8.so:devel/libgee \ libjson-glib-1.0.so:devel/json-glib \ libkeybinder-3.0.so:x11/keybinder-gtk3 \ libnotify.so:devel/libnotify \ librest-0.7.so:devel/librest \ libsoup-2.4.so:devel/libsoup USES= gettext-tools gmake gnome pkgconfig tar:xz vala:build xorg GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libxml2 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2 pango USE_XORG= x11 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_OFF= --disable-nls .include diff --git a/deskutils/sysctlview/Makefile b/deskutils/sysctlview/Makefile index b3eac2e0db8e..e03e47c45a63 100644 --- a/deskutils/sysctlview/Makefile +++ b/deskutils/sysctlview/Makefile @@ -1,48 +1,48 @@ PORTNAME= sysctlview PORTVERSION= 2.1 PORTREVISION= 4 CATEGORIES= deskutils MAINTAINER= alfix86@gmail.com COMMENT= Graphical sysctl MIB explorer WWW= https://gitlab.com/alfix/sysctlview/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsysctlmibinfo2.so:devel/libsysctlmibinfo2 RUN_DEPENDS= xdg-open:devel/xdg-utils USES= compiler:c++11-lang gnome pkgconfig USE_GITLAB= yes GL_ACCOUNT= alfix GL_TAGNAME= 6ef5c821f66d92c2a1ca3fc964b511425dacd18e -USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk30 gtkmm30 \ +USE_GNOME= atk atkmm cairo cairomm gdkpixbuf glib20 glibmm gtk30 gtkmm30 \ libsigc++20 pango pangomm DESKTOP_ENTRIES= "Sysctlview" \ "Show and set the kernel state" \ "sysctlview" \ "sysctlview" \ "System;" \ false .include .if ${OPSYS} != FreeBSD IGNORE= not supported on anything but FreeBSD .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sysctlview ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/sysctlview.1 ${STAGEDIR}${PREFIX}/share/man/man1 .for i in 16 22 24 32 36 48 64 72 96 128 192 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ ${INSTALL_DATA} ${WRKSRC}/icon/sysctlview-${i}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/sysctlview.png .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ ${INSTALL_DATA} ${WRKSRC}/icon/sysctlview.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/sysctlview.svg .include diff --git a/deskutils/xdg-desktop-portal/Makefile b/deskutils/xdg-desktop-portal/Makefile index 932d2a024cf3..fa06f8744bc2 100644 --- a/deskutils/xdg-desktop-portal/Makefile +++ b/deskutils/xdg-desktop-portal/Makefile @@ -1,43 +1,43 @@ PORTNAME= xdg-desktop-portal PORTVERSION= 1.20.0 CATEGORIES= deskutils MAINTAINER= arrowd@FreeBSD.org COMMENT= Portal frontend service for Flatpak WWW= https://github.com/flatpak/xdg-desktop-portal/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfuse3.so:filesystems/fusefs-libs3 \ libgeoclue-2.so:net/geoclue \ libgudev-1.0.so.0:devel/libgudev \ libjson-glib-1.0.so:devel/json-glib \ libpipewire-0.3.so:multimedia/pipewire \ libportal.so:deskutils/libportal USES= gettext-tools gmake gnome meson pkgconfig python:build shebangfix USE_GITHUB= yes GH_ACCOUNT= flatpak -USE_GNOME= gdkpixbuf2 glib20 +USE_GNOME= gdkpixbuf glib20 MESON_ARGS= -Ddocumentation=disabled \ -Dflatpak-interfaces=disabled \ -Dsandboxed-image-validation=disabled \ -Dsandboxed-sound-validation=disabled \ -Dsystemd=disabled \ -Dtests=disabled SHEBANG_FILES= src/generate-method-info.py OPTIONS_DEFINE= MANPAGES MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_MESON_ENABLED= man-pages OPTIONS_SUB= yes post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd .include diff --git a/deskutils/xfce4-generic-slider/Makefile b/deskutils/xfce4-generic-slider/Makefile index f16365468f0f..b1921eee2d1e 100644 --- a/deskutils/xfce4-generic-slider/Makefile +++ b/deskutils/xfce4-generic-slider/Makefile @@ -1,30 +1,30 @@ PORTNAME= xfce4-generic-slider PORTVERSION= 1.0.1 PORTEPOCH= 1 CATEGORIES= deskutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Slider plugin to adjust and/or monitor any numeric variable WWW= https://docs.xfce.org/panel-plugins/xfce4-generic-slider/start LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext gmake gnome libtool pkgconfig tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/deskutils/xfce4-notes-plugin/Makefile b/deskutils/xfce4-notes-plugin/Makefile index defb8aba1f1f..ed86a717ea0f 100644 --- a/deskutils/xfce4-notes-plugin/Makefile +++ b/deskutils/xfce4-notes-plugin/Makefile @@ -1,30 +1,30 @@ PORTNAME= xfce4-notes-plugin PORTVERSION= 1.11.2 CATEGORIES= deskutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Notes plugin for the Xfce panel WWW= https://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 gtksourceview4 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 gtksourceview4 USE_XFCE= libmenu panel xfconf USE_XORG= ice sm x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/deskutils/xfce4-notifyd/Makefile b/deskutils/xfce4-notifyd/Makefile index 574e039bf293..1521282e2ec0 100644 --- a/deskutils/xfce4-notifyd/Makefile +++ b/deskutils/xfce4-notifyd/Makefile @@ -1,47 +1,47 @@ # # !!!NOTE!!! Update of x11-toolkits/gtk30 (specially >= 3.20.x) must be # accompanied by PORTREVISION bumps of this port. # Support of GTK is checked at compile time and themes directories too. PORTNAME= xfce4-notifyd PORTVERSION= 0.9.7 CATEGORIES= deskutils xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Visually-appealing notification daemon for Xfce WWW= https://gitlab.xfce.org/apps/xfce4-notifyd LICENSE= GPLv3 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libnotify.so:devel/libnotify USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig sqlite \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libmenu panel xfconf USE_XORG= ice sm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-systemd INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS SOUND WAYLAND OPTIONS_DEFAULT= WAYLAND OPTIONS_SUB= yes SOUND_DESC= Sound (audio) support via canberra NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls SOUND_LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra SOUND_CONFIGURE_ENABLE= sound WAYLAND_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell WAYLAND_CONFIGURE_ENABLE= wayland .include diff --git a/deskutils/xfce4-tumbler/Makefile b/deskutils/xfce4-tumbler/Makefile index 829a74107a17..1477eb13fe6f 100644 --- a/deskutils/xfce4-tumbler/Makefile +++ b/deskutils/xfce4-tumbler/Makefile @@ -1,71 +1,71 @@ PORTNAME= tumbler PORTVERSION= 4.20.0 CATEGORIES= deskutils xfce MASTER_SITES= XFCE PKGNAMEPREFIX= xfce4- DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Thumbnail service for Xfce desktop WWW= https://git.xfce.org/xfce/tumbler/ LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LIB_DEPENDS= libpng16.so:graphics/png USES= compiler:c11 gettext-tools gmake gnome libtool \ localbase:ldflags pathfix pkgconfig tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 glib20 libgsf +USE_GNOME= cairo gdkpixbuf glib20 libgsf USE_LDCONFIG= yes USE_XFCE= libutil GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk-doc-html \ --enable-pixbuf-thumbnailer \ --enable-xdg-cache \ --without-html-dir INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even SUB_FILES= pkg-message OPTIONS_DEFINE= COVER EPUB FFMPEG FONTS GSTREAMER JPEG NLS ODF POPPLER OPTIONS_DEFAULT= EPUB FONTS GSTREAMER JPEG ODF POPPLER OPTIONS_SUB= yes COVER_DESC= Open Movie Database plugin (check pkg-message) EPUB_DESC= EPUB thumbnailer plugin FONTS_DESC= Fonts thumbnailer plugin GSTREAMER_DESC= GStreamer thumbnailer plugin COVER_LIB_DEPENDS= libcurl.so:ftp/curl COVER_CONFIGURE_ENABLE= cover-thumbnailer EPUB_LIB_DEPENDS= libgepub-0.6.so:textproc/libgepub EPUB_CONFIGURE_ENABLE= gepub-thumbnailer FFMPEG_LIB_DEPENDS= libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer FFMPEG_CONFIGURE_ENABLE= ffmpeg-thumbnailer FONTS_LIB_DEPENDS= libfreetype.so:print/freetype2 FONTS_CONFIGURE_ENABLE= font-thumbnailer GSTREAMER_USES= gstreamer GSTREAMER_CONFIGURE_ENABLE= gstreamer-thumbnailer JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg-thumbnailer NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls ODF_USE= GNOME=libgsf ODF_CONFIGURE_ENABLE= odf-thumbnailer POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_CONFIGURE_ENABLE= poppler-thumbnailer .include diff --git a/deskutils/xpad/Makefile b/deskutils/xpad/Makefile index 8480d5cc1ee9..774bdfe77f51 100644 --- a/deskutils/xpad/Makefile +++ b/deskutils/xpad/Makefile @@ -1,81 +1,81 @@ PORTNAME= xpad PORTVERSION= 5.8.0 PORTREVISION= 3 CATEGORIES= deskutils MASTER_SITES= https://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/ MAINTAINER= jgh@FreeBSD.org COMMENT= Virtual note-pad system for your X11 desktop WWW= https://launchpad.net/xpad/trunk LICENSE= GPLv3 RUN_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libdbusmenu-glib.so:devel/libdbusmenu \ libayatana-ido3-0.4.so:devel/ayatana-ido \ libayatana-appindicator3.so:devel/libayatana-appindicator \ libayatana-indicator3.so:devel/libayatana-indicator USES= autoreconf compiler:c++11-lang gmake pkgconfig tar:bzip2 gnome xorg OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes CONFLICTS_INSTALL= xpad3 USE_XORG= x11 sm ice -USE_GNOME= gtk30 gtksourceview4 cairo gdkpixbuf2 +USE_GNOME= gtk30 gtksourceview4 cairo gdkpixbuf CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share PORTDOCS= * PLIST_FILES= \ bin/xpad \ share/man/man1/xpad.1.gz \ share/applications/xpad.desktop \ share/icons/hicolor/scalable/apps/xpad.svg \ share/metainfo/xpad.appdata.xml \ ${DATADIR}/help/xpad-user-help.txt NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_PLIST_FILES= \ share/locale/af/LC_MESSAGES/xpad.mo \ share/locale/bg/LC_MESSAGES/xpad.mo \ share/locale/cs/LC_MESSAGES/xpad.mo \ share/locale/da/LC_MESSAGES/xpad.mo \ share/locale/de/LC_MESSAGES/xpad.mo \ share/locale/en_GB/LC_MESSAGES/xpad.mo \ share/locale/es/LC_MESSAGES/xpad.mo \ share/locale/et/LC_MESSAGES/xpad.mo \ share/locale/fi/LC_MESSAGES/xpad.mo \ share/locale/fr/LC_MESSAGES/xpad.mo \ share/locale/ga/LC_MESSAGES/xpad.mo \ share/locale/hr/LC_MESSAGES/xpad.mo \ share/locale/hu/LC_MESSAGES/xpad.mo \ share/locale/it/LC_MESSAGES/xpad.mo \ share/locale/ja/LC_MESSAGES/xpad.mo \ share/locale/ko/LC_MESSAGES/xpad.mo \ share/locale/lv/LC_MESSAGES/xpad.mo \ share/locale/nl/LC_MESSAGES/xpad.mo \ share/locale/pt/LC_MESSAGES/xpad.mo \ share/locale/ro/LC_MESSAGES/xpad.mo \ share/locale/ru/LC_MESSAGES/xpad.mo \ share/locale/rw/LC_MESSAGES/xpad.mo \ share/locale/sv/LC_MESSAGES/xpad.mo \ share/locale/th/LC_MESSAGES/xpad.mo \ share/locale/tr/LC_MESSAGES/xpad.mo \ share/locale/vi/LC_MESSAGES/xpad.mo \ share/locale/zh_CN/LC_MESSAGES/xpad.mo \ share/locale/zh_TW/LC_MESSAGES/xpad.mo .include post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS ChangeLog INSTALL NEWS README TODO THANKS ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/allegro5/Makefile b/devel/allegro5/Makefile index 14153e9d01b8..10d907baad83 100644 --- a/devel/allegro5/Makefile +++ b/devel/allegro5/Makefile @@ -1,82 +1,82 @@ PORTNAME= allegro DISTVERSION= 5.2.7.0 PORTREVISION= 10 CATEGORIES= devel games MASTER_SITES= https://github.com/liballeg/${PORTNAME}${PKGNAMESUFFIX}/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= 5 MAINTAINER= kpedersen@disroot.org COMMENT= Cross-platform C library for games and multimedia programming WWW= https://liballeg.org/ LICENSE= ZLIB BSD3CLAUSE LICENSE_COMB= dual LIB_DEPENDS= libFLAC.so:audio/flac \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjack.so:audio/jack \ libogg.so:audio/libogg \ libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libtheoradec.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis \ libwebp.so:graphics/webp USES= cmake:insource compiler:c++11-lang gl gnome jpeg \ openal:soft pkgconfig xorg uniquefiles:dirs USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga sm ice xi xinerama xrandr \ xscrnsaver USE_GL= gl glu -USE_GNOME= gtk30 cairo gdkpixbuf2 +USE_GNOME= gtk30 cairo gdkpixbuf USE_LDCONFIG= yes CFLAGS+= -isystem${LOCALBASE}/include -L${LOCALBASE}/lib -Wno-unused-command-line-argument PLIST_SUB= SHLIB_VER="${DISTVERSION}" SHLIB_VER1="${DISTVERSION:R}" PORTDOCS= * PORTEXAMPLES= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE= ALSA DOCS EXAMPLES PULSEAUDIO OPTIONS_SUB= yes DOCS_DESC= Build and install docs and manpages (requires pandoc) DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/pandoc:textproc/hs-pandoc DOCS_CMAKE_BOOL= WANT_DOCS ALSA_LIB_DEPENDS= libasound.so.2:audio/alsa-lib ALSA_CMAKE_BOOL= WANT_ALSA ALSA_BROKEN= ALSA support is broken # confirmed by running demos, leads to assertion at startup EXAMPLES_CMAKE_BOOL= WANT_EXAMPLES WANT_DEMOS PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WANT_PULSEAUDIO CMAKE_ARGS=-DMANDIR=${PREFIX}/share/man post-patch: @${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt post-install-DOCS-on: ${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}${PREFIX}/share/man/man3/ @cd ${WRKSRC} && ${COPYTREE_SHARE} "README.txt docs/src docs/html" ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} "examples demos" ${STAGEDIR}${EXAMPLESDIR}) ${FIND} -d ${STAGEDIR}${EXAMPLESDIR} \ -name CMakeFiles -o -name cmake_install.cmake \ -exec ${RM} -r {} \; ${FIND} ${STAGEDIR}${EXAMPLESDIR}/examples -regex ".*/ex_[a-z0-9_]*" \ -exec ${CHMOD} a+x {} \; \ -exec ${STRIP_CMD} {} \; .for l in cosmic_protector skater speed @${CHMOD} a+x ${STAGEDIR}${EXAMPLESDIR}/demos/${l}/${l} @${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/demos/${l}/${l} .endfor .include diff --git a/devel/appstream-compose/Makefile b/devel/appstream-compose/Makefile index 40333ae74d6e..7151474b8a4b 100644 --- a/devel/appstream-compose/Makefile +++ b/devel/appstream-compose/Makefile @@ -1,26 +1,26 @@ PORTREVISION= 1 PKGNAMESUFFIX= Compose COMMENT?= AppStream Compose application and library LIB_DEPENDS= libappstream.so:devel/appstream \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libyaml.so:textproc/libyaml RUN_DEPENDS= optipng:graphics/optipng \ ffprobe:multimedia/ffmpeg -USE_GNOME= cairo gdkpixbuf2 librsvg2 pango +USE_GNOME= cairo gdkpixbuf librsvg2 pango MESON_ARGS= -Dcompose=true MASTERDIR= ${.CURDIR}/../../devel/appstream PLIST= ${.CURDIR}/pkg-plist post-install: # remove files belonging to the master port ${XARGS} -L 1 -I % ${RM} -rf ${STAGEDIR}${PREFIX}/% < ${MASTERDIR}/pkg-plist ${FIND} ${STAGEDIR}${PREFIX} -empty -delete ${RM} -rf ${STAGEDIR}${PREFIX}/etc ${STAGEDIR}${PREFIX}/share/man .include "${MASTERDIR}/Makefile" diff --git a/devel/appstream-glib/Makefile b/devel/appstream-glib/Makefile index f497e97294f4..24cc137c508f 100644 --- a/devel/appstream-glib/Makefile +++ b/devel/appstream-glib/Makefile @@ -1,46 +1,46 @@ PORTNAME= appstream-glib PORTVERSION= 0.8.3 CATEGORIES= devel MASTER_SITES= http://people.freedesktop.org/~hughsient/appstream-glib/releases/ DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Library to help with AppStream metadata WWW= https://github.com/hughsie/appstream-glib/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gcab:archivers/gcab LIB_DEPENDS= libcurl.so:ftp/curl \ libjson-glib-1.0.so:devel/json-glib \ libyaml.so:textproc/libyaml \ libuuid.so:misc/e2fsprogs-libuuid \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= gcab:archivers/gcab CONFLICTS_BUILD= appstream-glib-0.5.* USES= compiler:c11 gettext gperf gnome libarchive meson \ pkgconfig sqlite tar:xz -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 introspection:build \ +USE_GNOME= cairo gdkpixbuf glib20 gtk30 introspection:build \ libxml2:build pango USE_LDCONFIG= yes MESON_ARGS= -Drpm=false \ -Dalpm=false OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtkdoc-check:textproc/gtk-doc DOCS_MESON_TRUE= gtk-doc DOCSDIR= ${PREFIX}/share/gtk-doc/html/appstream-glib MANPAGES_MESON_TRUE= man MANPAGES_BUILD_DEPENDS= docbook-xml>=0:textproc/docbook-xml \ docbook-xsl>=0:textproc/docbook-xsl MANPAGES_USE= GNOME=libxslt:build .include diff --git a/devel/ayatana-ido/Makefile b/devel/ayatana-ido/Makefile index 723577a55273..ede879d5fcfd 100644 --- a/devel/ayatana-ido/Makefile +++ b/devel/ayatana-ido/Makefile @@ -1,35 +1,35 @@ PORTNAME= ayatana-ido PORTVERSION= 0.10.4 CATEGORIES= devel MAINTAINER= jgh@FreeBSD.org COMMENT= Ayatana Indicator Display Objects WWW= https://github.com/AyatanaIndicators/ayatana-ido LICENSE= LGPL3 LIB_DEPENDS= libgtest.so:devel/googletest \ libharfbuzz.so:print/harfbuzz BUILD_DEPENDS= lcov>=0:devel/lcov USES= cmake gnome localbase:ldflags pkgconfig vala:build -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 introspection pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 introspection pango OPTIONS_DEFINE= DOCS USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= AyatanaIndicators PORTDOCS= AUTHORS ChangeLog INSTALL.md NEWS README.md post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libayatana-ido3-0.4.so.* post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/cutter/Makefile b/devel/cutter/Makefile index 5de58e5b1973..76c437c6ff99 100644 --- a/devel/cutter/Makefile +++ b/devel/cutter/Makefile @@ -1,42 +1,42 @@ PORTNAME= cutter PORTVERSION= 1.2.6 PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= romain@FreeBSD.org COMMENT= Unit Testing Framework for C and C++ WWW= https://cutter.sourceforge.net/ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/license/lgpl-3.txt LIB_DEPENDS= libcairo.so:graphics/cairo \ libpangocairo-1.0.so:x11-toolkits/pango \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 CONFIGURE_ARGS= --disable-gtk-doc-html --with-html-dir=${PREFIX}/share/doc \ --disable-gstreamer GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USES= gettext gnome gmake libtool localbase pathfix pkgconfig -USE_GNOME= intlhack gdkpixbuf2 glib20 gtk20 +USE_GNOME= intlhack gdkpixbuf glib20 gtk20 USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= SOUP LCOV NLS OPTIONS_SUB= yes SOUP_DESC= libsoup support LCOV_DESC= Force dependency on lcov LCOV_RUN_DEPENDS= lcov:devel/lcov SOUP_CONFIGURE_ENABLE= libsoup SOUP_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/devel/electron31/Makefile b/devel/electron31/Makefile index cc367ed987b4..76b9d5858825 100644 --- a/devel/electron31/Makefile +++ b/devel/electron31/Makefile @@ -1,456 +1,456 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER:S/-beta./.b/} PORTREVISION= 5 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v31.4.0/:chromium \ https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.0:chromium \ chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.1:chromium \ ${CHROMIUM_NODE_MODULES_HASH}:chromium_node \ pulseaudio-${PULSEV}.tar.gz:pulseaudio \ electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= chromium-${CHROMIUM_VER}${EXTRACT_SUFX} \ ${DISTFILES:C/:[^:]+$//:C/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}\.[0-9]//} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS WWW= https://electronjs.org/ LICENSE= BSD3CLAUSE LGPL21 MPL11 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/electron/LICENSE DEPRECATED= EOLed upstream, switch to newer version EXPIRATION_DATE= 2025-03-31 ONLY_FOR_ARCHS= aarch64 amd64 i386 FETCH_DEPENDS= yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} EXTRACT_DEPENDS=yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} PATCH_DEPENDS= git:devel/git \ jq:textproc/jq BUILD_DEPENDS= gperf:devel/gperf \ yasm:devel/yasm \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ rustc:lang/rust \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libasound.so:audio/alsa-lib \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libsndio.so:audio/sndio \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libva.so:multimedia/libva \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils TEST_DEPENDS= git:devel/git \ ${PYTHON_PKGNAMEPREFIX}python-dbusmock>0:devel/py-python-dbusmock@${PY_FLAVOR} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} USES= bison compiler:c++17-lang cpe gettext-tools gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja nodejs:20,build \ pkgconfig python:build,test shebangfix tar:xz xorg CPE_VENDOR= electronjs USE_GITHUB= yes GH_TAGNAME= ${DISTVERSIONPREFIX}${ELECTRON_VER} GH_TUPLE= nodejs:node:v${NODE_VER}:node \ nodejs:nan:${NAN_VER}:nan \ Squirrel:Squirrel.Mac:${SQUIRREL_MAC_VER}:squirrel_mac \ ReactiveCocoa:ReactiveObjC:${REACTIVEOBJC_VER}:reactiveobjc \ Mantle:Mantle:${MANTLE_VER}:mantle \ EngFlow:reclient-configs:${ENGFLOW_RECLIENT_CONFIGS_VER}:reclient_configs USE_GL= gbm gl glesv2 -USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 libxslt pango +USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 libxslt pango USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xrandr \ xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include ALL_TARGET= electron electron:node_headers POST_BUILD_TARGETS= licenses version POST_BUILD_DIST_TARGETS=electron_dist_zip electron_chromedriver_zip \ electron_mksnapshot_zip DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} BINARY_ALIAS= python3=${PYTHON_CMD} BUNDLE_LIBS= yes NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_log_error_not_reached=true \ enable_nacl=false \ enable_remoting=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ chrome_pgo_phase=0 \ extra_cflags="${CFLAGS}" \ extra_cxxflags="${CXXFLAGS} -I${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" \ override_electron_version="${ELECTRON_VER}" # Audio backends GN_ARGS+= use_alsa=true \ use_pulseaudio=true \ use_sndio=true # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} OPTIONS_DEFINE= CODECS CUPS DEBUG DIST DRIVER KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DIST_DESC= Build distribution zip files DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) PIPEWIRE_DESC= Screen capture via PipeWire CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_FILE=testing.gn \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_FILE=release.gn \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DIST_IMPLIES= DRIVER DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb5.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb5.so.3:security/krb5 PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER CHROMIUM_VER= 126.0.6478.234 # See ${WRKSRC}/third_party/node/node_modules.tar.gz.sha1 for CHROMIUM_NODE_MODULES_HASH CHROMIUM_NODE_MODULES_HASH= 97a0b3c4c39cf05de1eafb6ffdec0fddd643f0a2 # See ${WRKSRC}/electron/DEPS for NODE_VER NODE_VER= 20.18.0 # See ${WRKSRC}/electron/DEPS for NAN_VER NAN_VER= e14bdcd1f72d62bca1d541b66da43130384ec213 # See ${WRKSRC}/electron/DEPS for SQUIRREL_MAC_VER SQUIRREL_MAC_VER= 0e5d146ba13101a1302d59ea6e6e0b3cace4ae38 # See ${WRKSRC}/electron/DEPS for REACTIVEOBJC_VER REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 # See ${WRKSRC}/electron/DEPS for ENGFLOW_RECLIENT_CONFIGS_VER ENGFLOW_RECLIENT_CONFIGS_VER= 955335c30a752e9ef7bff375baab5e0819b6c00d YARN_TIMESTAMP= 61171200 .include "Makefile.version" .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif .if ${COMPILER_VERSION} < 180 LLVM_DEFAULT= 18 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} .else BINARY_ALIAS+= ar=/usr/bin/llvm-ar \ nm=/usr/bin/llvm-nm .endif CFLAGS+= -Wno-error=implicit-function-declaration .if ${ARCH} == "aarch64" PLIST_SUB+= AARCH64="" \ AMD64="@comment " \ I386="@comment " \ NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == "amd64" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="" \ I386="@comment " \ NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="@comment " \ I386="" \ NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build electron, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-fetch: @${MKDIR} ${DISTDIR}/${DIST_SUBDIR} if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} ]; \ then ${MKDIR} ${WRKDIR}; \ ${ECHO_CMD} 'yarn-offline-mirror "./yarn-offline-cache"' >> \ ${WRKDIR}/.yarnrc; \ ${CP} ${FILESDIR}/package.json ${FILESDIR}/yarn.lock ${WRKDIR}; \ cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache \ yarn --frozen-lockfile --ignore-scripts; \ ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ @yarn-offline-cache.mtree; \ ${RM} -r ${WRKDIR}; \ fi post-fetch: @if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX} ]; then \ ${CAT} ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.? > \ ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}; \ fi post-extract: # Move extracted sources to appropriate locations ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/chromium-${CHROMIUM_VER} ${WRKSRC} ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${PORTNAME}-${ELECTRON_VER} ${WRKSRC}/electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_nan}-${NAN_VER} \ ${WRKSRC}/third_party/nan ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_node}-${NODE_VER} \ ${WRKSRC}/third_party/electron_node ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_squirrel_mac}-${SQUIRREL_MAC_VER} \ ${WRKSRC}/third_party/squirrel.mac ${MKDIR} ${WRKSRC}/third_party/squirrel.mac/vendor ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reactiveobjc}-${REACTIVEOBJC_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/ReactiveObjC ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_mantle}-${MANTLE_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/Mantle ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reclient_configs}-${ENGFLOW_RECLIENT_CONFIGS_VER} \ ${WRKSRC}/third_party/engflow-reclient-configs ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/node_modules ${WRKSRC}/third_party/node # Install node modules for electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/yarn-offline-cache ${WRKDIR} ${ECHO_CMD} 'yarn-offline-mirror "../../../yarn-offline-cache"' >> ${WRKSRC}/electron/.yarnrc ${MV} ${WRKSRC}/electron/package.json ${WRKSRC}/electron/package.json.bak ${CP} ${FILESDIR}/package.json ${WRKSRC}/electron cd ${WRKSRC}/electron && \ ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache yarn --frozen-lockfile --offline pre-patch: ${SH} ${FILESDIR}/apply-electron-patches.sh ${WRKSRC} # ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete # ${FIND} ${WRKSRC} -type f -name '*~' -print -delete pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig freetype harfbuzz-ng icu libdrm libevent \ libpng libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src/pulse/version.h do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn gen out/${BUILDTYPE} \ --args='import("//electron/build/args/${GN_FILE}") ${GN_ARGS}' # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_TARGETS} post-build-DIST-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_DIST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${CP} chromedriver.zip chromedriver-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} dist.zip electron-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} mksnapshot.zip mksnapshot-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${SHA256} -r *-v${ELECTRON_VER}-freebsd-*.zip | ${SED} -e 's/ / */' > SHASUMS256.txt do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .for f in electron mksnapshot v8_context_snapshot_generator ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 ${STAGEDIR}${DATADIR}/libvulkan.so .for f in LICENSE LICENSES.chromium.html snapshot_blob.bin v8_context_snapshot.bin version vk_swiftshader_icd.json ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in chrome_100_percent.pak chrome_200_percent.pak resources.pak ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/locales ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/locales/*.pak ${STAGEDIR}${DATADIR}/locales ${MKDIR} ${STAGEDIR}${DATADIR}/resources .for f in default_app.asar ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/resources/${f} ${STAGEDIR}${DATADIR}/resources .endfor cd ${WRKSRC}/out/${BUILDTYPE}/gen && ${COPYTREE_SHARE} node_headers ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/electron/buildflags ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/v8/embedded.S ${STAGEDIR}${DATADIR} ${RLN} ${STAGEDIR}${DATADIR}/electron ${STAGEDIR}${PREFIX}/bin/electron${PKGNAMESUFFIX} post-install-DIST-on: ${MKDIR} ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/SHASUMS256.txt ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*-v${ELECTRON_VER}-freebsd-*.zip ${STAGEDIR}${DATADIR}/releases post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${DATADIR}/chromedriver do-test: # Note 1: "npm install" will run before actual tests are executed # Note 2: Xvfb or something similar is necessary for headless testing cd ${WRKSRC}/electron && \ ${SETENV} ${TEST_ENV} ELECTRON_OUT_DIR=${BUILDTYPE} LOCAL_GIT_DIRECTORY=${LOCALBASE} \ npm run test -- --ci .include diff --git a/devel/electron32/Makefile b/devel/electron32/Makefile index d2e6e1a78a54..5a29a6aa77ec 100644 --- a/devel/electron32/Makefile +++ b/devel/electron32/Makefile @@ -1,455 +1,455 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER} PORTREVISION= 1 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v32.2.1/:chromium \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.0:chromium \ chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.1:chromium \ chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.2:chromium \ pulseaudio-${PULSEV}.tar.gz:pulseaudio \ electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= chromium-${CHROMIUM_VER}${EXTRACT_SUFX} \ ${DISTFILES:C/:[^:]+$//:C/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}\.[0-9]//} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS WWW= https://electronjs.org/ LICENSE= BSD3CLAUSE LGPL21 MPL11 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/electron/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 FETCH_DEPENDS= yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} EXTRACT_DEPENDS=yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} PATCH_DEPENDS= git:devel/git \ jq:textproc/jq BUILD_DEPENDS= gperf:devel/gperf \ bindgen:devel/rust-bindgen-cli \ yasm:devel/yasm \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ rustc:lang/rust \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libva.so:multimedia/libva \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils TEST_DEPENDS= git:devel/git \ ${PYTHON_PKGNAMEPREFIX}python-dbusmock>0:devel/py-python-dbusmock@${PY_FLAVOR} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} USES= bison compiler:c++17-lang cpe gettext-tools gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja nodejs:20,build \ pkgconfig python:build,test shebangfix tar:xz xorg CPE_VENDOR= electronjs USE_GITHUB= yes GH_TUPLE= nodejs:node:v${NODE_VER}:node \ nodejs:nan:${NAN_VER}:nan \ Squirrel:Squirrel.Mac:${SQUIRREL_MAC_VER}:squirrel_mac \ ReactiveCocoa:ReactiveObjC:${REACTIVEOBJC_VER}:reactiveobjc \ Mantle:Mantle:${MANTLE_VER}:mantle \ EngFlow:reclient-configs:${ENGFLOW_RECLIENT_CONFIGS_VER}:reclient_configs USE_GL= gbm gl glesv2 -USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 libxslt pango +USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 libxslt pango USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xrandr \ xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include ALL_TARGET= electron electron:node_headers POST_BUILD_TARGETS= licenses version POST_BUILD_DIST_TARGETS=electron_dist_zip electron_chromedriver_zip \ electron_mksnapshot_zip DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} BINARY_ALIAS= python3=${PYTHON_CMD} BUNDLE_LIBS= yes NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_log_error_not_reached=true \ enable_nacl=false \ enable_remoting=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ chrome_pgo_phase=0 \ extra_cflags="${CFLAGS}" \ extra_cxxflags="${CXXFLAGS} ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" \ override_electron_version="${ELECTRON_VER}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} OPTIONS_DEFINE= CODECS CUPS DEBUG DIST DRIVER KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE ALSA PULSEAUDIO SNDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DIST_DESC= Build distribution zip files DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) PIPEWIRE_DESC= Screen capture via PipeWire ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_FILE=testing.gn \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_FILE=release.gn \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DIST_IMPLIES= DRIVER DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb5.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb5.so.3:security/krb5 PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER CHROMIUM_VER= 128.0.6613.186 # See ${WRKSRC}/electron/DEPS for NODE_VER NODE_VER= 20.18.1 # See ${WRKSRC}/electron/DEPS for NAN_VER NAN_VER= e14bdcd1f72d62bca1d541b66da43130384ec213 # See ${WRKSRC}/electron/DEPS for SQUIRREL_MAC_VER SQUIRREL_MAC_VER= 0e5d146ba13101a1302d59ea6e6e0b3cace4ae38 # See ${WRKSRC}/electron/DEPS for REACTIVEOBJC_VER REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 # See ${WRKSRC}/electron/DEPS for ENGFLOW_RECLIENT_CONFIGS_VER ENGFLOW_RECLIENT_CONFIGS_VER= 955335c30a752e9ef7bff375baab5e0819b6c00d YARN_TIMESTAMP= 61171200 .include "Makefile.version" .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} CFLAGS+= -Wno-error=implicit-function-declaration .if ${ARCH} == "aarch64" PLIST_SUB+= AARCH64="" \ AMD64="@comment " \ I386="@comment " \ NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == "amd64" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="" \ I386="@comment " \ NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="@comment " \ I386="" \ NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build electron, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-fetch: @${MKDIR} ${DISTDIR}/${DIST_SUBDIR} if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} ]; \ then ${MKDIR} ${WRKDIR}; \ ${ECHO_CMD} 'yarn-offline-mirror "./yarn-offline-cache"' >> \ ${WRKDIR}/.yarnrc; \ ${CP} ${FILESDIR}/package.json ${FILESDIR}/yarn.lock ${WRKDIR}; \ cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache \ yarn --frozen-lockfile --ignore-scripts; \ ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ @yarn-offline-cache.mtree; \ ${RM} -r ${WRKDIR}; \ fi post-fetch: @if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX} ]; then \ ${CAT} ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.? > \ ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}; \ fi post-extract: # Move extracted sources to appropriate locations ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/chromium-${CHROMIUM_VER} ${WRKSRC} ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${PORTNAME}-${ELECTRON_VER} ${WRKSRC}/electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_nan}-${NAN_VER} \ ${WRKSRC}/third_party/nan ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_node}-${NODE_VER} \ ${WRKSRC}/third_party/electron_node ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_squirrel_mac}-${SQUIRREL_MAC_VER} \ ${WRKSRC}/third_party/squirrel.mac ${MKDIR} ${WRKSRC}/third_party/squirrel.mac/vendor ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reactiveobjc}-${REACTIVEOBJC_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/ReactiveObjC ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_mantle}-${MANTLE_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/Mantle ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reclient_configs}-${ENGFLOW_RECLIENT_CONFIGS_VER} \ ${WRKSRC}/third_party/engflow-reclient-configs # Install node modules for electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/yarn-offline-cache ${WRKDIR} ${ECHO_CMD} 'yarn-offline-mirror "../../../yarn-offline-cache"' >> ${WRKSRC}/electron/.yarnrc ${MV} ${WRKSRC}/electron/package.json ${WRKSRC}/electron/package.json.bak ${CP} ${FILESDIR}/package.json ${WRKSRC}/electron cd ${WRKSRC}/electron && \ ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache yarn --frozen-lockfile --offline pre-patch: ${SH} ${FILESDIR}/apply-electron-patches.sh ${WRKSRC} # ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete # ${FIND} ${WRKSRC} -type f -name '*~' -print -delete pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig freetype harfbuzz-ng icu libdrm libevent \ libpng libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn gen out/${BUILDTYPE} \ --args='import("//electron/build/args/${GN_FILE}") ${GN_ARGS}' # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_TARGETS} post-build-DIST-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_DIST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${CP} chromedriver.zip chromedriver-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} dist.zip electron-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} mksnapshot.zip mksnapshot-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${SHA256} -r *-v${ELECTRON_VER}-freebsd-*.zip | ${SED} -e 's/ / */' > SHASUMS256.txt do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .for f in electron mksnapshot v8_context_snapshot_generator ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 ${STAGEDIR}${DATADIR}/libvulkan.so .for f in LICENSE LICENSES.chromium.html snapshot_blob.bin v8_context_snapshot.bin version vk_swiftshader_icd.json ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in chrome_100_percent.pak chrome_200_percent.pak resources.pak ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/locales ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/locales/*.pak ${STAGEDIR}${DATADIR}/locales ${MKDIR} ${STAGEDIR}${DATADIR}/resources .for f in default_app.asar ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/resources/${f} ${STAGEDIR}${DATADIR}/resources .endfor cd ${WRKSRC}/out/${BUILDTYPE}/gen && ${COPYTREE_SHARE} node_headers ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/electron/buildflags ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/v8/embedded.S ${STAGEDIR}${DATADIR} ${RLN} ${STAGEDIR}${DATADIR}/electron ${STAGEDIR}${PREFIX}/bin/electron${PKGNAMESUFFIX} post-install-DIST-on: ${MKDIR} ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/SHASUMS256.txt ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*-v${ELECTRON_VER}-freebsd-*.zip ${STAGEDIR}${DATADIR}/releases post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${DATADIR}/chromedriver do-test: # Note 1: "npm install" will run before actual tests are executed # Note 2: Xvfb or something similar is necessary for headless testing cd ${WRKSRC}/electron && \ ${SETENV} ${TEST_ENV} ELECTRON_OUT_DIR=${BUILDTYPE} LOCAL_GIT_DIRECTORY=${LOCALBASE} \ npm run test -- --ci .include diff --git a/devel/electron33/Makefile b/devel/electron33/Makefile index afe315f7cdbe..1d138975809f 100644 --- a/devel/electron33/Makefile +++ b/devel/electron33/Makefile @@ -1,454 +1,454 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER} PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v33.3.2/:chromium \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.0:chromium \ chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.1:chromium \ chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.2:chromium \ pulseaudio-${PULSEV}.tar.gz:pulseaudio \ electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= chromium-${CHROMIUM_VER}${EXTRACT_SUFX} \ ${DISTFILES:C/:[^:]+$//:C/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}\.[0-9]//} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS WWW= https://electronjs.org/ LICENSE= BSD3CLAUSE LGPL21 MPL11 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/electron/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 FETCH_DEPENDS= yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} EXTRACT_DEPENDS=yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} PATCH_DEPENDS= git:devel/git \ jq:textproc/jq BUILD_DEPENDS= gperf:devel/gperf \ bindgen:devel/rust-bindgen-cli \ yasm:devel/yasm \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ rustc:lang/rust \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libva.so:multimedia/libva \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils TEST_DEPENDS= git:devel/git \ ${PYTHON_PKGNAMEPREFIX}python-dbusmock>0:devel/py-python-dbusmock@${PY_FLAVOR} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} USES= bison compiler:c++17-lang cpe gettext-tools gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja nodejs:20,build \ pkgconfig python:build,test shebangfix tar:xz xorg CPE_VENDOR= electronjs USE_GITHUB= yes GH_TUPLE= nodejs:node:v${NODE_VER}:node \ nodejs:nan:${NAN_VER}:nan \ Squirrel:Squirrel.Mac:${SQUIRREL_MAC_VER}:squirrel_mac \ ReactiveCocoa:ReactiveObjC:${REACTIVEOBJC_VER}:reactiveobjc \ Mantle:Mantle:${MANTLE_VER}:mantle \ EngFlow:reclient-configs:${ENGFLOW_RECLIENT_CONFIGS_VER}:reclient_configs USE_GL= gbm gl glesv2 -USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 libxslt pango +USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 libxslt pango USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xrandr \ xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include ALL_TARGET= electron electron:node_headers POST_BUILD_TARGETS= licenses version POST_BUILD_DIST_TARGETS=electron_dist_zip electron_chromedriver_zip \ electron_mksnapshot_zip DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} BINARY_ALIAS= python3=${PYTHON_CMD} BUNDLE_LIBS= yes NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_log_error_not_reached=true \ enable_nacl=false \ enable_remoting=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ chrome_pgo_phase=0 \ extra_cflags="${CFLAGS}" \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" \ override_electron_version="${ELECTRON_VER}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} OPTIONS_DEFINE= CODECS CUPS DEBUG DIST DRIVER KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE ALSA PULSEAUDIO SNDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DIST_DESC= Build distribution zip files DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) PIPEWIRE_DESC= Screen capture via PipeWire ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_FILE=testing.gn \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_FILE=release.gn \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DIST_IMPLIES= DRIVER DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb5.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb5.so.3:security/krb5 PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER CHROMIUM_VER= 130.0.6723.191 # See ${WRKSRC}/electron/DEPS for NODE_VER NODE_VER= 20.18.3 # See ${WRKSRC}/electron/DEPS for NAN_VER NAN_VER= e14bdcd1f72d62bca1d541b66da43130384ec213 # See ${WRKSRC}/electron/DEPS for SQUIRREL_MAC_VER SQUIRREL_MAC_VER= 0e5d146ba13101a1302d59ea6e6e0b3cace4ae38 # See ${WRKSRC}/electron/DEPS for REACTIVEOBJC_VER REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 # See ${WRKSRC}/electron/DEPS for ENGFLOW_RECLIENT_CONFIGS_VER ENGFLOW_RECLIENT_CONFIGS_VER= 955335c30a752e9ef7bff375baab5e0819b6c00d YARN_TIMESTAMP= 61171200 .include "Makefile.version" .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} CFLAGS+= -Wno-error=implicit-function-declaration .if ${ARCH} == "aarch64" PLIST_SUB+= AARCH64="" \ AMD64="@comment " \ I386="@comment " \ NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == "amd64" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="" \ I386="@comment " \ NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="@comment " \ I386="" \ NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build electron, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-fetch: @${MKDIR} ${DISTDIR}/${DIST_SUBDIR} if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} ]; \ then ${MKDIR} ${WRKDIR}; \ ${ECHO_CMD} 'yarn-offline-mirror "./yarn-offline-cache"' >> \ ${WRKDIR}/.yarnrc; \ ${CP} ${FILESDIR}/package.json ${FILESDIR}/yarn.lock ${WRKDIR}; \ cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache \ yarn --frozen-lockfile --ignore-scripts; \ ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ @yarn-offline-cache.mtree; \ ${RM} -r ${WRKDIR}; \ fi post-fetch: @if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX} ]; then \ ${CAT} ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.? > \ ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}; \ fi post-extract: # Move extracted sources to appropriate locations ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/chromium-${CHROMIUM_VER} ${WRKSRC} ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${PORTNAME}-${ELECTRON_VER} ${WRKSRC}/electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_nan}-${NAN_VER} \ ${WRKSRC}/third_party/nan ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_node}-${NODE_VER} \ ${WRKSRC}/third_party/electron_node ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_squirrel_mac}-${SQUIRREL_MAC_VER} \ ${WRKSRC}/third_party/squirrel.mac ${MKDIR} ${WRKSRC}/third_party/squirrel.mac/vendor ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reactiveobjc}-${REACTIVEOBJC_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/ReactiveObjC ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_mantle}-${MANTLE_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/Mantle ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reclient_configs}-${ENGFLOW_RECLIENT_CONFIGS_VER} \ ${WRKSRC}/third_party/engflow-reclient-configs # Install node modules for electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/yarn-offline-cache ${WRKDIR} ${ECHO_CMD} 'yarn-offline-mirror "../../../yarn-offline-cache"' >> ${WRKSRC}/electron/.yarnrc ${MV} ${WRKSRC}/electron/package.json ${WRKSRC}/electron/package.json.bak ${CP} ${FILESDIR}/package.json ${WRKSRC}/electron cd ${WRKSRC}/electron && \ ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache yarn --frozen-lockfile --offline pre-patch: ${SH} ${FILESDIR}/apply-electron-patches.sh ${WRKSRC} # ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete # ${FIND} ${WRKSRC} -type f -name '*~' -print -delete pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig freetype harfbuzz-ng icu libdrm libevent \ libpng libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn gen out/${BUILDTYPE} \ --args='import("//electron/build/args/${GN_FILE}") ${GN_ARGS}' # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_TARGETS} post-build-DIST-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_DIST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${CP} chromedriver.zip chromedriver-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} dist.zip electron-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} mksnapshot.zip mksnapshot-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${SHA256} -r *-v${ELECTRON_VER}-freebsd-*.zip | ${SED} -e 's/ / */' > SHASUMS256.txt do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .for f in electron mksnapshot v8_context_snapshot_generator ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 ${STAGEDIR}${DATADIR}/libvulkan.so .for f in LICENSE LICENSES.chromium.html snapshot_blob.bin v8_context_snapshot.bin version vk_swiftshader_icd.json ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in chrome_100_percent.pak chrome_200_percent.pak resources.pak ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/locales ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/locales/*.pak ${STAGEDIR}${DATADIR}/locales ${MKDIR} ${STAGEDIR}${DATADIR}/resources .for f in default_app.asar ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/resources/${f} ${STAGEDIR}${DATADIR}/resources .endfor cd ${WRKSRC}/out/${BUILDTYPE}/gen && ${COPYTREE_SHARE} node_headers ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/electron/buildflags ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/v8/embedded.S ${STAGEDIR}${DATADIR} ${RLN} ${STAGEDIR}${DATADIR}/electron ${STAGEDIR}${PREFIX}/bin/electron${PKGNAMESUFFIX} post-install-DIST-on: ${MKDIR} ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/SHASUMS256.txt ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*-v${ELECTRON_VER}-freebsd-*.zip ${STAGEDIR}${DATADIR}/releases post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${DATADIR}/chromedriver do-test: # Note 1: "npm install" will run before actual tests are executed # Note 2: Xvfb or something similar is necessary for headless testing cd ${WRKSRC}/electron && \ ${SETENV} ${TEST_ENV} ELECTRON_OUT_DIR=${BUILDTYPE} LOCAL_GIT_DIRECTORY=${LOCALBASE} \ npm run test -- --ci .include diff --git a/devel/electron34/Makefile b/devel/electron34/Makefile index 1e084e3161be..9d5b5b2dbcb9 100644 --- a/devel/electron34/Makefile +++ b/devel/electron34/Makefile @@ -1,454 +1,454 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER} PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v34.3.2/:chromium \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.0:chromium \ chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.1:chromium \ chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.2:chromium \ pulseaudio-${PULSEV}.tar.gz:pulseaudio \ electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= chromium-${CHROMIUM_VER}${EXTRACT_SUFX} \ ${DISTFILES:C/:[^:]+$//:C/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}\.[0-9]//} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS WWW= https://electronjs.org/ LICENSE= BSD3CLAUSE LGPL21 MPL11 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/electron/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 FETCH_DEPENDS= yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} EXTRACT_DEPENDS=yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} PATCH_DEPENDS= git:devel/git \ jq:textproc/jq BUILD_DEPENDS= gperf:devel/gperf \ bindgen:devel/rust-bindgen-cli \ yasm:devel/yasm \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ rustc:lang/rust \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libva.so:multimedia/libva \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils TEST_DEPENDS= git:devel/git \ ${PYTHON_PKGNAMEPREFIX}python-dbusmock>0:devel/py-python-dbusmock@${PY_FLAVOR} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} USES= bison compiler:c++17-lang cpe gettext-tools gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja nodejs:20,build \ pkgconfig python:build,test shebangfix tar:xz xorg CPE_VENDOR= electronjs USE_GITHUB= yes GH_TUPLE= nodejs:node:v${NODE_VER}:node \ nodejs:nan:${NAN_VER}:nan \ Squirrel:Squirrel.Mac:${SQUIRREL_MAC_VER}:squirrel_mac \ ReactiveCocoa:ReactiveObjC:${REACTIVEOBJC_VER}:reactiveobjc \ Mantle:Mantle:${MANTLE_VER}:mantle \ EngFlow:reclient-configs:${ENGFLOW_RECLIENT_CONFIGS_VER}:reclient_configs USE_GL= gbm gl glesv2 -USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 libxslt pango +USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 libxslt pango USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xrandr \ xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include ALL_TARGET= electron electron:node_headers POST_BUILD_TARGETS= licenses version POST_BUILD_DIST_TARGETS=electron_dist_zip electron_chromedriver_zip \ electron_mksnapshot_zip DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} BINARY_ALIAS= python3=${PYTHON_CMD} BUNDLE_LIBS= yes NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_nacl=false \ enable_remoting=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ chrome_pgo_phase=0 \ extra_cflags="${CFLAGS}" \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" \ override_electron_version="${ELECTRON_VER}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} OPTIONS_DEFINE= CODECS CUPS DEBUG DIST DRIVER KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE ALSA PULSEAUDIO SNDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DIST_DESC= Build distribution zip files DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) PIPEWIRE_DESC= Screen capture via PipeWire ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_FILE=testing.gn \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_FILE=release.gn \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DIST_IMPLIES= DRIVER DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb5.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb5.so.3:security/krb5 PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER CHROMIUM_VER= 132.0.6834.210 # See ${WRKSRC}/electron/DEPS for NODE_VER NODE_VER= 20.18.3 # See ${WRKSRC}/electron/DEPS for NAN_VER NAN_VER= e14bdcd1f72d62bca1d541b66da43130384ec213 # See ${WRKSRC}/electron/DEPS for SQUIRREL_MAC_VER SQUIRREL_MAC_VER= 0e5d146ba13101a1302d59ea6e6e0b3cace4ae38 # See ${WRKSRC}/electron/DEPS for REACTIVEOBJC_VER REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 # See ${WRKSRC}/electron/DEPS for ENGFLOW_RECLIENT_CONFIGS_VER ENGFLOW_RECLIENT_CONFIGS_VER= 955335c30a752e9ef7bff375baab5e0819b6c00d YARN_TIMESTAMP= 61171200 .include "Makefile.version" .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} CFLAGS+= -Wno-error=implicit-function-declaration .if ${ARCH} == "aarch64" PLIST_SUB+= AARCH64="" \ AMD64="@comment " \ I386="@comment " \ NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == "amd64" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="" \ I386="@comment " \ NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="@comment " \ I386="" \ NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build electron, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-fetch: @${MKDIR} ${DISTDIR}/${DIST_SUBDIR} if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} ]; \ then ${MKDIR} ${WRKDIR}; \ ${ECHO_CMD} 'yarn-offline-mirror "./yarn-offline-cache"' >> \ ${WRKDIR}/.yarnrc; \ ${CP} ${FILESDIR}/package.json ${FILESDIR}/yarn.lock ${WRKDIR}; \ cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache \ yarn --frozen-lockfile --ignore-scripts; \ ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ @yarn-offline-cache.mtree; \ ${RM} -r ${WRKDIR}; \ fi post-fetch: @if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX} ]; then \ ${CAT} ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.? > \ ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}; \ fi post-extract: # Move extracted sources to appropriate locations ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/chromium-${CHROMIUM_VER} ${WRKSRC} ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${PORTNAME}-${ELECTRON_VER} ${WRKSRC}/electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_nan}-${NAN_VER} \ ${WRKSRC}/third_party/nan ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_node}-${NODE_VER} \ ${WRKSRC}/third_party/electron_node ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_squirrel_mac}-${SQUIRREL_MAC_VER} \ ${WRKSRC}/third_party/squirrel.mac ${MKDIR} ${WRKSRC}/third_party/squirrel.mac/vendor ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reactiveobjc}-${REACTIVEOBJC_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/ReactiveObjC ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_mantle}-${MANTLE_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/Mantle ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reclient_configs}-${ENGFLOW_RECLIENT_CONFIGS_VER} \ ${WRKSRC}/third_party/engflow-reclient-configs # Install node modules for electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/yarn-offline-cache ${WRKDIR} ${ECHO_CMD} 'yarn-offline-mirror "../../../yarn-offline-cache"' >> ${WRKSRC}/electron/.yarnrc ${MV} ${WRKSRC}/electron/package.json ${WRKSRC}/electron/package.json.bak ${CP} ${FILESDIR}/package.json ${WRKSRC}/electron cd ${WRKSRC}/electron && \ ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache yarn --frozen-lockfile --offline pre-patch: ${SH} ${FILESDIR}/apply-electron-patches.sh ${WRKSRC} # ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete # ${FIND} ${WRKSRC} -type f -name '*~' -print -delete pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz-ng libdrm libevent libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn gen out/${BUILDTYPE} \ --args='import("//electron/build/args/${GN_FILE}") ${GN_ARGS}' # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_TARGETS} post-build-DIST-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_DIST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${CP} chromedriver.zip chromedriver-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} dist.zip electron-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} mksnapshot.zip mksnapshot-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${SHA256} -r *-v${ELECTRON_VER}-freebsd-*.zip | ${SED} -e 's/ / */' > SHASUMS256.txt do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .for f in electron mksnapshot v8_context_snapshot_generator ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 ${STAGEDIR}${DATADIR}/libvulkan.so .for f in LICENSE LICENSES.chromium.html snapshot_blob.bin v8_context_snapshot.bin version vk_swiftshader_icd.json ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in chrome_100_percent.pak chrome_200_percent.pak resources.pak ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/locales ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/locales/*.pak ${STAGEDIR}${DATADIR}/locales ${MKDIR} ${STAGEDIR}${DATADIR}/resources .for f in default_app.asar ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/resources/${f} ${STAGEDIR}${DATADIR}/resources .endfor cd ${WRKSRC}/out/${BUILDTYPE}/gen && ${COPYTREE_SHARE} node_headers ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/electron/buildflags ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/v8/embedded.S ${STAGEDIR}${DATADIR} ${RLN} ${STAGEDIR}${DATADIR}/electron ${STAGEDIR}${PREFIX}/bin/electron${PKGNAMESUFFIX} post-install-DIST-on: ${MKDIR} ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/SHASUMS256.txt ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*-v${ELECTRON_VER}-freebsd-*.zip ${STAGEDIR}${DATADIR}/releases post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${DATADIR}/chromedriver do-test: # Note 1: "npm install" will run before actual tests are executed # Note 2: Xvfb or something similar is necessary for headless testing cd ${WRKSRC}/electron && \ ${SETENV} ${TEST_ENV} ELECTRON_OUT_DIR=${BUILDTYPE} LOCAL_GIT_DIRECTORY=${LOCALBASE} \ npm run test -- --ci .include diff --git a/devel/geany-plugins/files/Makefile.common b/devel/geany-plugins/files/Makefile.common index 71d0b10c57a4..22b42e114ca1 100644 --- a/devel/geany-plugins/files/Makefile.common +++ b/devel/geany-plugins/files/Makefile.common @@ -1,52 +1,52 @@ .include "${.CURDIR}/../../devel/geany-plugins/files/bsd.geany-plugins.mk" MASTER_SITES= http://plugins.geany.org/geany-plugins/ DISTNAME= geany-plugins-${PORTVERSION} DISTINFO_FILE= ${.CURDIR}/../../devel/geany-plugins/distinfo GNU_CONFIGURE= yes USES+= gettext-tools gmake gnome libtool pkgconfig tar:bzip2 USE_GNOME+= intltool LIB_DEPENDS+= libgeany.so:devel/geany # geany-plugins-l10n is not a plugin, thus special treatment .if ${PORTNAME} == "geany-plugins-l10n" GEANY_PLUGIN= po po_SWITCH= --enable-nls USES+= localbase .else .if ${PORTNAME} == "geany-plugin-markdown" # required by this plugin on GCC only archs USES+= compiler:c++11-lang .endif INSTALL_TARGET= install-strip LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz -USE_GNOME+= cairo gdkpixbuf2 gtk30 +USE_GNOME+= cairo gdkpixbuf gtk30 .endif GEANY_PLUGIN?= ${PORTNAME:S,geany-plugin-,,} ${GEANY_PLUGIN}_DIR?= ${GEANY_PLUGIN} ${GEANY_PLUGIN}_SWITCH?= --enable-${${GEANY_PLUGIN}_DIR} CONFIGURE_ARGS+= ${${GEANY_PLUGIN}_SWITCH} BUILD_WRKSRC= ${WRKSRC}/${${GEANY_PLUGIN}_DIR} INSTALL_WRKSRC= ${BUILD_WRKSRC} DATADIR= share/geany-plugins DOCSDIR= share/doc/geany-plugins .if ${GEANY_UTIL:M${GEANY_PLUGIN}} LIB_DEPENDS+= libgeanypluginutils.so:devel/geany-plugin-utilslib CONFIGURE_ARGS+= --enable-utilslib pre-build: (cd ${WRKSRC}/utils; ${DO_MAKE_BUILD} ${ALL_TARGET}) .endif post-configure: ${FIND} ${BUILD_WRKSRC} -name Makefile | ${XARGS} \ ${REINPLACE_CMD} -e '/^geanypluginsdir/s,${LOCALBASE},${PREFIX},' diff --git a/devel/geany/Makefile b/devel/geany/Makefile index f198594bbfc1..d022c34b54e6 100644 --- a/devel/geany/Makefile +++ b/devel/geany/Makefile @@ -1,49 +1,49 @@ PORTNAME= geany PORTVERSION= 2.0 PORTREVISION= 2 CATEGORIES= devel editors MASTER_SITES= https://download.geany.org/ \ SF MAINTAINER= madpilot@FreeBSD.org COMMENT= Fast and lightweight GTK IDE WWW= https://www.geany.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang desktop-file-utils gettext-tools gmake \ gnome iconv libtool localbase pathfix pkgconfig python:build \ shebangfix tar:bzip2 -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool USE_LDCONFIG= yes SHEBANG_FILES= scripts/gen-api-gtkdoc.py GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS NLS THEMES VTE OPTIONS_DEFAULT= VTE OPTIONS_SUB= yes THEMES_DESC= Additional color schemes VTE_DESC= Embedded virtual terminal NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls THEMES_RUN_DEPENDS= ${LOCALBASE}/share/geany/colorschemes/bespin.conf:devel/geany-themes VTE_USE= GNOME=vte3 VTE_CONFIGURE_ENABLE= vte post-patch-DOCS-off: @${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.in post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS/ s|po||' ${WRKSRC}/Makefile.in .include diff --git a/devel/gitg/Makefile b/devel/gitg/Makefile index 591e57937a36..9350f878a0d6 100644 --- a/devel/gitg/Makefile +++ b/devel/gitg/Makefile @@ -1,54 +1,54 @@ PORTNAME= gitg PORTVERSION= 41 PORTREVISION= 6 CATEGORIES= devel deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/ PATCHFILES+= 1978973b1284.patch:-p1 # https://gitlab.gnome.org/GNOME/gitg/-/merge_requests/175 MAINTAINER= kwm@FreeBSD.org COMMENT= GTK-based git repository viewer WWW= https://wiki.gnome.org/Apps/Gitg LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libenchant.so:textproc/enchant \ libgee-0.8.so:devel/libgee \ libgit2.so:devel/libgit2 \ libgit2-glib-1.0.so:devel/libgit2-glib \ libjson-glib-1.0.so:devel/json-glib \ libpeas-1.0.so:devel/libpeas \ libgspell-1.so:textproc/gspell \ libdazzle-1.0.so:x11-toolkits/libdazzle \ libsecret-1.so:security/libsecret RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas CONFLICTS= gitg0 PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext gnome localbase \ meson pathfix pkgconfig python:build tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 gtk30 gtksourceview4 intltool introspection +USE_GNOME= cairo gdkpixbuf gtk30 gtksourceview4 intltool introspection USE_LDCONFIG= yes GLIB_SCHEMAS= org.gnome.gitg.gschema.xml BINARY_ALIAS= python3=${PYTHON_VERSION} OPTIONS_DEFINE= PYTHON OPTIONS_SUB= yes PYTHON_USES= python PYTHON_MESON_TRUE= python PYTHON_USE= GNOME=pygobject3 post-install-PYTHON-on: (cd ${STAGEDIR}${PREFIX} \ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) .include diff --git a/devel/gwenhywfar/Makefile b/devel/gwenhywfar/Makefile index c2b21e65be42..2a442fd15772 100644 --- a/devel/gwenhywfar/Makefile +++ b/devel/gwenhywfar/Makefile @@ -1,112 +1,112 @@ PORTNAME= gwenhywfar PORTVERSION= 5.12.0 PORTREVISION?= 0 CATEGORIES= devel net security MASTER_SITES= https://www.aquamaniac.de/rdm/attachments/download/529/ MAINTAINER?= jhale@FreeBSD.org COMMENT?= Multi-platform helper library for networking and security applications WWW= https://www.aquamaniac.de/rdm/projects/gwenhywfar LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gmake libtool localbase:ldflags pathfix pkgconfig CPE_VENDOR= aquamaniac USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-release="yes" \ --with-guis="${_GWEN_GUI}" INSTALL_TARGET= install-strip BINARY_ALIAS= make=${GMAKE} _GWEN_SHLIB_VER=79 PLIST_SUB= GWEN_SHLIB_VER="${_GWEN_SHLIB_VER}" \ GWEN_MAJ_MIN_VER="${PORTVERSION:R}" \ GWEN_MIN_PATCH_VER="${PORTVERSION:R:E}.${PORTVERSION:E}" .if !defined(_GWEN_GUI) LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libgpg-error.so:security/libgpg-error USES+= gettext iconv:translit OPTIONS_DEFINE= DOXYGEN LIBXML2 MEMDEBUG OPENSSL OPTIONS_DEFAULT= OPENSSL OPTIONS_SUB= yes DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOXYGEN_CONFIGURE_ENABLE= full-doc LIBXML2_USES= gnome LIBXML2_USE= gnome=libxml2 LIBXML2_CONFIGURE_ON= --with-libxml2-code=yes MEMDEBUG_DESC= Enable memory debugger statistic MEMDEBUG_CONFIGURE_ENABLE= memtrace OPENSSL_USES= ssl OPENSSL_CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" OPENSSL_CONFIGURE_ENV_OFF= OPENSSL_CFLAGS="" \ OPENSSL_LIBS="" .else LIB_DEPENDS= libgwenhywfar.so:devel/gwenhywfar BUILD_WRKSRC= ${WRKSRC}/gui INSTALL_WRKSRC= ${WRKSRC}/gui/${_GWEN_GUI} . if ${_GWEN_GUI} == "fox16" LIB_DEPENDS+= libFOX-1.6.so:x11-toolkits/fox16 CONFIGURE_ARGS+=--with-fox-includes=${LOCALBASE}/include/fox-1.6 \ --with-fox-libs=${LOCALBASE}/lib CXXFLAGS+= -Dregister= . elif ${_GWEN_GUI} == "gtk2" LIB_DEPENDS+= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig USES+= gettext-runtime gnome -USE_GNOME+= cairo gdkpixbuf2 gtk20 +USE_GNOME+= cairo gdkpixbuf gtk20 . elif ${_GWEN_GUI} == "gtk3" LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz USES+= gettext-runtime gnome -USE_GNOME+= cairo gdkpixbuf2 gtk30 +USE_GNOME+= cairo gdkpixbuf gtk30 . elif ${_GWEN_GUI} == "qt5" USES+= compiler:c++11-lang gl qmake:no_env qt:5 USE_GL= gl USE_QT= core gui widgets \ buildtools:build qmake:build CONFIGURE_ARGS+=--with-qt5-qmake=${QMAKE} \ --with-qt5-moc=${MOC} \ --with-qt5-uic=${UIC} . endif .endif post-patch: ${REINPLACE_CMD} -e '/^LIBS/s|$$| @i18n_libs@|' \ ${WRKSRC}/tools/gcttool/Makefile.in \ ${WRKSRC}/tools/typemaker/Makefile.in \ ${WRKSRC}/tools/xmlmerge/Makefile.in .if defined(_GWEN_GUI) @${FIND} ${BUILD_WRKSRC} -name "Makefile.in" -type f | ${XARGS} \ ${REINPLACE_CMD} -e 's|[$$][(]top_builddir[)]/src/[$$][(]gwenhywfar_internal_libname[)]|$$(gwenhywfar_libs)|g' \ -e 's|[$$][(]builddir[)]/../cpp/libgwengui-cpp.la|-lgwengui-cpp|g' \ -e 's|[$$][(]top_builddir[)]/gui/cpp/libgwengui-cpp.la|-lgwengui-cpp|g' \ -e '/^SUBDIRS/s|cpp ||g' .endif post-build-DOXYGEN-on: @cd ${WRKSRC} && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD} srcdoc post-install-DOXYGEN-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc cd ${WRKSRC}/apidoc && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/apidoc @${FIND} -P ${STAGEDIR}${DOCSDIR} -type f 2>/dev/null | \ ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} .include diff --git a/devel/hs-ghcprofview/Makefile b/devel/hs-ghcprofview/Makefile index 52915d7de9a5..9482dd1f7501 100644 --- a/devel/hs-ghcprofview/Makefile +++ b/devel/hs-ghcprofview/Makefile @@ -1,111 +1,111 @@ PORTNAME= ghcprofview PORTVERSION= 0.1.0.2 PORTREVISION= 8 CATEGORIES= devel haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Graphical viewer for GHC profile files WWW= https://github.com/portnov/ghcprofview-hs LICENSE= BSD3CLAUSE BROKEN_aarch64= error: incompatible pointer to integer conversion assigning to 'ffi_arg' (aka 'unsigned long') from 'HsPtr' (aka 'void *') BUILD_DEPENDS= ghc-9.4.8:lang/ghc94 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= cabal gnome pkgconfig -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 introspection pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 introspection pango USE_CABAL= OneTuple-0.4.1.1_1 \ QuickCheck-2.14.3 \ StateVar-1.2.2 \ aeson-2.2.1.0_1 \ ansi-terminal-1.0.2 \ ansi-terminal-types-0.11.5_1 \ assoc-1.1_1 \ async-2.2.5 \ attoparsec-0.14.4_5 \ base-orphans-0.9.1 \ bifunctors-5.6.1_2 \ bitvec-1.1.5.0 \ blaze-builder-0.4.2.3 \ blaze-html-0.9.1.2_4 \ blaze-markup-0.8.3.0_1 \ cabal-doctest-1.0.9_3 \ colour-2.3.6 \ comonad-5.0.8_2 \ conduit-1.3.5 \ conduit-extra-1.3.6 \ contravariant-1.5.5 \ data-default-class-0.1.2.0 \ data-fix-0.3.2_5 \ distributive-0.6.2.1_1 \ dlist-1.0_1 \ foldable1-classes-compat-0.1_4 \ generically-0.1.1_2 \ ghc-prof-1.4.1.12 \ gi-atk-2.0.27 \ gi-cairo-1.0.29 \ gi-freetype2-2.0.4 \ gi-gdk-3.0.28 \ gi-gdkpixbuf-2.0.31 \ gi-gio-2.0.32 \ gi-glib-2.0.29 \ gi-gmodule-2.0.5 \ gi-gobject-2.0.30 \ gi-gtk-3.0.41 \ gi-harfbuzz-0.0.9 \ gi-pango-1.0.29 \ happy-1.20.1.1 \ hashable-1.4.3.0_1 \ haskell-gi-0.26.7 \ haskell-gi-base-0.26.4 \ haskell-gi-overloading-1.0 \ haskell-lexer-1.1.1 \ hsc2hs-0.68.10_1 \ indexed-traversable-0.1.3 \ indexed-traversable-instances-0.1.1.2_2 \ integer-conversion-0.1.0.1_1 \ integer-logarithms-1.0.3.1_5 \ mono-traversable-1.0.15.3 \ network-3.1.4.0_1 \ network-uri-2.6.4.2_1 \ pretty-show-1.10 \ primitive-0.9.0.0 \ random-1.2.1.2 \ regex-base-0.94.0.2_4 \ regex-tdfa-1.3.2.2_2 \ resourcet-1.3.0 \ safe-0.3.21_1 \ scientific-0.3.7.0_7 \ semialign-1.3_1 \ semigroupoids-6.0.0.1_1 \ split-0.2.5 \ splitmix-0.1.0.5 \ streaming-commons-0.2.2.6_1 \ strict-0.5_1 \ tagged-0.8.8 \ text-iso8601-0.1_1 \ text-short-0.1.5_3 \ th-abstraction-0.6.0.0_1 \ th-compat-0.1.4_4 \ these-1.2_1 \ time-compat-1.9.6.1_6 \ transformers-compat-0.7.2 \ typed-process-0.2.11.1 \ unliftio-core-0.2.1.0_3 \ unordered-containers-0.2.20_1 \ uuid-types-1.0.5.1 \ vector-0.13.1.0 \ vector-algorithms-0.9.0.1_3 \ vector-stream-0.1.0.1 \ witherable-0.4.2_4 \ xdg-basedir-0.2.2 \ xml-conduit-1.9.1.3 \ xml-types-0.3.8 \ zlib-0.6.3.0_4 .include diff --git a/devel/hs-threadscope/Makefile b/devel/hs-threadscope/Makefile index 93fbd238f001..a286729d9917 100644 --- a/devel/hs-threadscope/Makefile +++ b/devel/hs-threadscope/Makefile @@ -1,56 +1,56 @@ PORTNAME= threadscope PORTVERSION= 0.2.14.1 PORTREVISION= 2 CATEGORIES= devel haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Graphical tool for profiling parallel Haskell programs WWW= https://www.haskell.org/haskellwiki/ThreadScope LICENSE= BSD3CLAUSE BUILD_DEPENDS= ghc-9.2.8:lang/ghc92 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= cabal gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 +USE_GNOME= cairo gdkpixbuf glib20 gtk20 USE_CABAL= alex-3.5.2.0 \ ansi-terminal-1.1.2 \ ansi-terminal-types-1.1 \ cairo-0.13.11.0 \ colour-2.3.6 \ data-array-byte-0.1.0.1_4 \ file-embed-0.0.16.0 \ ghc-events-0.20.0.0_1 \ gio-0.13.11.0 \ glib-0.13.11.0 \ gtk-0.15.9 \ gtk2hs-buildtools-0.13.11.0 \ happy-2.1.4 \ happy-lib-2.1.4 \ hashable-1.4.7.0 \ hashtables-1.4.2 \ optparse-applicative-0.18.1.0_1 \ os-string-2.0.7 \ pango-0.13.11.0 \ prettyprinter-1.7.1 \ prettyprinter-ansi-terminal-1.1.3 \ primitive-0.9.0.0_2 \ random-1.3.0 \ splitmix-0.1.1 \ tagged-0.8.9 \ tasty-1.5.3 \ temporary-1.3 \ transformers-compat-0.7.2 \ utf8-string-1.0.2 \ vector-0.13.2.0_1 \ vector-stream-0.1.0.1_3 CABAL_REVISION= 3 BROKEN_aarch64= ld.lld: error: relocation R_AARCH64_PREL64 cannot be used against symbol ... recompile with -fPIC .include diff --git a/devel/juce/Makefile b/devel/juce/Makefile index 0eff3e6f9061..0b42ae7957d6 100644 --- a/devel/juce/Makefile +++ b/devel/juce/Makefile @@ -1,101 +1,101 @@ PORTNAME= juce DISTVERSION= 8.0.6 PORTREVISION= 2 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ application framework to develop desktop and mobile applications WWW= https://juce.com/ \ https://github.com/juce-framework/JUCE LICENSE= JUCE6 LICENSE_NAME= JUCE 6 End User License Agreement LICENSE_FILE= ${WRKSRC}/LICENSE.md LICENSE_PERMS= auto-accept dist-mirror pkg-mirror BROKEN_armv7= compilation fails due to the 'mb' variable conflict, pending https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283492 BROKEN_riscv64= Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) BUILD_DEPENDS= ladspa>0:audio/ladspa LIB_DEPENDS= libasound.so:audio/alsa-lib \ libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjavascriptcoregtk-4.0.so:www/webkit2-gtk@40 \ libpng16.so:graphics/png \ libsoup-2.4.so:devel/libsoup \ libsysinfo.so:devel/libsysinfo USES= cmake compiler:c++17-lang dos2unix gl gnome localbase:ldflags pkgconfig xorg DOS2UNIX_FILES= modules/juce_core/juce_core.h \ modules/juce_dsp/containers/juce_AudioBlock_test.cpp -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_GL= gl USE_XORG= x11 xcomposite xcursor xext xinerama xorgproto xrandr USE_GITHUB= yes GH_ACCOUNT= juce-framework GH_PROJECT= JUCE CMAKE_ON= JUCE_BUILD_EXTRAS #CMAKE_ON+= JUCE_BUILD_EXAMPLES CXXFLAGS+= -I${LOCALBASE}/include/freetype2 -DJUCE_INCLUDE_PNGLIB_CODE=0 LDFLAGS+= -pthread -lfreetype -lpng16 LDFLAGS+= -lGL # while building NetworkGraphicsDemo ld: error: undefined symbol: glXGetCurrentContext referenced by ld-temp.o LDFLAGS+= -lasound # while building AudioPerformanceTest ld: error: undefined symbol: snd_seq_system_info_sizeof LDFLAGS+= -lsysinfo # while building Projucer ld: error: undefined symbol: sysinfo CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} -lexecinfo" # for the step 'Building juceaide' during configure phase: https://github.com/juce-framework/JUCE/issues/877 PLIST_SUB+= VERSION=${PORTVERSION} OPTIONS_DEFINE= DEMOS DEMOS_DESC= Build and install demo programs DEMOS_USES= gnome pkgconfig DEMOS_CMAKE_BOOL= JUCE_BUILD_EXAMPLES DEMOS_LDFLAGS= -lexecinfo -DEMOS_USE= GNOME=atk,cairo,gdkpixbuf2,gtk30,pango +DEMOS_USE= GNOME=atk,cairo,gdkpixbuf,gtk30,pango DEMOS_LIB_DEPENDS= libcurl.so:ftp/curl \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \ libsoup-2.4.so:devel/libsoup DEMO_FILES= \ AnalyticsCollectionDemo AnimationAppDemo AnimationDemo AudioAppDemo AudioLatencyDemo AudioPlaybackDemo AudioPluginDemo AudioRecordingDemo AudioSettingsDemo AudioSynthesiserDemo \ BlocksDrawingDemo BlocksMonitorDemo BlocksSynthDemo BouncingBallWavetableDemo Box2DDemo ChildProcessDemo CodeEditorDemo ComponentDemo ComponentTransformsDemo ConvolutionDemo \ CryptographyDemo DSPModulePluginDemo DialogsDemo FIRFilterDemo FlexBoxDemo FontsDemo GainDemo GraphicsDemo GridDemo HelloWorldDemo \ IIRFilterDemo ImagesDemo InAppPurchasesDemo JavaScriptDemo KeyMappingsDemo LiveConstantDemo LookAndFeelDemo MDIDemo MPEDemo MenusDemo \ MidiDemo MultiTouchDemo MultithreadingDemo NetworkingDemo OSCDemo OpenGLAppDemo OpenGLDemo OscillatorDemo OverdriveDemo PluckedStringsDemo \ PropertiesDemo SIMDRegisterDemo SimpleFFTDemo StateVariableFilterDemo SystemInfoDemo TimersAndEventsDemo UnitTestsDemo ValueTreesDemo WaveShaperTanhDemo WebBrowserDemo \ WidgetsDemo WindowsDemo XMLandJSONDemo DEMOS_PLIST_FILES= ${DEMO_FILES:S/^/bin\/${PORTNAME}-/} DEMOS_BROKEN= build fails with JUCE_BUILD_EXAMPLES=ON, see https://github.com/juce-framework/JUCE/issues/1410 post-patch: # fix fonts.conf path @${REINPLACE_CMD} -i '' -e ' \ s|"/etc/fonts/fonts.conf"|"${PREFIX}/etc/fonts/fonts.conf"| ; \ s|"/usr/share/fonts/fonts.conf"|"${PREFIX}/share/fonts/fonts.conf"| \ ' ${WRKSRC}/modules/juce_graphics/native/juce_Fonts_linux.cpp # fix JUCE modules path (but it still complains about the path) @${REINPLACE_CMD} -i '' -e ' \ s|"~/JUCE|"${PREFIX}/include/JUCE-${PORTVERSION}| \ ' ${WRKSRC}/extras/Projucer/Source/Settings/jucer_StoredSettings.cpp post-install: # install extras which are essential apps that aren't installed by the project for some reason .for exe in AudioPerformanceTest AudioPluginHost BinaryBuilder NetworkGraphicsDemo Projucer UnitTestRunner ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/extras/${exe}/${exe}_artefacts/Release/${exe} ${STAGEDIR}${PREFIX}/bin .endfor # strip juceaide ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/JUCE-${PORTVERSION}/juceaide # workaround for https://github.com/juce-framework/JUCE/issues/1502 @${REINPLACE_CMD} -e 's|.*VST3_HELPER\.cmake.*||' ${STAGEDIR}${PREFIX}/lib/cmake/JUCE-8.0.6/JUCEConfig.cmake do-install-DEMOS-on: .for e in ${DEMO_FILES} ${INSTALL_PROGRAM} `${FIND} ${BUILD_WRKSRC} -name ${e}` ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${e} .endfor .include diff --git a/devel/juce706/Makefile b/devel/juce706/Makefile index fd726bfee072..df237b5eb490 100644 --- a/devel/juce706/Makefile +++ b/devel/juce706/Makefile @@ -1,97 +1,97 @@ PORTNAME= juce DISTVERSION= 7.0.6 PORTREVISION= 2 CATEGORIES= devel PKGNAMESUFFIX= 706 MAINTAINER= yuri@FreeBSD.org COMMENT= C++ application framework to develop desktop and mobile applications WWW= https://juce.com/ LICENSE= JUCE6 LICENSE_NAME= JUCE 6 End User License Agreement LICENSE_FILE= ${WRKSRC}/LICENSE.md LICENSE_PERMS= auto-accept dist-mirror pkg-mirror BROKEN_riscv64= Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) BUILD_DEPENDS= ladspa>0:audio/ladspa LIB_DEPENDS= libasound.so:audio/alsa-lib \ libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjavascriptcoregtk-4.0.so:www/webkit2-gtk@40 \ libpng16.so:graphics/png \ libsoup-2.4.so:devel/libsoup \ libsysinfo.so:devel/libsysinfo USES= cmake compiler:c++11-lang dos2unix gl gnome localbase:ldflags pkgconfig xorg DOS2UNIX_FILES= modules/juce_core/juce_core.h \ modules/juce_dsp/containers/juce_AudioBlock_test.cpp -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_GL= gl USE_XORG= x11 xcomposite xcursor xext xinerama xorgproto xrandr USE_GITHUB= yes GH_ACCOUNT= juce-framework GH_PROJECT= JUCE CMAKE_ON= JUCE_BUILD_EXTRAS CXXFLAGS+= -I${LOCALBASE}/include/freetype2 -DJUCE_INCLUDE_PNGLIB_CODE=0 LDFLAGS+= -pthread -lfreetype -lpng16 LDFLAGS+= -lGL # while building NetworkGraphicsDemo ld: error: undefined symbol: glXGetCurrentContext referenced by ld-temp.o LDFLAGS+= -lasound # while building AudioPerformanceTest ld: error: undefined symbol: snd_seq_system_info_sizeof LDFLAGS+= -lsysinfo # while building Projucer ld: error: undefined symbol: sysinfo CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} -lexecinfo" # for the step 'Building juceaide' during configure phase: https://github.com/juce-framework/JUCE/issues/877 PLIST_SUB+= VERSION=${PORTVERSION} OPTIONS_DEFINE= DEMOS DEMOS_DESC= Build and install demo programs DEMOS_USES= gnome pkgconfig DEMOS_CMAKE_BOOL= JUCE_BUILD_EXAMPLES DEMOS_LDFLAGS= -lexecinfo -DEMOS_USE= GNOME=atk,cairo,gdkpixbuf2,gtk30,pango +DEMOS_USE= GNOME=atk,cairo,gdkpixbuf,gtk30,pango DEMOS_LIB_DEPENDS= libcurl.so:ftp/curl \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \ libsoup-2.4.so:devel/libsoup DEMO_FILES= \ AnalyticsCollectionDemo AnimationAppDemo AnimationDemo AudioAppDemo AudioLatencyDemo AudioPlaybackDemo AudioPluginDemo AudioRecordingDemo AudioSettingsDemo AudioSynthesiserDemo \ BlocksDrawingDemo BlocksMonitorDemo BlocksSynthDemo BouncingBallWavetableDemo Box2DDemo ChildProcessDemo CodeEditorDemo ComponentDemo ComponentTransformsDemo ConvolutionDemo \ CryptographyDemo DSPModulePluginDemo DialogsDemo FIRFilterDemo FlexBoxDemo FontsDemo GainDemo GraphicsDemo GridDemo HelloWorldDemo \ IIRFilterDemo ImagesDemo InAppPurchasesDemo JavaScriptDemo KeyMappingsDemo LiveConstantDemo LookAndFeelDemo MDIDemo MPEDemo MenusDemo \ MidiDemo MultiTouchDemo MultithreadingDemo NetworkingDemo OSCDemo OpenGLAppDemo OpenGLDemo OscillatorDemo OverdriveDemo PluckedStringsDemo \ PropertiesDemo SIMDRegisterDemo SimpleFFTDemo StateVariableFilterDemo SystemInfoDemo TimersAndEventsDemo UnitTestsDemo ValueTreesDemo WaveShaperTanhDemo WebBrowserDemo \ WidgetsDemo WindowsDemo XMLandJSONDemo DEMOS_PLIST_FILES= ${DEMO_FILES:S/^/bin\/${PORTNAME}-/} DEMOS_BROKEN= pending merge of patches from https://github.com/juce-framework/JUCE/pull/881 post-patch: # fix fonts.conf path @${REINPLACE_CMD} -i '' -e ' \ s|"/etc/fonts/fonts.conf"|"${PREFIX}/etc/fonts/fonts.conf"| ; \ s|"/usr/share/fonts/fonts.conf"|"${PREFIX}/share/fonts/fonts.conf"| \ ' ${WRKSRC}/modules/juce_graphics/native/juce_Fonts_linux.cpp # fix JUCE modules path (but it still complains about the path) @${REINPLACE_CMD} -i '' -e ' \ s|"~/JUCE|"${PREFIX}/include/JUCE-${PORTVERSION}| \ ' ${WRKSRC}/extras/Projucer/Source/Settings/jucer_StoredSettings.cpp post-install: # install extras which are essential apps that aren't installed by the project for some reason .for exe in AudioPerformanceTest AudioPluginHost BinaryBuilder NetworkGraphicsDemo Projucer UnitTestRunner ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/extras/${exe}/${exe}_artefacts/Release/${exe} ${STAGEDIR}${PREFIX}/bin .endfor # fix path and strip juceaide cd ${STAGEDIR}${PREFIX} && ${MV} bin/JUCE-${PORTVERSION}/juceaide bin/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/juceaide do-install-DEMOS-on: .for e in ${DEMO_FILES} ${INSTALL_PROGRAM} `${FIND} ${BUILD_WRKSRC} -name ${e}` ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${e} .endfor .include diff --git a/devel/libappindicator/Makefile b/devel/libappindicator/Makefile index ae5c1cf753a6..713167301ef6 100644 --- a/devel/libappindicator/Makefile +++ b/devel/libappindicator/Makefile @@ -1,57 +1,57 @@ PORTNAME= libappindicator PORTVERSION= ${MAJOR_VER}.${SNAPSHOT_VER:S/.//g}.${PATCH_VER:S/ubuntu//} PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://archive.ubuntu.com/ubuntu/pool/main/liba/${PORTNAME}/ DISTNAME= ${PORTNAME}_${MAJOR_VER}+${SNAPSHOT_VER}.orig PATCH_SITES= ${MASTER_SITES} PATCHFILES= ${PORTNAME}_${MAJOR_VER}+${SNAPSHOT_VER}-${PATCH_VER}.diff.gz PATCH_DIST_STRIP= -p1 MAINTAINER= tagattie@FreeBSD.org COMMENT= KSNI App Indicator library WWW= https://launchpad.net/libappindicator LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gnome-autogen.sh:devel/gnome-common \ gtkdocize:textproc/gtk-doc \ gsed:textproc/gsed LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libdbusmenu-gtk3.so:devel/libdbusmenu \ libharfbuzz.so:print/harfbuzz USES= autoreconf:build gmake gnome libtool pkgconfig USE_LDCONFIG= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 OPTIONS_DEFINE= VAPI OPTIONS_DEFAULT= VAPI OPTIONS_SUB= yes VAPI_USES= vala:build VAPI_CONFIGURE_ENV_OFF= ac_cv_path_VALA_API_GEN= \ ac_cv_path_VALAC= NO_WRKSUBDIR= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gtk-doc \ --with-gtk=3 INSTALL_TARGET= install-strip CONFIGURE_ENV+= ac_cv_path_SED=${LOCALBASE}/bin/gsed MAJOR_VER= 12.10.1 SNAPSHOT_VER= 20.10.20200706.1 PATCH_VER= 0ubuntu1 post-patch: @${REINPLACE_CMD} -e 's,has_mono=true,has_mono=disabled,' \ ${WRKSRC}/configure.ac pre-configure: cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh .include diff --git a/devel/libayatana-appindicator/Makefile b/devel/libayatana-appindicator/Makefile index 254ec34bc99c..2bfe1a4cd103 100644 --- a/devel/libayatana-appindicator/Makefile +++ b/devel/libayatana-appindicator/Makefile @@ -1,45 +1,45 @@ PORTNAME= libayatana-appindicator PORTVERSION= 0.5.93 PORTREVISION= 1 CATEGORIES= devel MAINTAINER= jgh@FreeBSD.org COMMENT= Ayatana Application Indicators Shared Library WWW= https://github.com/AyatanaIndicators/libayatana-appindicator LICENSE= LGPL3 LIB_DEPENDS= libayatana-ido3-0.4.so:devel/ayatana-ido \ libayatana-indicator3.so:devel/libayatana-indicator \ libdbusmenu-glib.so:devel/libdbusmenu \ libharfbuzz.so:print/harfbuzz BUILD_DEPENDS= lcov>=0:devel/lcov USES= cmake gnome localbase:ldflags pkgconfig pathfix -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 introspection pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 introspection pango CMAKE_OFF= ENABLE_BINDINGS_MONO \ ENABLE_BINDINGS_VALA \ FLAVOUR_GTK2 \ ENABLE_GTKDOC USE_LDCONFIG= yes LDFLAGS+= -Wl,--undefined-version USE_GITHUB= yes GH_ACCOUNT= AyatanaIndicators PORTDOCS= AUTHORS COPYING ChangeLog NEWS README.md OPTIONS_DEFINE= DOCS post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libayatana-appindicator3.so.* post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/libayatana-indicator/Makefile b/devel/libayatana-indicator/Makefile index 266301e92b71..7938f06f528e 100644 --- a/devel/libayatana-indicator/Makefile +++ b/devel/libayatana-indicator/Makefile @@ -1,40 +1,40 @@ PORTNAME= libayatana-indicator PORTVERSION= 0.9.4 PORTREVISION= 2 CATEGORIES= devel MAINTAINER= jgh@FreeBSD.org COMMENT= Ayatana Indicators Shared Library WWW= https://github.com/AyatanaIndicators/libayatana-indicator LICENSE= GPLv3 LIB_DEPENDS= libayatana-ido3-0.4.so:devel/ayatana-ido \ libgtest.so:devel/googletest \ libharfbuzz.so:print/harfbuzz BUILD_DEPENDS= lcov>=0:devel/lcov USES= cmake gnome localbase:ldflags pkgconfig vala:build -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 introspection pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 introspection pango USE_LDCONFIG= yes LDFLAGS+= -pthread USE_GITHUB= yes GH_ACCOUNT= AyatanaIndicators PORTDOCS= AUTHORS COPYING ChangeLog NEWS README.md OPTIONS_DEFINE= DOCS post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libayatana-indicator3.so* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/libayatana-indicator/ayatana-indicator-loader3 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/libdbusmenu/Makefile b/devel/libdbusmenu/Makefile index b22cfb364468..69367a4b0d6c 100644 --- a/devel/libdbusmenu/Makefile +++ b/devel/libdbusmenu/Makefile @@ -1,55 +1,55 @@ PORTNAME= libdbusmenu PORTVERSION= 16.04.0 PORTREVISION= 8 CATEGORIES= devel MASTER_SITES= https://launchpadlibrarian.net/243440794/ \ https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/ MAINTAINER= vishwin@vishwin.info COMMENT= GLib and Gtk Implementation of the DBusMenu protocol WWW= https://launchpad.net/libdbusmenu LICENSE= GPLv3 LGPL21 LGPL3 LICENSE_COMB= multi LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING-GPL3 LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.2.1 LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libharfbuzz.so:print/harfbuzz GNU_CONFIGURE= yes USES= compiler gettext-tools gmake gnome libtool pathfix pkgconfig python:run \ shebangfix vala:build -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool intlhack libxslt \ +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool intlhack libxslt \ introspection:build USE_LDCONFIG= yes INSTALL_TARGET= install-strip SHEBANG_FILES= tools/dbusmenu-bench PLIST_SUB= VERSION="0.4" CONFIGURE_ARGS= --disable-static \ --disable-static \ --disable-dumper \ --disable-tests \ --disable-massivedebugging \ --enable-introspection=yes \ --disable-nls \ --enable-vala \ --with-gtk=3 OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= gtkdoc-check:textproc/gtk-doc DOCS_CONFIGURE_ENABLE= gtk-doc DOCSDIR= ${PREFIX}/share/gtk-doc/html/ .include .if ${CHOSEN_COMPILER_TYPE} == gcc CFLAGS+= -Wno-unused-value .endif .include diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile index 1c3c1ac30bf9..93686b081032 100644 --- a/devel/libglade2/Makefile +++ b/devel/libglade2/Makefile @@ -1,43 +1,43 @@ PORTNAME= libglade2 PORTVERSION= 2.6.4 PORTREVISION?= 13 CATEGORIES= devel gnome MASTER_SITES= GNOME/sources/${PORTNAME:S/2$//}/${PORTVERSION:C/..$//} DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME glade library LICENSE= LGPL20 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= tar:bzip2 RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr USES+= gmake gnome libtool pathfix pkgconfig localbase -USE_GNOME= cairo gdkpixbuf2 libxml2 gtk20 +USE_GNOME= cairo gdkpixbuf libxml2 gtk20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ --disable-gtk-doc \ --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports PLIST_SUB= XMLCATALOG="${LOCALBASE}/bin/xmlcatalog" \ CATALOG_PORTS_XML="${LOCALBASE}/share/xml/catalog.ports" post-patch: @${REINPLACE_CMD} -e 's|glib-2.0|gmodule-2.0 glib-2.0|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -E 's/in (python.*)+ none/in none/' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s/ doc / /g" ${WRKSRC}/Makefile.in post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/libglade/2.0 .include diff --git a/devel/libgsf/Makefile b/devel/libgsf/Makefile index 642343c7f1c8..29295bb7474d 100644 --- a/devel/libgsf/Makefile +++ b/devel/libgsf/Makefile @@ -1,35 +1,35 @@ PORTNAME= libgsf DISTVERSION= 1.14.53 CATEGORIES= devel MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Structured file library from GNOME WWW= https://gitlab.gnome.org/GNOME/libgsf/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gmake gnome libtool localbase pathfix pkgconfig tar:xz CPE_VENDOR= gnome -USE_GNOME= gdkpixbuf2 glib20 libxml2 introspection:build +USE_GNOME= gdkpixbuf glib20 libxml2 introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-introspection INSTALL_TARGET= install-strip PLIST_SUB+= LIBMINORVER=${DISTVERSION:E} \ LIBSHORTVER=${DISTVERSION:R:S/.//} OPTIONS_DEFINE= NLS OPTIONS_DEFAULT=NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/devel/libindicator/Makefile b/devel/libindicator/Makefile index b6acfc245cda..501dd1fc95ea 100644 --- a/devel/libindicator/Makefile +++ b/devel/libindicator/Makefile @@ -1,18 +1,18 @@ PORTNAME= libindicator PORTVERSION= 12.10.1 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/ MAINTAINER= bofh@FreeBSD.org COMMENT= Symbols and convience functions for desktop indicators WWW= https://launchpad.net/libindicator USES= compiler:c++11-lang gmake gnome libtool pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include diff --git a/devel/libnotify/Makefile b/devel/libnotify/Makefile index 854142d6368c..7cd688103358 100644 --- a/devel/libnotify/Makefile +++ b/devel/libnotify/Makefile @@ -1,29 +1,29 @@ PORTNAME= libnotify DISTVERSION= 0.8.4 CATEGORIES= devel gnome MASTER_SITES= GNOME MAINTAINER= desktop@FreeBSD.org COMMENT= Library for desktop notifications WWW= https://gitlab.gnome.org/GNOME/libnotify LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome meson pkgconfig tar:xz -USE_GNOME= gdkpixbuf2 glib20 introspection:build +USE_GNOME= gdkpixbuf glib20 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Ddocbook_docs=disabled \ -Dgtk_doc=false \ -Dtests=false OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes MANPAGES_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl MANPAGES_USE= GNOME=libxslt:build MANPAGES_MESON_TRUE= man .include diff --git a/devel/qt6-base/Makefile b/devel/qt6-base/Makefile index b305993db175..55776ab54202 100644 --- a/devel/qt6-base/Makefile +++ b/devel/qt6-base/Makefile @@ -1,121 +1,121 @@ PORTNAME= base DISTVERSION= ${QT6_VERSION} PORTREVISION= 4 CATEGORIES= devel PKGNAMEPREFIX= qt6- PATCH_SITES= https://invent.kde.org/qt/qt/qtbase/-/commit/ PATCHFILES+= 12d4bf1ab52748cb84894f50d437064b439e0b7d.patch:-p1 PATCHFILES+= 2ef615228bba9a8eb282437bfb7472f925610e89.patch:-p1 PATCHFILES+= a43c7e58046604796aa69974ea1c5d3e2648c755.patch:-p1 MAINTAINER= kde@FreeBSD.org COMMENT= Qt base (core, gui, widgets, network,...) BUILD_DEPENDS= xml:textproc/xmlstarlet \ ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libatk-1.0.so:accessibility/at-spi2-core \ libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libb2.so:devel/libb2 \ libbrotlidec.so:archivers/brotli \ libdbus-1.so:devel/dbus \ libdouble-conversion.so:devel/double-conversion \ libdrm.so:graphics/libdrm \ libevdev.so:devel/libevdev \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgraphite2.so:graphics/graphite2 \ libharfbuzz.so:print/harfbuzz \ libicui18n.so:devel/icu \ libinput.so:x11/libinput \ libintl.so:devel/gettext-runtime \ libjpeg.so:graphics/jpeg-turbo \ libmtdev.so:devel/libmtdev \ libpcre2-16.so:devel/pcre2 \ libpng16.so:graphics/png \ libudev.so:devel/libudev-devd \ libvulkan.so:graphics/vulkan-loader \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libzstd.so:archivers/zstd USES= cmake compiler:c++17-lang gl gnome jpeg perl5 pkgconfig python \ qt-dist:6 shebangfix ssl USE_GL= egl opengl -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 pango USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} USE_LOCALE= C.UTF-8 SHEBANG_FILES= ${WRKSRC}/libexec/qt-android-runner.py \ ${WRKSRC}/mkspecs/features/uikit/device_destinations.sh \ ${WRKSRC}/mkspecs/features/uikit/devices.py \ ${WRKSRC}/mkspecs/features/data/mac/objc_namespace.sh \ ${WRKSRC}/util/testrunner/qt-testrunner.py \ ${WRKSRC}/util/testrunner/sanitizer-testrunner.py CMAKE_ARGS= -DOPENSSL_ROOT_DIR="${OPENSSLBASE}" CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_LTTngUST \ QT_AVOID_CMAKE_ARCHIVING_API \ QT_FIND_ALL_PACKAGES_ALWAYS \ QT_FEATURE_openssl_linked CMAKE_OFF= QT_FEATURE_eglfs \ QT_FEATURE_gssapi # sql drivers are handled in the databases/qt6-base_sqldriver port CMAKE_OFF+= FEATURE_sql_mysql \ FEATURE_sql_odbc \ FEATURE_sql_psql \ FEATURE_sql_sqlite # zstd from base fails to compress files during the build (error 11: unsupported argument) BINARY_ALIAS= zstd=${LOCALBASE}/bin/zstd OPTIONS_DEFINE= CUPS X11 OPTIONS_DEFAULT= CUPS X11 OPTIONS_SUB= yes CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CMAKE_BOOL= FEATURE_cups X11_LIB_DEPENDS= libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-render-util.so:x11/xcb-util-renderutil X11_USES= xorg X11_USE= XORG=ice,pixman,sm,x11,xau,xcb,xcomposite,xcursor,xdamage,xdmcp,xext,xfixes,xi,xinerama,xrandr,xrender X11_CMAKE_BOOL= FEATURE_xcb \ FEATURE_xlib .include # LibreSSL does not currently support BIO_ADDR in DTLSv1_listen() .if ${SSL_DEFAULT:Mlibressl*} CMAKE_OFF+= QT_FEATURE_dtls PLIST_SUB+= DTLS="@comment " .else PLIST_SUB+= DTLS="" .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv7" BUILD_DEPENDS+= as:devel/binutils CMAKE_ARGS+= -DCMAKE_ASM_FLAGS=-no-integrated-as .endif post-patch: @${REINPLACE_CMD} -e 's|%%OPENSSLLIB%%|${OPENSSLLIB}|g' \ ${WRKSRC}/src/plugins/tls/openssl/qsslsocket_openssl_symbols.cpp # TODO: do this cleaner -- somewhere cmake/qmake still creates empty directories # for the cmake files in INSTALL_PREFIX/lib/cmake post-install: ${RM} -vr ${STAGEDIR}${PREFIX}/${QT_LIBDIR_REL}/cmake # Install symlinks for user-facing tools ${REINPLACE_CMD} -e "s#^#${STAGEDIR}#" -e "s# # ${STAGEDIR}#" \ ${WRKDIR}/.build/user_facing_tool_links.txt while read t; do \ ${RLN} $$t; \ done <${WRKDIR}/.build/user_facing_tool_links.txt .include diff --git a/devel/smooth/Makefile b/devel/smooth/Makefile index a700115f9160..7303fe184634 100644 --- a/devel/smooth/Makefile +++ b/devel/smooth/Makefile @@ -1,34 +1,34 @@ PORTNAME= smooth PORTVERSION= 0.9.10 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= danfe@FreeBSD.org COMMENT= Object-oriented C++ class library WWW= https://www.smooth-project.org/ LICENSE= ART20 LIB_DEPENDS= libcpuid.so:sysutils/libcpuid \ libcurl.so:ftp/curl \ libfribidi.so:converters/fribidi \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libwebp.so:graphics/webp USES= gmake gnome iconv jpeg localbase pkgconfig xorg USE_LDCONFIG= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 libxml2 USE_XORG= x11 MAKE_ARGS= config="systemlibcpuid systemlibwebp" post-extract: @${REINPLACE_CMD} -e 's,register ,,' \ ${WRKSRC}/classes/gui/dialogs/colordlg.cpp # Prevent accidental build/use of bundled libraries' code/headers @${RM} -r ${WRKSRC}/libraries/fribidi ${WRKSRC}/libraries/lib* \ ${WRKSRC}/libraries/v8 ${WRKSRC}/libraries/zlib @${RM} -r ${WRKSRC}/include/support .include diff --git a/devel/spread-sheet-widget/Makefile b/devel/spread-sheet-widget/Makefile index 4348bad6a349..c01ebcbb9798 100644 --- a/devel/spread-sheet-widget/Makefile +++ b/devel/spread-sheet-widget/Makefile @@ -1,33 +1,33 @@ PORTNAME= spread-sheet-widget PORTVERSION= 0.8 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= GNU_ALPHA/ssw MAINTAINER= ports@FreeBSD.org COMMENT= Library for GTK which provides widget for tabular data WWW= https://www.gnu.org/software/ssw/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= gmake gnome libtool pkgconfig -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip INFO= spread-sheet-widget PORTDOCS= AUTHORS ChangeLog NEWS README TODO OPTIONS_DEFINE= DOCS post-install-DOCS-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} \ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/devel/thunar-vcs-plugin/Makefile b/devel/thunar-vcs-plugin/Makefile index 2a955f5930ed..aeb3b0bc4b7d 100644 --- a/devel/thunar-vcs-plugin/Makefile +++ b/devel/thunar-vcs-plugin/Makefile @@ -1,42 +1,42 @@ PORTNAME= thunar-vcs-plugin PORTVERSION= 0.3.0 CATEGORIES= devel xfce MASTER_SITES= XFCE/thunar-plugins DIST_SUBDIR= xfce4 MAINTAINER= sergey.dyatko@gmail.com COMMENT= Version Control System plugin for Thunar WWW= https://docs.xfce.org/thunar-plugins/thunar-vcs-plugin LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool localbase \ pkgconfig tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 glib20 +USE_GNOME= cairo gdkpixbuf gtk30 glib20 USE_XFCE= libexo thunar GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= GIT NLS SUBVERSION OPTIONS_DEFAULT= GIT OPTIONS_SUB= yes GIT_RUN_DEPENDS= git:devel/git GIT_CONFIGURE_ENABLE= git NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .if ${WITH_SUBVERSION_VER:U} == LTS SUBVERSION_LIB_DEPENDS= libsvn_client-1.so:devel/subversion-lts .else SUBVERSION_LIB_DEPENDS= libsvn_client-1.so:devel/subversion .endif SUBVERSION_LIB_DEPENDS+= libapr-1.so:devel/apr1 SUBVERSION_CONFIGURE_ENABLE= subversion .include diff --git a/devel/upp/Makefile b/devel/upp/Makefile index 2d2b854f9d94..142283b95226 100644 --- a/devel/upp/Makefile +++ b/devel/upp/Makefile @@ -1,113 +1,113 @@ PORTNAME= upp DISTVERSION= 15260 PORTREVISION= 3 CATEGORIES= devel x11-toolkits MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2020.2/ DISTNAME= ${PORTNAME}-posix-${PORTVERSION} MAINTAINER= m.sund@arcor.de COMMENT= Ultimate++, a BSD-licensed, cross-platform, C/C++ RAD suite WWW= http://upp.sourceforge.net/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/uppsrc/Core/Copying BROKEN_powerpc= Does not compile on ${ARCH}: error Unknown CPU architecture BROKEN_powerpc64= Does not compile on ${ARCH}: error Unknown CPU architecture USES= compiler:c++14-lang dos2unix pkgconfig:both tar:xz DOS2UNIX_FILES= uppsrc/Core/config.h WRKSRC= ${WRKDIR}/${PORTNAME} MACRO_FLAGS= -DflagBSD -Dflag${OPSYS:tu} PORTDATA= bazaar examples reference tutorial uppsrc OPTIONS_DEFINE= MYSQL OPENGL PGSQL SDL UDC USEMALLOC OPTIONS_DEFAULT= IDE UDC UMK OPTIONS_MULTI= BUILD OPTIONS_MULTI_BUILD= IDE UMK BUILD_DESC= Build/install IDE_DESC= Build/install TheIDE (integrated development environment) IDE_DESKTOP_ENTRIES= "TheIDE" "IDE for cross-platform C++ development" \ "${DATADIR}/uppsrc/ide/theide-48.png" "theide" \ "Development;IDE;GTK;" false IDE_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libnotify.so:devel/libnotify \ libpng.so:graphics/png IDE_PLIST_FILES= bin/theide ${PREFIX}/share/man/man1/theide.1.gz IDE_USES= gnome xorg -IDE_USE= XORG=x11 GNOME=cairo,gdkpixbuf2,gtk30 +IDE_USE= XORG=x11 GNOME=cairo,gdkpixbuf,gtk30 UDC_DESC= Install spelling dictionaries (*.udc files) UDC_VARS= PORTDATA+=*.udc UMK_DESC= Build/install UMK (U++ MaKe command line utility) UMK_PLIST_FILES= bin/umk ${PREFIX}/share/man/man1/umk.1.gz USEMALLOC_DESC= Compile without U++ heap allocator USEMALLOC_VARS= MACRO_FLAGS+=-DflagUSEMALLOC # SDL/OPENGL/MYSQL/PGSQL dependencies are only for run-time for use by executables built by the IDE SDL_USES= sdl SDL_USE= SDL=sdl OPENGL_USES= gl OPENGL_USE= GL=gl,glu MYSQL_USES= mysql PGSQL_USES= pgsql LLD_UNSAFE= yes .include .if ${CHOSEN_COMPILER_TYPE} == clang # Disable some warnings for Clang CXXFLAGS+= -Wno-logical-op-parentheses .endif CXXFLAGS_i386+= -msse2 post-patch: .SILENT ${REINPLACE_CMD} -e '/^CXX[[:blank:]]*=/d ; \ /^LDFLAGS[[:blank:]]*=/d ; /^LIBPATH[[:blank:]]*=/d ; \ /^Macro[[:blank:]]*=/s|-DflagLINUX|${MACRO_FLAGS}| ; \ /^CFLAGS[[:blank:]]*=/s|= -O3|+=| ; \ /^CXXFLAGS[[:blank:]]*=/s|= -O3|+=| ; \ /^OutDir_/s|-Linux|| ; \ s|-ldl|-lexecinfo|' \ ${WRKSRC}/Makefile \ ${WRKSRC}/umkMakefile ${REINPLACE_CMD} -i '' -E '/^OutDir_/s|-Gui|| ; \ s/[[:blank:]]?`pkg-config --(cflags|libs) (freetype2|xcb|expat|xinerama|xrender|xft|xdmcp|xext)`//g' \ ${WRKSRC}/Makefile # Add ${DATADIR} as an additional path to search for *.upp files # on first TheIDE launch before automatic configuration of assemblies ${REINPLACE_CMD} -e '/Scan(GetHomeDirFile("\*"/s|$$|\${.newline} Scan("${DATADIR}/uppsrc");\${.newline} Scan("${DATADIR}/*");|' \ ${WRKSRC}/uppsrc/ide/Install.cpp do-build: do-build-IDE-on: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} Makefile ${_MAKE_JOBS} OutFile="theide") do-build-UMK-on: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} umkMakefile ${_MAKE_JOBS} OutFile="umk") do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} \ "-not ( -type d -empty ) -o -name '*.orig'") (cd ${STAGEDIR}${DATADIR} && ${RMDIR} uppsrc/ide/SrcUpdater uppsrc/Web \ bazaar/plugin/sundials/src/nvector/mpiplusx \ bazaar/plugin/sundials/src/nvector/openmp \ bazaar/plugin/sundials/src/nvector/parallel \ bazaar/plugin/sundials/src/nvector/pthreads \ bazaar/plugin/sundials/src/sunlinsol/klu) do-install-IDE-on: ${INSTALL_PROGRAM} ${WRKSRC}/theide ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/uppsrc/ide/theide.1 ${STAGEDIR}${PREFIX}/share/man/man1 do-install-UMK-on: ${INSTALL_PROGRAM} ${WRKSRC}/umk ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/uppsrc/umk/umk.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/editors/deforaos-editor/Makefile b/editors/deforaos-editor/Makefile index 7a29cee95e23..c655ddf9858d 100644 --- a/editors/deforaos-editor/Makefile +++ b/editors/deforaos-editor/Makefile @@ -1,47 +1,47 @@ PORTNAME= editor PORTVERSION= 0.4.1 CATEGORIES= editors MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Editor/ PKGNAMEPREFIX= deforaos- DISTNAME= Editor-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop text editor WWW= https://www.defora.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libSystem.so:devel/deforaos-libsystem USES= desktop-file-utils gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ xsltproc:textproc/libxslt NLS_USES= gettext post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc po|data po|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|po src tools|src tools|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/editor \ ${STAGEDIR}${PREFIX}/bin/filter .include diff --git a/editors/gedit-plugins/Makefile b/editors/gedit-plugins/Makefile index 111d0b57fa82..d4e6ca479f73 100644 --- a/editors/gedit-plugins/Makefile +++ b/editors/gedit-plugins/Makefile @@ -1,41 +1,41 @@ PORTNAME= gedit-plugins PORTVERSION= 43.1 PORTREVISION= 5 CATEGORIES= editors gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Plugins for GEdit WWW= https://wiki.gnome.org/Apps/Gedit/PluginsLists LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gedit>=0:editors/gedit \ itstool:textproc/itstool \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} LIB_DEPENDS= libpeas-1.0.so:devel/libpeas \ libgit2-glib-1.0.so:devel/libgit2-glib \ libgucharmap_2_90.so:deskutils/gucharmap RUN_DEPENDS= gedit>=0:editors/gedit \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gnome localbase meson pkgconfig \ python shebangfix tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 gtk30 gtksourceview4 intlhack introspection \ +USE_GNOME= cairo gdkpixbuf gtk30 gtksourceview4 intlhack introspection \ vte3 USE_CSTD= c11 USE_LDCONFIG= yes INSTALL_TARGET= install-strip SHEBANG_FILES= plugins/synctex/synctex/evince_dbus.py BINARY_ALIAS= python3=${PYTHON_CMD} GLIB_SCHEMAS= org.gnome.gedit.plugins.drawspaces.gschema.xml \ org.gnome.gedit.plugins.wordcompletion.gschema.xml \ org.gnome.gedit.plugins.terminal.gschema.xml .include diff --git a/editors/gedit/Makefile b/editors/gedit/Makefile index d1da925421f5..ece8318ac453 100644 --- a/editors/gedit/Makefile +++ b/editors/gedit/Makefile @@ -1,56 +1,56 @@ PORTNAME= gedit PORTVERSION= 44.2 PORTREVISION= 3 CATEGORIES= editors gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Small but powerful text editor for the GNOME Desktop Environment WWW= https://www.gnome.org/projects/gedit/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ gtk-doc>0:textproc/gtk-doc \ iso-codes>=0:misc/iso-codes \ itstool:textproc/itstool LIB_DEPENDS= libamtk-5.so:x11-toolkits/amtk \ libenchant.so:textproc/enchant \ libgspell-1.so:textproc/gspell \ libpeas-gtk-1.0.so:devel/libpeas \ libsoup-2.4.so:devel/libsoup \ libtepl-6.so:x11-toolkits/tepl6 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ iso-codes>=0:misc/iso-codes PORTSCOUT= limitw:1,even USES= compiler:c11 cpe desktop-file-utils gettext gnome localbase \ meson pkgconfig python tar:xz vala:build xorg USE_CSTD= c11 -USE_GNOME= cairo gdkpixbuf2 gtksourceview4 intlhack introspection libxml2 \ +USE_GNOME= cairo gdkpixbuf gtksourceview4 intlhack introspection libxml2 \ pygobject3 USE_XORG= sm x11 USE_LDCONFIG= yes PLIST_SUB= VERSION=44 INSTALL_TARGET= install-strip MESON_ARGS+= --buildtype \ plain BINARY_ALIAS= python3=${PYTHON_CMD} CPE_VENDOR= gnome GLIB_SCHEMAS= org.gnome.gedit.enums.xml \ org.gnome.gedit.gschema.xml \ org.gnome.gedit.plugins.externaltools.gschema.xml \ org.gnome.gedit.plugins.filebrowser.enums.xml \ org.gnome.gedit.plugins.filebrowser.gschema.xml \ org.gnome.gedit.plugins.pythonconsole.gschema.xml \ org.gnome.gedit.plugins.spell.gschema.xml \ org.gnome.gedit.plugins.time.enums.xml \ org.gnome.gedit.plugins.time.gschema.xml .include diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile index 9abaa5050ecc..1e1655414be9 100644 --- a/editors/gmanedit/Makefile +++ b/editors/gmanedit/Makefile @@ -1,30 +1,30 @@ PORTNAME= gmanedit PORTVERSION= 0.4.2 PORTREVISION= 10 CATEGORIES= editors gnome MASTER_SITES= SF/${PORTNAME}2/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= GNOME manpages editor WWW= https://sourceforge.net/projects/gmanedit2/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= gettext gmake gnome pkgconfig GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 LDFLAGS+= -lz post-patch: @${REINPLACE_CMD} -e '/-DGTK_DISABLE_DEPRECATED/d' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e '//d' ${WRKSRC}/src/callbacks.c .include diff --git a/editors/imhex/Makefile b/editors/imhex/Makefile index dfa2e0fa3ee5..5327d46c574e 100644 --- a/editors/imhex/Makefile +++ b/editors/imhex/Makefile @@ -1,158 +1,158 @@ PORTNAME= imhex PORTVERSION= 1.37.4 DISTVERSIONPREFIX= v CATEGORIES= editors MASTER_SITES= https://git.sr.ht/~danyspin97/xdgpp/blob/f01f810714443d0f10c333d4d1d9c0383be41375/:xdg \ https://gitlab.com/EvelynTSMG/imhex-bastion-pats/-/archive/${GL_TAG_IMHEX_BASTION_PATS}/:bastion \ https://gitlab.com/EvelynTSMG/imhex-ffx-pats/-/archive/${GL_TAG_IMHEX_FFX_PATS}/:ffx DISTFILES= xdg.hpp:xdg \ imhex-bastion-pats-${GL_TAG_IMHEX_BASTION_PATS}.tar.bz2:bastion \ imhex-ffx-pats-${GL_TAG_IMHEX_FFX_PATS}.tar.bz2:ffx DIST_SUBDIR= imhex MAINTAINER= nobutaka@FreeBSD.org COMMENT= Hex editor for reverse engineers and programmers WWW= https://github.com/WerWolv/ImHex LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= i386 powerpc NOT_FOR_ARCHS_REASON= __uint128_t and __int128_t are not supported BUILD_DEPENDS= glm>0:math/glm LIB_DEPENDS= libcurl.so:ftp/curl \ libglfw.so:graphics/glfw \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libinotify.so:devel/libinotify \ liblz4.so:archivers/liblz4 \ libmbedtls.so:security/mbedtls3 \ libzstd.so:archivers/zstd USES= cmake desktop-file-utils gl gnome pkgconfig python xorg USE_GL= gl glu opengl -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 xcb xau xdmcp USE_GITHUB= yes EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \ btzy-nativefiledialog-extended-${GH_TAG_NATIVEFILEDIALOG}_GH0${EXTRACT_SUFX} \ capstone-engine-capstone-${GH_TAG_CAPSTONE}_GH0${EXTRACT_SUFX} \ CLIUtils-CLI11-${GH_TAG_CLI11}_GH0${EXTRACT_SUFX} \ Martinsos-edlib-${GH_TAG_EDLIB}_GH0${EXTRACT_SUFX} \ fmtlib-fmt-${GH_TAG_FMT}_GH0${EXTRACT_SUFX} \ josuttis-jthread-${GH_TAG_JTHREAD}_GH0${EXTRACT_SUFX} \ rockdreamer-throwing_ptr-${GH_TAG_THROWING_PTR}_GH0${EXTRACT_SUFX} \ sammycage-plutovg-${GH_TAG_PLUTOVG}_GH0${EXTRACT_SUFX} \ VirusTotal-yara-${GH_TAG_YARA}_GH0${EXTRACT_SUFX} \ WerWolv-Disassembler-${GH_TAG_DISASSEMBLER}_GH0${EXTRACT_SUFX} \ WerWolv-HashLibPlus-${GH_TAG_HASHLIBPLUS}_GH0${EXTRACT_SUFX} \ WerWolv-ImHex-Patterns-${GH_TAG_IMHEX_PATTERNS}_GH0${EXTRACT_SUFX} \ WerWolv-PatternLanguage-${GH_TAG_PATTERN_LANGUAGE}_GH0${EXTRACT_SUFX} \ WerWolv-libromfs-${GH_TAG_LIBROMFS}_GH0${EXTRACT_SUFX} \ WerWolv-libwolv-${GH_TAG_LIBWOLV}_GH0${EXTRACT_SUFX} \ WerWolv-lunasvg-${GH_TAG_LUNASVG}_GH0${EXTRACT_SUFX} \ imhex-bastion-pats-${GL_TAG_IMHEX_BASTION_PATS}.tar.bz2 \ imhex-ffx-pats-${GL_TAG_IMHEX_FFX_PATS}.tar.bz2 GH_ACCOUNT= WerWolv GH_PROJECT= ImHex GH_TUPLE= btzy:nativefiledialog-extended:${GH_TAG_NATIVEFILEDIALOG}:nativefiledialog \ capstone-engine:capstone:${GH_TAG_CAPSTONE}:capstone \ CLIUtils:CLI11:${GH_TAG_CLI11}:cli11 \ Martinsos:edlib:${GH_TAG_EDLIB}:edlib \ fmtlib:fmt:${GH_TAG_FMT}:fmt \ josuttis:jthread:${GH_TAG_JTHREAD}:jthread \ rockdreamer:throwing_ptr:${GH_TAG_THROWING_PTR}:throwing_ptr \ sammycage:plutovg:${GH_TAG_PLUTOVG}:plutovg \ VirusTotal:yara:${GH_TAG_YARA}:yara \ WerWolv:Disassembler:${GH_TAG_DISASSEMBLER}:disassembler \ WerWolv:HashLibPlus:${GH_TAG_HASHLIBPLUS}:hashlibplus \ WerWolv:ImHex-Patterns:${GH_TAG_IMHEX_PATTERNS}:imhex_patterns \ WerWolv:PatternLanguage:${GH_TAG_PATTERN_LANGUAGE}:pattern_language \ WerWolv:libromfs:${GH_TAG_LIBROMFS}:libromfs \ WerWolv:libwolv:${GH_TAG_LIBWOLV}:libwolv \ WerWolv:lunasvg:${GH_TAG_LUNASVG}:lunasvg GH_TAG_CAPSTONE= 5cca005 GH_TAG_CLI11= 6c7b07a GH_TAG_DISASSEMBLER= a2217dd GH_TAG_EDLIB= 42aa8fa GH_TAG_FMT= 9cf9f38 GH_TAG_HASHLIBPLUS= 1823dd1 GH_TAG_IMHEX_PATTERNS= ImHex-v${PORTVERSION} GH_TAG_JTHREAD= 0fa8d39 GH_TAG_LIBROMFS= 4f42f09 GH_TAG_LIBWOLV= 0002167 GH_TAG_LUNASVG= 5e968bd GH_TAG_NATIVEFILEDIALOG= 86d5f20 GH_TAG_PATTERN_LANGUAGE= ImHex-v${PORTVERSION} GH_TAG_PLUTOVG= 9ef8e78 GH_TAG_THROWING_PTR= cd28490 GH_TAG_YARA= 688268d GL_TAG_IMHEX_BASTION_PATS= e6deed4 GL_TAG_IMHEX_FFX_PATS= 199879e CFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -I${LOCALBASE}/include CMAKE_ARGS= -DUSE_SYSTEM_NLOHMANN_JSON=OFF -DIMHEX_STRIP_RELEASE=OFF \ -DIMHEX_PLUGINS_IN_SHARE=ON -DIMHEX_OFFLINE_BUILD=ON \ -DIMHEX_USE_GTK_FILE_PICKER=ON -DIMHEX_IGNORE_BAD_CLONE=ON \ -DIMHEX_IGNORE_BAD_COMPILER=ON PORTDOCS= README.md OPTIONS_DEFINE= DOCS NLS NLS_USES= gettext .include # Before LLVM 17 import into the base system .if (${OSREL:R} == 15 && ${OSVERSION} < 1500006) IGNORE= requires libc++ of LLVM 17 on the base system .endif # After LLVM 18 import into the base system .if ((${OSREL:R} == 15 && ${OSVERSION} >= 1500018) \ || (${OSREL:R} == 14 && ${OSVERSION} >= 1400511) \ || (${OSREL:R} == 13 && ${OSVERSION} >= 1303503)) CXXFLAGS+= -fexperimental-library -D_LIBCPP_ENABLE_EXPERIMENTAL .endif post-extract: ${CP} -R ${WRKSRC_disassembler}/* ${WRKSRC}/lib/external/disassembler ${CP} -R ${WRKSRC_libromfs}/* ${WRKSRC}/lib/external/libromfs ${CP} -R ${WRKSRC_libwolv}/* ${WRKSRC}/lib/external/libwolv ${CP} -R ${WRKSRC_pattern_language}/* ${WRKSRC}/lib/external/pattern_language ${CP} -R ${WRKSRC_cli11}/* ${WRKSRC}/lib/external/pattern_language/external/cli11 ${CP} -R ${WRKSRC_fmt}/* ${WRKSRC}/lib/external/pattern_language/external/fmt ${CP} -R ${WRKSRC_throwing_ptr}/* ${WRKSRC}/lib/external/pattern_language/external/throwing_ptr ${CP} ${DISTDIR}/${DIST_SUBDIR}/xdg.hpp ${WRKSRC}/lib/third_party/xdgpp ${CP} -R ${WRKSRC_capstone}/* ${WRKSRC}/lib/third_party/capstone ${CP} -R ${WRKSRC_edlib}/* ${WRKSRC}/lib/third_party/edlib ${CP} -R ${WRKSRC_fmt}/* ${WRKSRC}/lib/third_party/fmt ${CP} -R ${WRKSRC_hashlibplus}/* ${WRKSRC}/lib/third_party/HashLibPlus ${CP} -R ${WRKSRC_lunasvg}/* ${WRKSRC}/lib/third_party/lunasvg ${CP} -R ${WRKSRC_plutovg}/* ${WRKSRC}/lib/third_party/lunasvg/plutovg ${CP} -R ${WRKSRC_nativefiledialog}/* ${WRKSRC}/lib/third_party/nativefiledialog ${CP} -R ${WRKSRC_yara}/* ${WRKSRC}/lib/third_party/yara/yara ${MKDIR} ${WRKDIR}/.build/_deps/imhex_patterns_src ${CP} -R ${WRKSRC_imhex_patterns}/* ${WRKDIR}/.build/_deps/imhex_patterns_src ${CP} -R ${WRKDIR}/imhex-bastion-pats-${GL_TAG_IMHEX_BASTION_PATS}/* ${WRKDIR}/.build/_deps/imhex_patterns_src/patterns/bastion ${CP} -R ${WRKDIR}/imhex-ffx-pats-${GL_TAG_IMHEX_FFX_PATS}/* ${WRKDIR}/.build/_deps/imhex_patterns_src/patterns/ffx # Before LLVM 18 import into the base system .if ${OSREL:R} == 15 && ${OSVERSION} < 1500018 ${CP} -R ${WRKSRC_jthread}/* ${WRKSRC}/lib/third_party/jthread .endif post-patch: ${CP} -R ${WRKSRC}/lib/external/libwolv/* ${WRKSRC}/lib/external/pattern_language/external/libwolv post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/jucipp/Makefile b/editors/jucipp/Makefile index c0002c046dbf..c1979e78c559 100644 --- a/editors/jucipp/Makefile +++ b/editors/jucipp/Makefile @@ -1,39 +1,39 @@ PORTNAME= jucipp DISTVERSIONPREFIX= v DISTVERSION= 1.8.0 PORTREVISION= 6 CATEGORIES= editors MAINTAINER= info@babaei.net COMMENT= Lightweight C++-IDE with support for C++11, C++14 and C++17 WWW= https://gitlab.com/cppit/jucipp LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libaspell.so:textproc/aspell \ libboost_filesystem.so:devel/boost-libs \ libclang.so:devel/llvm${LLVM_DEFAULT} \ libgit2.so:devel/libgit2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= uctags:devel/universal-ctags USES= cmake compiler:c++14-lang desktop-file-utils gnome \ llvm:build,noexport,run pkgconfig USE_GITLAB= yes GL_ACCOUNT= cppit GL_TUPLE= cppit:libclangmm:5611eb3d9e69486f85a431fbaae03c065f62c2d8:libclangmm/lib/libclangmm \ eidheim:tiny-process-library:aaf6afa48ad8f0ea5f15dc5cb5f53888bf1ff7ac:tinyprocesslibrary/lib/tiny-process-library -USE_GNOME= gdkpixbuf2 gtkmm30 gtksourceviewmm3 +USE_GNOME= gdkpixbuf gtkmm30 gtksourceviewmm3 CMAKE_ARGS= -DCMAKE_INCLUDE_PATH=${LOCALBASE}/llvm${LLVM_DEFAULT}/include \ -DCMAKE_LIBRARY_PATH=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib PLIST_FILES= bin/juci \ share/applications/juci.desktop \ share/icons/hicolor/scalable/apps/juci.svg OPTIONS_DEFINE= TEST TEST_CMAKE_BOOL= BUILD_TESTING BUILD_FUZZING .include diff --git a/editors/lazarus-devel/Makefile b/editors/lazarus-devel/Makefile index 607117cb88c7..b4321c12853f 100644 --- a/editors/lazarus-devel/Makefile +++ b/editors/lazarus-devel/Makefile @@ -1,180 +1,180 @@ PORTNAME= lazarus DISTVERSION= 4.99.20250131 PKGNAMESUFFIX?= -gtk2-devel PORTREVISION?= 0 CATEGORIES= editors devel DIST_SUBDIR= freepascal MAINTAINER?= acm@FreeBSD.org COMMENT?= Portable Delphi-like IDE for the FreePascal compiler (GTK2 devel) WWW= https://www.lazarus-ide.org/ CONFLICTS?= lazarus-gtk2 lazarus-qt5 lazarus-qt5-devel lazarus-qt6-devel BUILD_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils RUN_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils \ gmake:devel/gmake \ ${LOCALBASE}/share/fpc${FPC_DEVELSUFFIX}-source-${FPC_DEFAULT}/Makefile.fpc:lang/fpc${FPC_DEVELSUFFIX}-source ONLY_FOR_ARCHS= i386 amd64 aarch64 USE_GITLAB= yes GL_ACCOUNT= freepascal.org/lazarus GL_PROJECT= ${PORTNAME} GL_COMMIT= 4feac3a6f1dfdd2a626d0dfaefaacb432a657a69 USES= desktop-file-utils fpc:run gettext gmake iconv shared-mime-info xorg USE_XORG= x11 WANT_FPC_DEVEL= yes OPT?= "-Sgic -Ur" MAKE_ENV= OPT=${OPT} PLIST= ${WRKDIR}/pkg-plist #WRKSRC?= ${WRKDIR}/${PORTNAME} DATADIR?= ${PREFIX}/share/${PORTNAME}-${LAZARUS_BASE} OPTIONS_DEFINE= GDB GDB_DESC= Install a newest version of gdb OPTIONS_DEFAULT= GDB .include LAZARUS_ARCH= ${ARCH:S,amd64,x86_64,} LAZARUS_BASE= 4.99 BUILDNAME= ${LAZARUS_ARCH}-${OPSYS:tl} LCL_PLATFORM?= gtk2 MAN1S= lazarus-ide.1 lazbuild.1 startlazarus.1 SUB_FILES= pkg-message SUB_LIST+= PORTSDIR="${PORTSDIR}" .if ${PORT_OPTIONS:MGDB} RUN_DEPENDS+= ${LOCALBASE}/bin/gdb:devel/gdb .endif .if ${PKGNAMESUFFIX} == "-gtk2-devel" USES+= gnome -USE_GNOME= cairo gtk20 gdkpixbuf2 +USE_GNOME= cairo gtk20 gdkpixbuf .endif post-extract: @${MKDIR} ${WRKDIR}/man1 @${MV} ${WRKSRC}/install/man/man1/lazarus-ide.1 ${WRKDIR}/man1/ @${MV} ${WRKSRC}/install/man/man1/lazbuild.1 ${WRKDIR}/man1/ @${MV} ${WRKSRC}/install/man/man1/startlazarus.1 ${WRKDIR}/man1/ @${MV} ${WRKSRC}/examples ${WRKDIR}/examples @${MV} ${WRKSRC}/docs ${WRKDIR}/docs @${RM} ${WRKSRC}/tools/.gitignore @${RM} ${WRKSRC}/Dockerfile.buildenv @${RM} ${WRKSRC}/buildenv.Dockerfile post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e 's|startlazarus|${PORTNAME}|g' ${WRKSRC}/install/${PORTNAME}.desktop do-build: @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} bigide LCL_PLATFORM=${LCL_PLATFORM} post-build: @cd ${WRKSRC} && \ ${RM} -R COPYING* README* debian localize.bat test *.orig *.bak startlazarus.app \ ide/Makefile*.orig ide/Makefile*.bak lcl/interfaces/qt5/qtobjects.pas.orig \ .git* @cd ${WRKSRC} && \ ${FIND} . -name ".gitignore" -exec ${RM} "{}" \; pre-install: @${ECHO} "#!/bin/sh" > ${WRKDIR}/lazarus-wrapper @${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/lazarus-wrapper @${ECHO} "exec ./startlazarus" >> ${WRKDIR}/lazarus-wrapper @${RM} ${PLIST} @${RM} -r ${WRKSRC}/components/chmhelp/lhelp/lhelp.app/Contents/MacOS \ ${WRKSRC}/lazarus.app/Contents/MacOS \ ${WRKSRC}/lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS . for FILE in bin/lazarus bin/lazbuild @${ECHO_CMD} ${FILE} >> ${PLIST} . endfor . for m in ${MAN1S} @${ECHO_CMD} share/man/man1/${m}.gz >> ${PLIST} . endfor @${ECHO_CMD} "%%DATADIR%%/docs" >> ${PLIST} @cd ${WRKDIR}/docs && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DOCSDIR%%/|' >> ${PLIST} @${ECHO_CMD} "%%DATADIR%%/examples" >> ${PLIST} @cd ${WRKDIR}/examples && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%EXAMPLESDIR%%/|' >> ${PLIST} && \ ${FIND} * -type d -empty | ${SORT} | ${SED} -e 's|^|@dir %%EXAMPLESDIR%%/|' >> ${PLIST} @cd ${WRKSRC} && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ ${FIND} * -type d -empty | ${SORT} | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST} @${ECHO_CMD} "share/applications/lazarus.desktop" >> ${PLIST} . for RESO in 128 16 256 32 48 64 @${ECHO_CMD} share/icons/hicolor/${RESO}x${RESO}/apps/lazarus.png >> ${PLIST} . endfor @cd ${WRKSRC}/images/mimetypes && \ ${FIND} * -type f -name "*.png" | ${SORT} | ${SED} -e 's|^|share/icons/hicolor/48x48/mimetypes/|' >> ${PLIST} @${ECHO_CMD} "share/icons/hicolor/scalable/apps/lazarus.svg" >> ${PLIST} @${ECHO_CMD} "share/mime/packages/lazarus.xml" >> ${PLIST} do-install: .for DIRE in components converter debugger designer doceditor ide images install languages lazarus.app lcl \ packager tools units @${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE} @cd ${WRKSRC}/${DIRE} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} -p {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; .endfor @${CHMOD} +x ${STAGEDIR}${DATADIR}/tools/svn2revisioninc ${STAGEDIR}${DATADIR}/tools/lazres ${STAGEDIR}${DATADIR}/tools/lrstolfm \ ${STAGEDIR}${DATADIR}/tools/updatepofiles .for FILE in lazarus lazbuild startlazarus ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR} .endfor @cd ${WRKDIR}/docs && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \; @${LN} -sf ${DOCSDIR} ${STAGEDIR}${DATADIR}/docs @cd ${WRKDIR}/examples && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \; @${LN} -sf ${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples .for RESO in 128 16 256 32 48 64 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps ${INSTALL_DATA} ${WRKSRC}/images/icons/${PORTNAME}${RESO}x${RESO}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps/${PORTNAME}.png .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/mimetypes @cd ${WRKSRC}/images/mimetypes && \ ${FIND} * -type f -name "*.png" -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/mimetypes/{} \; @${INSTALL_DATA} ${WRKSRC}/install/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps @${INSTALL_DATA} ${WRKSRC}/images/icons/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svg @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages @${INSTALL_DATA} ${WRKSRC}/install/${PORTNAME}-mime.xml ${STAGEDIR}${PREFIX}/share/mime/packages/${PORTNAME}.xml ${INSTALL_SCRIPT} ${WRKSRC}/localize.sh ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/lazarus-wrapper ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/Makefile* ${WRKSRC}/fpmake* ${STAGEDIR}${DATADIR} .for FILE in ${MAN1S} ${INSTALL_MAN} ${WRKDIR}/man1/${FILE} ${STAGEDIR}${PREFIX}/share/man/man1 .endfor ${LN} -sf ${DATADIR}/lazbuild ${STAGEDIR}${PREFIX}/bin/lazbuild .include diff --git a/editors/lazarus/Makefile b/editors/lazarus/Makefile index 788e8272c3fe..d02cf5eece4c 100644 --- a/editors/lazarus/Makefile +++ b/editors/lazarus/Makefile @@ -1,181 +1,181 @@ PORTNAME= lazarus DISTVERSION= 3.8.0 PKGNAMESUFFIX?= -gtk2 PORTREVISION?= 0 CATEGORIES= editors devel DIST_SUBDIR= freepascal MAINTAINER?= acm@FreeBSD.org COMMENT?= Portable Delphi-like IDE for the FreePascal compiler (GTK2) WWW= https://www.lazarus-ide.org/ CONFLICTS?= lazarus-gtk2-devel lazarus-qt5 lazarus-qt5-devel lazarus-qt6 \ lazarus-qt6-devel BUILD_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils RUN_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils \ gmake:devel/gmake \ ${LOCALBASE}/share/fpc-source-${FPC_DEFAULT}/Makefile.fpc:lang/fpc${FPC_DEVELSUFFIX}-source ONLY_FOR_ARCHS= i386 amd64 USE_GITLAB= yes GL_ACCOUNT= freepascal.org/lazarus GL_PROJECT= ${PORTNAME} GL_COMMIT= 57e899e4bbe50b6653ec20434bdb7799aa629e06 USES= desktop-file-utils fpc:run gettext gmake iconv shared-mime-info xorg USE_XORG= x11 OPT?= "-Sgic " MAKE_ENV= OPT=${OPT} PLIST= ${WRKDIR}/pkg-plist #WRKSRC?= ${WRKDIR}/${PORTNAME} DATADIR?= ${PREFIX}/share/${PORTNAME}-${LAZARUS_BASE} OPTIONS_DEFINE= GDB GDB_DESC= Install a newest version of gdb OPTIONS_DEFAULT= GDB .include LAZARUS_ARCH= ${ARCH:S,amd64,x86_64,} LAZARUS_BASE= 3.8.0 BUILDNAME= ${LAZARUS_ARCH}-${OPSYS:tl} LCL_PLATFORM?= gtk2 MAN1S= lazarus-ide.1 lazbuild.1 startlazarus.1 SUB_FILES= pkg-message SUB_LIST+= PORTSDIR="${PORTSDIR}" .if ${PORT_OPTIONS:MGDB} RUN_DEPENDS+= ${LOCALBASE}/bin/gdb:devel/gdb .endif .if ${PKGNAMESUFFIX} == "-gtk2" USES+= gnome -USE_GNOME= cairo gtk20 gdkpixbuf2 +USE_GNOME= cairo gtk20 gdkpixbuf .endif post-extract: @${MKDIR} ${WRKDIR}/man1 @${MV} ${WRKSRC}/install/man/man1/lazarus-ide.1 ${WRKDIR}/man1/ @${MV} ${WRKSRC}/install/man/man1/lazbuild.1 ${WRKDIR}/man1/ @${MV} ${WRKSRC}/install/man/man1/startlazarus.1 ${WRKDIR}/man1/ @${MV} ${WRKSRC}/examples ${WRKDIR}/examples @${MV} ${WRKSRC}/docs ${WRKDIR}/docs @${RM} ${WRKSRC}/tools/.gitignore @${RM} ${WRKSRC}/Dockerfile.buildenv @${RM} ${WRKSRC}/buildenv.Dockerfile @${RM} ${WRKSRC}/.git* post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e 's|startlazarus|${PORTNAME}|g' ${WRKSRC}/install/${PORTNAME}.desktop do-build: @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} bigide LCL_PLATFORM=${LCL_PLATFORM} post-build: @cd ${WRKSRC} && \ ${RM} -R COPYING* README* debian localize.bat test *.orig *.bak startlazarus.app \ ide/Makefile*.orig ide/Makefile*.bak lcl/interfaces/qt5/qtobjects.pas.orig \ .git* @cd ${WRKSRC} && \ ${FIND} . -name ".gitignore" -exec ${RM} "{}" \; pre-install: @${ECHO} "#!/bin/sh" > ${WRKDIR}/lazarus-wrapper @${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/lazarus-wrapper @${ECHO} "exec ./startlazarus" >> ${WRKDIR}/lazarus-wrapper @${RM} ${PLIST} @${RM} -r ${WRKSRC}/components/chmhelp/lhelp/lhelp.app/Contents/MacOS \ ${WRKSRC}/lazarus.app/Contents/MacOS \ ${WRKSRC}/lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS . for FILE in bin/lazarus bin/lazbuild @${ECHO_CMD} ${FILE} >> ${PLIST} . endfor . for m in ${MAN1S} @${ECHO_CMD} share/man/man1/${m}.gz >> ${PLIST} . endfor @${ECHO_CMD} "%%DATADIR%%/docs" >> ${PLIST} @cd ${WRKDIR}/docs && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DOCSDIR%%/|' >> ${PLIST} @${ECHO_CMD} "%%DATADIR%%/examples" >> ${PLIST} @cd ${WRKDIR}/examples && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%EXAMPLESDIR%%/|' >> ${PLIST} && \ ${FIND} * -type d -empty | ${SORT} | ${SED} -e 's|^|@dir %%EXAMPLESDIR%%/|' >> ${PLIST} @cd ${WRKSRC} && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ ${FIND} * -type d -empty | ${SORT} | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST} @${ECHO_CMD} "share/applications/lazarus.desktop" >> ${PLIST} . for RESO in 128 16 256 32 48 64 @${ECHO_CMD} share/icons/hicolor/${RESO}x${RESO}/apps/lazarus.png >> ${PLIST} . endfor @cd ${WRKSRC}/images/mimetypes && \ ${FIND} * -type f -name "*.png" | ${SORT} | ${SED} -e 's|^|share/icons/hicolor/48x48/mimetypes/|' >> ${PLIST} @${ECHO_CMD} "share/icons/hicolor/scalable/apps/lazarus.svg" >> ${PLIST} @${ECHO_CMD} "share/mime/packages/lazarus.xml" >> ${PLIST} do-install: .for DIRE in components converter debugger designer doceditor ide images install languages lazarus.app lcl \ packager tools units @${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE} @cd ${WRKSRC}/${DIRE} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} -p {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; .endfor @${CHMOD} +x ${STAGEDIR}${DATADIR}/tools/svn2revisioninc ${STAGEDIR}${DATADIR}/tools/lazres ${STAGEDIR}${DATADIR}/tools/lrstolfm \ ${STAGEDIR}${DATADIR}/tools/updatepofiles .for FILE in lazarus lazbuild startlazarus ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR} .endfor @cd ${WRKDIR}/docs && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \; @${LN} -sf ${DOCSDIR} ${STAGEDIR}${DATADIR}/docs @cd ${WRKDIR}/examples && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \; @${LN} -sf ${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples .for RESO in 128 16 256 32 48 64 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps ${INSTALL_DATA} ${WRKSRC}/images/icons/${PORTNAME}${RESO}x${RESO}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps/${PORTNAME}.png .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/mimetypes @cd ${WRKSRC}/images/mimetypes && \ ${FIND} * -type f -name "*.png" -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/mimetypes/{} \; @${INSTALL_DATA} ${WRKSRC}/install/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps @${INSTALL_DATA} ${WRKSRC}/images/icons/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svg @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages @${INSTALL_DATA} ${WRKSRC}/install/${PORTNAME}-mime.xml ${STAGEDIR}${PREFIX}/share/mime/packages/${PORTNAME}.xml ${INSTALL_SCRIPT} ${WRKSRC}/localize.sh ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/lazarus-wrapper ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/Makefile* ${WRKSRC}/fpmake* ${STAGEDIR}${DATADIR} .for FILE in ${MAN1S} ${INSTALL_MAN} ${WRKDIR}/man1/${FILE} ${STAGEDIR}${PREFIX}/share/man/man1 .endfor ${LN} -sf ${DATADIR}/lazbuild ${STAGEDIR}${PREFIX}/bin/lazbuild .include diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile index ca46adcd004d..8792f3a6b6fd 100644 --- a/editors/leafpad/Makefile +++ b/editors/leafpad/Makefile @@ -1,36 +1,36 @@ PORTNAME= leafpad PORTVERSION= 0.8.19 PORTREVISION= 3 CATEGORIES= editors MASTER_SITES= SAVANNAH MAINTAINER= jgh@FreeBSD.org COMMENT= GTK based simple text editor WWW= http://tarot.freeshell.org/leafpad/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= desktop-file-utils gettext gmake gnome localbase:ldflags \ pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 intlhack +USE_GNOME= cairo gdkpixbuf gtk20 intlhack GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-chooser LDFLAGS+= -lpthread PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README OPTIONS_DEFINE= DOCS post-extract: @${CHMOD} a+x ${WRKSRC}/install-sh post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/marker/Makefile b/editors/marker/Makefile index aae2858a98d5..cbc5553098ca 100644 --- a/editors/marker/Makefile +++ b/editors/marker/Makefile @@ -1,40 +1,40 @@ PORTNAME= marker PORTVERSION= 2023.05.02 PORTREVISION= 2 CATEGORIES= editors MAINTAINER= tagattie@FreeBSD.org COMMENT= Gtk3 markdown editor WWW= https://fabiocolacio.github.io/Marker/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 RUN_DEPENDS= pandoc:textproc/hs-pandoc USES= desktop-file-utils gettext-tools gnome meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= fabiocolacio GH_PROJECT= Marker GH_TUPLE= Mandarancio:scidown:a7b7f063de4f272ef0ec12d00b98470888e8cb32:scidown/src/scidown \ Mandarancio:charter:a25dee1214ea9ba5882325066555cb813efbb489:charter/src/scidown/src/charter \ codeplea:tinyexpr:9476568b69de4c384903f1d5f255907b92592f45:tinyexpr/src/scidown/src/charter/src/tinyexpr -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 gtksourceview3 GLIB_SCHEMAS= com.github.fabiocolacio.marker.gschema.xml DATADIR= ${PREFIX}/share/com.github.fabiocolacio.marker PORTDOCS= CONTRIBUTING.md README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/mousepad/Makefile b/editors/mousepad/Makefile index 32dae1bca9f7..129425d95fc9 100644 --- a/editors/mousepad/Makefile +++ b/editors/mousepad/Makefile @@ -1,43 +1,43 @@ PORTNAME= mousepad PORTVERSION= 0.6.3 CATEGORIES= editors xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Simple text editor for the Xfce Desktop WWW= https://git.xfce.org/apps/mousepad/about/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= desktop-file-utils gettext-tools gmake gnome libtool perl5 \ pkgconfig tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 intltool +USE_GNOME= cairo gdkpixbuf glib20 gtk30 gtksourceview3 intltool GLIB_SCHEMAS= org.xfce.mousepad.gschema.xml USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS SHORTCUTS SPELL OPTIONS_DEFAULT= SHORTCUTS SPELL OPTIONS_SUB= yes SHORTCUTS_DESC= Shortcuts editor plugin SPELL_DESC= Spell checking plugin NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls SHORTCUTS_USE= XFCE=libmenu,xfconf SHORTCUTS_CONFIGURE_ENABLE= plugin-shortcuts SPELL_LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libgspell-1.so:textproc/gspell SPELL_CONFIGURE_ENABLE= plugin-gspell SPELL_VARS= GLIB_SCHEMAS+=org.xfce.mousepad.plugins.gspell.gschema.xml .include diff --git a/editors/mp/Makefile b/editors/mp/Makefile index e8c932ad254c..5bee62bbe04a 100644 --- a/editors/mp/Makefile +++ b/editors/mp/Makefile @@ -1,123 +1,123 @@ PORTNAME= mp DISTVERSION= 5.61 PORTREVISION= 1 CATEGORIES= editors MAINTAINER= jhale@FreeBSD.org COMMENT= Programming text editor WWW= https://www.triptico.com/software/mp.html LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake iconv USE_GITHUB= yes GH_ACCOUNT= ttcdt GH_PROJECT= mp-5.x HAS_CONFIGURE= yes CONFIGURE_SCRIPT= config.sh CONFIGURE_ARGS= --prefix=${PREFIX} --docdir=${DOCSDIR} \ --without-win32 --without-kde4 --without-qt4 CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" \ ICONV_LIB="${ICONV_LIB}" \ ICONV_PREFIX="${ICONV_PREFIX}" \ NCURSESINC="${NCURSESINC}" \ NCURSESLIB="${NCURSESLIB}" LDFLAGS+= -Wl,--as-needed MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS MANPAGES NLS PCRE OPTIONS_RADIO= GUI OPTIONS_RADIO_GUI= GTK2 GTK3 QT5 CONSOLE_DESC= ${NCURSES_DESC} OPTIONS_SINGLE= CONSOLE OPTIONS_SINGLE_CONSOLE= ANSI NCURSES OPTIONS_DEFAULT= MANPAGES NCURSES PCRE OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= p5-Grutatxt>=0:textproc/p5-Grutatxt \ mp_doccer:textproc/mp_doccer DOCS_CONFIGURE_WITH= docs MANPAGES_BUILD_DEPENDS= p5-Grutatxt>=0:textproc/p5-Grutatxt MANPAGES_CONFIGURE_WITH=manpages NLS_USES= gettext NLS_CONFIGURE_WITH= gettext PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_CONFIGURE_WITH= pcre ANSI_DESC= ANSI terminal support ANSI_CONFIGURE_WITH= ansi GTK2_USES= gnome pkgconfig -GTK2_USE= gnome=cairo,gdkpixbuf2,gtk20 +GTK2_USE= gnome=cairo,gdkpixbuf,gtk20 GTK2_CONFIGURE_ON= --with-gtk=2 GTK3_USES= gnome pkgconfig -GTK3_USE= gnome=cairo,gdkpixbuf2,gtk30 +GTK3_USE= gnome=cairo,gdkpixbuf,gtk30 GTK3_CONFIGURE_ON= --with-gtk=3 NCURSES_USES= ncurses NCURSES_CONFIGURE_WITH= curses NCURSES_CFLAGS= -I${NCURSESBASE}/include QT5_USES= compiler:c++11-lang gl pkgconfig qmake:no_env qt:5 QT5_USE= cxxstd=-std=c++11 \ gl=gl \ qt=buildtools:build,core,gui,widgets QT5_CONFIGURE_ENV= CCLINK="${CXX}" QT5_CONFIGURE_ON= --with-qt5 --with-moc="${MOC}" QT5_CONFIGURE_OFF= --without-qt .include .if ${PORT_OPTIONS:MGTK*} || ${PORT_OPTIONS:MQT5} USES+= desktop-file-utils PLIST_SUB+= GUI="" .else PLIST_SUB+= GUI="@comment " .endif .if !${PORT_OPTIONS:MGTK*} CONFIGURE_ARGS+= --without-gtk .endif do-configure: @(for CONFIGURE_WRKSRC in ${WRKSRC}/mpdm ${WRKSRC}/mpsl ${WRKSRC}; \ do \ cd $${CONFIGURE_WRKSRC} && \ ${SETENV} CC="${CC}" CPP="${CXX}" \ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}; \ done;) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mp-5 ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MGTK*} || ${PORT_OPTIONS:MQT5} ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/minimum-profit.desktop ${STAGEDIR}${PREFIX}/share/applications ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps ${INSTALL_DATA} ${WRKSRC}/minimum-profit.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps .endif do-install-NLS-on: .for lang in de es it nl ru sv ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/minimum-profit.mo .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in README RELEASE_NOTES mp_templates.sample doc/* mpdm/doc/* mpsl/doc/* ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor do-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/mp-5.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/editors/openoffice-4/Makefile b/editors/openoffice-4/Makefile index 0df211e7648f..17a06c25ce1d 100644 --- a/editors/openoffice-4/Makefile +++ b/editors/openoffice-4/Makefile @@ -1,523 +1,523 @@ PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION} PORTREVISION= 5 CATEGORIES= editors java MASTER_SITES= https://dlcdn.apache.org/openoffice/${PORTVERSION}/source/ \ https://archive.apache.org/dist/openoffice/${PORTVERSION}/source/ \ http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \ LOCAL/truckman/openoffice:extsrc \ SF/oooextras.mirror/:sf .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .endif .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif DISTFILES= ${AOOSRC} ${EXTSRC}:extsrc ${PYTHON_DISTFILE}:sf \ ${GCC_EXTRA_DISTFILES:C/.*/&:sf/g} DIST_SUBDIR= openoffice EXTRACT_ONLY= ${AOOSRC} MAINTAINER= office@FreeBSD.org #de facto maintainer is truckman@FreeBSD.org #Frequent Patch submitters should (optionally) sign the Apache iCLA COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser WWW= https://openoffice.apache.org/ LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL10 \ MPL11 PSFL TWAIN W3C LICENSE_COMB= multi LICENSE_NAME_ADOBE= Adobe Systems Incorporated license LICENSE_NAME_ICU= ICU License LICENSE_NAME_TWAIN= TWAIN Working Group license LICENSE_NAME_W3C= W3C license LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2 LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT LICENSE_FILE_MPL10= ${WRKSRC}/LICENSE_MPL10 LICENSE_FILE_MPL11= ${WRKSRC}/LICENSE_MPL11 LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 powerpc64 BUILD_DEPENDS= \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ ${LOCALBASE}/bin/unzip:archivers/unzip \ zip:archivers/zip \ ant:devel/apache-ant \ dmake:devel/dmake \ epm:devel/epm \ ${LOCALBASE}/bin/gperf:devel/gperf \ imake:devel/imake \ libunwind>=20211201_1:devel/libunwind \ gpatch:devel/patch \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ ${JAVALIBDIR}/commons-lang.jar:java/apache-commons-lang \ ${JAVALIBDIR}/junit.jar:java/junit \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ bash:shells/bash \ ${JAVALIBDIR}/lucene-core-3.6.2.jar:textproc/lucene \ p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-libwww>=0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https LIB_DEPENDS= \ libapr-1.so:devel/apr1 \ libnspr4.so:devel/nspr \ libcurl.so:ftp/curl \ libcairo.so:graphics/cairo \ libpng16.so:graphics/png \ libgraphite.so:graphics/silgraphite \ libblas.so:math/blas \ libCbcSolver.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libClpSolver.so:math/clp \ libCoinMP.so:math/coinmp \ libCoinUtils.so:math/coinutils \ libcoinmumps.so:math/coin-or-mumps \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libtextcat.so:textproc/libtextcat \ libmythes-1.2.so:textproc/mythes \ librdf.so:textproc/redland \ libserf-1.so:www/serf \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ ${JAVALIBDIR}/commons-lang.jar:java/apache-commons-lang \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:x11-fonts/croscorefonts-fonts-ttf # For libgfortran.so and libquadmath.so BUILD_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} RUN_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} USES= autoreconf bison compiler:c++11-lib cpe desktop-file-utils \ gettext-runtime gl gmake gnome iconv java jpeg perl5 pkgconfig \ shared-mime-info ssl tar:bzip2 xorg USE_GL= gl glu -USE_GNOME= gdkpixbuf2 gdkpixbuf2xlib gtk20 libxslt glib20 +USE_GNOME= gdkpixbuf gdkpixbufxlib gtk20 libxslt glib20 JAVA_VENDOR= openjdk USE_PERL5= build USE_XORG= ice sm x11 xau xaw xcomposite xcursor xdamage xext xfixes xi \ xinerama xrandr xrender xt CONFLICTS_INSTALL= apache-openoffice-devel AOOVERSION1= 4 AOOVERSION2= 1 AOOVERSION3= 15 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD AOOTAG= AOO4115m2\(Build:9813\) GITREVISION= 5f13fa0070 EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} AOOSUFFIX= ${AOOVERSION1}.${AOOVERSION2} AOOSRC= apache-openoffice-${AOOVERSION}-${GITREVISION}-src${EXTRACT_SUFX} AOOUDIR= .openoffice.org\/${AOOVERSION1} INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX} PRINSTALLATION_BASEDIR= ${PREFIX}/${INSTALLATION_BASEDIR} OOPATH= ${PRINSTALLATION_BASEDIR}/openoffice${AOOVERSION1} XDGDIR= ${OOPATH}/share/xdg XDGREL= ../../${INSTALLATION_BASEDIR}/openoffice${AOOVERSION1}/share/xdg EXECBASE?= openoffice-${AOOSUFFIX} WITHOUT_CPU_CFLAGS= true CPE_PRODUCT= ${PORTNAME:S|apache-||} CPE_VENDOR= apache OPTIONS_DEFINE= CRASHDUMP CUPS DBGUTIL DEBUG GNOME \ SDK WIKI_PUBLISHER OPTIONS_DEFAULT= CUPS GNOME WIKI_PUBLISHER CRASHDUMP_DESC= Enable crashdumps, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} DBGUTIL_DESC= Enable assertions, object counting. (non-production) DEBUG_DESC= Compile with -O0, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} GNOME_DESC= Screensaver presentation control via DBUS SDK_DESC= Build and install software development kit WIKI_PUBLISHER_DESC= Build and install Wiki Publisher extension CRASHDUMP_CONFIGURE_ENABLE= crashdump CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DBGUTIL_CONFIGURE_ENABLE= dbgutil DEBUG_CONFIGURE_ENABLE= debug GNOME_CONFIGURE_ENABLE= dbus lockdown GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib SDK_CONFIGURE_ENABLE= odk SDK_DISTFILES= unowinreg.dll:unoreg WIKI_PUBLISHER_CONFIGURE_ENABLE= wiki-publisher WIKI_PUBLISHER_CONFIGURE_WITH= \ commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar \ commons-logging-jar=${JAVALIBDIR}/commons-logging.jar WIKI_PUBLISHER_JAR_DEPENDS= \ ${JAVALIBDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVALIBDIR}/commons-httpclient.jar:java/apache-commons-httpclient \ ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging WIKI_PUBLISHER_BUILD_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} WIKI_PUBLISHER_RUN_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} WIKI_PUBLISHER_VARS= BUNDLED_EXTENSIONS+=swext/wiki-publisher.oxt # Don't run gnome-post-icons until after post-install generates the plist TARGET_ORDER_OVERRIDE= 710:gnome-post-icons # Force the SDK option on for makesum to ensure that unowinreg.dll is # included in distinfo .if make(makesum) || make(distclean) WITH= SDK .endif .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-symbols .else CONFIGURE_ARGS+= --enable-strip-solver .endif .include <${FILESDIR}/Makefile.localized> PYTHON_DISTFILE= 38c84292658ed4456157195f1c9bcbe1-Python-2.7.18.tgz GCC_EXTRA_DISTFILES= d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2 \ d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz .if ${CHOSEN_COMPILER_TYPE} == clang CPPFLAGS+= -I${LOCALBASE}/include . if ${ARCH} == amd64 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-align16 . endif .endif .if ${ARCH} == amd64 FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 .elif ${ARCH} == i386 FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 .elif ${ARCH} == powerpc64 FREEBSD_ENV_SET= FreeBSDPPC64Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_ppc64 .endif PACKAGE_PREFIX= Apache_OpenOffice LOCALIZED_LANG?= en-US AOO_MAKE_ENV= ${MAKE_ENV:NCPPFLAGS=*:NCFLAGS=*:NCXXFLAGS=*:NLDFLAGS=*} GNU_CONFIGURE= yes WRKSUBDIR= ${WRKDIR}/aoo-${AOOVERSION} WRKSRC?= ${WRKSUBDIR}/main SUB_FILES= pkg-message SUB_LIST= EXECBASE=${EXECBASE} AOOTAG=${AOOTAG} AOOUDIR=${AOOUDIR} \ AOOVERSION=${AOOVERSION} \ PRINSTALLATION_BASEDIR=${PRINSTALLATION_BASEDIR} CONFIGURE_ARGS+= \ --disable-gconf \ --enable-gio \ --disable-gnome-vfs \ --with-unix-wrapper=${EXECBASE} \ --with-alloc=system \ --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-system-apache-commons=yes \ --with-commons-lang-jar=${JAVALIBDIR}/commons-lang.jar \ --with-system-apr \ --with-system-apr-util \ --with-system-beanshell \ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --enable-category-b \ --with-system-cairo --enable-cairo \ --with-system-coinmp \ --with-system-curl \ --with-system-dicts \ --with-epm=${LOCALBASE}/bin/epm \ --with-system-expat \ --disable-fetch-external \ --without-fonts \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-gperf=${LOCALBASE}/bin/gperf \ --with-system-graphite \ --enable-gtk \ --with-system-hunspell \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-system-hyphen \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-jdk-home=${JAVA_HOME} \ --with-system-jpeg \ --with-junit=${JAVALIBDIR}/junit.jar \ --with-system-libtextcat \ --disable-kde \ --disable-kde4 \ --with-system-libxml \ --with-system-libxslt \ --with-system-lucene \ --with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ --with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ --with-system-mythes \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-system-nss \ --enable-opengl \ --with-system-openssl \ --with-package-format="archive" \ --without-system-python \ --with-system-redland \ --with-system-sane \ --with-system-serf \ --with-system-stdlibs \ --with-vendor="FreeBSD ports system" \ --with-build-version="PKGNAME: ${PKGNAME:S/,/@/g}" \ --enable-verbose \ --with-system-xrender \ --with-system-zlib .if defined (BUNDLED_EXTENSIONS) CONFIGURE_ARGS+= --with-bundled-prereg-extensions="${BUNDLED_EXTENSIONS}" .endif CREATE_TREE= ${WRKSRC}/sysui/desktop/share/create_tree.sh .include <${FILESDIR}/Makefile.knobs> pre-everything:: # really tweak, extremely useful when you build all localized language versions # needed after when you build with ALL_LOCALIZED_LANGS. .if defined(TWEAK_L10N) ${RM} ${WRKDIR}/.PLIST* ${RM} ${WRKDIR}/.install_done.* ${RM} ${WRKDIR}/.package_done.* ${RM} ${WRKDIR}/.extract_done.* ${RM} ${WRKDIR}/.patch_done.* ${RM} ${WRKDIR}/.configure_done.* ${RM} ${WRKDIR}/.build_done.* ${MKDIR} ${WRKDIR} ${TOUCH} ${EXTRACT_COOKIE} ${TOUCH} ${PATCH_COOKIE} ${TOUCH} ${CONFIGURE_COOKIE} ${TOUCH} ${BUILD_COOKIE} .endif do-extract-SDK-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ post-extract: ${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${PYTHON_DISTFILE} ${WRKSUBDIR}/ext_sources/${PYTHON_DISTFILE} .for f in ${GCC_EXTRA_DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSUBDIR}/ext_sources/${f} .endfor ${CP} ${FILESDIR}/freebsd-aoo-intro.png \ ${WRKSRC}/default_images/introabout/intro.png ${CP} ${FILESDIR}/freebsd-aoo-about.png \ ${WRKSRC}/default_images/introabout/about.png ${RM} -r ${WRKSRC}/l10n ${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip ${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \ -e '\|^For PostScript(R) AFM|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE} ${SED} -e '\|^For main/unixODBC|,/^__/p' \ -e '\|^For main/connectivity|,/^__/p' \ -e '\|^For main/libtextcat/data|,/^__/p' \ -e '\|^For integration of HSQLDB|,/^__/p' \ -e '\|^For C preprocessor|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE} ${SED} -e '\|^For ICC |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE} ${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL} ${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU} ${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \ -e '\|^For XSLT MathML Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT} ${SED} -e '\|^For XMLSec Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT} ${SED} -e '\|^For Saxon|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL10} ${SED} -e '\|^The following Licenses have some restrictions|,/^- For Network/p' \ -e d ${WRKSRC}/LICENSE_category_b | \ ${SED} -e :a -e '$d;N;2,3ba' -e 'P;D' > ${LICENSE_FILE_MPL11} ${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL} ${ECHO} '' >> ${LICENSE_FILE_PSFL} ${SED} -e '\|^For Python|,/^__/p' \ -e d ${WRKSRC}/LICENSE >> ${LICENSE_FILE_PSFL} ${SED} -e '\|^For main/twain|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN} ${SED} -e '\|^For main/MathMLDTD|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C} post-patch: ${REINPLACE_CMD} -e "/^ICONVERSION/s/=.*/= '${AOOVERSION1}'/" \ ${WRKSRC}/sysui/desktop/productversion.mk ${REINPLACE_CMD} -e "s|%%JAVA_HOME%%|${JAVA_HOME}|" \ ${WRKSRC}/desktop/scripts/soffice.sh ${REINPLACE_CMD} -e '/^mkdir -p/,$$d' ${CREATE_TREE} .if ${CHOSEN_COMPILER_TYPE} == gcc # g++49 -Os sometimes leaves inline class methods undefined, # affects fmgridif.cxx and ColumnControl.cxx # See: if [ ${CXX} = g++49 ]; then \ ${REINPLACE_CMD} -e "s/ := -Os/ := -Os -fno-devirtualize -fno-devirtualize-speculatively/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk; \ ${REINPLACE_CMD} -e "s/=-Os /=-Os -fno-devirtualize -fno-devirtualize-speculatively /" ${WRKSRC}/solenv/inc/unxfbsdi.mk; \ fi .elif ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == clang # autodoc and uno (bridgetest) core dump when built with with -Os # on i386, affects file.cxx and bridgetest.cxx (at least). # Using -O2 optimiztion works, and -Os is essentially -O2 with out # loop unrolling. # Changing optimization in just unxfbsdi.mk is sufficient to get # a successful build, but change it in both places to avoid the # possibility of obscure runtime problems, which is likely # since this seems to be a generic bug in code generation for # exception handling. # See: ${REINPLACE_CMD} -e "s/=-Os /=-O2 -fno-unroll-loops /" ${WRKSRC}/solenv/inc/unxfbsdi.mk ${REINPLACE_CMD} -e "s/ := -Os/ := -O2 -fno-unroll-loops/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk .endif # Verify that lucene was built with the CONTRIB option instead of # failing mysteriously during the build pre-configure: @if [ ! -f ${JAVALIBDIR}/lucene-analyzers-3.6.2.jar ]; then \ ${ECHO} "error: textproc/lucene must be built with the CONTRIB option enabled"; \ exit 1; \ fi do-build: ${PRINTF} "[repositories]\nmain=active\nextras=active\n" > ${WRKSUBDIR}/source_config cd ${WRKSRC} ; ./bootstrap # # numproc controls the number of parallel makes. # # dmproc is passed to dmake and controls parallelization at that # level. # # dmproc > numproc seems to give shorter build times than # numproc > dmproc. # # Select values for numproc and dmproc such that: # * numproc*dmproc >= MAKE_JOBS_NUMBER # * minimize numproc*dmproc-MAKE_JOBS_NUMBER # * dmproc >= numproc # * dmproc <= 2*numproc if MAKE_JOBS_NUMBER <= 3 # if [ ${MAKE_JOBS_NUMBER} -le 3 ] ; then \ numproc=1 ; dmproc=${MAKE_JOBS_NUMBER} ; \ else \ a=1 ; \ while [ $$(( 2 * $${a} * $${a} )) -lt ${MAKE_JOBS_NUMBER} ]; do \ a=$$(( $${a} + 1 )) ; \ done ; \ b=$$(( $${a} + 1 )) ; \ ad=$$(( ( ${MAKE_JOBS_NUMBER} + $${a} - 1 ) / $${a} )) ; \ ap=$$(( $${a} * $${ad} )) ; \ bd=$$(( ( ${MAKE_JOBS_NUMBER} + $${b} - 1 ) / $${b} )) ; \ bp=$$(( $${b} * $${bd} )) ; \ if [ $${ap} -le $${bp} ]; then \ numproc=$${a} ; dmproc=$${ad} ; \ else \ numproc=$${b} ; dmproc=$${bd} ; \ fi ; \ fi ; \ cd ${WRKSRC}/instsetoo_native ; \ export ${AOO_MAKE_ENV} ; \ . ../${FREEBSD_ENV_SET} ; \ build.pl --all -P$${numproc} -- -P$${dmproc} PYDL= ${STAGEDIR}${OOPATH}/program/python-core-2.7.18/lib/lib-dynload do-install: @${MKDIR} ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ ${STAGEDIR}${PREFIX}/share/mime/packages @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd instsetoo_native/$${INPATH}/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/ ; \ for i in *.tar.?z ; do \ ${ECHO_CMD} "extracting $$i" ; \ ${TAR} -s '|./[^/]*/||' -xz -f $$i \ -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} ; \ done ${RM} ${PYDL}/_sqlite3.so ${PYDL}/gdbm.so ${PYDL}/readline.so ${FIND} ${STAGEDIR}${PRINSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; ${REINPLACE_CMD} \ -e '/^UserInstallation/s/=.*/=$$SYSUSERCONFIG\/${AOOUDIR}/' \ ${STAGEDIR}${OOPATH}/program/bootstraprc @${RM} ${STAGEDIR}${OOPATH}/program/bootstraprc.bak @${ECHO_CMD} "adding wrapper scripts"; @${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ @${REINPLACE_CMD} -e 's#%%OOPATH%%#${OOPATH}#g' \ -e 's#%%EXECBASE%%#${EXECBASE}#g' \ ${WRKDIR}/openoffice-wrapper ${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \ ${STAGEDIR}${PREFIX}/bin/${EXECBASE} @cd ${STAGEDIR}${PREFIX}/bin; for i in printeradmin sbase scalc sdraw \ simpress smath spadmin swriter ; do \ ${LN} -f ${EXECBASE} ${EXECBASE}-$${i} ; \ done @${ECHO_CMD} "adding desktop support" @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd sysui/$${INPATH}/misc/openoffice ; \ DESTDIR=${STAGEDIR} \ GNOMEDIR=${PREFIX} \ ICON_PREFIX=openoffice${AOOVERSION1} \ ICON_SOURCE_DIR=${WRKSRC}/sysui/desktop/icons \ ICON_THEMES="hicolor/??x??" \ KDEMAINDIR=${PREFIX} \ PREFIX=openoffice${AOOVERSION1} \ ${SH} ${CREATE_TREE} ; \ ${INSTALL_DATA} apacheopenoffice.xml \ ${STAGEDIR}/${PREFIX}/share/mime/packages @cd ${STAGEDIR}${DESKTOPDIR}; for i in base calc draw impress \ javafilter math printeradmin qstart startcenter writer ; do \ ${LN} -sf ${XDGREL}/$${i}.desktop ${EXECBASE}-$${i}.desktop ; \ done do-install-SDK-on: ${TAR} -s '|./[^/]*/||' -xz -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ -f ${WRKSRC}/instsetoo_native/unxfbsd*.pro/Apache_OpenOffice_SDK/archive/install/${LOCALIZED_LANG}/*.tar.gz @f=${STAGEDIR}${OOPATH}/sdk/bin/unoapploader ; \ ${CHMOD} 644 $${f} ; ${STRIP_CMD} $${f} ; ${CHMOD} 444 $${f} post-install: @${ECHO_CMD} "generating plist"; @cd ${STAGEDIR}${PREFIX} ; (\ ${FIND} -s bin -name "${EXECBASE}*" ; \ ${FIND} -s ${INSTALLATION_BASEDIR} share/applications \ share/application-registry share/icons \ share/mime-info share/mime share/mimelnk \! -type d ; \ ${FIND} ${INSTALLATION_BASEDIR} -type d -empty | ${SORT} -r | \ ${SED} -e 's/^/@dir /' ; \ ) >> ${TMPPLIST} .include <${FILESDIR}/Makefile.others> .include diff --git a/editors/openoffice-devel/Makefile b/editors/openoffice-devel/Makefile index 49845d5eef3d..7eb0672c6820 100644 --- a/editors/openoffice-devel/Makefile +++ b/editors/openoffice-devel/Makefile @@ -1,524 +1,524 @@ PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION1}.${AOOVERSION2}.${TIMESTAMP} PORTREVISION= 4 PORTEPOCH= 4 CATEGORIES= editors java MASTER_SITES= https://dist.apache.org/repos/dist/dev/openoffice/${AOOVERSION}-${AOORC}-${TIMESTAMP}/source/ \ http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \ LOCAL/truckman/openoffice:snap,extsrc \ SF/oooextras.mirror/:sf .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .endif .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif PKGNAMESUFFIX= -devel DISTFILES= ${AOOSRC}${AOODISTTAG} ${EXTSRC}:extsrc \ ${GCC_EXTRA_DISTFILES:C/.*/&:sf/g} DIST_SUBDIR= openoffice EXTRACT_ONLY= ${AOOSRC} MAINTAINER= office@FreeBSD.org #de facto maintainer is truckman@FreeBSD.org #Frequent Patch submitters should (optionally) sign the Apache iCLA COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser (developer version) WWW= https://openoffice.apache.org/ LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL10 \ MPL11 PSFL TWAIN W3C LICENSE_COMB= multi LICENSE_NAME_ADOBE= Adobe Systems Incorporated license LICENSE_NAME_ICU= ICU License LICENSE_NAME_TWAIN= TWAIN Working Group license LICENSE_NAME_W3C= W3C license LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2 LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT LICENSE_FILE_MPL10= ${WRKSRC}/LICENSE_MPL10 LICENSE_FILE_MPL11= ${WRKSRC}/LICENSE_MPL11 LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 powerpc64 BUILD_DEPENDS= \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ ${LOCALBASE}/bin/unzip:archivers/unzip \ zip:archivers/zip \ ant:devel/apache-ant \ dmake:devel/dmake \ epm:devel/epm \ ${LOCALBASE}/bin/gperf:devel/gperf \ imake:devel/imake \ libunwind>=20211201_1:devel/libunwind \ gpatch:devel/patch \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVALIBDIR}/junit.jar:java/junit \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ bash:shells/bash \ ${JAVALIBDIR}/lucene-core-3.6.2.jar:textproc/lucene \ p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-libwww>=0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https LIB_DEPENDS= \ libapr-1.so:devel/apr1 \ libnspr4.so:devel/nspr \ libcurl.so:ftp/curl \ libcairo.so:graphics/cairo \ libpng16.so:graphics/png \ libgraphite.so:graphics/silgraphite \ libblas.so:math/blas \ libCbcSolver.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libClpSolver.so:math/clp \ libCoinMP.so:math/coinmp \ libCoinUtils.so:math/coinutils \ libcoinmumps.so:math/coin-or-mumps \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libtextcat.so:textproc/libtextcat \ libmythes-1.2.so:textproc/mythes \ librdf.so:textproc/redland \ libserf-1.so:www/serf \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:x11-fonts/croscorefonts-fonts-ttf # For libgfortran.so and libquadmath.so BUILD_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} RUN_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} USES= autoreconf bison compiler:c++11-lib cpe desktop-file-utils \ gettext-runtime gl gmake gnome iconv java jpeg perl5 pkgconfig \ python shared-mime-info ssl tar:${TARTYPE} xorg USE_GL= gl glu -USE_GNOME= gdkpixbuf2 gdkpixbuf2xlib gtk20 libxslt glib20 +USE_GNOME= gdkpixbuf gdkpixbufxlib gtk20 libxslt glib20 JAVA_VENDOR= openjdk USE_PERL5= build USE_XORG= ice sm x11 xau xaw xcomposite xcursor xdamage xext xfixes xi \ xinerama xrandr xrender xt CONFLICTS_INSTALL= apache-openoffice-4* AOOVERSION1= 4 AOOVERSION2= 2 AOOVERSION3= 0 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD AOOTAG= AOO420m4\(Build:9823\) GITREVISION= 98a91fccb4 TIMESTAMP= 1731847285 #AOORC=rc3 EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} AOOSUFFIX= ${AOOVERSION1}.${AOOVERSION2} .if defined(AOORC) AOOSRC= apache-openoffice-${AOOVERSION}-${GITREVISION}-src${EXTRACT_SUFX} AOODISTTAG= TARTYPE= bzip2 .else AOOSRC= apache-openoffice-${TIMESTAMP}-${GITREVISION}-src${EXTRACT_SUFX} AOODISTTAG= :snap TARTYPE= xz .endif AOOUDIR= .openoffice.org\/${AOOVERSION1} INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX} PRINSTALLATION_BASEDIR= ${PREFIX}/${INSTALLATION_BASEDIR} OOPATH= ${PRINSTALLATION_BASEDIR}/openoffice${AOOVERSION1} XDGDIR= ${OOPATH}/share/xdg XDGREL= ../../${INSTALLATION_BASEDIR}/openoffice${AOOVERSION1}/share/xdg EXECBASE?= openoffice-${AOOSUFFIX} WITHOUT_CPU_CFLAGS= true CPE_PRODUCT= ${PORTNAME:S|apache-||} CPE_VENDOR= apache OPTIONS_DEFINE= CRASHDUMP CUPS DBGUTIL DEBUG GNOME MMEDIA \ MYSQL PDFIMPORT REPORT_BUILDER SDK WIKI_PUBLISHER OPTIONS_DEFAULT= CUPS GNOME MMEDIA WIKI_PUBLISHER CRASHDUMP_DESC= Enable crashdumps, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} DBGUTIL_DESC= Enable assertions, object counting. (non-production) DEBUG_DESC= Compile with -O0, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} GNOME_DESC= Screensaver presentation control via DBUS MMEDIA_DESC= Multimedia backend for impress MYSQL_DESC= Build MySQL Connector extension PDFIMPORT_DESC= Build and install PDF import extension REPORT_BUILDER_DESC= Build and install Report builder extension (Broken) SDK_DESC= Build and install software development kit WIKI_PUBLISHER_DESC= Build and install Wiki Publisher extension CRASHDUMP_CONFIGURE_ENABLE= crashdump CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DBGUTIL_CONFIGURE_ENABLE= dbgutil DEBUG_CONFIGURE_ENABLE= debug GNOME_CONFIGURE_ENABLE= dbus lockdown GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib MMEDIA_CONFIGURE_ENABLE= gstreamer MMEDIA_USES= gstreamer MYSQL_CONFIGURE_ENABLE= mysql-connector MYSQL_CONFIGURE_WITH= system-mysql MYSQL_LIB_DEPENDS= libmysqlcppconn.so:databases/mysql-connector-c++ MYSQL_USES= mysql MYSQL_VARS= IGNORE_WITH_MYSQL="80 81" SDK_CONFIGURE_ENABLE= odk SDK_DISTFILES= unowinreg.dll:unoreg PDFIMPORT_BROKEN= PDFIMPORT is not compatible with poppler-0.7x API PDFIMPORT_CONFIGURE_ENABLE= pdfimport REPORT_BUILDER_BROKEN= REPORT_BUILDER option requires additional .jar files REPORT_BUILDER_CONFIGURE_ENABLE= report-builder REPORT_BUILDER_JAR_DEPENDS= REPORT_BUILDER_BUILD_DEPENDS= ${REPORT_BUILDER_JAR_DEPENDS} REPORT_BUILDER_RUN_DEPENDS= ${REPORT_BUILDER_JAR_DEPENDS} WIKI_PUBLISHER_CONFIGURE_ENABLE= wiki-publisher WIKI_PUBLISHER_CONFIGURE_WITH= \ commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar WIKI_PUBLISHER_JAR_DEPENDS= \ ${JAVALIBDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVALIBDIR}/commons-httpclient.jar:java/apache-commons-httpclient WIKI_PUBLISHER_BUILD_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} WIKI_PUBLISHER_RUN_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} # Don't run gnome-post-icons until after post-install generates the plist TARGET_ORDER_OVERRIDE= 710:gnome-post-icons # Force the SDK option on for makesum to ensure that unowinreg.dll is # included in distinfo .if make(makesum) || make(distclean) WITH= SDK .endif .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-symbols .else CONFIGURE_ARGS+= --enable-strip-solver .endif .if ${PORT_OPTIONS:MREPORT_BUILDER} || ${PORT_OPTIONS:MWIKI_PUBLISHER} BUILD_DEPENDS+= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging RUN_DEPENDS+= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging CONFIGURE_ARGS+= --with-commons-logging-jar=${JAVALIBDIR}/commons-logging.jar .else CONFIGURE_ARGS+= --without-commons-logging .endif .include <${FILESDIR}/Makefile.localized> GCC_EXTRA_DISTFILES= d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2 \ e3738abd0d3ce1870dc1fd1f22bba5b1-icu4c-4_2_1-src.tgz \ d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz .if ${CHOSEN_COMPILER_TYPE} == clang CPPFLAGS+= -I${LOCALBASE}/include .endif .if ${ARCH} == amd64 FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 .elif ${ARCH} == i386 FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 .elif ${ARCH} == powerpc64 FREEBSD_ENV_SET= FreeBSDPPC64Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_ppc64 .endif PACKAGE_PREFIX= Apache_OpenOffice LOCALIZED_LANG?= en-US AOO_MAKE_ENV= ${MAKE_ENV:NCPPFLAGS=*:NCFLAGS=*:NCXXFLAGS=*} GNU_CONFIGURE= yes WRKSUBDIR= ${WRKDIR}/aoo-${AOOVERSION} WRKSRC?= ${WRKSUBDIR}/main SUB_FILES= pkg-message SUB_LIST= EXECBASE=${EXECBASE} AOOTAG=${AOOTAG} AOOUDIR=${AOOUDIR} \ PRINSTALLATION_BASEDIR=${PRINSTALLATION_BASEDIR} CONFIGURE_ARGS+= \ --disable-gconf \ --enable-gio \ --disable-gnome-vfs \ --with-unix-wrapper=${EXECBASE} \ --with-alloc=system \ --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-system-apache-commons=yes \ --with-commons-lang-jar=${JAVALIBDIR}/commons-lang3.jar \ --with-system-apr \ --with-system-apr-util \ --with-system-beanshell \ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --enable-category-b \ --with-system-cairo --enable-cairo \ --with-system-coinmp \ --with-system-curl \ --with-system-dicts \ --with-epm=${LOCALBASE}/bin/epm \ --with-system-expat \ --disable-fetch-external \ --without-fonts \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-gperf=${LOCALBASE}/bin/gperf \ --with-system-graphite \ --enable-gtk \ --with-system-hunspell \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-system-hyphen \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-jdk-home=${JAVA_HOME} \ --with-system-jpeg \ --with-junit=${JAVALIBDIR}/junit.jar \ --with-system-libtextcat \ --disable-kde \ --disable-kde4 \ --with-system-libxml \ --with-system-libxslt \ --with-system-lucene \ --with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ --with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ --with-system-mythes \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-system-nss \ --enable-opengl \ --with-system-openssl \ --with-package-format="archive" \ --with-system-python \ --with-system-redland \ --with-system-sane \ --with-system-serf \ --with-system-stdlibs \ --with-vendor="FreeBSD ports system" \ --with-build-version="PKGNAME: ${PKGNAME:S/,/@/g}" \ --enable-verbose \ --with-system-xrender \ --with-system-zlib CREATE_TREE= ${WRKSRC}/sysui/desktop/share/create_tree.sh .include <${FILESDIR}/Makefile.knobs> pre-everything:: # really tweak, extremely useful when you build all localized language versions # needed after when you build with ALL_LOCALIZED_LANGS. .if defined(TWEAK_L10N) ${RM} ${WRKDIR}/.PLIST* ${RM} ${WRKDIR}/.install_done.* ${RM} ${WRKDIR}/.package_done.* ${RM} ${WRKDIR}/.extract_done.* ${RM} ${WRKDIR}/.patch_done.* ${RM} ${WRKDIR}/.configure_done.* ${RM} ${WRKDIR}/.build_done.* ${MKDIR} ${WRKDIR} ${TOUCH} ${EXTRACT_COOKIE} ${TOUCH} ${PATCH_COOKIE} ${TOUCH} ${CONFIGURE_COOKIE} ${TOUCH} ${BUILD_COOKIE} .endif do-extract-SDK-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ post-extract: ${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC} .for f in ${GCC_EXTRA_DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSUBDIR}/ext_sources/${f} .endfor ${CP} ${FILESDIR}/freebsd-aoo-intro-developer.png \ ${WRKSRC}/default_images/introabout/intro.png ${CP} ${FILESDIR}/freebsd-aoo-about-developer.png \ ${WRKSRC}/default_images/introabout/about.png ${RM} -r ${WRKSRC}/l10n ${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip ${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \ -e '\|^For PostScript(R) AFM|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE} ${SED} -e '\|^For main/unixODBC|,/^__/p' \ -e '\|^For main/connectivity|,/^__/p' \ -e '\|^For main/libtextcat/data|,/^__/p' \ -e '\|^For integration of HSQLDB|,/^__/p' \ -e '\|^For C preprocessor|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE} ${SED} -e '\|^For ICC |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE} ${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL} ${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU} ${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \ -e '\|^For XSLT MathML Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT} ${SED} -e '\|^For XMLSec Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT} ${SED} -e '\|^For Saxon|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL10} ${SED} -e '\|^The following Licenses have some restrictions|,/^- For Network/p' \ -e d ${WRKSRC}/LICENSE_category_b | \ ${SED} -e :a -e '$d;N;2,3ba' -e 'P;D' > ${LICENSE_FILE_MPL11} ${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL} ${SED} -e '\|^For main/twain|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN} ${SED} -e '\|^For main/MathMLDTD|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C} post-patch: ${REINPLACE_CMD} -e "/^ICONVERSION/s/=.*/= '${AOOVERSION1}'/" \ ${WRKSRC}/sysui/desktop/productversion.mk ${REINPLACE_CMD} -e "s|%%JAVA_HOME%%|${JAVA_HOME}|" \ ${WRKSRC}/desktop/scripts/soffice.sh ${REINPLACE_CMD} -e '/^mkdir -p/,$$d' ${CREATE_TREE} # Verify that lucene was built with the CONTRIB option instead of # failing mysteriously during the build pre-configure: @if [ ! -f ${JAVALIBDIR}/lucene-analyzers-3.6.2.jar ]; then \ ${ECHO} "error: textproc/lucene must be built with the CONTRIB option enabled"; \ exit 1; \ fi do-build: ${PRINTF} "[repositories]\nmain=active\nextras=active\n" > ${WRKSUBDIR}/source_config cd ${WRKSRC} ; ./bootstrap # # numproc controls the number of parallel makes. # # dmproc is passed to dmake and controls parallelization at that # level. # # dmproc > numproc seems to give shorter build times than # numproc > dmproc. # # Select values for numproc and dmproc such that: # * numproc*dmproc >= MAKE_JOBS_NUMBER # * minimize numproc*dmproc-MAKE_JOBS_NUMBER # * dmproc >= numproc # * dmproc <= 2*numproc if MAKE_JOBS_NUMBER <= 3 # if [ ${MAKE_JOBS_NUMBER} -le 3 ] ; then \ numproc=1 ; dmproc=${MAKE_JOBS_NUMBER} ; \ else \ a=1 ; \ while [ $$(( 2 * $${a} * $${a} )) -lt ${MAKE_JOBS_NUMBER} ]; do \ a=$$(( $${a} + 1 )) ; \ done ; \ b=$$(( $${a} + 1 )) ; \ ad=$$(( ( ${MAKE_JOBS_NUMBER} + $${a} - 1 ) / $${a} )) ; \ ap=$$(( $${a} * $${ad} )) ; \ bd=$$(( ( ${MAKE_JOBS_NUMBER} + $${b} - 1 ) / $${b} )) ; \ bp=$$(( $${b} * $${bd} )) ; \ if [ $${ap} -le $${bp} ]; then \ numproc=$${a} ; dmproc=$${ad} ; \ else \ numproc=$${b} ; dmproc=$${bd} ; \ fi ; \ fi ; \ cd ${WRKSRC}/instsetoo_native ; \ export ${AOO_MAKE_ENV} ; \ . ../${FREEBSD_ENV_SET} ; \ build.pl --all -P$${numproc} -- -P$${dmproc} do-install: @${MKDIR} ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ ${STAGEDIR}${PREFIX}/share/mime/packages @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd instsetoo_native/$${INPATH}/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/ ; \ for i in *.tar.?z ; do \ ${ECHO_CMD} "extracting $$i" ; \ ${TAR} -s '|./[^/]*/||' -xz -f $$i \ -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} ; \ done ${FIND} ${STAGEDIR}${PRINSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; ${REINPLACE_CMD} \ -e '/^UserInstallation/s/=.*/=$$SYSUSERCONFIG\/${AOOUDIR}/' \ ${STAGEDIR}${OOPATH}/program/bootstraprc @${RM} ${STAGEDIR}${OOPATH}/program/bootstraprc.bak @${ECHO_CMD} "adding wrapper scripts"; @${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ @${REINPLACE_CMD} -e 's#%%OOPATH%%#${OOPATH}#g' \ -e 's#%%EXECBASE%%#${EXECBASE}#g' \ ${WRKDIR}/openoffice-wrapper ${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \ ${STAGEDIR}${PREFIX}/bin/${EXECBASE} @cd ${STAGEDIR}${PREFIX}/bin; for i in printeradmin sbase scalc sdraw \ simpress smath spadmin swriter ; do \ ${LN} -f ${EXECBASE} ${EXECBASE}-$${i} ; \ done @${ECHO_CMD} "adding desktop support" @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd sysui/$${INPATH}/misc/openoffice ; \ DESTDIR=${STAGEDIR} \ GNOMEDIR=${PREFIX} \ ICON_PREFIX=openoffice${AOOVERSION1} \ ICON_SOURCE_DIR=${WRKSRC}/sysui/desktop/icons \ ICON_THEMES="hicolor/??x??" \ KDEMAINDIR=${PREFIX} \ PREFIX=openoffice${AOOVERSION1} \ ${SH} ${CREATE_TREE} ; \ ${INSTALL_DATA} apacheopenoffice.xml \ ${STAGEDIR}/${PREFIX}/share/mime/packages @cd ${STAGEDIR}${DESKTOPDIR}; for i in base calc draw impress \ javafilter math printeradmin qstart startcenter writer ; do \ ${LN} -sf ${XDGREL}/$${i}.desktop ${EXECBASE}-$${i}.desktop ; \ done do-install-SDK-on: ${TAR} -s '|./[^/]*/||' -xz -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ -f ${WRKSRC}/instsetoo_native/unxfbsd*.pro/Apache_OpenOffice_SDK/archive/install/${LOCALIZED_LANG}/*.tar.gz @f=${STAGEDIR}${OOPATH}/sdk/bin/unoapploader ; \ ${CHMOD} 644 $${f} ; ${STRIP_CMD} $${f} ; ${CHMOD} 444 $${f} post-install: @${ECHO_CMD} "generating plist"; @cd ${STAGEDIR}${PREFIX} ; (\ ${FIND} -s bin -name "${EXECBASE}*" ; \ ${FIND} -s ${INSTALLATION_BASEDIR} share/applications \ share/application-registry share/icons \ share/mime-info share/mime share/mimelnk \! -type d ; \ ${FIND} ${INSTALLATION_BASEDIR} -type d -empty | ${SORT} -r | \ ${SED} -e 's/^/@dir /' ; \ ) >> ${TMPPLIST} .include <${FILESDIR}/Makefile.others> .include diff --git a/editors/pluma-plugins/Makefile b/editors/pluma-plugins/Makefile index 80331b33fa8a..4aa84c2519f8 100644 --- a/editors/pluma-plugins/Makefile +++ b/editors/pluma-plugins/Makefile @@ -1,42 +1,42 @@ PORTNAME= pluma-plugins PORTVERSION= 1.28.0 PORTREVISION= 1 CATEGORIES= editors mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Plugins for Pluma WWW= https://mate-desktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= pluma>=0:editors/pluma \ itstool:textproc/itstool \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} LIB_DEPENDS= libpeas-1.0.so:devel/libpeas \ libgit2-glib-1.0.so:devel/libgit2-glib \ libgucharmap_2_90.so:deskutils/gucharmap RUN_DEPENDS= pluma>=0:editors/pluma \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gnome localbase gmake pkgconfig \ python shebangfix tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk30 gtksourceview4 intlhack introspection \ +USE_GNOME= cairo gdkpixbuf gtk30 gtksourceview4 intlhack introspection \ intltool vte3 USE_CSTD= c11 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.pluma.plugins.sourcecodebrowser.gschema.xml \ org.mate.pluma.plugins.terminal.gschema.xml \ org.mate.pluma.plugins.wordcompletion.gschema.xml .include diff --git a/editors/pluma/Makefile b/editors/pluma/Makefile index ea93ac955ad4..2e1b6256fa8d 100644 --- a/editors/pluma/Makefile +++ b/editors/pluma/Makefile @@ -1,52 +1,52 @@ PORTNAME= pluma PORTVERSION= 1.28.0 CATEGORIES= editors mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Small but powerful text editor for MATE Desktop Environment WWW= https://mate-desktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libpeas-gtk-1.0.so:devel/libpeas RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome libtool localbase \ pathfix pkgconfig python shebangfix tar:xz xorg mate USE_XORG= ice sm x11 -USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 gtksourceview4 \ +USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 gtksourceview4 \ intltool introspection libxml2 USE_MATE= desktop:build USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip SHEBANG_FILES= \ ${WRKSRC}/data/pluma-bugreport.sh.in \ ${WRKSRC}/plugins/externaltools/data/build.tool.in \ ${WRKSRC}/plugins/externaltools/data/open-terminal-here.tool.in \ ${WRKSRC}/plugins/externaltools/data/remove-trailing-spaces.tool.in \ ${WRKSRC}/plugins/externaltools/data/run-command.tool.in \ ${WRKSRC}/plugins/externaltools/data/search-recursive.tool.in \ ${WRKSRC}/plugins/externaltools/data/switch-c.tool.in SHEBANG_LANG= sh sh_CMD= /bin/sh GLIB_SCHEMAS= org.mate.pluma.gschema.xml \ org.mate.pluma.plugins.filebrowser.gschema.xml \ org.mate.pluma.plugins.pythonconsole.gschema.xml \ org.mate.pluma.plugins.spell.gschema.xml \ org.mate.pluma.plugins.time.gschema.xml OPTIONS_DEFINE= DOCS .include diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile index e022cd5582c1..3fb9e5524888 100644 --- a/editors/poedit/Makefile +++ b/editors/poedit/Makefile @@ -1,30 +1,30 @@ PORTNAME= poedit DISTVERSION= 3.4.2 PORTREVISION= 5 CATEGORIES= editors MASTER_SITES= https://github.com/vslavik/${PORTNAME}/releases/download/v${DISTVERSION}-oss/ MAINTAINER= rodrigo@FreeBSD.org COMMENT= Gettext catalogs (.po files) editor WWW= https://www.poedit.net/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libenchant-2.so:textproc/enchant2 \ libgtkspell3-3.so:textproc/gtkspell3 \ libharfbuzz.so:print/harfbuzz \ libicui18n.so:devel/icu \ liblucene++.so:textproc/luceneplusplus USES= desktop-file-utils gettext-tools:build,run \ gmake gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 pango USE_WX= 3.2 WX_CONF_ARGS= absolute GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share .include diff --git a/editors/rehex/Makefile b/editors/rehex/Makefile index c4dd2c299c23..e1b9c82ee34e 100644 --- a/editors/rehex/Makefile +++ b/editors/rehex/Makefile @@ -1,34 +1,34 @@ PORTNAME= rehex DISTVERSION= 0.62.1 PORTREVISION= 1 CATEGORIES= editors MAINTAINER= fuz@FreeBSD.org COMMENT= Hex editor for reverse engineering WWW= https://github.com/solemnwarning/rehex LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libbotan-2.so:security/botan2 \ libcapstone.so:devel/capstone \ libharfbuzz.so:print/harfbuzz \ libiconv.so:converters/libiconv \ libjansson.so:devel/jansson \ libunistring.so:devel/libunistring USES= compiler:c++11-lang gmake gnome lua:53 perl5 pkgconfig USE_GITHUB= yes GH_ACCOUNT= solemnwarning -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_PERL5= build USE_WX= 3.0+ MAKE_ENV= INSTALL_STRIP="${STRIP}" LUA_PKG="lua-${LUA_VER}" LUA="${LUA_CMD}" TEST_TARGET= check OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= p5-Template-Toolkit>0:www/p5-Template-Toolkit \ zip:archivers/zip DOCS_MAKE_ARGS_OFF= BUILD_HELP=0 .include diff --git a/editors/scite/Makefile b/editors/scite/Makefile index fc8a7cc3cdf9..48d95ee8a3e7 100644 --- a/editors/scite/Makefile +++ b/editors/scite/Makefile @@ -1,63 +1,63 @@ PORTNAME= scite DISTVERSION= 5.5.0 CATEGORIES= editors gnome MASTER_SITES= https://www.scintilla.org/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Full-featured SCIntilla based text editor for GTK/GNOME WWW= https://www.scintilla.org/SciTE.html LICENSE= SCINTILLA LICENSE_NAME= License for Lexilla, Scintilla and SciTE LICENSE_FILE= ${WRKSRC}/../License.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= liblexilla.so:textproc/lexilla \ libscintilla.so:x11-toolkits/scintilla RUN_DEPENDS= xdg-open:devel/xdg-utils USES= compiler:c++20-lang desktop-file-utils gmake gnome pkgconfig \ tar:tgz -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 MAKEFILE= makefile MAKE_ARGS= GTK3=1 .if defined(WITH_DEBUG) MAKE_ARGS+= DEBUG=1 .endif PATCH_WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}/gtk PORTDATA= *.properties PORTDOCS= *.html *.jpg *.png OPTIONS_DEFINE= DOCS .include .if ${CHOSEN_COMPILER_TYPE} == clang MAKE_ARGS+= CLANG=1 .endif post-patch: @${REINPLACE_CMD} -e 's|$$(SciteDefaultHome)|${DOCSDIR}|' \ ${WRKSRC}/../src/SciTEGlobal.properties do-install: ${INSTALL_PROGRAM} ${WRKSRC}/../bin/SciTE \ ${STAGEDIR}${PREFIX}/bin ${LN} -sf SciTE ${STAGEDIR}${PREFIX}/bin/scite ${INSTALL_MAN} ${WRKSRC}/../doc/scite.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_DATA} ${WRKSRC}/SciTE.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/Sci48M.png \ ${STAGEDIR}${PREFIX}/share/pixmaps (cd ${WRKSRC}/../src && \ ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/../doc && \ ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/editors/sciteco/Makefile b/editors/sciteco/Makefile index 4283bccf8f0b..4447ea21c77a 100644 --- a/editors/sciteco/Makefile +++ b/editors/sciteco/Makefile @@ -1,92 +1,92 @@ PORTNAME= sciteco DISTVERSION= 2.2.0 CATEGORIES= editors textproc devel MASTER_SITES= https://github.com/rhaberkorn/${PORTNAME}/releases/download/v${DISTVERSION}/ \ SOURCEFORGE/${PORTNAME}/v${DISTVERSION}/ MAINTAINER= robin.haberkorn@googlemail.com COMMENT= Scintilla-based Text Editor and Corrector WWW= https://rhaberkorn.github.io/sciteco/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING FLAVORS= curses gtk FLAVOR?= ${FLAVORS:[1]} curses_PKGNAMESUFFIX= -curses gtk_PKGNAMESUFFIX= -gtk # As SciTECO uses itself during the build process, # it makes sense to compile it running under a dummy XServer. # This is both faster and works in headless environments as well. gtk_BUILD_DEPENDS= mcookie:devel/util-linux \ xauth:x11/xauth \ Xvfb:x11-servers/xorg-server@xvfb USES= compiler:c11 gmake gnome groff pkgconfig USE_GNOME= glib20 GNU_CONFIGURE= yes CONFIGURE_ARGS= CONFIGURE_OUTSOURCE= yes MAKEFILE= GNUmakefile TEST_TARGET= check # NOTE: Unlike on Debian, we cannot build a sciteco-common package. # FreeBSD does not yet support subpackages. # Therefore both flavors will install totally independant # (partially redundant) files. .if ${FLAVOR} == gtk DATADIR= ${PREFIX}/share/gsciteco .endif SUB_FILES= pkg-message .if ${FLAVOR} == curses USES+= ncurses CONFIGURE_ARGS+= --with-interface=ncurses PLIST_SUB+= GTK="@comment " \ PROGRAM_PREFIX="" .elif ${FLAVOR} == gtk USES+= desktop-file-utils # FIXME: To appease QA checks, we would have to -# USE_GNOME+=cairo gdkpixbuf2 and +# USE_GNOME+=cairo gdkpixbuf and # gtk_LIB_DEPENDS+=libharfbuzz.so:print/harfbuzz USE_GNOME+= gtk30 CONFIGURE_ARGS+= --program-prefix=g \ --with-interface=gtk \ --with-scitecodatadir="${DATADIR}" PLIST_SUB+= GTK="" \ PROGRAM_PREFIX=g .endif OPTIONS_DEFINE= LEXILLA MALLOC_REPLACEMENT TECO_INTEGER_32 OPTIONS_DEFAULT= LEXILLA OPTIONS_SUB= yes LEXILLA_DESC= Build with Lexilla lexer support (larger) MALLOC_REPLACEMENT_DESC= Force replacement of system malloc() TECO_INTEGER_32_DESC= Use 32-bit TECO integers LEXILLA_CONFIGURE_OFF= --without-lexilla MALLOC_REPLACEMENT_CONFIGURE_ON= --enable-malloc-replacement TECO_INTEGER_32_CONFIGURE_ON= --with-teco-integer=32 .include .if ${FLAVOR} == gtk MAKE_CMD= ${SH} ${FILESDIR}/xvfb-run.sh ${GMAKE} .endif post-install: .for SZ in 16 32 48 256 ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps ${INSTALL_DATA} ${WRKSRC}/ico/sciteco-${SZ}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/sciteco.png .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/src/sciteco.desktop \ ${STAGEDIR}${PREFIX}/share/applications/sciteco.desktop .include diff --git a/editors/textadept/Makefile b/editors/textadept/Makefile index af3d0c69019f..778266d82e5e 100644 --- a/editors/textadept/Makefile +++ b/editors/textadept/Makefile @@ -1,122 +1,122 @@ PORTNAME= textadept PORTVERSION= 11.4 DISTVERSIONPREFIX= ${PORTNAME}_ PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= https://www.scintilla.org/:sci \ http://www.lua.org/ftp/:lua \ http://www.inf.puc-rio.br/~roberto/lpeg/:lpeg DISTFILES= scintilla${SCINTILLA_VER}.tgz:sci \ lexilla${LEXILLA_VER}.tgz:sci \ lua-${LUA_VER}.tar.gz:lua \ lpeg-${LPEG_VER}.tar.gz:lpeg MAINTAINER= danfe@FreeBSD.org COMMENT= Fast, minimalist, extensible text editor WWW= https://orbitalquark.github.io/textadept/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++17-lang desktop-file-utils gmake gnome iconv \ pkgconfig USE_CXXSTD= c++17 -USE_GNOME= cairo gdkpixbuf2 glib20 +USE_GNOME= cairo gdkpixbuf glib20 USE_GITHUB= yes GH_ACCOUNT= orbitalquark keplerproject:lfs GH_PROJECT= scintillua:scilua luafilesystem:lfs gtdialog:gtd GH_TAGNAME= ${SCILUA_HASH}:scilua v${LFS_VER}:lfs ${GTD_HASH}:gtd SCINTILLA_VER= 524 LEXILLA_VER= 510 SCINTERM_HASH= 475d8d4 SCILUA_HASH= 9088723 LUA_VER= 5.4.4 LPEG_VER= 1.0.2 LFS_VER= 1_8_0 GTD_HASH= 444af9c CDK_VER= 5.0-20200923 TERMKEY_VER= 0.22 BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${BUILD_WRKSRC} MAKE_ARGS= TA_TARGETS="${_TARGETS}" OPTIONS_DEFINE= DOCS NCURSES OPTIONS_SINGLE= UI OPTIONS_SINGLE_UI= GTK2 GTK3 OPTIONS_DEFAULT= GTK2 NCURSES OPTIONS_SUB= yes UI_DESC= GTK version GTK2_USE= GNOME=gtk20 GTK2_MAKE_ARGS= GTK2=1 GTK3_USE= GNOME=gtk30 _TARGETS= gtk # HTML files require patched https://keplerproject.github.io/luadoc/ to # build, which is also seemingly deprecated upstream, so just grab them # from the textadept package for GNU/Linux. DOCS_MASTER_SITES= https://github.com/orbitalquark/${PORTNAME}/releases/download/${PORTNAME}_${PORTVERSION}/:docs DOCS_DISTFILES= ${PORTNAME}_${PORTVERSION}.linux.tgz:docs NCURSES_MASTER_SITES= https://invisible-mirror.net/archives/cdk/:cdk \ http://www.leonerd.org.uk/code/libtermkey/:tk NCURSES_DISTFILES= cdk-${CDK_VER}.tgz:cdk \ libtermkey-${TERMKEY_VER}.tar.gz:tk NCURSES_GH_PROJECT= scinterm:scitrm NCURSES_GH_TAGNAME= ${SCINTERM_HASH}:scitrm NCURSES_VARS= _TARGETS+=curses post-patch: ${LN} -s ${WRKDIR}/scintilla ${BUILD_WRKSRC} ${PATCH} -d ${BUILD_WRKSRC}/scintilla -N -p1 < \ ${BUILD_WRKSRC}/scintilla.patch ${LN} -s ${WRKDIR}/lexilla ${BUILD_WRKSRC} ${LN} -s ${WRKDIR}/lua-${LUA_VER} ${BUILD_WRKSRC}/lua ${PATCH} -d ${BUILD_WRKSRC}/lua -N -p1 < \ ${BUILD_WRKSRC}/lua.patch ${LN} -s ${WRKSRC_scilua}/*.cxx ${WRKSRC_scilua}/*.h \ ${BUILD_WRKSRC} ${LN} -s ${WRKSRC_scilua}/lexers ${BUILD_WRKSRC}/.. ${RM} -r ${WRKSRC_scilua}/lexers/themes @${MKDIR} ${BUILD_WRKSRC}/lua/src/lib ${LN} -s ${WRKDIR}/lpeg-${LPEG_VER}/*.[ch] ${BUILD_WRKSRC}/lua/src/lib ${LN} -s ${WRKDIR}/luafilesystem-${LFS_VER}/src/*.[ch] \ ${BUILD_WRKSRC}/lua/src/lib ${LN} -s ${WRKDIR}/gtdialog-${GTD_HASH} ${BUILD_WRKSRC}/gtdialog # On FreeBSD, ``__progname'' and ``environ'' symbols originated from # /lib/crt*.o must stay global (see https://bugs.freebsd.org/220103). @${PRINTF} '%s\n%s\n' __progname environ >> ${WRKSRC}/src/lua.sym post-patch-NCURSES-on: @${MKDIR} ${BUILD_WRKSRC}/scintilla/curses ${LN} -s ${WRKSRC_scitrm}/*.cxx ${WRKSRC_scitrm}/*.h \ ${BUILD_WRKSRC}/scintilla/curses @${MKDIR} ${BUILD_WRKSRC}/cdk ${LN} -s ${WRKDIR}/cdk-${CDK_VER}/include/*.h \ ${WRKDIR}/cdk-${CDK_VER}/*.c ${BUILD_WRKSRC}/cdk .for ext in h c cd ${BUILD_WRKSRC}/cdk && ${SH} \ ${WRKDIR}/cdk-${CDK_VER}/gen-scale.sh SLIDER Slider \ Int int gen-slider.${ext} > slider.${ext} .endfor ${PATCH} -d ${BUILD_WRKSRC}/cdk -N -p1 < ${BUILD_WRKSRC}/cdk.patch @${MKDIR} ${BUILD_WRKSRC}/termkey ${LN} -s ${WRKDIR}/libtermkey-${TERMKEY_VER}/*.[ch] \ ${BUILD_WRKSRC}/termkey ${PATCH} -d ${BUILD_WRKSRC}/termkey -N -p1 < \ ${BUILD_WRKSRC}/termkey.patch post-install-DOCS-on: ${INSTALL_DATA} \ ${WRKDIR}/${PORTNAME}_${PORTVERSION}.linux/docs/*.html \ ${STAGEDIR}${DATADIR}/docs ${MV} ${STAGEDIR}${DATADIR}/docs ${STAGEDIR}${DOCSDIR} ${LN} -sf ../../${DOCSDIR_REL} ${STAGEDIR}${DATADIR}/docs post-install-DOCS-off: ${RM} -r ${STAGEDIR}${DATADIR}/docs .include diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 5db2e15ad8c9..b82fa34a6772 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,227 +1,227 @@ PORTNAME= vim PORTVERSION= 9.1.1199 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= adamw@FreeBSD.org COMMENT= Improved version of the vi editor (${FLAVOR:U} flavor) WWW= https://www.vim.org/ \ https://github.com/vim/vim LICENSE= VIM LICENSE_NAME= VIM License LICENSE_FILE= ${WRKSRC}/runtime/doc/uganda.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cpe iconv ncurses pkgconfig shebangfix USE_GITHUB= yes # Vim will try to link against libcanberra if it's installed CONFIGURE_ARGS= --disable-canberra \ --disable-libsodium \ --enable-cscope \ --enable-gui=${GUI} \ --enable-multibyte \ --with-tlib=ncursesw MAKE_ARGS= STRIP="${STRIP_CMD}" \ VIMRCLOC=${ETCDIR} \ VIMRUNTIMEDIR=${PREFIX}/share/vim/${VIM_VER} CPE_VERSION= ${PORTVERSION:R} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share PLIST_SUB= VIM_VER=${VIM_VER} PORTDATA= ${VIM_VER} PORTSCOUT= ignore:1 SHEBANG_FILES= runtime/tools/demoserver.py runtime/tools/efm_perl.pl VIM_VER= ${PORTNAME}${PORTVERSION:R:S|.||g} # Flavors {{{1 # FLAVORS are used to build various Vim GUIs. The default flavor (`vim') is # console-only. FLAVORS= console gtk2 gtk3 motif x11 tiny FLAVOR?= ${FLAVORS:[1]} # Register conflicts with all other flavors CONFLICTS_INSTALL= ${FLAVORS:N${FLAVOR}:S/^/vim-/} .for f in ${FLAVORS:Nconsole} ${f}_PKGNAMESUFFIX= -${f} .endfor # GUI flavors .if ${FLAVOR:U} == console GUI= no CONFIGURE_ARGS+=--without-x PLIST_SUB+= GUI="@comment " DESKTOP="@comment " .elif ${FLAVOR:U} == tiny GUI= no CONFIGURE_ARGS+=--without-x PLIST= ${.CURDIR}/pkg-plist-tiny .elif ${FLAVOR:U} == gtk2 GUI= gtk2 CONFIGURE_ARGS+=--enable-xim --enable-fontset PLIST_SUB+= GUI="" DESKTOP="" USES+= desktop-file-utils gnome xorg -USE_GNOME= gdkpixbuf2 gtk20 +USE_GNOME= gdkpixbuf gtk20 USE_XORG= ice sm x11 xpm xt .elif ${FLAVOR:U} == gtk3 GUI= gtk3 CONFIGURE_ARGS+=--enable-xim --enable-fontset PLIST_SUB+= GUI="" DESKTOP="" USES+= desktop-file-utils gnome xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= ice sm x11 xpm xt .elif ${FLAVOR:U} == motif GUI= motif CONFIGURE_ARGS+=--enable-xim --enable-fontset --with-motif=lib="${MOTIFLIB}" CONFIGURE_ENV+= MOTIFHOME=${LOCALBASE} PLIST_SUB+= GUI="" DESKTOP="@comment " USES+= motif xorg USE_XORG= ice sm x11 xmu xt .elif ${FLAVOR:U} == x11 GUI= x11 CONFIGURE_ARGS+=--with-x PLIST_SUB+= GUI="@comment " DESKTOP="@comment " USES+= xorg USE_XORG= ice sm x11 xmu xpm xt .endif # Options {{{1 # The bulk of the OPTIONS are for normal (non-tiny) vim ### Make sure any new options are excluded below in CONSOLE/TINY OPTIONS_DEFAULT= CTAGS_BASE PYTHON XXD OPTIONS_DEFINE= MAKE_JOBS NLS XTERM_SAVE XXD OPTIONS_SINGLE= CTAGS OPTIONS_SINGLE_CTAGS= CTAGS_BASE CTAGS_EXUBERANT CTAGS_UNIVERSAL OPTIONS_GROUP= LANGBIND OPTIONS_GROUP_LANGBIND= LUA PERL PYTHON RUBY SCHEME TCL OPTIONS_SUB= yes # vim-tiny excludes everything except CONSOLE, MAKE_JOBS .if ${FLAVOR:U} == tiny OPTIONS_EXCLUDE:= ${OPTIONS_DEFINE:NMAKE_JOBS} \ ${OPTIONS_SINGLE_UI:NCONSOLE} \ ${OPTIONS_GROUP_LANGBIND} \ ${OPTIONS_SINGLE_CTAGS} .endif MAKE_JOBS_DESC= Enable parallel build XTERM_SAVE_DESC= Restore xterm screen after exit XXD_DESC= Install xxd hexdumper CTAGS_BASE_DESC= Use system ctags CTAGS_EXUBERANT_DESC= Use exctags instead of ctags CTAGS_UNIVERSAL_DESC= Use uctags instead of ctags # GENERAL OPTIONS CTAGS_EXUBERANT_RUN_DEPENDS= exctags:devel/ctags CTAGS_UNIVERSAL_RUN_DEPENDS= uctags:devel/universal-ctags MAKE_JOBS_VARS_OFF= MAKE_JOBS_UNSAFE=yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext XXD_RUN_DEPENDS= xxd:sysutils/xxd # LANGUAGE BINDINGS LANGBIND_DESC= Optional language bindings LUA_CONFIGURE_ENABLE= luainterp LUA_CONFIGURE_WITH= lua-prefix=${LOCALBASE} LUA_USES= lua PERL_CONFIGURE_ENABLE= perlinterp PERL_USES= perl5 PYTHON_USES= python PYTHON_USES_OFF= python:env PYTHON_CONFIGURE_ENABLE= python3interp PYTHON_CONFIGURE_WITH= python3-command=${PYTHON_CMD} RUBY_CONFIGURE_ENABLE= rubyinterp RUBY_USES= ruby SCHEME_DESC= MzScheme (Racket) bindings SCHEME_CONFIGURE_ENABLE=mzschemeinterp SCHEME_BUILD_DEPENDS= mzscheme:lang/racket SCHEME_RUN_DEPENDS= ${SCHEME_BUILD_DEPENDS} TCL_CONFIGURE_ENABLE= tclinterp TCL_CONFIGURE_WITH= tclsh=tclsh${TCL_VER} TCL_USES= tcl # Targets {{{1 .include .if ${PORT_OPTIONS:MPYTHON} && !empty(WITH_DEBUG) CFLAGS+= -DPy_DEBUG -DPy_DEBUG_NO_PYMALLOC .endif post-extract: ${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${WRKSRC}/runtime/keymap post-patch: ${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|' ${WRKSRC}/src/feature.h ${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB}|g; s|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/src/auto/configure post-configure: # Needed when devel/libsysinfo is installed: ${REINPLACE_CMD} -e '/^#define HAVE_SYSINFO/ d' ${WRKSRC}/src/auto/config.h do-test: ${DO_MAKE_BUILD} -C ${WRKSRC} test .if ${FLAVOR:U} == tiny do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/${VIM_VER} ${INSTALL_PROGRAM} ${WRKSRC}/src/vim ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/runtime/defaults.vim ${STAGEDIR}${DATADIR}/${VIM_VER} ${INSTALL_DATA} ${FILESDIR}/defaults_freebsd.vim ${STAGEDIR}${DATADIR}/${VIM_VER} ${INSTALL_MAN} ${WRKSRC}/runtime/doc/vim.1 ${STAGEDIR}${PREFIX}/share/man/man1 .else # flavor != tiny post-install: ${INSTALL_DATA} ${FILESDIR}/defaults_freebsd.vim ${STAGEDIR}${DATADIR}/${VIM_VER} ${RM} ${STAGEDIR}${PREFIX}/bin/ex ${RM} ${STAGEDIR}${PREFIX}/bin/view ${RM} ${STAGEDIR}${PREFIX}/bin/xxd ${FIND} ${STAGEDIR}${PREFIX} -name xxd.1 -delete . for F in eview evim gview gvim gvimdiff rgview rgvim rview rvim vimdiff ${LN} -sf vim ${STAGEDIR}${PREFIX}/bin/$F . endfor # OPTIONS post-patch-CTAGS_BASE-on: ${FIND} ${WRKSRC}/runtime -name 'menu*.vim' | ${XARGS} ${GREP} -l 'ctags -R' | \ ${XARGS} ${REINPLACE_CMD} -Ee 's!ctags -R ?\.!${FIND} . -type f \\| ${XARGS} ctags!g' post-patch-CTAGS_EXUBERANT-on: ${FIND} ${WRKSRC}/runtime -name 'menu*.vim' | ${XARGS} ${GREP} -l 'ctags -R' | \ ${XARGS} ${REINPLACE_CMD} -e 's|ctags -R|exctags -R|g' post-patch-CTAGS_UNIVERSAL-on: ${FIND} ${WRKSRC}/runtime -name 'menu*.vim' | ${XARGS} ${GREP} -l 'ctags -R' | \ ${XARGS} ${REINPLACE_CMD} -e 's|ctags -R|uctags -R|g' post-patch-LUA-on: ${REINPLACE_CMD} -e 's|set dummy lua;|set dummy ${LUA_CMD};|g' ${WRKSRC}/src/auto/configure ${REINPLACE_CMD} -e '/$$LUA_LIBS/ s|^|LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}";|' ${WRKSRC}/src/auto/configure ${REINPLACE_CMD} -e '/LUA_CFLAGS=/s|".*"|"-I${LUA_INCDIR}"|' ${WRKSRC}/src/auto/configure post-patch-XTERM_SAVE-on: ${REINPLACE_CMD} -e '/FEAT_XTERM_SAVE/ s|.*|#define FEAT_XTERM_SAVE|' ${WRKSRC}/src/feature.h post-install-NLS-off: ${MKDIR} ${STAGEDIR}${DATADIR}/${VIM_VER}/lang ${MKDIR} ${STAGEDIR}${DATADIR}/${VIM_VER}/keymap ${INSTALL_DATA} ${WRKSRC}/runtime/keymap/* ${STAGEDIR}${DATADIR}/${VIM_VER}/keymap .endif #!defined(TINY) .include diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile index b2f709add156..afd8489b43fc 100644 --- a/editors/vscode/Makefile +++ b/editors/vscode/Makefile @@ -1,322 +1,322 @@ PORTNAME= vscode DISTVERSION= 1.98.2 CATEGORIES= editors MASTER_SITES= https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:node_modules DISTFILES= vscode-node-modules-${DISTVERSION}${EXTRACT_SUFX}:node_modules \ vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX}:node_modules DIST_SUBDIR= ${PORTNAME} MAINTAINER= tagattie@FreeBSD.org COMMENT= Visual Studio Code - Open Source ("Code - OSS") WWW= https://code.visualstudio.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= amd64 EXTRACT_DEPENDS=jq:textproc/jq \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} BUILD_DEPENDS= zip:archivers/zip \ electron${ELECTRON_VER_MAJOR}:devel/electron${ELECTRON_VER_MAJOR} \ jq:textproc/jq \ rg:textproc/ripgrep \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libasound.so:audio/alsa-lib \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libsndio.so:audio/sndio \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libpcre2-8.so:devel/pcre2 \ libre2.so:devel/re2 \ liblcms2.so:graphics/lcms2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libvpx.so:multimedia/libvpx \ libopenh264.so:multimedia/openh264 \ libpipewire-0.3.so:multimedia/pipewire \ libcups.so:print/cups \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libkrb5.so.3:security/krb5 \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils \ bash:shells/bash TEST_DEPENDS= electron${ELECTRON_VER_MAJOR}:devel/electron${ELECTRON_VER_MAJOR} \ bash:shells/bash USES= desktop-file-utils gl gmake gnome iconv:wchar_t jpeg \ localbase:ldflags nodejs:20,build pkgconfig python:build \ shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= microsoft SOURCE_COMMIT_HASH= ddc367ed5c8936efe395cffeec279b04ffd7db78 BINARY_ALIAS= python=${PYTHON_CMD} USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xtst USE_GL= gbm gl glesv2 -USE_GNOME= atk cairo pango gdkpixbuf2 gtk30 libxml2 libxslt +USE_GNOME= atk cairo pango gdkpixbuf gtk30 libxml2 libxslt SHEBANG_REGEX= ./(extensions|node_modules|resources|scripts|src)/.*\.sh$$ PATHFIX_FILES= src/vs/workbench/contrib/debug/node/terminals.ts DATADIR= ${PREFIX}/share/code-oss TMPDIR= ${WRKDIR} BUNDLE_LIBS= yes MAKE_ENV+= BUILD_SOURCEVERSION=${SOURCE_COMMIT_HASH} # Don't download electron binary distribution on electron node_modules installation MAKE_ENV+= ELECTRON_SKIP_BINARY_DOWNLOAD=1 # Don't download browser binaries on playwright node_modules installation MAKE_ENV+= PLAYWRIGHT_BROWSERS_PATH=${WRKDIR}/pw-browsers \ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 # Don't create __pycache__ directory when executing node-gyp # This is a workaround to avoid filesystem violations during poudriere build MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 NODEJS_DIR= ${.CURDIR:H:H}/www/node20 .include "${NODEJS_DIR}/Makefile.version" ELECTRON_DIR= ${.CURDIR:H:H}/devel/electron34 .include "${ELECTRON_DIR}/Makefile.version" ELECTRON_DOWNLOAD_URL= https://github.com/electron/electron/releases/download/v${ELECTRON_VER} ELECTRON_DOWNLOAD_URL_HASH!= /sbin/sha256 -q -s ${ELECTRON_DOWNLOAD_URL} ELECTRON_ARCH= ${ARCH:S/aarch64/arm64/:S/amd64/x64/:S/i386/ia32/} pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "The limit imposed by poudriere(8) for the maximum number of files allowed to be" @${ECHO_MSG} "opened by a jail (default 1024) is exceeded during the build of ${PORTNAME}." @${ECHO_MSG} "To successfully build ${PORTNAME} with poudriere(8), you must add the following" @${ECHO_MSG} "line to poudriere.conf:" @${ECHO_MSG} "MAX_FILES_${PORTNAME}=8192" @${ECHO_MSG} "" post-extract: @${CP} ${WRKSRC}/build/.moduleignore.linux \ ${WRKSRC}/build/.moduleignore.freebsd @${ECHO_MSG} "===> Installing node modules in ${WRKSRC}" @${TAR} -xzf ${WRKDIR}/vscode-.-node-modules${EXTRACT_SUFX} -C ${WRKSRC} @for dir in `node -p "JSON.stringify(require('${WRKSRC}/build/npm/dirs').dirs)" | jq -r '.[]'`; do \ if [ -f ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} ]; then \ ${ECHO_MSG} "===> Installing node modules in ${WRKSRC}/$${dir}"; \ ${TAR} -xzf ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} -C ${WRKSRC}/$${dir}; \ fi; \ done post-patch: @${REINPLACE_CMD} -E 's|^(target=").*(")$$|\1${ELECTRON_VER}\2|' \ ${WRKSRC}/.npmrc @${REINPLACE_CMD} -E 's|^(target=").*(")$$|\1${NODEJS_PORTVERSION}\2|' \ ${WRKSRC}/remote/.npmrc @(cd ${WRKSRC} && \ ${FIND} -E . -type f -iregex '${SHEBANG_REGEX}' \ -exec ${SED} -i '' -e "s|/usr/bin/pgrep|/bin/pgrep|g" {} ';') @(cd ${WRKSRC} && \ ${FIND} ${PATHFIX_FILES} -type f \ -exec ${SED} -i '' -e "s|/usr/bin/pgrep|/bin/pgrep|g" {} ';') @${REINPLACE_CMD} -e 's/@@NAME_LONG@@/Code - OSS/; \ s/@@NAME_SHORT@@/Code - OSS/; \ s/@@PRODNAME@@/Code - OSS/; \ s/@@NAME@@/code-oss/g; \ s|@@EXEC@@|${PREFIX}/bin/code-oss|; \ s/@@ICON@@/com.visualstudio.code.oss/; \ s/@@URLPROTOCOL@@/code-oss/; \ s/@@LICENSE@@/MIT/; \ s/@@APPNAME@@/code-oss/g; \ s|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/resources/completions/bash/code \ ${WRKSRC}/resources/completions/zsh/_code \ ${WRKSRC}/resources/linux/bin/code.sh \ ${WRKSRC}/resources/linux/code.appdata.xml \ ${WRKSRC}/resources/linux/code.desktop \ ${WRKSRC}/resources/linux/code-url-handler.desktop @(cd ${WRKDIR}/builtInExtensions && \ ${FIND} . -type f -name '*.sh' \ -exec ${SED} -i '' -e "s|/usr/bin/pgrep|/bin/pgrep|g" \ -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' {} ';') pre-build: # rebuild native node modules in top directory @for subdir in `${FIND} ${WRKSRC}/node_modules -type f -name binding.gyp -exec ${DIRNAME} {} ';'`; do \ ${ECHO_MSG} "===> Rebuilding native modules in $${subdir}"; \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers \ node-gyp --userconfig=${WRKSRC}/.npmrc rebuild; \ done # rebuild native node modules in subdirectories @for dir in `node -p "JSON.stringify(require('${WRKSRC}/build/npm/dirs').dirs)" | jq -r '.[]'`; do \ for subdir in `${FIND} ${WRKSRC}/$${dir}/node_modules -type f -name binding.gyp -exec ${DIRNAME} {} ';' 2> /dev/null`; do \ ${ECHO_MSG} "===> Rebuilding native modules in $${subdir}"; \ if [ "`${ECHO_CMD} $${subdir} | ${GREP} /build/`" ]; then \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=node \ npm_config_target=${NODEJS_PORTVERSION} \ npm_config_nodedir=${LOCALBASE} \ node-gyp --userconfig=${WRKSRC}/build/.npmrc rebuild; \ elif [ "`${ECHO_CMD} $${subdir} | ${GREP} /remote/`" ]; then \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=node \ npm_config_target=${NODEJS_PORTVERSION} \ npm_config_nodedir=${LOCALBASE} \ node-gyp --userconfig=${WRKSRC}/remote/.npmrc rebuild; \ else \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers \ node-gyp --userconfig=${WRKSRC}/.npmrc rebuild; \ fi; \ done; \ done # copy rg binary file to @vscode/ripgrep node module directory @${MKDIR} ${WRKSRC}/node_modules/@vscode/ripgrep/bin @${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/node_modules/@vscode/ripgrep/bin @${MKDIR} ${WRKSRC}/build/node_modules/@vscode/ripgrep/bin @${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/build/node_modules/@vscode/ripgrep/bin @${MKDIR} ${WRKSRC}/remote/node_modules/@vscode/ripgrep/bin @${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/remote/node_modules/@vscode/ripgrep/bin do-build: # setup download cache for gulp-atom-electron @${MKDIR} ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH} @cd ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} && \ zip -q -r ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH}/electron-v${ELECTRON_VER}-linux-${ELECTRON_ARCH}.zip . @cd ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH} && \ ${SHA256} -r *-v${ELECTRON_VER}-linux-*.zip | \ ${SED} -e 's/ / */' > SHASUMS256.txt # add newline character at the end of the file if not already @${AWK} '1' ${WRKSRC}/build/checksums/electron.txt > \ ${WRKSRC}/build/checksums/electron.txt.new @${MV} -f ${WRKSRC}/build/checksums/electron.txt.new \ ${WRKSRC}/build/checksums/electron.txt @cd ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH} && \ ${SHA256} -r *-v${ELECTRON_VER}-linux-*.zip | \ ${SED} -e 's/ / */' >> ${WRKSRC}/build/checksums/electron.txt # remove backup files so that they are not included in the package @${FIND} ${WRKSRC} -type f \( -name '*.orig' -o -name '*~' \) -delete # build and package vscode cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npx tsc -p build/tsconfig.build.json cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers \ npm --userconfig=${WRKSRC}/.npmrc run gulp vscode-linux-${ELECTRON_ARCH}-min # move marketplace extensions @${MV} ${WRKDIR}/builtInExtensions/* ${WRKDIR}/VSCode-linux-${ELECTRON_ARCH}/resources/app/extensions do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/resources/completions/bash/code \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/code-oss @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/resources/completions/zsh/_code \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_code-oss @${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata ${INSTALL_DATA} ${WRKSRC}/resources/linux/code.appdata.xml \ ${STAGEDIR}${PREFIX}/share/appdata/code-oss.appdata.xml @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications .for f in code.desktop code-url-handler.desktop ${INSTALL_DATA} ${WRKSRC}/resources/linux/${f} \ ${STAGEDIR}${PREFIX}/share/applications/${f:S/code/code-oss/} .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/resources/linux/code.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/com.visualstudio.code.oss.png @${MKDIR} ${STAGEDIR}${DATADIR} ${TAR} -cf - -C ${WRKDIR}/VSCode-linux-${ELECTRON_ARCH} . | \ ${TAR} -xf - -C ${STAGEDIR}${DATADIR} @${FIND} ${STAGEDIR}${DATADIR}/resources/app -type f -exec ${FILE} {} ';' | \ ${GREP} 'ELF.*FreeBSD' | ${AWK} -F ': ' '{print $$1}' | ${XARGS} ${STRIP_CMD} .for f in chromedriver mksnapshot v8_context_snapshot_generator @${RM} ${STAGEDIR}${DATADIR}/${f} .endfor @${RM} -r ${STAGEDIR}${DATADIR}/gen @${RM} -r ${STAGEDIR}${DATADIR}/node_headers @${RM} -r ${STAGEDIR}${DATADIR}/resources/completions ${RLN} ${STAGEDIR}${DATADIR}/bin/code-oss ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${FILESDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} pre-test: # setup electron dependency for unit tests @${MKDIR} ${WRKSRC}/.build/electron @${TAR} -cf - -C ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} . | \ ${TAR} -xf - -C ${WRKSRC}/.build/electron @cd ${WRKSRC}/.build/electron && ${MV} -f electron code-oss do-test: # Note: Xvfb or something similar is necessary for headless testing # unit tests cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ./scripts/test.sh || ${TRUE} # UI smoke tests cd ${WRKSRC} && ${SETENV} ${TEST_ENV} yarn smoketest build-remote-extension-host: configure pre-build # setup download cache for node @${MKDIR} ${WRKSRC}/.build/node/v${NODEJS_PORTVERSION}/linux-${ELECTRON_ARCH} @${CP} ${LOCALBASE}/bin/node ${WRKSRC}/.build/node/v${NODEJS_PORTVERSION}/linux-${ELECTRON_ARCH} # build vscode remote extension host cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ npm_config_runtime=node \ npm_config_target=${NODEJS_PORTVERSION} \ npm_config_nodedir=${LOCALBASE} \ npm --userconfig=${WRKSRC}/remote/.npmrc run gulp vscode-reh-linux-${ELECTRON_ARCH}-min @${MKDIR} ${WRKDIR}/vscode-reh/bin/${SOURCE_COMMIT_HASH} ${TAR} -cf - -C ${WRKDIR}/vscode-reh-linux-${ELECTRON_ARCH} . | \ ${TAR} -xf - -C ${WRKDIR}/vscode-reh/bin/${SOURCE_COMMIT_HASH} @${FIND} ${WRKDIR}/vscode-reh -type f -exec ${FILE} {} ';' | \ ${GREP} 'ELF.*FreeBSD' | ${AWK} -F ': ' '{print $$1}' | ${XARGS} ${STRIP_CMD} ${TAR} -czf ${WRKDIR}/vscode-reh-${DISTVERSION}-${OPSYS:tl}${OSREL:R}-${ARCH}.tar.gz -C ${WRKDIR}/vscode-reh . # cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm run gulp vscode-reh-web-linux-${ELECTRON_ARCH}-min ### targets for port maintainer(s) make-node-modules-archive: extract @${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}" @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm install --ignore-scripts --no-progress --no-audit --no-fund && \ ${TAR} -czf ${WRKDIR}/vscode-.-node-modules${EXTRACT_SUFX} node_modules @for dir in `node -p "JSON.stringify(require('${WRKSRC}/build/npm/dirs').dirs)" | jq -r '.[]'`; do \ cd ${WRKSRC}/$${dir} && \ ${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}/$${dir}" && \ ${SETENV} ${MAKE_ENV} npm install --ignore-scripts --no-progress --no-audit --no-fund && \ if [ -d node_modules ]; then \ ${TAR} -czf ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} node_modules; \ fi; \ done @cd ${WRKDIR} && \ ${TAR} -czf vscode-node-modules-${DISTVERSION}${EXTRACT_SUFX} vscode-*-node-modules.tar.gz make-marketplace-exts-archive: extract @${RM} -r ${WRKSRC}/.build/builtInExtensions @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm run download-builtin-extensions @${TAR} -czf ${WRKDIR}/vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX} -C ${WRKSRC}/.build builtInExtensions .include diff --git a/editors/xed/Makefile b/editors/xed/Makefile index 051e0e2ec426..b7a9033b1164 100644 --- a/editors/xed/Makefile +++ b/editors/xed/Makefile @@ -1,52 +1,52 @@ PORTNAME= xed PORTVERSION= 3.8.2 CATEGORIES= editors gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Small but powerful text editor for GTK WWW= https://github.com/linuxmint/xed LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libpeas-1.0.so:devel/libpeas \ libxapp.so:x11/xapp RUN_DEPENDS= ${LOCALBASE}/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml:devel/gsettings-desktop-schemas \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} \ yelp:x11/yelp USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome meson \ pkgconfig python:run xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview4 intltool \ +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 gtksourceview4 intltool \ introspection pango USE_LDCONFIG= yes USE_XORG= x11 GLIB_SCHEMAS= org.x.editor.gschema.xml \ org.x.editor.plugins.filebrowser.gschema.xml \ org.x.editor.plugins.time.gschema.xml \ org.x.editor.plugins.wordcompletion.gschema.xml PORTSCOUT= limit:^[0-9.]+$$ # ignore master.mint* tags OPTIONS_DEFINE= DOCS GSPELL GVFS_METADATA OPTIONS_DEFAULT= DOCS GSPELL GVFS_METADATA OPTIONS_SUB= yes GSPELL_DESC= Spell checking support via gspell GVFS_METADATA_DESC= GVFS metadata DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= docs GSPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell GSPELL_MESON_TRUE= enable_spell GSPELL_VARS= GLIB_SCHEMAS+=org.x.editor.plugins.spell.gschema.xml GVFS_METADATA_MESON_TRUE= enable_gvfs_metadata .include diff --git a/editors/xmlcopyeditor/Makefile b/editors/xmlcopyeditor/Makefile index e20453a86ef9..627c902c339b 100644 --- a/editors/xmlcopyeditor/Makefile +++ b/editors/xmlcopyeditor/Makefile @@ -1,33 +1,33 @@ PORTNAME= xmlcopyeditor DISTVERSION= 1.3.1.0 PORTREVISION= 4 CATEGORIES= editors MASTER_SITES= SF/xml-copy-editor/${PORTNAME}-linux/${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast validating XML editor WWW= http://xml-copy-editor.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libaspell.so:textproc/aspell \ libenchant-2.so:textproc/enchant2 \ libexpat.so:textproc/expat2 \ libharfbuzz.so:print/harfbuzz \ libpcre2-8.so:devel/pcre2 \ libxerces-c.so:textproc/xerces-c3 \ libxslt.so:textproc/libxslt USES= autoreconf compiler:c++11-lang desktop-file-utils dos2unix \ gettext-tools gmake gnome iconv libtool localbase pkgconfig -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 intltool libxml2 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 intltool libxml2 pango USE_WX= 3.0 # fails to build with 3.2 WX_COMPS= wx WX_CONF_ARGS= absolute GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes .include diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile index 93b9eb5f775f..08b7123a5dc8 100644 --- a/emulators/frodo/Makefile +++ b/emulators/frodo/Makefile @@ -1,35 +1,35 @@ PORTNAME= frodo PORTVERSION= 4.5 PORTREVISION= 0 CATEGORIES= emulators tk MASTER_SITES= http://frodo.cebix.net/downloads/ DISTNAME= Frodo-${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= Emulates a Commodore 64 WWW= https://frodo.cebix.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake xorg pkgconfig sdl gnome \ desktop-file-utils shared-mime-info USE_XORG= x11 xt xext sm ice USE_SDL= sdl2 -USE_GNOME= gtk30 pango cairo gdkpixbuf2 glib20 +USE_GNOME= gtk30 pango cairo gdkpixbuf glib20 GNU_CONFIGURE= yes DATADIR= ${PREFIX}/share/Frodo DOCSDIR= ${PREFIX}/share/doc/Frodo OPTIONS_DEFINE= NLS DOCS OPTIONS_DEFAULT= NLS_USES= gettext-runtime do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}/ ${TAR} -C ${INSTALL_WRKSRC}/Docs -cf - . | \ ${TAR} -C ${STAGEDIR}${DOCSDIR} -xf - .include diff --git a/emulators/higan/Makefile b/emulators/higan/Makefile index 199b732ef985..279e937599c9 100644 --- a/emulators/higan/Makefile +++ b/emulators/higan/Makefile @@ -1,98 +1,98 @@ PORTNAME= higan DISTVERSIONPREFIX= v DISTVERSION= 110 PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Nintendo multi-system emulator WWW= https://github.com/higan-emu/higan LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= compiler:c++14-lang gettext gmake gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 gtksourceview2 +USE_GNOME= cairo gdkpixbuf gtk20 gtksourceview2 USE_XORG= x11 xext xrandr USE_CSTD= c99 USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= higan-emu MAKEFILE= GNUmakefile MAKE_ENV= compiler="${CXX}" hiro="gtk2" OPTIONS_DEFINE= DEBUG OPTIONS_MULTI= VIDEO SOUND INPUT OPTIONS_MULTI_VIDEO= GLX SDL XSHM XV OPTIONS_MULTI_SOUND= AO OPENAL OSS PULSEAUDIO OPTIONS_MULTI_INPUT= INPUT_SDL INPUT_X OPTIONS_DEFAULT= GLX XSHM XV SDL \ OPENAL INPUT_SDL INPUT_X XSHM_DESC= Build XShm video driver XV_DESC= Build Xv video driver INPUT_SDL_DESC= Build SDL input driver INPUT_X_DESC= Build X input driver GLX_USES= gl GLX_USE= GL=gl GLX_VARS= VIDEO_DRIVER+=video.glx SDL_USES= sdl SDL_USE= XORG=xv SDL=sdl2 SDL_VARS= VIDEO_DRIVER+=video.sdl XSHM_USE= XORG=xext XSHM_VARS= VIDEO_DRIVER+=video.xshm XV_USE= XORG=xv XV_VARS= VIDEO_DRIVER+=video.xvideo AO_LIB_DEPENDS= libao.so:audio/libao AO_VARS= AUDIO_DRIVER+=audio.ao OPENAL_USES= openal:al OPENAL_VARS= AUDIO_DRIVER+=audio.openal OSS_VARS= AUDIO_DRIVER+=audio.oss PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= AUDIO_DRIVER+=audio.pulseaudio INPUT_SDL_USES= sdl INPUT_SDL_USE= SDL=sdl INPUT_SDL_VARS= INPUT_DRIVER+=input.sdl INPUT_X_VARS= INPUT_DRIVER+=input.xlib post-patch: ${REINPLACE_CMD} -e 's|/usr/share/|${PREFIX}/share/|' \ ${WRKSRC}/nall/path.hpp post-patch-DEBUG-on: ${REINPLACE_CMD} -e 's|-O3|-g|g' \ ${WRKSRC}/higan/GNUmakefile \ ${WRKSRC}/icarus/GNUmakefile do-build: .for d in higan icarus @${DO_MAKE_BUILD} ${ALL_TARGET} -C${WRKSRC}/${d} .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/higan/out/higan ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/icarus/out/icarus ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/higan/target-higan/resource/higan.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/higan/target-higan/resource/higan.desktop ${STAGEDIR}${PREFIX}/share/applications/ (cd ${WRKSRC}/higan/System && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/) (cd ${WRKSRC}/icarus/Database && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icarus/Database/) .include diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile index 18c7cf396891..bb21f215ee60 100644 --- a/emulators/open-vm-tools/Makefile +++ b/emulators/open-vm-tools/Makefile @@ -1,88 +1,88 @@ PORTNAME= open-vm-tools PORTVERSION= 12.5.0 PORTREVISION= 1 DISTVERSIONPREFIX= stable- PORTEPOCH= 2 CATEGORIES= emulators MAINTAINER= garga@FreeBSD.org COMMENT= Open VMware tools for FreeBSD VMware guests ${${FLAVOR}_COMMENT} WWW= https://github.com/vmware/open-vm-tools LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= aarch64 amd64 i386 LIB_DEPENDS= libdnet.so:net/libdnet RUN_DEPENDS= open-vm-kmod>0:emulators/open-vm-kmod FLAVORS= default nox11 default_CONFLICTS_INSTALL= open-vm-tools-nox11 nox11_PKGNAMESUFFIX= -nox11 nox11_CONFLICTS_INSTALL= open-vm-tools nox11_COMMENT= (without X11) USES= autoreconf gettext-runtime gnome libtool localbase \ pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= vmware USE_GNOME= glib20 USE_LDCONFIG= yes USE_RC_SUBR= vmware-guestd vmware-kmod GNU_CONFIGURE= yes CONFIGURE_ARGS+=--disable-vgauth \ --enable-containerinfo=no \ --sysconfdir=${PREFIX}/etc \ --without-icu \ --without-kernel-modules INSTALL_TARGET= install-strip CPPFLAGS+= -Wno-deprecated-declarations WRKSRC_SUBDIR= open-vm-tools PORTDOCS= * OPTIONS_DEFINE= DOCS DEPLOYPKG FUSE LIBNOTIFY OPENSSL X11 OPTIONS_DEFAULT=DOCS FUSE LIBNOTIFY OPENSSL X11 .if ${FLAVOR:U} == nox11 OPTIONS_EXCLUDE:= LIBNOTIFY X11 .endif OPTIONS_SUB= DEPLOYPKG_DESC= DeployPkg plugin LIBNOTIFY_DESC= Desktop notification support DEPLOYPKG_LIB_DEPENDS= libmspack.so:archivers/libmspack DEPLOYPKG_CONFIGURE_ENABLE= deploypkg DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CONFIGURE_ENABLE= docs FUSE_USES= fuse LIBNOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify OPENSSL_CONFIGURE_WITH= ssl X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz X11_USES= desktop-file-utils xorg -X11_USE= GNOME=gdkpixbuf2,gdkpixbuf2xlib,gtk30,gtkmm30 \ +X11_USE= GNOME=gdkpixbuf,gdkpixbufxlib,gtk30,gtkmm30 \ XORG=ice,sm,x11,xext,xi,xinerama,xorgproto,xrandr,xrender,xtst X11_CONFIGURE_WITH= gtk3 gtkmm3 x post-patch: @${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@"\ ${WRKSRC}/lib/guestApp/guestApp.c post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/input ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/tools.conf \ ${STAGEDIR}${DATADIR}/tools.conf.sample ${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/scripts/vmware/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/tests/ .include diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile index 6addb2d529c3..1d2d2659fd71 100644 --- a/emulators/qemu-devel/Makefile +++ b/emulators/qemu-devel/Makefile @@ -1,169 +1,169 @@ PORTNAME= qemu DISTVERSION= 9.1.0.20241130 PORTREVISION= 1 CATEGORIES= emulators PKGNAMESUFFIX= -devel DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= QEMU CPU Emulator - development version WWW= https://www.qemu.org/ LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 powerpc powerpc64 powerpc64 powerpc64le BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ bash:shells/bash LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libinotify.so:devel/libinotify \ libzstd.so:archivers/zstd USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t localbase:ldflags \ ninja perl5 pkgconfig python:build shebangfix tar:xz xorg USE_GITLAB= yes GL_ACCOUNT= qemu-project GL_TAGNAME= 72b88908d12ee9347d13539c7dd9a252625158d1 GL_TUPLE= qemu-project:keycodemapdb:f5772a62ec52591ff6870b7e8ef32482371f22c6:keycodemapdb/subprojects/keycodemapdb \ qemu-project:dtc:b6910bec11614980a21e46fbccc35934b671bd81:dtc/subprojects/dtc \ qemu-project:libvfio-user:0b28d205572c80b568a1003db2c8f37ca333e4d7:libvfio/subprojects/libvfio-user \ qemu-project:meson:fd309fff248bb697498befa89c3b81049b8b2c0c:meson/meson \ qemu-project:berkeley-softfloat-3:b64af41c3276f97f0e181920400ee056b9c88037:berkeleysoftfloat3/subprojects/berkeley-softfloat-3 \ qemu-project:berkeley-testfloat-3:e7af9751d9f9fd3b47911f51a5cfd08af256a9ab:berkeleytestfloat3/subprojects/berkeley-testfloat-3 USE_GNOME= cairo glib20 USE_PERL5= build USE_PYTHON= distutils noflavors USE_XORG= pixman SHEBANG_FILES= scripts/xml-preprocess.py HAS_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --mandir=share/man --extra-ldflags=-L\"/usr/lib\" \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --enable-debug \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ --enable-debug-info --python=${PYTHON_CMD} --disable-guest-agent \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation BINARY_ALIAS= python3=${PYTHON_VERSION} PORTDOCS= .buildinfo _static/* about/* dbus-dbusindex.html devel/* \ docs genindex.html index.html interop/* objects.inv \ search.html searchindex.js specs/* system/* tools/* user/* OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL VDE \ CDROM_DMA USBREDIR X86_TARGETS STATIC_LINK DOCS CAPSTONE OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL NCURSES_DEFAULT VDE \ CAPSTONE OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT OPTIONS_SUB= yes CAPSTONE_DESC= Disassembly framework support CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_PORT_DESC= Depend on devel/ncurses in ports PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone CAPSTONE_CONFIGURE_ON= --enable-capstone --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_OFF= --disable-curl DOCS_USES= makeinfo DOCS_CONFIGURE_ENABLE= docs GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_OFF= --disable-gnutls GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USES= gettext gl -GTK3_USE= GNOME=gdkpixbuf2,vte3 XORG=x11,xext +GTK3_USE= GNOME=gdkpixbuf,vte3 XORG=x11,xext GTK3_CONFIGURE_OFF= --disable-gtk --disable-vte JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-vnc-jpeg NCURSES_BASE_USES= ncurses:base NCURSES_DEFAULT_USES= ncurses NCURSES_PORT_USES= ncurses:port OPENGL_USES= gl OPENGL_USE= GL=gbm OPENGL_CONFIGURE_OFF= --disable-opengl PNG_LIB_DEPENDS= libpng16.so:graphics/png PNG_CONFIGURE_OFF= --disable-vnc-png SAMBA_USES= samba:run # smbd SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SASL_CONFIGURE_OFF= --disable-vnc-sasl STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static STATIC_LINK_CONFIGURE_ON= --static USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir VDE_CONFIGURE_OFF= --disable-vde X11_USES= sdl -X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 +X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf X11_CONFIGURE_ENABLE= sdl .include .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" CFLAGS+= -D_CALL_SYSV MAKE_ARGS+= ARCH=ppc USE_GCC= yes .endif .if ${ARCH:Mpowerpc64*} CONFIGURE_ARGS+= --disable-bsd-user MAKE_ARGS+= ARCH=ppc64 PLIST_SUB+= BSDUSER="@comment " .else PLIST_SUB+= BSDUSER="" .endif PLIST_SUB+= LINUXBOOT_DMA="" post-extract: ${CP} ${WRKSRC}/subprojects/packagefiles/berkeley-softfloat-3/* \ ${WRKSRC}/subprojects/berkeley-softfloat-3/ ${CP} ${WRKSRC}/subprojects/packagefiles/berkeley-testfloat-3/* \ ${WRKSRC}/subprojects/berkeley-testfloat-3/ post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h do-build: cd ${WRKSRC} && ${GMAKE} do-install: cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install .if !target(post-install) post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 7cd3fd2057e2..e409f2655b32 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,279 +1,279 @@ PORTNAME= qemu DISTVERSION= 9.2.0 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= QEMU CPU Emulator ${${FLAVOR}_COMMENT} WWW= https://www.qemu.org/ LICENSE= GPLv2 .if ${FLAVOR:U} != tools && ${FLAVOR:U} != guestagent ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le # We need to check if it build with other ARCHS .endif BUILD_DEPENDS= bash:shells/bash .if ${FLAVOR:U} != guestagent LIB_DEPENDS+= libzstd.so:archivers/zstd .endif .if ${FLAVOR:U} != tools && ${FLAVOR:U} != guestagent LIB_DEPENDS+= libfdt.so:sysutils/dtc \ libinotify.so:devel/libinotify \ libslirp.so:net/libslirp .endif .if (${FLAVOR:U} != nox11 && ${FLAVOR:U} != tools && ${FLAVOR:U} != guestagent) LIB_DEPENDS+= libepoxy.so:graphics/libepoxy .endif .if (${FLAVOR:U} != nox11 && ${FLAVOR:U} != tools && ${FLAVOR:U} != default) PKGMESSAGE= ${.CURDIR}/pkg-message.guest-agent .endif FLAVORS= default nox11 tools guestagent FLAVOR?= ${FLAVORS:[1]} default_CONFLICTS_INSTALL= qemu-devel qemu-nox11 qemu-tools qemu-utils \ qemu6* qemu7* nox11_PKGNAMESUFFIX= -nox11 nox11_CONFLICTS_INSTALL= qemu qemu-devel qemu6* qemu7* qemu-guest-agent nox11_COMMENT= (without X11) tools_PKGNAMESUFFIX= -tools tools_COMMENT= (tools only) tools_CONFLICTS_INSTALL= qemu qemu-devel qemu-nox11 qemu-utils qemu6* \ qemu70* qemu-guest-agent tools_DESCR= ${.CURDIR}/pkg-descr-tools tools_PLIST= ${.CURDIR}/pkg-plist-tools guestagent_PKGNAMESUFFIX= -guest-agent guestagent_COMMENT= (guest agent) guestagent_DESCR= ${.CURDIR}/pkg-descr-ga guestagent_PLIST= ${.CURDIR}/pkg-plist-ga guestagent_CONFLICTS_INSTALL= qemu qemu-devel qemu-nox11 qemu-tools qemu-utils qemu6* \ qemu7* qemu-guest-agent USES= cpe gmake gnome ninja perl5 pkgconfig python:build shebangfix tar:xz SHEBANG_FILES= scripts/xml-preprocess.py USE_GNOME= glib20 USE_PERL5= build .if ${FLAVOR:U} != tools && ${FLAVOR:U} != guestagent USES+= iconv:wchar_t .endif .if (${FLAVOR:U} != nox11 && ${FLAVOR:U} != tools && ${FLAVOR:U} != guestagent) USE_GNOME+= cairo .endif HAS_CONFIGURE= yes CONFIGURE_ARGS+= --cc=${CC} \ --disable-kvm \ --disable-linux-aio \ --disable-linux-user \ --disable-xen \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" \ --extra-ldflags=-L${LOCALBASE}/lib \ --extra-ldflags=-L/usr/lib \ --localstatedir=/var \ --mandir=${PREFIX}/share/man \ --prefix=${PREFIX} \ --python=${PYTHON_CMD} .if ${FLAVOR:U} == guestagent USE_RC_SUBR= qemu-guest-agent CONFIGURE_ARGS+= --enable-guest-agent --disable-tools --disable-xkbcommon .else CONFIGURE_ARGS+= --disable-guest-agent .endif .if ${FLAVOR:U} != tools && ${FLAVOR:U} != guestagent CONFIGURE_ARGS+= --enable-fdt=system \ --enable-netmap .endif .if ${FLAVOR:U} == tools || ${FLAVOR:U} == guestagent CONFIGURE_ARGS+= --disable-attr \ --disable-install-blobs \ --disable-brlapi \ --disable-bzip2 \ --disable-cap-ng \ --disable-coroutine-pool \ --disable-curses \ --disable-fdt \ --disable-gcrypt \ --disable-glusterfs \ --disable-libnfs \ --disable-libusb \ --disable-lzo \ --disable-netmap \ --disable-nettle \ --disable-numa \ --disable-rbd \ --disable-rdma \ --disable-seccomp \ --disable-smartcard \ --disable-snappy \ --disable-spice \ --disable-system \ --disable-tpm \ --disable-user \ --disable-vhost-net \ --disable-virtfs \ --disable-vnc .endif .if ${FLAVOR:U} == tools CONFIGURE_ARGS+= --enable-tools --enable-zstd .endif CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} WITHOUT_CPU_CFLAGS= yes #to avoid problems with register allocation BINARY_ALIAS= python3=${PYTHON_VERSION} PORTDOCS= .buildinfo _static/* about/* dbus-dbusindex.html devel/* docs \ genindex.html index.html interop/* objects.inv search.html \ searchindex.js specs/* system/* tools/* user/* OPTIONS_DEFINE= CAPSTONE CDROM_DMA CURL DEBUG DOCS GNUTLS GTK3 \ ISCSI JPEG OPENGL PNG SAMBA SASL STATIC_LINK \ STRIP USBREDIR VDE X11 X86_TARGETS OPTIONS_DEFAULT= CDROM_DMA CURL GNUTLS GTK3 JPEG NCURSES_DEFAULT \ OPENGL PNG SASL VDE X11 OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_BASE NCURSES_DEFAULT NCURSES_PORT .if ${FLAVOR:U} == nox11 OPTIONS_EXCLUDE:= GTK3 OPENGL X11 .endif .if ${FLAVOR:U} == tools || ${FLAVOR:U} == guestagent OPTIONS_EXCLUDE:= CAPSTONE CDROM_DMA CURL DEBUG GNUTLS GTK3 ISCSI \ JPEG NCURSES NCURSES_BASE NCURSES_DEFAULT \ NCURSES_PORT OPENGL PNG SAMBA SASL STATIC_LINK \ USBREDIR VDE X11 X86_TARGETS .endif OPTIONS_SUB= yes CAPSTONE_DESC= Disassembly framework support CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) ISCSI_DESC= libiscsi dependency (iSCSI client for emulated drives) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_PORT_DESC= Depend on devel/ncurses in ports PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone CAPSTONE_CONFIGURE_ON= --enable-capstone \ --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_OFF= --disable-curl DEBUG_CONFIGURE_ON= --enable-debug DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} DOCS_CONFIGURE_ENABLE= docs GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_OFF= --disable-gnutls GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USES= gettext gl -GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 \ +GTK3_USE= GNOME=gdkpixbuf,gtk30,vte3 \ XORG=x11,xext GTK3_CONFIGURE_OFF= --disable-gtk \ --disable-vte ISCSI_LIB_DEPENDS= libiscsi.so:net/libiscsi ISCSI_CONFIGURE_OFF= --disable-libiscsi JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-vnc-jpeg NCURSES_BASE_USES= ncurses:base NCURSES_DEFAULT_USES= ncurses NCURSES_PORT_USES= ncurses:port OPENGL_USES= gl OPENGL_USE= GL=gbm,gl OPENGL_CONFIGURE_OFF= --disable-opengl PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_OFF= --disable-png SAMBA_USES= samba:run # smbd SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_CONFIGURE_OFF= --disable-vnc-sasl STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static STATIC_LINK_CONFIGURE_ON= --static STRIP_CONFIGURE_OFF= --disable-strip USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 VDE_CONFIGURE_OFF= --disable-vde X11_USES= sdl -X11_USE= GNOME=gdkpixbuf2 \ +X11_USE= GNOME=gdkpixbuf \ SDL=sdl2 \ XORG=x11,xext X11_CONFIGURE_ENABLE= sdl .if (empty(FLAVOR) || ${FLAVOR:U} == default || ${FLAVOR:U} == nox11) && \ (${FLAVOR:U} != tools || ${PKGNAMESUFFIX} != "-guest-agent") X86_TARGETS_LIB_DEPENDS_OFF= libdw.so:devel/elfutils X86_TARGETS_USES_OFF= xorg X86_TARGETS_USE_OFF= XORG=pixman,x11 X86_TARGETS_CONFIGURE_ON= --target-list='i386-softmmu i386-bsd-user x86_64-softmmu x86_64-bsd-user' .endif .include .if ${FLAVOR:U} == tools || ${FLAVOR:U} == guestagent .if ${ARCH} == "i386" || ${ARCH} == "powerpc" PLIST_SUB+= NO_I386="@comment " .else PLIST_SUB+= NO_I386="" .endif .endif .if (empty(FLAVOR) || ${FLAVOR:U} == default || ${FLAVOR:U} == nox11) && \ (${FLAVOR:U} != tools || ${PKGNAMESUFFIX} != "-guest-agent") .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" CFLAGS+= -D_CALL_SYSV MAKE_ARGS+= ARCH=ppc USE_GCC= yes .endif .if ${ARCH:Mpowerpc64*} || ${ARCH:Maarch64} CONFIGURE_ARGS+= --disable-bsd-user MAKE_ARGS+= ARCH=${ARCH:C/powerpc64.*/ppc64/} PLIST_SUB+= BSDUSER="@comment " .else PLIST_SUB+= BSDUSER="" .endif PLIST_SUB+= LINUXBOOT_DMA="" .endif post-patch: .if ${FLAVOR:U} == tools @${REINPLACE_CMD} -e '/keymaps/d' ${WRKSRC}/pc-bios/meson.build .endif post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/hw/ide/ide-internal.h do-build: cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} ${GMAKE} -j${MAKE_JOBS_NUMBER} do-install: cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} DESTDIR=${STAGEDIR} ${GMAKE} install .if !target(post-install) post-install: .if ${FLAVOR:U} != tools && ${FLAVOR:U} != guestagent ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc .endif @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qemu8/Makefile b/emulators/qemu8/Makefile index d76ddc8dafe2..0614a05e9e05 100644 --- a/emulators/qemu8/Makefile +++ b/emulators/qemu8/Makefile @@ -1,190 +1,190 @@ PORTNAME= qemu DISTVERSION= 8.2.9 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= QEMU CPU Emulator ${${FLAVOR}_COMMENT} - 8.X.X WWW= https://www.qemu.org/ LICENSE= GPLv2 ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le # We need to check if it build with other ARCHS BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS+= libfdt.so:sysutils/dtc \ libzstd.so:archivers/zstd \ libslirp.so:net/libslirp .if ${FLAVOR:U} != nox11 LIB_DEPENDS+= libepoxy.so:graphics/libepoxy .endif FLAVORS= default nox11 FLAVOR?= ${FLAVORS:[1]} default_PKGNAMESUFFIX= 8 default_CONFLICTS_INSTALL= qemu-devel qemu-nox11 qemu-tools qemu-utils \ qemu7* qemu8* nox11_PKGNAMESUFFIX= 8-nox11 nox11_CONFLICTS_INSTALL= qemu qemu-devel qemu* qemu7* qemu-guest-agent nox11_COMMENT= (without X11) USES= cpe gmake gnome ninja perl5 pkgconfig python:build shebangfix tar:xz SHEBANG_FILES= scripts/xml-preprocess.py USE_GNOME= glib20 USE_PERL5= build USES+= iconv:wchar_t .if ${FLAVOR:U} != nox11 USE_GNOME+= cairo .endif HAS_CONFIGURE= yes CONFIGURE_ARGS+= --cc=${CC} \ --disable-guest-agent \ --disable-kvm \ --disable-linux-aio \ --disable-linux-user \ --disable-xen \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" \ --extra-ldflags=-L${LOCALBASE}/lib \ --extra-ldflags=-L/usr/lib \ --localstatedir=/var \ --mandir=${PREFIX}/share/man \ --prefix=${PREFIX} \ --python=${PYTHON_CMD} CONFIGURE_ARGS+= --enable-fdt=system \ --enable-netmap CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} WITHOUT_CPU_CFLAGS= yes #to avoid problems with register allocation PORTDOCS= .buildinfo _static/* about/* dbus-dbusindex.html devel/* docs \ genindex.html index.html interop/* objects.inv search.html \ searchindex.js specs/* system/* tools/* user/* OPTIONS_DEFINE= CAPSTONE CDROM_DMA CURL DEBUG DOCS GNUTLS GTK3 \ ISCSI JPEG OPENGL PNG SAMBA SASL STATIC_LINK \ STRIP USBREDIR VDE X11 X86_TARGETS OPTIONS_DEFAULT= CDROM_DMA CURL GNUTLS GTK3 JPEG NCURSES_DEFAULT \ OPENGL PNG SASL VDE X11 OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_BASE NCURSES_DEFAULT NCURSES_PORT .if ${FLAVOR:U} == nox11 OPTIONS_EXCLUDE:= GTK3 OPENGL X11 .endif OPTIONS_SUB= yes CAPSTONE_DESC= Disassembly framework support CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) ISCSI_DESC= libiscsi dependency (iSCSI client for emulated drives) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_PORT_DESC= Depend on devel/ncurses in ports PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone CAPSTONE_CONFIGURE_ON= --enable-capstone \ --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_OFF= --disable-curl DEBUG_CONFIGURE_ON= --enable-debug DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} DOCS_CONFIGURE_ENABLE= docs GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_OFF= --disable-gnutls GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USES= gettext gl -GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 \ +GTK3_USE= GNOME=gdkpixbuf,gtk30,vte3 \ XORG=x11,xext GTK3_CONFIGURE_OFF= --disable-gtk \ --disable-vte ISCSI_LIB_DEPENDS= libiscsi.so:net/libiscsi ISCSI_CONFIGURE_OFF= --disable-libiscsi JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-vnc-jpeg NCURSES_BASE_USES= ncurses:base NCURSES_DEFAULT_USES= ncurses NCURSES_PORT_USES= ncurses:port OPENGL_USES= gl OPENGL_USE= GL=gbm,gl OPENGL_CONFIGURE_OFF= --disable-opengl PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_OFF= --disable-png SAMBA_USES= samba:run # smbd SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_CONFIGURE_OFF= --disable-vnc-sasl STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static STATIC_LINK_CONFIGURE_ON= --static STRIP_CONFIGURE_OFF= --disable-strip USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 VDE_CONFIGURE_OFF= --disable-vde X11_USES= sdl -X11_USE= GNOME=gdkpixbuf2 \ +X11_USE= GNOME=gdkpixbuf \ SDL=sdl2 \ XORG=x11,xext X11_CONFIGURE_ENABLE= sdl .if (empty(FLAVOR) || ${FLAVOR:U} == default || ${FLAVOR:U} == nox11) X86_TARGETS_LIB_DEPENDS_OFF= libdw.so:devel/elfutils X86_TARGETS_USES_OFF= xorg X86_TARGETS_USE_OFF= XORG=pixman,x11 X86_TARGETS_CONFIGURE_ON= --target-list='i386-softmmu i386-bsd-user x86_64-softmmu x86_64-bsd-user' .endif .include .if (empty(FLAVOR) || ${FLAVOR:U} == default || ${FLAVOR:U} == nox11) .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" CFLAGS+= -D_CALL_SYSV MAKE_ARGS+= ARCH=ppc USE_GCC= yes .endif .if ${ARCH:Mpowerpc64*} || ${ARCH:Maarch64} CONFIGURE_ARGS+= --disable-bsd-user MAKE_ARGS+= ARCH=${ARCH:C/powerpc64.*/ppc64/} PLIST_SUB+= BSDUSER="@comment " .else PLIST_SUB+= BSDUSER="" .endif PLIST_SUB+= LINUXBOOT_DMA="" .endif post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h do-build: cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} ${GMAKE} -j${MAKE_JOBS_NUMBER} do-install: cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} DESTDIR=${STAGEDIR} ${GMAKE} install .if !target(post-install) post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/sameboy/Makefile b/emulators/sameboy/Makefile index 0465aafb57b8..e3a0797cbdb9 100644 --- a/emulators/sameboy/Makefile +++ b/emulators/sameboy/Makefile @@ -1,44 +1,44 @@ PORTNAME= sameboy DISTVERSIONPREFIX= v DISTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= eduardo@FreeBSD.org COMMENT= Game Boy and Game Boy Color emulator written in C WWW= https://sameboy.github.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rgbds>0:devel/rgbds USES= desktop-file-utils gl gmake gnome pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= LIJI32 GH_PROJECT= SameBoy USE_GL= gl -USE_GNOME= gdkpixbuf2 +USE_GNOME= gdkpixbuf USE_SDL= sdl2 MAKE_ARGS= FREEDESKTOP=true \ WARNINGS="-Wno-error" ALL_TARGET= sdl PORTSCOUT= limit:^d\.d+\. OPTIONS_DEFINE= LIBRETRO OPTIONS_DEFAULT= LIBRETRO OPTIONS_SUB= yes LIBRETRO_DESC= Build libretro core post-build-LIBRETRO-on: @${DO_MAKE_BUILD} -C ${WRKSRC} libretro post-install-LIBRETRO-on: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/libretro ${INSTALL_LIB} ${WRKSRC}/build/bin/sameboy_libretro.so \ ${STAGEDIR}${PREFIX}/lib/libretro .include diff --git a/emulators/snes9x-gtk/Makefile b/emulators/snes9x-gtk/Makefile index 034794c51f7f..3d941cf5e395 100644 --- a/emulators/snes9x-gtk/Makefile +++ b/emulators/snes9x-gtk/Makefile @@ -1,67 +1,67 @@ PORTNAME= snes9x DISTVERSION= 1.63 PORTREVISION= 1 CATEGORIES= emulators PKGNAMESUFFIX= -gtk PATCH_SITES= https://github.com/snes9xgit/snes9x/commit/ PATCHFILES= bff02194a797b44f7d0082c4594a2c8c0381bb1b.patch:-p1 MAINTAINER= jhale@FreeBSD.org COMMENT= Super Nintendo Entertainment System (SNES) Emulator WWW= https://github.com/snes9xgit/snes9x # Commercial users must seek permission from copyright holders. LICENSE= Snes9x LICENSE_NAME= Snes9x License LICENSE_FILE= ${WRKSRC}/../LICENSE LICENSE_PERMS= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libminizip.so:archivers/minizip \ libepoxy.so:graphics/libepoxy \ libpng.so:graphics/png \ libharfbuzz.so:print/harfbuzz USES= cmake compiler:c++17-lang desktop-file-utils gettext \ gnome localbase:ldflags pkgconfig sdl xorg USE_GITHUB= yes GH_ACCOUNT= snes9xgit GH_TUPLE= KhronosGroup:SPIRV-Cross:bccaa94:spirv/../external/SPIRV-Cross \ KhronosGroup:Vulkan-Headers:577baa0:vulkan/../external/vulkan-headers \ KhronosGroup:glslang:9c7fd1a:glslang/../external/glslang -USE_GNOME= gdkpixbuf2 gtkmm30 +USE_GNOME= gdkpixbuf gtkmm30 USE_SDL= sdl2 USE_XORG= x11 xrandr xext CMAKE_ARGS= -DCMAKE_INSTALL_LOCALEDIR:STRING="share/locale" CMAKE_OFF= DANGEROUS_HACKS DEBUGGER PATCH_WRKSRC= ${WRKSRC}/.. WRKSRC_SUBDIR= gtk OPTIONS_MULTI= SOUND OPTIONS_MULTI_SOUND= ALSA OSS PORTAUDIO PULSEAUDIO OPTIONS_DEFINE= NLS WAYLAND XVIDEO OPTIONS_DEFAULT= OSS WAYLAND XVIDEO OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA OSS_CMAKE_BOOL= USE_OSS PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= USE_PORTAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSEAUDIO WAYLAND_CATEGORIES= wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CMAKE_BOOL= USE_WAYLAND XVIDEO_USE= XORG=xv XVIDEO_CMAKE_BOOL= USE_XV .include diff --git a/emulators/teo/Makefile b/emulators/teo/Makefile index 5dd5bd518a2d..a49652490942 100644 --- a/emulators/teo/Makefile +++ b/emulators/teo/Makefile @@ -1,38 +1,38 @@ PORTNAME= teo PORTVERSION= 1.8.4 DISTVERSIONSUFFIX= -src PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= SF/teoemulator/linux/${PORTVERSION} MAINTAINER= nanard@free.fr COMMENT= Thomson TO8 emulator WWW= https://sourceforge.net/projects/teoemulator/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/licence-en.txt LIB_DEPENDS= libasound.so:audio/alsa-lib \ libpng.so:graphics/png USES= gmake gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 xext ALL_TARGET= default WRKSRC= ${WRKDIR}/teo post-patch: @${ECHO_CMD} "MAKEFILE_INC = makefile.lnx" > ${WRKSRC}/Makefile @${ECHO_CMD} "include makefile.all" >> ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|"system/|"${DATADIR}/|' \ ${WRKSRC}/src/hardware.c ${WRKSRC}/src/linux/udebug/udtoolb.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/teo ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/rom ${INSTALL_DATA} ${WRKSRC}/system/rom/* ${STAGEDIR}${DATADIR}/rom @${MKDIR} ${STAGEDIR}${DATADIR}/icons ${INSTALL_DATA} ${WRKSRC}/system/icons/* ${STAGEDIR}${DATADIR}/icons .include diff --git a/emulators/tiemu3/Makefile b/emulators/tiemu3/Makefile index 3927a6c80909..85764c295d86 100644 --- a/emulators/tiemu3/Makefile +++ b/emulators/tiemu3/Makefile @@ -1,45 +1,45 @@ PORTNAME= tiemu3 PORTVERSION= 3.03 PORTREVISION= 14 CATEGORIES= emulators MASTER_SITES= SF/gtktiemu/tiemu-linux/TIEmu%20${DISTVERSION} DISTNAME= tiemu-${DISTVERSION} EXTRACT_SUFX= -nogdb.tar.gz MAINTAINER= cyberbotx@cyberbotx.com COMMENT= TI89(ti)/92(+)/V200 hand-helds emulator WWW= http://lpg.ticalc.org/prj_tiemu/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libticables2.so:comms/libticables2 \ libticalcs2.so:comms/libticalcs2 \ libticonv.so:converters/libticonv \ libtifiles2.so:devel/libtifiles2 USES= gmake gnome groff libtool localbase pkgconfig sdl -USE_GNOME= cairo gdkpixbuf2 gtk20 libglade2 +USE_GNOME= cairo gdkpixbuf gtk20 libglade2 USE_SDL= sdl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-gdb --without-kde LDFLAGS+= -Wl,-E OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: .SILENT ${REINPLACE_CMD} -E 's,(install-data-am:).*$$,\1,' ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's,defined(__LINUX__),& || defined(__BSD__),' \ ${WRKSRC}/src/gui/calc/pckeys.h ${WRKSRC}/src/misc/paths.h ${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure .include diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile index a5533514e287..68c944ba9674 100644 --- a/emulators/tme/Makefile +++ b/emulators/tme/Makefile @@ -1,47 +1,47 @@ PORTNAME= tme PORTVERSION= 0.8 PORTREVISION= 7 CATEGORIES= emulators MASTER_SITES= http://people.csail.mit.edu/fredette/tme/ MAINTAINER= ports@FreeBSD.org COMMENT= Emulator for Sun 2/120, 3/150, and SPARCstation 2 machines WWW= https://people.csail.mit.edu/fredette/tme/ LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libltdl.so:devel/libltdl USES= autoreconf compiler gettext gmake gnome iconv libtool perl5 \ pkgconfig -USE_GNOME= gdkpixbuf2 gtk20 +USE_GNOME= gdkpixbuf gtk20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --disable-warnings CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} MAKE_JOBS_UNSAFE=yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= EXAMPLES .include .if ${COMPILER_TYPE} == clang CFLAGS+= -fbracket-depth=1024 .endif post-patch: @${RM} -r ${WRKSRC}/libltdl @${REINPLACE_CMD} 's/LTDL_SHLIBPATH_VAR/LT_MODULE_PATH_VAR/' \ ${WRKSRC}/libtme/Makefile.am ${WRKSRC}/libtme/module.c @${REINPLACE_CMD} -e '/^#ifdef/s|\*/||' \ ${WRKSRC}/libtme/misc.c @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/libtme/module.c .include diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile index b417bfd3e6d6..2d0b5c5bb2d8 100644 --- a/emulators/vice/Makefile +++ b/emulators/vice/Makefile @@ -1,122 +1,122 @@ PORTNAME= vice PORTVERSION= 3.9 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF/vice-emu/releases MAINTAINER= dinoex@FreeBSD.org COMMENT= Emulator for Commodore C64, C128, VIC20, PET, and CBM-II WWW= https://vice-emu.sourceforge.io/ LICENSE= GPLv2 ROM LICENSE_COMB= multi LICENSE_NAME_ROM= Commodore ROMs LICENSE_TEXT_ROM= ROMs are copyrighted by Commodore Business Machines LICENSE_PERMS_ROM= auto-accept BUILD_DEPENDS= xa65:devel/xa65 \ xdg-open:devel/xdg-utils LIB_DEPENDS= libpng.so:graphics/png \ libgif.so:graphics/giflib \ libportaudio.so:audio/portaudio \ libmp3lame.so:audio/lame \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libFLAC.so:audio/flac \ libpci.so:devel/libpci \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpcre2-8.so:devel/pcre2 \ libgnutls.so:security/gnutls \ libharfbuzz.so:print/harfbuzz \ libcurl.so:ftp/curl USES= compiler:c++11-lang pkgconfig perl5 localbase:ldflags \ gmake iconv:wchar_t jpeg readline gettext xorg USE_XORG= xpm ice sm xext xv xt x11 xmu xxf86vm USE_XORG+= xrender xinerama xi xrandr xcursor xcomposite xdamage xfixes HAS_CONFIGURE= yes MAKE_ENV+= XDG_DATA_DIRS=${STAGEDIR}${PREFIX}/share CFLAGS+= -fcommon CONFIGURE_ARGS+= --prefix=${PREFIX} \ --with-lame \ --with-portaudio \ --enable-ipv6 \ --enable-x64 \ --disable-realdevice \ --disable-pdf-docs \ --localedir="${LOCALBASE}/share/locale" \ --disable-dependency-tracking \ DOS2UNIX=true TXTFILES= CIA-README.txt iec-bus.txt \ readmes/Readme-SDL.txt readmes/Readme-SDL2.txt OPTIONS_DEFINE= SDLSOUND ALSA PULSEAUDIO FFMPEG ETHERNET DOCS OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= GTK3UI SDLUI2 OPTIONS_DEFAULT?= GTK3UI SDLSOUND ALSA ETHERNET NO_OPTIONS_SORT=yes OPTIONS_SUB= yes GTK3UI_DESC= use GTK3 user interface SDLUI2_DESC= use SDL2 user interface SDLSOUND_DESC= build with SDL2 sound system support FFMPEG_CONFIGURE_ENABLE= ffmpeg ETHERNET_DESC= Network capture/injection support GTK3UI_USES= desktop-file-utils GTK3UI_CONFIGURE_ENABLE= gtk3ui desktop-files GTK3UI_BUILD_DEPENDS= bash:shells/bash SDLUI2_USES= sdl SDLUI2_USE= SDL=sdl2 SDL=image2 SDLUI2_CONFIGURE_ENABLE= sdl2ui SDLSOUND_USES= sdl SDLSOUND_USE= SDL=sdl2 SDLSOUND_CONFIGURE_ON= --with-sdlsound ALSA_CONFIGURE_OFF= --without-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_CONFIGURE_OFF= --without-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 FFMPEG_CONFIGURE_ENV= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig" #ETHERNET_LIB_DEPENDS= libpcap.so:net/libpcap # conflict with base ETHERNET_BUILD_DEPENDS= ${LOCALBASE}/include/pcap.h:net/libpcap ETHERNET_RUN_DEPENDS= ${LOCALBASE}/include/pcap.h:net/libpcap ETHERNET_CONFIGURE_ENABLE= ethernet .include .if !defined(BUILDING_INDEX) __pmlinks1!= ${ECHO_CMD} '${LMLINKS:S/ / /}' | ${AWK} \ '{ if (NF % 2 != 0) { print "broken"; exit; } \ for (i=1; i<=NF; i++) { \ if ( i % 2 == 0) { print " " $$i " ;"; } \ else { printf "${LN} -s " $$i " "; } \ } }' .endif .if ${PORT_OPTIONS:MGTK3UI} USES+= gnome gl -USE_GNOME+= gtk30 vte3 cairo gdkpixbuf2 pango +USE_GNOME+= gtk30 vte3 cairo gdkpixbuf pango USE_GL+= glu gl glew .endif pre-configure: .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in .endif # workaround for xdg-desktop-menu pre-install-GTK3UI-on: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/desktop-directories post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${TXTFILES} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/ .endfor cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html/ "-name *\.html -or -name *\.css -or -name *\.txt" cd ${WRKSRC}/doc/html/fonts && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html/fonts/ cd ${WRKSRC}/doc/html/images && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html/images/ ${INSTALL_DATA} ${WRKSRC}/doc/vice.texi ${STAGEDIR}${DOCSDIR}/html/ .include diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index ad1bc823cc76..b2061391103d 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -1,101 +1,101 @@ PORTNAME= gnucash PORTVERSION= 5.10 PORTREVISION= 3 CATEGORIES= finance gnome MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} PATCH_SITES= https://github.com/Gnucash/gnucash/commit/ PATCHFILES= 579eed1facc0f7834ea70b1a342ebca0f125d788.patch:-p1 MAINTAINER= madpilot@FreeBSD.org COMMENT= Quicken-like money and finance manager WWW= https://www.gnucash.org/ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual BUILD_DEPENDS= googletest>0:devel/googletest \ swig:devel/swig LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libharfbuzz.so:print/harfbuzz \ libicudata.so:devel/icu \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 RUN_DEPENDS= p5-Finance-Quote>=0:finance/p5-Finance-Quote \ p5-JSON-Parse>=0:devel/p5-JSON-Parse \ p5-libwww>=0:www/p5-libwww \ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https USES= cmake:insource compiler:c++17-lang cpe desktop-file-utils \ gettext-tools gnome guile:2.2,3.0,alias,conflicts localbase \ perl5 pkgconfig shebangfix tar:bzip2 xorg USE_XORG= x11 -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool libxml2 libxslt +USE_GNOME= cairo gdkpixbuf gtk30 intltool libxml2 libxslt USE_LDCONFIG= yes CMAKE_ARGS= -DCOMPILE_GSCHEMAS=OFF \ -DENABLE_BINRELOC=OFF \ -DGNC_SHELL=/bin/sh SHEBANG_FILES= common/gnc-test-env.pl WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} GLIB_SCHEMAS= org.gnucash.GnuCash.deprecated.gschema.xml \ org.gnucash.GnuCash.dialogs.business.gschema.xml \ org.gnucash.GnuCash.dialogs.checkprinting.gschema.xml \ org.gnucash.GnuCash.dialogs.commodities.gschema.xml \ org.gnucash.GnuCash.dialogs.export.csv.gschema.xml \ org.gnucash.GnuCash.dialogs.gschema.xml \ org.gnucash.GnuCash.dialogs.import.csv.gschema.xml \ org.gnucash.GnuCash.dialogs.import.generic.gschema.xml \ org.gnucash.GnuCash.dialogs.import.qif.gschema.xml \ org.gnucash.GnuCash.dialogs.reconcile.gschema.xml \ org.gnucash.GnuCash.dialogs.sxs.gschema.xml \ org.gnucash.GnuCash.dialogs.totd.gschema.xml \ org.gnucash.GnuCash.general.finance-quote.gschema.xml \ org.gnucash.GnuCash.gschema.xml \ org.gnucash.GnuCash.history.gschema.xml \ org.gnucash.GnuCash.warnings.gschema.xml \ org.gnucash.GnuCash.window.pages.account.tree.gschema.xml \ org.gnucash.GnuCash.window.pages.gschema.xml OPTIONS_DEFINE= AQBANKING DATABASE DOCS NLS OFX PYTHON OPTIONS_DEFAULT= AQBANKING OFX PYTHON OPTIONS_SUB= yes AQBANKING_DESC= AqBanking support (HBCI/OpenHBCI) DATABASE_DESC= Enable SQL database backends OFX_DESC= OFX support AQBANKING_CMAKE_BOOL= WITH_AQBANKING AQBANKING_LIB_DEPENDS= libaqbanking.so:finance/aqbanking \ libgwengui-gtk3.so:devel/gwenhywfar-gtk3 \ libgwenhywfar.so:devel/gwenhywfar AQBANKING_VARS= GLIB_SCHEMAS+="org.gnucash.GnuCash.dialogs.flicker.gschema.xml \ org.gnucash.GnuCash.dialogs.import.hbci.gschema.xml" DATABASE_CMAKE_BOOL= WITH_SQL DATABASE_BUILD_DEPENDS= libdbi-drivers>=0:databases/libdbi-drivers DATABASE_LIB_DEPENDS= libdbi.so:databases/libdbi DATABASE_RUN_DEPENDS= libdbi-drivers>=0:databases/libdbi-drivers NLS_CMAKE_BOOL_OFF= DISABLE_NLS NLS_USES= gettext-runtime OFX_CMAKE_BOOL= WITH_OFX OFX_LIB_DEPENDS= libofx.so:finance/libofx OFX_VARS= GLIB_SCHEMAS+=org.gnucash.GnuCash.dialogs.import.ofx.gschema.xml PYTHON_CMAKE_BOOL= WITH_PYTHON PYTHON_USES= python post-install-PYTHON-on: @(cd ${STAGEDIR}${PREFIX} \ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PORTNAME}) @(cd ${STAGEDIR}${PREFIX} \ && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PORTNAME}) @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gnucash/_gnucash_core_c.so .include diff --git a/finance/grisbi/Makefile b/finance/grisbi/Makefile index 159818fea924..bfd0074d1382 100644 --- a/finance/grisbi/Makefile +++ b/finance/grisbi/Makefile @@ -1,39 +1,39 @@ PORTNAME= grisbi PORTVERSION= 3.0.4 CATEGORIES= finance MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION:R}.x/${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Personal accounting application WWW= https://www.grisbi.org/ LICENSE= GPLv2 BUILD_DEPENDS= p5-XML-Parser>0:textproc/p5-XML-Parser LIB_DEPENDS= libofx.so:finance/libofx \ libharfbuzz.so:print/harfbuzz \ libfreetype.so:print/freetype2 \ libgoffice-0.10.so:devel/goffice \ libfontconfig.so:x11-fonts/fontconfig USES= desktop-file-utils gmake gnome iconv localbase \ pkgconfig shared-mime-info ssl tar:bzip2 -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool libgsf libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libgsf libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPTIONS_DEFINE= DOCS NLS .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif .include diff --git a/french/verbiste/Makefile b/french/verbiste/Makefile index 3d4bd9563af7..d62d0294abac 100644 --- a/french/verbiste/Makefile +++ b/french/verbiste/Makefile @@ -1,46 +1,46 @@ PORTNAME= verbiste PORTVERSION= 0.1.49 CATEGORIES= french education textproc MASTER_SITES= http://sarrazip.com/dev/ MAINTAINER= dereckson@gmail.com COMMENT= French verb conjugator/deconjugator WWW= http://sarrazip.com/dev/verbiste.html LICENSE= GPLv2 USES= gnome iconv:wchar_t pathfix pkgconfig libtool localbase \ shebangfix USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip SHEBANG_FILES= ${WRKSRC}/examples/*.pl TEST_TARGET= check OPTIONS_DEFINE= GTK2 DOCS EXAMPLES .include .if ${PORT_OPTIONS:MGTK2} USES+= gettext -USE_GNOME+= cairo gdkpixbuf2 gtk20 +USE_GNOME+= cairo gdkpixbuf gtk20 LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz PLIST_SUB+= HASGTK="" .else CONFIGURE_ARGS+=--without-gtk-app PLIST_SUB+= HASGTK="@comment " .endif post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in README *.java *.c ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/ftp/filezilla/Makefile b/ftp/filezilla/Makefile index 056a691f7ee9..e2b7db39cad6 100644 --- a/ftp/filezilla/Makefile +++ b/ftp/filezilla/Makefile @@ -1,54 +1,54 @@ PORTNAME= filezilla PORTVERSION= 3.68.1 PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= LOCAL/pi DISTNAME= FileZilla_${PORTVERSION}_src MAINTAINER= pi@FreeBSD.org COMMENT= Fast and reliable cross-platform FTP, FTPS, and SFTP client WWW= https://filezilla-project.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libfilezilla.so:ftp/libfilezilla \ libharfbuzz.so:print/harfbuzz \ libidn.so:dns/libidn \ libnettle.so:security/nettle \ libpugixml.so:textproc/pugixml RUN_DEPENDS= xdg-open:devel/xdg-utils TEST_DEPENDS= cppunit-config:devel/cppunit TEST_TARGET= check USES= compiler:c++17-lang gmake gnome iconv:wchar_t libtool localbase \ pkgconfig sqlite tar:xz -USE_GNOME= cairo gtk30 gdkpixbuf2 +USE_GNOME= cairo gtk30 gdkpixbuf INSTALL_TARGET= install-strip GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-fast-install GNU_CONFIGURE_MANPREFIX=${PREFIX}/share WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_WX= 3.2 WX_CONF_ARGS= relative OPTIONS_DEFINE= DBUS NLS OPTIONS_DEFAULT= DBUS OPTIONS_SUB= yes DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus NLS_USES= gettext NLS_USES_OFF= gettext-runtime NLS_CONFIGURE_OFF= --disable-locales .if !defined(MAINTAINER_MODE) CONFIGURE_ARGS+= --disable-manualupdatecheck .endif .include diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile index f3adae9bd056..276957ef366a 100644 --- a/ftp/gftp/Makefile +++ b/ftp/gftp/Makefile @@ -1,41 +1,41 @@ PORTNAME= gftp PORTVERSION= 2.9.1b PORTREVISION= 1 CATEGORIES= ftp MAINTAINER= oliver@FreeBSD.org COMMENT= Free multithreaded GTK-based FTP and SFTP client WWW= http://gftp.seul.org/ LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= autoreconf desktop-file-utils gettext-tools gnome gmake pathfix \ pkgconfig ssl tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= masneyb -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 +USE_GNOME= cairo gdkpixbuf glib20 gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CFLAGS+= -D_WANT_SEMUN OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext iconv NLS_CONFIGURE_OFF= --disable-nls NLS_CONFIGURE_ENABLE= nls NLS_CPPFLAGS= -I${LOCALBASE}/include NLS_LIBS= -L${LOCALBASE}/lib -lintl post-patch: @${MKDIR} ${WRKSRC}/autoconf @${MKDIR} ${WRKSRC}/autoconf-m4 @${TOUCH} ${WRKSRC}/autoconf/config.rpath .include diff --git a/games/atomix/Makefile b/games/atomix/Makefile index 015be9898913..96dbbc983775 100644 --- a/games/atomix/Makefile +++ b/games/atomix/Makefile @@ -1,24 +1,24 @@ PORTNAME= atomix PORTVERSION= 3.34.0 PORTREVISION= 2 CATEGORIES= games gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Yet another little mind game WWW= https://wiki.gnome.org/Apps/Atomix LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= appstream-util:devel/appstream-glib LIB_DEPENDS= libgnome-games-support-1.so:games/libgnome-games-support PORTSCOUT= limitw:1,even USES= gettext gnome meson pkgconfig tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 LDFLAGS= -lm .include diff --git a/games/eboard/Makefile b/games/eboard/Makefile index 46639b4b1b23..6fdd6b86ab73 100644 --- a/games/eboard/Makefile +++ b/games/eboard/Makefile @@ -1,88 +1,88 @@ PORTNAME= eboard PORTVERSION= 1.1.3 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/eboard-extras/pack%201%20patchlevel%202/:p1 \ SF/${PORTNAME}/eboard-extras/pack%202/:p2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ eboard-extras-1pl2.tar.gz:p1 \ eboard-extras-2.tar.gz:p2 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= rhurlin@FreeBSD.org COMMENT= GTK+ chess board interface (mainly for FICS and chessd) WWW= https://www.bergo.eng.br/eboard/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng16.so:graphics/png USES= compiler:c++11-lang gnome gstreamer perl5 pkgconfig \ shebangfix tar:bzip2 # eboard 1.1.13 is not compatible with C++17, which is the default since # clang 16. This means ports depending on it also need to use at most C++14. USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= fbergo -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_PERL5= build SHEBANG_FILES= configure HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ --extra-inc=${LOCALBASE}/include \ --extra-ld=${LOCALBASE}/lib \ --man-prefix=${PREFIX}/share/man INSTALL_TARGET= install install-man DESKTOP_ENTRIES="eboard" \ "Play chess" \ "${DATADIR}/gnupiece.xpm" \ "eboard" \ "Game;BoardGame;GTK;" \ true OPTIONS_DEFINE= DOCS EXTRAS= 1pl2 2 post-extract: .for e in ${EXTRAS} @cd ${WRKDIR} && ${GZIP_CMD} -dc \ ${_DISTDIR}/eboard-extras-${e}.tar.gz | ${TAR} -xf - .endfor post-patch: @${REINPLACE_CMD} -e 's,g++,${CXX},' -e 's|-O6|${CXXFLAGS}|' \ ${WRKSRC}/configure pre-install: @${MKDIR} ${STAGEDIR}${DATADIR} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/eboard ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/eboard/timeseal.FreeBSD (cd ${WRKSRC}/xpm/ && ${CP} gnupiece.xpm ${STAGEDIR}${DATADIR}) # There is no timeseal port ATM :( # @${LN} -sf ${LOCALBASE}/bin/timeseal \ # ${STAGEDIR}${DATADIR}/timeseal.FreeBSD .for extra in ${EXTRAS} @cd ${WRKDIR}/eboard-extras-${extra} && ${SETENV} EBOARDCONFIG=${STAGEDIR}${PREFIX}/bin/eboard-config ${CONFIGURE_CMD} --prefix=${PREFIX} @cd ${WRKDIR}/eboard-extras-${extra} && ${SETENV} ${MAKE_ENV} ${MAKE} install DATADIR=${STAGEDIR}${DATADIR} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .for file in Crafty.txt FICS-Timeseal.txt GNUChess4.txt GNUChess5.txt \ Scripts.txt Sjeng.txt Themes.txt ${INSTALL_DATA} ${WRKSRC}/Documentation/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/games/ecwolf/Makefile b/games/ecwolf/Makefile index 4d0bd4337949..e73102ea66de 100644 --- a/games/ecwolf/Makefile +++ b/games/ecwolf/Makefile @@ -1,39 +1,39 @@ PORTNAME= ecwolf PORTVERSION= 1.4.1 DISTVERSIONSUFFIX= -src PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://maniacsvault.net/ecwolf/files/ecwolf/1.x/ MAINTAINER= pkubaj@FreeBSD.org COMMENT= Source port for Wolfenstein 3D, Spear of Destiny WWW= https://maniacsvault.net/ecwolf/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/docs/license-gpl.txt LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= cmake compiler:c++11-lang gnome jpeg localbase:ldflags \ pkgconfig sdl tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_SDL= mixer2 net2 sdl2 SUB_FILES= ecwolf pkg-message SUB_LIST= PORTNAME=${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ share/${PORTNAME}/${PORTNAME} \ share/${PORTNAME}/${PORTNAME}.pk3 do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${DATADIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${BUILD_WRKSRC}/${PORTNAME}.pk3 \ ${STAGEDIR}${DATADIR} .include diff --git a/games/exult/Makefile b/games/exult/Makefile index 4cf40b8e12b3..7b22fd303f14 100644 --- a/games/exult/Makefile +++ b/games/exult/Makefile @@ -1,84 +1,84 @@ PORTNAME= exult DISTVERSION?= 1.10.1 PORTREVISION?= 1 PORTEPOCH= 1 CATEGORIES= games MAINTAINER= eduardo@FreeBSD.org COMMENT= Engine for Ultima VII (BG, FOV, SI, SS) WWW= http://exult.info LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libogg.so:audio/libogg \ libpng16.so:graphics/png \ libvorbis.so:audio/libvorbis BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive USES= autoreconf compiler:c++17-lang gmake libtool localbase \ pkgconfig sdl xorg -USE_GNOME= cairo gdkpixbuf2 +USE_GNOME= cairo gdkpixbuf USE_SDL= sdl2 USE_XORG= x11 xext GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static \ --enable-shared \ --with-icondir=${PREFIX}/share/pixmaps CONFLICTS_INSTALL= exult-devel SUB_FILES= pkg-message PLIST?= ${.CURDIR}/pkg-plist PORTDOCS= * .if !defined(MASTERDIR) MASTER_SITES= http://prdownloads.sourceforge.net/exult/ .else USE_GITHUB= yes .endif OPTIONS_DEFINE= ALSA DEBUG DOCS FLUIDSYNTH GIMP STUDIO OPTIONS_DEFAULT= STUDIO OPTIONS_SUB= yes GIMP_DESC= GIMP plugin support STUDIO_DESC= Install Exult Studio ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa DEBUG_CONFIGURE_ON= --with-debug=full \ --with-optimization=none DEBUG_CONFIGURE_OFF= --with-debug=no FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_CONFIGURE_ENABLE= fluidsynth GIMP_LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgegl-0.4.so:graphics/gegl \ libgegl-npd-0.4.so:graphics/gegl \ libgimp-2.0.so:graphics/gimp-app \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib GIMP_USES= gnome GIMP_USE= GNOME=gtk20,pango GIMP_CONFIGURE_ENABLE= gimp-plugin STUDIO_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libicuuc.so:devel/icu STUDIO_USES= gnome STUDIO_USE= GNOME=gtk30 STUDIO_CONFIGURE_ENABLE= exult-studio exult-studio-support post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in FAQ NEWS README ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile index f4ef901df0be..d25bd0b356f6 100644 --- a/games/freeciv/Makefile +++ b/games/freeciv/Makefile @@ -1,114 +1,114 @@ PORTNAME= freeciv PORTVERSION= 3.1.3 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/freeciv/Freeciv%20${PORTVERSION:R}/${PORTVERSION} \ http://files.freeciv.org/stable/ MAINTAINER= fluffy@FreeBSD.org COMMENT= Free turn-based multiplayer strategy WWW= https://www.freeciv.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libcurl.so:ftp/curl \ libicuuc.so:devel/icu \ libltdl.so:devel/libltdl USES= autoreconf compiler:c++11-lang cpe desktop-file-utils gmake \ iconv:wchar_t libtool lua:53 pkgconfig readline shebangfix ssl tar:xz SHEBANG_FILES= bootstrap/*.sh data/flags/convert* scripts/mapimg2anim \ scripts/setup_auth_server.sh translations/*.sh USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ --disable-static \ --enable-aimodules \ --enable-client=${_FREECIV_CLIENT:ts,} \ --enable-fcdb=${_FREECIV_DB:ts,} \ --enable-fcmp=${_FREECIV_MP:U:S/^/cli /:ts,} \ --enable-mapimg=no \ --enable-shared LDFLAGS+= -Wl,--as-needed ${ICONV_LIB} PORTDATA= * OPTIONS_DEFINE= DOCS IPV6 NLS OPTIONS_DEFAULT= QT5 SQLITE3 OPTIONS_MULTI= DB UI OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE3 OPTIONS_MULTI_UI= GTK3 GTK4 QT5 SDL OPTIONS_SUB= yes DB_DESC= Database support UI_DESC= GUI clients GTK3_USES= gnome sdl -GTK3_USE= GNOME=cairo,gdkpixbuf2,glib20,gtk30,pango \ +GTK3_USE= GNOME=cairo,gdkpixbuf,glib20,gtk30,pango \ SDL=mixer2 GTK3_VARS= _FREECIV_CLIENT+=gtk3 \ _FREECIV_CLIENT+=gtk3.22 \ _FREECIV_MP+=gtk3 GTK4_IMPLIES= GTK3 GTK4_USES= gnome sdl -GTK4_USE= GNOME=cairo,gdkpixbuf2,glib20,gtk40,pango \ +GTK4_USE= GNOME=cairo,gdkpixbuf,glib20,gtk40,pango \ SDL=mixer2 GTK4_VARS= _FREECIV_CLIENT+=gtk4 \ _FREECIV_MP+=gtk4 IPV6_CONFIGURE_ENABLE= ipv6 MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql-prefix=${LOCALBASE} MYSQL_VARS= _FREECIV_DB+=mysql NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-postgres-prefix=${LOCALBASE} PGSQL_VARS= _FREECIV_DB+=postgres QT5_USES= qt:5 sdl QT5_USE= QT=core,gui,widgets,buildtools:build \ SDL=mixer2 QT5_CONFIGURE_ON= --with-qt5=yes \ --with-qt5-includes=${LOCALBASE}/${QT_INCDIR_REL} \ --with-qt5-libs=${LOCALBASE}/${QT_LIBDIR_REL} QT5_CONFIGURE_ENABLE= ruledit QT5_VARS= _FREECIV_CLIENT+=qt \ _FREECIV_MP+=qt SDL_USES= sdl SDL_USE= SDL=gfx2,image2,mixer2,ttf2 SDL_VARS= _FREECIV_CLIENT+=sdl2 SQLITE3_USES= sqlite SQLITE3_VARS= _FREECIV_DB+=sqlite3 # Save OPTIONS_MULTI_UI value for later before the framework # does things with it. _FREECIV_CLIENTS:= ${OPTIONS_MULTI_UI} .include .if ${_FREECIV_CLIENT:Uno} == no CONFLICTS= freeciv PLIST_SUB+= ${_FREECIV_CLIENTS:S/$/="@comment "/} \ CLIENT="@comment " .else CONFLICTS= freeciv-nox11 PLIST_SUB+= CLIENT="" .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfreeciv*.so .include diff --git a/games/freedoko/Makefile b/games/freedoko/Makefile index 284d1910e280..23746b3cbfaa 100644 --- a/games/freedoko/Makefile +++ b/games/freedoko/Makefile @@ -1,33 +1,33 @@ PORTNAME= freedoko DISTVERSION= 0.8.0 CATEGORIES= games MASTER_SITES= SF/free-doko/source DISTNAME= FreeDoko_${PORTVERSION}.src MAINTAINER= ports@FreeBSD.org COMMENT= Play the card game Doppelkopf WWW= https://free-doko.sourceforge.net/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS+= a2x:textproc/asciidoc \ w3m:www/w3m \ rsync:net/rsync \ dos2unix:converters/unix2dos LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= gettext-runtime gettext-tools gmake gnome localbase \ pkgconfig zip:infozip openal:al,alut tex -USE_GNOME= gdkpixbuf2 gtkmm30 +USE_GNOME= gdkpixbuf gtkmm30 USE_TEX= pdftex:build dvipsk:build ALL_TARGET= compile documentation LDFLAGS_i386= -Wl,-znotext WRKSRC= ${WRKDIR}/${DISTNAME:R} post-install: ${RM} ${STAGEDIR}${DATADIR}/doc ${RLN} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DATADIR}/doc .include diff --git a/games/freetennis/Makefile b/games/freetennis/Makefile index 763c321a5d8d..e00986d2942f 100644 --- a/games/freetennis/Makefile +++ b/games/freetennis/Makefile @@ -1,45 +1,45 @@ PORTNAME= freetennis PORTVERSION= 0.4.8 PORTREVISION= 18 CATEGORIES= games MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Tennis simulation WWW= https://freetennis.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${OCAMLFIND_DEPEND} \ ${SA_DIR}/camlimages/META:graphics/ocaml-images \ ${SA_DIR}/lablGL/gl.ml:graphics/ocaml-lablgl \ ${SA_DIR}/lablgtk2/gtk.ml:x11-toolkits/ocaml-lablgtk2 \ ${SA_DIR}/sdl/sdl.mli:devel/ocaml-sdl LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkgl-2.0.so:x11-toolkits/gtkglarea2 \ libharfbuzz.so:print/harfbuzz USES= gettext gl gnome ocaml sdl tar:bzip2 xorg -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango USE_GL= gl glu USE_SDL= ttf mixer sdl USE_XORG= x11 xext xmu PLIST_FILES= bin/freetennis PORTDATA= * SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR} post-patch: @${REINPLACE_CMD} -e 's|sfxDir = "sfx"|sfxDir = "${DATADIR}/sfx"|; \ s|gfxDir = "graphics"|gfxDir = "${DATADIR}/graphics"|' \ ${WRKSRC}/freetennis.ml do-install: @${INSTALL_PROGRAM} ${WRKSRC}/freetennis ${STAGEDIR}${PREFIX}/bin @(cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics sfx" ${STAGEDIR}${DATADIR}) .include diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile index 5e05060f0b7b..f6e87c18e5dc 100644 --- a/games/gnubg/Makefile +++ b/games/gnubg/Makefile @@ -1,44 +1,44 @@ PORTNAME= gnubg PORTVERSION= 1.08.003 CATEGORIES= games MASTER_SITES= GNU DISTFILES= gnubg-release-${PORTVERSION}-sources.tar.gz MAINTAINER= cs@FreeBSD.org COMMENT= GNU Backgammon WWW= https://www.gnu.org/software/gnubg/ LICENSE= GPLv3 RUN_DEPENDS= sqlite3:databases/sqlite3 LIB_DEPENDS= libcanberra-gtk.so:audio/libcanberra-gtk2 \ libcanberra.so:audio/libcanberra \ libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmp.so:math/gmp \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libharfbuzz.so:print/harfbuzz \ libpng16.so:graphics/png USES= bison gl gmake gnome libtool pathfix shebangfix python \ pkgconfig compiler:c++11-lang xorg ncurses readline -USE_GNOME= glib20 gtk20 cairo pangox-compat gdkpixbuf2 +USE_GNOME= glib20 gtk20 cairo pangox-compat gdkpixbuf USE_XORG+= xmu xt sm ice x11 USE_GL+= glu gl CONFIGURE_ARGS= --with-board3d --with-sqlite --with-python=${PYTHON_CMD} CONFIGURE_ENV= ac_cv_path_ARTSC_CONFIG=no ac_cv_path_LIBART_CONFIG=no CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/games/gtkradiant/Makefile b/games/gtkradiant/Makefile index 3fb93b36f945..e4e3066e2483 100644 --- a/games/gtkradiant/Makefile +++ b/games/gtkradiant/Makefile @@ -1,91 +1,91 @@ PORTNAME= gtkradiant PORTVERSION= 1.5.0 PORTREVISION= 19 CATEGORIES= games cad MASTER_SITES= IDSOFTWARE/source/:id \ http://www.bsd-geek.de/FreeBSD/distfiles/:fb DISTNAME= GtkRadiant-GPL DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:id \ ${PORTNAME}_gamepacks${EXTRACT_SUFX}:fb MAINTAINER= danfe@FreeBSD.org COMMENT= Map editor for FPS games, by id Software and Loki Software WWW= http://www.qeradiant.com/ LICENSE= GPLv2 LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libmhash.so:security/mhash \ libpng.so:graphics/png USES= compiler:c++11-lang gnome pkgconfig python:build scons zip -USE_GNOME= gdkpixbuf2 gtk20 libxml2 +USE_GNOME= gdkpixbuf gtk20 libxml2 MAKE_ARGS= ${MAKE_ENV} BUILD=release SSP_UNSAFE= yes DATADIR= ${PREFIX}/lib/${PORTNAME} WRKSRC= ${WRKDIR}/GPL/GtkRadiant SUB_FILES= ${PORTNAME} post-patch: @${GREP} -Rl 'defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)' ${WRKSRC} | \ ${XARGS} ${REINPLACE_CMD} -e \ 's/\(defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)\)/\1 || defined (__FreeBSD__)/' @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/libs/os/dir.h \ ${WRKSRC}/libs/gtkutil/idledraw.h \ ${WRKSRC}/libs/gtkutil/cursor.h \ ${WRKSRC}/libs/convert.h \ ${WRKSRC}/plugins/shaders/shaders.cpp \ ${WRKSRC}/plugins/vfspk3/vfs.cpp \ ${WRKSRC}/radiant/feedback.h \ ${WRKSRC}/radiant/environment.cpp \ ${WRKSRC}/radiant/patch.cpp \ ${WRKSRC}/radiant/watchbsp.cpp \ ${WRKSRC}/tools/quake3/common/inout.c # Fix the build against Clang and possibly other modern compilers @${REINPLACE_CMD} -e 's,register ,,g' \ ${WRKSRC}/libs/container/hashfunc.h \ ${WRKSRC}/libs/jpeg6/jdcolor.cpp \ ${WRKSRC}/libs/jpeg6/jdhuff.* \ ${WRKSRC}/libs/jpeg6/jdsample.cpp \ ${WRKSRC}/libs/jpeg6/jutils.cpp @${REINPLACE_CMD} -e '/#include "generic\/reference\.h"/x ; 318G' \ ${WRKSRC}/libs/scenelib.h @${REINPLACE_CMD} -e '/#include "generic\/referencecounted\.h/ { \ x ; s/^/#include "scenelib.h"/ ; G ; }' \ ${WRKSRC}/plugins/mapq3/parse.h # Fix warnings of "GtkSpinButton: setting an adjustment with non-zero # page size is deprecated" (very annoying) @${GREP} -Rl --null gtk_adjustment_new ${WRKSRC} | ${XARGS} -0 \ ${REINPLACE_CMD} -E 's|(gtk_adjustment_new[^)]*,)[^)]*|\1 0|' # Do not #include header which is deprecated @${REINPLACE_CMD} -e '/#include/s, diff --git a/games/kanatest/Makefile b/games/kanatest/Makefile index c8cb27235fde..37e27dd4f213 100644 --- a/games/kanatest/Makefile +++ b/games/kanatest/Makefile @@ -1,33 +1,33 @@ PORTNAME= kanatest PORTVERSION= 0.4.10.g20200611 PORTREVISION= 2 CATEGORIES= games japanese MAINTAINER= Clockwork6400@protonmail.com COMMENT= Japanese kana (Hiragana and Katakana) simple flashcard tool WWW= https://kanatest.sourceforge.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING FETCH_DEPENDS= git:devel/git LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= gettext gmake gnome pkgconfig tar:xz -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 libxml2 pango GNU_CONFIGURE= yes MAKE_ENV= LIBINTL="-lintl" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes # this will break when upstream is updating, but unfortunately # SF won't let us fetch individual commits. do-fetch: @${MKDIR} ${_DISTDIR} @cd ${_DISTDIR} && [ -f ${DISTNAME}.tar.xz ] || \ git archive --format=tar --prefix=${DISTNAME}/ \ --remote=git://git.code.sf.net/p/kanatest/code master | \ ${XZ_CMD} >${DISTNAME}.tar.xz .include diff --git a/games/libgnome-games-support/Makefile b/games/libgnome-games-support/Makefile index efe13e17fc83..e19e9505d8f0 100644 --- a/games/libgnome-games-support/Makefile +++ b/games/libgnome-games-support/Makefile @@ -1,28 +1,28 @@ PORTNAME= libgnome-games-support DISTVERSION= 1.8.2 PORTREVISION= 2 CATEGORIES= games gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Small library intended for internal use by GNOME Games WWW= https://git.gnome.org/browse/libgnome-games-support LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgee-0.8.so:devel/libgee PORTSCOUT= limitw:1,even USES= gettext gnome meson pkgconfig tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/games/macopix/Makefile b/games/macopix/Makefile index f94a02e83c28..aa8fcaa9b35b 100644 --- a/games/macopix/Makefile +++ b/games/macopix/Makefile @@ -1,105 +1,105 @@ PORTNAME= macopix PORTVERSION= 1.7.4 PORTREVISION= 17 CATEGORIES= games MASTER_SITES= http://rosegray.sakura.ne.jp/macopix/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LICENSE_DISTFILES_DATA} MAINTAINER= ports@FreeBSD.org COMMENT= Window sitter for X11 WWW= http://rosegray.sakura.ne.jp/macopix/index-e.html LICENSE= GPLv2+ DATA LICENSE_COMB= multi LICENSE_NAME_DATA= Commercial character data LICENSE_TEXT_DATA= contains commercial character data LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_DISTFILES_DATA= \ macopix-mascot-comic_party-euc-ja-1.02.tar.gz \ macopix-mascot-cosmos-euc-ja-1.02.tar.gz \ macopix-mascot-kanon-euc-ja-1.02.tar.gz \ macopix-mascot-mizuiro-euc-ja-1.02.tar.gz \ macopix-mascot-one-euc-ja-1.02.tar.gz \ macopix-mascot-pia2-euc-ja-1.02.tar.gz \ macopix-mascot-triangle_heart-euc-ja-1.02.tar.gz \ macopix-mascot-tsukihime-euc-ja-1.02.tar.gz \ macopix-mascot-marimite-euc-ja-2.20.tar.gz \ macopix-mascot-HxB-euc-ja-0.30.tar.gz LICENSE_PERMS_DATA= auto-accept BROKEN_armv6= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h BROKEN_armv7= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= gettext gmake gnome iconv jpeg libtool pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CFLAGS+= -fcommon CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lX11 ${ICONV_LIB} OPTIONS_DEFINE= DOCS GNUTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ON= --with-gnutls GNUTLS_USES_OFF= ssl post-patch: @${REINPLACE_CMD} -e 's/_MAIL } MailStatus/_MAIL } MailStatus2/' ${WRKSRC}/src/main.h post-install: # install mascot file @${MKDIR} ${STAGEDIR}${DATADIR}/pixmap cd ${WRKDIR}/macopix-mascot-comic_party-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.comipa.jp cd ${WRKDIR}/macopix-mascot-cosmos-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.cosmos.jp cd ${WRKDIR}/macopix-mascot-kanon-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.kanon.jp cd ${WRKDIR}/macopix-mascot-mizuiro-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.mizuiro.jp cd ${WRKDIR}/macopix-mascot-one-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.one.jp cd ${WRKDIR}/macopix-mascot-pia2-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.pia2.jp cd ${WRKDIR}/macopix-mascot-triangle_heart-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.trh.jp cd ${WRKDIR}/macopix-mascot-tsukihime-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.tsuki.jp cd ${WRKDIR}/macopix-mascot-marimite-euc-ja-2.20 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.marimite.jp cd ${WRKDIR}/macopix-mascot-HxB-euc-ja-0.30 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.HxB.jp @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} NKR.README.ja README README.ja \ ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/netradiant/Makefile b/games/netradiant/Makefile index d8099bb6cc8c..86171cb85328 100644 --- a/games/netradiant/Makefile +++ b/games/netradiant/Makefile @@ -1,75 +1,75 @@ PORTNAME= netradiant PORTVERSION= 20150621 PORTREVISION= 7 CATEGORIES= games cad MASTER_SITES= http://ingar.intranifty.net/gtkradiant/files/ LOCAL/danfe \ http://ingar.intranifty.net/gtkradiant/files/gamepacks/:gp DISTNAME= ${PORTNAME}-${PORTVERSION}-src DISTFILES= ${DISTNAME}${EXTRACT_SUFX} q3map2.6 EXTRACT_ONLY= ${_DISTFILES:Nq3map2.6} MAINTAINER= danfe@FreeBSD.org COMMENT= Fork of GtkRadiant v1.5 FPS games map editor WWW= http://ingar.intranifty.net/gtkradiant/ LICENSE= GPLv2 BROKEN_armv6= fails to build: h2data.armv6: No such file or directory BROKEN_armv7= fails to build: h2data.armv7: No such file or directory LIB_DEPENDS= libpng.so:graphics/png \ libwebp.so:graphics/webp \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext USES= compiler:c++11-lang gl gmake gnome jpeg localbase:ldflags \ pkgconfig tar:xz xorg USE_GL= gl glu -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 libxml2 pango pangox-compat +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 libxml2 pango pangox-compat USE_XORG= ice sm x11 xmu xt MAKE_ENV= BUILD=release DOWNLOAD_GAMEPACKS=no EXE=${ARCH} \ RADIANT_ABOUTMSG="For ${OPSYS} ${OSREL} (${ARCH})" SUB_FILES= ${PORTNAME} SUB_LIST= ARCH=${ARCH} PLIST_SUB:= ${SUB_LIST} OPTIONS_DEFINE= GAMEPACK OPTIONS_DEFAULT= GAMEPACK GAMEPACK_DESC= Install gamepacks for some popular games OPTIONS_SUB= yes GAMES= DarkPlaces Doom3 ET Neverball Nexuiz OpenArena Osirion Quake1 \ Quake2 Quake2World Quake3 Quake4 Quake Quetoo Tremulous UFOAI \ Unvanquished Warsow Xonotic GAMEPACK_DISTFILES= ${GAMES:S/$/Pack.zip:gp/} post-patch: @${REINPLACE_CMD} -e 's,register ,,' \ ${WRKSRC}/libs/container/hashfunc.h @${REINPLACE_CMD} -e '/#include/s,sys/dir,dirent,' \ ${WRKSRC}/tools/quake2/qdata/qdata.c @${REINPLACE_CMD} -e 's,#ifndef WIN32,#ifdef NeXT,' \ ${WRKSRC}/tools/quake3/q3data/q3data.c @${GREP} -Rl --null __linux__ ${WRKSRC}/tools | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__,' pre-install: # Remove a copy of GNU GPL from what we are going to install @${RM} ${WRKSRC}/install/GPL.txt do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${RMDIR} ${WRKSRC}/install/games ${CP} -a ${WRKSRC}/install/* ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${DISTDIR}/q3map2.6 ${STAGEDIR}${PREFIX}/share/man/man6 do-install-GAMEPACK-on: .for g in ${GAMES} ${CP} -a ${WRKDIR}/${g}Pack/games ${WRKDIR}/${g}Pack/*.game \ ${STAGEDIR}${DATADIR} .endfor .include diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile index 3da0826962c7..a52e18b7319a 100644 --- a/games/xcowsay/Makefile +++ b/games/xcowsay/Makefile @@ -1,30 +1,30 @@ PORTNAME= xcowsay DISTVERSION= 1.6 PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://www.nickg.me.uk/files/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Graphical configurable talking cow WWW= https://www.doof.me.uk/xcowsay/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext gmake gnome pkgconfig USE_CSTD= c99 -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GNU_CONFIGURE= yes OPTIONS_DEFINE= DBUS DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib DBUS_CONFIGURE_ENABLE= dbus DBUS_CFLAGS= -DWITH_DBUS .include diff --git a/games/xqf/Makefile b/games/xqf/Makefile index 8ecf5aa540b2..1b12aed5ee5b 100644 --- a/games/xqf/Makefile +++ b/games/xqf/Makefile @@ -1,40 +1,40 @@ PORTNAME= xqf PORTVERSION= 1.0.6.2 PORTREVISION= 3 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= Server browser for many popular 3D action games WWW= http://www.linuxgames.com/xqf/ RUN_DEPENDS= qstat:games/qstat USES= autoreconf gettext gmake gnome pkgconfig xorg -USE_GNOME= intlhack gdkpixbuf2 gdkpixbuf2xlib +USE_GNOME= intlhack gdkpixbuf gdkpixbufxlib USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_GITHUB= yes GH_ACCOUNT= XQF CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lX11 PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= GTK2 BZIP2 DOCS OPTIONS_DEFAULT=GTK2 BZIP2 GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_ENABLE= gtk2 BZIP2_CONFIGURE_ENABLE= bzip2 post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/xqfdocs.html ${STAGEDIR}${DOCSDIR} .include diff --git a/games/zdoom/Makefile b/games/zdoom/Makefile index 70e89df2c84e..b9fc82b294ff 100644 --- a/games/zdoom/Makefile +++ b/games/zdoom/Makefile @@ -1,60 +1,60 @@ PORTNAME= zdoom PORTVERSION= 2.8.1 PORTREVISION= 11 CATEGORIES= games MAINTAINER= kevans@FreeBSD.org COMMENT= Source port for Doom-engine games WWW= https://www.zdoom.org/ LICENSE= DOOM LICENSE_NAME= Limited Use Software License Agreement LICENSE_FILE= ${WRKSRC}/docs/doomlic.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libsndfile.so:audio/libsndfile USE_GITHUB= yes GH_ACCOUNT= rheit PORTSCOUT= limit:^.+\.[1-9]{1,3}[1-8]?$$ DATADIR= ${DMDIR}/${PORTNAME} USES= cmake dos2unix gettext gnome jpeg openal pkgconfig sdl DOS2UNIX_FILES= src/p_spec.cpp -USE_GNOME= atk cairo gdkpixbuf2 gtk20 pango +USE_GNOME= atk cairo gdkpixbuf gtk20 pango USE_SDL= sdl2 CMAKE_ARGS= -DNO_FMOD:BOOL=ON CXXFLAGS+= -DSHARE_DIR=\\\"${DATADIR}\\\" DESKTOP_ENTRIES= "ZDoom" "" "${PORTNAME}" "${PORTNAME}" "Game;Shooter;" "" PLIST_FILES= bin/${PORTNAME} \ ${DATADIR}/${PORTNAME}.pk3 \ share/pixmaps/${PORTNAME}.xpm OPTIONS_DEFINE= FLUIDSYNTH OPTIONS_DEFAULT=FLUIDSYNTH FLUIDSYNTH_DESC= FluidSynth sound library support FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_CMAKE_BOOL= WITH_FLUIDSYNTH .include "${.CURDIR}/../doom-data/Makefile.include" .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DNO_ASM:BOOL=ON .endif do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${CONFIGURE_WRKSRC}/${PORTNAME}.pk3 ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/graphics/ImageMagick6/Makefile b/graphics/ImageMagick6/Makefile index 4695aca233a8..2b822aa8c9a3 100644 --- a/graphics/ImageMagick6/Makefile +++ b/graphics/ImageMagick6/Makefile @@ -1,343 +1,343 @@ PORTNAME= ImageMagick DISTVERSION= 6.9.12-77 PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 6 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools (legacy version) WWW= https://legacy.imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 6-nox11 PORTSCOUT?= limit:^6\.9\. # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= compiler:c++11-lang cpe gettext-runtime gmake gnome \ libtool:keepla localbase pathfix perl5 pkgconfig:both \ shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --without-flif \ --without-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= coder.xml colors.xml delegates.xml log.xml magic.xml mime.xml \ policy.xml quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB HEIF JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TESTS TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI RAW OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES PDF PERL PNG \ TIFF WEBP WMF THREADS RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support TESTS_DESC= Run bundled self-tests after build #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFMPEG_DESC= Video CODEC support from FFmpeg FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg -SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 +SVG_USE= gnome=cairo,gdkpixbuf,librsvg2 TESTS_TEST_DEPENDS= gsfonts>=0:print/gsfonts TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/Magick++/lib/ImageMagick++.pc.in \ ${WRKSRC}/magick/ImageMagick.pc.in \ ${WRKSRC}/magick/MagickCore-config.in \ ${WRKSRC}/magick/MagickCore.pc.in \ ${WRKSRC}/wand/Wand.pc.in \ ${WRKSRC}/wand/MagickWand-config.in \ ${WRKSRC}/wand/MagickWand.pc.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i}.sample .endfor do-test: -cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} limits -m 20m ${MAKE} ${_MAKE_JOBS} check .include diff --git a/graphics/ImageMagick7/Makefile b/graphics/ImageMagick7/Makefile index b6f5b9ceaef8..8fa7e997af83 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -1,341 +1,341 @@ PORTNAME= ImageMagick DISTVERSION= 7.1.1-26 PORTREVISION= 6 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 7 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools WWW= https://imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl \ libzstd.so:archivers/zstd \ libzip.so:archivers/libzip TEST_DEPENDS= gsfonts>=0:print/gsfonts FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 7-nox11 # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= cpe gettext-runtime gmake gnome libtool:keepla localbase \ pathfix perl5 pkgconfig:both shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --with-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= colors.xml delegates.xml log.xml mime.xml policy.xml \ quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} TEST_TARGET= check OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FLIF FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI HEIF RAW OPTIONS_DEFAULT=16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES OPENEXR PDF PERL PNG \ TIFF WEBP WMF THREADS HDRI RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support FFMPEG_DESC= VIDEO codec support as FFmpeg FLIF_DESC= Free Lossless Image Format support #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FLIF_CONFIGURE_WITH= flif FLIF_LIB_DEPENDS= libflif.so:graphics/flif # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JXL_CONFIGURE_WITH= jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg -SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 +SVG_USE= gnome=cairo,gdkpixbuf,librsvg2 TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/MagickCore/MagickCore-config.in \ ${WRKSRC}/MagickCore/MagickCore.pc.in \ ${WRKSRC}/MagickCore/ImageMagick.pc.in \ ${WRKSRC}/MagickWand/MagickWand-config.in \ ${WRKSRC}/MagickWand/MagickWand.pc.in @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR/d' ${WRKSRC}/MagickWand/MagickWand-config.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i}.sample .endfor .include diff --git a/graphics/akira/Makefile b/graphics/akira/Makefile index 17b035b6fde8..c99a1915882e 100644 --- a/graphics/akira/Makefile +++ b/graphics/akira/Makefile @@ -1,36 +1,36 @@ PORTNAME= ${GH_PROJECT:tl} PORTVERSION= 0.0.16 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Graphical UI/UX design tool WWW= http://akiraux.org/ LICENSE= GPLv3+ LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libgoocanvas-3.0.so:graphics/goocanvas3 \ libgranite.so:x11-toolkits/granite \ libjson-glib-1.0.so:devel/json-glib USES= desktop-file-utils gettext gnome libarchive meson pkgconfig \ python:build shared-mime-info shebangfix vala:build -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_GITHUB= yes GH_ACCOUNT= akiraux GH_PROJECT= Akira GLIB_SCHEMAS= com.github.akiraux.akira.gschema.xml SHEBANG_FILES= build-aux/meson/post_install.py post-patch: @${REINPLACE_CMD} -e 's,The Linux,The UI/UX,' ${WRKSRC}/po/*.po \ ${WRKSRC}/data/com.github.akiraux.akira.appdata.xml.in.in \ ${WRKSRC}/data/com.github.akiraux.akira.desktop.in.in \ ${WRKSRC}/README.md ${WRKSRC}/src/Dialogs/SettingsDialog.vala post-install: ${LN} -sf com.github.akiraux.akira ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/graphics/birdfont/Makefile b/graphics/birdfont/Makefile index e8c3f95f9492..63d5c942b0f3 100644 --- a/graphics/birdfont/Makefile +++ b/graphics/birdfont/Makefile @@ -1,53 +1,53 @@ PORTNAME= birdfont DISTVERSION= 2.33.4 PORTREVISION= 3 CATEGORIES= graphics x11-fonts MASTER_SITES= https://birdfont.org/releases/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Font editor for creating fonts in TTF, EOT, SVG and BIRDFONT format WWW= https://birdfont.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/GPLv3.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}doit>0:devel/py-doit@${PY_FLAVOR} LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgee-0.8.so:devel/libgee \ libharfbuzz.so:print/harfbuzz \ libnotify.so:devel/libnotify \ libsoup-3.0.so:devel/libsoup3 \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41 \ libxmlbird.so:textproc/libxmlbird USES= gettext-tools gnome pkgconfig python:build shared-mime-info \ shebangfix sqlite:3 tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_LDCONFIG= yes SHEBANG_FILES= configure install.py HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" \ --cflags="${CFLAGS}" \ --dest="${STAGEDIR}" \ --ldflags="${LDFLAGS}" \ --prefix="${PREFIX}" LDFLAGS_powerpc= -lm _STRIPPABLE= bin/birdfont bin/birdfont-autotrace bin/birdfont-export \ bin/birdfont-import lib/libbirdfont.so.36.0 \ lib/libbirdgems.so.0.0 do-build: (cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${PYTHON_CMD} build.py) do-install: (cd ${WRKSRC} && ./install.py \ --dest="${STAGEDIR}" \ --nogzip=1 \ --manpages-directory="/share/man/man1") @(cd ${STAGEDIR}${PREFIX} && \ ${STRIP_CMD} ${_STRIPPABLE}) .include diff --git a/graphics/chafa/Makefile b/graphics/chafa/Makefile index fc9e9d8461c4..79ec01b884db 100644 --- a/graphics/chafa/Makefile +++ b/graphics/chafa/Makefile @@ -1,37 +1,37 @@ PORTNAME= chafa DISTVERSION= 1.14.5 CATEGORIES= graphics MASTER_SITES= https://hpjansson.org/chafa/releases/ \ https://github.com/hpjansson/chafa/releases/download/${PORTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Character art facsimile generator WWW= https://hpjansson.org/chafa/ LICENSE= GPLv3 LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libavif.so:graphics/libavif \ libfreetype.so:print/freetype2 \ libjxl_threads.so:graphics/libjxl \ libtiff.so:graphics/tiff \ libwebpdemux.so:graphics/webp USES= cpe gettext-runtime gnome jpeg libtool magick:7 tar:xz CPE_VENDOR= chafa_project -USE_GNOME= cairo gdkpixbuf2 glib20 librsvg2 +USE_GNOME= cairo gdkpixbuf glib20 librsvg2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}/html INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-install: ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/graphics/clutter-gtk3/Makefile b/graphics/clutter-gtk3/Makefile index c1b68cf454e2..894e186fed50 100644 --- a/graphics/clutter-gtk3/Makefile +++ b/graphics/clutter-gtk3/Makefile @@ -1,25 +1,25 @@ PORTNAME= clutter-gtk PORTVERSION= 1.8.4 PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= GNOME PKGNAMESUFFIX= 3 MAINTAINER= gnome@FreeBSD.org COMMENT= GTK Integration library for Clutter WWW= https://blogs.gnome.org/clutter/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcogl.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter \ libjson-glib-1.0.so:devel/json-glib USES= gettext gl gnome localbase meson pkgconfig tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr USE_GL= egl USE_LDCONFIG= yes .include diff --git a/graphics/clutter/Makefile b/graphics/clutter/Makefile index 8ace9a78ea9d..639be0c073a9 100644 --- a/graphics/clutter/Makefile +++ b/graphics/clutter/Makefile @@ -1,44 +1,44 @@ PORTNAME= clutter DISTVERSION= 1.26.4 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= OpenGL based interactive canvas library WWW= https://clutter-project.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libcogl.so:graphics/cogl \ libharfbuzz.so:print/harfbuzz \ libxkbcommon.so:x11/libxkbcommon \ libwayland-client.so:graphics/wayland \ libgudev-1.0.so:devel/libgudev \ libinput.so:x11/libinput PORTSCOUT= limit:1,even USES= cpe gettext gl gmake gnome libtool localbase pathfix pkgconfig \ tar:xz xorg -USE_GNOME= atk cairo gdkpixbuf2 pango introspection:build gtk30 +USE_GNOME= atk cairo gdkpixbuf pango introspection:build gtk30 USE_GL= egl USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --with-x --enable-conformance=no \ --enable-evdev-input \ --enable-egl-backend=yes \ --enable-x11-backend=yes \ --enable-gdk-backend=yes \ --enable-wayland-backend=yes \ --enable-wayland-compositor=no INSTALL_TARGET= install-strip CPE_VENDOR= clutter_project .include diff --git a/graphics/cogl/Makefile b/graphics/cogl/Makefile index ab6c24a3d48e..ba925ff3dada 100644 --- a/graphics/cogl/Makefile +++ b/graphics/cogl/Makefile @@ -1,31 +1,31 @@ PORTNAME= cogl PORTVERSION= 1.22.8 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Clutter OpenGL abstraction library WWW= https://clutter-project.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= clutter-1.6.[0-9]* USES= gettext gl gmake gnome libtool localbase pathfix pkgconfig \ tar:xz xorg GNU_CONFIGURE= yes -USE_GNOME= cairo gdkpixbuf2 pango introspection:build +USE_GNOME= cairo gdkpixbuf pango introspection:build USE_GL= egl gbm USE_XORG= x11 xcomposite xext xdamage xfixes xrandr USE_LDCONFIG= yes CONFIGURE_ARGS= --with-x \ --enable-kms-egl-platform=yes \ --enable-wayland-egl-platform=yes \ --enable-xlib-egl-platform=yes INSTALL_TARGET= install-strip PLIST_SUB= LIBVER=20 LIBVERSION=20.4.3 .include diff --git a/graphics/elementary-photos/Makefile b/graphics/elementary-photos/Makefile index 33177b3e5757..0df48eb20ebf 100644 --- a/graphics/elementary-photos/Makefile +++ b/graphics/elementary-photos/Makefile @@ -1,36 +1,36 @@ PORTNAME= photos DISTVERSION= 8.0.1 CATEGORIES= graphics PKGNAMEPREFIX= elementary- MAINTAINER= miguel@gocobachi.dev COMMENT= Photo viewer and organizer designed for elementary OS WWW= https://github.com/elementary/photos LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexif.so:graphics/libexif \ libgee-0.8.so:devel/libgee \ libgeocode-glib-2.so:net/geocode-glib2 \ libgexiv2.so:graphics/gexiv2 \ libgphoto2.so:graphics/libgphoto2 \ libgphoto2_port.so:graphics/libgphoto2 \ libgranite.so:x11-toolkits/granite \ libgudev-1.0.so:devel/libgudev \ libhandy-1.so:x11-toolkits/libhandy \ libjson-glib-1.0.so:devel/json-glib \ libraw.so:graphics/libraw \ libwebp.so:graphics/webp \ libportal.so:deskutils/libportal \ libportal-gtk3.so:deskutils/libportal-gtk3 USES= compiler:c11 desktop-file-utils gettext gnome gstreamer meson \ pkgconfig sqlite:3 vala:build USE_GITHUB= yes GH_ACCOUNT= elementary -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2 GLIB_SCHEMAS= io.elementary.photos.gschema.xml USE_LDCONFIG= yes .include diff --git a/graphics/eog-plugins/Makefile b/graphics/eog-plugins/Makefile index 07892f2463d4..c7576df63bbe 100644 --- a/graphics/eog-plugins/Makefile +++ b/graphics/eog-plugins/Makefile @@ -1,45 +1,45 @@ PORTNAME= eog-plugins DISTVERSION= 44.1 CATEGORIES= graphics gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Plug-ins for the Eye of GNOME image viewer application LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= eog:graphics/eog LIB_DEPENDS= libgdata.so:devel/libgdata \ libgoa-1.0.so:net/gnome-online-accounts \ libjson-glib-1.0.so:devel/json-glib \ libexif.so:graphics/libexif \ libpeas-1.0.so:devel/libpeas \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib \ libchamplain-0.12.so:graphics/libchamplain RUN_DEPENDS= eog:graphics/eog PORTSCOUT= limitw:1,even -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 introspection libxml2 USES= gettext gnome meson pkgconfig tar:xz GLIB_SCHEMAS= org.gnome.eog.plugins.exif-display.gschema.xml OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT=PYTHON OPTIONS_SUB= yes PYTHON_MESON_ENABLE=python PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} PYTHON_USES= python PYTHON_VARS= GLIB_SCHEMAS+="org.gnome.eog.plugins.export-to-folder.gschema.xml \ org.gnome.eog.plugins.fullscreenbg.gschema.xml \ org.gnome.eog.plugins.pythonconsole.gschema.xml" PYTHON_BINARY_ALIAS= python3=${PYTHON_CMD} .include diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index 42435c9bf488..f47f9c4b35bf 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -1,95 +1,95 @@ PORTNAME= evince DISTVERSION= 46.3.1 PORTREVISION= 1 CATEGORIES= graphics print gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME multi-format document viewer WWW= https://wiki.gnome.org/Apps/Evince LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING FLAVOR?= full FLAVORS= full lite BUILD_DEPENDS= adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool LIB_DEPENDS= libfribidi.so:converters/fribidi \ libhandy-1.so:x11-toolkits/libhandy \ libpoppler-glib.so:graphics/poppler-glib \ libspectre.so:print/libspectre \ libtiff.so:graphics/tiff RUN_DEPENDS= adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas PORTSCOUT= limitw:1,even USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome gstreamer libarchive \ localbase:ldflags meson pkgconfig tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_LDCONFIG= yes USE_XORG= ice CPE_VENDOR= gnome MESON_ARGS= -Dgtk_doc=false \ -Dpdf=enabled \ -Dps=enabled \ -Dsystemduserunitdir=no \ -Dnautilus=false .if ${FLAVOR} == lite MESON_ARGS+= -Dintrospection=false \ -Dpreviewer=false \ -Dthumbnail_cache=disabled \ -Dthumbnailer=false USE_GNOME+= libxml2 OPTIONS_EXCLUDE= DBUS PLIST= ${.CURDIR}/pkg-plist-lite PKGNAMESUFFIX= -lite COMMENT+= without GNOME dependencies CONFLICTS_INSTALL= evince .else USE_GNOME+= introspection:build gnomedesktop3 MESON_ARGS+= -Dintrospection=true CONFLICTS_INSTALL= evince-lite .endif GLIB_SCHEMAS= org.gnome.Evince.gschema.xml PLIST_SUB= VERSION=3.0 OPTIONS_SUB= yes OPTIONS_DEFINE= COMICS DBUS DJVU DVI KEYRING SPELL XPS OPTIONS_DEFAULT= COMICS DBUS DJVU KEYRING SPELL XPS COMICS_DESC= Comic book archives support COMICS_MESON_ENABLED= comics DJVU_DESC= DJVU support DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_MESON_ENABLED= djvu DBUS_MESON_TRUE= dbus DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DVI_DESC= DVI viewer support DVI_USES= tex DVI_USE= TEX=kpathsea,latex DVI_MESON_ENABLED= dvi KEYRING_DESC= Keyring support KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret KEYRING_MESON_ENABLED= keyring SPELL_DESC= spell checking support SPELL_MESON_ENABLED= gspell SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell XPS_DESC= XPS support XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps XPS_MESON_ENABLED= xps .include diff --git a/graphics/flif/Makefile b/graphics/flif/Makefile index 1138529060e6..2feb2de6d08d 100644 --- a/graphics/flif/Makefile +++ b/graphics/flif/Makefile @@ -1,29 +1,29 @@ PORTNAME= flif DISTVERSIONPREFIX= v DISTVERSION= 0.4 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Free Lossless Image Format WWW= https://flif.info/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/../LICENSE_Apache2 LIB_DEPENDS= libinotify.so:devel/libinotify \ libpng.so:graphics/png USES= cmake compiler:c++11-lang cpe gettext-runtime gnome localbase:ldflags pkgconfig sdl shared-mime-info -USE_GNOME= gdkpixbuf2 glib20 +USE_GNOME= gdkpixbuf glib20 USE_SDL= sdl2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= FLIF-hub GH_PROJECT= FLIF CMAKE_OFF= BUILD_STATIC_LIBS WRKSRC_SUBDIR= src .include diff --git a/graphics/fotocx/Makefile b/graphics/fotocx/Makefile index 135cb66310ae..636177a830af 100644 --- a/graphics/fotocx/Makefile +++ b/graphics/fotocx/Makefile @@ -1,38 +1,38 @@ PORTNAME= fotocx PORTVERSION= 24.70 CATEGORIES= graphics MASTER_SITES= https://kornelix.net/downloads/downloads/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= danfe@FreeBSD.org COMMENT= Image editing and collection management program WWW= https://kornelix.net/fotocx/fotocx.html LICENSE= GPLv3+ LIB_DEPENDS= libchamplain-gtk-0.12.so:graphics/libchamplain \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= xdg-open:devel/xdg-utils \ exiftool:graphics/p5-Image-ExifTool \ ufraw-batch:graphics/ufraw USES= desktop-file-utils gmake gnome jpeg pkgconfig -USE_GNOME= cairo glib20 gdkpixbuf2 gtk30 +USE_GNOME= cairo glib20 gdkpixbuf gtk30 ALL_TARGET= ${PORTNAME} CXXFLAGS+= -Wno-register -Wno-writable-strings WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/Uninstall/d' ${WRKSRC}/f.widgets.cc post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/graphics/gcolor3/Makefile b/graphics/gcolor3/Makefile index 970c416c31d1..8427785c7cc5 100644 --- a/graphics/gcolor3/Makefile +++ b/graphics/gcolor3/Makefile @@ -1,28 +1,28 @@ PORTNAME= gcolor3 DISTVERSIONPREFIX= v DISTVERSION= 2.4.0 PORTREVISION= 4 CATEGORIES= graphics PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= 1750369a3fd9.patch:-p1 # https://gitlab.gnome.org/World/gcolor3/-/merge_requests/151 MAINTAINER= ports@FreeBSD.org COMMENT= Colour picker is a simple color chooser WWW= https://www.hjdskes.nl/projects/gcolor3/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libportal.so:deskutils/libportal \ libportal-gtk3.so:deskutils/libportal-gtk3 USES= gnome gettext meson pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool MESON_ARGS= -Dwerror=false .include diff --git a/graphics/gdk-pixbuf2-xlib/Makefile b/graphics/gdk-pixbuf2-xlib/Makefile index 69646486b3e1..a16531e3e4aa 100644 --- a/graphics/gdk-pixbuf2-xlib/Makefile +++ b/graphics/gdk-pixbuf2-xlib/Makefile @@ -1,26 +1,26 @@ PORTNAME= gdk-pixbuf-xlib PORTVERSION= 2.40.2 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= deprecated API for integrating Xlib and GdkPixbuf WWW= https://developer.gnome.org/gdk-pixbuf/ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl USES= cpe gettext gnome localbase:ldflags meson pkgconfig \ python:build shared-mime-info tar:xz xorg CPE_VENDOR= gnome -USE_GNOME= glib20 introspection:build libxslt:build gdkpixbuf2 +USE_GNOME= glib20 introspection:build libxslt:build gdkpixbuf USE_XORG= x11 USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_VERSION} .include diff --git a/graphics/geeqie/Makefile b/graphics/geeqie/Makefile index 08692c88bee4..95d960fa8cdd 100644 --- a/graphics/geeqie/Makefile +++ b/graphics/geeqie/Makefile @@ -1,94 +1,94 @@ PORTNAME= geeqie DISTVERSIONPREFIX= v DISTVERSION= 2.4 PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Lightweight image viewer forked from GQview WWW= https://www.geeqie.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= bash:shells/bash BUILD_DEPENDS= xxd:sysutils/xxd TEST_DEPENDS= appstreamcli:devel/appstream USES= desktop-file-utils gettext-tools gnome jpeg \ lua:53 meson pkgconfig shebangfix -USE_GNOME= cairo gdkpixbuf2 gtk30 glib20 +USE_GNOME= cairo gdkpixbuf gtk30 glib20 USE_GITHUB= yes GH_ACCOUNT= BestImageViewer SHEBANG_FILES= plugins/*/geeqie-* \ plugins/resize-image/downsize CFLAGS+= -Wno-deprecated-declarations MESON_ARGS= -Ddoxygen=disabled MESON_ARGS+= -Dpandoc=disabled MESON_ARGS+= -Devince=disabled MESON_ARGS+= -Dgit=disabled PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= EXIV2 LCMS MAP FFMPEGTHUMBNAILER ARCHIVE SPELL DOCS NLS OPTIONS_DEFAULT=EXIV2 LCMS MAP FFMPEGTHUMBNAILER ARCHIVE SPELL \ TIFF PDF HEIF DJVU OPENJPEG RAW JXL WEBP OPTIONS_GROUP= FORMATS OPTIONS_GROUP_FORMATS= TIFF PDF HEIF DJVU OPENJPEG RAW JXL WEBP OPTIONS_SUB= yes FORMATS_DESC= Image formats support EXIV2_DESC= Metadata editing EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 EXIV2_MESON_ENABLED= exiv2 LCMS_DESC= Color adjusting LCMS_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS_MESON_ENABLED= cms MAP_DESC= GPS map support via libchamplain MAP_LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-1.0.so:graphics/clutter MAP_MESON_ENABLED= gps-map TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= tiff PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_MESON_ENABLED= pdf FFMPEGTHUMBNAILER_DESC= Video file thumbnails generating support FFMPEGTHUMBNAILER_MESON_ENABLED= videothumbnailer FFMPEGTHUMBNAILER_LIB_DEPENDS= libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer HEIF_MESON_ENABLED= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif DJVU_MESON_ENABLED= djvu DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre OPENJPEG_MESON_ENABLED= j2k OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg RAW_MESON_ENABLED= libraw RAW_LIB_DEPENDS= libraw.so:graphics/libraw ARCHIVE_MESON_ENABLED= archive ARCHIVE_USES= libarchive JXL_MESON_ENABLED= jpegxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl WEBP_MESON_ENABLED= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp SPELL_DESC= Spelling check through gspell SPELL_MESON_ENABLED= spell SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell DOCS_BUILD_DEPENDS= yelp-build:textproc/yelp-tools .include diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile index 89f177b8a4c5..4fba3fe19cb5 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -1,148 +1,148 @@ PORTNAME= gegl DISTVERSION= 0.4.52 CATEGORIES= graphics MASTER_SITES= GIMP MAINTAINER= gnome@FreeBSD.org COMMENT= Graph based image processing framework WWW= https://gegl.org/ LICENSE= BSD3CLAUSE GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libjson-glib-1.0.so:devel/json-glib \ libnsgif.so:graphics/libnsgif \ libpng.so:graphics/png USES= cpe gettext gnome jpeg localbase:ldflags meson pkgconfig shebangfix \ uniquefiles tar:xz .if exists(/usr/include/omp.h) USES+= compiler:c++14-lang .else USES+= compiler:gcc-c++11-lib .endif USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes SHEBANG_FILES= tools/xml_insert.sh MESON_ARGS= -Ddocs=false \ -Dgi-docgen=disabled \ -Dworkshop=false \ -Dintrospection=true \ -Dlensfun=disabled \ -Dlibjpeg=enabled \ -Dlibpng=enabled \ -Dmaxflow=disabled \ -Dmrg=disabled \ -Dpygobject=disabled \ -Dlua=disabled \ ${MESON_ARGS_${ARCH}} MESON_ARGS_armv6= -Dopenmp=disabled MESON_ARGS_armv7= -Dopenmp=disabled GEGL_SHLIB= 0.451.1 GEGL_VER= 0.4 PLIST_SUB+= GEGL_SHLIB=${GEGL_SHLIB} GEGL_VER=${GEGL_VER} OPTIONS_DEFINE= CAIRO ENSCRIPT FFMPEG GEXIV2 GRAPHVIZ JASPER LCMS2 LIBRSVG2 \ OPENEXR PANGO PIXBUF POPPLER RAW SDL SPIRO TIFF UMFPACK V4L \ VAPI WEBP OPTIONS_DEFAULT= CAIRO ENSCRIPT FFMPEG GEXIV2 GRAPHVIZ JASPER LCMS2 LIBRSVG2 \ OPENEXR PANGO PIXBUF POPPLER RAW SDL SPIRO TIFF UMFPACK V4L \ VAPI WEBP OPTIONS_EXCLUDE_i386= GEXIV2 OPTIONS_SUB= yes ENSCRIPT_DESC= Enscript support GEXIV2_DESC= EXIF and IPTC metadata support via gexiv2 SPIRO_DESC= Spiro support UMFPACK_DESC= UMFpack support CAIRO_USE= GNOME=cairo CAIRO_MESON_ENABLED= cairo ENSCRIPT_BUILD_DEPENDS= enscript:print/enscript-a4 FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FFMPEG_MESON_ENABLED= libav GEXIV2_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 GEXIV2_MESON_ENABLED= gexiv2 GRAPHVIZ_BUILD_DEPENDS= dot:graphics/graphviz GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz GRAPHVIZ_MESON_ENABLED= graphviz JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_MESON_ENABLED= jasper LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms LIBRSVG2_IMPLIES= CAIRO LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= librsvg OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_MESON_ENABLED= openexr PANGO_IMPLIES= CAIRO PANGO_USE= GNOME=pango PANGO_MESON_ENABLED= pango pangocairo -PIXBUF_USE= GNOME=gdkpixbuf2 +PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_MESON_ENABLED= gdk-pixbuf POPPLER_IMPLIES= CAIRO POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_MESON_ENABLED= poppler RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_ENABLED= libraw SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_ENABLED= sdl2 SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_MESON_ENABLED= libspiro TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff UMFPACK_LIB_DEPENDS= libumfpack.so:math/suitesparse-umfpack UMFPACK_MESON_ENABLED= umfpack V4L_BUILD_DEPENDS= libv4l>0:multimedia/libv4l \ v4l_compat>=0:multimedia/v4l_compat V4L_RUN_DEPENDS= libv4l>0:multimedia/libv4l V4L_MESON_ENABLED= libv4l libv4l2 V4L_VARS= LICENSE+=LGPL20+ VAPI_USES= vala:build VAPI_MESON_ENABLED= vapigen WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp .include .if defined(WITH_DEBUG) LDFLAGS+= -lexecinfo .endif .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" ARM="@comment " .elif ${ARCH} == "armv6" || ${ARCH} == "armv7" PLIST_SUB+= AMD64="@comment " ARM="" .else PLIST_SUB+= AMD64="@comment " ARM="@comment " .endif .include diff --git a/graphics/gimp-beautify-plugin/Makefile b/graphics/gimp-beautify-plugin/Makefile index d5eeb94e13fa..adcc86e1a120 100644 --- a/graphics/gimp-beautify-plugin/Makefile +++ b/graphics/gimp-beautify-plugin/Makefile @@ -1,54 +1,54 @@ PORTNAME= beautify PORTVERSION= 2012.08.12.00 PORTREVISION= 11 CATEGORIES= graphics PKGNAMEPREFIX= gimp- PKGNAMESUFFIX= -plugin MAINTAINER= ports@FreeBSD.org COMMENT= GIMP plug-ins to both quickly and easily beautify photo WWW= https://github.com/hejiann/beautify LICENSE= GPLv3+ BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:x11-fonts/fontconfig \ ${LOCALBASE}/libdata/pkgconfig/freetype2.pc:print/freetype2 \ ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:graphics/gimp-app RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:x11-fonts/fontconfig \ ${LOCALBASE}/libdata/pkgconfig/freetype2.pc:print/freetype2 \ ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:graphics/gimp-app USE_GITHUB= yes GH_ACCOUNT= hejiann GH_TAGNAME= e209c8d USES= gettext gmake gnome pkgconfig xorg USE_GCC= yes -USE_GNOME= atk cairo gdkpixbuf2 gtk20 +USE_GNOME= atk cairo gdkpixbuf gtk20 USE_XORG= x11 xcomposite xcursor xdamage xext xfixes xi xinerama xrandr xrender TMPDIR= ${WRKDIR} PLUGIN_DIR?= libexec/gimp/2.2/plug-ins PLUGINS= beautify \ border \ simple-border \ skin-whitening # installed files .for plugin in ${PLUGINS} PLIST_FILES+= ${PLUGIN_DIR}/${plugin} .endfor post-patch: @${REINPLACE_CMD} \ -e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \ -e 's|gdk-pixbuf-csource|${LOCALBASE}/bin/gdk-pixbuf-csource|' \ ${WRKSRC}/Makefile do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} .for plugin in ${PLUGINS} ${INSTALL_PROGRAM} ${WRKSRC}/${plugin} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} .endfor .include diff --git a/graphics/gimp-lensfun-plugin/Makefile b/graphics/gimp-lensfun-plugin/Makefile index f49759bd0d6c..e62941c2b94b 100644 --- a/graphics/gimp-lensfun-plugin/Makefile +++ b/graphics/gimp-lensfun-plugin/Makefile @@ -1,58 +1,58 @@ PORTNAME= lensfun DISTVERSION= 0.2.5-dev PORTREVISION= 1 CATEGORIES= graphics PKGNAMEPREFIX= gimp- PKGNAMESUFFIX= -plugin MAINTAINER= fluffy@FreeBSD.org COMMENT= Gimp plugin to correct lens distortion using the lensfun library WWW= https://seebk.github.io/GIMP-Lensfun/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/exiv2.pc:graphics/exiv2 \ ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:graphics/gimp-app \ ${LOCALBASE}/libdata/pkgconfig/lensfun.pc:graphics/lensfun LIB_DEPENDS+= libatk-1.0.so:accessibility/at-spi2-core \ libbabl-0.1.so:x11/babl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgegl-0.4.so:graphics/gegl \ libgegl-npd-0.4.so:graphics/gegl \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib RUN_DEPENDS:= ${BUILD_DEPENDS} USES= compiler:c++11-lang gettext-runtime gmake gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= seebk GH_PROJECT= GIMP-Lensfun GH_TAGNAME= c5eaf97 -USE_GNOME+= cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME+= cairo gdkpixbuf glib20 gtk20 pango PLUGIN_DIR?= libexec/gimp/2.2/plug-ins PLUGINS= gimp-lensfun # installed files .for plugin in ${PLUGINS} PLIST_FILES+= ${PLUGIN_DIR}/${plugin} .endfor post-patch: @${REINPLACE_CMD} \ -e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \ ${WRKSRC}/Makefile do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} .for plugin in ${PLUGINS} ${INSTALL_PROGRAM} ${WRKSRC}/${plugin} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} .endfor .include diff --git a/graphics/gimp-refocus-plugin/Makefile b/graphics/gimp-refocus-plugin/Makefile index 729e252fb49a..d427f2bf2de8 100644 --- a/graphics/gimp-refocus-plugin/Makefile +++ b/graphics/gimp-refocus-plugin/Makefile @@ -1,58 +1,58 @@ PORTNAME= refocus PORTVERSION= 0.9.0 PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= SF PKGNAMEPREFIX= gimp- PKGNAMESUFFIX= -plugin MAINTAINER= ports@FreeBSD.org COMMENT= GIMP plugin to "refocus" images through FIR Wiener filtering WWW= https://refocus.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= autoreconf compiler:c++11-lang gettext gmake gnome pathfix \ pkgconfig GNU_CONFIGURE= yes CONFIGURE_ENV= GIMPTOOL=${LOCALBASE}/bin/gimptool-2.0 -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango GIMP_PLUGIN_DIR= libexec/gimp/2.2/plug-ins PLIST_FILES= ${GIMP_PLUGIN_DIR}/${PORTNAME} PORTDOCS= * OPTIONS_DEFINE= ATLAS DOCS OPTIMIZED_CFLAGS OPTIONS_DEFAULT= OPTIMIZED_CFLAGS ATLAS_DESC= Build with optimized math/atlas instead of builtin ATLAS_USES= blaslapack:atlas fortran ATLAS_BUILD_DEPENDS= f2c>0:lang/f2c ATLAS_CONFIGURE_ON= --with-lapack-libs="${LAPACKLIB} ${BLASLIB}" \ --with-lapack-includes="-I${LOCALBASE}/include" OPTIMIZED_CFLAGS_CFLAGS= -O3 post-patch: @${FIND} ${WRKSRC} -name Makefile.am \ -exec ${REINPLACE_CMD} -e "s|; make|; ${MAKE_CMD}|" {} \; @${REINPLACE_CMD} -e "s|%%WRKSRC%%|${WRKSRC}|" \ ${WRKSRC}/configure.in do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${GIMP_PLUGIN_DIR}/ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ ${STAGEDIR}${PREFIX}/${GIMP_PLUGIN_DIR}/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/gmic-qt/Makefile b/graphics/gmic-qt/Makefile index 3c867b307af9..114b25aa2a1d 100644 --- a/graphics/gmic-qt/Makefile +++ b/graphics/gmic-qt/Makefile @@ -1,60 +1,60 @@ PORTNAME= gmic-qt DISTVERSIONPREFIX= v. DISTVERSION= 3.5.3 PORTEPOCH= 1 CATEGORIES= graphics kde MASTER_SITES= https://github.com/GreycLab/gmic/releases/download/${DISTVERSIONFULL}/ \ https://gmic.eu/files/source/ DISTNAME= gmic_${DISTVERSION} DIST_SUBDIR= KDE/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Versatile Qt front-end to G'MIC WWW= https://gmic.eu LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash \ gmake:devel/gmake LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libpng16.so:graphics/png FLAVORS= none gimp # reflect the value of GMIC_QT_HOST for simplicity FLAVOR?= ${FLAVORS:[1]} gimp_PKGNAMESUFFIX= -gimp USES= cmake compiler:c++17-lang gl pkgconfig qt:6 shebangfix xorg USE_GL= opengl USE_QT= base tools:build USE_XORG= ice sm x11 xext SHEBANG_FILES= translations/lrelease.sh \ translations/filters/csv2ts.sh \ translations/filters/ts2csv.sh CMAKE_ARGS= -DGMIC_QT_HOST:STRING="${FLAVOR}" CMAKE_ON= BUILD_WITH_QT6 CMAKE_OFF= ENABLE_SYSTEM_GMIC PORTSCOUT= limit:[0-9]\..* WRKSRC= ${WRKDIR}/${DISTNAME:S|_|-|} WRKSRC_SUBDIR= ${PORTNAME} .if ${FLAVOR} == gimp LIB_DEPENDS+= libbabl-0.1.so:x11/babl \ libgegl-0.4.so:graphics/gegl \ libgimp-2.0.so:graphics/gimp-app \ libjson-glib-1.0.so:devel/json-glib USES+= gettext-runtime gnome -USE_GNOME= cairo gdkpixbuf2 glib20 +USE_GNOME= cairo gdkpixbuf glib20 PLUGINS_DIR= libexec/gimp/2.2/plug-ins/gmic_gimp_qt .else PLUGINS_DIR= bin .endif PLIST_FILES= ${PLUGINS_DIR}/gmic_${FLAVOR:S|$|_|:S|none_||}qt .include diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile index 5461beafb92b..3ed95d376eef 100644 --- a/graphics/gnash/Makefile +++ b/graphics/gnash/Makefile @@ -1,164 +1,164 @@ PORTNAME= gnash PORTVERSION= 0.8.10 PORTREVISION= 68 CATEGORIES= graphics multimedia MASTER_SITES= http://git.savannah.gnu.org/cgit/gnash.git/snapshot/ DISTNAME= gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880 MAINTAINER= dinoex@FreeBSD.org COMMENT= GNU Flash movie player WWW= https://www.gnu.org/software/gnash/ LICENSE= GPLv3 LIB_DEPENDS= libltdl.so:devel/libltdl \ libnspr4.so:devel/nspr \ libgif.so:graphics/giflib \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp \ libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libavcodec.so.58:multimedia/ffmpeg4 \ libtheora.so:multimedia/libtheora \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libdca.so:multimedia/libdca \ libgsm.so:audio/gsm \ libdc1394.so:multimedia/libdc1394 CONFLICTS= gnash-devel USES= cpe tar:bzip2 compiler:c++11-lang autoreconf gmake libtool \ pkgconfig jpeg gnome gl sdl desktop-file-utils xorg localbase:ldflags CPE_VENDOR= gnu USE_CSTD= gnu11 USE_CXXSTD= c++11 USE_XORG= x11 xau xdmcp xext xi xinerama ice sm xv -USE_GNOME= atk gdkpixbuf2 gtk20 libxml2 pango +USE_GNOME= atk gdkpixbuf gtk20 libxml2 pango USE_GL= egl USE_SDL= sdl GNU_CONFIGURE= yes SYSCONFIGDIR= ${PREFIX}/etc # jemalloc leads to infinite recursion on FreeBSD CFLAGS+= -I${LOCALBASE}/ffmpeg4/include CPPFLAGS+= -I${LOCALBASE}/ffmpeg4/include LDFLAGS+= -L${LOCALBASE}/ffmpeg4/lib CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \ --with-boost-lib="${LOCALBASE}/lib" \ --with-plugins-install=prefix \ --sysconfdir="${SYSCONFIGDIR}" \ --enable-gui=gtk \ --enable-media=ffmpeg \ --with-ffmpeg-incl="${LOCALBASE}/ffmpeg4/include/libavcodec" \ --with-ffmpeg-lib=${LOCALBASE}/ffmpeg4/lib \ --disable-testsuite \ --disable-kparts3 \ --disable-jemalloc \ --without-gconf GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share #MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/ffmpeg" GNASHVER= 0.8.11dev CONFIG_FILES= gnashpluginrc gnashrc WRKSRC= ${WRKDIR}/${DISTNAME} PLIST_SUB+= GNASHVER="${GNASHVER}" USE_LDCONFIG= ${PREFIX}/lib/gnash OPTIONS_DEFINE= CYGNAL VAAPI DOCS NLS OPTIONS_SINGLE= MEDIA RENDERER OPTIONS_SINGLE_RENDERER=AGG OPENGL CAIRO OPTIONS_DEFAULT=AGG VAAPI NO_OPTIONS_SORT=yes OPTIONS_SUB= yes CYGNAL_DESC= Cygnal media server AGG_DESC= AGG renderer OPENGL_DESC= OpenGL renderer (experimental) CAIRO_DESC= Cairo renderer VAAPI_DESC= VAAPI support CYGNAL_CONFIGURE_ENABLE= cygnal VAAPI_CPPFLAGS= -I../libdevice/vaapi .include # Cygnal option processing .if ${PORT_OPTIONS:MCYGNAL} CONFIG_FILES+= cygnalrc .endif # NLS option processing (not sure if --disable-nls actually has any effect) .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif CONFIGURE_ARGS+= --disable-npapi --disable-kparts4 # # Renderer options processing # GNASH_RENDERERS= .if ${PORT_OPTIONS:MAGG} LIB_DEPENDS+= libagg.so:graphics/agg GNASH_RENDERERS+= agg .endif .if ${PORT_OPTIONS:MOPENGL} IGNORE= support for OpenGL is currently broken, use option AGG GNASH_RENDERERS+= ogl LIB_DEPENDS+= libgdkglext-x11-1.0.so:x11-toolkits/gtkglext .endif .if ${PORT_OPTIONS:MCAIRO} LIB_DEPENDS+= libcairo.so:graphics/cairo GNASH_RENDERERS+= cairo .endif .if ${GNASH_RENDERERS} == "" IGNORE= needs at least one renderer enabled. Please rerun 'make config' and enable AGG, OPENGL or CAIRO .endif CONFIGURE_ARGS+= --enable-renderer=${GNASH_RENDERERS:S/^ //W:S/ /,/gW} # # Hardware acceleration options processing # .if ${PORT_OPTIONS:MVAAPI} LIB_DEPENDS+= libva.so:multimedia/libva CONFIGURE_ARGS+= --enable-device=egl,x11,vaapi .else CONFIGURE_ARGS+= --enable-hwaccel=none # XVideo CONFIGURE_ARGS+= --enable-device=egl,x11 .endif .include post-patch: ${REINPLACE_CMD} -e 's|lib64|lib|g' -e 's|lib32|lib|g' \ ${WRKSRC}/macros/libslist ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/macros/incllist ${REINPLACE_CMD} -e 's|CODEC_ID_|AV_CODEC_ID_|' \ ${WRKSRC}/libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp post-install: # eglinfo conflicts with mesa-demos ${MV} ${STAGEDIR}/${PREFIX}/bin/eglinfo ${STAGEDIR}/${PREFIX}/bin/eglinfo-gnash .for conf in ${CONFIG_FILES} ${MV} ${STAGEDIR}/${SYSCONFIGDIR}/${conf} ${STAGEDIR}${SYSCONFIGDIR}/${conf}.dist .endfor .include diff --git a/graphics/goocanvas2/Makefile b/graphics/goocanvas2/Makefile index e7333080477d..94cdfc96f567 100644 --- a/graphics/goocanvas2/Makefile +++ b/graphics/goocanvas2/Makefile @@ -1,40 +1,40 @@ PORTNAME= goocanvas PORTVERSION= 2.0.4 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= GNOME PKGNAMESUFFIX= 2 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Cairo-based canvas widget for GTK 3 WWW= https://sourceforge.net/projects/goocanvas/ LICENSE= LGPL20 USES= gmake gnome libtool pathfix pkgconfig python:build tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python=no INSTALL_TARGET= install-strip DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e 's|$${datadir}/gtk-doc/html|${DOCSDIR:H}|' \ ${WRKSRC}/configure post-patch-DOCS-off: @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in .include diff --git a/graphics/goocanvas3/Makefile b/graphics/goocanvas3/Makefile index 0df5e92391df..d3817ac09bce 100644 --- a/graphics/goocanvas3/Makefile +++ b/graphics/goocanvas3/Makefile @@ -1,38 +1,38 @@ PORTNAME= goocanvas PORTVERSION= 3.0.0 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= GNOME PKGNAMESUFFIX= 3 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Cairo-based canvas widget for GTK WWW= https://gitlab.gnome.org/GNOME/goocanvas/ LICENSE= LGPL20 USES= gmake gnome libtool pkgconfig tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python=no INSTALL_TARGET= install-strip DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} -e 's|$${datadir}/gtk-doc/html|${DOCSDIR:H}|' \ ${WRKSRC}/configure post-patch-DOCS-off: @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in .include diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index fda93fecacf3..e06f81b81c67 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -1,271 +1,271 @@ PORTNAME= graphviz PORTVERSION= 12.2.1 PORTREVISION= 0 CATEGORIES= graphics tk MASTER_SITES= https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${PORTVERSION}/ MAINTAINER= dinoex@FreeBSD.org COMMENT= Graph Visualization Software from AT&T and Bell Labs WWW= https://www.graphviz.org/ LICENSE= EPL LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= tclsh${TCL_VER}:lang/tcl${_TCLTK_WANTED_VERSION} LIB_DEPENDS= libltdl.so:devel/libltdl \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libexpat.so:textproc/expat2 \ libharfbuzz.so:print/harfbuzz \ libgd.so:${GD_PORT} USES= compiler:c++11-lang cpe pathfix shebangfix gmake bison \ pkgconfig libtool:keepla autoreconf localbase:ldflags jpeg \ tcl:build GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share # sincos is broken on armv6, see ports/220591 CFLAGS_armv6= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \ -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf \ -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl CFLAGS_armv7= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \ -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf \ -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl MAKE_ENV= EXPR_COMPAT=yes CONFLICTS_INSTALL= ghmm INSTALL_TARGET= install-strip PLIST_SUB= PORTVERSION="${PORTVERSION}" SHEBANG_FILES= cmd/dot/dot_sandbox FIX_INCLUDE= lib/cdt/dthdr.h lib/pathplan/tri.h \ lib/pathplan/pathutil.h lib/pathplan/solvers.h \ lib/pathplan/vis.h lib/pathplan/vispath.h \ lib/common/globals.h lib/gvc/gvcint.h FIX_TCL_SCRIPT= tclpkg/gdtclft/demo/entities.tcl \ tclpkg/tcldot/demo/gcat.tcl FIX_TK_SCRIPT= tclpkg/tcldot/demo/doted.tcl \ tclpkg/tclpathplan/demo/pathplan.tcl OPTIONS_DEFINE= XPM DIGCOLA IPSEPCOLA ICONV NLS ANN GTS \ PANGOCAIRO POPPLER GDK GHOSTSCRIPT DEVIL \ SMYRNA GVEDIT \ PERL PHP PYTHON RUBY LUA TCL TK GUILE GO \ NVTHREADS DOCS EXAMPLES OPTIONS_DEFAULT=XPM DIGCOLA IPSEPCOLA ICONV PANGOCAIRO NVTHREADS NO_OPTIONS_SORT=yes OPTIONS_SUB= yes DIGCOLA_DESC= neato layout engine with DIGCOLA features IPSEPCOLA_DESC= neato layout engine with IPSEPCOLA features ANN_DESC= ANN edge bundling support GTS_DESC= GNU Triangulated Surface Library support PANGOCAIRO_DESC=pangocairo support POPPLER_DESC= PDF and PS file support via poppler (requires PANGOCAIRO) GDK_DESC= gdk plugin support (requires PANGOCAIRO) GHOSTSCRIPT_DESC=ghostscript plugin (requires PANGOCAIRO) DEVIL_DESC= devil plugin SMYRNA_DESC= SMYRNA graph viewer (GTK2) GVEDIT_DESC= GVEDIT graph viewer (QT6) PERL_DESC= Perl bindings (swig) PHP_DESC= PHP bindings (swig) PYTHON_DESC= Python bindings (swig) RUBY_DESC= Ruby bindings (swig) LUA_DESC= Lua bindings (swig) TCL_DESC= TCL bindings (swig) GUILE_DESC= Guile bindings (swig) GO_DESC= Go bindings (swig) TK_DESC= TK toolkit support NVTHREADS_DESC= Link with threads (needed for nvidia) XPM_USES= xorg XPM_USE= XORG=xaw,xpm,xmu,xt,sm,ice,xext,x11,xau,xdmcp ICONV_USES= iconv NLS_USES= gettext PANGOCAIRO_USES=gnome xorg PANGOCAIRO_USE= GNOME=pango,cairo XORG=xrender,x11,xau,xdmcp GDK_USES= gnome xorg GDK_USE= GNOME=gtk30 SMYRNA_USES= gnome gl xorg -SMYRNA_USE= GNOME=libglade2,pangox-compat,gdkpixbuf2,gtk20 \ +SMYRNA_USE= GNOME=libglade2,pangox-compat,gdkpixbuf,gtk20 \ GL=glut,glu,gl GVEDIT_USES= qt:6 GVEDIT_USE= QT=tools:build,base PERL_USES= perl5 PHP_USES= php:build gnome ssl PHP_USE= GNOME=libxml2 PYTHON_USES= python:build RUBY_USES= ruby LUA_USES= lua TCL_USES= python:build TK_USES= tk:build GUILE_USES= guile:3.0 GO_USES= go:no_targets DOCS_USES= groff ANN_LIB_DEPENDS= libann.so:math/ann GTS_LIB_DEPENDS= libgts.so:graphics/gts POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib DEVIL_LIB_DEPENDS= libIL.so:graphics/devil SMYRNA_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libgts.so:graphics/gts PHP_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 \ libargon2.so:security/libargon2 XPM_CONFIGURE_WITH= x XPM_CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no DIGCOLA_CONFIGURE_WITH= digcola IPSEPCOLA_CONFIGURE_WITH= ipsepcola IPSEPCOLA_IMPLIES= DIGCOLA NLS_CONFIGURE_ENABLE= nls ANN_CONFIGURE_WITH= ann ANN_CONFIGURE_ENV= ANN_CFLAGS=-I${LOCALBASE}/include ANN_LIBS=-lann GTS_CONFIGURE_WITH= gts PANGOCAIRO_CONFIGURE_WITH= pangocairo POPPLER_CONFIGURE_WITH= poppler POPPLER_IMPLIES= PANGOCAIRO GTK3_CONFIGURE_WITH= gtk GDK_CONFIGURE_WITH= gdk gdk-pixbuf GDK_IMPLIES= PANGOCAIRO GHOSTSCRIPT_CONFIGURE_OFF= --with-ghostscript=no GHOSTSCRIPT_IMPLIES= PANGOCAIRO DEVIL_CONFIGURE_WITH= devil GVEDIT_CONFIGURE_WITH= qt SMYRNA_CONFIGURE_OFF= --with-glut=no SMYRNA_CONFIGURE_WITH= smyrna glade gtkgl gtkglext gtk SMYRNA_IMPLIES= GTS PERL_CONFIGURE_ENABLE= perl PERL_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.pl PHP_CONFIGURE_ENABLE= php PHP_CPPFLAGS= -I${LOCALBASE}/include/php/Zend PHP_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.php PYTHON_CONFIGURE_ENABLE= python3 PYTHON_LDFLAGS= "-L${PYTHONBASE}/lib" PYTHON_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.py PYTHON_CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" RUBY_CONFIGURE_ENABLE= ruby RUBY_CONFIGURE_ENV= RUBY="${RUBY}" RUBY_VER="${RUBY_VER}" \ RUBY_CFLAGS="${RUBY_CFLAGS}" \ RUBY_LDFLAGS="${RUBY_LDFLAGS}" \ RUBY_INSTALL_DIR="${RUBY_SITEARCHLIBDIR}" RUBY_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.rb LUA_CONFIGURE_ENABLE= lua LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} -lm LUA_CONFIGURE_ENV= LUA="${LUA_BINDIR}/lua" \ LUA_INSTALL_DIR=${PREFIX}/lib/lua/${LUA_VER} LUA_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.lua TCL_CONFIGURE_ENABLE= tcl TCL_CPPFLAGS= -I${TCL_INCLUDEDIR} TCL_CONFIGURE_ENV= TCLCONFIG="${TCL_LIBDIR}/tclConfig.sh" TCL_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.tcl \ SHEBANG_FILES+=tclpkg/gv/demo/modgraph.py \ PLIST_SUB+=TCL_VER="${TCL_VER}" TK_CPPFLAGS= -I${TK_INCLUDEDIR} TK_CONFIGURE_ON= --with-wish=${WISH} TK_CONFIGURE_ENV= TKCONFIG="${TK_LIBDIR}/tkConfig.sh" TK_IMPLIES= TCL GUILE_CONFIGURE_ENABLE= guile GO_CONFIGURE_ENABLE= go NVTHREADS_LDFLAGS= -lpthread .include # allow the use localized gd ports in Makefile.local or slave ports. GD_PORT?= graphics/gd CONFIGURE_ARGS+= --program-transform-name="s/x/x/" \ --enable-dependency-tracking \ --enable-r=no \ --with-demos="${EXAMPLESDIR}" \ --with-freetype2=yes \ --with-libgd \ --with-webp \ --with-fontconfigincludedir=${LOCALBASE}/include \ --with-fontconfiglibdir=${LOCALBASE}/lib \ --with-tclsh=${TCLSH} \ --without-rsvg \ --disable-io --disable-ocaml --disable-java \ --disable-python2 \ --disable-sharp .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MTCL} BINARY_ALIAS+= python3=${PYTHON_CMD} .else USES+= python:env .endif .if ${PORT_OPTIONS:MRUBY} RUBY_CFLAGS+= -I "${LOCALBASE}/include/ruby-${RUBY_VER}/" \ -I "${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}" .if exists(${LOCALBASE}/bin/ruby${RUBY_SHLIBVER}) RUBY_LIBS!= ${LOCALBASE}/bin/ruby${RUBY_SHLIBVER} \ -r rbconfig -e "print RbConfig::CONFIG[ 'LIBS' ]" RUBY_LDFLAGS+= ${RUBY_LIBS} .endif .endif .if ${PORT_OPTIONS:MICONV} CONFIGURE_ARGS+= --with-iconvlibdir=${ICONV_PREFIX}/lib CONFIGURE_ARGS+= --with-iconvincludedir=${ICONV_PREFIX}/include .else CONFIGURE_ARGS+= --without-libiconv-prefix .endif .if ${PORT_OPTIONS:MPERL} || ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || \ ${PORT_OPTIONS:MRUBY} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MTCL} || \ ${PORT_OPTIONS:MGUILE} || ${PORT_OPTIONS:MGO} BUILD_DEPENDS+= swig:devel/swig RUN_DEPENDS+= swig:devel/swig CONFIGURE_ARGS+= --enable-swig CONFIGURE_ENV+= SWIG="${LOCALBASE}/bin/swig" .else CONFIGURE_ARGS+= --disable-swig CONFIGURE_ENV+= SWIG="/nonexistent" .endif .if ${PORT_OPTIONS:MGHOSTSCRIPT} USES_GHOSTSCRIPT_ARGS+= lib .endif .if ${PORT_OPTIONS:MDOCS} USES_GHOSTSCRIPT_ARGS+= build .endif .if defined(USES_GHOSTSCRIPT_ARGS) USES+= ghostscript:${USES_GHOSTSCRIPT_ARGS:ts,} .endif .include post-patch: ${REINPLACE_CMD} \ -e 's|PHP_INSTALL_DATADIR=.*|PHP_INSTALL_DATADIR="${PREFIX}/share/php"|' \ -e 's|LUA_INSTALL_DIR=.*|LUA_INSTALL_DIR="${LUA_MODLIBDIR}"|' \ -e 's| vendorarchdir| sitearchdir|' \ ${WRKSRC}/configure.ac ${REINPLACE_CMD} -e 's|#include "gui.h"|#include "gui/gui.h"|' \ ${WRKSRC}/cmd/smyrna/tvnodes.h cd ${WRKSRC} && ${REINPLACE_CMD} \ -e 's|exec tclsh |exec tclsh${TCL_VER} |' ${FIX_TCL_SCRIPT} cd ${WRKSRC} && ${REINPLACE_CMD} \ -e 's|exec wish |exec wish${TCL_VER} |' ${FIX_TK_SCRIPT} pre-configure-DOCS-off: ${REINPLACE_CMD} -e 's| doc | |' ${WRKSRC}/Makefile.am ${FIND} ${WRKSRC} -name Makefile.am | \ ${XARGS} ${REINPLACE_CMD} \ -e 's|^pdf_DATA|#pdf_DATA|'; pre-install-PHP-on: ${MKDIR} "${STAGEDIR}/${PREFIX}/share/php" post-install: install-ldconfig-file cd ${WRKSRC} && \ ${INSTALL_DATA} ${FIX_INCLUDE} ${STAGEDIR}${PREFIX}/include/graphviz/ .include diff --git a/graphics/gstreamer1-plugins-gdkpixbuf/Makefile b/graphics/gstreamer1-plugins-gdkpixbuf/Makefile index bb4b3f17ea2c..23b59dc0ca71 100644 --- a/graphics/gstreamer1-plugins-gdkpixbuf/Makefile +++ b/graphics/gstreamer1-plugins-gdkpixbuf/Makefile @@ -1,16 +1,16 @@ PORTREVISION= 0 CATEGORIES= graphics PKGNAMESUFFIX= 1-plugins-gdkpixbuf COMMENT= GStreamer image decoder/overlay plugin -USE_GNOME= gdkpixbuf2 +USE_GNOME= gdkpixbuf MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins PLIST= ${.CURDIR}/pkg-plist DIST= good GST_PLUGIN= gdk-pixbuf .include "${MASTERDIR}/Makefile" diff --git a/graphics/gtk-update-icon-cache/Makefile b/graphics/gtk-update-icon-cache/Makefile index f6822cfa656f..38efb5b926e0 100644 --- a/graphics/gtk-update-icon-cache/Makefile +++ b/graphics/gtk-update-icon-cache/Makefile @@ -1,27 +1,27 @@ PORTNAME= gtk-update-icon-cache PORTVERSION= 3.24.42 CATEGORIES= graphics DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Gtk-update-icon-cache utility from the Gtk+ toolkit WWW= https://www.gtk.org/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING USES= gettext gnome meson pkgconfig trigger -USE_GNOME= gdkpixbuf2 +USE_GNOME= gdkpixbuf USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= Community/gentoo OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes MANPAGES_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \ xsltproc:textproc/libxslt MANPAGES_MESON_TRUE= man-pages .include diff --git a/graphics/icon-slicer/Makefile b/graphics/icon-slicer/Makefile index 6f35b46ae31a..e6cec5a4fb29 100644 --- a/graphics/icon-slicer/Makefile +++ b/graphics/icon-slicer/Makefile @@ -1,31 +1,31 @@ PORTNAME= icon-slicer PORTVERSION= 0.3 PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= http://www.freedesktop.org/software/icon-slicer/releases/ MAINTAINER= ports@FreeBSD.org COMMENT= Utility for generating icon and cursor themes WWW= https://www.freedesktop.org/wiki/Software/icon-slicer/ LICENSE= MIT # in readme and sources; COPYING seem to be unrelated LIB_DEPENDS= libpopt.so:devel/popt USES= gnome localbase pkgconfig -USE_GNOME= gdkpixbuf2 +USE_GNOME= gdkpixbuf GNU_CONFIGURE= yes PORTDOCS= AUTHORS ChangeLog README PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/ s|examples||' ${WRKSRC}/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile index 12466ddddc59..62a3593a8ee7 100644 --- a/graphics/inkscape/Makefile +++ b/graphics/inkscape/Makefile @@ -1,127 +1,127 @@ PORTNAME= inkscape DISTVERSION= 1.4 PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= https://media.inkscape.org/dl/resources/file/ PATCH_SITES= https://gitlab.com/${PORTNAME}/${PORTNAME}/-/commit/ PATCHFILES+= eb6dadcf1a5c660167ba43f3606c8e7cc6529787.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/6755 PATCHFILES+= 49604afa97be08608b65687633b1373eb9cf524b.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/6839 PATCHFILES+= b1bd016ee3f91f3f5b2dbb928655eb049e8f62e4.patch:-p1 \ 8abd30721e9bf5b15d705657d8e3a2103593e2f3.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/6857 MAINTAINER= gnome@FreeBSD.org COMMENT= Full featured open source SVG editor WWW= https://inkscape.org LICENSE= GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL21 LGPL3 LGPL3+ MPL11 LICENSE_COMB= multi LICENSE_FILE_GPLv2 = ${WRKSRC}/LICENSES/GPL-2.0.txt LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt LICENSE_FILE_GPLv3 = ${WRKSRC}/LICENSES/GPL-3.0.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt LICENSE_FILE_LGPL21 = ${WRKSRC}/LICENSES/LGPL-2.1.txt LICENSE_FILE_LGPL3 = ${WRKSRC}/LICENSES/LGPL-3.0.txt LICENSE_FILE_LGPL3+ = ${WRKSRC}/LICENSES/LGPL-3.0-or-later.txt LICENSE_FILE_MPL11 = ${WRKSRC}/LICENSES/MPL-1.1.txt BUILD_DEPENDS= ragel:devel/ragel LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libgc.so:devel/boehm-gc \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpotrace.so:graphics/libpotrace \ libpng.so:graphics/png \ libenchant-2.so:textproc/enchant2 \ libepoxy.so:graphics/libepoxy \ lib2geom.so:math/lib2geom RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cachecontrol>0:www/py-cachecontrol@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>=3.7.1:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scour>0:textproc/py-scour@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tinycss2>0:textproc/py-tinycss2@${PY_FLAVOR} \ fig2dev:print/fig2dev TEST_DEPENDS= googletest>0:devel/googletest \ bash:shells/bash USES= compiler:c++20-lang cmake:testing cpe desktop-file-utils ghostscript:run \ gnome jpeg pathfix pkgconfig python \ readline shebangfix tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 glibmm gtkmm30 gtksourceview4 libxml2 libxslt +USE_GNOME= cairo gdkpixbuf glibmm gtkmm30 gtksourceview4 libxml2 libxslt USE_PYTHON= cython USE_XORG= sm ice x11 xext USE_LDCONFIG= yes DATETAG= 2024-10-09_e7c3feb100 WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}_${DATETAG} BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= share/extensions/*.py share/extensions/genpofiles.sh \ share/templates/*.py man/fix-roff-punct OPTIONS_DEFINE= OPENMP POPPLER SCRIBUS VISIO CDR WPG GVFS NLS GSPELL OPTIONS_DEFAULT= POPPLER VISIO CDR WPG GM GSPELL OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP OPTIONS_RADIO= IMAGICK OPTIONS_RADIO_IMAGICK= IMAGICK6 GM OPTIONS_SUB= yes CDR_DESC= Support for CorelDRAW graphics CDR_CMAKE_BOOL= WITH_LIBCDR CDR_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libcdr-0.1.so:graphics/libcdr01 GVFS_USE= GNOME=gvfs OPENMP_CMAKE_BOOL= WITH_OPENMP POPPLER_DESC= PDF preview rendering POPPLER_CMAKE_BOOL= ENABLE_POPPLER ENABLE_POPPLER_CAIRO POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler \ libpoppler-glib.so:graphics/poppler-glib SCRIBUS_DESC= Support color-managed PDF export using Scribus (experimental) SCRIBUS_RUN_DEPENDS= scribus:print/scribus VISIO_DESC= Support for Microsoft Visio diagrams VISIO_CMAKE_BOOL= WITH_LIBVISIO VISIO_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libvisio-0.1.so:textproc/libvisio01 WPG_DESC= Support for WordPerfect graphics WPG_CMAKE_BOOL= WITH_LIBWPG WPG_LIB_DEPENDS= libwpg-0.3.so:graphics/libwpg03 IMAGICK_DESC= Raster image format library IMAGICK6_DESC= Use ImageMagick6 IMAGICK6_USES= magick:6 IMAGICK6_CMAKE_BOOL= WITH_IMAGE_MAGICK GM_DESC= Use GraphicsMagick GM_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GM_CMAKE_BOOL= WITH_GRAPHICS_MAGICK NLS_CMAKE_BOOL= WITH_NLS NLS_USES= gettext GSPELL_DESC= Support for spell checking through gspell GSPELL_CMAKE_BOOL= WITH_GSPELL GSPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell post-patch: @${REINPLACE_CMD} -e 's|COMMAND python3|COMMAND ${PYTHON_VERSION}|g' \ ${WRKSRC}/share/*/CMakeLists.txt # Third entry in the table of interpreters is basename of executable @${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_VERSION}"|g' \ ${WRKSRC}/src/extension/implementation/script.cpp @${TOUCH} ${WRKSRC}/share/extensions/gcodetools_check_for_updates.inx.h .include diff --git a/graphics/libavif/Makefile b/graphics/libavif/Makefile index a79c75b4adfa..aa8cb4860aa5 100644 --- a/graphics/libavif/Makefile +++ b/graphics/libavif/Makefile @@ -1,76 +1,76 @@ PORTNAME= libavif PORTVERSION= 1.2.0 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for encoding and decoding .avif files WWW= https://github.com/AOMediaCodec/libavif LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png TEST_DEPENDS= bash:shells/bash \ googletest>=0:devel/googletest USES= cmake:testing compiler:c11 cpe jpeg pkgconfig CMAKE_ARGS= -DAVIF_GTEST:STRING=OFF \ -DAVIF_ZLIBPNG:STRING=SYSTEM CMAKE_OFF= AVIF_BUILD_EXAMPLES CMAKE_ON= AVIF_BUILD_APPS CMAKE_TESTING_ARGS= -DAVIF_GTEST:STRING=SYSTEM CMAKE_TESTING_ON= AVIF_BUILD_TESTS LDFLAGS+= -lm USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= AOMediaCodec GH_TUPLE= kmurray:libargparse:ee74d1b:kmurray_libargparse/../.build/_deps/libargparse-src CPE_VENDOR= aomedia OPTIONS_DEFINE= MANPAGES PIXBUF OPTIONS_GROUP= AV1 COLOR OPTIONS_GROUP_AV1= AOM DAV1D GAV1 RAV1E SVTAV1 OPTIONS_GROUP_COLOR= LIBSHARPYUV LIBYUV OPTIONS_DEFAULT=AOM DAV1D LIBYUV PIXBUF OPTIONS_SUB= yes AOM_DESC= AV1 encoding/decoding via libaom DAV1D_DESC= AV1 decoding via libdav1d GAV1_DESC= AV1 decoding via libgav1 LIBSHARPYUV_DESC= Colorspace conversion via libsharpyuv LIBYUV_DESC= Colorspace conversion via libyuv MANPAGES_DESC= Install manpages (requires pandoc) RAV1E_DESC= AV1 encoding via librav1e SVTAV1_DESC= AV1 encoding via SVT-AV1 AOM_CMAKE_OFF= -DAVIF_CODEC_AOM:STRING=OFF AOM_CMAKE_ON= -DAVIF_CODEC_AOM:STRING=SYSTEM AOM_LIB_DEPENDS= libaom.so:multimedia/aom DAV1D_CMAKE_OFF= -DAVIF_CODEC_DAV1D:STRING=OFF DAV1D_CMAKE_ON= -DAVIF_CODEC_DAV1D:STRING=SYSTEM DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d GAV1_CMAKE_OFF= -DAVIF_CODEC_LIBGAV1:STRING=OFF GAV1_CMAKE_ON= -DAVIF_CODEC_LIBGAV1:STRING=SYSTEM GAV1_LIB_DEPENDS= libgav1.so:multimedia/libgav1 LIBSHARPYUV_CMAKE_OFF= -DAVIF_LIBSHARPYUV:STRING=OFF LIBSHARPYUV_CMAKE_ON= -DAVIF_LIBSHARPYUV:STRING=SYSTEM LIBSHARPYUV_LIB_DEPENDS=libsharpyuv.so:graphics/webp LIBYUV_CMAKE_OFF= -DAVIF_LIBYUV:STRING=OFF LIBYUV_CMAKE_ON= -DAVIF_LIBYUV:STRING=SYSTEM LIBYUV_LIB_DEPENDS= libyuv.so:graphics/libyuv MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc MANPAGES_CMAKE_BOOL= AVIF_BUILD_MAN_PAGES PIXBUF_CMAKE_BOOL= AVIF_BUILD_GDK_PIXBUF -PIXBUF_USE= GNOME=gdkpixbuf2 +PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_USES= gnome RAV1E_CMAKE_OFF= -DAVIF_CODEC_RAV1E:STRING=OFF RAV1E_CMAKE_ON= -DAVIF_CODEC_RAV1E:STRING=SYSTEM RAV1E_LIB_DEPENDS= librav1e.so:multimedia/librav1e SVTAV1_CMAKE_OFF= -DAVIF_CODEC_SVT:STRING=OFF SVTAV1_CMAKE_ON= -DAVIF_CODEC_SVT:STRING=SYSTEM SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 .include diff --git a/graphics/libchamplain/Makefile b/graphics/libchamplain/Makefile index cb30b1050712..fd79b98e5464 100644 --- a/graphics/libchamplain/Makefile +++ b/graphics/libchamplain/Makefile @@ -1,30 +1,30 @@ PORTNAME= libchamplain PORTVERSION= 0.12.21 CATEGORIES= graphics MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= C library aimed to provide a Gtk+ widget to display rasterized maps and markers WWW= https://projects.gnome.org/libchamplain/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcogl.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libjson-glib-1.0.so:devel/json-glib \ libsoup-3.0.so:devel/libsoup3 USES= gettext-runtime gl gnome localbase meson \ pkgconfig sqlite tar:xz vala:build xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build USE_GL= egl USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr USE_LDCONFIG= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= -Dlibsoup3=true PLIST_SUB= VERSION=0.12 .include diff --git a/graphics/libexif-gtk/Makefile b/graphics/libexif-gtk/Makefile index bbd9d29adae3..c6ea4662d4b5 100644 --- a/graphics/libexif-gtk/Makefile +++ b/graphics/libexif-gtk/Makefile @@ -1,31 +1,31 @@ PORTNAME= libexif-gtk PORTVERSION= 0.5.0 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/libexif/${PORTNAME}/releases/download/v${PORTVERSION}/ MAINTAINER= fluffy@FreeBSD.org COMMENT= GTK widgets to display/edit EXIF tags WWW= https://sourceforge.net/projects/libexif/ LICENSE= LGPL21 LIB_DEPENDS= libexif.so:graphics/libexif GNU_CONFIGURE= yes USES= gnome libtool pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_LDCONFIG= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} 's|-g -Wall|-Wall|' ${WRKSRC}/configure .include diff --git a/graphics/libgnomecanvas/Makefile b/graphics/libgnomecanvas/Makefile index 7aa02934fe50..1c4ac3d360f0 100644 --- a/graphics/libgnomecanvas/Makefile +++ b/graphics/libgnomecanvas/Makefile @@ -1,28 +1,28 @@ PORTNAME= libgnomecanvas PORTVERSION= 2.30.3 PORTREVISION?= 7 CATEGORIES= graphics gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Graphics library for GNOME LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES+= gettext gmake gnome libtool localbase pathfix pkgconfig tar:bzip2 -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 intltool libartlgpl2 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk20 intltool libartlgpl2 pango USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ --disable-glade \ --disable-gtk-doc INSTALL_TARGET= install-strip post-install: ${RMDIR} ${STAGEDIR}${PREFIX}/lib/libglade/2.0 ${RMDIR} ${STAGEDIR}${PREFIX}/lib/libglade .include diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile index 94835ff4b4a9..03a9cfbb6774 100644 --- a/graphics/libheif/Makefile +++ b/graphics/libheif/Makefile @@ -1,83 +1,83 @@ PORTNAME= libheif DISTVERSION= 1.19.7 CATEGORIES= graphics MASTER_SITES= https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= makc@FreeBSD.org COMMENT= ISO/IEC 23008-12:2017 HEIF file format de- and encoder WWW= https://github.com/strukturag/libheif LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsharpyuv.so:graphics/webp USES= cmake:testing compiler:c++11-lang cpe gettext-runtime gnome \ localbase:ldflags pathfix pkgconfig CPE_VENDOR= struktur -USE_GNOME= gdkpixbuf2 glib20 +USE_GNOME= gdkpixbuf glib20 USE_LDCONFIG= yes PLIST_SUB= LIB_VER=${DISTVERSION} CMAKE_OFF= BUILD_TESTING \ WITH_KVAZAAR \ WITH_UVG266 \ WITH_VVDEC \ WITH_VVENC \ CMAKE_COMPILE_WARNING_AS_ERROR CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Doxygen OPTIONS_DEFINE= AOM DAV1D EXAMPLES FFMPEG JPEG LIBDE265 OPENH264 \ OPENJPEG OPENJPH SVTAV1 RAV1E X265 OPTIONS_DEFAULT=AOM DAV1D FFMPEG JPEG OPENH264 OPENJPEG OPENJPH SVTAV1 X265 OPTIONS_SUB= yes AOM_DESC= AV1 encoding/decoding via libaom FFMPEG_DESC= Use FFmpeg (support for HEVC decoding) DAV1D_DESC= Build dav1e decoder LIBDE265_DESC= Use libde265 (support for HEVC decoding) OPENH264_DESC= AVC decoding via OpenH264 OPENJPH_DESC= HT-J2K encoding via OpenJPH SVTAV1_DESC= Build svt-av1 encoder RAV1E_DESC= Build rav1e encoder X265_DESC= Use x265 (support for HEVC encoding) AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CMAKE_BOOL= WITH_AOM_ENCODER WITH_AOM_DECODER DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CMAKE_BOOL= WITH_DAV1D EXAMPLES_LIB_DEPENDS= libpng16.so:graphics/png \ libtiff.so:graphics/tiff EXAMPLES_CMAKE_BOOL= WITH_EXAMPLES EXAMPLE_IMPLIES= JPEG FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG_DECODER JPEG_USES= jpeg JPEG_CMAKE_BOOL= WITH_JPEG_ENCODER WITH_JPEG_DECODER LIBDE265_LIB_DEPENDS= libde265.so:multimedia/libde265 LIBDE265_CMAKE_BOOL= WITH_LIBDE265 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CMAKE_BOOL= WITH_OpenH264_DECODER OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= WITH_OpenJPEG_ENCODER WITH_OpenJPEG_DECODER OPENJPH_LIB_DEPENDS= libopenjph.so:graphics/openjph OPENJPH_CMAKE_BOOL= WITH_OPENJPH_ENCODER WITH_OPENJPH_DECODER SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 SVTAV1_CMAKE_BOOL= WITH_SvtEnc RAV1E_LIB_DEPENDS= librav1e.so:multimedia/librav1e RAV1E_CMAKE_BOOL= WITH_RAV1E X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CMAKE_BOOL= WITH_X265 .include diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile index aa4ece3b1d9d..5413dc595976 100644 --- a/graphics/libjxl/Makefile +++ b/graphics/libjxl/Makefile @@ -1,81 +1,81 @@ PORTNAME= libjxl DISTVERSIONPREFIX= v DISTVERSION= 0.11.1 PORTREVISION= 1 CATEGORIES= graphics PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCH_SITES+= LOCAL/jbeich/${PORTNAME}_patches # backup PATCHFILES+= d2411cebb0c3.patch:-p1 # https://github.com/libjxl/libjxl/pull/4007 MAINTAINER= jbeich@FreeBSD.org COMMENT= JPEG XL reference encoder/decoder WWW= https://jpeg.org/jpegxl/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libbrotlienc.so:archivers/brotli \ libhwy.so:devel/highway TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++11-lib cpe localbase:ldflags pkgconfig shared-mime-info CPE_VENDOR= ${PORTNAME}_project USE_GITHUB= yes USE_LDCONFIG= yes GH_TUPLE= libjxl:testdata:ff8d743:testdata/testdata \ webmproject:sjpeg:e5ab130:sjpeg/third_party/sjpeg \ ${NULL} CMAKE_ON= JPEGXL_ENABLE_PLUGINS CMAKE_ON+= ${AVX512 AVX512_SPR AVX512_ZEN4:L:S/^/JPEGXL_ENABLE_/} CMAKE_OFF= ${BENCHMARK FUZZERS TCMALLOC:L:S/^/JPEGXL_ENABLE_/} CMAKE_OFF+= ${OpenGL GLUT:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/} # sjpeg CMAKE_OFF+= ${CMAKE_TESTING_ON} LDFLAGS+= -Wl,--as-needed # brotlicommon, OPENEXR/PNG deps PLIST_SUB= VERSION=${PORTVERSION} OPTIONS_DEFINE= GIF JPEG LCMS2 LTO MANPAGES OPENEXR PIXBUF PNG OPTIONS_DEFAULT=GIF JPEG LTO MANPAGES OPENEXR PIXBUF PNG OPTIONS_DEFAULT_powerpc= LCMS2 OPTIONS_DEFAULT_powerpc64= LCMS2 OPTIONS_EXCLUDE_i386= LTO # ConvolutionWithTranspose(): JXL_CHECK: out->xsize() == in.ysize() OPTIONS_EXCLUDE_riscv64= LTO # bug 262871 OPTIONS_SUB= yes GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_GIF JPEG_USES= jpeg JPEG_CMAKE_BOOL= JPEGXL_ENABLE_JPEGLI JPEG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_JPEG JPEG_CMAKE_BOOL_OFF+= JPEGXL_ENABLE_JPEGLI_LIBJPEG # XXX WITH_JPEG8, libmap.conf(5) LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_GH_TUPLE_OFF= jbeich:skcms:42030a7:skcms/third_party/skcms LCMS2_CMAKE_BOOL_OFF= JPEGXL_ENABLE_SKCMS .if make(makesum) GH_TUPLE+= ${LCMS2_GH_TUPLE_OFF} .endif LTO_CMAKE_BOOL= CMAKE_INTERPROCEDURAL_OPTIMIZATION LTO_CMAKE_ON= -DCMAKE_POLICY_DEFAULT_CMP0069:STRING=NEW MANPAGES_BUILD_DEPENDS= a2x:textproc/asciidoc MANPAGES_USES= python:build MANPAGES_CMAKE_BOOL= JPEGXL_ENABLE_MANPAGES OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL= JPEGXL_ENABLE_OPENEXR PIXBUF_USES= gnome -PIXBUF_USE= GNOME=gdkpixbuf2 +PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_CMAKE_BOOL= JPEGXL_ENABLE_PLUGIN_GDKPIXBUF PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PNG post-patch: @${REINPLACE_CMD} 's,/usr,${LOCALBASE},' \ ${WRKSRC}/plugins/gdk-pixbuf/jxl.thumbnailer .include diff --git a/graphics/libopenraw/Makefile b/graphics/libopenraw/Makefile index cd662f4cfc30..b721cf2c1f6a 100644 --- a/graphics/libopenraw/Makefile +++ b/graphics/libopenraw/Makefile @@ -1,91 +1,91 @@ PORTNAME= libopenraw PORTVERSION= 0.3.7 PORTREVISION= 14 CATEGORIES= graphics MASTER_SITES= http://libopenraw.freedesktop.org/download/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= jhale@FreeBSD.org COMMENT= Library for camera RAW files decoding WWW= https://libopenraw.freedesktop.org/ LICENSE= LGPL3+ MPL20 LICENSE_COMB= multi LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER LICENSE_FILE_MPL20= ${WRKSRC}/MPL-2.0 BUILD_DEPENDS= ${LOCALBASE}/include/boost/variant.hpp:devel/boost-libs TEST_DEPENDS= curl:ftp/curl USES= cargo compiler:c++14-lang gnome jpeg libtool localbase pkgconfig \ tar:bz2 USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include \ --disable-silent-rules INSTALL_TARGET= install-strip TEST_TARGET= check CARGO_CRATES= ahash-0.7.6 \ aho-corasick-0.7.18 \ atty-0.2.14 \ autocfg-1.0.0 \ bitreader-0.3.2 \ byteorder-1.2.2 \ cfg-if-0.1.10 \ cfg-if-1.0.0 \ env_logger-0.8.4 \ fallible_collections-0.4.4 \ getrandom-0.2.7 \ hashbrown-0.11.2 \ hermit-abi-0.1.8 \ humantime-2.1.0 \ libc-0.2.126 \ log-0.4.17 \ memchr-2.5.0 \ num-traits-0.2.15 \ once_cell-1.12.0 \ regex-1.5.6 \ regex-syntax-0.6.26 \ static_assertions-1.1.0 \ termcolor-1.1.3 \ version_check-0.9.4 \ wasi-0.11.0+wasi-snapshot-preview1 \ winapi-0.3.8 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 CARGO_CARGOTOML=${WRKSRC}/lib/mp4/Cargo.toml CARGO_CARGOLOCK=${WRKSRC}/lib/mp4/Cargo.lock CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no PLIST_SUB= VER=${PORTVERSION:R} OPTIONS_DEFINE= GNOME TEST OPTIONS_DEFAULT= GNOME OPTIONS_SUB= yes GNOME_CONFIGURE_ENABLE= gnome GNOME_USES= gettext-runtime -GNOME_USE= GNOME=glib20,gdkpixbuf2 +GNOME_USE= GNOME=glib20,gdkpixbuf TEST_BUILD_DEPENDS= curl:ftp/curl post-patch: @${REINPLACE_CMD} -E \ -e 's|\{libdir\}/pkgconfig|{prefix}/libdata/pkgconfig|g' \ ${WRKSRC}/configure post-patch-TEST-off: @${REINPLACE_CMD} -e 's|testsuite ||' ${WRKSRC}/Makefile.in pre-configure: @${CARGO_CARGO_RUN} update \ --manifest-path ${WRKSRC}/lib/mp4/mp4parse_capi/Cargo.toml \ --verbose .include diff --git a/graphics/librsvg2-rust/Makefile b/graphics/librsvg2-rust/Makefile index a1ebd23b0eee..d1492d01a876 100644 --- a/graphics/librsvg2-rust/Makefile +++ b/graphics/librsvg2-rust/Makefile @@ -1,51 +1,51 @@ PORTNAME= librsvg PORTVERSION= 2.58.5 PORTREVISION= 5 CATEGORIES= graphics gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 2-rust # XXX Teach USES=cargo to have proper default DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= desktop@FreeBSD.org COMMENT= Library for parsing and rendering SVG vector-graphic files WWW= https://live.gnome.org/LibRsvg LICENSE= LGPL20 BUILD_DEPENDS= rst2man:textproc/py-docutils LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png USES= cargo compiler:c11 cpe gettext gmake gnome libtool pkgconfig tar:xz vala:build CPE_VENDOR= gnome -USE_GNOME= cairo gdkpixbuf2 libxml2 pango introspection:build +USE_GNOME= cairo gdkpixbuf libxml2 pango introspection:build USE_LDCONFIG= yes PORTSCOUT= limitw:1,even GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-Bsymbolic \ --disable-dependency-tracking \ --disable-static \ --enable-vala CONFIGURE_ENV= ${CARGO_ENV} MAKE_ENV= ${CARGO_ENV} CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no INSTALL_TARGET= install-strip TEST_TARGET= check CONFLICTS_INSTALL= librsvg2 OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen DOCS_CONFIGURE_ENABLE= gtk-doc TESTING_UNSAFE= ld: error: undefined symbol: pthread_condattr_init .include diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile index 8c26ed164d85..84b5bb5115d8 100644 --- a/graphics/librsvg2/Makefile +++ b/graphics/librsvg2/Makefile @@ -1,56 +1,56 @@ PORTNAME= librsvg PORTVERSION= 2.40.21 PORTREVISION= 4 CATEGORIES= graphics gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 2 DIST_SUBDIR= gnome2 MAINTAINER= desktop@FreeBSD.org COMMENT= Library for parsing and rendering SVG vector-graphic files WWW= https://live.gnome.org/LibRsvg LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libpng.so:graphics/png \ libcroco-0.6.so:textproc/libcroco USES= cpe gmake gnome libtool localbase pathfix pkgconfig tar:xz CONFLICTS_INSTALL= librsvg2-rust # librsvg2 2.42+ needs rust to build, which is not available on all # FreeBSD archs. So limit pure C version 2.40.x. PORTSCOUT= limit:^2\.40\. OPTIONS_DEFINE= DOCS VAPI OPTIONS_DEFAULT= DOCS VAPI OPTIONS_SUB= yes DOCS_CONFIGURE_ENABLE= grk-doc-html VAPI_USES= vala:build VAPI_CONFIGURE_ON= --enable-vala=yes VAPI_CONFIGURE_OFF= --enable-vala=no -USE_GNOME= cairo gnomeprefix gdkpixbuf2 introspection:build \ +USE_GNOME= cairo gnomeprefix gdkpixbuf introspection:build \ libxml2 pango CPE_VENDOR= gnome USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-Bsymbolic DOCSDIR?= ${PREFIX}/share/doc GNOME_HTML_DIR= ${DOCSDIR} PLIST_SUB+= PORTVERSION=${PORTVERSION} post-patch: @${REINPLACE_CMD} -e 's|GTK3_REQUIRED=3.[0-9][0-9].[0-9]|GTK3_REQUIRED=9.90.0|g' \ ${WRKSRC}/configure .include diff --git a/graphics/libsixel/Makefile b/graphics/libsixel/Makefile index d1865dd72bbf..7531dcfd4d39 100644 --- a/graphics/libsixel/Makefile +++ b/graphics/libsixel/Makefile @@ -1,55 +1,55 @@ PORTNAME= libsixel PORTVERSION= 1.8.6 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/saitoha/libsixel/releases/download/v${PORTVERSION}/ MAINTAINER= sue@iwmt.org COMMENT= Encoder/decoder library for DEC SIXEL graphics WWW= https://github.com/saitoha/libsixel LICENSE= MIT USES= cpe libtool pkgconfig CPE_VENDOR= ${PORTNAME}_project USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/sixel-${PORTVERSION} PORTDOCS= ChangeLog NEWS OPTIONS_DEFINE= CURL DOCS GD JPEG PIXBUF PNG PYTHON OPTIONS_SUB= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= libcurl GD_LIB_DEPENDS= libgd.so:graphics/gd GD_CONFIGURE_WITH= gd JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JPEG_CPPFLAGS= -I${LOCALBASE}/include JPEG_LDFLAGS= -L${LOCALBASE}/lib PIXBUF_CONFIGURE_WITH= gdk-pixbuf2 PIXBUF_USES= gettext gnome -PIXBUF_USE= gnome=glib20,gdkpixbuf2 +PIXBUF_USE= gnome=glib20,gdkpixbuf PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png PYTHON_USES= python PYTHON_USE= python=py3kplist PYTHON_CONFIGURE_ENABLE= python post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile index 81c656b4f66b..2709623901a2 100644 --- a/graphics/libwmf/Makefile +++ b/graphics/libwmf/Makefile @@ -1,56 +1,56 @@ PORTNAME= libwmf PORTVERSION= 0.2.13 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tools and library for converting Microsoft WMF (windows metafile) COMMENT= Library for converting WMF files WWW= https://wvware.sourceforge.net/libwmf.html \ https://github.com/caolanm/libwmf LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libgd.so:graphics/gd \ libpng.so:graphics/png USES= cpe gnome jpeg libtool localbase pkgconfig -USE_GNOME= gdkpixbuf2 +USE_GNOME= gdkpixbuf CONFIGURE_ARGS= --with-fontdir=${LOCALBASE}/share/libwmf/fonts \ --with-freetype=${LOCALBASE} \ --with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= -nox11 .if ${FLAVOR} == x11 USE_XORG= x11 USES+= xorg .else CONFIGURE_ARGS+=--with-x=no .endif CONFLICTS_INSTALL= libwmf libwmf-nox11 CPE_VENDOR= wvware USE_GITHUB= yes GH_ACCOUNT= caolanm OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ "! -name Makefile ! -name Makefile.am ! -name Makefile.in" .include diff --git a/graphics/minder/Makefile b/graphics/minder/Makefile index 41ef89441597..8b22d90e9cb5 100644 --- a/graphics/minder/Makefile +++ b/graphics/minder/Makefile @@ -1,37 +1,37 @@ PORTNAME= minder PORTVERSION= 1.17.0 CATEGORIES= graphics # avoid PKGBASE collision with net-p2p/minder PKGNAMESUFFIX= -app MAINTAINER= nc@FreeBSD.org COMMENT= Mind-mapping application WWW= https://github.com/phase1geo/Minder LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= discount>0:textproc/discount LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libgranite.so:x11-toolkits/granite \ libhandy-1.so:x11-toolkits/libhandy \ libmarkdown.so:textproc/discount USES= desktop-file-utils gettext gnome libarchive localbase:ldflags \ meson pkgconfig python:build shared-mime-info shebangfix vala:build USE_GITHUB= yes GH_ACCOUNT= phase1geo GH_PROJECT= Minder -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 gtksourceview4 libxml2 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 gtksourceview4 libxml2 pango GLIB_SCHEMAS= com.github.phase1geo.minder.gschema.xml SHEBANG_FILES= meson/post_install.py PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/mtpaint/Makefile b/graphics/mtpaint/Makefile index 7267999a3bef..00dc63451982 100644 --- a/graphics/mtpaint/Makefile +++ b/graphics/mtpaint/Makefile @@ -1,71 +1,71 @@ PORTNAME= mtpaint DISTVERSION= 3.50.09 PORTREVISION= 6 CATEGORIES= graphics MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple painting program WWW= https://mtpaint.sourceforge.net/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 USES= desktop-file-utils gmake gnome iconv jpeg pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= wjaguar GH_PROJECT= mtPaint GH_TAGNAME= 4ea607e -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/share/man/man1 \ --localedir=${PREFIX}/share/locale \ asneeded gtk3 cflags ft jpeg man tiff CFLAGS+= -fcommon LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} PORTDOCS= NEWS README OPTIONS_DEFINE= DOCS LCMS2 NLS OPENJPEG WEBP OPTIONS_DEFAULT= LCMS2 OPENJPEG WEBP OPTIONS_SUB= yes LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_ON= lcms2 LCMS2_CONFIGURE_OFF= nolcms NLS_USES= gettext NLS_CONFIGURE_ON= intl OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_LIB_DEPENDS_OFF=libjasper.so:graphics/jasper OPENJPEG_CONFIGURE_ON= jp2v2 OPENJPEG_CONFIGURE_OFF= jasper WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ON= webp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} do-install-NLS-on: .for lang in cs de es fr gl hu it ja kab nl pl pt pt_BR ru sk sv tl tr zh_CN zh_TW @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/mtpaint.mo .endfor .include diff --git a/graphics/nip2/Makefile b/graphics/nip2/Makefile index 3f2fb6a5ce2f..edd543bb23df 100644 --- a/graphics/nip2/Makefile +++ b/graphics/nip2/Makefile @@ -1,63 +1,63 @@ PORTNAME= nip2 PORTVERSION= 8.7.1 PORTREVISION= 14 CATEGORIES= graphics MASTER_SITES= https://github.com/libvips/${PORTNAME}/releases/download/v${PORTVERSION}/ PATCH_SITES= https://github.com/libvips/${PORTNAME}/commit/ PATCHFILES+= 8bdb1459bc2.patch:-p1 # https://github.com/libvips/nip2/pull/96 MAINTAINER= ports@FreeBSD.org COMMENT= Graphical user interface for VIPS WWW= https://github.com/jcupitt/nip2 LICENSE= GPLv2 BUILD_DEPENDS= xdg-open:devel/xdg-utils LIB_DEPENDS= libvips.so:graphics/vips \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= xdg-open:devel/xdg-utils USES= bison cpe desktop-file-utils dos2unix gettext gmake gnome pkgconfig \ shared-mime-info CPE_VENDOR= ${PORTNAME}_project DOS2UNIX_GLOB= *.def -USE_GNOME= cairo gdkpixbuf2 gtk20 libxml2 +USE_GNOME= cairo gdkpixbuf gtk20 libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+= --disable-update-desktop LDFLAGS+= -lm SUB_FILES= run-nip2.sh OPTIONS_DEFINE= DOCS FFTW GRAPHVIZ GSF GSL OPTIONS_DEFAULT= FFTW GRAPHVIZ GSF GSL FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_CONFIGURE_WITH= fftw3 GRAPHVIZ_DESC= Use libgvc to show workspace dependency graphs GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CONFIGURE_WITH= libgvc GSF_DESC= Use libgsf to save plots to files GSF_USE= gnome=libgsf GSF_CONFIGURE_WITH= libgsf GSL_DESC= Use gsl for numeric functions GSL_LIB_DEPENDS= libgsl.so:math/gsl GSL_CONFIGURE_WITH= gsl post-install: (cd ${WRKDIR} && ${INSTALL_SCRIPT} run-nip2.sh \ ${STAGEDIR}/${PREFIX}/bin) test check: build # # Checks currently require ImageMagick's convert to be available # and aren't enabled by default. They take a long time -- tail # the log-file: # ${WRKSRC}/test/test_all.sh.log # (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check) .include diff --git a/graphics/noaa-apt/Makefile b/graphics/noaa-apt/Makefile index a36957fe14e0..9e656ccf0066 100644 --- a/graphics/noaa-apt/Makefile +++ b/graphics/noaa-apt/Makefile @@ -1,272 +1,272 @@ PORTNAME= noaa-apt DISTVERSIONPREFIX= v DISTVERSION= 1.4.1 PORTREVISION= 10 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= NOAA APT weather satellite image decoder WWW= http://noaa-apt.mbernardi.com.ar LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cargo gnome pkgconfig ssl -USE_GNOME= gdkpixbuf2 gtk30 +USE_GNOME= gdkpixbuf gtk30 USE_GITHUB= yes GH_ACCOUNT= martinber CARGO_CRATES= addr2line-0.21.0 \ adler-1.0.2 \ android-tzdata-0.1.1 \ android_system_properties-0.1.5 \ approx-0.5.1 \ argparse-0.2.2 \ atk-0.18.0 \ atk-sys-0.18.0 \ autocfg-1.1.0 \ backtrace-0.3.69 \ base64-0.21.5 \ bit_field-0.10.2 \ bitflags-1.3.2 \ bitflags-2.4.1 \ bumpalo-3.14.0 \ bytemuck-1.14.0 \ byteorder-1.5.0 \ bytes-1.5.0 \ cairo-rs-0.18.3 \ cairo-sys-rs-0.18.2 \ cc-1.0.83 \ cfg-expr-0.15.5 \ cfg-if-1.0.0 \ chrono-0.4.31 \ color_quant-1.1.0 \ colored-2.0.4 \ core-foundation-0.9.3 \ core-foundation-sys-0.8.4 \ crc32fast-1.3.2 \ crossbeam-deque-0.8.3 \ crossbeam-epoch-0.9.15 \ crossbeam-utils-0.8.16 \ crunchy-0.2.2 \ dbase-0.3.0 \ deranged-0.3.9 \ directories-5.0.1 \ dirs-sys-0.4.1 \ either-1.9.0 \ encoding_rs-0.8.33 \ equivalent-1.0.1 \ errno-0.3.8 \ exr-1.71.0 \ fastrand-2.0.1 \ fdeflate-0.3.1 \ field-offset-0.3.6 \ filetime-0.2.22 \ flate2-1.0.28 \ flume-0.11.0 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.2.1 \ futures-channel-0.3.29 \ futures-core-0.3.29 \ futures-executor-0.3.29 \ futures-io-0.3.29 \ futures-macro-0.3.29 \ futures-sink-0.3.29 \ futures-task-0.3.29 \ futures-util-0.3.29 \ gcd-2.3.0 \ gdk-0.18.0 \ gdk-pixbuf-0.18.3 \ gdk-pixbuf-sys-0.18.0 \ gdk-sys-0.18.0 \ getrandom-0.2.11 \ gif-0.12.0 \ gimli-0.28.1 \ gio-0.18.3 \ gio-sys-0.18.1 \ glib-0.18.3 \ glib-macros-0.18.3 \ glib-sys-0.18.1 \ gobject-sys-0.18.0 \ gtk-0.18.1 \ gtk-sys-0.18.0 \ gtk3-macros-0.18.0 \ h2-0.3.22 \ half-2.2.1 \ hashbrown-0.14.3 \ heck-0.4.1 \ hermit-abi-0.3.3 \ hound-3.5.1 \ http-0.2.11 \ http-body-0.4.5 \ httparse-1.8.0 \ httpdate-1.0.3 \ hyper-0.14.27 \ hyper-tls-0.5.0 \ iana-time-zone-0.1.58 \ iana-time-zone-haiku-0.1.2 \ idna-0.5.0 \ image-0.24.7 \ indexmap-2.1.0 \ ipnet-2.9.0 \ is-terminal-0.4.9 \ itoa-1.0.9 \ jpeg-decoder-0.3.0 \ js-sys-0.3.66 \ lab-0.11.0 \ lazy_static-1.4.0 \ lebe-0.5.2 \ libc-0.2.150 \ libredox-0.0.1 \ line_drawing-1.0.0 \ linux-raw-sys-0.4.11 \ lock_api-0.4.11 \ log-0.4.20 \ memchr-2.6.4 \ memoffset-0.9.0 \ mime-0.3.17 \ miniz_oxide-0.7.1 \ mio-0.8.9 \ native-tls-0.2.11 \ num-complex-0.4.4 \ num-integer-0.1.45 \ num-rational-0.4.1 \ num-traits-0.2.17 \ num_cpus-1.16.0 \ num_threads-0.1.6 \ object-0.32.1 \ once_cell-1.18.0 \ openssl-0.10.60 \ openssl-macros-0.1.1 \ openssl-probe-0.1.5 \ openssl-src-300.1.6+3.1.4 \ openssl-sys-0.9.96 \ option-ext-0.2.0 \ pango-0.18.3 \ pango-sys-0.18.0 \ percent-encoding-2.3.1 \ pin-project-lite-0.2.13 \ pin-utils-0.1.0 \ pkg-config-0.3.27 \ png-0.17.10 \ powerfmt-0.2.0 \ primal-check-0.3.3 \ proc-macro-crate-1.3.1 \ proc-macro-crate-2.0.0 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.70 \ qoi-0.4.1 \ quote-1.0.33 \ rayon-1.8.0 \ rayon-core-1.12.0 \ redox_syscall-0.3.5 \ redox_syscall-0.4.1 \ redox_users-0.4.4 \ reqwest-0.11.22 \ rustc-demangle-0.1.23 \ rustc_version-0.4.0 \ rustfft-6.1.0 \ rustix-0.38.25 \ ryu-1.0.15 \ schannel-0.1.22 \ scopeguard-1.2.0 \ security-framework-2.9.2 \ security-framework-sys-2.9.1 \ semver-1.0.20 \ serde-1.0.193 \ serde_derive-1.0.193 \ serde_json-1.0.108 \ serde_spanned-0.6.4 \ serde_urlencoded-0.7.1 \ shapefile-0.4.0 \ simd-adler32-0.3.7 \ simple_logger-4.3.0 \ slab-0.4.9 \ smallvec-1.11.2 \ socket2-0.4.10 \ socket2-0.5.5 \ spin-0.9.8 \ strength_reduce-0.2.4 \ syn-1.0.109 \ syn-2.0.39 \ system-configuration-0.5.1 \ system-configuration-sys-0.5.0 \ system-deps-6.2.0 \ target-lexicon-0.12.12 \ tempfile-3.8.1 \ thiserror-1.0.50 \ thiserror-impl-1.0.50 \ tiff-0.9.0 \ time-0.3.30 \ time-core-0.1.2 \ time-macros-0.2.15 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.1 \ tokio-1.34.0 \ tokio-native-tls-0.3.1 \ tokio-util-0.7.10 \ toml-0.7.8 \ toml-0.8.8 \ toml_datetime-0.6.5 \ toml_edit-0.19.15 \ toml_edit-0.20.7 \ toml_edit-0.21.0 \ tower-service-0.3.2 \ tracing-0.1.40 \ tracing-core-0.1.32 \ transpose-0.2.2 \ try-lock-0.2.4 \ unicode-bidi-0.3.13 \ unicode-ident-1.0.12 \ unicode-normalization-0.1.22 \ url-2.5.0 \ vcpkg-0.2.15 \ version-compare-0.1.1 \ version_check-0.9.4 \ want-0.3.1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.89 \ wasm-bindgen-backend-0.2.89 \ wasm-bindgen-futures-0.4.39 \ wasm-bindgen-macro-0.2.89 \ wasm-bindgen-macro-support-0.2.89 \ wasm-bindgen-shared-0.2.89 \ web-sys-0.3.66 \ weezl-0.1.7 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-core-0.51.1 \ windows-sys-0.48.0 \ windows-sys-0.52.0 \ windows-targets-0.48.5 \ windows-targets-0.52.0 \ windows_aarch64_gnullvm-0.48.5 \ windows_aarch64_gnullvm-0.52.0 \ windows_aarch64_msvc-0.48.5 \ windows_aarch64_msvc-0.52.0 \ windows_i686_gnu-0.48.5 \ windows_i686_gnu-0.52.0 \ windows_i686_msvc-0.48.5 \ windows_i686_msvc-0.52.0 \ windows_x86_64_gnu-0.48.5 \ windows_x86_64_gnu-0.52.0 \ windows_x86_64_gnullvm-0.48.5 \ windows_x86_64_gnullvm-0.52.0 \ windows_x86_64_msvc-0.48.5 \ windows_x86_64_msvc-0.52.0 \ winnow-0.5.19 \ winreg-0.50.0 \ zune-inflate-0.2.54 \ satellite@git+https://github.com/richinfante/satellite-rs?rev=1f95726\#1f957264057882192e467e07df7fe10c5f29c008 OPENSSLINC= /usr/include OPENSSLLIB= /usr/lib PLIST_FILES= bin/${PORTNAME} .include diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index eaab5c44521f..40a3b279c16e 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,253 +1,253 @@ PORTNAME= opencv DISTVERSION= 4.9.0 PORTREVISION= 7 CATEGORIES= graphics MAINTAINER= desktop@FreeBSD.org COMMENT= Open Source Computer Vision library WWW= https://www.opencv.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libhdf5.so:science/hdf5 USES= cmake compiler:c++14-lang cpe gnome localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= WeChatCV:wechat GH_PROJECT= opencv_contrib:contrib \ ade:ade \ opencv_3rdparty:extra_mod_3rdparty_boost_descr \ opencv_3rdparty:extra_mod_3rdparty_vgg \ opencv_3rdparty:wechat \ opencv_3rdparty:face \ opencv_3rdparty:ippicv GH_TAGNAME= v0.1.1f:ade \ 34e4206aef44d50e6bbcd0ab06354b52e7466d26:extra_mod_3rdparty_boost_descr \ fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d:extra_mod_3rdparty_vgg \ a8b69ccc738421293254aec5ddb38bd523503252:wechat \ 8afa57abc8229d611c4937165d20e2a2d9fc5a12:face \ a56b6ac6f030c312b2dce17430eef13aed9af274:ippicv CMAKE_ON= OPENCV_GENERATE_PKGCONFIG \ OPENCV_SKIP_CMAKE_CXX_STANDARD CMAKE_OFF= OPENCV_GENERATE_SETUPVARS \ BUILD_opencv_python2 \ BUILD_TESTS CMAKE_OFF+= WITH_OBSENSOR # linux/uvcvideo.h is included when WITH_OBSENSOR is enabled CMAKE_ARGS= -DOPENCV_EXTRA_MODULES_PATH="${WRKSRC}/contrib/modules" DATADIR= ${PREFIX}/share/${PORTNAME}4 PLIST_SUB= SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL \ PATENTED PROTOBUF PYTHON TBB TESSERACT OPTIONS_GROUP= GUI IMAGE VIDEO OPTIONS_GROUP_GUI= GTK3 VTK OPTIONS_GROUP_IMAGE= GPHOTO2 JPEG OGRE3D OPENEXR PNG TIFF OPTIONS_GROUP_VIDEO= DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE OPTIONS_SINGLE= BLAS OPTIONS_SINGLE_BLAS= ATLAS OPENBLAS NOBLAS OPTIONS_RADIO= JPEG2K OPTIONS_RADIO_JPEG2K= JASPER OPENJPEG OPTIONS_DEFAULT= EIGEN GDAL GDCM OPENCL PROTOBUF PYTHON \ DC1394 GSTREAMER V4L VULKAN WEBP \ GPHOTO2 JPEG OPENEXR PNG TIFF \ OPENBLAS \ OPENJPEG OPTIONS_SUB= yes # Normal options (EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL PATENTED PROTOBUF PYTHON TBB) EIGEN_DESC= Add Eigen v3 Support, builds sfm modules EIGEN_CMAKE_BOOL= WITH_EIGEN EIGEN_LIB_DEPENDS= libgflags.so:devel/gflags \ libglog.so:devel/glog \ libceres.so:math/ceres-solver EIGEN_USES= eigen:3 GDAL_DESC= Add Geospatial Data Abstraction Library Support GDAL_CMAKE_BOOL= WITH_GDAL GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDCM_DESC= Add Open source DICOM library Support GDCM_CMAKE_BOOL= WITH_GDCM GDCM_LIB_DEPENDS= libgdcmMSFF.so:devel/gdcm HARDENING_DESC= Enables Build Hardening HARDENING_CMAKE_BOOL= ENABLE_BUILD_HARDENING JAVA_DESC= Enable Java Support JAVA_BUILD_DEPENDS= ant:devel/apache-ant JAVA_CMAKE_BOOL= BUILD_opencv_java BUILD_opencv_java_bindings_generator BUILD_JAVA JAVA_MAKE_ENV= JAVACMD=${JAVA} JAVA_USES= java LTO_DESC= Enables Link Time Optimizations LTO_CMAKE_BOOL= ENABLE_THIN_LTO OPENCL_DESC= Add OpenCL Support OPENCL_CMAKE_BOOL= WITH_OPENCL OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl OPENCL_RUN_DEPENDS= opencl>=0:devel/opencl PATENTED_DESC= Enable patented 2d feature detection USE AT OWN RISK PATENTED_CMAKE_BOOL= OPENCV_ENABLE_NONFREE PROTOBUF_DESC= Enable protobuf support, builds dnn modules PROTOBUF_CMAKE_BOOL= WITH_PROTOBUF # by default the bundled protobuf is built PYTHON_DESC= Enable Python Support 3.6 or greater PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_USES= python PYTHON_CMAKE_BOOL= BUILD_opencv_python3 PYTHON_CMAKE_ON= -DOPENCV_PYTHON3_INSTALL_PATH=${PYTHON_SITELIBDIR} TBB_DESC= Add Intel Threading Building Blocks Support TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TESSERACT_DESC= Add Tesseract-based OCR TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CMAKE_BOOL= WITH_TESSERACT ### # GUI group options (GTK3 VTK) -GTK3_USE= gnome=gtk30,cairo,gdkpixbuf2 +GTK3_USE= gnome=gtk30,cairo,gdkpixbuf GTK3_CMAKE_BOOL= WITH_GTK VTK_DESC= Include VTK library support (build opencv_viz module) VTK_CMAKE_BOOL= WITH_VTK VTK_LIB_DEPENDS= libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} VTK_USES= qt:5 VTK_USE= QT=buildtools:build,qmake:build ### # IMAGE group options (GPHOTO2 JPEG OPENEXR PNG TIFF) GPHOTO2_DESC= Add Gphoto2 Support GPHOTO2_CMAKE_BOOL= WITH_GPHOTO2 GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 JPEG_DESC= Add LibJpeg Support JPEG_CMAKE_BOOL= WITH_JPEG JPEG_USES= jpeg OGRE3D_DESC= Add OGRE support OGRE3D_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d OGRE3D_CMAKE_BOOL= BUILD_opencv_ovis OPENEXR_DESC= Add OpenEXR Support OPENEXR_CMAKE_BOOL= WITH_OPENEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr PNG_DESC= Add LibPNG Support PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng16.so:graphics/png TIFF_DESC= Add LibTIFF Support TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff ### # VIDEO group options (DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE) DC1394_DESC= IEEE 1394 camera support DC1394_CMAKE_BOOL= WITH_1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 FFMPEG_DESC= Link with ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg GSTREAMER_DESC= Add GSTREAMER Support GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER GSTREAMER_USES= gstreamer GSTREAMER_USE= gnome=glib20 V4L_DESC= Enable support for Video for Linux V4L_CMAKE_BOOL= WITH_V4L WITH_LIBV4L V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l VULKAN_DESC= Add Vulkan Support VULKAN_CMAKE_BOOL= WITH_VULKAN VULKAN_CMAKE_ON= -DVULKAN_INCLUDE_DIRS=${LOCALBASE}/include VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers WEBP_DESC= Add Webp Support WEBP_CMAKE_BOOL= WITH_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XINE_DESC= Add Xine Support XINE_CMAKE_BOOL= WITH_XINE XINE_LIB_DEPENDS= libxine.so:multimedia/libxine ### # BLAS group options (ATLAS OPENBLAS NOBLAS) ATLAS_DESC= ATLAS blas implementation with lapacke ATLAS_USES= blaslapack:atlas ATLAS_BUILD_DEPENDS= cblas>0:math/cblas \ lapacke>0:math/lapacke OPENBLAS_DESC= OpenBLAS blas implementation with lapacke OPENBLAS_USES= blaslapack:openblas OPENBLAS_BUILD_DEPENDS= cblas>0:math/cblas \ lapacke>0:math/lapacke NOBLAS_DESC= Disable support for lapack/blas NOBLAS_CMAKE_BOOL_OFF= WITH_LAPACK ### # JPEG2K group options (JASPER OPENJPEG) JASPER_DESC= Add Jasper Support for JPEG2000 JASPER_CMAKE_BOOL= WITH_JASPER JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper OPENJPEG_DESC= Add OpenJPEG Support for JPEG2000, OpenCV preferred OPENJPEG_CMAKE_BOOL= WITH_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg ### _IPPICV_i386= ippicv/ippicv_2020_lnx_ia32_20191018_general.tgz _IPPICV_amd64= ippicv/ippicv_2020_lnx_intel64_20191018_general.tgz .include .if ${ARCH} == powerpc64le && defined(MACHINE_CPU) && ${MACHINE_CPU:Mvsx3} CMAKE_ARGS+= -DCPU_BASELINE:STRING="VSX;VSX3;" .endif post-extract: # Handle contrib ${MV} ${WRKSRC_contrib} ${WRKSRC}/contrib # Handle prefetched ade modul ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ade ${MV} ${WRKSRC_ade} ${BUILD_WRKSRC}/3rdparty/ade # Handle prefetched xfeatures2d ${MKDIR} ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_boost_descr}/* ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_vgg}/* ${BUILD_WRKSRC}/downloads/xfeatures2d # Handle prefetched wechat ${MKDIR} ${BUILD_WRKSRC}/downloads/wechat_qrcode ${CP} ${WRKSRC_wechat}/* ${BUILD_WRKSRC}/downloads/wechat_qrcode/ # Handle Face ${MKDIR} ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face ${CP} ${WRKSRC_face}/* ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face # Handle ippicv .if defined(_IPPICV_${ARCH}) ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ippicv (cd ${BUILD_WRKSRC}/3rdparty/ippicv && ${EXTRACT_CMD} -xf ${WRKSRC_ippicv}/${_IPPICV_${ARCH}}) .endif post-patch: ${REINPLACE_CMD} -e 's|/usr/lib/atlas-base|${LOCALBASE}/lib|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake ${REINPLACE_CMD} -e 's|/usr/include/atlas|${LOCALBASE}/include|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake .include <../../math/vtk9/Makefile.version> .include diff --git a/graphics/openslide/Makefile b/graphics/openslide/Makefile index 690f1eb4a146..030f5a1657f7 100644 --- a/graphics/openslide/Makefile +++ b/graphics/openslide/Makefile @@ -1,27 +1,27 @@ PORTNAME= openslide DISTVERSIONPREFIX= v DISTVERSION= 4.0.0 PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= C library for reading virtual slide images WWW= https://openslide.org \ https://github.com/openslide/openslide LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libdicom.so:graphics/libdicom \ libopenjp2.so:graphics/openjpeg \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff USES= gettext-runtime gnome jpeg meson pkgconfig sqlite USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 glib20 libxml2 +USE_GNOME= cairo gdkpixbuf glib20 libxml2 USE_LDCONFIG= yes MESON_ARGS= -Ddoc=disabled .include diff --git a/graphics/pdfpc/Makefile b/graphics/pdfpc/Makefile index cef15fab4746..ba827ded73e5 100644 --- a/graphics/pdfpc/Makefile +++ b/graphics/pdfpc/Makefile @@ -1,34 +1,34 @@ PORTNAME= pdfpc DISTVERSION= 4.6.0 CATEGORIES= graphics DISTVERSIONPREFIX= v PORTREVISION= 7 MAINTAINER= bapt@FreeBSD.org COMMENT= Keynote-like multi-monitor presentation viewer WWW= https://pdfpc.github.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/lib/libmarkdown.a:textproc/discount LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib \ libmarkdown.so:textproc/discount \ libpoppler-glib.so:graphics/poppler-glib \ libqrencode.so:graphics/libqrencode \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 USES= cmake compiler:c11 gnome gstreamer pkgconfig vala:build xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 USE_GITHUB= yes post-install: @${MV} ${STAGEDIR}${PREFIX}/etc/pdfpcrc \ ${STAGEDIR}${PREFIX}/etc/pdfpcrc.sample .include diff --git a/graphics/pqiv/Makefile b/graphics/pqiv/Makefile index 5193cdb1f598..9254c1916575 100644 --- a/graphics/pqiv/Makefile +++ b/graphics/pqiv/Makefile @@ -1,85 +1,85 @@ PORTNAME= pqiv PORTVERSION= 2.13.2 CATEGORIES= graphics MAINTAINER= danilo@FreeBSD.org COMMENT= Pretty Quick Image Viewer WWW= https://github.com/phillipberndt/pqiv LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 BUILD_DEPENDS= bash:shells/bash USES= compiler gettext-runtime gmake gnome pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= phillipberndt OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 OPTIONS_MULTI= BACKENDS OPTIONS_MULTI_BACKENDS= LIBARCHIVE LIBAV PIXBUF POPPLER SPECTRE WAND WEBP LIBARCHIVE_DESC= Libarchive formats support LIBAV_DESC= Video support SPECTRE_DESC= PS/EPS support WAND_DESC= ImageMagick image processing support OPTIONS_DEFAULT= GTK3 LIBARCHIVE LIBAV PIXBUF POPPLER WEBP USE_XORG= x11 -USE_GNOME= cairo gdkpixbuf2 +USE_GNOME= cairo gdkpixbuf HAS_CONFIGURE= yes LIBARCHIVE_CONFIGURE_WITH= archive archive_cbx LIBARCHIVE_USES= libarchive LIBAV_CONFIGURE_WITH= libav LIBAV_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg PIXBUF_CONFIGURE_WITH= gdkpixbuf POPPLER_CONFIGURE_WITH= poppler POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib SPECTRE_CONFIGURE_WITH= spectre SPECTRE_LIB_DEPENDS= libspectre.so:print/libspectre WAND_CONFIGURE_WITH= wand WAND_USES= magick:6 WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp GTK2_CONFIGURE_ON= --gtk-version=2 GTK2_USE= GNOME=gtk20 GTK3_CONFIGURE_ON= --gtk-version=3 GTK3_USE= GNOME=gtk30 MAKEFILE= GNUmakefile PORTDOCS= README.markdown PLIST_FILES= bin/pqiv share/man/man1/pqiv.1.gz .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: @${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \ -e '/PQIV_DISABLE_PEDANTIC/d' \ -e '/PQIV_ENABLE_PEDANTIC/d' \ ${WRKSRC}/pqiv.c .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pqiv ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pqiv.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile index a91196ce71b5..2c4bf8441140 100644 --- a/graphics/qiv/Makefile +++ b/graphics/qiv/Makefile @@ -1,36 +1,36 @@ PORTNAME= qiv PORTVERSION= 2.3.3 PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= http://spiegl.de/qiv/download/ \ http://www.predatorlabs.net/dl/ MAINTAINER= danilo@FreeBSD.org COMMENT= Small, fast GDK/Imlib2 image viewer WWW= https://spiegl.de/qiv/ LICENSE= GPLv2 LIB_DEPENDS= libImlib2.so:graphics/imlib2 \ liblcms2.so:graphics/lcms2 \ libexif.so:graphics/libexif \ libtiff.so:graphics/tiff USES= gmake gnome jpeg pkgconfig tar:tgz xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 PLIST_FILES= bin/qiv share/man/man1/qiv.1.gz USE_XORG+= x11 xext do-configure: @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|; \ s|gcc|${CC}|; \ s|-O2|${CFLAGS}|; \ s|libs-gdk`|libs-gdk` ${LDFLAGS}|;' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/qiv ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/qiv.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/graphics/rawstudio/Makefile b/graphics/rawstudio/Makefile index 01d51671350e..910ce22b8034 100644 --- a/graphics/rawstudio/Makefile +++ b/graphics/rawstudio/Makefile @@ -1,52 +1,52 @@ PORTNAME= rawstudio PORTVERSION= 2.0 PORTREVISION= 27 CATEGORIES= graphics MASTER_SITES= http://rawstudio.org/files/release/ MAINTAINER= danfe@FreeBSD.org COMMENT= Open-source program to read and manipulate RAW photo images WWW= https://rawstudio.org/ LICENSE= GPLv2+ BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libcurl.so:ftp/curl \ liblcms.so:graphics/lcms \ libexiv2.so:graphics/exiv2 \ libdbus-1.so:devel/dbus \ libfftw3f.so:math/fftw3-float \ libflickcurl.so:www/flickcurl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgphoto2.so:graphics/libgphoto2 \ libharfbuzz.so:print/harfbuzz \ liblensfun.so:graphics/lensfun \ libpng.so:graphics/png \ libraptor2.so:textproc/raptor2 \ libtiff.so:graphics/tiff USES= compiler:c++11-lang cpe desktop-file-utils gmake gnome \ jpeg libtool localbase pathfix pkgconfig sqlite xorg -USE_GNOME= cairo gconf2 gdkpixbuf2 gtk20 libxml2 +USE_GNOME= cairo gconf2 gdkpixbuf gtk20 libxml2 USE_LDCONFIG= yes USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CXXFLAGS+= -Wno-c++11-narrowing OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e '/^pkg_modules=/s,libssl,gthread-2.0,' \ ${WRKSRC}/configure # lensfun 0.3.0 had removed support for LF_MODIFY_CCI @${REINPLACE_CMD} -e 's, | LF_MODIFY_CCI,,' \ ${WRKSRC}/plugins/lensfun/lensfun.c .include diff --git a/graphics/rgbpaint/Makefile b/graphics/rgbpaint/Makefile index 8ae96e9eda90..c29dd6fd4b88 100644 --- a/graphics/rgbpaint/Makefile +++ b/graphics/rgbpaint/Makefile @@ -1,43 +1,43 @@ PORTNAME= rgbpaint PORTVERSION= 0.8.7 PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= SF/mtpaint/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Very basic painting program WWW= https://mtpaint.sourceforge.net/rgbpaint.html LICENSE= GPLv2+ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= gettext gnome pkgconfig tar:bzip2 xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/share/man/man1 \ --locale=${PREFIX}/share/locale cflags slow intl man CFLAGS+= -fcommon DESKTOP_ENTRIES="rgbPaint" "" "" "${PORTNAME}" "" true post-patch: @${REINPLACE_CMD} '/if \[/s|==|=|g ; \ /gcc/s|^|#| ; \ /GTK_LIB/s| -s||' \ ${WRKSRC}/configure @${REINPLACE_CMD} 's|$$(MT_MAN_DEST)|$$(DESTDIR)&|g' \ ${WRKSRC}/doc/Makefile @${REINPLACE_CMD} 's|$$(MT_LANG_DEST)|$$(DESTDIR)&|g' \ ${WRKSRC}/po/Makefile @${REINPLACE_CMD} 's|$$(BIN_INSTALL)|$$(DESTDIR)&|g ; \ /^LDFLAGS/s|$$| -lX11 -lm -lintl|' \ ${WRKSRC}/src/Makefile post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rgbpaint .include diff --git a/graphics/ristretto/Makefile b/graphics/ristretto/Makefile index a6c3bb456441..c4a0fc3eebc9 100644 --- a/graphics/ristretto/Makefile +++ b/graphics/ristretto/Makefile @@ -1,36 +1,36 @@ PORTNAME= ristretto PORTVERSION= 0.13.3 CATEGORIES= graphics xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Image viewer with Xfce integration WWW= https://docs.xfce.org/apps/ristretto/start LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexif.so:graphics/libexif \ libharfbuzz.so:print/harfbuzz USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome \ pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libmenu xfconf USE_XORG= ice sm x11 GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS TUMBLER OPTIONS_DEFAULT= TUMBLER OPTIONS_SUB= yes TUMBLER_DESC= Install Tumbler dependency for creating thumbnails NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls TUMBLER_RUN_DEPENDS= xfce4-tumbler>0:deskutils/xfce4-tumbler .include diff --git a/graphics/rubygem-gdk_pixbuf2/Makefile b/graphics/rubygem-gdk_pixbuf2/Makefile index 0688a1f90d16..c9729828174d 100644 --- a/graphics/rubygem-gdk_pixbuf2/Makefile +++ b/graphics/rubygem-gdk_pixbuf2/Makefile @@ -1,22 +1,22 @@ PORTNAME= gdk_pixbuf2 PORTVERSION= 4.2.7 CATEGORIES= graphics rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby binding of GdkPixbuf 2.x WWW= https://ruby-gnome.github.io/ \ https://github.com/ruby-gnome/ruby-gnome LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= rubygem-rake>=0:devel/rubygem-rake RUN_DEPENDS= rubygem-gio2>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-gio2 USES= gem gnome -USE_GNOME= gdkpixbuf2 +USE_GNOME= gdkpixbuf NO_ARCH= yes .include diff --git a/graphics/satty/Makefile b/graphics/satty/Makefile index 12e5580afa0b..f7a6fcef5d89 100644 --- a/graphics/satty/Makefile +++ b/graphics/satty/Makefile @@ -1,33 +1,33 @@ PORTNAME= satty DISTVERSIONPREFIX= v DISTVERSION= 0.16.0 PORTREVISION= 2 CATEGORIES= graphics wayland MASTER_SITES= CRATESIO MAINTAINER= jbeich@FreeBSD.org COMMENT= Modern screenshot annotation WWW= https://github.com/gabm/Satty LICENSE= MPL20 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig USES= cargo desktop-file-utils gnome USE_GITHUB= yes -USE_GNOME= gdkpixbuf2 gtk40 libadwaita +USE_GNOME= gdkpixbuf gtk40 libadwaita GH_ACCOUNT= gabm GH_PROJECT= Satty CARGO_ENV= SOURCE_DIR="${WRKSRC}" PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg post-install: .for f in *.desktop assets/*.svg ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}:H} ${INSTALL_DATA} ${WRKSRC}/${f} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}} .endfor .include diff --git a/graphics/simple-scan/Makefile b/graphics/simple-scan/Makefile index 79f519221c00..07a9baeb7fc8 100644 --- a/graphics/simple-scan/Makefile +++ b/graphics/simple-scan/Makefile @@ -1,39 +1,39 @@ PORTNAME= simple-scan PORTVERSION= 46.0 CATEGORIES= graphics gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Simple scanning utility WWW= https://gitlab.gnome.org/GNOME/simple-scan LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgusb.so:devel/libgusb \ libsane.so:graphics/sane-backends USES= gettext gnome meson pkgconfig python:build shebangfix tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 gtk40 libadwaita +USE_GNOME= cairo gdkpixbuf gtk40 libadwaita SHEBANG_FILES= data/meson_compile_gschema.py GLIB_SCHEMAS= org.gnome.SimpleScan.gschema.xml OPTIONS_DEFINE= COLORD PACKAGEKIT WEBP OPTIONS_DEFAULT=COLORD WEBP COLORD_LIB_DEPENDS= libcolord.so:graphics/colord PACKAGEKIT_DESC= Driver installation via PackageKit PACKAGEKIT_LIB_DEPENDS= libpackagekit-glib2.so:ports-mgmt/packagekit WEBP_LIB_DEPENDS= libwebp.so:graphics/webp .for opt in COLORD PACKAGEKIT WEBP post-patch-${opt}-off: @${REINPLACE_CMD} 's/^if ${opt:tl}_dep.*/if false/' \ ${WRKSRC}/src/meson.build .endfor .include diff --git a/graphics/swappy/Makefile b/graphics/swappy/Makefile index fd9e1ae65972..4e0543163209 100644 --- a/graphics/swappy/Makefile +++ b/graphics/swappy/Makefile @@ -1,47 +1,47 @@ PORTNAME= swappy DISTVERSIONPREFIX= v DISTVERSION= 1.5.1 PORTREVISION= 3 CATEGORIES= graphics wayland MAINTAINER= ports@FreeBSD.org COMMENT= Snapshot editing for Wayland (a la Snappy on macOS) WWW= https://github.com/jtheoof/swappy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 desktop-file-utils gettext-tools gnome meson pkgconfig USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GH_ACCOUNT= jtheoof PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg \ share/locale/de/LC_MESSAGES/${PORTNAME}.mo \ share/locale/en/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fr/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pt_BR/LC_MESSAGES/${PORTNAME}.mo \ share/locale/tr/LC_MESSAGES/${PORTNAME}.mo \ ${NULL} OPTIONS_DEFINE= CLIPBOARD ICONSFONT MANPAGES OPTIONS_DEFAULT=CLIPBOARD ICONSFONT MANPAGES CLIPBOARD_DESC= Copy to clipboard support CLIPBOARD_RUN_DEPENDS= wl-copy:x11/wl-clipboard ICONSFONT_DESC= Install Font Awesome to properly render icons ICONSFONT_RUN_DEPENDS= font-awesome>0:x11-fonts/font-awesome MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/graphics/synfigstudio/Makefile b/graphics/synfigstudio/Makefile index bc53610becef..51273433b846 100644 --- a/graphics/synfigstudio/Makefile +++ b/graphics/synfigstudio/Makefile @@ -1,62 +1,62 @@ PORTNAME= synfigstudio DISTVERSIONPREFIX= v DISTVERSION= 1.4.5 PORTREVISION= 1 CATEGORIES= graphics multimedia MAINTAINER= portmaster@BSDforge.com COMMENT= Vector-based 2D animation software package WWW= https://www.synfig.org/ LICENSE= GPLv2+ BUILD_DEPENDS= etl>=1.4.5:devel/etl \ gsed:textproc/gsed LIB_DEPENDS= libImath.so:math/Imath \ libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libOpenEXR.so:graphics/openexr \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsynfig.so:graphics/synfig RUN_DEPENDS= xdg-open:devel/xdg-utils USES= autoreconf compiler:c++11-lang desktop-file-utils gmake \ gnome libtool localbase magick:7 mlt:7 pathfix pkgconfig \ shared-mime-info USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= synfig GH_PROJECT= synfig -USE_GNOME= gdkpixbuf2 gtkmm30 intltool +USE_GNOME= gdkpixbuf gtkmm30 intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-update-mimedb INSTALL_TARGET= install-strip BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed PORTSCOUT= limitw:1,even WRKSRC_SUBDIR= synfig-studio OPTIONS_DEFINE= DOCS JACK NLS OPTIONS_SUB= yes JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS NEWS README TODO (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR}) .endfor .include diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile index 6601cf8564fa..b341938ae571 100644 --- a/graphics/ufraw/Makefile +++ b/graphics/ufraw/Makefile @@ -1,80 +1,80 @@ PORTNAME= ufraw PORTVERSION= 0.22.20210424 PORTREVISION= 11 CATEGORIES= graphics MAINTAINER= rodrigo@FreeBSD.org COMMENT= Read and manipulate raw images from various digital cameras WWW= https://ufraw.sourceforge.net/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= autoreconf compiler:c++11-lang desktop-file-utils gettext gmake \ gnome jpeg pkgconfig USE_CXXSTD= gnu++14 USE_GITHUB= yes GH_ACCOUNT= sergiomb2 GH_TAGNAME= f34669b -USE_GNOME+= cairo gdkpixbuf2 glib20 gtk20 +USE_GNOME+= cairo gdkpixbuf glib20 gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-mime \ --enable-extras \ --enable-jasper CPPFLAGS+= -I${LOCALBASE}/include #CXXFLAGS+= -D_NOEXCEPT=noexcept LDFLAGS+= -lpthread -L${LOCALBASE}/lib CONFLICTS_INSTALL= dcraw OPTIONS_DEFINE= CONTRAST DST EXIV2 FITS GIMP GTK2 LENSFUN OPTIONS_DEFAULT= CONTRAST EXIV2 GTK2 LENSFUN OPTIONS_SUB= yes CONTRAST_DESC= Enable contrast setting option DST_DESC= Use local time for timestamps FITS_DESC= FITS output support GIMP_DESC= Install GIMP plugin CONTRAST_CONFIGURE_ENABLE= contrast DST_CONFIGURE_ENABLE= dst-correction EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio FITS_CONFIGURE_WITH= cfitsio GIMP_IMPLIES= GTK2 GIMP_LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libgegl-0.4.so:graphics/gegl \ libgimp-2.0.so:graphics/gimp-app \ libjson-glib-1.0.so:devel/json-glib GIMP_CONFIGURE_WITH= gimp GTK2_LIB_DEPENDS= libgtkimageview.so:x11-toolkits/gtkimageview GTK2_CONFIGURE_WITH= gtk LENSFUN_LIB_DEPENDS= liblensfun.so:graphics/lensfun post-patch: ${GREP} -Ilrs 'default(none)' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's/default(none)//g' @${REINPLACE_CMD} -e 's|$$(datadir)/gconf/schemas|${PREFIX}/etc/gconf/schemas|g' \ ${WRKSRC}/Makefile.am post-patch-EXIV2-off: @${REINPLACE_CMD} -e 's|exiv2 >= 0.20|exiv2 < 0|g' \ ${WRKSRC}/configure.ac post-patch-LENSFUN-off: @${REINPLACE_CMD} -e 's|lensfun >= 0.2.5|lensfun < 0|g' \ ${WRKSRC}/configure.ac post-install: ${INSTALL_DATA} ${WRKSRC}/ufraw.desktop ${STAGEDIR}${DESKTOPDIR} .include diff --git a/graphics/variety/Makefile b/graphics/variety/Makefile index ea9413484fdc..2cbf850c2d4d 100644 --- a/graphics/variety/Makefile +++ b/graphics/variety/Makefile @@ -1,61 +1,61 @@ PORTNAME= variety PORTVERSION= 0.8.13 CATEGORIES= graphics MAINTAINER= nivit@FreeBSD.org COMMENT= Wallpaper changer WWW= https://github.com/varietywalls/variety LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-distutils-extra>=2.38:devel/py-python-distutils-extra@${PY_FLAVOR} LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 \ libnotify.so:devel/libnotify RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.3.2:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairo>=1.10.0:graphics/py-cairo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:devel/py-configobj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>=1.1.1_1:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=3.4.1_1:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ bash>=4.3.33:shells/bash \ ca_root_nss>=3.17.4:security/ca_root_nss \ coreutils>=8.23:sysutils/coreutils \ yelp>=3.14.1:x11/yelp USES= desktop-file-utils gettext-tools gnome magick:run python \ shebangfix USE_GITHUB= yes GH_ACCOUNT= varietywalls -USE_GNOME= gdkpixbuf2 gtk30 intltool pygobject3:run +USE_GNOME= gdkpixbuf gtk30 intltool pygobject3:run USE_PYTHON= autoplist distutils noflavors SHEBANG_FILES= bin/variety data/scripts/* PLIST_FILES= share/variety/config/quotes.txt post-patch: @(cd ${WRKSRC} && ${REINPLACE_CMD} \ -i '' \ -E -e 's,%%LOCALBASE%%,${LOCALBASE},1' \ -e 's,%%PREFIX%%,${PREFIX},1' \ -e 's,/usr(/share/backgrounds),${LOCALBASE}\1,1' \ data/config/variety.conf po/*.po* \ data/ui/PreferencesVarietyDialog.ui \ variety/Options.py variety/ThumbsWindow.py \ variety/__init__.py variety/VarietyWindow.py) post-install: ${INSTALL_DATA} ${WRKSRC}/variety/plugins/builtin/quotes/quotes.txt \ ${STAGEDIR}/${DATADIR}/config/quotes.txt .include # PYDISTUTILS_INSTALLNOSINGLE is deprecated so... PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed} .include diff --git a/graphics/viewnior/Makefile b/graphics/viewnior/Makefile index 92ab2a3cbcec..6a2988fa5705 100644 --- a/graphics/viewnior/Makefile +++ b/graphics/viewnior/Makefile @@ -1,38 +1,38 @@ PORTNAME= viewnior DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 1.8 PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast and simple image viewer WWW= https://siyanpanayotov.com/project/viewnior/ LICENSE= GPLv3 LIB_DEPENDS= libexiv2.so:graphics/exiv2 USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome \ meson ninja pkgconfig USE_GITHUB= yes GH_ACCOUNT= hellosiyan GH_PROJECT= Viewnior -USE_GNOME= gdkpixbuf2 glib20 gtk20 intlhack intltool +USE_GNOME= gdkpixbuf glib20 gtk20 intlhack intltool PORTDOCS= AUTHORS NEWS README.md OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime pre-configure: ${MKDIR} ${WRKSRC}/m4 post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/webp-pixbuf-loader/Makefile b/graphics/webp-pixbuf-loader/Makefile index aeec2b256919..aaed903033ac 100644 --- a/graphics/webp-pixbuf-loader/Makefile +++ b/graphics/webp-pixbuf-loader/Makefile @@ -1,20 +1,20 @@ PORTNAME= webp-pixbuf-loader DISTVERSION= 0.2.7 PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= duchateau.olivier@gmail.com COMMENT= WebP image loader plugin for GdkPixbuf2 WWW= https://github.com/aruiz/webp-pixbuf-loader LICENSE= LGPL20+ LIB_DEPENDS= libwebp.so:graphics/webp USES= gnome meson pkgconfig -USE_GNOME= glib20 gdkpixbuf2 +USE_GNOME= glib20 gdkpixbuf USE_GITHUB= yes GH_ACCOUNT= aruiz .include diff --git a/graphics/xmedcon/Makefile b/graphics/xmedcon/Makefile index 62d53172eac0..497c1c9d9c38 100644 --- a/graphics/xmedcon/Makefile +++ b/graphics/xmedcon/Makefile @@ -1,98 +1,98 @@ PORTNAME= xmedcon PORTVERSION= 0.23.0 PORTREVISION= 1 DISTVERSIONSUFFIX= -gtk2 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/XMedCon-Source/${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Medical image conversion utility and library WWW= http://xmedcon.sourceforge.net/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gnome libtool pkgconfig tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --includedir=${PREFIX}/include/xmedcon \ --enable-llcheck INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= X11 GLIB ACR_NEMA ANALYZE CONCORDE DICOM DICOM_LJPEG ECAT GIF \ INTERFILE INW PNG OPTIONS_DEFAULT=X11 GLIB ACR_NEMA ANALYZE CONCORDE DICOM DICOM_LJPEG ECAT GIF \ INTERFILE INW PNG OPTIONS_SUB= yes X11_CONFIGURE_ENABLE= gui -X11_USE= GNOME=cairo,gdkpixbuf2,gtk20 +X11_USE= GNOME=cairo,gdkpixbuf,gtk20 X11_DESKTOP_ENTRIES= "XMedCon" \ "" \ "${PREFIX}/etc/xmedcon.png" \ "${PORTNAME}" \ "" \ "" GLIB_DESC= With Glib GLIB_CONFIGURE_ENABLE= glib GLIB_USE= GNOME=glib20 ACR_NEMA_DESC= With Acr/Nema 2.0 ANALYZE_DESC= With Analyze (SPM) ANALYZE_CONFIGURE_ENABLE= anlz CONCORDE_DESC= With Concorde __ET CONCORDE_CONFIGURE_ENABLE= conc DICOM_DESC= With DICOM 3.0 DICOM_LJPEG_DESC= With DICOM 3.0 Lossless JPEG DICOM_LJPEG_CONFIGURE_ENABLE= ljpg ECAT_DESC= With CTI ECAT 6/7 ECAT_CONFIGURE_ENABLE= ecat INTERFILE_DESC= With InterFile 3.3 INTERFILE_CONFIGURE_ENABLE= intf INW_DESC= With INW (RUG) INW_CONFIGURE_ENABLE= inw GIF_CONFIGURE_OFF= --disable-gif PNG_CONFIGURE_ENABLE= png PNG_LIB_DEPENDS= libpng.so:graphics/png .include .if empty(PORT_OPTIONS:MACR_NEMA) || empty(PORT_OPTIONS:MDICOM) CONFIGURE_ARGS+= --disable-acr .endif .if empty(PORT_OPTIONS:MDICOM) || empty(PORT_OPTIONS:MDICOM_LJPEG) CONFIGURE_ARGS+= --disable-dicom .endif post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|etc||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/^configheadersdir/s|=.*$$|= $$(includedir)|g' \ ${WRKSRC}/source/Makefile.in @${REINPLACE_CMD} -e '/xmedcon.1/d' \ ${WRKSRC}/man/Makefile.in post-install-X11-on: .for file in xmedcon.png xmedconrc xmedconrc.linux ${INSTALL_DATA} ${WRKSRC}/etc/${file} ${STAGEDIR}${PREFIX}/etc .endfor ${INSTALL_MAN} ${WRKSRC}/man/xmedcon.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/graphics/xournalpp/Makefile b/graphics/xournalpp/Makefile index 5d01105556cd..0194a29a5004 100644 --- a/graphics/xournalpp/Makefile +++ b/graphics/xournalpp/Makefile @@ -1,36 +1,36 @@ PORTNAME= xournalpp DISTVERSIONPREFIX= v DISTVERSION= 1.2.3-20240830 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Handwriting notetaking software with PDF annotation support WWW= https://github.com/xournalpp/xournalpp LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= compilation fails: error: redefinition of 'getGVariantValue': see https://github.com/xournalpp/xournalpp/issues/5873 BROKEN_i386= compilation fails: error: redefinition of 'getGVariantValue': see https://github.com/xournalpp/xournalpp/issues/5873 BROKEN_powerpc= compilation fails: error: redefinition of 'getGVariantValue': see https://github.com/xournalpp/xournalpp/issues/5873 BUILD_DEPENDS= help2man:misc/help2man LIB_DEPENDS= libgtksourceview-4.so:x11-toolkits/gtksourceview4 \ libharfbuzz.so:print/harfbuzz \ libpoppler-glib.so:graphics/poppler-glib \ libportaudio.so:audio/portaudio \ libsndfile.so:audio/libsndfile \ libzip.so:archivers/libzip USES= cmake compiler:c++11-lang gettext-tools gnome lua pkgconfig tex xorg desktop-file-utils shared-mime-info USE_GITHUB= yes GH_TAGNAME= d435ef5 -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 librsvg2 libxml2 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 librsvg2 libxml2 pango USE_XORG= x11 xext xi USE_TEX= latex:build LDFLAGS+= -lexecinfo # CAVEAT: crashes when built with gcc: https://github.com/xournalpp/xournalpp/issues/851 .include diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile index 1c34fd3a2228..2fd645931e54 100644 --- a/graphics/xsane/Makefile +++ b/graphics/xsane/Makefile @@ -1,55 +1,55 @@ PORTNAME= xsane PORTVERSION= 0.999 PORTREVISION= 10 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Gtk-based X11 frontend for SANE (Scanner Access Now Easy) WWW= https://gitlab.com/sane-project/frontend/xsane LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/xsane.COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ liblcms.so:graphics/lcms BUILD_DEPENDS= scanimage:graphics/sane-backends RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gmake gnome jpeg localbase:ldflags pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.com/sane-project GL_ACCOUNT= frontend GL_TAGNAME= d01b4089ce6778e76fa86a0410d4e80cf6eb819e -USE_GNOME= gtk20 gdkpixbuf2 +USE_GNOME= gtk20 gdkpixbuf GNU_CONFIGURE= yes PORTDOCS= *.html *.jpg OPTIONS_DEFINE= DOCS GIMP NLS OPTIONS_DEFAULT= GIMP OPTIONS_SUB= yes GIMP_DESC= GIMP plugin support GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app GIMP_CONFIGURE_ENABLE= gimp2 gimp GIMP_SUB_FILES= pkg-message NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -L${LOCALBASE}/lib -lintl post-patch: @${REINPLACE_CMD} -e 's| $$(DESTDIR)$$(sbindir)||' \ -e 's|$${datadir}/sane/xsane/doc|${DOCSDIR}|g' \ -e 's|$$(DESTDIR)$$(xsanedocdir)||' \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e 's|@POSUB@ doc|@POSUB@|' ${WRKSRC}/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.man ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/xviewer/Makefile b/graphics/xviewer/Makefile index 5985e0936a25..fbb9041cf7e8 100644 --- a/graphics/xviewer/Makefile +++ b/graphics/xviewer/Makefile @@ -1,53 +1,53 @@ PORTNAME= xviewer PORTVERSION= 3.4.8 CATEGORIES= graphics gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Fast and functional image viewer WWW= https://github.com/linuxmint/xviewer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limit:^[0-9.]+$$ # ignore non-numeric tags BUILD_DEPENDS= itstool:textproc/itstool \ ${LOCALBASE}/share/aclocal/yelp.m4:textproc/yelp-tools LIB_DEPENDS= libcinnamon-desktop.so:x11/cinnamon-desktop \ libxapp.so:x11/xapp \ libpeas-1.0.so:devel/libpeas RUN_DEPENDS= yelp:x11/yelp USES= meson compiler:c++11-lang desktop-file-utils gettext-tools \ gnome localbase pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint -USE_GNOME= atk cairo gdkpixbuf2 gtk30 introspection pango +USE_GNOME= atk cairo gdkpixbuf gtk30 introspection pango USE_XORG= x11 GLIB_SCHEMAS= org.x.viewer.enums.xml org.x.viewer.gschema.xml OPTIONS_DEFINE= DOCS JPEG LCMS2 LIBEXIF LIBRSVG2 XMP OPTIONS_DEFAULT= JPEG LCMS2 LIBEXIF LIBRSVG2 XMP XMP_DESC= Adobe Extensible Metadata Platform support OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc DOCS_MESON_TRUE= docs JPEG_USES= jpeg JPEG_MESON_ENABLED= jpeg LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_MESON_ENABLED= exif LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= rsvg XMP_LIB_DEPENDS= libexempi.so:textproc/exempi XMP_MESON_ENABLED= exempi .include diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile index 05d662e794b2..312b81e51a30 100644 --- a/graphics/xzgv/Makefile +++ b/graphics/xzgv/Makefile @@ -1,35 +1,35 @@ PORTNAME= xzgv PORTVERSION= 0.9.2 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= m.ne@gmx.net COMMENT= Image viewer with thumbnail-based file selector for X WWW= https://sourceforge.net/projects/xzgv/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gawk:lang/gawk LIB_DEPENDS= libexif.so:graphics/libexif \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= cpe gmake gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lm PLIST_FILES= bin/xzgv share/man/man1/xzgv.1.gz post-patch: ${REINPLACE_CMD} -e 's|^CC|#CC|g ; \ s|^CFLAGS|#CFLAGS|g ; \ s|^PREFIX|#PREFIX|g' ${WRKSRC}/config.mk do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/xzgv ${STAGEDIR}${LOCALBASE}/bin/ ${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile index 857b2d52d139..a90ba564730a 100644 --- a/graphics/zbar/Makefile +++ b/graphics/zbar/Makefile @@ -1,87 +1,87 @@ PORTNAME= zbar DISTVERSION= 0.23.90 PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= https://linuxtv.org/downloads/zbar/ MAINTAINER= dev2@heesakkers.info COMMENT= ZBar barcode reader WWW= https://github.com/mchehab/zbar/ LICENSE= LGPL21 USES= autoreconf gettext-tools gmake iconv libtool localbase:ldflags pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --without-java --without-npapi --without-python \ --enable-codes=ean,databar,code128,code93,code39,codabar,i25,qrcode,sqcode,pdf417 INSTALL_TARGET= install-strip OPTIONS_DEFINE= DBUS DOCS GIR JPEG NLS QT5 V4L X11 OPTIONS_DEFAULT= GTK_NONE IMAGEMAGICK JPEG NLS X11 OPTIONS_RADIO= MAGICK OPTIONS_RADIO_MAGICK= GRAPHICSMAGICK IMAGEMAGICK OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 GTK_NONE OPTIONS_SUB= yes GIR_DESC= Build Gobject Introspection GTK_DESC= GTK support GTK_NONE_DESC= Build without GTK support GRAPHICSMAGICK_DESC= GraphicsMagick image processing support MAGICK_DESC= *Magick image processing support V4L_DESC= Build zbarcam video scanner DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus DOCS_BUILD_DEPENDS= xmlto:textproc/xmlto DOCS_CONFIGURE_ENABLE= doc GIR_USES= gnome GIR_USE= GNOME=introspection:build GIR_CONFIGURE_WITH= gir GTK2_USES= gnome gettext-runtime -GTK2_USE= GNOME=atk,cairo,gdkpixbuf2,glib20,gtk20,pango +GTK2_USE= GNOME=atk,cairo,gdkpixbuf,glib20,gtk20,pango GTK2_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig GTK2_CONFIGURE_ON= --with-gtk=gtk2 GTK3_USES= gnome gettext-runtime -GTK3_USE= GNOME=atk,cairo,gdkpixbuf2,glib20,gtk30,pango +GTK3_USE= GNOME=atk,cairo,gdkpixbuf,glib20,gtk30,pango GTK3_CONFIGURE_ON= --with-gtk=gtk3 GTK_NONE_CONFIGURE_ON= --with-gtk=no GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagickWand.so:graphics/GraphicsMagick GRAPHICSMAGICK_CONFIGURE_WITH= graphicsmagick IMAGEMAGICK_USES= magick IMAGEMAGICK_CONFIGURE_WITH= imagemagick JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg NLS_USES= gettext-runtime NLS_LDFLAGS= -lintl NLS_CONFIGURE_ENABLE= nls QT5_USES= qt:5 QT5_USE= QT=core,gui,widgets,x11extras,buildtools:build QT5_CONFIGURE_WITH= qt qt5 QT5_IMPLIES= X11 V4L_BUILD_DEPENDS= v4l_compat>=1.0.20101027:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= video X11_USES= xorg X11_USE= XORG=ice,sm,x11,xau,xcb,xdmcp,xext,xv X11_CONFIGURE_ON= --with-x --with-xv --with-xshm X11_CONFIGURE_OFF= --without-x --without-xshm --without-xv .include diff --git a/irc/hexchat/Makefile b/irc/hexchat/Makefile index c08f03f55ac1..68435aa711ae 100644 --- a/irc/hexchat/Makefile +++ b/irc/hexchat/Makefile @@ -1,79 +1,79 @@ PORTNAME= hexchat DISTVERSION= 2.16.2 PORTREVISION= 2 CATEGORIES= irc gnome MASTER_SITES= https://github.com/hexchat/hexchat/releases/download/v${PORTVERSION}/ MAINTAINER= pkubaj@FreeBSD.org COMMENT= IRC chat program with GTK and Text Frontend WWW= https://hexchat.github.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Repo archived upstream as of 2024-02-10 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} LIB_DEPENDS= libproxy.so:net/libproxy \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ libfreetype.so:print/freetype2 RUN_DEPENDS= ${LOCALBASE}/share/xml/iso-codes/iso_639.xml:misc/iso-codes USES= compiler:c++11-lang cpe desktop-file-utils gettext-tools gnome \ localbase meson ninja pkgconfig python shebangfix \ ssl tar:xz xorg CPE_VENDOR= ${PORTNAME}_project SHEBANG_FILES= meson_post_install.py \ plugins/perl/generate_header.py \ plugins/python/generate_plugin.py \ src/common/make-te.py -USE_GNOME= cairo gdkpixbuf2 gtk20 intltool libxml2 +USE_GNOME= cairo gdkpixbuf gtk20 intltool libxml2 USE_XORG= x11 MESON_ARGS= -Dtls=enabled -Dgtk-frontend=true -Dwith-python=python-${PYTHON_VER} SUB_FILES= pkg-message PORTDOCS= * OPTIONS_DEFINE= CANBERRA DBUS DOCS FISHLIM LUA PERL SYSINFO TEXTFE OPTIONS_DEFAULT= CANBERRA DBUS PERL OPTIONS_SUB= yes CANBERRA_DESC= Audio support via Libcanberra FISHLIM_DESC= FiSHLiM plugin TEXTFE_DESC= Text frontend SYSINFO_DESC= Sysinfo plugin CANBERRA_LIB_DEPENDS= libcanberra.so:audio/libcanberra CANBERRA_MESON_ENABLED= libcanberra DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib DBUS_MESON_ENABLED= dbus FISHLIM_MESON_TRUE= with-fishlim LUA_MESON_ON= -Dwith-lua=lua-${LUA_VER} LUA_MESON_OFF= -Dwith-lua=false LUA_USES= lua LUA_USE= GCC=yes PERL_MESON_TRUE= with-perl PERL_USES= perl5 TEXTFE_MESON_TRUE= text-frontend SYSINFO_MESON_TRUE= with-sysinfo post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%PERL_VER%%|${PERL_VER}|g' \ ${WRKSRC}/plugins/perl/meson.build post-install: ${LN} -sf ../share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR} .include diff --git a/irc/srain/Makefile b/irc/srain/Makefile index 1eee02a38b73..1c454d611b83 100644 --- a/irc/srain/Makefile +++ b/irc/srain/Makefile @@ -1,50 +1,50 @@ PORTNAME= srain DISTVERSION= 1.7.0 CATEGORIES= irc MAINTAINER= ashish@FreeBSD.org COMMENT= Modern IRC client written in GTK WWW= https://srain.silverrainz.me/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libconfig.so:devel/libconfig \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 USES= compiler:c11 desktop-file-utils gettext-tools gnome meson \ pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= SrainApp -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 pango OPTIONS_DEFINE= APP_INDICATOR DOCS OPTIONS_DEFAULT= APP_INDICATOR APP_INDICATOR_DESC= Enable application indicator support APP_INDICATOR_LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator APP_INDICATOR_MESON_ON= -Dapp_indicator=true APP_INDICATOR_MESON_OFF= -Dapp_indicator=false DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_MESON_ON= -Ddoc_builders=html,man DOCS_MESON_OFF= -Ddoc_builders= .include .if ${SSL_DEFAULT} == base LDFLAGS+= -lcrypto post-patch: ${REINPLACE_CMD} -e "/dependency('openssl'),/d" \ ${WRKSRC}/src/meson.build .endif pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} \ ${STAGEDIR}${DATADIR}/themes \ ${STAGEDIR}${PREFIX}/share/metainfo \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps .include diff --git a/japanese/ibus-skk/Makefile b/japanese/ibus-skk/Makefile index 9f01ef445312..b323524258b1 100644 --- a/japanese/ibus-skk/Makefile +++ b/japanese/ibus-skk/Makefile @@ -1,43 +1,43 @@ PORTNAME= ibus-skk DISTVERSIONPREFIX= ibus-skk- DISTVERSION= 1.4.3 PORTREVISION= 2 CATEGORIES= japanese MAINTAINER= ports@FreeBSD.org COMMENT= Japanese SKK input engine for IBus WWW= https://github.com/ueno/ibus-skk LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:japanese/skk-jisyo LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libibus-1.0.so:textproc/ibus \ libskk.so:japanese/libskk USES= autoreconf gettext gmake gnome libtool pkgconfig python vala:build GNU_CONFIGURE= yes CONFIGURE_ENV= DATADIRNAME=share USE_GITHUB= yes GH_ACCOUNT= ueno -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 intltool pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 intltool pango CPPFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= NLS post-patch: @${REINPLACE_CMD} -e 's|/usr/share/skk/SKK-JISYO.L|${LOCALBASE}/share/skk/SKK-JISYO.L|' ${WRKSRC}/src/preferences.vala .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif .include diff --git a/japanese/kasumi/Makefile b/japanese/kasumi/Makefile index d61b2b5ef450..48a894f0f089 100644 --- a/japanese/kasumi/Makefile +++ b/japanese/kasumi/Makefile @@ -1,38 +1,38 @@ PORTNAME= kasumi PORTVERSION= 2.5 PORTREVISION= 10 CATEGORIES= japanese MASTER_SITES= OSDN/${PORTNAME} MAINTAINER= nobutaka@FreeBSD.org COMMENT= Dictionary management tool for anthy WWW= http://kasumi.sourceforge.jp/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libanthy.so:japanese/anthy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler:c++11-lang gmake gnome iconv:wchar_t localbase:ldflags pkgconfig -USE_GNOME= gtk20 cairo gdkpixbuf2 +USE_GNOME= gtk20 cairo gdkpixbuf USE_CXXSTD= c++11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share OPTIONS_DEFINE= NLS CONFLICTS_INSTALL= kasumi-unicode .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif .include diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile index a1246edbd012..6173e6a62336 100644 --- a/japanese/mozc-server/Makefile +++ b/japanese/mozc-server/Makefile @@ -1,409 +1,409 @@ PORTNAME= mozc PORTVERSION= 2.23.2815.102.01 DISTVERSIONPREFIX= v PORTREVISION?= 26 CATEGORIES= japanese MAINTAINER= hrs@FreeBSD.org COMMENT?= Mozc Japanese Input Method, Server WWW= https://github.com/google/mozc BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gyp>=20200512:devel/py-gyp@${PY_FLAVOR} EXTRACT_DEPENDS=${PYTHON_CMD}:${PYTHON_PORTSDIR} LIB_DEPENDS= libprotobuf.so:devel/protobuf \ libzinnia.so:japanese/zinnia RUN_DEPENDS= xdg-open:devel/xdg-utils BROKEN_FreeBSD_13_powerpc64= fails to build: ERROR: ninja -v -C out_linux/Release mozc_server: Error code 1 BROKEN_powerpc= fails to compile: segfault USE_GITHUB= yes GH_ACCOUNT= hrs-allbsd GH_TUPLE= hiroyuki-komatsu:japanese-usage-dictionary:e5b3425:udic USES= compiler:c++17-lang gmake ninja:build pkgconfig \ python:build shebangfix tar:bzip2 SHEBANG_FILES= src/build_mozc.py BUILD_WRKSRC= ${WRKSRC}/src LDFLAGS+= -labsl_spinlock_wait USE_CXXSTD= c++17 BUILD_MOZC_LIST?= mozc_server .if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" PKGNAMEPREFIX= ja- PKGNAMESUFFIX= -server LICENSE= BSD3CLAUSE NAISTL LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE LICENSE_DISTFILES_BSD3CLAUSE= ${DISTNAME}${EXTRACT_SUFX} LICENSE_NAME_NAISTL= Nara Institute of Science and Technology License LICENSE_PERMS_NAISTL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_FILE_NAISTL= ${WRKSRC}/src/data/dictionary_oss/README.txt LICENSE_DISTFILES_NAISTL=${DISTNAME}${EXTRACT_SUFX} .elif ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" USES+= qt:5 gnome USE_GNOME= glib20 gtk20 USE_QT= buildtools core gui widgets .elif ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" USES+= gettext-runtime gnome xorg USE_XORG= xcb -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 +USE_GNOME= cairo gdkpixbuf glib20 gtk20 LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 .elif ${BUILD_MOZC_LIST:Mmozc_el} == "mozc_el" USES+= emacs .elif ${BUILD_MOZC_LIST:Mfcitx_mozc} USES+= gettext-tools .endif # Use GCC only when the stock clang does not have libc++.so. .if exists(/usr/bin/clang) && exists(/usr/lib/libc++.so) _CCTYPE= clang .else USE_GCC= yes _CCTYPE= gcc .endif .include GYP_DEFINES= use_libprotobuf=1 \ channel_dev=0 \ enable_unittest=0 \ compiler_host='${_CCTYPE}' \ compiler_target='${_CCTYPE}' \ use_libzinnia=1 \ zinnia_model_file='${LOCALBASE}/share/tegaki/models/zinnia/handwriting-ja.model' \ ibus_mozc_icon_path='${LOCALBASE}/share/ibus-mozc/icons/product_icon.png' \ ibus_mozc_path='${PREFIX}/libexec/ibus-engine-mozc' BUILD_MODE= Release BUILD_CMD= ${SETENV} ${MAKE_ENV} PATH=/bin:/usr/bin:${PATH} ${MAKE_CMD} BUILD_MOZC_CMD= cd ${BUILD_WRKSRC} && \ ${SETENV} BUILD_COMMAND="${BUILD_WRKSRC}/mozcmake" \ PATH="${PATH}" \ GYP_DEFINES="${GYP_DEFINES}" \ PYTHONPATH=${PYTHON_SITELIBDIR}/gyp \ CC_host="${CC}" \ CC_target="${CC}" \ CXX_host="${CXX}" \ CXX_target="${CXX}" \ LD_host="${CXX}" \ AR_host="${AR}" \ ${MAKE_ENV} \ ${PYTHON_CMD} build_mozc.py BUILD_MOZC_CMD_BUILD= ${BUILD_MOZC_CMD} build -c ${BUILD_MODE} ${_MAKE_JOBS} BUILD_GYP_CMD= ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/gyp post-extract: # XXX: do not activate fcitx5 ${RM} -r ${WRKSRC}/src/unix/fcitx5 post-patch: ${FIND} ${BUILD_WRKSRC} \( -name '*.gyp' -o -name '*.gypi' \) -exec \ ${REINPLACE_CMD} "s,'python','${PYTHON_CMD}',g" {} \; .if ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc" ${REINPLACE_CMD} 's,/po/mo},%po}mo,g' \ ${BUILD_WRKSRC}/unix/fcitx/gen_fcitx_mozc_i18n.sh ${REINPLACE_CMD} \ "s,IconName=.*,IconName=${LOCALBASE:Q}/share/fcitx/mozc/icon/mozc.png," \ ${BUILD_WRKSRC}/unix/fcitx/mozc.conf .endif .if !${BUILD_MOZC_LIST:Mmozc_el} ${BUILD_WRKSRC}/mozcmake: ${PRINTF} "%s\n\n%s\n" "#!/bin/sh" 'exec ${BUILD_CMD} "$$@"' \ > ${BUILD_WRKSRC}/mozcmake ${CHMOD} +x ${BUILD_WRKSRC}/mozcmake post-configure: ${BUILD_WRKSRC}/mozcmake ${BUILD_MOZC_CMD} gyp \ --gypdir=${LOCALBASE}/bin \ --server_dir="${PREFIX}/bin" \ --tool_dir="${PREFIX}/libexec" \ --renderer_dir="${PREFIX}/libexec" \ --localbase="${LOCALBASE}" \ --ldflags="${LDFLAGS} -fstack-protector -L${LOCALBASE}/lib" \ --cflags="${CFLAGS:Q}" \ --cflags_cc="${CXXFLAGS:Q}" \ --include_dirs="${LOCALBASE}/include" \ ${GYP_OPTIONS} .endif # mozc_server .if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" || make(makesum) GYP_OPTIONS+= --noqt GYP_DEFINES+= use_libibus=0 \ enable_gtk_renderer=0 MASTER_SITES+= LOCAL/hrs:zipcode DISTFILES+= \ ken_all-20221228.zip:zipcode \ jigyosyo-20221228.zip:zipcode PLIST_FILES+= bin/mozc \ bin/mozc_server \ libexec/mozc_emacs_helper SUB_FILES+= mozc post-patch-mozc_server: @for F in ${DISTFILES:M*\:zipcode:C/\:zipcode//}; do \ ${UNZIP_NATIVE_CMD} -L -d ${BUILD_WRKSRC}/data/dictionary_oss \ ${DISTDIR}/$$F; \ done cd ${BUILD_WRKSRC}/data/dictionary_oss && \ ${SETENV} PYTHONPATH=${BUILD_WRKSRC} \ ${PYTHON_CMD} ${BUILD_WRKSRC}/dictionary/gen_zip_code_seed.py \ --zip_code=ken_all.csv --jigyosyo=jigyosyo.csv \ >> dictionary09.txt ${MV} ${WRKSRC_udic}/usage_dict.txt \ ${BUILD_WRKSRC}/third_party/japanese_usage_dictionary post-patch: post-patch-mozc_server do-build-mozc_server: ${BUILD_MOZC_CMD_BUILD} server/server.gyp:mozc_server ${BUILD_MOZC_CMD_BUILD} unix/emacs/emacs.gyp:mozc_emacs_helper do-install-mozc_server: ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/mozc_server \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/mozc_emacs_helper \ ${STAGEDIR}${PREFIX}/libexec ${INSTALL_SCRIPT} \ ${WRKDIR}/mozc ${STAGEDIR}/${PREFIX}/bin .endif # mozc_tool .if ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" GYP_DEFINES+= use_libibus=0 \ enable_gtk_renderer=1 RUN_DEPENDS+= ${LOCALBASE}/share/tegaki/models/zinnia/handwriting-ja.model:japanese/tegaki-zinnia-japanese PLIST_FILES+= libexec/mozc_tool \ bin/mozc_tool \ %%DATADIR%%/icons/product_logo.png \ %%DATADIR%%/icons/update_uptodate.png SUB_FILES+= mozc_tool do-build-mozc_tool: ${BUILD_MOZC_CMD_BUILD} gui/gui.gyp:mozc_tool do-install-mozc_tool: ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/mozc_tool \ ${STAGEDIR}${PREFIX}/libexec ${INSTALL_SCRIPT} ${WRKDIR}/mozc_tool ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/icons ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/ime_product_icon_opensource-32.png \ ${STAGEDIR}${DATADIR}/icons/product_logo.png ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/ime_product_icon_opensource-32.png \ ${STAGEDIR}${DATADIR}/icons/update_uptodate.png .endif # ibus_mozc .if ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" GYP_OPTIONS+= --noqt GYP_DEFINES+= use_libibus=1 \ enable_gtk_renderer=1 LIB_DEPENDS+= libibus-1.0.so:textproc/ibus RUN_DEPENDS+= mozc_server:japanese/mozc-server \ mozc_tool:japanese/mozc-tool PLIST_FILES+= libexec/mozc_renderer \ libexec/ibus-engine-mozc \ %%DATADIR%%/icons/alpha_full.png \ %%DATADIR%%/icons/alpha_half.png \ %%DATADIR%%/icons/dictionary.png \ %%DATADIR%%/icons/direct.png \ %%DATADIR%%/icons/hiragana.png \ %%DATADIR%%/icons/katakana_full.png \ %%DATADIR%%/icons/katakana_half.png \ %%DATADIR%%/icons/product_icon.png \ %%DATADIR%%/icons/properties.png \ %%DATADIR%%/icons/tool.png \ share/ibus/component/mozc.xml PLIST_DIRS+= %%DATADIR%%/icons ${DATADIR_REL} do-build-ibus_mozc: ${BUILD_MOZC_CMD_BUILD} \ unix/ibus/ibus.gyp:ibus_mozc \ renderer/renderer.gyp:mozc_renderer do-install-ibus_mozc: ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/mozc_renderer \ ${STAGEDIR}${PREFIX}/libexec/mozc_renderer ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/ibus_mozc \ ${STAGEDIR}${PREFIX}/libexec/ibus-engine-mozc ${MKDIR} ${STAGEDIR}${PREFIX}/share/ibus/component ${INSTALL_DATA} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/gen/unix/ibus/mozc.xml \ ${STAGEDIR}${PREFIX}/share/ibus/component/mozc.xml @${MKDIR} ${STAGEDIR}${DATADIR}/icons .for F in ui-alpha_full ui-alpha_half ui-dictionary ui-direct \ ui-hiragana ui-katakana_full ui-katakana_half ui-properties ui-tool ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/${F}.png \ ${STAGEDIR}${DATADIR}/icons/${F:S/^ui-//}.png .endfor ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/ime_product_icon_opensource-32.png \ ${STAGEDIR}${DATADIR}/icons/product_icon.png .endif # uim_mozc .if ${BUILD_MOZC_LIST:Muim_mozc} == "uim_mozc" || make(makesum) GH_TUPLE+= e-kato:macuim:v0.6.16.2.1:MU LIB_DEPENDS+= libuim.so:textproc/uim RUN_DEPENDS+= mozc_server:japanese/mozc-server \ mozc_tool:japanese/mozc-tool EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-unix-uim-mozc.cc \ ${PATCHDIR}/extra-patch-src-unix-uim-uim.gyp \ ${PATCHDIR}/extra-patch-src-unix-uim-key_translator.h \ ${PATCHDIR}/extra-patch-src-unix-uim-key_translator.cc PLIST_FILES+= lib/uim/plugin/libuim-mozc.so \ %%DATADIR%%/mozc.scm \ %%DATADIR%%/mozc-custom.scm \ %%DATADIR%%/mozc-key-custom.scm \ %%DATADIR%%/pixmaps/mozc.png \ "@postexec ${SETENV} MOZC_NOLOG=true ${LOCALBASE}/bin/uim-module-manager --register mozc" \ "@preunexec ${LOCALBASE}/bin/uim-module-manager --unregister mozc" GYP_OPTIONS+= --noqt GYP_DEFINES+= use_libibus=0 \ enable_gtk_renderer=0 post-extract-uim_mozc: ${MV} ${WRKSRC_MU}/Mozc/uim ${BUILD_WRKSRC}/unix ${REINPLACE_CMD} -e "s,/usr/lib/mozc,${LOCALBASE}/libexec," \ ${WRKSRC_MU}/Mozc/scm/mozc-custom.scm post-extract: post-extract-uim_mozc do-build-uim_mozc: ${BUILD_MOZC_CMD_BUILD} \ unix/uim/uim.gyp:uim-mozc do-install-uim_mozc: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/uim/plugin ${INSTALL_PROGRAM} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/libuim-mozc.so \ ${STAGEDIR}${PREFIX}/lib/uim/plugin ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC_MU}/Mozc/scm && \ ${INSTALL_DATA} mozc.scm mozc-custom.scm mozc-key-custom.scm \ ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}/pixmaps ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/product_icon_32bpp-128.png \ ${STAGEDIR}${DATADIR}/pixmaps/mozc.png .endif # fcitx_mozc .if ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc" GYP_OPTIONS+= --noqt GYP_DEFINES+= use_libibus=0 \ enable_gtk_renderer=0 \ use_fcitx="YES" LIB_DEPENDS+= libfcitx-core.so:chinese/fcitx RUN_DEPENDS+= mozc_server:japanese/mozc-server \ mozc_tool:japanese/mozc-tool PLIST_FILES+= lib/fcitx/fcitx-mozc.so \ share/fcitx/addon/fcitx-mozc.conf \ share/fcitx/inputmethod/mozc.conf \ %%DATADIR%%/icon/mozc.png \ %%DATADIR%%/icon/mozc-alpha_full.png \ %%DATADIR%%/icon/mozc-alpha_half.png \ %%DATADIR%%/icon/mozc-direct.png \ %%DATADIR%%/icon/mozc-hiragana.png \ %%DATADIR%%/icon/mozc-katakana_full.png \ %%DATADIR%%/icon/mozc-katakana_half.png \ %%DATADIR%%/icon/mozc-dictionary.png \ %%DATADIR%%/icon/mozc-properties.png \ %%DATADIR%%/icon/mozc-tool.png \ share/locale/ja/LC_MESSAGES/fcitx-mozc.mo \ share/locale/zh_CN/LC_MESSAGES/fcitx-mozc.mo \ share/locale/zh_TW/LC_MESSAGES/fcitx-mozc.mo PLIST_DIRS+= %%DATADIR%%/icon ${DATADIR_REL} do-build-fcitx_mozc: ${BUILD_MOZC_CMD_BUILD} unix/fcitx/fcitx.gyp:fcitx-mozc do-install-fcitx_mozc: @${MKDIR} \ ${STAGEDIR}${PREFIX}/lib/fcitx \ ${STAGEDIR}${PREFIX}/share/fcitx/addon \ ${STAGEDIR}${PREFIX}/share/fcitx/inputmethod ${INSTALL_LIB} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/fcitx-mozc.so \ ${STAGEDIR}${PREFIX}/lib/fcitx/fcitx-mozc.so ${INSTALL_DATA} \ ${BUILD_WRKSRC}/unix/fcitx/fcitx-mozc.conf \ ${STAGEDIR}${PREFIX}/share/fcitx/addon/fcitx-mozc.conf ${INSTALL_DATA} \ ${BUILD_WRKSRC}/unix/fcitx/mozc.conf \ ${STAGEDIR}${PREFIX}/share/fcitx/inputmethod/mozc.conf @${MKDIR} ${STAGEDIR}${DATADIR}/icon .for F in ui-alpha_full ui-alpha_half ui-dictionary ui-direct \ ui-hiragana ui-katakana_full ui-katakana_half ui-properties ui-tool ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/unix/${F}.png \ ${STAGEDIR}${DATADIR}/icon/${F:S,^ui-,mozc-,}.png .endfor ${INSTALL_DATA} \ ${BUILD_WRKSRC}/data/images/product_icon_32bpp-128.png \ ${STAGEDIR}${DATADIR}/icon/mozc.png .for L in ja zh_CN zh_TW ${INSTALL_DATA} \ ${BUILD_WRKSRC}/out_linux/${BUILD_MODE}/gen/unix/fcitx/po/${L}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${L}/LC_MESSAGES/fcitx-mozc.mo .endfor .endif # mozc_el .if ${BUILD_MOZC_LIST:Mmozc_el} == "mozc_el" CATEGORIES+= elisp RUN_DEPENDS+= mozc_server:japanese/mozc-server NO_ARCH= yes PLIST_FILES+= ${EMACS_VERSION_SITE_LISPDIR}/mozc/mozc.elc \ ${EMACS_VERSION_SITE_LISPDIR}/mozc/mozc.el.gz \ ${EMACS_VERSION_SITE_LISPDIR}/mozc/leim-list.el PLIST_DIRS+= ${EMACS_VERSION_SITE_LISPDIR}/mozc post-patch-mozc_el: ${REINPLACE_CMD} "s,%%PREFIX%%,${PREFIX}," \ ${BUILD_WRKSRC}/unix/emacs/mozc.el post-patch: post-patch-mozc_el do-build-mozc_el: cd ${BUILD_WRKSRC}/unix/emacs && \ ${EMACS_CMD} -batch -q -no-site-file -no-init-file \ -f batch-byte-compile mozc.el && \ ${GZIP_CMD} mozc.el do-install-mozc_el: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/mozc ${INSTALL_DATA} \ ${BUILD_WRKSRC}/unix/emacs/mozc.el.gz \ ${BUILD_WRKSRC}/unix/emacs/mozc.elc \ ${FILESDIR}/leim-list.el \ ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/mozc/ .endif do-build: ${BUILD_MOZC_LIST:S/^/do-build-/} do-install: ${BUILD_MOZC_LIST:S/^/do-install-/} .include diff --git a/japanese/scim-anthy/Makefile b/japanese/scim-anthy/Makefile index 724cbbcd19f1..6502bc13f1cb 100644 --- a/japanese/scim-anthy/Makefile +++ b/japanese/scim-anthy/Makefile @@ -1,25 +1,25 @@ PORTNAME= scim-anthy PORTVERSION= 1.2.7 PORTREVISION= 7 CATEGORIES= japanese MASTER_SITES= OSDN/scim-imengine MAINTAINER= ports@FreeBSD.org COMMENT= SCIM IMEngine module using Anthy WWW= https://sourceforge.jp/projects/scim-imengine/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= scim:textproc/scim LIB_DEPENDS= libanthy.so:japanese/anthy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS:= ${BUILD_DEPENDS} \ kasumi:japanese/kasumi USES= gettext-runtime gmake gnome iconv libtool:keepla pkgconfig -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango GNU_CONFIGURE= yes .include diff --git a/japanese/uim-anthy/Makefile b/japanese/uim-anthy/Makefile index 17a5fff312c9..5776c44736d7 100644 --- a/japanese/uim-anthy/Makefile +++ b/japanese/uim-anthy/Makefile @@ -1,45 +1,45 @@ CATEGORIES= japanese .if defined(WITHOUT_X11) PKGNAMESUFFIX= -anthy-nox11 .else PKGNAMESUFFIX= -anthy .endif COMMENT= Uim plugin using Anthy input method .if !defined(WITHOUT_X11) -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 .endif LIB_DEPENDS= libanthy.so:japanese/anthy \ libfreetype.so:print/freetype2 \ libuim.so:textproc/uim \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz MASTERDIR= ${.CURDIR}/../../textproc/uim PKGDIR= ${.CURDIR} CONFIGURE_ARGS= --with-anthy --with-anthy-utf8 .if !defined(WITHOUT_X11) CONFIGURE_ARGS+= --with-gtk3 --enable-dict .endif UIM_SLAVE= yes do-build: (cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-anthy.la) (cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-anthy-utf8.la) .if !defined(WITHOUT_X11) (cd ${WRKSRC}/gtk3/dict && ${MAKE_CMD} uim-dict-gtk3) .endif do-install: (cd ${WRKSRC}/uim && \ ${MAKE_CMD} DESTDIR=${STAGEDIR} uim_plugin_LTLIBRARIES=libuim-anthy.la INSTALL_STRIP_FLAG=-s install-uim_pluginLTLIBRARIES && \ ${MAKE_CMD} DESTDIR=${STAGEDIR} uim_plugin_LTLIBRARIES=libuim-anthy-utf8.la INSTALL_STRIP_FLAG=-s install-uim_pluginLTLIBRARIES) .if !defined(WITHOUT_X11) (cd ${WRKSRC}/gtk3/dict && ${MAKE_CMD} DESTDIR=${STAGEDIR} bin_PROGRAMS=uim-dict-gtk3 INSTALL_STRIP_FLAG=-s install-binPROGRAMS install-uim_dict_uiDATA) .endif .include "${MASTERDIR}/Makefile" diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile index 0e2f26067696..ae73b73cc455 100644 --- a/java/openjfx14/Makefile +++ b/java/openjfx14/Makefile @@ -1,175 +1,175 @@ PORTNAME= openjfx DISTVERSION= 14.0.2.1+1 PORTREVISION= 16 CATEGORIES= java x11-toolkits devel MASTER_SITES= https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-core/7.7.1/:core \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-grouping/7.7.1/:grouping \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queries/7.7.1/:queries \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queryparser/7.7.1/:queryparser \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-sandbox/7.7.1/:sandbox \ https://repo1.maven.org/maven2/org/antlr/antlr4/4.7.2/:antlr PKGNAMESUFFIX= 14 DISTFILES= lucene-core-7.7.1.jar:core \ lucene-grouping-7.7.1.jar:grouping \ lucene-queries-7.7.1.jar:queries \ lucene-queryparser-7.7.1.jar:queryparser \ lucene-sandbox-7.7.1.jar:sandbox \ antlr4-4.7.2-complete.jar:antlr MAINTAINER= ports@FreeBSD.org COMMENT= JavaFX SDK overlay for OpenJDK 11 WWW= https://openjdk.java.net/projects/openjfx/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ apache-ant>0:devel/apache-ant \ gradle62>=6.2:devel/gradle62 \ ${JAVALIBDIR}/junit.jar:java/junit LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext-runtime gl gnome java jpeg localbase:ldflags ninja pkgconfig \ sqlite xorg USE_GITHUB= yes GH_ACCOUNT= openjdk GH_PROJECT= jfx USE_GL= gl -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 gtk30 pango JAVA_VERSION= 11 USE_LDCONFIG= yes USE_XORG= x11 xtst xxf86vm CFLAGS+= -Wno-unused-command-line-argument \ -Wno-int-conversion PLIST_SUB= INSTALLDIR=${_INSTALLDIR} OPTIONS_DEFINE= MEDIA SWT TEST WEBKIT OPTIONS_DEFAULT= MEDIA WEBKIT OPTIONS_SUB= yes MEDIA_DESC= Media module SWT_DESC= SWT support MEDIA_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 \ libsndio.so:audio/sndio MEDIA_USES= gmake MEDIA_VARS= COMPILE_MEDIA=true SWT_BUILD_DEPENDS= swt>0:x11-toolkits/swt SWT_RUN_DEPENDS= swt>0:x11-toolkits/swt SWT_VARS= COMPILE_SWT=true TEST_USES= display:test TEST_VARS= AWT_TEST=true FULL_TEST=true # Gradle calls CMake during the build WEBKIT_IMPLIES= MEDIA WEBKIT_LIB_DEPENDS= libicui18n.so:devel/icu WEBKIT_USES= bison cmake:indirect gmake gperf perl5 python:build ruby:build WEBKIT_USE= GNOME=libxslt,libxml2 \ PERL5=build \ XORG=xcomposite,xdamage,xfixes,xrender,xt WEBKIT_VARS= COMPILE_WEBKIT=true # Move Gradle's home below ${WRKDIR} instead of using ${HOME}/.gradle _GRADLE_ENV= CC=${WRKDIR}/bin/ccwrapper \ CXX=${WRKDIR}/bin/cxxwrapper \ GRADLE_USER_HOME=${WRKDIR}/gradle-home \ JAVA_VERSION=${JAVA_VERSION} _GRADLE_RUN= ${SETENV} ${_GRADLE_ENV} gradle62 --no-daemon _INSTALLDIR= ${PREFIX}/${PKGBASE} .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif # Suppress errors with lld >= 17 due to undefined symbols. LDFLAGS+= -Wl,--undefined-version post-extract: ${MKDIR} ${WRKDIR}/jars .for f in core grouping queries queryparser sandbox ${CP} ${DISTDIR}/lucene-${f}-7.7.1.jar ${WRKDIR}/jars .endfor ${CP} ${DISTDIR}/antlr4-4.7.2-complete.jar ${WRKDIR}/jars # The BSD Makefiles for GStreamer-lite and Jfxmedia are based on the # Linux versions. Prepare the tree, so that we only see the changes # from Linux's Makefile in our own patches. pre-patch: @${CP} -r ${WRKSRC}/modules/javafx.media/src/main/native/jfxmedia/projects/linux \ ${WRKSRC}/modules/javafx.media/src/main/native/jfxmedia/projects/bsd @${CP} -r ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/projects/linux \ ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/projects/bsd post-patch: @${MKDIR} ${WRKDIR}/bin @${PRINTF} '#!/bin/sh\nexport CCACHE_DIR=${CCACHE_DIR}\nexec ${CCACHE_BIN} ${CC} ${CFLAGS} ${LDFLAGS} "$$@"\n' > ${WRKDIR}/bin/ccwrapper @${PRINTF} '#!/bin/sh\nexport CCACHE_DIR=${CCACHE_DIR}\nexec ${CCACHE_BIN} ${CXX} ${CXXFLAGS} ${LDFLAGS} "$$@"\n' > ${WRKDIR}/bin/cxxwrapper @${CHMOD} +x ${WRKDIR}/bin/ccwrapper ${WRKDIR}/bin/cxxwrapper @${REINPLACE_CMD} -e 's|gcc|${WRKDIR}/bin/ccwrapper|g' \ -e 's|g\+\+|${WRKDIR}/bin/cxxwrapper|g' \ ${WRKSRC}/buildSrc/bsd.gradle # Add a *BSD native audio sink to GStreamer-lite instead of using the # bundled ALSA sink. Currently we add an sndio sink, but this is an extension # point for eventually adding an OSS backend (or others) as an option as well. # If you add a new one make sure it registers itself as "bsdaudiosink" as defined # in modules/media/src/main/native/jfxmedia/platform/gstreamer/GstPipelineFactory.cpp @${MKDIR} ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio @${CP} ${FILESDIR}/gstsndio.* ${FILESDIR}/sndiosink.* \ ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio @cd ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio && \ ${LN} -s gstsndio.c gstbsdaudio.c && \ ${LN} -s sndiosink.c bsdaudiosink.c # Pull Java dependencies from LOCALBASE @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/build.gradle ${WRKSRC}/buildSrc/build.gradle # Remove bundled libraries. We use the system's versions instead. @cd ${WRKSRC}/modules/javafx.web/src/main/native/Source/ThirdParty && \ ${RM} -r icu libxml libxslt sqlite @${RM} -r ${WRKSRC}/modules/javafx.web/src/main/native/Source/WTF/icu @cd ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/3rd_party && \ ${RM} -r glib libffi # Environment variables gets lost so hardcode where we can find FFmpeg 4.x @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile do-configure: @${MKDIR} ${WRKDIR}/gradle-home @${ECHO_CMD} "NUM_COMPILE_THREADS = ${MAKE_JOBS_NUMBER}" > ${WRKSRC}/gradle.properties @${ECHO_CMD} "JFX_DEPS_URL = ${WRKDIR}/jars" > ${WRKSRC}/gradle.properties .for prop in COMPILE_MEDIA COMPILE_WEBKIT AWT_TEST FULL_TEST @${ECHO_CMD} "${prop} = ${${prop}:Ufalse}" >> ${WRKSRC}/gradle.properties .endfor @${ECHO_CMD} "BSD.compileSWT = ${COMPILE_SWT:Ufalse};" >> ${WRKSRC}/buildSrc/bsd.gradle # the java doc are not installed on FreeBSD so exclude the javadoc task # as it'll fail otherwise do-build: @cd ${WRKSRC} && ${_GRADLE_RUN} zips --exclude-task javadoc # it's not recommended to install openjfx inside openjdk directory do-install: @${MKDIR} ${STAGEDIR}${_INSTALLDIR} \ ${STAGEDIR}${_INSTALLDIR}/lib \ ${STAGEDIR}${_INSTALLDIR}/jmods ${INSTALL_DATA} ${WRKSRC}/build/javafx-exports.zip ${STAGEDIR}${_INSTALLDIR} (cd ${WRKSRC}/build/artifacts/javafx-sdk-14.0.2.1/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${_INSTALLDIR}/lib) @${MV} ${STAGEDIR}${_INSTALLDIR}/lib/src.zip ${STAGEDIR}${_INSTALLDIR}/lib/javafx-src.zip (cd ${WRKSRC}/build/artifacts/javafx-jmods-14.0.2.1 && ${COPYTREE_SHARE} . ${STAGEDIR}${_INSTALLDIR}/jmods) @${FIND} ${STAGEDIR}${_INSTALLDIR}/lib -name '*.so' -exec ${STRIP_CMD} \{\} \; do-test-TEST-on: @cd ${WRKSRC} && ${_GRADLE_RUN} check test .include diff --git a/korean/imhangul-gtk2/Makefile b/korean/imhangul-gtk2/Makefile index be4e5a6bf797..63212c44b3bb 100644 --- a/korean/imhangul-gtk2/Makefile +++ b/korean/imhangul-gtk2/Makefile @@ -1,40 +1,40 @@ PORTNAME= imhangul PORTVERSION= 2.1.1 PORTREVISION= 1 CATEGORIES= korean PKGNAMESUFFIX= -gtk2 MAINTAINER= jkim@FreeBSD.org COMMENT= Hangul input module for GTK 2.0 WWW= http://code.google.com/p/imhangul/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhangul.so:korean/libhangul \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig CONFLICTS_INSTALL= ko-imhangul-[0-2].* GH_ACCOUNT= choehwanjin GH_TAGNAME= d2f555d USE_GITHUB= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USES= autoreconf gmake gnome libtool pkgconfig OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext localbase post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS /s| po||' ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e '/^po\/Makefile\.in/d' ${WRKSRC}/configure.in pre-configure-NLS-on: @(cd ${WRKSRC} && ${LOCALBASE}/bin/glib-gettextize) .include diff --git a/korean/imhangul-gtk3/Makefile b/korean/imhangul-gtk3/Makefile index bca2ca02f9e8..2c959142317b 100644 --- a/korean/imhangul-gtk3/Makefile +++ b/korean/imhangul-gtk3/Makefile @@ -1,38 +1,38 @@ PORTNAME= imhangul PORTVERSION= 3.1.1 PORTREVISION= 2 CATEGORIES= korean PKGNAMESUFFIX= -gtk3 MAINTAINER= jkim@FreeBSD.org COMMENT= Hangul input module for GTK 3.0 WWW= http://code.google.com/p/imhangul/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhangul.so:korean/libhangul CONFLICTS_INSTALL= ko-imhangul-3.* GH_ACCOUNT= choehwanjin GH_TAGNAME= 85f6d10 USE_GITHUB= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USES= autoreconf gmake gnome libtool pkgconfig OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext localbase post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS /s| po||' ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e '/^po\/Makefile\.in/d' ${WRKSRC}/configure.in pre-configure-NLS-on: @(cd ${WRKSRC} && ${LOCALBASE}/bin/glib-gettextize) .include diff --git a/korean/nabi/Makefile b/korean/nabi/Makefile index 6f9862c4d40c..0a3a92ae33f3 100644 --- a/korean/nabi/Makefile +++ b/korean/nabi/Makefile @@ -1,44 +1,44 @@ PORTNAME= nabi PORTVERSION= 1.0.0 PORTREVISION= 2 CATEGORIES= korean gnome MAINTAINER= jkim@FreeBSD.org COMMENT= Hangul X Input Method for Everywhere WWW= https://github.com/libhangul/nabi/wiki LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhangul.so:korean/libhangul LIB_DEPENDS+= libfreetype.so:print/freetype2 LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig GH_ACCOUNT= choehwanjin GH_TAGNAME= f08d7d3 USE_GITHUB= yes GNU_CONFIGURE= yes USES= autoreconf gmake gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= ice sm x11 OPTIONS_DEFINE= NLS OPTIONS_RADIO= LAYOUT OPTIONS_RADIO_LAYOUT= LAYOUT_390 LAYOUT_FINAL OPTIONS_SUB= yes LAYOUT_DESC= Select 3-beolsik layout (default: 2-beolsik) LAYOUT_390_DESC= 3-beolsik 390 keyboard LAYOUT_FINAL_DESC= 3-beolsik final keyboard LAYOUT_390_CONFIGURE_ON= --with-default-keyboard=39 LAYOUT_FINAL_CONFIGURE_ON= --with-default-keyboard=3f NLS_USES= gettext localbase post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS /s| po||' ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e '/^po\/Makefile\.in/d' ${WRKSRC}/configure.ac pre-configure-NLS-on: @(cd ${WRKSRC} && ${LOCALBASE}/bin/glib-gettextize) .include diff --git a/lang/cjs/Makefile b/lang/cjs/Makefile index a5d39775094f..5e4dbbf0dc3c 100644 --- a/lang/cjs/Makefile +++ b/lang/cjs/Makefile @@ -1,37 +1,37 @@ PORTNAME= cjs PORTVERSION= 5.4.1 PORTREVISION= 2 CATEGORIES= lang gnome DIST_SUBDIR= gnome PATCH_SITES= https://gitlab.gnome.org/GNOME/gjs/-/commit/ PATCHFILES= f93880c356108cfdbc8f9ebe318d18f256d7128d.patch:-p1 # https://gitlab.gnome.org/GNOME/gjs/-/issues/514 MAINTAINER= gnome@FreeBSD.org COMMENT= JavaScript bindings based on gobject-introspection WWW= https://github.com/linuxmint/cjs LICENSE= MIT LGPL20+ LICENSE_COMB= dual LICENSE_FILE_MIT= ${WRKSRC}/LICENSES/MIT.txt LICENSE_FILE_LGPL20+ = ${WRKSRC}/LICENSES/LGPL-2.0-or-later.txt LIB_DEPENDS= libffi.so:devel/libffi \ libmozjs-78.so:lang/spidermonkey78 USES= compiler:c++17-lang gettext gnome localbase meson pkgconfig \ python:build readline shebangfix xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection +USE_GNOME= cairo gdkpixbuf gtk30 introspection USE_XORG= x11 xext MESON_ARGS= -Dinstalled_tests=false \ -Dprofiler=disabled USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= linuxmint SHEBANG_GLOB= *.py PORTSCOUT= limit:^[0-9.]+$$ # ignore master.mint* tags .include diff --git a/lang/lafontaine/Makefile b/lang/lafontaine/Makefile index d7f1585d2cf0..47255abeab77 100644 --- a/lang/lafontaine/Makefile +++ b/lang/lafontaine/Makefile @@ -1,38 +1,38 @@ PORTNAME= lafontaine DISTVERSION= 0.4-1 PORTREVISION= 11 CATEGORIES= lang MASTER_SITES= http://www.nongnu.org/lafontaine/archives/ DISTNAME= lafontaine_${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Graphical logo interpreter WWW= https://www.nongnu.org/lafontaine/en/eubaout.html LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= gmake gnome pathfix pkgconfig USE_CSTD= gnu89 -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 GNU_CONFIGURE= yes LDFLAGS+= -lm WRKSRC= ${WRKDIR}/${PORTNAME}-0.4 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif .include diff --git a/lang/neko/Makefile b/lang/neko/Makefile index 8ff33922c733..4c5177298ed4 100644 --- a/lang/neko/Makefile +++ b/lang/neko/Makefile @@ -1,44 +1,44 @@ PORTNAME= neko DISTVERSIONPREFIX= v DISTVERSION= 2-2-0 PORTREVISION= 13 CATEGORIES= lang MAINTAINER= penzin.dev@gmail.com COMMENT= Neko programming languages and virtual machine WWW= https://nekovm.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Depends on expired security/mbedtls2 EXPIRATION_DATE=2025-03-31 BUILD_DEPENDS= git:devel/git LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded \ libapr-1.so:devel/apr1 libaprutil-1.so:devel/apr1 \ libpcre.so:devel/pcre libpcreposix.so:devel/pcre \ libmbedtls.so:security/mbedtls2 libmbedcrypto.so:security/mbedtls2 libmbedx509.so:security/mbedtls2 \ libfontconfig.so:x11-fonts/fontconfig libfreetype.so:print/freetype2 USES= cmake mysql pkgconfig sqlite:3 USE_GITHUB= yes GH_ACCOUNT= HaxeFoundation USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/neko MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= APACHE UI OPTIONS_DEFAULT= APACHE OPTIONS_SUB= yes APACHE_DESC= Build Apache modules UI_DESC= UI (GTK) UI_USES= gnome -UI_USE= gnome=atk,cairo,gdkpixbuf2,glib20,gtk20,pango +UI_USE= gnome=atk,cairo,gdkpixbuf,glib20,gtk20,pango UI_CMAKE_BOOL= WITH_UI APACHE_USES= apache APACHE_CMAKE_BOOL= WITH_APACHE .include diff --git a/mail/astroid/Makefile b/mail/astroid/Makefile index b05d141126bc..730897c2ea40 100644 --- a/mail/astroid/Makefile +++ b/mail/astroid/Makefile @@ -1,40 +1,40 @@ PORTNAME= astroid DISTVERSIONPREFIX= v DISTVERSION= 0.16 PORTREVISION= 14 CATEGORIES= mail MAINTAINER= mylan.connolly@gmail.com COMMENT= Graphical email client for notmuch, inspired by sup and others WWW= https://astroidmail.github.io/ LICENSE= GPLv3+ LGPL21+ LICENSE_COMB= dual LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.GPL-3.0+ LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LGPL-2.1+ BROKEN= fails to build with boost-1.85+ BUILD_DEPENDS= scdoc:textproc/scdoc \ notmuch>0:mail/notmuch LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libjavascriptcoregtk-4.0.so:www/webkit2-gtk@40 \ libgmime-3.0.so:mail/gmime30 \ libgnutls.so:security/gnutls \ libpcre2-8.so:devel/pcre2 \ libpeas-1.0.so:devel/libpeas \ libprotobuf.so:devel/protobuf \ libsass.so:textproc/libsass \ libsoup-2.4.so:devel/libsoup RUN_DEPENDS= notmuch:mail/notmuch USES= cmake compiler:c++17-lang desktop-file-utils gettext-runtime gnome \ pkgconfig USE_GITHUB= yes GH_ACCOUNT= astroidmail -USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk30 \ +USE_GNOME= atk atkmm cairo cairomm gdkpixbuf glib20 glibmm gtk30 \ gtkmm30 introspection libsigc++20 pango pangomm vte3 USE_CXXSTD= c++17 .include diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile index e4eed6b1f828..b572164bb1c1 100644 --- a/mail/balsa/Makefile +++ b/mail/balsa/Makefile @@ -1,61 +1,61 @@ PORTNAME= balsa PORTVERSION= 2.6.4 PORTREVISION= 2 CATEGORIES= mail gnome MASTER_SITES= http://pawsa.fedorapeople.org/balsa/ MAINTAINER= gnome@FreeBSD.org COMMENT= Mail reader for the GNOME desktop WWW= https://pawsa.fedorapeople.org/balsa/ LICENSE= GPLv2 BUILD_DEPENDS= gnome-keyring:security/gnome-keyring \ itstool:textproc/itstool \ yelp-tools>=0:textproc/yelp-tools LIB_DEPENDS= libpcre.so:devel/pcre \ libesmtp.so:mail/libesmtp \ libgmime-3.0.so:mail/gmime30 \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libical.so:devel/libical \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \ libgnutls.so:security/gnutls \ libfribidi.so:converters/fribidi \ libsoup-2.4.so:devel/libsoup \ libgpgme.so:security/gpgme \ libcanberra.so:audio/libcanberra \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libenchant-2.so:textproc/enchant2 RUN_DEPENDS= gnome-keyring:security/gnome-keyring USES= cpe desktop-file-utils gettext gmake gnome iconv libtool pathfix perl5 \ pkgconfig tar:xz CPE_VENDOR= gnome -USE_GNOME= cairo gdkpixbuf2 gnomeprefix intlhack libxslt gtksourceview4 +USE_GNOME= cairo gdkpixbuf gnomeprefix intlhack libxslt gtksourceview4 USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-canberra \ --with-gtksourceview CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} OPTIONS_DEFINE= LDAP GTKSPELL GTKSV NOTIFY GPG OPTIONS_DEFAULT=LDAP GTKSPELL GTKSV NOTIFY OPTIONS_SUB= yes GPG_DESC= GnuPG support GTKSPELL_DESC= Spell checking support GTKSV_DESC= GtkSourceview support GPG_LIB_DEPENDS= libgpgme.so:security/gpgme GPG_CONFIGURE_WITH= gpgme GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 GTKSPELL_CONFIGURE_WITH= gtkspell GTKSV_USE= GNOME=gtksourceview3 GTKSV_CONFIGURE_WITH= gtksourceview LDAP_USES= ldap LDAP_CONFIGURE_WITH= ldap NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_WITH= libnotify .include diff --git a/mail/deforaos-mailer/Makefile b/mail/deforaos-mailer/Makefile index 9ad8859a1401..a4db9681cb94 100644 --- a/mail/deforaos-mailer/Makefile +++ b/mail/deforaos-mailer/Makefile @@ -1,67 +1,67 @@ PORTNAME= mailer PORTVERSION= 0.2.0 CATEGORIES= mail MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Mailer/ PKGNAMEPREFIX= deforaos- DISTNAME= Mailer-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop mail client WWW= https://www.defora.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libSystem.so:devel/deforaos-libsystem USES= gnome pkgconfig ssl xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_LDCONFIG= yes USE_XORG= x11 MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ gtkdoc-check:textproc/gtk-doc \ xsltproc:textproc/libxslt NLS_USES= gettext .include post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc include|data include|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-patch: ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ ${WRKSRC}/data/pkgconfig.sh .if ${OPSYS} == FreeBSD ${REINPLACE_CMD} 's/-fstack-protector/-fstack-protector -Wno-error=int-conversion/g' \ ${WRKSRC}/src/Makefile \ ${WRKSRC}/src/account/Makefile \ ${WRKSRC}/src/plugins/Makefile \ ${WRKSRC}/tests/Makefile .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \ ${STAGEDIR}${PREFIX}/lib/Mailer/plugins/*.so \ ${STAGEDIR}${PREFIX}/lib/Mailer/account/*.so \ ${STAGEDIR}${PREFIX}/lib/libMailer.so.0.0 .include diff --git a/mail/evolution-ews/Makefile b/mail/evolution-ews/Makefile index 613de1810209..dc453220eee8 100644 --- a/mail/evolution-ews/Makefile +++ b/mail/evolution-ews/Makefile @@ -1,32 +1,32 @@ PORTNAME= evolution-ews DISTVERSION= 3.54.3.0 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Evolution Microsoft Exchange plugin through Exchange Web Services WWW= https://wiki.gnome.org/Apps/Evolution LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evolution>=3.0.0:mail/evolution LIB_DEPENDS= libsoup-3.0.so:devel/libsoup \ libfribidi.so:converters/fribidi \ libicuuc.so:devel/icu \ libmspack.so:archivers/libmspack \ libsecret-1.so:security/libsecret \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libical.so:devel/libical \ libjson-glib-1.0.so:devel/json-glib RUN_DEPENDS= evolution>=3.0.0:mail/evolution PORTSCOUT= limitw:1,even USES= compiler:c11 cmake gettext gnome localbase pathfix \ pkgconfig sqlite tar:xz -USE_GNOME= cairo gdkpixbuf2 evolutiondataserver3 intltool +USE_GNOME= cairo gdkpixbuf evolutiondataserver3 intltool .include diff --git a/mail/py-mailnag/Makefile b/mail/py-mailnag/Makefile index 8af3e2b6d286..2100c93b8e2c 100644 --- a/mail/py-mailnag/Makefile +++ b/mail/py-mailnag/Makefile @@ -1,47 +1,47 @@ PORTNAME= mailnag DISTVERSIONPREFIX= v DISTVERSION= 2.2.0 PORTREVISION= 4 CATEGORIES= mail python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tagattie@FreeBSD.org COMMENT= Extensible mail notification daemon WWW= https://github.com/pulb/mailnag LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libnotify.so:devel/libnotify \ libsecret-1.so:security/libsecret RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} USES= desktop-file-utils gettext-tools gnome gstreamer python shebangfix USE_GITHUB= yes GH_ACCOUNT= pulb -USE_GNOME= gdkpixbuf2 glib20 gtk30 pygobject3 +USE_GNOME= gdkpixbuf glib20 gtk30 pygobject3 USE_PYTHON= autoplist distutils SHEBANG_FILES= mailnag mailnag-config SHEBANG_GLOB= *.py NO_ARCH= yes PORTDOCS= AUTHORS NEWS README.md OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/data/mailnag-config.desktop \ ${WRKSRC}/data/mailnag.desktop post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile index 4cb836b23ede..516bca80576a 100644 --- a/mail/sylpheed/Makefile +++ b/mail/sylpheed/Makefile @@ -1,118 +1,118 @@ PORTNAME= sylpheed PORTVERSION= 3.7.0 PORTREVISION= 8 CATEGORIES= mail MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${PORTVERSION:C/\.[^\.]*$//}/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Lightweight, featureful, and fast GTK based e-mail client WWW= https://sylpheed.sraoss.jp/en/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= cpe desktop-file-utils gettext gmake gnome iconv libtool pkgconfig \ tar:bzip2 -USE_GNOME= gtk20 cairo gdkpixbuf2 +USE_GNOME= gtk20 cairo gdkpixbuf USE_LDCONFIG= yes CPE_VENDOR= sylpheed_project GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-ipv6 \ --prefix=${PREFIX} \ --program-transform-name='' CONFLICTS= sylpheed-1.[0-8]* sylpheed-2.[0-9]* sylpheed-gtk2 OPTIONS_DEFINE= CA_BUNDLE COMPFACE CURL DOCS GPGME GTKSPELL LDAP \ ONIGURUMA SSL HIDE_OSSIG CA_BUNDLE_DESC= Include CA bundle for certificate verification COMPFACE_DESC= X-Face support CURL_DESC= libcurl dependency (remote update check) GPGME_DESC= GnuPG support using GPGME GTKSPELL_DESC= Spell checking support HIDE_OSSIG_DESC=Hide OS and GTK signature in mail header ONIGURUMA_DESC= Oniguruma support OPTIONS_DEFAULT=CA_BUNDLE CURL GTKSPELL GPGME SSL CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss COMPFACE_LIB_DEPENDS= libcompface.so:mail/faces COMPFACE_CONFIGURE_ENABLE= compface CURL_RUN_DEPENDS= curl:ftp/curl GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme \ libgpg-error.so:security/libgpg-error \ libassuan.so:security/libassuan GPGME_RUN_DEPENDS= gpg:security/gnupg GPGME_CONFIGURE_ENABLE= gpgme GTKSPELL_LIB_DEPENDS= libgtkspell.so:textproc/gtkspell \ libenchant.so:textproc/enchant \ libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus GTKSPELL_CONFIGURE_ENABLE= gtkspell HIDE_OSSIG_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_main.c LDAP_CONFIGURE_ENABLE= ldap LDAP_USES= ldap ONIGURUMA_LIB_DEPENDS= libonig.so:devel/oniguruma ONIGURUMA_CONFIGURE_ENABLE= oniguruma SSL_CONFIGURE_ENABLE= ssl SSL_USES= ssl .include MAKEFILES= Makefile.in ac/Makefile.in faq/Makefile.in faq/de/Makefile.in \ faq/en/Makefile.in faq/es/Makefile.in faq/fr/Makefile.in \ faq/it/Makefile.in manual/Makefile.in manual/en/Makefile.in \ manual/ja/Makefile.in src/Makefile.in libsylph/Makefile.in \ src/icons/Makefile.in post-patch: @${REINPLACE_CMD} -e 's|-lresolv||g; s|-lpisock\"|${ICONV_LIB} &|g;' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}&|g' \ ${WRKSRC}/libsylph/procmime.c # to prevent breaking cc of ldif.c because of a base64.h in PREFIX/include @${REINPLACE_CMD} -e 's|^\(DEFS.*\.\.\)$$|\1 -I../libsylph|' \ ${WRKSRC}/src/Makefile.in post-patch-DOCS-off: @${REINPLACE_CMD} -e '/^SUBDIRS = /s/manual faq//' \ ${WRKSRC}/Makefile.in post-patch-DOCS-on: .for i in ${MAKEFILES} @${REINPLACE_CMD} -e 's|^faqdir = @faqdir@$$|faqdir = ${DOCSDIR}/faq|g; \ s|^manualdir = @manualdir@$$|manualdir = ${DOCSDIR}/manual|g' \ ${WRKSRC}/${i} .endfor post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ChangeLog INSTALL README TODO ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${i}.ja ${STAGEDIR}${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/sylpheed.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/sylpheed.desktop ${STAGEDIR}${PREFIX}/share/applications/ .include diff --git a/mail/wmmaiload/Makefile b/mail/wmmaiload/Makefile index 41fcec2b2e50..e39eb6abe61e 100644 --- a/mail/wmmaiload/Makefile +++ b/mail/wmmaiload/Makefile @@ -1,42 +1,42 @@ PORTNAME= wmmaiload PORTVERSION= 2.3.0 PORTREVISION= 2 CATEGORIES= mail windowmaker MASTER_SITES= http://tnemeth.free.fr/projets/programmes/ MAINTAINER= ports@FreeBSD.org COMMENT= Incoming mail monitor dockapp with a similar look to wmcpuload WWW= http://tnemeth.free.fr/projets/dockapps.html LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gmake gnome localbase:ldflags pkgconfig ssl tar:bzip2 xorg USE_XORG= x11 xext xpm -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} CFLAGS+= -fcommon CPPFLAGS+= -I${OPENSSLINC} -D_GNU_SOURCE LDFLAGS+= -L${OPENSSLLIB} MAKE_ENV= DEBUG_CFLAGS="" DEBUG_LDFLAGS="" PLIST_FILES= bin/wmmaiload bin/wmmaiload-config \ share/man/man1/wmmaiload.1.gz \ share/man/man1/wmmaiload-config.1.gz post-patch: @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ 's| =| ?=|' do-install: .for i in wmmaiload wmmaiload-config ${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${PREFIX}/share/man/man1 .endfor .include diff --git a/mail/xfce4-mailwatch-plugin/Makefile b/mail/xfce4-mailwatch-plugin/Makefile index 6941c6a18afd..ccce870280aa 100644 --- a/mail/xfce4-mailwatch-plugin/Makefile +++ b/mail/xfce4-mailwatch-plugin/Makefile @@ -1,38 +1,38 @@ PORTNAME= xfce4-mailwatch-plugin PORTVERSION= 1.3.2 CATEGORIES= mail xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Mail notification applet for the Xfce panel WWW= https://docs.xfce.org/panel-plugins/xfce4-mailwatch-plugin/start LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgnutls.so:security/gnutls \ libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libexo panel USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= IPV6 NLS OPTIONS_SUB= yes IPV6_CONFIGURE_ENABLE= ipv6 NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime post-patch: @${REINPLACE_CMD} -e 's|xfce-mail|mail-send|' \ ${WRKSRC}/panel-plugin/mailwatch-plugin.c .include diff --git a/math/cadabra2/Makefile b/math/cadabra2/Makefile index e7a408385dd5..97fa33352592 100644 --- a/math/cadabra2/Makefile +++ b/math/cadabra2/Makefile @@ -1,59 +1,59 @@ PORTNAME= cadabra2 DISTVERSION= 2.5.8 PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Computer algebra system for solving field theory problems WWW= https://cadabra.science/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/doc/license.txt BROKEN= fails to build with Boost>=1.87 BROKEN_FreeBSD_15= compilation fails with clang-17, see https://github.com/kpeeters/cadabra2/issues/285 BUILD_DEPENDS= ${LOCALBASE}/include/websocketpp/client.hpp:devel/websocketpp LIB_DEPENDS= ${PY_BOOST} \ libboost_system.so:devel/boost-libs \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libpcrecpp.so:devel/pcre \ libjsoncpp.so:devel/jsoncpp \ libgmp.so:math/gmp \ libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= ${PYTHON_SITELIBDIR}/sympy/__init__.py:math/py-sympy@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR} USES= compiler:c++17-lang cmake:noninja dos2unix gettext-runtime gnome localbase:ldflags pkgconfig python sqlite tex # USES=python picks random python versions USE_GNOME= glib20 glibmm libsigc++20 USE_TEX= base latex texhash USE_GITHUB= yes GH_ACCOUNT= kpeeters GH_TAGNAME= 95ca296 # 2.5.2 + fixes for the microtex library GH_TUPLE= kpeeters:MicroTeX:d68cf35:microtex/submodules/microtex DOS2UNIX_FILES= cmake/version.cmake CMAKE_ON= ENABLE_SYSTEM_JSONCPP USE_PYTHON_3 # OFF doesn't work, still links to python3: https://github.com/kpeeters/cadabra2/issues/76 CMAKE_OFF= ENABLE_MATHEMATICA CXXFLAGS+= -I${LOCALBASE}/include/jsoncpp LDFLAGS+= -ljsoncpp PLIST_SUB= _PY_SONAME=${_PY_SONAME} OPTIONS_DEFINE= GUI OPTIONS_DEFAULT= GUI OPTIONS_SUB= yes GUI_USES= desktop-file-utils -GUI_USE= GNOME=gtkmm30,gdkpixbuf2 +GUI_USE= GNOME=gtkmm30,gdkpixbuf GUI_CMAKE_BOOL= ENABLE_FRONTEND _PY_SONAME= ${PYTHON_EXT_SUFFIX} post-extract: # unbundle @${RM} -r ${WRKSRC}/libs/jsoncpp ${WRKSRC}/libs/websocketpp .include diff --git a/math/coq/Makefile b/math/coq/Makefile index 365b50b4aef8..4bbe10c00a46 100644 --- a/math/coq/Makefile +++ b/math/coq/Makefile @@ -1,84 +1,84 @@ PORTNAME= coq PORTVERSION= 8.20.1 PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= math DISTVERSIONPREFIX= V #DISTVERSIONSUFFIX= .0 PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= hrs@FreeBSD.org COMMENT= Theorem prover based on lambda-C WWW= https://coq.inria.fr/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${SA_DIR}/num/META:math/ocaml-num \ ${SA_DIR}/zarith/META:math/ocaml-zarith \ bash:shells/bash \ camlp5:devel/ocaml-camlp5 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmp.so:math/gmp \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= ${SA_DIR}/num/META:math/ocaml-num \ ${SA_DIR}/zarith/META:math/ocaml-zarith USES= emacs gettext-runtime gmake gnome ocaml:camlp4,dune,ldconfig python:env shebangfix tex SHEBANG_FILES= tools/*.py USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 gtksourceview3 +USE_GNOME= cairo gdkpixbuf gtk30 gtksourceview3 USE_LDCONFIG= ${PREFIX}/lib/coq OCAML_LDLIBS= ${OCAML_SITELIBDIR}/coq-core OCAML_PACKAGES= coq-core coq-stdlib coq HAS_CONFIGURE= yes CONFIGURE_ARGS= -prefix ${PREFIX} \ -mandir ${PREFIX}/share/man \ -docdir ${OCAML_DOCSDIR} \ -bytecode-compiler yes \ -native-compiler yes CONFLICTS_INSTALL= coq coq-emacs_* # bin/coq-tex bin/coq_makefile bin/coqc bin/coqchk bin/coqdep bin/coqdoc bin/coqide bin/coqmktop bin/coqtop bin/coqtop.byte bin/coqwc bin/coqworkmgr bin/gallina OPTIONS_DEFINE= DOCS IDE OPTIONS_DEFAULT= IDE OPTIONS_SUB= yes IDE_DESC= Include desktop environment (coqide) IDE_BUILD_DEPENDS= ${SA_DIR}/lablgtk3/META:x11-toolkits/ocaml-lablgtk3 IDE_RUN_DEPENDS= ${SA_DIR}/lablgtk3/META:x11-toolkits/ocaml-lablgtk3 IDE_VARS= ocaml_packages+=coqide-server ocaml_packages+=coqide # IDE_CONFIGURE_OFF= -coqide no # XXX needs fixing # DOCS_USES= tex python:env # DOCS_USE= TEX=latex:build,dvipsk:build # DOCS_BUILD_DEPENDS= hevea:textproc/hevea \ # sphinx-build:textproc/py-sphinx \ # ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ # ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-bibtex>0:textproc/py-sphinxcontrib-bibtex@${PY_FLAVOR} # DOCS_VARS= ocaml_packages+=coq-doc #DOCS_CONFIGURE_OFF= -with-doc no SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR} pre-build: @${MAKE_CMD} -C ${WRKSRC} dunestrap # XXX to keep dune-install happy, until DOCS build gets fixed post-build: @${TOUCH} ${WRKSRC}/${DUNE_BUILD_DIR}/default/coq-doc.install post-install: @(cd ${STAGEDIR}${PREFIX} ; \ ${FIND} ${OCAML_SITELIBDIR} -type f '(' -name '*.cmxs' -o -name '*_stubs.so' ')' ; \ ${FIND} bin -type f -not -name '*.byte' ; \ ) | while read f; \ do \ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/$$f ; \ done post-install-IDE-on: @${MKDIR} -p ${STAGEDIR}${PREFIX}/etc/xdg/coq .include diff --git a/math/ggobi/Makefile b/math/ggobi/Makefile index 4b64cad612aa..6f654543be3c 100644 --- a/math/ggobi/Makefile +++ b/math/ggobi/Makefile @@ -1,41 +1,41 @@ PORTNAME= ggobi DISTVERSION= 2.1.12 PORTREVISION= 1 CATEGORIES= math graphics MAINTAINER= rhurlin@FreeBSD.org COMMENT= Data visualization system WWW= http://www.ggobi.org/ LICENSE= EPL LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libcgraph.so:graphics/graphviz USES= autoreconf desktop-file-utils gettext-tools \ gmake gnome libtool pathfix pkgconfig tex USE_GITHUB= yes GH_TAGNAME= 93a7148 # The 'official' tarball misses last commit with pstricks removal! -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gtk20 libxml2 USE_LDCONFIG= yes USE_TEX= web2c:build dvipdfmx:build GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-all-plugins MAKE=gmake ALL_TARGET= all ggobirc INSTALL_TARGET= install-strip SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS post-build: @${REINPLACE_CMD} -e 's|plugin.la|plugin.so|g' ${WRKSRC}/ggobirc post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/ggobi ${INSTALL_DATA} ${WRKSRC}/ggobirc ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc.sample .include diff --git a/math/gkmap/Makefile b/math/gkmap/Makefile index b7e55ece12f5..0b80325bfcb3 100644 --- a/math/gkmap/Makefile +++ b/math/gkmap/Makefile @@ -1,22 +1,22 @@ PORTNAME= gkmap PORTVERSION= 0.2 PORTREVISION= 7 CATEGORIES= math MASTER_SITES= SF/gkmap/gkmap/gkmap-${PORTVERSION}/ MAINTAINER= javad.kouhi@gmail.com COMMENT= Simplification of Boolean Functions using Karnaugh Map WWW= https://sourceforge.net/projects/gkmap/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= gnome pkgconfig dos2unix -USE_GNOME= cairo gdkpixbuf2 gtk20 libglade2 libxml2 +USE_GNOME= cairo gdkpixbuf gtk20 libglade2 libxml2 GNU_CONFIGURE= yes .include diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile index a3d894dbad89..695ec1c15af3 100644 --- a/math/gnuplot/Makefile +++ b/math/gnuplot/Makefile @@ -1,111 +1,111 @@ PORTNAME= gnuplot PORTVERSION= 5.4.10 PORTREVISION= 2 CATEGORIES= math graphics MASTER_SITES= SF MAINTAINER= glewis@FreeBSD.org COMMENT?= Command-line driven graphing utility WWW= http://www.gnuplot.info/ LICENSE= Gnuplot LICENSE_NAME= Gnuplot license LICENSE_FILE= ${WRKSRC}/Copyright LICENSE_PERMS= dist-mirror pkg-mirror auto-accept CONFLICTS_INSTALL?= gnuplot-lite USES+= compiler:c++11-lang cpe groff iconv pkgconfig readline CPE_VENDOR= gnuplot_project GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} CONFIGURE_ARGS+=--with-readline=gnu \ --without-linux-vga \ --without-lisp-files \ --without-tutorial \ --with-bitmap-terminals \ --with-qt=no .if defined(LITE) CONFIGURE_ARGS+=--disable-x11-mbfonts \ --disable-x11-external \ --disable-wxwidgets \ --without-x \ --without-ggi \ --without-gd \ --without-caca \ --without-wx \ --without-gpic \ --without-mif \ --without-cairo \ --without-lua \ --without-latex \ --without-kpsexpand PLIST_SUB+= X11="@comment " .else USES+= gnome jpeg lua:53 ncurses tex xorg USE_TEX= kpathsea -USE_GNOME+= atk cairo gtk30 gdkpixbuf2 +USE_GNOME+= atk cairo gtk30 gdkpixbuf USE_WX= 3.0+ USE_XORG+= x11 LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libgd.so:graphics/gd \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libtiff.so:graphics/tiff CONFIGURE_ARGS+=--with-gd=${LOCALBASE} \ --with-gpic \ --with-mif \ --with-kpsexpand \ --with-latex \ ac_cv_prog_KPSEXPAND=${LOCALBASE}/bin/kpsexpand \ ac_cv_prog_PLAINTEX=${LOCALBASE}/bin/tex \ ac_cv_prog_LATEX=${LOCALBASE}/bin/latex \ ac_cv_prog_PDFLATEX=${LOCALBASE}/bin/pdflatex PLIST_SUB+= X11="" .endif TEST_TARGET= check PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES GRIDBOX GRIDBOX_DESC= Use the gridbox optimization for hidden3d GRIDBOX_CONFIGURE_OFF= --disable-h3d-quadtree --enable-h3d-gridbox post-patch: @${REINPLACE_CMD} -e \ '/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in @${REINPLACE_CMD} -e \ 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e \ 's|luaL_checkint(|(int)luaL_checkinteger(|' ${WRKSRC}/term/lua.trm post-build-DOCS-on: @cd ${WRKSRC}/docs && ${MAKE} groff pre-install: ${MKDIR} ${STAGEDIR}${DATADIR}/5.4 ; \ ${INSTALL_DATA} ${WRKSRC}/share/gnuplotrc \ ${STAGEDIR}${DATADIR}/5.4/gnuplotrc.sample post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/psdoc cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \ gnuplot.ps ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} README ps_* ${STAGEDIR}${DOCSDIR}/psdoc .if defined(LITE) post-stage: @cd ${STAGEDIR}${PREFIX} && ${RMDIR} libexec/gnuplot/5.4 libexec/gnuplot .endif .include diff --git a/math/gretl/Makefile b/math/gretl/Makefile index 9dfe954ab2bd..7b333de2c727 100644 --- a/math/gretl/Makefile +++ b/math/gretl/Makefile @@ -1,117 +1,117 @@ PORTNAME= gretl PORTVERSION= 2024d PORTREVISION= 1 CATEGORIES= math finance MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSIONFULL}/ MAINTAINER= yuri@FreeBSD.org COMMENT= GNU Regression, Econometrics, and Time-series Library WWW= https://gretl.sourceforge.net/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_13= configure fails: checking for gnuplot >= 5.2 with cairo support... no LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libgmp.so:math/gmp \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib \ libmpfr.so:math/mpfr USES= compiler:c11 fortran gmake gnome localbase libtool ncurses \ pathfix pkgconfig readline shebangfix tar:xz USE_WX= 3.0 USE_LDCONFIG= yes SHEBANG_GLOB= *.sh GNU_CONFIGURE= yes BINARY_ALIAS= make=${GMAKE} ALL_TARGET= # empty SSP_CFLAGS?= -fstack-protector # XXX -strong crashes mklang on 12.0+ i386 CONFIGURE_ENV= ac_cv_lib_dl_dlopen="" \ LAPACK_LIBS="${LAPACK} ${BLAS}" PLIST_SUB= GTK_VER=${GTK_VER} OPTIONS_DEFINE= ADDONS ATLAS GUI MPI NLS ODBC OPENMP R UNZIP OPTIONS_DEFAULT= ADDONS GUI OPENMP UNZIP OPTIONS_SUB= yes ADDONS_DESC= Build gretl addons ADDONS_CONFIGURE_ENABLE= build-addons ADDONS_USES= tex ADDONS_USE= TEX=formats,dvipsk:build ATLAS_DESC= Use ATLAS for BLAS and LAPACK ATLAS_LIB_DEPENDS= libatlas.so:math/atlas ATLAS_LIB_DEPENDS_OFF= libblas.so:math/blas \ liblapack.so:math/lapack ATLAS_VARS= BLAS=-lf77blas LAPACK="-lalapack -lcblas" ATLAS_VARS_OFF= BLAS=-lblas LAPACK=-llapack GUI_DESC= Graphical user interface and plugins GUI_CONFIGURE_ON= --enable-gui=yes GUI_CONFIGURE_OFF= --enable-gui=no --enable-xdg=no -GUI_USE= GNOME=cairo,gtksourceview4,gdkpixbuf2 +GUI_USE= GNOME=cairo,gtksourceview4,gdkpixbuf GUI_USE_OFF= GNOME=glib20,libxml2 GUI_VARS= GTK_VER=3 GUI_VARS_OFF= GTK_VER=2 GUI_USES= desktop-file-utils shared-mime-info GUI_BUILD_DEPENDS= gnuplot:math/gnuplot GUI_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig GUI_RUN_DEPENDS= gnuplot:math/gnuplot MPI_CONFIGURE_WITH= mpi MPI_CONFIGURE_ENV= MPICC=${LOCALBASE}/bin/mpicc MPI_CONFIGURE_ON= --with-mpi-include=${LOCALBASE}/include/mpi.h --with-mpi-lib=${LOCALBASE}/lib/libmpi.so MPI_LIB_DEPENDS= libmpi.so:net/mpich MPI_BROKEN= checking mpi.h usability... no # need to investigate NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext ODBC_CONFIGURE_WITH= odbc ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC OPENMP_CONFIGURE_ENABLE= openmp OPENMP_USE= GCC=yes R_DESC= libR support R_CONFIGURE_WITH= libR R_BROKEN= Doesn't link to R libraries UNZIP_DESC= UnZip compression support via libgsf UNZIP_CONFIGURE_WITH= gsf UNZIP_USE= GNOME=libgsf .if !empty(MACHINE_CPU:Msse2) CONFIGURE_ARGS+= --enable-sse2=yes .else CONFIGURE_ARGS+= --enable-sse2=no .endif post-patch: @${SED} -i '.orig' -E -e '/#include[[:blank:]]+/\ {x; s/.*/#include /; H; x;}' \ ${WRKSRC}/configure \ ${WRKSRC}/plugin/mailer.c regression-test test check: build @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_ARGS} check post-install: # strip @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/bin/gretlcli \ ${STAGEDIR}${PREFIX}/bin/gretl_x11 \ ${STAGEDIR}${PREFIX}/lib/libgretl-1.0.so.* \ ${STAGEDIR}${PREFIX}/lib/gretl-gtk3/*.so # rm doc @${RMDIR} ${STAGEDIR}${DATADIR}/doc .include diff --git a/math/mate-calc/Makefile b/math/mate-calc/Makefile index c582932ce3ba..21b07bb6e62b 100644 --- a/math/mate-calc/Makefile +++ b/math/mate-calc/Makefile @@ -1,29 +1,29 @@ PORTNAME= mate-calc PORTVERSION= 1.28.0 CATEGORIES= math mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE calculator tool based on the old calctool for OpenWindows WWW= https://mate-desktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libmpc.so:math/mpc \ libmpfr.so:math/mpfr PORTSCOUT= limitw:1,even USES= gettext gmake gnome localbase pkgconfig tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 intlhack libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share GLIB_SCHEMAS= org.mate.calc.gschema.xml MAKE_JOBS_UNSAFE= yes .include diff --git a/math/mpsolve/Makefile b/math/mpsolve/Makefile index 6065d588b662..bfd53c1649de 100644 --- a/math/mpsolve/Makefile +++ b/math/mpsolve/Makefile @@ -1,38 +1,38 @@ PORTNAME= mpsolve DISTVERSION= 3.2.1 PORTREVISION= 3 CATEGORIES= math MASTER_SITES= https://numpi.dm.unipi.it/_media/software/mpsolve/ MAINTAINER= yuri@FreeBSD.org COMMENT= Multiprecision rootfinder for complex roots of univariate polynomials WWW= https://numpi.dm.unipi.it/software/mpsolve LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp \ libtcmalloc_minimal.so:devel/google-perftools USES= autoreconf:2.69 compiler:c++11-lang gettext-runtime gmake \ gnome libtool localbase pkgconfig shared-mime-info tar:bz2 -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_LDCONFIG= yes USE_CXXSTD= c++14 # fix compilation failure on 14: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip OPTIONS_DEFINE= GUI OPTIONS_DEFAULT= GUI OPTIONS_SUB= yes GUI_DESC= Graphical UI to solve polynomial equations visually GUI_CONFIGURE_OFF= --disable-ui GUI_USES= bison desktop-file-utils qt:5 GUI_USE= QT=core,gui,widgets,buildtools:build .include diff --git a/math/qalculate-gtk/Makefile b/math/qalculate-gtk/Makefile index e86b2079e99f..ffc2b6a54f5a 100644 --- a/math/qalculate-gtk/Makefile +++ b/math/qalculate-gtk/Makefile @@ -1,35 +1,35 @@ PORTNAME= qalculate-gtk PORTVERSION= 5.5.1 CATEGORIES= math MASTER_SITES= https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/ MAINTAINER= jhale@FreeBSD.org COMMENT= Multi-purpose desktop calculator (GTK 3 frontend) WWW= https://qalculate.github.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libqalculate.so:math/libqalculate \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= gnuplot:math/gnuplot USES= compiler:c++11-lang gettext gmake gnome \ libtool:build localbase pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 intltool libxml2 GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS WEBKIT OPTIONS_DEFAULT= WEBKIT OPTIONS_SUB= yes WEBKIT_DESC= Use WebKitGTK for display of the user manual WEBKIT_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 WEBKIT_CONFIGURE_ON= --with-webkitgtk=4.0 post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in .include diff --git a/math/ump/Makefile b/math/ump/Makefile index 5a2cb201892c..c886f6bdf250 100644 --- a/math/ump/Makefile +++ b/math/ump/Makefile @@ -1,33 +1,33 @@ PORTNAME= ump PORTVERSION= 0.8.6 PORTREVISION= 14 CATEGORIES= math education MASTER_SITES= SF/u-m-p/u-m-p/${PORTVERSION} PKGNAMESUFFIX= -math MAINTAINER= ports@FreeBSD.org COMMENT= Graphical, easy to use math program WWW= https://u-m-p.sourceforge.net/ LICENSE= GPLv2 USES= compiler:c++11-lang gl gmake gnome pkgconfig tar:bzip2 xorg USE_CXXSTD= c++14 USE_GL= gl glu -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 ALL_TARGET= ${PORTNAME} CONFLICTS= ump-1.[0-9]* DESKTOP_ENTRIES="Ump" "" "" "ump" "Education;Math;Science;GTK;" "" post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/main.cpp post-install: ${INSTALL_DATA} ${WRKSRC}/ump.conf \ ${STAGEDIR}${PREFIX}/etc/ump.conf.sample .include diff --git a/math/visualpolylib/Makefile b/math/visualpolylib/Makefile index 6bbb5eb396de..2789e91936e7 100644 --- a/math/visualpolylib/Makefile +++ b/math/visualpolylib/Makefile @@ -1,31 +1,31 @@ PORTNAME= visualpolylib DISTVERSION= 0.9 DISTVERSIONSUFFIX= e PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://icps.u-strasbg.fr/polylib/download/ DISTNAME= ${PORTNAME}.${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Visualization program for PolyLib WWW= https://icps.u-strasbg.fr/polylib/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmp.so:math/gmp \ libpolylibgmp.so:math/polylib USES= gettext-runtime gmake gnome pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static \ --with-polylib=${LOCALBASE}/lib/libpolylibgmp.so -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango CFLAGS+= -fcommon # notified the maontainer via e-mail on Sep 19, 2020 PLIST_FILES= bin/${PORTNAME} .include diff --git a/math/xfce4-calculator-plugin/Makefile b/math/xfce4-calculator-plugin/Makefile index 446fcee70cd7..53097e122358 100644 --- a/math/xfce4-calculator-plugin/Makefile +++ b/math/xfce4-calculator-plugin/Makefile @@ -1,30 +1,30 @@ PORTNAME= xfce4-calculator-plugin PORTVERSION= 0.7.3 CATEGORIES= math xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Simple calculator for the Xfce panel WWW= https://docs.xfce.org/panel-plugins/xfce4-calculator-plugin/start LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bz2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/misc/actiona/Makefile b/misc/actiona/Makefile index 1327afb28cf6..631b13d4d9a6 100644 --- a/misc/actiona/Makefile +++ b/misc/actiona/Makefile @@ -1,41 +1,41 @@ PORTNAME= actiona DISTVERSIONPREFIX= v DISTVERSION= 3.10.1 PORTREVISION= 8 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Cross-platform automation tool WWW= https://wiki.actiona.tools/doku.php LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/boost/property_tree/ini_parser.hpp:devel/boost-libs LIB_DEPENDS= libnotify.so:devel/libnotify \ libopencv_core.so:graphics/opencv USES= compiler:c++11-lang desktop-file-utils gl pkgconfig qmake \ gnome qt:5 shared-mime-info xorg USE_GITHUB= yes GH_ACCOUNT= Jmgr USE_QT= concurrent core dbus gui multimedia network script scripttools speech sql widgets x11extras xml xmlpatterns \ buildtools:build uitools:build -USE_GNOME= gdkpixbuf2 glib20 +USE_GNOME= gdkpixbuf glib20 USE_GL= gl USE_XORG= x11 xtst QMAKE_ARGS= PKGCONFIG_OPENCV=opencv4 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= QT=linguisttools:build pre-build-NLS-on: # this is a hackish way to turn NLS on/off, asked the upstream to have the NLS option @cd ${WRKSRC} && ${MAKE_CMD} locale_release post-stage-NLS-off: @${RM} -r ${STAGEDIR}${DATADIR} .include diff --git a/misc/free42/Makefile b/misc/free42/Makefile index ae553d530d45..b0ed6bfdd1b4 100644 --- a/misc/free42/Makefile +++ b/misc/free42/Makefile @@ -1,58 +1,58 @@ PORTNAME= free42 DISTVERSION= 3.2.1 CATEGORIES= misc MASTER_SITES= http://thomasokken.com/free42/upstream/ DISTNAME= ${PORTNAME}-nologo-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Simulation of the HP-42S scientific calculator and HP-82240 printer WWW= https://thomasokken.com/free42 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= compiler dos2unix gmake gnome localbase pkgconfig tar:tgz xorg -USE_GNOME= atk cairo gdkpixbuf2 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf gtk30 pango USE_XORG= x11 xmu DOS2UNIX_FILES= gtk/IntelRDFPMathLib20U1/LIBRARY/float128/op_system.h \ gtk/IntelRDFPMathLib20U1/LIBRARY/float128/architecture.h \ gtk/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h \ common/bid_functions.h \ gtk/IntelRDFPMathLib20U1/TESTS/test_bid_functions.h CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing -Wno-constant-conversion # to accommodate some code breaking with clang-50 BUILD_WRKSRC= ${WRKSRC}/gtk VARIANTS= bin dec .for v in ${VARIANTS} PLIST_FILES+= bin/${PORTNAME}${v} .endfor post-extract: @cd ${BUILD_WRKSRC} && tar xfz ../inteldecimal/IntelRDFPMathLib20U1.tar.gz post-patch: @${REINPLACE_CMD} -e 's|(free42dirname)|("${DATADIR}/skins")|' \ ${BUILD_WRKSRC}/shell_skin.cc do-build: .for v in ${VARIANTS} @${CP} -r ${BUILD_WRKSRC} ${BUILD_WRKSRC}-${v} @cd ${BUILD_WRKSRC}-${v} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} cleaner && \ ${SETENV} ${MAKE_ENV} ${v:S/dec/BCD_MATH=1/:S/bin//} ${MAKE_CMD} .endfor do-install: .for v in ${VARIANTS} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}-${v}/free42${v} ${STAGEDIR}${PREFIX}/bin/ .endfor .include diff --git a/misc/gpsim/Makefile b/misc/gpsim/Makefile index 6dffcb2f0da5..b0237485d965 100644 --- a/misc/gpsim/Makefile +++ b/misc/gpsim/Makefile @@ -1,63 +1,63 @@ PORTNAME= gpsim DISTVERSION= 0.32.1 CATEGORIES= misc MASTER_SITES= https://download.sourceforge.net/project/gpsim/gpsim/0.32.0/ # SF MAINTAINER= yuri@FreeBSD.org COMMENT= Software simulator for Microchip PIC microcontrollers WWW= https://gpsim.sourceforge.net/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= gpasm:devel/gputils LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpopt.so:devel/popt RUN_DEPENDS= gpasm:devel/gputils USES= compiler:c++11-lang gmake gnome libtool localbase:ldflags pathfix pkgconfig readline USE_CXXSTD= c++11 -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk20 pango USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFLICTS_BUILD= ga DESKTOP_ENTRIES= "GPSim" "" "" "gpsim" "Development;GTK;" "" OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * post-patch: .for i in gpsim/Makefile.in modules/Makefile.in @${REINPLACE_CMD} -e \ 's|-lstdc++||' ${WRKSRC}/${i} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS ChangeLog PROCESSORS README* doc/gpsim.pdf (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DOCSDIR}) .endfor post-install-EXAMPLES-on: .for i in led_test logic_test mod_test usart_gui usart_test @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/modules/${i} (cd ${WRKSRC}/examples/modules/${i} && ${INSTALL_DATA} *.asm *.stc \ ${STAGEDIR}${EXAMPLESDIR}/modules/${i}) .endfor .for i in digital_stim p16f628_test stack_test @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/projects/${i} (cd ${WRKSRC}/examples/projects/${i} && ${INSTALL_DATA} *.asm *.stc \ ${STAGEDIR}${EXAMPLESDIR}/projects/${i}) .endfor .include diff --git a/misc/iio-oscilloscope/Makefile b/misc/iio-oscilloscope/Makefile index c667fed9bdee..965af0905d26 100644 --- a/misc/iio-oscilloscope/Makefile +++ b/misc/iio-oscilloscope/Makefile @@ -1,34 +1,34 @@ PORTNAME= iio-oscilloscope DISTVERSIONPREFIX= v DISTVERSION= 0.17 DISTVERSIONSUFFIX= -master CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Oscilloscope application for interfacing with various IIO devices WWW= https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libad9361.so:misc/libad9361-iio \ libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkdatabox.so:x11-toolkits/gtkdatabox \ libiio.so:misc/libiio \ libjansson.so:devel/jansson \ libmatio.so:math/matio USES= cmake compiler:c11 gnome localbase:ldflags pkgconfig -USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 pango +USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 pango USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= analogdevicesinc CFLAGS+= `pkg-config --cflags gtkdatabox` # workaround for https://github.com/analogdevicesinc/iio-oscilloscope/issues/499 LDFLAGS+= -lm -lexecinfo .include diff --git a/misc/lxi-tools/Makefile b/misc/lxi-tools/Makefile index 41ab72305e51..949af3d668f1 100644 --- a/misc/lxi-tools/Makefile +++ b/misc/lxi-tools/Makefile @@ -1,37 +1,37 @@ PORTNAME= lxi-tools DISTVERSIONPREFIX= v DISTVERSION= 2.5 PORTREVISION= 1 CATEGORIES= misc MAINTAINER= dmgk@FreeBSD.org COMMENT= Collection of tools that enables control of LXI compatible instruments WWW= https://lxi-tools.github.io/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= liblxi.so:misc/liblxi USES= meson lua:53 pkgconfig readline USE_GITHUB= yes MESON_ARGS= -Dbashcompletiondir=${PREFIX}/etc/bash_completion.d PORTDOCS= README.md OPTIONS_DEFINE= DOCS GUI OPTIONS_SUB= yes GUI_LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib GUI_USES= gettext-tools gnome python:build -GUI_USE= gnome=cairo,gdkpixbuf2,glib20,gtk40,gtksourceview5,libadwaita +GUI_USE= gnome=cairo,gdkpixbuf,glib20,gtk40,gtksourceview5,libadwaita GUI_MESON_OFF= -Dgui=false GUI_BINARY_ALIAS= python3=${PYTHON_CMD} GUI_PLIST_FILES= bin/lxi-gui post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/misc/wmforecast/Makefile b/misc/wmforecast/Makefile index b275aa796328..cdecd234766b 100644 --- a/misc/wmforecast/Makefile +++ b/misc/wmforecast/Makefile @@ -1,34 +1,34 @@ PORTNAME= wmforecast DISTVERSION= 1.9.0 PORTREVISION= 2 CATEGORIES= misc windowmaker geography MASTER_SITES= https://github.com/d-torrance/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= obscenum999@gmail.com COMMENT= Weather dockapp for Window Maker using the Yahoo Weather API WWW= https://wmforecast.friedcheese.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgweather-3.so:net/libgweather \ libharfbuzz.so:print/harfbuzz \ libWINGs.so:x11-wm/windowmaker \ libwraster.so:x11-wm/libwraster USES= gmake gettext-runtime gnome pkgconfig xorg -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share OPTIONS_DEFINE= GEOCLUE NLS GEOCLUE_DESC= Use GeoClue GEOCLUE_LIB_DEPENDS= libgeoclue-2.so:net/geoclue GEOCLUE_CONFIGURE_WITH= geoclue NLS_USES= gettext .include diff --git a/misc/xfce4-appfinder/Makefile b/misc/xfce4-appfinder/Makefile index 4f82c859f499..e6eaf50f344a 100644 --- a/misc/xfce4-appfinder/Makefile +++ b/misc/xfce4-appfinder/Makefile @@ -1,28 +1,28 @@ PORTNAME= xfce4-appfinder PORTVERSION= 4.20.0 CATEGORIES= misc xfce MASTER_SITES= XFCE DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Application launcher and finder WWW= https://gitlab.xfce.org/xfce/xfce4-appfinder LICENSE= GPLv2 USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= garcon libmenu xfconf GNU_CONFIGURE= yes PORTSCOUT= limitw:1,even OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/misc/xfce4-weather-plugin/Makefile b/misc/xfce4-weather-plugin/Makefile index 8dd77cda69a4..09cb6a2b79e9 100644 --- a/misc/xfce4-weather-plugin/Makefile +++ b/misc/xfce4-weather-plugin/Makefile @@ -1,38 +1,38 @@ PORTNAME= xfce4-weather-plugin PORTVERSION= 0.11.3 CATEGORIES= misc xfce geography MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Weather plugin for the Xfce panel WWW= https://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libjson-c.so:devel/json-c \ libsoup-2.4.so:devel/libsoup USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libxml2 USE_LDCONFIG= yes USE_XFCE= libmenu panel xfconf GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS UPOWER OPTIONS_SUB= yes UPOWER_DESC= Power management tasks NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_CONFIGURE_ENABLE= upower .include diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile index 9e9a4ca4a25e..8411b4b630ee 100644 --- a/multimedia/audacious-plugins/Makefile +++ b/multimedia/audacious-plugins/Makefile @@ -1,276 +1,276 @@ PORTNAME= audacious-plugins DISTVERSION= 4.4.2 PORTREVISION= 3 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ MAINTAINER= madpilot@FreeBSD.org COMMENT= Plugins needed for audacious WWW= https://audacious-media-player.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 FLAVORS= qt6 qt5 gtk2 gtk3 FLAVOR?= ${FLAVORS:[1]} gtk2_PKGNAMESUFFIX= -gtk2 gtk2_BUILD_DEPENDS= audacious:multimedia/audacious@gtk2 gtk2_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk2_RUN_DEPENDS= audacious:multimedia/audacious@gtk2 gtk2_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-gtk3 \ audacious-plugins-qt6 gtk3_PKGNAMESUFFIX= -gtk3 gtk3_BUILD_DEPENDS= audacious:multimedia/audacious@gtk3 gtk3_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk3_RUN_DEPENDS= audacious:multimedia/audacious@gtk3 gtk3_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-gtk2 \ audacious-plugins-qt6 qt5_PKGNAMESUFFIX= -qt5 qt5_BUILD_DEPENDS= audacious:multimedia/audacious@qt5 qt5_RUN_DEPENDS= audacious:multimedia/audacious@qt5 qt5_CONFLICTS_INSTALL= audacious-plugins-gtk2 audacious-plugins-gtk3 \ audacious-plugins-qt6 qt6_BUILD_DEPENDS= audacious:multimedia/audacious@qt6 qt6_RUN_DEPENDS= audacious:multimedia/audacious@qt6 qt6_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-gtk2 \ audacious-plugins-gtk3 USES= compiler:c++11-lib gettext-tools gmake gnome iconv localbase \ meson pkgconfig tar:bzip2 xorg -USE_GNOME= gdkpixbuf2 glib20 libxml2 +USE_GNOME= gdkpixbuf glib20 libxml2 USE_XORG= x11 CONFIGURE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" MESON_ARGS= -Dcoreaudio=false \ -Dmms=false \ -Dcdaudio-cddb=false MAKE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" .if ${FLAVOR} == qt5 MESON_ARGS+= -Dgtk2=false \ -Dgtk=false \ -Dqt5=true \ -Dqt=true USES+= qt:5 USE_QT= core gui multimedia network svg widgets x11extras PLIST_SUB= GTK="@comment " \ QT5="" \ QT="" .elif ${FLAVOR} == qt6 MESON_ARGS+= -Dgtk2=false \ -Dgtk=false \ -Dqt5=false \ -Dqt=true USES+= qt:6 USE_QT= base multimedia svg PLIST_SUB= GTK="@comment " \ QT5="@comment " \ QT="" .elif ${FLAVOR} == gtk2 LIB_DEPENDS+= libjson-glib-1.0.so:devel/json-glib MESON_ARGS+= -Dgtk2=true \ -Dgtk=true \ -Dhotkey=true \ -Dqt5=false \ -Dqt=false USE_GNOME+= cairo gtk20 PLIST_SUB= GTK="" \ QT6="@comment " \ QT="@comment " .elif ${FLAVOR} == gtk3 LIB_DEPENDS+= libjson-glib-1.0.so:devel/json-glib MESON_ARGS+= -Dgtk2=false \ -Dgtk=true \ -Dhotkey=true \ -Dqt5=false \ -Dqt=false USE_GNOME+= cairo gtk30 PLIST_SUB= GTK="" \ QT6="@comment " \ QT="@comment " .endif OPTIONS_DEFINE= AAC ADPLUG AMIDI BS2B CDDA CONSOLE CUE FFMPEG FLAC LAME \ LIRC MODPLUG MPG123 MPRIS NEON NLS NOTIFY OPENGL \ OPENMPT OPUS SAMPLERATE SCROBBLER SID SNDFILE SOXR \ SPEEDPITCH VORBIS WAVPACK OPTIONS_DEFAULT= AAC ADPLUG AMIDI CDDA CUE FFMPEG FILEWRITER FLAC JACK MPG123 \ MPRIS NEON NLS NOTIFY OPENMPT OPUS OSS PIPEWIRE PULSEAUDIO \ SCROBBLER SID VORBIS WAVPACK OPTIONS_MULTI= OUTPUT OPTIONS_MULTI_OUTPUT= ALSA FILEWRITER JACK OSS PIPEWIRE PULSEAUDIO SDL SNDIO OPTIONS_SUB= yes .if ${FLAVOR} == gtk2 || ${FLAVOR} == gtk3 OPTIONS_DEFINE+= AOSD OPTIONS_DEFAULT+= AOSD .endif ADPLUG_DESC= ADPLUG plugin AMIDI_DESC= Amidi decoder AOSD_DESC= Audacious OSD BS2B_DESC= BS2B effect CONSOLE_DESC= Game Console Music Emulation FILEWRITER_DESC= File writer MPRIS_DESC= NPRIS plugin NEON_DESC= Neon plugin OPENMPT_DESC= OpenMPT plugin SCROBBLER_DESC= Scrobbler decoder SID_DESC= Sound chip emulator of Commodore SPEEDPITCH_DESC= Speed and Pitch plugin AAC_LIB_DEPENDS= libfaad.so:audio/faad AAC_MESON_TRUE= aac ADPLUG_LIB_DEPENDS= libadplug.so:audio/libadplug \ libbinio.so:devel/libbinio ADPLUG_MESON_TRUE= adplug ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_TRUE= alsa AMIDI_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth AMIDI_MESON_TRUE= amidiplug AOSD_LIB_DEPENDS= libXcomposite.so:x11/libXcomposite AOSD_USES= xorg AOSD_USE= GNOME=pango \ XORG=xrender AOSD_MESON_TRUE= aosd BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_MESON_TRUE= bs2b CDDA_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcdio_cdda.so:sysutils/libcdio-paranoia CDDA_MESON_TRUE= cdaudio CONSOLE_MESON_TRUE= console CUE_LIB_DEPENDS= libcue.so:textproc/libcue CUE_MESON_TRUE= cue FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_MESON_TRUE= ffaudio FILEWRITER_MESON_TRUE= filewriter FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_MESON_TRUE= flac JACK_LIB_DEPENDS= libjack.so:audio/jack \ libsamplerate.so:audio/libsamplerate JACK_MESON_TRUE= jack LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_MESON_TRUE= lirc MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_MESON_TRUE= modplug MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 MPG123_MESON_TRUE= mpg123 MPRIS_MESON_TRUE= mpris2 NEON_LIB_DEPENDS= libneon.so:www/neon NEON_MESON_TRUE= neon NLS_USES= gettext-runtime NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_MESON_TRUE= notify OPENGL_USES= gl OPENGL_USE= GL=gl .if ${FLAVOR} == qt5 OPENGL_USE+= QT=opengl .endif OPENGL_MESON_TRUE= gl-spectrum OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt OPENMPT_MESON_TRUE= openmpt OPUS_LIB_DEPENDS= libopus.so:audio/opus \ libopusfile.so:audio/opusfile OPUS_MESON_TRUE= opus OSS_MESON_TRUE= oss PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_MESON_TRUE= pipewire PULSEAUDIO_LIB_DEPENDS= libpulse-mainloop-glib.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= pulse SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_MESON_TRUE= resample SCROBBLER_LIB_DEPENDS= libcurl.so:ftp/curl SCROBBLER_MESON_TRUE= scrobbler2 SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_TRUE= sdlout SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SID_MESON_TRUE= sid SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_MESON_TRUE= sndfile SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_MESON_TRUE= sndio SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_MESON_TRUE= soxr SPEEDPITCH_IMPLIES= SAMPLERATE SPEEDPITCH_MESON_TRUE= speedpitch VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis VORBIS_MESON_TRUE= vorbis WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_MESON_TRUE= wavpack .include .if ${PORT_OPTIONS:MFILEWRITER} .if ${PORT_OPTIONS:MFLAC} MESON_ARGS+= -Dfilewriter-flac=true .else MESON_ARGS+= -Dfilewriter-flac=false .endif .if ${PORT_OPTIONS:MLAME} MESON_ARGS+= -Dfilewriter-mp3=true .else MESON_ARGS+= -Dfilewriter-mp3=false .endif .if ${PORT_OPTIONS:MVORBIS} MESON_ARGS+= -Dfilewriter-ogg=true .else MESON_ARGS+= -Dfilewriter-ogg=false .endif .else MESON_ARGS+= -Dfilewriter-flac=false \ -Dfilewriter-mp3=false \ -Dfilewriter-ogg=false .endif post-patch-NLS-off: @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build .include diff --git a/multimedia/audacious/Makefile b/multimedia/audacious/Makefile index 4215bf41766f..07f3019db086 100644 --- a/multimedia/audacious/Makefile +++ b/multimedia/audacious/Makefile @@ -1,107 +1,107 @@ PORTNAME= audacious DISTVERSION= 4.4.2 PORTREVISION= 1 CATEGORIES= multimedia audio MASTER_SITES= https://distfiles.audacious-media-player.org/ MAINTAINER= madpilot@FreeBSD.org COMMENT= Lightweight and versatile audio player WWW= https://audacious-media-player.org/ LICENSE= BSD2CLAUSE BSD3CLAUSE LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 FLAVORS= qt6 qt5 gtk3 gtk2 FLAVOR?= ${FLAVORS:[1]} gtk2_PKGNAMESUFFIX= -gtk2 gtk2_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk2_CONFLICTS_INSTALL= audacious audacious-gtk3 audacious-qt6 gtk3_PKGNAMESUFFIX= -gtk3 gtk3_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk3_CONFLICTS_INSTALL= audacious audacious-gtk2 audacious-qt6 qt5_PKGNAMESUFFIX= -qt5 qt5_CONFLICTS_INSTALL= audacious-gtk2 audacious-gtk3 audacious-qt6 qt6_CONFLICTS_INSTALL= audacious audacious-gtk2 audacious-gtk3 USES= compiler:c++11-lib desktop-file-utils gettext-tools gmake gnome \ iconv localbase meson pkgconfig tar:bzip2 xorg USE_GNOME= glib20 USE_LDCONFIG= yes USE_XORG= sm x11 CONFIGURE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" MAKE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" SUB_FILES= pkg-message .if ${FLAVOR} == qt5 MESON_ARGS+= -Dgtk2=false \ -Dgtk=false \ -Dqt5=true \ -Dqt=true USES+= qt:5 USE_QT= core gui svg widgets buildtools:build PLIST_SUB= GTK="@comment " \ QT="" .elif ${FLAVOR} == qt6 MESON_ARGS+= -Dgtk2=false \ -Dgtk=false \ -Dqt5=false \ -Dqt=true USES+= qt:6 USE_QT= base svg PLIST_SUB= GTK="@comment " \ QT="" .elif ${FLAVOR} == gtk2 MESON_ARGS+= -Dgtk2=true \ -Dgtk=true \ -Dqt5=false \ -Dqt=false -USE_GNOME+= cairo gdkpixbuf2 gtk20 +USE_GNOME+= cairo gdkpixbuf gtk20 PLIST_SUB= GTK="" \ QT="@comment " .elif ${FLAVOR} == gtk3 MESON_ARGS+= -Dgtk2=false \ -Dgtk=true \ -Dqt5=false \ -Dqt=false -USE_GNOME+= cairo gdkpixbuf2 gtk30 +USE_GNOME+= cairo gdkpixbuf gtk30 PLIST_SUB= GTK="" \ QT="@comment " .endif OPTIONS_DEFINE= EXECINFO LIBARCHIVE NLS OPTIONS_DEFAULT= EXECINFO OPTIONS_SUB= yes EXECINFO_DESC= Build with libexecinfo support LIBARCHIVE_DESC= Build with libarchive support LIBARCHIVE_USES= libarchive LIBARCHIVE_MESON_TRUE= libarchive NLS_USES= gettext-runtime post-patch-EXECINFO-on: @${REINPLACE_CMD} 's|-lm |-lm -lexecinfo |' \ ${WRKSRC}/src/audacious/Makefile @${REINPLACE_CMD} 's|-laudcore|-laudcore -lexecinfo|' \ ${WRKSRC}/audacious.pc.in post-patch-NLS-off: @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/contrib/audacious.appdata.xml \ ${STAGEDIR}${PREFIX}/share/metainfo/ .include diff --git a/multimedia/celluloid/Makefile b/multimedia/celluloid/Makefile index 6bfc9c542011..9ad80a65bd78 100644 --- a/multimedia/celluloid/Makefile +++ b/multimedia/celluloid/Makefile @@ -1,24 +1,24 @@ PORTNAME= celluloid DISTVERSIONPREFIX= v DISTVERSION= 0.27 CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org COMMENT= Simple GTK frontend for mpv WWW= https://celluloid-player.github.io/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libmpv.so:multimedia/mpv USES= compiler:c11 desktop-file-utils gettext-tools gnome \ meson pkgconfig python:build shebangfix tar:xz USE_GITHUB= yes -USE_GNOME= gdkpixbuf2 gtk40 libadwaita +USE_GNOME= gdkpixbuf gtk40 libadwaita GH_ACCOUNT= ${PORTNAME}-player SHEBANG_FILES= src/generate-authors.py meson-post-install.py GLIB_SCHEMAS= io.github.celluloid_player.Celluloid.gschema.xml .include diff --git a/multimedia/clutter-gst3/Makefile b/multimedia/clutter-gst3/Makefile index 656c99667bc9..3735e6304090 100644 --- a/multimedia/clutter-gst3/Makefile +++ b/multimedia/clutter-gst3/Makefile @@ -1,38 +1,38 @@ PORTNAME= clutter-gst PORTVERSION= 3.0.27 PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= GNOME PKGNAMESUFFIX= 3 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Clutter GStreamer integration WWW= https://clutter-project.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \ libcogl-path.so:graphics/cogl \ libfribidi.so:converters/fribidi \ libjson-glib-1.0.so:devel/json-glib USES= gettext-runtime gl gmake gnome gstreamer libtool localbase pathfix \ pkgconfig tar:xz xorg -USE_GNOME= atk cairo gdkpixbuf2 gnomeprefix introspection:build pango +USE_GNOME= atk cairo gdkpixbuf gnomeprefix introspection:build pango GNU_CONFIGURE= yes USE_GL= gl egl USE_XORG= xcomposite xdamage xext xfixes xi xrandr x11 USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-udev CPPFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} INSTALL_TARGET= install-strip # The clutter-gst gstreamer plugin is not parrallel installable with # the 2.0 version. But we install it anyway since all GNOME users # are switched. .include diff --git a/multimedia/droidcam/Makefile b/multimedia/droidcam/Makefile index eadf870b2da6..3fcf62a366c0 100644 --- a/multimedia/droidcam/Makefile +++ b/multimedia/droidcam/Makefile @@ -1,77 +1,77 @@ PORTNAME= droidcam DISTVERSIONPREFIX= v DISTVERSION= 2.1.3 PORTREVISION= 3 CATEGORIES= multimedia MAINTAINER= nxjoseph@protonmail.com COMMENT= GNU/Linux/nix client for DroidCam WWW= https://github.com/dev47apps/droidcam-linux-client LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libappindicator3.so:devel/libappindicator \ libasound.so:audio/alsa-lib \ libatk-1.0.so:accessibility/at-spi2-core \ libcairo-gobject.so:graphics/cairo \ libcairo.so:graphics/cairo \ libdbusmenu-glib.so:devel/libdbusmenu \ libgdk-3.so:x11-toolkits/gtk30 \ libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 \ libgio-2.0.so:devel/glib20 \ libglib-2.0.so:devel/glib20 \ libgobject-2.0.so:devel/glib20 \ libgtk-3.so:x11-toolkits/gtk30 \ libharfbuzz.so:print/harfbuzz \ libpango-1.0.so:x11-toolkits/pango \ libpangocairo-1.0.so:x11-toolkits/pango \ libspeex.so:audio/speex \ libswscale.so:multimedia/ffmpeg \ libturbojpeg.so:graphics/libjpeg-turbo \ libusbmuxd-2.0.so:comms/libusbmuxd \ libwayland-client.so:graphics/wayland \ libX11.so:x11/libX11 RUN_DEPENDS= adb:devel/android-tools \ ffmpeg:multimedia/ffmpeg \ usbmuxd:comms/usbmuxd \ webcamd:multimedia/webcamd USES= desktop-file-utils gettext-runtime gmake gnome pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= dev47apps GH_PROJECT= droidcam-linux-client -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 pango USE_XORG= x11 PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}-cli \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}-icon.png OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls pre-configure: ${REINPLACE_CMD} -e 's,/opt/${PORTNAME}-icon.png,${PREFIX}/share/pixmaps/${PORTNAME}-icon.png,' \ ${WRKSRC}/src/${PORTNAME}.c \ ${WRKSRC}/${PORTNAME}.desktop ${REINPLACE_CMD} -e 's,Exec=/usr/local/bin/${PORTNAME},${PREFIX}/bin/${PORTNAME},' \ -e 's,TryExec=/usr/local/bin/${PORTNAME},${PREFIX}/bin/${PORTNAME},' \ ${WRKSRC}/${PORTNAME}.desktop do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-cli \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/icon2.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}-icon.png ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications .include diff --git a/multimedia/elementary-videos/Makefile b/multimedia/elementary-videos/Makefile index 1840b86c1810..393f49796d40 100644 --- a/multimedia/elementary-videos/Makefile +++ b/multimedia/elementary-videos/Makefile @@ -1,24 +1,24 @@ PORTNAME= videos DISTVERSION= 8.0.1 CATEGORIES= multimedia PKGNAMEPREFIX= elementary- MAINTAINER= miguel@gocobachi.dev COMMENT= Elementary OS video player WWW= https://github.com/elementary/videos/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libgranite-7.so:x11-toolkits/granite7 USES= desktop-file-utils gettext gnome gstreamer meson pkgconfig \ vala:build USE_GITHUB= yes GH_ACCOUNT= elementary -USE_GNOME= gdkpixbuf2 glib20 gtk40 libadwaita +USE_GNOME= gdkpixbuf glib20 gtk40 libadwaita GLIB_SCHEMAS= io.elementary.videos.gschema.xml USE_GSTREAMER= faad libav ogg opus plugins theora vorbis x x264 ximagesrc .include diff --git a/multimedia/gstreamer1-validate/Makefile b/multimedia/gstreamer1-validate/Makefile index b22e9ea50e9a..bff99c0f0bd9 100644 --- a/multimedia/gstreamer1-validate/Makefile +++ b/multimedia/gstreamer1-validate/Makefile @@ -1,32 +1,32 @@ PORTNAME= gstreamer1-validate PORTVERSION= 1.16.3 PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= https://gstreamer.freedesktop.org/src/gst-validate/ DISTNAME= gst-validate-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= Gstreamer element validation suite WWW= https://gstreamer.freedesktop.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libgstrtspserver-1.0.so:multimedia/gstreamer1-rtsp-server \ libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-runtime gmake gnome gstreamer libtool pathfix \ pkgconfig python shebangfix tar:xz SHEBANG_FILES= tools/gst-validate-launcher.in USE_LDCONFIG= yes GNU_CONFIGURE= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build INSTALL_TARGET= install-strip USE_PYTHON= noflavors BINARY_ALIAS= python3=${PYTHON_VERSION} PLIST_SUB= VERSION=1.0 SOVERSION=0.1603.0 .include diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile index d50eae2eb1b8..1d6e92e8a232 100644 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -1,128 +1,128 @@ PORTNAME= handbrake DISTVERSION= 1.9.2 PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://github.com/HandBrake/HandBrake/releases/download/${DISTVERSION}/ MASTER_SITES+= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/:contrib MASTER_SITES+= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/:contrib DISTNAME= HandBrake-${DISTVERSION} DISTFILES= ${DISTNAME}-source.tar.bz2 ${CONTRIB_FILES:S/$/:contrib/} DIST_SUBDIR= ${PORTNAME} MAINTAINER= naito.yuichiro@gmail.com COMMENT= Versatile DVD ripper and video transcoder WWW= https://handbrake.fr/ LICENSE= GPLv2 LICENSE_NAME_FDK_AAC= Software License for The Fraunhofer FDK AAC Codec Library for Android LICENSE_FILE_FDK_AAC= ${WRKDIR}/${DISTFILES:Mfdk*:R:R}/NOTICE LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS_FDK_AAC= dist-mirror pkg-mirror auto-accept ONLY_FOR_ARCHS= amd64 powerpc powerpc64 powerpc64le BUILD_DEPENDS= bash:shells/bash \ nasm:devel/nasm \ cmake:devel/cmake-core \ meson:devel/meson \ git:devel/git@lite LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libturbojpeg.so:graphics/libjpeg-turbo \ libass.so:multimedia/libass \ libspeex.so:audio/speex \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libvorbisenc.so:audio/libvorbis \ libtheoradec.so:multimedia/libtheora \ libtheoraenc.so:multimedia/libtheora \ libx264.so:multimedia/libx264 \ libvpx.so:multimedia/libvpx \ libmp3lame.so:audio/lame \ libopus.so:audio/opus \ libjansson.so:devel/jansson USES= autoreconf:build compiler:c11 gmake iconv libtool:build \ localbase:ldflags ninja:build pkgconfig python:build CONTRIB_FILES= SVT-AV1-v2.3.0.tar.gz \ fdk-aac-2.0.3.tar.gz \ ffmpeg-7.1.tar.bz2 \ libbluray-1.3.4.tar.bz2 \ libdvdnav-6.1.1.tar.bz2 \ libdvdread-6.1.3.tar.bz2 \ dav1d-1.5.1.tar.bz2 \ dovi_tool-libdovi-3.1.2.tar.gz \ x265_4.1.tar.gz \ zimg-3.0.5.tar.gz .if !defined(PACKAGE_BUILDING) # DVDCSS version hardcoded in contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/src/dvd_input.c (dlopen'ed) LIB_DEPENDS+= libdvdcss.so:multimedia/libdvdcss .endif GNU_CONFIGURE= yes CONFIGURE_ARGS= --force --enable-x265 CONFIGURE_TARGET= build MAKEFILE= GNUmakefile MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal ALL_TARGET= # INSTALL_TARGET= install-strip # Enforce linking to bundled libraries instead of system libraries LDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib BINARY_ALIAS= python3=${PYTHON_VERSION} NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264 BUILD_WRKSRC= ${WRKSRC}/build INSTALL_WRKSRC= ${WRKSRC}/build OPTIONS_DEFINE= FDK_AAC VPL X11 OPTIONS_DEFAULT= VPL X11 OPTIONS_EXCLUDE_powerpc= VPL OPTIONS_EXCLUDE_powerpc64= VPL OPTIONS_EXCLUDE_powerpc64le= VPL OPTIONS_SUB= yes FDK_AAC_DESC= Enable non-free Fraunhofer FDK AAC codec VPL_DESC= Intel oneVPL (aka Quick Sync Video) X11_DESC= Build GTK 3 based GUI program FDK_AAC_CONFIGURE_ENABLE= fdk-aac FDK_AAC_VARS= LICENSE+=FDK_AAC LICENSE_COMB=multi VPL_LIB_DEPENDS= libvpl.so:multimedia/onevpl \ libmfx.so:multimedia/intel-media-sdk \ libva-drm.so:multimedia/libva VPL_CONFIGURE_ON= --enable-qsv X11_LIB_DEPENDS= libvpx.so:multimedia/libvpx X11_USES= gettext desktop-file-utils gnome gstreamer X11_USE= gstreamer=gdkpixbuf,libav \ - gnome=gtk40,intltool,cairo,gdkpixbuf2,libxml2 + gnome=gtk40,intltool,cairo,gdkpixbuf,libxml2 X11_CONFIGURE_OFF= --disable-gtk X11_CONFIGURE_ENV= COMPILER_PATH=${LOCALBASE}/bin X11_MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin # HandBrake tries to fetch its dependencies during build phase, which is not # considered good in FreeBSD. Instead, we will provide the downloaded files. post-extract: .SILENT ${MKDIR} ${WRKSRC}/download pre-configure: cd ${DISTDIR}/${DIST_SUBDIR} && \ ${INSTALL_DATA} ${CONTRIB_FILES} \ ${WRKSRC}/download # for powerpc64 # picked from multimedia/ffmpeg/files/patch-libswscale_ppc_yuv2rgb__altivec.c ${CP} ${FILESDIR}/P02-freebsd-ppc-libswscale.patch ${WRKSRC}/contrib/ffmpeg post-install-X11-on: ${LN} -sf ghb ${STAGEDIR}${PREFIX}/bin/HandBrake .include diff --git a/multimedia/kmplayer/Makefile b/multimedia/kmplayer/Makefile index ce5cd23d9910..099f35bee4e3 100644 --- a/multimedia/kmplayer/Makefile +++ b/multimedia/kmplayer/Makefile @@ -1,45 +1,45 @@ PORTNAME= kmplayer PORTVERSION= 0.12.0b PORTREVISION= 8 PORTEPOCH= 3 CATEGORIES= multimedia audio kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION:R} MAINTAINER= jhale@FreeBSD.org COMMENT= KDE frontend to Phonon / KDE5 WWW= https://kmplayer.kde.org/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi NOT_FOR_ARCHS= aarch64 NOT_FOR_ARCHS_REASON= prcpucfg.h:764:2: error: "Unknown CPU architecture" LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-util.so:x11/xcb-util RUN_DEPENDS= mplayer:multimedia/mplayer USES= cmake compiler:c++11-lang cpe desktop-file-utils gettext-runtime \ gnome kde:5 pkgconfig qt:5 tar:bz2 xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_QT= concurrent core dbus gui network printsupport \ svg widgets x11extras xml \ buildtools:build qmake:build USE_KDE= auth bookmarks codecs completion config configwidgets \ coreaddons crash ecm guiaddons i18n iconthemes init itemviews \ jobwidgets mediaplayer notifications parts phonon service \ textwidgets unitconversion widgetsaddons windowsystem \ xmlgui kdelibs4support kio solid sonnet \ doctools:build USE_XORG= x11 xcb .include diff --git a/multimedia/libmediaart/Makefile b/multimedia/libmediaart/Makefile index 80ba34db033f..17401a5f3bbe 100644 --- a/multimedia/libmediaart/Makefile +++ b/multimedia/libmediaart/Makefile @@ -1,21 +1,21 @@ PORTNAME= libmediaart DISTVERSION= 1.9.6 CATEGORIES= multimedia devel MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Library for handling media art WWW= https://www.gnome.org/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LESSER USES= gnome meson pathfix pkgconfig tar:xz vala:build -USE_GNOME= gdkpixbuf2 introspection:build +USE_GNOME= gdkpixbuf introspection:build USE_LDCONFIG= yes MESON_ARGS= -Dimage_library=gdk-pixbuf -Dgtk_doc=false .include diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile index 3cb59ffc8e39..47c8abab8d09 100644 --- a/multimedia/libxine/Makefile +++ b/multimedia/libxine/Makefile @@ -1,191 +1,191 @@ PORTNAME= xine DISTVERSION= 1.2.13 PORTREVISION= 14 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${DISTVERSION} PKGNAMEPREFIX= lib DISTNAME= ${PORTNAME}-lib-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Libraries for xine multimedia player WWW= https://xine.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFLAC.so:audio/flac \ liba52.so:audio/liba52 \ libvorbis.so:audio/libvorbis \ libmng.so:graphics/libmng \ libpng.so:graphics/png \ libdvdread.so:multimedia/libdvdread \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libmodplug.so:audio/libmodplug \ libtheora.so:multimedia/libtheora \ libmad.so:audio/libmad \ libdca.so:multimedia/libdca \ libavcodec.so:multimedia/ffmpeg \ libfaad.so:audio/faad \ libvdpau.so:multimedia/libvdpau \ libvpx.so:multimedia/libvpx \ libogg.so:audio/libogg \ libdvdnav.so:multimedia/libdvdnav USES= compiler cpe gl gmake gnome iconv libtool:keepla jpeg \ localbase pathfix perl5 pkgconfig tar:xz xorg LLD_UNSAFE= yes CPE_PRODUCT= xine-lib CPE_VENDOR= xine GNU_CONFIGURE= yes USE_XORG= x11 xcb xv xinerama xext sm ice USE_GL= gl glu USE_PERL5= build USE_LDCONFIG= yes CONFIGURE_ARGS= --with-libflac \ --with-fontconfig \ --with-freetype \ --enable-musepack \ --enable-real-codecs \ --without-esound \ --disable-crypto MAKE_ENV= V=1 MAKE_ARGS= pkgdatadir="${DATADIR}" \ datadir="${DATADIR}" \ libdir="${PREFIX}/lib" CFLAGS_i386= -fomit-frame-pointer DOCSDIR= ${PREFIX}/share/doc/xine-lib # Please sync with XINE_PLUGINSDIR in multimedia/xine # and multimedia/vdr-plugin-xineliboutput PLUGINSDIR= lib/xine/plugins/2.11 PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" OPTIONS_DEFINE= AALIB ALSA AOM CACA DAV1D DOCS DMX_IMAGE DVB \ IMAGEMAGICK IPV6 JACK LIBBLURAY NFS NLS PIXBUF \ PULSEAUDIO SDL SFTP SMB SNDIO SPEEX V4L VAAPI \ VCD WAVPACK WAYLAND XVMC OPTIONS_DEFAULT= DVB OPENSSL PIXBUF SPEEX VAAPI VCD WAVPACK OPTIONS_DEFINE_i386= W32DLL OPTIONS_DEFAULT_i386= W32DLL OPTIONS_GROUP= TLS OPTIONS_GROUP_TLS= GNUTLS OPENSSL OPTIONS_SUB= yes AOM_DESC= Enable libaom AV1 decoder support DAV1D_DESC= Enable dav1d AV1 decoder support DMX_IMAGE_DESC= DMX image plugin DVB_DESC= DVB plugin NFS_DESC= Enable NFS support using libnfs SDL_DESC= Enable support for SDL 1 video output SFTP_DESC= Enable SFTP support using libssh2 TLS_DESC= Enable TLS support for https and ftps VCD_DESC= Enable VCD (VideoCD) support W32DLL_DESC= Win32 codec support AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_ENABLE= aalib ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_WITH= libaom CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_WITH= caca DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_WITH= dav1d DVB_BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat DVB_CONFIGURE_ENABLE= dvb GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ON= --enable-tls IMAGEMAGICK_USES= magick IMAGEMAGICK_CONFIGURE_WITH= imagemagick IMAGEMAGICK_IMPLIES= DMX_IMAGE IPV6_CONFIGURE_ENABLE= ipv6 JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_WITH= jack LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CONFIGURE_ENABLE= nfs OPENSSL_CONFIGURE_ON= --enable-tls OPENSSL_CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_USES= ssl PIXBUF_CONFIGURE_ENABLE= gdkpixbuf PIXBUF_IMPLIES= DMX_IMAGE -PIXBUF_USE= GNOME=gdkpixbuf2,glib20 +PIXBUF_USE= GNOME=gdkpixbuf,glib20 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio SDL_CONFIGURE_WITH= sdl SDL_USES= sdl SDL_USE= SDL=sdl SFTP_LIB_DEPENDS= libssh2.so:security/libssh2 SFTP_CONFIGURE_ENABLE= sftp SMB_USES= samba:lib SMB_CONFIGURE_ENV= LIBSMBCLIENT_LIBS="-L${SAMBA_LIBDIR} -lsmbclient" \ LIBSMBCLIENT_CFLAGS="-I${SAMBA_INCLUDEDIR}" SMB_CONFIGURE_ENABLE= samba SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_WITH= speex VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi V4L_BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l v4l v4l2 VCD_LIB_DEPENDS= libvcdinfo.so:multimedia/vcdimager \ libcdio.so:sysutils/libcdio VCD_CONFIGURE_ENABLE= vcd W32DLL_CONFIGURE_ENABLE= w32dll W32DLL_PLIST_FILES= ${PLUGINSDIR}/xineplug_decode_w32dll.so WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_WITH= wavpack WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland .if defined(WITH_NVIDIA304_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1) XVMC_CONFIGURE_WITH= xvmc-lib=XvMCNVIDIA XVMC_LIB_DEPENDS= libXvMCNVIDIA.so:x11/nvidia-driver-304 .else XVMC_CONFIGURE_WITH= xvmc-lib=XvMCW XVMC_LIB_DEPENDS= libXvMC.so:x11/libXvMC .endif XVMC_CONFIGURE_ENABLE= xvmc .include .if ${ARCH} == aarch64 BUILD_DEPENDS+= as:devel/binutils .endif .if !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+= --disable-tls .endif post-patch: @${REINPLACE_CMD} -e '/xine_set_flags/s/XINE_PROTECTED//' \ ${WRKSRC}/include/xine.h .if ${COMPILER_TYPE} == "clang" @${REINPLACE_CMD} -e 's|-fno-rename-registers||' \ ${WRKSRC}/src/libw32dll/Makefile.in .endif post-patch-GNUTLS-off: @${REINPLACE_CMD} -e '/have_gnutls=/s|yes|no|' \ ${WRKSRC}/configure post-patch-WAYLAND-off: @${REINPLACE_CMD} -e '/have_vaapi_wayland=/s|yes|no|' \ ${WRKSRC}/configure post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/post/*.so .include diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile index 0cfa85275583..25db3f73d58e 100644 --- a/multimedia/lives/Makefile +++ b/multimedia/lives/Makefile @@ -1,203 +1,203 @@ PORTNAME= lives DISTVERSION= 3.2.0 PORTREVISION= 24 CATEGORIES= multimedia MASTER_SITES= http://lives-video.com/releases/ DISTNAME= LiVES-${PORTVERSION} MAINTAINER= vvd@FreeBSD.org COMMENT= Video editing system WWW= http://lives-video.com/ LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPL BROKEN= fails to build with FFmpeg 6 DEPRECATED= Marked broken in 2023, sunset port EXPIRATION_DATE=2025-03-31 BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ analyseplugin:audio/ladspa LIB_DEPENDS= liboil-0.3.so:devel/liboil \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg \ libmjpegutils.so:multimedia/mjpegtools RUN_DEPENDS= analyseplugin:audio/ladspa \ ffprobe:multimedia/ffmpeg \ sox:audio/sox USES= autoreconf compiler:c++11-lib gettext-runtime gettext-tools \ gl gnome libtool localbase pathfix perl5 pkgconfig python \ sdl shebangfix xorg USE_GL= gl glu -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool USE_LDCONFIG= yes USE_SDL= sdl sdl2 USE_XORG= x11 xrender SHEBANG_FILES= build-lives-rfx-plugin build-lives-rfx-plugin-multi smogrify \ tools/autolives.pl lives-plugins/plugins/encoders/*_encoder \ lives-plugins/marcos-encoders/*encoder* \ lives-plugins/plugins/encoders/multi_encoder3 \ lives-plugins/plugins/playback/audiostream/audiostreamer.pl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-ldvgrab --disable-prctl --disable-system-weed --disable-dirac INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} DOC_FILES= AUTHORS COPYING COPYING.LGPL ChangeLog FEATURES GETTING.STARTED NEWS README \ OMC/lives-OMC.txt RFX/LiVES-Perl.odt RFX/rfxbuilder.odt \ RFX/RFX.spec docs/c++-bindings.odt docs/clip_format.txt \ lives-plugins/marcos-encoders/README.multi_encoder \ weed-docs/weedspec.txt weed-docs/weedevents.txt OPTIONS_DEFINE= ALSA DOCS DOXYGEN DV FFTW FREI0R JACK IMAGEMAGICK LIBEXPLAIN \ LIBVISUAL OGG OPENCV OPTIMIZED_CFLAGS NLS PROJECTM PULSEAUDIO \ THEORA V4L WAYLAND OPTIONS_DEFAULT= CDDA2WAV DOCS DV FFTW GHOSTSCRIPT IMAGEMAGICK JACK LAME \ MPG123 MPLAYER NLS OGG123 OGG OGM OPENCV \ THEORA X264 XDG_SCREENSAVER XDOTOOL XWININFO YTDLP OPTIONS_GROUP= RUNTIME EXT_WIN_CAPTURE MPLAYERS MP3 OPTIONS_GROUP_EXT_WIN_CAPTURE= WMCTRL XDOTOOL OPTIONS_GROUP_MP3= MPG123 MPG321 OPTIONS_GROUP_MPLAYERS= MPLAYER MPV OPTIONS_GROUP_RUNTIME= CDDA2WAV GHOSTSCRIPT LAME MATROSKA MENCODER OGG123 OGM \ SSWF X264 XDG_SCREENSAVER XWININFO YTDLP OPTIONS_SUB= yes EXT_WIN_CAPTURE_DESC= Allows external window capture via xdotool or wmctrl LIBEXPLAIN_DESC= Used to explain Unix and Linux system call errors MENCODER_DESC= Use mencoder as video file and movie encoder MP3_DESC= Runtime check order is: mpg321, mpg123, mplayer, mplayer2, mpv MPG321_DESC= MP3 decoding support via mpg321 MPLAYERS_DESC= Install mplayer/mpv (runtime check) MPV_DESC= MPV media player support OGG123_DESC= Use ogg123 from vorbis-tools OGM_DESC= Use ogmtools for manipulating with OGM files PROJECTM_DESC= projectM support RUNTIME_DESC= Runtime detected utilities SSWF_DESC= Use sswf for manipulating with Flash movies WMCTRL_DESC= Install wmctrl XDG_SCREENSAVER_DESC= Used to disable screensaver during playback XDOTOOL_DESC= Install xdotool XWININFO_DESC= Used for external window capture YTDLP_DESC= Install yt-dlp (youtube-dl fork) - requires SYMLINK option ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa CDDA2WAV_RUN_DEPENDS= cdda2wav:sysutils/cdrtools DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_OFF= --disable-doxygen DV_LIB_DEPENDS= libdv.so:multimedia/libdv DV_RUN_DEPENDS= encodedv:multimedia/libdv DV_CONFIGURE_OFF= --disable-libdv FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW_CONFIGURE_OFF= --disable-fftw3f FREI0R_BUILD_DEPENDS= frei0r>0:graphics/frei0r FREI0R_RUN_DEPENDS= frei0r>0:graphics/frei0r FREI0R_CONFIGURE_OFF= --disable-frei0r GHOSTSCRIPT_USES= ghostscript:run IMAGEMAGICK_USES= magick:run JACK_LIB_DEPENDS= libjack.so:audio/jack \ libjackserver.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack LAME_RUN_DEPENDS= lame:audio/lame LIBEXPLAIN_LIB_DEPENDS= libexplain.so:devel/libexplain LIBEXPLAIN_CONFIGURE_OFF= --disable-libexplain LIBVISUAL_LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04 LIBVISUAL_CONFIGURE_OFF= --disable-libvisual MATROSKA_RUN_DEPENDS= mkvmerge:multimedia/mkvtoolnix MENCODER_RUN_DEPENDS= mencoder:multimedia/mencoder MPG123_RUN_DEPENDS= mpg123:audio/mpg123 MPG321_RUN_DEPENDS= mpg321:audio/mpg321 MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPV_RUN_DEPENDS= mpv:multimedia/mpv NLS_USES= gettext-tools OGG123_RUN_DEPENDS= ogg123:audio/vorbis-tools OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CONFIGURE_OFF= --disable-ogg OGM_RUN_DEPENDS= ogmmerge:multimedia/ogmtools OPENCV_LIB_DEPENDS= libopencv_calib3d.so:graphics/opencv \ libopencv_core.so:graphics/opencv OPENCV_CONFIGURE_OFF= --disable-opencv OPTIMIZED_CFLAGS_CONFIGURE_ON= --enable-turbo PROJECTM_LIB_DEPENDS= libprojectM.so:graphics/libprojectm PROJECTM_CONFIGURE_OFF= --disable-projectM PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse SSWF_RUN_DEPENDS= sswf:graphics/sswf THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_OFF= --disable-theora V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_OFF= --disable-v4l WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WAYLAND_CONFIGURE_OFF= --disable-wayland WMCTRL_RUN_DEPENDS= wmctrl:x11/wmctrl-fork X264_RUN_DEPENDS= x264:multimedia/x264 XDG_SCREENSAVER_RUN_DEPENDS= xdg-screensaver:devel/xdg-utils XDOTOOL_RUN_DEPENDS= xdotool:x11/xdotool XWININFO_RUN_DEPENDS= xwininfo:x11/xwininfo YTDLP_RUN_DEPENDS= yt-dlp:www/yt-dlp post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ 's/^LIBS = $$/&@LIBS@/' @${REINPLACE_CMD} -e 's|/usr/local/lib/|${LOCALBASE}/lib/|g' \ ${WRKSRC}/lives-plugins/weed-plugins/frei0r.c @${REINPLACE_CMD} 's|/usr/bin/perl|${perl_CMD}|' \ ${WRKSRC}/build-lives-rfx-plugin pre-build-NLS-on: @(cd ${WRKSRC}/po && ${DO_MAKE_BUILD} update-po) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR_REL}/html \ -not -type d >> ${TMPPLIST}) .include diff --git a/multimedia/mlt7/Makefile b/multimedia/mlt7/Makefile index 2f9af8db2fde..26ac9baca304 100644 --- a/multimedia/mlt7/Makefile +++ b/multimedia/mlt7/Makefile @@ -1,170 +1,170 @@ PORTNAME= ${_MLT_PORTNAME} DISTVERSION= ${_MLT_VERSION} PORTREVISION?= 0 CATEGORIES?= multimedia MASTER_SITES= https://github.com/mltframework/mlt/releases/download/v${DISTVERSION}/ DISTFILES= mlt-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= kde@FreeBSD.org COMMENT?= Multimedia framework for TV broadcasting WWW= https://www.mltframework.org/ LICENSE?= GPLv2 GPLv3 LGPL21 LICENSE_COMB?= multi USES+= alias cmake compiler:c++11-lang eigen:3 localbase \ pathfix pkgconfig USE_LDCONFIG= yes # Suppress errors with lld >= 17 due to undefined symbols. LDFLAGS+= -Wl,--undefined-version DATADIR= ${PREFIX}/share/mlt-7 WRKSRC= ${WRKDIR}/mlt-${DISTVERSION} .ifndef(SLAVEPORT) # Master port. USES+= gnome mlt:7,nodepend USE_GNOME= libxml2 CMAKE_ON= MOD_XML # Explicitly disabled modules that are ouddated, unnecessary, or have # their own port. CMAKE_OFF= MOD_GLAXNIMATE MOD_GLAXNIMATE_QT6 MOD_SDL1 MOD_QT \ MOD_QT6 MOD_NDI \ SWIG_CSHARP SWIG_JAVA SWIG_LUA SWIG_NODEJS SWIG_PERL \ SWIG_PHP SWIG_PYTHON SWIG_RUBY SWIG_TCL PORTDOCS= AUTHORS NEWS PORTEXAMPLES= demo OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT= AVFORMAT FREI0R GDK MOVIT KDENLIVE NORMALIZE PLUS PLUSGPL RESAMPLE SDL2 SOX \ VIDSTAB VORBIS OPTIONS_GROUP= MODULES OPTIONS_GROUP_MODULES= AVFORMAT DECKLINK FREI0R GDK JACKRACK KDENLIVE MOVIT NORMALIZE \ OLDFILM OPENCV PLUS PLUSGPL RESAMPLE RTAUDIO RUBBERBAND SDL2 \ SOX VIDSTAB VORBIS XINE OPTIONS_SUB= yes AVFORMAT_DESC= Enable avformat module AVFORMAT_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg AVFORMAT_CMAKE_BOOL= MOD_AVFORMAT DECKLINK_DESC= Enable decklink module DECKLINK_CMAKE_BOOL= MOD_DECKLINK FREI0R_DESC= Enable frei0r module FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CMAKE_BOOL= MOD_FREI0R GDK_DESC= Enable gdk module GDK_LIB_DEPENDS= libexif.so:graphics/libexif \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz -GDK_USE= gnome=gdkpixbuf2,pango +GDK_USE= gnome=gdkpixbuf,pango GDK_CMAKE_BOOL= MOD_GDK JACKRACK_DESC= Enable jackrack module JACKRACK_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa JACKRACK_LIB_DEPENDS= libjack.so:audio/jack \ liblilv-0.so:audio/lilv JACKRACK_USE= gnome=glib20 JACKRACK_CMAKE_BOOL= MOD_JACKRACK KDENLIVE_DESC= Enable kdenlive module KDENLIVE_CMAKE_BOOL= MOD_KDENLIVE MOVIT_DESC= Enable Movit module MOVIT_USES= gl xorg MOVIT_USE= gl=opengl xorg=x11 MOVIT_LIB_DEPENDS= libmovit.so:graphics/movit \ libepoxy.so:graphics/libepoxy MOVIT_CMAKE_BOOL= MOD_MOVIT NORMALIZE_DESC= Enable normalize module NORMALIZE_CMAKE_BOOL= MOD_NORMALIZE OLDFILM_DESC= Enable oldfilm module OLDFILM_CMAKE_BOOL= MOD_OLDFILM OPENCV_DESC= Enable OpenCV module OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENCV_CMAKE_BOOL= MOD_OPENCV PLUSGPL_DESC= Enable plus GPL module PLUSGPL_CMAKE_BOOL= MOD_PLUSGPL PLUS_DESC= Enable plus module PLUS_USES= ebur128 PLUS_LIB_DEPENDS= libfftw3.so:math/fftw3 PLUS_CMAKE_BOOL= MOD_PLUS RESAMPLE_DESC= Enable resample module RESAMPLE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate RESAMPLE_CMAKE_BOOL= MOD_RESAMPLE RTAUDIO_DESC= Enable RtAudio module RTAUDIO_LIB_DEPENDS= librtaudio.so:audio/rtaudio RTAUDIO_CMAKE_BOOL= MOD_RTAUDIO RUBBERBAND_DESC= Enable rubberband module RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CMAKE_BOOL= MOD_RUBBERBAND SDL2_DESC= Enable SDL2 module SDL2_USES= sdl SDL2_USE= sdl=sdl2 SDL2_CMAKE_BOOL= MOD_SDL2 SOX_DESC= Enable SoX module SOX_LIB_DEPENDS= libsox.so:audio/sox SOX_CMAKE_BOOL= MOD_SOX VIDSTAB_DESC= Enable vid.stab module VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CMAKE_BOOL= MOD_VIDSTAB VORBIS_DESC= Enable Vorbis module VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CMAKE_BOOL= MOD_VORBIS XINE_DESC= Enable xine module XINE_CMAKE_BOOL= MOD_XINE pre-configure: ${RM} ${STAGEDIR}${PREFIX}/man/man1/melt.1 common-post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/melt-7 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt-7.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt++-7.so.${PORTVERSION} post-install-DOCS-on: .for f in ${PORTDOCS} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR} .endfor post-install-EXAMPLES-on: .for f in ${PORTEXAMPLES} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .else # Slave port. PORTSCOUT= ignore:1 # Depend on multimedia/mlt7 for child ports USES+= mlt:7 PLIST?= ${.CURDIR}/pkg-plist INSTALL_WRKSRC?= ${BUILD_WRKSRC} .endif post-install: common-post-install ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/* 2>/dev/null || ${TRUE} @${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/${PORTNAME} 2>/dev/null || ${TRUE} .include diff --git a/multimedia/mplayer/Makefile.optvars b/multimedia/mplayer/Makefile.optvars index 0353ef4598a9..95a9701766a0 100644 --- a/multimedia/mplayer/Makefile.optvars +++ b/multimedia/mplayer/Makefile.optvars @@ -1,173 +1,173 @@ # Handling of variables using helpers # Include before bsd.port.(pre|options).mk # OPTIONs AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_OFF= --disable-aa AMR_NB_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr AMR_NB_CONFIGURE_ENABLE=libopencore_amrnb AMR_WB_LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr AMR_WB_CONFIGURE_ENABLE=libopencore_amrwb ASS_LIB_DEPENDS= libass.so:multimedia/libass \ libharfbuzz.so:print/harfbuzz ASS_CONFIGURE_OFF= --disable-ass BLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray BLURAY_CONFIGURE_OFF= --disable-bluray CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_OFF= --disable-caca CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_OFF= --disable-libcdio DV_LIB_DEPENDS= libdv.so:multimedia/libdv DV_CONFIGURE_ENABLE= libdv DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav \ libdvdread.so:multimedia/libdvdread DVDNAV_CONFIGURE_OFF= --disable-dvdnav ENCA_LIB_DEPENDS= libenca.so:converters/enca ENCA_CONFIGURE_OFF= --disable-enca FAAC_LIB_DEPENDS= libfaac.so:audio/faac FAAC_CONFIGURE_OFF= --disable-faac FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_OFF= --disable-fontconfig FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_OFF= --disable-fribidi GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_OFF= --disable-gif GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_OFF= --disable-gnutls GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_OFF= --disable-libgsm GUI_CONFIGURE_ENABLE= gui -GUI_USE= GNOME=cairo,gdkpixbuf2,gtk20 +GUI_USE= GNOME=cairo,gdkpixbuf,gtk20 GUI_USES= gnome GUI_DESKTOP_ENTRIES= "MPlayer" "High performance media player" "mplayer" "gmplayer" "" false GUI_IMPLIES= ASS JPEG X11 IPV6_CONFIGURE_OFF= --disable-inet6 JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-jpeg LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_OFF= --disable-ladspa LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_CONFIGURE_OFF= --disable-mng LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_OFF= --disable-lirc LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 LZO_CONFIGURE_OFF= --disable-liblzo NAS_LIB_DEPENDS= libaudio.so:audio/nas NAS_CONFIGURE_OFF= --disable-nas NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls OPENAL_USES= openal:soft OPENAL_CONFIGURE_OFF= --disable-openal OPENGL_USE= GL=gl OPENGL_USES= gl OPENGL_CONFIGURE_OFF= --disable-gl OPENGL_IMPLIES= X11 OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_ENABLE= libopenjpeg OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_OFF= --disable-libopus PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse RTCPU_CONFIGURE_ON= --enable-runtime-cpudetection SDL_USE= SDL=sdl SDL_USES= sdl SDL_LIB_DEPENDS= libaa.so:graphics/aalib SDL_CONFIGURE_OFF= --disable-sdl SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_OFF= --disable-sndio SKINS_RUN_DEPENDS= mplayer-skins>=0:multimedia/mplayer-skins SKINS_IMPLIES= GUI SMB_USES= samba:lib SMB_CONFIGURE_ON= --extra-ldflags="-L${SAMBA_LIBDIR}" SMB_CONFIGURE_OFF= --disable-smb SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_OFF= --disable-speex SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_OFF= --disable-svga THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora \ libogg.so:audio/libogg THEORA_CONFIGURE_OFF= --disable-theora TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_OFF= --disable-twolame V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_OFF= --disable-tv-v4l1 --disable-tv-v4l2 V4L_CONFIGURE_ON= --enable-tv-v4l1 --enable-tv-v4l2 --extra-libs="-lv4l1 -lv4l2" VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_OFF= --disable-vdpau VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= libvpx-lavc X11_USES= xorg X11_USE= XORG=x11,xext,xorgproto,xscrnsaver X11_CONFIGURE_OFF= --disable-x11 X11DGA_USES= xorg X11DGA_USE= XORG=xxf86dga X11DGA_CONFIGURE_OFF= --disable-dga1 --disable-dga2 X11DGA_IMPLIES= X11 X11VM_USES= xorg X11VM_USE= XORG=xxf86vm X11VM_CONFIGURE_OFF= --disable-vm X11VM_IMPLIES= X11 X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_OFF= --disable-x264 XINERAMA_USES= xorg XINERAMA_USE= XORG=xinerama,xorgproto XINERAMA_CONFIGURE_OFF= --disable-xinerama XINERAMA_IMPLIES= X11 XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_OFF= --disable-xvid XVIDEO_USE= XORG=xv XVIDEO_CONFIGURE_OFF= --disable-xv XVIDEO_IMPLIES= X11 diff --git a/multimedia/pitivi/Makefile b/multimedia/pitivi/Makefile index 71f7f03be44b..070cbd9bf999 100644 --- a/multimedia/pitivi/Makefile +++ b/multimedia/pitivi/Makefile @@ -1,35 +1,35 @@ PORTNAME= pitivi PORTVERSION= 2022.06 PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:R} MAINTAINER= kwm@FreeBSD.org COMMENT= Gstreamer based non-linear audio/video editor WWW= https://www.pitivi.org LICENSE= LGPL21+ BUILD_DEPENDS= gst-validate-launcher:multimedia/gstreamer1-validate \ itstool:textproc/itstool RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.14.0:multimedia/py-gstreamer1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYNUMPY} USES= cpe desktop-file-utils gettext gnome gstreamer meson pkgconfig python \ shared-mime-info shebangfix tar:xz SHEBANG_FILES= bin/pitivi.in \ getenvvar.py \ tests/__init__.py \ tests/validate-tests/manager.py \ tests/validate-tests/runtests -USE_GNOME= cairo intltool gdkpixbuf2 gsound gtk30 pygobject3 +USE_GNOME= cairo intltool gdkpixbuf gsound gtk30 pygobject3 USE_GSTREAMER= bad editing-services gdkpixbuf good gtk USE_LDCONFIG= yes MESON_ARGS= -Db_lundef=false BINARY_ALIAS= python3=${PYTHON_VERSION} .include diff --git a/multimedia/xfce4-parole/Makefile b/multimedia/xfce4-parole/Makefile index adbb7cebd951..184210f81f73 100644 --- a/multimedia/xfce4-parole/Makefile +++ b/multimedia/xfce4-parole/Makefile @@ -1,58 +1,58 @@ PORTNAME= parole PORTVERSION= 4.18.2 PORTREVISION= 1 CATEGORIES= multimedia xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Lightweight media player for Xfce4 based on GStreamer WWW= https://docs.xfce.org/apps/parole/start LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libnotify.so:devel/libnotify \ libtag_c.so:audio/taglib \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= xdg-screensaver:devel/xdg-utils USES= compiler:c++11-lang desktop-file-utils gettext-tools \ gmake gnome gstreamer libtool pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 glib20 +USE_GNOME= cairo gdkpixbuf gtk30 glib20 USE_GSTREAMER= core faad flac wavpack x USE_XFCE= libmenu xfconf USE_XORG= ice sm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-notify-plugin \ --enable-tray-plugin \ --enable-taglib \ --enable-mpris2-plugin \ --without-html-dir INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_DEFAULT= HTTP OPTIONS_GROUP= GST_PLUG OPTIONS_GROUP_GST_PLUG= CDDA HTTP OPTIONS_SUB= yes GST_PLUG_DESC= Additional GStreamer plugins HTTP_DESC= HTTP streaming (libsoup) CDDA_USE= gstreamer=cdparanoia HTTP_USE= gstreamer=soup NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: # Fix .rc files path @${REINPLACE_CMD} -e 's|xfce4/src/misc|${PORTNAME}|g' \ ${WRKSRC}/src/common/parole-rc-utils.h .include diff --git a/net-im/coyim/Makefile b/net-im/coyim/Makefile index 5ea821f262da..c6518728f8d4 100644 --- a/net-im/coyim/Makefile +++ b/net-im/coyim/Makefile @@ -1,57 +1,57 @@ PORTNAME= coyim DISTVERSIONPREFIX= v DISTVERSION= 0.3.11 PORTREVISION= 29 CATEGORIES= net-im MAINTAINER= fox@FreeBSD.org COMMENT= Safe and secure by default XMPP chat client which uses Tor WWW= https://coy.im LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gnome go pkgconfig -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_GITHUB= yes GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls GO_BUILDFLAGS= -tags ${GTK_BUILD_TAG} SUB_LIST= PORTNAME=${PORTNAME} PLIST_FILES= bin/coyim \ share/applications/coyim.desktop \ share/pixmaps/coyim.png GTK_VERSION= "$$(pkg-config --modversion gtk+-3.0 | ${TR} . _ | cut -d '_' -f 1-2)" GTK_BUILD_TAG= gtk_${GTK_VERSION} COYIM_ICON= coyim.png COYIM_ICON_SRC= ${WRKSRC}/build/mac-bundle/coy.iconset/icon_32x32@2x.png COYIM_DESKTOP= ${WRKSRC}/build/coyim.desktop pre-build: cd ${WRKSRC} && ${SH} ./gen_version_file.sh ${DISTVERSIONPREFIX}${DISTVERSION} post-build: @${REINPLACE_CMD} -e '/^#/d' \ -e '/^$$/d' \ ${COYIM_DESKTOP} ${ECHO_CMD} "Exec=${PREFIX}/bin/coyim" >> ${COYIM_DESKTOP} ${ECHO_CMD} "Icon=${COYIM_ICON}" >> ${COYIM_DESKTOP} post-install: ${INSTALL_DATA} ${COYIM_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${COYIM_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${COYIM_ICON} .include diff --git a/net-im/dino/Makefile b/net-im/dino/Makefile index 5d1ad2157b09..59bbfa68535c 100644 --- a/net-im/dino/Makefile +++ b/net-im/dino/Makefile @@ -1,87 +1,87 @@ PORTNAME= dino DISTVERSIONPREFIX= v DISTVERSION= 0.4.4 PORTREVISION= 2 CATEGORIES= net-im MAINTAINER= ashish@FreeBSD.org COMMENT= Modern XMPP Chat Client using GTK/Vala WWW= https://dino.im LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita \ libassuan.so:security/libassuan \ libgcrypt.so:security/libgcrypt \ libgee-0.8.so:devel/libgee \ libgpg-error.so:security/libgpg-error \ libgraphene-1.0.so:graphics/graphene \ libgspell-1.so:textproc/gspell \ libharfbuzz.so:print/harfbuzz \ libicuuc.so:devel/icu \ libsoup-2.4.so:devel/libsoup \ libsqlite3.so:databases/sqlite3 \ libsrtp2.so:net/libsrtp2 \ libvulkan.so:graphics/vulkan-loader USES= cmake cpe desktop-file-utils gettext-tools gnome localbase \ ninja pkgconfig vala:build USE_GITHUB= yes OPTIONS_DEFINE= CANBERRA GNUPG ICE OMEMO RTP UPLOAD OPTIONS_DEFAULT= CANBERRA GNUPG ICE OMEMO RTP UPLOAD OPTIONS_SUB= yes HAS_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -Wl,--export-dynamic USE_LDCONFIG= yes -USE_GNOME= cairo gdkpixbuf2 glib20 gnomeprefix gtk40 intlhack +USE_GNOME= cairo gdkpixbuf glib20 gnomeprefix gtk40 intlhack CANBERRA_DESC= Notifications sounds support ICE_DESC= ICE NAT traversal plugin OMEMO_DESC= OMEMO plugin RTP_DESC= RTP plugin UPLOAD_DESC= HTTP file upload plugin ICE_LIB_DEPENDS= libgnutls.so:security/gnutls \ libnice.so:net-im/libnice ICE_VARS= ENABLED_PLUGINS+=ice ICE_VARS_OFF= DISABLED_PLUGINS+=ice RTP_LIB_DEPENDS= libgnutls.so:security/gnutls \ libwebrtc_audio_processing.so:audio/webrtc-audio-processing0 RTP_USES= gstreamer RTP_USE= GSTREAMER=gtk,opus,pulse,speex,srtp,v4l2,vpx,x264 RTP_VARS= ENABLED_PLUGINS+=rtp RTP_CMAKE_BOOL= RTP_ENABLE_H264 RTP_ENABLE_VP9 RTP_ENABLE_H264 RTP_ENABLE_VAAPI RTP_VARS_OFF= DISABLED_PLUGINS+=rtp OMEMO_GH_TUPLE= signalapp:libsignal-protocol-c:v2.3.3:signalapp/plugins/signal-protocol/libsignal-protocol-c OMEMO_LIB_DEPENDS= libqrencode.so:graphics/libqrencode OMEMO_VARS= ENABLED_PLUGINS+=omemo OMEMO_CMAKE_BOOL= BUILD_LIBSIGNAL_IN_TREE OMEMO_VARS_OFF= DISABLED_PLUGINS+=omemo UPLOAD_CMAKE_ON= -DSOUP_VERSION:INT=2 UPLOAD_VARS= ENABLED_PLUGINS+=http-files UPLOAD_VARS_OFF= DISABLED_PLUGINS+=http-files GNUPG_LIB_DEPENDS= libgpgme.so:security/gpgme GNUPG_VARS= ENABLED_PLUGINS+=openpgp GNUPG_VARS_OFF= DISABLED_PLUGINS+=openpgp CANBERRA_VARS= ENABLED_PLUGINS+=notification-sound CANBERRA_VARS_OFF= DISABLED_PLUGINS+=notification-sound CANBERRA_LIB_DEPENDS= libcanberra.so:audio/libcanberra CMAKE_ARGS+= -DENABLED_PLUGINS="${ENABLED_PLUGINS:S/ /;/gW}" CMAKE_ARGS+= -DDISABLED_PLUGINS="${DISABLED_PLUGINS:S/ /;/gW}" pre-configure: @if [ -z "${PACKAGE_BUILDING}" ]; then if ! ${PKG_BIN} query \ '%o-%Ok-%Od' databases/sqlite3 | \ ${GREP} -F -wq databases/sqlite3-UNICODE61-on; then \ ${ECHO_MSG} "/!\ Please make sure databases/sqlite3 is built\ with UNICODE61 option"; \ exit 1; \ fi; fi .include diff --git a/net-im/dissent/Makefile b/net-im/dissent/Makefile index fc7e1c166c79..caffbe659efb 100644 --- a/net-im/dissent/Makefile +++ b/net-im/dissent/Makefile @@ -1,42 +1,42 @@ PORTNAME= dissent DISTVERSIONPREFIX= v DISTVERSION= 0.0.32 PORTREVISION= 1 CATEGORIES= net-im MAINTAINER= nxjoseph@protonmail.com COMMENT= Tiny native Discord app WWW= https://github.com/diamondburned/dissent LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \ libspelling-1.so:x11-toolkits/libspelling USES= gnome go:1.22,modules gstreamer pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk40 gtksourceview5 libadwaita +USE_GNOME= cairo gdkpixbuf gtk40 gtksourceview5 libadwaita USE_GSTREAMER= bad good ugly GO_MODULE= libdb.so/dissent CGO_LDFLAGS+= -Wl,--as-needed # gtk4 deps PLIST_FILES= bin/${PORTNAME} \ share/applications/so.libdb.dissent.desktop \ share/dbus-1/services/so.libdb.dissent.service \ share/icons/hicolor/scalable/apps/so.libdb.dissent.svg \ share/metainfo/so.libdb.dissent.metainfo.xml post-patch: @${REINPLACE_CMD} 's,/usr/bin,${PREFIX}/bin,' \ ${WRKSRC}/nix/*.service @${RM} ${WRKSRC}/vendor/libdb.so/gotk4-spelling/pkg/spelling/spelling-dictionary.go post-install: # Install extras similar to Nix flake .for f in nix/*.desktop nix/*.service *.metainfo.xml \ internal/icons/hicolor/scalable/apps/so.libdb.dissent.svg ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}:H} ${INSTALL_DATA} ${WRKSRC}/${f} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}} .endfor .include diff --git a/net-im/fractal/Makefile b/net-im/fractal/Makefile index 75ff80776e6b..15a239d97ef7 100644 --- a/net-im/fractal/Makefile +++ b/net-im/fractal/Makefile @@ -1,43 +1,43 @@ PORTNAME= fractal DISTVERSION= 4.4.2 PORTREVISION= 18 CATEGORIES= net-im MASTER_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/archive/${DISTVERSION}/ # XXX USES=cargo omits the default source archive by default DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= vishwin@FreeBSD.org COMMENT= GTK Matrix IM client WWW= https://gitlab.gnome.org/GNOME/fractal LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libdbus-1.so:devel/dbus \ libgmp.so:math/gmp \ libgspell-1.so:textproc/gspell \ libhandy-0.0.so:x11-toolkits/libhandy0 USES= cargo cpe desktop-file-utils gettext gnome gstreamer meson \ pkgconfig python:build shebangfix ssl CPE_VENDOR= gnome -USE_GNOME= cairo gdkpixbuf2 gtk30 gtksourceview4 +USE_GNOME= cairo gdkpixbuf gtk30 gtksourceview4 USE_GSTREAMER= bad editing-services SHEBANG_FILES= scripts BINARY_ALIAS= python3=${PYTHON_CMD} GLIB_SCHEMAS= org.gnome.Fractal.gschema.xml CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no CARGO_TARGET_DIR= ${WRKSRC}/${MESON_BUILD_DIR}/target MAKE_ENV+= ${CARGO_ENV} .include .if ${ARCH} == powerpc LTO_UNSAFE= yes .endif .include diff --git a/net-im/gotktrix/Makefile b/net-im/gotktrix/Makefile index 583c85488400..70e293f6675c 100644 --- a/net-im/gotktrix/Makefile +++ b/net-im/gotktrix/Makefile @@ -1,32 +1,32 @@ PORTNAME= gotktrix DISTVERSIONPREFIX= v DISTVERSION= 0.1.4 PORTREVISION= 20 CATEGORIES= net-im MAINTAINER= fuz@FreeBSD.org COMMENT= Matrix client in Go and GTK4 WWW= https://github.com/diamondburned/gotktrix LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz \ libvulkan.so:graphics/vulkan-loader USES= gnome go:modules pkgconfig -USE_GNOME= cairo gdkpixbuf2 glib20 gtk40 introspection pango +USE_GNOME= cairo gdkpixbuf glib20 gtk40 introspection pango GO_MODULE= github.com/diamondburned/gotktrix PLIST_FILES= bin/gotktrix \ share/icons/hicolor/256x256/apps/gotktrix.png \ ${DESKTOPDIR}/com.github.diamondburned.gotktrix.desktop post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps ${INSTALL_DATA} ${WRKSRC}/.github/logo-256.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/gotktrix.png ${INSTALL_DATA} ${WRKSRC}/.nix/com.github.diamondburned.gotktrix.desktop \ ${STAGEDIR}${DESKTOPDIR}/ .include diff --git a/net-im/purple-gowhatsapp/Makefile b/net-im/purple-gowhatsapp/Makefile index 152639630484..e6005d85b8cd 100644 --- a/net-im/purple-gowhatsapp/Makefile +++ b/net-im/purple-gowhatsapp/Makefile @@ -1,80 +1,80 @@ PORTNAME= purple-gowhatsapp DISTVERSIONPREFIX=v DISTVERSION= 1.16.0 PORTREVISION= 1 CATEGORIES= net-im MAINTAINER= ports@virtual-estates.net COMMENT= WhatsApp plugin for libpurple WWW= https://github.com/hoehermann/purple-gowhatsapp LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= lang/go* ports can only created shared libraries for ${ONLY_FOR_ARCHS} LIB_DEPENDS= libpurple.so:net-im/libpurple \ libopusfile.so:audio/opusfile USES= go:no_targets cmake dos2unix localbase:ldflags pkgconfig USES+= gnome gettext-runtime -USE_GNOME= gdkpixbuf2 glib20 +USE_GNOME= gdkpixbuf glib20 OPTIONS_MULTI= DB-backend OPTIONS_MULTI_DB-backend= SQLITE3 PGSQL OPTIONS_DEFAULT=SQLITE3 .for o in ${OPTIONS_MULTI_DB-backend} $o_DESC= Support use of $o for storing account information post-patch-$o-off: ${REINPLACE_CMD} '/${$o_GH_TUPLE:C/^([^:]+):([^:]+):.*/\1\\\/\2/}"/d' \ ${WRKSRC}/src/go/login.go .endfor USE_GITHUB= yep... GH_ACCOUNT= hoehermann DOS2UNIX_GLOB= CMake*.txt EXTRACT_AFTER_ARGS=--exclude vendor MAKE_ENV+= ${GO_ENV} GH_TUPLE= \ FiloSottile:edwards25519:v1.1.0:FiloSottile_edwards25519/vendor/filippo.io/edwards25519 \ alfg:mp4:55ea58c08aeb:alfg_mp4/vendor/github.com/alfg/mp4 \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ google:go-cmp:v0.6.0:google_go_cmp/vendor/github.com/google/go-cmp \ gorilla:websocket:v1.5.1:gorilla_websocket/vendor/github.com/gorilla/websocket \ mdp:qrterminal:v3.2.0:mdp_qrterminal/vendor/github.com/mdp/qrterminal \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ skip2:go-qrcode:da1b6568686e:skip2_go_qrcode/vendor/github.com/skip2/go-qrcode \ stretchr:testify:v1.9.0:stretchr_testify/vendor/github.com/stretchr/testify \ tulir:libsignal-protocol-go:v0.1.1:tulir_libsignal_protocol_go/vendor/go.mau.fi/libsignal \ mattn:go-colorable:v0.1.13:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ mattn:go-isatty:v0.0.20:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ mautrix:go-util:v0.6.0:mautrix_go_util/vendor/go.mau.fi/util \ tulir:whatsmeow:9bd3fa0:tulir_whatsmeow/vendor/go.mau.fi/whatsmeow \ golang:crypto:v0.26.0:golang_crypto/vendor/golang.org/x/crypto \ golang:net:v0.28.0:golang_net/vendor/golang.org/x/net \ golang:sys:v0.24.0:golang_sys/vendor/golang.org/x/sys \ golang:term:v0.23.0:golang_term/vendor/golang.org/x/term \ golang:text:v0.17.0:golang_text/vendor/golang.org/x/text \ golang:xerrors:93cc26a95ae9:golang_xerrors/vendor/golang.org/x/xerrors \ google:uuid:v1.6.0:google_uuid/vendor/github.com/google/uuid \ protocolbuffers:protobuf-go:v1.34.2:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ rs:zerolog:v1.33.0:rs_zerolog/vendor/github.com/rs/zerolog \ rsc:qr:v0.2.0:rsc_qr/vendor/rsc.io/qr SQLITE3_GH_TUPLE=\ mattn:go-sqlite3:v1.14.19:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 PGSQL_GH_TUPLE= lib:pq:v1.10.9:lib_pq/vendor/github.com/lib/pq CMAKE_ARGS= -DPURPLE_INCLUDE_DIRS=${LOCALBASE}/include/libpurple \ -DPURPLE_LIBRARY_DIRS=${LOCALBASE}/lib \ -DPURPLE_PLUGIN_DIR=${PREFIX}/lib/purple-2 \ -DPURPLE_DATA_DIR=${PREFIX}/share post-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/src/go/_go ${LN} -sf ${WRKSRC}/vendor ${CONFIGURE_WRKSRC}/src/go/_go/src .include diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile index 4e2e8365f0f9..35eaadaf2256 100644 --- a/net-im/qTox/Makefile +++ b/net-im/qTox/Makefile @@ -1,97 +1,97 @@ PORTNAME= qTox DISTVERSIONPREFIX= v DISTVERSION= 1.18.2 PORTREVISION= 2 CATEGORIES= net-im net-p2p MAINTAINER= yuri@FreeBSD.org COMMENT= Qt based Tox client WWW= https://qtox.github.io/ \ https://github.com/TokTok/qTox LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libexif.so:graphics/libexif \ libopus.so:audio/opus \ libqrencode.so:graphics/libqrencode \ libsodium.so:security/libsodium \ libsqlcipher.so:databases/sqlcipher \ libtox_extension_messages.so:net-im/tox_extension_messages \ libtoxcore.so:net-im/tox \ libtoxext.so:net-im/toxext \ libvpx.so:multimedia/libvpx USES= cmake compiler:c++11-lib desktop-file-utils gettext gl openal:soft pkgconfig qt:6 USE_GL= opengl USE_QT= base sqldriver-sqlite:run svg USE_GITHUB= yes GH_ACCOUNT= TokTok CMAKE_ARGS= -DGIT_DESCRIBE:STRING=${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} CMAKE_OFF= USE_CCACHE OPTIONS_DEFINE= FILTERAUDIO PLATFORM_EXTENSIONS SPELL_CHECK APPINDICATOR GTK_SYSTRAY STATUSNOTIFIER OPTIONS_DEFAULT= FILTERAUDIO PLATFORM_EXTENSIONS SPELL_CHECK GTK_SYSTRAY STATUSNOTIFIER # removing GTK_SYSTRAY, STATUSNOTIFIER doesn't reduce dependencies FILTERAUDIO_DESC= Enable the echo canceling backend FILTERAUDIO_CMAKE_BOOL= USE_FILTERAUDIO FILTERAUDIO_LIB_DEPENDS= libfilteraudio.so:audio/libfilteraudio PLATFORM_EXTENSIONS_DESC= Enable platform specific extensions PLATFORM_EXTENSIONS_CMAKE_BOOL= PLATFORM_EXTENSIONS PLATFORM_EXTENSIONS_USES= xorg PLATFORM_EXTENSIONS_USE= XORG=x11,xscrnsaver SPELL_CHECK_DESC= Spell checking support SPELL_CHECK_USES= kde:6 SPELL_CHECK_USE= KDE=sonnet SPELL_CHECK_CMAKE_BOOL= SPELL_CHECK APPINDICATOR_CMAKE_BOOL= ENABLE_APPINDICATOR APPINDICATOR_BROKEN= can not find appindicator-0.1 GTK_SYSTRAY_DESC= Enable GTK systray GTK_SYSTRAY_CMAKE_BOOL= ENABLE_GTK_SYSTRAY GTK_SYSTRAY_USES= gnome -GTK_SYSTRAY_USE= GNOME=atk,cairo,gdkpixbuf2,gtk20 +GTK_SYSTRAY_USE= GNOME=atk,cairo,gdkpixbuf,gtk20 STATUSNOTIFIER_DESC= Enable status notifier STATUSNOTIFIER_CMAKE_BOOL= ENABLE_STATUSNOTIFIER STATUSNOTIFIER_USES= gnome -STATUSNOTIFIER_USE= GNOME=atk,cairo,gdkpixbuf2,gtk20 +STATUSNOTIFIER_USE= GNOME=atk,cairo,gdkpixbuf,gtk20 PLIST_FILES= bin/qtox \ share/applications/io.github.qtox.qTox.desktop \ share/icons/hicolor/scalable/apps/qtox.svgz \ share/metainfo/io.github.qtox.qTox.appdata.xml .for SZ in 14 16 22 24 32 36 48 64 72 96 128 192 256 512 PLIST_FILES+= share/icons/hicolor/${SZ}x${SZ}/apps/qtox.png .endfor .include .if ${CHOSEN_COMPILER_TYPE} == "gcc" && ${ARCH} == i386 && !${CFLAGS:M-march=*} # Needed for __atomic_fetch_add_8 CFLAGS+= -march=i586 .endif .if !defined(DISTVERSIONSUFFIX) FULLVERSION= ${PKGVERSION} .else FULLVERSION= "${PKGVERSION} (rev.${DISTVERSIONSUFFIX:S/-g//})" .endif pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "Warning: qTox won't build if the option NaCl was selected for Tox!" @${ECHO_MSG} pre-configure: @${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \ ${WRKSRC}/io.github.qtox.qTox.desktop .include diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile index 5eaa397b5949..191f1a475f88 100644 --- a/net-im/signal-desktop/Makefile +++ b/net-im/signal-desktop/Makefile @@ -1,206 +1,206 @@ PORTNAME= signal-desktop DISTVERSIONPREFIX= v DISTVERSION= 7.44.0 PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= LOCAL/mikael/signal-desktop/:npm \ https://build-artifacts.signal.org/desktop/:sqlcipher DISTFILES= signal-desktop-${DISTVERSION}-npm-cache.tar.gz:npm \ ${SQLCIPHER}.tar.gz:sqlcipher # for online build #DISTFILES= ${SQLCIPHER}.tar.gz:sqlcipher MAINTAINER= mikael@FreeBSD.org COMMENT= Cross-platform centralized encrypted messaging service WWW= https://signal.org/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 EXTRACT_DEPENDS=jq:textproc/jq \ npm:www/npm-node20 BUILD_DEPENDS= ${LOCALBASE}/lib/libringrtc.so:multimedia/ringrtc \ ${LOCALBASE}/lib/libsignal_node.so:net-im/libsignal-node \ ${LOCALBASE}/lib/libsignal_sqlcipher_extension.a:devel/signal-sqlcipher-extension \ app-builder>0:devel/app-builder \ electron${ELECTRON_VER_MAJOR}:devel/electron${ELECTRON_VER_MAJOR} \ esbuild:devel/esbuild \ jq:textproc/jq \ npm:www/npm-node20 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libcups.so:print/cups \ libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libexpat.so:textproc/expat2 \ libFLAC.so:audio/flac \ libffi.so:devel/libffi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libicuuc.so:devel/icu \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpci.so:devel/libpci \ libpng16.so:graphics/png \ libsnappy.so:archivers/snappy \ libsndio.so:audio/sndio \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence USES= desktop-file-utils gettext-runtime gl gnome jpeg ssl xorg USE_GITHUB= yes GH_ACCOUNT= signalapp GH_PROJECT= Signal-Desktop USE_GL= gbm gl -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 libxml2 libxslt pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 libxml2 libxslt pango USE_XORG= x11 xcb xcomposite xdamage xext xfixes xi xrandr xrender xtst PACKAGE_ENV= SIGNAL_ENV=production \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER_MAJOR} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers MAKE_ENV+= ELECTRON_OVERRIDE_DIST_PATH=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} \ HOME=${WRKDIR} \ USE_SYSTEM_APP_BUILDER=true \ SOURCE_DATE_EPOCH=${_BUILD_DATE} \ PATH=${WRKSRC}/node_modules/.bin:${LOCALBASE}/bin:${PATH} # Don't download electron binary distribution on electron node_modules installation MAKE_ENV+= ELECTRON_SKIP_BINARY_DOWNLOAD=1 # Don't create __pycache__ directory when executing node-gyp # This is a workaround to avoid filesystem violations during poudriere build MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 MAKE_ENV+= ESBUILD_BINARY_PATH=${LOCALBASE}/bin/esbuild _BUILD_DATE= $$(date +'%s') ELECTRON_VER_MAJOR= 32 ESBUILD_VERSION= 0.24.0 SQLCIPHER= sqlcipher-v2-4.6.1-signal-patch2--0.2.1-asm2-6253f886c40e49bf892d5cdc92b2eb200b12cd8d80c48ce5b05967cfd01ee8c7 NODE_ARCH= ${ARCH:S/aarch64/arm64/:S/amd64/x64/} APP_OUT_DIR= linux-${ARCH:S/aarch64/arm64-/:S/amd64//}unpacked PLIST_SUB= NODE_ARCH=${NODE_ARCH} \ SHARP_ARCH=${ARCH:S/aarch64/arm64v8/:S/amd64/x64/} NPM_TIMESTAMP= 1661146515 .include .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " .elif ${ARCH} == amd64 PLIST_SUB+= NOT_AARCH64="" .endif post-extract: # Update node engine ${PREFIX}/bin/jq '.engines.node = ""' ${WRKSRC}/package.json > ${WRKSRC}/package.json.tmp.1 ${PREFIX}/bin/jq '.devDependencies.esbuild = "${ESBUILD_VERSION}"' ${WRKSRC}/package.json.tmp.1 > ${WRKSRC}/package.json.tmp.2 ${PREFIX}/bin/jq '.devDependencies."electron-builder"= "24.13.3"' ${WRKSRC}/package.json.tmp.2 > ${WRKSRC}/package.json.tmp.3 ${MV} ${WRKSRC}/package.json.tmp.3 ${WRKSRC}/package.json # remove mock-server as it doesn't build and is useless ${PREFIX}/bin/jq 'del(.devDependencies."@signalapp/mock-server")' ${WRKSRC}/package.json > ${WRKSRC}/package.json.tmp ${MV} ${WRKSRC}/package.json.tmp ${WRKSRC}/package.json ${RM} ${WRKSRC}/patches/app-builder-lib* ${WRKSRC}/patches/dmg-builder* ${CP} ${FILESDIR}/app-builder-lib+24.13.3.patch ${WRKSRC}/patches ${CP} ${FILESDIR}/dmg-builder+24.13.3.patch ${WRKSRC}/patches # # for online build # cd ${WRKSRC} && \ # ${SETENV} ${MAKE_ENV} npm install --ignore-optional --ignore-scripts || ${TRUE} # for offline build cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm install --ignore-optional --ignore-scripts --offline || ${TRUE} do-build: # electron-builder is stupid and tries to open ${LOCALBASE}/share/electron32/electron with WRITE priv # copy ${LOCALBASE}/share/electron32 in WRKDIR # it's needed for the do-install phase, it's here because of this issue # https://github.com/MikaelUrankar/signal-desktop/issues/6 (I don't know why it fails though) @${RM} -r ${WRKDIR}/electron${ELECTRON_VER_MAJOR} @${CP} -pR ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} ${WRKDIR}/electron${ELECTRON_VER_MAJOR} ${CHMOD} -R a+w ${WRKDIR}/electron${ELECTRON_VER_MAJOR} # Install libsignal_node.so and libringrtc.so binaries in node_modules ${MKDIR} ${WRKSRC}/node_modules/@signalapp/libsignal-client/prebuilds/freebsd-${NODE_ARCH} \ ${WRKSRC}/node_modules/@signalapp/ringrtc/build/freebsd ${CP} ${LOCALBASE}/lib/libsignal_node.so \ ${WRKSRC}/node_modules/@signalapp/libsignal-client/prebuilds/freebsd-${NODE_ARCH}/@signalapp+libsignal-client.node ${CP} ${LOCALBASE}/lib/libringrtc.so \ ${WRKSRC}/node_modules/@signalapp/ringrtc/build/freebsd/libringrtc-${NODE_ARCH}.node ${CP} ${DISTDIR}/${SQLCIPHER}.tar.gz \ ${WRKSRC}/node_modules/@signalapp/better-sqlite3/deps/sqlcipher.tar.gz cd ${WRKSRC} && ${PATCH} -s -N -i ${FILESDIR}/sqlite3.gyp.diff @${RM} -r ${WRKSRC}/node_modules/fs-xattr # # online build # cd ${WRKSRC} && \ # ${SETENV} ${MAKE_ENV} npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers npm install --ignore-optional # cd ${WRKSRC} && \ # ${SETENV} ${MAKE_ENV} npm run generate # offline build ${ECHO_CMD} offline=true >> ${WRKSRC}/.npmrc cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers npm install --ignore-optional --offline cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm run generate --offline do-install: # taken from https://github.com/tagattie/FreeBSD-Electron/blob/master/Mk/Uses/electron.mk#L387 # and editors/vscode cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${PACKAGE_ENV} npm run build:electron -- \ --linux --dir --config.npmRebuild=false \ --config.electronDist=${WRKDIR}/electron${ELECTRON_VER_MAJOR} ${MKDIR} ${STAGEDIR}${DATADIR} cd ${BUILD_WRKSRC}/dist/${APP_OUT_DIR} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/images/signal-logo-desktop-linux.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/signal-desktop.png ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications .for f in chromedriver mksnapshot v8_context_snapshot_generator ${RM} ${STAGEDIR}${DATADIR}/${f} .endfor ${RM} -r ${STAGEDIR}${DATADIR}/gen ${RM} -r ${STAGEDIR}${DATADIR}/node_headers ${RM} -r ${STAGEDIR}${DATADIR}/resources/completions ${RLN} ${STAGEDIR}${DATADIR}/signal-desktop ${STAGEDIR}${PREFIX}/bin # This seems to be only required for Windows: ${RM} -r ${STAGEDIR}${DATADIR}/resources/app.asar.unpacked/node_modules/@nodert-win10-rs4 ${RM} -r ${STAGEDIR}${DATADIR}/resources/app.asar.unpacked/node_modules/@signalapp/windows-dummy-keystroke create-caches-tarball: # do some cleanup first ${RM} -r ${WRKDIR}/.npm/_logs ${WRKDIR}/.npm/_update-notifier-last-checked cd ${WRKDIR} && \ ${TAR} czf signal-desktop-${DISTVERSION}-npm-cache.tar.gz .npm .include diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile index 060579e78541..60f594b8e064 100644 --- a/net-im/toxic/Makefile +++ b/net-im/toxic/Makefile @@ -1,65 +1,65 @@ PORTNAME= toxic PORTVERSION= 0.16.1 DISTVERSIONPREFIX= v CATEGORIES= net-im MAINTAINER= thierry@FreeBSD.org COMMENT= Console client for Tox WWW= https://tox.chat/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:net-im/tox \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libvpx.so:multimedia/libvpx \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ libv4l2.so:multimedia/libv4l \ libqrencode.so:graphics/libqrencode \ libconfig.so:devel/libconfig RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:net-im/tox USES= compiler:c11 desktop-file-utils gettext-runtime gmake ncurses \ openal:al,alut pkgconfig MAKE_ARGS= ENABLE_RELEASE=1 USE_GITHUB= yes GH_ACCOUNT= JFreegman OPTIONS_DEFINE= GAMES X11 PYTHON OPTIONS_DEFAULT=GAMES X11 GAMES_DESC= Includes a games module GAMES_MAKE_ARGS_OFF= DISABLE_GAMES=1 X11_USES= gnome xorg -X11_USE= GNOME=gdkpixbuf2,glib20 XORG=x11 +X11_USE= GNOME=gdkpixbuf,glib20 XORG=x11 X11_MAKE_ARGS_OFF= DISABLE_X11=1 DISABLE_DESKTOP_NOTIFY=1 X11_LIB_DEPENDS=libnotify.so:devel/libnotify PYTHON_USES= python PYTHON_MAKE_ARGS= ENABLE_PYTHON=1 CFLAGS+= -I${NCURSESINC} -pthread LDFLAGS+= -L${NCURSESLIB} LDFLAGS_i386= -Wl,-znotext MAKE_ENV= USER_CFLAGS="${CFLAGS}" USER_LDFLAGS="${LDFLAGS}" \ MANDIR="${PREFIX}/share/man" SUB_FILES= pkg-message pre-configure-PYTHON-on: ${REINPLACE_CMD} -e '/PYTHON3_LIBS/ s|python3|python-${PYTHON_VER}|' \ -e 's|python3-config|${PYTHON_VERSION}-config|g' \ -e 's|--ldflags|--ldflags --embed|' \ ${WRKSRC}/cfg/checks/python.mk pre-configure: ${REINPLACE_CMD} -e 's|PREFIX =|PREFIX?=|;s|$$(shell git rev-list HEAD.*$$|${GH_TAGNAME}|' \ ${WRKSRC}/cfg/global_vars.mk post-install: ${RM} ${STAGEDIR}${PREFIX}/share/man/man1/toxic.1-e ${STAGEDIR}${PREFIX}/share/man/man5/toxic.conf.5-e ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/toxic .include diff --git a/net-im/tuba/Makefile b/net-im/tuba/Makefile index ce32caf47f56..7f28266daee1 100644 --- a/net-im/tuba/Makefile +++ b/net-im/tuba/Makefile @@ -1,42 +1,42 @@ PORTNAME= Tuba DISTVERSIONPREFIX= v DISTVERSION= 0.9.2 CATEGORIES= net-im MAINTAINER= nxjoseph@protonmail.com COMMENT= Browse the Fediverse WWW= https://github.com/GeopJr/Tuba \ https://tuba.geopjr.dev LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libgraphene-1.0.so:graphics/graphene \ libicuuc.so:devel/icu \ libjson-glib-1.0.so:devel/json-glib \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 RUN_DEPENDS= gnome-keyring>=0:security/gnome-keyring USES= desktop-file-utils gettext-tools gnome gstreamer meson \ pkgconfig vala:build USE_GITHUB= yes GH_ACCOUNT= GeopJr -USE_GNOME= cairo gdkpixbuf2 glib20 gtk40 gtksourceview5 libadwaita libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gtk40 gtksourceview5 libadwaita libxml2 GLIB_SCHEMAS= dev.geopjr.Tuba.gschema.xml OPTIONS_DEFINE= SPELLCHECK OPTIONS_DEFAULT= SPELLCHECK SPELLCHECK_DESC= Enable spell-checking support SPELLCHECK_LIB_DEPENDS= libspelling-1.so:x11-toolkits/libspelling USE_GSTREAMER1+= yes post-install: @(cd ${WRKSRC}/_build && \ ${STRIP_CMD} dev.geopjr.Tuba && \ ${LN} dev.geopjr.Tuba ${STAGEDIR}${PREFIX}/bin/tuba) .include diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile index 82ac1dc8692a..15c34ea872fb 100644 --- a/net-mgmt/collectd5/Makefile +++ b/net-mgmt/collectd5/Makefile @@ -1,359 +1,359 @@ PORTNAME= collectd PORTVERSION= 5.12.0 PORTREVISION= 20 CATEGORIES= net-mgmt MASTER_SITES= https://storage.googleapis.com/collectd-tarballs/ PKGNAMESUFFIX= 5 MAINTAINER= ports@bsdserwis.com COMMENT= Systems & network statistics collection daemon WWW= https://www.collectd.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpfctl.so:net/libpfctl LDFLAGS+= -lpfctl USES= autoreconf cpe gmake libtool localbase:ldflags pkgconfig shebangfix tar:bzip2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share OPTIONS_DEFINE= CGI GCRYPT JAVA LOGGING LOGSTASH VIRT OPTIONS_GROUP= INPUT OUTPUT OPTIONS_GROUP_OUTPUT= INFLUXDB KAFKA MONGODB NOTIFYDESKTOP NOTIFYEMAIL PROMETHEUS \ RIEMANN RRDTOOL TSDB OPTIONS_GROUP_INPUT= CHRONY CURL CURL_JSON CURL_XML DBI IPMI JSON \ MEMCACHEC MODBUS MQTT MYSQL NUTUPS OLSRD ONEWIRE OPENLDAP \ PERL PGSQL PINBA PING PYTHON RABBITMQ REDIS SIGROK \ SLURM SNMP STATSD TOKYOTYRANT VARNISH XML ZOOKEEPER OPTIONS_DEFAULT= GCRYPT LOGGING PING CGI_DESC= Install collection.cgi (requires rrdtool) CHRONY_DESC= Enable chronyd plugin CURL_DESC= Enable curl-based plugins (apache, nginx, etc) CURL_JSON_DESC= Enable curl_json plugin (implies curl and json) CURL_XML_DESC= Enable ascent, bind, curl_xml plugins (implies curl and xml) DBI_DESC= Enable dbi plugin GCRYPT_DESC= Build with libgcrypt INFLUXDB_DESC= Enable write_influxdb_udp plugin IPMI_DESC= Enable OpenIPMI plugin JSON_DESC= Enable JSON plugins KAFKA_DESC= Enable write_kafka plugin LOGGING_DESC= Enable debug logging LOGSTASH_DESC= Enable log_logstash plugin (requires json) MEMCACHEC_DESC= Enable memcachec plugin MODBUS_DESC= Enable modbus plugin MONGODB_DESC= Enable write_mongodb plugin MQTT_DESC= Enable MQTT broker metrics MYSQL_DESC= Enable mysql-based plugins NOTIFYDESKTOP_DESC= Enable desktop notifications NOTIFYEMAIL_DESC= Enable notifications via email NUTUPS_DESC= Enable nut (ups) plugin (sysutils/nut must be configured with DEV option) OLSRD_DESC= Enable olsrd plugin ONEWIRE_DESC= Eanble onewire plugin (via owfs) OPENLDAP_DESC= Enable OpenLDAP plugin PERL_DESC= Enable libperl plugin and binding PGSQL_DESC= Enable postgresql-based plugins PINBA_DESC= Enable pinba plugin (via protobuf-c) PING_DESC= Enable ping plugin PROMETHEUS_DESC= Enable write prometheus plugin PYTHON_DESC= Enable python-based plugins RABBITMQ_DESC= Enable rabbitmq-based plugins REDIS_DESC= Enable redis-based plugins RIEMANN_DESC= Enable write_riemann plugin (via riemann-c-client) RRDTOOL_DESC= Enable rrdtool plugin (also rrdcached plugin) SIGROK_DESC= Enable sigrok plugin (BROKEN) SLURM_DESC= Enable slurm plugin SNMP_DESC= Enable SNMP plugin STATSD_DESC= Enable statsd plugin TOKYOTYRANT_DESC= Enable tokyotyrant plugin TSDB_DESC= Enable write_tsdb plugin VARNISH_DESC= Enable varnish 7.x cache statistics VIRT_DESC= Enable libvirt plugin (requires XML) XML_DESC= Enable XML plugins ZOOKEEPER_DESC= Enable zookeeper plugin OPTIONS_SUB= yes USE_RC_SUBR= collectd collectdmon USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib # NOTE: Plugins without dependencies are defined further down. CONFIGURE_ARGS= --disable-all-plugins \ --disable-amqp \ --disable-ceph \ --disable-cgroups \ --disable-fhcount \ --disable-static \ --disable-turbostat \ --enable-disk \ --localstatedir=/var \ --without-libaquaero5 \ --without-libganglia \ --without-libiptc \ --without-libldap \ --without-libmnl \ --without-libnetapp \ --without-libowcapi \ --without-libsensors \ --without-mic \ --without-oracle CGI_USES= perl5 CGI_RUN_DEPENDS= p5-CGI>=0:www/p5-CGI \ p5-HTML-Parser>=0:www/p5-HTML-Parser \ p5-URI>=0:net/p5-URI CGI_IMPLIES= RRDTOOL CHRONY_CONFIGURE_ENABLE= chrony CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_ENABLE= apache curl nginx write_http CURL_CONFIGURE_WITH= libcurl=${LOCALBASE} CURL_JSON_IMPLIES= CURL JSON CURL_JSON_CONFIGURE_ENABLE= curl_json CURL_XML_IMPLIES= CURL XML CURL_XML_CONFIGURE_ENABLE= ascent bind curl_xml JAVA_USES= java JAVA_CONFIGURE_ENABLE= java JAVA_CONFIGURE_WITH= java=${LOCALBASE} DBI_LIB_DEPENDS= libdbi.so:databases/libdbi DBI_CONFIGURE_ENABLE= dbi DBI_CFLAGS= -Wno-deprecated-declarations GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error GCRYPT_CONFIGURE_WITH= libgcrypt=${LOCALBASE}/bin/libgcrypt-config INFLUXDB_CONFIGURE_ENABLE= write_influxdb_udp IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi IPMI_CONFIGURE_ENABLE= ipmi JSON_LIB_DEPENDS= libyajl.so:devel/yajl JSON_CONFIGURE_WITH= libyajl=${LOCALBASE} KAFKA_LIB_DEPENDS= librdkafka.so:net/librdkafka KAFKA_CONFIGURE_ENABLE= write_kafka LOGGING_CONFIGURE_ENABLE= debug LOGSTASH_CONFIGURE_ENABLE= log_logstash LOGSTASH_IMPLIES= JSON MEMCACHEC_LIB_DEPENDS= libmemcached.so:databases/libmemcached MEMCACHEC_CONFIGURE_ENABLE= memcachec MEMCACHEC_CONFIGURE_WITH= libmemcached=${LOCALBASE} MODBUS_LIB_DEPENDS= libmodbus.so:comms/libmodbus MODBUS_CONFIGURE_ENABLE= modbus MODBUS_CONFIGURE_WITH= libmodbus=use_pkgconfig MONGODB_LIB_DEPENDS+= libmongoc-1.0.so:devel/mongo-c-driver \ libbson-1.0.so:devel/libbson MONGODB_CONFIGURE_ENABLE= write_mongodb MONGODB_CONFIGURE_WITH= libmongoc MQTT_LIB_DEPENDS= libmosquitto.so:net/mosquitto MQTT_CONFIGURE_ENABLE= mqtt MQTT_CONFIGURE_WITH= libmosquitto=${LOCALBASE} MYSQL_USES= mysql ssl MYSQL_CONFIGURE_ENABLE= mysql MYSQL_CONFIGURE_WITH= libmysql=${LOCALBASE} NOTIFYDESKTOP_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFYDESKTOP_CONFIGURE_ENABLE= notify_desktop -NOTIFYDESKTOP_USE= GNOME=gdkpixbuf2 +NOTIFYDESKTOP_USE= GNOME=gdkpixbuf NOTIFYDESKTOP_USES= gettext-runtime gnome NOTIFYEMAIL_LIB_DEPENDS= libesmtp.so:mail/libesmtp NOTIFYEMAIL_CONFIGURE_ENABLE= notify_email NOTIFYEMAIL_CONFIGURE_WITH= libesmtp=${LOCALBASE} NUTUPS_LIB_DEPENDS= libupsclient.so:sysutils/nut NUTUPS_CONFIGURE_ENABLE= nut NUTUPS_CONFIGURE_WITH= libupsclient=${LOCALBASE} OLSRD_CONFIGURE_ENABLE= olsrd ONEWIRE_LIB_DEPENDS= libow.so:comms/owfs ONEWIRE_CONFIGURE_ENABLE= onewire ONEWIRE_CONFIGURE_WITH= libowcapi=${LOCALBASE} OPENLDAP_USES= ldap OPENLDAP_CONFIGURE_ENABLE= openldap OPENLDAP_CONFIGURE_WITH= libldap=${LOCALBASE} PERL_USES= perl5 PERL_CONFIGURE_ENABLE= perl PERL_CONFIGURE_WITH= libperl=${LOCALBASE} perl-bindings PGSQL_USES= pgsql PGSQL_CONFIGURE_ENABLE= postgresql PGSQL_CONFIGURE_WITH= libpq=${LOCALBASE} PINBA_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c PINBA_CONFIGURE_ENABLE= pinba PING_LIB_DEPENDS= liboping.so:net/liboping PING_CONFIGURE_ENABLE= ping PING_CONFIGURE_WITH= liboping=${LOCALBASE} PROMETHEUS_LIB_DEPENDS+= libmicrohttpd.so:www/libmicrohttpd \ libprotobuf-c.so:devel/protobuf-c \ libprotoc.so:devel/protobuf PROMETHEUS_CONFIGURE_ENABLE= write_prometheus PYTHON_USES= python PYTHON_CONFIGURE_ENABLE= python PYTHON_CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c RABBITMQ_CONFIGURE_WITH= librabbitmq=${LOCALBASE} REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis REDIS_CONFIGURE_ENABLE= redis write_redis REDIS_CONFIGURE_WITH= libhiredis=${LOCALBASE} RIEMANN_LIB_DEPENDS= libltdl.so:devel/libltdl \ libriemann-client-gnutls.so:net-mgmt/riemann-c-client RIEMANN_CONFIGURE_ENABLE= write_riemann RRDTOOL_LIB_DEPENDS= librrd.so:databases/rrdtool RRDTOOL_CONFIGURE_ENABLE= rrdcached rrdtool RRDTOOL_CONFIGURE_WITH= librrd=${LOCALBASE} SIGROK_USE= GNOME=glib20 SIGROK_CFLAGS= `pkg-config --cflags libsigrok` SIGROK_LIB_DEPENDS= libsigrok.so:devel/libsigrok SIGROK_CONFIGURE_ENABLE= sigrok SIGROK_USES= gettext-runtime SIGROK_BROKEN= working only with sigrok < 0.4 SLURM_BROKEN= Does not compile with slurm-wlm >= 21.x SLURM_LIB_DEPENDS= libslurm.so:sysutils/slurm-wlm SLURM_CONFIGURE_ENABLE= slurm SLURM_CONFIGURE_WITH= libslurm=${LOCALBASE} SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_ENABLE= snmp SNMP_CONFIGURE_WITH= libnetsnmp STATSD_CONFIGURE_ENABLE= statsd TOKYOTYRANT_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet \ libtokyotyrant.so:databases/tokyotyrant TOKYOTYRANT_CONFIGURE_ENABLE= tokyotyrant TOKYOTYRANT_CONFIGURE_WITH= libtokyotyrant=${LOCALBASE} TSDB_CONFIGURE_ENABLE= write_tsdb VARNISH_LIB_DEPENDS= libvarnishapi.so:www/varnish7 VARNISH_CONFIGURE_ENABLE= varnish VIRT_IMPLIES= XML VIRT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libvirt.so:devel/libvirt VIRT_CONFIGURE_ENABLE= virt XML_CFLAGS= `pkg-config --cflags libxml-2.0` XML_LIB_DEPENDS= libxml2.so:textproc/libxml2 XML_CONFIGURE_WITH= libxml2 ZOOKEEPER_LIB_DEPENDS= libzookeeper_mt.so:devel/libzookeeper ZOOKEEPER_CONFIGURE_ENABLE= zookeeper # NOTE: Plugins without external dependencies CONFIGURE_ARGS+= --enable-aggregation \ --enable-apcups \ --enable-contextswitch \ --enable-cpu \ --enable-csv \ --enable-df \ --enable-dns \ --enable-email \ --enable-exec \ --enable-filecount \ --enable-interface \ --enable-ipstats \ --enable-load \ --enable-logfile \ --enable-logparser \ --enable-match_empty_counter \ --enable-match_hashed \ --enable-match_regex \ --enable-match_timediff \ --enable-match_value \ --enable-mbmon \ --enable-memcached \ --enable-memory \ --enable-network \ --enable-ntpd \ --enable-openvpn \ --enable-pf \ --enable-powerdns \ --enable-processes \ --enable-statsd \ --enable-swap \ --enable-syslog \ --enable-table \ --enable-tail \ --enable-tail_csv \ --enable-target_notification \ --enable-target_replace \ --enable-target_scale \ --enable-target_set \ --enable-target_v5upgrade \ --enable-tcpconns \ --enable-teamspeak2 \ --enable-ted \ --enable-threshold \ --enable-unixsock \ --enable-uptime \ --enable-users \ --enable-uuid \ --enable-write_graphite \ --enable-write_log \ --enable-zfs_arc INSTALL_TARGET= install-strip SHEBANG_FILES= contrib/collection.cgi post-patch: @${REINPLACE_CMD} \ -e 's;@prefix@/var/;/var/;' \ -e 's;/var/lib/;/var/db/;' \ -e 's;@localstatedir@/lib/;/var/db/;' \ ${WRKSRC}/src/collectd.conf.in \ ${WRKSRC}/src/collectd.conf.5 \ ${WRKSRC}/src/collectd.conf.pod @${REINPLACE_CMD} \ -e 's;/etc/collection\.conf;${WWWDIR}/collection.conf;' \ ${WRKSRC}/contrib/collection.cgi @${REINPLACE_CMD} \ -e 's;/opt/collectd/var/lib;/var/db;' \ -e 's;/opt/collectd/lib;${PREFIX}/lib;' \ ${WRKSRC}/contrib/collection.conf post-install: ${MKDIR} ${STAGEDIR}/var/db/collectd post-install-CGI-on: ${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL_SCRIPT} ${WRKSRC}/contrib/collection.cgi ${STAGEDIR}${WWWDIR}/ ${INSTALL_DATA} ${WRKSRC}/contrib/collection.conf \ ${STAGEDIR}${WWWDIR}/collection.conf.sample .include diff --git a/net-mgmt/etherape/Makefile b/net-mgmt/etherape/Makefile index c015e306e488..91b6f5ae7938 100644 --- a/net-mgmt/etherape/Makefile +++ b/net-mgmt/etherape/Makefile @@ -1,40 +1,40 @@ PORTNAME= etherape PORTVERSION= 0.9.20 PORTREVISION= 3 CATEGORIES= net-mgmt gnome MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Graphical network traffic monitor tool modeled after Etherman WWW= http://etherape.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ yelp-tools>=0:textproc/yelp-tools LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgoocanvas-2.0.so:graphics/goocanvas2 \ libpopt.so:devel/popt USES= gettext gmake gnome iconv localbase pathfix pkgconfig -USE_GNOME= atk cairo gdkpixbuf2 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf gtk30 pango GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share PORTDOCS= AUTHORS ChangeLog FAQ NEWS README README.bugs TODO OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|char \*argv)|char **argv)|' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|__EXPORT__|__EXPORT_H__|' ${WRKSRC}/src/export.h post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/net-mgmt/mbrowse/Makefile b/net-mgmt/mbrowse/Makefile index 33d125746458..4145da4ec588 100644 --- a/net-mgmt/mbrowse/Makefile +++ b/net-mgmt/mbrowse/Makefile @@ -1,25 +1,25 @@ PORTNAME= mbrowse PORTVERSION= 0.4.3 PORTREVISION= 3 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= SNMP MIB Browser for X WWW= https://sourceforge.net/projects/mbrowse/ LICENSE= GPLv2 LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gnome pkgconfig ssl -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-snmp-prefix=${PREFIX} --with-snmp-type=net PLIST_FILES= bin/mbrowse .include diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile index d4dd63c367ce..c8294b8d1489 100644 --- a/net-mgmt/wifimgr/Makefile +++ b/net-mgmt/wifimgr/Makefile @@ -1,32 +1,32 @@ PORTNAME= wifimgr DISTVERSION= 1.25 CATEGORIES= net-mgmt sysutils MASTER_SITES= https://opal.com/src/wifimgr/ MAINTAINER= fbsd@opal.com COMMENT= WiFi Networks Manager WWW= https://opal.com/src/wifimgr/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= desktop-file-utils gnome pkgconfig tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 +USE_GNOME= cairo gdkpixbuf USE_XORG= x11 OPTIONS_DEFINE= GTK2 NLS OPTIONS_SUB= yes GTK2_USE= GNOME=gtk20 GTK2_MAKE_ENV= GTK_VERSION=2 GTK2_USE_OFF= GNOME=gtk30 NLS_USES= gettext-runtime gettext-tools NLS_MAKE_ENV_OFF= WITHOUT_NLS=yes NLS_CFLAGS_OFF= -DWITHOUT_NLS .include diff --git a/net-p2p/transmission-components/Makefile b/net-p2p/transmission-components/Makefile index f5beda315500..790fe86855fe 100644 --- a/net-p2p/transmission-components/Makefile +++ b/net-p2p/transmission-components/Makefile @@ -1,204 +1,204 @@ PORTNAME= transmission DISTVERSION= 4.0.6 PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= mondo.debater_0q@icloud.com COMMENT= Transmission BitTorrent client WWW= https://www.transmissionbt.com LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float \ ${LOCALBASE}/include/fmt/format.h:devel/libfmt \ ${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson \ ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp LIB_DEPENDS= libb64.so:converters/libb64 \ libcurl.so:ftp/curl \ libdeflate.so:archivers/libdeflate \ libdht.so:devel/jech-dht \ libevent.so:devel/libevent \ libminiupnpc.so:net/miniupnpc \ libnatpmp.so:net/libnatpmp \ libpsl.so:dns/libpsl \ libutp.so:net-p2p/libutp FLAVORS= cli docs daemon gtk qt utils web FLAVOR?= ${FLAVORS:[1]} .for flavor in ${FLAVORS} ${flavor}_PKGNAMESUFFIX= -${flavor} .endfor DESCR= ${PKGDIR}/pkg-descr.${FLAVOR} .if ${FLAVOR} == docs NO_BUILD= yes LIB_DEPENDS= .endif gtk_LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator \ libharfbuzz.so:print/harfbuzz USES= cmake cpe iconv localbase pkgconfig ssl tar:xz CPE_VENDOR= transmissionbt CPE_PRODUCT= transmission EXTRACT_AFTER_ARGS= --exclude third-party/dht \ --exclude third-party/fast_float \ --exclude third-party/fmt \ --exclude third-party/libb64 \ --exclude third-party/libdeflate \ --exclude third-party/libevent \ --exclude third-party/libnatpmp \ --exclude third-party/libpsl \ --exclude third-party/libutp \ --exclude third-party/miniupnpc \ --exclude third-party/rapidjson \ --exclude third-party/utfcpp .if ${FLAVOR} == gtk USES+= desktop-file-utils gettext-runtime gettext-tools gnome -USE_GNOME= gdkpixbuf2 glibmm gtkmm30 +USE_GNOME= gdkpixbuf glibmm gtkmm30 .endif .if ${FLAVOR} == qt USES+= desktop-file-utils qmake:no_env qt:5 USE_QT= core dbus gui network svg widgets buildtools:build \ linguisttools:build .endif .if ${FLAVOR} == daemon USE_RC_SUBR= transmission .endif .if ${FLAVOR} == docs USES= cpe tar:xz .endif .if ${FLAVOR} == web USES= cpe tar:xz NO_ARCH= yes NO_BUILD= yes .endif CMAKE_ON= USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \ USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \ USE_SYSTEM_PSL USE_SYSTEM_UTP CMAKE_OFF= ENABLE_MAC REBUILD_WEB WITH_SYSTEMD .if ${FLAVOR:Ndocs} USERS= transmission GROUPS= transmission .endif PLIST= ${PKGDIR}/pkg-plist.${FLAVOR} .if ${FLAVOR} == cli CMAKE_ON+= ENABLE_CLI CMAKE_OFF+= ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == daemon CMAKE_ON+= ENABLE_DAEMON CMAKE_OFF+= ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == gtk CMAKE_ARGS+= -DUSE_GTK_VERSION=3 CMAKE_ON+= ENABLE_GTK GTK_IS_REQUIRED CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == qt CMAKE_ARGS+= -DUSE_QT_VERSION=5 CMAKE_ON+= ENABLE_QT QT_IS_REQUIRED CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == utils CMAKE_ON+= ENABLE_UTILS CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \ ENABLE_WERROR INSTALL_WEB .endif OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options .if ${FLAVOR:Mdocs} OPTIONS_DEFINE= .endif .if ${FLAVOR:Mweb} OPTIONS_DEFINE= .endif .if ${FLAVOR:Nweb} && ${FLAVOR:Ndocs} OPTIONS_DEFINE= NLS TESTS OPTIONS_DEFAULT= NLS .endif OPTIONS_SUB= yes daemon_DESC= Build daemon docs_DESC= Install documentation gtk_DESC= Build GTK+ client qt_DESC= Build QT client TESTS_DESC= Build & run unit tests utils_DESC= Build utilities (create, edit, remote, show) cli_DESC= Build command-line client (deprecated) web_DESC= Install web interface NLS_USES= gettext-runtime:lib NLS_CMAKE_BOOL= ENABLE_NLS TESTS_CMAKE_BOOL= ENABLE_TESTS UTILS_CMAKE_BOOL= ENABLE_UTILS WEB_CMAKE_BOOL= INSTALL_WEB .if ${FLAVOR} == docs pre-install: @${ECHO_MSG} "Removing outdated release notes" @${FIND} ${WRKSRC}/news \( -name 'news-[0-3]*' -o -name '*beta*' \) -delete do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} ; ${CP} AUTHORS ${STAGEDIR}${DOCSDIR} ;\ ${CP} COPYING ${STAGEDIR}${DOCSDIR} ;\ ${CP} README.md ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/docs ; ${CP} rpc-spec.md ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/extras ; ${CP} send-email-when-torrent-done.sh ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/news @cd ${WRKSRC}/news ; ${CP} -R . ${STAGEDIR}${DOCSDIR}/news .endif .if ${FLAVOR} == qt post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/transmission-qt.svg .endif .if ${FLAVOR} == daemon post-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/home .endif .if ${FLAVOR} == web do-install: ( cd ${WRKSRC}/web && ${COPYTREE_SHARE} public_html ${STAGEDIR}${DATADIR} ) .endif post-install-TESTS-on: @${ECHO_MSG} "Running tests..." @cd ${BUILD_WRKSRC}/tests/libtransmission/ && \ eval ${BUILD_WRKSRC}/tests/libtransmission/libtransmission-test \ --gtest_filter="-DhtTest.usesBootstrapFile" \ #fails in poudriere due to lack of networking, passes otherwise --gtest_brief=1 \ .include diff --git a/net/avahi-gtk/Makefile b/net/avahi-gtk/Makefile index 34973e75c8bf..52e09ed0c315 100644 --- a/net/avahi-gtk/Makefile +++ b/net/avahi-gtk/Makefile @@ -1,38 +1,38 @@ PORTREVISION= 2 # don't delete, reset to 0 CATEGORIES= net PKGNAMESUFFIX= -gtk MAINTAINER= gnome@FreeBSD.org COMMENT= Gtk+ tools and bindings to the Avahi mDNS system LIB_DEPENDS= libavahi-common.so:net/avahi-app \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgdbm.so:databases/gdbm \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= avahi-header>=0.6:net/avahi-header MASTERDIR= ${.CURDIR}/../avahi-app BUILD_WRKSRC= ${WRKSRC}/avahi-ui INSTALL_WRKSRC= ${BUILD_WRKSRC} DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist AVAHI_SLAVE= gtk AVAHI_PKGCONFIG=avahi-ui.pc -USE_GNOME+= atk cairo gdkpixbuf2 gtk20 pango +USE_GNOME+= atk cairo gdkpixbuf gtk20 pango do-build: @${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-common @${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-client @${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-glib @${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-ui libavahi-ui.la do-install: @(cd ${WRKSRC}/avahi-ui; ${MAKE_CMD} ${MAKE_ARGS} install-libLTLIBRARIES) post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavahi-ui.so.0 .include "${MASTERDIR}/Makefile" diff --git a/net/avahi-gtk3/Makefile b/net/avahi-gtk3/Makefile index 216d07386218..fa245c2cbfe5 100644 --- a/net/avahi-gtk3/Makefile +++ b/net/avahi-gtk3/Makefile @@ -1,39 +1,39 @@ PORTREVISION= 2 # don't delete, reset to 0 CATEGORIES= net PKGNAMESUFFIX= -gtk3 MAINTAINER= gnome@FreeBSD.org COMMENT= Gtk+ 3 library to the Avahi mDNS system LIB_DEPENDS= libavahi-common.so:net/avahi-app \ libgdbm.so:databases/gdbm \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= avahi-header>=0.8:net/avahi-header MASTERDIR= ${.CURDIR}/../avahi-app BUILD_WRKSRC= ${WRKSRC}/avahi-ui INSTALL_WRKSRC= ${BUILD_WRKSRC} DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist AVAHI_SLAVE= gtk3 AVAHI_PKGCONFIG=avahi-ui-gtk3.pc -USE_GNOME+= cairo gdkpixbuf2 gtk30 +USE_GNOME+= cairo gdkpixbuf gtk30 do-build: ${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-common ${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-client ${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-glib ${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-ui libavahi-ui-gtk3.la ${DO_MAKE_BUILD} -C ${WRKSRC}/avahi-discover-standalone do-install: @(cd ${WRKSRC}/avahi-discover-standalone; ${MAKE_CMD} ${MAKE_ARGS} install-binPROGRAMS install-interfacesDATA) # @(cd ${WRKSRC}/avahi-ui; ${MAKE_CMD} ${MAKE_ARGS} install-libLTLIBRARIES) @(cd ${WRKSRC}/avahi-ui; ${MAKE_CMD} ${MAKE_ARGS} install-binPROGRAMS install-desktopDATA install-exec-local) post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavahi-ui-gtk3.so .include "${MASTERDIR}/Makefile" diff --git a/net/boinc-client/Makefile b/net/boinc-client/Makefile index e233eb047531..f3a34674691b 100644 --- a/net/boinc-client/Makefile +++ b/net/boinc-client/Makefile @@ -1,174 +1,174 @@ PORTNAME= boinc-client DISTVERSIONPREFIX= client_release/8.0/ DISTVERSION= 8.0.2 PORTREVISION= 2 CATEGORIES= net MAINTAINER= alster@vinterdalen.se COMMENT= Berkeley Open Infrastructure for Network Computing client WWW= https://boinc.berkeley.edu/ \ https://github.com/BOINC/boinc/ LICENSE= LGPL3 USES= autoreconf compiler:c++11-lang gmake libtool pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= BOINC GH_PROJECT= boinc USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-server CONFIGURE_ENV= OBJCXX="${CXX}" INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo SUB_FILES= pkg-deinstall pkg-install SUB_LIST= BOINC_CLIENT_GROUP="${BOINC_CLIENT_GROUP}" \ BOINC_CLIENT_HOME="${BOINC_CLIENT_HOME}" \ BOINC_CLIENT_USER="${BOINC_CLIENT_USER}" \ LOCALBASE="${LOCALBASE}" \ PREFIX="${PREFIX}" USERS= boinc GROUPS= boinc OPTIONS_DEFINE= CLIENT MANAGER NLS SKINS USER X11 OPTIONS_DEFINE_aarch64= LINUX OPTIONS_DEFINE_amd64= LINUX OPTIONS_DEFINE_i386= LINUX OPTIONS_DEFAULT= CLIENT MANAGER USER X11 OPTIONS_GROUP= SCRIPT OPTIONS_GROUP_SCRIPT= NO_GUI_RPC NO_NET_INFO OPTIONS_SUB= yes CLIENT_DESC= BOINC Build client LINUX_DESC= Accept science applications for GNU/Linux MANAGER_DESC= BOINC Build GUI manager NLS_DESC= Install language translations for use in the GUI NO_GUI_RPC_DESC= (breaks and boinc_curses) Disable GUI RPC socket NO_NET_INFO_DESC= address and Do host name not send servers to SCRIPT_DESC= Command in line options script SKINS_DESC= BOINC for Install manager more skins USER_DESC= and BOINC client Create/check directory user X11_DESC= API Build graphics CLIENT_LIB_DEPENDS= libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 CLIENT_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss CLIENT_USE= RC_SUBR=boinc-client CLIENT_CONFIGURE_ENABLE= client LINUX_USES= linux LINUX_CONFIGURE_ON= ${LINUX_CONFIGURE_ON_${ARCH}} # https://boinc.berkeley.edu/trac/wiki/BoincPlatforms LINUX_CONFIGURE_ON_aarch64= --with-boinc-alt-platform=aarch64-unknown-linux-gnu LINUX_CONFIGURE_ON_amd64= --with-boinc-alt-platform=x86_64-pc-linux-gnu LINUX_CONFIGURE_ON_i386= --with-boinc-alt-platform=i686-pc-linux-gnu MANAGER_LIB_DEPENDS= libnotify.so:devel/libnotify \ libxcb-util.so:x11/xcb-util \ libfreetype.so:print/freetype2 \ libxkbcommon.so:x11/libxkbcommon MANAGER_USES= desktop-file-utils gnome iconv xorg -MANAGER_USE= GNOME=atk,cairo,gdkpixbuf2,glib20,gtk30,pango \ +MANAGER_USE= GNOME=atk,cairo,gdkpixbuf,glib20,gtk30,pango \ WX=3.2+ XORG=x11,xcb,xext,xscrnsaver MANAGER_CONFIGURE_ENABLE= manager MANAGER_CONFIGURE_WITH= wx-config NLS_USES= gettext-tools X11_USES= desktop-file-utils gl jpeg xorg X11_USE= GL=glut XORG=x11,xi,xmu,xscrnsaver X11_CONFIGURE_OFF= ax_cv_check_glut_libglut=no X11_CONFIGURE_WITH= x BOINC_CLIENT_GROUP?= boinc BOINC_CLIENT_HOME?= /var/db/boinc BOINC_CLIENT_USER?= boinc .include .if ${PORT_OPTIONS:MMANAGER} WX_CONF_ARGS= absolute SUB_LIST+= OPTION_MANAGER="true" .else SUB_LIST+= OPTION_MANAGER="" .endif .if ${PORT_OPTIONS:MCLIENT} SUB_LIST+= OPTION_NO_GUI_RPC=${PORT_OPTIONS:MNO_GUI_RPC:S/^NO_GUI_RPC$/--no_gui_rpc/} \ OPTION_NO_NET_INFO=${PORT_OPTIONS:MNO_NET_INFO:S/^NO_NET_INFO$/--suppress_net_info/} .endif .if ${PORT_OPTIONS:MUSER} SUB_LIST+= OPTION_USER="true" .else SUB_LIST+= OPTION_USER="" .endif post-patch: @${REINPLACE_CMD} -e 's|client/scripts||' \ ${WRKSRC}/Makefile.am # avoid build conflict with archivers/libzip @${MV} ${WRKSRC}/zip/unzip/zip.h \ ${WRKSRC}/zip/unzip/boinczip.h @${MV} ${WRKSRC}/zip/zip/zip.h \ ${WRKSRC}/zip/zip/boinczip.h @${REINPLACE_CMD} -e 's|zip/zip.h|zip/boinczip.h|' \ ${WRKSRC}/zip/boinc_zip.cpp @${REINPLACE_CMD} -e 's|"zip.h"|"boinczip.h"|' \ ${WRKSRC}/zip/unzip/crc32.c \ ${WRKSRC}/zip/unzip/ttyio.c \ ${WRKSRC}/zip/zip/deflate.c \ ${WRKSRC}/zip/zip/trees.c \ ${WRKSRC}/zip/zip/unix/z_unix.c \ ${WRKSRC}/zip/zip/util.c \ ${WRKSRC}/zip/zip/z_fileio.c \ ${WRKSRC}/zip/zip/z_globals.c \ ${WRKSRC}/zip/zip/zip.c \ ${WRKSRC}/zip/zip/zipfile.c \ ${WRKSRC}/zip/zip/zipup.c post-patch-X11-off: @${REINPLACE_CMD} -e 's|enable_xss="yes"|enable_xss="no"|' \ ${WRKSRC}/configure.ac post-install: .for name in config.h project_specific_defines.h api/reduce.h lib/keyword.h \ lib/opencl_boinc.h lib/shmem.h lib/std_fixes.h lib/str_replace.h ${INSTALL_DATA} ${WRKSRC}/${name} \ ${STAGEDIR}${PREFIX}/include/boinc .endfor post-install-MANAGER-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/boinc .for name in 16 32 48 ${INSTALL_DATA} ${WRKSRC}/packages/generic/sea/boincmgr.${name}x${name}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps .endfor .if ${PORT_OPTIONS:MSKINS} (cd ${WRKSRC}/clientgui && \ ${COPYTREE_SHARE} skins ${STAGEDIR}${PREFIX}/share/boinc/ \ ) .else ${MKDIR} ${STAGEDIR}${PREFIX}/share/boinc/skins (cd ${WRKSRC}/clientgui/skins && \ ${COPYTREE_SHARE} Default ${STAGEDIR}${PREFIX}/share/boinc/skins/ \ ) .endif post-install-X11-on: .for name in api/boinc_gl.h api/graphics_api.h api/graphics_data.h api/ttfont.h ${INSTALL_DATA} ${WRKSRC}/${name} \ ${STAGEDIR}${PREFIX}/include/boinc .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/share/boinc/ttf (cd ${WRKSRC}/api/ttf/liberation-fonts-ttf-2.00.0 && \ ${COPYTREE_SHARE} \*.ttf ${STAGEDIR}${PREFIX}/share/boinc/ttf/ \ ) .include diff --git a/net/dhcpcd-ui/Makefile b/net/dhcpcd-ui/Makefile index a71915181f2a..952897678d8e 100644 --- a/net/dhcpcd-ui/Makefile +++ b/net/dhcpcd-ui/Makefile @@ -1,38 +1,38 @@ PORTNAME= dhcpcd-ui DISTVERSIONPREFIX= v DISTVERSION= 0.7.9 PORTREVISION= 1 CATEGORIES= net MAINTAINER= driesm@FreeBSD.org COMMENT= GTK / Curses interface to dhcpcd WWW= https://roy.marples.name/projects/dhcpcd-ui LICENSE= BSD2CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairosvg>=0:graphics/py-cairosvg@${PY_FLAVOR} LIB_DEPENDS= libnotify.so:devel/libnotify USES= pkgconfig python USE_GITHUB= yes GH_ACCOUNT= NetworkConfiguration GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-notification \ --mandir=${PREFIX}/share/man \ --with-dhcpcd-online \ --with-icons OPTIONS_DEFINE= GTK3 OPTIONS_DEFAULT= GTK3 OPTIONS_SUB= yes GTK3_USES= gnome -GTK3_USE= gnome=gdkpixbuf2,gtk30 +GTK3_USE= gnome=gdkpixbuf,gtk30 GTK3_CONFIGURE_WITH= gtk post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dhcpcd-curses ${STAGEDIR}${PREFIX}/bin/dhcpcd-online .include diff --git a/net/freerdp3/Makefile b/net/freerdp3/Makefile index 7381e5c9d41b..4ede7550c106 100644 --- a/net/freerdp3/Makefile +++ b/net/freerdp3/Makefile @@ -1,271 +1,271 @@ PORTNAME= freerdp DISTVERSION= 3.14.0 CATEGORIES= net comms MASTER_SITES= https://pub.freerdp.com/releases/ \ https://github.com/FreeRDP/FreeRDP/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= 3 MAINTAINER= vvd@FreeBSD.org COMMENT= Free implementation of Remote Desktop Protocol WWW= https://www.freerdp.com/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim USES= alias cmake compiler:c++11-lib cpe desktop-file-utils \ localbase:ldflags pathfix pkgconfig ssl xorg BROKEN_SSL= libressl-devel BROKEN_SSL_REASON_libressl-devel= fails to compile: no member named 'alert_dispatch' in 'struct ssl3_state_st' USE_LDCONFIG= yes USE_XORG= ice sm x11 xext CMAKE_ON= CHANNEL_SERIAL CHANNEL_URBDRC_CLIENT RDTK_FORCE_STATIC_BUILD \ UWAC_FORCE_STATIC_BUILD WITH_BINARY_VERSIONING WITH_CHANNELS \ WITH_CLIENT_SDL_VERSIONED WITH_FREERDP_DEPRECATED \ WITH_FREERDP_DEPRECATED_COMMANDLINE \ WITH_INSTALL_CLIENT_DESKTOP_FILES WITH_OPENSSL WITH_OSS \ WITH_WINPR_DEPRECATED WITH_ZLIB CMAKE_OFF= CHANNEL_TSMF WITH_DSP_EXPERIMENTAL WITH_FUSE WITH_GPROF \ WITH_GSTREAMER_0_10 WITH_GSTREAMER_1_0 WITH_IPP WITH_LIBSYSTEMD \ WITH_MBEDTLS WITH_OPENCL WITH_OPENSLES WITH_PROFILER WITH_SAMPLE \ WITH_SANITIZE_ADDRESS WITH_SANITIZE_MEMORY WITH_SANITIZE_THREAD \ WITH_SERVER WITH_SERVER_CHANNELS WITH_SERVER_INTERFACE \ WITH_SMARTCARD_INSPECT WITH_THIRD_PARTY WITH_VALGRIND_MEMCHECK PLIST_SUB+= PATCHVERSION="${DISTVERSION}" PLIST_SUB+= MAJORVERSION="${DISTVERSION:R:R}" OPTIONS_DEFINE= ALSA BROKENFOCUS CUPS FAAC FAAD FDKAAC FFMPEG \ GSM ICU JPEG LAME MANPAGES OPENH264 OPUS PCSC \ PKCS11 PULSEAUDIO RDPECAM SDL2 SDL3 SOXR \ URIPARSER WAYLAND X11 OPTIONS_DEFINE_aarch64= SIMD OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFINE_armv7= SIMD OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFAULT= AAD CUPS FFMPEG GSSAPI_HEIMDAL ICU JSON_C \ KEYBOARD_LAYOUT MANPAGES RDPECAM SDL2 SDL3 \ SWSCALE TIMEZONE_FILE WAYLAND WEBKIT X11 OPTIONS_DEFAULT_aarch64= SIMD OPTIONS_DEFAULT_amd64= SIMD OPTIONS_DEFAULT_armv7= SIMD OPTIONS_GROUP= CLIPBOARD_IMAGE REQUIRE_JSON OPTIONS_GROUP_CLIPBOARD_IMAGE= JPEG_CB PNG WEBP OPTIONS_GROUP_REQUIRE_JSON= AAD KEYBOARD_LAYOUT TIMEZONE_FILE OPTIONS_RADIO= GSSAPI JSON SCALE WEBVIEW OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_RADIO_JSON= CJSON JSON_C OPTIONS_RADIO_SCALE= CAIRO SWSCALE OPTIONS_RADIO_WEBVIEW= WEBENGINE WEBKIT OPTIONS_SUB= yes AAD_DESC= Compile with support for Azure AD authentication (require SDL) BROKENFOCUS_DESC= Work around focus bug in some WMs (PR \#254908) CAIRO_DESC= Use CAIRO image library for screen resizing CJSON_DESC= ${JSON_DESC} via cJSON CLIPBOARD_IMAGE_DESC= Add "to/from" BMP conversion support to clipboard (experimental) FDKAAC_DESC= Support for FDK-AAC for sound and microphone redirection JPEG_CB_DESC= ${JPEG_DESC} KEYBOARD_LAYOUT_DESC= Use keyboard definitions from JSON file OPENH264_DESC= H.264 video codec support via OpenH264 PCSC_DESC= Smart card support (smart card device redirection) PKCS11_DESC= Use security/pkcs11-helper RDPECAM_DESC= RDP webcam redirection (require FFMPEG and SWSCALE) REQUIRE_JSON_DESC= Options that require JSON SDL2_DESC= Build FreeRDP SDL 2 client SDL3_DESC= Build FreeRDP SDL 3 client SWSCALE_DESC= Use SWScale image library for screen resizing (recommended) TIMEZONE_FILE_DESC= Support timezones as JSON resources (if OFF, compiled in is used) URIPARSER_DESC= Use uriparser RFC 3986 URI parsing library to handle URIs WAYLAND_DESC= Build FreeRDP Wayland client WEBVIEW_DESC= Build with WebView support for AAD login popup browser X11_DESC= Build FreeRDP X11 client AAD_IMPLIES= SDL3 AAD_CMAKE_BOOL= WITH_AAD ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= WITH_ALSA BROKENFOCUS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-focusbug.diff CAIRO_USES= gnome CAIRO_USE= gnome=cairo CAIRO_CMAKE_BOOL= WITH_CAIRO CJSON_LIB_DEPENDS= libcjson.so:devel/libcjson \ libcjson_utils.so:devel/libcjson CJSON_CMAKE_BOOL= WITH_CJSON_REQUIRED CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CMAKE_BOOL= WITH_CUPS FAAC_LIB_DEPENDS= libfaac.so:audio/faac FAAC_CMAKE_BOOL= WITH_FAAC FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CMAKE_BOOL= WITH_FAAD2 FDKAAC_LIB_DEPENDS= libfdk-aac.so:audio/fdk-aac FDKAAC_CMAKE_BOOL= WITH_FDK_AAC FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG WITH_DSP_FFMPEG GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CMAKE_BOOL= WITH_GSM GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit ICU_LIB_DEPENDS= libicuuc.so:devel/icu ICU_CMAKE_ON= -DWITH_UNICODE_BUILTIN=OFF ICU_CMAKE_OFF= -DWITH_UNICODE_BUILTIN=ON JPEG_USES= jpeg JPEG_CMAKE_BOOL= WITH_JPEG JPEG_CB_USES= jpeg JPEG_CB_CMAKE_BOOL= WINPR_UTILS_IMAGE_JPEG JSON_C_LIB_DEPENDS= libjson-c.so:devel/json-c JSON_C_CMAKE_BOOL= WITH_JSONC_REQUIRED KEYBOARD_LAYOUT_CMAKE_BOOL= WITH_KEYBOARD_LAYOUT_FROM_FILE LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CMAKE_BOOL= WITH_LAME MANPAGES_CMAKE_BOOL= WITH_MANPAGES OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CMAKE_BOOL= WITH_OPENH264 OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CMAKE_BOOL= WITH_OPUS # LoadLibraryA("libpcsclite.so") PCSC_RUN_DEPENDS= ${LOCALBASE}/lib/libpcsclite.so:devel/pcsc-lite PCSC_CMAKE_BOOL= WITH_PCSC PKCS11_BUILD_DEPENDS= ${LOCALBASE}/include/pkcs11-helper-1.0/pkcs11.h:security/pkcs11-helper PKCS11_CMAKE_BOOL= WITH_PKCS11 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL= WINPR_UTILS_IMAGE_PNG PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSE RDPECAM_IMPLIES= FFMPEG SWSCALE RDPECAM_BUILD_DEPENDS= ${LOCALBASE}/include/linux/uvcvideo.h:multimedia/v4l_compat \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat RDPECAM_LIB_DEPENDS= libv4l2.so:multimedia/libv4l \ libv4lconvert.so:multimedia/libv4l RDPECAM_CMAKE_BOOL= CHANNEL_RDPECAM_CLIENT SDL2_USES= sdl SDL2_USE= sdl=sdl2,ttf2,image2 SDL2_CMAKE_BOOL= WITH_CLIENT_SDL2 WITH_SDL_IMAGE_DIALOGS SDL3_USES= sdl SDL3_USE= sdl=sdl3,ttf3,image3 SDL3_CMAKE_BOOL= WITH_CLIENT_SDL3 WITH_SDL_IMAGE_DIALOGS SIMD_CMAKE_BOOL= WITH_SIMD SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CMAKE_BOOL= WITH_SOXR SWSCALE_LIB_DEPENDS= libswscale.so:multimedia/ffmpeg SWSCALE_CMAKE_BOOL= WITH_SWSCALE TIMEZONE_FILE_CMAKE_BOOL= WITH_TIMEZONE_FROM_FILE TIMEZONE_FILE_CMAKE_ON= -DWITH_TIMEZONE_COMPILED=OFF TIMEZONE_FILE_CMAKE_OFF= -DWITH_TIMEZONE_COMPILED=ON URIPARSER_LIB_DEPENDS= liburiparser.so:net/uriparser URIPARSER_CMAKE_BOOL= WITH_URIPARSER WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ wayland-scanner:graphics/wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= wayland-scanner:graphics/wayland WAYLAND_CMAKE_BOOL= WITH_WAYLAND _WEBENGINE_USES= qt:5 WEBENGINE_USE_QT= core declarative gui location network printsupport \ webchannel webengine widgets buildtools:build qmake:build WEBENGINE_CMAKE_BOOL= WITH_WEBVIEW_QT WEBENGINE_CMAKE_ON= -DWITH_WEBVIEW:BOOL=ON _WEBKIT_LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 \ libharfbuzz.so:print/harfbuzz \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41 _WEBKIT_USES= gettext gnome -WEBKIT_USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +WEBKIT_USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango WEBKIT_CMAKE_ON= -DWITH_WEBVIEW:BOOL=ON WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= WINPR_UTILS_IMAGE_WEBP X11_USE= xorg=xcursor,xfixes,xi,xinerama,xkbfile,xorgproto,xrandr,xrender,xv X11_CMAKE_ON= -DWITH_X11:BOOL=ON -DWITH_XCURSOR:BOOL=ON \ -DWITH_XEXT:BOOL=ON -DWITH_XFIXES:BOOL=ON \ -DWITH_XI:BOOL=ON -DWITH_XINERAMA:BOOL=ON \ -DWITH_XKBFILE:BOOL=ON -DWITH_XRANDR:BOOL=ON \ -DWITH_XRENDER:BOOL=ON -DWITH_XSHM:BOOL=ON \ -DWITH_XV:BOOL=ON X11_CMAKE_OFF= -DWITH_X11:BOOL=OFF -DWITH_XKBFILE:BOOL=OFF .include .if ${PORT_OPTIONS:MAAD} . if ${PORT_OPTIONS:MWEBENGINE} USES+= ${_WEBENGINE_USES} USE_QT+= ${WEBENGINE_USE_QT} . elif ${PORT_OPTIONS:MWEBKIT} LIB_DEPENDS+= ${_WEBKIT_LIB_DEPENDS} USES+= ${_WEBKIT_USES} USE_GNOME+= ${WEBKIT_USE_GNOME} . else CMAKE_OFF+= WITH_WEBVIEW . endif .else CMAKE_OFF+= WITH_WEBVIEW .endif .if ${PORT_OPTIONS:MGSSAPI_HEIMDAL} || ${PORT_OPTIONS:MGSSAPI_MIT} CMAKE_ON+= WITH_KRB5 .else CMAKE_OFF+= WITH_KRB5 .endif .if ${PORT_OPTIONS:MCJSON} || ${PORT_OPTIONS:MJSON_C} CMAKE_ON+= WITH_WINPR_JSON CMAKE_OFF+= WITH_JSON_DISABLED PLIST_SUB+= JSON="" .else CMAKE_ON+= WITH_JSON_DISABLED CMAKE_OFF+= WITH_AAD WITH_WINPR_JSON PLIST_SUB+= JSON="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|gsm/gsm.h|gsm.h|' \ ${WRKSRC}/cmake/FindGSM.cmake \ ${WRKSRC}/libfreerdp/codec/dsp.c pre-configure: ${CP} ${FILESDIR}/mntent.h ${WRKSRC}/winpr/include ${CP} ${FILESDIR}/mntent_compat.c ${WRKSRC}/channels/rdpdr/client .include diff --git a/net/grilo/Makefile b/net/grilo/Makefile index c6463c22fc7d..f41f7bbf91ea 100644 --- a/net/grilo/Makefile +++ b/net/grilo/Makefile @@ -1,35 +1,35 @@ PORTNAME= grilo PORTVERSION= 0.3.16 CATEGORIES= net MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Framework focused on making media discovery and browsing WWW= https://wiki.gnome.org/Grilo LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 \ liboauth.so:net/liboauth \ libtotem-plparser.so:multimedia/totem-pl-parser USES= cpe gettext gnome localbase meson pathfix pkgconfig \ python:build tar:xz vala:build CPE_VENDOR= gnome USE_LDCONFIG= yes USE_GNOME= glib20 introspection:build libxml2 BINARY_ALIAS= python=${PYTHON_VERSION} MESON_ARGS= -Denable-gtk-doc=false -Dsoup3=true OPTIONS_SUB= yes OPTIONS_DEFINE= UI UI_DESC= Enable testing UI UI_MESON_TRUE= enable-test-ui -UI_USE= GNOME=gdkpixbuf2,gtk30 +UI_USE= GNOME=gdkpixbuf,gtk30 PLIST_SUB+= LIBVER=316 .include diff --git a/net/grsync/Makefile b/net/grsync/Makefile index 0328867b63f6..07bcdc771bf0 100644 --- a/net/grsync/Makefile +++ b/net/grsync/Makefile @@ -1,36 +1,36 @@ PORTNAME= grsync PORTVERSION= 1.3.1 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.opbyte.it/release/ \ LOCAL/martymac MAINTAINER= martymac@FreeBSD.org COMMENT= GTK frontend for rsync WWW= https://www.opbyte.it/grsync LICENSE= GPLv2 RUN_DEPENDS= rsync:net/rsync \ bash:shells/bash LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= desktop-file-utils gettext gmake gnome \ pkgconfig shared-mime-info shebangfix -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --disable-unity CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SHEBANG_FILES= src/grsync-batch OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls .include diff --git a/net/gtk-vnc/Makefile b/net/gtk-vnc/Makefile index 923581a94ca7..6dee94b7305f 100644 --- a/net/gtk-vnc/Makefile +++ b/net/gtk-vnc/Makefile @@ -1,35 +1,35 @@ PORTNAME= gtk-vnc PORTVERSION= 1.3.1 PORTREVISION= 6 CATEGORIES= net gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= VNC viewer widget for GTK WWW= http://live.gnome.org/gtk-vnc LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libgnutls.so:security/gnutls \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libsasl2.so:security/cyrus-sasl2 USES= gettext gnome localbase meson perl5 pkgconfig python \ tar:xz vala:build xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build USE_XORG= x11 USE_LDCONFIG= yes OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_DESC= use PulseAudio for audio playback PULSEAUDIO_MESON_ENABLED= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio BINARY_ALIAS= python3=${PYTHON_VERSION} .include diff --git a/net/libdmapsharing/Makefile b/net/libdmapsharing/Makefile index f1ffb937fa9f..c5bab7a3c7fd 100644 --- a/net/libdmapsharing/Makefile +++ b/net/libdmapsharing/Makefile @@ -1,44 +1,44 @@ PORTNAME= libdmapsharing PORTVERSION= 3.9.13 CATEGORIES= net gnome MASTER_SITES= https://www.flyn.org/projects/libdmapsharing/ DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME music playing application WWW= https://www.flyn.org/projects/libdmapsharing LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 \ libgee-0.8.so:devel/libgee USES= gettext gnome gmake gstreamer libtool pathfix pkgconfig vala:build -USE_GNOME= gdkpixbuf2 gnomeprefix gtk30 introspection +USE_GNOME= gdkpixbuf gnomeprefix gtk30 introspection USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-tests OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= MDNS OPTIONS_SINGLE_MDNS= AVAHI MDNSRESPONDER OPTIONS_DEFAULT= AVAHI OPTIONS_SUB= yes AVAHI_LIB_DEPENDS= libavahi-core.so:net/avahi-app AVAHI_CONFIGURE_ON= --with-mdns=avahi DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc MDNSRESPONDER_BROKEN= undefined references to mDNSResponder symbols MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder MDNSRESPONDER_CONFIGURE_ON= --with-mdns=mdns_sd .include .ifdef WITH_DEBUG CONFIGURE_ARGS+= --enable-debug .endif .include diff --git a/net/liferea/Makefile b/net/liferea/Makefile index 98d17a97b9d0..3112e6202496 100644 --- a/net/liferea/Makefile +++ b/net/liferea/Makefile @@ -1,45 +1,45 @@ PORTNAME= liferea DISTVERSION= 1.14.6 CATEGORIES= net gnome MASTER_SITES= https://github.com/lwindolf/liferea/releases/download/v${DISTVERSION}/ MAINTAINER= kwm@FreeBSD.org COMMENT= Simple RSS/RDF feed reader WWW= https://lzone.de/liferea/ LICENSE= GPLv2 LGPL3 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas LIB_DEPENDS= libfribidi.so:converters/fribidi \ libharfbuzz.so:print/harfbuzz \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \ libpeas-1.0.so:devel/libpeas \ libjson-glib-1.0.so:devel/json-glib RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} USES= compiler:c++11-lang cpe desktop-file-utils gettext \ gmake gnome libtool localbase \ pathfix pkgconfig python sqlite tar:bzip2 -USE_GNOME= cairo dconf:run gtk30 gdkpixbuf2 intltool introspection \ +USE_GNOME= cairo dconf:run gtk30 gdkpixbuf intltool introspection \ libxslt libxml2 GLIB_SCHEMAS= net.sf.liferea.gschema.xml GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-introspection # Introspection starts the program, but it may hang or crash-abort # without an X server because the Webkit compositor tries to initialize # a graphics backend MAKE_ENV+= WEBKIT_DISABLE_COMPOSITING_MODE=1 INSTALL_TARGET= install-strip EXTRA_PATCHES= ${FILESDIR}/extra-patch-libxml:-p1 .include diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile index 3238898a61fb..17ef79e81aac 100644 --- a/net/onedrive/Makefile +++ b/net/onedrive/Makefile @@ -1,46 +1,46 @@ PORTNAME= onedrive DISTVERSIONPREFIX= v DISTVERSION= 2.5.4 CATEGORIES= net MAINTAINER= hiroo.ono+freebsd@gmail.com COMMENT= OneDrive Free client WWW= https://github.com/abraunegg/onedrive LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ldc2:lang/ldc LIB_DEPENDS= libcurl.so:ftp/curl \ libinotify.so:devel/libinotify RUN_DEPENDS= ${LOCALBASE}/sbin/logrotate:sysutils/logrotate USES= autoreconf gmake pkgconfig sqlite USE_GITHUB= yes GH_ACCOUNT= abraunegg GNU_CONFIGURE= yes PORTDOCS= * OPTIONS_DEFINE= DOCS NOTIFY COMPLETION OPTIONS_DEFAULT= NOTIFY COMPLETION OPTIONS_SUB= yes COMPLETION_DESC= Install completion for BASH, FISH and ZSH COMPLETION_BUILD_DEPENDS= bash-completion>0:shells/bash-completion COMPLETION_RUN_DEPENDS= bash-completion>0:shells/bash-completion COMPLETION_CONFIGURE_ENABLE= completions NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_USES= gnome -NOTIFY_USE= GNOME=glib20,gdkpixbuf2 +NOTIFY_USE= GNOME=glib20,gdkpixbuf NOTIFY_CONFIGURE_ENABLE= notifications ONEDRIVE_LOGDIR= /var/log/${PORTNAME} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/onedrive ${INSTALL} -d -m 0775 ${STAGEDIR}${ONEDRIVE_LOGDIR} .include diff --git a/net/remmina/Makefile b/net/remmina/Makefile index a83f64751655..d0a258094c25 100644 --- a/net/remmina/Makefile +++ b/net/remmina/Makefile @@ -1,154 +1,154 @@ PORTNAME= remmina DISTVERSION= 1.4.39 PORTREVISION= 1 CATEGORIES= net gnome MAINTAINER= fernape@FreeBSD.org COMMENT= GTK Remote Desktop Client WWW= https://www.remmina.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libappindicator3.so:devel/libappindicator \ libcurl.so:ftp/curl \ libjson-glib-1.0.so:devel/json-glib \ libsodium.so:security/libsodium \ libwayland-client.so:graphics/wayland FLAVORS= default 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 shebangfix ssl xorg USE_GITLAB= yes GL_ACCOUNT= Remmina GL_PROJECT= Remmina GL_TAGNAME= 2a455eadd6462457d08c2d066c5c245e0dee3bf9 -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 pango USE_XORG= ice sm x11 xext SHEBANG_FILES= data/desktop/remmina-file-wrapper.in bash_CMD= ${SH} CMAKE_OFF= WITH_APPINDICATOR CONFLICTS_INSTALL= remmina-plugin* OPTIONS_DEFINE= AVAHI CUPS GCRYPT NLS PYTHON SSH TERM OPTIONS_DEFAULT= AVAHI CUPS GCRYPT NLS SSH TERM \ EXEC PULSEAUDIO RDP SECRET SPICE VNC WWW BASH OPTIONS_GROUP= PLUGINS OPTIONS_GROUP_PLUGINS= EXEC GVNC KWALLET PULSEAUDIO RDP SECRET SPICE VNC WWW OPTIONS_SINGLE= SHELL OPTIONS_SINGLE_SHELL= BASH ZSH OPTIONS_SUB= yes .if ${FLAVOR:U} == lite OPTIONS_EXCLUDE= AVAHI CUPS KWALLET PYTHON SECRET SPICE SSH TERM WWW COMMENT+= (lite flavor) .endif AVAHI_DESC= Build with Avahi support BASH_DESC= Use BASH for shell wrapper scripts EXEC_DESC= Plugin to execute a command GCRYPT_DESC= Build with libgcrypt support for password encryption GVNC_DESC= Build with Gnome VNC support PULSEAUDIO_DESC= PulseAudio sound support for GVNC: require net/gtk-vnc build with PULSEAUDIO PYTHON_DESC= Build with support for Python plugins RDP_DESC= Remote Desktop Protocol plugin SECRET_DESC= GNOME Keyring plugin SHELL_DESC= Shell Scripts SPICE_DESC= Spice protocol plugin SSH_DESC= Build with SSH tunneling support TERM_DESC= Build with terminal support VNC_DESC= VNC protocol plugin WWW_DESC= Plugin to open an authenticated web browser ZSH_DESC= Use ZSH for shell wrapper scripts AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libavahi-ui-gtk3.so:net/avahi-gtk3 AVAHI_CMAKE_BOOL= WITH_AVAHI BASH_RUN_DEPENDS= bash:shells/bash BASH_VARS= SH_BIN=${PREFIX}/bin/bash CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CMAKE_BOOL= WITH_CUPS GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CMAKE_BOOL= WITH_GCRYPT GVNC_LIB_DEPENDS= libgtk-vnc-2.0.so:net/gtk-vnc GVNC_CMAKE_BOOL= WITH_GVNC KWALLET_USES= kde:5 qt:5 KWALLET_USE= kde=wallet qt=buildtools:build,core,gui,qmake:build KWALLET_CMAKE_BOOL= WITH_KF5WALLET NLS_CMAKE_BOOL= WITH_TRANSLATIONS PULSEAUDIO_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-nopulse PYTHON_USES= python PYTHON_CMAKE_BOOL= WITH_PYTHONLIBS RDP_LIB_DEPENDS= libfreerdp-client2.so:net/freerdp \ libwinpr2.so.2:net/freerdp SECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret SECRET_RUN_DEPENDS= gnome-keyring:security/gnome-keyring SPICE_BUILD_DEPENDS= spice-protocol>=0.12.15:devel/spice-protocol 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_CMAKE_BOOL= WITH_LIBSSH SSH_LDFLAGS= -fstack-protector TERM_USE= gnome=vte3 TERM_CMAKE_BOOL= WITH_VTE VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_CMAKE_BOOL= WITH_LIBVNCSERVER WWW_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 WWW_CMAKE_BOOL= WITH_WEBKIT2GTK WWW_CMAKE_ON= -DLIBSOUP_LIBRARY=${LOCALBASE}/lib/libsoup-2.4.so ZSH_RUN_DEPENDS= zsh:shells/zsh ZSH_VARS= SH_BIN=${PREFIX}/bin/zsh bash_CMD= ${SH_BIN} post-patch-GCRYPT-off: ${REINPLACE_CMD} -e '/find_suggested_package(GCRYPT)/d' ${WRKSRC}/CMakeLists.txt post-patch-RDP-off: ${REINPLACE_CMD} -e '/find_suggested_package(FREERDP)/d' ${WRKSRC}/plugins/CMakeLists.txt ${REINPLACE_CMD} -e '/add_subdirectory(rdp)/d' ${WRKSRC}/plugins/CMakeLists.txt post-patch-SECRET-off: ${REINPLACE_CMD} -e '/add_subdirectory(plugins\/secret)/d' ${WRKSRC}/CMakeLists.txt post-patch-SPICE-off: ${REINPLACE_CMD} -e '/find_suggested_package(SPICE)/d' ${WRKSRC}/plugins/CMakeLists.txt ${REINPLACE_CMD} -e '/add_subdirectory(spice)/d' ${WRKSRC}/plugins/CMakeLists.txt post-patch-SSH-off: ${REINPLACE_CMD} -e '/find_suggested_package(LIBSSH)/d' ${WRKSRC}/plugins/CMakeLists.txt post-patch-VNC-off: ${REINPLACE_CMD} -e' /find_suggested_package(LIBVNCSERVER)/d' ${WRKSRC}/plugins/CMakeLists.txt ${REINPLACE_CMD} -e '/add_subdirectory(vnc)/d' ${WRKSRC}/plugins/CMakeLists.txt post-patch-WWW-off: ${REINPLACE_CMD} -e '/add_subdirectory(www)/d' ${WRKSRC}/plugins/CMakeLists.txt .include diff --git a/net/unison/Makefile b/net/unison/Makefile index ce69ad10e9b2..c725bfbcbeb4 100644 --- a/net/unison/Makefile +++ b/net/unison/Makefile @@ -1,99 +1,99 @@ PORTNAME= unison PORTVERSION= 2.53.7 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= madpilot@FreeBSD.org COMMENT= User-level file synchronization tool WWW= https://www.cis.upenn.edu/~bcpierce/unison/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} nox11_PKGNAMESUFFIX= -nox11 nox11_CONFLICTS_INSTALL= unison x11_BUILD_DEPENDS= icotool:graphics/icoutils \ ocaml-lablgtk3>0:x11-toolkits/ocaml-lablgtk3 x11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz x11_CONFLICTS_INSTALL= unison-nox11 USES= gmake localbase ocaml:build USE_GITHUB= yes GH_ACCOUNT= bcpierce00 MAKE_ENV= CLIBS="${LIBS:S/^-/-ccopt -/}" \ COFLAGS="${CFLAGS:C/ *(-[^ ]*) */ -ccopt \"\1 \"/gW}" WRKSRC_SUBDIR= src PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DOCS FSMONITOR OPTIONS_DEFAULT?= FSMONITOR OPTIONS_SUB= YES FSMONITOR_DESC= Compile and install fsmonitor plugin DOCS_USES= tex DOCS_USE= TEX=dvipsk:build,latex:build FSMONITOR_LIB_DEPENDS= libinotify.so:devel/libinotify .if ${FLAVOR} == nox11 ALL_TARGET= tui PKGMESSAGE= ${PKGDIR}/pkg-message.nox11 PLIST_SUB+= X11="@comment " .else ALL_TARGET= tui guimaybe SUB_FILES= ${PORTNAME}.desktop -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USES+= gettext-runtime gnome PLIST_SUB+= X11="" .endif DOCS= NEWS.md README.md .include .if ${ARCH} == powerpc USE_BINUTILS= yes .endif .if ${PORT_OPTIONS:MFSMONITOR} ALL_TARGET+= fsmonitor .endif post-build: cd ${WRKSRC} && HOME=${WRKSRC} ./unison -selftest -ui text -batch ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/../man .if ${PORT_OPTIONS:MDOCS} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/../doc unison-manual.pdf .endif .if ${FLAVOR} == x11 cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico .endif do-install: .if ${FLAVOR} == nox11 ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .else ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-gui ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-text ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .endif ${INSTALL_MAN} ${WRKSRC}/../man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/.. && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/../doc && ${INSTALL_DATA} unison-manual.pdf ${STAGEDIR}${DOCSDIR} do-install-FSMONITOR-on: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-fsmonitor ${STAGEDIR}${PREFIX}/bin .include diff --git a/net/unison240/Makefile b/net/unison240/Makefile index 0713747ae73c..2ff07c8f6a9b 100644 --- a/net/unison240/Makefile +++ b/net/unison240/Makefile @@ -1,91 +1,91 @@ PORTNAME= unison PORTVERSION= 2.40.128 PORTREVISION= 7 CATEGORIES= net MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/ DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS} DIST_SUBDIR= ${DISTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= madpilot@FreeBSD.org COMMENT= User-level file synchronization tool WWW= https://www.cis.upenn.edu/~bcpierce/unison/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} VERSIONSUFFIX= 240 nox11_PKGNAMESUFFIX= ${VERSIONSUFFIX}-nox11 nox11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX} x11_PKGNAMESUFFIX= ${VERSIONSUFFIX} x11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX}-nox11 x11_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 \ icotool:graphics/icoutils x11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 PLIST_SUB= PORTVERSION=${PORTVERSION} USES= gmake ocaml:build MAKE_ARGS= CFLAGS="" ALL_TARGET= unison all TEST_TARGET= selftest DOCS= BUGS.txt NEWS README DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} EXTRA_DOCS= ${DISTNAME}-manual.html \ ${DISTNAME}-manual.pdf ${DISTNAME}-manual.ps OPTIONS_DEFINE= DOCS .if ${FLAVOR} == nox11 MAKE_ARGS+= UISTYLE=text PKGMESSAGE= ${PKGDIR}/pkg-message.nox11 PLIST_SUB+= X11="@comment " .else MAKE_ARGS+= UISTYLE=gtk2 SUB_FILES= ${PORTNAME}.desktop -USE_GNOME+= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME+= atk cairo gdkpixbuf glib20 gtk20 pango USES+= gettext-runtime gnome PLIST_SUB+= X11="" .endif .include .if ${ARCH} == powerpc USE_BINUTILS= yes .endif pre-patch: # BCP 5/16: Eta-expand for backward compatibility with OCaml >4.02 @${REINPLACE_CMD} -e 's,= Unix\.symlink,s1 s2 & s1 s2,' \ ${WRKSRC}/system/system_generic.ml post-build: (cd ${WRKSRC} && HOME=${WRKSRC} ./unison -selftest -ui text -batch) .if ${FLAVOR} == x11 @${ECHO} Building text-only version @${ECHO} ${WRKSRC} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} CFLAGS="" UISTYLE=text NAME=unison-text @cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX} .if ${FLAVOR} == x11 ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX}-text ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}${VERSIONSUFFIX}.desktop ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}${VERSIONSUFFIX}.png .endif do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/net/unison248/Makefile b/net/unison248/Makefile index d3200507e0a9..e376622807b5 100644 --- a/net/unison248/Makefile +++ b/net/unison248/Makefile @@ -1,117 +1,117 @@ PORTNAME= unison PORTVERSION= 2.48.15 PORTREVISION= 5 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= v4 CATEGORIES= net MAINTAINER= madpilot@FreeBSD.org COMMENT= User-level file synchronization tool WWW= https://www.cis.upenn.edu/~bcpierce/unison/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} VERSIONSUFFIX= 248 nox11_PKGNAMESUFFIX= ${VERSIONSUFFIX}-nox11 nox11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX} x11_PKGNAMESUFFIX= ${VERSIONSUFFIX} x11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX}-nox11 x11_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 \ icotool:graphics/icoutils x11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 PLIST_SUB= PORTVERSION=${PORTVERSION} VERSIONSUFFIX=${VERSIONSUFFIX} USES= gmake localbase ocaml:build WRKSRC_SUBDIR= src CONFLICTS= unison-devel MAKE_ENV= CLIBS="${LIBS:S/^-/-ccopt -/}" COFLAGS="${CFLAGS:C/ *(-[^ ]*) */ -ccopt \"\1 \"/gW}" MAKE_JOBS_UNSAFE= yes ALL_TARGET= unison all USE_GITHUB= yes GH_ACCOUNT= bcpierce00 DOCS= BUGS.txt NEWS README DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE= DOCS FSMONITOR OPTIONS_DEFAULT?= FSMONITOR FSMONITOR_DESC= Compile and install fsmonitor plugin OPTIONS_SUB= YES FSMONITOR_LIB_DEPENDS= libinotify.so:devel/libinotify .if ${FLAVOR} == nox11 MAKE_ARGS= UISTYLE=text PKGMESSAGE= ${PKGDIR}/pkg-message.nox11 PLIST_SUB+= X11="@comment " .else MAKE_ARGS= UISTYLE=gtk2 SUB_FILES= ${PORTNAME}.desktop SUB_LIST= PORTVERSION=${PORTVERSION} VERSIONSUFFIX=${VERSIONSUFFIX} -USE_GNOME+= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME+= atk cairo gdkpixbuf glib20 gtk20 pango USES+= gettext-runtime gnome PLIST_SUB+= X11="" .endif .include .if ${ARCH} == powerpc USE_BINUTILS= yes .endif post-patch-FSMONITOR-off: @${REINPLACE_CMD} -e 's/-include fsmonitor/#&/' \ ${WRKSRC}/Makefile.OCaml post-patch-FSMONITOR-on: @${REINPLACE_CMD} \ -e '/let suffix = if Util.osType/s/else "" in/else "${VERSIONSUFFIX}" in/' \ ${WRKSRC}/fswatch.ml post-patch: # remove unconditional raise, which causes self tests to always fail ${REINPLACE_CMD} -e '/remove me/d' ${WRKSRC}/test.ml .if ${FLAVOR} == nox11 @${REINPLACE_CMD} -e 's/CFLAGS/COFLAGS/g' \ ${WRKSRC}/Makefile.OCaml ${WRKSRC}/fsmonitor/linux/Makefile .else @${REINPLACE_CMD} -Ee 's@(\+|/)(lablgtk2)@\1site-lib/\2@' \ -e 's/CFLAGS/COFLAGS/g' \ ${WRKSRC}/Makefile.OCaml ${WRKSRC}/fsmonitor/linux/Makefile .endif post-build: (cd ${WRKSRC} && HOME=${WRKSRC} ./unison -selftest -ui text -batch) .if ${FLAVOR} == x11 @${ECHO} Building text-only version @${ECHO} ${WRKSRC} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} UISTYLE=text NAME=unison-text @cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX} .if ${FLAVOR} == x11 ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX}-text ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}${VERSIONSUFFIX}.desktop ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}${VERSIONSUFFIX}.png .endif do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} do-install-FSMONITOR-on: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-fsmonitor ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-fsmonitor${VERSIONSUFFIX} .include diff --git a/net/unison251/Makefile b/net/unison251/Makefile index 1d9f813b4d5e..52a4cda820e1 100644 --- a/net/unison251/Makefile +++ b/net/unison251/Makefile @@ -1,112 +1,112 @@ PORTNAME= unison PORTVERSION= 2.51.5 PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= madpilot@FreeBSD.org COMMENT= User-level file synchronization tool WWW= https://www.cis.upenn.edu/~bcpierce/unison/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} VERSIONSUFFIX= 251 nox11_PKGNAMESUFFIX= ${VERSIONSUFFIX}-nox11 nox11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX} x11_PKGNAMESUFFIX= ${VERSIONSUFFIX} x11_CONFLICTS_INSTALL= unison${VERSIONSUFFIX}-nox11 x11_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 \ icotool:graphics/icoutils x11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz PLIST_SUB= PORTVERSION=${PORTVERSION} VERSIONSUFFIX=${VERSIONSUFFIX} USES= gmake localbase ocaml:build WRKSRC_SUBDIR= src CONFLICTS= unison-devel MAKE_ENV= CLIBS="${LIBS:S/^-/-ccopt -/}" COFLAGS="${CFLAGS:C/ *(-[^ ]*) */ -ccopt \"\1 \"/gW}" ALL_TARGET= unison all USE_GITHUB= yes GH_ACCOUNT= bcpierce00 DOCS= NEWS README OPTIONS_DEFINE= DOCS FSMONITOR OPTIONS_DEFAULT?= FSMONITOR FSMONITOR_DESC= Compile and install fsmonitor plugin OPTIONS_SUB= YES FSMONITOR_LIB_DEPENDS= libinotify.so:devel/libinotify .if ${FLAVOR} == nox11 MAKE_ARGS= UISTYLE=text PKGMESSAGE= ${PKGDIR}/pkg-message.nox11 PLIST_SUB+= X11="@comment " .else MAKE_ARGS= UISTYLE=gtk2 SUB_FILES= ${PORTNAME}.desktop -USE_GNOME+= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME+= atk cairo gdkpixbuf glib20 gtk20 pango USES+= gettext-runtime gnome PLIST_SUB+= X11="" .endif .include .if ${ARCH} == powerpc USE_BINUTILS= yes .endif post-patch-FSMONITOR-off: @${REINPLACE_CMD} -e 's/-include fsmonitor/#&/' \ ${WRKSRC}/Makefile.OCaml post-patch-FSMONITOR-on: @${REINPLACE_CMD} \ -e '/let suffix = if Util.osType/s/else "" in/else "${VERSIONSUFFIX}" in/' \ ${WRKSRC}/fswatch.ml post-patch: .if ${FLAVOR} == nox11 @${REINPLACE_CMD} -e 's/CFLAGS/COFLAGS/g' \ ${WRKSRC}/Makefile.OCaml ${WRKSRC}/fsmonitor/linux/Makefile .else @${REINPLACE_CMD} -Ee 's@(\+|/)(lablgtk2)@\1site-lib/\2@' \ -e 's/CFLAGS/COFLAGS/g' \ ${WRKSRC}/Makefile.OCaml ${WRKSRC}/fsmonitor/linux/Makefile .endif post-build: (cd ${WRKSRC} && HOME=${WRKSRC} ./unison -selftest -ui text -batch) .if ${FLAVOR} == x11 @${ECHO} Building text-only version @${ECHO} ${WRKSRC} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} UISTYLE=text NAME=unison-text @cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX} .if ${FLAVOR} == x11 ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${VERSIONSUFFIX}-text ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}${VERSIONSUFFIX}.desktop ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}${VERSIONSUFFIX}.png .endif do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} do-install-FSMONITOR-on: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-fsmonitor ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-fsmonitor${VERSIONSUFFIX} .include diff --git a/news/pan/Makefile b/news/pan/Makefile index 41b9a1e4aeac..7a640068ea7d 100644 --- a/news/pan/Makefile +++ b/news/pan/Makefile @@ -1,56 +1,56 @@ PORTNAME= pan PORTVERSION= 0.145 PORTREVISION= 3 CATEGORIES= news gnome MASTER_SITES= http://pan.rebelbase.com/download/releases/${PORTVERSION}/source/ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Threaded GTK newsreader based on Agent for Windows WWW= https://pan.rebelbase.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libpcre.so:devel/pcre \ libenchant.so:textproc/enchant \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmime-2.6.so:mail/gmime26 USES= compiler:c++11-lang desktop-file-utils gettext-tools:build \ gmake gnome iconv localbase pathfix pkgconfig tar:bzip2 USE_CXXSTD= c++14 -USE_GNOME= cairo gdkpixbuf2 intlhack +USE_GNOME= cairo gdkpixbuf intlhack GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share LDFLAGS+= ${ICONV_LIB} OPTIONS_DEFINE= GTKSPELL GNUTLS NLS OPTIONS_DEFAULT= GTKSPELL GNUTLS GTK2 OPTIONS_RADIO= GTK OPTIONS_RADIO_GTK= GTK2 GTK3 OPTIONS_SUB= yes GTKSPELL_DESC= Spell checking support (gtk+2 only) GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GTK2_USE= gnome=gtk20 GTK3_PREVENTS= GTKSPELL GTK3_USE= gnome=gtk30 GTK3_CONFIGURE_WITH= gtk3 GTKSPELL_LIB_DEPENDS= libgtkspell.so:textproc/gtkspell GTKSPELL_CONFIGURE_WITH=gtkspell NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: ${REINPLACE_CMD} -e 's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g' \ ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e '98s|const std|std|' ${WRKSRC}/pan/general/string-view.h .include diff --git a/print/deforaos-pdfviewer/Makefile b/print/deforaos-pdfviewer/Makefile index e64ff6eacb08..3e89e0c63003 100644 --- a/print/deforaos-pdfviewer/Makefile +++ b/print/deforaos-pdfviewer/Makefile @@ -1,48 +1,48 @@ PORTNAME= pdfviewer PORTVERSION= 0.0.2 PORTREVISION= 49 CATEGORIES= print MASTER_SITES= http://www.defora.org/os/download/download/4431/ PKGNAMEPREFIX= deforaos- DISTNAME= PDFViewer-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop PDF viewer WWW= https://www.defora.org/ LICENSE= GPLv3 LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libDesktop.so:x11/deforaos-libdesktop \ libpoppler-glib.so:graphics/poppler-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 MAKE_ARGS+= PREFIX=${PREFIX} USES= desktop-file-utils gnome pkgconfig -USE_GNOME= gtk20 gdkpixbuf2 cairo +USE_GNOME= gtk20 gdkpixbuf cairo MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc po|data po|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|po src tools|src tools|' \ ${WRKSRC}/Makefile post-patch: @${REINPLACE_CMD} 's|-Wl,-pie||g' \ ${WRKSRC}/tools/Makefile \ ${WRKSRC}/src/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdfviewer .include diff --git a/print/fontforge/Makefile b/print/fontforge/Makefile index 43a28f946690..aa9a0541c9e0 100644 --- a/print/fontforge/Makefile +++ b/print/fontforge/Makefile @@ -1,125 +1,125 @@ PORTNAME= fontforge DISTVERSION= 20230101 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Type 1/TrueType/OpenType/bitmap font editor WWW= https://fontforge.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 USES= compiler:c++11-lang cmake cpe desktop-file-utils gettext gnome \ iconv:wchar_t pkgconfig shared-mime-info tar:xz USE_GNOME= cairo glib20 libxml2 USE_LDCONFIG= yes PORTDOCS= * CMAKE_ARGS= -DIconv_INCLUDE_DIR=${ICONV_INCLUDE_PATH} \ -DIconv_LIBRARY=${ICONV_LIB_PATH} OPTIONS_DEFINE= DOCS FREETYPE GIF JPEG PNG PYTHON READLINE SPIRO TIFF \ TILEPATH UNINAMESLIST WOFF2 WRITEPFM OPTIONS_RADIO= GUI OPTIONS_RADIO_GUI= GTK3 X11 OPTIONS_SINGLE= THEME OPTIONS_SINGLE_THEME= TANGO 2012 OPTIONS_DEFAULT=GIF GTK3 JPEG PNG PYTHON READLINE SPIRO TANGO TIFF \ TILEPATH UNINAMESLIST WOFF2 OPTIONS_SUB= yes 2012_DESC= Old theme that was used until 2012 2012_CMAKE_ON= -DTHEME:ENUM=2012 DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} DOCS_CMAKE_BOOL=ENABLE_DOCS FREETYPE_DESC= Include freetype's internal debugger FREETYPE_PATCH_DEPENDS= ${NONEXISTENT}:print/freetype2:extract FREETYPE_CMAKE_ON= -DENABLE_FREETYPE_DEBUGGER:PATH=${WRKSRC}/freetype GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL= ENABLE_LIBGIF GTK3_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz -GTK3_USE= gnome=gdkpixbuf2,gtk30 +GTK3_USE= gnome=gdkpixbuf,gtk30 JPEG_USES= jpeg JPEG_CMAKE_BOOL=ENABLE_LIBJPEG PNG_LIB_DEPENDS=libpng.so:graphics/png PNG_CMAKE_BOOL= ENABLE_LIBPNG PYTHON_USES= python PYTHON_USES_OFF=python:build PYTHON_CMAKE_BOOL= ENABLE_PYTHON_SCRIPTING ENABLE_PYTHON_EXTENSION READLINE_USES= readline READLINE_CMAKE_BOOL= ENABLE_LIBREADLINE SPIRO_DESC= Use libspiro to edit with clothoid splines SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_CMAKE_BOOL= ENABLE_LIBSPIRO TANGO_DESC= Default theme based on the Tango Desktop Project TANGO_CMAKE_ON= -DTHEME:ENUM=tango TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL=ENABLE_LIBTIFF # This is disabled by default in fontforge's CMakeLists.txt, but it was # previously enabled in this port when it was using GNU configure, so I've # defaulted it to enabled TILEPATH_DESC= Enable a 'tile path' command (a variant of 'expand stroke') TILEPATH_CMAKE_BOOL= ENABLE_TILE_PATH UNINAMESLIST_DESC= Use libuninameslist for Unicode attribute data UNINAMESLIST_LIB_DEPENDS= libuninameslist.so:textproc/libuninameslist UNINAMESLIST_CMAKE_BOOL= ENABLE_LIBUNINAMESLIST WOFF2_DESC= WOFF2 web font support WOFF2_LIB_DEPENDS= libbrotlidec.so:archivers/brotli \ libwoff2dec.so:devel/woff2 WOFF2_CMAKE_BOOL= ENABLE_WOFF2 WRITEPFM_DESC= Add ability to save PFM file w/o creating associated font file WRITEPFM_CMAKE_BOOL= ENABLE_WRITE_PFM X11_USES= xorg X11_USE= gnome=pango xorg=ice,sm,x11,xext,xft,xi X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz X11_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont/unifont.pcf.gz:x11-fonts/gnu-unifont X11_CMAKE_BOOL= ENABLE_X11 .include .if ${PORT_OPTIONS:MGTK3} || ${PORT_OPTIONS:MX11} CMAKE_ARGS+= -DENABLE_GUI:BOOL=true .else CMAKE_ARGS+= -DENABLE_GUI:BOOL=false .endif post-patch: # https://github.com/fontforge/fontforge/issues/5251 @${REINPLACE_CMD} 's/\(%[^%[:space:]]*\)hs/\1s/g' \ ${WRKSRC}/fontforgeexe/searchview.c \ ${WRKSRC}/po/de.po ${WRKSRC}/po/ca.po ${WRKSRC}/po/hr.po \ ${WRKSRC}/po/it.po ${WRKSRC}/po/pl.po ${WRKSRC}/po/uk.po \ ${WRKSRC}/po/en_GB.po ${WRKSRC}/po/fr.po ${WRKSRC}/po/vi.po \ ${WRKSRC}/po/ko.po ${WRKSRC}/po/ja.po post-patch-FREETYPE-on: @${LN} -s $$(${MAKE} -C ${PORTSDIR}/print/freetype2 -V WRKSRC) \ ${WRKSRC}/freetype post-stage-DOCS-on: @${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo \ ${STAGEDIR}${DOCSDIR}/.nojekyll .include diff --git a/print/gutenprint/Makefile b/print/gutenprint/Makefile index 0c1b526a01ee..0a837f75cbf3 100644 --- a/print/gutenprint/Makefile +++ b/print/gutenprint/Makefile @@ -1,73 +1,73 @@ PORTNAME= gutenprint PORTVERSION= 5.3.4 PORTREVISION?= 1 CATEGORIES= print MASTER_SITES= SF/gimp-print/gutenprint-5.3/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT?= Gutenprint Printer Drivers WWW= https://gimp-print.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-static --enable-cups-ppds \ --enable-cups-1_2-enhancements \ --enable-simplified-cups-ppds \ --disable-globalized-cups-ppds \ --enable-cups-level3-ppds \ --disable-translated-cups-ppds INSTALL_TARGET= install-strip USES= compiler:c11 cpe gettext gmake libtool pathfix perl5 pkgconfig \ tar:xz CPE_VENDOR= ${PORTNAME}_project OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_CONFIGURE_WITH= doc NLS_CONFIGURE_ENABLE= nls .if !defined(GUT_SLAVE) LIB_DEPENDS+= libcupsimage.so:print/cups RUN_DEPENDS+= ${LOCALBASE}/libexec/cups/filter/gstoraster:print/cups-filters CONFIGURE_ARGS+=--disable-libgutenprintui2 --without-gimp2 \ --with-cups=${PREFIX} \ --with-cups-config=${PREFIX}/bin/cups-config USES+= iconv USE_LDCONFIG= yes .else LIB_DEPENDS+= libgutenprint.so:print/gutenprint MAKE_ARGS+= GUTENPRINT_LIBS='`$$(PKG_CONFIG) --libs gutenprint`' .if ${GUT_SLAVE} == "gimp" USES+= gnome -USE_GNOME+= cairo gdkpixbuf2 +USE_GNOME+= cairo gdkpixbuf LIB_DEPENDS+= libbabl-0.1.so:x11/babl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgegl-0.4.so:graphics/gegl \ libgimp-2.0.so:graphics/gimp-app \ libjson-glib-1.0.so:devel/json-glib CONFIGURE_ARGS+=--enable-libgutenprintui2 --with-gimp2 BUILD_WRKSRC= ${WRKSRC}/src/gimp2 INSTALL_WRKSRC= ${WRKSRC}/src/gimp2 USE_GNOME+= gtk20 .endif .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/lpstat|${LOCALBASE}/bin/lpstat|' \ ${WRKSRC}/src/gutenprintui2/plist.c @${REINPLACE_CMD} -e '/DEPENDENCIES/s/$$(GUTENPRINT_LIBS)//' \ ${WRKSRC}/src/gimp2/Makefile.in post-install: .if defined(GUT_SLAVE) && ${GUT_SLAVE} == "gimp" @(cd ${WRKSRC}/src/gutenprintui2 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .else @(test -d ${STAGEDIR}/${DATADIR}/doc/reference-html && ${RMDIR} ${STAGEDIR}/${DATADIR}/doc/reference-html || :) .endif .include diff --git a/print/pdfchain/Makefile b/print/pdfchain/Makefile index 65583a83f757..bc5398952a52 100644 --- a/print/pdfchain/Makefile +++ b/print/pdfchain/Makefile @@ -1,20 +1,20 @@ PORTNAME= pdfchain PORTVERSION= 0.4.4.2 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= SF/pdfchain/pdfchain-${PORTVERSION} MAINTAINER= chapelet@gmail.com COMMENT= Graphical user interface for the PDF Toolkit (PDFtk) WWW= https://sourceforge.net/projects/pdfchain/ LICENSE= GPLv3 USES= compiler:c++11-lang desktop-file-utils gettext-runtime gnome \ pkgconfig -USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk30 gtkmm30 \ +USE_GNOME= atk atkmm cairo cairomm gdkpixbuf glib20 glibmm gtk30 gtkmm30 \ libsigc++20 pango pangomm GNU_CONFIGURE= yes .include diff --git a/print/photoprint/Makefile b/print/photoprint/Makefile index ef25b378867a..c94594ea5b9f 100644 --- a/print/photoprint/Makefile +++ b/print/photoprint/Makefile @@ -1,34 +1,34 @@ PORTNAME= photoprint DISTVERSION= 0.4.2-pre2 PORTREVISION= 12 CATEGORIES= print graphics MASTER_SITES= http://www.blackfiveimaging.co.uk/photoprint/ MAINTAINER= ports@FreeBSD.org COMMENT= Utility to print multiple images per sheet WWW= http://blackfiveimaging.co.uk/ LICENSE= GPLv2 LIB_DEPENDS= libcups.so:print/cups \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgutenprint.so:print/gutenprint \ liblcms.so:graphics/lcms \ libnetpbm.so:graphics/netpbm \ libpng.so:graphics/png \ libtiff.so:graphics/tiff GNU_CONFIGURE= yes USES= compiler:c++11-lang desktop-file-utils gettext gnome jpeg \ libtool localbase pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 USE_CXXSTD= gnu++98 LIBS+= -lX11 post-patch: @${REINPLACE_CMD} -e 's|cups/cups.h|cups/ppd.h|g' \ ${WRKSRC}/stp_support/printerqueues_unix.c .include diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile index f74d96d82052..d70391610dd9 100644 --- a/print/py-weasyprint/Makefile +++ b/print/py-weasyprint/Makefile @@ -1,32 +1,32 @@ PORTNAME= weasyprint PORTVERSION= 61.2 CATEGORIES= print python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= pi@FreeBSD.org COMMENT= Converts HTML/CSS documents to PDF WWW= https://weasyprint.org/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=1.0.9:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairo>=1.15.4:graphics/py-cairo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairocffi>=0.9.0:graphics/py-cairocffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairosvg>=2.4.0:graphics/py-cairosvg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cffi>=0.6:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect2>=0.1:textproc/py-cssselect2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=4.38:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999999999:www/py-html5lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydyf>=0.5.0:print/py-pydyf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyphen>=0.9.1:textproc/py-pyphen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tinycss2>=1.0.0:textproc/py-tinycss2@${PY_FLAVOR} USES= gnome python USE_PYTHON= autoplist pep517 -USE_GNOME= gdkpixbuf2 pango +USE_GNOME= gdkpixbuf pango NO_ARCH= yes .include diff --git a/print/simple-fb2-reader/Makefile b/print/simple-fb2-reader/Makefile index 4f8b677e6463..32bd1053402a 100644 --- a/print/simple-fb2-reader/Makefile +++ b/print/simple-fb2-reader/Makefile @@ -1,20 +1,20 @@ PORTNAME= simple-fb2-reader PORTVERSION= 1.1.3 PORTREVISION= 5 CATEGORIES= print MAINTAINER= ports@FreeBSD.org COMMENT= Simple FB2 format book reader WWW= https://github.com/Cactus64k/simple-fb2-reader LICENSE= GPLv3+ LIB_DEPENDS= libzip.so:archivers/libzip USES= cmake desktop-file-utils gettext-runtime gnome pkgconfig \ shared-mime-info sqlite USE_GITHUB= yes GH_ACCOUNT= Cactus64k -USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 libxml2 .include diff --git a/print/xreader/Makefile b/print/xreader/Makefile index e5952a2f96fa..8952cf5f1113 100644 --- a/print/xreader/Makefile +++ b/print/xreader/Makefile @@ -1,97 +1,97 @@ PORTNAME= xreader PORTVERSION= 4.2.3 CATEGORIES= print gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Multi-format document reader WWW= https://github.com/linuxmint/xreader LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limit:^[0-9.]+$$ # ignore non-numeric tags BUILD_DEPENDS= intltool-merge:textproc/intltool \ itstool:textproc/itstool LIB_DEPENDS= libxapp.so:x11/xapp USES= desktop-file-utils gettext-tools gnome meson pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_LDCONFIG= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 libxml2 USE_XORG= ice sm x11 GLIB_SCHEMAS= org.x.reader.gschema.xml MATHJAX_DIR= ${LOCALBASE}/www/MathJax OPTIONS_DEFINE= DBUS DOCS HELP INTROSPECTION KEYRING T1LIB OPTIONS_GROUP= BACKENDS OPTIONS_GROUP_BACKENDS= COMICS DJVU DVI EPUB PDF PIXBUF PS TIFF XPS OPTIONS_DEFAULT= DBUS DJVU DOCS HELP KEYRING PDF TIFF XPS OPTIONS_SUB= yes BACKENDS_DESC= Document formats support COMICS_DESC= Comic book (cbr) support DVI_DESC= DVI format support EPUB_DESC= EPUB e-book format support HELP_DESC= Install help files INTROSPECTION_DESC= Enable GObject introspection KEYRING_DESC= Password-protected document support PIXBUF_DESC= Image files support via GdkPixbuf T1LIB_DESC= Type1 font support in DVI backend XPS_DESC= XPS document format support COMICS_USES= libarchive COMICS_MESON_TRUE= comics DBUS_RUN_DEPENDS= dbus-daemon:devel/dbus DBUS_MESON_TRUE= enable_dbus DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_MESON_TRUE= djvu DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= docs DVI_LIB_DEPENDS= libspectre.so:print/libspectre DVI_USES= tex DVI_USE= TEX=kpathsea DVI_MESON_TRUE= dvi EPUB_BUILD_DEPENDS= ${MATHJAX_DIR}/MathJax.js:www/mathjax EPUB_LIB_DEPENDS= libwebkit2gtk-4.1.so:www/webkit2-gtk@41 EPUB_RUN_DEPENDS= ${EPUB_BUILD_DEPENDS} EPUB_MESON_ON= -Dmathjax-directory=${MATHJAX_DIR} EPUB_MESON_OFF= -Depub=false HELP_RUN_DEPENDS= yelp:x11/yelp HELP_MESON_TRUE= help_files INTROSPECTION_USE= GNOME=introspection:build INTROSPECTION_MESON_TRUE= introspection KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret KEYRING_MESON_TRUE= keyring PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_MESON_TRUE= pdf PIXBUF_MESON_TRUE= pixbuf PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_MESON_TRUE= ps T1LIB_LIB_DEPENDS= libt1.so:devel/t1lib T1LIB_MESON_TRUE= t1lib T1LIB_USES= localbase:ldflags T1LIB_IMPLIES= DVI TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_TRUE= tiff XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps XPS_MESON_TRUE= xps .include diff --git a/science/chemtool-devel/Makefile b/science/chemtool-devel/Makefile index 143fa1a424ec..5e46ecf8fb3b 100644 --- a/science/chemtool-devel/Makefile +++ b/science/chemtool-devel/Makefile @@ -1,49 +1,49 @@ PORTNAME= chemtool PORTVERSION= 1.7.20050716 PORTREVISION= 13 CATEGORIES= science MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/ PKGNAMESUFFIX= -devel DISTNAME= ct17a15 MAINTAINER= eduardo@FreeBSD.org COMMENT= Drawing organic molecules easily and store them (developer version) WWW= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/ LICENSE= GPLv2 LIB_DEPENDS= libEMF.so:graphics/libemf \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= fig2dev:print/fig2dev USES= compiler:c++11-lang gettext gmake gnome pkgconfig tar:tgz xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-emf=yes MAKE_ARGS+= MAKE=${MAKE_CMD} CFLAGS+= -fcommon CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF LIBS+= -L${LOCALBASE}/lib CONFLICTS_INSTALL= chemtool WRKSRC= ${WRKDIR}/${PORTNAME}-1.7alpha15/ PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES post-patch: @${REINPLACE_CMD} '/^SYS_LIBRARIES =/s/$$/ -lX11/' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chemtool ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cht post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile index 442ee9a9ca68..aaec303b6fc0 100644 --- a/science/chemtool/Makefile +++ b/science/chemtool/Makefile @@ -1,40 +1,40 @@ PORTNAME= chemtool DISTVERSION= 1.6.14 PORTREVISION= 5 CATEGORIES= science MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/ MAINTAINER= yuri@FreeBSD.org COMMENT= Draw organic molecules easily and store them WWW= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libEMF.so:graphics/libemf \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= fig2dev:print/fig2dev USES= compiler:c++11-lang gmake gnome pkgconfig xorg GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX} -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 CFLAGS+= -fcommon # notified the author via e-mail on Sep 20, 2020 OPTIONS_DEFINE= NLS EXAMPLES OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PORTEXAMPLES= * do-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${FIND} . | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/science/gabedit/Makefile b/science/gabedit/Makefile index f03130eb9f4a..67a2cee125a3 100644 --- a/science/gabedit/Makefile +++ b/science/gabedit/Makefile @@ -1,58 +1,58 @@ PORTNAME= gabedit DISTVERSION= 2.5.1-300720 # the last number is "snapshot" PORTREVISION= 2 CATEGORIES= science MASTER_SITES= https://sites.google.com/site/allouchear/Home/gabedit/download/ DISTNAME= GabeditSrc${DISTVERSION:C/([0-9])\.([0-9])\.([0-9])-([0-9])/\1\2\3_\4/} MAINTAINER= yuri@FreeBSD.org COMMENT= Graphical user interface for several chemistry software packages WWW= https://gabedit.sourceforge.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/License BROKEN_i386= undefined reference to `__atomic_load' LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext USES= compiler:c++11-lang gettext-runtime gl gmake gnome pkgconfig \ xorg -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango pangox-compat +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango pangox-compat USE_GL= gl glu USE_XORG= ice sm x11 xmu xt CFLAGS+= -fcommon # change the default because GlobalOrb.h has many common definitions BINARY_ALIAS= make=gmake PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop ICON_SIZES= 16 24 32 48 .for SZ in ${ICON_SIZES} PLIST_FILES+= share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png .endfor OPTIONS_DEFINE= OPENMP .if exists(/usr/include/omp.h) OPTIONS_DEFAULT= OPENMP .endif post-patch: @${REINPLACE_CMD} 's|/usr/|${PREFIX}/|; s| -O2| ${CFLAGS}|; s|gcc|${CC}|' ${WRKSRC}/CONFIG post-patch-OPENMP-off: @${REINPLACE_CMD} 's|enable_omp = 1|enable_omp = 0|' ${WRKSRC}/CONFIG do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/utils/Others/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} .for SZ in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps ${INSTALL_DATA} ${WRKSRC}/icons/Gabedit${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png .endfor .include diff --git a/science/ghemical/Makefile b/science/ghemical/Makefile index 3e79f5f625e0..0d393aa81339 100644 --- a/science/ghemical/Makefile +++ b/science/ghemical/Makefile @@ -1,45 +1,45 @@ PORTNAME= ghemical PORTVERSION= 3.0.0 PORTREVISION= 28 CATEGORIES= science MASTER_SITES= http://bioinformatics.org/ghemical/download/%SUBDIR%/ MASTER_SITE_SUBDIR= release20111012 current MAINTAINER= yuri@FreeBSD.org COMMENT= Computational chemistry software package WWW= https://www.bioinformatics.org/ghemical/ghemical/index.html LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libblas.so:math/blas \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libghemical.so:science/libghemical \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libharfbuzz.so:print/harfbuzz \ libint.so:science/libint \ liblapack.so:math/lapack \ liboglappth.so:science/liboglappth \ libmpqc.so:science/mpqc RUN_DEPENDS= xdg-open:devel/xdg-utils USES= compiler:c++11-lang fortran gettext gl gmake gnome pathfix \ pkgconfig xorg GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gtk --enable-threads --disable-openbabel # not compatible with OpenBabel-3 so it is disabled -USE_GNOME= cairo gdkpixbuf2 gtk20 libglade2 intltool pangox-compat +USE_GNOME= cairo gdkpixbuf gtk20 libglade2 intltool pangox-compat USE_GL= gl glu USE_XORG= x11 CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -Wno-c++11-narrowing # prevent build errors: non-constant-expression cannot be narrowed from type 'double' to 'fGL' (aka 'float') PLIST_SUB= GHEMICAL_VERSION="${PORTVERSION}" post-patch: @${REINPLACE_CMD} -e \ 's|"mozilla "|"xdg-open "|' ${WRKSRC}/src/gtk_app.cpp @${REINPLACE_CMD} -e 's|openbabel-2.0|openbabel-3|' ${WRKSRC}/configure # attempt at OpenBabel-3 compatibility .include diff --git a/science/luscus/Makefile b/science/luscus/Makefile index 82a85ac92a2d..45960a841f19 100644 --- a/science/luscus/Makefile +++ b/science/luscus/Makefile @@ -1,37 +1,37 @@ PORTNAME= luscus DISTVERSION= 0.8.6 PORTREVISION= 4 CATEGORIES= science MASTER_SITES= SF/${PORTNAME}/ DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Molecular editor and viewer WWW= https://sourceforge.net/projects/luscus/ LICENSE= AFL LICENSE_NAME= Academic Free License LICENSE_FILE= ${WRKSRC}/License.txt LICENSE_PERMS= auto-accept dist-mirror pkg-mirror LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgdkglext-x11-1.0.so:x11-toolkits/gtkglext RUN_DEPENDS= bash:shells/bash \ obabel:science/openbabel # see https://sourceforge.net/p/luscus/tickets/5/ USES= cmake compiler:c++11-lang gettext-runtime gl gnome pkgconfig \ shebangfix xorg SHEBANG_GLOB= *.sh -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango pangox-compat +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango pangox-compat USE_GL= gl glu USE_XORG= x11 CFLAGS+= -fcommon # variables n_geometries/move_molecule/window/pix/etc are defined in the header post-patch: @${REINPLACE_CMD} 's|/etc/luscus|${DATADIR}|' ${WRKSRC}/gv_system.c @${REINPLACE_CMD} -i '' 's|$$HOME/\.${PORTNAME}/|${LOCALBASE}/bin/|' ${WRKSRC}/*/*/*.sh @${REINPLACE_CMD} -i '' 's|$$RUNDIR/|${LOCALBASE}/bin/|' ${WRKSRC}/*/*/*.sh .include diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile index 76a0bc42d56f..68f706f4fb08 100644 --- a/science/v_sim/Makefile +++ b/science/v_sim/Makefile @@ -1,102 +1,102 @@ PORTNAME= v_sim DISTVERSION= 3.8.0 PORTREVISION= 13 CATEGORIES= science MAINTAINER= thierry@FreeBSD.org COMMENT= Visualization of atomic structures WWW= https://gitlab.com/l_sim/v_sim LICENSE= CeCILL LICENSE_NAME= CeCILL LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= p5-XML-LibXML>0:textproc/p5-XML-LibXML \ libarchive>0:archivers/libarchive \ xcrysden:science/xcrysden \ bash:shells/bash LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libopenbabel.so:science/openbabel \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libyaml.so:textproc/libyaml \ libnetcdf.so:science/netcdf \ libmsym.so:science/libmsym \ libftgl.so:graphics/ftgl \ libxc.so:science/libxc RUN_DEPENDS= ${PYNUMPY} \ xcrysden:science/xcrysden \ libarchive>0:archivers/libarchive \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} USES= autoreconf blaslapack compiler:c11 fortran gl gmake gnome \ libtool:keepla localbase:ldflags pkgconfig python \ shebangfix tar:bzip2 xorg SHEBANG_GLOB= *.py USE_XORG= x11 -USE_GNOME= cairo gtk30 gdkpixbuf2 intltool introspection pygobject3:run +USE_GNOME= cairo gtk30 gdkpixbuf intltool introspection pygobject3:run USE_GL= gl glu USE_GITLAB= yes GL_ACCOUNT= l_sim GL_TAGNAME= 9dc8e5a0b2f4e7237ac50a922b87d234ff56a6e5 GNU_CONFIGURE= yes CONFIGURE_SHELL=${LOCALBASE}/bin/bash CONFIGURE_ARGS= --htmldir=${PREFIX}/share/doc --with-openbabel \ --with-netcdf=${LOCALBASE} --with-etsf-file-format \ --with-xsf --with-cube --with-msym=${LOCALBASE} \ --with-msym-inc=-I${LOCALBASE}/include/libmsym \ --with-libxc=${LOCALBASE} --enable-python-module GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CPPFLAGS+= ${CFLAGS} USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS NLS EXAMPLES OPTIONS_SUB= yes .if defined(WITH_DEBUG) CONFIGURE_ARGS+=--enable-debug-messages .endif .include .if ${ARCH:Mamd64*} || ${ARCH:Mpowerpc64*} BUILD_DEPENDS+= abinit:science/abinit RUN_DEPENDS+= abinit:science/abinit CONFIGURE_ARGS+=--with-abinit PLIST_SUB+= AB="" .else PLIST_SUB+= AB="@comment " .endif .if ${PORT_OPTIONS:MNLS} USES+= gettext .else USES+= gettext-tools .endif pre-configure: ${REINPLACE_CMD} -e 's|$${docdir}/examples|${EXAMPLESDIR}|' \ ${WRKSRC}/configure.ac ${REINPLACE_CMD} -e 's|print sys.prefix|print (sys.prefix)|' \ -e 's|print sys.exec_prefix|print (sys.exec_prefix)|' \ ${WRKSRC}/m4/python.m4 pre-configure-NLS-off: ${REINPLACE_CMD} -e '/^ po /d' ${WRKSRC}/Makefile.am pre-configure-DOCS-off: ${REINPLACE_CMD} -e '/^ Documentation/d' ${WRKSRC}/Makefile.am pre-configure-EXAMPLES-off: ${REINPLACE_CMD} -e '/^ examples/d' \ ${WRKSRC}/Makefile.am ${REINPLACE_CMD} -e 's|: install-v_simexamplesDATA|:|' \ ${WRKSRC}/lib/python/Makefile.am post-install: ${FIND} ${STAGEDIR}${PREFIX}/lib -type f -name "lib*.so.8.0.0" | \ ${XARGS} ${STRIP_CMD} .include diff --git a/science/zotero/Makefile b/science/zotero/Makefile index fbd7f8b1421c..3398ea937533 100644 --- a/science/zotero/Makefile +++ b/science/zotero/Makefile @@ -1,59 +1,59 @@ PORTNAME= zotero DISTVERSION= 7.0.13 PORTREVISION= 1 CATEGORIES= science deskutils MASTER_SITES= LOCAL/mikael DISTFILES= Zotero-${DISTVERSION}_FreeBSD-${ARCH}${EXTRACT_SUFX} EXTRACT_ONLY= Zotero-${DISTVERSION}_FreeBSD-${ARCH}${EXTRACT_SUFX} MAINTAINER= mikael@FreeBSD.org COMMENT= Reference management for bibliographic data and research materials WWW= https://www.zotero.org/ LICENSE= AGPLv3 ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= uses FreeBSD 13.x precompiled binaries LIB_DEPENDS= libasound.so:audio/alsa-lib \ libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libdbus-1.so:devel/dbus \ libepoll-shim.so:devel/libepoll-shim \ libepoxy.so:graphics/libepoxy \ libevent.so:devel/libevent \ libexpat.so:textproc/expat2 \ libffi.so:devel/libffi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libGLdispatch.so:graphics/libglvnd \ libgraphite2.so:graphics/graphite2 \ libharfbuzz.so:print/harfbuzz \ libhunspell-1.7.so:textproc/hunspell \ libnss3.so:security/nss \ libpcre.so:devel/pcre \ libplc4.so:devel/nspr \ libpng16.so:graphics/png \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= desktop-file-utils gettext-runtime gl iconv jpeg gnome sqlite tar:xz xorg USE_GL= egl -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 gtk30 pango USE_XORG= ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ xfixes xi xinerama xrandr xrender xt WRKSRC= ${WRKDIR}/Zotero_FreeBSD-${ARCH} NO_BUILD= yes INSTALLDIR= ${STAGEDIR}/${LOCALBASE}/lib/${PORTNAME} do-install: @${MKDIR} ${INSTALLDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${INSTALLDIR}) ${CP} ${INSTALLDIR}/zotero.desktop ${STAGEDIR}${PREFIX}/share/applications ${LN} -sf ${PREFIX}/lib/zotero/icons/icon128.png ${STAGEDIR}${PREFIX}/share/pixmaps/zotero.png ${RLN} ${INSTALLDIR}/zotero ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/security/authenticator/Makefile b/security/authenticator/Makefile index 29b44c90a006..3ddc36af1f7f 100644 --- a/security/authenticator/Makefile +++ b/security/authenticator/Makefile @@ -1,46 +1,46 @@ PORTNAME= authenticator DISTVERSION= 4.4.0 PORTREVISION= 5 CATEGORIES= security MAINTAINER= ports@FreeBSD.org COMMENT= Generate Two-Factor Codes WWW= https://gitlab.gnome.org/World/Authenticator LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= fails to build in aes crate LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \ libzbar.so:graphics/zbar USES= cargo desktop-file-utils gettext gnome gstreamer meson pkgconfig sqlite ssl USE_GITLAB= yes -USE_GNOME= gdkpixbuf2 gtk40 libadwaita +USE_GNOME= gdkpixbuf gtk40 libadwaita USE_GSTREAMER= gl rust zbar GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World GL_PROJECT= Authenticator CARGO_ENV= ZBAR_INCLUDE_DIRS="${LOCALBASE}/include" ZBAR_LIB_DIRS="${LOCALBASE}/lib" MAKE_ENV= ${CARGO_ENV} CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no GLIB_SCHEMAS= com.belmoussaoui.Authenticator.gschema.xml .include .if ${ARCH:Marmv?} LTO_UNSAFE= yes CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false .endif post-patch: @${REINPLACE_CMD} -e '/gstreamer.*bad/d' \ ${WRKSRC}/meson.build # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \ ${WRKSRC}/src/meson.build .include diff --git a/security/gpa/Makefile b/security/gpa/Makefile index c4cadb90ae03..cbd06e27b898 100644 --- a/security/gpa/Makefile +++ b/security/gpa/Makefile @@ -1,32 +1,32 @@ PORTNAME= gpa PORTVERSION= 0.11.0 CATEGORIES= security MASTER_SITES= GNUPG/gpa MAINTAINER= jhale@FreeBSD.org COMMENT= GTK3+ frontend for the GNU Privacy Guard WWW= https://www.gnupg.org/software/gpa/index.html LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gpgv2:security/gnupg LIB_DEPENDS= libassuan.so:security/libassuan \ libgpgme.so:security/gpgme \ libgpg-error.so:security/libgpg-error RUN_DEPENDS= gpgv2:security/gnupg USES= desktop-file-utils gmake gnome localbase pkgconfig tar:bzip2 -USE_GNOME= gdkpixbuf2 gtk30 +USE_GNOME= gdkpixbuf gtk30 GNU_CONFIGURE= yes CONFIGURE_ENV+= GPGKEYS_LDAP="${LOCALBASE}/libexec/gpg2keys_ldap" LDFLAGS+= -Wl,--as-needed OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/security/hydra/Makefile b/security/hydra/Makefile index 7d8674bc0d40..ed6ac8b50893 100644 --- a/security/hydra/Makefile +++ b/security/hydra/Makefile @@ -1,68 +1,68 @@ PORTNAME= hydra DISTVERSIONPREFIX=v DISTVERSION= 9.5 PORTREVISION= 2 CATEGORIES= security MAINTAINER= rm@FreeBSD.org COMMENT= Brute force attack utility working on multiple network services WWW= https://github.com/vanhauser-thc/thc-hydra LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libidn.so:dns/libidn \ libpcre.so:devel/pcre \ libsasl2.so:security/cyrus-sasl2 USES= gmake localbase ssl USE_GITHUB= yes GH_ACCOUNT= vanhauser-thc GH_PROJECT= thc-hydra GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ssl=${OPENSSLINC} \ --with-ssl-lib=${OPENSSLLIB} PLIST_FILES= bin/hydra bin/pw-inspector bin/dpl4hydra.sh bin/hydra-wizard.sh \ share/man/man1/hydra.1.gz share/man/man1/pw-inspector.1.gz OPTIONS_DEFINE= FIREBIRD SSH SUBVERSION X11 OPTIONS_DEFAULT=SSH OPTIONS_EXCLUDE=NLS DOCS FIREBIRD_USES= firebird .if ${WITH_SUBVERSION_VER:U} == LTS SUBVERSION_LIB_DEPENDS= libsvn_client-1.so:devel/subversion-lts .else SUBVERSION_LIB_DEPENDS= libsvn_client-1.so:devel/subversion .endif SSH_LIB_DEPENDS= libssh.so.4:security/libssh X11_USES= gettext gnome pkgconfig X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 -X11_USE= gnome=atk,cairo,gdkpixbuf2,glib20,gtk20,pango +X11_USE= gnome=atk,cairo,gdkpixbuf,glib20,gtk20,pango X11_PLIST_FILES= bin/xhydra share/man/man1/xhydra.1.gz .include .if ${SSL_DEFAULT:Mlibressl*} IGNORE= detected LibreSSL (missing RSA_get0_key and others) .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|CC=gcc||; s|-O3|${CFLAGS}|;' \ ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.unix do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hydra ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/pw-inspector ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/dpl4hydra.sh ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/hydra-wizard.sh ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/hydra.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${WRKSRC}/pw-inspector.1 ${STAGEDIR}${PREFIX}/share/man/man1 post-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xhydra.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/security/picocrypt/Makefile b/security/picocrypt/Makefile index 51dadf6b09be..4fa8dcf12262 100644 --- a/security/picocrypt/Makefile +++ b/security/picocrypt/Makefile @@ -1,47 +1,47 @@ PORTNAME= picocrypt DISTVERSION= 1.34 PORTREVISION= 5 CATEGORIES= security MAINTAINER= eduardo@FreeBSD.org COMMENT= Small, simple, yet very secure encryption tool WWW= https://github.com/HACKERALERT/Picocrypt LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../LICENSE ONLY_FOR_ARCHS= aarch64 amd64 mips64 powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= upstream only supports 64-bit # https://github.com/HACKERALERT/Picocrypt/issues/127 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= gl gnome go:modules pkgconfig xorg USE_GL= gl -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 xau xcb xdmcp USE_GITHUB= yes GH_ACCOUNT= HACKERALERT GH_PROJECT= Picocrypt GH_TUPLE= HACKERALERT:dialog:af3bc34fe379:hackeralert_dialog/vendor/github.com/HACKERALERT/dialog \ HACKERALERT:giu:211c1da061d9:hackeralert_giu/vendor/github.com/HACKERALERT/giu \ HACKERALERT:gl:73af36e130d3:hackeralert_gl/vendor/github.com/HACKERALERT/gl \ HACKERALERT:glfw:c08d79e41abe:hackeralert_glfw_glfw/vendor/github.com/HACKERALERT/glfw \ HACKERALERT:imgui-go:1d1c00423178:hackeralert_imgui_go/vendor/github.com/HACKERALERT/imgui-go \ HACKERALERT:infectious:b9ce72346a19:hackeralert_infectious/vendor/github.com/HACKERALERT/infectious \ HACKERALERT:mainthread:2ec9e701cc14:hackeralert_mainthread/vendor/github.com/HACKERALERT/mainthread \ HACKERALERT:serpent:293b29869c66:hackeralert_serpent/vendor/github.com/HACKERALERT/serpent \ HACKERALERT:w32:76f2a4b526bd:hackeralert_w32/vendor/github.com/HACKERALERT/w32 \ HACKERALERT:zxcvbn-go:fa924b767f89:hackeralert_zxcvbn_go/vendor/github.com/HACKERALERT/zxcvbn-go \ golang:crypto:v0.22.0:golang_crypto/vendor/golang.org/x/crypto \ golang:sys:9a28524796a5:golang_sys/vendor/golang.org/x/sys WRKSRC_SUBDIR= src PLIST_FILES= bin/${PORTNAME} post-patch: @${LN} -sf dlgs_linux.go \ ${WRKSRC}/vendor/github.com/HACKERALERT/dialog/dlgs_${OPSYS:tl}.go .include diff --git a/security/putty/Makefile b/security/putty/Makefile index 04672b79f2b6..56f4499523d8 100644 --- a/security/putty/Makefile +++ b/security/putty/Makefile @@ -1,111 +1,111 @@ PORTNAME= putty # https://tartarus.org/~simon/putty-prerel-snapshots/putty-0.83~pre20250105.1e45199.tar.gz DISTVERSION= 0.83 PORTREVISION= 0 #DISTVERSIONSUFFIX= .ec158a2 CATEGORIES= security MASTER_SITES= http://the.earth.li/~sgtatham/putty/${PORTVERSION}/ \ LOCAL/mandree/ #MASTER_SITES= https://tartarus.org/~simon/putty-prerel-snapshots/ \ # LOCAL/mandree/ MAINTAINER= mandree@FreeBSD.org COMMENT= Secure shell and telnet client including xterm emulator WWW= https://www.chiark.greenend.org.uk/~sgtatham/putty/ # test plan: test ALL 4 GSSAPI_* options, GTK3 yes/no, WITH_DEBUG=yes build. LICENSE= MIT LICENSE_FILE= ${PATCH_WRKSRC}/LICENCE USES= cmake cpe perl5 pkgconfig USE_PERL5= build CONFLICTS_INSTALL?= pssh* putty-nogtk* PATCH_STRIP= -p1 PLIST_FILES= bin/pageant \ bin/plink \ bin/pscp \ bin/psftp \ bin/psusan \ bin/puttygen \ share/man/man1/pageant.1.gz \ share/man/man1/plink.1.gz \ share/man/man1/pscp.1.gz \ share/man/man1/psftp.1.gz \ share/man/man1/psusan.1.gz \ share/man/man1/puttygen.1.gz OPTIONS_DEFINE= GTK3 OPTIONS_DEFAULT= GSSAPI_BASE GTK3 OPTIONS_SINGLE= GSSAPI_SELECT OPTIONS_SINGLE_GSSAPI_SELECT= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT \ GSSAPI_NONE .include LDFLAGS+= -Wl,--as-needed # XXX FIXME this is simplified on these assumptions: # - we only support GTK3 in FreeBSD # (Putty would support EOL GTK2 and GTK1 as well) # - Putty 0.77 cannot have X11 without the gdk/gdkx.h header i. e. GTK. .if ${PORT_OPTIONS:MGTK3} && !defined(WITHOUT_X11) USES+= xorg USE_XORG= x11 USES+= gnome -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 CMAKE_ARGS+= -DPUTTY_GTK_VERSION:STRING=3 PLIST_FILES+= bin/pterm \ bin/putty \ share/man/man1/pterm.1.gz \ share/man/man1/putty.1.gz \ share/pixmaps/putty.ico DESKTOP_ENTRIES= "PuTTY" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}" \ "" \ false .else CMAKE_ARGS+= -DPUTTY_GTK_VERSION:STRING=NONE .endif .if ${PORT_OPTIONS:MGSSAPI_BASE} # Heimdal-like in base system USES+= gssapi:base,flags CMAKE_ARGS+= -DKRB5_CONFIG:PATH=${KRB5CONFIG} \ -DPUTTY_GSSAPI:STRING=STATIC .elif ${PORT_OPTIONS:MGSSAPI_HEIMDAL} USES+= gssapi:heimdal,flags CMAKE_ARGS+= -DKRB5_CONFIG:PATH=${KRB5CONFIG} \ -DPUTTY_GSSAPI:STRING=STATIC .elif ${PORT_OPTIONS:MGSSAPI_MIT} USES+= gssapi:mit,flags CMAKE_ARGS+= -DKRB5_CONFIG:PATH=${KRB5CONFIG} \ -DPUTTY_GSSAPI:STRING=STATIC .else CMAKE_ARGS+= -DPUTTY_GSSAPI:STRING=OFF .endif post-patch: # we don't want to inherit FreeBSD commits # as PUTTY Git commit revisions, # so pretend we do not have Git: ${REINPLACE_CMD} '/FindGit/d' \ ${WRKSRC}/cmake/setup.cmake \ ${WRKSRC}/doc/CMakeLists.txt # nuke pkg-config detection of GSSAPI/Kerberos libs, # it interferes with FreeBSD's krb5-config approach ${REINPLACE_CMD} '/pkg_check_modules(KRB5 krb5-gssapi)/d' \ ${WRKSRC}/cmake/platforms/unix.cmake post-install: .if ${PORT_OPTIONS:MGTK3} @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/windows/putty.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .endif .include diff --git a/security/stoken/Makefile b/security/stoken/Makefile index 1ef6edbd40f6..eb0280267bd1 100644 --- a/security/stoken/Makefile +++ b/security/stoken/Makefile @@ -1,36 +1,36 @@ PORTNAME= stoken DISTVERSIONPREFIX= v DISTVERSION= 0.93 PORTREVISION= 3 CATEGORIES= security MAINTAINER= samm@FreeBSD.org COMMENT= Software Token for UNIX compatible with RSA SecurID WWW= https://sourceforge.net/p/stoken/wiki/Home/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libtomcrypt.so:security/libtomcrypt # can alternatively use nettle, potentially port option can be created USES= gnome libtool localbase pkgconfig autoreconf GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= stoken-dev INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS X11 OPTIONS_SUB= yes X11_CONFIGURE_WITH= gtk X11_DESC= Build GUI token interface -X11_USE= GNOME=gtk30,cairo,gdkpixbuf2 +X11_USE= GNOME=gtk30,cairo,gdkpixbuf X11_USES= desktop-file-utils do-test: build cd ${WRKSRC} && ${MAKE} check .include diff --git a/security/yersinia/Makefile b/security/yersinia/Makefile index c03d11def3ee..717b53727cb7 100644 --- a/security/yersinia/Makefile +++ b/security/yersinia/Makefile @@ -1,43 +1,43 @@ PORTNAME= yersinia PORTVERSION= 0.8.2 PORTREVISION= 4 CATEGORIES= security # MASTER_SITES= http://www.yersinia.net/download/ PKGNAMESUFFIX= -gtk MAINTAINER= ayu@commun.jp COMMENT= Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...) WWW= http://www.yersinia.net/ LICENSE= GPLv2 LIB_DEPENDS= libnet.so:net/libnet \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= autoreconf gnome ncurses pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_GITHUB= yes GH_TUPLE= tomac:yersinia:8c0d7c5 GNU_CONFIGURE= yes PLIST_FILES= sbin/yersinia \ share/man/man8/yersinia.8.gz OPTIONS_DEFINE= PORTS_PCAP PORTS_PCAP_DESC=Use ports PCAP instead of system PCAP PORTS_PCAP_CONFIGURE_ON= --with-pcap-includes=${LOCALBASE}/include PORTS_PCAP_CONFIGURE_OFF= --with-pcap-includes=/usr/include PORTS_PCAP_BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:net/libpcap post-patch: @${REINPLACE_CMD} -e 's,-O3 -Wall -g,${CFLAGS} -fcommon,' \ ${WRKSRC}/configure.ac do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${STAGEDIR}${PREFIX}/share/man/man8/ .include diff --git a/sysutils/apcctrl/Makefile b/sysutils/apcctrl/Makefile index f6a7abc93ecc..232f32b1501d 100644 --- a/sysutils/apcctrl/Makefile +++ b/sysutils/apcctrl/Makefile @@ -1,79 +1,79 @@ PORTNAME= apcctrl PORTVERSION= 0.8.21 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME} MAINTAINER= lobo@bsd.com.br COMMENT= Fork of apcupsd 3.14.x with support for Brazilian APC nobreaks WWW= http://www.apcctrl.com.br LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \ --with-nologin=/var/run \ --disable-install-distdir \ --sysconfdir=${ETCDIR} CONFIGURE_ENV+= LD="${CXX}" \ ac_cv_path_SHUTDOWN="/sbin/shutdown" USE_RC_SUBR= apcctrl SUB_FILES= pkg-message CONFLICTS_INSTALL= apcupsd OPTIONS_DEFINE= APCDUMB_DRV APCSMART_DRV BRAZIL_DRV CGI GAPCMON MODBUS \ MODBUS_USB PCNET_DRV SHUTDOWN_POWEROFF SNMP_DRV SNMP_DRV_OLD \ TCP_WRAPPERS TEST_DRV USB_DRV OPTIONS_DEFAULT= BRAZIL_DRV OPTIONS_SUB= yes APCDUMB_DRV_DESC= Dumb UPS driver support APCSMART_DRV_DESC= APC SmartUPS serial driver support BRAZIL_DRV_DESC= Brazilian APC-Microsol support CGI_DESC= Build CGI programs to show status GAPCMON_DESC= Build GTK GUI front-end MODBUS_DESC= MODBUS driver support MODBUS_USB_DESC= MODBUS USB driver support PCNET_DRV_DESC= PowerChute Network Shutdown driver support SHUTDOWN_POWEROFF_DESC= Shutdown behavior with Halt and Power off SNMP_DRV_DESC= SNMP driver support SNMP_DRV_OLD_DESC= Old SNMP driver support TCP_WRAPPERS_DESC= ${LIBWRAP_DESC} TEST_DRV_DESC= Test driver support USB_DRV_DESC= USB driver support APCDUMB_DRV_CONFIGURE_ENABLE= dumb APCSMART_DRV_CONFIGURE_ENABLE= apcsmart BRAZIL_DRV_CONFIGURE_ENABLE= brazil CGI_CONFIGURE_ENABLE= cgi CGI_CONFIGURE_ON= --with-cgi-bin=${ETCDIR}/cgi CGI_LIB_DEPENDS= libgd.so:graphics/gd GAPCMON_CONFIGURE_ENABLE= gapcmon GAPCMON_USES= gnome pkgconfig xorg -GAPCMON_USE= GNOME=cairo,gconf2,gdkpixbuf2 XORG=x11,xext +GAPCMON_USE= GNOME=cairo,gconf2,gdkpixbuf XORG=x11,xext GAPCMON_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GAPCMON_CONFLICTS= gapcmon MODBUS_CONFIGURE_ENABLE= modbus MODBUS_USB_CONFIGURE_ENABLE= modbus-usb PCNET_DRV_CONFIGURE_ENABLE= pcnet SNMP_DRV_CONFIGURE_ENABLE= snmp SNMP_DRV_OLD_CONFIGURE_ENABLE= net-snmp SNMP_DRV_OLD_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp TCP_WRAPPERS_CONFIGURE_WITH= libwrap=yes TEST_DRV_CONFIGURE_ENABLE= test USB_DRV_CONFIGURE_ENABLE= usb .include post-patch-SHUTDOWN_POWEROFF-on: ${REINPLACE_CMD} -e 's|-h now|-p now|' \ ${WRKSRC}/platforms/freebsd/apccontrol.in .include diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile index 993d5b9128ce..b11e9b8952f5 100644 --- a/sysutils/apcupsd/Makefile +++ b/sysutils/apcupsd/Makefile @@ -1,99 +1,99 @@ PORTNAME= apcupsd PORTVERSION= 3.14.14 PORTREVISION= 6 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20-%20Stable/${PORTVERSION} MAINTAINER= dbaio@FreeBSD.org COMMENT= Set of programs for controlling APC UPS WWW= http://www.apcupsd.com LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gmake GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \ --with-nologin=/var/run \ --disable-install-distdir \ --sysconfdir=${ETCDIR} \ --with-serial-dev=/dev/usv CONFIGURE_ENV+= LD="${CXX}" \ ac_cv_path_SHUTDOWN="/sbin/shutdown" USE_RC_SUBR= apcupsd SUB_FILES= pkg-message CONFLICTS_INSTALL= apcctrl OPTIONS_DEFINE= APCDUMB_DRV APCSMART_DRV CGI CLIENT_ONLY GAPCMON MODBUS \ MODBUS_USB PCNET_COMMLOST PCNET_DRV SHUTDOWN_POWEROFF SNMP_DRV \ SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV USB_DRV USB_REPORTING OPTIONS_DEFAULT= APCDUMB_DRV APCSMART_DRV MODBUS MODBUS_USB PCNET_COMMLOST \ PCNET_DRV SNMP_DRV TCP_WRAPPERS USB_DRV OPTIONS_SUB= yes APCDUMB_DRV_DESC= Dumb UPS driver support APCSMART_DRV_DESC= APC SmartUPS serial driver support CGI_DESC= Build CGI programs to show status CLIENT_ONLY_DESC= Only NIS client (no network server or drivers) GAPCMON_DESC= Build GTK GUI front-end MODBUS_DESC= MODBUS driver support MODBUS_USB_DESC= MODBUS USB driver support PCNET_COMMLOST_DESC= Experimental patch for faulty PCNET timeouts PCNET_DRV_DESC= PowerChute Network Shutdown driver support SHUTDOWN_POWEROFF_DESC= Shutdown behavior with Halt and Power off SNMP_DRV_DESC= SNMP driver support SNMP_DRV_OLD_DESC= Old SNMP driver support TCP_WRAPPERS_DESC= ${LIBWRAP_DESC} TEST_DRV_DESC= Test driver support USB_DRV_DESC= USB driver support USB_REPORTING_DESC= Experimental patch for faulty USB reporting APCDUMB_DRV_CONFIGURE_ENABLE= dumb APCSMART_DRV_CONFIGURE_ENABLE= apcsmart CGI_CONFIGURE_ENABLE= cgi CGI_CONFIGURE_ON= --with-cgi-bin=${ETCDIR}/cgi CGI_LIB_DEPENDS= libgd.so:graphics/gd CLIENT_ONLY_CONFIGURE_ON= --enable-net \ --disable-apcsmart --disable-dumb --disable-usb \ --disable-snmp --disable-test --disable-pcnet GAPCMON_CONFIGURE_ENABLE= gapcmon GAPCMON_USES= gnome pkgconfig xorg -GAPCMON_USE= GNOME=cairo,gconf2,gdkpixbuf2 XORG=x11,xext +GAPCMON_USE= GNOME=cairo,gconf2,gdkpixbuf XORG=x11,xext GAPCMON_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GAPCMON_CONFLICTS= gapcmon MODBUS_CONFIGURE_ENABLE= modbus MODBUS_USB_CONFIGURE_ENABLE= modbus-usb PCNET_DRV_CONFIGURE_ENABLE= pcnet SNMP_DRV_CONFIGURE_ENABLE= snmp SNMP_DRV_OLD_CONFIGURE_ENABLE= net-snmp SNMP_DRV_OLD_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp TCP_WRAPPERS_CONFIGURE_WITH= libwrap=yes TEST_DRV_CONFIGURE_ENABLE= test USB_DRV_CONFIGURE_ENABLE= usb PCNET_COMMLOST_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-pcnet-commlost USB_REPORTING_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-usb-reporting .include post-patch-SHUTDOWN_POWEROFF-on: ${REINPLACE_CMD} -e 's|-h now|-p now|' \ ${WRKSRC}/platforms/freebsd/apccontrol.in pre-configure: .if ${PORT_OPTIONS:MCLIENT_ONLY} && ( ${PORT_OPTIONS:MAPCSMART_DRV} || \ ${PORT_OPTIONS:MAPCDUMB_DRV} || ${PORT_OPTIONS:MPCNET_DRV} || \ ${PORT_OPTIONS:MUSB_DRV} || \ ${PORT_OPTIONS:MSNMP_DRV} || ${PORT_OPTIONS:MTEST_DRV} ) @${ECHO_CMD} "It doesn't make sense to build drivers if all you want is" @${ECHO_CMD} "the client; please do make config and select either" @${ECHO_CMD} "CLIENT_ONLY or the *_DRV you need" @${FALSE} .endif .include diff --git a/sysutils/bamf/Makefile b/sysutils/bamf/Makefile index 6efdf25520d0..5c86cd9d22b0 100644 --- a/sysutils/bamf/Makefile +++ b/sysutils/bamf/Makefile @@ -1,39 +1,39 @@ PORTNAME= bamf PORTVERSION= 0.5.6 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/ MAINTAINER= duchateau.olivier@gmail.com COMMENT= BAMF Application Matching Framework WWW= https://launchpad.net/bamf LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.4.2:devel/py-lxml@${PY_FLAVOR} LIB_DEPENDS= libgtop-2.0.so:devel/libgtop \ libstartup-notification-1.so:x11/startup-notification \ libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-runtime gmake gnome libtool pathfix \ pkgconfig python:build vala:build xorg -USE_GNOME= gtk30 glib20 introspection:build libwnck3 cairo gdkpixbuf2 +USE_GNOME= gtk30 glib20 introspection:build libwnck3 cairo gdkpixbuf USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--disable-headless-tests \ --disable-gtktest \ --disable-gcov \ --disable-gtk-doc-html \ --without-html-dir \ --enable-export-actions-menu=no \ --enable-introspection=yes INSTALL_TARGET= install-strip post-patch: ${REINPLACE_CMD} -e 's| -Wl,-Bsymbolic-functions||' \ ${WRKSRC}/src/Makefile.in .include diff --git a/sysutils/batterycat/Makefile b/sysutils/batterycat/Makefile index 4846be3ae64d..c4ccfcde8697 100644 --- a/sysutils/batterycat/Makefile +++ b/sysutils/batterycat/Makefile @@ -1,33 +1,33 @@ PORTNAME= batterycat PORTVERSION= 1.6 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/source_tarball DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Graphical battery monitoring tool WWW= https://sourceforge.net/projects/batterycat/ LICENSE= GPLv2+ USES= gmake gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 PLIST_FILES= bin/batterycat share/applications/batterycat.desktop \ ${DATADIR_REL}/batterycat.html \ ${DATADIR_REL}/batterycat_128.xpm \ ${DATADIR_REL}/batterycat_32.xpm OPTIONS_DEFINE= NLS NLS_USES= gettext-tools NLS_MAKE_ENV= WITH_NLS=yes NLS_PLIST_FILES= share/locale/de/LC_MESSAGES/batterycat.mo \ share/locale/fr/LC_MESSAGES/batterycat.mo post-patch: @${REINPLACE_CMD} -e 's,^struct BATTERY_DATA,extern &,' \ ${WRKSRC}/history.c .include diff --git a/sysutils/brasero/Makefile b/sysutils/brasero/Makefile index a45aac0d7c9b..a16d627d78eb 100644 --- a/sysutils/brasero/Makefile +++ b/sysutils/brasero/Makefile @@ -1,50 +1,50 @@ PORTNAME= brasero PORTVERSION= 3.12.3 PORTREVISION= 7 CATEGORIES= sysutils audio multimedia gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= CD/DVD mastering tool for the GNOME desktop WWW= https://projects.gnome.org/brasero/ BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libnotify.so:devel/libnotify \ libtotem-plparser.so:multimedia/totem-pl-parser \ libcanberra-gtk3.so:audio/libcanberra-gtk3 RUN_DEPENDS= growisofs:sysutils/dvd+rw-tools \ cdrdao:sysutils/cdrdao USES= desktop-file-utils gettext gmake gnome gstreamer libtool pathfix \ pkgconfig shared-mime-info tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 intlhack \ +USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 intlhack \ introspection:build libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_XORG= sm ice USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-inotify --enable-search=no --enable-playlist=no \ --enable-introspection=yes CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_CAM_LIB_H=1 -Wno-error=format-nonliteral LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.brasero.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= LIBBURNIA LIBBURNIA_DESC= Build libburnia plug-ins LIBBURNIA_LIB_DEPENDS= libburn.so:devel/libburn \ libisofs.so:devel/libisofs LIBBURNIA_CONFIGURE_ENABLE= libburnia PLIST_SUB= FULL_VERSION=${PORTVERSION} post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/libbrasero-burn/burn-process.c .include diff --git a/sysutils/budgie-control-center/Makefile b/sysutils/budgie-control-center/Makefile index 5eff6314f5b3..7b94359708c0 100644 --- a/sysutils/budgie-control-center/Makefile +++ b/sysutils/budgie-control-center/Makefile @@ -1,49 +1,49 @@ PORTNAME= budgie-control-center DISTVERSION= 1.3.0 PORTREVISION= 5 CATEGORIES= sysutils budgie MASTER_SITES= BUDGIE MAINTAINER= duchateau.olivier@gmail.com COMMENT= Control center for the Budgie desktop WWW= https://github.com/BuddiesOfBudgie/budgie-control-center LICENSE= GPLv2+ BUILD_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas LIB_DEPENDS= libhandy-1.so:x11-toolkits/libhandy \ libaccountsservice.so:sysutils/accountsservice \ libcolord.so:graphics/colord \ libcolord-gtk.so:graphics/colord-gtk \ libgoa-1.0.so:net/gnome-online-accounts \ libpulse.so:audio/pulseaudio \ libupower-glib.so:sysutils/upower \ libepoxy.so:graphics/libepoxy \ libgcr-base-3.so:security/gcr3 \ libgudev-1.0.so:devel/libgudev \ libpwquality.so:security/libpwquality \ libpolkit-gobject-1.so:sysutils/polkit \ libcups.so:print/cups \ libibus-1.0.so:textproc/ibus \ libudisks2.so:sysutils/libudisks \ libgtop-2.0.so:devel/libgtop \ libfontconfig.so:x11-fonts/fontconfig \ libsecret-1.so:security/libsecret \ libgnutls.so:security/gnutls RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= budgie compiler:c++11-lib gettext gnome meson \ localbase:ldflags pkgconfig samba:lib tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gnomedesktop3 gtk30 gsound libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gnomedesktop3 gtk30 gsound libxml2 USE_XORG= x11 xi MESON_ARGS= -Dcheese=false GLIB_SCHEMAS= org.buddiesofbudgie.ControlCenter.gschema.xml post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|' \ ${WRKSRC}/panels/printers/pp-host.c .include diff --git a/sysutils/catfish/Makefile b/sysutils/catfish/Makefile index e157aac7e252..1dcec2e92c23 100644 --- a/sysutils/catfish/Makefile +++ b/sysutils/catfish/Makefile @@ -1,46 +1,46 @@ PORTNAME= catfish PORTVERSION= 4.20.0 CATEGORIES= sysutils MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= GTK search utility WWW= https://www.bluesabre.org/projects/catfish/ LICENSE= GPLv3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \ pdftotext:graphics/poppler-utils USES= cpe desktop-file-utils gettext-tools gnome meson pkgconfig \ python shebangfix tar:bz2 xfce CPE_VENDOR= catfish_project -USE_GNOME= gdkpixbuf2 gtk30 pygobject3 +USE_GNOME= gdkpixbuf gtk30 pygobject3 USE_XFCE= xfconf BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= bin/catfish NO_ARCH= yes PORTSCOUT= limitw:1,even OPTIONS_DEFINE= DOCS ZEITGEIST OPTIONS_DEFAULT= POLKIT OPTIONS_MULTI= PRIVILEGES OPTIONS_MULTI_PRIVILEGES= POLKIT SUDO POLKIT_DESC= Provide Polkit (pkexec) support SUDO_DESC= Provide sudo support ZEITGEIST_DESC= Provide recent search suggestions (broken) POLKIT_RUN_DEPENDS= pkexec:sysutils/polkit SUDO_RUN_DEPENDS= sudo:security/sudo ZEITGEIST_LIB_DEPENDS= libzeitgeist-2.0.so:sysutils/zeitgeist .include diff --git a/sysutils/cinnamon-control-center/Makefile b/sysutils/cinnamon-control-center/Makefile index a846885a72f9..2a66cee98f55 100644 --- a/sysutils/cinnamon-control-center/Makefile +++ b/sysutils/cinnamon-control-center/Makefile @@ -1,62 +1,62 @@ PORTNAME= cinnamon-control-center PORTVERSION= 5.4.6 PORTREVISION= 5 CATEGORIES= sysutils gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Control center for Cinnamon WWW= https://github.com/linuxmint/cinnamon-control-center LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cinnamon-settings-daemon>=1.0.0:sysutils/cinnamon-settings-daemon \ iso-codes>0:misc/iso-codes LIB_DEPENDS= libcinnamon-desktop.so:x11/cinnamon-desktop \ libcinnamon-menu-3.so:x11/cinnamon-menus \ libdbus-1.so:devel/dbus \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libnotify.so:devel/libnotify \ libpolkit-gobject-1.so:sysutils/polkit \ libxklavier.so:x11/libxklavier \ libharfbuzz.so:print/harfbuzz \ libupower-glib.so:sysutils/upower \ libgudev-1.0.so:devel/libgudev RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gettext gnome meson pkgconfig python:build shebangfix xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool libgnomekbd libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libgnomekbd libxml2 USE_XORG= x11 xfixes xorgproto sm USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_LDCONFIG= yes MESON_ARGS= -Dnetworkmanager=false \ -Dmodemmanager=false SHEBANG_GLOB= *.py GLIB_SCHEMAS= org.cinnamon.control-center.display.gschema.xml OPTIONS_DEFINE= COLORD ONLINEACCOUNTS WACOM OPTIONS_DEFAULT=COLORD ONLINEACCOUNTS WACOM OPTIONS_SUB= yes ONLINEACCOUNTS_DESC= GNOME Online Accounts panel support WACOM_DESC= Wacom management panel support COLORD_LIB_DEPENDS= libcolord.so:graphics/colord COLORD_MESON_TRUE= color ONLINEACCOUNTS_LIB_DEPENDS= libgoa-1.0.so:net/gnome-online-accounts ONLINEACCOUNTS_MESON_TRUE= onlineaccounts WACOM_LIB_DEPENDS= libwacom.so:x11/libwacom WACOM_USE= xorg=xi WACOM_MESON_TRUE= wacom .include diff --git a/sysutils/cinnamon-settings-daemon/Makefile b/sysutils/cinnamon-settings-daemon/Makefile index 6bab2f150c3e..7583f7ab729a 100644 --- a/sysutils/cinnamon-settings-daemon/Makefile +++ b/sysutils/cinnamon-settings-daemon/Makefile @@ -1,82 +1,82 @@ PORTNAME= cinnamon-settings-daemon PORTVERSION= 5.4.4 PORTREVISION= 6 CATEGORIES= sysutils gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Cinnamon desktop settings daemon WWW= https://github.com/linuxmint/cinnamon-settings-daemon LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= cinnamon-session:x11/cinnamon-session \ gln:sysutils/coreutils LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libpolkit-gobject-1.so:sysutils/polkit \ libgudev-1.0.so:devel/libgudev \ libcolord.so:graphics/colord \ liblcms2.so:graphics/lcms2 \ libcinnamon-desktop.so:x11/cinnamon-desktop \ libxklavier.so:x11/libxklavier \ libnspr4.so:devel/nspr \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libupower-glib.so:sysutils/upower \ libpulse.so:audio/pulseaudio \ libnotify.so:devel/libnotify \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= cinnamon-session:x11/cinnamon-session USES= compiler:c11 gettext-tools gnome localbase meson pkgconfig \ python:build shebangfix xorg -USE_GNOME= cairo dconf gdkpixbuf2 gtk30 intltool libgnomekbd pango +USE_GNOME= cairo dconf gdkpixbuf gtk30 intltool libgnomekbd pango USE_XORG= x11 xext xfixes xi USE_GITHUB= yes GH_ACCOUNT= linuxmint MESON_ARGS= -Duse_logind=disabled SHEBANG_GLOB= *.py BINARY_ALIAS= ln=gln USE_LDCONFIG= yes GLIB_SCHEMAS= org.cinnamon.settings-daemon.enums.xml \ org.cinnamon.settings-daemon.peripherals.gschema.xml \ org.cinnamon.settings-daemon.peripherals.wacom.gschema.xml \ org.cinnamon.settings-daemon.plugins.color.gschema.xml \ org.cinnamon.settings-daemon.plugins.gschema.xml \ org.cinnamon.settings-daemon.plugins.housekeeping.gschema.xml \ org.cinnamon.settings-daemon.plugins.media-keys.gschema.xml \ org.cinnamon.settings-daemon.plugins.power.gschema.xml \ org.cinnamon.settings-daemon.plugins.xrandr.gschema.xml \ org.cinnamon.settings-daemon.plugins.xsettings.gschema.xml OPTIONS_DEFINE= CUPS SMARTCARD WACOM OPTIONS_DEFAULT=CUPS SMARTCARD WACOM OPTIONS_SUB= yes CUPS_MESON_ENABLED= use_cups CUPS_LIB_DEPENDS= libcups.so:print/cups SMARTCARD_DESC= Smartcard support SMARTCARD_MESON_ENABLED= use_smartcard SMARTCARD_LIB_DEPENDS= libnss3.so:security/nss WACOM_DESC= Tablet support with libwacom WACOM_MESON_ENABLED= use_wacom WACOM_LIB_DEPENDS= libwacom.so:x11/libwacom WACOM_USE= gnome=librsvg2 post-patch: # Adhere to our hier(7). @${MKDIR} ${WRKSRC}/files${PREFIX} @${MV} ${WRKSRC}/files/usr/share ${WRKSRC}/files${PREFIX} .include diff --git a/sysutils/czkawka/Makefile b/sysutils/czkawka/Makefile index 57a742bcdb10..0a121f0d84ec 100644 --- a/sysutils/czkawka/Makefile +++ b/sysutils/czkawka/Makefile @@ -1,45 +1,45 @@ PORTNAME= czkawka DISTVERSION= 8.0.0 PORTREVISION= 4 CATEGORIES= sysutils MAINTAINER= uzsolt@FreeBSD.org COMMENT= Smple app to remove unnecessary files from your computer WWW= https://github.com/qarmin/czkawka LICENSE= CC-BY-4.0 MIT LICENSE_COMB= multi LICENSE_FILE_MIT= ${WRKSRC}/${PORTNAME}_core/LICENSE USES= cargo gnome USE_GITHUB= yes GH_ACCOUNT= qarmin -USE_GNOME= gdkpixbuf2 gtk40 +USE_GNOME= gdkpixbuf gtk40 # XXX https://github.com/rust-lang/cargo/issues/4101 CARGO_INSTALL_PATH= ${PLIST_FILES:Mbin/*:T} PLIST_FILES= bin/${PORTNAME}_cli \ bin/${PORTNAME}_gui \ share/applications/com.github.qarmin.czkawka.desktop \ share/icons/hicolor/scalable/apps/com.github.qarmin.czkawka-symbolic.svg \ share/icons/hicolor/scalable/apps/com.github.qarmin.czkawka.Devel.svg \ share/icons/hicolor/scalable/apps/com.github.qarmin.czkawka.svg \ share/metainfo/com.github.qarmin.czkawka.metainfo.xml \ ${NULL} post-patch: # XXX Skip the new GUI until runtime is tested @${REINPLACE_CMD} '/krokiet/d' ${WRKSRC}/Cargo.toml post-install: ${INSTALL_DATA} ${WRKSRC}/data/*.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/data/icons/*.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/data/*.metainfo.xml \ ${STAGEDIR}${PREFIX}/share/metainfo .include diff --git a/sysutils/ddrescueview/Makefile b/sysutils/ddrescueview/Makefile index b7b5b8037d75..5ab8389bc271 100644 --- a/sysutils/ddrescueview/Makefile +++ b/sysutils/ddrescueview/Makefile @@ -1,52 +1,52 @@ PORTNAME= ddrescueview PORTVERSION= 0.4.5 PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= https://sourceforge.net/projects/${PORTNAME}/files/Test%20builds/v${PORTVERSION}/ PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}-source-${PORTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Graphical viewer for GNU ddrescue mapfiles WWW= https://sourceforge.net/projects/ddrescueview/ LICENSE= GPLv3 ONLY_FOR_ARCHS= amd64 i386 gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 ${PORTNAME}-qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 USES= desktop-file-utils dos2unix fpc gnome lazarus:flavors tar:xz xorg DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|lpr|txt) -USE_GNOME_gtk2= cairo gdkpixbuf2 glib20 pango +USE_GNOME_gtk2= cairo gdkpixbuf glib20 pango USE_GNOME+= ${USE_GNOME_${FLAVOR}} USE_XORG= x11 LAZARUS_PROJECT_FILES= source/ddrescueview.lpi LAZARUS_PROJECT_FILES+= source/ddrescueview.lpr LAZBUILD_ARGS= -d OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/source/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/resources/linux/man/man1/ddrescueview.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps .for i in 16 22 24 32 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ ${INSTALL_DATA} ${WRKSRC}/resources/linux/icons/hicolor/${i}x${i}/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ .endfor ${INSTALL_DATA} ${WRKSRC}/resources/linux/applications/ddrescueview.desktop \ ${STAGEDIR}${PREFIX}/share/applications do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/changelog.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/deskflow/Makefile b/sysutils/deskflow/Makefile index e36bc58c52e1..38036e066078 100644 --- a/sysutils/deskflow/Makefile +++ b/sysutils/deskflow/Makefile @@ -1,48 +1,48 @@ PORTNAME= deskflow DISTVERSIONPREFIX= v DISTVERSION= 1.20.1 CATEGORIES= sysutils MAINTAINER= ykasap@gmail.com COMMENT= Mouse and keyboard sharing utility WWW= https://deskflow.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_FreeBSD_13= requires OpenSSL 3.0 BUILD_DEPENDS= ${LOCALBASE}/include/CLI/Version.hpp:devel/cli11 \ googletest>0:devel/googletest LIB_DEPENDS= libei.so:x11/libei \ libnotify.so:devel/libnotify \ libportal.so:deskutils/libportal \ libpugixml.so:textproc/pugixml \ libtomlplusplus.so:devel/tomlplusplus \ libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++20-lang gl gnome pkgconfig qt:6 ssl xorg USE_GITHUB= yes USE_GL= opengl -USE_GNOME= gdkpixbuf2 glib20 +USE_GNOME= gdkpixbuf glib20 USE_QT= base USE_XORG= ice sm x11 xext xi xinerama xkbfile xrandr xtst OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CMAKE_BOOL= BUILD_DOCS post-patch: # Hardcoded paths need to be replaced @${REINPLACE_CMD} -e 's|/usr/local/share/X11/xkb|${PREFIX}/share/X11/xkb|' \ ${WRKSRC}/src/lib/deskflow/unix/AppUtilUnix.cpp @${REINPLACE_CMD} -e 's|return "/etc"|return "${PREFIX}/etc"|' \ ${WRKSRC}/src/lib/arch/unix/ArchFileUnix.cpp do-test: @(cd ${BUILD_WRKSRC} && \ ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${BUILD_WRKSRC}/bin/unittests && \ ${SETENVI} ${WRK_ENV} ${TEST_ENV} ${BUILD_WRKSRC}/bin/integtests ) .include diff --git a/sysutils/dunst/Makefile b/sysutils/dunst/Makefile index d233d12bc00a..5914c68723b2 100644 --- a/sysutils/dunst/Makefile +++ b/sysutils/dunst/Makefile @@ -1,69 +1,69 @@ PORTNAME= dunst DISTVERSIONPREFIX= v DISTVERSION= 1.12.2 CATEGORIES= sysutils MAINTAINER= dmgk@FreeBSD.org COMMENT= Lightweight notification daemon WWW= https://dunst-project.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libdbus-1.so:devel/dbus \ libharfbuzz.so:print/harfbuzz USES= gmake gnome perl5 pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= dunst-project -USE_GNOME= cairo gdkpixbuf2 pango +USE_GNOME= cairo gdkpixbuf pango USE_PERL5= build USE_XORG= x11 xext xinerama xrandr xscrnsaver MAKE_ARGS= MANPREFIX="${PREFIX}/share/man" SYSCONFDIR="${PREFIX}/etc" \ SYSTEMD=0 OPTIONS_DEFINE= DUNSTIFY WAYLAND OPTIONS_DEFAULT= DUNSTIFY WAYLAND DUNSTIFY_DESC= Install dunstify (alternative to the notify-send) DUNSTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify DUNSTIFY_PLIST_FILES= bin/dunstify WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_MAKE_ENV_OFF= WAYLAND=0 post-patch: @${REINPLACE_CMD} \ -e 's,/usr/bin,${PREFIX}/bin,g' \ -e 's,/usr/share,${PREFIX}/share,g' \ -e 's,/etc,${PREFIX}&,g' \ ${WRKSRC}/docs/dunst.?.pod \ ${WRKSRC}/dunstrc \ ${WRKSRC}/src/settings_data.h \ ${WRKSRC}/src/icon-lookup.c post-patch-DUNSTIFY-off: @${REINPLACE_CMD} -e '/^all:/s/dunstify//' \ -e '/^install:/s/install-dunstify//' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} '/libnotify/d' ${WRKSRC}/config.mk pre-install: @${MKDIR} ${STAGEDIR}${ETCDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/services/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dunst ${MV} ${STAGEDIR}/${ETCDIR}/dunstrc ${STAGEDIR}/${ETCDIR}/dunstrc.sample post-install-DUNSTIFY-on: ${INSTALL_PROGRAM} ${WRKSRC}/dunstify ${STAGEDIR}${PREFIX}/bin .include diff --git a/sysutils/dvdisaster/Makefile b/sysutils/dvdisaster/Makefile index 927829805caf..1d92ef1265b7 100644 --- a/sysutils/dvdisaster/Makefile +++ b/sysutils/dvdisaster/Makefile @@ -1,78 +1,78 @@ PORTNAME= dvdisaster DISTVERSION= 0.79.10 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://dvdisaster.jcea.es/downloads/ MAINTAINER= bob@eager.cx COMMENT= Optical disc error correction data and recovery tool WWW= https://dvdisaster.jcea.es LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash FLAVORS= default nox11 FLAVOR?= ${FLAVORS:[1]} nox11_PKGNAMESUFFIX= -nox11 USES= gmake gnome pkgconfig tar:bz2 USE_GNOME= glib20 HAS_CONFIGURE= yes CONFIGURE_LOG= configure.log MAKEFILE= GNUmakefile MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS= --docsubdir="/" \ --localedir=${PREFIX}/share/locale \ --buildroot=${STAGEDIR} \ --with-nls=no SUB_FILES= pkg-message FLAVORS_SUB= yes .if ${FLAVOR} == default LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 -USE_GNOME+= cairo gdkpixbuf2 gtk20 +USE_GNOME+= cairo gdkpixbuf gtk20 CONFIGURE_ARGS+= --with-gui=yes .endif .if ${FLAVOR} == nox11 COMMENT+= (without GUI) CONFIGURE_ARGS+= --with-gui=no .endif OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/documentation/${PORTNAME}.en.1 ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/devices.txt.in ${STAGEDIR}${DOCSDIR}/devices.txt ${INSTALL_DATA} ${WRKSRC}/documentation/codec-specs/codecs.pdf ${STAGEDIR}${DOCSDIR} .if ${FLAVOR} == default ${INSTALL_DATA} ${WRKSRC}/documentation/user-manual/manual.pdf ${STAGEDIR}${DOCSDIR}/${PORTNAME}.pdf .endif post-install: .if ${FLAVOR} == default @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/contrib/dvdisaster16.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/contrib/dvdisaster24.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/contrib/dvdisaster32.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/contrib/dvdisaster48.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/contrib/dvdisaster64.png ${STAGEDIR}${PREFIX}/share/pixmaps @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/contrib/dvdisaster.desktop ${STAGEDIR}${PREFIX}/share/applications .endif ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/sysutils/fsearch/Makefile b/sysutils/fsearch/Makefile index d67ef6e467fa..17d5b7263fd1 100644 --- a/sysutils/fsearch/Makefile +++ b/sysutils/fsearch/Makefile @@ -1,30 +1,30 @@ PORTNAME= fsearch PORTVERSION= 0.2.3 PORTREVISION= 4 CATEGORIES= sysutils MAINTAINER= danfe@FreeBSD.org COMMENT= Fast file search utility for Unix-like systems WWW= https://cboxdoerfer.github.io/fsearch/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/License LIB_DEPENDS= libicuuc.so:devel/icu \ libpcre2-8.so:devel/pcre2 USE_GITHUB= yes GH_ACCOUNT= cboxdoerfer USES= meson gettext-tools gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 post-patch: @${PRINTF} '\n%s\n%s;\n' int \ 'strverscmp(const char *, const char *)' \ >> ${WRKSRC}/src/fsearch_string_utils.h @${REINPLACE_CMD} -e 's,time_t,int64_t,g' \ ${WRKSRC}/src/fsearch_time_utils.h \ ${WRKSRC}/src/tests/test_time_utils.c .include diff --git a/sysutils/garcon/Makefile b/sysutils/garcon/Makefile index 0301ef115b35..628e3fd7cfb8 100644 --- a/sysutils/garcon/Makefile +++ b/sysutils/garcon/Makefile @@ -1,42 +1,42 @@ PORTNAME= garcon PORTVERSION= 4.20.0 CATEGORIES= sysutils xfce MASTER_SITES= XFCE DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Freedesktop compliant menu library WWW= https://gitlab.xfce.org/xfce/garcon # garcon's source code is licensed under GPLv2, while its # documentation is under GFDL 1.1. LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pathfix \ pkgconfig tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_LDCONFIG= yes USE_XFCE= libmenu GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-html-dir INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even OPTIONS_DEFINE= GIR NLS OPTIONS_DEFAULT= GIR OPTIONS_SUB= yes GIR_DESC= Use Gobject Introspection GIR_USE= GNOME=introspection:build GIR_CONFIGURE_ON= --enable-introspection=yes GIR_CONFIGURE_OFF= --enable-introspection=no NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/sysutils/gigolo/Makefile b/sysutils/gigolo/Makefile index 1b3251a5cf35..41693951dc42 100644 --- a/sysutils/gigolo/Makefile +++ b/sysutils/gigolo/Makefile @@ -1,37 +1,37 @@ PORTNAME= gigolo PORTVERSION= 0.5.4 CATEGORIES= sysutils MASTER_SITES= XFCE/apps MAINTAINER= xfce@FreeBSD.org COMMENT= Frontend to easily manage filesystem connections WWW= https://docs.xfce.org/apps/gigolo/start LICENSE= GPLv2 BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= gettext-tools gmake gnome pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 gvfs +USE_GNOME= cairo gdkpixbuf gtk30 gvfs USE_XORG= x11 GNU_CONFIGURE= yes PORTDOCS= AUTHORS ChangeLog NEWS THANKS TODO OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime post-patch: @${REINPLACE_CMD} -e 's|^DOCFILES.*|DOCFILES =|' \ ${WRKSRC}/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/isomaster/Makefile b/sysutils/isomaster/Makefile index 1511d94bf1c4..66baa12fd499 100644 --- a/sysutils/isomaster/Makefile +++ b/sysutils/isomaster/Makefile @@ -1,52 +1,52 @@ PORTNAME= isomaster PORTVERSION= 1.3.17 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://littlesvr.ca/isomaster/releases/ MAINTAINER= ports@FreeBSD.org COMMENT= GTK2 (bootable) CD ISO Image editor WWW= http://littlesvr.ca/isomaster/ LICENSE= GPLv2 LIB_DEPENDS= libiniparser.so:devel/iniparser \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= xdg-open:devel/xdg-utils USES= desktop-file-utils gettext gmake gnome pkgconfig tar:bzip2 -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 MAKE_ENV= DEFAULT_VIEWER="xdg-open" USE_SYSTEM_INIPARSER=1 CPPFLAGS+= -I${LOCALBASE}/include/iniparser \ -Diniparser_setstr=iniparser_set LDFLAGS+= -L${LOCALBASE}/lib -lintl post-patch: @${REINPLACE_CMD} -e \ 's|||' ${WRKSRC}/bk/bkMisc.c @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ 's|@$$(CC)|$$(CC)|' do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} isomaster \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC} && ${INSTALL_MAN} isomaster.1 \ ${STAGEDIR}${PREFIX}/share/man/man1) @${MKDIR} ${STAGEDIR}${DATADIR}/icons .for i in add2-kearone.png delete-kearone.png extract2-kearone.png \ folder-new-kearone.png go-back-kearone.png isomaster.png (cd ${WRKSRC}/icons && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DATADIR}/icons) .endfor .for i in ar be@latin bg bn_IN ca cs da de el es et fi fo fr gl he hr hu \ id it ja lt lv nb nl nn pl pt pt_BR ro ru sk sl sq sr sr@Latn \ sr@latin sv tr uk ur_PK zh_CN zh_TW @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES (cd ${WRKSRC}/po && ${INSTALL_DATA} ${i}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES/isomaster.mo) .endfor ${INSTALL_DATA} ${WRKSRC}/isomaster.desktop ${STAGEDIR}${DESKTOPDIR} .include diff --git a/sysutils/lxinput/Makefile b/sysutils/lxinput/Makefile index b696aba31b37..f3ce47f887ff 100644 --- a/sysutils/lxinput/Makefile +++ b/sysutils/lxinput/Makefile @@ -1,33 +1,33 @@ PORTNAME= lxinput PORTVERSION= 0.3.5 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SF/lxde/LXInput%20%28Kbd%20and%20amp_%20mouse%20config%29/LXInput%20${PORTVERSION:R}.x/ MAINTAINER= ports@FreeBSD.org COMMENT= Keyboard and mouse settings WWW= https://lxde.org/ LICENSE= GPLv2+ # though COPYING is GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gmake gnome localbase pkgconfig tar:xz xorg -USE_GNOME= gtk20 cairo gdkpixbuf2 intltool +USE_GNOME= gtk20 cairo gdkpixbuf intltool USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_USES_OFF= gettext-tools post-patch-NLS-off: @${REINPLACE_CMD} -e 's|po man|man|' ${WRKSRC}/Makefile.in .include diff --git a/sysutils/lxtask/Makefile b/sysutils/lxtask/Makefile index 172f7c35171e..b583847af629 100644 --- a/sysutils/lxtask/Makefile +++ b/sysutils/lxtask/Makefile @@ -1,36 +1,36 @@ PORTNAME= lxtask PORTVERSION= 0.1.10 PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= SF/lxde/LXTask%20%28task%20manager%29/LXTask%200.1.x/ MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight desktop-independent task manager WWW= https://wiki.lxde.org/en/LXTask LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gmake gnome iconv pkgconfig tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk20 intlhack +USE_GNOME= cairo gdkpixbuf gtk20 intlhack GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CFLAGS+= -fcommon PORTDOCS= AUTHORS README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext localbase NLS_USES_OFF= gettext-tools post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/mate-polkit/Makefile b/sysutils/mate-polkit/Makefile index 55371c2c72cf..d71361eb383d 100644 --- a/sysutils/mate-polkit/Makefile +++ b/sysutils/mate-polkit/Makefile @@ -1,25 +1,25 @@ PORTNAME= mate-polkit PORTVERSION= 1.28.1 CATEGORIES= sysutils mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE frontend to the PolicyKit framework WWW= https://mate-desktop.org/ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit \ libaccountsservice.so:sysutils/accountsservice PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 intltool introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include diff --git a/sysutils/process-viewer/Makefile b/sysutils/process-viewer/Makefile index 20f1340a796f..9984cf7fb9d3 100644 --- a/sysutils/process-viewer/Makefile +++ b/sysutils/process-viewer/Makefile @@ -1,106 +1,106 @@ PORTNAME= process-viewer DISTVERSION= g20220909 PORTREVISION= 21 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Process viewer GUI in Rust WWW= https://github.com/guillaumegomez/process-viewer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene USES= cargo gnome -USE_GNOME= cairo gdkpixbuf2 glib20 gtk40 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk40 pango USE_GITHUB= yes GH_ACCOUNT= guillaumegomez GH_TAGNAME= b270176 CARGO_CRATES= anyhow-1.0.57 \ autocfg-1.1.0 \ bitflags-1.3.2 \ cairo-rs-0.15.11 \ cairo-sys-rs-0.15.1 \ cfg-expr-0.10.2 \ cfg-if-1.0.0 \ core-foundation-sys-0.8.3 \ crossbeam-channel-0.5.4 \ crossbeam-deque-0.8.1 \ crossbeam-epoch-0.9.8 \ crossbeam-utils-0.8.8 \ either-1.6.1 \ field-offset-0.3.4 \ futures-channel-0.3.21 \ futures-core-0.3.21 \ futures-executor-0.3.21 \ futures-io-0.3.21 \ futures-task-0.3.21 \ futures-util-0.3.21 \ gdk-pixbuf-0.15.11 \ gdk-pixbuf-sys-0.15.10 \ gdk4-0.4.7 \ gdk4-sys-0.4.2 \ gio-0.15.11 \ gio-sys-0.15.10 \ glib-0.15.11 \ glib-macros-0.15.11 \ glib-sys-0.15.10 \ gobject-sys-0.15.10 \ graphene-rs-0.15.1 \ graphene-sys-0.15.10 \ gsk4-0.4.7 \ gsk4-sys-0.4.2 \ gtk4-0.4.7 \ gtk4-macros-0.4.7 \ gtk4-sys-0.4.5 \ heck-0.4.0 \ hermit-abi-0.1.19 \ lazy_static-1.4.0 \ libc-0.2.124 \ memchr-2.4.1 \ memoffset-0.6.5 \ ntapi-0.3.7 \ num_cpus-1.13.1 \ once_cell-1.10.0 \ pango-0.15.10 \ pango-sys-0.15.10 \ pest-2.1.3 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkg-config-0.3.25 \ proc-macro-crate-1.1.3 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.37 \ quick-xml-0.22.0 \ quote-1.0.18 \ rayon-1.5.2 \ rayon-core-1.9.2 \ rustc_version-0.3.3 \ scopeguard-1.1.0 \ semver-0.11.0 \ semver-parser-0.10.2 \ serde-1.0.136 \ serde_derive-1.0.136 \ slab-0.4.6 \ smallvec-1.8.0 \ syn-1.0.91 \ sysinfo-0.26.2 \ system-deps-6.0.2 \ thiserror-1.0.30 \ thiserror-impl-1.0.30 \ toml-0.5.9 \ ucd-trie-0.1.3 \ unicode-xid-0.2.2 \ version-compare-0.1.0 \ version_check-0.9.4 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 PLIST_FILES= bin/process_viewer .include diff --git a/sysutils/signon-ui/Makefile b/sysutils/signon-ui/Makefile index 011f5191c188..dac11e8c321c 100644 --- a/sysutils/signon-ui/Makefile +++ b/sysutils/signon-ui/Makefile @@ -1,33 +1,33 @@ PORTNAME= signon-ui # Note, we're counting since the 0.17+15.10.20150810-0ubuntu1 tag: # > git rev-list 0.17+15.10.20150810-0ubuntu1.. --count DISTVERSION= 0.17-355 DISTVERSIONSUFFIX= -g4368bb7 PORTREVISION= 5 CATEGORIES= sysutils kde DIST_SUBDIR= KDE/${GL_ACCOUNT} MAINTAINER= kde@FreeBSD.org COMMENT= Component for handling accounts-sso user interactions WWW= https://gitlab.com/accounts-sso/signon-ui LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libaccounts-qt5.so:net-im/libaccounts-qt@qt5 \ libnotify.so:devel/libnotify \ libsignon-qt5.so:sysutils/signond@qt5 \ libproxy.so:net/libproxy USES= compiler:c++11-lang gettext-runtime gl gnome pkgconfig python \ qmake qt:5 tar:bz2 USE_GL= gl -USE_GNOME= gdkpixbuf2 glib20 +USE_GNOME= gdkpixbuf glib20 USE_QT= core dbus declarative gui location network webchannel webengine widgets xml \ buildtools:build qmake:build # gitlab variables USE_GITLAB= yes GL_ACCOUNT= accounts-sso GL_TAGNAME= 4368bb77d9d1abc2978af514225ba4a42c29a646 .include diff --git a/sysutils/slurm-wlm/Makefile b/sysutils/slurm-wlm/Makefile index 714afd343478..4db32cacac65 100644 --- a/sysutils/slurm-wlm/Makefile +++ b/sysutils/slurm-wlm/Makefile @@ -1,168 +1,168 @@ PORTNAME= slurm DISTVERSION= 23.11.7 PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= https://download.schedmd.com/slurm/ PKGNAMESUFFIX= -wlm MAINTAINER= ports@FreeBSD.org COMMENT= Simple Linux Utility for Resource Management WWW= https://slurm.schedmd.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe NOT_FOR_ARCHS_REASON= 32-bit support is deprecated LIB_DEPENDS= libjson-c.so:devel/json-c \ libsysinfo.so:devel/libsysinfo \ libmunge.so:security/munge \ liblz4.so:archivers/liblz4 \ libze_loader.so:devel/level-zero \ libhttp_parser.so:www/http-parser \ libunwind.so:devel/libunwind \ librdkafka.so:net/librdkafka \ libyaml.so:textproc/libyaml \ libdbus-1.so:devel/dbus \ libcheck.so:devel/check \ libtbb.so:devel/onetbb \ libjwt.so:www/libjwt USES= compiler:c11 cpe gmake gnome libtool localbase lua mysql:client \ perl5 pkgconfig python:build readline shebangfix ssl tar:bz2 USE_PERL5= build CPE_VENDOR= schedmd USE_LDCONFIG= yes USE_RC_SUBR= slurmctld slurmd USERS= slurm GROUPS= ${USERS} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip TEST_TARGET= check PLIST_SUB= PORTVERSION="${DISTVERSION}" VER="${DISTVERSION:R}" SHEBANG_FILES= doc/html/shtml2html.py doc/man/man2html.py PORTDOCS= * OPTIONS_DEFINE= CURL DOCS GUI HDF5 HWLOC IPMI RRD OPTIONS_DEFAULT= HDF5 HWLOC OPTIONS_SUB= yes CURL_DESC= Require cURL for elasticsearch plugins GUI_DESC= Build sview GUI config tool HDF5_DESC= Job profiling using HDF5 HWLOC_DESC= Portable hardware locality IPMI_DESC= IPMI energy consumption accounting RRD_DESC= RRD external sensor data collection DOCS_BUILD_DEPENDS= man2html:textproc/man2html CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= libcurl -GUI_USE= GNOME=cairo,gdkpixbuf2,glib20,gtk20,pango +GUI_USE= GNOME=cairo,gdkpixbuf,glib20,gtk20,pango GUI_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz GUI_USES= gettext GUI_CONFIGURE_ENABLE= glibtest gtktest x11 HDF5_LIB_DEPENDS= libhdf5_cpp.so:science/hdf5 \ libsz.so:science/libaec HDF5_CONFIGURE_WITH= hdf5 HDF5_CONFIGURE_ENV= H5CC=${LOCALBASE}/bin/h5cc HWLOC_LIB_DEPENDS= libhwloc.so.15:devel/hwloc2 HWLOC_CONFIGURE_WITH= hwloc IPMI_LIB_DEPENDS= libfreeipmi.so:sysutils/freeipmi IPMI_CONFIGURE_WITH= freeipmi RRD_LIB_DEPENDS= librrd.so:databases/rrdtool RRD_CONFIGURE_WITH= rrdtool # FreeBSD Infiniband support is still experimental # slurmrestd does not build on FreeBSD CONFIGURE_ARGS= --disable-slurmrestd --with-mysql_config=${LOCALBASE}/bin \ --docdir=${DOCSDIR} --htmldir=${DOCSDIR} CFLAGS+= -I${WRKSRC}/slurm -I${LOCALBASE}/include \ -I${LOCALBASE}/include/level_zero \ -I${LOCALBASE}/include/librdkafka \ -fcommon -D__BSD_VISIBLE=1 LDFLAGS+= -L${LOCALBASE}/lib -lsysinfo -lprocstat -fcommon PROC2FIX= common/callerid.c common/fd.c common/fetch_config.c \ interfaces/proctrack.c \ plugins/acct_gather_energy/rapl/acct_gather_energy_rapl.c \ plugins/acct_gather_filesystem/lustre/acct_gather_filesystem_lustre.c \ plugins/burst_buffer/common/burst_buffer_common.c \ plugins/cgroup/v1/xcgroup.c plugins/cgroup/v2/cgroup_v2.c \ plugins/gpu/nvml/gpu_nvml.c \ plugins/job_container/tmpfs/job_container_tmpfs.c \ plugins/jobacct_gather/cgroup/jobacct_gather_cgroup.c \ plugins/jobacct_gather/common/common_jag.c \ plugins/jobacct_gather/linux/jobacct_gather_linux.c \ plugins/node_features/knl_generic/node_features_knl_generic.c \ plugins/proctrack/cgroup/proctrack_cgroup.c \ plugins/proctrack/cray_aries/proctrack_cray_aries.c \ plugins/proctrack/linuxproc/kill_tree.c \ plugins/proctrack/pgid/proctrack_pgid.c \ plugins/switch/cray_aries/scaling.c \ plugins/task/affinity/affinity.c slurmd/common/set_oomadj.c \ slurmd/common/xcpuinfo.c slurmd/slurmstepd/pdebug.c \ slurmd/slurmstepd/req.c LLD2FIX= api plugins/openapi sacctmgr sackd scontrol scrontab scrun \ slurmctld slurmd/slurmd squeue .include # Hack around nonfunctional --disable-gtktest flag pre-configure-GUI-off: ${REINPLACE_CMD} -e 's|min_gtk_version=.*|min_gtk_version=2000.0.0|' \ ${WRKSRC}/configure # SLURM's configure enables interactive jobs if pty.h exists. Replacing # #include with appropriate headers will therefore not work, so instead # add a pty.h for the build. pre-configure: ${CP} ${FILESDIR}/pty.h ${WRKSRC}/slurm ${REINPLACE_CMD} -e 's|sched_setaffinity|cpuset_setaffinity|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/configure .for src in ${PROC2FIX} ${REINPLACE_CMD} -e 's|"/proc|"/compat/linux/proc|g' \ -e 's|(/proc)|(/compat/linux/proc)|g' \ ${WRKSRC}/src/${src} .endfor @if ${WHICH} sbatch > /dev/null; then \ ${ECHO_CMD} "********************************************"; \ ${ECHO_CMD} "Build may fail while slurm-wlm is installed."; \ ${ECHO_CMD} "Deinstall slurm-wlm and run make again."; \ ${ECHO_CMD} "********************************************"; \ false; \ fi .if ${ARCH} == powerpc64le ${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-r -o|-r -m elf64lppc -o|' .elif ${ARCH} == powerpc64 ${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-r -o|-r -m elf64ppc -o|' .elif ${ARCH} == aarch64 ${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-r -o|-r -m aarch64elf -o|' .else ${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-r -o|-r -m elf_${ARCH} -o|' .endif ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|htmldir = \$${datadir.*$$|htmldir = @htmldir@|' post-install: ${INSTALL_DATA} ${WRKSRC}/etc/slurm.conf.example \ ${STAGEDIR}${PREFIX}/etc/slurm.conf.sample .include diff --git a/sysutils/synergy/Makefile b/sysutils/synergy/Makefile index 4abdef4c9faa..d17cb39a09e9 100644 --- a/sysutils/synergy/Makefile +++ b/sysutils/synergy/Makefile @@ -1,84 +1,84 @@ PORTNAME= synergy DISTVERSION= 1.15.1 DISTVERSIONSUFFIX= +r1 PORTEPOCH= 3 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Mouse and keyboard sharing utility WWW= https://symless.com/synergy LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libnotify.so:devel/libnotify \ libxkbfile.so:x11/libxkbfile USES= cmake compiler:c++14-lang cpe gnome localbase:ldflags pkgconfig qt:6 ssl xorg CPE_VENDOR= synergy-foss USE_QT= base tools:build -USE_GNOME= gdkpixbuf2 glib20 +USE_GNOME= gdkpixbuf glib20 USE_XORG= ice xtst x11 sm xext xinerama xrandr xi USE_GITHUB= yes GH_ACCOUNT= symless GH_TUPLE= google:googletest:18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6:google_googletest/ext/googletest \ mohabouje:WinToast:8abb85b:WinToast/ext/WinToast \ zeux:pugixml:9e382f9:pugixml/ext/pugixml CMAKE_ARGS= -DSYNERGY_REVISION:STRING=${PORTVERSION:S/.//g}00 # it expects a 8-digit hash CMAKE_OFF= BUILD_TESTS PORTEXAMPLES= synergy.conf.example synergy.conf.example-basic \ synergy.conf.example-advanced OPTIONS_DEFINE= AVAHI_LIBDNS EXAMPLES LEGACY OPTIONS_DEFAULT= AVAHI_LIBDNS OPTIONS_SUB= yes AVAHI_LIBDNS_DESC= Use libdns from avahi to avoid conflicts with KDE/Gnome AVAHI_LIBDNS_CFLAGS= `pkg-config --cflags avahi-compat-libdns_sd` AVAHI_LIBDNS_LDFLAGS= `pkg-config --libs avahi-compat-libdns_sd` AVAHI_LIBDNS_LIB_DEPENDS= libdns_sd.so:net/avahi-libdns AVAHI_LIBDNS_LDFLAGS_OFF= -ldns_sd AVAHI_LIBDNS_LIB_DEPENDS_OFF= libdns_sd.so:net/mDNSResponder LEGACY_DESC= Build the legacy GUI, synergyd, installer LEGACY_CONFIGURE_ENV_OFF= SYNERGY_NO_LEGACY=true LEGACY_USE= QT=gui post-patch: # Hardcoded path needs to be replaced with # --with-xkb-base defined in x11/keyboard-config @${REINPLACE_CMD} -e 's|/usr/share/X11/xkb|${PREFIX}/share/X11/xkb|' \ ${WRKSRC}/src/lib/synergy/unix/AppUtilUnix.cpp @${REINPLACE_CMD} -e 's|return "/etc"|return "${PREFIX}/etc"|' \ ${WRKSRC}/src/lib/arch/unix/ArchFileUnix.cpp do-install: # https://github.com/symless/synergy-core/issues/6895 .for f in synergyc synergys ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/syntool ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/doc/synergy.conf.example-basic ${STAGEDIR}${PREFIX}/etc/synergy.conf.sample # server config do-install-LEGACY-on: .for f in synergy synergyd ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin .endfor do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${BUILD_WRKSRC}/bin/unittests \ ${BUILD_WRKSRC}/bin/integtests .include diff --git a/sysutils/szyszka/Makefile b/sysutils/szyszka/Makefile index 2ba330c8f235..5c116b290334 100644 --- a/sysutils/szyszka/Makefile +++ b/sysutils/szyszka/Makefile @@ -1,208 +1,208 @@ PORTNAME= szyszka DISTVERSION= 3.0.0 PORTREVISION= 16 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Szyszka is fast and powerful file renamer WWW= https://github.com/qarmin/szyszka LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cargo gnome -USE_GNOME= glib20 gtk40 gdkpixbuf2 +USE_GNOME= glib20 gtk40 gdkpixbuf USE_GITHUB= yes GH_ACCOUNT= qarmin CARGO_CRATES= aho-corasick-1.0.1 \ android_system_properties-0.1.5 \ anyhow-1.0.71 \ arc-swap-1.6.0 \ autocfg-1.1.0 \ bitflags-1.3.2 \ block-0.1.6 \ block-buffer-0.10.4 \ bumpalo-3.13.0 \ cairo-rs-0.17.0 \ cairo-sys-rs-0.17.0 \ cc-1.0.79 \ cfg-expr-0.15.1 \ cfg-if-1.0.0 \ chrono-0.4.24 \ core-foundation-sys-0.8.4 \ cpufeatures-0.2.7 \ crossbeam-0.8.2 \ crossbeam-channel-0.5.8 \ crossbeam-deque-0.8.3 \ crossbeam-epoch-0.9.14 \ crossbeam-queue-0.3.8 \ crossbeam-utils-0.8.15 \ crypto-common-0.1.6 \ dashmap-5.4.0 \ deunicode-1.3.3 \ digest-0.10.7 \ directories-next-2.0.0 \ dirs-sys-next-0.1.2 \ displaydoc-0.2.4 \ either-1.8.1 \ field-offset-0.3.5 \ find-crate-0.6.3 \ fluent-0.16.0 \ fluent-bundle-0.15.2 \ fluent-langneg-0.13.0 \ fluent-syntax-0.11.0 \ futures-channel-0.3.28 \ futures-core-0.3.28 \ futures-executor-0.3.28 \ futures-io-0.3.28 \ futures-macro-0.3.28 \ futures-task-0.3.28 \ futures-util-0.3.28 \ gdk-pixbuf-0.17.0 \ gdk-pixbuf-sys-0.17.0 \ gdk4-0.6.3 \ gdk4-sys-0.6.3 \ generic-array-0.14.7 \ getrandom-0.2.9 \ gio-0.17.9 \ gio-sys-0.17.4 \ glib-0.17.9 \ glib-macros-0.17.9 \ glib-sys-0.17.4 \ gobject-sys-0.17.4 \ graphene-rs-0.17.1 \ graphene-sys-0.17.0 \ gsk4-0.6.3 \ gsk4-sys-0.6.3 \ gtk4-0.6.6 \ gtk4-macros-0.6.6 \ gtk4-sys-0.6.3 \ hashbrown-0.12.3 \ heck-0.4.1 \ hermit-abi-0.2.6 \ humansize-2.1.3 \ i18n-config-0.4.4 \ i18n-embed-0.13.9 \ i18n-embed-fl-0.6.7 \ i18n-embed-impl-0.8.1 \ iana-time-zone-0.1.56 \ iana-time-zone-haiku-0.1.2 \ indexmap-1.9.3 \ intl-memoizer-0.5.1 \ intl_pluralrules-7.0.2 \ is-docker-0.2.0 \ is-wsl-0.4.0 \ itoa-1.0.6 \ js-sys-0.3.63 \ jwalk-0.8.1 \ lazy_static-1.4.0 \ libc-0.2.144 \ libm-0.2.7 \ locale_config-0.3.0 \ lock_api-0.4.9 \ log-0.4.17 \ malloc_buf-0.0.6 \ memchr-2.5.0 \ memoffset-0.8.0 \ num-integer-0.1.45 \ num-traits-0.2.15 \ num_cpus-1.15.0 \ objc-0.2.7 \ objc-foundation-0.1.1 \ objc_id-0.1.1 \ once_cell-1.17.1 \ open-4.1.0 \ pango-0.17.4 \ pango-sys-0.17.0 \ parking_lot-0.12.1 \ parking_lot_core-0.9.7 \ pathdiff-0.2.1 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkg-config-0.3.27 \ proc-macro-crate-1.3.1 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.58 \ quote-1.0.27 \ rayon-1.7.0 \ rayon-core-1.11.0 \ redox_syscall-0.2.16 \ redox_users-0.4.3 \ regex-1.8.2 \ regex-syntax-0.7.2 \ rust-embed-6.6.1 \ rust-embed-impl-6.5.0 \ rust-embed-utils-7.5.0 \ rustc-hash-1.1.0 \ rustc_version-0.4.0 \ ryu-1.0.13 \ same-file-1.0.6 \ scopeguard-1.1.0 \ self_cell-0.10.2 \ semver-1.0.17 \ serde-1.0.163 \ serde_derive-1.0.163 \ serde_json-1.0.96 \ serde_spanned-0.6.2 \ sha2-0.10.6 \ slab-0.4.8 \ slugmin-1.0.2 \ smallvec-1.10.0 \ strsim-0.10.0 \ syn-1.0.109 \ syn-2.0.16 \ system-deps-6.1.0 \ target-lexicon-0.12.7 \ thiserror-1.0.40 \ thiserror-impl-1.0.40 \ time-0.1.45 \ tinystr-0.7.1 \ toml-0.5.11 \ toml-0.7.4 \ toml_datetime-0.6.2 \ toml_edit-0.19.10 \ type-map-0.4.0 \ typenum-1.16.0 \ unic-langid-0.9.1 \ unic-langid-impl-0.9.1 \ unicode-ident-1.0.8 \ version-compare-0.1.1 \ version_check-0.9.4 \ walkdir-2.3.3 \ wasi-0.10.0+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.86 \ wasm-bindgen-backend-0.2.86 \ wasm-bindgen-macro-0.2.86 \ wasm-bindgen-macro-support-0.2.86 \ wasm-bindgen-shared-0.2.86 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-0.48.0 \ windows-sys-0.45.0 \ windows-targets-0.42.2 \ windows-targets-0.48.0 \ windows_aarch64_gnullvm-0.42.2 \ windows_aarch64_gnullvm-0.48.0 \ windows_aarch64_msvc-0.42.2 \ windows_aarch64_msvc-0.48.0 \ windows_i686_gnu-0.42.2 \ windows_i686_gnu-0.48.0 \ windows_i686_msvc-0.42.2 \ windows_i686_msvc-0.48.0 \ windows_x86_64_gnu-0.42.2 \ windows_x86_64_gnu-0.48.0 \ windows_x86_64_gnullvm-0.42.2 \ windows_x86_64_gnullvm-0.48.0 \ windows_x86_64_msvc-0.42.2 \ windows_x86_64_msvc-0.48.0 \ winnow-0.4.6 PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/thefish/Makefile b/sysutils/thefish/Makefile index 4db26a090a17..c6eb7f58e23d 100644 --- a/sysutils/thefish/Makefile +++ b/sysutils/thefish/Makefile @@ -1,31 +1,31 @@ PORTNAME= thefish DISTVERSION= 0.6.8 CATEGORIES= sysutils MASTER_SITES= https://codeberg.org/BSDforge/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= portmaster@BSDforge.com COMMENT= Gtk+/ncurses rc.conf editor/management tool WWW= https://codeberg.org/BSDforge/${PORTNAME} LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 MAKE_ENV+= WITH_GTK=yes WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/thefish \ share/man/man1/thefish.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/thefish ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/thefish.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/sysutils/touchegg/Makefile b/sysutils/touchegg/Makefile index c3425f127dff..626dd8a188bb 100644 --- a/sysutils/touchegg/Makefile +++ b/sysutils/touchegg/Makefile @@ -1,39 +1,39 @@ PORTNAME= touchegg DISTVERSION= 2.0.17 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Multi-touch gesture recognizer WWW= https://github.com/JoseExposito/touchegg LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= libgudev>0:devel/libgudev LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libinotify.so:devel/libinotify \ libinput.so:x11/libinput \ libpugixml.so:textproc/pugixml \ libudev.so:devel/libudev-devd USES= cmake:testing compiler:c++17-lang desktop-file-utils gnome localbase:ldflags pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 xi xrandr xtst USE_GITHUB= yes GH_ACCOUNT= JoseExposito CMAKE_OFF= USE_SYSTEMD USE_SYSTEMD CMAKE_ARGS= -DCMAKE_INSTALL_FULL_DATAROOTDIR=${LOCALBASE}/etc \ -DCMAKE_INSTALL_DATAROOTDIR=etc LDFLAGS+= -linotify post-install: @${MV} \ ${STAGEDIR}${ETCDIR}/touchegg.conf \ ${STAGEDIR}${ETCDIR}/touchegg.conf.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/touchegg .include diff --git a/sysutils/xfburn/Makefile b/sysutils/xfburn/Makefile index a266d4aae3e0..e1e69f4fdd20 100644 --- a/sysutils/xfburn/Makefile +++ b/sysutils/xfburn/Makefile @@ -1,38 +1,38 @@ PORTNAME= xfburn PORTVERSION= 0.7.2 CATEGORIES= sysutils MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= CD/DVD burning tool for Xfce WWW= https://goodies.xfce.org/projects/applications/xfburn LICENSE= GPLv2 LIB_DEPENDS= libburn.so:devel/libburn \ libisofs.so:devel/libisofs \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= cdrdao:sysutils/cdrdao USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome \ pkgconfig tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool USE_XFCE= libexo GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-gudev OPTIONS_DEFINE= GSTREAMER NLS OPTIONS_DEFAULT= GSTREAMER OPTIONS_SUB= yes GSTREAMER_USES= gstreamer GSTREAMER_CONFIGURE_ENABLE= gstreamer GSTREAMER_USE= gstreamer=faac,flac,lame,vorbis,wavpack NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/sysutils/xfce4-battery-plugin/Makefile b/sysutils/xfce4-battery-plugin/Makefile index 4bce955991c2..ae3977149806 100644 --- a/sysutils/xfce4-battery-plugin/Makefile +++ b/sysutils/xfce4-battery-plugin/Makefile @@ -1,33 +1,33 @@ PORTNAME= xfce4-battery-plugin PORTVERSION= 1.1.6 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Battery monitor panel plugin for Xfce4 WWW= https://docs.xfce.org/panel-plugins/xfce4-battery-plugin/start LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= alias gettext-tools gmake gnome libtool pkgconfig tar:bzip2 \ xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_LDCONFIG= yes USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip SSP_UNSAFE= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/sysutils/xfce4-bsdcpufreq-plugin/Makefile b/sysutils/xfce4-bsdcpufreq-plugin/Makefile index b738f5fc6685..2dc233029823 100644 --- a/sysutils/xfce4-bsdcpufreq-plugin/Makefile +++ b/sysutils/xfce4-bsdcpufreq-plugin/Makefile @@ -1,31 +1,31 @@ PORTNAME= xfce4-bsdcpufreq-plugin PORTVERSION= 0.3.1 PORTREVISION= 4 CATEGORIES= sysutils xfce MAINTAINER= riggs@FreeBSD.org COMMENT= Displays the current CPU clock frequency in the panel LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gnome pkgconfig xfce USE_XFCE= libmenu panel -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 PLIST_FILES= lib/xfce4/panel/plugins/libbsdcpufreq.so \ share/xfce4/panel/plugins/bsdcpufreq.desktop USE_GITHUB= yes GH_ACCOUNT= riggs- GH_TAGNAME= 345edc2 do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins ${MKDIR} ${STAGEDIR}${PREFIX}/share/xfce4/panel/plugins ${INSTALL_LIB} ${WRKSRC}/libbsdcpufreq.so ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins ${INSTALL_DATA} ${WRKSRC}/bsdcpufreq.desktop ${STAGEDIR}${PREFIX}/share/xfce4/panel/plugins .include diff --git a/sysutils/xfce4-cpugraph-plugin/Makefile b/sysutils/xfce4-cpugraph-plugin/Makefile index 6da2c600d73d..3c377c7ad296 100644 --- a/sysutils/xfce4-cpugraph-plugin/Makefile +++ b/sysutils/xfce4-cpugraph-plugin/Makefile @@ -1,30 +1,30 @@ PORTNAME= xfce4-cpugraph-plugin PORTVERSION= 1.2.11 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Graphical representation of the CPU load WWW= https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin/start LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c++17-lang gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce USE_CXXSTD= c++17 -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel xfconf GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/sysutils/xfce4-diskperf-plugin/Makefile b/sysutils/xfce4-diskperf-plugin/Makefile index 81a6913f7062..63225d1dec7e 100644 --- a/sysutils/xfce4-diskperf-plugin/Makefile +++ b/sysutils/xfce4-diskperf-plugin/Makefile @@ -1,35 +1,35 @@ PORTNAME= xfce4-diskperf-plugin PORTVERSION= 2.7.1 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= danilo@FreeBSD.org COMMENT= Graphical representation of the disk IO WWW= https://docs.xfce.org/panel-plugins/xfce4-diskperf-plugin/start LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gnome gmake libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip LIBS+= -ldevstat OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime post-patch-NLS-off: @${REINPLACE_CMD} -e 's|[[:blank:]]po||' \ -e 's|po$$||' ${WRKSRC}/Makefile.in .include diff --git a/sysutils/xfce4-fsguard-plugin/Makefile b/sysutils/xfce4-fsguard-plugin/Makefile index 6e2f44399f78..cf391607e146 100644 --- a/sysutils/xfce4-fsguard-plugin/Makefile +++ b/sysutils/xfce4-fsguard-plugin/Makefile @@ -1,31 +1,31 @@ PORTNAME= xfce4-fsguard-plugin PORTVERSION= 1.1.4 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Panel plugin which displays free space of mountpoint WWW= https://docs.xfce.org/panel-plugins/xfce4-fsguard-plugin/start # COPYING file is wrong compared to license header LICENSE= BSD2CLAUSE LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/sysutils/xfce4-genmon-plugin/Makefile b/sysutils/xfce4-genmon-plugin/Makefile index 52617f9c186d..ed8bd0ac42a1 100644 --- a/sysutils/xfce4-genmon-plugin/Makefile +++ b/sysutils/xfce4-genmon-plugin/Makefile @@ -1,29 +1,29 @@ PORTNAME= xfce4-genmon-plugin PORTVERSION= 4.2.1 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Generic Monitor Xfce4 panel plugin WWW= https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin/start LICENSE= LGPL21 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libmenu panel xfconf GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/sysutils/xfce4-mount-plugin/Makefile b/sysutils/xfce4-mount-plugin/Makefile index 1ebe651c51aa..7d603d44a157 100644 --- a/sysutils/xfce4-mount-plugin/Makefile +++ b/sysutils/xfce4-mount-plugin/Makefile @@ -1,29 +1,29 @@ PORTNAME= xfce4-mount-plugin PORTVERSION= 1.1.7 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Mount and umount utility for the Xfce4 panel WWW= https://docs.xfce.org/panel-plugins/xfce4-mount-plugin/start LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile index 35446b8f0198..6d7baf4ad5c8 100644 --- a/sysutils/xfce4-netload-plugin/Makefile +++ b/sysutils/xfce4-netload-plugin/Makefile @@ -1,36 +1,36 @@ PORTNAME= xfce4-netload-plugin PORTVERSION= 1.4.2 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Network Load plugin for Xfce4 WWW= https://docs.xfce.org/panel-plugins/xfce4-netload-plugin/start LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's/ || defined \{0,1\}(__FreeBSD_kernel__)//' \ ${WRKSRC}/panel-plugin/net.c \ ${WRKSRC}/panel-plugin/net.h \ ${WRKSRC}/panel-plugin/os.h .include diff --git a/sysutils/xfce4-places-plugin/Makefile b/sysutils/xfce4-places-plugin/Makefile index 9c5ce0d02915..644d834ab934 100644 --- a/sysutils/xfce4-places-plugin/Makefile +++ b/sysutils/xfce4-places-plugin/Makefile @@ -1,31 +1,31 @@ PORTNAME= xfce4-places-plugin PORTVERSION= 1.8.4 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= File browser launcher for Xfce4 panel plugin WWW= https://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libnotify.so:devel/libnotify USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libexo libmenu panel xfconf USE_XORG= ice sm x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime .include diff --git a/sysutils/xfce4-power-manager/Makefile b/sysutils/xfce4-power-manager/Makefile index 59b806e9b0cf..e9e4553d4bc5 100644 --- a/sysutils/xfce4-power-manager/Makefile +++ b/sysutils/xfce4-power-manager/Makefile @@ -1,50 +1,50 @@ PORTNAME= xfce4-power-manager PORTVERSION= 4.20.0 CATEGORIES= sysutils xfce MASTER_SITES= XFCE DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Power manager for the Xfce Desktop WWW= https://gitlab.xfce.org/xfce/xfce4-power-manager LICENSE= GPLv2 BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libnotify.so:devel/libnotify \ libpolkit-gobject-1.so:sysutils/polkit \ libupower-glib.so:sysutils/upower USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libmenu panel xfconf USE_XORG= ice sm x11 xext xrandr xscrnsaver xtst GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-network-manager \ --enable-polkit \ --enable-x11 \ --enable-xfce4panel INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even OPTIONS_DEFINE= NLS WAYLAND OPTIONS_DEFAULT= WAYLAND OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .include diff --git a/sysutils/xfce4-settings/Makefile b/sysutils/xfce4-settings/Makefile index abb56ab6f749..fe4646f99926 100644 --- a/sysutils/xfce4-settings/Makefile +++ b/sysutils/xfce4-settings/Makefile @@ -1,63 +1,63 @@ PORTNAME= xfce4-settings PORTVERSION= 4.20.1 CATEGORIES= sysutils xfce MASTER_SITES= XFCE DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce settings management WWW= https://gitlab.xfce.org/xfce/xfce4-settings LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= hwdata>0:misc/hwdata LIB_DEPENDS= libcolord.so:graphics/colord \ libfontconfig.so:x11-fonts/fontconfig \ libxklavier.so:x11/libxklavier RUN_DEPENDS= hwdata>0:misc/hwdata USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome \ libtool pkgconfig python shebangfix tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libxml2:build +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2:build USE_XFCE= garcon libexo xfconf USE_XORG= x11 xcursor xext xi xorgproto xrandr SHEBANG_FILES= dialogs/mime-settings/helpers/xfce4-compose-mail GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-x11 \ --with-pnp-ids-path=${LOCALBASE}/share/hwdata/pnp.ids INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even OPTIONS_DEFINE= LIBINPUT NLS NOTIFY UPOWER WAYLAND OPTIONS_DEFAULT= LIBINPUT NOTIFY UPOWER WAYLAND OPTIONS_SUB= yes LIBINPUT_DESC= Libinput support UPOWER_DESC= Power management tasks LIBINPUT_BUILD_DEPENDS= xf86-input-libinput>0:x11-drivers/xf86-input-libinput LIBINPUT_CONFIGURE_ENABLE= xorg-libinput NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_ENABLE= libnotify UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_CONFIGURE_ENABLE= upower-glib WAYLAND_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= gtk-layer-shell wayland post-patch: @${REINPLACE_CMD} -e 's|Rodent|elementary-xfce|g' \ ${WRKSRC}/dialogs/appearance-settings/main.c @${REINPLACE_CMD} -e 's|IconThemeName" type="string" value="Adwaita|IconThemeName" type="string" value="elementary-xfce|' \ ${WRKSRC}/xfsettingsd/xsettings.xml .include diff --git a/sysutils/xfce4-systemload-plugin/Makefile b/sysutils/xfce4-systemload-plugin/Makefile index 9450e5d0039f..98f99720f19d 100644 --- a/sysutils/xfce4-systemload-plugin/Makefile +++ b/sysutils/xfce4-systemload-plugin/Makefile @@ -1,43 +1,43 @@ PORTNAME= xfce4-systemload-plugin PORTVERSION= 1.3.3 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= System Load plugin for Xfce4 panel WWW= https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin/start LICENSE= BSD2CLAUSE LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libpolkit-gobject-1.so:sysutils/polkit USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel xfconf GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-libgtop INSTALL_TARGET= install-strip SSP_UNSAFE= yes OPTIONS_DEFINE= NLS UPOWER # LIBGTOP OPTIONS_DEFAULT= UPOWER OPTIONS_SUB= yes # Enabling libgtop causes crashes, needs investigation #LIBGTOP_DESC= Use libgtop for network utilization monitoring UPOWER_DESC= Use upower for adapting update interval to power state #LIBGTOP_LIB_DEPENDS= libgtop-2.0.so:devel/libgtop #LIBGTOP_CONFIGURE_ENABLE= libgtop NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_CONFIGURE_ENABLE= upower .include diff --git a/sysutils/xfce4-wavelan-plugin/Makefile b/sysutils/xfce4-wavelan-plugin/Makefile index 2f15bb22c766..4794a6c65fac 100644 --- a/sysutils/xfce4-wavelan-plugin/Makefile +++ b/sysutils/xfce4-wavelan-plugin/Makefile @@ -1,29 +1,29 @@ PORTNAME= xfce4-wavelan-plugin PORTVERSION= 0.6.4 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Displays various information about a WaveLAN device WWW= https://docs.xfce.org/panel-plugins/xfce4-wavelan-plugin/start LICENSE= BSD3CLAUSE LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/sysutils/zeitgeist/Makefile b/sysutils/zeitgeist/Makefile index 066b4f563957..bd67d7167628 100644 --- a/sysutils/zeitgeist/Makefile +++ b/sysutils/zeitgeist/Makefile @@ -1,55 +1,55 @@ # NOTE: please keep zeitgeist in sysutils/qzeitgeist in sync PORTNAME= zeitgeist DISTVERSION= 1.0.4 PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= kwm@FreeBSD.org COMMENT= Event logging framework WWW= https://wiki.gnome.org/Projects/Zeitgeist LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= dee-tool:devel/dee \ rapper:textproc/raptor2 \ ${PYTHON_PKGNAMEPREFIX}rdflib>=4.1.1:textproc/py-rdflib@${PY_FLAVOR} LIB_DEPENDS= libharfbuzz.so:print/harfbuzz RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:devel/py-xdg@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/dbus/__init__.py:devel/py-dbus@${PY_FLAVOR} USES= autoreconf gettext gmake gnome libtool localbase:ldflags pathfix pkgconfig \ python sqlite tar:xz vala:build USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_TAGNAME= 8b89364c077b46734d193c5b8a80f83b0fc917dd -USE_GNOME= cairo gdkpixbuf2 glib20 intlhack \ +USE_GNOME= cairo gdkpixbuf glib20 intlhack \ introspection:build USE_LDCONFIG= yes USE_PYTHON= py3kplist GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-fts --disable-telepathy \ --disable-downloads-monitor INSTALL_TARGET= install-strip OPTIONS_SUB= yes OPTIONS_DEFINE= DATAHUB OPTIONS_DEFAULT=DATAHUB DATAHUB_DESC= Passive loggers for Zeitgeist DATAHUB_LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib DATAHUB_USE= gnome=gtk30 DATAHUB_CONFIGURE_ENABLE= datahub .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/textproc/fcitx5-gtk/Makefile b/textproc/fcitx5-gtk/Makefile index 61c8fc496f6d..d1bdab21aeb2 100644 --- a/textproc/fcitx5-gtk/Makefile +++ b/textproc/fcitx5-gtk/Makefile @@ -1,49 +1,49 @@ PORTNAME= fcitx5-gtk DISTVERSION= 5.1.3 CATEGORIES= textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= khng@FreeBSD.org COMMENT?= Fcitx support for GTK (${FLAVOR}) WWW= https://github.com/fcitx/fcitx5-gtk LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt LIB_DEPENDS?= libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS?= fcitx5-gtk-common>=${DISTVERSION}:textproc/fcitx5-gtk-common FLAVORS?= gtk3 gtk2 gtk4 FLAVOR?= ${FLAVORS:[1]} gtk2_PKGNAMESUFFIX= 2 gtk3_PKGNAMESUFFIX= 3 gtk4_PKGNAMESUFFIX= 4 USES= cmake compiler:c++17-lang gnome kde:5 pkgconfig \ tar:zst xorg -USE_GNOME= cairo gdkpixbuf2 glib20 introspection +USE_GNOME= cairo gdkpixbuf glib20 introspection USE_KDE= ecm USE_LDCONFIG= yes USE_XORG= x11 CMAKE_ON?= BUILD_ONLY_PLUGIN .if ${FLAVOR} == gtk3 CMAKE_OFF+= ENABLE_GTK2_IM_MODULE ENABLE_GTK4_IM_MODULE USE_GNOME+= gtk30 .elif ${FLAVOR} == gtk2 CMAKE_OFF+= ENABLE_GTK3_IM_MODULE ENABLE_GTK4_IM_MODULE USE_GNOME+= gtk20 .elif ${FLAVOR} == gtk4 CMAKE_OFF+= ENABLE_GTK2_IM_MODULE ENABLE_GTK3_IM_MODULE USE_GNOME+= gtk40 .endif PLIST?= ${PKGDIR}/pkg-plist.${FLAVOR} PLIST_SUB= VER=${PORTVERSION} PLIST_SUB= VER=${PORTVERSION} .include diff --git a/textproc/fcitx5/Makefile b/textproc/fcitx5/Makefile index bce50e1619b7..3751603fe940 100644 --- a/textproc/fcitx5/Makefile +++ b/textproc/fcitx5/Makefile @@ -1,77 +1,77 @@ PORTNAME= fcitx5 DISTVERSION= 5.1.11 PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ \ https://download.fcitx-im.org/data/:dict DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${SPELL_EN_DICT_TAR}:dict DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= khng@FreeBSD.org COMMENT= New implementation of the Fcitx IME framework WWW= https://github.com/fcitx/fcitx5 LICENSE= LGPL21+ BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ uthash>=0:devel/uthash LIB_DEPENDS= libdbus-1.so:devel/dbus \ libexpat.so:textproc/expat2 \ libfmt.so:devel/libfmt \ libjson-c.so:devel/json-c \ libuuid.so:misc/e2fsprogs-libuuid \ libuv.so:devel/libuv \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ xkeyboard-config>=0:x11/xkeyboard-config # gettext-tools for both build-time hard requirement and Fcitx5 helper shell scripts USES= cmake compiler:c++17-lang gettext-runtime \ gettext-tools:build,run gnome kde:5 pkgconfig tar:zst PLIST_SUB= VER=${DISTVERSION} CONFLICTS= zh-fcitx OPTIONS_DEFINE= ENCHANT WAYLAND X11 OPTIONS_DEFAULT= ENCHANT WAYLAND X11 OPTIONS_SUB= yes SUB_FILES= pkg-message X11_USES= xorg X11_USE= XORG=xcb,xkbfile X11_BUILD_DEPENDS= xcb-imdkit>=1.0.3:x11/xcb-imdkit X11_LIB_DEPENDS= libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-util.so:x11/xcb-util X11_RUN_DEPENDS= xcb-imdkit>=1.0.3:x11/xcb-imdkit WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols \ wayland-scanner:graphics/wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland ENCHANT_DESC= Dictionary/spellchecking framework ENCHANT_LIB_DEPENDS= libenchant-2.so:textproc/enchant2 ENCHANT_CMAKE_BOOL= ENABLE_ENCHANT CMAKE_ON= FCITX5_DOWNLOAD_DISALLOWED SYSTEM_USE_UTHASH CMAKE_OFF= ENABLE_TEST MAKE_ENV= FCITX5_DOWNLOAD_DISALLOWED=TRUE -USE_GNOME= cairo gdkpixbuf2 glib20 pango +USE_GNOME= cairo gdkpixbuf glib20 pango USE_KDE= ecm USE_LDCONFIG= yes # These must follow src/modules/spell/dict/CMakeLists.txt SPELL_EN_DICT_VER= 20121020 SPELL_EN_DICT_TAR= en_dict-${SPELL_EN_DICT_VER}.tar.gz post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${SPELL_EN_DICT_TAR} ${WRKSRC}/src/modules/spell/ .include diff --git a/textproc/gspell/Makefile b/textproc/gspell/Makefile index bf366472652e..d1bd5f1a4962 100644 --- a/textproc/gspell/Makefile +++ b/textproc/gspell/Makefile @@ -1,37 +1,37 @@ PORTNAME= gspell PORTVERSION= 1.10.0 PORTREVISION= 6 CATEGORIES= textproc MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Spell checking for GTK WWW= https://gitlab.gnome.org/GNOME/gspell LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libfribidi.so:converters/fribidi \ libicudata.so:devel/icu USES= gmake gnome iconv libtool pathfix pkgconfig tar:xz vala:build -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango \ +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 libxml2 pango \ introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-tools NLS_CONFIGURE_ENABLE= nls .include diff --git a/textproc/gtkspell3/Makefile b/textproc/gtkspell3/Makefile index b3c179c76ccf..f46e5091bfd4 100644 --- a/textproc/gtkspell3/Makefile +++ b/textproc/gtkspell3/Makefile @@ -1,28 +1,28 @@ PORTNAME= gtkspell3 PORTVERSION= 3.0.10 PORTREVISION= 2 CATEGORIES= textproc gnome MASTER_SITES= SF/gtkspell/${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= GTK 3 spell checking component WWW= https://gtkspell.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= iso-codes>0:misc/iso-codes LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libfribidi.so:converters/fribidi RUN_DEPENDS= iso-codes>0:misc/iso-codes USES= gettext gmake gnome localbase libtool pathfix pkgconfig tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 intlhack introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/ s|docs||' ${WRKSRC}/Makefile.in .include diff --git a/textproc/ibus-m17n/Makefile b/textproc/ibus-m17n/Makefile index 0be050c03753..4852d4e1f3b7 100644 --- a/textproc/ibus-m17n/Makefile +++ b/textproc/ibus-m17n/Makefile @@ -1,38 +1,38 @@ PORTNAME= ibus-m17n DISTVERSION= 1.4.35 CATEGORIES= textproc MAINTAINER= yuri@FreeBSD.org COMMENT= m17n IM engine for IBus framework WWW= https://github.com/ibus/ibus-m17n LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libibus-1.0.so:textproc/ibus \ libm17n.so:devel/m17n-lib \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= ibus-daemon:textproc/ibus PORTSCOUT= limit:^[0-9]+\.[0-9].*$$ USES= autoreconf gmake gnome libtool pkgconfig -USE_GNOME= glib20 gtk20 gtk30 atk gdkpixbuf2 cairo pango intltool +USE_GNOME= glib20 gtk20 gtk30 atk gdkpixbuf cairo pango intltool USE_GITHUB= yes GH_ACCOUNT= ibus GNU_CONFIGURE= yes GLIB_SCHEMAS= org.freedesktop.ibus.engine.m17n.gschema.xml OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|/usr/share/m17n|$${pkgdatadir}|g' \ ${WRKSRC}/src/m17n.xml.in* .include diff --git a/textproc/lasem/Makefile b/textproc/lasem/Makefile index f0a0692a8dc1..b2893c0c165c 100644 --- a/textproc/lasem/Makefile +++ b/textproc/lasem/Makefile @@ -1,28 +1,28 @@ PORTNAME= lasem PORTVERSION= 0.5.1 PORTREVISION= 3 CATEGORIES= textproc gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= SVG/Mathml renderer and editor WWW= https://wiki.gnome.org/Projects/Lasem OPTIONS_DEFINE= DOCS LICENSE= GPLv2 RUN_DEPENDS= stixfonts>0:x11-fonts/stix-fonts GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz -USE_GNOME= glib20 pango intltool gdkpixbuf2 libxml2 introspection:build +USE_GNOME= glib20 pango intltool gdkpixbuf libxml2 introspection:build CONFIGURE_ARGS= --disable-gtk-doc-html \ --without-html-dir INSTALL_TARGET= install-strip MAKE_ARGS= lasemdocdir=${DOCSDIR} .include diff --git a/textproc/libfo/Makefile b/textproc/libfo/Makefile index 0ff59a7d58c4..b23c6f5880a4 100644 --- a/textproc/libfo/Makefile +++ b/textproc/libfo/Makefile @@ -1,38 +1,38 @@ PORTNAME= libfo PORTVERSION= 0.6.3 DISTVERSIONPREFIX= v PORTREVISION= 4 CATEGORIES= textproc MAINTAINER= hrs@FreeBSD.org COMMENT= XSL formatter library for xmlroff WWW= http://xmlroff.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/catalog.xml:textproc/docbook-xsl \ xmlcatmgr:textproc/xmlcatmgr LIB_DEPENDS= libcairo.so:graphics/cairo \ libfreetype.so:print/freetype2 CONFLICTS_INSTALL= xmlroff-0.6.[12] xmlroff-0.6.2_[12345] USES= autoreconf gettext gmake gnome localbase libtool pathfix pkgconfig USE_GNOME= libxslt libxml2 glib20 pango \ - librsvg2 gdkpixbuf2 + librsvg2 gdkpixbuf USE_GITHUB= yes GH_PROJECT= xmlroff GH_ACCOUNT= xmlroff USE_LDCONFIG= yes WRKSRC_SUBDIR= xmlroff GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk-doc \ --disable-gp INSTALL_TARGET= install-strip post-patch: ${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/libfo/fo-libfo-basic.h .include diff --git a/textproc/libinfinity/Makefile b/textproc/libinfinity/Makefile index 5d42498c2cf4..ea6b7c94d0c4 100644 --- a/textproc/libinfinity/Makefile +++ b/textproc/libinfinity/Makefile @@ -1,37 +1,37 @@ PORTNAME= libinfinity DISTVERSION= 0.7.2 CATEGORIES= textproc MASTER_SITES= https://github.com/gobby/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= nxjoseph@protonmail.com COMMENT= Collaborative editing library WWW= https://github.com/gobby/libinfinity LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gtkdocize:textproc/gtk-doc LIB_DEPENDS= libatk-1.0.so:accessibility/at-spi2-core \ libavahi-client.so:net/avahi-app \ libdaemon.so:devel/libdaemon \ libgnutls.so:security/gnutls \ libgsasl.so:security/libgsasl \ libharfbuzz.so:print/harfbuzz USES= gettext gmake gnome libtool:build pathfix pkgconfig -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool libxml2 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libxml2 pango USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip post-install: @cd ${STAGEDIR}${PREFIX}/bin && \ ${MV} infinoted-0.7 \ infinoted @cd ${STAGEDIR}${PREFIX}/share/man/man1 && \ ${MV} infinoted-0.7.1 \ infinoted.1 .include diff --git a/textproc/uim-gtk2/Makefile b/textproc/uim-gtk2/Makefile index e78ef1908d60..73d539e550e9 100644 --- a/textproc/uim-gtk2/Makefile +++ b/textproc/uim-gtk2/Makefile @@ -1,28 +1,28 @@ PKGNAMESUFFIX= -gtk2 COMMENT= GTK 2.x modules of uim input method -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 LIB_DEPENDS= libuim.so:textproc/uim \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz MASTERDIR= ${.CURDIR}/../../textproc/uim PKGDIR= ${.CURDIR} CONFIGURE_ARGS= --with-gtk2 --enable-pref UIM_SLAVE= yes .if defined(WITHOUT_X11) IGNORE= requires X11 .endif do-build: (cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-x-util.la libuim-counted-init.la) (cd ${WRKSRC}/gtk2 && ${MAKE_CMD}) do-install: (cd ${WRKSRC}/gtk2 && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip) .include "${MASTERDIR}/Makefile" diff --git a/textproc/uim-gtk3/Makefile b/textproc/uim-gtk3/Makefile index 78ec3659df57..fe28b8128d7f 100644 --- a/textproc/uim-gtk3/Makefile +++ b/textproc/uim-gtk3/Makefile @@ -1,34 +1,34 @@ PKGNAMESUFFIX= -gtk3 COMMENT= GTK 3.x modules of uim input method -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 LIB_DEPENDS= libuim.so:textproc/uim \ libharfbuzz.so:print/harfbuzz MASTERDIR= ${.CURDIR}/../../textproc/uim PKGDIR= ${.CURDIR} CONFIGURE_ARGS= --with-gtk3 --enable-pref --enable-default-toolkit=gtk3 UIM_SLAVE= yes .if defined(WITHOUT_X11) IGNORE= requires X11 .endif do-build: (cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-x-util.la libuim-counted-init.la) (cd ${WRKSRC}/gtk3/immodule && ${MAKE_CMD}) (cd ${WRKSRC}/gtk3/pad && ${MAKE_CMD}) (cd ${WRKSRC}/gtk3/pref && ${MAKE_CMD}) (cd ${WRKSRC}/gtk3/switcher && ${MAKE_CMD}) (cd ${WRKSRC}/gtk3/toolbar && ${MAKE_CMD}) do-install: (cd ${WRKSRC}/gtk3/immodule && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip) (cd ${WRKSRC}/gtk3/pad && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip) (cd ${WRKSRC}/gtk3/pref && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip) (cd ${WRKSRC}/gtk3/switcher && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip) (cd ${WRKSRC}/gtk3/toolbar && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip) .include "${MASTERDIR}/Makefile" diff --git a/textproc/uim/Makefile b/textproc/uim/Makefile index 203bf875f4ec..40ec99fb94bc 100644 --- a/textproc/uim/Makefile +++ b/textproc/uim/Makefile @@ -1,139 +1,139 @@ PORTNAME= uim PORTVERSION= 1.9.0 CATEGORIES?= textproc .if !defined(UIM_SLAVE) && defined(WITHOUT_X11) PKGNAMESUFFIX= -nox11 .endif MAINTAINER= nobutaka@FreeBSD.org COMMENT?= Input method library WWW= https://github.com/uim/uim LICENSE= BSD3CLAUSE GPLv2+ GPLv3+ LGPL21+ PD LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_riscv64= fails to configure: ./include/private/gcconfig.h:492:5: The collector has not been ported to this machine/OS combination USES+= autoreconf:build,2.69 gettext gmake gnome iconv libedit \ libtool pathfix pkgconfig sqlite USE_LDCONFIG= yes USE_GNOME+= glib20 intltool USE_GITHUB= yes GH_TUPLE= uim:sigscheme:ccf1f92:sigscheme \ uim:libgcroots:f019129:libgcroots GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+= --enable-maintainer-mode OPTIONS_DEFINE= DOCS X11 OPTIONS_DEFAULT= X11 .include .if ${PORT_OPTIONS:MX11} USES+= xorg USE_XORG+= x11 xext LIB_DEPENDS+= libXft.so:x11-fonts/libXft CONFIGURE_ARGS+= --with-x --with-xft .endif .if !defined(UIM_SLAVE) USES+= perl5 ruby:build USE_GNOME+= librsvg2:build USE_PERL5= build RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:japanese/skk-jisyo .if ${PORT_OPTIONS:MX11} -USE_GNOME+= cairo gdkpixbuf2 gtk30 +USE_GNOME+= cairo gdkpixbuf gtk30 LIB_DEPENDS+= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz CONFIGURE_ARGS+= --with-gtk3 --enable-default-toolkit=gtk3 .endif CONFIGURE_ARGS+= --enable-emacs --with-sj3 --with-canna --with-prime .endif CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include .if !defined(UIM_SLAVE) DOCSDIR_JA= ${PREFIX}/share/doc/ja/uim DOCSDIR_SIGSCHEME= ${PREFIX}/share/doc/uim/sigscheme PLIST_SUB+= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}" \ DOCSDIR_SIGSCHEME="${DOCSDIR_SIGSCHEME:S,^${PREFIX}/,,}" .endif .if empty(PORT_OPTIONS:MX11) PLIST_SUB+= X11="@comment " .else PLIST_SUB+= X11="" .endif .include .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-storage=fatty .endif .for _x in x xft gtk2 gtk3 qt5 qt6 anthy canna m17nlib prime scim dict .if ${CONFIGURE_ARGS:M--with-${_x}} == "" CONFIGURE_ARGS+=--without-${_x} .endif .endfor .for _x in gnome-applet kde-applet emacs pref .if ${CONFIGURE_ARGS:M--enable-${_x}} == "" CONFIGURE_ARGS+=--disable-${_x} .endif .endfor post-extract: ${CP} -R ${WRKSRC_sigscheme}/* ${WRKSRC}/sigscheme ${MKDIR} ${WRKSRC}/sigscheme/libgcroots ${CP} -R ${WRKSRC_libgcroots}/* ${WRKSRC}/sigscheme/libgcroots post-patch: .for f in predict-custom.scm predict-look-skk.scm ${REINPLACE_CMD} -e 's|%PREFIX%|${PREFIX}|g' ${WRKSRC}/scm/${f} .endfor pre-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh do-build: .if !defined(UIM_SLAVE) .for d in replace sigscheme uim scm xim po fep emacs pixmaps tables cd ${WRKSRC}/${d} && ${MAKE_CMD} .endfor .if ${PORT_OPTIONS:MX11} cd ${WRKSRC}/gtk3/candwin && ${MAKE_CMD} .endif .endif do-install: .if !defined(UIM_SLAVE) cd ${WRKSRC} && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-data-am .for d in sigscheme uim scm xim fep emacs pixmaps tables cd ${WRKSRC}/${d} && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip .endfor cd ${WRKSRC}/po && ${MAKE_CMD} DESTDIR=${STAGEDIR} install .if ${PORT_OPTIONS:MX11} cd ${WRKSRC}/gtk3/candwin && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip .endif .endif .if !defined(UIM_SLAVE) post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/helperdata ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR_JA} ${INSTALL_DATA} ${WRKSRC}/doc/KEY ${STAGEDIR}${DOCSDIR}/KEY ${INSTALL_DATA} ${WRKSRC}/fep/README ${STAGEDIR}${DOCSDIR}/README.fep ${INSTALL_DATA} ${WRKSRC}/fep/README ${STAGEDIR}${DOCSDIR}/README.key ${INSTALL_DATA} ${WRKSRC}/fep/README.ja ${STAGEDIR}${DOCSDIR_JA}/README.fep ${INSTALL_DATA} ${WRKSRC}/xim/README ${STAGEDIR}${DOCSDIR}/README.xim .endif .include diff --git a/textproc/xfce4-dict-plugin/Makefile b/textproc/xfce4-dict-plugin/Makefile index 3d27f676f606..a8f974931ef6 100644 --- a/textproc/xfce4-dict-plugin/Makefile +++ b/textproc/xfce4-dict-plugin/Makefile @@ -1,34 +1,34 @@ PORTNAME= xfce4-dict PORTVERSION= 0.8.8 CATEGORIES= textproc xfce MASTER_SITES= XFCE/apps PKGNAMESUFFIX= -plugin DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce4 plugin to query different dictionaries WWW= https://goodies.xfce.org/projects/applications/xfce4-dict LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool USE_XFCE= libmenu panel USE_XORG= x11 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/textproc/xmlroff/Makefile b/textproc/xmlroff/Makefile index 99160ca30ced..012f8d80f34b 100644 --- a/textproc/xmlroff/Makefile +++ b/textproc/xmlroff/Makefile @@ -1,37 +1,37 @@ PORTNAME= xmlroff PORTVERSION= 0.6.3 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= textproc MAINTAINER= hrs@FreeBSD.org COMMENT= XSL formatter that produces PDF and PostScript WWW= http://xmlroff.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= libfo>=0.6.2:textproc/libfo RUN_DEPENDS:= ${BUILD_DEPENDS} USES= autoreconf gmake gnome gettext localbase libtool pkgconfig USE_GITHUB= yes USE_GNOME= libartlgpl2 pango glib20 \ - libxslt libxml2 gdkpixbuf2 + libxslt libxml2 gdkpixbuf GH_ACCOUNT= xmlroff GH_PROJECT= xmlroff WRKSRC_SUBDIR= ${PORTNAME} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc --enable-man \ --disable-gp INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS DOCS_CONFIGURE_ENABLE= gtk-doc DOCS_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-doc.pc:textproc/gtk-doc post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/docs/Makefile.am .include diff --git a/www/badwolf/Makefile b/www/badwolf/Makefile index b46cb0e90b6f..9241584afa82 100644 --- a/www/badwolf/Makefile +++ b/www/badwolf/Makefile @@ -1,47 +1,47 @@ PORTNAME= badwolf DISTVERSION= 1.3.0 PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://hacktivis.me/releases/ MAINTAINER= DtxdF@disroot.org COMMENT= Minimalist and privacy-oriented WebKitGTK browser WWW= https://hacktivis.me/projects/badwolf LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 USES= desktop-file-utils gnome ninja pkgconfig -USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 pango +USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 pango HAS_CONFIGURE= yes CONFIGURE_ENV= WITH_WEBKITGTK=4.0 OPTIONS_DEFINE= GSTREAMER NLS OPTIONS_DEFAULT= GSTREAMER LIBSOUP OPTIONS_SINGLE= URI_PARSER OPTIONS_SINGLE_URI_PARSER= GURI LIBSOUP OPTIONS_SUB= yes GURI_DESC= Use GUri from glib-2.0 LIBSOUP_DESC= Use libsoup URI_PARSER_DESC= URI PARSER GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,good,libav GURI_CONFIGURE_ENV= WITH_URI_PARSER=guri LIBSOUP_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup LIBSOUP_CONFIGURE_ENV= WITH_URI_PARSER=libsoup2 NLS_USES= gettext NLS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-configure GURI_USE_GNOME= glib20 LIBAV_USE_GSTREAMER= libav post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/www/bluefish/Makefile b/www/bluefish/Makefile index 13285049705d..b89a66afebab 100644 --- a/www/bluefish/Makefile +++ b/www/bluefish/Makefile @@ -1,56 +1,56 @@ PORTNAME= bluefish DISTVERSION= 2.2.16 CATEGORIES= www editors MASTER_SITES= https://www.bennewitz.com/bluefish/stable/source/ \ SF MAINTAINER= eduardo@FreeBSD.org COMMENT= HTML editor designed for the experienced web designer WWW= http://bluefish.openoffice.nl/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libharfbuzz.so:print/harfbuzz \ libpcre2-8.so:devel/pcre2 USES= desktop-file-utils gettext gmake gnome libtool localbase \ pkgconfig python shared-mime-info shebangfix tar:bzip2 -USE_GNOME= cairo gdkpixbuf2 intltool libxml2 +USE_GNOME= cairo gdkpixbuf intltool libxml2 SHEBANG_FILES= data/css_decompressor data/cssmin.py data/json_prettyprint.py \ data/jsmin.py data/lorem-ipsum-generator \ src/plugin_zencoding/zencoding/actions/*.py \ src/plugin_zencoding/zencoding/filters/*.py \ src/plugin_zencoding/zencoding/*.py GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-update-databases \ --with-freedesktop_org-menu=${PREFIX}/share/applications \ --with-freedesktop_org-mime=${PREFIX}/share/mime \ --with-icon-path=${PREFIX}/share/pixmaps INSTALL_TARGET= install-strip PORTSCOUT= skipv:2.2.15fp OPTIONS_DEFINE= DEBUG DOCS NLS TIDY OPTIONS_DEFAULT= GTK3 OPTIONS_SINGLE= TOOLKIT OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3 OPTIONS_SUB= yes TOOLKIT_DESC= GTK toolkit DEBUG_CONFIGURE_ENABLE= debugging-output GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_ON= --with-gtk2=yes GTK3_LIB_DEPENDS= libgucharmap_2_90.so:deskutils/gucharmap GTK3_USE= GNOME=gtk30 NLS_CONFIGURE_ENABLE= nls TIDY_RUN_DEPENDS= tidy4:www/tidy .include diff --git a/www/castor/Makefile b/www/castor/Makefile index fdd21dcab793..56a063532d57 100644 --- a/www/castor/Makefile +++ b/www/castor/Makefile @@ -1,143 +1,143 @@ PORTNAME= castor DISTVERSION= 0.8.16 PORTREVISION= 42 CATEGORIES= www MASTER_SITES= https://git.sr.ht/~julienxx/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= kraileth@elderlinux.org COMMENT= Browser for text-based protocols like Gemini and Gopher using GTK WWW= https://git.sr.ht/~julienxx/castor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cargo desktop-file-utils gnome ssl -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 CARGO_CRATES= aho-corasick-0.7.13 \ ansi-parser-0.6.5 \ arrayref-0.3.6 \ arrayvec-0.5.1 \ atk-0.8.0 \ atk-sys-0.9.1 \ autocfg-1.0.1 \ base64-0.12.3 \ bitflags-1.2.1 \ blake2b_simd-0.5.10 \ cairo-rs-0.8.1 \ cairo-sys-rs-0.9.2 \ cc-1.0.60 \ cfg-if-0.1.10 \ constant_time_eq-0.1.5 \ core-foundation-0.7.1 \ core-foundation-sys-0.7.2 \ crossbeam-utils-0.7.2 \ dirs-3.0.1 \ dirs-sys-0.3.5 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ futures-0.3.6 \ futures-channel-0.3.6 \ futures-core-0.3.6 \ futures-executor-0.3.6 \ futures-io-0.3.6 \ futures-macro-0.3.6 \ futures-task-0.3.6 \ futures-util-0.3.6 \ gdk-0.12.1 \ gdk-pixbuf-0.8.0 \ gdk-pixbuf-sys-0.9.1 \ gdk-sys-0.9.1 \ getrandom-0.1.15 \ gio-0.8.1 \ gio-sys-0.9.1 \ glib-0.9.3 \ glib-macros-0.10.1 \ glib-sys-0.9.1 \ gobject-sys-0.9.1 \ gtk-0.8.0 \ gtk-sys-0.9.2 \ idna-0.2.0 \ lazy_static-1.4.0 \ libc-0.2.79 \ linkify-0.4.0 \ log-0.4.11 \ matches-0.1.8 \ memchr-2.3.3 \ native-tls-0.2.4 \ nom-4.2.3 \ once_cell-1.4.1 \ open-1.4.0 \ openssl-0.10.30 \ openssl-probe-0.1.2 \ openssl-sys-0.9.58 \ pango-0.8.0 \ pango-sys-0.9.1 \ percent-encoding-2.1.0 \ pkg-config-0.3.18 \ pin-project-0.4.26 \ pin-project-internal-0.4.26 \ pin-utils-0.1.0 \ proc-macro2-1.0.24 \ proc-macro-hack-0.5.18 \ proc-macro-nested-0.1.6 \ ppv-lite86-0.2.9 \ quote-1.0.7 \ rand-0.7.3 \ rand_chacha-0.2.2 \ rand_core-0.5.1 \ rand_hc-0.2.0 \ redox_syscall-0.1.57 \ redox_users-0.3.5 \ regex-1.3.9 \ regex-syntax-0.6.18 \ remove_dir_all-0.5.3 \ rust-argon2-0.8.2 \ schannel-0.1.19 \ security-framework-0.4.4 \ security-framework-sys-0.4.3 \ serde-1.0.116 \ serde_derive-1.0.116 \ slab-0.4.2 \ syn-1.0.42 \ system-deps-1.3.2 \ tempfile-3.1.0 \ textwrap-0.12.1 \ tinyvec-0.3.4 \ thiserror-1.0.21 \ thread_local-1.0.1 \ toml-0.5.6 \ unicode-bidi-0.3.4 \ unicode-normalization-0.1.13 \ unicode-width-0.1.8 \ unicode-xid-0.2.1 \ url-2.1.1 \ vcpkg-0.2.10 \ version_check-0.1.5 \ wasi-0.9.0+wasi-snapshot-preview1 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 PLIST_FILES= bin/castor \ share/applications/Castor.desktop \ share/examples/castor/castor_settings.toml.example \ share/pixmaps/org.typed-hole.castor.svg SUB_FILES= pkg-message .include .if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl} || ${SSL_DEFAULT:Mopenssl3*} BROKEN_SSL= base openssl openssl31 BROKEN_SSL_REASON= Fails to detect OpenSSL 3.0.0 library .endif post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/castor ${INSTALL_DATA} ${WRKSRC}/data/Castor.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/data/castor_settings.toml.example ${STAGEDIR}${PREFIX}/share/examples/castor ${INSTALL_DATA} ${WRKSRC}/data/org.typed-hole.castor.svg ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/www/chromium/Makefile b/www/chromium/Makefile index b8b453e578ad..b0506e967b4d 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,383 +1,383 @@ PORTNAME= chromium PORTVERSION= 134.0.6998.88 PORTREVISION= 1 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:external \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ pulseaudio-${PULSEV}.tar.gz:pulseaudio MAINTAINER= chromium@FreeBSD.org COMMENT= Google web browser based on WebKit WWW= https://www.chromium.org/Home LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 i386 BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ bindgen:devel/rust-bindgen-cli \ gperf:devel/gperf \ flock:sysutils/flock \ node:www/node \ rustc:lang/rust \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/va/va.h:multimedia/libva \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/Qt5Core.pc:devel/qt5-core \ ${LOCALBASE}/libdata/pkgconfig/Qt5Widgets.pc:x11-toolkits/qt5-widgets LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic USES= bison compiler:c++17-lang cpe desktop-file-utils gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja perl5 pkgconfig \ python:build qt:5 shebangfix tar:xz xorg CPE_VENDOR= google CPE_PRODUCT= chrome USE_GL= gbm gl -USE_GNOME= atk dconf gdkpixbuf2 glib20 gtk30 libxml2 libxslt +USE_GNOME= atk dconf gdkpixbuf glib20 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst USE_QT= buildtools:build SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper #buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python3=${PYTHON_CMD} \ moc=${PREFIX}/bin/moc-qt5 # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_nacl=false \ enable_remoting=false \ enable_widevine=true \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles # FreeBSD Chromium Api Key # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . # Note: these are for FreeBSD use ONLY. For your own distribution, # please get your own set of keys. GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" SUB_FILES= chromium-browser.desktop chrome SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST WIDEVINE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO ALSA PULSEAUDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false WIDEVINE_DESC= Depend on foreign-cdm to enable playback of DRM content WIDEVINE_RUN_DEPENDS= foreign-cdm>0:www/foreign-cdm .include "Makefile.tests" TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} TEST_ALL_TARGET= ${TEST_TARGETS} .include .include # for COMPILER_VERSION .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} # - swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only # - map ffmpeg target to ${ARCH} .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == amd64 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Chromium, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz-ng libdrm libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${PREFIX}/share/man/man1/chrome.1 @${SED} -i "" -e 's,\@\@PACKAGE\@\@,chromium,g;s,\@\@MENUNAME\@\@,Chromium Web Browser,g' \ ${STAGEDIR}${PREFIX}/share/man/man1/chrome.1 ${CP} ${WRKSRC}/chrome/app/theme/chromium/product_logo_22_mono.png ${WRKSRC}/chrome/app/theme/chromium/product_logo_22.png .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png .endfor ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} .for d in protoc mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor .for d in snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ ${STAGEDIR}${DATADIR} # ANGLE, EGL, Vk .for f in libEGL.so libGLESv2.so libVkICD_mock_icd.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .if ${BUILDTYPE} == Debug ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libVkLayer_khronos_validation.so ${STAGEDIR}${DATADIR} .endif # SwiftShader .if ${ARCH} != aarch64 ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/vk_swiftshader_icd.json ${STAGEDIR}${DATADIR} .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${PREFIX}/bin/chromedriver do-test-TEST-on: .for t in ${TEST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} .endfor .include diff --git a/www/deforaos-surfer/Makefile b/www/deforaos-surfer/Makefile index 317846b93925..480b9397ab64 100644 --- a/www/deforaos-surfer/Makefile +++ b/www/deforaos-surfer/Makefile @@ -1,47 +1,47 @@ PORTNAME= surfer PORTVERSION= 0.3.1 PORTREVISION= 4 CATEGORIES= www MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Surfer/ PKGNAMEPREFIX= deforaos- DISTNAME= Surfer-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop web browser WWW= https://www.defora.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ libharfbuzz.so:print/harfbuzz \ libsoup-2.4.so:devel/libsoup \ libSystem.so:devel/deforaos-libsystem \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 USES= desktop-file-utils gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 MAKE_ARGS= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ xsltproc:textproc/libxslt NLS_USES= gettext post-patch-DOCS-off: ${REINPLACE_CMD} 's|= data doc|= data|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|data po src|data src|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .include diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index 126c122590d4..94c481a017ea 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -1,47 +1,47 @@ PORTNAME= epiphany PORTVERSION= 47.3.1 CATEGORIES= www gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Extremely lightweight and simple web browser for GNOME WWW= https://www.gnome.org/projects/epiphany/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ iso-codes>=0:misc/iso-codes \ itstool:textproc/itstool LIB_DEPENDS= libgcr-4.so:security/gcr \ libgmp.so:math/gmp \ libjson-glib-1.0.so:devel/json-glib \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 \ libnettle.so:security/nettle \ libportal-gtk4.so:deskutils/libportal-gtk4 \ libwebkitgtk-6.0.so:www/webkit2-gtk@60 RUN_DEPENDS= gnome-icon-theme-symbolic>=0:x11-themes/gnome-icon-theme-symbolic \ gnome-icon-theme>=0:misc/gnome-icon-theme \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ iso-codes>=0:misc/iso-codes PORTSCOUT= limitw:1,even USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome \ gstreamer libarchive localbase:ldflags meson pkgconfig python \ shebangfix sqlite tar:xz xorg CPE_VENDOR= gnome -USE_GNOME= cairo gdkpixbuf2 glib20 gtk40 intltool libadwaita libxml2 libxslt +USE_GNOME= cairo gdkpixbuf glib20 gtk40 intltool libadwaita libxml2 libxslt USE_XORG= x11 USE_LDCONFIG= yes MESON_ARGS= -Db_lundef=false \ -Dunit_tests=disabled GLIB_SCHEMAS= org.gnome.Epiphany.enums.xml \ org.gnome.epiphany.gschema.xml PLIST_SUB+= EPHY_VERSION=${PORTVERSION:R} .include diff --git a/www/iridium/Makefile b/www/iridium/Makefile index 3861a92f0153..ad84147b2d26 100644 --- a/www/iridium/Makefile +++ b/www/iridium/Makefile @@ -1,356 +1,356 @@ PORTNAME= iridium PORTVERSION= 2025.02.133.1 PORTREVISION= 2 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland MASTER_SITES= https://downloads.iridiumbrowser.de/source/ \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= -browser DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ pulseaudio-${PULSEV}.tar.gz:pulseaudio MAINTAINER= chromium@FreeBSD.org COMMENT= Iridium browser WWW= https://iridiumbrowser.de/ LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 i386 BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ bindgen:devel/rust-bindgen-cli \ gperf:devel/gperf \ flock:sysutils/flock \ node:www/node \ rustc:lang/rust \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/va/va.h:multimedia/libva \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/Qt5Core.pc:devel/qt5-core \ ${LOCALBASE}/libdata/pkgconfig/Qt5Widgets.pc:x11-toolkits/qt5-widgets LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libepoll-shim.so:devel/libepoll-shim \ libffi.so:devel/libffi \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic USES= bison compiler:c++17-lang cpe desktop-file-utils gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja perl5 pkgconfig \ python:build qt:5 shebangfix tar:xz xorg CPE_VENDOR= google CPE_PRODUCT= chrome USE_GL= gbm gl -USE_GNOME= atk dconf gdkpixbuf2 glib20 gtk30 libxml2 libxslt +USE_GNOME= atk dconf gdkpixbuf glib20 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst USE_QT= buildtools:build SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python3=${PYTHON_CMD} \ moc=${PREFIX}/bin/moc-qt5 # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ chrome_pgo_phase=0 \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_nacl=false \ enable_remoting=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles SUB_FILES= iridium-browser.desktop iridium SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS KERBEROS PIPEWIRE SNDIO ALSA PULSEAUDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false .include .include # for COMPILER_VERSION .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} # - swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only # - map ffmpeg target to ${ARCH} .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == amd64 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Iridium, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz-ng libdrm libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Iridium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${PREFIX}/share/man/man1/iridium.1 @${SED} -i "" -e 's,\@\@PACKAGE\@\@,chromium,g;s,\@\@MENUNAME\@\@,Iridium Web Browser,g' \ ${STAGEDIR}${PREFIX}/share/man/man1/iridium.1 ${CP} ${WRKSRC}/chrome/app/theme/chromium/product_logo_22_mono.png ${WRKSRC}/chrome/app/theme/chromium/product_logo_22.png .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/iridium.png .endfor ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} .for d in protoc mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor .for d in snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR}/iridium cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/iridium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/iridium ${STAGEDIR}${PREFIX}/bin # ANGLE, EGL, Vk .for f in libEGL.so libGLESv2.so libVkICD_mock_icd.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .if ${BUILDTYPE} == Debug ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libVkLayer_khronos_validation.so ${STAGEDIR}${DATADIR} .endif # SwiftShader .if ${ARCH} != aarch64 @${MKDIR} ${STAGEDIR}${DATADIR}/swiftshader ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/vk_swiftshader_icd.json ${STAGEDIR}${DATADIR} .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} .include diff --git a/www/libepc/Makefile b/www/libepc/Makefile index c21674ffa338..221ba8dddd11 100644 --- a/www/libepc/Makefile +++ b/www/libepc/Makefile @@ -1,36 +1,36 @@ PORTNAME= libepc PORTVERSION= 0.4.6 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= GNOME MAINTAINER= kwm@FreeBSD.org COMMENT= The Easy Publish and Consume library WWW= https://live.gnome.org/libepc/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \ libfribidi.so:converters/fribidi \ libsoup-2.4.so:devel/libsoup \ libgnutls.so:security/gnutls \ libavahi-common.so:net/avahi-app \ libavahi-ui-gtk3.so:net/avahi-gtk3 USES= compiler gettext gmake gnome libtool pathfix pkgconfig \ tar:xz -USE_GNOME= gnomeprefix cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= gnomeprefix cairo gdkpixbuf gtk30 intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \ ${WRKSRC}/examples/simple-publisher.c .endif .include diff --git a/www/links/Makefile b/www/links/Makefile index 6da1960990e9..a08b63bafd21 100644 --- a/www/links/Makefile +++ b/www/links/Makefile @@ -1,108 +1,108 @@ PORTNAME= links PORTVERSION= 2.30 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://links.twibright.com/download/ MAINTAINER= portmaster@BSDforge.com COMMENT= Lynx-like text WWW browser WWW= http://links.twibright.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libzstd.so:archivers/zstd USES= cpe localbase:ldflags ssl tar:bz2 CPE_VENDOR= twibright GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ssl --without-pmshell --without-atheos \ --without-gpm --without-fb --without-windows CONFLICTS_INSTALL= links1 PLIST_FILES= bin/links share/man/man1/links.1.gz OPTIONS_DEFINE= BROTLI CIPHERSTRING DIRECTFB IPV6 SVG SVGALIB THREADS TRANS \ UTF8 X11 OPTIONS_DEFAULT= UTF8 X11 CIPHERSTRING_DESC= Select the OpenSSL ciphers used via CIPHERSTRING DIRECTFB_DESC= DirectFB graphics support TRANS_DESC= Hack for background transparency BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli BROTLI_CONFIGURE_WITH= brotlis DIRECTFB_LIB_DEPENDS= libdirectfb.so:devel/directfb DIRECTFB_CONFIGURE_WITH=directfb IPV6_CONFIGURE_WITH= ipv6 SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_WITH= svgalib SVG_USES= gnome -SVG_USE= gnome=librsvg2,glib20,gdkpixbuf2,cairo +SVG_USE= gnome=librsvg2,glib20,gdkpixbuf,cairo SVG_CONFIGURE_WITH= librsvg THREADS_CFLAGS= -DHAVE_PTHREADS THREADS_LDFLAGS=-pthread TRANS_EXTRA_PATCHES= ${FILESDIR}/extra-terminal.c.diff UTF8_CONFIGURE_ENABLE= utf8 X11_LIB_DEPENDS= libevent.so:devel/libevent \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 X11_USES= xorg X11_USE= xorg=x11,xorgproto X11_CONFIGURE_WITH= x X11_PLIST_FILES= share/pixmaps/links.xpm .include #CIPHERSTRING must be a valid OpenSSL cipher string(see ciphers(1)): CIPHERSTRING?= HIGH:!SSLv2:!aNULL:!eNULL:@STRENGTH .if ${PORT_OPTIONS:MDIRECTFB} || ${PORT_OPTIONS:MSVGALIB} || ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libavif.so:graphics/libavif \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES+= jpeg pkgconfig CONFIGURE_ARGS+= --enable-graphics .else .if ${PORT_OPTIONS:MSVG} IGNORE= option SVG requires one of DIRECTFB, SVGALIB, or X11 .endif CONFIGURE_ARGS+= --disable-graphics --without-libavif \ --without-libjpeg --without-librsvg \ --without-libtiff --without-libwebp .endif .if ${PORT_OPTIONS:MX11} DESKTOP_ENTRIES="links" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/links.xpm" \ "links -g" \ "Network;WebBrowser;" \ false .endif post-patch: @${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/os_dep.h .if ${PORT_OPTIONS:MCIPHERSTRING} @${REINPLACE_CMD} -e '/SSL_CTX_set_options/ \ s/;/; SSL_CTX_set_cipher_list(ctx, "${CIPHERSTRING}");/' \ ${WRKSRC}/https.c .endif .if ${PORT_OPTIONS:MX11} post-install: ${INSTALL_DATA} ${WRKSRC}/graphics/links.xpm ${STAGEDIR}${PREFIX}/share/pixmaps/links.xpm .endif .include diff --git a/www/luakit-devel/Makefile b/www/luakit-devel/Makefile index da16fdb0773d..266607eaf1be 100644 --- a/www/luakit-devel/Makefile +++ b/www/luakit-devel/Makefile @@ -1,55 +1,55 @@ PORTNAME= luakit DISTVERSION= 2.3.6-7 DISTVERSIONSUFFIX= -g0bc0e39 PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= www PKGNAMESUFFIX= -devel MAINTAINER= ports@FreeBSD.org COMMENT= Fast, small, webkit2 based browser framework extensible with Lua WWW= https://luakit.github.io LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.GPLv3 BUILD_DEPENDS= ${LUA_MODLIBDIR}/lfs.so:devel/luafilesystem@${LUA_FLAVOR} LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}luafilesystem>=0:devel/luafilesystem@${LUA_FLAVOR} USES= compiler:c++11-lang desktop-file-utils gmake \ gnome lua:51 pkgconfig sqlite USE_GITHUB= yes GH_ACCOUNT= luakit GH_PROJECT= luakit -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 MAKE_ARGS= MANPREFIX=${PREFIX}/share/man CONFLICTS_INSTALL= luakit PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS LUAJIT OPTIONS_DEFAULT= LUAJIT LUAJIT_DESC= Use the Just-In-Time compiler for lua LUAJIT_USES= luajit LUAJIT_MAKE_ARGS= USE_LUAJIT=1 LUAJIT_MAKE_ARGS_OFF= USE_LUAJIT=0 post-extract: @${REINPLACE_CMD} -e \ 's|luakit/doc|doc/luakit| ; \ s|/etc/xdg|${PREFIX}/etc/xdg| ; \ s|-ggdb||' \ ${WRKSRC}/config.mk @${REINPLACE_CMD} -e 's|bin/env lua|&${LUA_VER_STR}|' \ ${WRKSRC}/build-utils/gentokens.lua post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/luakit \ ${STAGEDIR}${PREFIX}/lib/luakit/luakit.so .include diff --git a/www/py-pywry/Makefile b/www/py-pywry/Makefile index e457bece63dd..8bb33384909d 100644 --- a/www/py-pywry/Makefile +++ b/www/py-pywry/Makefile @@ -1,305 +1,305 @@ PORTNAME= pywry DISTVERSION= 0.6.2 PORTREVISION= 12 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= PyWry Web Viewer WWW= https://github.com/tauri-apps/wry LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}maturin>0:devel/py-maturin@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 USES= cargo gnome python USE_PYTHON= pep517 autoplist -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 # workaround for the problem that the ports framework doesn't add PYPI-related file to DISTFILES due to DISTFILES?= in Mk/bsd.port.mk DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} CARGO_CRATES= addr2line-0.21.0 \ adler-1.0.2 \ aho-corasick-1.0.5 \ anyhow-1.0.75 \ atk-0.15.1 \ atk-sys-0.15.1 \ autocfg-1.1.0 \ backtrace-0.3.69 \ base64-0.13.1 \ bitflags-1.3.2 \ block-0.1.6 \ block-buffer-0.10.4 \ bytemuck-1.13.1 \ byteorder-1.4.3 \ bytes-1.4.0 \ cairo-rs-0.15.12 \ cairo-sys-rs-0.15.1 \ cc-1.0.83 \ cesu8-1.1.0 \ cfg-expr-0.9.1 \ cfg-expr-0.15.5 \ cfg-if-1.0.0 \ cocoa-0.24.1 \ cocoa-foundation-0.1.1 \ color_quant-1.1.0 \ combine-4.6.6 \ convert_case-0.4.0 \ core-foundation-0.9.3 \ core-foundation-sys-0.8.4 \ core-graphics-0.22.3 \ core-graphics-types-0.1.2 \ cpufeatures-0.2.9 \ crc32fast-1.3.2 \ crossbeam-channel-0.5.8 \ crossbeam-utils-0.8.16 \ crypto-common-0.1.6 \ cssparser-0.27.2 \ cssparser-macros-0.6.1 \ derive_more-0.99.17 \ digest-0.10.7 \ dispatch-0.2.0 \ dtoa-1.0.9 \ dtoa-short-0.3.4 \ dunce-1.0.4 \ equivalent-1.0.1 \ fdeflate-0.3.0 \ field-offset-0.3.6 \ flate2-1.0.26 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.2.0 \ futf-0.1.5 \ futures-channel-0.3.28 \ futures-core-0.3.28 \ futures-executor-0.3.28 \ futures-io-0.3.28 \ futures-task-0.3.28 \ futures-util-0.3.28 \ fxhash-0.2.1 \ gdk-0.15.4 \ gdk-pixbuf-0.15.11 \ gdk-pixbuf-sys-0.15.10 \ gdk-sys-0.15.1 \ gdkwayland-sys-0.15.3 \ gdkx11-sys-0.15.1 \ generic-array-0.14.7 \ getrandom-0.1.16 \ getrandom-0.2.9 \ gimli-0.28.0 \ gio-0.15.12 \ gio-sys-0.15.10 \ glib-0.15.12 \ glib-macros-0.15.13 \ glib-sys-0.15.10 \ gobject-sys-0.15.10 \ gtk-0.15.5 \ gtk-sys-0.15.3 \ gtk3-macros-0.15.6 \ hashbrown-0.14.0 \ heck-0.3.3 \ heck-0.4.1 \ hermit-abi-0.2.6 \ html5ever-0.25.2 \ http-0.2.9 \ idna-0.4.0 \ image-0.24.7 \ indexmap-2.0.0 \ instant-0.1.12 \ is-docker-0.2.0 \ is-wsl-0.4.0 \ itoa-0.4.8 \ itoa-1.0.6 \ javascriptcore-rs-0.16.0 \ javascriptcore-rs-sys-0.4.0 \ jni-0.20.0 \ jni-sys-0.3.0 \ kuchiki-0.8.1 \ lazy_static-1.4.0 \ libc-0.2.149 \ lock_api-0.4.9 \ log-0.4.17 \ mac-0.1.1 \ malloc_buf-0.0.6 \ markup5ever-0.10.1 \ matches-0.1.10 \ memchr-2.6.3 \ memoffset-0.9.0 \ mime-0.3.17 \ mime_guess-2.0.4 \ miniz_oxide-0.7.1 \ mio-0.8.6 \ ndk-0.6.0 \ ndk-context-0.1.1 \ ndk-sys-0.3.0 \ new_debug_unreachable-1.0.4 \ nodrop-0.1.14 \ num-integer-0.1.45 \ num-rational-0.4.1 \ num-traits-0.2.15 \ num_cpus-1.15.0 \ num_enum-0.5.11 \ num_enum_derive-0.5.11 \ objc-0.2.7 \ objc_exception-0.1.2 \ objc_id-0.1.1 \ object-0.32.1 \ once_cell-1.17.1 \ open-5.0.0 \ pango-0.15.10 \ pango-sys-0.15.10 \ parking_lot-0.12.1 \ parking_lot_core-0.9.8 \ pathdiff-0.2.1 \ percent-encoding-2.3.0 \ phf-0.8.0 \ phf_codegen-0.8.0 \ phf_generator-0.8.0 \ phf_generator-0.10.0 \ phf_macros-0.8.0 \ phf_shared-0.8.0 \ phf_shared-0.10.0 \ pin-project-lite-0.2.13 \ pin-utils-0.1.0 \ pkg-config-0.3.27 \ png-0.17.8 \ ppv-lite86-0.2.17 \ precomputed-hash-0.1.1 \ proc-macro-crate-1.3.1 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.20+deprecated \ proc-macro2-1.0.67 \ quote-1.0.33 \ rand-0.7.3 \ rand-0.8.5 \ rand_chacha-0.2.2 \ rand_chacha-0.3.1 \ rand_core-0.5.1 \ rand_core-0.6.4 \ rand_hc-0.2.0 \ rand_pcg-0.2.1 \ raw-window-handle-0.5.2 \ redox_syscall-0.3.5 \ regex-1.9.5 \ regex-automata-0.3.8 \ regex-syntax-0.7.5 \ rustc-demangle-0.1.23 \ rustc_version-0.4.0 \ ryu-1.0.13 \ same-file-1.0.6 \ scopeguard-1.1.0 \ selectors-0.22.0 \ semver-1.0.18 \ serde-1.0.189 \ serde_derive-1.0.189 \ serde_json-1.0.107 \ serde_spanned-0.6.3 \ servo_arc-0.1.1 \ sha2-0.10.7 \ signal-hook-registry-1.4.1 \ simd-adler32-0.3.5 \ simple-home-dir-0.2.0 \ siphasher-0.3.11 \ slab-0.4.9 \ smallvec-1.10.0 \ socket2-0.5.4 \ soup2-0.2.1 \ soup2-sys-0.2.0 \ stable_deref_trait-1.2.0 \ string_cache-0.8.7 \ string_cache_codegen-0.5.2 \ syn-1.0.109 \ syn-2.0.36 \ system-deps-5.0.0 \ system-deps-6.1.1 \ tao-0.16.4 \ tao-macros-0.1.2 \ target-lexicon-0.12.11 \ tendril-0.4.3 \ thin-slice-0.1.1 \ thiserror-1.0.48 \ thiserror-impl-1.0.48 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.1 \ tokio-1.33.0 \ tokio-macros-2.1.0 \ toml-0.5.11 \ toml-0.7.8 \ toml_datetime-0.6.3 \ toml_edit-0.19.15 \ typenum-1.17.0 \ unicase-2.6.0 \ unicode-bidi-0.3.13 \ unicode-ident-1.0.8 \ unicode-normalization-0.1.22 \ unicode-segmentation-1.10.1 \ url-2.4.1 \ urlencoding-2.1.3 \ utf-8-0.7.6 \ uuid-1.4.1 \ version-compare-0.0.11 \ version-compare-0.1.1 \ version_check-0.9.4 \ walkdir-2.4.0 \ wasi-0.9.0+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ webkit2gtk-0.18.2 \ webkit2gtk-sys-0.18.0 \ webview2-com-0.19.1 \ webview2-com-macros-0.6.0 \ webview2-com-sys-0.19.0 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-0.39.0 \ windows-bindgen-0.39.0 \ windows-implement-0.39.0 \ windows-metadata-0.39.0 \ windows-sys-0.45.0 \ windows-sys-0.48.0 \ windows-targets-0.42.2 \ windows-targets-0.48.0 \ windows-tokens-0.39.0 \ windows_aarch64_gnullvm-0.42.2 \ windows_aarch64_gnullvm-0.48.0 \ windows_aarch64_msvc-0.39.0 \ windows_aarch64_msvc-0.42.2 \ windows_aarch64_msvc-0.48.0 \ windows_i686_gnu-0.39.0 \ windows_i686_gnu-0.42.2 \ windows_i686_gnu-0.48.0 \ windows_i686_msvc-0.39.0 \ windows_i686_msvc-0.42.2 \ windows_i686_msvc-0.48.0 \ windows_x86_64_gnu-0.39.0 \ windows_x86_64_gnu-0.42.2 \ windows_x86_64_gnu-0.48.0 \ windows_x86_64_gnullvm-0.42.2 \ windows_x86_64_gnullvm-0.48.0 \ windows_x86_64_msvc-0.39.0 \ windows_x86_64_msvc-0.42.2 \ windows_x86_64_msvc-0.48.0 \ winnow-0.5.15 \ wry-0.24.4 \ x11-2.21.0 \ x11-dl-2.21.0 CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no CARGO_TARGET_DIR= ${WRKSRC}/target MAKE_ENV= ${CARGO_ENV} .include diff --git a/www/surf/Makefile b/www/surf/Makefile index 8359f98e8bda..a2a3bce82d21 100644 --- a/www/surf/Makefile +++ b/www/surf/Makefile @@ -1,81 +1,81 @@ PORTNAME= surf DISTVERSION= 2.1 PORTREVISION= 5 CATEGORIES= www MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ PKGNAMESUFFIX= -browser MAINTAINER= dmgk@FreeBSD.org COMMENT= Simple Web browser based on WebKit2/GTK WWW= https://surf.suckless.org LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \ libsoup-2.4.so:devel/libsoup \ libgcr-base-3.so:security/gcr3 RUN_DEPENDS= dmenu:x11/dmenu \ curl:ftp/curl \ xterm:x11/xterm USES= compiler:c11 cpe gnome pkgconfig xorg -USE_GNOME= gtk30 pango cairo gdkpixbuf2 +USE_GNOME= gtk30 pango cairo gdkpixbuf USE_XORG= x11 CPE_VENDOR= suckless CONFLICTS= surf-1* # math/surf DESKTOP_ENTRIES="Surf" "" "${PREFIX}/share/pixmaps/surf.png" "surf" "" true PLIST_FILES= bin/surf \ lib/surf/webext-surf.so \ share/man/man1/surf.1.gz \ share/pixmaps/surf.png PORTDOCS= README TODO.md PORTEXAMPLES= surf-open.sh OPTIONS_DEFINE= DOCS EXAMPLES pre-everything:: @${ECHO_MSG} "You can build surf with your own config.h using the SURF_CONF knob:" @${ECHO_MSG} "make SURF_CONF=/path/to/surf/config.h install clean" @${ECHO_MSG} "Note: Pre-${PORTVERSION} config.h-files may not work." post-extract: .if defined(SURF_CONF) @${ECHO_MSG} "creating config.h from ${SURF_CONF}" @${LN} -sf ${SURF_CONF} ${WRKSRC}/config.h .endif post-patch: @${REINPLACE_CMD} -e \ '/^PREFIX/s| =| ?=| ; \ /^X11/s|/usr/X11R6/|$${LOCALBASE}/| ; \ /^GTKINC/s| =| ?=| ; \ /^GTKLIB/s| =| ?=| ; \ /^INCS/s|-I/usr/include || ; \ /^LIBS/s|-L/usr/lib -lc || ; \ /^CPPFLAGS/s| =| +=| ; \ /^CFLAGS/s| =| +=| ; \ /^CFLAGS/s|-Os || ; \ /^LDFLAGS/s| =| +=| ; \ /^LDFLAGS/s|-g || ; \ /^CC/s| =| ?=|' ${WRKSRC}/config.mk @${REINPLACE_CMD} -e 's|st -e|xterm -e|' ${WRKSRC}/config.def.h post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/surf ${INSTALL_DATA} ${WRKSRC}/surf.png ${STAGEDIR}${PREFIX}/share/pixmaps post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index e9a42836fcc1..12588424516d 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,410 +1,410 @@ PORTNAME= ungoogled-chromium PORTVERSION= 134.0.6998.88 PULSEMV= 16 PULSEV= ${PULSEMV}.1 UGVERSION= ${DISTVERSION}-1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/:goo \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio DISTFILES= chromium-${DISTVERSION}${EXTRACT_SUFX}:goo \ pulseaudio-${PULSEV}.tar.gz:pulseaudio USE_GITHUB= yes GH_ACCOUNT= ungoogled-software GH_TAGNAME= ${UGVERSION} MAINTAINER= chromium@FreeBSD.org COMMENT= Google web browser based on WebKit sans integration with Google WWW= https://github.com/ungoogled-software/ungoogled-chromium LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 i386 PATCH_DEPENDS= gpatch:devel/patch \ ${PYTHON_VERSION}:lang/python${PYTHON_SUFFIX} BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ bindgen:devel/rust-bindgen-cli \ gperf:devel/gperf \ flock:sysutils/flock \ node:www/node \ rustc:lang/rust \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/va/va.h:multimedia/libva \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/Qt5Core.pc:devel/qt5-core \ ${LOCALBASE}/libdata/pkgconfig/Qt5Widgets.pc:x11-toolkits/qt5-widgets LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic USES= bison compiler:c++17-lang cpe desktop-file-utils gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja perl5 pkgconfig \ python:build qt:5 shebangfix tar:xz xorg CPE_VENDOR= google CPE_PRODUCT= chrome USE_GL= gbm gl -USE_GNOME= atk dconf gdkpixbuf2 glib20 gtk30 libxml2 libxslt +USE_GNOME= atk dconf gdkpixbuf glib20 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst USE_QT= buildtools:build SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python3=${PYTHON_CMD} \ moc=${PREFIX}/bin/moc-qt5 # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= enable_widevine=true \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" # sync with flags.gni GN_ARGS+= build_with_tflite_lib=false \ chrome_pgo_phase=0 \ clang_use_chrome_plugins=false \ disable_fieldtrial_testing_config=true \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=false \ enable_mdns=false \ enable_nacl=false \ enable_reading_list=false \ enable_remoting=false \ enable_reporting=false \ enable_service_discovery=false \ exclude_unwind_tables=true \ google_api_key="" \ google_default_client_id="" \ google_default_client_secret="" \ safe_browsing_mode=0 \ treat_warnings_as_errors=false \ use_official_google_api_keys=false \ use_unofficial_version_number=false # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles SUB_FILES= ungoogled-chromium.desktop ungoogled-chromium SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST WIDEVINE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO ALSA PULSEAUDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false WIDEVINE_DESC= Depend on foreign-cdm to enable playback of DRM content WIDEVINE_RUN_DEPENDS= foreign-cdm>0:www/foreign-cdm .include "Makefile.tests" TEST_DISTFILES= chromium-${DISTVERSION}-testdata${EXTRACT_SUFX} TEST_ALL_TARGET= ${TEST_TARGETS} .include .include # for COMPILER_VERSION .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} # - swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only # - map ffmpeg target to ${ARCH} .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == amd64 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include WRKSRC= ${WRKDIR}/chromium-${DISTVERSION} # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Ungoogled Chromium, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-patch: cd ${WRKDIR}/ungoogled-chromium-${UGVERSION} && ${PYTHON_CMD} \ utils/prune_binaries.py ${WRKSRC} pruning.list cd ${WRKDIR}/ungoogled-chromium-${UGVERSION} && PATCH_BIN=gpatch \ ${PYTHON_CMD} utils/patches.py apply ${WRKSRC} patches cd ${WRKDIR}/ungoogled-chromium-${UGVERSION} && ${PYTHON_CMD} \ utils/domain_substitution.py apply -r domain_regex.list -f \ domain_substitution.list -c ${WRKSRC}/domsubcache.tar.gz ${WRKSRC} pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz-ng libdrm libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${PREFIX}/share/man/man1/ungoogled-chromium.1 @${SED} -i "" -e 's,\@\@PACKAGE\@\@,chromium,g;s,\@\@MENUNAME\@\@,Chromium Web Browser,g' \ ${STAGEDIR}${PREFIX}/share/man/man1/ungoogled-chromium.1 ${CP} ${WRKSRC}/chrome/app/theme/chromium/product_logo_22_mono.png ${WRKSRC}/chrome/app/theme/chromium/product_logo_22.png .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/ungoogled-chromium.png .endfor ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} .for d in protoc mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor .for d in snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR}/ungoogled-chromium cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/ungoogled-chromium.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/ungoogled-chromium ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ ${STAGEDIR}${DATADIR} # ANGLE, EGL, Vk .for f in libEGL.so libGLESv2.so libVkICD_mock_icd.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .if ${BUILDTYPE} == Debug ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libVkLayer_khronos_validation.so ${STAGEDIR}${DATADIR} .endif # SwiftShader .if ${ARCH} != aarch64 ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/vk_swiftshader_icd.json ${STAGEDIR}${DATADIR} .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver \ ${STAGEDIR}${PREFIX}/bin/ungoogled-chromedriver do-test-TEST-on: .for t in ${TEST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} .endfor .include diff --git a/www/webkit2-gtk/Makefile b/www/webkit2-gtk/Makefile index 37a0c8cde74a..cf07deff9e9c 100644 --- a/www/webkit2-gtk/Makefile +++ b/www/webkit2-gtk/Makefile @@ -1,137 +1,137 @@ PORTNAME= webkit DISTVERSION= 2.46.6 CATEGORIES= www MASTER_SITES= https://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk_${FLAVOR} DISTNAME= ${PORTNAME}gtk-${DISTVERSION} DIST_SUBDIR= gnome PATCH_SITES= https://github.com/WebKit/WebKit/commit/ MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK 3 toolkit WWW= https://webkitgtk.org/ LICENSE= GPLv2 BSD2CLAUSE LICENSE_COMB= dual BROKEN_riscv64= error: Unknown Architecture LIB_DEPENDS= libavif.so:graphics/libavif \ libdrm.so:graphics/libdrm \ libenchant-2.so:textproc/enchant2 \ libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgcrypt.so:security/libgcrypt \ libgraphene-1.0.so:graphics/graphene \ libgpg-error.so:security/libgpg-error \ libharfbuzz-icu.so:print/harfbuzz-icu \ libharfbuzz.so:print/harfbuzz \ libhyphen.so:textproc/hyphen \ libicudata.so:devel/icu \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libsysinfo.so:devel/libsysinfo \ libtasn1.so:security/libtasn1 \ libwebp.so:graphics/webp \ libwoff2dec.so:devel/woff2 PORTSCOUT= limitw:1,even FLAVORS= 60 41 40 FLAVOR?= ${FLAVORS:[1]} USES= bison cmake compiler:c++23-lang cpe gettext gl gnome gperf \ jpeg localbase:ldflags perl5 pkgconfig python:build \ ruby:build sqlite tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 introspection:build libxml2 libxslt +USE_GNOME= cairo gdkpixbuf introspection:build libxml2 libxslt USE_GL= egl gbm gl glesv2 USE_LDCONFIG= yes USE_PERL5= build USE_XORG= x11 CPE_VENDOR= webkitgtk CPE_PRODUCT= webkitgtk BINARY_ALIAS= python=${PYTHON_CMD} CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 \ -I${LOCALBASE}/include -lsysinfo CMAKE_ARGS= -DPORT=GTK CMAKE_OFF= ${CMAKE_OFF_${ARCH}:U} \ ENABLE_GAMEPAD \ ENABLE_JOURNALD_LOG \ USE_LIBBACKTRACE \ USE_SYSTEM_MALLOC \ USE_SYSPROF_CAPTURE \ USE_SYSTEM_SYSPROF_CAPTURE CMAKE_OFF_armv6= ENABLE_JIT CMAKE_OFF_armv7= ENABLE_JIT INSTALL_TARGET= install .if ${FLAVOR:M60} USE_GNOME+= gtk40 PLIST= ${.CURDIR}/pkg-plist_${FLAVOR} API_VERSION= 6.0 WEBKIT_LIBRARY_VERSION= 4 10 8 JAVASCRIPTCORE_LIBRARY_VERSION= 1 3 15 .else USE_GNOME+= gtk30 CMAKE_OFF+= USE_GTK4 .endif .if ${FLAVOR:M40} LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup CMAKE_ON+= USE_SOUP2 API_VERSION= 4.0 WEBKIT_LIBRARY_VERSION= 37 71 8 JAVASCRIPTCORE_LIBRARY_VERSION= 18 25 15 .else LIB_DEPENDS+= libsoup-3.0.so:devel/libsoup3 .endif .if ${FLAVOR:M41} API_VERSION= 4.1 WEBKIT_LIBRARY_VERSION= 0 16 8 JAVASCRIPTCORE_LIBRARY_VERSION= 0 6 15 .endif PLIST_SUB= API_VERSION=${API_VERSION} \ WEBKIT_LIBRARY_VERSION=${WEBKIT_LIBRARY_VERSION:ts.} \ WEBKIT_LIBRARY_VERSION_MAJOR=${WEBKIT_LIBRARY_VERSION:[1]} \ JAVASCRIPTCORE_LIBRARY_VERSION=${JAVASCRIPTCORE_LIBRARY_VERSION:ts.} \ JAVASCRIPTCORE_LIBRARY_VERSION_MAJOR=${JAVASCRIPTCORE_LIBRARY_VERSION:[1]} OPTIONS_DEFINE= DOCS GEOIP GSTREAMER WAYLAND OPTIONS_DEFAULT= GEOIP GSTREAMER WAYLAND OPTIONS_SUB= yes DOCS_CMAKE_BOOL= ENABLE_DOCUMENTATION DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION GEOIP_BUILD_DEPENDS= geoclue>=2.4.3:net/geoclue GEOIP_RUN_DEPENDS= geoclue>=2.4.3:net/geoclue GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,gl GSTREAMER_CMAKE_BOOL= ENABLE_VIDEO ENABLE_WEB_AUDIO WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND_TARGET WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland .include .ifdef WITH_DEBUG DEBUG_FLAGS= -g1 # resulting package otherwise is huge .endif post-install: @${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \ ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-${API_VERSION} .include diff --git a/www/xfce4-smartbookmark-plugin/Makefile b/www/xfce4-smartbookmark-plugin/Makefile index 52d371b7eaec..252567d767c4 100644 --- a/www/xfce4-smartbookmark-plugin/Makefile +++ b/www/xfce4-smartbookmark-plugin/Makefile @@ -1,30 +1,30 @@ PORTNAME= xfce4-smartbookmark-plugin PORTVERSION= 0.5.3 CATEGORIES= www xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Query search engines from the Xfce panel WWW= https://docs.xfce.org/panel-plugins/xfce4-smartbookmark-plugin/start LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11-clocks/cairo-clock/Makefile b/x11-clocks/cairo-clock/Makefile index 673a0d7eab7b..2f8e65b3df23 100644 --- a/x11-clocks/cairo-clock/Makefile +++ b/x11-clocks/cairo-clock/Makefile @@ -1,27 +1,27 @@ PORTNAME= cairo-clock DISTVERSION= 0.3.4 PORTREVISION= 4 CATEGORIES= x11-clocks MASTER_SITES= http://ftp.de.debian.org/debian/pool/main/c/cairo-clock/ DISTNAME= ${PORTNAME}_${DISTVERSION}.orig MAINTAINER= yuri@FreeBSD.org COMMENT= Analog clock displaying the system-time WWW= https://launchpad.net/cairo-clock LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-XML-Parser>0:textproc/p5-XML-Parser LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext gmake gnome iconv perl5 pkgconfig GNU_CONFIGURE= yes -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 libglade2 pango librsvg2 libxml2 +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 libglade2 pango librsvg2 libxml2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAKE_ARGS= GMSGFMT=msgfmt DATADIRNAME=share .include diff --git a/x11-clocks/wmclockmon/Makefile b/x11-clocks/wmclockmon/Makefile index fdc2f9e5323e..a9b8d6cd343b 100644 --- a/x11-clocks/wmclockmon/Makefile +++ b/x11-clocks/wmclockmon/Makefile @@ -1,35 +1,35 @@ PORTNAME= wmclockmon PORTVERSION= 0.8.1 PORTREVISION= 10 CATEGORIES= x11-clocks windowmaker MASTER_SITES= http://tnemeth.free.fr/projets/programmes/ MAINTAINER= list@understudy.net COMMENT= Digital clock dockapp with a similar look to wmcpuload WWW= http://tnemeth.free.fr/projets/dockapps.html LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= xorg gnome pkgconfig USE_XORG= xpm x11 xext -USE_GNOME= gtk20 cairo gdkpixbuf2 +USE_GNOME= gtk20 cairo gdkpixbuf GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share post-patch: @${REINPLACE_CMD} -e 's|gtk-config|pkgconf gtk+-2.0|g'\ ${WRKSRC}/wmclockmon-config/Makefile.in @${REINPLACE_CMD} -e 's|gtk-config|pkgconf gtk+-2.0|g'\ ${WRKSRC}/wmclockmon-cal/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in 1 2 @${INSTALL_DATA} ${WRKSRC}/doc/sample${i}.wmclockmonrc ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/x11-clocks/wmfishtime/Makefile b/x11-clocks/wmfishtime/Makefile index 5d11f315daf2..382b654943cd 100644 --- a/x11-clocks/wmfishtime/Makefile +++ b/x11-clocks/wmfishtime/Makefile @@ -1,33 +1,33 @@ PORTNAME= wmfishtime PORTVERSION= 1.24 PORTREVISION= 9 CATEGORIES= x11-clocks windowmaker MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ \ http://www.sourcefiles.org/Toys/Clocks/ MAINTAINER= ports@FreeBSD.org COMMENT= Time/date applet for WindowMaker with fishes swimming around WWW= http://www.ne.jp/asahi/linux/timecop/ #wmfishtime LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 MAKE_ARGS= CFLAGS="${CPPFLAGS} ${CFLAGS} -Wall" \ LDFLAGS="${LDFLAGS}" PLIST_FILES= bin/wmfishtime share/man/man1/wmfishtime.1.gz CPPFLAGS+= $$(pkg-config --cflags gdk-x11-2.0 x11) LDFLAGS+= $$(pkg-config --libs gdk-x11-2.0 x11) -lm post-patch: ${REINPLACE_CMD} -E -e 's|1\.23|${PORTVERSION}|g' ${WRKSRC}/fishmon.c ${WRKSRC}/wmfishtime.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wmfishtime ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/wmfishtime.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/x11-clocks/xdaliclock/Makefile b/x11-clocks/xdaliclock/Makefile index e3346e932cd5..e9fc72f5b02f 100644 --- a/x11-clocks/xdaliclock/Makefile +++ b/x11-clocks/xdaliclock/Makefile @@ -1,33 +1,33 @@ PORTNAME= xdaliclock DISTVERSION= 2.48 PORTREVISION= 2 CATEGORIES= x11-clocks MASTER_SITES= https://www.jwz.org/${PORTNAME}/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Rather neat animated clock (GL & GTK version) WWW= https://www.jwz.org/xdaliclock/ LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= desktop-file-utils gl gmake gnome pkgconfig xorg USE_GL= gl -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GLIB_SCHEMAS= org.jwz.xdaliclock.gschema.xml USE_XORG= x11 GNU_CONFIGURE= yes CONFLICTS= xdaliclock-classic WRKSRC= ${WRKDIR}/${DISTNAME}/X11 PLIST_FILES= bin/xdaliclock \ share/man/man1/xdaliclock.1.gz \ share/applications/xdaliclock.desktop \ share/glib-2.0/schemas/gschemas.compiled \ share/pixmaps/xdaliclock.png # workaround: missing share/glib-2.0/schemas in stage pre-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/glib-2.0/schemas .include diff --git a/x11-clocks/xfce4-datetime-plugin/Makefile b/x11-clocks/xfce4-datetime-plugin/Makefile index 86c1decbcc07..a39d7b61a20d 100644 --- a/x11-clocks/xfce4-datetime-plugin/Makefile +++ b/x11-clocks/xfce4-datetime-plugin/Makefile @@ -1,30 +1,30 @@ PORTNAME= xfce4-datetime-plugin PORTVERSION= 0.8.3 PORTREVISION= 3 CATEGORIES= x11-clocks xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Datetime panel plugin for the Xfce desktop WWW= https://goodies.xfce.org/projects/panel-plugins/xfce4-datetime-plugin LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/x11-clocks/xfce4-stopwatch-plugin/Makefile b/x11-clocks/xfce4-stopwatch-plugin/Makefile index 73f36093539e..7d464796a4a5 100644 --- a/x11-clocks/xfce4-stopwatch-plugin/Makefile +++ b/x11-clocks/xfce4-stopwatch-plugin/Makefile @@ -1,30 +1,30 @@ PORTNAME= xfce4-stopwatch-plugin PORTVERSION= 0.5.2 CATEGORIES= x11-clocks xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= XFCE panel plugin to keep track of elapsed time WWW= https://docs.xfce.org/panel-plugins/xfce4-stopwatch-plugin/start LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libutil panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11-clocks/xfce4-time-out-plugin/Makefile b/x11-clocks/xfce4-time-out-plugin/Makefile index e0596655705b..6a243584bce4 100644 --- a/x11-clocks/xfce4-time-out-plugin/Makefile +++ b/x11-clocks/xfce4-time-out-plugin/Makefile @@ -1,30 +1,30 @@ PORTNAME= xfce4-time-out-plugin PORTVERSION= 1.1.4 CATEGORIES= x11-clocks xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Time out plugin for Xfce WWW= https://docs.xfce.org/panel-plugins/xfce4-time-out-plugin/start LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/x11-clocks/xfce4-timer-plugin/Makefile b/x11-clocks/xfce4-timer-plugin/Makefile index 35df1b6c7e0d..e823f454b573 100644 --- a/x11-clocks/xfce4-timer-plugin/Makefile +++ b/x11-clocks/xfce4-timer-plugin/Makefile @@ -1,29 +1,29 @@ PORTNAME= xfce4-timer-plugin PORTVERSION= 1.7.3 CATEGORIES= x11-clocks xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Timer plugin for Xfce WWW= https://docs.xfce.org/panel-plugins/xfce4-timer-plugin/start LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11-fm/deforaos-browser/Makefile b/x11-fm/deforaos-browser/Makefile index be0dbf1608c5..dfe2b64bdd75 100644 --- a/x11-fm/deforaos-browser/Makefile +++ b/x11-fm/deforaos-browser/Makefile @@ -1,60 +1,60 @@ PORTNAME= deforaos-browser PORTVERSION= 0.6.0 PORTREVISION= 1 CATEGORIES= x11-fm MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Browser/ DISTNAME= Browser-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop file browser WWW= https://www.defora.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ libharfbuzz.so:print/harfbuzz \ libSystem.so:devel/deforaos-libsystem \ libXrandr.so:x11/libXrandr USES= desktop-file-utils gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_LDCONFIG= yes USE_XORG= x11 MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_BROWSER=\\\"deforaos-browser\\\" MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_COPY=\\\"deforaos-copy\\\" MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_DESKTOP=\\\"deforaos-desktop\\\" MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_DESKTOPCTL=\\\"deforaos-desktopctl\\\" MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_MOVE=\\\"deforaos-move\\\" MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_OPEN=\\\"deforaos-open\\\" MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_PROPERTIES=\\\"deforaos-properties\\\" MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_VIEW=\\\"deforaos-view\\\" OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ xsltproc:textproc/libxslt NLS_USES= gettext post-patch: ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ ${WRKSRC}/data/pkgconfig.sh post-patch-DOCS-off: ${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \ ${STAGEDIR}${PREFIX}/lib/Desktop/widget/browser.so \ ${STAGEDIR}${PREFIX}/lib/Browser/plugins/* \ ${STAGEDIR}${PREFIX}/lib/libBrowser.so.0.0 .include diff --git a/x11-fm/fsv2/Makefile b/x11-fm/fsv2/Makefile index fd237d48943d..19d6b288aa80 100644 --- a/x11-fm/fsv2/Makefile +++ b/x11-fm/fsv2/Makefile @@ -1,46 +1,46 @@ PORTNAME= fsv2 PORTVERSION= 1.1.0 PORTREVISION= 5 CATEGORIES= x11-fm MASTER_SITES= http://cyber.dabamos.de/pub/distfiles/ MAINTAINER= kidon@posteo.de COMMENT= 3D filesystem visualizer WWW= http://fedorchenko.net/fsv2.php LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN= does not configure: No fonts installed on the system LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libftgl.so:graphics/ftgl USES= compiler:c++11-lang tar:bzip2 libtool gettext-runtime gl gnome \ pkgconfig USE_GL= gl glu USE_GNOME= gtkmm24 atkmm glibmm pangomm cairomm libsigc++20 gtk20 atk \ - cairo gdkpixbuf2 + cairo gdkpixbuf USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include post-patch: .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \ ${WRKSRC}/uilib/ColorCellRenderer.cpp .endif .include diff --git a/x11-fm/nautilus-python/Makefile b/x11-fm/nautilus-python/Makefile index 1b176e8edc90..863f5e53d6ae 100644 --- a/x11-fm/nautilus-python/Makefile +++ b/x11-fm/nautilus-python/Makefile @@ -1,32 +1,32 @@ PORTNAME= nautilus-python DISTVERSION= 1.2.3 PORTREVISION= 5 CATEGORIES= x11-fm gnome python MASTER_SITES= GNOME MAINTAINER= daniel@shafer.cc COMMENT= Python nautilus bindings WWW= https://wiki.gnome.org/Projects/NautilusPython BROKEN= does not work with latest nautilus LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake gnome libtool localbase pathfix pkgconfig python \ tar:xz -USE_GNOME= cairo gdkpixbuf2 nautilus3 pygobject3 +USE_GNOME= cairo gdkpixbuf nautilus3 pygobject3 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= GTKDOC OPTIONS_SUB= yes GTKDOC_MESON_TRUE= gtk_doc GTKDOC_DESC= Build documentation GTKDOC_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc GTKDOC_CONFIGURE_ENABLE= gtk-doc .include diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile index fa6cf0a29f79..c68c93fff5d5 100644 --- a/x11-fm/nautilus/Makefile +++ b/x11-fm/nautilus/Makefile @@ -1,45 +1,45 @@ PORTNAME= nautilus PORTVERSION= 47.2 CATEGORIES= x11-fm gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= File manager for the GNOME desktop WWW= https://wiki.gnome.org/Apps/Nautilus LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 \ libgnome-autoar-0.so:archivers/gnome-autoar \ libportal.so:deskutils/libportal \ libportal-gtk4.so:deskutils/libportal-gtk4 \ libtotem.so:multimedia/totem \ libtinysparql-3.0.so:devel/tinysparql \ libcloudproviders.so:net/libcloudproviders RUN_DEPENDS= localsearch:sysutils/localsearch PORTSCOUT= limitw:1,even USES= compiler:c11 cpe desktop-file-utils gettext gnome gstreamer localbase meson \ pkgconfig python:build tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 gnomedesktop3 libadwaita +USE_GNOME= cairo gdkpixbuf gnomedesktop3 libadwaita USE_LDCONFIG= yes USE_XORG= x11 MESON_ARGS= -Dpackagekit=false \ -Dselinux=false \ -Dtests=none BINARY_ALIAS= python3=${PYTHON_VERSION} CPE_VENDOR= gnome GLIB_SCHEMAS= org.gnome.nautilus.gschema.xml CFLAGS+= -Wno-error=strict-prototypes OPTIONS_DEFINE= GVFS OPTIONS_DEFAULT= GVFS GVFS_USE= GNOME=gvfs .include diff --git a/x11-fm/nemo/Makefile b/x11-fm/nemo/Makefile index 0b590ef82ded..51ebf8788fd3 100644 --- a/x11-fm/nemo/Makefile +++ b/x11-fm/nemo/Makefile @@ -1,60 +1,60 @@ PORTNAME= nemo PORTVERSION= 5.4.2 PORTREVISION= 6 CATEGORIES= x11-fm gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= File manager for the Cinnamon desktop WWW= https://github.com/linuxmint/nemo LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas LIB_DEPENDS= libcinnamon-desktop.so:x11/cinnamon-desktop \ libxapp.so:x11/xapp RUN_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ gvfs>0:filesystems/gvfs USES= compiler:c11 desktop-file-utils gettext gnome meson pkgconfig \ python shared-mime-info shebangfix xorg SHEBANG_FILES= generate_additional_file makepot search-helpers/nemo-xls-to-txt SHEBANG_GLOB= *.py USE_GITHUB= yes GH_ACCOUNT= linuxmint -USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack introspection libgsf \ +USE_GNOME= cairo gdkpixbuf gtk30 intlhack introspection libgsf \ libxml2 pango pygobject3 USE_XORG= x11 MESON_ARGS= -Dtracker=false GLIB_SCHEMAS= org.nemo.gschema.xml USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS EXEMPI EXIF OPTIONS_DEFAULT= DOCS EXEMPI EXIF OPTIONS_SUB= yes EXEMPI_DESC= XMP support EXIF_DESC= Digital camera file meta-data support DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= gtk_doc EXEMPI_LIB_DEPENDS= libexempi.so:textproc/exempi EXEMPI_MESON_TRUE= xmp EXIF_LIB_DEPENDS= libexif.so:graphics/libexif EXIF_MESON_TRUE= exif .include diff --git a/x11-fm/pcmanfm/Makefile b/x11-fm/pcmanfm/Makefile index 76b1bec717da..47a7526ae2c4 100644 --- a/x11-fm/pcmanfm/Makefile +++ b/x11-fm/pcmanfm/Makefile @@ -1,58 +1,58 @@ PORTNAME= pcmanfm PORTVERSION= 1.3.2 PORTREVISION= 3 CATEGORIES= x11-fm MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/ MAINTAINER= portmaster@BSDforge.com COMMENT= PCMan File Manager WWW= http://wiki.lxde.org/en/PCManFM LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 FLAVORS= gtk2 gtk3 FLAVOR?= ${FLAVORS:[1]} USES= cpe desktop-file-utils gmake gnome gettext libtool localbase \ pkgconfig tar:xz xorg gtk2_LIB_DEPENDS= libfm-gtk.so:x11/libfm@gtk2 gtk2_CONFLICTS_INSTALL= pcmanfm-gtk3 gtk3_PKGNAMESUFFIX= -gtk3 gtk3_LIB_DEPENDS= libfm-gtk3.so:x11/libfm@gtk3 gtk3_CONFLICTS_INSTALL= pcmanfm CPE_VENDOR= ${PORTNAME}_project -USE_GNOME= cairo gdkpixbuf2 intltool +USE_GNOME= cairo gdkpixbuf intltool USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share .if ${FLAVOR:Mgtk2} USE_GNOME+= gtk20 CONFIGURE_ARGS= --with-gtk=2 .elif ${FLAVOR:Mgtk3} USE_GNOME+= gtk30 CONFIGURE_ARGS= --with-gtk=3 .endif OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-tools:build NLS_CONFIGURE_ENABLE= nls post-extract: @${MV} ${WRKSRC}/data/pcmanfm.conf \ ${WRKSRC}/data/pcmanfm.conf.sample post-patch: ${REINPLACE_CMD} -e 's|pcmanfm.conf|pcmanfm.conf.sample|' \ ${WRKSRC}/data/Makefile.in .include diff --git a/x11-fm/polo/Makefile b/x11-fm/polo/Makefile index 95b4f53e6d2c..b4b379c34711 100644 --- a/x11-fm/polo/Makefile +++ b/x11-fm/polo/Makefile @@ -1,35 +1,35 @@ PORTNAME= polo DISTVERSIONPREFIX= v DISTVERSION= 18.8-beta PORTREVISION= 4 CATEGORIES= x11-fm MAINTAINER= gnome@FreeBSD.org COMMENT= Advanced graphical file manager written in Vala WWW= https://teejee2008.github.io/polo/ LICENSE= GPLv2+ LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib USES= desktop-file-utils gettext-tools gmake gnome pkgconfig \ vala:build USE_GITHUB= yes GH_ACCOUNT= teejee2008 -USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 vte3 +USE_GNOME= cairo gdkpixbuf gtk30 libxml2 vte3 MAKEFILE= makefile WRKSRC_SUBDIR= src post-patch: @${RM} ${WRKSRC}/share/polo/files/gtk-theme/*.orig @${RM} ${WRKSRC}/share/polo/files/install-*.sh @${RM} -r ${WRKSRC}/share/polo/files/udisks2 # Adhere to GLib.Object naming conventions for properties @${REINPLACE_CMD} -e 's,7zip_version,sevenzip_version,g' \ ${WRKSRC}/Gtk/MainMenubar.vala \ ${WRKSRC}/Utility/ArchiveTask.vala .include diff --git a/x11-fm/rox-filer/Makefile b/x11-fm/rox-filer/Makefile index 2cc2df8f2a72..49c18a2477c1 100644 --- a/x11-fm/rox-filer/Makefile +++ b/x11-fm/rox-filer/Makefile @@ -1,57 +1,57 @@ PORTNAME= rox-filer PORTVERSION= 2.11 PORTREVISION= 13 CATEGORIES= x11-fm gnome MASTER_SITES= SF/rox/rox/${PORTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Simple and easy to use graphical file manager WWW= https://rox.sourceforge.net/phpwiki/index.php/ROX-Filer LICENSE= GPLv2+ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libinotify.so:devel/libinotify PLIST_SUB+= LOCALBASE=${LOCALBASE} USES= gettext-runtime:build gmake gnome pkgconfig shared-mime-info \ tar:bzip2 xorg USE_XORG= ice sm x11 xaw xorgproto -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 libxml2 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 libxml2 pango GNU_CONFIGURE= yes CONFIGURE_ENV= APP_DIR=${WRKSRC}/ROX-Filer CONFIGURE_ARGS= --enable-rox --with-platform=FreeBSD CONFIGURE_WRKSRC= ${WRKSRC}/ROX-Filer/src BUILD_WRKSRC= ${CONFIGURE_WRKSRC} ALL_TARGET= LIBS+= -lm OPTIONS_DEFINE= NLS NLS_USES= gettext-runtime:run post-configure: ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${CONFIGURE_WRKSRC}/configure \ ${CONFIGURE_WRKSRC}/choices.c \ ${CONFIGURE_WRKSRC}/support.c \ ${CONFIGURE_WRKSRC}/type.c \ ${CONFIGURE_WRKSRC}/usericons.c \ ${CONFIGURE_WRKSRC}/xdgmime.c ${TOUCH} ${CONFIGURE_WRKSRC}/config.status do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/apps/ROX-Filer cd ${WRKSRC}/ROX-Filer && ${CP} -r .DirIcon AppInfo.xml AppRun \ Help Messages Options.xml ROX ROX-Filer Templates.ui images \ style.css subclasses ${STAGEDIR}${PREFIX}/apps/ROX-Filer cd ${WRKSRC} && ${CP} -r Choices ${STAGEDIR}${PREFIX}/share/ ${CAT} ${FILESDIR}/rox | ${SED} -e "s|%%PREFIX%%|${PREFIX}|" > ${STAGEDIR}${PREFIX}/bin/rox ${INSTALL_MAN} ${WRKSRC}/rox.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/rox.xml ${STAGEDIR}${PREFIX}/share/mime/packages .include diff --git a/x11-fm/thunar/Makefile b/x11-fm/thunar/Makefile index f5e3496df972..5e98de129ecc 100644 --- a/x11-fm/thunar/Makefile +++ b/x11-fm/thunar/Makefile @@ -1,88 +1,88 @@ PORTNAME= thunar DISTVERSION= 4.20.2 CATEGORIES= x11-fm xfce MASTER_SITES= XFCE DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce file manager WWW= https://gitlab.xfce.org/xfce/thunar LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libharfbuzz.so:print/harfbuzz RUN_DEPENDS= pkexec:sysutils/polkit \ xfce4-tumbler>0:deskutils/xfce4-tumbler USES= compiler:c11 cpe desktop-file-utils gettext-tools gmake gnome \ libtool pathfix perl5 pkgconfig tar:bzip2 xfce xorg CPE_VENDOR= xfce -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_LDCONFIG= yes USE_XFCE= libexo panel xfconf USE_XORG= ice sm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gudev \ --enable-gio-unix INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even OPTIONS_DEFINE= GIR NLS NOTIFY OPTIONS_DEFAULT= NOTIFY PLUG_APR PLUG_SBR PLUG_TPA PLUG_UCA PLUG_WALL OPTIONS_GROUP= PLUGINS OPTIONS_GROUP_PLUGINS= PLUG_APR PLUG_SBR PLUG_TPA PLUG_UCA PLUG_WALL OPTIONS_SUB= yes # Override NOTIFY_DESC GIR_DESC= Use Gobject Introspection NOTIFY_DESC= Display notifications PLUG_APR_DESC= Advanced Properties plugin PLUG_SBR_DESC= Simple Builtin Renamers plugin PLUG_TPA_DESC= Trash Panel Applet plugin PLUG_UCA_DESC= User Customizable Actions plugin PLUG_WALL_DESC= Wallpaper plugin GIR_USE= GNOME=introspection:build GIR_CONFIGURE_ON= --enable-introspection=yes GIR_CONFIGURE_OFF= --enable-introspection=no NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_ENABLE= notifications PLUG_APR_LIB_DEPENDS= libexif.so:graphics/libexif PLUG_APR_CONFIGURE_ENABLE= apr-plugin exif PLUG_SBR_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PLUG_SBR_CONFIGURE_ENABLE= sbr-plugin PLUG_TPA_USE= GNOME=gvfs \ XFCE=panel PLUG_TPA_CONFIGURE_ENABLE= tpa-plugin PLUG_UCA_CONFIGURE_ENABLE= uca-plugin PLUG_WALL_CONFIGURE_ENABLE= wallpaper-plugin post-patch: @${REINPLACE_CMD} -e 's|mail-send|emblem-mail|' \ ${WRKSRC}/plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in .for f in org.xfce.FileManager org.xfce.Thunar.FileManager1 org.xfce.Thunar @${REINPLACE_CMD} -i "" -e 's|SystemdService|#SystemdService|' \ ${WRKSRC}/${f}.service.in .endfor .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .include diff --git a/x11-themes/adapta-gtk-theme/Makefile b/x11-themes/adapta-gtk-theme/Makefile index d6a7fd8adab7..a6be8c3704cc 100644 --- a/x11-themes/adapta-gtk-theme/Makefile +++ b/x11-themes/adapta-gtk-theme/Makefile @@ -1,77 +1,77 @@ PORTNAME= adapta-gtk-theme PORTVERSION= 3.95.0.11 PORTREVISION= 5 CATEGORIES= x11-themes MAINTAINER= nivit@FreeBSD.org COMMENT= Adaptive Gtk+ theme based on Material Design Guidelines WWW= https://github.com/adapta-project/adapta-gtk-theme LICENSE= GPLv2 CC-BY-SA-4.0 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_CC-BY-SA-4.0= ${WRKSRC}/LICENSE_CC_BY_SA4 BUILD_DEPENDS= gsed:textproc/gsed \ inkscape:graphics/inkscape \ bash:shells/bash \ sassc:textproc/sassc RUN_DEPENDS= noto>=1.0.5:x11-fonts/noto \ roboto-fonts-ttf>=2.134:x11-fonts/roboto-fonts-ttf USES= autoreconf gmake gnome pathfix pkgconfig shebangfix CHROME_CONFIGURE_ENABLE= chrome_legacy CHROME_DESC= Support for legacy Chrome(ium) browser (<= R59) CINNAMON_CONFIGURE_ENABLE= cinnamon CINNAMON_DESC= Support for Cinnamon Desktop Environment CINNAMON_IMPLIES= METACITY CONFIGURE_ARGS= --disable-flashback \ --disable-gtk_next \ --disable-plank \ --disable-telegram \ --disable-tweetdeck DOCS_MAKE_ENV= ADAPTA_DOCS=yes GH_ACCOUNT= adapta-project GNOMESHELL_CONFIGURE_ENABLE= gnome GNOMESHELL_DESC= Support for Gnome-Shell Desktop Environment GNU_CONFIGURE= yes MATE_CONFIGURE_ENABLE= mate MATE_DESC= Support for Mate Desktop Environment MATE_IMPLIES= METACITY METACITY_DESC= Support for metacity Window Manager NO_ARCH= yes OPENBOX_CONFIGURE_ENABLE= openbox OPENBOX_DESC= Support for Openbox Desktop Environment OPTIONS_DEFAULT= CHROME CINNAMON GNOMESHELL MATE METACITY OPENBOX PARALLEL XFCE OPTIONS_DEFINE= CHROME CINNAMON DOCS GNOMESHELL MATE METACITY OPENBOX PARALLEL XFCE OPTIONS_SUB= yes PARALLEL_BUILD_DEPENDS= parallel:sysutils/parallel PARALLEL_CONFIGURE_ENABLE= parallel PARALLEL_DESC= parallel-build support SHEBANG_REGEX= '.*\.sh$$' USE_GITHUB= yes -USE_GNOME= gdkpixbuf2 glib20 librsvg2 libxml2 +USE_GNOME= gdkpixbuf glib20 librsvg2 libxml2 XFCE_CONFIGURE_ENABLE= xfce XFCE_DESC= Support for XFce Desktop Environment post-patch: # use textproc/gsed @(cd ${WRKSRC} && \ ${FIND} . -type f -iregex '${SHEBANG_REGEX}' \ -exec ${SED} -i '' -e 's,sed -i,${LOCALBASE}/bin/g&,g' {} ";") # replace deprecated inkscape flags @(cd ${WRKSRC} && \ ${FIND} . -type f -iregex '${SHEBANG_REGEX}' \ -exec ${SED} -i '' -e 's|--export-png=|--export-filename=|g' {} ";") .include diff --git a/x11-themes/greybird-theme/Makefile b/x11-themes/greybird-theme/Makefile index 735e614cb7cd..8fde76483244 100644 --- a/x11-themes/greybird-theme/Makefile +++ b/x11-themes/greybird-theme/Makefile @@ -1,37 +1,37 @@ PORTNAME= greybird PORTVERSION= 3.23.4 DISTVERSIONPREFIX= v CATEGORIES= x11-themes xfce PKGNAMESUFFIX= -theme MAINTAINER= xfce@FreeBSD.org COMMENT= Gtk and xfwm4 themes for the Xfce Desktop WWW= https://github.com/shimmerproject/Greybird LICENSE= GPLv2 CC-BY-SA-3.0 LICENSE_COMB= dual BUILD_DEPENDS= sassc:textproc/sassc RUN_DEPENDS= gtk-murrine-engine>=0.98.1:x11-themes/gtk-murrine-engine USES= gnome meson pkgconfig python:build -USE_GNOME= gdkpixbuf2:build glib20:build librsvg2:build +USE_GNOME= gdkpixbuf:build glib20:build librsvg2:build GH_ACCOUNT= shimmerproject GH_PROJECT= Greybird USE_GITHUB= yes NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= NOTIFYD OPTIONS_DEFAULT= NOTIFYD OPTIONS_SUB= yes NOTIFYD_DESC= Install xfce4-notifyd theme post-patch-NOTIFYD-off: ${REINPLACE_CMD} -e 's|install_data(xfce_notify_|#install_data(xfce_notify_|g' \ ${WRKSRC}/light/meson.build .include diff --git a/x11-themes/gtk-equinox-engine/Makefile b/x11-themes/gtk-equinox-engine/Makefile index b9ba212ff00a..45146c2b242b 100644 --- a/x11-themes/gtk-equinox-engine/Makefile +++ b/x11-themes/gtk-equinox-engine/Makefile @@ -1,69 +1,69 @@ PORTNAME= equinox PORTVERSION= 1.50 PORTREVISION= 6 CATEGORIES= x11-themes MASTER_SITES= LOCAL/grembo PKGNAMEPREFIX= gtk- PKGNAMESUFFIX= -engine DISTFILES= 121881-${DISTNAME}.tar.gz \ 140449-${PORTNAME}-themes-${PORTVERSION}.tar.gz MAINTAINER= grembo@FreeBSD.org COMMENT= Equinox GTK 2.x engine and themes WWW= http://gnome-look.org/content/show.php?content=121881 LICENSE= GPLv2 BUILD_DEPENDS= gtk-engines2>=2.15.0:x11-themes/gtk-engines2 \ icon-naming-utils>=0.8.7:x11-themes/icon-naming-utils LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= gtk-engines2>=2.15.0:x11-themes/gtk-engines2 USES= gnome libtool pkgconfig -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk20 pango USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip DATADIR= ${PREFIX}/share/themes WRKSRC= ${WRKDIR}/equinox-${PORTVERSION} SUBDIRS= "Equinox Evolution" "Equinox Evolution Dawn" \ "Equinox Evolution Dawn" "Equinox Evolution Dusk" \ "Equinox Evolution Light" "Equinox Evolution Midnight" \ "Equinox Evolution Rounded" "Equinox Evolution Squared" EXAMPLES= "Equinox Evolution.crx" "Equinox Evolution Dawn.crx" \ "Equinox Evolution Dusk.crx" "Equinox Evolution Midnight.crx" OPTIONS_DEFINE= ANIMATION DOCS EXAMPLES OPTIONS_DEFAULT= ANIMATION ANIMATION_DESC= Enable animation support ANIMATION_CONFIGURE_ENABLE= animation post-patch: @${FIND} ${WRKDIR} -name 'gtkrc' -exec \ ${REINPLACE_CMD} -e 's!^include "apps/nautilus\.rc"!#&!' {} + @${FIND} ${WRKDIR} -type f -name 'gtkrc.bak' -exec ${RM} {} + @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/src/animation.c post-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for i in ${SUBDIRS} ${CP} -R ${WRKDIR}/${i} ${STAGEDIR}${DATADIR} .endfor ${FIND} ${STAGEDIR}${DATADIR} -type d -exec ${CHMOD} 755 {} + ${FIND} ${STAGEDIR}${DATADIR} -type f -exec ${CHMOD} ${SHAREMODE} {} + post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in ${EXAMPLES} ${INSTALL_DATA} ${WRKDIR}/$i ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/x11-themes/lxappearance/Makefile b/x11-themes/lxappearance/Makefile index 257cece9ebd0..97fb54f51603 100644 --- a/x11-themes/lxappearance/Makefile +++ b/x11-themes/lxappearance/Makefile @@ -1,38 +1,38 @@ PORTNAME= lxappearance PORTVERSION= 0.6.3 PORTREVISION= 3 CATEGORIES= x11-themes gnome MASTER_SITES= SF/lxde/LXAppearance MAINTAINER= gnome@FreeBSD.org COMMENT= Desktop-independent theme switcher for GTK WWW= https://lxde.org/ LICENSE= GPLv2 LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= gettext-tools gmake gnome localbase pathfix pkgconfig tar:xz \ xorg GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_XORG= x11 -USE_GNOME= cairo gdkpixbuf2 gtk20 intltool +USE_GNOME= cairo gdkpixbuf gtk20 intltool CONFIGURE_ARGS= --enable-dbus PORTDOCS= AUTHORS README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11-themes/numix-gtk-theme/Makefile b/x11-themes/numix-gtk-theme/Makefile index f725400c3700..0d226a0b32c4 100644 --- a/x11-themes/numix-gtk-theme/Makefile +++ b/x11-themes/numix-gtk-theme/Makefile @@ -1,52 +1,52 @@ PORTNAME= numix-gtk-theme PORTVERSION= 2.6.7 PORTREVISION= 1 CATEGORIES= x11-themes xfce MAINTAINER= ports@FreeBSD.org COMMENT= Gtk flat themes WWW= https://numixproject.github.io LICENSE= GPLv3 BUILD_DEPENDS= rubygem-sass>=3.4:textproc/rubygem-sass RUN_DEPENDS= gtk-murrine-engine>=0.98.2:x11-themes/gtk-murrine-engine USES= gmake gnome USE_GITHUB= yes GH_ACCOUNT= numixproject -USE_GNOME= glib20 gdkpixbuf2 +USE_GNOME= glib20 gdkpixbuf INSTALL_TARGET= # empty NO_ARCH= yes OPTIONS_DEFINE= NOTIFYD OPTIONS_DEFAULT= NOTIFYD OPTIONS_SUB= yes NOTIFYD_DESC= Install xfce4-notifyd theme post-patch: # Remove .orig files @${RM} ${WRKSRC}/src/gtk-?.0/*.orig do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/Numix .for dir in assets gtk-2.0 gtk-3.0 gtk-3.20 metacity-1 openbox-3 xfwm4 @cd ${WRKSRC}/src && \ ${COPYTREE_SHARE} ${dir} \ ${STAGEDIR}${PREFIX}/share/themes/Numix \ "! -name thumbnail.png ! -name all-assets* ! -path *scss*" .endfor ${INSTALL_DATA} ${WRKSRC}/src/index.theme \ ${STAGEDIR}${PREFIX}/share/themes/Numix do-install-NOTIFYD-on: @cd ${WRKSRC}/src && \ ${COPYTREE_SHARE} xfce-notify-4.0 \ ${STAGEDIR}${PREFIX}/share/themes/Numix .include diff --git a/x11-themes/plasma6-kde-gtk-config/Makefile b/x11-themes/plasma6-kde-gtk-config/Makefile index 2b581faf51e2..e561b8ebf63b 100644 --- a/x11-themes/plasma6-kde-gtk-config/Makefile +++ b/x11-themes/plasma6-kde-gtk-config/Makefile @@ -1,24 +1,24 @@ PORTNAME= kde-gtk-config DISTVERSION= ${KDE_PLASMA_VERSION} PORTREVISION= 1 CATEGORIES= x11-themes kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Syncs KDE settings to GTK applications BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ sassc:textproc/sassc LIB_DEPENDS= libharfbuzz.so:print/harfbuzz RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ xsettingsd:x11/xsettingsd USES= cmake gl gnome kde:6 pkgconfig qt:6 tar:xz xorg USE_GL= gl opengl USE_XORG= x11 -USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk20 gtk30 USE_KDE= colorscheme config configwidgets coreaddons dbusaddons \ decoration guiaddons widgetsaddons windowsystem \ ecm:build USE_QT= base svg .include diff --git a/x11-themes/plata-theme/Makefile b/x11-themes/plata-theme/Makefile index 1e518560a8de..0be15113aab5 100644 --- a/x11-themes/plata-theme/Makefile +++ b/x11-themes/plata-theme/Makefile @@ -1,84 +1,84 @@ PORTNAME= plata-theme PORTVERSION= 0.9.9 PORTREVISION= 6 CATEGORIES= x11-themes MAINTAINER= tagattie@FreeBSD.org COMMENT= Gtk theme based on Material Design Refresh WWW= https://gitlab.com/tista500/plata-theme LICENSE= GPLv2 CC-BY-SA-4.0 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_CC-BY-SA-4.0= ${WRKSRC}/LICENSE_CC_BY_SA4 BUILD_DEPENDS= inkscape:graphics/inkscape \ sassc:textproc/sassc \ bash:shells/bash RUN_DEPENDS= gtk-murrine-engine>0:x11-themes/gtk-murrine-engine \ roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf USES= autoreconf gmake gnome pkgconfig shebangfix -USE_GNOME= gdkpixbuf2 gtk30 libxml2 +USE_GNOME= gdkpixbuf gtk30 libxml2 USE_GITLAB= yes GL_ACCOUNT= tista500 GL_TAGNAME= 1dd0953f1d6a35777388d39f46e2428c038042be NO_ARCH= yes SHEBANG_REGEX= ./src/.*\.sh$$ GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk_next \ --disable-flashback \ --disable-telegram \ --disable-tweetdeck \ --disable-airforsteam PORTDOCS= README.md README.window-list OPTIONS_DEFINE= CINNAMON DOCS GNOME MATE METACITY OPENBOX PARALLEL PLANK XFCE OPTIONS_DEFAULT= CINNAMON GNOME MATE METACITY OPENBOX PARALLEL PLANK XFCE OPTIONS_SUB= yes CINNAMON_DESC= Enable Cinnamon support CINNAMON_CONFIGURE_ENABLE= cinnamon CINNAMON_IMPLIES= METACITY GNOME_DESC= Enable Gnome support GNOME_CONFIGURE_ENABLE= gnome MATE_DESC= Enable Mate support MATE_CONFIGURE_ENABLE= mate MATE_IMPLIES= METACITY MATE_BUILD_DEPENDS= ${LOCALBASE}/lib/libmarco-private.so:x11-wm/marco METACITY_DESC= Enable Metacity support OPENBOX_DESC= Enable Openbox support OPENBOX_CONFIGURE_ENABLE= openbox PARALLEL_DESC= Enable parallel build PARALLEL_BUILD_DEPENDS= parallel:sysutils/parallel PARALLEL_CONFIGURE_ENABLE= parallel PLANK_DESC= Enable Plank support PLANK_CONFIGURE_ENABLE= plank XFCE_DESC= Enable Xfce support XFCE_CONFIGURE_ENABLE= xfce post-extract: ${CP} ${WRKSRC}/src/shell/sass/gnome-shell/README.window-list ${WRKSRC} post-patch: (cd ${WRKSRC} && \ ${FIND} . -type f -iregex '${SHEBANG_REGEX}' \ -exec ${SED} -i '' -e "s/sed -i/& ''/g" {} ';') ${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|; s|$${prefix}|${PREFIX}|' \ ${WRKSRC}/README.window-list post-install: ${RM} ${STAGEDIR}${PREFIX}/share/themes/Plata/COPYING ${RM} ${STAGEDIR}${PREFIX}/share/themes/Plata/LICENSE_CC_BY_SA4 ${RM} ${STAGEDIR}${PREFIX}/share/themes/Plata/gnome-shell/extensions/window-list/README post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11-themes/qgnomeplatform/Makefile b/x11-themes/qgnomeplatform/Makefile index 08cc5ef3cbb6..dbddd6b5f08a 100644 --- a/x11-themes/qgnomeplatform/Makefile +++ b/x11-themes/qgnomeplatform/Makefile @@ -1,27 +1,27 @@ PORTNAME= qgnomeplatform DISTVERSION= 0.6.1-8 DISTVERSIONSUFFIX= -g53d7924 PORTREVISION= 3 CATEGORIES= x11-themes MAINTAINER= ports@FreeBSD.org COMMENT= Qt 5 Platform Theme designed to fit into GNOME WWW= https://github.com/FedoraQt/QGnomePlatform LICENSE= LGPL21 LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang gl gnome pkgconfig qmake:outsource qt:5 xorg USE_GL= gl -USE_GNOME= gtk30 cairo gdkpixbuf2 +USE_GNOME= gtk30 cairo gdkpixbuf USE_QT= buildtools:build core gui widgets dbus wayland USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= FedoraQt GH_PROJECT= QGnomePlatform .include diff --git a/x11-themes/qt5-style-plugins/Makefile b/x11-themes/qt5-style-plugins/Makefile index 51e73b12082e..ddee1a267455 100644 --- a/x11-themes/qt5-style-plugins/Makefile +++ b/x11-themes/qt5-style-plugins/Makefile @@ -1,28 +1,28 @@ PORTNAME= qt5-style-plugins DISTVERSIONPREFIX= v DISTVERSION= 5.0.0-23 DISTVERSIONSUFFIX= -g335dbe PORTREVISION= 11 CATEGORIES= x11-themes DIST_SUBDIR= KDE/Qt/addons MAINTAINER= kde@FreeBSD.org COMMENT= Additional Styles for Qt 5 and KDE WWW= https://qt-project.org LICENSE= LGPL21 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler:c++11-lang gettext-runtime gl gnome pkgconfig qmake \ qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= qt GH_PROJECT= qtstyleplugins -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango USE_QT= core dbus gui widgets buildtools:build USE_GL= gl USE_XORG= x11 xext .include diff --git a/x11-themes/qtcurve/Makefile b/x11-themes/qtcurve/Makefile index 83f3ec0db6d6..88aad456cb32 100644 --- a/x11-themes/qtcurve/Makefile +++ b/x11-themes/qtcurve/Makefile @@ -1,109 +1,109 @@ PORTNAME= qtcurve PORTVERSION= 1.9.0 PORTREVISION?= 0 CATEGORIES= x11-themes MASTER_SITES= KDE/stable/${PORTNAME} DISTNAME= ${PORTNAME}-${PORTVERSION:R} MAINTAINER= jhale@FreeBSD.org COMMENT?= Widget styles for Qt and GTK toolkits WWW= https://invent.kde.org/system/qtcurve .if !defined(QTCURVE_SLAVE) USES= metaport # There is no NO_PATCH PATCHDIR= ${MASTERDIR}/none OPTIONS_RADIO= QT5 OPTIONS_RADIO_QT5= KF5 QT5 OPTIONS_DEFINE= GTK2 OPTIONS_DEFAULT= GTK2 QT5 GTK2_RUN_DEPENDS= gtk2-qtcurve-theme>=${PORTVERSION}:x11-themes/qtcurve-gtk2 KF5_DESC= KDE Frameworks 5 + Qt 5 toolkit support KF5_RUN_DEPENDS= kf5-style-qtcurve>=${PORTVERSION}:x11-themes/qtcurve-kf5 QT5_RUN_DEPENDS= qt5-style-qtcurve>=${PORTVERSION}:x11-themes/qtcurve-qt5 .else # !defined(QTCURVE_SLAVE) PATCH_SITES= https://invent.kde.org/system/${PORTNAME}/commit/ PATCHFILES= ee2228ea2f18ac5da9b434ee6089381df815aa94.patch:-p1 LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib cmake:insource pkgconfig tar:xz xorg USE_XORG= x11 xcb .for i in gtk2 kf5 qt5 WITH_${i}= Off .endfor WITH_${QTCURVE_SLAVE}= On CMAKE_ARGS+= -DENABLE_GTK2=${WITH_gtk2} \ -DENABLE_QT4=Off \ -DENABLE_QT5=${WITH_qt5} \ -DQTC_QT4_ENABLE_KDE=Off \ -DQTC_QT5_ENABLE_KDE=${WITH_kf5} LDFLAGS+= -L${LOCALBASE}/lib BUILD_WRKSRC= ${WRKSRC}/${QTCURVE_SLAVE} INSTALL_WRKSRC= ${BUILD_WRKSRC} PLIST= ${PKGDIR}/pkg-plist.${QTCURVE_SLAVE} .if ${QTCURVE_SLAVE} == "utils" PKGNAMESUFFIX= -utils USES+= gettext-runtime kde:5 qt:5 USE_KDE+= i18n:build USE_QT+= buildtools:build qmake:build USE_LDCONFIG= yes BUILD_WRKSRC= ${WRKSRC} .else LIB_DEPENDS+= libqtcurve-utils.so:x11-themes/qtcurve-utils .endif .if ${QTCURVE_SLAVE} == "gtk2" PKGNAMEPREFIX= gtk2- PKGNAMESUFFIX= -theme USES+= gettext-runtime gnome kde:5 qt:5 USE_KDE= i18n:build USE_QT+= buildtools:build qmake:build -USE_GNOME= cairo gdkpixbuf2 gtk20 pango +USE_GNOME= cairo gdkpixbuf gtk20 pango USE_LDCONFIG= yes post-install: @(cd ${WRKSRC}/lib/cairo && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endif .if ${QTCURVE_SLAVE} == "kf5" CONFLICTS_INSTALL= qt5-style-qtcurve WITH_qt5= On # required for KF5 PKGNAMEPREFIX= kf5-style- USES+= kde:5 qt:5 USE_KDE= archive completion config configwidgets coreaddons \ frameworkintegration guiaddons i18n iconthemes \ init kdelibs4support kio widgetsaddons windowsystem xmlgui \ doctools:build ecm:build USE_QT= core dbus gui printsupport svg widgets x11extras \ buildtools:build qmake:build BUILD_WRKSRC= ${WRKSRC}/qt5 .endif .if ${QTCURVE_SLAVE} == "qt5" CONFLICTS_INSTALL= kf5-style-qtcurve PKGNAMEPREFIX= qt5-style- USES+= kde:5 qt:5 USE_KDE= i18n:build USE_QT= core dbus gui svg widgets x11extras \ buildtools:build qmake:build PLIST_FILES= ${QT_PLUGINDIR_REL}/styles/qtcurve.so .endif post-patch: @${REINPLACE_CMD} -e 's|bash|sh|' -e 's|\[\[|[|g' -e 's|\]\]|]|g' \ ${WRKSRC}/tools/gen-version.sh .endif # !defined(QTCURVE_SLAVE) .include diff --git a/x11-themes/xfce-icons-elementary/Makefile b/x11-themes/xfce-icons-elementary/Makefile index a9b2ae0926b6..f6b7146d5d31 100644 --- a/x11-themes/xfce-icons-elementary/Makefile +++ b/x11-themes/xfce-icons-elementary/Makefile @@ -1,31 +1,31 @@ PORTNAME= elementary PORTVERSION= 0.21 DISTVERSIONPREFIX=v CATEGORIES= x11-themes xfce PKGNAMEPREFIX= xfce-icons- MAINTAINER= xfce@FreeBSD.org COMMENT= Elementary icons, extended and maintained for Xfce WWW= https://github.com/shimmerproject/elementary-xfce LICENSE= GPLv3 BUILD_DEPENDS= optipng:graphics/optipng USES= compiler:c11 gnome pkgconfig -USE_GNOME= gdkpixbuf2:build gtk30:build +USE_GNOME= gdkpixbuf:build gtk30:build HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" USE_GITHUB= yes GH_ACCOUNT= shimmerproject GH_PROJECT= elementary-xfce NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|-O0|${CFLAGS}|' \ ${WRKSRC}/svgtopng/Makefile .include diff --git a/x11-toolkits/amtk/Makefile b/x11-toolkits/amtk/Makefile index a0d071ebd45d..adcf65d85c87 100644 --- a/x11-toolkits/amtk/Makefile +++ b/x11-toolkits/amtk/Makefile @@ -1,19 +1,19 @@ PORTNAME= amtk PORTVERSION= 5.6.0 PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Actions, Menus and Toolbars Kit WWW= https://wiki.gnome.org/Projects/Amtk LICENSE= LGPL21 BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc USES= gettext gmake gnome meson pkgconfig tar:xz -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection +USE_GNOME= cairo gdkpixbuf gtk30 introspection .include diff --git a/x11-toolkits/gdl/Makefile b/x11-toolkits/gdl/Makefile index 04e40c37be79..ec227966afd0 100644 --- a/x11-toolkits/gdl/Makefile +++ b/x11-toolkits/gdl/Makefile @@ -1,23 +1,23 @@ PORTNAME= gdl PORTVERSION= 3.40.0 PORTREVISION= 2 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Components intended to be shared between GNOME development tools WWW= https://www.gnome.org/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limitw:1,even -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection:build libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 intltool introspection:build libxml2 USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include diff --git a/x11-toolkits/granite/Makefile b/x11-toolkits/granite/Makefile index 1b35f0600cf7..528e7a4f643b 100644 --- a/x11-toolkits/granite/Makefile +++ b/x11-toolkits/granite/Makefile @@ -1,33 +1,33 @@ PORTNAME= granite DISTVERSION= 6.2.0 PORTREVISION= 2 CATEGORIES= x11-toolkits MAINTAINER= desktop@FreeBSD.org COMMENT= Extensions of GTK 3 toolkit WWW= https://github.com/elementary/granite LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgee-0.8.so:devel/libgee RUN_DEPENDS= contractor:sysutils/contractor \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= gettext gnome meson pkgconfig python:build tar:xz vala:build USE_GITHUB= yes GH_ACCOUNT= elementary -USE_GNOME= cairo glib20 gtk30 gdkpixbuf2 introspection:build +USE_GNOME= cairo glib20 gtk30 gdkpixbuf introspection:build USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_CMD} PORTSCOUT= limit:^6 PLIST_SUB= DISTVERSION=${DISTVERSION} .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/x11-toolkits/gstreamer1-plugins-gtk/Makefile b/x11-toolkits/gstreamer1-plugins-gtk/Makefile index 16414e35a3dc..271ea8dd363d 100644 --- a/x11-toolkits/gstreamer1-plugins-gtk/Makefile +++ b/x11-toolkits/gstreamer1-plugins-gtk/Makefile @@ -1,18 +1,18 @@ PORTREVISION= 0 CATEGORIES= x11-toolkits COMMENT= GStreamer gtksink plugin USES= gnome USE_GSTREAMER= gl -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins PLIST= ${.CURDIR}/pkg-plist DIST= good GST_PLUGIN= gtk3 GST_PLUGIN_SUFFIX= -gtk .include "${MASTERDIR}/Makefile" diff --git a/x11-toolkits/gtk-sharp20/Makefile b/x11-toolkits/gtk-sharp20/Makefile index 35cfcba41e3a..27537090c1f8 100644 --- a/x11-toolkits/gtk-sharp20/Makefile +++ b/x11-toolkits/gtk-sharp20/Makefile @@ -1,32 +1,32 @@ PORTNAME= gtk-sharp PORTVERSION= 2.12.45 PORTREVISION= 6 CATEGORIES= x11-toolkits MASTER_SITES= http://download.mono-project.com/sources/gtk-sharp212/ PKGNAMESUFFIX= 20 MAINTAINER= ports@FreeBSD.org COMMENT= GTK and GNOME interfaces for the .NET runtime WWW= https://www.mono-project.com/Gtk LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= p5-XML-LibXML>=0:textproc/p5-XML-LibXML USES= gmake gnome libtool mono pathfix perl5 pkgconfig shebangfix USE_LDCONFIG= yes -USE_GNOME= cairo gdkpixbuf2 gtk20 libglade2 +USE_GNOME= cairo gdkpixbuf gtk20 libglade2 USE_PERL5= run SHEBANG_FILES= parser/*.pl GNU_CONFIGURE= yes MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} post-patch: @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/glib/glue/*.c .include diff --git a/x11-toolkits/gtk-sharp30/Makefile b/x11-toolkits/gtk-sharp30/Makefile index 066e02884264..ed2683795aaf 100644 --- a/x11-toolkits/gtk-sharp30/Makefile +++ b/x11-toolkits/gtk-sharp30/Makefile @@ -1,31 +1,31 @@ PORTNAME= gtk-sharp PORTVERSION= 2.99.3 PORTREVISION= 7 CATEGORIES= x11-toolkits MASTER_SITES= GNOME PKGNAMESUFFIX= 30 MAINTAINER= kwm@FreeBSD.org COMMENT= GTK and GNOME interfaces for the .NET runtime WWW= https://www.mono-project.com/Gtk LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libinotify.so:devel/libinotify RUN_DEPENDS= p5-XML-LibXML>=0:textproc/p5-XML-LibXML USES= gettext-runtime gmake gnome libtool mono pathfix perl5 \ pkgconfig shebangfix tar:xz GNU_CONFIGURE= yes USE_LDCONFIG= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 SHEBANG_FILES= parser/*.pl USE_PERL5= run MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} post-patch: @${REINPLACE_CMD} -e 's|gmcs|mcs|g' \ ${WRKSRC}/configure .include diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 477998d700d4..2755ce62de03 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -1,68 +1,68 @@ PORTNAME= gtk PORTVERSION= 2.24.33 # sync with graphics/gtk-update-icon-cache PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= GNOME/sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} PKGNAMESUFFIX= 2 DISTNAME= gtk+-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= desktop@FreeBSD.org COMMENT= Gimp Toolkit for X11 GUI (previous stable version) WWW= https://www.gtk.org/ LICENSE= LGPL20 USES= cpe tar:xz PORTSCOUT= limitw:0,even CPE_VENDOR= gnome RUN_DEPENDS+= update-mime-database:misc/shared-mime-info \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme USES+= gettext gmake gnome libtool localbase:ldflags pathfix perl5 \ pkgconfig python:run shebangfix xorg SHEBANG_FILES= gtk/gtk-builder-convert GNU_CONFIGURE= yes -USE_GNOME= atk pango gdkpixbuf2 introspection:build \ +USE_GNOME= atk pango gdkpixbuf introspection:build \ gtk-update-icon-cache USE_LDCONFIG= yes USE_PERL5= build USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \ xcomposite CONFIGURE_ARGS= --with-xinput=yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= CUPS DEBUG OPTIONS_DEFAULT=CUPS OPTIONS_SUB= yes CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CONFIGURE_ON= --enable-cups=auto CUPS_CONFIGURE_OFF= --disable-cups DEBUG_CONFIGURE_ON= --enable-debug=yes PLIST_SUB+= LIBGAILVER=18.0.1 LIBGVER=0.2400.33 post-patch: @${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|file,cups|file,cups,lpr|' \ ${WRKSRC}/gtk/Makefile.in pre-configure: # .if !exists() evaluates too early before cairo has a chance to be installed @if ! pkg-config --exists cairo-xlib; then \ ${ECHO_MSG} "${PKGNAME}: Needs cairo with X11 support enabled."; \ ${FALSE}; \ fi post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-2.0/modules @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-2.0/${GTK2_VERSION}/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-2.0/${GTK2_VERSION}/loaders @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-2.0/${GTK2_VERSION}/modules .include diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index 143c3611073e..34812bfb23d9 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -1,96 +1,96 @@ PORTNAME= gtk DISTVERSION= 3.24.48 # sync with x11-themes: adwaita-icon-theme, gnome-themes-standard and mate-themes CATEGORIES= x11-toolkits MASTER_SITES= GNOME/sources/gtk/${DISTVERSION:R} PKGNAMESUFFIX= 3 DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Graphical UI toolkit (GTK3 library) WWW= https://www.gtk.org/ LICENSE= LGPL21+ LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfribidi.so:converters/fribidi \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \ hicolor-icon-theme>=0:misc/hicolor-icon-theme USES= compiler:c11 cpe gettext gnome localbase:ldflags meson ninja \ pathfix perl5 pkgconfig python shebangfix tar:xz CPE_VENDOR= gnome -USE_GNOME= atk cairo gdkpixbuf2 gtk-update-icon-cache pango \ +USE_GNOME= atk cairo gdkpixbuf gtk-update-icon-cache pango \ introspection:build librsvg2:run GLIB_SCHEMAS= org.gtk.Demo.gschema.xml \ org.gtk.Settings.ColorChooser.gschema.xml \ org.gtk.Settings.Debug.gschema.xml \ org.gtk.Settings.EmojiChooser.gschema.xml \ org.gtk.Settings.FileChooser.gschema.xml USE_LDCONFIG= yes USE_PERL5= build SHEBANG_GLOB= *.py MESON_ARGS= -Dtests=false PORTSCOUT= limit:1,even LIBVERSION= 0.2416.32 PLIST_SUB+= LIBVERSION=${LIBVERSION} OPTIONS_DEFINE= ATK_BRIDGE COLORD CUPS DEBUG DOCS OPTIONS_DEFAULT= ATK_BRIDGE BROADWAY COLORD CUPS WAYLAND X11 OPTIONS_MULTI= BACKENDS OPTIONS_MULTI_BACKENDS= BROADWAY WAYLAND X11 OPTIONS_SUB= yes ATK_BRIDGE_DESC= AT-SPI ATK bridge support BROADWAY_DESC= Enable GDK Broadway backend for showing GTK in the webbrowser using HTML5 and web sockets. COLORD_DESC= Color profile support WAYLAND_DESC= GDK Wayland backend X11_DESC= GDK X11 backend ATK_BRIDGE_IMPLIES= X11 ATK_BRIDGE_LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core ATK_BRIDGE_MESON_TRUE= atk_bridge BROADWAY_MESON_TRUE= broadway_backend COLORD_LIB_DEPENDS= libcolord.so:graphics/colord COLORD_MESON_YES= colord CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_MESON_ON= -Dprint_backends=cups,file,lpr CUPS_MESON_OFF= -Dprint_backends=file,lpr DEBUG_MESON_ON= --buildtype=debug DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc DOCS_MESON_TRUE= gtk_doc man WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas WAYLAND_MESON_TRUE= wayland_backend X11_USES= xorg X11_USE= XORG=x11,xcomposite,xcursor,xdamage,xext,xfixes,xi,xinerama,xrandr,xrender X11_MESON_TRUE= x11_backend TESTING_UNSAFE= ld: error: unable to find library -lintl pre-build: @${RM} -r ${WRKSRC}/docs/gtk.info* post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-3.0/modules @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-3.0/${GTK3_VERSION}/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-3.0/${GTK3_VERSION}/loaders pre-test: ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE} ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=true" .include diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile index 767bc528200f..06bbec4440e9 100644 --- a/x11-toolkits/gtk40/Makefile +++ b/x11-toolkits/gtk40/Makefile @@ -1,110 +1,110 @@ PORTNAME= gtk PORTVERSION= 4.18.1 CATEGORIES= x11-toolkits MASTER_SITES= GNOME PKGNAMESUFFIX= 4 DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Gimp Toolkit for X11 GUI (current stable version) WWW= https://www.gtk.org/ LICENSE= LGPL20 PORTSCOUT= limit:1,even BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm \ sassc>0:textproc/sassc LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= hicolor-icon-theme>=0:misc/hicolor-icon-theme \ adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme USES= compiler:c11 cpe gettext gnome jpeg localbase meson \ ninja pathfix perl5 python pkgconfig tar:xz CPE_VENDOR= gnome USE_LDCONFIG= yes USE_PERL5= build -USE_GNOME= atk cairo gdkpixbuf2 introspection:build pango \ +USE_GNOME= atk cairo gdkpixbuf introspection:build pango \ librsvg2:run MESON_ARGS= -Dbuild-testsuite=false LDFLAGS+= -lexecinfo BINARY_ALIAS= python3=${PYTHON_CMD} LIBVERSION= 1.1800.1 PLIST_SUB+= LIBVERSION=${LIBVERSION} GLIB_SCHEMAS= org.gtk.Demo4.gschema.xml \ org.gtk.gtk4.Settings.ColorChooser.gschema.xml \ org.gtk.gtk4.Settings.Debug.gschema.xml \ org.gtk.gtk4.Settings.EmojiChooser.gschema.xml \ org.gtk.gtk4.Settings.FileChooser.gschema.xml OPTIONS_DEFINE= CUPS COLORD DEBUG BROADWAY GSTREAMER VULKAN WAYLAND X11 OPTIONS_DEFAULT=CUPS COLORD BROADWAY GSTREAMER VULKAN WAYLAND X11 OPTIONS_SUB= yes BROADWAY_DESC= Enable GDK Broadway backend for showing GTK in the webbrowser using HTML5 and web sockets. BROADWAY_MESON_TRUE= broadway-backend COLORD_DESC= Color profile support COLORD_LIB_DEPENDS= libcolord.so:graphics/colord COLORD_MESON_ENABLED= colord CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_MESON_ENABLED= print-cups GSTREAMER_DESC= GStreamer multimedia backend GSTREAMER_MESON_ENABLED=media-gstreamer GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,gl VULKAN_DESC= GDK Vulkan renderer backend VULKAN_BUILD_DEPENDS= glslc:graphics/shaderc \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_MESON_ENABLED= vulkan VULKAN_CFLAGS= -Wno-error=int-conversion # https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 WAYLAND_DESC= GDK Wayland backend WAYLAND_MESON_TRUE= wayland-backend WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ wayland-protocols>=0:graphics/wayland-protocols WAYLAND_USES= gl WAYLAND_USE= GL=egl X11_DESC= GDK X11 backend X11_MESON_TRUE= x11-backend X11_USES= xorg X11_USE= XORG=x11,xcomposite,xcursor,xdamage,xext,xfixes,xi,xinerama,xrandr,xrender pre-build: @${RM} -r ${WRKSRC}/docs/gtk.info* post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/loaders @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/modules @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/loaders @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/modules pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dbuild-testsuite=true"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include diff --git a/x11-toolkits/gtkdatabox/Makefile b/x11-toolkits/gtkdatabox/Makefile index 6c08c7171070..9674695d7321 100644 --- a/x11-toolkits/gtkdatabox/Makefile +++ b/x11-toolkits/gtkdatabox/Makefile @@ -1,50 +1,50 @@ PORTNAME= gtkdatabox DISTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-1 MAINTAINER= eduardo@FreeBSD.org COMMENT= GTK 3 widget to display large amounts of numerical data WWW= https://sourceforge.net/projects/gtkdatabox/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= gnome libtool pathfix pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --includedir="${PREFIX}/include/${PORTNAME}" \ --with-html-dir="${PREFIX}/share/doc" INSTALL_TARGET= install-strip PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES GLADE OPTIONS_SUB= yes GLADE_LIB_DEPENDS= libgladeui-2.so:devel/glade GLADE_CONFIGURE_ENABLE= glade post-patch: @${REINPLACE_CMD} -e \ '/^SUBDIR/s|examples||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|DOC_MODULE_VERSION = 1|#DOC_MODULE_VERSION = 1|' ${WRKSRC}/doc/Makefile.in .for dir in examples gtk @${REINPLACE_CMD} -e \ '/-O2/d ; \ /DISABLE_DEPRECATED/d' ${WRKSRC}/${dir}/Makefile.in .endfor post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11-toolkits/gtkglarea2/Makefile b/x11-toolkits/gtkglarea2/Makefile index 1a7317d426bd..ee8524e1deb6 100644 --- a/x11-toolkits/gtkglarea2/Makefile +++ b/x11-toolkits/gtkglarea2/Makefile @@ -1,29 +1,29 @@ PORTNAME= gtkglarea PORTVERSION= 2.0.1 PORTREVISION= 12 CATEGORIES= x11-toolkits MASTER_SITES= GNOME DISTNAME= gtkglarea-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL widget for the GTK 2 GUI toolkit WWW= https://www.mono-project.com/archived/gtkglarea/ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++11-lang gl gnome libtool:keepla pathfix pkgconfig tar:bzip2 -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_GL= gl glu USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lib-GL INSTALL_TARGET= install-strip LIBS+= -lm .include diff --git a/x11-toolkits/gtkmm24/Makefile b/x11-toolkits/gtkmm24/Makefile index 1f77f54274da..17de8aee10ed 100644 --- a/x11-toolkits/gtkmm24/Makefile +++ b/x11-toolkits/gtkmm24/Makefile @@ -1,38 +1,38 @@ PORTNAME= gtkmm PORTVERSION= 2.24.5 PORTREVISION?= 4 CATEGORIES= x11-toolkits MASTER_SITES= GNOME PKGNAMESUFFIX= 24 DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= C++ wrapper for Gtk+ WWW= https://www.gtkmm.org/ USES+= tar:xz PORTSCOUT= ignore:1 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig GNU_CONFIGURE= yes USES+= gettext gmake gnome libtool:keepla pathfix pkgconfig \ compiler:c++11-lang USE_CXXSTD= gnu++11 USE_LDCONFIG= yes -USE_GNOME= atkmm gdkpixbuf2 gtk20 pangomm +USE_GNOME= atkmm gdkpixbuf gtk20 pangomm CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-documentation INSTALL_TARGET= install-strip BINARY_WRAPPERS= gm4 PLIST_SUB= VERSION="2.4" API_VERSION="2.4" post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \ ${WRKSRC}/Makefile.in .include diff --git a/x11-toolkits/gtkmm30/Makefile b/x11-toolkits/gtkmm30/Makefile index 9769316b5ecb..4669820ceedc 100644 --- a/x11-toolkits/gtkmm30/Makefile +++ b/x11-toolkits/gtkmm30/Makefile @@ -1,27 +1,27 @@ PORTNAME= gtkmm DISTVERSION= 3.24.9 CATEGORIES= x11-toolkits MASTER_SITES= GNOME PKGNAMESUFFIX= 30 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= C++ wrapper for Gtk+3 WWW= http://gtkmm.sourceforge.net/ LICENSE= LGPL21 PORTSCOUT= limitw:1,even USES= compiler:c++11-lang gnome localbase:ldflags meson \ pkgconfig python:build tar:xz -USE_GNOME= gdkpixbuf2 gtk30 glibmm cairomm atkmm pangomm +USE_GNOME= gdkpixbuf gtk30 glibmm cairomm atkmm pangomm USE_LDCONFIG= yes MESON_ARGS= -Dbuild-documentation=false \ -Dbuild-demos=false \ -Dcpp_std=c++11 PLIST_SUB= API_VERSION="3.0" .include diff --git a/x11-toolkits/gtksourceview3/Makefile b/x11-toolkits/gtksourceview3/Makefile index a2be7304f919..6006c15e042e 100644 --- a/x11-toolkits/gtksourceview3/Makefile +++ b/x11-toolkits/gtksourceview3/Makefile @@ -1,42 +1,42 @@ PORTNAME= gtksourceview PORTVERSION= 3.24.11 PORTREVISION= 4 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 3 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Text widget that adds syntax highlighting to the GtkTextView widget WWW= https://wiki.gnome.org/Projects/GtkSourceView/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 tar:xz vala:build PORTSCOUT= limitw:1,even LIB_DEPENDS= libfribidi.so:converters/fribidi USES+= gettext gmake gnome libtool localbase pathfix pkgconfig USE_CSTD= c11 -USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 \ +USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 \ introspection:build libxml2 GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-compile-warnings=no \ --enable-glade-catalog=no \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --enable-introspection INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|tests testsuite||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|--warn-all||g' \ ${WRKSRC}/gtksourceview/Makefile.in .include diff --git a/x11-toolkits/gtksourceview4/Makefile b/x11-toolkits/gtksourceview4/Makefile index bde718ba430f..73e61d0a1b1c 100644 --- a/x11-toolkits/gtksourceview4/Makefile +++ b/x11-toolkits/gtksourceview4/Makefile @@ -1,25 +1,25 @@ PORTNAME= gtksourceview PORTVERSION= 4.8.3 PORTREVISION= 2 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 4 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Text widget that adds syntax highlighting to the GtkTextView widget WWW= https://wiki.gnome.org/Projects/GtkSourceView LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfribidi.so:converters/fribidi PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gnome meson pkgconfig tar:xz vala:build USE_CSTD= c11 -USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 libxml2 introspection:build USE_LDCONFIG= yes .include diff --git a/x11-toolkits/gtksourceview5/Makefile b/x11-toolkits/gtksourceview5/Makefile index 782bd5a21683..c2f2fe679cd8 100644 --- a/x11-toolkits/gtksourceview5/Makefile +++ b/x11-toolkits/gtksourceview5/Makefile @@ -1,26 +1,26 @@ PORTNAME= gtksourceview DISTVERSION= 5.14.2 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 5 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Text widget that adds syntax highlighting to the GtkTextView widget WWW= https://wiki.gnome.org/Projects/GtkSourceView LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfribidi.so:converters/fribidi \ libpcre2-8.so:devel/pcre2 USES= compiler:c11 gettext gnome meson pkgconfig tar:xz vala:build USE_CSTD= c11 -USE_GNOME= cairo gdkpixbuf2 gtk40 libxml2 introspection:build +USE_GNOME= cairo gdkpixbuf gtk40 libxml2 introspection:build USE_LDCONFIG= yes PORTSCOUT= limitw:1,even .include diff --git a/x11-toolkits/guile-gnome-platform/Makefile b/x11-toolkits/guile-gnome-platform/Makefile index a199d807a516..957e821999df 100644 --- a/x11-toolkits/guile-gnome-platform/Makefile +++ b/x11-toolkits/guile-gnome-platform/Makefile @@ -1,159 +1,159 @@ PORTNAME= guile-gnome-platform DISTVERSION= 2.16.5 PORTREVISION= 9 CATEGORIES= x11-toolkits MASTER_SITES= GNU/guile-gnome/${PORTNAME} MAINTAINER= andrew@tao11.riddles.org.uk COMMENT= Guile bindings for Gnome libraries WWW= https://www.gnu.org/software/guile-gnome/ LICENSE= GPLv2+ LIB_DEPENDS= libgwrap-guile-runtime.so:devel/g-wrap \ libffi.so:devel/libffi FLAVORS= lite full FLAVOR?= ${FLAVORS:[1]} full_PKGNAMESUFFIX=-full full_CONFLICTS_INSTALL=${PORTNAME}-lite lite_PKGNAMESUFFIX=-lite lite_CONFLICTS_INSTALL=${PORTNAME}-full # We don't actually need gettext, but for some incomprehensible reason it # is the package that installs some basic gnulib autoconf functionality. USES= autoreconf gettext-tools gmake gnome guile:2.2,alias \ libtool pkgconfig USE_GNOME= glib20 USE_LDCONFIG= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE=yes INSTALL_TARGET= install-strip DATADIR= ${PREFIX}/share/guile-gnome-2 INFO= guile-gnome-gconf guile-gnome-glib guile-gnome-gobject \ guile-gnome-libgnome guile-gnome-libgnomeui OPTIONS_DEFINE= ATK CAIRO CANVAS GLADE GTK2 PANGO OPTIONS_DEFAULT=ATK CAIRO CANVAS GLADE GTK2 PANGO .if ${FLAVOR} == full OPTIONS_SLAVE= ATK CAIRO CANVAS GLADE GTK2 PANGO .endif OPTIONS_SUB= yes # other options have descriptions provided by ports/Mk/* ATK_DESC= GNOME accessibility toolkit (ATK) CANVAS_DESC= GNOMECanvas Graphics library ATK_USE= gnome=atk ATK_CONFIGURE_WITH= atk ATK_INFO= guile-gnome-atk # Cairo support depends on a separate module. CAIRO_BUILD_DEPENDS= ${LOCALBASE}/lib/guile/${GUILE_VER}/extensions/libguile-cairo.so:graphics/guile-cairo@${GUILE_FLAVOR} CAIRO_RUN_DEPENDS= ${LOCALBASE}/lib/guile/${GUILE_VER}/extensions/libguile-cairo.so:graphics/guile-cairo@${GUILE_FLAVOR} CAIRO_USE= gnome=cairo CAIRO_CONFIGURE_WITH= cairo CANVAS_IMPLIES= GLADE GTK2 CAIRO CANVAS_USE= gnome=libgnomecanvas CANVAS_CONFIGURE_WITH= canvas CANVAS_INFO= guile-gnome-libgnomecanvas GLADE_IMPLIES= GTK2 CAIRO GLADE_USE= gnome=libglade2 GLADE_CONFIGURE_WITH= libglade GLADE_INFO= guile-gnome-libglade GTK2_IMPLIES= CAIRO # These dependencies are brought in from gtk2's pkgconf, but # not accounted for by Uses/gnome GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz -GTK2_USE= gnome=gtk20,gdkpixbuf2 +GTK2_USE= gnome=gtk20,gdkpixbuf GTK2_CONFIGURE_WITH= gtk pixbuf GTK2_INFO= guile-gnome-gtk guile-gnome-gdk PANGO_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz PANGO_USE= gnome=pango PANGO_CONFIGURE_WITH= pango PANGO_INFO= guile-gnome-pango # pangocairo doesn't have its own option, but is enabled if both PANGO # and CAIRO are set. PANGOCAIRO_INFO=guile-gnome-pangocairo HAS_PANGOCAIRO= ${"${PORT_OPTIONS:MPANGO}${PORT_OPTIONS:MCAIRO}" == "PANGOCAIRO":?1:} INFO+= ${"${HAS_PANGOCAIRO}":?${PANGOCAIRO_INFO}:} # Compute the list of info files that are _not_ installed. INFO_UNUSED= ${DESELECTED_OPTIONS:@s@${${s}_INFO}@} \ ${OPTIONS_EXCLUDE:@s@${${s}_INFO}@} \ ${"${HAS_PANGOCAIRO}":?:${PANGOCAIRO_INFO}} post-patch: @${REINPLACE_CMD} -e '/grep/s,\^ {|,^ \\{|,' ${WRKSRC}/gconf/gnome/gw/Makefile.in \ ${WRKSRC}/gconf/gnome/overrides/Makefile.in \ ${WRKSRC}/gconf/gnome/Makefile.in \ ${WRKSRC}/libgnome/gnome/gw/Makefile.in \ ${WRKSRC}/libgnome/gnome/Makefile.in \ ${WRKSRC}/libgnome/gnome/overrides/Makefile.in \ ${WRKSRC}/defs/gnome/defs/Makefile.in \ ${WRKSRC}/defs/Makefile.in \ ${WRKSRC}/gtk/Makefile.in \ ${WRKSRC}/gtk/gnome/gw/Makefile.in \ ${WRKSRC}/gtk/gnome/gtk/Makefile.in \ ${WRKSRC}/gtk/gnome/overrides/Makefile.in \ ${WRKSRC}/gtk/gnome/contrib/Makefile.in \ ${WRKSRC}/gtk/gnome/Makefile.in \ ${WRKSRC}/libgnomeui/Makefile.in \ ${WRKSRC}/libgnomeui/gnome/overrides/Makefile.in \ ${WRKSRC}/libgnomeui/gnome/gw/Makefile.in \ ${WRKSRC}/libgnomeui/gnome/Makefile.in \ ${WRKSRC}/libgnomecanvas/gnome/gw/Makefile.in \ ${WRKSRC}/libgnomecanvas/gnome/Makefile.in \ ${WRKSRC}/libgnomecanvas/gnome/overrides/Makefile.in \ ${WRKSRC}/libglade/gnome/overrides/Makefile.in \ ${WRKSRC}/libglade/gnome/gw/Makefile.in \ ${WRKSRC}/libglade/gnome/Makefile.in \ ${WRKSRC}/pango/gnome/Makefile.in \ ${WRKSRC}/pango/gnome/overrides/Makefile.in \ ${WRKSRC}/pango/gnome/gw/Makefile.in \ ${WRKSRC}/glib/gnome/Makefile.in \ ${WRKSRC}/glib/gnome/gobject/Makefile.in \ ${WRKSRC}/glib/gnome/overrides/Makefile.in \ ${WRKSRC}/glib/gnome/gw/Makefile.in \ ${WRKSRC}/glib/gnome/gw/support/Makefile.in \ ${WRKSRC}/glib/Makefile.in \ ${WRKSRC}/glib/bin/Makefile.in \ ${WRKSRC}/glib/test-suite/Makefile.in \ ${WRKSRC}/common.mk \ ${WRKSRC}/cairo/gnome/gw/Makefile.in \ ${WRKSRC}/cairo/gnome/Makefile.in \ ${WRKSRC}/atk/gnome/overrides/Makefile.in \ ${WRKSRC}/atk/gnome/gw/Makefile.in \ ${WRKSRC}/atk/gnome/Makefile.in # pacify check-plist by removing any .info files for deselected # components. This doesn't affect the packaging but makes QA testing # of the options much easier. # DO NOT try and add rules here to strip .go files, no matter how loudly # testport / stage-qa shouts at you about it, because .go files (which are # compiled bytecode) are not intended to be stripped and doing so causes # breakage at run time. post-install: for f in ${INFO_UNUSED}; do \ ${RM} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$${f}.info*; \ done; .include diff --git a/x11-toolkits/libadwaita/Makefile b/x11-toolkits/libadwaita/Makefile index 9e0e71856e67..f72edcc78516 100644 --- a/x11-toolkits/libadwaita/Makefile +++ b/x11-toolkits/libadwaita/Makefile @@ -1,26 +1,26 @@ PORTNAME= libadwaita PORTVERSION= 1.7.0 CATEGORIES= x11-toolkits MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Building blocks for modern GNOME applications WWW= https://www.gtk.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= sassc:textproc/sassc LIB_DEPENDS= libappstream.so:devel/appstream \ libfribidi.so:converters/fribidi \ libgraphene-1.0.so:graphics/graphene USES= gettext gnome meson ninja pkgconfig tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 gtk40 introspection:build +USE_GNOME= cairo gdkpixbuf gtk40 introspection:build OPTIONS_DEFINE= DOCS EXAMPLES DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen DOCS_MESON_TRUE= gtk_doc .include diff --git a/x11-toolkits/libdazzle/Makefile b/x11-toolkits/libdazzle/Makefile index d2a1dc568838..cd070285c353 100644 --- a/x11-toolkits/libdazzle/Makefile +++ b/x11-toolkits/libdazzle/Makefile @@ -1,18 +1,18 @@ PORTNAME= libdazzle DISTVERSION= 3.44.0 PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Companion library to GObject and Gtk+ WWW= https://gitlab.gnome.org/GNOME/libdazzle LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 gettext gnome meson pkgconfig tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build .include diff --git a/x11-toolkits/libhandy/Makefile b/x11-toolkits/libhandy/Makefile index dd045741c3ff..8320e64105bd 100644 --- a/x11-toolkits/libhandy/Makefile +++ b/x11-toolkits/libhandy/Makefile @@ -1,23 +1,23 @@ PORTNAME= libhandy PORTVERSION= 1.6.2 PORTREVISION= 2 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Library with GTK widgets for mobile phones WWW= https://gitlab.gnome.org/GNOME/libhandy/ LICENSE= LGPL21 LIB_DEPENDS= libfribidi.so:converters/fribidi \ libgladeui-2.so:devel/glade USES= compiler:c11 gettext gnome meson pkgconfig tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Dtests=false .include diff --git a/x11-toolkits/libhandy0/Makefile b/x11-toolkits/libhandy0/Makefile index a53de2554e52..c87582af9d00 100644 --- a/x11-toolkits/libhandy0/Makefile +++ b/x11-toolkits/libhandy0/Makefile @@ -1,26 +1,26 @@ PORTNAME= libhandy PORTVERSION= 0.0.13 PORTREVISION= 3 CATEGORIES= x11-toolkits gnome DIST_SUBDIR= gnome PKGNAMESUFFIX= 0 MAINTAINER= gnome@FreeBSD.org COMMENT= Building blocks for modern adaptive GNOME apps WWW= https://gitlab.gnome.org/GNOME/libhandy/ LICENSE= LGPL21 USES= compiler:c11 gettext gnome meson pkgconfig vala:build -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Dtests=false \ -Dglade_catalog=disabled USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org/ GL_ACCOUNT= GNOME GL_TAGNAME= 7a193d7692c9c76a1a94f17c4d30b585f77d177c .include diff --git a/x11-toolkits/libshumate/Makefile b/x11-toolkits/libshumate/Makefile index 5e7d05ec9df2..e022f4e91b8b 100644 --- a/x11-toolkits/libshumate/Makefile +++ b/x11-toolkits/libshumate/Makefile @@ -1,29 +1,29 @@ PORTNAME= libshumate DISTVERSION= 1.4.0 CATEGORIES= x11-toolkits geography MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= GTK4 widget to display maps WWW= https://wiki.gnome.org/Projects/libshumate LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gperf:devel/gperf LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libprotobuf-c.so:devel/protobuf-c \ libsoup-3.0.so:devel/libsoup3 \ libgraphene-1.0.so:graphics/graphene USES= gettext gnome meson pkgconfig sqlite tar:xz vala:build -USE_GNOME= cairo gdkpixbuf2 gtk40 introspection:build +USE_GNOME= cairo gdkpixbuf gtk40 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Dsysprof=disabled OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen DOCS_MESON_TRUE= gtk_doc .include diff --git a/x11-toolkits/libwnck3/Makefile b/x11-toolkits/libwnck3/Makefile index db35774edc92..016be9048b6f 100644 --- a/x11-toolkits/libwnck3/Makefile +++ b/x11-toolkits/libwnck3/Makefile @@ -1,32 +1,32 @@ PORTNAME= libwnck PORTVERSION= 3.36.0 PORTREVISION= 2 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 3 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Library used for writing pagers and taskslists WWW= https://www.gnome.org/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING USES= tar:xz USES+= bison gettext gnome localbase meson pkgconfig \ xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build USE_XORG= xext xrender xres x11 USE_LDCONFIG= yes MESON_ARGS= -Dgtk_doc=false \ -Dinstall_tools=false OPTIONS_DEFINE= STARTUP OPTIONS_DEFAULT=STARTUP STARTUP_DESC= Startup notification support STARTUP_LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification STARTUP_MESON_ENABLED= startup_notification .include diff --git a/x11-toolkits/ocaml-lablgtk2/Makefile b/x11-toolkits/ocaml-lablgtk2/Makefile index 84bef4f9d064..feb5a8d49d0f 100644 --- a/x11-toolkits/ocaml-lablgtk2/Makefile +++ b/x11-toolkits/ocaml-lablgtk2/Makefile @@ -1,83 +1,83 @@ PORTNAME= lablgtk2 PORTVERSION= 2.18.13 PORTREVISION= 3 CATEGORIES= x11-toolkits PKGNAMEPREFIX= ocaml- MAINTAINER= danfe@FreeBSD.org COMMENT= Objective Caml interface to GTK 2.x WWW= https://garrigue.github.io/lablgtk/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake gnome ocaml:camlp4,findlib,ldconfig,wash pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 HAS_CONFIGURE= yes ALL_TARGET= all opt MAKE_JOBS_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= garrigue GH_PROJECT= lablgtk PORTSCOUT= limit:^${PORTVERSION:R:R} CONFIGURE_ARGS= --prefix=${PREFIX} --with-libdir=${PREFIX}/${OCAML_LIBDIR} \ --without-gtksourceview --without-gnomeui \ --without-panel --without-gnomecanvas CONFIGURE_ENV= CAMLP4O="camlp4 pa_o.cmo pa_op.cmo pr_dump.cmo" DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= COPYING README EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES GLADE GTKGLAREA GTKSOURCEVIEW2 GTKSPELL LIBRSVG2 OPTIONS_DEFAULT= GLADE GTKGLAREA GTKSOURCEVIEW2 GTKSPELL LIBRSVG2 OPTIONS_SUB= yes GTKGLAREA_DESC= GtkGLArea support GTKSOURCEVIEW2_DESC= GtkSourceView 2 support GTKSPELL_DESC= GtkSpell support GLADE_CONFIGURE_WITH=glade GLADE_USE= GNOME=libglade2 GLADE_VARS= EXAMPLES_SUBDIRS+=glade GTKGLAREA_BUILD_DEPENDS=lablgl:graphics/ocaml-lablgl GTKGLAREA_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 GTKGLAREA_RUN_DEPENDS= lablgl:graphics/ocaml-lablgl GTKGLAREA_CONFIGURE_WITH=gl GTKGLAREA_CONFIGURE_ENV=LABLGLDIR=+site-lib/lablGL GTKGLAREA_VARS= EXAMPLES_SUBDIRS+=GL GTKSOURCEVIEW2_CONFIGURE_WITH=gtksourceview2 GTKSOURCEVIEW2_USE= GNOME=gtksourceview2 GTKSOURCEVIEW2_VARS= EXAMPLES_SUBDIRS+=sourceview GTKSPELL_LIB_DEPENDS= libgtkspell.so:textproc/gtkspell GTKSPELL_CONFIGURE_WITH=gtkspell LIBRSVG2_CONFIGURE_WITH=rsvg LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_VARS= EXAMPLES_SUBDIRS+=rsvg .include .if ${ARCH} == powerpc USE_BINUTILS= yes .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \ "*.ml *.png *.rgb *.xpm text ${EXAMPLES_SUBDIRS}" \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11-toolkits/ocaml-lablgtk3/Makefile b/x11-toolkits/ocaml-lablgtk3/Makefile index 79346615a833..ceba2b0b9ee1 100644 --- a/x11-toolkits/ocaml-lablgtk3/Makefile +++ b/x11-toolkits/ocaml-lablgtk3/Makefile @@ -1,69 +1,69 @@ PORTNAME= lablgtk3 PORTVERSION= 3.1.5 CATEGORIES= x11-toolkits PKGNAMEPREFIX= ocaml- MAINTAINER= madpilot@FreeBSD.org COMMENT= Objective Caml interface to GTK 3.x WWW= https://garrigue.github.io/lablgtk/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= dune:devel/ocaml-dune \ ocaml-cairo>0:graphics/ocaml-cairo \ ${LOCALBASE}/${OCAML_SITELIBDIR}/camlp-streams/META:devel/ocaml-camlp-streams LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= ocaml-cairo>0:graphics/ocaml-cairo USES= gmake gnome ocaml:camlp4,findlib,ldconfig pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 TARGETS= ${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= garrigue GH_PROJECT= lablgtk PORTSCOUT= limit:^${PORTVERSION:R:R} DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES GTKSOURCEVIEW3 GTKSPELL OPTIONS_DEFAULT= GTKSOURCEVIEW3 GTKSPELL OPTIONS_SUB= yes GTKSOURCEVIEW3_DESC= GtkSourceView 3 support GTKSPELL_DESC= GtkSpell support GTKSOURCEVIEW3_USE= GNOME=gtksourceview3 GTKSOURCEVIEW3_VARS= TARGETS+=lablgtk3-sourceview3 EXAMPLES_SUBDIRS+=sourceview GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 \ libenchant-2.so:textproc/enchant2 GTKSPELL_VARS= TARGETS+=lablgtk3-gtkspell3 .include .if ${ARCH} == powerpc USE_BINUTILS= yes .endif do-build: cd ${BUILD_WRKSRC} && dune build --verbose -p ${TARGETS:ts,} -j ${MAKE_JOBS_NUMBER} do-install: cd ${INSTALL_WRKSRC} && dune install --destdir=${STAGEDIR} \ --libdir=${PREFIX}/${OCAML_SITELIBDIR} ${TARGETS} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \ "*.ml *.png *.rgb *.xpm text ${EXAMPLES_SUBDIRS}" \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11-toolkits/p5-Gtk2/Makefile b/x11-toolkits/p5-Gtk2/Makefile index c4b1196b873d..1710372cf87a 100644 --- a/x11-toolkits/p5-Gtk2/Makefile +++ b/x11-toolkits/p5-Gtk2/Makefile @@ -1,40 +1,40 @@ PORTNAME= Gtk2 PORTVERSION= 1.24993 PORTREVISION= 3 CATEGORIES= x11-toolkits lang perl5 MASTER_SITES= CPAN \ SF/${PORTNAME:tl}-perl/${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for Gtk+ 2.x graphical user interface library WWW= https://gtk2-perl.sourceforge.net/ LICENSE= LGPL21 BUILD_DEPENDS= p5-Cairo>=1:graphics/p5-Cairo \ p5-ExtUtils-Depends>=0.300:devel/p5-ExtUtils-Depends \ p5-ExtUtils-PkgConfig>=1.03:devel/p5-ExtUtils-PkgConfig \ p5-Glib>=1.280:devel/p5-Glib \ p5-Pango>=1.220:x11-toolkits/p5-Pango LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= p5-Cairo>=1:graphics/p5-Cairo \ p5-Glib>=1.280:devel/p5-Glib \ p5-Pango>=1.220:x11-toolkits/p5-Pango USES= gmake gnome perl5 -USE_GNOME= cairo gdkpixbuf2 gtk20 pango +USE_GNOME= cairo gdkpixbuf gtk20 pango USE_PERL5= configure CONFIGURE_ENV= FORCE_MAKE_CMD=yes post-patch: ${REINPLACE_CMD} -e 's|"gtk+-2.0.*|"gtk+-2.0");|g' \ ${WRKSRC}/Makefile.PL post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Gtk2/Gtk2.so .include diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile index 17432f353c73..1bdca0fe93aa 100644 --- a/x11-toolkits/rep-gtk2/Makefile +++ b/x11-toolkits/rep-gtk2/Makefile @@ -1,36 +1,36 @@ PORTNAME= rep-gtk2 PORTVERSION= 0.90.8.3 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= x11-toolkits MASTER_SITES= http://download.tuxfamily.org/librep/rep-gtk/ DISTNAME= rep-gtk_${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= GTK-2 bindings for rep Lisp interpreter WWW= https://sawfish.tuxfamily.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= librep.so:lang/librep \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= autoreconf gmake gnome libtool pathfix pkgconfig tar:xz GNU_CONFIGURE= yes -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 PLIST_FILES= include/rep-gtk/rep-gtk.h lib/rep/gui/gtk-2/gtk.a \ lib/rep/gui/gtk-2/gtk.so libdata/pkgconfig/rep-gtk.pc .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/rep/gui/gtk-2/gtk.so .include diff --git a/x11-toolkits/scintilla/Makefile b/x11-toolkits/scintilla/Makefile index 2b5ee6cf1842..6b03274754e0 100644 --- a/x11-toolkits/scintilla/Makefile +++ b/x11-toolkits/scintilla/Makefile @@ -1,46 +1,46 @@ PORTNAME= scintilla DISTVERSION= 5.5.0 CATEGORIES= x11-toolkits MASTER_SITES= https://www.scintilla.org/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Full-featured free source code editing component for GTK WWW= https://www.scintilla.org/ LICENSE= SCINTILLA LICENSE_NAME= License for Lexilla, Scintilla and SciTE LICENSE_FILE= ${WRKSRC}/../License.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= compiler:c++17-lang cpe gmake gnome iconv pkgconfig tar:tgz -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_LDCONFIG= yes MAKEFILE= makefile MAKE_ARGS= GTK3=1 .if defined(WITH_DEBUG) MAKE_ARGS+= DEBUG=1 .endif MAKE_ENV= LDFLAGS="${LDFLAGS}" CFLAGS+= -DPIC -fpic PATCH_WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}/gtk .include .if ${CHOSEN_COMPILER_TYPE} == clang MAKE_ARGS+= CLANG=1 .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/scintilla ${INSTALL_DATA} ${WRKSRC}/../include/*.h \ ${STAGEDIR}${PREFIX}/include/scintilla ${INSTALL_LIB} ${WRKSRC}/../bin/*.so \ ${STAGEDIR}${PREFIX}/lib .include diff --git a/x11-toolkits/swt/Makefile b/x11-toolkits/swt/Makefile index 91b0663c6364..d27010da9eeb 100644 --- a/x11-toolkits/swt/Makefile +++ b/x11-toolkits/swt/Makefile @@ -1,64 +1,64 @@ PORTNAME= swt DISTVERSION= 4.21 PORTREVISION= 2 CATEGORIES= x11-toolkits devel java MASTER_SITES= http://archive.eclipse.org/eclipse/downloads/drops4/R-${DISTVERSION}-202109060500/ DISTNAME= ${PORTNAME}-${DISTVERSION}-gtk-linux-x86_64 MAINTAINER= ports@FreeBSD.org COMMENT= Standard Widget Toolkit for Java WWW= https://www.eclipse.org/swt/ LICENSE= EPL ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le USES= compiler:c++11-lang gl gmake gnome java:ant pkgconfig zip:infozip xorg USE_GL= glu gl -USE_GNOME= gdkpixbuf2 gtk30 +USE_GNOME= gdkpixbuf gtk30 USE_XORG= xtst JAVA_OS= native SWT_VERSION= 4946r21 MAKEFILE= make_freebsd.mak MAKE_ENV= SWT_VERSION=${SWT_VERSION} PLIST_SUB= SWT_VERSION=${SWT_VERSION} NO_WRKSUBDIR= yes OPTIONS_DEFINE= CAIRO WEBKIT OPTIONS_DEFAULT= CAIRO OPTIONS_SUB= yes CAIRO_USE= GNOME=cairo CAIRO_MAKE_ENV= MAKE_CAIRO=make_cairo WEBKIT_IMPLIES= CAIRO WEBKIT_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 WEBKIT_MAKE_ENV= BUILD_WEBKIT2EXTENSION=yes WEBKIT_MAKE_ENV_OFF= BUILD_WEBKIT2EXTENSION=no .include post-extract: @(cd ${WRKSRC} && ${UNZIP_CMD} -qo "*.zip") @${CP} ${FILESDIR}/build.xml ${WRKSRC}/build.xml @${CP} ${WRKSRC}/make_linux.mak ${WRKSRC}/make_freebsd.mak @${CP} ${FILESDIR}/*.css ${WRKSRC}/org/eclipse/swt/internal/gtk/ post-patch: .if ${OPSYS} == FreeBSD ${REINPLACE_CMD} -e 's|-DGTK|-DGTK -Wno-error=deprecated-non-prototype|g' \ ${WRKSRC}/make_freebsd.mak .endif ${SED} -e 's|freebsd|dragonfly|g' ${WRKSRC}/make_freebsd.mak \ > ${WRKSRC}/make_dragonfly.mak do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_LIB} ${WRKSRC}/libswt-*.so ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/swt.jar ${STAGEDIR}${JAVAJARDIR}/ .include diff --git a/x11-toolkits/tepl6/Makefile b/x11-toolkits/tepl6/Makefile index 3c392867e765..dc2e3cb49e37 100644 --- a/x11-toolkits/tepl6/Makefile +++ b/x11-toolkits/tepl6/Makefile @@ -1,25 +1,25 @@ PORTNAME= tepl DISTVERSION= 6.4.0 PORTREVISION= 4 CATEGORIES= x11-toolkits MASTER_SITES= GNOME PKGNAMESUFFIX= 6 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Text editor product line WWW= https://wiki.gnome.org/Projects/Tepl LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-3.0-or-later.txt BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc LIB_DEPENDS= libamtk-5.so:x11-toolkits/amtk \ libicuuc.so:devel/icu \ libuchardet.so:textproc/uchardet USES= compiler:c11 gettext gnome meson pkgconfig tar:xz -USE_GNOME= cairo gdkpixbuf2 gtksourceview4 libxml2 +USE_GNOME= cairo gdkpixbuf gtksourceview4 libxml2 USE_LDCONFIG= yes .include diff --git a/x11-toolkits/termit/Makefile b/x11-toolkits/termit/Makefile index af732bd8ecdd..f12f66e9644c 100644 --- a/x11-toolkits/termit/Makefile +++ b/x11-toolkits/termit/Makefile @@ -1,45 +1,45 @@ PORTNAME= termit DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 3.1 PORTREVISION= 3 CATEGORIES= x11-toolkits gnome MAINTAINER= bob@eager.cx COMMENT= Small terminal emulator with Lua scripting WWW= https://github.com/nonstop/termit LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgnutls.so:security/gnutls \ libpcre2-8.so:devel/pcre2 USES= cmake gnome lua:53 pkgconfig xorg USE_CSTD= c99 USE_GITHUB= yes GH_ACCOUNT= nonstop -USE_GNOME= cairo gdkpixbuf2 gtk30 vte3 +USE_GNOME= cairo gdkpixbuf gtk30 vte3 USE_XORG= x11 CPPFLAGS+= -I${LOCALBASE}/include/vte-0.0 SUB_FILES= pkg-message TERMIT_ETC= ${STAGEDIR}${PREFIX}/etc/xdg/${PORTNAME} OPTIONS_DEFINE= DEBUG DOCS NLS OPTIONS_SUB= yes DEBUG_CMAKE_ON= -DDEBUG:BOOL=YES NLS_USES= gettext NLS_CMAKE_OFF= -DENABLE_NLS:BOOL=NO post-install: @${MKDIR} ${TERMIT_ETC} .for file in colormaps.lua rc.lua utils.lua ${CP} ${WRKSRC}/etc/termit/${file} ${TERMIT_ETC}/${file}.sample .endfor .include diff --git a/x11-toolkits/vte3/Makefile b/x11-toolkits/vte3/Makefile index bdc3b1f4ce51..98f8fa3d556d 100644 --- a/x11-toolkits/vte3/Makefile +++ b/x11-toolkits/vte3/Makefile @@ -1,64 +1,64 @@ PORTNAME= vte PORTVERSION= 0.78.2 PORTREVISION= 1 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 3 DIST_SUBDIR= gnome # https://gitlab.gnome.org/GNOME/vte/-issues/2823 PATCH_SITES= https://gitlab.gnome.org/GNOME/vte/-/commit/ PATCHFILES+= f6095fca4d1b.patch:-p1 \ 6c2761f51a04.patch:-p1 \ d09330585e64.patch:-p1 \ b262c4432b80.patch:-p1 \ ae2b83c6fc83.patch:-p1 MAINTAINER= gnome@FreeBSD.org COMMENT= Terminal widget with improved accessibility and I18N support WWW= https://wiki.gnome.org/Apps/Terminal/VTE LICENSE= LGPL21 BUILD_DEPENDS= bash:shells/bash \ ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float LIB_DEPENDS= libpcre2-8.so:devel/pcre2 \ liblz4.so:archivers/liblz4 \ libicuuc.so:devel/icu PORTSCOUT= limitw:1,even USES= compiler:c++17-lang gettext gnome localbase meson \ pkgconfig python tar:xz vala:build USE_LDCONFIG= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build # Disable build time flooding. CFLAGS+= -Wno-cast-function-type-strict MESON_ARGS= -Da11y=true \ -Dgir=true \ -Dgtk3=true \ -Dicu=true \ -D_systemd=false \ -Dvapi=true # shlib version numbers come from gtk3/4 meson options, not from PYTHON_VER PLIST_SUB= VERSION=2.91 VER3=3.91 BINARY_ALIAS= python3=${PYTHON_CMD} OPTIONS_DEFINE= FRIBIDI GNUTLS GTK4 OPTIONS_DEFAULT=FRIBIDI GNUTLS GTK4 OPTIONS_SUB= yes FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_MESON_TRUE= fribidi GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_MESON_TRUE= gnutls GTK4_LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene GTK4_USE= GNOME=gtk40 GTK4_MESON_TRUE= gtk4 .include diff --git a/x11-toolkits/wxgtk30/Makefile b/x11-toolkits/wxgtk30/Makefile index 8901e1cb2790..876ed7454b87 100644 --- a/x11-toolkits/wxgtk30/Makefile +++ b/x11-toolkits/wxgtk30/Makefile @@ -1,113 +1,113 @@ PORTNAME= wx DISTVERSIONPREFIX= v DISTVERSION= 3.0.5.1 PORTREVISION= 6 CATEGORIES= x11-toolkits MASTER_SITES= https://github.com/wxWidgets/wxWidgets/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= ${_SHORT_WX_VER}-${FLAVOR} DISTNAME= wxWidgets-${DISTVERSION} MAINTAINER= desktop@FreeBSD.org COMMENT= The wxWidgets GUI toolkit with GTK bindings WWW= https://www.wxwidgets.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/gpl.txt LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff USES= compiler:c++11-lib gl gmake gnome iconv jpeg localbase \ pkgconfig tar:bz2 xorg USE_XORG= x11 sm xxf86vm xinerama USE_GL= gl glu -USE_GNOME= cairo gdkpixbuf2 +USE_GNOME= cairo gdkpixbuf USE_LDCONFIG= yes USE_CXXSTD= c++11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys \ --with-expat=sys \ --with-opengl \ --without-gnomevfs \ --disable-epollloop \ --disable-joystick \ --enable-backtrace \ --enable-ipv6 \ --enable-optimise \ --enable-unicode \ --enable-std_string \ --enable-graphics_ctx \ --enable-compat26 \ --enable-compat28 CONFIGURE_ENV= X11BASE="${LOCALBASE}" \ ac_cv_header_sys_inotify_h=no OPTIONS_DEFINE= GSTREAMER NOTIFY MSPACK NLS OPTIONS_DEFAULT=GSTREAMER MSPACK MSPACK_DESC= Microsoft archives support OPTIONS_SUB= yes NLS_USES= gettext GSTREAMER_USES= gstreamer GSTREAMER_CONFIGURE_ENABLE= mediactrl NOTIFY_CONFIGURE_WITH= libnotify NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify MSPACK_CONFIGURE_WITH= libmspack MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack WEBKIT_CONFIGURE_ENABLE= webview WEBKIT_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk@40 FLAVORS= gtk3 gtk2 FLAVOR?= ${FLAVORS:[1]} .if ${FLAVOR} == gtk3 USE_GNOME+= gtk30 CONFIGURE_ARGS+= --with-gtk=3 OPTIONS_DEFINE+= WEBKIT OPTIONS_DEFAULT+= WEBKIT PLIST_SUB+= GTK2="@comment " .else USE_GNOME+= gtk20 CONFIGURE_ARGS+= --with-gtk PLIST_SUB+= GTK2="" WEBKIT="@comment " .endif PLIST_SUB+= GTKVER=${FLAVOR} _SHORT_WX_VER= ${DISTVERSION:S/./ /g:[1..2]:ts} gtk3_CONFLICTS_INSTALL= ${PORTNAME}${_SHORT_WX_VER}-gtk2 gtk2_CONFLICTS_INSTALL= ${PORTNAME}${_SHORT_WX_VER}-gtk3 .include # TLS is broken on armv6/7, PR 229396 .if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ARGS+=--disable-tls .endif # PR 196703, 197031 .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ARGS+=--disable-precomp-headers .endif # wxWidgets uses the same linker version script for all its shared libraries, so # some symbols are expectedly undefined. Suppress errors with lld >= 17 due to # these undefined symbols. LDFLAGS+= -Wl,--undefined-version post-build-NLS-on: @${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale .include diff --git a/x11-toolkits/wxgtk32/Makefile b/x11-toolkits/wxgtk32/Makefile index c537b6232eb6..4b7ec975b382 100644 --- a/x11-toolkits/wxgtk32/Makefile +++ b/x11-toolkits/wxgtk32/Makefile @@ -1,129 +1,129 @@ PORTNAME= wx DISTVERSIONPREFIX= v DISTVERSION= 3.2.6 PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= https://github.com/wxWidgets/wxWidgets/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= ${_SHORT_WX_VER}-${FLAVOR} DISTNAME= wxWidgets-${DISTVERSION} MAINTAINER= desktop@FreeBSD.org COMMENT= GUI toolkit (wxWidgets) with ${FLAVOR:S/k/&+/:tu} bindings WWW= https://www.wxwidgets.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/gpl.txt LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjbig.so:graphics/jbigkit \ libnotify.so:devel/libnotify \ libpcre2-32.so:devel/pcre2 \ libpng16.so:graphics/png \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon FLAVORS= gtk3 gtk2 FLAVOR?= ${FLAVORS:[1]} gtk3_CONFLICTS_INSTALL= ${PORTNAME}${_SHORT_WX_VER}-gtk2 gtk2_CONFLICTS_INSTALL= ${PORTNAME}${_SHORT_WX_VER}-gtk3 USES= compiler:c++11-lib gl gmake gnome iconv jpeg localbase \ pkgconfig tar:bz2 xorg USE_CXXSTD= c++11 USE_GL= gl glu -USE_GNOME= cairo gdkpixbuf2 +USE_GNOME= cairo gdkpixbuf USE_LDCONFIG= yes USE_XORG= sm x11 xtst xxf86vm GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-epollloop \ --disable-joystick \ --enable-backtrace \ --enable-compat28 \ --enable-compat30 \ --enable-graphics_ctx \ --enable-ipv6 \ --enable-optimise \ --enable-std_string \ --enable-unicode \ --with-expat=sys \ --with-libjpeg=sys \ --with-liblzma \ --with-libpng=sys \ --with-libtiff=sys \ --with-nanosvg \ --with-opengl \ --with-zlib=sys \ --without-gnomevfs CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no \ X11BASE="${LOCALBASE}" _SOVER= 0.3.0 PLIST_SUB+= GTKVER=${FLAVOR} SOVER=${_SOVER} OPTIONS_DEFINE= GSTREAMER MSPACK NLS OPTIONS_DEFAULT= GSTREAMER MSPACK OPTIONS_SUB= yes MSPACK_DESC= Microsoft archives support GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad GSTREAMER_CONFIGURE_ENABLE= mediactrl MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack MSPACK_CONFIGURE_WITH= libmspack NLS_USES= gettext WEBKIT_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk@40 WEBKIT_CONFIGURE_ENABLE= webview .if ${FLAVOR} == gtk3 USE_GNOME+= gtk30 CONFIGURE_ARGS+= --with-gtk=3 OPTIONS_DEFINE+= WEBKIT OPTIONS_DEFAULT+= WEBKIT PLIST_SUB+= GTK2="@comment " \ GTK3="" .else USE_GNOME+= gtk20 CONFIGURE_ARGS+= --with-gtk PLIST_SUB+= GTK2="" \ GTK3="@comment " \ WEBKIT="@comment " .endif _SHORT_WX_VER= ${PORTVERSION:S/./ /g:[1..2]:ts} .include # TLS is broken on armv6/7, PR 229396 .if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ARGS+= --disable-tls .endif # PR 196703, 197031 .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ARGS+= --disable-precomp-headers .endif # wxWidgets uses the same linker version script for all its shared libraries, so # some symbols are expectedly undefined. Suppress errors with lld >= 17 due to # these undefined symbols. LDFLAGS+= -Wl,--undefined-version post-build-NLS-on: @${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale post-install: @${RM} ${STAGEDIR}${PREFIX}/bin/wxrc .include diff --git a/x11-wm/afterstep-stable/Makefile b/x11-wm/afterstep-stable/Makefile index 72ad42c9f0f4..d35d28912a3b 100644 --- a/x11-wm/afterstep-stable/Makefile +++ b/x11-wm/afterstep-stable/Makefile @@ -1,89 +1,89 @@ PORTNAME= afterstep PORTVERSION= 2.2.12 PORTREVISION= 12 CATEGORIES= x11-wm afterstep MASTER_SITES= AFTERSTEP/stable DISTNAME= AfterStep-${PORTVERSION} MAINTAINER= glewis@FreeBSD.org COMMENT= Stable version of the AfterStep window manager WWW= http://www.afterstep.org/ LIB_DEPENDS= libdbus-1.so:devel/dbus \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= xli:graphics/xli USES= gmake gnome jpeg pkgconfig shebangfix tar:bzip2 xorg USE_CSTD= gnu89 -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 librsvg2 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 librsvg2 pango USE_XORG+= ice sm x11 xcomposite xcursor xdamage xext xfixes xi xinerama \ xrandr xrender GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share SHEBANG_FILES= tools/ascommand.pl \ tools/importasmenu MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS+=--disable-ascp \ --enable-i18n \ --disable-send-postcard-to-developer \ --with-helpcommand="xterm -e man" \ --x-includes="${LOCALBASE}/include" \ --with-jpeg-includes="${LOCALBASE}/include" \ --with-png-includes="${LOCALBASE}/include" \ --with-gif MAKE_ENV+= HOME=- WRKSRC= ${WRKDIR}/${PORTNAME}-devel-${PORTVERSION} .if defined(WITH_DIFFERENT_LOOKNFEELS) CONFIGURE_ARGS+= --enable-different-looknfeels .endif .if !defined(WITH_SAVEWINDOWS) CONFIGURE_ARGS+= --disable-savewindows .endif .include .if exists(${PREFIX}/share/gnome/wm-properties) PLIST_SUB+= GNOME="" .else PLIST_SUB+= GNOME="@comment " .endif post-extract: ${CP} ${FILESDIR}/monitor_bsd.xpm \ ${WRKSRC}/afterstep/desktop/icons/xml/monitor-bsd.xpm post-patch: .for f in afterstep/database @${REINPLACE_CMD} -e 's,linux-penguin,monitor-bsd,' \ ${WRKSRC}/${f} .endfor .for f in libAfterBase/Makefile.in libAfterImage/Makefile.in @${REINPLACE_CMD} -e 's,^install\.,noinstall.,g ; \ s,^install:,install:#,g' ${WRKSRC}/${f} .endfor .for f in libAfterBase/configure libAfterImage/configure @${REINPLACE_CMD} -e 's,="-O3",="$$CFLAGS",g' \ ${WRKSRC}/${f} .endfor .for f in libAfterStep/afterstep-config.in @${REINPLACE_CMD} -e 's,ft_version,libafterstep_version,g' \ ${WRKSRC}/${f} .endfor .for f in configure libAfterBase/configure libAfterConf/Makefile.in libAfterImage/configure tools/makeastheme.pl.in tools/installastheme.pl.in @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ ${WRKSRC}/${f} .endfor .if exists(${PREFIX}/share/gnome/wm-properties) pre-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/gnome/wm-properties .endif .include diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile index 4dcd29248f45..0494aab78b35 100644 --- a/x11-wm/awesome/Makefile +++ b/x11-wm/awesome/Makefile @@ -1,71 +1,71 @@ PORTNAME= awesome PORTVERSION= 4.3 DISTVERSIONPREFIX= v PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= x11-wm MAINTAINER= ports@FreeBSD.org COMMENT= Highly configurable, next generation framework window manager WWW= https://awesomewm.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LUA_REFMODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi@${LUA_FLAVOR} RUN_DEPENDS= ${LUA_REFMODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi@${LUA_FLAVOR} \ bash:shells/bash LIB_DEPENDS= libcairo.so:graphics/cairo \ libstartup-notification-1.so:x11/startup-notification \ libxdg-basedir.so:x11/libxdg-basedir \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-util.so:x11/xcb-util \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-xrm.so:x11/xcb-util-xrm \ libxkbcommon.so:x11/libxkbcommon CONFLICTS_INSTALL= awesome3 USES= cmake compiler:c11 gettext gnome iconv magick:build pkgconfig lua:-53 \ shebangfix xorg -USE_GNOME= glib20 pango gdkpixbuf2 librsvg2 +USE_GNOME= glib20 pango gdkpixbuf librsvg2 USE_XORG= pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \ xorgproto USE_GITHUB= yes GH_ACCOUNT= awesomewm SHEBANG_FILES= utils/awesome-client CMAKE_ARGS= -DSYSCONFDIR=${PREFIX}/etc \ -DAWESOME_MAN_PATH=${PREFIX}/share/man \ -DGENERATE_DOC=OFF \ -DLUA_INCLUDE_DIR=${LUA_INCDIR} OPTIONS_DEFINE= DBUS DOCS MANPAGES OPTIONS_DEFAULT=DBUS MANPAGES OPTIONS_SUB= yes DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_OFF= -DWITH_DBUS:BOOL=OFF MANPAGES_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor MANPAGES_CMAKE_OFF= -DGENERATE_MANPAGES:BOOL=OFF .include .if (exists(${LOCALBASE}/libdata/pkgconfig/cairo.pc) && \ !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xcb.pc)) IGNORE= cannot find dependency: The cairo exists but not with XCB support. Please reinstall graphics/cairo with XCB support .endif post-patch: # Ref https://github.com/awesomeWM/awesome/issues/1377 @${REINPLACE_CMD} -e "/COMMAND lua/ s,lua,${LUA_CMD}," \ ${WRKSRC}/awesomeConfig.cmake # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267119 # Fix build with clang14 @${REINPLACE_CMD} -e "s/-export-dynamic/\"-Xlinker -E\"/" \ ${WRKSRC}/CMakeLists.txt .include diff --git a/x11-wm/compiz-plugins-extra/Makefile b/x11-wm/compiz-plugins-extra/Makefile index ed076e40fd64..e93e780d09f7 100644 --- a/x11-wm/compiz-plugins-extra/Makefile +++ b/x11-wm/compiz-plugins-extra/Makefile @@ -1,44 +1,44 @@ PORTNAME= compiz-plugins-extra PORTVERSION= 0.8.8 PORTREVISION= 12 CATEGORIES= x11-wm MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/ MAINTAINER= samy.mahmoudi@gmail.com COMMENT= Plugins for Compiz Composite Window Manager WWW= https://gitlab.com/compiz/compiz-plugins-extra LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcairo.so:graphics/cairo \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libnotify.so:devel/libnotify \ libstartup-notification-1.so:x11/startup-notification BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz \ ${LOCALBASE}/libdata/pkgconfig/bcop.pc:devel/compiz-bcop \ ${LOCALBASE}/libdata/pkgconfig/compiz-text.pc:x11-wm/compiz-plugins-main RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gettext-tools gmake gl gnome libtool:keepla localbase:ldflags \ pathfix pkgconfig tar:bzip2 xorg USE_GL= glu USE_CSTD= gnu89 -USE_GNOME= gdkpixbuf2 intltool libxslt +USE_GNOME= gdkpixbuf intltool libxslt USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr xrender USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-schemas GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ ${WRKSRC}/src/group/group-internal.h \ .include diff --git a/x11-wm/deforaos-panel/Makefile b/x11-wm/deforaos-panel/Makefile index dcdd2ac7eb85..0612cda7e6d5 100644 --- a/x11-wm/deforaos-panel/Makefile +++ b/x11-wm/deforaos-panel/Makefile @@ -1,84 +1,84 @@ PORTNAME= panel PORTVERSION= 0.4.6 CATEGORIES= x11-wm MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Panel/ PKGNAMEPREFIX= deforaos- DISTNAME= Panel-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop panel WWW= https://www.defora.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/Desktop/Browser.h:x11-fm/deforaos-browser LIB_DEPENDS= libasound.so:audio/alsa-lib \ libDesktop.so:x11/deforaos-libdesktop \ libharfbuzz.so:print/harfbuzz \ libSystem.so:devel/deforaos-libsystem \ libxkbfile.so:x11/libxkbfile USES= desktop-file-utils gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_LDCONFIG= yes USE_XORG= x11 MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ gtkdoc-mkhtml:textproc/gtk-doc \ xsltproc:textproc/libxslt NLS_USES= gettext post-patch: ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ ${WRKSRC}/data/pkgconfig.sh post-patch-DOCS-off: ${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/battery.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/bluetooth.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/brightness.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/clock.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/close.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/cpu.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/cpufreq.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/desktop.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/embed.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/gps.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/gsm.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/leds.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/lock.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/logout.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/memory.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/menu.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/mixer.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/network.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/pager.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/rotate.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/separator.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/shutdown.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/spacer.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/suspend.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/swap.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/systray.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/tasks.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/title.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/usb.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/user.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/volume.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/wpa_supplicant.so \ ${STAGEDIR}${PREFIX}/lib/libPanel.so.0.0 .include diff --git a/x11-wm/emerald/Makefile b/x11-wm/emerald/Makefile index 32eeec14f5fa..3c27e0601835 100644 --- a/x11-wm/emerald/Makefile +++ b/x11-wm/emerald/Makefile @@ -1,47 +1,47 @@ PORTNAME= emerald PORTVERSION= 0.8.8 PORTREVISION= 8 CATEGORIES= x11-wm MASTER_SITES= https://BSDforge.com/projects/source/x11-wm/emerald/ MAINTAINER= portmaster@BSDforge.com COMMENT= Emerald Window Decorator WWW= http://www.beryl-project.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libwnck-1.so:x11-toolkits/libwnck RUN_DEPENDS:= ${BUILD_DEPENDS} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USES= desktop-file-utils gl gmake gnome libtool pathfix \ pkgconfig shared-mime-info tar:bzip2 xorg USE_GL= gl -USE_GNOME= cairo gdkpixbuf2 gtk20 intltool pango +USE_GNOME= cairo gdkpixbuf gtk20 intltool pango USE_XORG= x11 xrender USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPTIONS_DEFAULT= NLS NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime gettext-tools # XXX - might want to change that post-patch: @${REINPLACE_CMD} 's|icons/gnome|icons/hicolor|' ${WRKSRC}/misc/Makefile.in @${REINPLACE_CMD} -e 's|#define GDK_DISABLE_DEPRECATED||g' \ -e 's|#define GTK_DISABLE_DEPRECATED||g' ${WRKSRC}/include/emerald.h @${REINPLACE_CMD} '/^emerald_LDADD =/s/$$/ -lm/' ${WRKSRC}/src/Makefile.in .include diff --git a/x11-wm/fvwm3/Makefile b/x11-wm/fvwm3/Makefile index d624b851371f..8b34bc46b0e8 100644 --- a/x11-wm/fvwm3/Makefile +++ b/x11-wm/fvwm3/Makefile @@ -1,94 +1,94 @@ PORTNAME= fvwm3 DISTVERSION= 1.1.0 PORTREVISION= 6 CATEGORIES= x11-wm MASTER_SITES= https://github.com/fvwmorg/fvwm3/releases/download/${DISTVERSION}/ \ http://fvwm.sourceforge.net/generated/icon_download/:icons MAINTAINER= zirias@FreeBSD.org COMMENT= F? Virtual Window Manager WWW= https://www.fvwm.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libevent.so:devel/libevent \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c11 cpe pkgconfig python readline xorg CPE_VENDOR= fvwm CPE_PRODUCT= fvwm USE_XORG= ice sm x11 xext xft xrandr xrender xt GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= ac_cv_path_PYTHON=${PYTHON_CMD} CONFLICTS_INSTALL= fvwm PLIST_SUB= DISTVERSION=${DISTVERSION} OPTIONS_DEFINE= FRIBIDI GO ICONS ICONV MANPAGES NLS PERL PNG SVG \ XCURSOR XPM OPTIONS_DEFAULT= FRIBIDI GO ICONV MANPAGES PERL PNG XCURSOR OPTIONS_SUB= yes GO_DESC= Build and install modules written in Go FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= bidi _GO_MAXVERSION= 1.23 _GO_VERSIONARG= ${${GO_DEFAULT:S/-devel//:S/.//} > \ ${_GO_MAXVERSION:S/.//}:?${_GO_MAXVERSION},:} GO_USES= go:${_GO_VERSIONARG}no_targets GO_CONFIGURE_ENABLE= golang FVWM_ICONS= fvwm_icons-20070101 ICONS_IMPLIES= XPM ICONS_DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${FVWM_ICONS}.tar.bz2:icons ICONV_USES= iconv:translit ICONV_CONFIGURE_ENABLE= iconv MANPAGES_IMPLIES= PERL MANPAGES_BUILD_DEPENDS= rubygem-asciidoctor>0:textproc/rubygem-asciidoctor MANPAGES_USES= gmake MANPAGES_CONFIGURE_ENABLE= mandoc NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls PERL_USES= perl5 PERL_CONFIGURE_ENABLE= perllib PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_ENABLE= png SVG_USES= gnome -SVG_USE= gnome=cairo,glib20,gdkpixbuf2,librsvg2 +SVG_USE= gnome=cairo,glib20,gdkpixbuf,librsvg2 SVG_CONFIGURE_ENABLE= rsvg XCURSOR_USE= xorg=xcursor XCURSOR_CONFIGURE_ENABLE= xcursor XPM_USE= xorg=xpm XPM_CONFIGURE_OFF= --with-xpm-library=no post-patch: @${REINPLACE_CMD} -e 's,/etc/,${LOCALBASE}/etc/,g' \ ${WRKSRC}/bin/fvwm-menu-desktop.in post-install-ICONS-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/fvwm3/pixmaps ${INSTALL_DATA} ${WRKDIR}/${FVWM_ICONS}/*.xpm \ ${STAGEDIR}${PREFIX}/share/fvwm3/pixmaps post-install-PERL-off: .for script in fvwm-convert-2.6 fvwm-menu-directory fvwm-menu-xlock fvwm-perllib ${RM} ${STAGEDIR}${PREFIX}/bin/${script} .endfor .for script in FvwmConsoleC.pl FvwmPerl ${RM} ${STAGEDIR}${PREFIX}/libexec/fvwm3/${DISTVERSION}/${script} .endfor .include diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile index 4454b271dd66..8ecb8d858fba 100644 --- a/x11-wm/icewm/Makefile +++ b/x11-wm/icewm/Makefile @@ -1,73 +1,73 @@ PORTNAME= icewm PORTVERSION= 3.7.2 CATEGORIES= x11-wm MASTER_SITES= https://github.com/ice-wm/icewm/releases/download/${PORTVERSION}/ MAINTAINER= portmaster@bsdforge.com COMMENT= Window manager designed for speed and usability WWW= https://ice-wm.org/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libsndfile.so:audio/libsndfile USES= compiler:c++11-lang gmake gnome iconv:translit localbase \ perl5 pkgconfig shebangfix tar:lz xorg USE_GNOME= glib20 USE_PERL5= build USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xpm xrender GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-icesound=oss SHEBANG_FILES= contrib/icewm-menu-xrandr OPTIONS_DEFINE= BEASTIE DOCS IMLIB2 LIBRSVG2 NLS XFT XINERAMA XRANDR OPTIONS_DEFAULT= BEASTIE IMLIB2 XFT XINERAMA XRANDR OPTIONS_SUB= yes BEASTIE_DESC= Use Beastie'fied startup button BEASTIE_VARS= STARTUP_PIXMAP=bsd-daemon.xpm BEASTIE_VARS_OFF= STARTUP_PIXMAP=icewm-logo.xpm IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2 IMLIB2_DESC= Use Imlib2 for rendering IMLIB2_CONFIGURE_OFF= --disable-imlib2 --enable-gdk-pixbuf -IMLIB2_USE_OFF= GNOME=gdkpixbuf2xlib +IMLIB2_USE_OFF= GNOME=gdkpixbufxlib LIBRSVG2_BUILD_DEPENDS_OFF= ${LOCALBASE}/include/nanosvg.h:graphics/nanosvg LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_CONFIGURE_OFF= --disable-librsvg --enable-nanosvg NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls XFT_LIB_DEPENDS= libXft.so:x11-fonts/libXft XFT_CONFIGURE_OFF= --enable-corefonts --disable-xfreetype XINERAMA_USE= XORG=xinerama XINERAMA_CONFIGURE_ENABLE= xinerama XRANDR_USE= XORG=xrandr XRANDR_CONFIGURE_ENABLE= xrandr post-extract: .for dir in taskbar themes/Infadel2/taskbar @cd ${WRKSRC}/lib/${dir} && ${MV} start.xpm icewm-logo.xpm @${LN} -sf ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/${dir} @${LN} -sf ${STARTUP_PIXMAP} ${WRKSRC}/lib/${dir}/start.xpm .endfor post-patch-LIBRSVG2-off: @${LN} -sf ${LOCALBASE}/include/nanosvg.h \ ${LOCALBASE}/include/nanosvgrast.h ${WRKSRC}/src post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ChangeLog NEWS README TODO doc/*.html ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/x11-wm/kickshaw/Makefile b/x11-wm/kickshaw/Makefile index 50118b6d4d2d..5d7428d2d6eb 100644 --- a/x11-wm/kickshaw/Makefile +++ b/x11-wm/kickshaw/Makefile @@ -1,39 +1,39 @@ PORTNAME= kickshaw PORTVERSION= 0.5.26 PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= SAVANNAH/obladi DISTNAME= ${PORTNAME}_${PORTVERSION}_source_only MAINTAINER= danfe@FreeBSD.org COMMENT= Menu editor for the Openbox window manager WWW= https://savannah.nongnu.org/projects/obladi LICENSE= GPLv2+ LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= gnome pkgconfig tar:bzip2 -USE_GNOME= cairo gdkpixbuf2 +USE_GNOME= cairo gdkpixbuf MAKE_ARGS= CC="${CC}" OPTIONS_DEFINE= GTK2 GTK3 OPTIONS_DEFAULT= GTK2 GTK3 do-build do-install: @${DO_NADA} .for v in 2 3 GTK${v}_USE= GNOME=gtk${v}0 GTK${v}_PLIST_FILES= bin/${PORTNAME}-gtk${v} do-build-GTK${v}-on: ${DO_MAKE_BUILD} -C ${BUILD_WRKSRC}/GTK${v}/source do-install-GTK${v}-on: ${INSTALL_PROGRAM} ${WRKSRC}/GTK${v}/source/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-gtk${v} .endfor .include diff --git a/x11-wm/lxappearance-obconf/Makefile b/x11-wm/lxappearance-obconf/Makefile index d607c1c88e0f..e93017ea0813 100644 --- a/x11-wm/lxappearance-obconf/Makefile +++ b/x11-wm/lxappearance-obconf/Makefile @@ -1,30 +1,30 @@ PORTNAME= lxappearance-obconf PORTVERSION= 0.2.3 PORTREVISION= 6 CATEGORIES= x11-wm MASTER_SITES= SF/lxde/LXAppearance%20Obconf/ MAINTAINER= ports@FreeBSD.org COMMENT= LXAppearance ObConf plugin WWW= https://www.lxde.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libImlib2.so:graphics/imlib2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 BUILD_DEPENDS= openbox:x11-wm/openbox \ lxappearance:x11-themes/lxappearance RUN_DEPENDS= ${BUILD_DEPENDS} USES= gettext-tools gmake gnome libtool pkgconfig tar:xz xorg GNU_CONFIGURE= yes -USE_GNOME= glib20 gtk20 intltool intlhack atk cairo pango gdkpixbuf2 \ +USE_GNOME= glib20 gtk20 intltool intlhack atk cairo pango gdkpixbuf \ librsvg2 libxml2 USE_XORG= ice sm x11 xft INSTALL_TARGET= install-strip CONFIGURE_ARGS+= --disable-static .include diff --git a/x11-wm/lxsession/Makefile b/x11-wm/lxsession/Makefile index b80804244df6..73f785b974cd 100644 --- a/x11-wm/lxsession/Makefile +++ b/x11-wm/lxsession/Makefile @@ -1,63 +1,63 @@ PORTNAME= lxsession PORTVERSION= 0.5.5 PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= SF/lxde/LXSession%20%28session%20manager%29/LXSession%200.5.x/ MAINTAINER= ports@FreeBSD.org COMMENT= LXDE Session Manager WWW= https://lxde.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libunique-1.0.so:x11-toolkits/unique \ libpolkit-agent-1.so:sysutils/polkit \ libck-connector.so:sysutils/consolekit2 USES= autoreconf gmake gnome localbase pkgconfig tar:xz vala:build xorg -USE_GNOME= glib20 gtk20 intltool cairo gdkpixbuf2 libxslt +USE_GNOME= glib20 gtk20 intltool cairo gdkpixbuf libxslt USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-buildin-clipboard \ --enable-buildin-polkit \ MAKE=${GMAKE} INSTALL_TARGET= install-strip SUB_FILES= pkg-message OPTIONS_DEFINE= NLS UPOWER OPTIONS_SUB= yes NLS_USES= gettext NLS_USES_OFF= gettext-tools UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_DESC= Suspend/Hibernate support post-patch: @${REINPLACE_CMD} -e \ 's|/usr/lib64/kde4|%%QT4_LIBDIR%%|g ; \ s|/usr/lib/kde4|%%QT5_LIBDIR%%|g' \ ${WRKSRC}/lxsession/environement.c \ ${WRKSRC}/lxsession/environement.vala @${FIND} ${WRKSRC} -type f | ${XARGS} \ ${REINPLACE_CMD} -e 's|/etc/xdg|${PREFIX}/etc/xdg|g ;\ s|%%PREFIX%%|${PREFIX}| ;\ s|/usr/bin/pkexec|${PREFIX}/bin/pkexec|g ;\ s|:/usr/share:/usr/share/gdm||g ;\ s|:/var/lib/menu-xdg||g ;\ s|/usr/share|${PREFIX}/share|g ;\ s|/usr/lib|${PREFIX}/lib|g ;\ s|%%QT4_LIBDIR%%|${PREFIX}/lib/qt4| ;\ s|%%QT5_LIBDIR%%|${PREFIX}/lib/qt5| ;\ s|Clearlooks|Adwaita|' post-patch-NLS-off: @${REINPLACE_CMD} -e 's|po man|man|' \ ${WRKSRC}/Makefile.in .include diff --git a/x11-wm/magpie/Makefile b/x11-wm/magpie/Makefile index 4b74aa97779e..e36e4797e133 100644 --- a/x11-wm/magpie/Makefile +++ b/x11-wm/magpie/Makefile @@ -1,58 +1,58 @@ PORTNAME= magpie DISTVERSION= 0.9.3 PORTREVISION= 2 CATEGORIES= x11-wm budgie MASTER_SITES= BUDGIE MAINTAINER= duchateau.olivier@gmail.com COMMENT= X11 window manager and compositor library for Budgie desktop WWW= https://github.com/BuddiesOfBudgie/magpie LICENSE= GPLv2+ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ xkeyboard-config>0:x11/xkeyboard-config \ zenity>0:x11/zenity LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libgudev-1.0.so:devel/libgudev \ libdrm.so:graphics/libdrm \ libinput.so:x11/libinput \ libgbm.so:graphics/mesa-libs \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgraphene-1.0.so:graphics/graphene \ libjson-glib-1.0.so:devel/json-glib \ libstartup-notification-1.so:x11/startup-notification \ libupower-glib.so:sysutils/upower \ libxkbcommon.so:x11/libxkbcommon \ libxkbfile.so:x11/libxkbfile \ liblcms2.so:graphics/lcms2 \ libdbus-1.so:devel/dbus \ libcolord.so:graphics/colord RUN_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ xkeyboard-config>0:x11/xkeyboard-config \ zenity>0:x11/zenity USES= budgie compiler:c++0x gettext gl gnome localbase meson \ pkgconfig tar:xz xorg USE_GL= egl gbm -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 introspection:build +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 introspection:build USE_LDCONFIG= yes USE_XORG= ice sm x11 xau xcb xcomposite xcursor xdamage xext xfixes xi \ xinerama xrandr xrender xtst MESON_ARGS= -Dopengl_libname=libGL.so \ -Dgles2_libname=libGLESv2 \ -Dsystemd=false \ -Dnative_backend=false \ -Dremote_desktop=false \ -Dlibwacom=false \ -Dprofiler=false CFLAGS+= -Wno-format-nonliteral CPPFLAGS+= -fno-omit-frame-pointer .include diff --git a/x11-wm/marco/Makefile b/x11-wm/marco/Makefile index b667c092d62e..22c4f5485370 100644 --- a/x11-wm/marco/Makefile +++ b/x11-wm/marco/Makefile @@ -1,37 +1,37 @@ PORTNAME= marco PORTVERSION= 1.28.1 CATEGORIES= x11-wm mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Window manager for the adult in you WWW= https://mate-desktop.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ zenity>=3.0.0:x11/zenity LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \ libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libgtop-2.0.so:devel/libgtop RUN_DEPENDS= zenity>=3.0.0:x11/zenity PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool localbase pathfix pkgconfig \ tar:xz xorg mate USE_XORG= ice sm x11 xcomposite xcursor xdamage xext xfixes \ xinerama xrandr xrender xres -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool USE_MATE= desktop USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.marco.gschema.xml .include diff --git a/x11-wm/muffin/Makefile b/x11-wm/muffin/Makefile index afa805374ad7..359143fef401 100644 --- a/x11-wm/muffin/Makefile +++ b/x11-wm/muffin/Makefile @@ -1,58 +1,58 @@ PORTNAME= muffin PORTVERSION= 5.4.5 PORTREVISION= 6 CATEGORIES= x11-wm gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Compositing window manager forked from Mutter for use with Cinnamon WWW= https://github.com/linuxmint/muffin LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xkeyboard-config.pc:x11/xkeyboard-config \ ${LOCALBASE}/include/EGL/eglmesaext.h:graphics/mesa-dri \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \ libfribidi.so:converters/fribidi \ libjson-glib-1.0.so:devel/json-glib \ libcinnamon-desktop.so:x11/cinnamon-desktop \ libxkbcommon.so:x11/libxkbcommon \ libcanberra.so:audio/libcanberra \ libdbus-1.so:devel/dbus \ libstartup-notification-1.so:x11/startup-notification \ libpipewire-0.3.so:multimedia/pipewire \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xkeyboard-config>0:x11/xkeyboard-config USES= compiler:c11 gettext-tools gl gnome localbase meson pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 introspection pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 introspection pango USE_XORG= ice sm x11 xau xcb xcomposite xcursor xdamage xext xfixes xi xinerama \ xkbfile xrandr xrender xtst USE_GL= egl gl glesv2 USE_LDCONFIG= yes MESON_ARGS= -Dcore_tests=false GLIB_SCHEMAS= org.cinnamon.muffin.gschema.xml OPTIONS_DEFINE= TEST UDEV WACOM OPTIONS_DEFAULT= WACOM TEST_MESON_TRUE= cogl_tests clutter_tests UDEV_DESC= Enable udev support when using the X11 backend (EXPERIMENTAL) UDEV_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev \ libudev.so:devel/libudev-devd UDEV_MESON_TRUE= udev WACOM_DESC= Tablet support with libwacom WACOM_LIB_DEPENDS= libwacom.so:x11/libwacom WACOM_MESON_TRUE= libwacom .include diff --git a/x11-wm/mutter/Makefile b/x11-wm/mutter/Makefile index 93739cb327e4..c78ee2fa52bb 100644 --- a/x11-wm/mutter/Makefile +++ b/x11-wm/mutter/Makefile @@ -1,68 +1,68 @@ PORTNAME= mutter PORTVERSION= 42.4 PORTREVISION= 4 CATEGORIES= x11-wm MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Window and compositing manager based on Clutter WWW= https://gitlab.gnome.org/GNOME/mutter LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas \ xkeyboard-config>=0:x11/xkeyboard-config \ zenity>=3.0.0:x11/zenity LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libdrm.so:graphics/libdrm \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgraphene-1.0.so:graphics/graphene \ libjson-glib-1.0.so:devel/json-glib \ libpipewire-0.3.so:multimedia/pipewire \ libstartup-notification-1.so:x11/startup-notification \ libupower-glib.so:sysutils/upower \ libxkbcommon.so:x11/libxkbcommon \ libxkbfile.so:x11/libxkbfile RUN_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas \ xkeyboard-config>=0:x11/xkeyboard-config \ zenity>=3.0.0:x11/zenity PORTSCOUT= limitw:1,even USES= compiler:c++0x gettext gl gnome localbase meson pkgconfig \ tar:xz xorg USE_GL= egl gbm -USE_GNOME= cairo gdkpixbuf2 gnomedesktop3 introspection +USE_GNOME= cairo gdkpixbuf gnomedesktop3 introspection USE_XORG= ice sm x11 xcb xcomposite xcursor xdamage xext xfixes xi \ xinerama xrandr xrender xtst USE_LDCONFIG= yes CFLAGS+= -Wno-unknown-warning-option -Wno-format-nonliteral CPPFLAGS+= -fno-omit-frame-pointer MESON_ARGS= -Dlibwacom=false \ -Dnative_backend=false \ -Dprofiler=false \ -Dsm=true \ -Dsystemd=false \ -Dtests=false \ -Dudev=false \ -Dwayland=false # Required by embedded cogl/clutter forks. MESON_ARGS+= -Dgles2_libname=libGLESv2 \ -Dopengl_libname=libGL.so # Disable remote_desktop for now because it requires memfd which only appears current MESON_ARGS+= -Dremote_desktop=false GLIB_SCHEMAS= org.gnome.mutter.gschema.xml \ org.gnome.mutter.wayland.gschema.xml .include diff --git a/x11-wm/obconf-qt/Makefile b/x11-wm/obconf-qt/Makefile index e55c6be1c78f..132392df939f 100644 --- a/x11-wm/obconf-qt/Makefile +++ b/x11-wm/obconf-qt/Makefile @@ -1,33 +1,33 @@ PORTNAME= obconf-qt PORTVERSION= 0.16.4 PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= LXQT/${PORTNAME} MAINTAINER= lxqt@FreeBSD.org COMMENT= Qt port of preferences manager for Openbox WWW= https://github.com/lxqt/obconf-qt LICENSE= GPLv2 LIB_DEPENDS= libobt.so:x11-wm/openbox \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libImlib2.so:graphics/imlib2 \ libharfbuzz.so:print/harfbuzz USES= cmake compiler:c++11-lang gettext-runtime localbase qt:5 \ gnome lxqt:1 perl5 pkgconfig tar:xz xorg USE_PERL5= build USE_QT= buildtools:build qmake:build core gui linguisttools \ widgets x11extras USE_LXQT= buildtools -USE_GNOME= glib20 pango librsvg2 gdkpixbuf2 libxml2 cairo +USE_GNOME= glib20 pango librsvg2 gdkpixbuf libxml2 cairo USE_XORG= ice sm x11 xft .include diff --git a/x11-wm/sawfish/Makefile b/x11-wm/sawfish/Makefile index 8e60a9f4317c..cc4d15d1e265 100644 --- a/x11-wm/sawfish/Makefile +++ b/x11-wm/sawfish/Makefile @@ -1,54 +1,54 @@ PORTNAME= sawfish DISTVERSION= 1.13.0 PORTREVISION= 3 CATEGORIES= x11-wm MASTER_SITES= http://download.tuxfamily.org/sawfish/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Extensible window manager using Lisp-based scripting language WWW= https://sawfish.tuxfamily.org/ LICENSE= ART20 GPLv2 LICENSE_COMB= multi BUILD_DEPENDS= rep-gtk2>=0.90:x11-toolkits/rep-gtk2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmp.so:math/gmp \ libharfbuzz.so:print/harfbuzz \ librep.so:lang/librep RUN_DEPENDS= rep-gtk2>=0.90:x11-toolkits/rep-gtk2 USES= gmake gnome libtool makeinfo pathfix pkgconfig tar:xz xorg USE_XORG= ice sm x11 xft xinerama xrandr xtst xrender xext -USE_GNOME= cairo gdkpixbuf2 gdkpixbuf2xlib gtk20 +USE_GNOME= cairo gdkpixbuf gdkpixbufxlib gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --localstatedir=${PREFIX}/share \ --datadir=${PREFIX}/share INFO= sawfish OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_OFF= --without-nls post-extract: @${RM} ${WRKSRC}/themes/StyleTab/Flat/.directory post-patch: @${REINPLACE_CMD} -e \ '/dnsdomainname/d' ${WRKSRC}/build-info @${REINPLACE_CMD} -e \ 's|prog_name|program_name|g' ${WRKSRC}/src/main.c @${REINPLACE_CMD} -e \ '/LC_ALL=C tar/s|-c|&f -|' ${WRKSRC}/themes/Makefile.in post-build: ${STRIP_CMD} ${WRKSRC}/src/.libs/*.so \ ${WRKSRC}/src/gtk-style .include diff --git a/x11-wm/selectwm/Makefile b/x11-wm/selectwm/Makefile index 1044d03f3ea7..c805f994d196 100644 --- a/x11-wm/selectwm/Makefile +++ b/x11-wm/selectwm/Makefile @@ -1,30 +1,30 @@ PORTNAME= selectwm PORTVERSION= 0.4.1 PORTREVISION= 12 CATEGORIES= x11-wm MASTER_SITES= https://ordiluc.net/selectwm/ MAINTAINER= danfe@FreeBSD.org COMMENT= Select a window manager when starting X11 WWW= https://ordiluc.net/selectwm/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome pkgconfig tar:bzip2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 PLIST_FILES= bin/selectwm share/locale/fr/LC_MESSAGES/selectwm.mo \ share/man/man1/selectwm.1.gz post-patch: @${REINPLACE_CMD} -e '/^AM_CFLAGS = /s,-s -O2 -Wall ,,' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e '/^#define G.*DISABLE_DEPRECATED/d' \ ${WRKSRC}/src/define.h @${REINPLACE_CMD} -e 's,getline (,_${PORTNAME}_local_&,' \ ${WRKSRC}/src/options.c .include diff --git a/x11-wm/sway/Makefile b/x11-wm/sway/Makefile index 70802f141a37..57282b7c3d42 100644 --- a/x11-wm/sway/Makefile +++ b/x11-wm/sway/Makefile @@ -1,63 +1,63 @@ PORTNAME= sway DISTVERSION= 1.10.1 PORTREVISION= 1 CATEGORIES= x11-wm wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= i3-compatible Wayland compositor WWW= https://swaywm.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.24:graphics/wayland-protocols LIB_DEPENDS= libjson-c.so:devel/json-c \ libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ libpcre2-8.so:devel/pcre2 \ libdrm.so:graphics/libdrm \ libwayland-egl.so:graphics/wayland \ libwlroots-0.18.so:x11-toolkits/wlroots018 \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome meson pkgconfig xorg USE_GITHUB= yes USE_GNOME= cairo pango USE_XORG= pixman GH_ACCOUNT= swaywm MESON_ARGS= -Dsd-bus-provider=basu CONFLICTS_INSTALL= ${PORTNAME}-devel ${PORTNAME}fx OPTIONS_DEFINE= BASU MANPAGES PIXBUF SWAYBG X11 OPTIONS_DEFAULT=BASU MANPAGES PIXBUF SWAYBG X11 OPTIONS_SUB= yes BASU_DESC= Tray in swaybar via basu BASU_LIB_DEPENDS= libbasu.so:devel/basu BASU_MESON_ENABLED= tray MANPAGES_BUILD_DEPENDS= scdoc>=1.9.2:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages -PIXBUF_USE= GNOME=gdkpixbuf2 +PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_MESON_ENABLED= gdk-pixbuf SWAYBG_DESC= Default command to set background SWAYBG_RUN_DEPENDS= swaybg:x11/swaybg X11_USE= XORG=xcb X11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm post-patch: # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e '/config\.in/{ N; s/@BASENAME@/&.sample/; }' \ ${WRKSRC}/meson.build # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/x11-wm/swayfx/Makefile b/x11-wm/swayfx/Makefile index 4fcb716c68f4..8715691e8412 100644 --- a/x11-wm/swayfx/Makefile +++ b/x11-wm/swayfx/Makefile @@ -1,65 +1,65 @@ PORTNAME= sway DISTVERSION= 0.5 CATEGORIES= x11-wm wayland PKGNAMESUFFIX= ${GH_PROJECT:S/${PORTNAME}//} MAINTAINER= jbeich@FreeBSD.org COMMENT= Sway, but with eye candy! WWW= https://github.com/WillPower3309/swayfx LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.24:graphics/wayland-protocols LIB_DEPENDS= libjson-c.so:devel/json-c \ libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ libpcre2-8.so:devel/pcre2 \ libdrm.so:graphics/libdrm \ libwayland-egl.so:graphics/wayland \ libscenefx-0.2.so:x11-toolkits/scenefx02 \ libwlroots-0.18.so:x11-toolkits/wlroots018 \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome meson pkgconfig xorg USE_GITHUB= yes USE_GNOME= cairo pango USE_XORG= pixman GH_ACCOUNT= WillPower3309 GH_PROJECT= swayfx MESON_ARGS= -Dsd-bus-provider=basu CONFLICTS_INSTALL= ${PORTNAME} ${PORTNAME}-devel OPTIONS_DEFINE= BASU MANPAGES PIXBUF SWAYBG X11 OPTIONS_DEFAULT=BASU MANPAGES PIXBUF SWAYBG X11 OPTIONS_SUB= yes BASU_DESC= Tray in swaybar via basu BASU_LIB_DEPENDS= libbasu.so:devel/basu BASU_MESON_ENABLED= tray MANPAGES_BUILD_DEPENDS= scdoc>=1.9.2:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages -PIXBUF_USE= GNOME=gdkpixbuf2 +PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_MESON_ENABLED= gdk-pixbuf SWAYBG_DESC= Default command to set background SWAYBG_RUN_DEPENDS= swaybg:x11/swaybg X11_USE= XORG=xcb X11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm post-patch: # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e '/config\.in/{ N; s/@BASENAME@/&.sample/; }' \ ${WRKSRC}/meson.build # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/x11-wm/wmakerconf/Makefile b/x11-wm/wmakerconf/Makefile index 323eccd84100..ee8d5fca4f56 100644 --- a/x11-wm/wmakerconf/Makefile +++ b/x11-wm/wmakerconf/Makefile @@ -1,51 +1,51 @@ PORTNAME= wmakerconf PORTVERSION= 2.12 PORTREVISION= 13 CATEGORIES= x11-wm MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Configuration tool for Window Maker WWW= https://sourceforge.net/projects/wmakerconf/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libWINGs.so:x11-wm/windowmaker \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwraster.so:x11-wm/libwraster USES= gettext pkgconfig perl5 gmake gnome localbase shebangfix xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 SHEBANG_FILES= scripts/getfile.pl.in scripts/upgrade.pl.in GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share LIBS= -lintl -lX11 -lWUtil WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} post-extract: @${FIND} ${WRKSRC} -name "*.gmo" -delete post-patch: @${REINPLACE_CMD} -e 's|$$(prefix)/share/locale|${STAGEDIR}${PREFIX}/share/locale|g' \ ${WRKSRC}/data/po/Makefile.am ${WRKSRC}/data/po/Makefile.in \ ${WRKSRC}/po/Makefile.in.in @${REINPLACE_CMD} -e '/chmod 0/d' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -E '/\/usr\/share/d; \ s|/usr/local|${LOCALBASE}|g ; \ s|/usr/X11R6|${LOCALBASE}|g; \ s|(share/pixmaps.*),|\1|g' \ ${WRKSRC}/data/WMWmakerconf* .for file in data/po/ja.po po/ja.po @${REINPLACE_CMD} -e 's|JISX-0208-1983-0|euc-jp|g' ${WRKSRC}/${file} .endfor @${REINPLACE_CMD} -e '/WMWritePropListToFile/s|,[[:space:]]YES||' \ ${WRKSRC}/src/menu.c ${WRKSRC}/src/rootmenu.c \ ${WRKSRC}/src/wmconfig.c .include diff --git a/x11-wm/xfce4-desktop/Makefile b/x11-wm/xfce4-desktop/Makefile index 2def44d9cacf..a059fd060990 100644 --- a/x11-wm/xfce4-desktop/Makefile +++ b/x11-wm/xfce4-desktop/Makefile @@ -1,48 +1,48 @@ PORTNAME= xfce4-desktop PORTVERSION= 4.20.1 CATEGORIES= x11-wm xfce MASTER_SITES= XFCE DISTNAME= xfdesktop-${DISTVERSIONFULL} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce's desktop manager WWW= https://gitlab.xfce.org/xfce/xfdesktop LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libnotify.so:devel/libnotify \ libyaml.so:textproc/libyaml USES= compiler:c11 gettext-tools gmake gnome pkgconfig tar:bzip2 xfce \ xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libwnck3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3 USE_XFCE= garcon libexo windowing xfconf USE_XORG= ice sm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gio-unix \ --enable-notifications INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even OPTIONS_DEFINE= NLS THUNAR WAYLAND OPTIONS_DEFAULT= THUNAR WAYLAND OPTIONS_SUB= yes THUNAR_DESC= Thunar file manager support NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls THUNAR_USE= XFCE=thunar THUNAR_CONFIGURE_ENABLE= thunarx THUNAR_CONFIGURE_WITH= file-manager-fallback=Thunar WAYLAND_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell WAYLAND_CONFIGURE_ENABLE= wayland .include diff --git a/x11-wm/xfce4-panel/Makefile b/x11-wm/xfce4-panel/Makefile index 3effe20929c4..d555ff6be84c 100644 --- a/x11-wm/xfce4-panel/Makefile +++ b/x11-wm/xfce4-panel/Makefile @@ -1,55 +1,55 @@ PORTNAME= xfce4-panel PORTVERSION= 4.20.3 CATEGORIES= x11-wm xfce MASTER_SITES= XFCE DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce's panel WWW= https://gitlab.xfce.org/xfce/xfce4-panel LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libdbusmenu-gtk3.so:devel/libdbusmenu \ libharfbuzz.so:print/harfbuzz USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome \ libtool pathfix perl5 pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libwnck3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3 USE_LDCONFIG= yes USE_PERL5= build USE_XFCE= garcon libexo windowing xdt xfconf USE_XORG= ice sm x11 xext GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-x11 \ --without-html-dir INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even OPTIONS_DEFINE= GIR NLS VAPI WAYLAND OPTIONS_DEFAULT= GIR VAPI WAYLAND OPTIONS_SUB= yes GIR_DESC= Use Gobject Introspection GIR_USE= GNOME=introspection:build GIR_CONFIGURE_ON= --enable-introspection=yes GIR_CONFIGURE_OFF= --enable-introspection=no NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls VAPI_IMPLIES= GIR VAPI_USES= vala:build VAPI_CONFIGURE_ENABLE= vala WAYLAND_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= gtk-layer-shell wayland .include diff --git a/x11-wm/xfce4-session/Makefile b/x11-wm/xfce4-session/Makefile index 69e7d7f6838d..c64012df25fd 100644 --- a/x11-wm/xfce4-session/Makefile +++ b/x11-wm/xfce4-session/Makefile @@ -1,48 +1,48 @@ PORTNAME= xfce4-session PORTVERSION= 4.20.0 CATEGORIES= x11-wm xfce MASTER_SITES= XFCE DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce's session manager WWW= https://gitlab.xfce.org/xfce/xfce4-session LICENSE= GPLv2 BUILD_DEPENDS= iceauth:x11/iceauth RUN_DEPENDS= iceauth:x11/iceauth \ console-kit-daemon:sysutils/consolekit2 \ xrdb:x11/xrdb LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit USES= compiler:c11 gettext-tools gmake gnome libtool pathfix \ pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 glib20 libwnck3 +USE_GNOME= cairo gdkpixbuf gtk30 glib20 libwnck3 USE_XFCE= libmenu xfconf windowing USE_XORG= ice sm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-legacy-sm \ --with-backend=freebsd \ --enable-x11 \ --enable-polkit \ --with-xsession-prefix=${PREFIX} \ --with-wayland-session-prefix=${PREFIX} SUB_FILES= pkg-message INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even OPTIONS_DEFINE= NLS WAYLAND OPTIONS_DEFAULT= WAYLAND OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime WAYLAND_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= gtk-layer-shell wayland .include diff --git a/x11-wm/xfce4-wm/Makefile b/x11-wm/xfce4-wm/Makefile index 7a07d737850b..a125aa8b635b 100644 --- a/x11-wm/xfce4-wm/Makefile +++ b/x11-wm/xfce4-wm/Makefile @@ -1,51 +1,51 @@ PORTNAME= xfce4-wm PORTVERSION= 4.20.0 CATEGORIES= x11-wm xfce MASTER_SITES= XFCE DISTNAME= xfwm4-${DISTVERSIONFULL} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce's window manager WWW= https://gitlab.xfce.org/xfce/xfwm4 LICENSE= GPLv2 LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 libwnck3 +USE_GNOME= cairo gdkpixbuf gtk30 libwnck3 USE_XFCE= libmenu xfconf USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xi xinerama \ xorgproto xpresent xrandr xrender xres CONFIGURE_ARGS= --enable-xsync \ --enable-render \ --enable-randr \ --enable-compositor \ --enable-xpresent \ --enable-poswin GNU_CONFIGURE= yes DATADIR= ${PREFIX}/share/xfwm4 PORTSCOUT= limitw:1,even OPTIONS_DEFINE= NLS STARTUP OPTIONS_DEFAULT= STARTUP OPTIONS_SUB= yes STARTUP_DESC= Startup notification NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime STARTUP_CONFIGURE_ENABLE= startup-notification STARTUP_LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification post-patch: @${REINPLACE_CMD} -e 's|Default|Greybird|' \ ${WRKSRC}/settings-dialogs/xfwm4-settings.c .include diff --git a/x11/appmenu-registrar/Makefile b/x11/appmenu-registrar/Makefile index 627a89c67e36..8dafb73dbf5b 100644 --- a/x11/appmenu-registrar/Makefile +++ b/x11/appmenu-registrar/Makefile @@ -1,35 +1,35 @@ PORTNAME= appmenu-registrar DISTVERSION= 0.7.6 PORTREVISION= 3 CATEGORIES= x11 PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= 442bcebcc00e.patch:-p1 # meson >= 0.60 MAINTAINER= ericbsd@FreeBSD.org COMMENT= Appmenu DBusMenu registrar WWW= https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/tree/master/subprojects/registrar LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libbamf3.so:sysutils/bamf USES= meson gnome pkgconfig gettext vala:build MESON_ARGS= -Dvalapanel=disabled \ -Dxfce=disabled \ -Dmate=disabled \ -Dbudgie=disabled \ -Djayatana=disabled \ -Dregistrar=enabled \ -Dappmenu-gtk-module=disabled -USE_GNOME= gtk30 glib20 gdkpixbuf2 +USE_GNOME= gtk30 glib20 gdkpixbuf USE_GITLAB= yes GL_ACCOUNT= vala-panel-project GL_PROJECT= vala-panel-appmenu GL_TAGNAME= 4e362c22ab3a23c98f13fb379c782786ee057cf6 .include diff --git a/x11/budgie-desktop/Makefile b/x11/budgie-desktop/Makefile index 6268f55f79c3..da452dfc0891 100644 --- a/x11/budgie-desktop/Makefile +++ b/x11/budgie-desktop/Makefile @@ -1,91 +1,91 @@ PORTNAME= budgie-desktop DISTVERSION= 10.8.2 PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= x11 budgie MASTER_SITES= BUDGIE MAINTAINER= duchateau.olivier@gmail.com COMMENT= Modern and familiar desktop environment WWW= https://github.com/BuddiesOfBudgie/budgie-desktop LICENSE_COMB= multi LICENSE= GPLv2 LGPL21 BUILD_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ sassc:textproc/sassc \ zenity>0:x11/zenity LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit \ libpeas-1.0.so:devel/libpeas \ libuuid.so:misc/e2fsprogs-libuuid \ libnotify.so:devel/libnotify \ libaccountsservice.so:sysutils/accountsservice \ libpulse.so:audio/pulseaudio \ libasound.so:audio/alsa-lib \ libgraphene-1.0.so:graphics/graphene \ libupower-glib.so:sysutils/upower \ libibus-1.0.so:textproc/ibus \ libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libgee-0.8.so:devel/libgee RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ gnome-session>0:x11/gnome-session \ consolekit2>0:sysutils/consolekit2 \ zenity>0:x11/zenity \ xdotool>0:x11/xdotool USES= budgie gettext gnome gstreamer meson pkgconfig tar:xz \ vala:build xorg USE_BUDGIE= libmagpie screensaver:build -USE_GNOME= cairo gdkpixbuf2 glib20 gnomedesktop3 gnomemenus3 \ +USE_GNOME= cairo gdkpixbuf glib20 gnomedesktop3 gnomemenus3 \ gtk30 intltool introspection libwnck3 USE_GSTREAMER= libgstreamer USE_XORG= x11 xcomposite MESON_ARGS= -Dwith-gtk-doc=false \ -Dwith-bluetooth=false \ -Dwith-hibernate=false \ -Dwith-libuuid-time-safe=false # If zenity >= 3.90 → build against Gtk4 (new API) MESON_ARGS+= -Duse-old-zenity=true GLIB_SCHEMAS= 20_buddiesofbudgie.budgie-desktop.notifications.gschema.override \ 20_solus-project.budgie.wm.gschema.override \ com.solus-project.budgie-menu.gschema.xml \ com.solus-project.budgie-panel.gschema.xml \ com.solus-project.budgie.raven.gschema.xml \ com.solus-project.budgie.wm.gschema.xml \ com.solus-project.clock.gschema.xml \ com.solus-project.icon-tasklist.gschema.xml \ com.solus-project.places-indicator.gschema.xml \ com.solus-project.spacer.gschema.xml \ com.solus-project.status.gschema.xml \ com.solus-project.trash.gschema.xml \ com.solus-project.tray.gschema.xml \ com.solus-project.workspaces.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.Calendar.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.SoundInput.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.SoundOutput.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.UsageMonitor.gschema.xml \ org.buddiesofbudgie.budgie-desktop.screenshot.gschema.xml \ 25_org.buddiesofbudgie-default-settings.gschema.override .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: ${CP} ${FILESDIR}/25_org.buddiesofbudgie-default-settings.gschema.override \ ${WRKSRC}/data post-patch: ${REINPLACE_CMD} -i "" -e 's|%%PREFIX%%|${LOCALBASE}|g' \ ${WRKSRC}/src/wm/20_solus-project.budgie.wm.gschema.override ${REINPLACE_CMD} -i "" -e 's|start-here|view-grid|' \ ${WRKSRC}/src/panel/applets/budgie-menu/com.solus-project.budgie-menu.gschema.xml .include diff --git a/x11/budgie-screensaver/Makefile b/x11/budgie-screensaver/Makefile index d1b277f2aedb..543dc4e0dc18 100644 --- a/x11/budgie-screensaver/Makefile +++ b/x11/budgie-screensaver/Makefile @@ -1,42 +1,42 @@ PORTNAME= budgie-screensaver DISTVERSION= 5.1.0 DISTVERSIONPREFIX= v PORTREVISION= 4 CATEGORIES= x11 budgie MASTER_SITES= BUDGIE MAINTAINER= duchateau.olivier@gmail.com COMMENT= Budgie screen saver and locker WWW= https://github.com/BuddiesOfBudgie/budgie-screensaver LICENSE= GPLv2 BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ gjs>0:lang/gjs \ gnome-keyring>0:security/gnome-keyring USES= budgie gettext gnome meson pkgconfig tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 gnomedesktop3 intltool \ +USE_GNOME= cairo gdkpixbuf glib20 gtk30 gnomedesktop3 intltool \ libgnomekbd USE_XORG= x11 xxf86vm SUB_FILES= budgie-screensaver MESON_ARGS= -Dwith-systemd=false \ -Dwith-console-kit=true post-patch: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|g' \ ${WRKSRC}/src/gnome-screensaver.c ${REINPLACE_CMD} -e 's|/etc/pam.d|${LOCALBASE}/etc/pam.d|g' \ ${WRKSRC}/src/gs-auth-pam.c post-install: # ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pam.d ${INSTALL_DATA} ${WRKDIR}/budgie-screensaver \ ${STAGEDIR}${PREFIX}/etc/pam.d .include diff --git a/x11/cinnamon-desktop/Makefile b/x11/cinnamon-desktop/Makefile index 7d752f9dce34..839a763292a0 100644 --- a/x11/cinnamon-desktop/Makefile +++ b/x11/cinnamon-desktop/Makefile @@ -1,61 +1,61 @@ PORTNAME= cinnamon-desktop PORTVERSION= 5.4.2 PORTREVISION= 5 CATEGORIES= x11 gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Additional UI API for cinnamon WWW= https://github.com/linuxmint/cinnamon-desktop LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= xkeyboard-config>=0:x11/xkeyboard-config \ libxkbfile>=0:x11/libxkbfile LIB_DEPENDS= libpulse.so:audio/pulseaudio RUN_DEPENDS= xkeyboard-config>=0:x11/xkeyboard-config \ libxkbfile>=0:x11/libxkbfile USES= gettext gnome localbase meson pkgconfig python:build shebangfix xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection +USE_GNOME= cairo gdkpixbuf gtk30 intltool introspection USE_XORG= x11 xext xrandr USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= linuxmint SHEBANG_FILES= install-scripts/meson_install_schemas.py installer-test GLIB_SCHEMAS= org.cinnamon.desktop.a11y.applications.gschema.xml \ org.cinnamon.desktop.a11y.keyboard.gschema.xml \ org.cinnamon.desktop.a11y.magnifier.gschema.xml \ org.cinnamon.desktop.a11y.mouse.gschema.xml \ org.cinnamon.desktop.background.gschema.xml \ org.cinnamon.desktop.default-applications.gschema.xml \ org.cinnamon.desktop.enums.xml \ org.cinnamon.desktop.input-sources.gschema.xml \ org.cinnamon.desktop.interface.gschema.xml \ org.cinnamon.desktop.keybindings.gschema.xml \ org.cinnamon.desktop.keybindings.media-keys.gschema.xml \ org.cinnamon.desktop.keybindings.wm.gschema.xml \ org.cinnamon.desktop.lockdown.gschema.xml \ org.cinnamon.desktop.media-handling.gschema.xml \ org.cinnamon.desktop.notifications.gschema.xml \ org.cinnamon.desktop.peripherals.gschema.xml \ org.cinnamon.desktop.privacy.gschema.xml \ org.cinnamon.desktop.screensaver.gschema.xml \ org.cinnamon.desktop.session.gschema.xml \ org.cinnamon.desktop.sound.gschema.xml \ org.cinnamon.desktop.thumbnail-cache.gschema.xml \ org.cinnamon.desktop.thumbnailers.gschema.xml \ org.cinnamon.desktop.wm.preferences.gschema.xml OPTIONS_DEFINE= ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_TRUE= alsa .include diff --git a/x11/cinnamon-screensaver/Makefile b/x11/cinnamon-screensaver/Makefile index 72a40a881729..6b4de701e272 100644 --- a/x11/cinnamon-screensaver/Makefile +++ b/x11/cinnamon-screensaver/Makefile @@ -1,59 +1,59 @@ PORTNAME= cinnamon-screensaver PORTVERSION= 5.4.2 PORTREVISION= 3 CATEGORIES= x11 gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Cinnamon screen saver and locker WWW= https://github.com/linuxmint/cinnamon-screensaver LICENSE= GPLv2+ LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= gsettings-desktop-schemas>=3.2.0:devel/gsettings-desktop-schemas LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice \ libcinnamon-desktop.so:x11/cinnamon-desktop \ libdbus-glib-1.so:devel/dbus-glib \ libxdo.so:x11/xdotool RUN_DEPENDS= ${LOCALBASE}/lib/pam_gnome_keyring.so:security/gnome-keyring \ ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-xapp>0:x11/py-python-xapp@${PY_FLAVOR} \ ${LOCALBASE}/libexec/unix-selfauth-helper:security/unix-selfauth-helper USES= gettext-tools gnome meson pkgconfig python shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_XORG= x11 xext xinerama xrandr xscrnsaver -USE_GNOME= cairo gdkpixbuf2 glib20 intltool introspection:build libgnomekbd pygobject3 +USE_GNOME= cairo gdkpixbuf glib20 intltool introspection:build libgnomekbd pygobject3 SHEBANG_GLOB= *.py BINARY_ALIAS= python3=${PYTHON_CMD} USE_LDCONFIG= yes SUB_FILES+= cinnamon-screensaver.pam post-patch: @${REINPLACE_CMD} -e 's|/usr/lib|${PREFIX}/lib|g' \ ${WRKSRC}/src/pamhelper/authClient.py @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/src/pamhelper/cinnamon-screensaver-pam-helper.c \ ${WRKSRC}/libcscreensaver/test-passwd.c \ ${WRKSRC}/src/cinnamon-screensaver-command.py \ ${WRKSRC}/src/cinnamon-screensaver-main.py \ ${WRKSRC}/src/passwordEntry.py @${REINPLACE_CMD} -e 's|/etc/pam|${PREFIX}/etc/pam|g' \ ${WRKSRC}/libcscreensaver/cs-auth-pam.c post-install: ${INSTALL_DATA} ${WRKDIR}/cinnamon-screensaver.pam \ ${STAGEDIR}${PREFIX}/etc/pam.d/cinnamon-screensaver .include diff --git a/x11/cinnamon-session/Makefile b/x11/cinnamon-session/Makefile index 89e74627c438..b7883cac3edf 100644 --- a/x11/cinnamon-session/Makefile +++ b/x11/cinnamon-session/Makefile @@ -1,37 +1,37 @@ PORTNAME= cinnamon-session PORTVERSION= 5.4.0 PORTREVISION= 5 CATEGORIES= x11 gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Session component for the cinnamon desktop WWW= https://github.com/linuxmint/cinnamon-session LICENSE= GPLv2 LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libxapp.so:x11/xapp \ libcanberra.so:audio/libcanberra RUN_DEPENDS= console-kit-daemon:sysutils/consolekit2 USES= gl gnome meson pkgconfig python:build shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint SHEBANG_FILES= data/meson_install_schemas.py -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= ice sm x11 xau xcomposite xext xrender xtrans xtst USE_GL= gl GLIB_SCHEMAS= org.cinnamon.SessionManager.gschema.xml OPTIONS_DEFINE= IPV6 OPTIONS_DEFAULT= IPV6 IPV6_MESON_TRUE= ipv6 .include diff --git a/x11/cinnamon/Makefile b/x11/cinnamon/Makefile index 9bb3a0158be3..6261c84f1904 100644 --- a/x11/cinnamon/Makefile +++ b/x11/cinnamon/Makefile @@ -1,117 +1,117 @@ PORTNAME= cinnamon PORTVERSION= 5.4.9 PORTREVISION= 8 CATEGORIES= x11 gnome DIST_SUBDIR= gnome PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ MAINTAINER= gnome@FreeBSD.org COMMENT= Fork of GNOME Shell with layout similar to GNOME 2 WWW= https://github.com/linuxmint/cinnamon LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/EGL/eglmesaext.h:graphics/mesa-dri LIB_DEPENDS= libcjs.so:lang/cjs \ libmuffin.so:x11-wm/muffin \ libcinnamon-menu-3.so:x11/cinnamon-menus \ libdbus-1.so:devel/dbus \ libpolkit-agent-1.so:sysutils/polkit \ libatk-bridge-2.0.so:accessibility/at-spi2-core \ libsoup-2.4.so:devel/libsoup \ libxapp.so:x11/xapp RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ gnome-themes-extra>3.0.0:x11-themes/gnome-themes-extra \ caribou>0:accessibility/caribou \ cinnamon-control-center:sysutils/cinnamon-control-center \ cinnamon-screensaver:x11/cinnamon-screensaver \ nemo:x11-fm/nemo \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-xapp>0:x11/py-python-xapp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-pam>0:security/py-python-pam@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tinycss>0:textproc/py-tinycss@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ gkbd-keyboard-display:x11/libgnomekbd \ gucharmap:deskutils/gucharmap \ keybinder-gtk3>0:x11/keybinder-gtk3 \ timezonemap>0:misc/timezonemap \ ${LOCALBASE}/lib/girepository-1.0/GSound-1.0.typelib:audio/gsound \ gnome-backgrounds>0:x11-themes/gnome-backgrounds \ metacity:x11-wm/metacity \ tint2:x11/tint USES= compiler:c11 cpe gettext-runtime gettext-tools:run gl gnome gstreamer \ meson perl5 pkgconfig python shebangfix xorg CPE_VENDOR= linuxmint -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool introspection libxml2 pygobject3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool introspection libxml2 pygobject3 USE_XORG= x11 xfixes USE_GL= gl USE_PERL5= build USE_GITHUB= yes GH_ACCOUNT= linuxmint SHEBANG_GLOB= *.py SHEBANG_FILES= files/* src/data-to-c.pl USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_CMD} MESON_ARGS= -Ddisable_networkmanager=true GLIB_SCHEMAS= org.cinnamon.gschema.xml OPTIONS_DEFINE= DOCS NLS OPTIONS_EXCLUDE= DOCS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= docs NLS_RUN_DEPENDS= cinnamon-translations>0:misc/cinnamon-translations post-patch: @${REINPLACE_CMD} -e '/prefix/s|/usr|${PREFIX}|g ;\ /datadir/s|/usr|${PREFIX}|g ;\ /libdir/s|/usr|${PREFIX}|g ;\ /libexecdir/s|/usr|${PREFIX}|g' \ ${WRKSRC}/files/usr/share/cinnamon/cinnamon-menu-editor/cme/config.py @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "/usr/share/cinnamon/locale" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/share/cinnamon/locale|${PREFIX}/share/locale|g" @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "/usr/share" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "/usr/lib" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/lib|${PREFIX}/lib|g" @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "/usr/bin" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/bin|${PREFIX}/bin|g" @${REINPLACE_CMD} -e '/cs-bluetooth/d; /cs-network/d' \ ${WRKSRC}/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py # Some python files use #! /usr/bin/python (note the space between the bang and the python interpreter @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "#!.*\/usr\/bin\/python" | \ ${XARGS} ${REINPLACE_CMD} -e "s|#!.*python.*|#!/usr/bin/env python|g" # gtk-doc builds erroneous documentation files otherwise @${FIND} ${WRKSRC} -name '*.orig' -type f -delete @${FIND} ${WRKSRC} -name '*.bak' -type f -delete # Adhere to our hier(7) @${MKDIR} ${WRKSRC}/files${PREFIX} @${MV} ${WRKSRC}/files/etc ${WRKSRC}/files${PREFIX} . for i in bin share @${MV} ${WRKSRC}/files/usr/${i} ${WRKSRC}/files${PREFIX} . endfor .include diff --git a/x11/conlecterm/Makefile b/x11/conlecterm/Makefile index 14229834647b..bedc316fb1d6 100644 --- a/x11/conlecterm/Makefile +++ b/x11/conlecterm/Makefile @@ -1,143 +1,143 @@ PORTNAME= conlecterm PORTVERSION= 2.2.1.0 DISTVERSIONPREFIX= v CATEGORIES= x11 MAINTAINER= bsd.hsw@gmail.com COMMENT= Multi tabbed terminal for rxvt/xterm/emacs WWW= https://github.com/hxw/conlecterm LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libharfbuzz.so:print/harfbuzz RUN_DEPENDS= urxvt:x11/rxvt-unicode USES= cabal xorg gnome pkgconfig desktop-file-utils -USE_GNOME= gtk30 cairo glib20 gdkpixbuf2 +USE_GNOME= gtk30 cairo glib20 gdkpixbuf USE_XORG= xext x11 xscrnsaver xinerama xrandr OPTIONS_DEFINE= EXAMPLES OPTIONS_SUB= yes INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= hxw USE_CABAL= OneTuple-0.4.2_1 \ QuickCheck-2.15.0.1 \ StateVar-1.2.2 \ X11-1.10.3 \ aeson-2.2.3.0_3 \ ansi-terminal-1.1.2 \ ansi-terminal-types-1.1 \ assoc-1.1.1_1 \ async-2.2.5_3 \ attoparsec-0.14.4_6 \ base-orphans-0.9.3 \ bifunctors-5.6.2_1 \ bitvec-1.1.5.0_3 \ blaze-builder-0.4.2.3 \ blaze-html-0.9.2.0_1 \ blaze-markup-0.8.3.0_2 \ cabal-doctest-1.0.11 \ character-ps-0.1 \ colour-2.3.6 \ comonad-5.0.9 \ conduit-1.3.6 \ conduit-extra-1.3.7 \ contravariant-1.5.5 \ data-default-0.8.0.0 \ data-default-class-0.1.2.2 \ data-fix-0.3.4_1 \ distributive-0.6.2.1_1 \ dlist-1.0_2 \ generically-0.1.1_4 \ gi-atk-2.0.28 \ gi-cairo-1.0.30 \ gi-freetype2-2.0.5 \ gi-gdk-3.0.30_1 \ gi-gdk3-3.0.30 \ gi-gdkpixbuf-2.0.32 \ gi-gio-2.0.35 \ gi-glib-2.0.30 \ gi-gmodule-2.0.6 \ gi-gobject-2.0.31 \ gi-gtk-3.0.43 \ gi-harfbuzz-0.0.10 \ gi-pango-1.0.30 \ happy-2.1.4 \ happy-lib-2.1.4 \ hashable-1.5.0.0_1 \ hashtables-1.4.2 \ haskell-gi-0.26.14 \ haskell-gi-base-0.26.8 \ haskell-gi-overloading-1.0 \ haskell-lexer-1.1.2 \ hsc2hs-0.68.10_3 \ indexed-traversable-0.1.4_1 \ indexed-traversable-instances-0.1.2_1 \ integer-conversion-0.1.1_1 \ integer-logarithms-1.0.4 \ mono-traversable-1.0.21.0 \ network-3.2.7.0 \ network-uri-2.6.4.2_1 \ optparse-applicative-0.18.1.0_1 \ os-string-2.0.7 \ pretty-show-1.10 \ prettyprinter-1.7.1 \ prettyprinter-ansi-terminal-1.1.3 \ primitive-0.9.0.0_2 \ random-1.2.1.3 \ regex-base-0.94.0.2_4 \ regex-tdfa-1.3.2.2_3 \ resourcet-1.3.0 \ safe-0.3.21_1 \ scientific-0.3.8.0_2 \ semialign-1.3.1_2 \ semigroupoids-6.0.1_1 \ split-0.2.5 \ splitmix-0.1.1 \ streaming-commons-0.2.3.0 \ strict-0.5.1_1 \ tagged-0.8.9 \ tasty-1.5.3 \ text-iso8601-0.1.1_2 \ text-short-0.1.6_3 \ th-abstraction-0.7.1.0 \ th-compat-0.1.6 \ these-1.2.1_2 \ time-compat-1.9.8 \ transformers-compat-0.7.2 \ typed-process-0.2.12.0 \ unliftio-core-0.2.1.0_4 \ unordered-containers-0.2.20_4 \ uuid-types-1.0.6_2 \ vector-0.13.2.0_1 \ vector-algorithms-0.9.1.0 \ vector-stream-0.1.0.1_3 \ witherable-0.5_1 \ xdg-basedir-0.2.2 \ xml-conduit-1.10.0.0 \ xml-types-0.3.8 \ zlib-0.7.1.0_2 PLIST_FILES+= share/applications/conlecterm.desktop PLIST_FILES+= share/icons/hicolor/scalable/apps/conlecterm.svg PORTEXAMPLES= conlecterm.conf \ conlecterm.css \ tabs.css post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/conlecterm.conf ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/conlecterm.css ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tabs.css ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/conlecterm.desktop ${STAGEDIR}${PREFIX}/share/applications/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/conlecterm.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ .include diff --git a/x11/deforaos-integration/Makefile b/x11/deforaos-integration/Makefile index 2d4f9501e19a..dd0333ed4668 100644 --- a/x11/deforaos-integration/Makefile +++ b/x11/deforaos-integration/Makefile @@ -1,49 +1,49 @@ PORTNAME= integration PORTVERSION= 0.1.3 PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Integration/ PKGNAMEPREFIX= deforaos- DISTNAME= Integration-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop integration WWW= https://www.defora.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/Desktop/Locker.h:x11/deforaos-locker \ ${LOCALBASE}/include/Desktop/Keyboard.h:x11/deforaos-keyboard \ ${LOCALBASE}/include/Desktop/Player.h:multimedia/deforaos-player \ ${LOCALBASE}/include/Desktop/Phone.h:comms/deforaos-phone LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libDesktop.so:x11/deforaos-libdesktop \ libMailer.so.0:mail/deforaos-mailer \ libNotes.so.0:deskutils/deforaos-notes \ libpurple.so:net-im/libpurple \ libsofia-sip-ua.so:net/sofia-sip \ libpulse.so:audio/pulseaudio \ libPanel.so.0:x11-wm/deforaos-panel \ libTodo.so.0:deskutils/deforaos-todo \ libharfbuzz.so:print/harfbuzz \ libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus RUN_DEPENDS= ${LOCALBASE}/bin/surfer:www/deforaos-surfer \ ${LOCALBASE}/bin/metacity:x11-wm/metacity \ gnome-icon-theme>=0:misc/gnome-icon-theme USES= desktop-file-utils gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_LDCONFIG= yes USE_XORG= x11 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/Phone/modem/*.so \ ${STAGEDIR}${PREFIX}/lib/Phone/plugins/*.so \ ${STAGEDIR}${PREFIX}/lib/Locker/plugins/*.so \ ${STAGEDIR}${PREFIX}/lib/Mailer/plugins/*.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/*.so .include diff --git a/x11/deforaos-keyboard/Makefile b/x11/deforaos-keyboard/Makefile index a6f5fb2fa224..e4af53526d7b 100644 --- a/x11/deforaos-keyboard/Makefile +++ b/x11/deforaos-keyboard/Makefile @@ -1,47 +1,47 @@ PORTNAME= keyboard PORTVERSION= 0.4.0 CATEGORIES= x11 MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Keyboard/ PKGNAMEPREFIX= deforaos- DISTNAME= Keyboard-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop virtual keyboard WWW= https://www.defora.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ libSystem.so:devel/deforaos-libsystem \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= desktop-file-utils gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 xtst MAKE_ARGS+= PREFIX=${PREFIX} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl NLS_USES= gettext post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc include|data include|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/keyboardctl \ ${STAGEDIR}${PREFIX}/bin/keyboard \ ${STAGEDIR}${PREFIX}/lib/Desktop/widget/keyboard.so .include diff --git a/x11/deforaos-libdesktop/Makefile b/x11/deforaos-libdesktop/Makefile index b00f4a061a3f..2672a44cf124 100644 --- a/x11/deforaos-libdesktop/Makefile +++ b/x11/deforaos-libdesktop/Makefile @@ -1,47 +1,47 @@ PORTNAME= libdesktop PORTVERSION= 0.4.2 CATEGORIES= x11 MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/libDesktop/ PKGNAMEPREFIX= deforaos- DISTNAME= libDesktop-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop library WWW= https://www.defora.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libSystem.so:devel/deforaos-libsystem \ libX11.so:x11/libX11 USES= gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_LDCONFIG= yes MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ gtkdoc-check:textproc/gtk-doc \ xsltproc:textproc/libxslt post-patch: ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ ${WRKSRC}/data/pkgconfig.sh ${REINPLACE_CMD} -e '/^SUBDIRS/ s|tests||' ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's|./docbook.sh -P "$$(DESTDIR)$$(PREFIX)" -i -- "$$(OBJDIR)widget.html"| \ #./docbook.sh -P "$$(DESTDIR)$$(PREFIX)" -i -- "$$(OBJDIR)widget.html"|' \ ${WRKSRC}/doc/Makefile post-patch-DOCS-off: ${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/widget \ ${STAGEDIR}${PREFIX}/lib/libDesktop.so.0.0 .include diff --git a/x11/deforaos-locker/Makefile b/x11/deforaos-locker/Makefile index 7cb81cdd6eff..96453bac324d 100644 --- a/x11/deforaos-locker/Makefile +++ b/x11/deforaos-locker/Makefile @@ -1,51 +1,51 @@ PORTNAME= locker PORTVERSION= 0.4.2 PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Locker/ PKGNAMEPREFIX= deforaos- DISTNAME= Locker-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop screensaver WWW= https://www.defora.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/Panel.pc:x11-wm/deforaos-panel LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ libSystem.so:devel/deforaos-libsystem \ libharfbuzz.so:print/harfbuzz \ libXss.so:x11/libXScrnSaver USES= gnome pkgconfig xorg desktop-file-utils -USE_GNOME= gtk30 cairo gdkpixbuf2 +USE_GNOME= gtk30 cairo gdkpixbuf USE_XORG= x11 xext MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ARGS+= LDFLAGS=${LDFLAGS:Q} MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man LDFLAGS+= -lXext OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ gtkdoc-mkhtml:textproc/gtk-doc post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc include|data include|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \ ${STAGEDIR}${PREFIX}/lib/Locker/auth/* \ ${STAGEDIR}${PREFIX}/lib/Locker/plugins/* \ ${STAGEDIR}${PREFIX}/lib/Locker/demos/* .include diff --git a/x11/elementary-terminal/Makefile b/x11/elementary-terminal/Makefile index 7f3a6f519576..e9be3973d963 100644 --- a/x11/elementary-terminal/Makefile +++ b/x11/elementary-terminal/Makefile @@ -1,24 +1,24 @@ PORTNAME= terminal DISTVERSION= 6.2.0 CATEGORIES= x11 PKGNAMEPREFIX= elementary- MAINTAINER= nc@FreeBSD.org COMMENT= Terminal emulator designed for elementary OS WWW= https://github.com/elementary/terminal LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libgranite.so:x11-toolkits/granite \ libhandy-1.so:x11-toolkits/libhandy \ libpcre2-posix.so:devel/pcre2 USES= desktop-file-utils gettext gnome meson pkgconfig vala:build USE_GITHUB= yes GH_ACCOUNT= elementary -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 vte3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 vte3 GLIB_SCHEMAS= io.elementary.terminal.gschema.xml .include diff --git a/x11/eww/Makefile b/x11/eww/Makefile index c266496e93ea..7e3226281314 100644 --- a/x11/eww/Makefile +++ b/x11/eww/Makefile @@ -1,35 +1,35 @@ PORTNAME= eww DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 PORTREVISION= 3 CATEGORIES= x11 wayland PKGNAMESUFFIX= -${FLAVOR} MAINTAINER= ports@FreeBSD.org COMMENT= ElKowars wacky widgets WWW= https://elkowar.github.io/eww LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= mismatched types: expected \`i32\`, found \`i64\` LIB_DEPENDS= libdbusmenu-glib.so:devel/libdbusmenu FLAVORS= x11 wayland wayland_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell wayland_CONFLICTS_INSTALL= ${PORTNAME}-x11 x11_CONFLICTS_INSTALL= ${PORTNAME}-wayland USES= cargo gnome USE_GITHUB= yes GH_ACCOUNT= elkowar -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 CARGO_FEATURES= ${FLAVOR} --no-default-features CARGO_INSTALL_PATH= crates/${PORTNAME} CARGO_ENV= RUSTC_BOOTSTRAP=1 PLIST_FILES= bin/${PORTNAME} .include diff --git a/x11/fbpanel/Makefile b/x11/fbpanel/Makefile index b29bfc589f51..81c1a19011d5 100644 --- a/x11/fbpanel/Makefile +++ b/x11/fbpanel/Makefile @@ -1,42 +1,42 @@ PORTNAME= fbpanel PORTVERSION= 6.1 PORTREVISION= 8 CATEGORIES= x11 MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight, NETWM compliant X11 desktop panel WWW= https://fbpanel.sourceforge.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= alias gmake gnome pkgconfig tar:tbz2 xorg -USE_GNOME= gdkpixbuf2 gdkpixbuf2xlib gtk20 +USE_GNOME= gdkpixbuf gdkpixbufxlib gtk20 USE_XORG= x11 HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} PORTDOCS= CHANGELOG CREDITS NOTES README OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="${PORTNAME}" "${PORTNAME} NETWM compliant X11 desktop panel" \ "${PORTNAME}" "${PORTNAME}" "System;" false post-patch: @${REINPLACE_CMD} -e '/LDFLAGS/s/$$/ -lX11 -lm/' \ ${WRKSRC}/panel/Makefile.in @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/scripts/install.sh @${REINPLACE_CMD} -e 's|@DATADIR@|${DATADIR}|' \ ${WRKSRC}/data/man/${PORTNAME}.1.in post-install: ${INSTALL_MAN} ${WRKSRC}/data/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${LN} -sf ${DATADIR}/images/logo.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/gbsddialog/Makefile b/x11/gbsddialog/Makefile index d73ae27dd934..a9c1cd32edef 100644 --- a/x11/gbsddialog/Makefile +++ b/x11/gbsddialog/Makefile @@ -1,26 +1,26 @@ PORTNAME= gbsddialog DISTVERSION= 0.9.1 CATEGORIES= x11 MASTER_SITES= ${WWW}/releases/download/${PORTNAME}_${DISTVERSION:S/./-/g}/ MAINTAINER= khorben@defora.org COMMENT= Drop in replacement for the "dialog" or "cdialog" programs WWW= https://github.com/khorben/gbsddialog LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= desktop-file-utils gettext-runtime gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk30 pango CONFLICTS_INSTALL= xdialog-* OPTIONS_DEFINE= DOCS post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/Xdialog \ ${STAGEDIR}${PREFIX}/bin/gbsddialog .include diff --git a/x11/gmrun/Makefile b/x11/gmrun/Makefile index 3227ea1c4f14..d4618113fac6 100644 --- a/x11/gmrun/Makefile +++ b/x11/gmrun/Makefile @@ -1,35 +1,35 @@ PORTNAME= gmrun DISTVERSION= 1.4w PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= garga@FreeBSD.org COMMENT= Run utiliy with a slim design and bash style auto-completion WWW= https://github.com/wdlkmpx/gmrun LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= desktop-file-utils gmake gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= wdlkmpx -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 HAS_CONFIGURE= yes INSTALL_TARGET= install-strip PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/gmrunrc \ ${STAGEDIR}${PREFIX}/etc/gmrunrc.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/gnome-desktop/Makefile b/x11/gnome-desktop/Makefile index f98e219f28c6..0c83c9c95688 100644 --- a/x11/gnome-desktop/Makefile +++ b/x11/gnome-desktop/Makefile @@ -1,37 +1,37 @@ PORTNAME= gnome-desktop PORTVERSION= 44.1 CATEGORIES= x11 gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Additional UI API for GNOME WWW= https://www.gnome.org/ LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.LIB PORTSCOUT= limitw:1,even BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ xkeyboard-config>=0:x11/xkeyboard-config \ itstool:textproc/itstool RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ cantarell-fonts>=0:x11-fonts/cantarell-fonts \ xkeyboard-config>=0:x11/xkeyboard-config USES= bison cpe gettext gnome localbase:ldflags meson \ pkgconfig python tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 gtk40 intltool introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 gtk40 intltool introspection:build USE_XORG= x11 USE_LDCONFIG= yes MESON_ARGS= -Dudev=disabled \ -Dsystemd=disabled \ -Dgtk_doc=false CPE_VENDOR= gnome .include diff --git a/x11/gnome-shell/Makefile b/x11/gnome-shell/Makefile index 1fa628665bdf..f1cd77cb715a 100644 --- a/x11/gnome-shell/Makefile +++ b/x11/gnome-shell/Makefile @@ -1,79 +1,79 @@ PORTNAME= gnome-shell PORTVERSION= 42.4 PORTREVISION= 14 CATEGORIES= x11 gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Next generation GNOME desktop shell WWW= https://live.gnome.org/GnomeShell LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/bash-completion/bash_completion.sh:shells/bash-completion \ a2x:textproc/asciidoc \ docbook-xsl>=0:textproc/docbook-xsl \ gnome-control-center:sysutils/gnome-control-center \ sassc:textproc/sassc LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libcroco-0.6.so:textproc/libcroco \ libdrm.so:graphics/libdrm \ libgcr-base-3.so:security/gcr3 \ libgjs.so:lang/gjs \ libgnome-autoar-0.so:archivers/gnome-autoar \ libgraphene-1.0.so:graphics/graphene \ libical.so:devel/libical \ libicuuc.so:devel/icu \ libjson-glib-1.0.so:devel/json-glib \ libmutter-10.so:x11-wm/mutter \ libp11-kit.so:security/p11-kit \ libpolkit-agent-1.so:sysutils/polkit \ libpulse.so:audio/pulseaudio \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 \ libstartup-notification-1.so:x11/startup-notification RUN_DEPENDS= gdm:x11/gdm \ gkbd-keyboard-display:x11/libgnomekbd \ gnome-control-center:sysutils/gnome-control-center PORTSCOUT= limitw:1,even USES= compiler:c11 cpe gettext gl gnome gstreamer libtool localbase \ meson pathfix perl5 pkgconfig python shebangfix tar:xz \ webplugin:native xorg -USE_GNOME= cairo evolutiondataserver3 gdkpixbuf2 gnomedesktop3 gtk40 \ +USE_GNOME= cairo evolutiondataserver3 gdkpixbuf gnomedesktop3 gtk40 \ introspection libxml2 libxslt:build USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xtst USE_GL= egl gbm USE_PERL5= build USE_LDCONFIG= yes SHEBANG_FILES= src/gnome-shell-extension-tool.in src/gnome-shell-perf-tool.in BINARY_ALIAS= python3=${PYTHON_CMD} # These libs are found via rpath mechanism NO_SHLIB_REQUIRES_GLOB= libmutter-clutter-* libmutter-cogl-* WEBPLUGIN_NAME= libgnome-shell-browser-plugin.so WEBPLUGIN_DIR= ${PREFIX}/lib/mozilla/plugins/ WEBPLUGIN_FILES= libgnome-shell-browser-plugin.so MESON_ARGS= -Dnetworkmanager=false \ -Dsoup2=false \ -Dsystemd=false \ -Dtests=false CPE_VENDOR= gnome GLIB_SCHEMAS= 00_org.gnome.shell.gschema.override \ org.gnome.shell.gschema.xml post-extract: ${CP} ${FILESDIR}/*.xml ${WRKSRC}/data/dbus-interfaces post-patch: ${REINPLACE_CMD} -e "s,python3,${PYTHON_VERSION},g" \ ${WRKSRC}/meson.build .include diff --git a/x11/gnome-terminal/Makefile b/x11/gnome-terminal/Makefile index 9ab6a8a84681..088795854160 100644 --- a/x11/gnome-terminal/Makefile +++ b/x11/gnome-terminal/Makefile @@ -1,48 +1,48 @@ PORTNAME= gnome-terminal DISTVERSION= 3.54.4 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Terminal component for the GNOME Desktop WWW= https://www.gnome.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool \ xsltproc:textproc/libxslt LIB_DEPENDS= libpcre2-8.so:devel/pcre2 \ libuuid.so:misc/e2fsprogs-libuuid \ libhandy-1.so:x11-toolkits/libhandy RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas PORTSCOUT= limitw:1,even USES= cpe gettext gnome localbase meson pathfix pkgconfig python \ tar:xz vala:build xorg -USE_GNOME= cairo dconf gdkpixbuf2 gtk30 intltool vte3 +USE_GNOME= cairo dconf gdkpixbuf gtk30 intltool vte3 USE_XORG= x11 CPE_VENDOR= gnome GLIB_SCHEMAS= org.gnome.Terminal.gschema.xml BINARY_ALIAS= python3=${PYTHON_CMD} OPTIONS_DEFINE= NAUTILUS OPTIONS_DEFAULT= NAUTILUS OPTIONS_SUB= yes MESON_ARGS= -Dsearch_provider=true NAUTILUS_MESON_TRUE= nautilus_extension NAUTILUS_USE= GNOME=nautilus3 NAUTILUS_DESC= Open in terminal extension for nautilus post-install: ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd .include diff --git a/x11/gromit-mpx/Makefile b/x11/gromit-mpx/Makefile index 539d5be7219b..22cb7b6bf6ea 100644 --- a/x11/gromit-mpx/Makefile +++ b/x11/gromit-mpx/Makefile @@ -1,28 +1,28 @@ PORTNAME= gromit-mpx DISTVERSION= 1.7.0 CATEGORIES= x11 wayland MAINTAINER= ports@FreeBSD.org COMMENT= Desktop annotation tool, multi-pointer port of Gromit WWW= https://github.com/bk138/gromit-mpx LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libappindicator3.so:devel/libappindicator USES= cmake gettext gnome pkgconfig xorg USE_CSTD= gnu99 USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 xi GH_ACCOUNT= bk138 LDFLAGS+= -Wl,--as-needed # atk, dbusmenu, pango post-patch: # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e '/data.*cfg/s/)/ RENAME ${PORTNAME}.cfg.sample)/' \ ${WRKSRC}/CMakeLists.txt .include diff --git a/x11/gromit/Makefile b/x11/gromit/Makefile index 98d08a80a227..e87f834a7cb1 100644 --- a/x11/gromit/Makefile +++ b/x11/gromit/Makefile @@ -1,37 +1,37 @@ PORTNAME= gromit PORTVERSION= 20041213 PORTREVISION= 10 CATEGORIES= x11 MASTER_SITES= http://www.home.unix-ag.org/simon/gromit/ MAINTAINER= danfe@FreeBSD.org COMMENT= GRaphics Over Miscellaneous Objects (Gromit) WWW= https://www.home.unix-ag.org/simon/gromit/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 DOCS= AUTHORS ChangeLog README OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gromit ${STAGEDIR}${PREFIX}/bin do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/gromitrc ${STAGEDIR}${EXAMPLESDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/gtk-app-menu/Makefile b/x11/gtk-app-menu/Makefile index 43ccb78b8c29..9782d270bd15 100644 --- a/x11/gtk-app-menu/Makefile +++ b/x11/gtk-app-menu/Makefile @@ -1,37 +1,37 @@ PORTNAME= appmenu-gtk-module DISTVERSION= 0.7.6 PORTREVISION= 4 CATEGORIES= x11 PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= 442bcebcc00e.patch:-p1 # meson >= 0.60 MAINTAINER= trueos@norwegianrockcat.com COMMENT= GTK module for putting application menubar in a global menubar WWW= https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/tree/master/subprojects/appmenu-gtk-module LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/subprojects/appmenu-gtk-module/LICENSE LIB_DEPENDS= libbamf3.so:sysutils/bamf USES= meson gnome pkgconfig vala:build MESON_ARGS= -Dappmenu-gtk-module=enabled \ -Dbudgie=disabled \ -Djayatana=disabled \ -Dmate=disabled \ -Dregistrar=disabled \ -Dxfce=disabled \ -Dvalapanel=disabled USE_GITLAB= yes GL_ACCOUNT= vala-panel-project GL_PROJECT= vala-panel-appmenu GL_TAGNAME= 4e362c22ab3a23c98f13fb379c782786ee057cf6 -USE_GNOME= gtk30 glib20 gtk20 gdkpixbuf2 +USE_GNOME= gtk30 glib20 gtk20 gdkpixbuf GLIB_SCHEMAS= org.appmenu.gtk-module.gschema.xml USE_LDCONFIG= yes .include diff --git a/x11/gxkb/Makefile b/x11/gxkb/Makefile index ebbf6b34fe16..8deae4f2ce9b 100644 --- a/x11/gxkb/Makefile +++ b/x11/gxkb/Makefile @@ -1,46 +1,46 @@ PORTNAME= gxkb PORTVERSION= 0.9.5 CATEGORIES= x11 MASTER_SITES= SF/${PORTNAME} # RU and BY flags were removed as of version 0.9.4 so we need two distfiles DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-0.9.3${EXTRACT_SUFX} MAINTAINER= danfe@FreeBSD.org COMMENT= X11 keyboard layout indicator and switcher WWW= https://zen-tools.github.io/gxkb/ LICENSE= GPLv2 LIB_DEPENDS= libxklavier.so:x11/libxklavier USES= gnome pkgconfig GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share -USE_GNOME= gdkpixbuf2 glib20 +USE_GNOME= gdkpixbuf glib20 PORTDOCS= AUTHORS NEWS OPTIONS_DEFINE= DOCS GTK2 GTK2_DESC= Build against GTK version 2, not 3 GTK2_EXTRA_PATCHES= ${FILESDIR}/extra-patch-gtk2 GTK2_LIB_DEPENDS= libwnck-1.so:x11-toolkits/libwnck GTK2_LIB_DEPENDS_OFF= libwnck-3.so:x11-toolkits/libwnck3 GTK2_USES= autoreconf GTK2_USE= GNOME=gtk20 GTK2_USE_OFF= GNOME=gtk30 post-patch-DOCS-on: @${REINPLACE_CMD} -e '/^doc_DATA/s, C[^ ]*,,g' \ ${WRKSRC}/doc/Makefile.[ai][mn] post-patch-DOCS-off: @${REINPLACE_CMD} -e '/^SUBDIRS/s, doc,,' ${WRKSRC}/Makefile.in post-install: .for c in by ru ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-0.9.3/data/flags/${c}.png \ ${STAGEDIR}${DATADIR}/flags .endfor .include diff --git a/x11/hybrid-bar/Makefile b/x11/hybrid-bar/Makefile index b95c094498aa..b550f6109bff 100644 --- a/x11/hybrid-bar/Makefile +++ b/x11/hybrid-bar/Makefile @@ -1,27 +1,27 @@ PORTNAME= hybrid-bar DISTVERSION= 0.4.9 PORTREVISION= 18 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Status bar focused on wlroots Wayland compositors WWW= https://github.com/vars1ty/HybridBar LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= cargo gnome USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GH_ACCOUNT= vars1ty GH_PROJECT= HybridBar PLIST_FILES= bin/${PORTNAME} post-patch: # Generic nodes are not supported by procfs(5) @${REINPLACE_CMD} -e 's,/proc,${LINUXBASE}&,g' \ ${WRKSRC_crate_lxinfo}/src/info.rs .include diff --git a/x11/jgmenu/Makefile b/x11/jgmenu/Makefile index 75c46c2e8b3d..99e4dc7b4c9d 100644 --- a/x11/jgmenu/Makefile +++ b/x11/jgmenu/Makefile @@ -1,63 +1,63 @@ PORTNAME= jgmenu DISTVERSIONPREFIX= v DISTVERSION= 4.4.1 CATEGORIES= x11 MAINTAINER= lcook@FreeBSD.org COMMENT= Simple X11 menu WWW= https://jgmenu.github.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png USES= compiler:c11 gmake gnome pkgconfig python shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= johanmalm -USE_GNOME= cairo gdkpixbuf2 glib20 librsvg2 libxml2 pango +USE_GNOME= cairo gdkpixbuf glib20 librsvg2 libxml2 pango USE_XORG= x11 xrandr SHEBANG_FILES= contrib/gtktheme/*.py contrib/pmenu/*.py src/*.py HAS_CONFIGURE= yes CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec \ --prefix=${PREFIX} PORTDOCS= ${_DOCS:T} OPTIONS_DEFINE= DOCS LX PMENU OPTIONS_DEFAULT= LX PMENU OPTIONS_SUB= yes LX_DESC= Generate menu data for freedesktop defined application menus PMENU_DESC= Generate menu data based on desktop and directory files LX_LIB_DEPENDS+= libmenu-cache.so:x11/menu-cache LX_CONFIGURE_ON= --with-lx PMENU_CONFIGURE_ON= --with-pmenu _LIBEXEC= greeneye apps socket i18n obtheme config ob _DOCS= AUTHORS.md CONTRIBUTING.md INSTALL.md NEWS.md README.md TODO.md \ docs/coding_style docs/default.csv docs/notes_on_icons \ docs/relnotes/${DISTVERSION}.txt .include .if ${PORT_OPTIONS:MLX} _LIBEXEC+= lx .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .for f in ${_LIBEXEC} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/${PORTNAME}-${f} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${_DOCS} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/keybinder-gtk3/Makefile b/x11/keybinder-gtk3/Makefile index 07a783d90d49..1864fd815517 100644 --- a/x11/keybinder-gtk3/Makefile +++ b/x11/keybinder-gtk3/Makefile @@ -1,41 +1,41 @@ PORTNAME= keybinder PORTVERSION= 0.3.2 DISTVERSIONPREFIX= 3.0- PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= https://github.com/kupferlauncher/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSIONPREFIX}v${DISTVERSION}/ PKGNAMESUFFIX= -gtk3 MAINTAINER= ports@FreeBSD.org COMMENT= Library for registering keyboard shortcuts WWW= https://github.com/engla/keybinder LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf gettext-runtime gmake gnome libtool pathfix \ pkgconfig xorg -USE_GNOME= gtk30 introspection:build cairo gdkpixbuf2 +USE_GNOME= gtk30 introspection:build cairo gdkpixbuf USE_LDCONFIG= yes USE_XORG= x11 xext xrender GNU_CONFIGURE= yes INSTALL_TARGET= install-strip VERSION= "3.0" PLIST_SUB= VERSION=${VERSION} OPTIONS_DEFINE= EXAMPLES DOCS DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc post-patch-DOCS-off: @${REINPLACE_CMD} -E '/GTK_DOC_CHECK|docs/d' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e '/^SUBDIRS/s, docs,,' ${WRKSRC}/Makefile.am post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}-${VERSION} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}-${VERSION} .include diff --git a/x11/libexo/Makefile b/x11/libexo/Makefile index b26107b063a7..195ac461449b 100644 --- a/x11/libexo/Makefile +++ b/x11/libexo/Makefile @@ -1,42 +1,42 @@ PORTNAME= libexo PORTVERSION= 4.20.0 CATEGORIES= x11 xfce MASTER_SITES= XFCE DISTNAME= exo-${DISTVERSIONFULL} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Application library for the Xfce desktop environment WWW= https://gitlab.xfce.org/xfce/exo LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pathfix perl5 \ pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_LDCONFIG= yes USE_PERL5= build USE_XFCE= libmenu USE_XORG= ice sm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-silent-rules \ --without-html-dir INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even WRKSRC= ${WRKDIR}/${DISTNAME} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11/libfm/Makefile b/x11/libfm/Makefile index 24a5140b6d03..1b42c0da1367 100644 --- a/x11/libfm/Makefile +++ b/x11/libfm/Makefile @@ -1,105 +1,105 @@ PORTNAME= libfm DISTVERSION= 1.3.2 PORTREVISION= 4 CATEGORIES= x11 MASTER_SITES= SF/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/ MAINTAINER= portmaster@BSDforge.com COMMENT= Core library of PCManFM file manager WWW= https://wiki.lxde.org/en/Libfm LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING .if ! defined(EXTRA_ONLY) USES+= vala:build BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser LIB_DEPENDS= libmenu-cache.so:x11/menu-cache \ libexif.so:graphics/libexif \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libfm-extra.so:x11/libfm-extra FLAVORS= gtk2 gtk3 FLAVOR?= ${FLAVORS:[1]} gtk3_PKGNAMESUFFIX= -gtk3 gtk2_CONFLICTS_INSTALL= libfm-gtk3 gtk3_CONFLICTS_INSTALL= libfm .endif SLAVEDIRS= ${CATEGORIES}/${PORTNAME}-extra USES+= gettext-tools gmake gnome libtool localbase \ pkgconfig tar:xz USE_GNOME= intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --disable-static .if ! defined(EXTRA_ONLY) . if ${FLAVOR:Mgtk2} USES+= desktop-file-utils shared-mime-info -USE_GNOME+= gtk20 cairo gdkpixbuf2 +USE_GNOME+= gtk20 cairo gdkpixbuf CONFIGURE_ARGS+= --with-gtk=2 PLIST_SUB= GTKVERSION=gtk . elif ${FLAVOR:Mgtk3} USES+= desktop-file-utils shared-mime-info -USE_GNOME+= gtk30 cairo gdkpixbuf2 +USE_GNOME+= gtk30 cairo gdkpixbuf CONFIGURE_ARGS+= --with-gtk=3 PLIST_SUB= GTKVERSION=gtk3 . endif .else USE_GNOME+= glib20 CONFIGURE_ARGS+= --with-extra-only .endif INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime:build NLS_CONFIGURE_ENABLE= nls post-extract: .if ! defined(EXTRA_ONLY) @${MV} ${WRKSRC}/data/libfm.conf \ ${WRKSRC}/data/libfm.conf.sample .endif post-patch: ${REINPLACE_CMD} -e 's|^[[:blank:]]\{5,\}USE_NLS=yes|#&|' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e '/^pkgincludedir/s|-@FMLIBVER@||; \ /@LN_S@ @PACKAGE@-@FMLIBVER@/d' ${WRKSRC}/src/Makefile.in .if ! defined(EXTRA_ONLY) ${REINPLACE_CMD} -e 's|DATA = libfm-extra.pc|DATA =|' \ ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e '/^LIBFM_EXTRA_INCLUDES/,+4 s|^|@EXTRALIB_ONLY_TRUE@|; \ /FALSE@lib_LTLIBRARIES/s| libfm-extra.la||; \ s|libfm-extra.la \\|-lfm-extra \\|' \ ${WRKSRC}/src/Makefile.in ${REINPLACE_CMD} -e 's|-@FMLIBVER@||' ${WRKSRC}/src/actions/Makefile.in ${REINPLACE_CMD} -e '/^vfs_menu_la_DEPENDENCIES/{s| \\||;n;d;}; \ /^vfs_menu_la_LIBADD/s|$$(top.*|-lfm-extra|' \ ${WRKSRC}/src/modules/Makefile.in ${REINPLACE_CMD} -e 's|libfm.conf|libfm.conf.sample|' \ ${WRKSRC}/data/Makefile.in post-install: ${INSTALL_DATA} ${WRKSRC}/src/actions/fm-actions.h \ ${STAGEDIR}${PREFIX}/include/${PORTNAME} .endif .include diff --git a/x11/libxfce4menu/Makefile b/x11/libxfce4menu/Makefile index 1342cbc68214..b068e1cb2079 100644 --- a/x11/libxfce4menu/Makefile +++ b/x11/libxfce4menu/Makefile @@ -1,65 +1,65 @@ PORTNAME= libxfce4menu PORTVERSION= 4.20.0 CATEGORIES= x11 xfce MASTER_SITES= XFCE DISTNAME= libxfce4ui-${DISTVERSIONFULL} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Widgets library for the Xfce desktop environment WWW= https://gitlab.xfce.org/xfce/libxfce4ui LICENSE= GPLv2 LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libgtop-2.0.so:devel/libgtop \ libgudev-1.0.so:devel/libgudev \ libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pathfix \ pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_LDCONFIG= yes USE_XFCE= libutil xfconf USE_XORG= ice sm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-epoxy \ --enable-glibtop \ --enable-libsm \ --enable-x11 \ --with-vendor-info=${OPSYS} \ --without-html-dir INSTALL_TARGET= install-strip OPTIONS_DEFINE= GIR GLADE NLS STARTUP VAPI WAYLAND OPTIONS_DEFAULT= GIR STARTUP VAPI WAYLAND OPTIONS_SUB= yes GIR_DESC= Use Gobject Introspection STARTUP_DESC= Startup notification GIR_USE= GNOME=introspection:build GIR_CONFIGURE_ON= --enable-introspection=yes GIR_CONFIGURE_OFF= --enable-introspection=no GLADE_LIB_DEPENDS= libgladeui-2.so:devel/glade GLADE_USE= GNOME=libxml2 GLADE_CONFIGURE_ENABLE= gladeui2 NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls STARTUP_LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification STARTUP_CONFIGURE_ENABLE= startup-notification VAPI_IMPLIES= GIR VAPI_USES= vala:build VAPI_CONFIGURE_ENABLE= vala WAYLAND_CONFIGURE_ENABLE= wayland post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|' ${WRKSRC}/xfce4-about/main.c .include diff --git a/x11/libxfce4windowing/Makefile b/x11/libxfce4windowing/Makefile index 70c0e79d953c..9225709e4437 100644 --- a/x11/libxfce4windowing/Makefile +++ b/x11/libxfce4windowing/Makefile @@ -1,41 +1,41 @@ PORTNAME= libxfce4windowing DISTVERSION= 4.20.2 CATEGORIES= x11 xfce MASTER_SITES= XFCE DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Windowing concept abstraction library for X11 and Wayland WWW= https://gitlab.xfce.org/xfce/libxfce4windowing LICENSE= GPLv2 LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info USES= gettext-tools gmake gnome libtool pkgconfig tar:bz2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libwnck3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3 USE_LDCONFIG= yes USE_XFCE= xdt USE_XORG= x11 xrandr GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS GIR NLS WAYLAND OPTIONS_DEFAULT= GIR WAYLAND OPTIONS_SUB= yes DOCS_CONFIGURE_ENABLE= gtk-doc-html GIR_DESC= GObject Introspection support GIR_USE= GNOME=introspection:build GIR_MESON_TRUE= introspection NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE=wayland .include diff --git a/x11/lightdm-gtk-greeter/Makefile b/x11/lightdm-gtk-greeter/Makefile index eaf16ea004af..0c7f17190b3c 100644 --- a/x11/lightdm-gtk-greeter/Makefile +++ b/x11/lightdm-gtk-greeter/Makefile @@ -1,38 +1,38 @@ PORTNAME= lightdm-gtk-greeter PORTVERSION= 2.0.9 CATEGORIES= x11 MASTER_SITES= https://github.com/Xubuntu/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/ MAINTAINER= desktop@FreeBSD.org COMMENT= GTK greeter for LightDM WWW= https://github.com/Xubuntu/lightdm-gtk-greeter LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xdt-csource:devel/xfce4-dev-tools LIB_DEPENDS= liblightdm-gobject-1.so:x11/lightdm RUN_DEPENDS= at-spi2-core>0:accessibility/at-spi2-core USES= gettext-tools gmake gnome localbase pkgconfig xorg USE_CSTD= c99 -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-indicator-services-command \ --enable-at-spi-command=${LOCALBASE}/libexec/at-spi-bus-launcher SUB_FILES= pkg-deinstall pkg-install OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-install: (cd ${STAGEDIR}${PREFIX}/etc/lightdm && ${MV} lightdm-gtk-greeter.conf \ lightdm-gtk-greeter.conf.sample) .include diff --git a/x11/lilyterm/Makefile b/x11/lilyterm/Makefile index 0cc7b2be8b53..223924d9db51 100644 --- a/x11/lilyterm/Makefile +++ b/x11/lilyterm/Makefile @@ -1,37 +1,37 @@ PORTNAME= lilyterm DISTVERSIONPREFIX= v DISTVERSION= 0.9.9.4 PORTREVISION= 3 CATEGORIES= x11 MAINTAINER= jwb@FreeBSD.org COMMENT= Lightweight, but functional terminal emulator WWW= https://github.com/Tetralet/LilyTerm LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext gmake gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 vte +USE_GNOME= cairo gdkpixbuf gtk20 vte USE_XORG= x11 xext GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= Tetralet GH_PROJECT= LilyTerm OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install: @${RM} -r ${STAGEDIR}${EXAMPLESDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lilyterm ${MV} ${STAGEDIR}${PREFIX}/etc/xdg/lilyterm.conf \ ${STAGEDIR}${PREFIX}/etc/xdg/lilyterm.conf.sample .include diff --git a/x11/lxhotkey/Makefile b/x11/lxhotkey/Makefile index a6b2118f3d03..e023e947d86f 100644 --- a/x11/lxhotkey/Makefile +++ b/x11/lxhotkey/Makefile @@ -1,31 +1,31 @@ PORTNAME= lxhotkey PORTVERSION= 0.1.1 PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= SF/lxde/LXHotkey/ MAINTAINER= ports@FreeBSD.org COMMENT= Keyboard shortcuts settings WWW= https://www.lxde.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfm-extra.so:x11/libfm-extra \ libfm.so:x11/libfm@gtk2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libunistring.so:devel/libunistring USES= gettext-tools gmake gnome pathfix pkgconfig tar:xz xorg GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -USE_GNOME= glib20 gtk20 intltool cairo gdkpixbuf2 +USE_GNOME= glib20 gtk20 intltool cairo gdkpixbuf USE_XORG= x11 CONFIGURE_ARGS= --with-gtk=2 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lxhotkey/*.so .include diff --git a/x11/lxpanel/Makefile b/x11/lxpanel/Makefile index f7a4e62d35f6..51f1be39604f 100644 --- a/x11/lxpanel/Makefile +++ b/x11/lxpanel/Makefile @@ -1,57 +1,57 @@ PORTNAME= lxpanel PORTVERSION= 0.9.3 PORTREVISION= 4 CATEGORIES= x11 MASTER_SITES= SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION:R}.x/ MAINTAINER= danfe@FreeBSD.org COMMENT= Lightweight X11 desktop panel WWW= https://github.com/lxde/lxpanel LICENSE= GPLv2+ MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmenu-cache.so:x11/menu-cache \ libkeybinder.so:x11/keybinder \ libfm-gtk.so:x11/libfm@gtk2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwnck-1.so:x11-toolkits/libwnck RUN_DEPENDS= ${LOCALBASE}/etc/xdg/menus/lxde-applications.menu:x11/lxmenu-data USES= gmake gnome libtool localbase pathfix pkgconfig tar:xz xorg -USE_GNOME= glib20 gtk20 cairo gdkpixbuf2 gdkpixbuf2xlib intltool +USE_GNOME= glib20 gtk20 cairo gdkpixbuf gdkpixbufxlib intltool USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-plugins="${LXPANEL_PLUGINS}" INSTALL_TARGET= install-strip # Panel plugins LXPANEL_PLUGINS= "-netstat,-netstatus,deskno,-batt,kbled,xkb,-thermal,cpu,cpufreq,monitors,-indicator" OPTIONS_SINGLE= SOUND OPTIONS_SINGLE_SOUND= ALSA OSS OPTIONS_DEFINE= NLS WEATHER OPTIONS_DEFAULT= OSS WEATHER OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa ALSA_VARS= lxpanel_plugins+=",-volume,volumealsa" OSS_VARS= lxpanel_plugins+=",volume,-volumealsa" NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext NLS_USES_OFF= gettext-tools WEATHER_USE= gnome=libxml2 WEATHER_VARS= lxpanel_plugins+=",weather" WEATHER_VARS_OFF= lxpanel_plugins+=",-weather" WEATHER_DESC= Weather plugin post-patch-NLS-off: @${REINPLACE_CMD} -e 's|po man|man|' \ ${WRKSRC}/Makefile.in .include diff --git a/x11/mako/Makefile b/x11/mako/Makefile index 55968390db62..fec7f38362e6 100644 --- a/x11/mako/Makefile +++ b/x11/mako/Makefile @@ -1,46 +1,46 @@ PORTNAME= mako DISTVERSIONPREFIX= v DISTVERSION= 1.9.0 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Lightweight Wayland notification daemon WWW= https://github.com/emersion/mako LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.32:graphics/wayland-protocols LIB_DEPENDS= libbasu.so:devel/basu \ libepoll-shim.so:devel/libepoll-shim \ libwayland-client.so:graphics/wayland USES= compiler:c11 gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= cairo pango GH_ACCOUNT= emersion MESON_ARGS= -Dsd-bus-provider=basu PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}ctl \ share/dbus-1/services/fr.emersion.mako.service OPTIONS_DEFINE= MANPAGES PIXBUF OPTIONS_DEFAULT=MANPAGES PIXBUF MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ share/man/man1/${PORTNAME}ctl.1.gz \ share/man/man5/${PORTNAME}.5.gz -PIXBUF_USE= GNOME=gdkpixbuf2 +PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_MESON_ENABLED= icons post-patch: # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},g' \ ${WRKSRC}/icon.c \ ${WRKSRC}/doc/${PORTNAME}.5.scd .include diff --git a/x11/mate-applet-appmenu/Makefile b/x11/mate-applet-appmenu/Makefile index 745b6b98534f..d34010bf2fd9 100644 --- a/x11/mate-applet-appmenu/Makefile +++ b/x11/mate-applet-appmenu/Makefile @@ -1,39 +1,39 @@ PORTNAME= mate-applet-appmenu DISTVERSION= 0.7.6 PORTREVISION= 3 CATEGORIES= x11 PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= 442bcebcc00e.patch:-p1 # meson >= 0.60 MAINTAINER= ericbsd@FreeBSD.org COMMENT= Application Menu plugin for mate-panel WWW= https://gitlab.com/vala-panel-project/vala-panel-appmenu LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libbamf3.so:sysutils/bamf RUN_DEPENDS= appmenu-registrar>=0:x11/appmenu-registrar \ appmenu-gtk-module>=0:x11/gtk-app-menu USES= meson gnome mate pkgconfig gettext vala:build MESON_ARGS= -Dvalapanel=disabled \ -Dxfce=disabled \ -Dmate=enabled \ -Dbudgie=disabled \ -Djayatana=disabled \ -Dregistrar=disabled \ -Dappmenu-gtk-module=disabled USE_MATE= panel -USE_GNOME= gtk30 glib20 gdkpixbuf2 +USE_GNOME= gtk30 glib20 gdkpixbuf GLIB_SCHEMAS= org.valapanel.appmenu.gschema.xml USE_GITLAB= yes GL_ACCOUNT= vala-panel-project GL_PROJECT= vala-panel-appmenu GL_TAGNAME= 4e362c22ab3a23c98f13fb379c782786ee057cf6 .include diff --git a/x11/mate-desktop/Makefile b/x11/mate-desktop/Makefile index e266a286cec4..8b281784c188 100644 --- a/x11/mate-desktop/Makefile +++ b/x11/mate-desktop/Makefile @@ -1,54 +1,54 @@ PORTNAME= mate-desktop PORTVERSION= 1.28.2 CATEGORIES= x11 mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Additional UI API for MATE WWW= https://mate-desktop.org/ LICENSE= GPLv2 GFDL LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_GFDL= ${WRKSRC}/COPYING-DOCS LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification BUILD_DEPENDS= iso-codes>=0:misc/iso-codes RUN_DEPENDS= dconf-editor:devel/dconf-editor PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool localbase pathfix \ pkgconfig python shebangfix tar:xz xorg USE_XORG= x11 xrandr -USE_GNOME= cairo dconf gdkpixbuf2 gnomeprefix gtk30 \ +USE_GNOME= cairo dconf gdkpixbuf gnomeprefix gtk30 \ intltool introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.accessibility-keyboard.gschema.xml \ org.mate.accessibility-startup.gschema.xml \ org.mate.applications-at-mobility.gschema.xml \ org.mate.applications-at-visual.gschema.xml \ org.mate.applications-browser.gschema.xml \ org.mate.applications-calculator.gschema.xml \ org.mate.applications-messenger.gschema.xml \ org.mate.applications-office.gschema.xml \ org.mate.applications-terminal.gschema.xml \ org.mate.background.gschema.xml \ org.mate.debug.gschema.xml \ org.mate.file-views.gschema.xml \ org.mate.interface.gschema.xml \ org.mate.lockdown.gschema.xml \ org.mate.sound.gschema.xml \ org.mate.thumbnail-cache.gschema.xml \ org.mate.thumbnailers.gschema.xml \ org.mate.typing-break.gschema.xml OPTIONS_DEFINE= DOCS .include diff --git a/x11/mate-screensaver/Makefile b/x11/mate-screensaver/Makefile index 58fb74ccaaf6..c40c01aa106f 100644 --- a/x11/mate-screensaver/Makefile +++ b/x11/mate-screensaver/Makefile @@ -1,64 +1,64 @@ PORTNAME= mate-screensaver PORTVERSION= 1.28.0 PORTREVISION= 2 CATEGORIES= x11 mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE screen saver and locker WWW= https://mate-desktop.org/ LICENSE= GPLv2 LGPL20 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libnotify.so:devel/libnotify \ libstartup-notification-1.so:x11/startup-notification PORTSCOUT= limitw:1,even USES= gettext gl gmake gnome localbase mate pathfix pkgconfig tar:xz \ xorg USE_GL= gl USE_MATE= desktop libmatekbd menus session:run USE_XORG= ice sm x11 xext xscrnsaver xxf86vm -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool +USE_GNOME= cairo gdkpixbuf gtk30 intltool GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-console-kit=yes \ --with-systemd=no GLIB_SCHEMAS= org.mate.screensaver.gschema.xml SUB_FILES+= mate-screensaver.pam SCREENSAVER_DIR= share/applications/screensavers OPTIONS_DEFINE= PAM OPTIONS_DEFAULT=PAM OPTIONS_SUB= yes PAM_RUN_DEPENDS= mate_pam_helper:security/mate-pam-helper PAM_CONFIGURE_ON= --enable-authentication-scheme=helper \ --with-passwd-helper=${LOCALBASE}/bin/mate_pam_helper PAM_CONFIGURE_OFF= --disable-pam .include post-patch: .if ${PORT_OPTIONS:MPAM} @${REINPLACE_CMD} -e 's|/etc/pam.d|${PREFIX}/etc/pam.d|g' \ ${WRKSRC}/src/gs-auth-pam.c .endif post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${SCREENSAVER_DIR} .if ${PORT_OPTIONS:MPAM} ${INSTALL_DATA} ${WRKDIR}/mate-screensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/mate-screensaver .endif .include diff --git a/x11/mate-terminal/Makefile b/x11/mate-terminal/Makefile index b1d286ed5c2c..692848e6ef2b 100644 --- a/x11/mate-terminal/Makefile +++ b/x11/mate-terminal/Makefile @@ -1,30 +1,30 @@ PORTNAME= mate-terminal PORTVERSION= 1.28.1 CATEGORIES= x11 mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Terminal component for the MATE Desktop WWW= https://mate-desktop.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgnutls.so:security/gnutls \ libpcre2-8.so:devel/pcre2 PORTSCOUT= limitw:1,even USES= gettext gmake gnome localbase pathfix perl5 pkgconfig \ shebangfix tar:xz xorg USE_XORG= ice sm x11 -USE_GNOME= cairo dconf gdkpixbuf2 gtk30 intltool vte3 +USE_GNOME= cairo dconf gdkpixbuf gtk30 intltool vte3 SHEBANG_FILES= mate-terminal.wrapper GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share GLIB_SCHEMAS= org.mate.terminal.gschema.xml .include diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile index 3461a4541602..55856ac7c2ef 100644 --- a/x11/mlterm/Makefile +++ b/x11/mlterm/Makefile @@ -1,95 +1,95 @@ PORTNAME= mlterm PORTVERSION= 3.9.3 PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= nobutaka@FreeBSD.org COMMENT= Multilingual X11 terminal emulator WWW= https://mlterm.sourceforge.net/ LICENSE= BSD3CLAUSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= cpe desktop-file-utils gettext gnome libtool perl5 pkgconfig xorg USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 vte3 +USE_GNOME= cairo gdkpixbuf gtk30 vte3 USE_LDCONFIG= yes USE_PERL5= build USE_XORG= sm x11 xft GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-gui=x11 --with-imagelib=gdk-pixbuf2 --enable-utmp \ --enable-optimize-redrawing --disable-iiimf --with-gtk=3.0 \ --disable-ssh2 EXTERNAL_TOOLS= mlclient,mlconfig,mlterm-menu,mlcc,w3mmlconfig,mlimgloader CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl -Wl,--undefined-version MAKE_JOBS_UNSAFE= yes GH_ACCOUNT= arakiken OPTIONS_DEFINE= CAIRO DOCS FCITX FRIBIDI IBUS M17NLIB REGIS SCIM SIXEL UIM OPTIONS_SUB= yes CAIRO_DESC= Use Cairo for type engine FCITX_DESC= Fcitx support FRIBIDI_DESC= Use Fribidi for BiDi rendering IBUS_DESC= IBUS support M17NLIB_DESC= m17n library support REGIS_DESC= ReGIS graphics support SCIM_DESC= SCIM support SIXEL_DESC= Sixel graphics support UIM_DESC= uim support FCITX_CONFIGURE_ENABLE= fcitx FCITX_LIB_DEPENDS= libfcitx-gclient.so:chinese/fcitx FRIBIDI_CONFIGURE_ENABLE= fribidi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi UIM_CONFIGURE_ENABLE= uim UIM_LIB_DEPENDS= libuim.so:textproc/uim M17NLIB_CONFIGURE_ENABLE= m17nlib M17NLIB_LIB_DEPENDS= libm17n.so:devel/m17n-lib SCIM_CONFIGURE_ENABLE= scim SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim IBUS_CONFIGURE_ENABLE= ibus IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_CONFIGURE_ON= --with-type-engines="xcore,xft,cairo" CAIRO_CONFIGURE_OFF= --with-type-engines="xcore,xft" SIXEL_CONFIGURE_ENABLE= sixel REGIS_USES= sdl REGIS_USE= SDL=ttf .include .if ${PORT_OPTIONS:MREGIS} EXTERNAL_TOOLS+=,registobmp .endif CONFIGURE_ARGS+=--with-tools="${EXTERNAL_TOOLS}" post-configure: @${REINPLACE_CMD} -e "s,@CGI_BIN@,${PREFIX}/libexec/w3mmlconfig," \ -e "s,@PERL @,${PERL}," \ ${WRKSRC}/tool/w3mmlconfig/mlconfig.cgi post-install: (cd ${WRKSRC}/tool/w3mmlconfig && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/ja/README.ja ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${FILESDIR}/mlterm.desktop ${STAGEDIR}${DESKTOPDIR} .include diff --git a/x11/nvidia-settings/Makefile b/x11/nvidia-settings/Makefile index 7ea664226465..cd065adaf7b8 100644 --- a/x11/nvidia-settings/Makefile +++ b/x11/nvidia-settings/Makefile @@ -1,67 +1,67 @@ PORTNAME= nvidia-settings PORTVERSION= 535.146.02 PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org COMMENT= Display Control Panel for X NVidia driver WWW= https://www.nvidia.com/object/unix.html LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= Nvidia driver is only available on x86 BUILD_DEPENDS= ${LOCALBASE}/include/dbus-1.0/dbus/dbus.h:devel/dbus LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjansson.so:devel/jansson \ libvdpau.so:multimedia/libvdpau USES= gl gmake gnome pkgconfig gettext-runtime xorg -USE_GNOME= gtk30 cairo gdkpixbuf2 +USE_GNOME= gtk30 cairo gdkpixbuf USE_GL= gl USE_XORG= x11 xext xv xxf86vm USE_GITHUB= yes GH_ACCOUNT= NVIDIA PLIST_FILES= bin/nvidia-settings \ libexec/nvidia-settings \ lib/libnvidia-gtk3.so.${PORTVERSION} \ share/applications/nvidia-settings.desktop \ share/man/man1/nvidia-settings.1.gz \ share/pixmaps/nvidia-settings.png SUB_FILES= nvidia-settings LDFLAGS+= -pthread LLD_UNSAFE= yes MAKE_ENV= NV_USE_BUNDLED_LIBJANSSON=0 \ NV_VERBOSE=1 \ GTK2_AVAILABLE=0 \ INSTALL_DOC_ARGS="${INSTALL_MAN:Ninstall}" \ XNVCTRL_CFLAGS=-I${LOCALBASE}/include \ XNVCTRL_LDFLAGS=-L${LOCALBASE}/lib post-patch: .SILENT ${REINPLACE_CMD} -E -e 's,__(PIXMAP|UTILS)_PATH__/,,' \ -e 's|__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__|Settings;HardwareSettings;|' \ ${WRKSRC}/doc/nvidia-settings.desktop ${REINPLACE_CMD} -e 's|/usr/share/nvidia/|${LOCALBASE}/share/doc/NVIDIA_GLX-1.0/|' \ ${WRKSRC}/src/gtk+-2.x/ctkappprofile.c post-install: .SILENT ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnvidia-gtk3.so.${PORTVERSION} ${RM} ${STAGEDIR}/${PREFIX}/lib/libnvidia-wayland-client.so.${PORTVERSION} ${INSTALL_DATA} ${WRKSRC}/doc/nvidia-settings.desktop \ ${STAGEDIR}/${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/doc/nvidia-settings.png \ ${STAGEDIR}/${PREFIX}/share/pixmaps ${MV} ${STAGEDIR}${PREFIX}/bin/nvidia-settings \ ${STAGEDIR}${PREFIX}/libexec/nvidia-settings ${INSTALL} ${WRKDIR}/nvidia-settings \ ${STAGEDIR}${PREFIX}/bin/nvidia-settings .include diff --git a/x11/nwg-bar/Makefile b/x11/nwg-bar/Makefile index f60660cbcf67..7745d052be2d 100644 --- a/x11/nwg-bar/Makefile +++ b/x11/nwg-bar/Makefile @@ -1,44 +1,44 @@ PORTNAME= nwg-bar DISTVERSIONPREFIX= v DISTVERSION= 0.1.6 PORTREVISION= 8 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK3-based button bar for sway and other wlroots-based compositors WWW= https://github.com/nwg-piotr/nwg-bar LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= gnome go:modules pkgconfig USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \ dlasky:gotk3-layershell:b0c42cd8474f:dlasky_gotk3_layershell/vendor/github.com/dlasky/gotk3-layershell \ golang:sync:v0.6.0:golang_sync/vendor/golang.org/x/sync \ gotk3:gotk3:v0.6.2:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \ joshuarubin:go-sway:v1.2.0:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \ joshuarubin:lifecycle:v1.1.4:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \ uber-go:multierr:v1.11.0:uber_go_multierr/vendor/go.uber.org/multierr CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} PORTDATA= images *.css *.json post-patch: # Respect PREFIX for button images @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/config/*.json \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile @${CP} -p ${WRKSRC}/config/* ${WRKSRC} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) .include diff --git a/x11/nwg-dock-hyprland/Makefile b/x11/nwg-dock-hyprland/Makefile index 0cdbf748fe68..9fe032fc261d 100644 --- a/x11/nwg-dock-hyprland/Makefile +++ b/x11/nwg-dock-hyprland/Makefile @@ -1,45 +1,45 @@ PORTNAME= nwg-dock-hyprland DISTVERSIONPREFIX= v DISTVERSION= 0.4.3 PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK3-based dock for Hyprland WWW= https://github.com/nwg-piotr/nwg-dock-hyprland LICENSE= AGPLv3 MIT LICENSE_COMB= multi LICENSE_FILE_AGPLv3= ${WRKSRC_diamondburned_gotk4_pkg}/LICENSE.md LICENSE_FILE_MIT= ${WRKSRC}/LICENSE LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= gnome go:modules pkgconfig USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= KarpelesLab:weak:v0.1.1:karpeleslab_weak/vendor/github.com/KarpelesLab/weak \ allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \ diamondburned:gotk4-layer-shell:6efa9f6dc438:diamondburned_gotk4_layer_shell_pkg/vendor/github.com/diamondburned/gotk4-layer-shell \ diamondburned:gotk4:v0.3.1:diamondburned_gotk4_pkg/vendor/github.com/diamondburned/gotk4 \ go4org:unsafe-assume-no-moving-gc:b99613f794b6:go4org_unsafe_assume_no_moving_gc/vendor/go4.org/unsafe/assume-no-moving-gc \ golang:sync:v0.10.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.29.0:golang_sys/vendor/golang.org/x/sys \ sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} PORTDATA= images *.css post-patch: # Respect PREFIX for *.desktop @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile @${CP} -p ${WRKSRC}/config/*.css ${WRKSRC} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) .include diff --git a/x11/nwg-dock/Makefile b/x11/nwg-dock/Makefile index 737ea7541ef5..6cc397895578 100644 --- a/x11/nwg-dock/Makefile +++ b/x11/nwg-dock/Makefile @@ -1,45 +1,45 @@ PORTNAME= nwg-dock DISTVERSIONPREFIX= v DISTVERSION= 0.4.3 PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK3-based dock for sway WWW= https://github.com/nwg-piotr/nwg-dock LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= gnome go:modules pkgconfig USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \ dlasky:gotk3-layershell:5c5115f0d774:dlasky_gotk3_layershell/vendor/github.com/dlasky/gotk3-layershell \ golang:sync:v0.10.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.29.0:golang_sys/vendor/golang.org/x/sys \ gotk3:gotk3:ff349ae13f56:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \ joshuarubin:go-sway:v1.2.0:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \ joshuarubin:lifecycle:v1.1.4:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \ sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ uber-go:multierr:v1.11.0:uber_go_multierr/vendor/go.uber.org/multierr CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} PORTDATA= images *.css post-patch: # Respect PREFIX for *.desktop @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile @${CP} -p ${WRKSRC}/config/*.css ${WRKSRC} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) .include diff --git a/x11/nwg-drawer/Makefile b/x11/nwg-drawer/Makefile index ca1f72fd674f..cf28461b7572 100644 --- a/x11/nwg-drawer/Makefile +++ b/x11/nwg-drawer/Makefile @@ -1,51 +1,51 @@ PORTNAME= nwg-drawer DISTVERSIONPREFIX= v DISTVERSION= 0.6.3 PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Application drawer for sway and other wlroots compositors WWW= https://github.com/nwg-piotr/nwg-drawer LICENSE= AGPLv3 MIT LICENSE_COMB= multi LICENSE_FILE_AGPLv3= ${WRKSRC_diamondburned_gotk4_pkg}/LICENSE.md LICENSE_FILE_MIT= ${WRKSRC}/LICENSE LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell RUN_DEPENDS= xdg-open:devel/xdg-utils USES= gnome go:modules pkgconfig USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= KarpelesLab:weak:v0.1.1:karpeleslab_weak/vendor/github.com/KarpelesLab/weak \ allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \ diamondburned:gotk4-layer-shell:6efa9f6dc438:diamondburned_gotk4_layer_shell_pkg/vendor/github.com/diamondburned/gotk4-layer-shell \ diamondburned:gotk4:v0.3.1:diamondburned_gotk4_pkg/vendor/github.com/diamondburned/gotk4 \ expr-lang:expr:v1.16.9:expr_lang_expr/vendor/github.com/expr-lang/expr \ fsnotify:fsnotify:v1.8.0:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ go4org:unsafe-assume-no-moving-gc:b99613f794b6:go4org_unsafe_assume_no_moving_gc/vendor/go4.org/unsafe/assume-no-moving-gc \ golang:sync:v0.10.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.29.0:golang_sys/vendor/golang.org/x/sys \ joshuarubin:go-sway:v1.2.0:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \ joshuarubin:lifecycle:v1.1.4:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \ sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ uber-go:multierr:v1.11.0:uber_go_multierr/vendor/go.uber.org/multierr CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} PORTDATA= desktop-directories img *.css post-patch: # Respect PREFIX for *.desktop @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/main.go \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) .include diff --git a/x11/nwg-look/Makefile b/x11/nwg-look/Makefile index 425867ce7622..cd7d90f5239d 100644 --- a/x11/nwg-look/Makefile +++ b/x11/nwg-look/Makefile @@ -1,50 +1,50 @@ PORTNAME= nwg-look DISTVERSIONPREFIX= v DISTVERSION= 1.0.3 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK settings editor adapted to work in the wlroots environment WWW= https://github.com/nwg-piotr/nwg-look LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xcur2png:x11/xcur2png USES= gnome go:modules pkgconfig USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= golang:sys:v0.29.0:golang_sys/vendor/golang.org/x/sys \ gotk3:gotk3:ff349ae13f56:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \ sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} \ ${DATADIR}/langs/en_US.json \ ${DATADIR}/langs/ja_JP.json \ ${DATADIR}/langs/pl_PL.json \ ${DATADIR}/langs/ru_RU.json \ ${DATADIR}/langs/zh_CN.json \ ${DATADIR}/main.glade \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.svg post-patch: # Respect PREFIX for *.glade and *.desktop @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/main.go \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile ${MKDIR} ${STAGEDIR}${DATADIR}/langs ${INSTALL_DATA} ${WRKSRC}/langs/* ${STAGEDIR}${DATADIR}/langs ${INSTALL_DATA} ${WRKSRC}/stuff/main.glade ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/stuff/*.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/stuff/*.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/x11/nwg-menu/Makefile b/x11/nwg-menu/Makefile index 28283052d1f1..45f8989ca1a7 100644 --- a/x11/nwg-menu/Makefile +++ b/x11/nwg-menu/Makefile @@ -1,45 +1,45 @@ PORTNAME= nwg-menu DISTVERSIONPREFIX= v DISTVERSION= 0.1.7 PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= MenuStart plugin to nwg-panel, also capable of working standalone WWW= https://github.com/nwg-piotr/nwg-menu LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= gnome go:modules pkgconfig USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \ dlasky:gotk3-layershell:5c5115f0d774:dlasky_gotk3_layershell/vendor/github.com/dlasky/gotk3-layershell \ golang:sync:v0.10.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.29.0:golang_sys/vendor/golang.org/x/sys \ gotk3:gotk3:ff349ae13f56:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \ joshuarubin:go-sway:v1.2.0:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \ joshuarubin:lifecycle:v1.1.4:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \ sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ uber-go:multierr:v1.11.0:uber_go_multierr/vendor/go.uber.org/multierr CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} PORTDATA= desktop-directories *.css post-patch: # Respect PREFIX for *.desktop and system configs @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/main.go \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) .include diff --git a/x11/pipeglade/Makefile b/x11/pipeglade/Makefile index b7b2548bceb6..a67d36c1aef3 100644 --- a/x11/pipeglade/Makefile +++ b/x11/pipeglade/Makefile @@ -1,34 +1,34 @@ PORTNAME= pipeglade PORTVERSION= 4.7.0 PORTREVISION= 5 CATEGORIES= x11 devel MAINTAINER= trebbu@googlemail.com COMMENT= Graphical user interface driven by pipes or fifos WWW= http://pipeglade.boundp.org LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= trebb USES= gettext-runtime gnome pkgconfig -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2 OPTIONS_DEFINE= EXAMPLES OPTIONS_SUB= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/ post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/clock.sh ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/echo.sh ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/clock.ui ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/pipeglade.ui ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/simple_dialog.ui ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/simple_open.ui ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11/plank/Makefile b/x11/plank/Makefile index 6fb7b1927e25..f4a5f9ee345f 100644 --- a/x11/plank/Makefile +++ b/x11/plank/Makefile @@ -1,52 +1,52 @@ PORTNAME= plank DISTVERSION= 0.11.100 CATEGORIES= x11 MAINTAINER= daniel@shafer.cc COMMENT= Elegant, simple, and clean dock WWW= https://github.com/zquestz/plank-reloaded LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libbamf3.so:sysutils/bamf \ libgee-0.8.so:devel/libgee \ libgnome-menu-3.so:x11/gnome-menus USES= autoreconf gmake gnome libtool localbase pathfix pkgconfig \ vala:build xorg -USE_GNOME= glib20 gtk30 gdkpixbuf2 cairo libxml2 libwnck3 +USE_GNOME= glib20 gtk30 gdkpixbuf cairo libxml2 libwnck3 USE_XORG= x11 xfixes xi CFLAGS+= -Wno-return-type GNU_CONFIGURE= yes GLIB_SCHEMAS= net.launchpad.plank.gschema.xml USE_GITHUB= yes GH_ACCOUNT= zquestz GH_PROJECT= plank-reloaded OPTIONS_SUB= yes OPTIONS_DEFINE= NLS DBUSMENU DBUSMENU_DESC= DBusMenu protocol CONFIGURE_ARGS= --disable-benchmark \ --disable-headless-tests \ --disable-docs \ --disable-apport NLS_USES= gettext NLS_USES_OFF= gettext-tools NLS_CONFIGURE_ENABLE= nls DBUSMENU_LIB_DEPENDS= libdbusmenu-gtk3.so:devel/libdbusmenu DBUSMENU_CONFIGURE_ENABLE= dbusmenu INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|g' \ ${WRKSRC}/lib/Factories/ItemFactory.vala .include diff --git a/x11/py-caffeine-ng/Makefile b/x11/py-caffeine-ng/Makefile index 0cf067499801..c88b24eb45b5 100644 --- a/x11/py-caffeine-ng/Makefile +++ b/x11/py-caffeine-ng/Makefile @@ -1,49 +1,49 @@ PORTNAME= caffeine-ng DISTVERSIONPREFIX= v DISTVERSION= 4.2.0 PORTREVISION= 1 DISTVERSIONSUFFIX= -0-g5027f55 CATEGORIES= x11 python MASTER_SITES= https://codeberg.org/WhyNotHugo/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tagattie@FreeBSD.org COMMENT= Tray bar app to temporarily inhibit screensaver and sleep mode WWW= https://codeberg.org/WhyNotHugo/caffeine-ng LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENCE LICENSE_FILE_LGPL3+ = ${WRKSRC}/LGPL PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ewmh>0:devel/py-ewmh@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pulsectl>0:audio/py-pulsectl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} \ scdoc:textproc/scdoc LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator \ libnotify.so:devel/libnotify RUN_DEPENDS= ${PY_DEPENDS} USES= gettext-tools gnome meson pkgconfig python -USE_GNOME= gdkpixbuf2 gtk30 pygobject3 +USE_GNOME= gdkpixbuf gtk30 pygobject3 GLIB_SCHEMAS= net.launchpad.caffeine.gschema.xml BINARY_ALIAS= python3=${PYTHON_CMD} NO_ARCH= yes PORTDOCS= CHANGELOG.rst README.md OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e "s|/etc|${LOCALBASE}/etc|g; \ s|python.full_path()|'${PYTHON_CMD}'|g" ${WRKSRC}/meson.build do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/rofi/Makefile b/x11/rofi/Makefile index 21f68371b700..3af95fb40398 100644 --- a/x11/rofi/Makefile +++ b/x11/rofi/Makefile @@ -1,50 +1,50 @@ PORTNAME= rofi DISTVERSION?= 1.7.8 PORTREVISION?= 0 CATEGORIES= x11 ${EXTRA_CATEGORIES} MAINTAINER= nomoo@nomoo.ru COMMENT= Window switcher, run dialog and dmenu replacement WWW= https://github.com/davatorium/rofi LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libstartup-notification-1.so:x11/startup-notification \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-util.so:x11/xcb-util \ libxcb-xrm.so:x11/xcb-util-xrm \ libxkbcommon-x11.so:x11/libxkbcommon \ libxcb-keysyms.so:x11/xcb-util-keysyms RUN_DEPENDS= gsed:textproc/gsed USES= bison gnome meson pkgconfig shebangfix xorg USE_GITHUB= yes # required by rofi-wayland -USE_GNOME= cairo gdkpixbuf2 librsvg2 pango +USE_GNOME= cairo gdkpixbuf librsvg2 pango USE_XORG= xcb GH_ACCOUNT?= davatorium GH_TUPLE= sardemff7:libgwater:d86f9903efb9c490c0e3b0316d7f2da5b5a5632c:libgwater/subprojects/libgwater \ sardemff7:libnkutils:72bd7fb07f627a864e724639eea9fab6cccbd77c:libnkutils/subprojects/libnkutils SHEBANG_FILES= script/get_git_rev.sh \ script/rofi-sensible-terminal bash_CMD= ${SH} CONFLICTS_INSTALL?= ${PORTNAME}-wayland OPTIONS_DEFINE= TEST MANPAGES OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc TEST_BUILD_DEPENDS= checkmk:devel/check TEST_MESON_ENABLED= check post-patch: # Fix rofi-theme-selector which assumes we have GNU sed @${REINPLACE_CMD} 's|$${SED} -i |$${SED} -i"" |' \ ${WRKSRC}/script/rofi-theme-selector .include diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile index a814cfabde8b..3d82c83bf462 100644 --- a/x11/rxvt-unicode/Makefile +++ b/x11/rxvt-unicode/Makefile @@ -1,171 +1,171 @@ PORTNAME= rxvt-unicode PORTVERSION= 9.31 PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://dist.schmorp.de/rxvt-unicode/%SUBDIR%/ MASTER_SITE_SUBDIR= . Attic MAINTAINER= thierry@FreeBSD.org COMMENT= Clone of the terminal emulator rxvt modified to support Unicode WWW= http://software.schmorp.de/pkg/rxvt-unicode.html LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:x11-fonts/fontconfig LIB_DEPENDS= libfreetype.so:print/freetype2 \ libptytty.so:sysutils/libptytty RUN_DEPENDS= ${LOCALBASE}/bin/fc-cache:x11-fonts/fontconfig USES= cpe perl5 pkgconfig shebangfix tar:bzip2 xorg USE_XORG= x11 xext xft xmu xpm xrender xt GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -lutil CONFIGURE_ARGS= --enable-everything --with-term=rxvt CPE_VENDOR= marc_lehmann OPTIONS_DEFINE= PERL XIM UNICODE3 ISO14755 COMBINING RXVT_SCROLLBAR \ NEXT_SCROLLBAR XTERM_SCROLLBAR BACKSPACE_KEY DELETE_KEY \ MOUSEWHEEL SMART_RESIZE IMLOCALE_FIX GDK_PIXBUF \ NOTIFY 256_COLOR DOCS SHEBANG_FILES= ${WRKSRC}/src/perl/* perl_OLD_CMD= perl perl_CMD= ${SETENV} perl PERL_DESC= Embedded Perl interpreter XIM_DESC= Support for XIM (X Input Method) protocol UNICODE3_DESC= Support Unicode codepoints above 65535 ISO14755_DESC= Support for extended ISO 14755 modes COMBINING_DESC= Automatic composition of combining chars RXVT_SCROLLBAR_DESC= Support for the original rxvt scrollbar NEXT_SCROLLBAR_DESC= Support for a NeXT-like scrollbar XTERM_SCROLLBAR_DESC= Support for an Xterm-like scrollbar BACKSPACE_KEY_DESC= Handling of the backspace key by rxvt DELETE_KEY_DESC= Handling of the delete key by rxvt MOUSEWHEEL_DESC= Support for scrolling via mouse wheel SMART_RESIZE_DESC= Smart growth/shrink behaviour IMLOCALE_FIX_DESC= imlocale encoding conversion fix GDK_PIXBUF_DESC= Use gdk-pixbuf for background images NOTIFY_DESC= Freedesktop startup notification support 256_COLOR_DESC= Support for 256 colors OPTIONS_DEFAULT= PERL XIM UNICODE3 ISO14755 COMBINING RXVT_SCROLLBAR \ NEXT_SCROLLBAR XTERM_SCROLLBAR BACKSPACE_KEY DELETE_KEY \ MOUSEWHEEL SMART_RESIZE IMLOCALE_FIX GDK_PIXBUF \ 256_COLOR OPTIONS_EXCLUDE_armv6= IMLOCALE_FIX OPTIONS_EXCLUDE_armv7= IMLOCALE_FIX OPTIONS_SUB= yes PORTDOCS1= Changes README.FAQ README.configure PORTDOCS= README.xvt ${PORTDOCS1} IMLOCALE_FIX_PATCH_DEPENDS= p5-Encode-HanExtra>=0:chinese/p5-Encode-HanExtra \ p5-Encode-JIS2K>=0:converters/p5-Encode-JIS2K # disable the embedded perl interpreter PERL_CONFIGURE_ENABLE= perl PERL_USE_OFF= PERL5=build # disable XIM (X Input Method) protocol support XIM_CONFIGURE_ENABLE= xim # disable support for Unicode codepoints above 65535 UNICODE3_CONFIGURE_ENABLE= unicode3 # disable support for extended ISO 14755 modes ISO14755_CONFIGURE_ENABLE= iso14755 # disable automatic composition of combining characters # into composite characters COMBINING_CONFIGURE_ENABLE= combining # disable support for the original rxvt scrollbar RXVT_SCROLLBAR_CONFIGURE_ENABLE= rxvt-scroll # disable support for a NeXT-like scrollbar NEXT_SCROLLBAR_CONFIGURE_ENABLE= next-scroll # disable support for an Xterm-like scrollbar XTERM_SCROLLBAR_CONFIGURE_ENABLE= xterm-scroll # disable any handling of the backspace key by rxvt # let the X server do it BACKSPACE_KEY_CONFIGURE_ENABLE= backspace-key # disable any handling of the delete key by rxvt DELETE_KEY_CONFIGURE_ENABLE= delete-key # enable scrolling via mouse wheel or buttons 4 & 5 MOUSEWHEEL_CONFIGURE_ENABLE= mousewheel # enable smart resize SMART_RESIZE_CONFIGURE_ENABLE= smart-resize # enable integration with gdk-pixbuf for background images GDK_PIXBUF_USES= gnome -GDK_PIXBUF_USE= GNOME=gdkpixbuf2 +GDK_PIXBUF_USE= GNOME=gdkpixbuf GDK_PIXBUF_CONFIGURE_ENABLE= pixbuf # enable startup notification NOTIFY_CONFIGURE_ENABLE= startup-notification NOTIFY_LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification NOTIFY_USE= XORG=xcb # enable support for 256 colors 256_COLOR_CONFIGURE_ON= --enable-256-color .include # compile in support for additional codeset groups .if ${PORT_OPTIONS:MENCODING} AVAIL_ENC= jp jp_ext kr zh zh_ext all . for ENC in ${AVAIL_ENC} . if (${WITH_ENCODING} == ${ENC}) _ENC= ${ENC} . endif . endfor . if !defined(_ENC) . error Invalid encoding for WITH_ENCODING . endif .else . if defined(PACKAGE_BUILDING) WITH_ENCODING= all . endif .endif .if ${PORT_OPTIONS:MENCODING} CONFIGURE_ARGS+= --with-codesets=${WITH_ENCODING} .endif # WITH_ENCODING pre-everything:: .ifndef(WITH_ENCODING) @${ECHO_MSG} "==> You can compile in support for additional codeset groups by setting the WITH_ENCODING variable" @${ECHO_MSG} '==> Options are: "jp" common japanese encodings;' @${ECHO_MSG} ' "jp_ext" rarely used but big japanese encodings;' @${ECHO_MSG} ' "kr" korean encodings;' @${ECHO_MSG} ' "zh" common chinese encodings;' @${ECHO_MSG} ' "zh_ext" rarely used but very big chinese encodigs;' @${ECHO_MSG} ' "all" all of the above;' @${ECHO_MSG} '==> For example, "WITH_ENCODING=kr" for korean encodings.' @${ECHO_MSG} .endif post-patch-IMLOCALE_FIX-on: ${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-imlocale cd ${WRKSRC}/src && ./gentables pre-configure: ${REINPLACE_CMD} -e "/rxvt-unicode.terminfo/d" ${WRKSRC}/doc/Makefile.in ${RM} ${WRKSRC}/src/perl/kuake.orig post-build-DOCS-on: ${CP} ${PORTDOCS1:S|^|${WRKSRC}/|} ${WRKSRC}/doc post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .include diff --git a/x11/sbxkb/Makefile b/x11/sbxkb/Makefile index a944a89b44dd..d5ce153e6177 100644 --- a/x11/sbxkb/Makefile +++ b/x11/sbxkb/Makefile @@ -1,23 +1,23 @@ PORTNAME= sbxkb PORTVERSION= 0.7.6 PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= SF/staybox MAINTAINER= ports@FreeBSD.org COMMENT= XKB keyboard layout indicator and switcher WWW= https://sourceforge.net/projects/staybox/ LICENSE= GPLv3 GNU_CONFIGURE= yes LIBS+= -L${LOCALBASE}/lib -lX11 USES= gnome pkgconfig xorg -USE_GNOME= gdkpixbuf2 gdkpixbuf2xlib gtk20 +USE_GNOME= gdkpixbuf gdkpixbufxlib gtk20 USE_XORG= x11 post-patch: # Remove debug flag (-g) from CFLAGS @${REINPLACE_CMD} -e 's,-g$$,,' ${WRKSRC}/Makefile.in .include diff --git a/x11/screen-message/Makefile b/x11/screen-message/Makefile index 7418e1488d8a..12a8168fda22 100644 --- a/x11/screen-message/Makefile +++ b/x11/screen-message/Makefile @@ -1,29 +1,29 @@ PORTNAME= screen-message PORTVERSION= 0.25 PORTREVISION= 3 CATEGORIES= x11 MAINTAINER= mail@dhauck.eu COMMENT= Very simple tool to display some text as large as possible WWW= https://sm.nomeata.de/ LICENSE= GPLv2+ USES= autoreconf gettext-runtime gmake gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= nomeata GH_TAGNAME= 82c01f85d9ca9d0a3b2fe811249808d2fe4703ba GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -USE_GNOME= gtk30 atk glib20 cairo gdkpixbuf2 +USE_GNOME= gtk30 atk glib20 cairo gdkpixbuf PLIST_FILES= bin/sm \ share/man/man6/sm.6.gz \ share/applications/sm.desktop \ share/icons/hicolor/48x48/apps/sm.png MAKE_ARGS= execgamesdir=${PREFIX}/bin .include diff --git a/x11/sfwbar/Makefile b/x11/sfwbar/Makefile index 87efbc915bea..53e3865d42ac 100644 --- a/x11/sfwbar/Makefile +++ b/x11/sfwbar/Makefile @@ -1,71 +1,71 @@ PORTNAME= sfwbar DISTVERSIONPREFIX= v DISTVERSION= 1.0_beta16 CATEGORIES= x11 wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= f101b45ae0ace422052463febe85c19dca8ad2ff.patch:-p1 \ 30db8085d15f6892a175f976e36dd32ec63261ad.patch:-p1 \ 5f460019b79c54ae782ccb661e9f4c1a160246b8.patch:-p1 MAINTAINER= tino.engel@mail.de COMMENT= Flexible taskbar application for wayland compositors WWW= https://github.com/LBCrion/sfwbar LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libjson-c.so:devel/json-c \ libwayland-client.so:graphics/wayland USES= gnome meson pkgconfig python:run USE_GITHUB= yes GH_ACCOUNT= LBCrion -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 MESON_ARGS= -Dbluez=enabled \ -Dbsdctl=enabled \ -Didleinhibit=enabled \ -Diwd=enabled \ -Dnetwork=enabled SUB_FILES= pkg-message OPTIONS_DEFINE= ALSA MPD NM PULSEAUDIO XKB OPTIONS_DEFAULT= ALSA MPD NM PULSEAUDIO XKB OPTIONS_SUB= yes ALSA_DESC= ALSA audio volume control MPD_DESC= Music player daemon control NM_DESC= Network manager module PULSEAUDIO_DESC= Pulse audio volume control XKB_DESC= XkbCommon keyboard layout conversion support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_ENABLED= alsa MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient MPD_MESON_ENABLED= mpd NM_MESON_ENABLED= nm PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_ENABLED= pulse XKB_LIB_DEPENDS= libxkbregistry.so:x11/libxkbcommon XKB_MESON_ENABLED= xkb .include .if ${PORT_OPTIONS:MALSA} || ${PORT_OPTIONS:MPULSEAUDIO} PLIST_SUB+= VOLUME="" .else PLIST_SUB+= VOLUME="@comment " .endif .include diff --git a/x11/sirula/Makefile b/x11/sirula/Makefile index 8c4b231aa094..7f920c1d5eba 100644 --- a/x11/sirula/Makefile +++ b/x11/sirula/Makefile @@ -1,28 +1,28 @@ PORTNAME= sirula DISTVERSIONPREFIX= v DISTVERSION= 1.1.0 PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= ports@FreeBSD.org COMMENT= Simple app launcher for Wayland written in Rust WWW= https://github.com/DorianRudolph/sirula LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= cargo gnome USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 GH_ACCOUNT= DorianRudolph PLIST_FILES= bin/${PORTNAME} post-patch: # Respect PREFIX for system config @${REINPLACE_CMD} -e 's,/usr/share,${DATADIR:H},' \ -e 's,/etc,${PREFIX}&,' \ ${WRKSRC_crate_xdg}/src/lib.rs .include diff --git a/x11/slick-greeter/Makefile b/x11/slick-greeter/Makefile index a57bd3d0a2e7..2239a81657de 100644 --- a/x11/slick-greeter/Makefile +++ b/x11/slick-greeter/Makefile @@ -1,56 +1,56 @@ PORTNAME= slick-greeter PORTVERSION= 2.0.2 PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= ericbsd@FreeBSD.org COMMENT= Slick-looking LightDM greeter WWW= https://github.com/linuxmint/slick-greeter LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ liblightdm-gobject-1.so:x11/lightdm \ libxapp.so:x11/xapp RUN_DEPENDS= numlockx>=0:x11/numlockx USES= autoreconf gettext gmake gnome localbase pkgconfig python:run shebangfix \ vala:build xorg -USE_GNOME= cairo dconf gdkpixbuf2 gtk30 intltool pygobject3 +USE_GNOME= cairo dconf gdkpixbuf gtk30 intltool pygobject3 USE_XORG= pixman x11 xext USE_GITHUB= yes GH_ACCOUNT= linuxmint GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= files/usr/bin/slick-greeter-check-hidpi \ files/usr/bin/slick-greeter-set-keyboard-layout \ files/usr/bin/slick-greeter-enable-tap-to-click \ makepot bash_OLD_CMD= /usr/bin/bash bash_CMD= /bin/sh SUB_FILES= pkg-deinstall pkg-install GLIB_SCHEMAS= x.dm.slick-greeter.gschema.xml post-patch: @${REINPLACE_CMD} -e 's|"/usr|"${PREFIX}|g' \ -e 's|"/etc|"${PREFIX}/etc|g' \ ${WRKSRC}/files/usr/bin/slick-greeter-set-keyboard-layout \ ${WRKSRC}/src/session-list.vala \ ${WRKSRC}/src/settings.vala \ ${WRKSRC}/src/slick-greeter.vala \ ${WRKSRC}/src/user-list.vala @${RM} ${WRKSRC}/files/usr/bin/slick-greeter-set-keyboard-layout.bak @${MKDIR} ${WRKSRC}/files/${PREFIX} @${MV} ${WRKSRC}/files/usr/bin ${WRKSRC}/files/${PREFIX}/bin @${MV} ${WRKSRC}/files/usr/share ${WRKSRC}/files/${PREFIX}/share .include diff --git a/x11/squeekboard/Makefile b/x11/squeekboard/Makefile index 06543bcb646c..7bcbbaec0b3c 100644 --- a/x11/squeekboard/Makefile +++ b/x11/squeekboard/Makefile @@ -1,85 +1,85 @@ PORTNAME= squeekboard DISTVERSIONPREFIX= v DISTVERSION= 1.43.1 PORTREVISION= 4 CATEGORIES= x11 wayland PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= db00c0b4eb73.patch:-p1 # https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/597 MAINTAINER= jbeich@FreeBSD.org COMMENT= On-screen keyboard input method for Wayland WWW= https://gitlab.gnome.org/World/Phosh/squeekboard LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_13_powerpc64= fails to link: ld: error: undefined symbol: eekboard_context_service_get_overlay BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols LIB_DEPENDS= libfeedback-0.0.so:accessibility/feedbackd \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= cargo compiler:c11 gettext-tools gnome meson pkgconfig python:build shebangfix USE_GITLAB= yes -USE_GNOME= cairo gdkpixbuf2 gnomedesktop3 gtk30 +USE_GNOME= cairo gdkpixbuf gnomedesktop3 gtk30 GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World/Phosh SHEBANG_FILES= tools/entry.py MAKE_ENV= ${CARGO_ENV} CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no MESON_ARGS= -Dstrict=false GLIB_SCHEMAS= sm.puri.Squeekboard.gschema.xml PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}-entry \ bin/${PORTNAME}-test-layout \ share/applications/sm.puri.Squeekboard.desktop \ share/locale/be/LC_MESSAGES/${PORTNAME}.mo \ share/locale/bg/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ca/LC_MESSAGES/${PORTNAME}.mo \ share/locale/cs/LC_MESSAGES/${PORTNAME}.mo \ share/locale/de/LC_MESSAGES/${PORTNAME}.mo \ share/locale/el/LC_MESSAGES/${PORTNAME}.mo \ share/locale/es/LC_MESSAGES/${PORTNAME}.mo \ share/locale/eu/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fa/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fi/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fr/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fur/LC_MESSAGES/${PORTNAME}.mo \ share/locale/gl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/he/LC_MESSAGES/${PORTNAME}.mo \ share/locale/hi/LC_MESSAGES/${PORTNAME}.mo \ share/locale/hr/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ht/LC_MESSAGES/${PORTNAME}.mo \ share/locale/hu/LC_MESSAGES/${PORTNAME}.mo \ share/locale/it/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ka/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ko/LC_MESSAGES/${PORTNAME}.mo \ share/locale/nl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/oc/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pt/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pt_BR/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ro/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ru/LC_MESSAGES/${PORTNAME}.mo \ share/locale/sl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/sr/LC_MESSAGES/${PORTNAME}.mo \ share/locale/sv/LC_MESSAGES/${PORTNAME}.mo \ share/locale/tr/LC_MESSAGES/${PORTNAME}.mo \ share/locale/uk/LC_MESSAGES/${PORTNAME}.mo \ share/locale/zh_CN/LC_MESSAGES/${PORTNAME}.mo \ ${NULL} post-patch: # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e '/^cargo/s/"$$@"/--verbose --verbose &/' \ ${WRKSRC}/cargo.sh # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254091 @${REINPLACE_CMD} -e "/sed/s/'-i',/& '',/" \ ${WRKSRC}/meson.build .include diff --git a/x11/swaybg/Makefile b/x11/swaybg/Makefile index 929ed8f450f0..9fbbafe60559 100644 --- a/x11/swaybg/Makefile +++ b/x11/swaybg/Makefile @@ -1,38 +1,38 @@ PORTNAME= swaybg DISTVERSIONPREFIX= v DISTVERSION= 1.2.1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wallpaper tool for Wayland compositors WWW= https://github.com/swaywm/swaybg LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.26:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c11 gnome meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= swaywm USE_GNOME= cairo PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= MANPAGES PIXBUF OPTIONS_DEFAULT=MANPAGES PIXBUF MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz -PIXBUF_USE= GNOME=gdkpixbuf2 +PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_MESON_ENABLED= gdk-pixbuf post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/x11/swaylock/Makefile b/x11/swaylock/Makefile index d96c11c8c669..e4bfedd5a394 100644 --- a/x11/swaylock/Makefile +++ b/x11/swaylock/Makefile @@ -1,51 +1,51 @@ PORTNAME= swaylock DISTVERSIONPREFIX?= v DISTVERSION?= 1.8.0 PORTREVISION?= 0 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT?= Screen locker for Wayland WWW?= https://github.com/swaywm/swaylock LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.25:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper CONFLICTS_INSTALL= ${PORTNAME}-* USES= compiler:c11 cpe gnome meson pkgconfig USE_GITHUB= yes GH_ACCOUNT?= swaywm CPE_VENDOR= swaywm USE_GNOME= cairo pango PLIST_FILES= bin/${PORTNAME} \ etc/pam.d/${PORTNAME} \ share/bash-completion/completions/${PORTNAME} \ share/fish/vendor_completions.d/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} OPTIONS_DEFINE= MANPAGES PIXBUF OPTIONS_DEFAULT=MANPAGES PIXBUF MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz -PIXBUF_USE= GNOME=gdkpixbuf2 +PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_MESON_ENABLED= gdk-pixbuf post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e "s/meson.project_version()/'${DISTVERSIONFULL}'/" \ ${WRKSRC}/meson.build # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275328 @${REINPLACE_CMD} -e 's/_POSIX_C_SOURCE 200809L/_XOPEN_SOURCE 700/' \ ${WRKSRC}/main.c .include diff --git a/x11/swaync/Makefile b/x11/swaync/Makefile index a3e2e92f2847..b6c5531bdcd8 100644 --- a/x11/swaync/Makefile +++ b/x11/swaync/Makefile @@ -1,58 +1,58 @@ PORTNAME= swaync DISTVERSIONPREFIX= v PORTVERSION= 0.10.1 PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple Wayland notification daemon with GTK panel WWW= https://github.com/ErikReider/SwayNotificationCenter LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= sassc:textproc/sassc LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee \ libgranite.so:x11-toolkits/granite \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libhandy-1.so:x11-toolkits/libhandy USES= compiler:c11 gnome meson pkgconfig \ python:build shebangfix vala:build USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk30 introspection:build GH_ACCOUNT= ErikReider GH_PROJECT= SwayNotificationCenter SHEBANG_FILES= build-aux/meson/postinstall.py GLIB_SCHEMAS= org.erikreider.swaync.gschema.xml OPTIONS_DEFINE= MANPAGES PULSEAUDIO OPTIONS_DEFAULT=MANPAGES PULSEAUDIO MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_TRUE= man-pages MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ share/man/man1/${PORTNAME}-client.1.gz \ share/man/man5/${PORTNAME}.5.gz PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= pulse-audio post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/src/meson.build # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \ -e "/output.*json/s/'[^']*/&.sample/" \ ${WRKSRC}/src/meson.build @${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \ -e "/output.*css/s/'[^']*/&.sample/" \ ${WRKSRC}/data/meson.build # Respect PREFIX in manpages @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/man/${PORTNAME}.1.scd .include diff --git a/x11/swaysettings/Makefile b/x11/swaysettings/Makefile index a3acb8fa31f4..981d5ce2b607 100644 --- a/x11/swaysettings/Makefile +++ b/x11/swaysettings/Makefile @@ -1,49 +1,49 @@ PORTNAME= swaysettings DISTVERSIONPREFIX= v DISTVERSION= 0.5.0 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org COMMENT= GUI for setting Sway wallpaper, default apps, GTK themes, etc. WWW= https://github.com/ErikReider/SwaySettings LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= blueprint-compiler:devel/blueprint-compiler LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee \ libgtop-2.0.so:devel/libgtop \ libaccountsservice.so:sysutils/accountsservice \ libudisks2.so:sysutils/libudisks \ libgtk4-layer-shell.so:x11-toolkits/gtk4-layer-shell USES= compiler:c11 gettext gnome meson pkgconfig \ python:build shebangfix vala:build USE_GITHUB= yes -USE_GNOME= gdkpixbuf2 gtk40 libadwaita libxml2 +USE_GNOME= gdkpixbuf gtk40 libadwaita libxml2 GH_ACCOUNT= ErikReider GH_PROJECT= SwaySettings SHEBANG_FILES= build-aux/meson/postinstall.py GLIB_SCHEMAS= org.erikreider.swaysettings.gschema.xml post-patch: # Respect PREFIX for images and XKB layouts @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/Settings/Page/InputPage.vala \ ${WRKSRC}/src/Settings/Pages/Background/BackgroundPage.vala \ ${WRKSRC}/src/Settings/Pages/Users/Users.vala # Drop unused dependency @${REINPLACE_CMD} -e 's/granite-7/gio-unix-2.0/' \ ${WRKSRC}/src/meson.build # Disable Linux-only bluez and rfkill @${REINPLACE_CMD} -e '/Bluetooth/d; /Rfkill/d' \ ${WRKSRC}/src/Settings/meson.build \ ${WRKSRC}/src/Settings/Pages/meson.build \ ${WRKSRC}/data/swaysettings.gresource.xml @${REINPLACE_CMD} -e '/bluetooth-symbolic/d' \ -e 's/new BluetoothPage.*/null;/' \ ${WRKSRC}/src/Settings/Window/Window.vala .include diff --git a/x11/tilda/Makefile b/x11/tilda/Makefile index 8a89ea1e1a69..83d7473574ac 100644 --- a/x11/tilda/Makefile +++ b/x11/tilda/Makefile @@ -1,45 +1,45 @@ PORTNAME= tilda PORTVERSION= 2.0.0 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= x11 MAINTAINER= rodrigo@FreeBSD.org COMMENT= Drop down x11 terminal with transparency support WWW= https://github.com/lanoxx/tilda LICENSE= GPLv2 BUILD_DEPENDS= vte3>=0:x11-toolkits/vte3 LIB_DEPENDS= libconfuse.so:devel/libconfuse RUN_DEPENDS= vte3>=0:x11-toolkits/vte3 USES= gmake gettext gnome pkgconfig autoreconf pathfix libtool xorg USE_GITHUB= yes GH_ACCOUNT= lanoxx -USE_GNOME+= glib20 gtk30 gdkpixbuf2 pango +USE_GNOME+= glib20 gtk30 gdkpixbuf pango USE_XORG+= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-rpath INSTALL_TARGET= install-strip DOCS= AUTHORS ChangeLog HACKING.md README.md TODO.md OPTIONS_DEFINE= DOCS post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor @${ECHO_MSG} "" @${ECHO_MSG} "" @${ECHO_MSG} " ATTENTION:" @${ECHO_MSG} " If you are upgrade from version 0.09.1 or below," @${ECHO_MSG} " you'll need to delete your old config files and " @${ECHO_MSG} " make them again." @${ECHO_MSG} "" @${ECHO_MSG} "" .include diff --git a/x11/tilix/Makefile b/x11/tilix/Makefile index 94f88dff6ef7..aaa45a20042d 100644 --- a/x11/tilix/Makefile +++ b/x11/tilix/Makefile @@ -1,30 +1,30 @@ PORTNAME= tilix PORTVERSION= 1.9.6 PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= romain@FreeBSD.org COMMENT= Tiling terminal emulator using GTK 3 WWW= https://gnunn1.github.io/tilix-web/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cmake:devel/cmake-core \ po4a-translate:textproc/po4a \ ${LOCALBASE}/libdata/pkgconfig/undead.pc:devel/undead \ ${LOCALBASE}/libdata/pkgconfig/vted-3.pc:x11-toolkits/gtkd LIB_DEPENDS= libdruntime-ldc-shared.so:lang/ldc \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libunwind.so:devel/libunwind USES= desktop-file-utils gettext gnome meson pkgconfig shebangfix USE_GITHUB= yes GH_ACCOUNT= gnunn1 -USE_GNOME= cairo gdkpixbuf2 librsvg2 vte3 +USE_GNOME= cairo gdkpixbuf librsvg2 vte3 USE_XORG= x11 GLIB_SCHEMAS= com.gexperts.Tilix.gschema.xml SHEBANG_FILES= data/scripts/tilix_int.sh .include diff --git a/x11/trayer/Makefile b/x11/trayer/Makefile index 3e2ced0b0043..709b39efcabb 100644 --- a/x11/trayer/Makefile +++ b/x11/trayer/Makefile @@ -1,37 +1,37 @@ PORTNAME= trayer PORTVERSION= 1.1.8 DISTVERSIONPREFIX= ${PORTNAME}- PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= madpilot@FreeBSD.org COMMENT= Lightweight GTK2-based systray for UNIX desktop WWW= https://github.com/sargon/trayer-srg LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= iconv gmake gnome pkgconfig xorg -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango USE_GITHUB= yes USE_XORG= x11 xmu HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" GH_ACCOUNT= sargon GH_PROJECT= ${PORTNAME}-srg PORTDOCS= README CREDITS CHANGELOG PLIST_FILES= bin/trayer share/man/man1/trayer.1.gz OPTIONS_DEFINE= DOCS post-install: ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/x11/wapanel/Makefile b/x11/wapanel/Makefile index 97810d0d7368..74a4849076d9 100644 --- a/x11/wapanel/Makefile +++ b/x11/wapanel/Makefile @@ -1,39 +1,39 @@ PORTNAME= wapanel DISTVERSION= 1.1.0 PORTREVISION= 7 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Desktop bar for Wayfire and other wlroots compositors WWW= https://firstbober.github.io/wapanel/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= https://github.com/Firstbober/wapanel/issues/39 BUILD_DEPENDS= toml11>0:devel/toml11 \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes -USE_GNOME= gdkpixbuf2 gtk30 +USE_GNOME= gdkpixbuf gtk30 GH_ACCOUNT= Firstbober MESON_ARGS= -Dsystem_toml11=true OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= volume-control post-patch: # Respect PREFIX for *.desktop @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/applets/task-switcher/task_switcher.cc \ ${WRKSRC}/thirdparty/xdgpp/xdg.hpp .include diff --git a/x11/wcm/Makefile b/x11/wcm/Makefile index 062e36269574..4077d80c1c63 100644 --- a/x11/wcm/Makefile +++ b/x11/wcm/Makefile @@ -1,41 +1,41 @@ PORTNAME= wcm DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayfire Config Manager WWW= https://wayfire.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ wayfire>0:x11-wm/wayfire LIB_DEPENDS= libevdev.so:devel/libevdev \ libwf-config.so:devel/wf-config \ libwayland-client.so:graphics/wayland RUN_DEPENDS= wayfire>0:x11-wm/wayfire CONFLICTS_INSTALL= wcmcommander # bin/wcm USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes -USE_GNOME= gdkpixbuf2 gtk30 libxml2 +USE_GNOME= gdkpixbuf gtk30 libxml2 GH_ACCOUNT= WayfireWM MESON_ARGS= -Denable_wdisplays=false # use package DATADIR= ${PREFIX}/share/wayfire OPTIONS_DEFINE= WDISPLAYS WFSHELL OPTIONS_DEFAULT=WDISPLAYS WFSHELL OPTIONS_SUB= yes WDISPLAYS_DESC= Configure outputs via wdisplays WDISPLAYS_RUN_DEPENDS= wdisplays>0:x11/wdisplays WFSHELL_DESC= Build with wf-shell support WFSHELL_BUILD_DEPENDS= wf-shell>0:x11/wf-shell WFSHELL_MESON_ENABLED= wf_shell .include diff --git a/x11/wmdrawer/Makefile b/x11/wmdrawer/Makefile index 56afd5e66e9b..6b31131875bc 100644 --- a/x11/wmdrawer/Makefile +++ b/x11/wmdrawer/Makefile @@ -1,55 +1,55 @@ PORTNAME= wmdrawer PORTVERSION= 0.10.5 PORTREVISION= 14 CATEGORIES= x11 windowmaker MASTER_SITES= http://people.easter-eggs.org/~valos/wmdrawer/ \ http://www.sourcefiles.org/Utilities/Desktops/ MAINTAINER= xride@FreeBSD.org COMMENT= Dockapp which provides a drawer to launch applications WWW= http://people.easter-eggs.org/~valos/wmdrawer/ LICENSE= GPLv2+ USES= gmake gnome pkgconfig xorg -USE_GNOME= gdkpixbuf2 gdkpixbuf2xlib +USE_GNOME= gdkpixbuf gdkpixbufxlib USE_XORG= x11 xext xi MAKE_ARGS= MANDIR=$(PREFIX)/share/man/man1 MAKE_ENV= USE_GDKPIXBUF2=1 SUB_FILES= pkg-message PORTDOCS= AUTHORS ChangeLog INSTALL README TODO wmdrawerrc.example PLIST_FILES= bin/wmdrawer share/man/man1/wmdrawer.1x.gz %%DATADIR%%/beastie.png OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|/usr/local|${LOCALBASE}| ; \ s|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/wmdrawerrc.example @${REINPLACE_CMD} -e \ 's|^\(CC\)|#\1| ; \ s|^\(DESTDIR\)|#\1| ; \ s|^\(PREFIX\)|#\1| ; \ s|^\(USE_\)|#\1| ; \ s|^\(CFLAGS\) = -O3|\1 +=| ; \ s|^\(LDFLAGS\) =|\1 +=| ; \ s|/usr/X11R6|$${LOCALBASE}| ; \ s|strip|true| ; \ s|$$(INSTALL) -m 755|$${BSD_INSTALL_PROGRAM}| ; \ s|$$(INSTALL) -m 644|$${BSD_INSTALL_DATA}| ; \ s|COPYING|| ; \ /INSTALL/s| \($$(PREFIX)\)| $$(DESTDIR)\1| ; \ /INSTALL/s| \($$(MANDIR)\)| $$(DESTDIR)\1| ; \ /INSTALL/s| \($$(DOCDIR)\)| $$(DESTDIR)\1|' ${WRKSRC}/Makefile post-build: @(cd ${WRKDIR} && uudecode ${FILESDIR}/logo-beastie.png.uue) post-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKDIR} && ${INSTALL_DATA} logo-beastie.png \ ${STAGEDIR}${DATADIR}/beastie.png) .include diff --git a/x11/wofi/Makefile b/x11/wofi/Makefile index bdef83f5909c..f6981b93f56a 100644 --- a/x11/wofi/Makefile +++ b/x11/wofi/Makefile @@ -1,28 +1,28 @@ PORTNAME= wofi DISTVERSIONPREFIX= v DISTVERSION= 1.4.1 CATEGORIES= x11 wayland MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= ports@FreeBSD.org COMMENT= Launcher/menu program for wlroots-based compositors WWW= https://hg.sr.ht/~scoopta/wofi LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.md LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= gnome meson pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 post-patch: @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/man/${PORTNAME}.7 \ ${WRKSRC}/modes/drun.c # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nohg -e 's/hg.found()/false/' \ -e "s/' + version + '/${DISTVERSIONFULL}/" \ ${WRKSRC}/meson.build .include diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile index 3bf8e925bcae..3385ca7eb979 100644 --- a/x11/workrave/Makefile +++ b/x11/workrave/Makefile @@ -1,80 +1,80 @@ PORTNAME= workrave PORTVERSION= 1.10.50 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= https://github.com/rcaelers/workrave/releases/download/v${PORTVERSION:S/./_/g}/ MAINTAINER= cyberbotx@cyberbotx.com COMMENT= RSI prevention tool (${FLAVOR} flavor) WWW= https://www.workrave.org/ LICENSE= GPLv3+ LIB_DEPENDS= libgdome.so:textproc/gdome2 \ libharfbuzz.so:print/harfbuzz FLAVORS= default xfce FLAVOR?= ${FLAVORS:[1]} xfce_PKGNAMESUFFIX= -xfce xfce_DESCR= ${.CURDIR}/pkg-descr.xfce xfce_CONFLICTS_INSTALL= workrave default_CONFLICTS_INSTALL= workrave-xfce USES= compiler:c++11-lang desktop-file-utils gmake gnome libtool \ localbase pkgconfig xorg .if ${FLAVOR} == xfce CATEGORIES+= xfce USES+= xfce USE_XFCE= libutil panel # Easier than using *_SUB since there's no flavor helper for that. PLIST_FILES= lib/xfce4/panel/plugins/libworkrave-plugin.a \ lib/xfce4/panel/plugins/libworkrave-plugin.so \ share/xfce4/panel/plugins/workrave-xfce-applet.desktop .endif USE_CXXSTD= c++11 -USE_GNOME= gdkpixbuf2 gtkmm30 intlhack intltool introspection:build +USE_GNOME= gdkpixbuf gtkmm30 intlhack intltool introspection:build USE_LDCONFIG= yes USE_XORG= ice sm x11 xext xmu xorgproto xscrnsaver xtst GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gconf \ --disable-gnome3 \ --disable-gsettings \ --disable-indicator \ --disable-mate \ --disable-pulse .if ${FLAVOR} != xfce CONFIGURE_ARGS+= --disable-xfce .endif INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DBUS DISTRIBUTION GSTREAMER NLS OPTIONS_DEFAULT= DBUS GSTREAMER OPTIONS_SUB= yes DISTRIBUTION_DESC= Build with networking support DBUS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ boost-libs>0:devel/boost-libs DBUS_USES= python:build DBUS_CONFIGURE_ENABLE= dbus DISTRIBUTION_CONFIGURE_ENABLE= distribution GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=good GSTREAMER_CONFIGURE_ENABLE= gstreamer NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls # Upstream recommends editing that file to add or remove exercises, # hence treat it like a config file. post-stage: ${MV} ${STAGEDIR}${DATADIR}/exercises/exercises.xml \ ${STAGEDIR}${DATADIR}/exercises/exercises.xml.sample .include diff --git a/x11/wscreensaver/Makefile b/x11/wscreensaver/Makefile index 3c571c07411a..7d179b8fb3f5 100644 --- a/x11/wscreensaver/Makefile +++ b/x11/wscreensaver/Makefile @@ -1,36 +1,36 @@ PORTNAME= wscreensaver DISTVERSION= s20231227 DISTVERSIONSUFFIX= -0-g2155bb8f CATEGORIES= x11 wayland MASTER_SITES= https://git.sr.ht/~mstoeckl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Fork of xscreensaver to draw animated wallpapers on Wayland WWW= https://sr.ht/~mstoeckl/wscreensaver/ LICENSE= MIT LIB_DEPENDS= libwayland-egl.so:graphics/wayland USES= gl gnome meson perl5 pkgconfig USE_GL= egl glesv2 glu -USE_GNOME= gdkpixbuf2 +USE_GNOME= gdkpixbuf USE_PERL5= build # pre-build (bin2c) WRKSRC_SUBDIR= wayland CFLAGS+= -Wno-incompatible-function-pointer-types # clang LDFLAGS+= -lpthread # XXX dependency('threads') post-patch: # Skip configure @${SED} '/@SET_MAKE@/d; s,@srcdir@,.,; s,@top_srcdir@,../..,' \ ${WRKSRC:H}/hacks/images/Makefile.in \ >${WRKSRC:H}/hacks/images/Makefile # Disambiguate shell completions @${REINPLACE_CMD} -e "s/'xscreensaver-'/'${PORTNAME}-'/" \ ${WRKSRC}/meson.build pre-build: # Meson doesn't generate *_png.h yet @${SETENV} ${MAKE_ENV} ${BSDMAKE} -C ${WRKSRC:H}/hacks/images .include diff --git a/x11/xapp/Makefile b/x11/xapp/Makefile index c634fdee5ead..cea1e537bb49 100644 --- a/x11/xapp/Makefile +++ b/x11/xapp/Makefile @@ -1,38 +1,38 @@ PORTNAME= xapp PORTVERSION= 2.8.2 PORTREVISION= 1 CATEGORIES= x11 gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Cross-desktop libraries and common resources WWW= https://github.com/linuxmint/xapp LICENSE= LGPL3 LICENSE_FILE?= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libdbusmenu-gtk3.so:devel/libdbusmenu RUN_DEPENDS= bash:shells/bash USES= gettext-tools gnome meson pkgconfig python shebangfix vala:build xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint -USE_GNOME= cairo gdkpixbuf2 glib20 gtk-update-icon-cache gtk30 \ +USE_GNOME= cairo gdkpixbuf glib20 gtk-update-icon-cache gtk30 \ intltool introspection:build libgnomekbd pygobject3 USE_LDCONFIG= yes USE_XORG= x11 GLIB_SCHEMAS= org.x.apps.gschema.xml SHEBANG_FILES= data libxapp meson-scripts schemas scripts status-applets \ test-scripts PLIST_SUB+= LIBVERSION=${PORTVERSION} PORTSCOUT= limit:^[0-9.]+$$ # ignore master.mint* tags OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc DOCS_MESON_ON= -Ddocs=true .include diff --git a/x11/xclicker/Makefile b/x11/xclicker/Makefile index 7d5214a92f6b..15e231dcb466 100644 --- a/x11/xclicker/Makefile +++ b/x11/xclicker/Makefile @@ -1,31 +1,31 @@ PORTNAME= xclicker DISTVERSIONPREFIX= v DISTVERSION= 1.5.1 CATEGORIES= x11 MAINTAINER= nxjoseph@protonmail.com COMMENT= Fast gui autoclicker for x11 desktops WWW= https://github.com/robiot/xclicker LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= desktop-file-utils gnome meson motif pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= robiot -USE_GNOME+= gdkpixbuf2 glib20 gtk30 +USE_GNOME+= gdkpixbuf glib20 gtk30 USE_XORG+= x11 xi xtst PLIST_FILES= bin/xclicker \ share/applications/xclicker.desktop \ share/pixmaps/xclicker.png do-install: ${INSTALL_PROGRAM} ${WRKSRC}/_build/src/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${PATCHDIR}/${PORTNAME}.desktop \ ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}.desktop ${INSTALL_DATA} ${WRKSRC}/assets/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include diff --git a/x11/xdg-desktop-portal-gnome/Makefile b/x11/xdg-desktop-portal-gnome/Makefile index 8af9ba3a078d..333af90e3f5f 100644 --- a/x11/xdg-desktop-portal-gnome/Makefile +++ b/x11/xdg-desktop-portal-gnome/Makefile @@ -1,35 +1,35 @@ PORTNAME= xdg-desktop-portal-gnome DISTVERSION= 43.1 CATEGORIES= x11 gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= tagattie@FreeBSD.org COMMENT= Backend implementation for xdg-desktop-portal for GNOME WWW= https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \ xdg-desktop-portal-gtk>0:x11/xdg-desktop-portal-gtk LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libgnome-desktop-4.so:x11/gnome-desktop RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \ xdg-desktop-portal-gtk>0:x11/xdg-desktop-portal-gtk USES= gettext-tools gnome meson pkgconfig tar:xz xorg USE_XORG= x11 -USE_GNOME= cairo gdkpixbuf2 glib20 gtk40 libadwaita +USE_GNOME= cairo gdkpixbuf glib20 gtk40 libadwaita GLIB_SCHEMAS= xdg-desktop-portal-gnome.gschema.xml PORTDOCS= NEWS README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/xdg-desktop-portal-gtk/Makefile b/x11/xdg-desktop-portal-gtk/Makefile index 94cc5cab457f..235e4d207351 100644 --- a/x11/xdg-desktop-portal-gtk/Makefile +++ b/x11/xdg-desktop-portal-gtk/Makefile @@ -1,24 +1,24 @@ PORTNAME= xdg-desktop-portal-gtk DISTVERSION= 1.15.2 PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= yuri@FreeBSD.org COMMENT= Gtk implementation of xdg-desktop-portal WWW= https://github.com/flatpak/xdg-desktop-portal-gtk LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal USES= desktop-file-utils gettext gnome meson pkgconfig -USE_GNOME= cairo gdkpixbuf2 gtk30 gnomedesktop3 +USE_GNOME= cairo gdkpixbuf gtk30 gnomedesktop3 USE_GITHUB= yes GH_ACCOUNT= flatpak .include diff --git a/x11/xdialog/Makefile b/x11/xdialog/Makefile index a6535a8af624..b3490ec670f1 100644 --- a/x11/xdialog/Makefile +++ b/x11/xdialog/Makefile @@ -1,51 +1,51 @@ PORTNAME= xdialog PORTVERSION= 2.3.1 PORTREVISION= 11 CATEGORIES= x11 MASTER_SITES= http://xdialog.free.fr/ DISTNAME= ${PORTNAME:S/x/X/}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Drop in replacement for the "dialog" or "cdialog" programs WWW= http://xdialog.free.fr/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig LIB_DEPENDS+= libfreetype.so:print/freetype2 USES= gnome localbase pkgconfig tar:bzip2 -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-gtk2 OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|m4 lib src|m4 src|g ; \ s|-I../lib||g ; \ s|-L../lib -lgetopt||g ; \ s| install-docDATA||g' @${REINPLACE_CMD} -e 's,Xdialog\\-%%version%%,xdialog,' \ ${WRKSRC}/doc/Xdialog.man post-install: @${MKDIR} ${STAGEDIR}${DATADIR}${DESKTOPDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps ${INSTALL_DATA} ${PATCHDIR}/bsdconfig.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${PATCHDIR}/bsdconfig-48.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/bsdconfig.png post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/samples ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${DOCSDIR}/samples .include diff --git a/x11/xfce4-appmenu-plugin/Makefile b/x11/xfce4-appmenu-plugin/Makefile index 19a6df4744db..e911a45d4f12 100644 --- a/x11/xfce4-appmenu-plugin/Makefile +++ b/x11/xfce4-appmenu-plugin/Makefile @@ -1,38 +1,38 @@ PORTNAME= xfce4-appmenu-plugin DISTVERSION= 0.7.6 PORTREVISION= 3 CATEGORIES= x11 PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= 442bcebcc00e.patch:-p1 # meson >= 0.60 MAINTAINER= ericbsd@FreeBSD.org COMMENT= Application Menu plugin for XFCE panel WWW= https://gitlab.com/vala-panel-project/vala-panel-appmenu LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libbamf3.so:sysutils/bamf RUN_DEPENDS= appmenu-registrar>=0:x11/appmenu-registrar \ appmenu-gtk-module>=0:x11/gtk-app-menu USES= meson gnome xfce pkgconfig gettext vala:build MESON_ARGS= -Dvalapanel=disabled \ -Dxfce=enabled \ -Dmate=disabled \ -Dbudgie=disabled \ -Djayatana=disabled \ -Dregistrar=disabled \ -Dappmenu-gtk-module=disabled USE_XFCE= panel xfconf -USE_GNOME= gtk30 glib20 gtk20 gdkpixbuf2 +USE_GNOME= gtk30 glib20 gtk20 gdkpixbuf USE_GITLAB= yes GL_ACCOUNT= vala-panel-project GL_PROJECT= vala-panel-appmenu GL_TAGNAME= 4e362c22ab3a23c98f13fb379c782786ee057cf6 .include diff --git a/x11/xfce4-clipman-plugin/Makefile b/x11/xfce4-clipman-plugin/Makefile index 83f2d350b43f..db856729d340 100644 --- a/x11/xfce4-clipman-plugin/Makefile +++ b/x11/xfce4-clipman-plugin/Makefile @@ -1,40 +1,40 @@ PORTNAME= xfce4-clipman-plugin PORTVERSION= 1.6.7 CATEGORIES= x11 xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Clipboard manager for the Xfce panel WWW= https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/start LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libmenu panel xfconf USE_XORG= ice sm x11 xorgproto xtst GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS QRCODE WAYLAND OPTIONS_DEFAULT=WAYLAND OPTIONS_SUB= yes QRCODE_DESC= QR Code support NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls QRCODE_LIB_DEPENDS= libqrencode.so:graphics/libqrencode QRCODE_CONFIGURE_ENABLE=libqrencode WAYLAND_CATEGORIES= wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE=wayland .include diff --git a/x11/xfce4-dashboard/Makefile b/x11/xfce4-dashboard/Makefile index 2d68ba977de4..6463bfff08f6 100644 --- a/x11/xfce4-dashboard/Makefile +++ b/x11/xfce4-dashboard/Makefile @@ -1,38 +1,38 @@ PORTNAME= dashboard PORTVERSION= 1.0.0 PORTREVISION= 3 CATEGORIES= x11 xfce MASTER_SITES= XFCE/apps PKGNAMEPREFIX= xfce4- DISTNAME= xfdashboard-${DISTVERSIONFULL} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= GNOME shell like dashboard for the Xfce desktop WWW= https://docs.xfce.org/apps/xfdashboard/start LICENSE= GPLv2 LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib USES= compiler:c11 gettext-tools gl gmake gnome libtool localbase \ pathfix perl5 pkgconfig tar:bzip2 xfce xorg USE_GL= egl -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool libwnck3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libwnck3 USE_LDCONFIG= yes USE_XFCE= garcon xfconf USE_XORG= x11 xcomposite xdamage xext xfixes xi xinerama xrandr GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11/xfce4-docklike-plugin/Makefile b/x11/xfce4-docklike-plugin/Makefile index 5b3883b6cea0..5bfe45799127 100644 --- a/x11/xfce4-docklike-plugin/Makefile +++ b/x11/xfce4-docklike-plugin/Makefile @@ -1,31 +1,31 @@ PORTNAME= xfce4-docklike-plugin PORTVERSION= 0.4.3 CATEGORIES= x11 xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= bsd@quentb.com COMMENT= Modern, minimalist taskbar for Xfce WWW= https://gitlab.xfce.org/panel-plugins/xfce4-docklike-plugin LICENSE= GPLv3 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= gettext-tools gmake gnome libtool pkgconfig tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= libmenu panel windowing USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11/xfce4-screensaver/Makefile b/x11/xfce4-screensaver/Makefile index 44028a43358c..571a5a031ffd 100644 --- a/x11/xfce4-screensaver/Makefile +++ b/x11/xfce4-screensaver/Makefile @@ -1,67 +1,67 @@ PORTNAME= xfce4-screensaver PORTVERSION= 4.18.4 PORTREVISION= 1 CATEGORIES= x11 xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce 4 screen saver and locker WWW= https://git.xfce.org/apps/xfce4-screensaver/about/ LICENSE= GPLv2 LGPL20 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= xdt-csource:devel/xfce4-dev-tools LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libharfbuzz.so:print/harfbuzz \ libxklavier.so:x11/libxklavier USES= compiler:c11 gettext-tools gl gmake gnome pkgconfig python \ shebangfix tar:bzip2 xfce xorg USE_GL= gl -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool libwnck3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libwnck3 USE_XFCE= garcon xfconf USE_XORG= ice sm x11 xext xrandr xscrnsaver xxf86vm SHEBANG_FILES= src/xfce4-screensaver-configure.py GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-maintainer-mode \ --with-console-kit=yes \ --with-systemd=no SCREENSAVER_DIR= share/applications/screensavers OPTIONS_DEFINE= NLS PAM OPTIONS_DEFAULT= PAM OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls PAM_RUN_DEPENDS= pam_helper:security/pam_helper PAM_CONFIGURE_ON= --enable-authentication-scheme=helper \ --with-passwd-helper=${LOCALBASE}/bin/pam_helper PAM_CONFIGURE_OFF= --disable-pam .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug=yes .endif post-patch-PAM-on: @${REINPLACE_CMD} -e 's|/etc/pam.d|${PREFIX}/etc/pam.d|g' \ ${WRKSRC}/src/gs-auth-pam.c post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${SCREENSAVER_DIR} @${REINPLACE_CMD} 's/^\(Name[^=]*=\)\(.*\)/\1XFCE \2/' ${STAGEDIR}${PREFIX}/etc/xdg/autostart/xfce4-screensaver.desktop post-install-PAM-on: ${INSTALL_DATA} ${FILESDIR}/xfce4-screensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xfce4-screensaver.sample .include diff --git a/x11/xfce4-screenshooter-plugin/Makefile b/x11/xfce4-screenshooter-plugin/Makefile index a3547c333996..37ed0c80398d 100644 --- a/x11/xfce4-screenshooter-plugin/Makefile +++ b/x11/xfce4-screenshooter-plugin/Makefile @@ -1,49 +1,49 @@ PORTNAME= xfce4-screenshooter-plugin PORTVERSION= 1.11.1 PORTREVISION= 1 CATEGORIES= x11 xfce MASTER_SITES= XFCE/apps DISTNAME= xfce4-screenshooter-${DISTVERSIONFULL} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Application and panel plugin to take screenshots WWW= https://goodies.xfce.org/projects/applications/xfce4-screenshooter LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce xorg USE_CSTD= c99 -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 USE_XFCE= libexo libmenu panel xfconf USE_XORG= ice sm x11 xext xfixes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= IMGUR NLS WAYLAND OPTIONS_DEFAULT= IMGUR WAYLAND OPTIONS_SUB= yes IMGUR_DESC= Install imgur image upload custom action IMGUR_RUN_DEPENDS= curl:ftp/curl \ jq:textproc/jq \ xclip:x11/xclip \ zenity:x11/zenity NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland post-patch-IMGUR-off: @${REINPLACE_CMD} '/imgur_custom_action_added = xfconf_channel_get_bool/s/FALSE/TRUE/' \ ${WRKSRC}/lib/screenshooter-custom-actions.c .include diff --git a/x11/xfce4-taskmanager/Makefile b/x11/xfce4-taskmanager/Makefile index 700f4fc54d4a..720cf0ae5f58 100644 --- a/x11/xfce4-taskmanager/Makefile +++ b/x11/xfce4-taskmanager/Makefile @@ -1,34 +1,34 @@ PORTNAME= xfce4-taskmanager PORTVERSION= 1.5.8 CATEGORIES= x11 xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Task manager for the Xfce desktop WWW= https://goodies.xfce.org/projects/applications/xfce4-taskmanager LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= gettext-tools gmake gnome localbase pkgconfig tar:bzip2 xfce \ xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libwnck3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3 USE_XFCE= libmenu xfconf USE_XORG= ice sm x11 xmu xt GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gksu \ --disable-silent-rules \ --enable-wnck3 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11/xfce4-terminal/Makefile b/x11/xfce4-terminal/Makefile index da8180a91cc0..0a2b576cccc1 100644 --- a/x11/xfce4-terminal/Makefile +++ b/x11/xfce4-terminal/Makefile @@ -1,32 +1,32 @@ PORTNAME= xfce4-terminal PORTVERSION= 1.1.4 CATEGORIES= x11 xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Terminal emulator for the X windowing system WWW= https://docs.xfce.org/apps/xfce4-terminal/start LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpcre2-8.so:devel/pcre2 USES= compiler:c11 gettext-tools gmake gnome pkgconfig tar:bzip2 xfce \ xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 vte3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 vte3 USE_XFCE= libmenu xfconf USE_XORG= ice sm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-utempter INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11/xfce4-verve-plugin/Makefile b/x11/xfce4-verve-plugin/Makefile index 49b7f335348e..f8d962532bd9 100644 --- a/x11/xfce4-verve-plugin/Makefile +++ b/x11/xfce4-verve-plugin/Makefile @@ -1,33 +1,33 @@ PORTNAME= verve-plugin PORTVERSION= 2.0.4 CATEGORIES= x11 xfce MASTER_SITES= XFCE/panel-plugins PKGNAMEPREFIX= xfce4- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${DISTVERSIONFULL} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Command line plugin for the Xfce Desktop WWW= https://docs.xfce.org/panel-plugins/xfce4-verve-plugin/start LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libpcre2-8.so:devel/pcre2 USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \ tar:bzip2 xfce -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango +USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 pango USE_XFCE= libmenu panel GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-dbus INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11/xfce4-whiskermenu-plugin/Makefile b/x11/xfce4-whiskermenu-plugin/Makefile index 8ae21e64aeb7..9d87cecd3fba 100644 --- a/x11/xfce4-whiskermenu-plugin/Makefile +++ b/x11/xfce4-whiskermenu-plugin/Makefile @@ -1,41 +1,41 @@ PORTNAME= xfce4-whiskermenu-plugin PORTVERSION= 2.9.2 CATEGORIES= x11 xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Alternate menu for the Xfce Desktop WWW= https://docs.xfce.org/panel-plugins/xfce4-whiskermenu-plugin LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++14-lang gettext-tools gnome localbase \ pkgconfig tar:bzip2 xfce -USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf gtk30 USE_XFCE= garcon libexo panel xfconf OPTIONS_DEFINE= ACCOUNTS_SERVICE LTO MENULIBRE NLS WAYLAND OPTIONS_DEFAULT= ACCOUNTS_SERVICE LTO MENULIBRE WAYLAND OPTIONS_SUB= yes ACCOUNTS_SERVICE_DESC= Enable AccountsService support MENULIBRE_DESC= Depend at runtime on x11/menulibre ACCOUNTS_SERVICE_LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice ACCOUNTS_SERVICE_CMAKE_BOOL= ENABLE_ACCOUNTS_SERVICE LTO_CMAKE_BOOL= ENABLE_LINK_TIME_OPTIMIZATION MENULIBRE_RUN_DEPENDS= menulibre:x11/menulibre NLS_USES= gettext-runtime WAYLAND_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell WAYLAND_CMAKE_BOOL= ENABLE_GTK_LAYER_SHELL post-patch-NLS-off: @${REINPLACE_CMD} '/add_subdirectory(po)/d' ${WRKSRC}/CMakeLists.txt .include diff --git a/x11/xfce4-windowck-plugin/Makefile b/x11/xfce4-windowck-plugin/Makefile index 9d5cb3606aec..5f9cf8fd2752 100644 --- a/x11/xfce4-windowck-plugin/Makefile +++ b/x11/xfce4-windowck-plugin/Makefile @@ -1,31 +1,31 @@ PORTNAME= xfce4-windowck-plugin PORTVERSION= 0.5.2 CATEGORIES= x11 xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Puts the maximized window title and windows buttons on the panel WWW= https://gitlab.xfce.org/panel-plugins/xfce4-windowck-plugin LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= gettext-tools gmake gnome libtool pkgconfig python:build \ shebangfix tar:bzip2 xfce xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libwnck3 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3 USE_XFCE= libmenu panel xdt xfconf USE_XORG= x11 SHEBANG_GLOB= *.py GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile index e6901e422512..94e7e05652d7 100644 --- a/x11/xlockmore/Makefile +++ b/x11/xlockmore/Makefile @@ -1,111 +1,111 @@ PORTNAME= xlockmore PORTVERSION= 5.80 CATEGORIES= x11 MASTER_SITES= http://www.sillycycle.com/xlock/ \ SF/bsdsrc/${.CURDIR:T} MAINTAINER= jgh@FreeBSD.org COMMENT= Like XLock session locker/screen saver, but just more WWW= https://sillycycle.com/xlockmore.html LICENSE= BSD2CLAUSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng16.so:graphics/png USES= cpe tar:xz xorg USE_XORG= ice sm x11 xaw xext xorgproto xpm xt CPE_VENDOR= sillycycle CONFIGURE_ARGS= --without-motif --without-editres \ --without-dtsaver --without-rplay --without-nas \ --without-gtk --without-esound --disable-setuid \ --disable-kerberos4 --without-ttf GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share PORTDOCS= README ${PORTNAME}.README OPTIONS_DEFINE= MESAGL MB SYSLOG DISABLE_ALLOW_ROOT NICE_ONLY BLANK_ONLY \ KERBEROS5 BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION MAGICK JP \ XINERAMA DOCS OPTIONS_RADIO= ONE OPTIONS_RADIO_ONE= PAM XLOCK_GROUP OPTIONS_DEFAULT= MB XINERAMA OPTIONS_SUB= yes MESAGL_DESC= Mesa 3D (for GL modes) MB_DESC= Xmb function series SYSLOG_DESC= Syslog logging DISABLE_ALLOW_ROOT_DESC= Allows users to turn off allowroot NICE_ONLY_DESC= Only low cpu modes BLANK_ONLY_DESC= Blank mode only (boring) BAD_PAM_DESC= Xlock will ask PAM with root rights GTK2_DESC= Build Gtk2 graphical shell XLOCK_GROUP_DESC= Allow xlock group to logout TIME_BOMB_DESC= Allow autologout CUSTOMIZATION_DESC= Allow tune through resource file JP_DESC= Japanese Language Support NO_OPTIONS_SORT= yes MAKE_ARGS+= bindir=${PREFIX}/bin \ mandir=${PREFIX}/share/man/man1 \ datarootdir=${PREFIX}/share \ xapploaddir=${PREFIX}/lib/X11/app-defaults KERBEROS5_CFLAGS= ${GSSAPICPPFLAGS} KERBEROS5_CONFIGURE_ENV= XLOCKLIBS="${GSSAPILDFLAGS} ${GSSAPILIBS} -lcom_err" KERBEROS5_CONFIGURE_ENABLE= kerberos5 KERBEROS5_USES= gssapi:mit MESAGL_CFLAGS= -I${LOCALBASE}/include/FTGL -I${LOCALBASE}/include/freetype2 MESAGL_CONFIGURE_ENV= XLOCKLIBS+="-lpthread" MESAGL_CONFIGURE_WITH= mesa opengl ftgl MESAGL_LIB_DEPENDS= libftgl.so:graphics/ftgl MESAGL_USES= gl MESAGL_USE= gl=gl,glu BAD_PAM_CONFIGURE_ENABLE= bad-pam PAM_CONFIGURE_ENABLE= pam NICE_ONLY_CONFIGURE_ENABLE= nice-only BLANK_ONLY_CONFIGURE_ENABLE= blank-only MB_CONFIGURE_ENABLE= mb SYSLOG_CONFIGURE_ENABLE= syslog XINERAMA_CONFIGURE_WITH= xinerama XINERAMA_USE= xorg=xinerama DISABLE_ALLOW_ROOT_CONFIGURE_ON= --disable-allow-root XLOCK_GROUP_CONFIGURE_ENABLE= xlock-group TIME_BOMB_CONFIGURE_ENABLE= bomb CUSTOMIZATION_CONFIGURE_ENABLE= customization JP_IMPLIES= MB JP_CATEGORIES= japanese JP_VARS= XLOCKMORE_LANG=ja MAGICK_CONFIGURE_WITH= magick MAGICK_USES= magick:6 MAGICK_LIB_DEPENDS= libpng.so:graphics/png GTK2_CONFIGURE_WITH= gtk2 GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libpng.so:graphics/png -GTK2_USE= gnome=cairo,gdkpixbuf2,gtk20 +GTK2_USE= gnome=cairo,gdkpixbuf,gtk20 GTK2_USES= gnome pkgconfig .include .if defined(XLOCKMORE_LANG) CONFIGURE_ARGS+= --with-lang=${XLOCKMORE_LANG} .endif .if ${PORT_OPTIONS:MPAM} && empty(PORT_OPTIONS:MBAD_PAM) pre-extract: @${ECHO} @${ECHO} "You have enabled PAM support. If you want to authenticate against" @${ECHO} "root only accessible PAM modules then define WITH_BAD_PAM=yes also." @${ECHO} "For example, pam_unix requires root rights to access shadow passwords." @${ECHO} .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/Revisions ${STAGEDIR}${DOCSDIR}/${PORTNAME}.README ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/xpra/Makefile b/x11/xpra/Makefile index 7aeb264f9f13..3284bf290d56 100644 --- a/x11/xpra/Makefile +++ b/x11/xpra/Makefile @@ -1,123 +1,123 @@ PORTNAME= xpra PORTVERSION= 6.1.3 PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= https://xpra.org/src/ MAINTAINER= arrowd@FreeBSD.org COMMENT= Persistent remote applications for X WWW= https://xpra.org/ LICENSE= GPLv2 BUILD_DEPENDS= pandoc:textproc/hs-pandoc \ cython-${PYTHON_VER}:lang/cython3@${PY_FLAVOR} LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libbrotlidec.so:archivers/brotli \ libdrm.so:graphics/libdrm \ libharfbuzz.so:print/harfbuzz \ liblz4.so:archivers/liblz4 \ libopenh264.so:multimedia/openh264 \ libwebp.so:graphics/webp \ libx264.so:multimedia/libx264 \ libxxhash.so:devel/xxhash RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}bencode.py>1:converters/py-bencode.py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}brotli>1:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lz4>=0.7.0_1:archivers/py-lz4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL-accelerate>=3.1.0:graphics/py-PyOpenGL-accelerate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=3.1.0:graphics/py-PyOpenGL@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rencode>1:converters/py-rencode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ setxkbmap:x11/setxkbmap \ ssh-askpass:security/openssh-askpass \ xauth:x11/xauth \ xkbcomp:x11/xkbcomp \ Xvfb:x11-servers/xorg-server@xvfb USES= desktop-file-utils gettext-runtime gnome localbase pkgconfig \ python shared-mime-info shebangfix tar:xz xorg -USE_GNOME= cairo gdkpixbuf2 gtk30 pygobject3 +USE_GNOME= cairo gdkpixbuf gtk30 pygobject3 USE_PYTHON= cryptography distutils noflavors USE_XORG= x11 xcomposite xdamage xext xfixes xi xkbfile xrandr xres xtst PLIST_SUB+= PORTVERSION=${PORTVERSION} \ PYTHON_SUFFIX=${PYTHON_SUFFIX} \ PYTHON_VER=${PYTHON_VER} SHEBANG_FILES= fs/lib/cups/backend/xpraforwarder fs/libexec/xpra/auth_dialog \ fs/libexec/xpra/gnome-open fs/libexec/xpra/gvfs-open \ fs/libexec/xpra/xdg-open fs/libexec/xpra/xpra_signal_listener \ fs/libexec/xpra/xpra_udev_product_version OPTIONS_DEFINE= AVAHI CUPS DOCS GSTREAMER LIBYUV \ WEBCAM OPTIONS_DEFAULT= AVAHI CUPS GSTREAMER OPTIONS_SUB= yes AVCODEC_DESC= Enable avcodec2 (FFmpeg) decoder CUPS_DESC= Enable CUPS for printer forwarding FFMPEG_DESC= Enable FFmpeg encoder GSTREAMER_DESC= Enable GStreamer for sound forwarding LIBYUV_DESC= Enable libyuv CSC module (fastest) WEBCAM_DESC= Enable webcam forwarding (client only) AVAHI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}avahi>0:net/py-avahi@${PY_FLAVOR} AVAHI_VARS= XPRA_OPTIONS+=mdns CUPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycups>1:print/py-pycups@${PY_FLAVOR} CUPS_VARS= XPRA_OPTIONS+=printing GSTREAMER_USES= gstreamer GSTREAMER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>1:multimedia/py-gstreamer1@${PY_FLAVOR} GSTREAMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>1:multimedia/py-gstreamer1@${PY_FLAVOR} GSTREAMER_USE= GSTREAMER=flac,lame,mpg123,ogg,opus,pulse,vorbis,wavpack GSTREAMER_VARS= XPRA_OPTIONS+=gstreamer LIBYUV_LIB_DEPENDS= libyuv.so:graphics/libyuv LIBYUV_VARS= XPRA_OPTIONS+=csc_libyuv WEBCAM_RUN_DEPENDS= opencv>2:graphics/opencv WEBCAM_VARS= XPRA_OPTIONS+=webcam PYDISTUTILS_PKGNAME= xpra_all XPRA_OPTIONS_ALL+= ${XPRA_OPTIONS_DISABLED} csc_libyuv \ enc_x264 \ mdns printing vpx webcam XPRA_OPTIONS= dec_avcodec2 enc_ffmpeg enc_x264 XPRA_OPTIONS_DISABLED= pam strict uinput vpx Xdummy Xdummy_wrapper .include .for opt in ${XPRA_OPTIONS_ALL} .if empty(XPRA_OPTIONS:M${opt}) PYDISTUTILS_ARGS+= --without-${opt} .else PYDISTUTILS_ARGS+= --with-${opt} .endif .endfor .include PYDISTUTILS_BUILDARGS+= ${PYDISTUTILS_ARGS} PYDISTUTILS_CONFIGUREARGS+= ${PYDISTUTILS_ARGS} PYDISTUTILS_INSTALLARGS+= ${PYDISTUTILS_ARGS} #MAKE_ENV= pkgdir=${STAGEDIR}${PREFIX}/ post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \ ${WRKSRC}/xpra/platform/pycups_printing.py @${REINPLACE_CMD} -e 's|/usr/sbin|${LOCALBASE}/sbin|' \ ${WRKSRC}/fs/etc/xpra/conf.d/16_printing.conf.in post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${CP} -r ${STAGEDIR}/etc ${STAGEDIR}${PREFIX} && ${RM} -r ${STAGEDIR}/etc ${MV} ${STAGEDIR}${ETCDIR}/xorg.conf \ ${STAGEDIR}${ETCDIR}/xorg.conf.sample ${MV} ${STAGEDIR}${ETCDIR}/xpra.conf \ ${STAGEDIR}${ETCDIR}/xpra.conf.sample ${CP} -r ${STAGEDIR}${PREFIX}/etc/dbus-1 ${STAGEDIR}${PREFIX}/share && ${RM} -r ${STAGEDIR}${PREFIX}/dbus-1 ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} -name '*.so' \ -exec ${STRIP_CMD} {} + .include diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile index 730d460e8614..55a9538c8a06 100644 --- a/x11/xscreensaver/Makefile +++ b/x11/xscreensaver/Makefile @@ -1,105 +1,105 @@ PORTNAME= xscreensaver DISTVERSION= 6.09 CATEGORIES= x11 MASTER_SITES= http://www.jwz.org/xscreensaver/ MAINTAINER= zirias@FreeBSD.org COMMENT= Save your screen while you entertain your cat WWW= https://www.jwz.org/xscreensaver/ LICENSE= MIT LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgle.so:graphics/gle \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= giftopnm:graphics/netpbm \ p5-libwww>0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \ unix-selfauth-helper>0:security/unix-selfauth-helper USES= cpe gettext gl gmake gnome jpeg localbase:ldflags perl5 \ pkgconfig shebangfix xorg CPE_VENDOR= xscreensaver_project USE_GL= gl glu -USE_GNOME= cairo gdkpixbuf2 gtk30 intltool libxml2 +USE_GNOME= cairo gdkpixbuf gtk30 intltool libxml2 USE_XORG= ice sm x11 xext xft xi xinerama xmu xrandr xrender xt xxf86vm SHEBANG_FILES= hacks/check-configs.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-locking \ --with-app-defaults=${PREFIX}/lib/X11/app-defaults \ --with-configdir=${PREFIX}/share/xscreensaver/config/ \ --with-dpms-ext \ --with-gl \ --with-gle \ --with-gtk \ --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \ --with-jpeg=${LOCALBASE} \ --with-pam \ --with-pixbuf \ --with-randr-ext \ --with-xdbe-ext \ --with-xf86gamma-ext \ --with-xf86vmode-ext \ --with-xft \ --with-xinerama-ext \ --with-xshm-ext \ --without-kerberos \ --without-shadow CONFIGURE_ENV= PERL="${PERL}" MAKE_ARGS= install_prefix=${STAGEDIR} SUB_FILES= xscreensaver-blank.desktop xscreensaver-lock.desktop \ xscreensaver-start.desktop xscreensaver-stop.desktop OPTIONS_DEFINE= FIREF NLS NSFW SETUID_HACKS XAOS1 XDALI XEARTH XMOUN XPLANET \ XSNOW OPTIONS_SUB= yes FIREF_DESC= Add extra port x11/fireflies NSFW_DESC= Include material that is Not Safe For Work SETUID_HACKS_DESC= Install sonar hack suid so it can ping XAOS1_DESC= Add extra port graphics/xaos XDALI_DESC= Add extra port x11-clocks/xdaliclock XEARTH_DESC= Add extra port astro/xearth XMOUN_DESC= Add extra port graphics/xmountains XPLANET_DESC= Add extra port astro/xplanet XSNOW_DESC= Add extra port x11/xsnow FIREF_RUN_DEPENDS= ${FIREF_HACKBIN}:x11/fireflies NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls SETUID_HACKS_CONFIGURE_WITH= setuid-hacks XAOS1_RUN_DEPENDS= xaos:graphics/xaos XDALI_RUN_DEPENDS= xdaliclock:x11-clocks/xdaliclock XEARTH_RUN_DEPENDS= xearth:astro/xearth XMOUN_RUN_DEPENDS= xmountains:graphics/xmountains XPLANET_RUN_DEPENDS= xplanet:astro/xplanet XSNOW_RUN_DEPENDS= xsnow:x11/xsnow FIREF_HACKBIN= ${LOCALBASE}/bin/xscreensaver-hacks/fireflies post-patch: ${REINPLACE_CMD} -e "s|/etc/pam.d|${PREFIX}/etc/pam.d|g" \ ${WRKSRC}/driver/passwd-pam.c \ ${WRKSRC}/driver/xscreensaver.man post-patch-NSFW-off: ${REINPLACE_CMD} -e 's|Dick Pix|Stuff|' ${WRKSRC}/hacks/bsod.c ${REINPLACE_CMD} -e 's|dick pics|data, etc.|' ${WRKSRC}/hacks/bsod.c pre-configure-NLS-on: cd ${WRKSRC} && ${LOCALBASE}/bin/intltoolize -f -c post-install: ${INSTALL_DATA} ${FILESDIR}/x*.xml ${STAGEDIR}${DATADIR}/config/ ${INSTALL_DATA} ${WRKDIR}/*.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver ${LN} -s ${LOCALBASE}/etc/pam.d/unix-selfauth \ ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver .include diff --git a/x11/xsnow/Makefile b/x11/xsnow/Makefile index eab18f50a77b..d4f742d835c6 100644 --- a/x11/xsnow/Makefile +++ b/x11/xsnow/Makefile @@ -1,36 +1,36 @@ PORTNAME= xsnow DISTVERSION= 3.8.4 DISTVERSIONSUFFIX= ~pre01 CATEGORIES= x11 MASTER_SITES= https://ratrabbit.nl/downloads/xsnow/ \ SF/${PORTNAME}/ MAINTAINER= fluffy@FreeBSD.org COMMENT= Create a snowy and Santa-y desktop WWW= https://www.ratrabbit.nl/ratrabbit/xsnow/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgsl.so:math/gsl \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gmake gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libxml2 +USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2 USE_XORG= x11 xext xinerama xpm xt xtst xorgproto GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share OPTIONS_DEFINE= NLS OPTIONS_DEFAULT= NLS OPTIONS_SUB= yes NLS_USES= gettext-tools NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} \ -e 's,/games,/bin,g' \ ${WRKSRC}/src/Makefile.in .include diff --git a/x11/xvattr/Makefile b/x11/xvattr/Makefile index a355890fcf08..19958d0cacbc 100644 --- a/x11/xvattr/Makefile +++ b/x11/xvattr/Makefile @@ -1,42 +1,42 @@ PORTNAME= xvattr DISTVERSION= 1.3 PORTREVISION= 12 CATEGORIES= x11 MASTER_SITES= LOCAL/fuz DISTNAME= xvattr_${DISTVERSION}.orig MAINTAINER= fuz@FreeBSD.org COMMENT= Getting and setting Xv attributes LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= gnome pkgconfig xorg -USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_GNOME= cairo gdkpixbuf gtk20 USE_XORG= x11 xv PLIST_FILES= bin/xvattr bin/gxvattr \ share/man/man1/${PORTNAME}.1.gz CFLAGS+= -DVERSION=\"${PORTVERSION}\" WRKSRC= ${WRKDIR}/xvattr-${DISTVERSION} post-extract: @${RM} ${WRKSRC}/getopt.h do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} \ `pkg-config --cflags --libs xv x11` cd ${WRKSRC} && ${CC} ${CFLAGS} g${PORTNAME}.c -o g${PORTNAME} \ `pkg-config --cflags --libs gtk+-2.0 xv x11` do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/g${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/x11/xxkb/Makefile b/x11/xxkb/Makefile index a46c7072dd75..15ac4001a139 100644 --- a/x11/xxkb/Makefile +++ b/x11/xxkb/Makefile @@ -1,36 +1,36 @@ PORTNAME= xxkb PORTVERSION= 1.11.1 PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= SF/${PORTNAME}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= alexander.pohoyda@gmx.net COMMENT= XKB keyboard layout indicator and switcher WWW= https://sourceforge.net/projects/xxkb/ LICENSE= ART10 USES= iconv imake pkgconfig xorg USE_XORG= xext xpm xt WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= README CHANGES.ru README.ru OPTIONS_DEFINE= LIBRSVG2 DOCS LIBRSVG2_USES= gnome -LIBRSVG2_USE= GNOME=librsvg2,gdkpixbuf2xlib +LIBRSVG2_USE= GNOME=librsvg2,gdkpixbufxlib LIBRSVG2_VARS= XMKMF_ARGS=-DWITH_SVG_SUPPORT post-build: # Convert Russian language docs from archaic KOI8-R to modern UTF-8 .for f in CHANGES README iconv -f koi8-r -t utf-8 ${WRKSRC}/${f}.koi8 > ${WRKSRC}/${f}.ru .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/zenity/Makefile b/x11/zenity/Makefile index e41393bdc113..8c1dca804432 100644 --- a/x11/zenity/Makefile +++ b/x11/zenity/Makefile @@ -1,27 +1,27 @@ PORTNAME= zenity PORTVERSION= 3.42.1 PORTREVISION= 3 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Display GNOME dialogs from the command line LICENSE= LGPL20 BUILD_DEPENDS= itstool:textproc/itstool USES= gettext gnome localbase meson pkgconfig \ perl5 tar:xz xorg USE_CSTD= c99 -USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack +USE_GNOME= cairo gdkpixbuf gtk30 intlhack USE_XORG= x11 MESON_ARGS= -Dwebkitgtk=false OPTIONS_DEFINE= NOTIFY OPTIONS_DEFAULT=NOTIFY NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_MESON_TRUE= libnotify .include