mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
Remove expired ports:
2020-11-30 databases/datamodeler: depends on expiring java/openjfx8-devel 2020-11-30 devel/gradle4: only needed for expiring biology/igv and java/openjfx8-devel 2020-11-30 devel/py-astroid1: Use devel/py-astroid instead 2020-11-30 devel/pylint1: Use devel/pylint instead 2020-11-30 german/mediathekview: depends on expiring java/openjfx8-devel 2020-11-30 java/openjfx8-devel: No longer maintained upstream 2020-11-30 java/openjfx8-scenebuilder: depends on expiring java/openjfx8-devel 2020-11-30 net-im/py-sleekxmpp: Upstream archived and advices to use net-im/py-slixmpp 2020-12-01 net-mgmt/zabbix44-agent: End of Life 2020-12-01 net-mgmt/zabbix44-frontend: End of Life 2020-12-01 net-mgmt/zabbix44-java: End of Life 2020-12-01 net-mgmt/zabbix44-proxy: End of Life 2020-12-01 net-mgmt/zabbix44-server: End of Life 2020-11-30 print/jabref: depends on expiring java/openjfx8-devel 2020-11-30 science/datawarrior: depends on expiring java/openjfx8-devel
This commit is contained in:
parent
21256cd6f4
commit
6ac46b8d4e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556791
1
LEGAL
1
LEGAL
@ -48,7 +48,6 @@ cos-* java/cos Special conditions apply for commercial use
|
||||
cosmo/* games/cosmo Possible copyright infringement
|
||||
CrystalSVGforGnomeIcons* x11-themes/gnome-icons-crystal Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
|
||||
cyberbit/* x11-fonts/cyberbit-ttfonts Not free for commercial use
|
||||
datamodeler databases/datamodeler Packaging prohibited by Oracle license
|
||||
dbvis java/dbvis Redistribution is not permitted
|
||||
dcl-*-C.tar.gz science/cdcl No commercial use
|
||||
dcl-*.tar.gz science/dcl No commercial use
|
||||
|
15
MOVED
15
MOVED
@ -15717,3 +15717,18 @@ net/remmina-plugin-www|net/remmina|2020-11-24|Moved to remmina flavored version
|
||||
net/remmina-plugin-xdmcp|net/remmina|2020-11-24|Moved to remmina flavored version
|
||||
net/remmina-plugins|net/remmina|2020-11-24|Moved to remmina flavored version
|
||||
graphics/jpeg|graphics/jpeg-turbo|2020-12-01|Has expired: Outdated and vulnerable, new version breaks API and ABI
|
||||
databases/datamodeler||2020-12-01|Has expired: depends on expiring java/openjfx8-devel
|
||||
devel/gradle4||2020-12-01|Has expired: only needed for expiring java/openjfx8-devel
|
||||
devel/py-astroid1|devel/py-astroid|2020-12-01|Has expired: Use devel/py-astroid instead
|
||||
devel/pylint1|devel/pylint|2020-12-01|Has expired: Use devel/pylint instead
|
||||
german/mediathekview||2020-12-01|Has expired: depends on expiring java/openjfx8-devel
|
||||
java/openjfx8-devel||2020-12-01|Has expired: No longer maintained upstream
|
||||
java/openjfx8-scenebuilder||2020-12-01|Has expired: depends on expiring java/openjfx8-devel
|
||||
net-im/py-sleekxmpp|net-im/py-slixmpp|2020-12-01|Has expired: Upstream archived and advices to use net-im/py-slixmpp
|
||||
net-mgmt/zabbix44-agent|net-mgmt/zabbix5-agent|2020-12-01|Has expired: End of Life
|
||||
net-mgmt/zabbix44-frontend|net-mgmt/zabbix5-frontend|2020-12-01|Has expired: End of Life
|
||||
net-mgmt/zabbix44-java|net-mgmt/zabbix5-java|2020-12-01|Has expired: End of Life
|
||||
net-mgmt/zabbix44-proxy|net-mgmt/zabbix5-proxy|2020-12-01|Has expired: End of Life
|
||||
net-mgmt/zabbix44-server|net-mgmt/zabbix5-server|2020-12-01|Has expired: End of Life
|
||||
print/jabref||2020-12-01|Has expired: depends on expiring java/openjfx8-devel
|
||||
science/datawarrior||2020-12-01|Has expired: depends on expiring java/openjfx8-devel
|
||||
|
@ -53,7 +53,6 @@
|
||||
SUBDIR += credis
|
||||
SUBDIR += cutelyst-asql
|
||||
SUBDIR += dalmp
|
||||
SUBDIR += datamodeler
|
||||
SUBDIR += db
|
||||
SUBDIR += db5
|
||||
SUBDIR += db6
|
||||
|
@ -1,92 +0,0 @@
|
||||
# Created by: jjuanino@gmail.com
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= datamodeler
|
||||
PORTVERSION= 19.4.0.350.1424
|
||||
CATEGORIES= databases java
|
||||
MASTER_SITES= #http://www.oracle.com/technetwork/developer-tools/datamodeler/downloads/index.html
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}${DISTVERSIONSUFFIX}-noarch
|
||||
EXTRACT_SUFX= .rpm
|
||||
DIST_SUBDIR= oracle
|
||||
|
||||
MAINTAINER= jjuanino@gmail.com
|
||||
COMMENT= Database modeling tool
|
||||
|
||||
EXTRACT_DEPENDS=rpm2cpio.pl:archivers/rpm2cpio
|
||||
RUN_DEPENDS= bash:shells/bash ${JAVA_HOME}/bin/javafxpackager:java/openjfx8-devel
|
||||
|
||||
USES= gnome
|
||||
|
||||
#http://www.oracle.com/technetwork/licenses/sqldev-license-152021.html
|
||||
LICENSE_NAME= OTN
|
||||
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror
|
||||
|
||||
USE_JAVA= yes
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
JAVA_VERSION= 1.8+
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
RESTRICTED= Packaging prohibited by Oracle license
|
||||
NO_CDROM= Packaging prohibited by Oracle license
|
||||
|
||||
DEPRECATED= depends on expiring java/openjfx8-devel
|
||||
EXPIRATION_DATE= 2020-11-30
|
||||
|
||||
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
||||
WRKSRC= ${WRKDIR}/opt/${PORTNAME}
|
||||
SUB_FILES= ${PORTNAME}.script.sh
|
||||
SUB_LIST= JAVA_HOME=${JAVA_HOME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
# configure desktop file
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/opt/datamodeler/icon.png|${PREFIX}/share/icons/hicolor/128x128/apps/${PORTNAME}.png|' \
|
||||
${WRKSRC}/datamodeler.desktop
|
||||
@${ECHO} "Categories=Utility" >> ${WRKSRC}/datamodeler.desktop
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
|
||||
IGNORE= due to Oracle license restrictions, you must fetch the source \
|
||||
distribution manually. Please access \
|
||||
http://www.oracle.com/technetwork/developer-tools/datamodeler/downloads/index.html \
|
||||
with a web browser and follow the link for the ${DISTFILES}. You will be \
|
||||
required to register and log in, but you can create an account on that \
|
||||
page. After registration and accepting the Oracle License, download the \
|
||||
distribution file, ${DISTFILES}, into ${DISTDIR}/${DIST_SUBDIR}/ and then \
|
||||
restart this installation.
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${ECHO_MSG} -n ">> Installing scripts..."
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.script.sh ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
|
||||
${ECHO_MSG} " [ DONE ]"
|
||||
|
||||
.for d in configuration datamodeler dropins dvt equinox external ide \
|
||||
jdbc jdev jlib module modules netbeans rdbms sleepycat \
|
||||
sqldeveloper svnkit
|
||||
${ECHO_MSG} -n ">> Installing data directory '${d}'..."
|
||||
cd ${WRKSRC} && ${FIND} ${d} -type d \
|
||||
-exec ${MKDIR} ${STAGEDIR}/${DATADIR}/\{} \;
|
||||
cd ${WRKSRC} && ${FIND} ${d} -type f \
|
||||
-not -name "*.exe" \
|
||||
-not -name "*.bak" \
|
||||
-not -name "*.dll" \
|
||||
-not -name "*.so" \
|
||||
-exec ${INSTALL_DATA} \{} ${STAGEDIR}/${DATADIR}/\{} \;
|
||||
${ECHO_MSG} " [ DONE ]"
|
||||
.endfor
|
||||
|
||||
${ECHO_MSG} -n ">> Installing icon and desktop file ..."
|
||||
${MKDIR} ${STAGEDIR}/${PREFIX}/share/applications/ \
|
||||
${STAGEDIR}/${PREFIX}/share/icons/hicolor/128x128/apps/
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}/${PREFIX}/share/applications/
|
||||
${INSTALL_DATA} ${WRKSRC}/icon.png ${STAGEDIR}/${PREFIX}/share/icons/hicolor/128x128/apps/datamodeler.png
|
||||
|
||||
@${ECHO_MSG} " [ DONE ]"
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1581176521
|
||||
SHA256 (oracle/datamodeler-19.4.0.350.1424-noarch.rpm) = 04fdf57c2d9a4710a3299795649b3ea9bd94132a1d09e0e0e58b3914bc627748
|
||||
SIZE (oracle/datamodeler-19.4.0.350.1424-noarch.rpm) = 252695504
|
@ -1,7 +0,0 @@
|
||||
#!%%LOCALBASE%%/bin/bash
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
cd %%DATADIR%%/datamodeler/bin
|
||||
JAVA_HOME="%%JAVA_HOME%%" exec %%LOCALBASE%%/bin/bash datamodeler $*
|
@ -1,6 +0,0 @@
|
||||
Oracle SQL Developer Data Modeler is a free data and database modeling tool,
|
||||
providing a full range of utilities to support your data modeling needs. SQL
|
||||
Developer Data Modeler can connect to any supported Oracle Database and is
|
||||
platform independent.
|
||||
|
||||
WWW: https://www.oracle.com/database/technologies/appdev/datamodeler.html
|
File diff suppressed because it is too large
Load Diff
@ -864,7 +864,6 @@
|
||||
SUBDIR += gputils
|
||||
SUBDIR += gradle
|
||||
SUBDIR += gradle-completion
|
||||
SUBDIR += gradle4
|
||||
SUBDIR += gradle5
|
||||
SUBDIR += gradle62
|
||||
SUBDIR += grantlee5
|
||||
@ -4082,7 +4081,6 @@
|
||||
SUBDIR += py-aspyct
|
||||
SUBDIR += py-astor
|
||||
SUBDIR += py-astroid
|
||||
SUBDIR += py-astroid1
|
||||
SUBDIR += py-asttokens
|
||||
SUBDIR += py-astunparse
|
||||
SUBDIR += py-async_generator
|
||||
@ -5298,7 +5296,6 @@
|
||||
SUBDIR += pydbus-common
|
||||
SUBDIR += pygobject3-common
|
||||
SUBDIR += pylint
|
||||
SUBDIR += pylint1
|
||||
SUBDIR += pyobfuscate
|
||||
SUBDIR += pyotherside-qt5
|
||||
SUBDIR += pyside2
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gradle
|
||||
PORTVERSION= 4.10.3
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= https://downloads.gradle.org/distributions/
|
||||
PKGNAMESUFFIX= 4
|
||||
EXTRACT_SUFX= -bin.zip
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Project automation tool
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
DEPRECATED= only needed for expiring biology/igv and java/openjfx8-devel
|
||||
EXPIRATION_DATE= 2020-11-30
|
||||
|
||||
USES= zip
|
||||
USE_JAVA= yes
|
||||
|
||||
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX}
|
||||
PORTSCOUT= ignore:1
|
||||
SUB_LIST= PORTVERSION=${PORTVERSION} \
|
||||
JAVA=${JAVA}
|
||||
SUB_FILES= gradle
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/gradle ${STAGEDIR}${PREFIX}/bin/gradle${PKGNAMESUFFIX}
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR})
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1563780722
|
||||
SHA256 (gradle-4.10.3-bin.zip) = 8626cbf206b4e201ade7b87779090690447054bc93f052954c78480fa6ed186e
|
||||
SIZE (gradle-4.10.3-bin.zip) = 78422006
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
exec "%%JAVA%%" -Dorg.gradle.native=false $JAVA_OPTS -classpath "%%DATADIR%%/lib/gradle-launcher-%%PORTVERSION%%.jar" org.gradle.launcher.GradleMain "$@"
|
@ -1,16 +0,0 @@
|
||||
Gradle is build automation evolved.
|
||||
|
||||
Gradle can automate the building, testing, publishing, deployment
|
||||
and more of software packages or other types of projects such as
|
||||
generated static websites, generated documentation or indeed anything
|
||||
else.
|
||||
|
||||
Gradle combines the power and flexibility of Ant with the dependency
|
||||
management and conventions of Maven into a more effective way to
|
||||
build. Powered by a Groovy DSL and packed with innovation, Gradle
|
||||
provides a declarative way to describe all kinds of builds through
|
||||
sensible defaults. Gradle is quickly becoming the build system of
|
||||
choice for many open source projects, leading edge enterprises and
|
||||
legacy automation challenges.
|
||||
|
||||
WWW: http://www.gradle.org/
|
@ -1,198 +0,0 @@
|
||||
bin/gradle%%PKGNAMESUFFIX%%
|
||||
%%DATADIR%%/lib/annotations-13.0.jar
|
||||
%%DATADIR%%/lib/ant-1.9.11.jar
|
||||
%%DATADIR%%/lib/ant-launcher-1.9.11.jar
|
||||
%%DATADIR%%/lib/asm-6.2.jar
|
||||
%%DATADIR%%/lib/asm-analysis-6.2.jar
|
||||
%%DATADIR%%/lib/asm-commons-6.2.jar
|
||||
%%DATADIR%%/lib/asm-tree-6.2.jar
|
||||
%%DATADIR%%/lib/commons-collections-3.2.2.jar
|
||||
%%DATADIR%%/lib/commons-compress-1.14.jar
|
||||
%%DATADIR%%/lib/commons-io-2.4.jar
|
||||
%%DATADIR%%/lib/commons-lang-2.6.jar
|
||||
%%DATADIR%%/lib/fastutil-7.2.1-min.jar
|
||||
%%DATADIR%%/lib/gradle-api-metadata-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-base-services-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-base-services-groovy-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-build-cache-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-build-option-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-cli-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-core-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-core-api-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-docs-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-installation-beacon-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-jvm-services-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-kotlin-dsl-1.0-rc-6.jar
|
||||
%%DATADIR%%/lib/gradle-kotlin-dsl-provider-plugins-1.0-rc-6.jar
|
||||
%%DATADIR%%/lib/gradle-kotlin-dsl-tooling-builders-1.0-rc-6.jar
|
||||
%%DATADIR%%/lib/gradle-kotlin-dsl-tooling-models-1.0-rc-6.jar
|
||||
%%DATADIR%%/lib/gradle-launcher-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-logging-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-messaging-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-model-core-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-model-groovy-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-native-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-persistent-cache-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-process-services-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-resources-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-runtime-api-info-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-tooling-api-4.10.3.jar
|
||||
%%DATADIR%%/lib/gradle-wrapper-4.10.3.jar
|
||||
%%DATADIR%%/lib/groovy-all-2.4.15.jar
|
||||
%%DATADIR%%/lib/guava-jdk5-17.0.jar
|
||||
%%DATADIR%%/lib/jansi-1.14.jar
|
||||
%%DATADIR%%/lib/javax.inject-1.jar
|
||||
%%DATADIR%%/lib/jcip-annotations-1.0.jar
|
||||
%%DATADIR%%/lib/jcl-over-slf4j-1.7.16.jar
|
||||
%%DATADIR%%/lib/jsr305-2.0.1.jar
|
||||
%%DATADIR%%/lib/jul-to-slf4j-1.7.16.jar
|
||||
%%DATADIR%%/lib/kotlin-compiler-embeddable-1.2.61.jar
|
||||
%%DATADIR%%/lib/kotlin-reflect-1.2.61.jar
|
||||
%%DATADIR%%/lib/kotlin-sam-with-receiver-compiler-plugin-1.2.61.jar
|
||||
%%DATADIR%%/lib/kotlin-script-runtime-1.2.61.jar
|
||||
%%DATADIR%%/lib/kotlin-stdlib-1.2.61.jar
|
||||
%%DATADIR%%/lib/kotlin-stdlib-common-1.2.61.jar
|
||||
%%DATADIR%%/lib/kotlin-stdlib-jdk7-1.2.61.jar
|
||||
%%DATADIR%%/lib/kotlin-stdlib-jdk8-1.2.61.jar
|
||||
%%DATADIR%%/lib/kryo-2.20.jar
|
||||
%%DATADIR%%/lib/log4j-over-slf4j-1.7.16.jar
|
||||
%%DATADIR%%/lib/minlog-1.2.jar
|
||||
%%DATADIR%%/lib/native-platform-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-freebsd-amd64-libcpp-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-freebsd-amd64-libstdcpp-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-freebsd-i386-libcpp-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-freebsd-i386-libstdcpp-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-linux-amd64-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-linux-amd64-ncurses5-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-linux-amd64-ncurses6-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-linux-i386-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-linux-i386-ncurses5-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-linux-i386-ncurses6-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-osx-amd64-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-osx-i386-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-windows-amd64-0.14.jar
|
||||
%%DATADIR%%/lib/native-platform-windows-i386-0.14.jar
|
||||
%%DATADIR%%/lib/objenesis-1.2.jar
|
||||
%%DATADIR%%/lib/plugins/aether-api-1.13.1.jar
|
||||
%%DATADIR%%/lib/plugins/aether-connector-wagon-1.13.1.jar
|
||||
%%DATADIR%%/lib/plugins/aether-impl-1.13.1.jar
|
||||
%%DATADIR%%/lib/plugins/aether-spi-1.13.1.jar
|
||||
%%DATADIR%%/lib/plugins/aether-util-1.13.1.jar
|
||||
%%DATADIR%%/lib/plugins/apiguardian-api-1.0.0.jar
|
||||
%%DATADIR%%/lib/plugins/asm-util-6.2.jar
|
||||
%%DATADIR%%/lib/plugins/aws-java-sdk-core-1.11.267.jar
|
||||
%%DATADIR%%/lib/plugins/aws-java-sdk-kms-1.11.267.jar
|
||||
%%DATADIR%%/lib/plugins/aws-java-sdk-s3-1.11.267.jar
|
||||
%%DATADIR%%/lib/plugins/bcpg-jdk15on-1.58.jar
|
||||
%%DATADIR%%/lib/plugins/bcprov-jdk15on-1.58.jar
|
||||
%%DATADIR%%/lib/plugins/biz.aQute.bndlib-3.4.0.jar
|
||||
%%DATADIR%%/lib/plugins/bsh-2.0b6.jar
|
||||
%%DATADIR%%/lib/plugins/commons-cli-1.2.jar
|
||||
%%DATADIR%%/lib/plugins/commons-codec-1.10.jar
|
||||
%%DATADIR%%/lib/plugins/dd-plist-1.20.jar
|
||||
%%DATADIR%%/lib/plugins/google-api-client-1.23.0.jar
|
||||
%%DATADIR%%/lib/plugins/google-api-services-storage-v1-rev116-1.23.0.jar
|
||||
%%DATADIR%%/lib/plugins/google-http-client-1.23.0.jar
|
||||
%%DATADIR%%/lib/plugins/google-http-client-jackson2-1.23.0.jar
|
||||
%%DATADIR%%/lib/plugins/google-oauth-client-1.23.0.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-announce-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-antlr-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-build-cache-http-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-build-comparison-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-build-init-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-code-quality-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-composite-builds-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-dependency-management-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-diagnostics-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-ear-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-ide-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-ide-native-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-ide-play-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-ivy-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-jacoco-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-javascript-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-language-groovy-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-language-java-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-language-jvm-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-language-native-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-language-scala-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-maven-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-osgi-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-platform-base-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-platform-jvm-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-platform-native-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-platform-play-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-plugin-development-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-plugin-use-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-plugins-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-publish-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-reporting-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-resources-gcs-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-resources-http-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-resources-s3-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-resources-sftp-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-scala-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-signing-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-test-kit-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-testing-base-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-testing-junit-platform-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-testing-jvm-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-testing-native-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-tooling-api-builders-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-tooling-native-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-version-control-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gradle-workers-4.10.3.jar
|
||||
%%DATADIR%%/lib/plugins/gson-2.7.jar
|
||||
%%DATADIR%%/lib/plugins/hamcrest-core-1.3.jar
|
||||
%%DATADIR%%/lib/plugins/httpclient-4.5.5.jar
|
||||
%%DATADIR%%/lib/plugins/httpcore-4.4.9.jar
|
||||
%%DATADIR%%/lib/plugins/ion-java-1.0.2.jar
|
||||
%%DATADIR%%/lib/plugins/ivy-2.2.0.jar
|
||||
%%DATADIR%%/lib/plugins/jackson-annotations-2.9.4.jar
|
||||
%%DATADIR%%/lib/plugins/jackson-core-2.9.4.jar
|
||||
%%DATADIR%%/lib/plugins/jackson-databind-2.9.4.jar
|
||||
%%DATADIR%%/lib/plugins/jatl-0.2.2.jar
|
||||
%%DATADIR%%/lib/plugins/jcifs-1.3.17.jar
|
||||
%%DATADIR%%/lib/plugins/jcommander-1.47.jar
|
||||
%%DATADIR%%/lib/plugins/jmespath-java-1.11.267.jar
|
||||
%%DATADIR%%/lib/plugins/joda-time-2.8.2.jar
|
||||
%%DATADIR%%/lib/plugins/jsch-0.1.54.jar
|
||||
%%DATADIR%%/lib/plugins/junit-4.12.jar
|
||||
%%DATADIR%%/lib/plugins/junit-platform-commons-1.0.3.jar
|
||||
%%DATADIR%%/lib/plugins/junit-platform-engine-1.0.3.jar
|
||||
%%DATADIR%%/lib/plugins/junit-platform-launcher-1.0.3.jar
|
||||
%%DATADIR%%/lib/plugins/maven-aether-provider-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/maven-artifact-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/maven-compat-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/maven-core-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/maven-model-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/maven-model-builder-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/maven-plugin-api-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/maven-repository-metadata-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/maven-settings-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/maven-settings-builder-3.0.4.jar
|
||||
%%DATADIR%%/lib/plugins/nekohtml-1.9.20.jar
|
||||
%%DATADIR%%/lib/plugins/opentest4j-1.0.0.jar
|
||||
%%DATADIR%%/lib/plugins/org.eclipse.jgit-4.5.3.201708160445-r.jar
|
||||
%%DATADIR%%/lib/plugins/plexus-cipher-1.7.jar
|
||||
%%DATADIR%%/lib/plugins/plexus-classworlds-2.4.jar
|
||||
%%DATADIR%%/lib/plugins/plexus-component-annotations-1.5.5.jar
|
||||
%%DATADIR%%/lib/plugins/plexus-container-default-1.5.5.jar
|
||||
%%DATADIR%%/lib/plugins/plexus-interpolation-1.14.jar
|
||||
%%DATADIR%%/lib/plugins/plexus-sec-dispatcher-1.3.jar
|
||||
%%DATADIR%%/lib/plugins/plexus-utils-3.0.8.jar
|
||||
%%DATADIR%%/lib/plugins/pmaven-common-0.8-20100325.jar
|
||||
%%DATADIR%%/lib/plugins/pmaven-groovy-0.8-20100325.jar
|
||||
%%DATADIR%%/lib/plugins/rhino-1.7R3.jar
|
||||
%%DATADIR%%/lib/plugins/simple-4.1.21.jar
|
||||
%%DATADIR%%/lib/plugins/snakeyaml-1.6.jar
|
||||
%%DATADIR%%/lib/plugins/testng-6.3.1.jar
|
||||
%%DATADIR%%/lib/plugins/wagon-file-2.4.jar
|
||||
%%DATADIR%%/lib/plugins/wagon-http-2.4.jar
|
||||
%%DATADIR%%/lib/plugins/wagon-http-shared4-2.4.jar
|
||||
%%DATADIR%%/lib/plugins/wagon-provider-api-2.4.jar
|
||||
%%DATADIR%%/lib/plugins/xbean-reflect-3.4.jar
|
||||
%%DATADIR%%/lib/plugins/xercesImpl-2.12.0.jar
|
||||
%%DATADIR%%/lib/reflectasm-1.07-shaded.jar
|
||||
%%DATADIR%%/lib/slf4j-api-1.7.16.jar
|
||||
%%DATADIR%%/lib/xml-apis-1.4.01.jar
|
@ -1,39 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= astroid
|
||||
PORTVERSION= 1.6.6
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
PKGNAMESUFFIX= 1
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Abstract syntax tree for Python with inference support
|
||||
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
||||
|
||||
DEPRECATED= Use devel/py-astroid instead
|
||||
EXPIRATION_DATE=2020-11-30
|
||||
|
||||
RUN_DEPENDS= ${PY_ENUM34} \
|
||||
${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=0:devel/py-lazy-object-proxy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wrapt>=0:devel/py-wrapt@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
# astroid 2.0.0+ requires Python 3.4+
|
||||
PORTSCOUT= limit:^1\.
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3400
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=0:devel/py-backports.functools_lru_cache@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1554924539
|
||||
SHA256 (astroid-1.6.6.tar.gz) = d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7
|
||||
SIZE (astroid-1.6.6.tar.gz) = 256216
|
@ -1,14 +0,0 @@
|
||||
The aim of this module is to provide a common base representation of python
|
||||
source code for projects such as pychecker, pyreverse, pylint... Well, actually
|
||||
the development of this library is essentially governed by pylint's needs. It
|
||||
used to be called logilab-astng.
|
||||
|
||||
It provides a compatible representation which comes from the _ast module. It
|
||||
rebuilds the tree generated by the builtin _ast module by recursively walking
|
||||
down the AST and building an extended ast. The new node classes have additional
|
||||
methods and attributes for different usages. They include some support for
|
||||
static inference and local name scopes. Furthermore, astroid builds partial
|
||||
trees by inspecting living objects.
|
||||
|
||||
WWW: https://pypi.org/project/astroid/
|
||||
WWW: https://github.com/PyCQA/astroid
|
@ -1,46 +0,0 @@
|
||||
# Created by: Hye-Shik Chang
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pylint
|
||||
PORTVERSION= 1.9.5
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMESUFFIX= 1${PYTHON_PKGNAMESUFFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Analyzes python source code looking for bugs and signs of poor quality
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= Use devel/pylint instead
|
||||
EXPIRATION_DATE=2020-11-30
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid1>=1.6:devel/py-astroid1@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}isort>=4.2.5:devel/py-isort@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}mccabe>=0:devel/py-mccabe@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
|
||||
|
||||
USES= python shebangfix
|
||||
USE_PYTHON= concurrent distutils py3kplist
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
# pylint 2.0.0+ require Python 3.4+
|
||||
PORTSCOUT= limit:^1\.
|
||||
|
||||
SHEBANG_FILES= pylint/test/data/ascript
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3000
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=0:devel/py-backports.functools_lru_cache@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}configparser>=0:devel/py-configparser@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_REL} < 3400
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1563640621
|
||||
SHA256 (pylint-1.9.5.tar.gz) = 97a42df23d436c70132971d1dcb9efad2fe5c0c6add55b90161e773caf729300
|
||||
SIZE (pylint-1.9.5.tar.gz) = 539453
|
@ -1,12 +0,0 @@
|
||||
Pylint is a Python source code analyzer which looks for programming errors,
|
||||
helps enforcing a coding standard and sniffs for some code smells (as defined in
|
||||
Martin Fowler's Refactoring book).
|
||||
|
||||
Pylint has many rules enabled by default, way too much to silence them all on a
|
||||
minimally sized program. It's highly configurable and handle pragmas to control
|
||||
it from within your code. Additionally, it is possible to write plugins to add
|
||||
your own checks.
|
||||
|
||||
WWW: https://www.pylint.org/
|
||||
WWW: https://pypi.org/project/pylint/
|
||||
WWW: https://github.com/PyCQA/pylint
|
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,6 @@
|
||||
SUBDIR += jdictionary-eng-ger
|
||||
SUBDIR += jdictionary-ger-hun
|
||||
SUBDIR += libreoffice
|
||||
SUBDIR += mediathekview
|
||||
SUBDIR += mythes
|
||||
SUBDIR += phone
|
||||
SUBDIR += schwobifyer
|
||||
|
@ -1,62 +0,0 @@
|
||||
# Created by: Lars Engels <lme@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mediathekview
|
||||
PORTVERSION= 13.2.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= german java
|
||||
MASTER_SITES= https://download.mediathekview.de/stabil/
|
||||
DISTNAME= MediathekView-${PORTVERSION}
|
||||
|
||||
MAINTAINER= lme@FreeBSD.org
|
||||
COMMENT= Filme der oeff. rechtlichen Sender herunterladen und ansehen
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
DEPRECATED= depends on expiring java/openjfx8-devel
|
||||
EXPIRATION_DATE= 2020-11-30
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/openjdk8/bin/javafxpackager:java/openjfx8-devel \
|
||||
flvstreamer:multimedia/flvstreamer
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.8+
|
||||
SUB_FILES= ${PORTNAME}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
INSTALLFILES= MediathekView.jar MediathekView.ico
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_MULTI= BACKEND
|
||||
OPTIONS_MULTI_BACKEND= MPLAYER MPV VLC
|
||||
|
||||
VLC_DESC= VLC support
|
||||
MPV_DESC= MPV support
|
||||
|
||||
OPTIONS_DEFAULT= MPV
|
||||
|
||||
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
|
||||
MPV_RUN_DEPENDS= mpv:multimedia/mpv
|
||||
VLC_RUN_DEPENDS= vlc:multimedia/vlc
|
||||
|
||||
DESKTOP_ENTRIES="MediathekView" \
|
||||
"Filme der oeff. rechtlichen Sender herunterladen und ansehen" \
|
||||
"${DATADIR}/MediathekView.ico" \
|
||||
"${PORTNAME}" \
|
||||
"Video;AudioVideo;Java;" \
|
||||
false
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/lib
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/Icons
|
||||
.for i in ${INSTALLFILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}/
|
||||
.endfor
|
||||
(cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib/)
|
||||
(cd ${WRKSRC}/Icons/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/Icons/)
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1538753952
|
||||
SHA256 (MediathekView-13.2.1.tar.gz) = 4ad0314031c64ce55ef7440b95716e27e3a7ab7a5eb97cef81e0c5b8e9348f87
|
||||
SIZE (MediathekView-13.2.1.tar.gz) = 32909789
|
@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd %%DATADIR%%
|
||||
JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java \
|
||||
-Xmx1G -jar MediathekView.jar "$@"
|
||||
|
@ -1,10 +0,0 @@
|
||||
Mediathek searches the archives of several German speakingTV stations (ARD,
|
||||
ZDF, Arte, 3Sat, MDR, NDR, ORF, SF), downloads, manages and plays their
|
||||
archived video footage and podcasts.
|
||||
--
|
||||
Das Programm durchsucht die Mediathek verschiedener Sender (ARD, ZDF, Arte,
|
||||
3Sat, MDR, NDR, ORF, SF), laedt Beitraege mit einem Programm eigener Wahl und
|
||||
kann Themen als Abos anlegen und neue Beitraege automatisch downloaden. Es gibt
|
||||
auch eine Moeglichkeit, Podcast zu verwalten und zu downloaden.
|
||||
|
||||
WWW: http://zdfmediathk.sourceforge.net/
|
@ -1,282 +0,0 @@
|
||||
bin/mediathekview
|
||||
%%DATADIR%%/Icons/MediathekView.svg
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/achtung.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-add.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-aktualisieren.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-blacklist-aus.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-blacklist-ein.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-clear.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-del.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-file-open.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-filter-anzeigen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-help.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-move-down.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-move-up.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/button-remove.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/checkbox-close.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/checkbox-edit.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/dialog-add.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/dialog-ein-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/dialog-minus.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/dialog-plus.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-akt-1.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-akt-2.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-akt-3.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-akt-4.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-akt-5.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-off-1.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-off-2.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-off-3.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-off-4.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-off-5.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-on-1.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-on-2.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-on-3.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-on-4.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/filter-on-5.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-abo-aendern.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-abo-loeschen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-abo-neu.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-aktualisieren.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-aus.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-beenden.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-blacklist.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-clear.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-download-aendern.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-download-alle-starten.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-download-bandwith.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-download-gesehen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-download-loeschen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-download-starten.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-download-stop.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-download-zurueckstellen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-ein.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-einstellungen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-file-open.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-film-gesehen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-film-rec.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-filmliste-laden.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-filter-loeschen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-filter-speichern.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-help.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-history-add.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-history-remove.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-up-down.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/menue-vorziehen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/notification-fehler.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/notification.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/statusbar-stop.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/suchen.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-abo-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-abo-top-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-abo-top.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-abo.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-download-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-download-top-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-download-top.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-download.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-film-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-film-top-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-film-top.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-film.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-meldung-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-meldung-top-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-meldung-top.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tab-meldung.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-aus.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-clear-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-clear.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-del-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-del.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-film-start-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-start-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-start.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-stop-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-download-stop.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-ein.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-film-rec-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-film-rec.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-film-start-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-film-stop-sw.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tabelle-film-stop.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-abo-aus.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-abo-config.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-abo-del.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-abo-ein.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-download-alle-starten.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-download-clear.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-download-del.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-download-film-info.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-download-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-download-refresh.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-download-undo.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-filme-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-filme-filmliste-laden.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-filme-info.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/toolbar-filme-rec.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tray-download.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tray-fehler.png
|
||||
%%DATADIR%%/Icons/Programm/SchwarzWeiss/tray.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/achtung.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-add.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-aktualisieren.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-blacklist-aus.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-blacklist-ein.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-clear.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-del.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-file-open.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-filter-anzeigen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-help.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-move-down.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-move-up.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/button-remove.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/checkbox-close.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/checkbox-edit.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/dialog-add.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/dialog-ein-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/dialog-minus.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/dialog-plus.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-akt-1.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-akt-2.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-akt-3.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-akt-4.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-akt-5.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-off-1.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-off-2.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-off-3.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-off-4.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-off-5.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-on-1.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-on-2.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-on-3.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-on-4.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/filter-on-5.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-abo-aendern.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-abo-loeschen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-abo-neu.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-aktualisieren.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-aus.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-beenden.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-blacklist.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-clear.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-download-aendern.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-download-alle-starten.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-download-bandwith.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-download-gesehen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-download-loeschen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-download-starten.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-download-stop.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-download-zurueckstellen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-ein.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-einstellungen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-file-open.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-film-gesehen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-film-rec.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-filmliste-laden.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-filter-loeschen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-filter-speichern.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-help.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-history-add.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-history-remove.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-up-down.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/menue-vorziehen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/notification-fehler.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/notification.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/statusbar-stop.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/suchen.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-abo-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-abo-top-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-abo-top.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-abo.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-download-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-download-top-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-download-top.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-download.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-film-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-film-top-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-film-top.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-film.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-meldung-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-meldung-top-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-meldung-top.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tab-meldung.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-aus.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-clear-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-clear.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-del-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-del.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-film-start-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-filter-down.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-filter-up.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-start-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-start.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-stop-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-download-stop.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-ein.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-film-rec-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-film-rec.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-film-start-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-film-stop-sw.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tabelle-film-stop.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-abo-aus.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-abo-config.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-abo-del.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-abo-ein.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-download-alle-starten.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-download-clear.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-download-del.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-download-film-info.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-download-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-download-refresh.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-download-undo.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-filme-film-start.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-filme-filmliste-laden.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-filme-info.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/toolbar-filme-rec.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tray-download.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tray-fehler.png
|
||||
%%DATADIR%%/Icons/Programm/Version-13/tray.png
|
||||
%%DATADIR%%/MediathekView.ico
|
||||
%%DATADIR%%/MediathekView.jar
|
||||
%%DATADIR%%/lib/animal-sniffer-annotations-1.14.jar
|
||||
%%DATADIR%%/lib/bridj-0.7.0.jar
|
||||
%%DATADIR%%/lib/checker-qual-2.5.2.jar
|
||||
%%DATADIR%%/lib/commons-compress-1.17.jar
|
||||
%%DATADIR%%/lib/commons-configuration2-2.2.jar
|
||||
%%DATADIR%%/lib/commons-dbcp2-2.5.0.jar
|
||||
%%DATADIR%%/lib/commons-io-1.3.1.jar
|
||||
%%DATADIR%%/lib/commons-lang3-3.6.jar
|
||||
%%DATADIR%%/lib/commons-logging-1.2.jar
|
||||
%%DATADIR%%/lib/commons-pool2-2.6.0.jar
|
||||
%%DATADIR%%/lib/controlsfx-8.40.14.jar
|
||||
%%DATADIR%%/lib/dx-1.7.jar
|
||||
%%DATADIR%%/lib/error_prone_annotations-2.1.3.jar
|
||||
%%DATADIR%%/lib/guava-26.0-jre.jar
|
||||
%%DATADIR%%/lib/h2-1.4.197.jar
|
||||
%%DATADIR%%/lib/j2objc-annotations-1.1.jar
|
||||
%%DATADIR%%/lib/jackson-core-2.9.6.jar
|
||||
%%DATADIR%%/lib/jchart2d-3.3.2.jar
|
||||
%%DATADIR%%/lib/jiconfont-1.0.0.jar
|
||||
%%DATADIR%%/lib/jiconfont-font_awesome-4.7.0.0.jar
|
||||
%%DATADIR%%/lib/jiconfont-swing-1.0.1.jar
|
||||
%%DATADIR%%/lib/jide-oss-2.4.8.jar
|
||||
%%DATADIR%%/lib/jide-oss-3.7.4.jar
|
||||
%%DATADIR%%/lib/jsr305-3.0.2.jar
|
||||
%%DATADIR%%/lib/log4j-api-2.8.1.jar
|
||||
%%DATADIR%%/lib/log4j-core-2.8.1.jar
|
||||
%%DATADIR%%/lib/mbassador-1.3.0.jar
|
||||
%%DATADIR%%/lib/metrics-core-4.0.0.jar
|
||||
%%DATADIR%%/lib/miglayout-core-5.1.jar
|
||||
%%DATADIR%%/lib/miglayout-javafx-5.1.jar
|
||||
%%DATADIR%%/lib/miglayout-swing-5.1.jar
|
||||
%%DATADIR%%/lib/okhttp-3.11.0.jar
|
||||
%%DATADIR%%/lib/okio-1.14.0.jar
|
||||
%%DATADIR%%/lib/slf4j-api-1.7.25.jar
|
||||
%%DATADIR%%/lib/xmlgraphics-commons-1.3.1.jar
|
||||
%%DATADIR%%/lib/xz-1.6.jar
|
@ -101,8 +101,6 @@
|
||||
SUBDIR += openjdk8
|
||||
SUBDIR += openjdk8-jre
|
||||
SUBDIR += openjfx14
|
||||
SUBDIR += openjfx8-devel
|
||||
SUBDIR += openjfx8-scenebuilder
|
||||
SUBDIR += phpeclipse
|
||||
SUBDIR += proguard
|
||||
SUBDIR += sablevm
|
||||
|
@ -1,151 +0,0 @@
|
||||
# Created by: Tobias Kortkamp <t@tobik.me>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= openjfx8
|
||||
DISTVERSION= 8u202-b07
|
||||
PORTREVISION= 8
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= java x11-toolkits devel
|
||||
MASTER_SITES= https://github.com/t6/openjfx/releases/download/release/ \
|
||||
http://hg.openjdk.java.net/openjfx/8u/rt/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy=/
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= JavaFX SDK overlay for OpenJDK 8
|
||||
|
||||
BROKEN= Does not build with glib 2.66.0
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
DEPRECATED= No longer maintained upstream
|
||||
EXPIRATION_DATE= 2020-11-30
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
|
||||
BUILD_DEPENDS= apache-ant>0:devel/apache-ant \
|
||||
antlr3>0:devel/antlr3 \
|
||||
gradle4>=4.8:devel/gradle4 \
|
||||
${JAVALIBDIR}/junit.jar:java/junit
|
||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2
|
||||
|
||||
USES= gettext-runtime gl gnome jpeg localbase:ldflags pkgconfig \
|
||||
sqlite xorg
|
||||
USE_GL= gl
|
||||
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 gtk30 pango
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.8
|
||||
USE_LDCONFIG= yes
|
||||
USE_XORG= x11 xtst xxf86vm
|
||||
|
||||
CFLAGS+= -fcommon -Wno-unused-command-line-argument
|
||||
|
||||
WRKSRC= ${WRKDIR}/rt-${DISTVERSION}
|
||||
|
||||
PLIST_SUB= ARCH=${ARCH} \
|
||||
JAVA_HOME=${JAVA_HOME}
|
||||
|
||||
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:multimedia/ffmpeg \
|
||||
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_BUILD_DEPENDS= cmake:devel/cmake
|
||||
WEBKIT_LIB_DEPENDS= libicui18n.so:devel/icu
|
||||
WEBKIT_USES= bison compiler:c++14-lang gmake gperf perl5 python:2.7,build
|
||||
WEBKIT_USE= GNOME=libxslt,libxml2 \
|
||||
PERL5=build \
|
||||
RUBY=yes \
|
||||
XORG=xcomposite,xdamage,xfixes,xrender,xt
|
||||
WEBKIT_VARS= RUBY_NO_RUN_DEPENDS=yes 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
|
||||
_GRADLE_RUN= ${SETENV} ${_GRADLE_ENV} gradle4 --no-daemon
|
||||
|
||||
# NOTE: This port won't build if ${JAVA_HOME}/jre/lib/ext/jfxrt.jar
|
||||
# already exists on your system. This is not a problem in Poudriere
|
||||
# or Synth but something to be aware of if you're trying to build this
|
||||
# port in a non-pristine environment.
|
||||
|
||||
# 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/media/src/main/native/jfxmedia/projects/linux \
|
||||
${WRKSRC}/modules/media/src/main/native/jfxmedia/projects/bsd
|
||||
@${CP} -r ${WRKSRC}/modules/media/src/main/native/gstreamer/projects/linux \
|
||||
${WRKSRC}/modules/media/src/main/native/gstreamer/projects/bsd
|
||||
|
||||
post-patch:
|
||||
@${MKDIR} ${WRKDIR}/bin
|
||||
@${PRINTF} '#!/bin/sh\nexec ${CC} ${CFLAGS} ${LDFLAGS} "$$@"\n' > ${WRKDIR}/bin/ccwrapper
|
||||
@${PRINTF} '#!/bin/sh\nexec ${CXX} ${CXXFLAGS} ${LDFLAGS} "$$@"\n' > ${WRKDIR}/bin/cxxwrapper
|
||||
@${CHMOD} +x ${WRKDIR}/bin/ccwrapper ${WRKDIR}/bin/cxxwrapper
|
||||
@${SED} -e 's@/linux@/freebsd@g' -e 's@-DLINUX@-DFREEBSD@g' -e 's@LINUX@BSD@g' \
|
||||
-e 's@linux_@bsd_@g' -e 's@"-static-libgcc", "-static-libstdc++",@@g' \
|
||||
-e 's@"gcc"@"${WRKDIR}/bin/ccwrapper"@g' -e 's@"g\+\+"@"${WRKDIR}/bin/cxxwrapper"@g' \
|
||||
${WRKSRC}/buildSrc/linux.gradle > ${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/media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio
|
||||
@${CP} ${FILESDIR}/gstsndio.* ${FILESDIR}/sndiosink.* \
|
||||
${WRKSRC}/modules/media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio
|
||||
@cd ${WRKSRC}/modules/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/web/src/main/native/Source/ThirdParty && \
|
||||
${RM} -r icu libxml libxslt sqlite
|
||||
@${RM} -r ${WRKSRC}/modules/web/src/main/native/Source/WTF/icu
|
||||
@cd ${WRKSRC}/modules/media/src/main/native/gstreamer/3rd_party && \
|
||||
${RM} -r glib libffi
|
||||
|
||||
post-patch-SWT-off:
|
||||
@${RM} -r ${WRKSRC}/modules/graphics/src/main/java/com/sun/glass/ui/swt
|
||||
|
||||
do-configure:
|
||||
@${MKDIR} ${WRKDIR}/gradle-home
|
||||
@${ECHO_CMD} "NUM_COMPILE_THREADS = ${MAKE_JOBS_NUMBER}" > ${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
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${_GRADLE_RUN} zips
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${JAVA_HOME}
|
||||
@${TAR} -C ${STAGEDIR}${JAVA_HOME} \
|
||||
-xf ${WRKSRC}/build/bundles/javafx-sdk-overlay.zip
|
||||
@${FIND} ${STAGEDIR}${JAVA_HOME}/jre -name '*.so' -exec ${STRIP_CMD} \{\} \;
|
||||
|
||||
do-test-TEST-on:
|
||||
@cd ${WRKSRC} && ${_GRADLE_RUN} check test
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1563779003
|
||||
SHA256 (openjfx8-8u202-b07.tar.gz) = ca98b6d0721a0e4b91d62672e81594c80a47cfb5ded241de50f10ade9884c400
|
||||
SIZE (openjfx8-8u202-b07.tar.gz) = 70669594
|
@ -1,396 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2008 Jacob Meuser <jakemsr@sdf.lonestar.org>
|
||||
* Copyright (C) 2012 Alexandre Ratchov <alex@caoua.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "gstsndio.h"
|
||||
|
||||
GST_DEBUG_CATEGORY (gst_sndio_debug);
|
||||
#define GST_CAT_DEFAULT gst_sndio_debug
|
||||
|
||||
GType gst_sndiosink_get_type (void);
|
||||
|
||||
gboolean
|
||||
plugin_init_alsa (GstPlugin * plugin)
|
||||
{
|
||||
GST_DEBUG_CATEGORY_INIT (gst_sndio_debug, "sndio", 0, "sndio plugins");
|
||||
|
||||
/* prefer sndiosink over pulsesink (GST_RANK_PRIMARY + 10) */
|
||||
if (!gst_element_register (plugin, "bsdaudiosink", GST_RANK_PRIMARY + 20,
|
||||
gst_sndiosink_get_type()))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
GST_VERSION_MINOR,
|
||||
sndio,
|
||||
"sndio plugin library",
|
||||
plugin_init_alsa, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|
||||
|
||||
/*
|
||||
* common code to src and sink
|
||||
*/
|
||||
|
||||
void
|
||||
gst_sndio_init (struct gstsndio *sio, GObject *obj)
|
||||
{
|
||||
sio->obj = obj;
|
||||
sio->hdl = NULL;
|
||||
sio->device = g_strdup (SIO_DEVANY);
|
||||
}
|
||||
|
||||
void
|
||||
gst_sndio_finalize (struct gstsndio *sio)
|
||||
{
|
||||
gst_caps_replace (&sio->cur_caps, NULL);
|
||||
g_free (sio->device);
|
||||
}
|
||||
|
||||
GstCaps *
|
||||
gst_sndio_getcaps (struct gstsndio *sio, GstCaps * filter)
|
||||
{
|
||||
if (sio->cur_caps == NULL) {
|
||||
/* XXX */
|
||||
GST_LOG_OBJECT (sio->obj, "getcaps called, returning template caps");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
GST_LOG_OBJECT (sio->obj, "returning %" GST_PTR_FORMAT, sio->cur_caps);
|
||||
|
||||
if (filter) {
|
||||
return gst_caps_intersect_full (filter,
|
||||
sio->cur_caps, GST_CAPS_INTERSECT_FIRST);
|
||||
} else {
|
||||
return gst_caps_ref (sio->cur_caps);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
gst_sndio_onvol (void *arg, unsigned int vol)
|
||||
{
|
||||
struct gstsndio *sio = arg;
|
||||
sio->volume = vol;
|
||||
g_object_notify (G_OBJECT (sio->obj), "mute");
|
||||
g_object_notify (G_OBJECT (sio->obj), "volume");
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_sndio_open (struct gstsndio *sio, gint mode)
|
||||
{
|
||||
GValue list = G_VALUE_INIT, item = G_VALUE_INIT;
|
||||
GstStructure *s;
|
||||
GstCaps *caps;
|
||||
struct sio_enc *enc;
|
||||
struct sio_cap cap;
|
||||
char fmt[16];
|
||||
int i, chan;
|
||||
|
||||
GST_DEBUG_OBJECT (sio->obj, "open");
|
||||
|
||||
sio->hdl = sio_open (sio->device, mode, 0);
|
||||
if (sio->hdl == NULL) {
|
||||
GST_ELEMENT_ERROR (sio->obj, RESOURCE, OPEN_READ_WRITE,
|
||||
("Couldn't open sndio device"), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
sio->mode = mode;
|
||||
|
||||
if (!sio_getcap(sio->hdl, &cap)) {
|
||||
GST_ELEMENT_ERROR (sio, RESOURCE, OPEN_WRITE,
|
||||
("Couldn't get device capabilities"), (NULL));
|
||||
sio_close(sio->hdl);
|
||||
sio->hdl = NULL;
|
||||
return FALSE;
|
||||
}
|
||||
if (cap.nconf == 0) {
|
||||
GST_ELEMENT_ERROR (sio, RESOURCE, OPEN_WRITE,
|
||||
("Device has empty capabilities"), (NULL));
|
||||
sio_close(sio->hdl);
|
||||
sio->hdl = NULL;
|
||||
return FALSE;
|
||||
}
|
||||
sio_onvol (sio->hdl, gst_sndio_onvol, sio);
|
||||
|
||||
caps = gst_caps_new_empty ();
|
||||
s = gst_structure_new ("audio/x-raw", (char *)NULL, (void *)NULL);
|
||||
|
||||
/*
|
||||
* scan supported rates
|
||||
*/
|
||||
g_value_init (&list, GST_TYPE_LIST);
|
||||
g_value_init (&item, G_TYPE_INT);
|
||||
for (i = 0; i < SIO_NRATE; i++) {
|
||||
if ((cap.confs[0].rate & (1 << i)) == 0)
|
||||
continue;
|
||||
g_value_set_int(&item, cap.rate[i]);
|
||||
gst_value_list_append_value (&list, &item);
|
||||
}
|
||||
gst_structure_set_value (s, "rate", &list);
|
||||
g_value_unset (&item);
|
||||
g_value_unset (&list);
|
||||
|
||||
/*
|
||||
* scan supported channels
|
||||
*/
|
||||
g_value_init (&list, GST_TYPE_LIST);
|
||||
g_value_init (&item, G_TYPE_INT);
|
||||
chan = (mode == SIO_PLAY) ? cap.confs[0].pchan : cap.confs[0].rchan;
|
||||
for (i = 0; i < SIO_NCHAN; i++) {
|
||||
if ((chan & (1 << i)) == 0)
|
||||
continue;
|
||||
g_value_set_int(&item, (mode == SIO_PLAY) ? cap.pchan[i] : cap.rchan[i]);
|
||||
gst_value_list_append_value (&list, &item);
|
||||
}
|
||||
gst_structure_set_value (s, "channels", &list);
|
||||
g_value_unset (&item);
|
||||
g_value_unset (&list);
|
||||
|
||||
/*
|
||||
* scan supported encodings
|
||||
*/
|
||||
g_value_init (&list, GST_TYPE_LIST);
|
||||
g_value_init (&item, G_TYPE_STRING);
|
||||
for (i = 0; i < SIO_NENC; i++) {
|
||||
if ((cap.confs[0].enc & (1 << i)) == 0)
|
||||
continue;
|
||||
enc = cap.enc + i;
|
||||
if (enc->bits % 8 != 0)
|
||||
continue;
|
||||
if (enc->bits < enc->bps * 8 && enc->msb)
|
||||
continue;
|
||||
if (enc->bits == enc->bps * 8) {
|
||||
snprintf(fmt, sizeof(fmt), "%s%u%s",
|
||||
enc->sig ? "S" : "U",
|
||||
enc->bits,
|
||||
enc->bps > 1 ? (enc->le ? "LE" : "BE") : "");
|
||||
} else {
|
||||
snprintf(fmt, sizeof(fmt), "%s%u_%u%s",
|
||||
enc->sig ? "S" : "U",
|
||||
enc->bits,
|
||||
enc->bps * 8,
|
||||
enc->bps > 1 ? (enc->le ? "LE" : "BE") : "");
|
||||
}
|
||||
g_value_set_string(&item, fmt);
|
||||
gst_value_list_append_value (&list, &item);
|
||||
}
|
||||
gst_structure_set_value (s, "format", &list);
|
||||
g_value_unset (&item);
|
||||
g_value_unset (&list);
|
||||
|
||||
/*
|
||||
* add the only supported layout: interleaved
|
||||
*/
|
||||
g_value_init (&item, G_TYPE_STRING);
|
||||
g_value_set_string(&item, "interleaved");
|
||||
gst_structure_set_value (s, "layout", &item);
|
||||
g_value_unset (&item);
|
||||
|
||||
gst_caps_append_structure (caps, s);
|
||||
sio->cur_caps = caps;
|
||||
GST_DEBUG ("caps are %s", gst_caps_to_string(caps));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_sndio_close (struct gstsndio *sio)
|
||||
{
|
||||
GST_DEBUG_OBJECT (sio->obj, "close");
|
||||
|
||||
gst_caps_replace (&sio->cur_caps, NULL);
|
||||
sio_close (sio->hdl);
|
||||
sio->hdl = NULL;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_sndio_cb (void *addr, int delta)
|
||||
{
|
||||
struct gstsndio *sio = addr;
|
||||
|
||||
delta *= sio->bpf;
|
||||
if (sio->mode == SIO_PLAY)
|
||||
sio->delay -= delta;
|
||||
else
|
||||
sio->delay += delta;
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_sndio_prepare (struct gstsndio *sio, GstAudioRingBufferSpec *spec)
|
||||
{
|
||||
struct sio_par par, retpar;
|
||||
unsigned nchannels;
|
||||
|
||||
GST_DEBUG_OBJECT (sio, "prepare");
|
||||
|
||||
if (spec->type != GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW) {
|
||||
GST_ELEMENT_ERROR (sio, RESOURCE, OPEN_READ_WRITE,
|
||||
("Only raw buffer format supported by sndio"), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
if (!GST_AUDIO_INFO_IS_INTEGER(&spec->info)) {
|
||||
GST_ELEMENT_ERROR (sio, RESOURCE, OPEN_READ_WRITE,
|
||||
("Only integer format supported"), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
if (GST_AUDIO_INFO_DEPTH(&spec->info) % 8) {
|
||||
GST_ELEMENT_ERROR (sio, RESOURCE, OPEN_READ_WRITE,
|
||||
("Only depths multiple of 8 are supported"), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
sio_initpar (&par);
|
||||
switch (GST_AUDIO_INFO_FORMAT (&spec->info)) {
|
||||
case GST_AUDIO_FORMAT_S8:
|
||||
case GST_AUDIO_FORMAT_U8:
|
||||
case GST_AUDIO_FORMAT_S16LE:
|
||||
case GST_AUDIO_FORMAT_S16BE:
|
||||
case GST_AUDIO_FORMAT_U16LE:
|
||||
case GST_AUDIO_FORMAT_U16BE:
|
||||
case GST_AUDIO_FORMAT_S32LE:
|
||||
case GST_AUDIO_FORMAT_S32BE:
|
||||
case GST_AUDIO_FORMAT_U32LE:
|
||||
case GST_AUDIO_FORMAT_U32BE:
|
||||
case GST_AUDIO_FORMAT_S24_32LE:
|
||||
case GST_AUDIO_FORMAT_S24_32BE:
|
||||
case GST_AUDIO_FORMAT_U24_32LE:
|
||||
case GST_AUDIO_FORMAT_U24_32BE:
|
||||
case GST_AUDIO_FORMAT_S24LE:
|
||||
case GST_AUDIO_FORMAT_S24BE:
|
||||
case GST_AUDIO_FORMAT_U24LE:
|
||||
case GST_AUDIO_FORMAT_U24BE:
|
||||
break;
|
||||
default:
|
||||
GST_ELEMENT_ERROR (sio, RESOURCE, OPEN_READ_WRITE,
|
||||
("Unsupported audio format"),
|
||||
("format = %d", GST_AUDIO_INFO_FORMAT (&spec->info)));
|
||||
return FALSE;
|
||||
}
|
||||
par.sig = GST_AUDIO_INFO_IS_SIGNED(&spec->info);
|
||||
par.bits = GST_AUDIO_INFO_WIDTH(&spec->info);
|
||||
par.bps = GST_AUDIO_INFO_DEPTH(&spec->info) / 8;
|
||||
if (par.bps > 1)
|
||||
par.le = GST_AUDIO_INFO_IS_LITTLE_ENDIAN(&spec->info);
|
||||
if (par.bits < par.bps * 8)
|
||||
par.msb = 0;
|
||||
par.rate = GST_AUDIO_INFO_RATE(&spec->info);
|
||||
if (sio->mode == SIO_PLAY)
|
||||
par.pchan = GST_AUDIO_INFO_CHANNELS(&spec->info);
|
||||
else
|
||||
par.rchan = GST_AUDIO_INFO_CHANNELS(&spec->info);
|
||||
par.round = par.rate / 1000000. * spec->latency_time;
|
||||
par.appbufsz = par.rate / 1000000. * spec->buffer_time;
|
||||
|
||||
if (!sio_setpar (sio->hdl, &par)) {
|
||||
GST_ELEMENT_ERROR (sio, RESOURCE, OPEN_WRITE,
|
||||
("Unsupported audio encoding"), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
if (!sio_getpar (sio->hdl, &retpar)) {
|
||||
GST_ELEMENT_ERROR (sio, RESOURCE, OPEN_WRITE,
|
||||
("Couldn't get audio device parameters"), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
#if 0
|
||||
GST_DEBUG ("format = %s, "
|
||||
"requested: sig = %d, bits = %d, bps = %d, le = %d, msb = %d, "
|
||||
"rate = %d, pchan = %d, round = %d, appbufsz = %d; "
|
||||
"returned: sig = %d, bits = %d, bps = %d, le = %d, msb = %d, "
|
||||
"rate = %d, pchan = %d, round = %d, appbufsz = %d, bufsz = %d",
|
||||
GST_AUDIO_INFO_NAME(&spec->info),
|
||||
par.sig, par.bits, par.bps, par.le, par.msb,
|
||||
par.rate, par.pchan, par.round, par.appbufsz,
|
||||
retpar.sig, retpar.bits, retpar.bps, retpar.le, retpar.msb,
|
||||
retpar.rate, retpar.pchan, retpar.round, retpar.appbufsz, retpar.bufsz);
|
||||
#endif
|
||||
if (par.bits != retpar.bits ||
|
||||
par.bps != retpar.bps ||
|
||||
par.rate != retpar.rate ||
|
||||
(sio->mode == SIO_PLAY && par.pchan != retpar.pchan) ||
|
||||
(sio->mode == SIO_REC && par.rchan != retpar.rchan) ||
|
||||
(par.bps > 1 && par.le != retpar.le) ||
|
||||
(par.bits < par.bps * 8 && par.msb != retpar.msb)) {
|
||||
GST_ELEMENT_ERROR (sio, RESOURCE, OPEN_WRITE,
|
||||
("Audio device refused requested parameters"), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
nchannels = (sio->mode == SIO_PLAY) ? retpar.pchan : retpar.rchan;
|
||||
spec->segsize = retpar.round * retpar.bps * nchannels;
|
||||
spec->segtotal = retpar.bufsz / retpar.round;
|
||||
sio->bpf = retpar.bps * nchannels;
|
||||
sio->delay = 0;
|
||||
sio_onmove (sio->hdl, gst_sndio_cb, sio);
|
||||
|
||||
if (!sio_start (sio->hdl)) {
|
||||
GST_ELEMENT_ERROR (sio->obj, RESOURCE, OPEN_READ_WRITE,
|
||||
("Could not start sndio"), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_sndio_unprepare (struct gstsndio *sio)
|
||||
{
|
||||
if (sio->hdl)
|
||||
sio_stop (sio->hdl);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
gst_sndio_set_property (struct gstsndio *sio, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
switch (prop_id) {
|
||||
case PROP_DEVICE:
|
||||
g_free (sio->device);
|
||||
sio->device = g_value_dup_string (value);
|
||||
break;
|
||||
case PROP_VOLUME:
|
||||
sio_setvol (sio->hdl, g_value_get_double (value) * SIO_MAXVOL);
|
||||
break;
|
||||
case PROP_MUTE:
|
||||
if (g_value_get_boolean (value))
|
||||
sio_setvol (sio->hdl, 0);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
gst_sndio_get_property (struct gstsndio *sio, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
switch (prop_id) {
|
||||
case PROP_DEVICE:
|
||||
g_value_set_string (value, sio->device);
|
||||
break;
|
||||
case PROP_VOLUME:
|
||||
g_value_set_double (value, (gdouble)sio->volume / SIO_MAXVOL);
|
||||
break;
|
||||
case PROP_MUTE:
|
||||
g_value_set_boolean (value, (sio->volume == 0));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (sio->obj, prop_id, pspec);
|
||||
}
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2012 Alexandre Ratchov <alex@caoua.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
#ifndef __GST_SNDIO_H__
|
||||
#define __GST_SNDIO_H__
|
||||
|
||||
#include <sndio.h>
|
||||
#include <gst/gst.h>
|
||||
#include <gst/audio/gstaudiosink.h>
|
||||
#include <gst/audio/gstaudiosrc.h>
|
||||
#include <gst/audio/streamvolume.h>
|
||||
|
||||
enum
|
||||
{
|
||||
PROP_0,
|
||||
PROP_DEVICE,
|
||||
PROP_VOLUME,
|
||||
PROP_MUTE
|
||||
};
|
||||
|
||||
#define GST_SNDIO_CAPS_STRING \
|
||||
"audio/x-raw, " \
|
||||
"format = (string) { " \
|
||||
"S8, U8, " \
|
||||
"S16LE, S16BE, U16LE, U16BE, " \
|
||||
"S32LE, S32BE, U32LE, U32BE, " \
|
||||
"S24_32LE, S24_32BE, U24_32LE, " \
|
||||
"U24_32BE, S24LE, S24BE, U24LE, U24BE " \
|
||||
"}, " \
|
||||
"layout = (string) interleaved, " \
|
||||
"rate = (int) [ 8000, 192000 ], " \
|
||||
"channels = (int) [1, 16]"
|
||||
|
||||
/*
|
||||
* data common to src and sink
|
||||
*/
|
||||
struct gstsndio {
|
||||
struct sio_hdl *hdl;
|
||||
gchar *device;
|
||||
gint mode;
|
||||
gint bpf; /* bytes per frame */
|
||||
gint delay; /* bytes stored in the audio fifo */
|
||||
guint volume; /* volume level */
|
||||
GstCaps *cur_caps; /* saved capabilities of opened device */
|
||||
GObject *obj; /* for logging */
|
||||
};
|
||||
|
||||
#define GST_SNDIO_DELAY(s) ((s)->delay / (s)->bpf)
|
||||
|
||||
void gst_sndio_init (struct gstsndio *sio, GObject *obj);
|
||||
void gst_sndio_finalize (struct gstsndio *sio);
|
||||
GstCaps *gst_sndio_getcaps (struct gstsndio *sio, GstCaps * filter);
|
||||
gboolean gst_sndio_open (struct gstsndio *sio, gint mode);
|
||||
gboolean gst_sndio_close (struct gstsndio *sio);
|
||||
gboolean gst_sndio_prepare (struct gstsndio *sio, GstAudioRingBufferSpec *spec);
|
||||
gboolean gst_sndio_unprepare (struct gstsndio *sio);
|
||||
void gst_sndio_set_property (struct gstsndio *sio, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec);
|
||||
void gst_sndio_get_property (struct gstsndio *sio, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec);
|
||||
|
||||
int gst_sndio_setpar(gpointer sio, GstAudioRingBufferSpec * spec,
|
||||
int mode, struct sio_hdl *hdl);
|
||||
GstCaps *gst_sndio_caps (gpointer sio, int mode, struct sio_hdl *hdl);
|
||||
|
||||
#endif
|
@ -1,337 +0,0 @@
|
||||
--- build.gradle.orig 2018-12-10 16:30:22 UTC
|
||||
+++ build.gradle
|
||||
@@ -253,6 +253,7 @@ ext.IS_64 = OS_ARCH.toLowerCase().contains("64")
|
||||
ext.IS_MAC = OS_NAME.contains("mac") || OS_NAME.contains("darwin")
|
||||
ext.IS_WINDOWS = OS_NAME.contains("windows")
|
||||
ext.IS_LINUX = OS_NAME.contains("linux")
|
||||
+ext.IS_BSD = OS_NAME.contains("freebsd") || OS_NAME.contains("dragonfly")
|
||||
|
||||
// Get the JDK_HOME automatically based on the version of Java used to execute gradle. Or, if specified,
|
||||
// use a user supplied JDK_HOME, STUB_RUNTIME, JAVAC, and/or JAVAH, all of which may be specified
|
||||
@@ -313,7 +314,7 @@ defineProperty("COMPILE_MEDIA", "false")
|
||||
ext.IS_COMPILE_MEDIA = Boolean.parseBoolean(COMPILE_MEDIA)
|
||||
|
||||
// COMPILE_PANGO specifies whether to build javafx_font_pango.
|
||||
-defineProperty("COMPILE_PANGO", "${IS_LINUX}")
|
||||
+defineProperty("COMPILE_PANGO", "${IS_LINUX || IS_BSD}")
|
||||
ext.IS_COMPILE_PANGO = Boolean.parseBoolean(COMPILE_PANGO)
|
||||
|
||||
// COMPILE_HARFBUZZ specifies whether to use Harfbuzz.
|
||||
@@ -344,7 +345,8 @@ ext.SWT_FILE_NAME = IS_MAC ? "org.eclipse.swt.cocoa.ma
|
||||
IS_WINDOWS && IS_64 ? "org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512" :
|
||||
IS_WINDOWS && !IS_64 ? "org.eclipse.swt.win32.win32.x86_3.105.3.v20170228-0512" :
|
||||
IS_LINUX && IS_64 ? "org.eclipse.swt.gtk.linux.x86_64_3.105.3.v20170228-0512" :
|
||||
- IS_LINUX && !IS_64 ? "org.eclipse.swt.gtk.linux.x86_3.105.3.v20170228-0512" : ""
|
||||
+ IS_LINUX && !IS_64 ? "org.eclipse.swt.gtk.linux.x86_3.105.3.v20170228-0512" :
|
||||
+ IS_BSD ? "/usr/local/share/java/classes/swt.jar" : ""
|
||||
|
||||
// Build javadocs only if BUILD_JAVADOC=true
|
||||
defineProperty("BUILD_JAVADOC", "false")
|
||||
@@ -404,6 +406,12 @@ if (IS_MAC) {
|
||||
defineProperty("NUM_COMPILE_THREADS", "${Runtime.runtime.availableProcessors()}")
|
||||
}
|
||||
|
||||
+if (IS_BSD) {
|
||||
+ ext.MAKE_CMD = "gmake"
|
||||
+} else {
|
||||
+ ext.MAKE_CMD = "make"
|
||||
+}
|
||||
+
|
||||
//
|
||||
// The next three sections of properties are used to generate the
|
||||
// VersionInfo class, and the Windows DLL manifest.
|
||||
@@ -444,7 +452,7 @@ defineProperty("RELEASE_MILESTONE", jfxReleaseMileston
|
||||
// Check whether the COMPILE_TARGETS property has been specified (if so, it was done by
|
||||
// the user and not by this script). If it has not been defined then default
|
||||
// to building the normal desktop build for this machine
|
||||
-project.ext.set("defaultHostTarget", IS_MAC ? "mac" : IS_WINDOWS ? "win" : IS_LINUX ? "linux" : "");
|
||||
+project.ext.set("defaultHostTarget", IS_MAC ? "mac" : IS_WINDOWS ? "win" : IS_LINUX ? "linux" : IS_BSD ? "bsd" : "");
|
||||
defineProperty("COMPILE_TARGETS", "$defaultHostTarget")
|
||||
|
||||
// Flag indicating whether to import cross compile tools
|
||||
@@ -551,7 +559,7 @@ void fetchExternalTools(String configName, List packag
|
||||
def File pkgdir = file("$destdir/$basename")
|
||||
|
||||
if (pkgname.endsWith(".tgz")) {
|
||||
- if (IS_LINUX || IS_MAC) {
|
||||
+ if (IS_BSD || IS_LINUX || IS_MAC) {
|
||||
// use native tar to support symlinks
|
||||
pkgdir.mkdirs()
|
||||
exec {
|
||||
@@ -676,7 +684,7 @@ compileTargets { t ->
|
||||
if (!targetProperties.containsKey('includeMonocle')) targetProperties.includeMonocle = false
|
||||
if (!targetProperties.containsKey('includeEGL')) targetProperties.includeEGL = false
|
||||
|
||||
- if (!targetProperties.containsKey('includeGTK')) targetProperties.includeGTK = IS_LINUX
|
||||
+ if (!targetProperties.containsKey('includeGTK')) targetProperties.includeGTK = IS_LINUX || IS_BSD
|
||||
|
||||
// This value is used to under ./build/${sdkDirName} to allow for
|
||||
// a common name for the hosted build (for use when building apps)
|
||||
@@ -708,7 +716,7 @@ compileTargets { t ->
|
||||
// at present building on PI is not supported, but we would only need to make
|
||||
// some changes on assumptions on what should be built (like SWT / Swing) and
|
||||
// such and we could probably make it work.
|
||||
-if (!IS_MAC && !IS_WINDOWS && !IS_LINUX) logger.error("Unsupported build OS ${OS_NAME}")
|
||||
+if (!IS_MAC && !IS_WINDOWS && !IS_LINUX && !IS_BSD) logger.error("Unsupported build OS ${OS_NAME}")
|
||||
if (IS_WINDOWS && OS_ARCH != "x86" && OS_ARCH != "amd64") {
|
||||
throw new Exception("Unknown and unsupported build architecture: $OS_ARCH")
|
||||
} else if (IS_MAC && OS_ARCH != "x86_64") {
|
||||
@@ -1165,7 +1173,8 @@ allprojects {
|
||||
// By default all of our projects require junit for testing so we can just
|
||||
// setup this dependency here.
|
||||
dependencies {
|
||||
- testCompile group: "junit", name: "junit", version: "4.8.2"
|
||||
+ testCompile files("/usr/local/share/java/classes/junit4.jar",
|
||||
+ "/usr/local/share/java/classes/hamcrest.jar")
|
||||
if (BUILD_CLOSED && DO_JCOV) {
|
||||
testCompile name: "jcov"
|
||||
}
|
||||
@@ -1303,12 +1312,15 @@ project(":graphics") {
|
||||
|
||||
dependencies {
|
||||
compile project(":base"), BUILD_SRC
|
||||
- compile name: SWT_FILE_NAME
|
||||
- stubCompile group: "junit", name: "junit", version: "4.8.2",
|
||||
+ if (IS_BSD) {
|
||||
+ compile files(SWT_FILE_NAME)
|
||||
+ } else {
|
||||
+ compile name: SWT_FILE_NAME
|
||||
+ }
|
||||
+ stubCompile files("/usr/local/share/java/classes/junit4.jar",
|
||||
+ "/usr/local/share/java/classes/hamcrest.jar"),
|
||||
project(":base").sourceSets.test.output, sourceSets.main.output
|
||||
- antlr3 group: "org.antlr", name: "antlr", version: "3.1.3"
|
||||
- antlr3 group: "org.antlr", name: "antlr-runtime", version: "3.1.3"
|
||||
- antlr3 group: "org.antlr", name: "stringtemplate", version: "3.2"
|
||||
+ antlr3 files("/usr/local/share/java/classes/antlr-3.5.2-complete.jar")
|
||||
}
|
||||
|
||||
// Create a single "native" task which will depend on all the individual native tasks for graphics
|
||||
@@ -1599,9 +1611,7 @@ project(":graphics") {
|
||||
copy {
|
||||
into libsDir
|
||||
from f.getParentFile()
|
||||
- include "**/antlr-3.1.3.jar"
|
||||
- include "**/stringtemplate-3.2.jar"
|
||||
- include "**/antlr-runtime-3.1.3.jar"
|
||||
+ include "**/antlr-3.5.2-complete.jar"
|
||||
includeEmptyDirs = false
|
||||
}
|
||||
// Have to rename the swt jar because it is some platform specific name but
|
||||
@@ -1688,7 +1698,11 @@ project(":swt") {
|
||||
}
|
||||
dependencies {
|
||||
compile BUILD_SRC, project(":base"), project(":graphics")
|
||||
- compile name: SWT_FILE_NAME
|
||||
+ if (IS_BSD) {
|
||||
+ compile files(SWT_FILE_NAME)
|
||||
+ } else {
|
||||
+ compile name: SWT_FILE_NAME
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1794,7 +1808,7 @@ project(":fxpackager") {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
- compile group: "org.apache.ant", name: "ant", version: "1.8.2"
|
||||
+ compile files("/usr/local/share/java/apache-ant/lib/ant.jar")
|
||||
}
|
||||
|
||||
// When producing the jar, we need to relocate a few class files
|
||||
@@ -2055,23 +2069,6 @@ project(":fxpackager") {
|
||||
jar.dependsOn buildJavaPackager
|
||||
jar.dependsOn packagerJar
|
||||
|
||||
- classes {
|
||||
- doLast {
|
||||
- // Copy all of the download libraries to libs directory for the sake of the IDEs
|
||||
- File libsDir = rootProject.file("build/libs");
|
||||
- File antLib = new File(libsDir, "ant-1.8.2.jar")
|
||||
- libsDir.mkdirs();
|
||||
- for (File f : configurations.compile.files) {
|
||||
- copy {
|
||||
- into libsDir
|
||||
- from f.getParentFile()
|
||||
- include "**/ant-1.8.2.jar"
|
||||
- includeEmptyDirs = false
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
-
|
||||
task packagerFakeJar(type: Jar) {
|
||||
dependsOn compileTestJava
|
||||
from compileTestJava.destinationDir
|
||||
@@ -2250,7 +2247,7 @@ project(":media") {
|
||||
|
||||
doLast {
|
||||
exec {
|
||||
- commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/jfxmedia/projects/${projectDir}")
|
||||
+ commandLine (MAKE_CMD, "${makeJobsFlag}", "-C", "${nativeSrcDir}/jfxmedia/projects/${projectDir}")
|
||||
args("JAVA_HOME=${JDK_HOME}", "GENERATED_HEADERS_DIR=${generatedHeadersDir}",
|
||||
"OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=jfxmedia",
|
||||
"COMPILE_PARFAIT=${compileParfait}")
|
||||
@@ -2260,7 +2257,7 @@ project(":media") {
|
||||
args(IS_64 ? "ARCH=x64" : "ARCH=x32", "RESOURCE=${nativeOutputDir}/${buildType}/${WIN.media.jfxmediaRcFile}")
|
||||
} else {
|
||||
args ("CC=${mediaProperties.compiler}", "LINK=${mediaProperties.linker}", "LIB=${mediaProperties.lib}")
|
||||
- if (t.name == "linux") {
|
||||
+ if (t.name == "linux" || t.name == "bsd") {
|
||||
args(IS_64 ? "ARCH=x64" : "ARCH=x32")
|
||||
}
|
||||
|
||||
@@ -2282,7 +2279,7 @@ project(":media") {
|
||||
enabled = IS_COMPILE_MEDIA
|
||||
doLast {
|
||||
exec {
|
||||
- commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/gstreamer-lite")
|
||||
+ commandLine (MAKE_CMD, "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/gstreamer-lite")
|
||||
args("OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=gstreamer-lite")
|
||||
|
||||
if (t.name == "win") {
|
||||
@@ -2290,7 +2287,7 @@ project(":media") {
|
||||
args(IS_64 ? "ARCH=x64" : "ARCH=x32", "RESOURCE=${nativeOutputDir}/${buildType}/${WIN.media.gstreamerRcFile}")
|
||||
} else {
|
||||
args ("CC=${mediaProperties.compiler}", "LINK=${mediaProperties.linker}", "LIB=${mediaProperties.lib}")
|
||||
- if (t.name == "linux") {
|
||||
+ if (t.name == "linux" || t.name == "bsd") {
|
||||
args(IS_64 ? "ARCH=x64" : "ARCH=x32")
|
||||
}
|
||||
}
|
||||
@@ -2311,7 +2308,7 @@ project(":media") {
|
||||
|
||||
doLast {
|
||||
exec {
|
||||
- commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/fxplugins")
|
||||
+ commandLine (MAKE_CMD, "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/fxplugins")
|
||||
args("OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=fxplugins",
|
||||
"ON2_SRCDIR=${project.ext.ON2_SRCDIR}", "ON2_LIB=${project.ext.ON2_LIB}")
|
||||
|
||||
@@ -2328,7 +2325,7 @@ project(":media") {
|
||||
args(IS_64 ? "ARCH=x64" : "ARCH=x32", "RESOURCE=${nativeOutputDir}/${buildType}/${WIN.media.fxpluginsRcFile}")
|
||||
} else {
|
||||
args ("CC=${mediaProperties.compiler}", "LINK=${mediaProperties.linker}", "LIB=${mediaProperties.lib}")
|
||||
- if (t.name == "linux") {
|
||||
+ if (t.name == "linux" || t.name == "bsd") {
|
||||
args(IS_64 ? "ARCH=x64" : "ARCH=x32")
|
||||
}
|
||||
}
|
||||
@@ -2338,7 +2335,7 @@ project(":media") {
|
||||
|
||||
buildNative.dependsOn buildPlugins
|
||||
|
||||
- if (t.name == "linux") {
|
||||
+ if (t.name == "linux" || t.name == "bsd") {
|
||||
def buildAVPlugin = task( "buildAVPlugin", dependsOn: [buildPlugins]) {
|
||||
enabled = IS_COMPILE_MEDIA
|
||||
|
||||
@@ -2349,7 +2346,7 @@ project(":media") {
|
||||
File dir = file(libavDir)
|
||||
if (dir.exists()) {
|
||||
exec {
|
||||
- commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin")
|
||||
+ commandLine (MAKE_CMD, "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${t.name}/avplugin")
|
||||
args("CC=${mediaProperties.compiler}", "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}",
|
||||
"BASE_NAME=avplugin", "VERSION=${version}", "LIBAV_DIR=${libavDir}",
|
||||
"SUFFIX=", IS_64 ? "ARCH=x64" : "ARCH=x32")
|
||||
@@ -2362,7 +2359,7 @@ project(":media") {
|
||||
File dir = file(libavDir)
|
||||
if (dir.exists()) {
|
||||
exec {
|
||||
- commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin")
|
||||
+ commandLine (MAKE_CMD, "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${t.name}/avplugin")
|
||||
args("CC=${mediaProperties.compiler}", "LINKER=${mediaProperties.linker}",
|
||||
"OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}",
|
||||
"BASE_NAME=avplugin", "VERSION=${version}", "LIBAV_DIR=${libavDir}",
|
||||
@@ -2373,7 +2370,7 @@ project(":media") {
|
||||
} else {
|
||||
// Building fxavcodec plugin (libav plugin)
|
||||
exec {
|
||||
- commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin")
|
||||
+ commandLine (MAKE_CMD, "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${t.name}/avplugin")
|
||||
args("CC=${mediaProperties.compiler}", "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}",
|
||||
"BASE_NAME=avplugin", IS_64 ? "ARCH=x64" : "ARCH=x32")
|
||||
}
|
||||
@@ -2423,7 +2420,7 @@ project(":media") {
|
||||
doLast {
|
||||
exec {
|
||||
environment(WINDOWS_NATIVE_COMPILE_ENVIRONMENT)
|
||||
- commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/glib-lite")
|
||||
+ commandLine (MAKE_CMD, "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/glib-lite")
|
||||
args("OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=glib-lite",
|
||||
IS_64 ? "ARCH=x64" : "ARCH=x32", "RESOURCE=${nativeOutputDir}/${buildType}/${WIN.media.glibRcFile}")
|
||||
}
|
||||
@@ -2442,7 +2439,7 @@ project(":media") {
|
||||
}
|
||||
|
||||
exec {
|
||||
- commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/glib-lite")
|
||||
+ commandLine (MAKE_CMD, "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/glib-lite")
|
||||
args("OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=glib-lite")
|
||||
args ("CC=${mediaProperties.compiler}", "LINK=${mediaProperties.linker}", "LIB=${mediaProperties.lib}")
|
||||
}
|
||||
@@ -2562,7 +2559,7 @@ project(":web") {
|
||||
compileTargets { t ->
|
||||
def targetProperties = project.rootProject.ext[t.upper]
|
||||
def webkitProperties = targetProperties.webkit
|
||||
- def classifier = (t.name != "linux" && t.name != "win") ? t.name :
|
||||
+ def classifier = (t.name != "linux" && t.name != "bsd" && t.name != "win") ? t.name :
|
||||
IS_64 ? "${t.name}-amd64" : "${t.name}-i586"
|
||||
|
||||
def webkitOutputDir = cygpath("$buildDir/${t.name}")
|
||||
@@ -2638,6 +2635,9 @@ project(":web") {
|
||||
}
|
||||
|
||||
cmakeArgs += " -DJAVAFX_RELEASE_VERSION=8.0"
|
||||
+ cmakeArgs += " -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
|
||||
+ cmakeArgs += " -DCMAKE_C_COMPILER:STRING=${System.getenv("CC")}"
|
||||
+ cmakeArgs += " -DCMAKE_CXX_COMPILER:STRING=${System.getenv("CXX")}"
|
||||
commandLine("perl", "$projectDir/src/main/native/Tools/Scripts/build-webkit",
|
||||
"--java", "--icu-unicode", targetCpuBitDepthSwitch,
|
||||
"--cmakeargs=${cmakeArgs}")
|
||||
@@ -3132,7 +3132,7 @@ compileTargets { t ->
|
||||
// OSX media natives
|
||||
[ "jfxmedia_qtkit", "jfxmedia_avf" ].each { name ->
|
||||
from ("modules/media/build/native/${t.name}/${mediaBuildType}/${library(name)}") }
|
||||
- } else if (t.name == "linux") {
|
||||
+ } else if (t.name == "linux" || t.name == "bsd") {
|
||||
from("modules/media/build/native/${t.name}/${mediaBuildType}") { include "libavplugin*.so" }
|
||||
}
|
||||
} else {
|
||||
@@ -3145,7 +3145,7 @@ compileTargets { t ->
|
||||
// copy libjfxmedia_{avf,qtkit}.dylib if they exist
|
||||
[ "jfxmedia_qtkit", "jfxmedia_avf" ].each { name ->
|
||||
from ("$LIBRARY_STUB/${library(name)}") }
|
||||
- } else if (t.name == "linux") {
|
||||
+ } else if (t.name == "linux" || t.name == "bsd") {
|
||||
from(LIBRARY_STUB) { include "libavplugin*.so" }
|
||||
}
|
||||
}
|
||||
@@ -3207,7 +3207,7 @@ compileTargets { t ->
|
||||
}
|
||||
|
||||
// Copy over the javapackager executable
|
||||
- if (t.name == "win" || t.name == "linux" || t.name == "mac") {
|
||||
+ if (t.name == "win" || t.name == "linux" || t.name == "bsd" || t.name == "mac") {
|
||||
copy {
|
||||
from "modules/fxpackager/build/javapackager"
|
||||
into "build/${sdkDirName}/bin"
|
||||
@@ -3264,6 +3264,7 @@ ext.JFXRT_CP =
|
||||
"modules/web/build/classes/java/main",
|
||||
)
|
||||
|
||||
+/*
|
||||
project(":apps") {
|
||||
// The apps build is Ant based, and gradle lets us "import" ant build.xml
|
||||
// into our configuration.
|
||||
@@ -3341,7 +3342,7 @@ project(":apps") {
|
||||
}
|
||||
rootProject.clean.dependsOn(appsClean)
|
||||
}
|
||||
-}
|
||||
+} */
|
||||
|
||||
/******************************************************************************
|
||||
* *
|
@ -1,18 +0,0 @@
|
||||
--- buildSrc/build.gradle.orig 2017-09-08 16:56:55 UTC
|
||||
+++ buildSrc/build.gradle
|
||||
@@ -81,11 +81,10 @@ sourceSets {
|
||||
getConfigurations().create("antlr3");
|
||||
|
||||
dependencies {
|
||||
- compile group: "org.antlr", name: "antlr", version: "3.1.3"
|
||||
- testCompile group: "junit", name: "junit", version: "4.8.2"
|
||||
- antlr3 group: "org.antlr", name: "antlr-runtime", version: "3.1.3"
|
||||
- antlr3 group: "org.antlr", name: "stringtemplate", version: "3.2"
|
||||
- antlr3 group: "org.antlr", name: "antlr", version: "3.1.3"
|
||||
+ compile files("/usr/local/share/java/classes/antlr-3.5.2-complete.jar")
|
||||
+ testCompile files("/usr/local/share/java/classes/junit4.jar",
|
||||
+ "/usr/local/share/java/classes/hamcrest.jar")
|
||||
+ antlr3 files("/usr/local/share/java/classes/antlr-3.5.2-complete.jar")
|
||||
}
|
||||
|
||||
// At the moment the ASM library shipped with Gradle that is used to
|
@ -1,77 +0,0 @@
|
||||
Partial backport of:
|
||||
|
||||
From c3cf651016e4cdcb4350598d4a586821071f91bf Mon Sep 17 00:00:00 2001
|
||||
From: "cturner@igalia.com"
|
||||
<cturner@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
|
||||
Date: Thu, 30 Apr 2020 15:12:36 +0000
|
||||
Subject: [PATCH] [clang 11] fix build errors due to -WWc++11-narrowing
|
||||
https://bugs.webkit.org/show_bug.cgi?id=211193
|
||||
|
||||
Reviewed by Adrian Perez de Castro.
|
||||
|
||||
Fixes the following errors,
|
||||
|
||||
Source/WebCore/html/MediaElementSession.cpp:1059:9: error: type 'WebCore::RenderMedia *' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]
|
||||
m_element.renderer(),
|
||||
^~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Source/WebCore/style/StyleResolver.cpp:106:55: error: type 'const char [4]' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]
|
||||
m_mediaQueryEvaluator = MediaQueryEvaluator { "all" };
|
||||
^~~~~
|
||||
Source/WebCore/style/StyleResolver.cpp:106:55: note: insert an explicit cast to silence this issue
|
||||
m_mediaQueryEvaluator = MediaQueryEvaluator { "all" };
|
||||
^~~~~
|
||||
static_cast<bool>( )
|
||||
|
||||
* html/HTMLMediaElement.h:
|
||||
(WebCore::HTMLMediaElement::hasRenderer const):
|
||||
MediaElementSession was implicitly casting a pointer to a bool,
|
||||
which is not allowed with modern Clang checks. Add a helper method
|
||||
to encapsulate the now required static_cast<bool>.
|
||||
* html/MediaElementSession.cpp: Use the new helper method to see
|
||||
if the HTMLMediaElement has an associated renderer.
|
||||
(WebCore::MediaElementSession::updateMediaUsageIfChanged):
|
||||
* style/StyleResolver.cpp: This was calling MediaQueryEvaluator {
|
||||
"all" }; and seemingly expecting to cast a const char[] to a bool,
|
||||
or maybe String? It's confusing because of the MediaQueryEvaluator
|
||||
API. If it was implicitly converting to bool then that could be
|
||||
unintentional. Such casts are not allowed either now. The
|
||||
MediaQueryEvaluator's default constructor says it returns true for
|
||||
"all", which appears to be the original intent of this call, so I
|
||||
replaced it with that.
|
||||
(WebCore::Style::Resolver::Resolver):
|
||||
|
||||
|
||||
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@260951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
|
||||
---
|
||||
Source/WebCore/ChangeLog | 39 +++++++++++++++++++++
|
||||
Source/WebCore/html/HTMLMediaElement.h | 1 +
|
||||
Source/WebCore/html/MediaElementSession.cpp | 2 +-
|
||||
Source/WebCore/style/StyleResolver.cpp | 2 +-
|
||||
4 files changed, 42 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Source/WebCore/html/HTMLMediaElement.h b/Source/WebCore/html/HTMLMediaElement.h
|
||||
index b466dfc139d7..444f349df87b 100644
|
||||
--- modules/web/src/main/native/Source/WebCore/html/HTMLMediaElement.h
|
||||
+++ modules/web/src/main/native/Source/WebCore/html/HTMLMediaElement.h
|
||||
@@ -155,6 +155,7 @@ class HTMLMediaElement
|
||||
virtual bool isVideo() const { return false; }
|
||||
bool hasVideo() const override { return false; }
|
||||
bool hasAudio() const override;
|
||||
+ bool hasRenderer() const { return static_cast<bool>(renderer()); }
|
||||
|
||||
static HashSet<HTMLMediaElement*>& allMediaElements();
|
||||
|
||||
diff --git a/Source/WebCore/style/StyleResolver.cpp b/Source/WebCore/style/StyleResolver.cpp
|
||||
index 651f8f1e2d78..9333b83913a4 100644
|
||||
--- modules/web/src/main/native/Source/WebCore/css/StyleResolver.cpp
|
||||
+++ modules/web/src/main/native/Source/WebCore/css/StyleResolver.cpp
|
||||
@@ -103,7 +103,7 @@ Resolver::Resolver(Document& document)
|
||||
if (view)
|
||||
m_mediaQueryEvaluator = MediaQueryEvaluator { view->mediaType() };
|
||||
else
|
||||
- m_mediaQueryEvaluator = MediaQueryEvaluator { "all" };
|
||||
+ m_mediaQueryEvaluator = MediaQueryEvaluator { };
|
||||
|
||||
if (root) {
|
||||
m_rootDefaultStyle = styleForElement(*root, m_document.renderStyle(), nullptr, RuleMatchingBehavior::MatchOnlyUserAgentRules).renderStyle;
|
@ -1,37 +0,0 @@
|
||||
--- modules/base/src/main/java/com/sun/javafx/PlatformUtil.java.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/base/src/main/java/com/sun/javafx/PlatformUtil.java
|
||||
@@ -69,6 +69,7 @@ public class PlatformUtil {
|
||||
private static final boolean WINDOWS_7_OR_LATER = WINDOWS && versionNumberGreaterThanOrEqualTo(6.1f);
|
||||
private static final boolean MAC = os.startsWith("Mac");
|
||||
private static final boolean LINUX = os.startsWith("Linux") && !ANDROID;
|
||||
+ private static final boolean FREEBSD = os.startsWith("FreeBSD");
|
||||
private static final boolean SOLARIS = os.startsWith("SunOS");
|
||||
private static final boolean IOS = os.startsWith("iOS");
|
||||
|
||||
@@ -124,6 +125,13 @@ public class PlatformUtil {
|
||||
return LINUX;
|
||||
}
|
||||
|
||||
+ /**
|
||||
+ * Returns true if the operating system is a form of FreeBSD.
|
||||
+ */
|
||||
+ public static boolean isFreeBSD(){
|
||||
+ return FREEBSD;
|
||||
+ }
|
||||
+
|
||||
public static boolean useEGL() {
|
||||
return useEGL;
|
||||
}
|
||||
@@ -150,10 +158,10 @@ public class PlatformUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
- * Returns true if the operating system is a form of Linux or Solaris
|
||||
+ * Returns true if the operating system is a form of Unix
|
||||
*/
|
||||
public static boolean isUnix(){
|
||||
- return LINUX || SOLARIS;
|
||||
+ return LINUX || SOLARIS || FREEBSD;
|
||||
}
|
||||
|
||||
/**
|
@ -1,20 +0,0 @@
|
||||
--- modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TextInputControlBehavior.java.orig 2019-07-22 19:05:36 UTC
|
||||
+++ modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TextInputControlBehavior.java
|
||||
@@ -362,7 +362,7 @@ public abstract class TextInputControlBehavior<T exten
|
||||
|
||||
protected void selectNextWord() {
|
||||
TextInputControl textInputControl = getControl();
|
||||
- if (isMac() || isLinux()) {
|
||||
+ if (isMac() || isLinux() || isFreeBSD()) {
|
||||
textInputControl.selectEndOfNextWord();
|
||||
} else {
|
||||
textInputControl.selectNextWord();
|
||||
@@ -401,7 +401,7 @@ public abstract class TextInputControlBehavior<T exten
|
||||
|
||||
protected void nextWord() {
|
||||
TextInputControl textInputControl = getControl();
|
||||
- if (isMac() || isLinux()) {
|
||||
+ if (isMac() || isLinux() || isFreeBSD()) {
|
||||
textInputControl.endOfNextWord();
|
||||
} else {
|
||||
textInputControl.nextWord();
|
@ -1,11 +0,0 @@
|
||||
--- modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TextInputControlBindings.java.orig 2019-07-22 19:06:01 UTC
|
||||
+++ modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TextInputControlBindings.java
|
||||
@@ -134,7 +134,7 @@ public class TextInputControlBindings {
|
||||
BINDINGS.add(new KeyBinding(KP_RIGHT, KEY_PRESSED, "SelectRightWord").ctrl().shift());
|
||||
BINDINGS.add(new KeyBinding(A, KEY_PRESSED, "SelectAll").ctrl());
|
||||
BINDINGS.add(new KeyBinding(BACK_SLASH, KEY_PRESSED, "Unselect").ctrl());
|
||||
- if (PlatformUtil.isLinux()) {
|
||||
+ if (PlatformUtil.isLinux() || PlatformUtil.isFreeBSD()) {
|
||||
BINDINGS.add(new KeyBinding(Z, KEY_PRESSED, "Undo").ctrl());
|
||||
BINDINGS.add(new KeyBinding(Z, KEY_PRESSED, "Redo").ctrl().shift());
|
||||
} else { // Windows
|
@ -1,18 +0,0 @@
|
||||
http://pkgs.fedoraproject.org/cgit/rpms/openjfx.git/tree/0001-Fix-wait-call-in-PosixPlatform.patch
|
||||
|
||||
--- modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp.orig 2018-12-10 16:30:22 UTC
|
||||
+++ modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp
|
||||
@@ -231,13 +231,7 @@ bool PosixProcess::Wait() {
|
||||
int status = 0;
|
||||
pid_t wpid = 0;
|
||||
|
||||
- //TODO Use waitpid instead of wait
|
||||
-#ifdef LINUX
|
||||
- wait(&status);
|
||||
-#endif
|
||||
-#ifdef MAC
|
||||
wpid = wait(&status);
|
||||
-#endif
|
||||
|
||||
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
|
||||
if (errno != EINTR){
|
@ -1,20 +0,0 @@
|
||||
--- modules/graphics/src/main/java/com/sun/glass/ui/Platform.java.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/graphics/src/main/java/com/sun/glass/ui/Platform.java
|
||||
@@ -52,6 +52,8 @@ final class Platform {
|
||||
type = WINDOWS;
|
||||
else if (userPlatform.equals("linux"))
|
||||
type = GTK;
|
||||
+ else if (userPlatform.equals("freebsd"))
|
||||
+ type = GTK;
|
||||
else if (userPlatform.equals("gtk"))
|
||||
type = GTK;
|
||||
else if (userPlatform.equals("ios"))
|
||||
@@ -68,6 +70,8 @@ final class Platform {
|
||||
} else if (osNameLowerCase.startsWith("wind")) {
|
||||
type = WINDOWS;
|
||||
} else if (osNameLowerCase.startsWith("linux")) {
|
||||
+ type = GTK;
|
||||
+ } else if (osNameLowerCase.startsWith("freebsd")) {
|
||||
type = GTK;
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
--- modules/graphics/src/main/java/com/sun/glass/utils/NativeLibLoader.java.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/graphics/src/main/java/com/sun/glass/utils/NativeLibLoader.java
|
||||
@@ -173,7 +173,7 @@ public class NativeLibLoader {
|
||||
relativeDir = "../../bin";
|
||||
} else if (osName.startsWith("Mac")) {
|
||||
relativeDir = "..";
|
||||
- } else if (osName.startsWith("Linux")) {
|
||||
+ } else if (osName.startsWith("Linux") || osName.startsWith("FreeBSD")) {
|
||||
relativeDir = "../" + System.getProperty("os.arch");
|
||||
}
|
||||
|
||||
@@ -189,7 +189,7 @@ public class NativeLibLoader {
|
||||
} else if (osName.startsWith("Mac")) {
|
||||
libPrefix = "lib";
|
||||
libSuffix = ".dylib";
|
||||
- } else if (osName.startsWith("Linux")) {
|
||||
+ } else if (osName.startsWith("Linux") || osName.startsWith("FreeBSD")) {
|
||||
libPrefix = "lib";
|
||||
libSuffix = ".so";
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- modules/graphics/src/main/java/com/sun/javafx/font/LogicalFont.java.orig 2019-07-22 19:00:13 UTC
|
||||
+++ modules/graphics/src/main/java/com/sun/javafx/font/LogicalFont.java
|
||||
@@ -175,7 +175,7 @@ public class LogicalFont implements CompositeFontResou
|
||||
styleName = STYLE_BOLD_ITALIC;
|
||||
}
|
||||
fullName = familyName + " " + styleName;
|
||||
- if (PrismFontFactory.isLinux) {
|
||||
+ if (PrismFontFactory.isLinux || PrismFontFactory.isFreeBSD) {
|
||||
FontConfigManager.FcCompFont fcCompFont =
|
||||
FontConfigManager.getFontConfigFont(family, bold, italic);
|
||||
physicalFullName = fcCompFont.firstFont.fullName;
|
@ -1,54 +0,0 @@
|
||||
--- modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java.orig 2018-12-10 16:30:22 UTC
|
||||
+++ modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java
|
||||
@@ -51,6 +51,7 @@ public abstract class PrismFontFactory implements Font
|
||||
public static final boolean debugFonts;
|
||||
public static final boolean isWindows;
|
||||
public static final boolean isLinux;
|
||||
+ public static final boolean isFreeBSD;
|
||||
public static final boolean isMacOSX;
|
||||
public static final boolean isIOS;
|
||||
public static final boolean isAndroid;
|
||||
@@ -90,6 +91,7 @@ public abstract class PrismFontFactory implements Font
|
||||
isWindows = PlatformUtil.isWindows();
|
||||
isMacOSX = PlatformUtil.isMac();
|
||||
isLinux = PlatformUtil.isLinux();
|
||||
+ isFreeBSD = PlatformUtil.isFreeBSD();
|
||||
isIOS = PlatformUtil.isIOS();
|
||||
isAndroid = PlatformUtil.isAndroid();
|
||||
isEmbedded = PlatformUtil.isEmbedded();
|
||||
@@ -136,7 +138,7 @@ public abstract class PrismFontFactory implements Font
|
||||
}
|
||||
}
|
||||
|
||||
- useNativeRasterizer = isMacOSX || isWindows || isLinux;
|
||||
+ useNativeRasterizer = isMacOSX || isWindows || isLinux || isFreeBSD;
|
||||
String defPrismText = useNativeRasterizer ? "native" : "t2k";
|
||||
String prismText = System.getProperty("prism.text", defPrismText);
|
||||
if (useNativeRasterizer) {
|
||||
@@ -173,7 +175,7 @@ public abstract class PrismFontFactory implements Font
|
||||
private static String getNativeFactoryName() {
|
||||
if (isWindows) return DW_FACTORY;
|
||||
if (isMacOSX || isIOS) return CT_FACTORY;
|
||||
- if (isLinux || isAndroid) return FT_FACTORY;
|
||||
+ if (isLinux || isAndroid || isFreeBSD) return FT_FACTORY;
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -858,7 +860,7 @@ public abstract class PrismFontFactory implements Font
|
||||
break;
|
||||
}
|
||||
}
|
||||
- if (fontResource == null && isLinux) {
|
||||
+ if (fontResource == null && (isLinux || isFreeBSD)) {
|
||||
String path = FontConfigManager.getDefaultFontPath();
|
||||
if (path != null) {
|
||||
fontResource = createFontResource(jreDefaultFontLC,
|
||||
@@ -1742,7 +1744,7 @@ public abstract class PrismFontFactory implements Font
|
||||
familyToFontListMap,
|
||||
Locale.ENGLISH);
|
||||
|
||||
- } else if (isLinux) {
|
||||
+ } else if (isLinux || isFreeBSD) {
|
||||
FontConfigManager.populateMaps(tmpFontToFileMap,
|
||||
fontToFamilyNameMap,
|
||||
familyToFontListMap,
|
@ -1,11 +0,0 @@
|
||||
--- modules/graphics/src/main/java/com/sun/javafx/tk/Toolkit.java.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/graphics/src/main/java/com/sun/javafx/tk/Toolkit.java
|
||||
@@ -185,6 +185,8 @@ public abstract class Toolkit {
|
||||
return DEFAULT_TOOLKIT;
|
||||
} else if (PlatformUtil.isLinux()) {
|
||||
return DEFAULT_TOOLKIT;
|
||||
+ } else if (PlatformUtil.isFreeBSD()) {
|
||||
+ return DEFAULT_TOOLKIT;
|
||||
} else if (PlatformUtil.isIOS()) {
|
||||
return DEFAULT_TOOLKIT;
|
||||
} else if (PlatformUtil.isAndroid()) {
|
@ -1,35 +0,0 @@
|
||||
--- modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassSystemMenu.java.orig 2019-07-22 19:03:56 UTC
|
||||
+++ modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassSystemMenu.java
|
||||
@@ -317,13 +317,13 @@ class GlassSystemMenu implements TKSystemMenu {
|
||||
} else if (accelerator instanceof KeyCodeCombination) {
|
||||
KeyCodeCombination kcc = (KeyCodeCombination)accelerator;
|
||||
KeyCode code = kcc.getCode();
|
||||
- assert PlatformUtil.isMac() || PlatformUtil.isLinux();
|
||||
+ assert PlatformUtil.isMac() || PlatformUtil.isLinux() || PlatformUtil.isFreeBSD();
|
||||
int modifier = glassModifiers(kcc);
|
||||
if (PlatformUtil.isMac()) {
|
||||
int finalCode = code.isLetterKey() ? code.impl_getChar().toUpperCase().charAt(0)
|
||||
: code.impl_getCode();
|
||||
glassSubMenuItem.setShortcut(finalCode, modifier);
|
||||
- } else if (PlatformUtil.isLinux()) {
|
||||
+ } else if (PlatformUtil.isLinux() || PlatformUtil.isFreeBSD()) {
|
||||
String lower = code.impl_getChar().toLowerCase();
|
||||
if ((modifier & KeyEvent.MODIFIER_CONTROL) != 0) {
|
||||
glassSubMenuItem.setShortcut(lower.charAt(0), modifier);
|
||||
@@ -352,14 +352,14 @@ class GlassSystemMenu implements TKSystemMenu {
|
||||
ret += KeyEvent.MODIFIER_ALT;
|
||||
}
|
||||
if (kcc.getShortcut() == KeyCombination.ModifierValue.DOWN) {
|
||||
- if (PlatformUtil.isLinux()) {
|
||||
+ if (PlatformUtil.isLinux() || PlatformUtil.isFreeBSD()) {
|
||||
ret += KeyEvent.MODIFIER_CONTROL;
|
||||
} else if (PlatformUtil.isMac()) {
|
||||
ret += KeyEvent.MODIFIER_COMMAND;
|
||||
}
|
||||
}
|
||||
if (kcc.getMeta() == KeyCombination.ModifierValue.DOWN) {
|
||||
- if (PlatformUtil.isLinux()) {
|
||||
+ if (PlatformUtil.isLinux() || PlatformUtil.isFreeBSD()) {
|
||||
ret += KeyEvent.MODIFIER_WINDOWS; // RT-19326 - Linux shortcut support
|
||||
} else if (PlatformUtil.isMac()) {
|
||||
ret += KeyEvent.MODIFIER_COMMAND;
|
@ -1,11 +0,0 @@
|
||||
--- modules/graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java.orig 2019-07-22 19:05:13 UTC
|
||||
+++ modules/graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java
|
||||
@@ -432,7 +432,7 @@ class WindowStage extends GlassStage {
|
||||
} else if (PlatformUtil.isWindows()) { //Windows Sized Icons
|
||||
SMALL_ICON_HEIGHT = 32;
|
||||
SMALL_ICON_WIDTH = 32;
|
||||
- } else if (PlatformUtil.isLinux()) { //Linux icons
|
||||
+ } else if (PlatformUtil.isLinux() || PlatformUtil.isFreeBSD()) { //Linux icons
|
||||
SMALL_ICON_HEIGHT = 128;
|
||||
SMALL_ICON_WIDTH = 128;
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
--- modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java.orig 2018-12-10 16:30:22 UTC
|
||||
+++ modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java
|
||||
@@ -212,6 +212,8 @@ public final class PrismSettings {
|
||||
tryOrderArr = new String[] { "es2" };
|
||||
} else if (PlatformUtil.isLinux()) {
|
||||
tryOrderArr = new String[] { "es2", "sw" };
|
||||
+ } else if (PlatformUtil.isFreeBSD()) {
|
||||
+ tryOrderArr = new String[] { "es2", "sw" };
|
||||
} else {
|
||||
tryOrderArr = new String[] { "sw" };
|
||||
}
|
||||
@@ -221,7 +223,7 @@ public final class PrismSettings {
|
||||
|
||||
String npprop = systemProperties.getProperty("prism.nativepisces");
|
||||
if (npprop == null) {
|
||||
- doNativePisces = PlatformUtil.isEmbedded() || !PlatformUtil.isLinux();
|
||||
+ doNativePisces = PlatformUtil.isEmbedded() || !PlatformUtil.isLinux() || !PlatformUtil.isFreeBSD();
|
||||
} else {
|
||||
doNativePisces = Boolean.parseBoolean(npprop);
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- modules/graphics/src/main/native-font/fontpath_linux.c.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/graphics/src/main/native-font/fontpath_linux.c
|
||||
@@ -23,7 +23,7 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
-#if defined (__linux__) && ! defined (ANDROID_NDK)
|
||||
+#if (defined (__linux__) && ! defined (ANDROID_NDK)) || defined(__FreeBSD__)
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
@ -1,15 +0,0 @@
|
||||
--- modules/graphics/src/main/native-font/freetype.c.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/graphics/src/main/native-font/freetype.c
|
||||
@@ -23,7 +23,6 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
-#if defined __linux__ || ANDROID_NDK
|
||||
#if defined _ENABLE_PANGO || _ENABLE_HARFBUZZ
|
||||
|
||||
#include <jni.h>
|
||||
@@ -646,4 +645,3 @@ JNIEXPORT jboolean JNICALL JNICALL OS_NATIVE(isHarfbuz
|
||||
}
|
||||
|
||||
#endif /* ENABLE_PANGO || ENABLE_HARFBUZZ */
|
||||
-#endif /* __linux__ || ANDROID_NDK */
|
@ -1,15 +0,0 @@
|
||||
--- modules/graphics/src/main/native-font/pango.c.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/graphics/src/main/native-font/pango.c
|
||||
@@ -23,7 +23,6 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
-#if defined __linux__
|
||||
#if defined _ENABLE_PANGO
|
||||
|
||||
#include <jni.h>
|
||||
@@ -410,4 +409,3 @@ JNIEXPORT void JNICALL OS_NATIVE(pango_1font_1descript
|
||||
}
|
||||
|
||||
#endif /* ENABLE_PANGO */
|
||||
-#endif /* __linux__ */
|
@ -1,10 +0,0 @@
|
||||
--- modules/graphics/src/main/native-glass/gtk/GlassApplication.cpp.orig 2019-07-22 07:18:58 UTC
|
||||
+++ modules/graphics/src/main/native-glass/gtk/GlassApplication.cpp
|
||||
@@ -101,6 +101,7 @@ JNIEXPORT jint JNICALL Java_com_sun_glass_ui_gtk_GtkAp
|
||||
|
||||
gdk_threads_enter();
|
||||
gtk_init(NULL, NULL);
|
||||
+ gdk_threads_leave();
|
||||
|
||||
return JNI_TRUE;
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
--- modules/graphics/src/main/native-glass/gtk/glass_evloop.cpp.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/graphics/src/main/native-glass/gtk/glass_evloop.cpp
|
||||
@@ -25,7 +25,8 @@
|
||||
#include "glass_evloop.h"
|
||||
|
||||
#include <glib.h>
|
||||
-#include <malloc.h>
|
||||
+#include <sys/param.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
static GSList * evloopHookList;
|
||||
|
||||
@@ -85,4 +86,3 @@ glass_evloop_hook_remove(GevlHookRegistration hookReg)
|
||||
evloopHookList = g_slist_remove(evloopHookList, hookReg);
|
||||
free(hookReg);
|
||||
}
|
||||
-
|
@ -1,16 +0,0 @@
|
||||
--- modules/graphics/src/main/native-glass/gtk/glass_window.h.orig 2018-12-10 16:30:22 UTC
|
||||
+++ modules/graphics/src/main/native-glass/gtk/glass_window.h
|
||||
@@ -365,7 +365,7 @@ class WindowContextChild: public WindowContextBase { (
|
||||
class WindowContextTop: public WindowContextBase {
|
||||
jlong screen;
|
||||
WindowFrameType frame_type;
|
||||
- struct WindowContext *owner;
|
||||
+ WindowContext *owner;
|
||||
WindowGeometry geometry;
|
||||
struct _Resizable{// we can't use set/get gtk_window_resizable function
|
||||
_Resizable(): request(REQUEST_NONE), value(true), prev(false),
|
||||
@@ -455,4 +455,3 @@ class EventsCounterHelper { (public)
|
||||
};
|
||||
|
||||
#endif /* GLASS_WINDOW_H */
|
||||
-
|
@ -1,10 +0,0 @@
|
||||
--- modules/graphics/src/main/native-glass/gtk/launcher.c.orig 2019-07-22 07:33:51 UTC
|
||||
+++ modules/graphics/src/main/native-glass/gtk/launcher.c
|
||||
@@ -25,7 +25,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <linux/fb.h>
|
||||
#include <fcntl.h>
|
||||
#ifndef __USE_GNU // required for dladdr() & Dl_info
|
||||
#define __USE_GNU
|
@ -1,10 +0,0 @@
|
||||
--- modules/graphics/src/main/native-glass/gtk/wrapped.c.orig 2019-07-22 07:33:14 UTC
|
||||
+++ modules/graphics/src/main/native-glass/gtk/wrapped.c
|
||||
@@ -24,7 +24,6 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
-#include <linux/fb.h>
|
||||
#include <fcntl.h>
|
||||
#ifndef __USE_GNU // required for dladdr() & Dl_info
|
||||
#define __USE_GNU
|
@ -1,11 +0,0 @@
|
||||
--- modules/graphics/src/main/native-prism-es2/PrismES2Defs.h.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/graphics/src/main/native-prism-es2/PrismES2Defs.h
|
||||
@@ -26,7 +26,7 @@
|
||||
#ifndef _Prism_es2_defs_h_
|
||||
#define _Prism_es2_defs_h_
|
||||
|
||||
-#if defined(SOLARIS) || defined(LINUX) || defined(ANDROID_NDK) /* SOLARIS || LINUX */
|
||||
+#if defined(SOLARIS) || defined(LINUX) || defined(ANDROID_NDK) || defined(FREEBSD) /* SOLARIS || LINUX */
|
||||
#define GLX_GLEXT_PROTOTYPES
|
||||
#define GLX_GLXEXT_PROTOTYPES
|
||||
#define UNIX
|
@ -1,13 +0,0 @@
|
||||
--- modules/media/src/main/java/com/sun/media/jfxmediaimpl/HostUtils.java.orig 2019-07-22 19:01:46 UTC
|
||||
+++ modules/media/src/main/java/com/sun/media/jfxmediaimpl/HostUtils.java
|
||||
@@ -66,6 +66,10 @@ public class HostUtils {
|
||||
return osName.startsWith("linux");
|
||||
}
|
||||
|
||||
+ public static boolean isFreeBSD() {
|
||||
+ return osName.startsWith("freebsd");
|
||||
+ }
|
||||
+
|
||||
public static boolean isIOS() {
|
||||
return osName.startsWith("ios");
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- modules/media/src/main/java/com/sun/media/jfxmediaimpl/NativeMediaManager.java.orig 2019-07-22 19:02:57 UTC
|
||||
+++ modules/media/src/main/java/com/sun/media/jfxmediaimpl/NativeMediaManager.java
|
||||
@@ -108,7 +108,7 @@ public class NativeMediaManager {
|
||||
NativeLibLoader.loadLibrary("glib-lite");
|
||||
}
|
||||
|
||||
- if (!HostUtils.isLinux() && !HostUtils.isIOS()) {
|
||||
+ if (!HostUtils.isFreeBSD() && !HostUtils.isLinux() && !HostUtils.isIOS()) {
|
||||
NativeLibLoader.loadLibrary("gstreamer-lite");
|
||||
}
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- modules/media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstregistry.c.orig 2019-07-23 04:09:55 UTC
|
||||
+++ modules/media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstregistry.c
|
||||
@@ -143,7 +143,7 @@ static const int AVCODEC_LIBAV_EXPLICIT_VERSIONS[] = {
|
||||
// For ffmpeg (libavcodec-ffmpeg.so)
|
||||
static const int AVCODEC_FFMPEG_EXPLICIT_VERSIONS[] = { 56 };
|
||||
// For libav or ffmpeg (libavcodec.so)
|
||||
-static const int AVCODEC_EXPLICIT_VERSIONS[] = { 57 };
|
||||
+static const int AVCODEC_EXPLICIT_VERSIONS[] = { 58, 57 };
|
||||
|
||||
/*
|
||||
* Callback passed to dl_iterate_phdr(): finds the path of
|
@ -1,18 +0,0 @@
|
||||
--- modules/media/src/main/native/gstreamer/gstreamer-lite/projects/build/linux/common/config.h.orig 2019-07-22 15:39:06 UTC
|
||||
+++ modules/media/src/main/native/gstreamer/gstreamer-lite/projects/build/linux/common/config.h
|
||||
@@ -264,7 +264,7 @@
|
||||
#define HAVE_SYS_POLL_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/prctl.h> header file. */
|
||||
-#define HAVE_SYS_PRCTL_H 1
|
||||
+#undef HAVE_SYS_PRCTL_H
|
||||
|
||||
/* Define to 1 if you have the <sys/socket.h> header file. */
|
||||
#define HAVE_SYS_SOCKET_H 1
|
||||
@@ -430,4 +430,4 @@
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
||||
-#define DISABLE_ORC
|
||||
\ No newline at end of file
|
||||
+#define DISABLE_ORC
|
@ -1,29 +0,0 @@
|
||||
--- modules/media/src/main/native/gstreamer/projects/bsd/avplugin/Makefile.orig 2019-07-22 15:50:27 UTC
|
||||
+++ modules/media/src/main/native/gstreamer/projects/bsd/avplugin/Makefile
|
||||
@@ -43,19 +43,23 @@ else
|
||||
CFLAGS += -g -Wall
|
||||
endif
|
||||
|
||||
+PACKAGES_INCLUDES := $(shell pkg-config --cflags glib-2.0 gio-2.0 gobject-2.0 gthread-2.0)
|
||||
+PACKAGES_LIBS := $(shell pkg-config --libs glib-2.0 gio-2.0 gobject-2.0 gthread-2.0)
|
||||
+
|
||||
INCLUDES= -I../../../plugins \
|
||||
-I../../../plugins/av \
|
||||
-I../../../gstreamer-lite/gstreamer \
|
||||
-I../../../gstreamer-lite/gstreamer/libs \
|
||||
-I$(GLIB_DIR) \
|
||||
-I$(GLIB_DIR)/glib \
|
||||
- -I$(GLIB_DIR)/gmodule
|
||||
+ -I$(GLIB_DIR)/gmodule \
|
||||
+ $(PACKAGES_INCLUDES)
|
||||
|
||||
LDFLAGS = -L$(BUILD_DIR) \
|
||||
-z relro \
|
||||
-lgstreamer-lite \
|
||||
- -lglib-lite \
|
||||
- -static-libgcc -static-libstdc++ -Wl,--gc-sections
|
||||
+ $(PACKAGES_LIBS) \
|
||||
+ -Wl,--gc-sections
|
||||
|
||||
ifneq ($(strip $(LIBAV_DIR)),)
|
||||
INCLUDES += -I$(LIBAV_DIR)/include
|
@ -1,28 +0,0 @@
|
||||
--- modules/media/src/main/native/gstreamer/projects/bsd/fxplugins/Makefile.orig 2019-07-22 15:43:47 UTC
|
||||
+++ modules/media/src/main/native/gstreamer/projects/bsd/fxplugins/Makefile
|
||||
@@ -45,17 +45,21 @@ else
|
||||
endif
|
||||
|
||||
|
||||
+PACKAGES_INCLUDES := $(shell pkg-config --cflags glib-2.0 gio-2.0 gobject-2.0 gthread-2.0)
|
||||
+PACKAGES_LIBS := $(shell pkg-config --libs glib-2.0 gio-2.0 gobject-2.0 gthread-2.0)
|
||||
+
|
||||
INCLUDES = -I$(SRCBASE_DIR) \
|
||||
$(addprefix -I$(SRCBASE_DIR)/,$(DIRLIST)) \
|
||||
-I../../../gstreamer-lite/gstreamer \
|
||||
-I../../../gstreamer-lite/gstreamer/libs \
|
||||
-I$(GLIB_DIR) \
|
||||
-I$(GLIB_DIR)/glib \
|
||||
- -I$(GLIB_DIR)/gmodule
|
||||
+ -I$(GLIB_DIR)/gmodule \
|
||||
+ $(PACKAGES_INCLUDES)
|
||||
|
||||
-LDFLAGS = -L$(BUILD_DIR) -lgstreamer-lite -lglib-lite \
|
||||
- -z relro \
|
||||
- -static-libgcc -static-libstdc++ -Wl,--gc-sections
|
||||
+LDFLAGS = -L$(BUILD_DIR) -lgstreamer-lite \
|
||||
+ -z relro -Wl,--gc-sections \
|
||||
+ $(PACKAGES_LIBS)
|
||||
|
||||
ifeq ($(ARCH), x32)
|
||||
CFLAGS += -m32
|
@ -1,42 +0,0 @@
|
||||
--- modules/media/src/main/native/gstreamer/projects/bsd/gstreamer-lite/Makefile.orig 2019-07-22 07:19:58 UTC
|
||||
+++ modules/media/src/main/native/gstreamer/projects/bsd/gstreamer-lite/Makefile
|
||||
@@ -31,7 +31,7 @@ DIRLIST = gstreamer/gst \
|
||||
gst-plugins-base/gst/volume \
|
||||
gst-plugins-good/gst/audioparsers \
|
||||
gst-plugins-good/gst/isomp4 \
|
||||
- gst-plugins-base/ext/alsa \
|
||||
+ gst-plugins-base/ext/bsdaudio \
|
||||
gst-plugins-good/gst/audiofx \
|
||||
gst-plugins-good/gst/equalizer \
|
||||
gst-plugins-good/gst/spectrum \
|
||||
@@ -80,13 +80,11 @@ INCLUDES = -I$(BASE_DIR)/plugins
|
||||
-I$(GLIB_DIR)/glib \
|
||||
-I$(GLIB_DIR)/gmodule
|
||||
|
||||
-PACKAGES_INCLUDES := $(shell pkg-config --cflags alsa)
|
||||
-PACKAGES_LIBS := $(shell pkg-config --libs alsa)
|
||||
+PACKAGES_INCLUDES := $(shell pkg-config --cflags glib-2.0 gio-2.0 gobject-2.0 gthread-2.0)
|
||||
+PACKAGES_LIBS := $(shell pkg-config --libs glib-2.0 gio-2.0 gobject-2.0 gthread-2.0)
|
||||
+
|
||||
+LDFLAGS = -L$(BUILD_DIR) -lm $(PACKAGES_LIBS) -l sndio -z relro
|
||||
|
||||
-LDFLAGS = -L$(BUILD_DIR) -lm -lglib-lite $(PACKAGES_LIBS) \
|
||||
- -z relro \
|
||||
- -static-libgcc -static-libstdc++ -Wl,--gc-sections
|
||||
-
|
||||
ifeq ($(ARCH), x32)
|
||||
CFLAGS += -m32
|
||||
LDFLAGS += -m32
|
||||
@@ -264,10 +262,8 @@ SOURCES = \
|
||||
gstreamer/plugins/elements/gsttypefindelement.c \
|
||||
gst-plugins-base/gst/volume/gstvolume.c \
|
||||
gst-plugins-base/gst/volume/gstvolumeorc-dist.c \
|
||||
- gst-plugins-base/ext/alsa/gstalsaplugin.c \
|
||||
- gst-plugins-base/ext/alsa/gstalsa.c \
|
||||
- gst-plugins-base/ext/alsa/gstalsadeviceprobe.c \
|
||||
- gst-plugins-base/ext/alsa/gstalsasink.c \
|
||||
+ gst-plugins-base/ext/bsdaudio/gstbsdaudio.c \
|
||||
+ gst-plugins-base/ext/bsdaudio/bsdaudiosink.c \
|
||||
projects/plugins/gstplugins-lite.c
|
||||
|
||||
OBJ_DIRS = $(addprefix $(OBJBASE_DIR)/,$(DIRLIST))
|
@ -1,11 +0,0 @@
|
||||
--- modules/media/src/main/native/jfxmedia/platform/gstreamer/GstPipelineFactory.cpp.orig 2017-09-08 16:56:55 UTC
|
||||
+++ modules/media/src/main/native/jfxmedia/platform/gstreamer/GstPipelineFactory.cpp
|
||||
@@ -351,6 +351,8 @@ GstElement* CGstPipelineFactory::CreateAudioSinkElemen
|
||||
return CreateElement("directsoundsink");
|
||||
#elif TARGET_OS_MAC
|
||||
return CreateElement("osxaudiosink");
|
||||
+#elif TARGET_OS_BSD
|
||||
+ return CreateElement("bsdaudiosink");
|
||||
#elif TARGET_OS_LINUX
|
||||
return CreateElement("alsasink");
|
||||
#else
|
@ -1,50 +0,0 @@
|
||||
--- modules/media/src/main/native/jfxmedia/projects/bsd/Makefile.orig 2019-07-22 15:35:34 UTC
|
||||
+++ modules/media/src/main/native/jfxmedia/projects/bsd/Makefile
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
-# Linux/ARM jfxmedia makefile
|
||||
+# BSD jfxmedia makefile
|
||||
#
|
||||
|
||||
BUILD_DIR = $(OUTPUT_DIR)/$(BUILD_TYPE)
|
||||
@@ -18,6 +18,7 @@ DIRLIST = jni \
|
||||
TARGET = $(BUILD_DIR)/lib$(BASE_NAME).so
|
||||
|
||||
CFLAGS = -DTARGET_OS_LINUX=1 \
|
||||
+ -DTARGET_OS_BSD=1 \
|
||||
-D_GNU_SOURCE \
|
||||
-DGST_REMOVE_DEPRECATED \
|
||||
-DGST_DISABLE_GST_DEBUG \
|
||||
@@ -34,6 +35,9 @@ CPPFLAGS = -fno-rtti -ffunction-sections -fdata-sectio
|
||||
BASE_INCLUDES = -I$(SRCBASE_DIR) \
|
||||
-I$(GENERATED_HEADERS_DIR)
|
||||
|
||||
+PACKAGES_INCLUDES := $(shell pkg-config --cflags glib-2.0 gio-2.0 gobject-2.0 gthread-2.0)
|
||||
+PACKAGES_LIBS := $(shell pkg-config --libs glib-2.0 gio-2.0 gobject-2.0 gthread-2.0)
|
||||
+
|
||||
ifdef HOST_COMPILE
|
||||
GSTREAMER_LITE_DIR = ../../../gstreamer/gstreamer-lite
|
||||
GLIB_LITE_DIR = ../../../gstreamer/3rd_party/glib/glib-2.56.1
|
||||
@@ -49,17 +53,17 @@ ifdef HOST_COMPILE
|
||||
|
||||
INCLUDES = $(BASE_INCLUDES) \
|
||||
-I$(JAVA_HOME)/include \
|
||||
- -I$(JAVA_HOME)/include/linux \
|
||||
+ -I$(JAVA_HOME)/include/freebsd \
|
||||
-I$(GSTREAMER_LITE_DIR)/gstreamer \
|
||||
-I$(GSTREAMER_LITE_DIR)/gst-plugins-base/gst-libs \
|
||||
-I$(GSTREAMER_LITE_DIR)/gstreamer/libs \
|
||||
-I$(GLIB_LITE_DIR)/ \
|
||||
-I$(GLIB_LITE_DIR)/glib \
|
||||
- -I$(GLIB_LITE_DIR)/gmodule
|
||||
+ -I$(GLIB_LITE_DIR)/gmodule \
|
||||
+ $(PACKAGES_INCLUDES)
|
||||
|
||||
- LDFLAGS = -Wl,-rpath,\$$ORIGIN -L$(BUILD_DIR) -lgstreamer-lite -lglib-lite \
|
||||
- -z relro \
|
||||
- -static-libgcc -static-libstdc++ -Wl,--gc-sections
|
||||
+ LDFLAGS = -Wl,-rpath,\$$ORIGIN -L$(BUILD_DIR) -lgstreamer-lite \
|
||||
+ -z relro $(PACKAGES_LIBS) -Wl,--gc-sections
|
||||
else
|
||||
CFLAGS += $(EXTRA_CFLAGS)
|
||||
INCLUDES = $(BASE_INCLUDES)
|
@ -1,20 +0,0 @@
|
||||
--- modules/swing/src/main/java/javafx/embed/swing/JFXPanel.java.orig 2019-07-22 18:59:20 UTC
|
||||
+++ modules/swing/src/main/java/javafx/embed/swing/JFXPanel.java
|
||||
@@ -995,7 +995,7 @@ public class JFXPanel extends JComponent {
|
||||
public boolean grabFocus() {
|
||||
// On X11 grab is limited to a single XDisplay connection,
|
||||
// so we can't delegate it to another GUI toolkit.
|
||||
- if (PlatformUtil.isLinux()) return true;
|
||||
+ if (PlatformUtil.isLinux() || PlatformUtil.isFreeBSD()) return true;
|
||||
|
||||
invokeOnClientEDT(() -> {
|
||||
Window window = SwingUtilities.getWindowAncestor(JFXPanel.this);
|
||||
@@ -1013,7 +1013,7 @@ public class JFXPanel extends JComponent {
|
||||
public void ungrabFocus() {
|
||||
// On X11 grab is limited to a single XDisplay connection,
|
||||
// so we can't delegate it to another GUI toolkit.
|
||||
- if (PlatformUtil.isLinux()) return;
|
||||
+ if (PlatformUtil.isLinux() || PlatformUtil.isFreeBSD()) return;
|
||||
|
||||
invokeOnClientEDT(() -> {
|
||||
Window window = SwingUtilities.getWindowAncestor(JFXPanel.this);
|
@ -1,11 +0,0 @@
|
||||
--- modules/swing/src/main/java/javafx/embed/swing/SwingNode.java.orig 2019-07-22 18:58:46 UTC
|
||||
+++ modules/swing/src/main/java/javafx/embed/swing/SwingNode.java
|
||||
@@ -860,7 +860,7 @@ public class SwingNode extends Node {
|
||||
SwingFXUtils.runOnFxThread(() -> {
|
||||
// On X11 grab is limited to a single XDisplay connection,
|
||||
// so we can't delegate it to another GUI toolkit.
|
||||
- if (PlatformUtil.isLinux()) return;
|
||||
+ if (PlatformUtil.isLinux() || PlatformUtil.isFreeBSD()) return;
|
||||
|
||||
SwingNode swingNode = swingNodeRef.get();
|
||||
if (swingNode != null) {
|
@ -1,8 +0,0 @@
|
||||
--- modules/web/src/main/native/Source/PlatformJava.cmake.orig 2018-03-23 23:53:57 UTC
|
||||
+++ modules/web/src/main/native/Source/PlatformJava.cmake
|
||||
@@ -1,4 +1 @@
|
||||
-add_subdirectory(ThirdParty/sqlite)
|
||||
-add_subdirectory(ThirdParty/icu)
|
||||
-add_subdirectory(ThirdParty/libxml)
|
||||
-add_subdirectory(ThirdParty/libxslt)
|
||||
+
|
@ -1,10 +0,0 @@
|
||||
--- modules/web/src/main/native/Source/WTF/wtf/CMakeLists.txt.orig 2018-07-27 01:38:45 UTC
|
||||
+++ modules/web/src/main/native/Source/WTF/wtf/CMakeLists.txt
|
||||
@@ -464,6 +464,7 @@ list(APPEND WTF_SOURCES
|
||||
)
|
||||
set(WTF_SYSTEM_INCLUDE_DIRECTORIES
|
||||
${ICU_INCLUDE_DIRS}
|
||||
+ ${CMAKE_INSTALL_PREFIX}/include
|
||||
)
|
||||
list(APPEND WTF_LIBRARIES
|
||||
${ICU_DATA_LIBRARIES}
|
@ -1,17 +0,0 @@
|
||||
--- modules/web/src/main/native/Source/WTF/wtf/Optional.h.orig 2018-12-10 16:30:22 UTC
|
||||
+++ modules/web/src/main/native/Source/WTF/wtf/Optional.h
|
||||
@@ -291,12 +291,14 @@ struct nullopt_t
|
||||
constexpr nullopt_t nullopt{nullopt_t::init()};
|
||||
|
||||
|
||||
+# if !defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 7000
|
||||
// 20.5.8, class bad_optional_access
|
||||
class bad_optional_access : public std::logic_error {
|
||||
public:
|
||||
explicit bad_optional_access(const std::string& what_arg) : std::logic_error{what_arg} {}
|
||||
explicit bad_optional_access(const char* what_arg) : std::logic_error{what_arg} {}
|
||||
};
|
||||
+# endif // _LIBCPP_VERSION < 7000
|
||||
|
||||
|
||||
template <class T>
|
@ -1,24 +0,0 @@
|
||||
--- modules/web/src/main/native/Source/WTF/wtf/unicode/java/UnicodeJava.h.orig 2018-01-16 01:40:56 UTC
|
||||
+++ modules/web/src/main/native/Source/WTF/wtf/unicode/java/UnicodeJava.h
|
||||
@@ -15,21 +15,6 @@
|
||||
|
||||
#define CharProp(p) com_sun_webkit_dom_CharacterDataImpl_##p
|
||||
|
||||
-#if PLATFORM(JAVA) && OS(WINDOWS)
|
||||
-typedef wchar_t UChar;
|
||||
-#else
|
||||
-typedef uint16_t UChar;
|
||||
-#endif
|
||||
-
|
||||
-// #ifdef UChar32
|
||||
-// #undef UChar32
|
||||
-// #endif
|
||||
-
|
||||
-#ifndef __UMACHINE_H__ //XXX: recheck
|
||||
-typedef uint32_t UChar32;
|
||||
-#endif
|
||||
-
|
||||
-#define U_MASK(x) ((uint32_t)1<<(x))
|
||||
#define USE_FAST_PATH(c, fast, slow) ((c) <= 0x7F ? fast((char)c) : slow(c))
|
||||
|
||||
#define CHECK_PROPERTY(c, mask, isSet) \
|
@ -1,42 +0,0 @@
|
||||
Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652
|
||||
|
||||
In file included from modules/web/build/bsd/Release/DerivedSources/WebCore/unified-sources/UnifiedSource220.cpp:4:
|
||||
modules/web/src/main/native/Source/WebCore/dom/Document.cpp:4707:39: error: expected ';' after do/while statement
|
||||
U16_NEXT(characters, i, length, c)
|
||||
^
|
||||
;
|
||||
modules/web/src/main/native/Source/WebCore/dom/Document.cpp:4712:43: error: expected ';' after do/while statement
|
||||
U16_NEXT(characters, i, length, c)
|
||||
^
|
||||
;
|
||||
modules/web/src/main/native/Source/WebCore/dom/Document.cpp:4772:46: error: expected ';' after do/while statement
|
||||
U16_NEXT(qualifiedName, i, length, c)
|
||||
^
|
||||
;
|
||||
|
||||
--- modules/web/src/main/native/Source/WebCore/dom/Document.cpp.orig 2018-12-10 16:30:22 UTC
|
||||
+++ modules/web/src/main/native/Source/WebCore/dom/Document.cpp
|
||||
@@ -4704,12 +4704,12 @@ static bool isValidNameNonASCII(const UChar* character
|
||||
unsigned i = 0;
|
||||
|
||||
UChar32 c;
|
||||
- U16_NEXT(characters, i, length, c)
|
||||
+ U16_NEXT(characters, i, length, c);
|
||||
if (!isValidNameStart(c))
|
||||
return false;
|
||||
|
||||
while (i < length) {
|
||||
- U16_NEXT(characters, i, length, c)
|
||||
+ U16_NEXT(characters, i, length, c);
|
||||
if (!isValidNamePart(c))
|
||||
return false;
|
||||
}
|
||||
@@ -4769,7 +4769,7 @@ ExceptionOr<std::pair<AtomicString, AtomicString>> Doc
|
||||
|
||||
for (unsigned i = 0; i < length; ) {
|
||||
UChar32 c;
|
||||
- U16_NEXT(qualifiedName, i, length, c)
|
||||
+ U16_NEXT(qualifiedName, i, length, c);
|
||||
if (c == ':') {
|
||||
if (sawColon)
|
||||
return Exception { InvalidCharacterError };
|
@ -1,21 +0,0 @@
|
||||
--- modules/web/src/main/native/Source/cmake/OptionsJava.cmake.orig 2018-12-10 16:30:22 UTC
|
||||
+++ modules/web/src/main/native/Source/cmake/OptionsJava.cmake
|
||||
@@ -26,14 +26,10 @@ endif ()
|
||||
set(LIB_INSTALL_DIR "${CMAKE_INSTALL_FULL_LIBDIR}" CACHE PATH "Absolute path to library installation directory")
|
||||
set(EXEC_INSTALL_DIR "${CMAKE_INSTALL_FULL_BINDIR}" CACHE PATH "Absolute path to executable installation directory")
|
||||
|
||||
-set(SQLITE_LIBRARIES SqliteJava)
|
||||
-set(LIBXML2_LIBRARIES XMLJava)
|
||||
-set(LIBXSLT_LIBRARIES XSLTJava)
|
||||
-
|
||||
-set(ICU_LIBRARIES icuuc icudata)
|
||||
-set(ICU_I18N_LIBRARIES icui18n icuuc icudata)
|
||||
-set(ICU_DATA_LIBRARIES icudata)
|
||||
-
|
||||
+find_package(LibXml2 2.8.0 REQUIRED)
|
||||
+find_package(LibXslt REQUIRED)
|
||||
+find_package(Sqlite REQUIRED)
|
||||
+find_package(ICU REQUIRED)
|
||||
find_package(JNI REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- modules/web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake.orig 2019-07-22 23:29:21 UTC
|
||||
+++ modules/web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake
|
||||
@@ -176,10 +176,6 @@ if (NOT MSVC)
|
||||
string(REGEX MATCHALL "-fsanitize=[^ ]*" ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS})
|
||||
endif ()
|
||||
|
||||
-if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS)
|
||||
- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
|
||||
-endif ()
|
||||
-
|
||||
|
||||
# CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS only matters with GCC >= 4.7.0. Since this
|
||||
# version, -P does not output empty lines, which currently breaks make_names.pl in
|
@ -1,11 +0,0 @@
|
||||
--- modules/web/src/main/native/Tools/DumpRenderTree/TestRunner.cpp.orig 2018-12-10 16:30:22 UTC
|
||||
+++ modules/web/src/main/native/Tools/DumpRenderTree/TestRunner.cpp
|
||||
@@ -2415,7 +2415,7 @@ void TestRunner::runUIScript(JSContextRef context, JSS
|
||||
if (!m_UIScriptContext)
|
||||
m_UIScriptContext = std::make_unique<WTR::UIScriptContext>(*this);
|
||||
|
||||
- String scriptString(JSStringGetCharactersPtr(script), JSStringGetLength(script));
|
||||
+ String scriptString(reinterpret_cast<const UChar*>(JSStringGetCharactersPtr(script)), JSStringGetLength(script));
|
||||
m_UIScriptContext->runUIScript(scriptString, callbackID);
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- modules/web/src/main/native/Tools/DumpRenderTree/java/CMakeLists.txt.orig 2019-07-22 18:32:25 UTC
|
||||
+++ modules/web/src/main/native/Tools/DumpRenderTree/java/CMakeLists.txt
|
||||
@@ -72,9 +72,5 @@ add_library(DumpRenderTreeJava SHARED ${DumpRenderTree
|
||||
add_definitions(-DWEBCORE_EXPORT=WTF_IMPORT -DWEBCORE_TESTSUPPORT_EXPORT=WTF_IMPORT)
|
||||
add_dependencies(DumpRenderTreeJava DumpRenderTreeBindings)
|
||||
|
||||
-if (UNIX AND NOT APPLE)
|
||||
- set_target_properties(DumpRenderTreeJava PROPERTIES LINK_FLAGS "-Wl,--no-undefined")
|
||||
-endif ()
|
||||
-
|
||||
set_target_properties(DumpRenderTreeJava PROPERTIES OUTPUT_NAME "DumpRenderTreeJava")
|
||||
target_link_libraries(DumpRenderTreeJava ${DumpRenderTree_LIBRARIES})
|
@ -1,11 +0,0 @@
|
||||
--- modules/web/src/main/native/Tools/Scripts/webkitdirs.pm.orig 2018-07-27 01:38:45 UTC
|
||||
+++ modules/web/src/main/native/Tools/Scripts/webkitdirs.pm
|
||||
@@ -2148,7 +2148,7 @@ sub generateBuildSystemFromCMakeProject
|
||||
chdir($buildPath) or die;
|
||||
|
||||
# We try to be smart about when to rerun cmake, so that we can have faster incremental builds.
|
||||
- my $willUseNinja = canUseNinja();
|
||||
+ my $willUseNinja = 0; # canUseNinja();
|
||||
if (-e cmakeCachePath() && -e cmakeGeneratedBuildfile($willUseNinja)) {
|
||||
return 0;
|
||||
}
|
@ -1,226 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2008 Jacob Meuser <jakemsr@sdf.lonestar.org>
|
||||
* Copyright (C) 2012 Alexandre Ratchov <alex@caoua.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* SECTION:element-sndiosink
|
||||
* @see_also: #GstAutoAudioSink
|
||||
*
|
||||
* <refsect2>
|
||||
* <para>
|
||||
* This element outputs sound to a sound card using sndio.
|
||||
* </para>
|
||||
* <para>
|
||||
* Simple example pipeline that plays an Ogg/Vorbis file via sndio:
|
||||
* <programlisting>
|
||||
* gst-launch -v filesrc location=foo.ogg ! decodebin ! audioconvert ! audioresample ! sndiosink
|
||||
* </programlisting>
|
||||
* </para>
|
||||
* </refsect2>
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include "sndiosink.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_EXTERN (gst_sndio_debug);
|
||||
#define GST_CAT_DEFAULT gst_sndio_debug
|
||||
|
||||
#define gst_sndiosink_parent_class parent_class
|
||||
|
||||
static GstStaticPadTemplate sndiosink_factory =
|
||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS (GST_SNDIO_CAPS_STRING)
|
||||
);
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GstSndioSink, gst_sndiosink, GST_TYPE_AUDIO_SINK,
|
||||
G_IMPLEMENT_INTERFACE (GST_TYPE_STREAM_VOLUME, NULL));
|
||||
|
||||
static void gst_sndiosink_finalize (GObject * object);
|
||||
static GstCaps *gst_sndiosink_getcaps (GstBaseSink * bsink,
|
||||
GstCaps * filter);
|
||||
static gboolean gst_sndiosink_open (GstAudioSink * asink);
|
||||
static gboolean gst_sndiosink_close (GstAudioSink * asink);
|
||||
static gboolean gst_sndiosink_prepare (GstAudioSink * asink,
|
||||
GstAudioRingBufferSpec * spec);
|
||||
static gboolean gst_sndiosink_unprepare (GstAudioSink * asink);
|
||||
static gint gst_sndiosink_write (GstAudioSink * asink, gpointer data,
|
||||
guint length);
|
||||
static guint gst_sndiosink_delay (GstAudioSink * asink);
|
||||
static void gst_sndiosink_reset (GstAudioSink * asink);
|
||||
static void gst_sndiosink_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec);
|
||||
static void gst_sndiosink_get_property (GObject * object, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec);
|
||||
|
||||
static void
|
||||
gst_sndiosink_init (GstSndioSink * sink)
|
||||
{
|
||||
gst_sndio_init (&sink->sndio, G_OBJECT(sink));
|
||||
}
|
||||
|
||||
static void
|
||||
gst_sndiosink_finalize (GObject * object)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (object);
|
||||
|
||||
gst_sndio_finalize (&sink->sndio);
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static GstCaps *
|
||||
gst_sndiosink_getcaps (GstBaseSink * bsink, GstCaps * filter)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (bsink);
|
||||
|
||||
return gst_sndio_getcaps (&sink->sndio, filter);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_sndiosink_open (GstAudioSink * asink)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (asink);
|
||||
|
||||
return gst_sndio_open (&sink->sndio, SIO_PLAY);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_sndiosink_close (GstAudioSink * asink)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (asink);
|
||||
|
||||
return gst_sndio_close (&sink->sndio);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_sndiosink_prepare (GstAudioSink * asink, GstAudioRingBufferSpec * spec)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (asink);
|
||||
|
||||
return gst_sndio_prepare (&sink->sndio, spec);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_sndiosink_unprepare (GstAudioSink * asink)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (asink);
|
||||
|
||||
return gst_sndio_unprepare (&sink->sndio);
|
||||
}
|
||||
|
||||
static gint
|
||||
gst_sndiosink_write (GstAudioSink * asink, gpointer data, guint length)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (asink);
|
||||
guint done;
|
||||
|
||||
if (length == 0)
|
||||
return 0;
|
||||
done = sio_write (sink->sndio.hdl, data, length);
|
||||
if (done == 0) {
|
||||
GST_ELEMENT_ERROR (sink, RESOURCE, WRITE,
|
||||
("Failed to write data to sndio"), (NULL));
|
||||
return 0;
|
||||
}
|
||||
sink->sndio.delay += done;
|
||||
return done;
|
||||
}
|
||||
|
||||
static guint
|
||||
gst_sndiosink_delay (GstAudioSink * asink)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (asink);
|
||||
|
||||
return GST_SNDIO_DELAY(&sink->sndio);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_sndiosink_reset (GstAudioSink * asink)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
gst_sndiosink_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (object);
|
||||
|
||||
gst_sndio_set_property (&sink->sndio, prop_id, value, pspec);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_sndiosink_get_property (GObject * object, guint prop_id, GValue * value,
|
||||
GParamSpec * pspec)
|
||||
{
|
||||
GstSndioSink *sink = GST_SNDIOSINK (object);
|
||||
|
||||
gst_sndio_get_property (&sink->sndio, prop_id, value, pspec);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_sndiosink_class_init (GstSndioSinkClass * klass)
|
||||
{
|
||||
GObjectClass *gobject_class;
|
||||
GstElementClass *gstelement_class;
|
||||
GstBaseSinkClass *gstbasesink_class;
|
||||
GstAudioBaseSinkClass *gstbaseaudiosink_class;
|
||||
GstAudioSinkClass *gstaudiosink_class;
|
||||
|
||||
gobject_class = (GObjectClass *) klass;
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
gstbasesink_class = (GstBaseSinkClass *) klass;
|
||||
gstbaseaudiosink_class = (GstAudioBaseSinkClass *) klass;
|
||||
gstaudiosink_class = (GstAudioSinkClass *) klass;
|
||||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->finalize = gst_sndiosink_finalize;
|
||||
gobject_class->get_property = gst_sndiosink_get_property;
|
||||
gobject_class->set_property = gst_sndiosink_set_property;
|
||||
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"Audio sink (sndio)", "Sink/Audio",
|
||||
"Output to a sound card via sndio",
|
||||
"Jacob Meuser <jakemsr@sdf.lonestar.org>");
|
||||
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&sndiosink_factory));
|
||||
|
||||
gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_sndiosink_getcaps);
|
||||
gstaudiosink_class->open = GST_DEBUG_FUNCPTR (gst_sndiosink_open);
|
||||
gstaudiosink_class->prepare = GST_DEBUG_FUNCPTR (gst_sndiosink_prepare);
|
||||
gstaudiosink_class->unprepare = GST_DEBUG_FUNCPTR (gst_sndiosink_unprepare);
|
||||
gstaudiosink_class->close = GST_DEBUG_FUNCPTR (gst_sndiosink_close);
|
||||
gstaudiosink_class->write = GST_DEBUG_FUNCPTR (gst_sndiosink_write);
|
||||
gstaudiosink_class->delay = GST_DEBUG_FUNCPTR (gst_sndiosink_delay);
|
||||
gstaudiosink_class->reset = GST_DEBUG_FUNCPTR (gst_sndiosink_reset);
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_DEVICE,
|
||||
g_param_spec_string ("device", "Device",
|
||||
"sndio device as defined in sndio(7)",
|
||||
SIO_DEVANY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_VOLUME,
|
||||
g_param_spec_double ("volume", "Volume",
|
||||
"Linear volume of this stream, 1.0=100%", 0.0, 1.0,
|
||||
1.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_MUTE,
|
||||
g_param_spec_boolean ("mute", "Mute",
|
||||
"Mute state of this stream", FALSE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2008 Jacob Meuser <jakemsr@sdf.lonestar.org>
|
||||
* Copyright (C) 2012 Alexandre Ratchov <alex@caoua.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GST_SNDIOSINK_H__
|
||||
#define __GST_SNDIOSINK_H__
|
||||
|
||||
#include <sndio.h>
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/audio/gstaudiosink.h>
|
||||
#include "gstsndio.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_SNDIOSINK \
|
||||
(gst_sndiosink_get_type())
|
||||
#define GST_SNDIOSINK(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SNDIOSINK,GstSndioSink))
|
||||
#define GST_SNDIOSINK_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SNDIOSINK,GstSndioSinkClass))
|
||||
#define GST_IS_SNDIOSINK(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SNDIOSINK))
|
||||
#define GST_IS_SNDIOSINK_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SNDIOSINK))
|
||||
|
||||
typedef struct _GstSndioSink GstSndioSink;
|
||||
typedef struct _GstSndioSinkClass GstSndioSinkClass;
|
||||
|
||||
struct _GstSndioSink {
|
||||
GstAudioSink sink;
|
||||
struct gstsndio sndio;
|
||||
};
|
||||
|
||||
struct _GstSndioSinkClass {
|
||||
GstAudioSinkClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_sndiosink_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_SNDIOSINK_H__ */
|
@ -1,6 +0,0 @@
|
||||
OpenJFX is an open source, next generation client application platform for
|
||||
desktop and embedded systems based on JavaSE. It is a collaborative effort by
|
||||
many individuals and companies with the goal of producing a modern, efficient,
|
||||
and fully featured toolkit for developing rich client applications.
|
||||
|
||||
WWW: https://openjdk.java.net/projects/openjfx/
|
@ -1,24 +0,0 @@
|
||||
%%JAVA_HOME%%/bin/javafxpackager
|
||||
%%JAVA_HOME%%/bin/javapackager
|
||||
%%MEDIA%%%%JAVA_HOME%%/jre/lib/%%ARCH%%/libavplugin.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libdecora_sse.so
|
||||
%%MEDIA%%%%JAVA_HOME%%/jre/lib/%%ARCH%%/libfxplugins.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libglass.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libglassgtk2.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libglassgtk3.so
|
||||
%%MEDIA%%%%JAVA_HOME%%/jre/lib/%%ARCH%%/libgstreamer-lite.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjavafx_font.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjavafx_font_freetype.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjavafx_font_pango.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjavafx_iio.so
|
||||
%%MEDIA%%%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjfxmedia.so
|
||||
%%WEBKIT%%%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjfxwebkit.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libprism_common.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libprism_es2.so
|
||||
%%JAVA_HOME%%/jre/lib/%%ARCH%%/libprism_sw.so
|
||||
%%JAVA_HOME%%/jre/lib/ext/jfxrt.jar
|
||||
%%JAVA_HOME%%/jre/lib/javafx.properties
|
||||
%%SWT%%%%JAVA_HOME%%/jre/lib/jfxswt.jar
|
||||
%%JAVA_HOME%%/lib/ant-javafx.jar
|
||||
%%JAVA_HOME%%/lib/javafx-mx.jar
|
||||
%%JAVA_HOME%%/lib/packager.jar
|
@ -1,41 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= openjfx8
|
||||
DISTVERSION= 8u202-b07
|
||||
CATEGORIES= java x11-toolkits devel
|
||||
MASTER_SITES= https://github.com/t6/openjfx/releases/download/release/ \
|
||||
http://hg.openjdk.java.net/openjfx/8u/rt/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy=/
|
||||
PKGNAMESUFFIX= -scenebuilder
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= JavaFX Scene Builder
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
DEPRECATED= depends on expiring java/openjfx8-devel
|
||||
EXPIRATION_DATE= 2020-11-30
|
||||
|
||||
BUILD_DEPENDS= openjfx8-devel>0:java/openjfx8-devel
|
||||
RUN_DEPENDS= openjfx8-devel>0:java/openjfx8-devel
|
||||
|
||||
USE_ANT= yes
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.8+
|
||||
|
||||
ALL_TARGET= jar-sb
|
||||
DESKTOP_ENTRIES= "JavaFX Scene Builder" "JavaFX Scene Builder" \
|
||||
"" "scenebuilder" "Development;GUIDesigner;" false
|
||||
NO_ARCH= yes
|
||||
PLIST_FILES= bin/scenebuilder \
|
||||
${JAVAJARDIR}/SceneBuilderApp.jar \
|
||||
${JAVAJARDIR}/SceneBuilderKit.jar
|
||||
SUB_FILES= scenebuilder
|
||||
WRKSRC= ${WRKDIR}/rt-${DISTVERSION}/apps/scenebuilder
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/SceneBuilderApp/dist/SceneBuilderApp.jar \
|
||||
${WRKSRC}/SceneBuilderKit/dist/SceneBuilderKit.jar \
|
||||
${STAGEDIR}${JAVAJARDIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/scenebuilder ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1563779003
|
||||
SHA256 (openjfx8-8u202-b07.tar.gz) = ca98b6d0721a0e4b91d62672e81594c80a47cfb5ded241de50f10ade9884c400
|
||||
SIZE (openjfx8-8u202-b07.tar.gz) = 70669594
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
exec "%%LOCALBASE%%/bin/java" ${SCENEBUILDER_JAVA_ARGS} -cp "%%JAVAJARDIR%%/SceneBuilderKit.jar:%%JAVAJARDIR%%/SceneBuilderApp.jar" com.oracle.javafx.scenebuilder.app.SceneBuilderApp "$@"
|
@ -1,12 +0,0 @@
|
||||
JavaFX Scene Builder provides a visual layout environment that lets
|
||||
you quickly design user interfaces for JavaFX applications without
|
||||
needing to write any code.
|
||||
|
||||
It allows simple drag-and-drop positioning of GUI components onto a
|
||||
JavaFX scene. As you build the layout of your UI, the FXML code for
|
||||
the layout is automatically generated. It provides a simple yet
|
||||
intuitive interface that can help even non-programmers to quickly
|
||||
prototype interactive applications that connect GUI components to the
|
||||
application logic.
|
||||
|
||||
WWW: https://openjdk.java.net/projects/openjfx/
|
@ -124,7 +124,6 @@
|
||||
SUBDIR += py-punjab
|
||||
SUBDIR += py-python-telegram-bot
|
||||
SUBDIR += py-slackclient
|
||||
SUBDIR += py-sleekxmpp
|
||||
SUBDIR += py-slixmpp
|
||||
SUBDIR += py-telepot
|
||||
SUBDIR += py-toxcore-c
|
||||
|
@ -1,26 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sleekxmpp
|
||||
DISTVERSION= 1.3.3
|
||||
CATEGORIES= net-im python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= XMPP Library
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
DEPRECATED= Upstream archived and advices to use net-im/py-slixmpp
|
||||
EXPIRATION_DATE= 2020-11-30
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1518681920
|
||||
SHA256 (sleekxmpp-1.3.3.tar.gz) = d213c1de71d92505f95ced0460ee0f84fdc4ddcacb7d7dd343739ed4028e5569
|
||||
SIZE (sleekxmpp-1.3.3.tar.gz) = 845044
|
@ -1,5 +0,0 @@
|
||||
SleekXMPP is an MIT licensed XMPP library for Python 2.6/3.1+, and is featured
|
||||
in examples in XMPP: The Definitive Guide by Kevin Smith, Remko Troncon, and
|
||||
Peter Saint-Andre.
|
||||
|
||||
WWW: https://github.com/fritzy/SleekXMPP/
|
@ -392,11 +392,6 @@
|
||||
SUBDIR += zabbix4-java
|
||||
SUBDIR += zabbix4-proxy
|
||||
SUBDIR += zabbix4-server
|
||||
SUBDIR += zabbix44-agent
|
||||
SUBDIR += zabbix44-frontend
|
||||
SUBDIR += zabbix44-java
|
||||
SUBDIR += zabbix44-proxy
|
||||
SUBDIR += zabbix44-server
|
||||
SUBDIR += zabbix5-agent
|
||||
SUBDIR += zabbix5-frontend
|
||||
SUBDIR += zabbix5-java
|
||||
|
@ -1,14 +0,0 @@
|
||||
# Created by: Pakhom Golynga <pg@pakhom.spb.ru>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= zabbix44
|
||||
CATEGORIES= net-mgmt
|
||||
PKGNAMESUFFIX= -agent
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../zabbix44-server
|
||||
PLIST= ${PKGDIR}/pkg-plist.agent
|
||||
|
||||
OPTIONS_DEFINE= CURL IPV6
|
||||
OPTIONS_DEFAULT= CURL OPENSSL
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,34 +0,0 @@
|
||||
# Created by: Pakhom Golynga <pg@pakhom.spb.ru>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= zabbix44
|
||||
CATEGORIES= net-mgmt
|
||||
PKGNAMESUFFIX= -frontend
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../zabbix44-server
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
PATCHDIR=
|
||||
PLIST= ${PKGDIR}/pkg-plist.frontend
|
||||
|
||||
USE_PHP= bcmath ctype dom fileinfo filter gd gettext json ldap mbstring pcre \
|
||||
session simplexml snmp sockets xml xmlreader xmlwriter
|
||||
USES+= php:web
|
||||
|
||||
OPTIONS_DEFINE= MYSQLI PGSQL ORACLE
|
||||
OPTIONS_DEFAULT= MYSQLI
|
||||
MYSQLI_DESC= MySQLI backend
|
||||
|
||||
MYSQLI_USE= PHP=mysqli
|
||||
|
||||
PGSQL_USE= PHP=pgsql
|
||||
|
||||
ORACLE_CONFIGURE_WITH= oracle
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
(cd ${WRKSRC}/frontends/php && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,15 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= zabbix44
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-mgmt
|
||||
PKGNAMESUFFIX= -java
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../zabbix44-server
|
||||
PLIST= ${PKGDIR}/pkg-plist.java
|
||||
|
||||
OPTIONS_DEFINE= IPV6
|
||||
|
||||
USE_JAVA= yes
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,12 +0,0 @@
|
||||
# Created by: Pakhom Golynga <pg@pakhom.spb.ru>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= zabbix44
|
||||
CATEGORIES= net-mgmt
|
||||
PKGNAMESUFFIX= -proxy
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../zabbix44-server
|
||||
|
||||
OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,221 +0,0 @@
|
||||
# Created by: Pakhom Golynga <pg@pakhom.spb.ru>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= zabbix44
|
||||
PORTVERSION= 4.4.10
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${PORTVERSION:R}/
|
||||
PKGNAMESUFFIX?= -server
|
||||
DISTNAME= zabbix-${PORTVERSION}
|
||||
|
||||
MAINTAINER= pg@pakhom.spb.ru
|
||||
COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//})
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= End of Life
|
||||
EXPIRATION_DATE=2020-12-01
|
||||
|
||||
LIB_DEPENDS= libpcre.so:devel/pcre
|
||||
|
||||
CONFLICTS_INSTALL= zabbix[0-35-9][0-9]${PKGNAMESUFFIX} \
|
||||
zabbix4[0-35-9]${PKGNAMESUFFIX} \
|
||||
zabbix[0-9]${PKGNAMESUFFIX}
|
||||
|
||||
ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//}
|
||||
|
||||
.if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings
|
||||
.if ${ZABBIX_BUILD} != "agent"
|
||||
CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} --cache-file=${WRKSRC}/config.cache
|
||||
LIB_DEPENDS+= libevent.so:devel/libevent
|
||||
USE_RC_SUBR= zabbix_${ZABBIX_BUILD}
|
||||
.else
|
||||
USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d
|
||||
.endif
|
||||
|
||||
USES= pkgconfig iconv
|
||||
|
||||
USERS= zabbix
|
||||
GROUPS= zabbix
|
||||
|
||||
.if ${ZABBIX_BUILD} != "proxy"
|
||||
PLIST_SUB= PROXY="@comment "
|
||||
.else
|
||||
PLIST_SUB= PROXY=""
|
||||
PLIST_FILES+= bin/zabbix_proxy_js
|
||||
.endif
|
||||
|
||||
.if ${ZABBIX_BUILD} == "server"
|
||||
PLIST_SUB+= SERVER=""
|
||||
PLIST_FILES+= bin/zabbix_js
|
||||
.else
|
||||
PLIST_SUB+= SERVER="@comment "
|
||||
.endif
|
||||
|
||||
PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION}
|
||||
SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD}
|
||||
|
||||
MAKE_ARGS+= ARCH=freebsd
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \
|
||||
--sysconfdir=${ETCDIR} \
|
||||
--datadir=${ETCDIR} \
|
||||
--with-iconv=${ICONV_PREFIX}
|
||||
|
||||
.if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java"
|
||||
LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
CONFIGURE_ARGS+= --with-net-snmp
|
||||
|
||||
OPTIONS_DEFINE= IPV6 FPING CURL LDAP IPMI SSH NMAP LIBXML2 UNIXODBC
|
||||
|
||||
OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
FPING_DESC= Build/install fping for ping checks
|
||||
IPMI_DESC= Support for IPMI checks
|
||||
LDAP_DESC= Support for LDAP server checks
|
||||
NMAP_DESC= Build/install nmap for o/s detection
|
||||
SSH_DESC= Support for SSH-based checks
|
||||
UNIXODBC_DESC= Support for database checks via ODBC
|
||||
LIBXML2_DESC= Support for libxml2 (required by monitoring VMware)
|
||||
|
||||
OPTIONS_SINGLE= DB SSL
|
||||
OPTIONS_SINGLE_DB?= MYSQL PGSQL ORACLE
|
||||
OPTIONS_SINGLE_SSL= OPENSSL GNUTLS
|
||||
|
||||
MYSQL_CONFIGURE_WITH= mysql
|
||||
MYSQL_USES+= compiler:c11 mysql
|
||||
|
||||
PGSQL_CONFIGURE_WITH= postgresql
|
||||
PGSQL_USES+= pgsql
|
||||
|
||||
SQLITE_CONFIGURE_WITH= sqlite3
|
||||
SQLITE_USES+= sqlite:3
|
||||
|
||||
ORACLE_CONFIGURE_WITH= oracle
|
||||
|
||||
LDAP_CONFIGURE_WITH= ldap
|
||||
LDAP_USE= OPENLDAP=yes
|
||||
|
||||
IPMI_CONFIGURE_WITH= openipmi
|
||||
IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi
|
||||
|
||||
FPING_RUN_DEPENDS= fping:net/fping
|
||||
|
||||
SSH_CONFIGURE_WITH= ssh2
|
||||
SSH_LIB_DEPENDS= libssh2.so:security/libssh2
|
||||
|
||||
UNIXODBC_CONFIGURE_WITH=unixodbc
|
||||
UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
|
||||
.elif ${ZABBIX_BUILD} == "agent"
|
||||
OPTIONS_SINGLE= SSL
|
||||
OPTIONS_SINGLE_SSL= OPENSSL GNUTLS
|
||||
.endif # if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java"
|
||||
|
||||
CURL_DESC= Support for web monitoring
|
||||
CURL_CONFIGURE_WITH= libcurl
|
||||
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
||||
|
||||
IPV6_CONFIGURE_ENABLE= ipv6
|
||||
|
||||
NMAP_RUN_DEPENDS= nmap:security/nmap \
|
||||
sudo:security/sudo
|
||||
|
||||
LIBXML2_CONFIGURE_WITH= libxml2=${LOCALBASE}
|
||||
LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2
|
||||
|
||||
OPENSSL_CONFIGURE_WITH= openssl
|
||||
OPENSSL_USES= ssl
|
||||
OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \
|
||||
BROKEN_SSL_REASON="PSK is not provided by LibreSSL"
|
||||
|
||||
GNUTLS_CONFIGURE_WITH= gnutls
|
||||
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${GREP} -rl "/etc/zabbix" ${WRKSRC} \
|
||||
| ${XARGS} ${REINPLACE_CMD} -e 's#/usr/local/etc#${ETCDIR}#g'
|
||||
|
||||
@${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \
|
||||
${WRKSRC}/conf/zabbix_*.conf \
|
||||
${WRKSRC}/src/zabbix_proxy/proxy.c \
|
||||
${WRKSRC}/src/zabbix_server/server.c
|
||||
|
||||
.if ${ZABBIX_BUILD} == "server"
|
||||
@${REINPLACE_CMD} -e 's#/tmp/zabbix_server.pid#/var/run/zabbix/zabbix_server.pid#g' \
|
||||
${WRKSRC}/conf/zabbix_server.conf \
|
||||
${WRKSRC}/src/zabbix_server/server.c
|
||||
.endif
|
||||
|
||||
.if ${ZABBIX_BUILD} == "proxy"
|
||||
@${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.pid#/var/run/zabbix/zabbix_proxy.pid#g' \
|
||||
${WRKSRC}/conf/zabbix_proxy.conf \
|
||||
${WRKSRC}/src/zabbix_proxy/proxy.c
|
||||
.endif
|
||||
|
||||
.if ${ZABBIX_BUILD} == "agent"
|
||||
@${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.pid#/var/run/zabbix/zabbix_agentd.pid#g' \
|
||||
${WRKSRC}/conf/zabbix_agentd.conf \
|
||||
${WRKSRC}/src/zabbix_agent/zabbix_agentd.c
|
||||
.endif
|
||||
|
||||
.if ${ZABBIX_BUILD} == "java"
|
||||
@${REINPLACE_CMD} -e 's#/tmp/zabbix_java.pid#/var/run/zabbix/zabbix_java.pid#g' \
|
||||
${WRKSRC}/src/zabbix_java/settings.sh
|
||||
.endif
|
||||
|
||||
.if ${ZABBIX_BUILD} != "agent"
|
||||
. for d in mysql oracle postgresql sqlite3
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \
|
||||
-e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \
|
||||
${WRKSRC}/database/${d}/data.sql
|
||||
. endfor
|
||||
.endif
|
||||
@${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \
|
||||
-exec ${RM} {} +
|
||||
|
||||
pre-configure:
|
||||
@echo "ac_cv_env_PKG_CONFIG_set=${LOCALBASE}/bin/pkgconf" > ${WRKSRC}/config.cache
|
||||
|
||||
post-install:
|
||||
.if ${ZABBIX_BUILD} == "java"
|
||||
${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \
|
||||
${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample
|
||||
@${MKDIR} ${STAGEDIR}/var/run/zabbix
|
||||
.endif
|
||||
|
||||
.if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java"
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database
|
||||
@${RM} ${WRKSRC}/database/*/Makefile*
|
||||
(cd ${WRKSRC}/database/ && \
|
||||
${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" \
|
||||
${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/)
|
||||
|
||||
${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf \
|
||||
${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf.sample
|
||||
.endif
|
||||
|
||||
.if ${ZABBIX_BUILD} == "agent"
|
||||
${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf \
|
||||
${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf.sample
|
||||
.endif
|
||||
|
||||
.if ${ZABBIX_BUILD} == "proxy"
|
||||
${MV} ${STAGEDIR}${LOCALBASE}/bin/zabbix_js \
|
||||
${STAGEDIR}${LOCALBASE}/bin/zabbix_proxy_js
|
||||
.endif
|
||||
|
||||
.else # frontend
|
||||
.include <bsd.port.pre.mk>
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1593866728
|
||||
SHA256 (zabbix-4.4.10.tar.gz) = 2de09bd41ccb2534a0e12ca45c0e7da3896d95f0c4f9f7815477123a3d692c8f
|
||||
SIZE (zabbix-4.4.10.tar.gz) = 19560911
|
@ -1,45 +0,0 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
For Zabbix server and proxy daemons, as well as Zabbix frontend, a database is
|
||||
required. It is not needed to run Zabbix agent.
|
||||
|
||||
% cd %%DATADIR%%/%%ZABBIX_BUILD%%/database
|
||||
|
||||
And follow the instructions:
|
||||
https://www.zabbix.com/documentation/4.4/manual/appendix/install/db_scripts
|
||||
|
||||
Upgrade notes for 4.4.0:
|
||||
https://www.zabbix.com/documentation/4.4/manual/installation/upgrade_notes_440
|
||||
|
||||
Upgrade procedure:
|
||||
https://www.zabbix.com/documentation/4.4/manual/installation/upgrade/sources
|
||||
|
||||
Please see https://www.zabbix.com/ for detailed information about Zabbix.
|
||||
|
||||
Official Zabbix documentation:
|
||||
https://www.zabbix.com/documentation/4.4/start
|
||||
|
||||
For Zabbix frontend "Welcome" screen. Enter the user name Admin with password
|
||||
zabbix to log in as a Zabbix superuser.
|
||||
|
||||
For use NMAP please edit sudoers
|
||||
|
||||
This is a Zabbix Standard release!
|
||||
|
||||
Standard Zabbix releases are supported for Zabbix customers during six (6)
|
||||
months of Full Support (general, critical and security issues) until the next
|
||||
Zabbix stable release, plus one (1) additional month of Limited Support
|
||||
(critical and security issues only). Zabbix Standard version release will result
|
||||
in change of the second version number.
|
||||
|
||||
Stable release: Zabbix 4.4
|
||||
Release date: Q3, 2019
|
||||
End of Full Support: Q1, 2020
|
||||
End of Limited Support: Q2, 2020
|
||||
|
||||
Zabbix Life Cycle & Release Policy:
|
||||
https://www.zabbix.com/life_cycle_and_release_policy
|
||||
EOM
|
||||
}
|
||||
]
|
@ -1,64 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: zabbix_agentd
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
|
||||
# enable zabbix_agentd:
|
||||
#
|
||||
# zabbix_agentd_enable (bool): Set to NO by default. Set it to YES to
|
||||
# enable zabbix_agentd.
|
||||
# zabbix_agentd_config (string): Set to the standard config file path by
|
||||
# default.
|
||||
# zabbix_agentd_pidfile (string): Location of the zabbix_agent pid file
|
||||
# Default is /var/run/zabbix/zabbix_agentd.pid
|
||||
# zabbix_agentd_paths (string): Set to standard path by default. Set a search
|
||||
# if you have custom userparams that need binaries elsewhere.
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="zabbix_agentd"
|
||||
rcvar=zabbix_agentd_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${zabbix_agentd_enable:=NO}
|
||||
: ${zabbix_agentd_config:=%%ETCDIR%%/${name}.conf}
|
||||
: ${zabbix_agentd_pidfile:=/var/run/zabbix/zabbix_agentd.pid}
|
||||
: ${zabbix_agentd_paths:=$PATH}
|
||||
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
required_files="${zabbix_agentd_config}"
|
||||
|
||||
start_cmd=zabbix_agentd_cmd
|
||||
start_precmd=zabbix_agentd_precmd
|
||||
status_precmd=zabbix_agentd_precmd
|
||||
stop_precmd=zabbix_agentd_precmd
|
||||
|
||||
zabbix_agentd_precmd()
|
||||
{
|
||||
if get_pidfile_from_conf PidFile ${zabbix_agentd_config}; then
|
||||
pidfile="$_pidfile_from_conf"
|
||||
else
|
||||
pidfile=${zabbix_agentd_pidfile}
|
||||
local rundir=${zabbix_agentd_pidfile%/*}
|
||||
if [ ! -d $rundir ] ; then
|
||||
install -d -m 0755 -o zabbix -g zabbix $rundir
|
||||
fi
|
||||
fi
|
||||
|
||||
# This shouldn't be necessary with pidfile, but empirically it was the
|
||||
# only way to reap the parent PID instead of all PIDs from
|
||||
# check_process, which may leak SysV IPC objects and prevent restart
|
||||
# and/or race condition on restart.
|
||||
rc_pid=$(check_pidfile ${pidfile} ${command})
|
||||
}
|
||||
|
||||
zabbix_agentd_cmd()
|
||||
{
|
||||
PATH=$zabbix_agentd_paths $command -c $zabbix_agentd_config
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
@ -1,47 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: zabbix_java
|
||||
# REQUIRE: NETWORKING SERVERS
|
||||
# BEFORE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Options to configure zabbix_java via /etc/rc.conf:
|
||||
#
|
||||
# zabbix_java_enable (bool):
|
||||
# Enable service on boot.
|
||||
# Default: NO
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="zabbix_java"
|
||||
rcvar=zabbix_java_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${zabbix_java_enable:=NO}
|
||||
|
||||
start_cmd="/usr/bin/su -m zabbix -c %%PREFIX%%/sbin/zabbix_java/startup.sh"
|
||||
stop_cmd="/usr/bin/su -m zabbix -c %%PREFIX%%/sbin/zabbix_java/shutdown.sh"
|
||||
status_cmd="zabbix_java_status"
|
||||
|
||||
extra_commands="status"
|
||||
|
||||
zabbix_java_status() {
|
||||
if get_pidfile_from_conf PID_FILE %%PREFIX%%/sbin/zabbix_java/settings.sh; then
|
||||
PID_FILE="$_pidfile_from_conf"
|
||||
fi
|
||||
|
||||
if [ -n "$PID_FILE" -a -f "$PID_FILE" ]; then
|
||||
PID=`cat "$PID_FILE"`
|
||||
if ps -p "$PID" > /dev/null 2>&1; then
|
||||
echo "${name} is running as pid ${PID}"
|
||||
else
|
||||
echo "${name} is not running"
|
||||
fi
|
||||
else
|
||||
echo "${name} is not running"
|
||||
fi
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
@ -1,65 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: zabbix_proxy
|
||||
# REQUIRE: DAEMON
|
||||
%%PGSQL%%# REQUIRE: postgresql
|
||||
%%MYSQL%%# REQUIRE: mysql
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
|
||||
# enable zabbix_proxy:
|
||||
#
|
||||
# zabbix_proxy_enable (bool): Set to NO by default. Set it to YES to
|
||||
# enable zabbix_proxy.
|
||||
# zabbix_proxy_config (string): Set to the standard config file path by
|
||||
# default.
|
||||
# zabbix_proxy_pidfile (string): Location of the zabbix_proxy pid file
|
||||
# Default is /var/run/zabbix/zabbix_proxy.pid
|
||||
# zabbix_proxy_paths (string): Set to standard path by default. Set a search
|
||||
# if you have custom userparams that need binaries elsewhere.
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="zabbix_proxy"
|
||||
rcvar=zabbix_proxy_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${zabbix_proxy_enable:=NO}
|
||||
: ${zabbix_proxy_config:=%%ETCDIR%%/${name}.conf}
|
||||
: ${zabbix_proxy_pidfile:=/var/run/zabbix/zabbix_proxy.pid}
|
||||
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
required_files="${zabbix_proxy_config}"
|
||||
|
||||
start_cmd=zabbix_proxy_cmd
|
||||
start_precmd=zabbix_proxy_precmd
|
||||
status_precmd=zabbix_proxy_precmd
|
||||
stop_precmd=zabbix_proxy_precmd
|
||||
|
||||
zabbix_proxy_precmd()
|
||||
{
|
||||
if get_pidfile_from_conf PidFile ${zabbix_proxy_config}; then
|
||||
pidfile="$_pidfile_from_conf"
|
||||
else
|
||||
pidfile=${zabbix_proxy_pidfile}
|
||||
local rundir=${zabbix_proxy_pidfile%/*}
|
||||
if [ ! -d $rundir ] ; then
|
||||
install -d -m 0755 -o zabbix -g zabbix $rundir
|
||||
fi
|
||||
fi
|
||||
|
||||
# This shouldn't be necessary with pidfile, but empirically it was the
|
||||
# only way to reap the parent PID instead of all PIDs from
|
||||
# check_process, which may leak SysV IPC objects and prevent restart
|
||||
# and/or race condition on restart.
|
||||
rc_pid=$(check_pidfile ${pidfile} ${command})
|
||||
}
|
||||
|
||||
zabbix_proxy_cmd()
|
||||
{
|
||||
PATH=$zabbix_proxy_paths $command -c $zabbix_proxy_config
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user