parent
319f521c2b
commit
0173d5dbbd
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= sctd
|
||||
DISTVERSION= 0.2.0
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= accessibility
|
||||
|
||||
MAINTAINER= 0mp@FreeBSD.org
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
--- cargo-crates/libc-0.2.68/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig 2020-03-17 20:35:43 UTC
|
||||
+++ cargo-crates/libc-0.2.68/src/unix/bsd/freebsdlike/freebsd/mod.rs
|
||||
@@ -1486,6 +1486,9 @@ cfg_if! {
|
||||
} else if #[cfg(target_arch = "powerpc64")] {
|
||||
mod powerpc64;
|
||||
pub use self::powerpc64::*;
|
||||
+ } else if #[cfg(target_arch = "powerpc")] {
|
||||
+ mod powerpc;
|
||||
+ pub use self::powerpc::*;
|
||||
} else {
|
||||
// Unknown target_arch
|
||||
}
|
||||
--- cargo-crates/libc-0.2.68/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig 2021-06-23 22:40:24 UTC
|
||||
+++ cargo-crates/libc-0.2.68/src/unix/bsd/freebsdlike/freebsd/powerpc.rs
|
||||
@@ -0,0 +1,47 @@
|
||||
+pub type c_char = u8;
|
||||
+pub type c_long = i32;
|
||||
+pub type c_ulong = u32;
|
||||
+pub type wchar_t = i32;
|
||||
+pub type time_t = i64;
|
||||
+pub type suseconds_t = i32;
|
||||
+pub type register_t = i32;
|
||||
+
|
||||
+s! {
|
||||
+ pub struct stat {
|
||||
+ pub st_dev: ::dev_t,
|
||||
+ pub st_ino: ::ino_t,
|
||||
+ pub st_mode: ::mode_t,
|
||||
+ pub st_nlink: ::nlink_t,
|
||||
+ pub st_uid: ::uid_t,
|
||||
+ pub st_gid: ::gid_t,
|
||||
+ pub st_rdev: ::dev_t,
|
||||
+ pub st_atime: ::time_t,
|
||||
+ pub st_atime_nsec: ::c_long,
|
||||
+ pub st_mtime: ::time_t,
|
||||
+ pub st_mtime_nsec: ::c_long,
|
||||
+ pub st_ctime: ::time_t,
|
||||
+ pub st_ctime_nsec: ::c_long,
|
||||
+ pub st_size: ::off_t,
|
||||
+ pub st_blocks: ::blkcnt_t,
|
||||
+ pub st_blksize: ::blksize_t,
|
||||
+ pub st_flags: ::fflags_t,
|
||||
+ pub st_gen: u32,
|
||||
+ pub st_lspare: i32,
|
||||
+ pub st_birthtime: ::time_t,
|
||||
+ pub st_birthtime_nsec: ::c_long,
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+// should be pub(crate), but that requires Rust 1.18.0
|
||||
+cfg_if! {
|
||||
+ if #[cfg(libc_const_size_of)] {
|
||||
+ #[doc(hidden)]
|
||||
+ pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_int>() - 1;
|
||||
+ } else {
|
||||
+ #[doc(hidden)]
|
||||
+ pub const _ALIGNBYTES: usize = 4 - 1;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+pub const MAP_32BIT: ::c_int = 0x00080000;
|
||||
+pub const MINSIGSTKSZ: ::size_t = 2048; // 512 * 4
|
|
@ -1,7 +1,7 @@
|
|||
# Created by: Will Andrews <andrews@technologist.com>
|
||||
|
||||
PORTNAME= makeself
|
||||
DISTVERSION= 2.4.4
|
||||
DISTVERSION= 2.4.5
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= https://github.com/megastep/makeself/releases/download/release-${PORTVERSION}/
|
||||
EXTRACT_SUFX= .run
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1623150139
|
||||
SHA256 (makeself-2.4.4.run) = 597ede01fc75808b5edc0f89923fb24bc9a87426ff68ca481d97caaf0be38129
|
||||
SIZE (makeself-2.4.4.run) = 58494
|
||||
TIMESTAMP = 1624524617
|
||||
SHA256 (makeself-2.4.5.run) = f7f5f9757654111d3387d7c26fe24c10dce2a6356e6bf9ff2930990d7a0145eb
|
||||
SIZE (makeself-2.4.5.run) = 58623
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= splitter
|
||||
PORTVERSION= r598
|
||||
PORTVERSION= r602
|
||||
CATEGORIES= astro converters java
|
||||
MASTER_SITES= http://www.mkgmap.org.uk/download/ \
|
||||
https://mirror.amdmi3.ru/distfiles/
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1612357302
|
||||
SHA256 (splitter-r598.tar.gz) = 52acc835eaa83b4bf3d3dda75eafb6734efb8a125867e0b38db89c22605a32b7
|
||||
SIZE (splitter-r598.tar.gz) = 1567970
|
||||
TIMESTAMP = 1624368900
|
||||
SHA256 (splitter-r602.tar.gz) = cc12ec00345bc195fa61e1c21a2634ee3db44cc7abdeb0147369d7de1b69f26d
|
||||
SIZE (splitter-r602.tar.gz) = 1568232
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= mkgmap
|
||||
PORTVERSION= r4693
|
||||
PORTVERSION= r4786
|
||||
CATEGORIES= astro converters java
|
||||
MASTER_SITES= https://www.mkgmap.org.uk/download/ \
|
||||
https://mirror.amdmi3.ru/distfiles/
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1620670496
|
||||
SHA256 (mkgmap-r4693.tar.gz) = 7e345e3aedda12b057ce263c16304e99bc5e0acd65aac4d245b2eb7fe7895db1
|
||||
SIZE (mkgmap-r4693.tar.gz) = 3484916
|
||||
TIMESTAMP = 1624546594
|
||||
SHA256 (mkgmap-r4786.tar.gz) = 378aa05e7aead083eab673a7aacefbb12b455ac3ac7a8fdb2f665dedb5b1fbd0
|
||||
SIZE (mkgmap-r4786.tar.gz) = 3514586
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
|
||||
|
||||
PORTNAME= stellarium
|
||||
PORTVERSION= 0.21.0
|
||||
PORTVERSION= 0.21.1
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= http://www.etwright.org/astro/:alm
|
||||
DISTFILES= almstars-1.1.tar.gz:alm
|
||||
EXTRACT_ONLY= ${_DISTFILES:Nstars_*.cat:N*.pdf}
|
||||
|
||||
MAINTAINER= danfe@FreeBSD.org
|
||||
|
@ -76,6 +78,10 @@ post-extract-DOCS-on:
|
|||
@${LN} -sf ${_DISTDIR}/stellarium_user_guide-${GUIDE_VERSION}-1.pdf \
|
||||
${WRKSRC}
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKDIR}/almstars-1.1/*.dat \
|
||||
${STAGEDIR}${DATADIR}/skycultures/almagest/almstars
|
||||
|
||||
post-install-MORE_STARS-on:
|
||||
${INSTALL_DATA} ${DISTDIR}/stars_4_1v0_2.cat \
|
||||
${DISTDIR}/stars_[5678]_2v0_1.cat \
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
TIMESTAMP = 1617003021
|
||||
SHA256 (Stellarium-stellarium-v0.21.0_GH0.tar.gz) = c50bb8be684b5098ff21883faf6cb0c7d3c4186ceb7854d8c3eb0a3c52912a38
|
||||
SIZE (Stellarium-stellarium-v0.21.0_GH0.tar.gz) = 353979343
|
||||
SHA256 (stellarium_user_guide-0.21.0-1.pdf) = 3e42b4619e82e27a101aa67427bd067543dd1eeb951ebd2b2b1da77ec6db8218
|
||||
SIZE (stellarium_user_guide-0.21.0-1.pdf) = 31132367
|
||||
TIMESTAMP = 1624510125
|
||||
SHA256 (Stellarium-stellarium-v0.21.1_GH0.tar.gz) = 0c36880e366b0a993ec427887223a1fe2a8712e68d6efce2ab8019e0696b7b68
|
||||
SIZE (Stellarium-stellarium-v0.21.1_GH0.tar.gz) = 362252261
|
||||
SHA256 (stellarium_user_guide-0.21.1-1.pdf) = 9b1d960fef5cc3fc8db8e5c02b0aca05dbca763142a9855af5963609099bd00c
|
||||
SIZE (stellarium_user_guide-0.21.1-1.pdf) = 31256531
|
||||
SHA256 (almstars-1.1.tar.gz) = 62f69b92352d9aaccf5393153ac1954adf09be83b6994caae8cc6f318f668f16
|
||||
SIZE (almstars-1.1.tar.gz) = 505529
|
||||
SHA256 (stars_4_1v0_2.cat) = 15589d9193b850cac68a031bd02dcb59da36c03946ca1be373fbabdb6b1edd63
|
||||
SIZE (stars_4_1v0_2.cat) = 16948302
|
||||
SHA256 (stars_5_2v0_1.cat) = c4ebd18d05a805308cfac85fe224e3f0a75db6579cae65c935a0954da13f4164
|
||||
|
|
|
@ -867,6 +867,7 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/nebulae/default/n2467.png
|
||||
%%DATADIR%%/nebulae/default/n247.png
|
||||
%%DATADIR%%/nebulae/default/n2477.png
|
||||
%%DATADIR%%/nebulae/default/n2506-vasey.png
|
||||
%%DATADIR%%/nebulae/default/n2516-dss.png
|
||||
%%DATADIR%%/nebulae/default/n253.png
|
||||
%%DATADIR%%/nebulae/default/n2547.png
|
||||
|
@ -890,6 +891,7 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/nebulae/default/n2997.png
|
||||
%%DATADIR%%/nebulae/default/n300.png
|
||||
%%DATADIR%%/nebulae/default/n3077.png
|
||||
%%DATADIR%%/nebulae/default/n3079-vasey.png
|
||||
%%DATADIR%%/nebulae/default/n3109.png
|
||||
%%DATADIR%%/nebulae/default/n3114.png
|
||||
%%DATADIR%%/nebulae/default/n3115.png
|
||||
|
@ -901,6 +903,7 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/nebulae/default/n3198-sdss.png
|
||||
%%DATADIR%%/nebulae/default/n3199.png
|
||||
%%DATADIR%%/nebulae/default/n3201-dss.png
|
||||
%%DATADIR%%/nebulae/default/n3227-vasey.png
|
||||
%%DATADIR%%/nebulae/default/n3242.png
|
||||
%%DATADIR%%/nebulae/default/n3293.png
|
||||
%%DATADIR%%/nebulae/default/n3310-vasey.png
|
||||
|
@ -982,6 +985,7 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/nebulae/default/n5286.png
|
||||
%%DATADIR%%/nebulae/default/n5307.png
|
||||
%%DATADIR%%/nebulae/default/n5315.png
|
||||
%%DATADIR%%/nebulae/default/n5363-vasey.png
|
||||
%%DATADIR%%/nebulae/default/n5367.png
|
||||
%%DATADIR%%/nebulae/default/n5426.png
|
||||
%%DATADIR%%/nebulae/default/n5466.png
|
||||
|
@ -1142,6 +1146,7 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/nebulae/default/sh2-136.png
|
||||
%%DATADIR%%/nebulae/default/sh2-155.png
|
||||
%%DATADIR%%/nebulae/default/sh2-170.png
|
||||
%%DATADIR%%/nebulae/default/sh2-188-vasey.png
|
||||
%%DATADIR%%/nebulae/default/sh2-240.png
|
||||
%%DATADIR%%/nebulae/default/sh2-261.png
|
||||
%%DATADIR%%/nebulae/default/sh2-263.png
|
||||
|
@ -1361,11 +1366,16 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/skycultures/al-sufi/description.en.utf8
|
||||
%%DATADIR%%/skycultures/al-sufi/description.es.utf8
|
||||
%%DATADIR%%/skycultures/al-sufi/description.gl.utf8
|
||||
%%DATADIR%%/skycultures/al-sufi/description.ru.utf8
|
||||
%%DATADIR%%/skycultures/al-sufi/description.sk.utf8
|
||||
%%DATADIR%%/skycultures/al-sufi/description.uk.utf8
|
||||
%%DATADIR%%/skycultures/al-sufi/dso_names.fab
|
||||
%%DATADIR%%/skycultures/al-sufi/info.ini
|
||||
%%DATADIR%%/skycultures/al-sufi/star_names.fab
|
||||
%%DATADIR%%/skycultures/almagest/almstars/cat1.dat
|
||||
%%DATADIR%%/skycultures/almagest/almstars/cat2.dat
|
||||
%%DATADIR%%/skycultures/almagest/almstars/cat3.dat
|
||||
%%DATADIR%%/skycultures/almagest/almstars/catpick.dat
|
||||
%%DATADIR%%/skycultures/almagest/constellation_names.eng.fab
|
||||
%%DATADIR%%/skycultures/almagest/constellationship.fab
|
||||
%%DATADIR%%/skycultures/almagest/corvus_s.png
|
||||
|
@ -1376,6 +1386,7 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/skycultures/almagest/description.gl.utf8
|
||||
%%DATADIR%%/skycultures/almagest/description.ja.utf8
|
||||
%%DATADIR%%/skycultures/almagest/description.nl.utf8
|
||||
%%DATADIR%%/skycultures/almagest/description.ru.utf8
|
||||
%%DATADIR%%/skycultures/almagest/description.sk.utf8
|
||||
%%DATADIR%%/skycultures/almagest/description.uk.utf8
|
||||
%%DATADIR%%/skycultures/almagest/dso_names.fab
|
||||
|
@ -1390,6 +1401,7 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/skycultures/anutan/description.gl.utf8
|
||||
%%DATADIR%%/skycultures/anutan/description.ja.utf8
|
||||
%%DATADIR%%/skycultures/anutan/description.nl.utf8
|
||||
%%DATADIR%%/skycultures/anutan/description.ru.utf8
|
||||
%%DATADIR%%/skycultures/anutan/description.sk.utf8
|
||||
%%DATADIR%%/skycultures/anutan/description.uk.utf8
|
||||
%%DATADIR%%/skycultures/anutan/dso_names.fab
|
||||
|
@ -1876,6 +1888,7 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/skycultures/japanese_moon_stations/description.gl.utf8
|
||||
%%DATADIR%%/skycultures/japanese_moon_stations/description.ja.utf8
|
||||
%%DATADIR%%/skycultures/japanese_moon_stations/description.nl.utf8
|
||||
%%DATADIR%%/skycultures/japanese_moon_stations/description.ru.utf8
|
||||
%%DATADIR%%/skycultures/japanese_moon_stations/description.sk.utf8
|
||||
%%DATADIR%%/skycultures/japanese_moon_stations/description.uk.utf8
|
||||
%%DATADIR%%/skycultures/japanese_moon_stations/description.zh_CN.utf8
|
||||
|
@ -1988,6 +2001,7 @@ share/mime/packages/stellarium.xml
|
|||
%%DATADIR%%/skycultures/macedonian/description.es.utf8
|
||||
%%DATADIR%%/skycultures/macedonian/description.gl.utf8
|
||||
%%DATADIR%%/skycultures/macedonian/description.nl.utf8
|
||||
%%DATADIR%%/skycultures/macedonian/description.ru.utf8
|
||||
%%DATADIR%%/skycultures/macedonian/description.sk.utf8
|
||||
%%DATADIR%%/skycultures/macedonian/description.uk.utf8
|
||||
%%DATADIR%%/skycultures/macedonian/description.zh_CN.utf8
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
SUBDIR += aylet
|
||||
SUBDIR += bambootracker
|
||||
SUBDIR += bamp-lv2
|
||||
SUBDIR += bangr-lv2
|
||||
SUBDIR += baresip
|
||||
SUBDIR += baudline
|
||||
SUBDIR += bcg729
|
||||
|
@ -292,7 +293,6 @@
|
|||
SUBDIR += gula-plugins-lv2
|
||||
SUBDIR += guspat
|
||||
SUBDIR += gvolwheel
|
||||
SUBDIR += gxmms2
|
||||
SUBDIR += gxplugins-lv2
|
||||
SUBDIR += harp
|
||||
SUBDIR += headsetcontrol
|
||||
|
@ -452,7 +452,6 @@
|
|||
SUBDIR += lv2lint
|
||||
SUBDIR += lv2proc
|
||||
SUBDIR += lvtk
|
||||
SUBDIR += lxmusic
|
||||
SUBDIR += mac
|
||||
SUBDIR += madfufw
|
||||
SUBDIR += madplay
|
||||
|
@ -626,6 +625,7 @@
|
|||
SUBDIR += pragha
|
||||
SUBDIR += prelude-lv2
|
||||
SUBDIR += protracker
|
||||
SUBDIR += psindustrializer
|
||||
SUBDIR += pulseaudio
|
||||
SUBDIR += pulseaudio-module-sndio
|
||||
SUBDIR += pulseaudio-module-xrdp
|
||||
|
@ -737,6 +737,7 @@
|
|||
SUBDIR += sox
|
||||
SUBDIR += spc2it
|
||||
SUBDIR += spectacle-lv2
|
||||
SUBDIR += spectmorph
|
||||
SUBDIR += spectrogram
|
||||
SUBDIR += speech-denoiser-lv2
|
||||
SUBDIR += speex
|
||||
|
@ -858,7 +859,6 @@
|
|||
SUBDIR += xmix
|
||||
SUBDIR += xmixer
|
||||
SUBDIR += xmmix
|
||||
SUBDIR += xmms2
|
||||
SUBDIR += xmp
|
||||
SUBDIR += xmradio
|
||||
SUBDIR += xoscope
|
||||
|
|
|
@ -12,7 +12,7 @@ LICENSE= GPLv2
|
|||
LIB_DEPENDS= libespeak.so:audio/espeak \
|
||||
libsamplerate.so:audio/libsamplerate
|
||||
|
||||
FLAVORS= asterisk16 asterisk18 asterisk13
|
||||
FLAVORS= asterisk18 asterisk16 asterisk13
|
||||
FLAVOR?= ${FLAVORS:[1]}
|
||||
|
||||
asterisk13_PKGNAMEPREFIX= asterisk13-
|
||||
|
|
|
@ -11,7 +11,7 @@ LICENSE= GPLv2
|
|||
|
||||
LIB_DEPENDS= libflite.so:audio/flite
|
||||
|
||||
FLAVORS= asterisk16 asterisk18 asterisk13
|
||||
FLAVORS= asterisk18 asterisk16 asterisk13
|
||||
FLAVOR?= ${FLAVORS:[1]}
|
||||
|
||||
asterisk13_PKGNAMEPREFIX= asterisk13-
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
PORTNAME= bangr
|
||||
DISTVERSION= 1.2.0
|
||||
CATEGORIES= audio
|
||||
PKGNAMESUFFIX= -lv2
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Multi-dimensional dynamicly distorted staggered multi-bandpass
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= lv2>0:audio/lv2 \
|
||||
cmake:devel/cmake
|
||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2
|
||||
|
||||
USES= compiler:c++11-lang gmake gnome pkgconfig xorg
|
||||
USE_GNOME= cairo
|
||||
USE_XORG= x11
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= sjaehn
|
||||
GH_PROJECT= BAngr
|
||||
|
||||
MAKEFILE= makefile
|
||||
|
||||
PLIST_FILES= lib/lv2/BAngr.lv2/BAngr.so \
|
||||
lib/lv2/BAngr.lv2/BAngr.ttl \
|
||||
lib/lv2/BAngr.lv2/BAngrGUI.so \
|
||||
lib/lv2/BAngr.lv2/inc/surface.png \
|
||||
lib/lv2/BAngr.lv2/manifest.ttl
|
||||
|
||||
post-install:
|
||||
@${RM} ${STAGEDIR}${PREFIX}/lib/lv2/BAngr.lv2/LICENSE
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1624812024
|
||||
SHA256 (sjaehn-BAngr-1.2.0_GH0.tar.gz) = fb71f64adb7f5cb8e9d6c39dc433e1ca01a13ba616fa4e619bec325534773335
|
||||
SIZE (sjaehn-BAngr-1.2.0_GH0.tar.gz) = 297242
|
|
@ -0,0 +1,9 @@
|
|||
A multi-dimensional dynamicly distorted staggered multi-bandpass LV2 plugin, for
|
||||
extreme soundmangling. Based on Airwindows XRegion.
|
||||
|
||||
Key features:
|
||||
* Multi-bandpass / distortion
|
||||
* Cross-fading between four instances
|
||||
* Automatic or user-controlled
|
||||
|
||||
WWW: https://github.com/sjaehn/BAngr
|
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= boops
|
||||
DISTVERSION= 1.6.2
|
||||
DISTVERSION= 1.6.4
|
||||
CATEGORIES= audio
|
||||
PKGNAMESUFFIX= -lv2
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1624030957
|
||||
SHA256 (sjaehn-BOops-1.6.2_GH0.tar.gz) = a74f5d1e82fc32f576bf8f60984f54f83df9274fb6e0a05820ba1588609227c8
|
||||
SIZE (sjaehn-BOops-1.6.2_GH0.tar.gz) = 19000972
|
||||
TIMESTAMP = 1624916966
|
||||
SHA256 (sjaehn-BOops-1.6.4_GH0.tar.gz) = 7061574b4e953fbe5684dc681cd6501a9f12f1aed8c9cfbbe3426802e763bd72
|
||||
SIZE (sjaehn-BOops-1.6.4_GH0.tar.gz) = 19000373
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
# Created by: Alexander Botero-Lowry <alex@foxybanana.com>
|
||||
|
||||
PORTNAME= gxmms2
|
||||
PORTVERSION= 0.7.1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= DEBIAN
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
||||
|
||||
MAINTAINER= madpilot@FreeBSD.org
|
||||
COMMENT= GTK2 based XMMS2 client, written in C
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= Uses EOL Python 2.7 via audio/xmms2
|
||||
EXPIRATION_DATE=2021-06-23
|
||||
|
||||
LIB_DEPENDS= libxmmsclient.so:audio/xmms2
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USE_GNOME= gtk20
|
||||
USES= gmake gnome pkgconfig
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
|
||||
PLIST_FILES= bin/gxmms2 \
|
||||
%%DATADIR%%/gxmms2_mini.xpm
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/gxmms2src/gxmms2_mini.xpm ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (gxmms2_0.7.1.orig.tar.gz) = fa3fef28935d29665bd7d788db2dcd131e177c7d9ee71423c096a410bfc05a27
|
||||
SIZE (gxmms2_0.7.1.orig.tar.gz) = 76473
|
|
@ -1,20 +0,0 @@
|
|||
--- Makefile.orig 2009-01-04 18:30:38 UTC
|
||||
+++ Makefile
|
||||
@@ -1,8 +1,6 @@
|
||||
# Makefile for gxmms2 and gkrellxmms2
|
||||
|
||||
# Installation directory
|
||||
-PREFIX=/usr/local
|
||||
-KRELLPREFIX=/usr
|
||||
|
||||
ALLFILES=gkrellxmms2/*.c gkrellxmms2/*.h gkrellxmms2/*.xpm gmedialib/*.c gmedialib/*.h gmedialib/*.xpm gtrackinfo/*.c gtrackinfo/*.h gxmms2src/*.c gxmms2src/*.h gxmms2src/*.xpm sdecode/*.c sdecode/*.h xmms2ctrl/*.c xmms2ctrl/*.h Makefile README COPYING CHANGELOG
|
||||
|
||||
@@ -13,7 +11,7 @@ XMMS2_LIB=$(shell pkg-config xmms2-clien
|
||||
|
||||
CFLAGS ?= -O2
|
||||
CFLAGS := -Wall -fPIC $(GTK_CFLAGS) $(XMMS2_CFLAGS) -I. $(CFLAGS)
|
||||
-LIBS = $(GTK_LIB) $(XMMS2_LIB)
|
||||
+LIBS = $(GTK_LIB) $(XMMS2_LIB) -lX11
|
||||
|
||||
KRELLLFLAGS=-shared
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
gxmms2 is a GTK2 based XMMS2 client, written in C. Its main window is small and
|
||||
simple. It includes a playlist editor and a file details dialog.
|
||||
|
||||
WWW: http://wejp.k.vu/projects/xmms2/
|
|
@ -20,7 +20,8 @@ USES= compiler:c11 iconv libtool localbase
|
|||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-extract:
|
||||
@${RM} -r ${WRKSRC}/zlib
|
||||
post-patch:
|
||||
# Clean up bundled libraries
|
||||
@${RM} -r ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
# Created by: Eric Turgeon <ericturgeon.bsd at gmail.com>
|
||||
|
||||
PORTNAME= lxmusic
|
||||
PORTVERSION= 0.4.7
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= SF/lxde/LXMusic%20%28music%20player%29/LXMusic%20${PORTVERSION:R}.x/
|
||||
|
||||
MAINTAINER= ericbsd@FreeBSD.org
|
||||
COMMENT= LXDE music player based on xmms2
|
||||
|
||||
LICENSE= MIT GPLv2+
|
||||
LICENSE_COMB= dual
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= Uses EOL Python 2.7 via audio/xmms2
|
||||
EXPIRATION_DATE=2021-06-23
|
||||
|
||||
LIB_DEPENDS= libxmmsclient.so:audio/xmms2 \
|
||||
libnotify.so:devel/libnotify
|
||||
|
||||
USES= desktop-file-utils gettext-tools gmake gnome localbase \
|
||||
pkgconfig tar:xz
|
||||
USE_GNOME= gtk20 intltool
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_ICONS= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
LDFLAGS+= -lpthread
|
||||
|
||||
PORTDOCS= AUTHORS README
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NLS_USES= gettext-runtime
|
||||
NLS_CONFIGURE_ENABLE=nls
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,3 +0,0 @@
|
|||
TIMESTAMP = 1464014391
|
||||
SHA256 (lxmusic-0.4.7.tar.xz) = 4933987338eb6e8c77d63b14cea5a8886146e75acbc38a21438c6c3f47bc06ba
|
||||
SIZE (lxmusic-0.4.7.tar.xz) = 180300
|
|
@ -1,11 +0,0 @@
|
|||
--- configure.orig 2016-02-21 00:00:57 UTC
|
||||
+++ configure
|
||||
@@ -6815,7 +6815,7 @@ $as_echo "#define HAVE_LC_MESSAGES 1" >>
|
||||
|
||||
fi
|
||||
fi
|
||||
- USE_NLS=yes
|
||||
+ #USE_NLS=yes
|
||||
|
||||
|
||||
gt_cv_have_gettext=no
|
|
@ -1,6 +0,0 @@
|
|||
LXMusic is the minimalist music player for LXDE. This is based on
|
||||
xmms2, which is lightweight and has server/client design. LXMusic
|
||||
has very few features, it can do nothing more than just playing a
|
||||
list of music files.
|
||||
|
||||
WWW: https://wiki.lxde.org/en/LXMusic
|
|
@ -1,67 +0,0 @@
|
|||
bin/lxmusic
|
||||
man/man1/lxmusic.1.gz
|
||||
share/applications/lxmusic.desktop
|
||||
%%NLS%%share/locale/af/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ar/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/be/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/bg/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/bn/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/bn_IN/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ca/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/da/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/el/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/en_GB/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/et/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/eu/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/fa/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/fo/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/frp/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/gl/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/he/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/hr/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/hu/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/id/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/is/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/kk/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ko/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/lg/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/lt/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ml/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ms/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/nb/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/nl/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/nn/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/pa/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ps/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/pt/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ro/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/sk/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/sl/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/sr/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/sr@latin/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/te/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/th/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/tr/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/tt_RU/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ug/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ur/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/ur_PK/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/vi/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/lxmusic.mo
|
||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/lxmusic.mo
|
||||
%%DATADIR%%/lxmusic.ui.glade
|
||||
%%DATADIR%%/pref-dlg.ui.glade
|
||||
%%DATADIR%%/track-info.ui.glade
|
||||
share/pixmaps/lxmusic.png
|
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= musicpd
|
||||
PORTVERSION= 0.22.8
|
||||
PORTVERSION= 0.22.9
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= https://www.musicpd.org/download/mpd/${PORTVERSION:R}/
|
||||
DISTNAME= mpd-${PORTVERSION}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1621766947
|
||||
SHA256 (mpd-0.22.8.tar.xz) = 9617ed08c9ffafcf5f925819251f6b90df3f4f73cf2838c41033e1962104286d
|
||||
SIZE (mpd-0.22.8.tar.xz) = 737368
|
||||
TIMESTAMP = 1624793348
|
||||
SHA256 (mpd-0.22.9.tar.xz) = f937403297c2240bd4a569f4b937ee7ab17398a5284ba9df4d6d4c3a0512bc64
|
||||
SIZE (mpd-0.22.9.tar.xz) = 738432
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
--- meson.build.orig 2020-11-06 15:12:54 UTC
|
||||
--- meson.build.orig 2021-06-23 18:56:13 UTC
|
||||
+++ meson.build
|
||||
@@ -79,10 +79,14 @@ test_cxxflags = test_common_flags + [
|
||||
'-Wno-non-virtual-dtor',
|
||||
]
|
||||
@@ -28,6 +28,14 @@ elif compiler.get_id() == 'clang' and compiler.version
|
||||
warning('Your clang version is too old. You need at least version 7.')
|
||||
endif
|
||||
|
||||
+test_ldflags = [
|
||||
+]
|
||||
+
|
||||
if compiler.get_id() == 'clang'
|
||||
# Workaround for clang bug
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=32611
|
||||
test_cxxflags += '-funwind-tables'
|
||||
+if compiler.get_id() == 'clang'
|
||||
+ # This can probably go away after FreeBSD 11 is EOL'd
|
||||
+ test_ldflags += '-fuse-ld=%%MPD_CLANG_LD%%'
|
||||
endif
|
||||
|
||||
test_cflags = test_common_flags + [
|
||||
@@ -95,7 +99,7 @@ test_cflags = test_common_flags + [
|
||||
'-pedantic',
|
||||
+endif
|
||||
+
|
||||
version_conf = configuration_data()
|
||||
version_conf.set_quoted('PACKAGE', meson.project_name())
|
||||
version_conf.set_quoted('PACKAGE_NAME', meson.project_name())
|
||||
@@ -102,7 +110,7 @@ test_cflags = test_common_flags + [
|
||||
'-Wwrite-strings',
|
||||
]
|
||||
|
||||
-test_ldflags = [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= myxer
|
||||
DISTVERSION= 1.2.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= ncspot
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.6.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= rodrigo@FreeBSD.org
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
--- cargo-crates/libc-0.2.93/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig 2020-03-17 20:35:43 UTC
|
||||
+++ cargo-crates/libc-0.2.93/src/unix/bsd/freebsdlike/freebsd/mod.rs
|
||||
@@ -1486,6 +1486,9 @@ cfg_if! {
|
||||
} else if #[cfg(target_arch = "powerpc64")] {
|
||||
mod powerpc64;
|
||||
pub use self::powerpc64::*;
|
||||
+ } else if #[cfg(target_arch = "powerpc")] {
|
||||
+ mod powerpc;
|
||||
+ pub use self::powerpc::*;
|
||||
} else {
|
||||
// Unknown target_arch
|
||||
}
|
||||
--- cargo-crates/libc-0.2.93/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig 2021-06-23 22:40:24 UTC
|
||||
+++ cargo-crates/libc-0.2.93/src/unix/bsd/freebsdlike/freebsd/powerpc.rs
|
||||
@@ -0,0 +1,47 @@
|
||||
+pub type c_char = u8;
|
||||
+pub type c_long = i32;
|
||||
+pub type c_ulong = u32;
|
||||
+pub type wchar_t = i32;
|
||||
+pub type time_t = i64;
|
||||
+pub type suseconds_t = i32;
|
||||
+pub type register_t = i32;
|
||||
+
|
||||
+s! {
|
||||
+ pub struct stat {
|
||||
+ pub st_dev: ::dev_t,
|
||||
+ pub st_ino: ::ino_t,
|
||||
+ pub st_mode: ::mode_t,
|
||||
+ pub st_nlink: ::nlink_t,
|
||||
+ pub st_uid: ::uid_t,
|
||||
+ pub st_gid: ::gid_t,
|
||||
+ pub st_rdev: ::dev_t,
|
||||
+ pub st_atime: ::time_t,
|
||||
+ pub st_atime_nsec: ::c_long,
|
||||
+ pub st_mtime: ::time_t,
|
||||
+ pub st_mtime_nsec: ::c_long,
|
||||
+ pub st_ctime: ::time_t,
|
||||
+ pub st_ctime_nsec: ::c_long,
|
||||
+ pub st_size: ::off_t,
|
||||
+ pub st_blocks: ::blkcnt_t,
|
||||
+ pub st_blksize: ::blksize_t,
|
||||
+ pub st_flags: ::fflags_t,
|
||||
+ pub st_gen: u32,
|
||||
+ pub st_lspare: i32,
|
||||
+ pub st_birthtime: ::time_t,
|
||||
+ pub st_birthtime_nsec: ::c_long,
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+// should be pub(crate), but that requires Rust 1.18.0
|
||||
+cfg_if! {
|
||||
+ if #[cfg(libc_const_size_of)] {
|
||||
+ #[doc(hidden)]
|
||||
+ pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_int>() - 1;
|
||||
+ } else {
|
||||
+ #[doc(hidden)]
|
||||
+ pub const _ALIGNBYTES: usize = 4 - 1;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+pub const MAP_32BIT: ::c_int = 0x00080000;
|
||||
+pub const MINSIGSTKSZ: ::size_t = 2048; // 512 * 4
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1623866570
|
||||
SHA256 (KDE/plasma/5.22.1/plasma-pa-5.22.1.tar.xz) = bd8d5655ae3e188b1c48ac3c0019a0c303b95060576836f70232448b5955e9f2
|
||||
SIZE (KDE/plasma/5.22.1/plasma-pa-5.22.1.tar.xz) = 127304
|
||||
TIMESTAMP = 1624729958
|
||||
SHA256 (KDE/plasma/5.22.2.1/plasma-pa-5.22.2.1.tar.xz) = 1ffe082079cc71bd55839f385c30c5af54bed5e9cfd804209fd58f614622d164
|
||||
SIZE (KDE/plasma/5.22.2.1/plasma-pa-5.22.2.1.tar.xz) = 127284
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
||||
|
||||
PORTNAME= protracker
|
||||
PORTVERSION= 1.29
|
||||
PORTVERSION= 1.31
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= audio
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
TIMESTAMP = 1616956049
|
||||
TIMESTAMP = 1624895757
|
||||
SHA256 (protracker-extras-1.tar.gz) = 51a078f344611f6a41e44bab9a8640f363224c41a8a5432f55aeba3bb49fbdbf
|
||||
SIZE (protracker-extras-1.tar.gz) = 1267
|
||||
SHA256 (8bitbubsy-pt2-clone-v1.29_GH0.tar.gz) = 852515e8ac84d52ab0fb84832e508ce0ae912776e843820f640c77cee7a693dc
|
||||
SIZE (8bitbubsy-pt2-clone-v1.29_GH0.tar.gz) = 7496144
|
||||
SHA256 (8bitbubsy-pt2-clone-v1.31_GH0.tar.gz) = caa4aec54c6a9f8872ef27d825080e4f33ea85bad0f8a0b5239b8e131a69ce47
|
||||
SIZE (8bitbubsy-pt2-clone-v1.31_GH0.tar.gz) = 7497178
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
PORTNAME= psindustrializer
|
||||
DISTVERSION= 0.2.7
|
||||
DISTVERSIONSUFFIX= -pre2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= SF/industrializer/
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Percussion sounds synthesizer using physical modelling
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \
|
||||
libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2 \
|
||||
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
|
||||
libharfbuzz.so:print/harfbuzz
|
||||
|
||||
USES= gettext-runtime gl gmake gnome libtool pkgconfig tar:xz xorg
|
||||
USE_GNOME= atk cairo gdkpixbuf2 gtk20 libxml2 pango pangox-compat
|
||||
USE_GL= gl glu
|
||||
USE_XORG= x11
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-alsa
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
OPTIONS_MULTI= BACKEND
|
||||
OPTIONS_MULTI_BACKEND= JACK PULSE
|
||||
OPTIONS_DEFAULT= PULSE
|
||||
|
||||
BACKEND_DESC= Audio Backend
|
||||
|
||||
JACK_CONFIGURE_ENABLE= jack
|
||||
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
||||
|
||||
PULSE_DESC= PulseAudio support
|
||||
PULSE_CONFIGURE_ENABLE= pulse
|
||||
PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1624758402
|
||||
SHA256 (psindustrializer-0.2.7-pre2.tar.xz) = 13a3489f11773eb6deb06f5ea93a6ad01387f4b357ceba1149fc863afc780a1f
|
||||
SIZE (psindustrializer-0.2.7-pre2.tar.xz) = 354252
|
|
@ -0,0 +1,6 @@
|
|||
Industrializer is a program for generating percussion sounds for musical
|
||||
purposes. This program is great for generating new techno and industrial
|
||||
sounds. It also can produce chimes, bubbles, gongs, hammer hits on different
|
||||
materials and so on.
|
||||
|
||||
WWW: https://sourceforge.net/projects/industrializer/
|
|
@ -0,0 +1,16 @@
|
|||
bin/psindustrializer
|
||||
include/psphymod/psmetalobj.h
|
||||
include/psphymod/psphymod.h
|
||||
lib/libpsphymod.a
|
||||
lib/libpsphymod.so
|
||||
lib/libpsphymod.so.0
|
||||
lib/libpsphymod.so.0.0.0
|
||||
share/appdata/psindustrializer.appdata.xml
|
||||
share/applications/psindustrializer.desktop
|
||||
share/locale/en@boldquot/LC_MESSAGES/psindustrializer.mo
|
||||
share/locale/en@quot/LC_MESSAGES/psindustrializer.mo
|
||||
share/locale/ru/LC_MESSAGES/psindustrializer.mo
|
||||
share/pixmaps/psindustrializer.png
|
||||
%%DATADIR%%/power_station_logo.xpm
|
||||
%%DATADIR%%/save-wav-22.png
|
||||
%%DATADIR%%/save-wav-32.png
|
|
@ -1,7 +1,7 @@
|
|||
# Created by: mathias.picker@gmx.de
|
||||
|
||||
PORTNAME= rubberband
|
||||
DISTVERSION= 1.9.1
|
||||
DISTVERSION= 1.9.2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= https://breakfastquay.com/files/releases/
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1621266846
|
||||
SHA256 (rubberband-1.9.1.tar.bz2) = fc474878f6823c27ef5df1f9616a8c8b6a4c01346132ea7d1498fe5245e549e3
|
||||
SIZE (rubberband-1.9.1.tar.bz2) = 164644
|
||||
TIMESTAMP = 1623304677
|
||||
SHA256 (rubberband-1.9.2.tar.bz2) = b3cff5968517141fcf9e1ef6b5a1fdb06a5511f148000609216cf182ff4ab612
|
||||
SIZE (rubberband-1.9.2.tar.bz2) = 164178
|
||||
|
|
|
@ -6,7 +6,7 @@ lib/ladspa/ladspa-rubberband.so
|
|||
lib/librubberband.a
|
||||
lib/librubberband.so
|
||||
lib/librubberband.so.2
|
||||
lib/librubberband.so.2.1.3
|
||||
lib/librubberband.so.2.1.4
|
||||
lib/vamp/vamp-rubberband.cat
|
||||
lib/vamp/vamp-rubberband.so
|
||||
libdata/pkgconfig/rubberband.pc
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
PORTNAME= spectmorph
|
||||
DISTVERSION= 0.5.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= https://spectmorph.org/files/releases/
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Analyze and combine samples of musical instruments
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= fftw3>0:math/fftw3
|
||||
LIB_DEPENDS= libao.so:audio/libao \
|
||||
libfftw3f.so:math/fftw3-float \
|
||||
libfreetype.so:print/freetype2 \
|
||||
libsndfile.so:audio/libsndfile
|
||||
|
||||
USES= autoreconf desktop-file-utils gettext-runtime gl gmake gnome libtool pkgconfig python:run qt:5 shebangfix tar:bz2 xorg
|
||||
USE_QT= core gui widgets buildtools_build
|
||||
USE_GNOME= cairo glib20
|
||||
USE_GL= gl
|
||||
USE_XORG= x11
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
SHEBANG_FILES= tools/sminstbuilder.in
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lfftw3f_threads
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
OPTIONS_DEFINE= JACK LV2
|
||||
OPTIONS_DEFAULT= JACK LV2
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
JACK_CONFIGURE_WITH= jack
|
||||
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
||||
|
||||
LV2_DESC= Build the LV2 plugin
|
||||
LV2_CONFIGURE_WITH= lv2
|
||||
LV2_BUILD_DEPENDS= lv2>0:audio/lv2
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1624784043
|
||||
SHA256 (spectmorph-0.5.2.tar.bz2) = 2ed06e46e0396723621b21a89e81a2850bc5b9590383ae1d37094c68673d387b
|
||||
SIZE (spectmorph-0.5.2.tar.bz2) = 30920194
|
|
@ -0,0 +1,12 @@
|
|||
--- configure.ac.orig 2021-06-27 09:08:51 UTC
|
||||
+++ configure.ac
|
||||
@@ -363,6 +363,9 @@ case "${host_os}" in
|
||||
linux*)
|
||||
build_linux=yes
|
||||
;;
|
||||
+ freebsd*)
|
||||
+ build_linux=yes
|
||||
+ ;;
|
||||
cygwin*|mingw*)
|
||||
build_windows=yes
|
||||
;;
|
|
@ -0,0 +1,11 @@
|
|||
--- lib/smutils.hh.orig 2021-06-27 09:10:34 UTC
|
||||
+++ lib/smutils.hh
|
||||
@@ -13,6 +13,8 @@
|
||||
#define SM_OS_MACOS
|
||||
#elif __linux__
|
||||
#define SM_OS_LINUX
|
||||
+#elif __FreeBSD__
|
||||
+ #define SM_OS_LINUX
|
||||
#else
|
||||
#error "unsupported platform"
|
||||
#endif
|
|
@ -0,0 +1,10 @@
|
|||
--- tools/smenccache.cc.orig 2021-06-27 09:40:09 UTC
|
||||
+++ tools/smenccache.cc
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "smutils.hh"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
+#include <sys/wait.h> // for WEXITSTATUS
|
||||
|
||||
using std::string;
|
||||
using std::vector;
|
|
@ -0,0 +1,8 @@
|
|||
SpectMorph is a free software project which allows to analyze samples of musical
|
||||
instruments, and to combine them (morphing). It can be used to construct hybrid
|
||||
sounds, for instance a sound between a trumpet and a flute; or smooth
|
||||
transitions, for instance a sound that starts as a trumpet and then gradually
|
||||
changes to a flute. In its current version, SpectMorph ships with many
|
||||
ready-to-use instruments which can be combined using morphing.
|
||||
|
||||
WWW: https://spectmorph.org/
|
|
@ -0,0 +1,211 @@
|
|||
bin/smenc
|
||||
%%JACK%%bin/smenccache
|
||||
%%JACK%%bin/sminspector
|
||||
%%JACK%%bin/sminstbuilder
|
||||
%%JACK%%bin/smjack
|
||||
%%JACK%%bin/smplay
|
||||
%%JACK%%bin/smsampleedit
|
||||
%%JACK%%bin/smsfimport
|
||||
bin/smstrip
|
||||
bin/smtool
|
||||
bin/smwavset
|
||||
include/spectmorph/smcore/smadsrenvelope.hh
|
||||
include/spectmorph/smcore/smalignedarray.hh
|
||||
include/spectmorph/smcore/smaudio.hh
|
||||
include/spectmorph/smcore/smaudiotool.hh
|
||||
include/spectmorph/smcore/smbinbuffer.hh
|
||||
include/spectmorph/smcore/smblockutils.hh
|
||||
include/spectmorph/smcore/smbuilderthread.hh
|
||||
include/spectmorph/smcore/smconfig.hh
|
||||
include/spectmorph/smcore/smdebug.hh
|
||||
include/spectmorph/smcore/smeffectdecoder.hh
|
||||
include/spectmorph/smcore/smencoder.hh
|
||||
include/spectmorph/smcore/smfft.hh
|
||||
include/spectmorph/smcore/smgenericin.hh
|
||||
include/spectmorph/smcore/smgenericout.hh
|
||||
include/spectmorph/smcore/smhexstring.hh
|
||||
include/spectmorph/smcore/smifftsynth.hh
|
||||
include/spectmorph/smcore/smindex.hh
|
||||
include/spectmorph/smcore/sminfile.hh
|
||||
include/spectmorph/smcore/sminsteditsynth.hh
|
||||
include/spectmorph/smcore/sminstenccache.hh
|
||||
include/spectmorph/smcore/sminstencoder.hh
|
||||
include/spectmorph/smcore/sminstrument.hh
|
||||
include/spectmorph/smcore/smjobqueue.hh
|
||||
include/spectmorph/smcore/smleakdebugger.hh
|
||||
include/spectmorph/smcore/smlivedecoder.hh
|
||||
include/spectmorph/smcore/smlivedecodersource.hh
|
||||
include/spectmorph/smcore/smmain.hh
|
||||
include/spectmorph/smcore/smmath.hh
|
||||
include/spectmorph/smcore/smmemout.hh
|
||||
include/spectmorph/smcore/smmicroconf.hh
|
||||
include/spectmorph/smcore/smmidisynth.hh
|
||||
include/spectmorph/smcore/smminiresampler.hh
|
||||
include/spectmorph/smcore/smmmapin.hh
|
||||
include/spectmorph/smcore/smmorphgrid.hh
|
||||
include/spectmorph/smcore/smmorphgridmodule.hh
|
||||
include/spectmorph/smcore/smmorphlfo.hh
|
||||
include/spectmorph/smcore/smmorphlfomodule.hh
|
||||
include/spectmorph/smcore/smmorphlinear.hh
|
||||
include/spectmorph/smcore/smmorphlinearmodule.hh
|
||||
include/spectmorph/smcore/smmorphoperator.hh
|
||||
include/spectmorph/smcore/smmorphoperatormodule.hh
|
||||
include/spectmorph/smcore/smmorphoutput.hh
|
||||
include/spectmorph/smcore/smmorphoutputmodule.hh
|
||||
include/spectmorph/smcore/smmorphplan.hh
|
||||
include/spectmorph/smcore/smmorphplansynth.hh
|
||||
include/spectmorph/smcore/smmorphplanvoice.hh
|
||||
include/spectmorph/smcore/smmorphsource.hh
|
||||
include/spectmorph/smcore/smmorphsourcemodule.hh
|
||||
include/spectmorph/smcore/smmorphutils.hh
|
||||
include/spectmorph/smcore/smmorphwavsource.hh
|
||||
include/spectmorph/smcore/smmorphwavsourcemodule.hh
|
||||
include/spectmorph/smcore/smnoisebandpartition.hh
|
||||
include/spectmorph/smcore/smnoisedecoder.hh
|
||||
include/spectmorph/smcore/smobject.hh
|
||||
include/spectmorph/smcore/smoutfile.hh
|
||||
include/spectmorph/smcore/smpcg32rng.hh
|
||||
include/spectmorph/smcore/smpolyphaseinter.hh
|
||||
include/spectmorph/smcore/smproject.hh
|
||||
include/spectmorph/smcore/smproperty.hh
|
||||
include/spectmorph/smcore/smrandom.hh
|
||||
include/spectmorph/smcore/smsignal.hh
|
||||
include/spectmorph/smcore/smsinedecoder.hh
|
||||
include/spectmorph/smcore/smstdioin.hh
|
||||
include/spectmorph/smcore/smstdioout.hh
|
||||
include/spectmorph/smcore/smstdiosubin.hh
|
||||
include/spectmorph/smcore/smsynthinterface.hh
|
||||
include/spectmorph/smcore/smuserinstrumentindex.hh
|
||||
include/spectmorph/smcore/smutils.hh
|
||||
include/spectmorph/smcore/smwavdata.hh
|
||||
include/spectmorph/smcore/smwavset.hh
|
||||
include/spectmorph/smcore/smwavsetbuilder.hh
|
||||
include/spectmorph/smcore/smwavsetrepo.hh
|
||||
include/spectmorph/smcore/smzip.hh
|
||||
include/spectmorph/smcore/spectmorph.hh
|
||||
include/spectmorph/smglui/pugl/cairo_gl.h
|
||||
include/spectmorph/smglui/pugl/gl.h
|
||||
include/spectmorph/smglui/pugl/glew.h
|
||||
include/spectmorph/smglui/pugl/glu.h
|
||||
include/spectmorph/smglui/pugl/pugl.h
|
||||
include/spectmorph/smglui/pugl/pugl_internal.h
|
||||
include/spectmorph/smglui/smaboutdialog.hh
|
||||
include/spectmorph/smglui/smbutton.hh
|
||||
include/spectmorph/smglui/smcheckbox.hh
|
||||
include/spectmorph/smglui/smcombobox.hh
|
||||
include/spectmorph/smglui/smcomboboxoperator.hh
|
||||
include/spectmorph/smglui/smcontrolview.hh
|
||||
include/spectmorph/smglui/smdialog.hh
|
||||
include/spectmorph/smglui/smdrawutils.hh
|
||||
include/spectmorph/smglui/smenumview.hh
|
||||
include/spectmorph/smglui/smeventloop.hh
|
||||
include/spectmorph/smglui/smfixedgrid.hh
|
||||
include/spectmorph/smglui/smframe.hh
|
||||
include/spectmorph/smglui/sminsteditnote.hh
|
||||
include/spectmorph/smglui/sminsteditparams.hh
|
||||
include/spectmorph/smglui/sminsteditwindow.hh
|
||||
include/spectmorph/smglui/smlabel.hh
|
||||
include/spectmorph/smglui/smled.hh
|
||||
include/spectmorph/smglui/smlineedit.hh
|
||||
include/spectmorph/smglui/smlistbox.hh
|
||||
include/spectmorph/smglui/smmenubar.hh
|
||||
include/spectmorph/smglui/smmessagebox.hh
|
||||
include/spectmorph/smglui/smmorphgridview.hh
|
||||
include/spectmorph/smglui/smmorphgridwidget.hh
|
||||
include/spectmorph/smglui/smmorphlfoview.hh
|
||||
include/spectmorph/smglui/smmorphlinearview.hh
|
||||
include/spectmorph/smglui/smmorphoperatorview.hh
|
||||
include/spectmorph/smglui/smmorphoutputview.hh
|
||||
include/spectmorph/smglui/smmorphplancontrol.hh
|
||||
include/spectmorph/smglui/smmorphplanview.hh
|
||||
include/spectmorph/smglui/smmorphplanwindow.hh
|
||||
include/spectmorph/smglui/smmorphsourceview.hh
|
||||
include/spectmorph/smglui/smmorphwavsourceview.hh
|
||||
include/spectmorph/smglui/smnativefiledialog.hh
|
||||
include/spectmorph/smglui/smoperatorlayout.hh
|
||||
include/spectmorph/smglui/smoperatorrolemap.hh
|
||||
include/spectmorph/smglui/smoutputadsrwidget.hh
|
||||
include/spectmorph/smglui/smparamlabel.hh
|
||||
include/spectmorph/smglui/smprogressbar.hh
|
||||
include/spectmorph/smglui/smpropertyview.hh
|
||||
include/spectmorph/smglui/smrenameopwindow.hh
|
||||
include/spectmorph/smglui/smsamplewidget.hh
|
||||
include/spectmorph/smglui/smscrollbar.hh
|
||||
include/spectmorph/smglui/smscrollview.hh
|
||||
include/spectmorph/smglui/smshortcut.hh
|
||||
include/spectmorph/smglui/smsimplelines.hh
|
||||
include/spectmorph/smglui/smslider.hh
|
||||
include/spectmorph/smglui/smtimer.hh
|
||||
include/spectmorph/smglui/smtoolbutton.hh
|
||||
include/spectmorph/smglui/smwidget.hh
|
||||
include/spectmorph/smglui/smwindow.hh
|
||||
include/spectmorph/smglui/spectmorphglui.hh
|
||||
include/spectmorph/smgui/smsampleview.hh
|
||||
include/spectmorph/smgui/smzoomcontroller.hh
|
||||
include/spectmorph/smgui/spectmorphgui.hh
|
||||
lib/libspectmorph.a
|
||||
lib/libspectmorph.so
|
||||
lib/libspectmorph.so.0
|
||||
lib/libspectmorph.so.0.0.0
|
||||
lib/libspectmorphglui.a
|
||||
lib/libspectmorphglui.so
|
||||
lib/libspectmorphglui.so.0
|
||||
lib/libspectmorphglui.so.0.0.0
|
||||
lib/libspectmorphgui.a
|
||||
lib/libspectmorphgui.so
|
||||
lib/libspectmorphgui.so.0
|
||||
lib/libspectmorphgui.so.0.0.0
|
||||
%%JACK%%lib/libspectmorphjack.a
|
||||
%%JACK%%lib/libspectmorphjack.so
|
||||
%%JACK%%lib/libspectmorphjack.so.0
|
||||
%%JACK%%lib/libspectmorphjack.so.0.0.0
|
||||
%%LV2%%lib/lv2/spectmorph.lv2/manifest.ttl
|
||||
%%LV2%%lib/lv2/spectmorph.lv2/spectmorph.ttl
|
||||
%%LV2%%lib/lv2/spectmorph.lv2/spectmorph_lv2.so
|
||||
lib/vst/spectmorph_vst.so
|
||||
libdata/pkgconfig/spectmorph.pc
|
||||
libdata/pkgconfig/spectmorphglui.pc
|
||||
libdata/pkgconfig/spectmorphgui.pc
|
||||
man/man1/smenc.1.gz
|
||||
man/man1/sminspector.1.gz
|
||||
man/man1/sminstbuilder.1.gz
|
||||
man/man1/smjack.1.gz
|
||||
man/man1/smplay.1.gz
|
||||
man/man1/smsfimport.1.gz
|
||||
man/man1/smstrip.1.gz
|
||||
man/man1/smtool.1.gz
|
||||
man/man1/smwavset.1.gz
|
||||
man/man1/spectmorphoscgui.1.gz
|
||||
share/applications/smjack.desktop
|
||||
share/pixmaps/smjack.png
|
||||
%%DATADIR%%/instruments/standard/alto-flute.smset
|
||||
%%DATADIR%%/instruments/standard/alto-saxophone.smset
|
||||
%%DATADIR%%/instruments/standard/bass-trombone.smset
|
||||
%%DATADIR%%/instruments/standard/bassoon.smset
|
||||
%%DATADIR%%/instruments/standard/cello.smset
|
||||
%%DATADIR%%/instruments/standard/claudia-ah.smset
|
||||
%%DATADIR%%/instruments/standard/claudia-ih.smset
|
||||
%%DATADIR%%/instruments/standard/claudia-oh.smset
|
||||
%%DATADIR%%/instruments/standard/french-horn.smset
|
||||
%%DATADIR%%/instruments/standard/index.smindex
|
||||
%%DATADIR%%/instruments/standard/mirko-ah.smset
|
||||
%%DATADIR%%/instruments/standard/mirko-oh.smset
|
||||
%%DATADIR%%/instruments/standard/oboe.smset
|
||||
%%DATADIR%%/instruments/standard/pan-flute.smset
|
||||
%%DATADIR%%/instruments/standard/reed-organ.smset
|
||||
%%DATADIR%%/instruments/standard/sven-ah.smset
|
||||
%%DATADIR%%/instruments/standard/sven-ih.smset
|
||||
%%DATADIR%%/instruments/standard/sven-oh.smset
|
||||
%%DATADIR%%/instruments/standard/synth-saw.smset
|
||||
%%DATADIR%%/instruments/standard/trumpet.smset
|
||||
%%DATADIR%%/instruments/standard/violin.smset
|
||||
%%DATADIR%%/templates/1-instrument.smplan
|
||||
%%DATADIR%%/templates/2-instruments-linear-gui.smplan
|
||||
%%DATADIR%%/templates/2-instruments-linear-lfo.smplan
|
||||
%%DATADIR%%/templates/2-instruments-unison.smplan
|
||||
%%DATADIR%%/templates/2x2-instruments-grid-gui.smplan
|
||||
%%DATADIR%%/templates/aurora.smplan
|
||||
%%DATADIR%%/templates/empty.smplan
|
||||
%%DATADIR%%/templates/index.smpindex
|
||||
%%DATADIR%%/templates/mars.smplan
|
||||
%%DATADIR%%/templates/saturn.smplan
|
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= spotify-tui
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.24.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= lcook@FreeBSD.org
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= spotifyd
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.3.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= rodrigo@FreeBSD.org
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
--- cargo-crates/libc-0.2.73/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig 2020-03-17 20:35:43 UTC
|
||||
+++ cargo-crates/libc-0.2.73/src/unix/bsd/freebsdlike/freebsd/mod.rs
|
||||
@@ -1486,6 +1486,9 @@ cfg_if! {
|
||||
} else if #[cfg(target_arch = "powerpc64")] {
|
||||
mod powerpc64;
|
||||
pub use self::powerpc64::*;
|
||||
+ } else if #[cfg(target_arch = "powerpc")] {
|
||||
+ mod powerpc;
|
||||
+ pub use self::powerpc::*;
|
||||
} else {
|
||||
// Unknown target_arch
|
||||
}
|
||||
--- cargo-crates/libc-0.2.73/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig 2021-06-23 22:40:24 UTC
|
||||
+++ cargo-crates/libc-0.2.73/src/unix/bsd/freebsdlike/freebsd/powerpc.rs
|
||||
@@ -0,0 +1,47 @@
|
||||
+pub type c_char = u8;
|
||||
+pub type c_long = i32;
|
||||
+pub type c_ulong = u32;
|
||||
+pub type wchar_t = i32;
|
||||
+pub type time_t = i64;
|
||||
+pub type suseconds_t = i32;
|
||||
+pub type register_t = i32;
|
||||
+
|
||||
+s! {
|
||||
+ pub struct stat {
|
||||
+ pub st_dev: ::dev_t,
|
||||
+ pub st_ino: ::ino_t,
|
||||
+ pub st_mode: ::mode_t,
|
||||
+ pub st_nlink: ::nlink_t,
|
||||
+ pub st_uid: ::uid_t,
|
||||
+ pub st_gid: ::gid_t,
|
||||
+ pub st_rdev: ::dev_t,
|
||||
+ pub st_atime: ::time_t,
|
||||
+ pub st_atime_nsec: ::c_long,
|
||||
+ pub st_mtime: ::time_t,
|
||||
+ pub st_mtime_nsec: ::c_long,
|
||||
+ pub st_ctime: ::time_t,
|
||||
+ pub st_ctime_nsec: ::c_long,
|
||||
+ pub st_size: ::off_t,
|
||||
+ pub st_blocks: ::blkcnt_t,
|
||||
+ pub st_blksize: ::blksize_t,
|
||||
+ pub st_flags: ::fflags_t,
|
||||
+ pub st_gen: u32,
|
||||
+ pub st_lspare: i32,
|
||||
+ pub st_birthtime: ::time_t,
|
||||
+ pub st_birthtime_nsec: ::c_long,
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+// should be pub(crate), but that requires Rust 1.18.0
|
||||
+cfg_if! {
|
||||
+ if #[cfg(libc_const_size_of)] {
|
||||
+ #[doc(hidden)]
|
||||
+ pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_int>() - 1;
|
||||
+ } else {
|
||||
+ #[doc(hidden)]
|
||||
+ pub const _ALIGNBYTES: usize = 4 - 1;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+pub const MAP_32BIT: ::c_int = 0x00080000;
|
||||
+pub const MINSIGSTKSZ: ::size_t = 2048; // 512 * 4
|
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= visp-go
|
||||
DISTVERSION= g20210527
|
||||
DISTVERSION= g20210723
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= lcook@FreeBSD.org
|
||||
|
@ -12,8 +12,9 @@ USES= go:modules
|
|||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ambientsound
|
||||
GH_PROJECT= ${PORTNAME:C/-go//}
|
||||
GH_TAGNAME= a474043
|
||||
GH_TUPLE= davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
|
||||
GH_TAGNAME= 2585747
|
||||
GH_TUPLE= beorn7:perks:v1.0.0:beorn7_perks/vendor/github.com/beorn7/perks \
|
||||
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
|
||||
fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
|
||||
gdamore:encoding:v1.0.0:gdamore_encoding/vendor/github.com/gdamore/encoding \
|
||||
gdamore:tcell:v2.2.0:gdamore_tcell_v2/vendor/github.com/gdamore/tcell/v2 \
|
||||
|
@ -23,10 +24,10 @@ GH_TUPLE= davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-sp
|
|||
go-yaml:yaml:v2.2.4:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
|
||||
golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \
|
||||
golang:crypto:75b288015ac9:golang_crypto/vendor/golang.org/x/crypto \
|
||||
golang:net:afb366fc7cd1:golang_net/vendor/golang.org/x/net \
|
||||
golang:oauth2:2e8d93401602:golang_oauth2/vendor/golang.org/x/oauth2 \
|
||||
golang:net:04defd469f4e:golang_net/vendor/golang.org/x/net \
|
||||
golang:oauth2:d04028783cf1:golang_oauth2/vendor/golang.org/x/oauth2 \
|
||||
golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \
|
||||
golang:sys:66c3f260301c:golang_sys/vendor/golang.org/x/sys \
|
||||
golang:sys:04245dca01da:golang_sys/vendor/golang.org/x/sys \
|
||||
golang:term:2321bbc49cbf:golang_term/vendor/golang.org/x/term \
|
||||
golang:text:v0.3.6:golang_text/vendor/golang.org/x/text \
|
||||
google:uuid:v1.1.1:google_uuid/vendor/github.com/google/uuid \
|
||||
|
@ -36,9 +37,14 @@ GH_TUPLE= davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-sp
|
|||
lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \
|
||||
magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \
|
||||
mattn:go-runewidth:v0.0.12:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
|
||||
matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
|
||||
mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
|
||||
pelletier:go-toml:v1.2.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
|
||||
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
|
||||
prometheus:client_golang:v0.9.3:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
|
||||
prometheus:client_model:14fe0d1b01d4:prometheus_client_model/vendor/github.com/prometheus/client_model \
|
||||
prometheus:common:v0.4.0:prometheus_common/vendor/github.com/prometheus/common \
|
||||
prometheus:procfs:5867b95ac084:prometheus_procfs/vendor/github.com/prometheus/procfs \
|
||||
protocolbuffers:protobuf-go:v1.26.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
|
||||
rivo:uniseg:v0.2.0:rivo_uniseg/vendor/github.com/rivo/uniseg \
|
||||
sirupsen:logrus:v1.2.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
|
||||
|
@ -51,7 +57,7 @@ GH_TUPLE= davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-sp
|
|||
stretchr:objx:v0.1.1:stretchr_objx/vendor/github.com/stretchr/objx \
|
||||
stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \
|
||||
subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \
|
||||
zmb3:spotify:v1.1.2:zmb3_spotify/vendor/github.com/zmb3/spotify
|
||||
zmb3:spotify:v1.3.0:zmb3_spotify/vendor/github.com/zmb3/spotify
|
||||
|
||||
_BUILD_VERSION= ${GH_TAGNAME}
|
||||
_BUILD_DATE= $$(date +%s)
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
TIMESTAMP = 1622125759
|
||||
SHA256 (ambientsound-visp-g20210527-a474043_GH0.tar.gz) = 0cec76c1f821c431acfbaaa94d1a5508019a30645dc143cde2b0f8c78b631f86
|
||||
SIZE (ambientsound-visp-g20210527-a474043_GH0.tar.gz) = 278798
|
||||
TIMESTAMP = 1624708329
|
||||
SHA256 (ambientsound-visp-g20210723-2585747_GH0.tar.gz) = e70177483187b93a77783159a3bd886ca7215eaf8d5b18806f78e8a84aa8149a
|
||||
SIZE (ambientsound-visp-g20210723-2585747_GH0.tar.gz) = 281972
|
||||
SHA256 (beorn7-perks-v1.0.0_GH0.tar.gz) = b69d92e2e84b7d510dfa6110d3ac4ada0096a6c81190c5e174aa888bfe475cbc
|
||||
SIZE (beorn7-perks-v1.0.0_GH0.tar.gz) = 10866
|
||||
SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
|
||||
SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
|
||||
SHA256 (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = b7530d973d0ab0e58ad8ce1b9a4b963d6f57b3d72f2f9e13d49846976361b1cd
|
||||
|
@ -21,14 +23,14 @@ SHA256 (golang-appengine-v1.6.7_GH0.tar.gz) = c623d81235f7c9699e299b328191d81333
|
|||
SIZE (golang-appengine-v1.6.7_GH0.tar.gz) = 333007
|
||||
SHA256 (golang-crypto-75b288015ac9_GH0.tar.gz) = 6e74e21bf9dfdbf0a8dac8cb205fbc3bfd8dff308a24080b9d6093a3858f0db2
|
||||
SIZE (golang-crypto-75b288015ac9_GH0.tar.gz) = 1729931
|
||||
SHA256 (golang-net-afb366fc7cd1_GH0.tar.gz) = 897c59e6bb8851550cdaa131e1d0c51502f537194de846918f532c463a4518ca
|
||||
SIZE (golang-net-afb366fc7cd1_GH0.tar.gz) = 1249394
|
||||
SHA256 (golang-oauth2-2e8d93401602_GH0.tar.gz) = 666f0dd6ef39ba66a52c7fc02c8730be742a5f14419fc7c3a70f0442f6a5bc92
|
||||
SIZE (golang-oauth2-2e8d93401602_GH0.tar.gz) = 79381
|
||||
SHA256 (golang-net-04defd469f4e_GH0.tar.gz) = 6009a6f0989341df975799276ff1c49af650d4a4ed3fd6db3501b91eb601810d
|
||||
SIZE (golang-net-04defd469f4e_GH0.tar.gz) = 1252122
|
||||
SHA256 (golang-oauth2-d04028783cf1_GH0.tar.gz) = b963a3ce8248c8ca192d9c7c4ffdbe4adddfe7599b0a58fdfe9271e58547e217
|
||||
SIZE (golang-oauth2-d04028783cf1_GH0.tar.gz) = 79980
|
||||
SHA256 (golang-protobuf-v1.5.2_GH0.tar.gz) = 088cc0f3ba18fb8f9d00319568ff0af5a06d8925a6e6cb983bb837b4efb703b3
|
||||
SIZE (golang-protobuf-v1.5.2_GH0.tar.gz) = 171702
|
||||
SHA256 (golang-sys-66c3f260301c_GH0.tar.gz) = c694fdfa95b4b21d3bc777019b1f2422e56c5f57f049bd8f485bab5fa19cbba1
|
||||
SIZE (golang-sys-66c3f260301c_GH0.tar.gz) = 1219296
|
||||
SHA256 (golang-sys-04245dca01da_GH0.tar.gz) = b90ec2bae1f7e395eb368638a6627199efdc28fa9c592a72aac0ae32351fd5d7
|
||||
SIZE (golang-sys-04245dca01da_GH0.tar.gz) = 1231301
|
||||
SHA256 (golang-term-2321bbc49cbf_GH0.tar.gz) = 72896f6aa3deb053da5b597ab072ba5c3540b29d0fb56f350397b7f94c010e21
|
||||
SIZE (golang-term-2321bbc49cbf_GH0.tar.gz) = 15281
|
||||
SHA256 (golang-text-v0.3.6_GH0.tar.gz) = f66bebcf21985b0a713d67c6c35dfc9800d3b6d00d62b83ed0ce5b2ed4cb9760
|
||||
|
@ -47,12 +49,22 @@ SHA256 (magiconair-properties-v1.8.1_GH0.tar.gz) = 4449df3d2be86608bfc997228f66f
|
|||
SIZE (magiconair-properties-v1.8.1_GH0.tar.gz) = 29735
|
||||
SHA256 (mattn-go-runewidth-v0.0.12_GH0.tar.gz) = 5fe59a999a3dffe33595d8e40806bcba11aa447cd73eb60a8b9a7f8b724a232f
|
||||
SIZE (mattn-go-runewidth-v0.0.12_GH0.tar.gz) = 17354
|
||||
SHA256 (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 2def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b
|
||||
SIZE (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 37184
|
||||
SHA256 (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 53fbc06b125ff1c9c73a4eb1764346932671a29c67a45a92e2ebc6855635069b
|
||||
SIZE (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 20980
|
||||
SHA256 (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 1a5a620f680033f17e34148bee8f26d96d8c27ff1d7f56f0fe1c7253595b5244
|
||||
SIZE (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 57496
|
||||
SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda
|
||||
SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398
|
||||
SHA256 (prometheus-client_golang-v0.9.3_GH0.tar.gz) = 691646522cee404fc8d48bf830309bb75e7b36ceca31d8dc2febe142e66a9ca8
|
||||
SIZE (prometheus-client_golang-v0.9.3_GH0.tar.gz) = 138415
|
||||
SHA256 (prometheus-client_model-14fe0d1b01d4_GH0.tar.gz) = e86922566dae5bd684e2b77baabfaee9df34ce11cd7c8bae688b512b3a496f03
|
||||
SIZE (prometheus-client_model-14fe0d1b01d4_GH0.tar.gz) = 57495
|
||||
SHA256 (prometheus-common-v0.4.0_GH0.tar.gz) = 5fbad5f7332e40e1e1a75da389e81cf51300c26efff8dfe894eb814d2db5062e
|
||||
SIZE (prometheus-common-v0.4.0_GH0.tar.gz) = 98312
|
||||
SHA256 (prometheus-procfs-5867b95ac084_GH0.tar.gz) = e7a790683185905621d3ea93fc605a38957b3a5e4a16ff90dee557d2e714c842
|
||||
SIZE (prometheus-procfs-5867b95ac084_GH0.tar.gz) = 72672
|
||||
SHA256 (protocolbuffers-protobuf-go-v1.26.0_GH0.tar.gz) = 26218474bcf776ecf32d7d194c6bfaca8e7b4f0c087e5b595fd50fbb31409676
|
||||
SIZE (protocolbuffers-protobuf-go-v1.26.0_GH0.tar.gz) = 1270215
|
||||
SHA256 (rivo-uniseg-v0.2.0_GH0.tar.gz) = 3ad738b5c9162ede110d75b23564b6e40e52dd9150ebbced402f4f70be106197
|
||||
|
@ -77,5 +89,5 @@ SHA256 (stretchr-testify-v1.7.0_GH0.tar.gz) = 560c0984072cb436b17bbce5699b205d5a
|
|||
SIZE (stretchr-testify-v1.7.0_GH0.tar.gz) = 91073
|
||||
SHA256 (subosito-gotenv-v1.2.0_GH0.tar.gz) = 5f6826992c11981018c77377f33dbc56d0be932e0d38a2f51e795c99725e7ba5
|
||||
SIZE (subosito-gotenv-v1.2.0_GH0.tar.gz) = 7359
|
||||
SHA256 (zmb3-spotify-v1.1.2_GH0.tar.gz) = 108a5918c6a34b90c275427b9a4181ca2ac1ca49b369a54ac9eef053b2c002cc
|
||||
SIZE (zmb3-spotify-v1.1.2_GH0.tar.gz) = 116812
|
||||
SHA256 (zmb3-spotify-v1.3.0_GH0.tar.gz) = a5c7f6ee75fc635a44fcd712fcb38236b36ae20330f993ed97c5e3744995e7a8
|
||||
SIZE (zmb3-spotify-v1.3.0_GH0.tar.gz) = 147692
|
||||
|
|
|
@ -1,223 +0,0 @@
|
|||
# Created by: Alexander Botero-Lowry <alex@foxybanana.com>
|
||||
|
||||
PORTNAME?= xmms2
|
||||
PORTVERSION= 0.8
|
||||
DISTVERSIONSUFFIX= DrO_o
|
||||
PORTREVISION?= 35
|
||||
CATEGORIES?= audio
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20${DISTVERSIONSUFFIX}
|
||||
|
||||
MAINTAINER?= madpilot@FreeBSD.org
|
||||
COMMENT?= Rewrite of xmms as a client/server system (developer release)
|
||||
|
||||
USES+= pkgconfig tar:bzip2 waf
|
||||
|
||||
CONFIGURE_ARGS+= --conf-prefix=${LOCALBASE} \
|
||||
--mandir=${MANPREFIX}/man \
|
||||
--without-plugins="ofa"
|
||||
INSTALL_TARGET= install --without-ldconfig
|
||||
|
||||
.if !defined(XMMS2_SLAVE)
|
||||
USE_GNOME= glib20
|
||||
USES+= gnome python:2.7,build readline sqlite
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PLIST_SUB+= INCLUDEDIR="include/${PORTNAME}" LIBDIR="lib/${PORTNAME}"
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
OPTIONS_DEFINE= AIRPLAY AO APE AVCODEC CDDA CURL ET FAAD FAM FLAC \
|
||||
GME GVFS ICES JACK MAD MDNS MMS \
|
||||
MODPLUG MPG123 MUSEPACK PULSEAUDIO SAMBA SID \
|
||||
SNDFILE SPEEX TREMOR VISUAL VOCODER VORBIS WAVPACK XML
|
||||
OPTIONS_SINGLE= MDNS
|
||||
OPTIONS_SINGLE_MDNS= MDNS_APPLE MDNS_AVAHI
|
||||
OPTIONS_DEFAULT= CURL FAAD FLAC MPG123 MDNS MDNS_AVAHI VORBIS
|
||||
|
||||
AIRPLAY_DESC= Support output via Airport Express
|
||||
AVCODEC_DESC= Avcodevc playback support
|
||||
ET_DESC= Install usage feedback reporting client
|
||||
FAM_DESC= Support to update Media Library on file change
|
||||
GME_DESC= Video game music files support
|
||||
GVFS_DESC= Playback files via GVFS
|
||||
ICES_DESC= Playback files to an icecast server
|
||||
MDNS_DESC= Announce XMMS2d via mDNS (Choose implementation)
|
||||
MDNS_APPLE_DESC= Use Apple mDNS implementation
|
||||
MDNS_AVAHI_DESC= Use Avahi mDNS implementation
|
||||
SAMBA_DESC= Playback files via SMB
|
||||
SID_DESC= Playback SID files
|
||||
VISUAL_DESC= Visualization plugins support
|
||||
VOCODER_DESC= Phase Vocoder effect plugin
|
||||
XML_DESC= Support XML based playlists (XSPF, RSS)
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
AIRPLAY_USES= ssl
|
||||
AIRPLAY_CONFIGURE_OFF= --without-plugins="airplay"
|
||||
|
||||
AO_LIB_DEPENDS= libao.so:audio/libao
|
||||
AO_CONFIGURE_OFF= --without-plugins="ao"
|
||||
|
||||
APE_LIB_DEPENDS= libmac.so:audio/mac
|
||||
APE_CONFIGURE_OFF= --without-plugins="mac"
|
||||
|
||||
AVCODEC_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg
|
||||
AVCODEC_CONFIGURE_OFF= --without-plugins="avcodec"
|
||||
|
||||
CDDA_LIB_DEPENDS= libcdio.so:sysutils/libcdio \
|
||||
libcdio_cdda.so:sysutils/libcdio-paranoia \
|
||||
libdiscid.so:audio/libdiscid
|
||||
CDDA_CONFIGURE_OFF= --without-plugins="cdda"
|
||||
|
||||
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
||||
CURL_CONFIGURE_OFF= --without-plugins="curl" --without-plugins="icymetaint"
|
||||
|
||||
FAAD_LIB_DEPENDS= libfaad.so:audio/faad
|
||||
FAAD_CONFIGURE_OFF= --without-plugins="faad" --without-plugins="mp4"
|
||||
|
||||
FAM_USES= fam:gamin
|
||||
FAM_CONFIGURE_OFF= --without-optionals="medialib-updater"
|
||||
|
||||
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
|
||||
|
||||
GME_LIB_DEPENDS= libgme.so:audio/libgme
|
||||
GME_CONFIGURE_OFF= --without-plugins="gme"
|
||||
|
||||
GVFS_USE= GNOME=gvfs
|
||||
GVFS_CONFIGURE_OFF= --without-plugins="gvfs"
|
||||
|
||||
ICES_LIB_DEPENDS= libshout.so:audio/libshout
|
||||
ICES_CONFIGURE_OFF= --without-plugins="ices"
|
||||
|
||||
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
||||
JACK_CONFIGURE_OFF= --without-plugins="jack"
|
||||
|
||||
MAD_LIB_DEPENDS= libmad.so:audio/libmad
|
||||
MAD_CONFIGURE_OFF= --without-plugins="mad"
|
||||
|
||||
MDNS_CONFIGURE_OFF= --without-optionals="mdns"
|
||||
|
||||
MDNS_APPLE_CONFIGURE_ON= --with-mdns-backend="dns_sd"
|
||||
MDNS_APPLE_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder
|
||||
|
||||
MDNS_AVAHI_CONFIGURE_ON= --with-mdns-backend="avahi"
|
||||
MDNS_AVAHI_LIB_DEPENDS= libavahi-core.so:net/avahi-app
|
||||
|
||||
MMS_LIB_DEPENDS= libmms.so:net/libmms
|
||||
MMS_CONFIGURE_OFF= --without-plugins="mms"
|
||||
|
||||
MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug
|
||||
MODPLUG_CONFIGURE_OFF= --without-plugins="modplug"
|
||||
|
||||
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123
|
||||
MPG123_CONFIGURE_OFF= --without-plugins="mpg123"
|
||||
|
||||
MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack
|
||||
MUSEPACK_CONFIGURE_OFF= --without-plugins="musepack"
|
||||
|
||||
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||
PULSEAUDIO_CONFIGURE_OFF= --without-plugins="pulse"
|
||||
|
||||
SAMBA_USES= samba:lib
|
||||
SAMBA_CPPFLAGS= -I${SAMBAINCLUDES}
|
||||
SAMBA_LDFLAGS= -L${SAMBALIBS}
|
||||
SAMBA_CONFIGURE_OFF= --without-plugins="samba"
|
||||
|
||||
SID_LIB_DEPENDS= libsidplay2.so:audio/libsidplay2
|
||||
SID_CONFIGURE_OFF= --without-plugins="sid"
|
||||
|
||||
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
|
||||
SNDFILE_CONFIGURE_OFF= --without-plugins="sndfile"
|
||||
|
||||
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex
|
||||
SPEEX_CONFIGURE_OFF= --without-plugins="speex"
|
||||
|
||||
TREMOR_LIB_DEPENDS= libvorbisidec.so:audio/libtremor
|
||||
TREMOR_CONFIGURE_OFF= --without-plugins="tremor"
|
||||
|
||||
VISUAL_USES= sdl
|
||||
VISUAL_USE= SDL=sdl
|
||||
VISUAL_LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04
|
||||
VISUAL_CONFIGURE_OFF= --without-optionals="vistest"
|
||||
VISUAL_CONFIGURE_ON= --with-vis-reference-clients
|
||||
|
||||
VOCODER_LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
|
||||
libsamplerate.so:audio/libsamplerate
|
||||
VOCODER_CONFIGURE_OFF= --without-plugins="vocoder"
|
||||
|
||||
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
|
||||
VORBIS_CONFIGURE_OFF= --without-plugins="vorbis"
|
||||
|
||||
WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack
|
||||
WAVPACK_CONFIGURE_OFF= --without-plugins="wavpack"
|
||||
|
||||
XML_USE= GNOME=libxml2
|
||||
XML_CONFIGURE_OFF= --without-plugins="xml" --without-plugins="rss" \
|
||||
--without-plugins="xspf"
|
||||
|
||||
ET_CONFIGURE_OFF= --without-optionals="et"
|
||||
|
||||
.endif # !XMMS2_SLAVE
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(XMMS2_SLAVE)
|
||||
CONFIGURE_ARGS+= --without-xmms2d
|
||||
|
||||
.if ${XMMS2_SLAVE} == "python"
|
||||
CONFIGURE_ARGS+= --with-optionals="python"
|
||||
.elif ${XMMS2_SLAVE} == "ruby"
|
||||
CONFIGURE_ARGS+= --with-optionals="ruby"
|
||||
.elif ${XMMS2_SLAVE} == "perl"
|
||||
CONFIGURE_ARGS+= --with-optionals="perl"
|
||||
.elif ${XMMS2_SLAVE} == "ruby-ecore"
|
||||
CONFIGURE_ARGS+= --with-optionals="ruby" --with-optionals="xmmsclient-ecore"
|
||||
.elif ${XMMS2_SLAVE} == "cpp"
|
||||
CONFIGURE_ARGS+= --with-optionals="xmmsclient++" \
|
||||
--with-optionals="xmmsclient++-glib"
|
||||
.endif
|
||||
|
||||
.else # XMMS2_SLAVE
|
||||
CONFIGURE_ARGS+= --without-optionals="python" \
|
||||
--without-optionals="ruby" \
|
||||
--without-optionals="xmmsclient-ecore" \
|
||||
--without-optionals="xmmsclient++" \
|
||||
--without-optionals="xmmsclient++-glib" \
|
||||
--without-optionals="perl"
|
||||
.endif # XMMS2_SLAVE
|
||||
|
||||
.if !defined(XMMS2_SLAVE)
|
||||
|
||||
# xmms2-ripper
|
||||
.if ${PORT_OPTIONS:MVISUAL} && ${PORT_OPTIONS:MVORBIS}
|
||||
LIB_DEPENDS+= libvorbisenc.so:audio/libvorbis
|
||||
.else
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-clients-vistest-wscript
|
||||
.endif
|
||||
|
||||
.endif # !XMMS2_SLAVE
|
||||
|
||||
# Force to nothing to avoid bsd.openssl.mk adding definitions
|
||||
# to it when AIRPLAY option is active, waf does not understand it anyway.
|
||||
MAKE_ARGS=
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%WRKSRC%%|${WRKSRC}|" ${WRKSRC}/wscript
|
||||
.if ${PORT_OPTIONS:MVISUAL} && ${PORT_OPTIONS:MVORBIS}
|
||||
@${REINPLACE_CMD} -e "s|'vorbisenc',|'vorbisenc vorbis ogg',|" \
|
||||
${WRKSRC}/src/clients/vistest/wscript
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(XMMS2_SLAVE)
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/scripts/startup.d
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/*
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxmmsclient*
|
||||
.else
|
||||
${RM} -R ${STAGEDIR}${PREFIX}/lib/xmms2
|
||||
${FIND} ${STAGEDIR}${PREFIX}/lib -name '*.so*' | ${XARGS} ${STRIP_CMD}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (xmms2-0.8DrO_o.tar.bz2) = c77e41e7bd5788889d5a2f78331ca8c748b8721bd2e59f36c36ad4c7cae8694a
|
||||
SIZE (xmms2-0.8DrO_o.tar.bz2) = 1670726
|
|
@ -1,30 +0,0 @@
|
|||
--- src/clients/vistest/wscript~
|
||||
+++ src/clients/vistest/wscript
|
||||
@@ -23,17 +23,6 @@ def build(bld):
|
||||
t.install_path = None
|
||||
|
||||
|
||||
- if bld.env.LIB_vorbisenc:
|
||||
- t = bld(features = 'c cprogram',
|
||||
- target = 'xmms2-ripper',
|
||||
- source = 'ripper.c',
|
||||
- includes = '. ../../.. ../../include',
|
||||
- uselib = 'vorbisenc',
|
||||
- use = 'xmmsclient'
|
||||
- )
|
||||
- if not bld.env.INSTALL_VIS_REFERENCE_CLIENTS:
|
||||
- t.install_path = None
|
||||
-
|
||||
if bld.env.LIB_visual and bld.env.LIB_sdl:
|
||||
t = bld(features = 'c cprogram',
|
||||
target = 'xmms2-libvisual',
|
||||
@@ -53,9 +42,6 @@ def configure(conf):
|
||||
|
||||
conf.check_cc(lib="m", uselib_store="math", mandatory=False)
|
||||
|
||||
- conf.check_cfg(package='vorbisenc', uselib_store='vorbisenc',
|
||||
- args='--cflags --libs', mandatory=False)
|
||||
-
|
||||
if conf.check_cfg(package='libvisual-0.4', uselib_store='visual',
|
||||
args='--cflags --libs', mandatory=False):
|
||||
conf.check_cfg(package='sdl', uselib_store='sdl',
|
|
@ -1,34 +0,0 @@
|
|||
--- src/clients/lib/xmmsclient-glib/wscript.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/clients/lib/xmmsclient-glib/wscript
|
||||
@@ -1,19 +1,21 @@
|
||||
from waftools import tool
|
||||
|
||||
def build(bld):
|
||||
- obj = bld(features='c cshlib',
|
||||
- target = 'xmmsclient-glib',
|
||||
- includes = '../../../.. ../../../include',
|
||||
- source = 'xmmsclient-glib.c',
|
||||
- uselib = 'glib2',
|
||||
- use = 'xmmsclient',
|
||||
- vnum = '1.0.0'
|
||||
- )
|
||||
+ if bld.env.BUILD_XMMS2D:
|
||||
+ obj = bld(features='c cshlib',
|
||||
+ target = 'xmmsclient-glib',
|
||||
+ includes = '../../../.. ../../../include',
|
||||
+ source = 'xmmsclient-glib.c',
|
||||
+ uselib = 'glib2',
|
||||
+ use = 'xmmsclient',
|
||||
+ vnum = '1.0.0'
|
||||
+ )
|
||||
|
||||
- tool.add_install_flag(bld, obj)
|
||||
+ tool.add_install_flag(bld, obj)
|
||||
|
||||
def configure(conf):
|
||||
- conf.env.XMMS_PKGCONF_FILES.append(('xmms2-client-glib', '-lxmmsclient-glib'))
|
||||
+ if not conf.options.without_xmms2d:
|
||||
+ conf.env.XMMS_PKGCONF_FILES.append(('xmms2-client-glib', '-lxmmsclient-glib'))
|
||||
|
||||
return True
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
--- src/clients/lib/xmmsclient/wscript.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/clients/lib/xmmsclient/wscript
|
||||
@@ -25,19 +25,21 @@ def build(bld):
|
||||
else:
|
||||
source.extend(["visualization/dummy.c"])
|
||||
|
||||
- obj = bld(features = 'c cshlib',
|
||||
- target = 'xmmsclient',
|
||||
- includes = '../../../.. ../../../include ../../../includepriv',
|
||||
- source = source,
|
||||
- uselib = 'socket time',
|
||||
- use = 'xmmsipc xmmssocket xmmsutils xmmstypes xmmsvisualization',
|
||||
- vnum = '6.0.0'
|
||||
- )
|
||||
+ if bld.env.BUILD_XMMS2D:
|
||||
+ obj = bld(features = 'c cshlib',
|
||||
+ target = 'xmmsclient',
|
||||
+ includes = '../../../.. ../../../include ../../../includepriv',
|
||||
+ source = source,
|
||||
+ uselib = 'socket time',
|
||||
+ use = 'xmmsipc xmmssocket xmmsutils xmmstypes xmmsvisualization',
|
||||
+ vnum = '6.0.0'
|
||||
+ )
|
||||
|
||||
- tool.add_install_flag(bld, obj)
|
||||
+ tool.add_install_flag(bld, obj)
|
||||
|
||||
def configure(conf):
|
||||
- conf.env.XMMS_PKGCONF_FILES.append(("xmms2-client", "-lxmmsclient"))
|
||||
+ if not conf.options.without_xmms2d:
|
||||
+ conf.env.XMMS_PKGCONF_FILES.append(("xmms2-client", "-lxmmsclient"))
|
||||
|
||||
conf.check_cc(function_name="semtimedop",
|
||||
header_name=["sys/types.h", "sys/ipc.h", "sys/sem.h"],
|
|
@ -1,22 +0,0 @@
|
|||
--- src/include/wscript.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/include/wscript
|
||||
@@ -2,12 +2,13 @@ import os
|
||||
|
||||
def build(bld):
|
||||
# FIXME: This is a test that should work.
|
||||
- for d in bld.path.ant_glob('**', dir=True, src=False):
|
||||
- rpath = d.path_from(bld.path)
|
||||
- bld.recurse(rpath)
|
||||
- f = d.ant_glob('*.h')
|
||||
- if f:
|
||||
- bld.install_files(os.path.join(bld.env.INCLUDEDIR, 'xmms2', rpath), f)
|
||||
+ if bld.env.BUILD_XMMS2D:
|
||||
+ for d in bld.path.ant_glob('**', dir=True, src=False):
|
||||
+ rpath = d.path_from(bld.path)
|
||||
+ bld.recurse(rpath)
|
||||
+ f = d.ant_glob('*.h')
|
||||
+ if f:
|
||||
+ bld.install_files(os.path.join(bld.env.INCLUDEDIR, 'xmms2', rpath), f)
|
||||
|
||||
#paths = ['xmms', 'xmmsc', 'xmmsclient', 'xmmsclient/xmmsclient++']
|
||||
#for p in paths:
|
|
@ -1,11 +0,0 @@
|
|||
--- src/include/xmmsclient/xmmsclient++/coll.h.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/include/xmmsclient/xmmsclient++/coll.h
|
||||
@@ -612,7 +612,7 @@ namespace Xmms
|
||||
|
||||
template< typename keyT, typename valT >
|
||||
AbstractElement< keyT, valT >::AbstractElement( const Coll& coll, keyT index )
|
||||
- : coll_ (coll), index_( index )
|
||||
+ : coll_ ( const_cast< Coll& >( coll ) ), index_( index )
|
||||
{
|
||||
xmmsv_coll_ref( coll_.getColl() );
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
--- src/plugins/airplay/raop_client.c.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/plugins/airplay/raop_client.c
|
||||
@@ -1,6 +1,8 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
+#include <openssl/opensslv.h>
|
||||
+#include <openssl/ossl_typ.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/bio.h>
|
||||
@@ -137,8 +139,13 @@ raop_rsa_encrypt (guchar *text, gint len, guchar *res)
|
||||
static const guchar exp[] = {0x01, 0x00, 0x01};
|
||||
|
||||
rsa = RSA_new ();
|
||||
+
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
rsa->n = BN_bin2bn (mod, 256, NULL);
|
||||
rsa->e = BN_bin2bn (exp, 3, NULL);
|
||||
+#else
|
||||
+ RSA_set0_key(rsa, BN_bin2bn (mod, 256, NULL), BN_bin2bn (exp, 3, NULL), NULL);
|
||||
+#endif
|
||||
|
||||
size = RSA_public_encrypt (len, text, res, rsa, RSA_PKCS1_OAEP_PADDING);
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- src/plugins/airplay/wscript.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/plugins/airplay/wscript
|
||||
@@ -12,8 +12,6 @@ rtspmessage.c
|
||||
def plugin_configure(conf):
|
||||
# MinGW doesn't ship sys/select.h
|
||||
conf.check_cc(header_name='sys/select.h')
|
||||
- conf.check_cfg(package="openssl", args="--cflags --libs",
|
||||
- uselib_store="openssl")
|
||||
|
||||
configure, build = plugin("airplay", configure=plugin_configure,
|
||||
source = source, libs=["openssl"], output_prio=4)
|
|
@ -1,10 +0,0 @@
|
|||
--- src/plugins/ao/ao.c.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/plugins/ao/ao.c
|
||||
@@ -162,6 +162,7 @@ xmms_ao_new (xmms_output_t *output)
|
||||
|
||||
/* let's just use some common format to check if the device
|
||||
* name is valid */
|
||||
+ memset(&format, 0, sizeof(format));
|
||||
format.bits = 16;
|
||||
format.rate = 44100;
|
||||
format.channels = 2;
|
|
@ -1,527 +0,0 @@
|
|||
--- src/plugins/avcodec/avcodec.c.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/plugins/avcodec/avcodec.c
|
||||
@@ -1,7 +1,7 @@
|
||||
/** @file avcodec.c
|
||||
* Decoder plugin for ffmpeg avcodec formats
|
||||
*
|
||||
- * Copyright (C) 2006-2011 XMMS2 Team
|
||||
+ * Copyright (C) 2006-2014 XMMS2 Team
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -14,15 +14,16 @@
|
||||
* Lesser General Public License for more details.
|
||||
*/
|
||||
|
||||
-#include "xmms_configuration.h"
|
||||
-#include "xmms/xmms_xformplugin.h"
|
||||
-#include "xmms/xmms_sample.h"
|
||||
-#include "xmms/xmms_log.h"
|
||||
+#include <xmms_configuration.h>
|
||||
+#include <xmms/xmms_xformplugin.h>
|
||||
+#include <xmms/xmms_sample.h>
|
||||
+#include <xmms/xmms_log.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
+#include <libavutil/mem.h>
|
||||
|
||||
#include "avcodec_compat.h"
|
||||
|
||||
@@ -36,6 +37,8 @@ typedef struct {
|
||||
guint buffer_size;
|
||||
gboolean no_demuxer;
|
||||
|
||||
+ AVFrame *read_out_frame;
|
||||
+
|
||||
guint channels;
|
||||
guint samplerate;
|
||||
xmms_sample_format_t sampleformat;
|
||||
@@ -53,10 +56,14 @@ typedef struct {
|
||||
static gboolean xmms_avcodec_plugin_setup (xmms_xform_plugin_t *xform_plugin);
|
||||
static gboolean xmms_avcodec_init (xmms_xform_t *xform);
|
||||
static void xmms_avcodec_destroy (xmms_xform_t *xform);
|
||||
+static gint xmms_avcodec_internal_read_some (xmms_xform_t *xform, xmms_avcodec_data_t *data, xmms_error_t *error);
|
||||
+static gint xmms_avcodec_internal_decode_some (xmms_avcodec_data_t *data);
|
||||
+static void xmms_avcodec_internal_append (xmms_avcodec_data_t *data);
|
||||
static gint xmms_avcodec_read (xmms_xform_t *xform, xmms_sample_t *buf, gint len,
|
||||
xmms_error_t *error);
|
||||
static gint64 xmms_avcodec_seek (xmms_xform_t *xform, gint64 samples,
|
||||
xmms_xform_seek_mode_t whence, xmms_error_t *err);
|
||||
+static xmms_sample_format_t xmms_avcodec_translate_sample_format (enum AVSampleFormat av_sample_format);
|
||||
|
||||
/*
|
||||
* Plugin header
|
||||
@@ -85,13 +92,23 @@ xmms_avcodec_plugin_setup (xmms_xform_pl
|
||||
xmms_magic_add ("A/52 (AC-3) header", "audio/x-ffmpeg-ac3",
|
||||
"0 beshort 0x0b77", NULL);
|
||||
xmms_magic_add ("DTS header", "audio/x-ffmpeg-dca",
|
||||
- "0 belong 0x7ffe8001", NULL);
|
||||
+ "0 belong 0x7ffe8001", NULL);
|
||||
|
||||
xmms_xform_plugin_indata_add (xform_plugin,
|
||||
XMMS_STREAM_TYPE_MIMETYPE,
|
||||
"audio/x-ffmpeg-*",
|
||||
NULL);
|
||||
|
||||
+ XMMS_DBG ("avcodec version at build time is %d.%d.%d",
|
||||
+ (LIBAVCODEC_VERSION_INT >> 16),
|
||||
+ (LIBAVCODEC_VERSION_INT >> 8) & 0xff,
|
||||
+ LIBAVCODEC_VERSION_INT & 0xff);
|
||||
+ XMMS_DBG ("avcodec version at run time is %d.%d.%d",
|
||||
+ (avcodec_version() >> 16),
|
||||
+ (avcodec_version() >> 8) & 0xff,
|
||||
+ avcodec_version() & 0xff);
|
||||
+ XMMS_DBG ("avcodec configuration is %s", avcodec_configuration());
|
||||
+
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -107,6 +124,7 @@ xmms_avcodec_destroy (xmms_xform_t *xfor
|
||||
|
||||
avcodec_close (data->codecctx);
|
||||
av_free (data->codecctx);
|
||||
+ av_frame_free (&data->read_out_frame);
|
||||
|
||||
g_string_free (data->outbuf, TRUE);
|
||||
g_free (data->buffer);
|
||||
@@ -132,9 +150,10 @@ xmms_avcodec_init (xmms_xform_t *xform)
|
||||
data->buffer_size = AVCODEC_BUFFER_SIZE;
|
||||
data->codecctx = NULL;
|
||||
|
||||
+ data->read_out_frame = av_frame_alloc ();
|
||||
+
|
||||
xmms_xform_private_data_set (xform, data);
|
||||
|
||||
- avcodec_init ();
|
||||
avcodec_register_all ();
|
||||
|
||||
mimetype = xmms_xform_indata_get_str (xform,
|
||||
@@ -161,12 +180,12 @@ xmms_avcodec_init (xmms_xform_t *xform)
|
||||
data->channels = ret;
|
||||
}
|
||||
|
||||
- /* bitrate required for WMA files */
|
||||
+ /* Required by WMA xform. */
|
||||
xmms_xform_auxdata_get_int (xform,
|
||||
"bitrate",
|
||||
&data->bitrate);
|
||||
|
||||
- /* ALAC and MAC require bits per sample field to be 16 */
|
||||
+ /* Required by tta and apefile xforms. */
|
||||
xmms_xform_auxdata_get_int (xform,
|
||||
"samplebits",
|
||||
&data->samplebits);
|
||||
@@ -188,7 +207,8 @@ xmms_avcodec_init (xmms_xform_t *xform)
|
||||
!strcmp (data->codec_id, "adpcm_swf") ||
|
||||
!strcmp (data->codec_id, "pcm_s16le") ||
|
||||
!strcmp (data->codec_id, "ac3") ||
|
||||
- !strcmp (data->codec_id, "dca")) {
|
||||
+ !strcmp (data->codec_id, "dca") ||
|
||||
+ !strcmp (data->codec_id, "nellymoser")) {
|
||||
/* number 1024 taken from libavformat raw.c RAW_PACKET_SIZE */
|
||||
data->extradata = g_malloc0 (1024);
|
||||
data->extradata_size = 1024;
|
||||
@@ -196,22 +216,22 @@ xmms_avcodec_init (xmms_xform_t *xform)
|
||||
} else {
|
||||
/* A demuxer plugin forgot to give decoder config? */
|
||||
xmms_log_error ("Decoder config data not found!");
|
||||
- return FALSE;
|
||||
+ goto err;
|
||||
}
|
||||
}
|
||||
|
||||
- data->codecctx = avcodec_alloc_context ();
|
||||
+ data->codecctx = avcodec_alloc_context3 (codec);
|
||||
data->codecctx->sample_rate = data->samplerate;
|
||||
data->codecctx->channels = data->channels;
|
||||
data->codecctx->bit_rate = data->bitrate;
|
||||
- CONTEXT_BPS (data->codecctx) = data->samplebits;
|
||||
+ data->codecctx->bits_per_coded_sample = data->samplebits;
|
||||
data->codecctx->block_align = data->block_align;
|
||||
data->codecctx->extradata = data->extradata;
|
||||
data->codecctx->extradata_size = data->extradata_size;
|
||||
data->codecctx->codec_id = codec->id;
|
||||
data->codecctx->codec_type = codec->type;
|
||||
|
||||
- if (avcodec_open (data->codecctx, codec) < 0) {
|
||||
+ if (avcodec_open2 (data->codecctx, codec, NULL) < 0) {
|
||||
XMMS_DBG ("Opening decoder '%s' failed", codec->name);
|
||||
goto err;
|
||||
} else {
|
||||
@@ -220,7 +240,7 @@ xmms_avcodec_init (xmms_xform_t *xform)
|
||||
|
||||
/* some codecs need to have something read before they set
|
||||
* the samplerate and channels correctly, unfortunately... */
|
||||
- if ((ret = xmms_avcodec_read (xform, buf, 42, &error)) > 0) {
|
||||
+ if ((ret = xmms_avcodec_read (xform, buf, sizeof (buf), &error)) > 0) {
|
||||
g_string_insert_len (data->outbuf, 0, buf, ret);
|
||||
} else {
|
||||
XMMS_DBG ("First read failed, codec is not working...");
|
||||
@@ -231,19 +251,27 @@ xmms_avcodec_init (xmms_xform_t *xform)
|
||||
|
||||
data->samplerate = data->codecctx->sample_rate;
|
||||
data->channels = data->codecctx->channels;
|
||||
+ data->sampleformat = xmms_avcodec_translate_sample_format (data->codecctx->sample_fmt);
|
||||
+ if (data->sampleformat == XMMS_SAMPLE_FORMAT_UNKNOWN) {
|
||||
+ avcodec_close (data->codecctx);
|
||||
+ goto err;
|
||||
+ }
|
||||
|
||||
xmms_xform_outdata_type_add (xform,
|
||||
XMMS_STREAM_TYPE_MIMETYPE,
|
||||
"audio/pcm",
|
||||
XMMS_STREAM_TYPE_FMT_FORMAT,
|
||||
- XMMS_SAMPLE_FORMAT_S16,
|
||||
+ data->sampleformat,
|
||||
XMMS_STREAM_TYPE_FMT_CHANNELS,
|
||||
data->channels,
|
||||
XMMS_STREAM_TYPE_FMT_SAMPLERATE,
|
||||
data->samplerate,
|
||||
XMMS_STREAM_TYPE_END);
|
||||
|
||||
- XMMS_DBG ("Decoder '%s' initialized successfully!", codec->name);
|
||||
+ XMMS_DBG ("Decoder %s at rate %d with %d channels of format %s initialized",
|
||||
+ codec->name, data->codecctx->sample_rate,
|
||||
+ data->codecctx->channels,
|
||||
+ av_get_sample_fmt_name (data->codecctx->sample_fmt));
|
||||
|
||||
return TRUE;
|
||||
|
||||
@@ -251,6 +279,9 @@ err:
|
||||
if (data->codecctx) {
|
||||
av_free (data->codecctx);
|
||||
}
|
||||
+ if (data->read_out_frame) {
|
||||
+ avcodec_free_frame (&data->read_out_frame);
|
||||
+ }
|
||||
g_string_free (data->outbuf, TRUE);
|
||||
g_free (data->extradata);
|
||||
g_free (data);
|
||||
@@ -263,102 +294,24 @@ xmms_avcodec_read (xmms_xform_t *xform,
|
||||
xmms_error_t *error)
|
||||
{
|
||||
xmms_avcodec_data_t *data;
|
||||
- char outbuf[AVCODEC_MAX_AUDIO_FRAME_SIZE];
|
||||
- gint outbufsize, bytes_read = 0;
|
||||
guint size;
|
||||
|
||||
data = xmms_xform_private_data_get (xform);
|
||||
g_return_val_if_fail (data, -1);
|
||||
|
||||
- size = MIN (data->outbuf->len, len);
|
||||
- while (size == 0) {
|
||||
- AVPacket packet;
|
||||
- av_init_packet (&packet);
|
||||
+ while (0 == (size = MIN (data->outbuf->len, len))) {
|
||||
+ gint res;
|
||||
|
||||
if (data->no_demuxer || data->buffer_length == 0) {
|
||||
- gint read_total;
|
||||
-
|
||||
- bytes_read = xmms_xform_read (xform,
|
||||
- (gchar *) (data->buffer + data->buffer_length),
|
||||
- data->buffer_size - data->buffer_length,
|
||||
- error);
|
||||
-
|
||||
- if (bytes_read < 0) {
|
||||
- XMMS_DBG ("Error while reading data");
|
||||
- return bytes_read;
|
||||
- } else if (bytes_read == 0) {
|
||||
- XMMS_DBG ("EOF");
|
||||
- return 0;
|
||||
- }
|
||||
-
|
||||
- read_total = bytes_read;
|
||||
-
|
||||
- /* If we have a demuxer plugin, make sure we read the whole packet */
|
||||
- while (read_total == data->buffer_size && !data->no_demuxer) {
|
||||
- /* multiply the buffer size and try to read again */
|
||||
- data->buffer = g_realloc (data->buffer, data->buffer_size * 2);
|
||||
- bytes_read = xmms_xform_read (xform,
|
||||
- (gchar *) data->buffer +
|
||||
- data->buffer_size,
|
||||
- data->buffer_size,
|
||||
- error);
|
||||
- data->buffer_size *= 2;
|
||||
-
|
||||
- if (bytes_read < 0) {
|
||||
- XMMS_DBG ("Error while reading data");
|
||||
- return bytes_read;
|
||||
- }
|
||||
-
|
||||
- read_total += bytes_read;
|
||||
-
|
||||
- if (read_total < data->buffer_size) {
|
||||
- /* finally double the buffer size for performance reasons, the
|
||||
- * hotspot handling likes to fit two frames in the buffer */
|
||||
- data->buffer = g_realloc (data->buffer, data->buffer_size * 2);
|
||||
- data->buffer_size *= 2;
|
||||
- XMMS_DBG ("Reallocated avcodec internal buffer to be %d bytes",
|
||||
- data->buffer_size);
|
||||
-
|
||||
- break;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- /* Update the buffer length */
|
||||
- data->buffer_length += read_total;
|
||||
- }
|
||||
-
|
||||
- packet.data = data->buffer;
|
||||
- packet.size = data->buffer_length;
|
||||
-
|
||||
- outbufsize = sizeof (outbuf);
|
||||
- bytes_read = avcodec_decode_audio3 (data->codecctx, (short *) outbuf,
|
||||
- &outbufsize, &packet);
|
||||
-
|
||||
- /* The DTS decoder of ffmpeg is buggy and always returns
|
||||
- * the input buffer length, get frame length from header */
|
||||
- if (!strcmp (data->codec_id, "dca") && bytes_read > 0) {
|
||||
- bytes_read = ((int)data->buffer[5] << 12) |
|
||||
- ((int)data->buffer[6] << 4) |
|
||||
- ((int)data->buffer[7] >> 4);
|
||||
- bytes_read = (bytes_read & 0x3fff) + 1;
|
||||
- }
|
||||
-
|
||||
- if (bytes_read < 0 || bytes_read > data->buffer_length) {
|
||||
- XMMS_DBG ("Error decoding data!");
|
||||
- return -1;
|
||||
- } else if (bytes_read != data->buffer_length) {
|
||||
- g_memmove (data->buffer,
|
||||
- data->buffer + bytes_read,
|
||||
- data->buffer_length - bytes_read);
|
||||
- }
|
||||
-
|
||||
- data->buffer_length -= bytes_read;
|
||||
+ gint bytes_read;
|
||||
|
||||
- if (outbufsize > 0) {
|
||||
- g_string_append_len (data->outbuf, outbuf, outbufsize);
|
||||
+ bytes_read = xmms_avcodec_internal_read_some (xform, data, error);
|
||||
+ if (bytes_read <= 0) { return bytes_read; }
|
||||
}
|
||||
|
||||
- size = MIN (data->outbuf->len, len);
|
||||
+ res = xmms_avcodec_internal_decode_some (data);
|
||||
+ if (res < 0) { return res; }
|
||||
+ if (res > 0) { xmms_avcodec_internal_append (data); }
|
||||
}
|
||||
|
||||
memcpy (buf, data->outbuf->str, size);
|
||||
@@ -371,8 +324,6 @@ static gint64
|
||||
xmms_avcodec_seek (xmms_xform_t *xform, gint64 samples, xmms_xform_seek_mode_t whence, xmms_error_t *err)
|
||||
{
|
||||
xmms_avcodec_data_t *data;
|
||||
- char outbuf[AVCODEC_MAX_AUDIO_FRAME_SIZE];
|
||||
- gint outbufsize, bytes_read = 0;
|
||||
gint64 ret = -1;
|
||||
|
||||
g_return_val_if_fail (xform, -1);
|
||||
@@ -390,23 +341,11 @@ xmms_avcodec_seek (xmms_xform_t *xform,
|
||||
|
||||
/* The buggy ape decoder doesn't flush buffers, so we need to finish decoding
|
||||
* the frame before seeking to avoid segfaults... this hack sucks */
|
||||
+ /* FIXME: Is ^^^ still true? */
|
||||
while (data->buffer_length > 0) {
|
||||
- AVPacket packet;
|
||||
- av_init_packet (&packet);
|
||||
- packet.data = data->buffer;
|
||||
- packet.size = data->buffer_length;
|
||||
-
|
||||
- outbufsize = sizeof (outbuf);
|
||||
- bytes_read = avcodec_decode_audio3 (data->codecctx, (short *) outbuf,
|
||||
- &outbufsize, &packet);
|
||||
-
|
||||
- if (bytes_read < 0 || bytes_read > data->buffer_length) {
|
||||
- XMMS_DBG ("Error decoding data!");
|
||||
+ if (xmms_avcodec_internal_decode_some (data) < 0) {
|
||||
return -1;
|
||||
}
|
||||
-
|
||||
- data->buffer_length -= bytes_read;
|
||||
- g_memmove (data->buffer, data->buffer + bytes_read, data->buffer_length);
|
||||
}
|
||||
|
||||
ret = xmms_xform_seek (xform, samples, whence, err);
|
||||
@@ -420,3 +359,178 @@ xmms_avcodec_seek (xmms_xform_t *xform,
|
||||
|
||||
return ret;
|
||||
}
|
||||
+
|
||||
+static xmms_sample_format_t
|
||||
+xmms_avcodec_translate_sample_format (enum AVSampleFormat av_sample_format)
|
||||
+{
|
||||
+ switch (av_sample_format) {
|
||||
+ case AV_SAMPLE_FMT_U8:
|
||||
+ case AV_SAMPLE_FMT_U8P:
|
||||
+ return XMMS_SAMPLE_FORMAT_U8;
|
||||
+ case AV_SAMPLE_FMT_S16:
|
||||
+ case AV_SAMPLE_FMT_S16P:
|
||||
+ return XMMS_SAMPLE_FORMAT_S16;
|
||||
+ case AV_SAMPLE_FMT_S32:
|
||||
+ case AV_SAMPLE_FMT_S32P:
|
||||
+ return XMMS_SAMPLE_FORMAT_S32;
|
||||
+ case AV_SAMPLE_FMT_FLT:
|
||||
+ case AV_SAMPLE_FMT_FLTP:
|
||||
+ return XMMS_SAMPLE_FORMAT_FLOAT;
|
||||
+ case AV_SAMPLE_FMT_DBL:
|
||||
+ case AV_SAMPLE_FMT_DBLP:
|
||||
+ return XMMS_SAMPLE_FORMAT_DOUBLE;
|
||||
+ default:
|
||||
+ XMMS_DBG ("AVSampleFormat (%i: %s) not supported.", av_sample_format,
|
||||
+ av_get_sample_fmt_name (av_sample_format));
|
||||
+ return XMMS_SAMPLE_FORMAT_UNKNOWN;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
+Read some data from our source of data to data->buffer, updating buffer_length
|
||||
+and buffer_size as needed.
|
||||
+
|
||||
+Returns: on error: negative
|
||||
+ on EOF: zero
|
||||
+ otherwise: number of bytes read.
|
||||
+*/
|
||||
+static gint
|
||||
+xmms_avcodec_internal_read_some (xmms_xform_t *xform,
|
||||
+ xmms_avcodec_data_t *data,
|
||||
+ xmms_error_t *error)
|
||||
+{
|
||||
+ gint bytes_read, read_total;
|
||||
+
|
||||
+ bytes_read = xmms_xform_read (xform,
|
||||
+ (gchar *) (data->buffer + data->buffer_length),
|
||||
+ data->buffer_size - data->buffer_length,
|
||||
+ error);
|
||||
+
|
||||
+ if (bytes_read < 0) {
|
||||
+ XMMS_DBG ("Error while reading data");
|
||||
+ return bytes_read;
|
||||
+ } else if (bytes_read == 0) {
|
||||
+ XMMS_DBG ("EOF");
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ read_total = bytes_read;
|
||||
+
|
||||
+ /* If we have a demuxer plugin, make sure we read the whole packet */
|
||||
+ while (read_total == data->buffer_size && !data->no_demuxer) {
|
||||
+ /* multiply the buffer size and try to read again */
|
||||
+ data->buffer = g_realloc (data->buffer, data->buffer_size * 2);
|
||||
+ bytes_read = xmms_xform_read (xform,
|
||||
+ (gchar *) data->buffer +
|
||||
+ data->buffer_size,
|
||||
+ data->buffer_size,
|
||||
+ error);
|
||||
+ data->buffer_size *= 2;
|
||||
+
|
||||
+ if (bytes_read < 0) {
|
||||
+ XMMS_DBG ("Error while reading data");
|
||||
+ return bytes_read;
|
||||
+ }
|
||||
+
|
||||
+ read_total += bytes_read;
|
||||
+
|
||||
+ if (read_total < data->buffer_size) {
|
||||
+ /* finally double the buffer size for performance reasons, the
|
||||
+ * hotspot handling likes to fit two frames in the buffer */
|
||||
+ data->buffer = g_realloc (data->buffer, data->buffer_size * 2);
|
||||
+ data->buffer_size *= 2;
|
||||
+ XMMS_DBG ("Reallocated avcodec internal buffer to be %d bytes",
|
||||
+ data->buffer_size);
|
||||
+
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ /* Update the buffer length */
|
||||
+ data->buffer_length += read_total;
|
||||
+
|
||||
+ return read_total;
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
+Decode some data from data->buffer[0..data->buffer_length-1] to
|
||||
+data->read_out_frame
|
||||
+
|
||||
+Returns: on error: negative
|
||||
+ on no new data produced: zero
|
||||
+ otherwise: positive
|
||||
+
|
||||
+FIXME: data->buffer should be at least data->buffer_length +
|
||||
+FF_INPUT_BUFFER_PADDING_SIZE long.
|
||||
+*/
|
||||
+static gint
|
||||
+xmms_avcodec_internal_decode_some (xmms_avcodec_data_t *data)
|
||||
+{
|
||||
+ int got_frame = 0;
|
||||
+ gint bytes_read = 0;
|
||||
+ AVPacket packet;
|
||||
+
|
||||
+ av_init_packet (&packet);
|
||||
+ packet.data = data->buffer;
|
||||
+ packet.size = data->buffer_length;
|
||||
+
|
||||
+ /* clear buffers and reset fields to defaults */
|
||||
+ av_frame_unref (data->read_out_frame);
|
||||
+
|
||||
+ bytes_read = avcodec_decode_audio4 (
|
||||
+ data->codecctx, data->read_out_frame, &got_frame, &packet);
|
||||
+
|
||||
+ /* The DTS decoder of ffmpeg is buggy and always returns
|
||||
+ * the input buffer length, get frame length from header */
|
||||
+ /* FIXME: Is ^^^^ still true? */
|
||||
+ if (!strcmp (data->codec_id, "dca") && bytes_read > 0) {
|
||||
+ bytes_read = ((int)data->buffer[5] << 12) |
|
||||
+ ((int)data->buffer[6] << 4) |
|
||||
+ ((int)data->buffer[7] >> 4);
|
||||
+ bytes_read = (bytes_read & 0x3fff) + 1;
|
||||
+ }
|
||||
+
|
||||
+ if (bytes_read < 0 || bytes_read > data->buffer_length) {
|
||||
+ XMMS_DBG ("Error decoding data!");
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ if (bytes_read < data->buffer_length) {
|
||||
+ data->buffer_length -= bytes_read;
|
||||
+ g_memmove (data->buffer,
|
||||
+ data->buffer + bytes_read,
|
||||
+ data->buffer_length);
|
||||
+ } else {
|
||||
+ data->buffer_length = 0;
|
||||
+ }
|
||||
+
|
||||
+ return got_frame ? 1 : 0;
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+xmms_avcodec_internal_append (xmms_avcodec_data_t *data)
|
||||
+{
|
||||
+ enum AVSampleFormat fmt = (enum AVSampleFormat) data->read_out_frame->format;
|
||||
+ int samples = data->read_out_frame->nb_samples;
|
||||
+ int channels = data->codecctx->channels;
|
||||
+ int bps = av_get_bytes_per_sample (fmt);
|
||||
+
|
||||
+ if (av_sample_fmt_is_planar (fmt)) {
|
||||
+ /* Convert from planar to packed format */
|
||||
+ gint i, j;
|
||||
+
|
||||
+ for (i = 0; i < samples; i++) {
|
||||
+ for (j = 0; j < channels; j++) {
|
||||
+ g_string_append_len (
|
||||
+ data->outbuf,
|
||||
+ (gchar *) (data->read_out_frame->extended_data[j] + i*bps),
|
||||
+ bps
|
||||
+ );
|
||||
+ }
|
||||
+ }
|
||||
+ } else {
|
||||
+ g_string_append_len (data->outbuf,
|
||||
+ (gchar *) data->read_out_frame->extended_data[0],
|
||||
+ samples * channels * bps);
|
||||
+ }
|
||||
+}
|
|
@ -1,69 +0,0 @@
|
|||
--- src/plugins/avcodec/avcodec_compat.h.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/plugins/avcodec/avcodec_compat.h
|
||||
@@ -1,7 +1,7 @@
|
||||
/** @file avcodec_compat.h
|
||||
* Compatibility header for libavcodec backwards compatibility
|
||||
*
|
||||
- * Copyright (C) 2011 XMMS2 Team
|
||||
+ * Copyright (C) 2011-2014 XMMS2 Team
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -21,47 +21,16 @@
|
||||
# include "avcodec.h"
|
||||
#endif
|
||||
|
||||
-/* Map avcodec_decode_audio2 into the deprecated version
|
||||
- * avcodec_decode_audio in versions earlier than 51.28 */
|
||||
-#if LIBAVCODEC_VERSION_INT < 0x331c00
|
||||
-# define avcodec_decode_audio2 avcodec_decode_audio
|
||||
-#endif
|
||||
-
|
||||
-/* Handle API change that happened in libavcodec 52.00 */
|
||||
-#if LIBAVCODEC_VERSION_INT < 0x340000
|
||||
-# define CONTEXT_BPS(codecctx) (codecctx)->bits_per_sample
|
||||
-#else
|
||||
-# define CONTEXT_BPS(codecctx) (codecctx)->bits_per_coded_sample
|
||||
-#endif
|
||||
-
|
||||
-/* Before 52.23 AVPacket was defined in avformat.h which we
|
||||
- * do not want to depend on, so we define part of it manually
|
||||
- * on versions smaller than 52.23 (this makes me cry) */
|
||||
-#if LIBAVCODEC_VERSION_INT < 0x341700
|
||||
-typedef struct AVPacket {
|
||||
- uint8_t *data;
|
||||
- int size;
|
||||
-} AVPacket;
|
||||
-#endif
|
||||
-
|
||||
-/* Same thing as above for av_init_packet and version 52.25 */
|
||||
-#if LIBAVCODEC_VERSION_INT < 0x341900
|
||||
-# define av_init_packet(pkt) do { \
|
||||
- (pkt)->data = NULL; \
|
||||
- (pkt)->size = 0; \
|
||||
- } while(0)
|
||||
-#endif
|
||||
-
|
||||
-/* Map avcodec_decode_audio3 into the deprecated version
|
||||
- * avcodec_decode_audio2 in versions earlier than 52.26 */
|
||||
-#if LIBAVCODEC_VERSION_INT < 0x341a00
|
||||
-# define avcodec_decode_audio3(avctx, samples, frame_size_ptr, avpkt) \
|
||||
- avcodec_decode_audio2(avctx, samples, frame_size_ptr, \
|
||||
- (avpkt)->data, (avpkt)->size)
|
||||
+/* Map avcodec_free_frame to av_freep if the former doesn't exist.
|
||||
+ * (This is in versions earlier than 54.28.0 (libav) or 54.59.100 (ffmpeg)) */
|
||||
+#if ! HAVE_AVCODEC_FREE_FRAME
|
||||
+# define avcodec_free_frame av_freep
|
||||
#endif
|
||||
|
||||
-/* Handle API change that happened in libavcodec 52.64 */
|
||||
-#if LIBAVCODEC_VERSION_INT < 0x344000
|
||||
-# define AVMEDIA_TYPE_AUDIO CODEC_TYPE_AUDIO
|
||||
+/* Map av_frame_alloc, av_frame_unref, av_frame_free into their
|
||||
+ * deprecated versions in versions earlier than 55.28.1 */
|
||||
+#if LIBAVCODEC_VERSION_INT < 0x371c01
|
||||
+# define av_frame_alloc avcodec_alloc_frame
|
||||
+# define av_frame_unref avcodec_get_frame_defaults
|
||||
+# define av_frame_free avcodec_free_frame
|
||||
#endif
|
||||
-
|
|
@ -1,11 +0,0 @@
|
|||
--- src/plugins/cdda/cdda.c.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/plugins/cdda/cdda.c
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "xmms/xmms_log.h"
|
||||
#include "xmms/xmms_util.h"
|
||||
|
||||
-#include <cdio/cdda.h>
|
||||
+#include <cdio/paranoia/cdda.h>
|
||||
#include <cdio/cdio.h>
|
||||
#include <cdio/logging.h>
|
||||
#include <discid/discid.h>
|
|
@ -1,19 +0,0 @@
|
|||
--- src/plugins/file/wscript.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/plugins/file/wscript
|
||||
@@ -1,7 +1,7 @@
|
||||
from waftools.plugin import plugin
|
||||
|
||||
def plugin_build(bld, obj):
|
||||
- if bld.env.HAVE_FSTATAT and bld.env.HAVE_DIRFD:
|
||||
+ if bld.env.HAVE_FSTATAT:
|
||||
obj.source.append('browse/fstatat.c')
|
||||
else:
|
||||
obj.source.append('browse/gdir.c')
|
||||
@@ -9,7 +9,6 @@ def plugin_build(bld, obj):
|
||||
def plugin_configure(conf):
|
||||
conf.check_cc(function_name='fstatat', header_name=['fcntl.h','sys/stat.h'],
|
||||
defines=['_ATFILE_SOURCE=1'])
|
||||
- conf.check_cc(function_name='dirfd', header_name=['dirent.h','sys/types.h'])
|
||||
|
||||
configure, build = plugin("file",
|
||||
configure=plugin_configure, build=plugin_build,
|
|
@ -1,11 +0,0 @@
|
|||
--- src/plugins/modplug/modplug.c.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/plugins/modplug/modplug.c
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "xmms/xmms_sample.h"
|
||||
#include "xmms/xmms_medialib.h"
|
||||
#include "xmms/xmms_log.h"
|
||||
-#include <modplug.h>
|
||||
+#include <libmodplug/modplug.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
|
@ -1,11 +0,0 @@
|
|||
--- src/plugins/musepack/wscript.orig 2011-10-20 19:26:08 UTC
|
||||
+++ src/plugins/musepack/wscript
|
||||
@@ -8,7 +8,7 @@ def plugin_configure(conf):
|
||||
conf.check_cc(header_name="mpcdec/mpcdec.h", defines="HAVE_MPCDEC_OLD",
|
||||
uselib_store="mpcdec")
|
||||
|
||||
- conf.check_cc(lib="mpcdec", uselib_store="mpcdec")
|
||||
+ conf.check_cc(lib="mpcdec", uselib="math", uselib_store="mpcdec")
|
||||
|
||||
configure, build = plugin("musepack", configure=plugin_configure,
|
||||
libs=["mpcdec"])
|
|
@ -1,40 +0,0 @@
|
|||
--- wscript.orig 2011-10-20 19:26:08 UTC
|
||||
+++ wscript
|
||||
@@ -131,7 +131,8 @@ def build(bld):
|
||||
VERSION = bld.env.VERSION
|
||||
)
|
||||
|
||||
- bld.install_files('${SHAREDDIR}', "mind.in.a.box-lament_snipplet.ogg")
|
||||
+ if bld.env.BUILD_XMMS2D:
|
||||
+ bld.install_files('${SHAREDDIR}', "mind.in.a.box-lament_snipplet.ogg")
|
||||
|
||||
bld.add_post_fun(shutdown)
|
||||
|
||||
@@ -295,9 +296,6 @@ def configure(conf):
|
||||
conf.msg("uncommited changed", changed and "yes" or "no")
|
||||
conf.env.VERSION = "%s (git commit: %s%s)" % (BASEVERSION, nam, dirty)
|
||||
|
||||
- conf.env.append_unique('CFLAGS', ['-g', '-O0'])
|
||||
- conf.env.append_unique('CXXFLAGS', ['-g', '-O0'])
|
||||
-
|
||||
if conf.options.with_profiling:
|
||||
conf.env.with_profiling = True
|
||||
conf.env.append_unique('CFLAGS', ['--coverage'])
|
||||
@@ -330,7 +328,7 @@ def configure(conf):
|
||||
conf.env.PKGCONFIGDIR = conf.options.pkgconfigdir
|
||||
Logs.pprint('Normal', conf.env.PKGCONFIGDIR) #XXX What is it ?
|
||||
else:
|
||||
- conf.env.PKGCONFIGDIR = os.path.join(conf.env.LIBDIR, 'pkgconfig')
|
||||
+ conf.env.PKGCONFIGDIR = os.path.join(conf.env.PREFIX, 'libdata', 'pkgconfig')
|
||||
|
||||
if conf.options.config_prefix:
|
||||
for d in conf.options.config_prefix:
|
||||
@@ -339,6 +337,8 @@ def configure(conf):
|
||||
conf.env.prepend_value('LIBPATH', os.path.join(d, 'lib'))
|
||||
conf.env.prepend_value('CPPPATH', os.path.join(d, 'include'))
|
||||
|
||||
+ conf.env.prepend_value('LIBPATH', "%%WRKSRC%%/_build_/src/clients/lib/xmmsclient")
|
||||
+
|
||||
if Options.platform != 'win32':
|
||||
conf.env.append_unique('CFLAGS_cstlib', ['-fPIC', '-DPIC'])
|
||||
conf.env.append_unique('CPPFLAGS_cxxshlib', ['-fPIC', '-DPIC'])
|
|
@ -1,6 +0,0 @@
|
|||
XMMS2 is a redesign of the XMMS music player. It features a client-server
|
||||
model, allowing multiple (even simultaneous!) user interfaces, both textual
|
||||
and graphical. All common audio formats are supported using plugins. On top
|
||||
of this, there is a flexible media library to organize your music.
|
||||
|
||||
WWW: https://github.com/xmms2/wiki/wiki
|
|
@ -1,153 +0,0 @@
|
|||
bin/nyxmms2
|
||||
%%VISUAL%%bin/vistest
|
||||
%%VISUAL%%bin/vistest-fft
|
||||
bin/xmms2
|
||||
%%ET%%bin/xmms2-et
|
||||
%%MDNS%%%%MDNS_AVAHI%%bin/xmms2-find-avahi
|
||||
bin/xmms2-launcher
|
||||
%%VISUAL%%bin/xmms2-libvisual
|
||||
%%MDNS%%%%MDNS_AVAHI%%bin/xmms2-mdns-avahi
|
||||
%%MDNS%%%%MDNS_APPLE%%bin/xmms2-mdns-dnssd
|
||||
%%FAM%%bin/xmms2-mlib-updater
|
||||
%%VISUAL%%%%VORBIS%%bin/xmms2-ripper
|
||||
bin/xmms2d
|
||||
%%INCLUDEDIR%%/xmms/xmms_bindata.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_config.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_error.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_ipc.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_log.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_medialib.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_object.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_outputplugin.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_plugin.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_sample.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_streamtype.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_util.h
|
||||
%%INCLUDEDIR%%/xmms/xmms_xformplugin.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_compiler.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_errorcodes.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_idnumbers.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_ipc_msg.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_ipc_transport.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_sockets.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_stdbool.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_stdint.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_stringport.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_strlist.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_unistd.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_util.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsc_visualization.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsv.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsv_bitbuffer.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsv_build.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsv_coll.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsv_deprecated.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsv_dict.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsv_general.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsv_list.h
|
||||
%%INCLUDEDIR%%/xmmsc/xmmsv_util.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++-glib.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/bindata.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/client.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/coll.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/collection.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/config.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/dict.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/exceptions.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/helpers.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/list.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/listener.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/mainloop.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/medialib.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/playback.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/playlist.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/result.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/signal.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/stats.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/typedefs.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient++/xform.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient-cf.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient-ecore.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient-glib.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient-qt.h
|
||||
%%INCLUDEDIR%%/xmmsclient/xmmsclient.h
|
||||
lib/libxmmsclient-glib.so
|
||||
lib/libxmmsclient-glib.so.1
|
||||
lib/libxmmsclient-glib.so.1.0.0
|
||||
lib/libxmmsclient.so
|
||||
lib/libxmmsclient.so.6
|
||||
lib/libxmmsclient.so.6.0.0
|
||||
%%AIRPLAY%%%%LIBDIR%%/libxmms_airplay.so
|
||||
%%AO%%%%LIBDIR%%/libxmms_ao.so
|
||||
%%LIBDIR%%/libxmms_apefile.so
|
||||
%%LIBDIR%%/libxmms_asf.so
|
||||
%%LIBDIR%%/libxmms_asx.so
|
||||
%%AVCODEC%%%%LIBDIR%%/libxmms_avcodec.so
|
||||
%%CDDA%%%%LIBDIR%%/libxmms_cdda.so
|
||||
%%LIBDIR%%/libxmms_cue.so
|
||||
%%CURL%%%%LIBDIR%%/libxmms_curl.so
|
||||
%%LIBDIR%%/libxmms_daap.so
|
||||
%%LIBDIR%%/libxmms_diskwrite.so
|
||||
%%LIBDIR%%/libxmms_equalizer.so
|
||||
%%FAAD%%%%LIBDIR%%/libxmms_faad.so
|
||||
%%LIBDIR%%/libxmms_file.so
|
||||
%%FLAC%%%%LIBDIR%%/libxmms_flac.so
|
||||
%%LIBDIR%%/libxmms_flv.so
|
||||
%%GME%%%%LIBDIR%%/libxmms_gme.so
|
||||
%%GVFS%%%%LIBDIR%%/libxmms_gvfs.so
|
||||
%%LIBDIR%%/libxmms_html.so
|
||||
%%ICES%%%%LIBDIR%%/libxmms_ices.so
|
||||
%%CURL%%%%LIBDIR%%/libxmms_icymetaint.so
|
||||
%%LIBDIR%%/libxmms_id3v2.so
|
||||
%%JACK%%%%LIBDIR%%/libxmms_jack.so
|
||||
%%LIBDIR%%/libxmms_karaoke.so
|
||||
%%LIBDIR%%/libxmms_m3u.so
|
||||
%%APE%%%%LIBDIR%%/libxmms_mac.so
|
||||
%%MAD%%%%LIBDIR%%/libxmms_mad.so
|
||||
%%MMS%%%%LIBDIR%%/libxmms_mms.so
|
||||
%%MODPLUG%%%%LIBDIR%%/libxmms_modplug.so
|
||||
%%MPG123%%%%LIBDIR%%/libxmms_mpg123.so
|
||||
%%MUSEPACK%%%%LIBDIR%%/libxmms_musepack.so
|
||||
%%FAAD%%%%LIBDIR%%/libxmms_mp4.so
|
||||
%%LIBDIR%%/libxmms_normalize.so
|
||||
%%LIBDIR%%/libxmms_null.so
|
||||
%%LIBDIR%%/libxmms_nulstripper.so
|
||||
%%LIBDIR%%/libxmms_oss.so
|
||||
%%LIBDIR%%/libxmms_pls.so
|
||||
%%PULSEAUDIO%%%%LIBDIR%%/libxmms_pulse.so
|
||||
%%LIBDIR%%/libxmms_replaygain.so
|
||||
%%XML%%%%LIBDIR%%/libxmms_rss.so
|
||||
%%SAMBA%%%%LIBDIR%%/libxmms_samba.so
|
||||
%%SID%%%%LIBDIR%%/libxmms_sid.so
|
||||
%%SNDFILE%%%%LIBDIR%%/libxmms_sndfile.so
|
||||
%%SPEEX%%%%LIBDIR%%/libxmms_speex.so
|
||||
%%TREMOR%%%%LIBDIR%%/libxmms_tremor.so
|
||||
%%LIBDIR%%/libxmms_tta.so
|
||||
%%VOCODER%%%%LIBDIR%%/libxmms_vocoder.so
|
||||
%%VORBIS%%%%LIBDIR%%/libxmms_vorbis.so
|
||||
%%LIBDIR%%/libxmms_wave.so
|
||||
%%WAVPACK%%%%LIBDIR%%/libxmms_wavpack.so
|
||||
%%XML%%%%LIBDIR%%/libxmms_xml.so
|
||||
%%XML%%%%LIBDIR%%/libxmms_xspf.so
|
||||
libdata/pkgconfig/xmms2-client-glib.pc
|
||||
libdata/pkgconfig/xmms2-client.pc
|
||||
libdata/pkgconfig/xmms2-plugin.pc
|
||||
%%ET%%man/man1/xmms2-et.1.gz
|
||||
man/man1/xmms2-launcher.1.gz
|
||||
%%MDNS%%%%MDNS_AVAHI%%man/man1/xmms2-mdns-avahi.1.gz
|
||||
man/man1/xmms2.1.gz
|
||||
man/man1/xmms2d.1.gz
|
||||
share/pixmaps/xmms2-128.png
|
||||
share/pixmaps/xmms2-16.png
|
||||
share/pixmaps/xmms2-32.png
|
||||
share/pixmaps/xmms2-48.png
|
||||
share/pixmaps/xmms2-black-on-white.svg
|
||||
share/pixmaps/xmms2-white-on-black.svg
|
||||
share/pixmaps/xmms2.svg
|
||||
%%DATADIR%%/mind.in.a.box-lament_snipplet.ogg
|
||||
%%ET%%%%DATADIR%%/scripts/startup.d/xmms2-et-launcher.sh
|
||||
%%MDNS%%%%MDNS_AVAHI%%%%DATADIR%%/scripts/startup.d/xmms2-mdns-launcher.sh
|
||||
%%MDNS%%%%MDNS_APPLE%%%%DATADIR%%/scripts/startup.d/xmms2-mdns-launcher.sh
|
||||
%%FAM%%%%DATADIR%%/scripts/startup.d/xmms2-mlib-updater.sh
|
||||
@dir %%DATADIR%%/scripts/startup.d
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= zrythm
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.0-alpha.18.2.1
|
||||
DISTVERSION= 1.0.0-alpha.19.0.1
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1623435989
|
||||
SHA256 (zrythm-zrythm-v1.0.0-alpha.18.2.1_GH0.tar.gz) = 9b42acd4e4b552b27a07b94054599a71331577f16fd37d10e06a646023b3e86b
|
||||
SIZE (zrythm-zrythm-v1.0.0-alpha.18.2.1_GH0.tar.gz) = 10519191
|
||||
TIMESTAMP = 1624779971
|
||||
SHA256 (zrythm-zrythm-v1.0.0-alpha.19.0.1_GH0.tar.gz) = 849c288c78685c951c0cd99ce910084f05d8e0664909732a8c055c89d0019bf0
|
||||
SIZE (zrythm-zrythm-v1.0.0-alpha.19.0.1_GH0.tar.gz) = 10811023
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= hyperfine
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.11.0
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= benchmarks
|
||||
|
||||
MAINTAINER= pizzamig@FreeBSD.org
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
--- cargo-crates/libc-0.2.79/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig 2020-03-17 20:35:43 UTC
|
||||
+++ cargo-crates/libc-0.2.79/src/unix/bsd/freebsdlike/freebsd/mod.rs
|
||||
@@ -1486,6 +1486,9 @@ cfg_if! {
|
||||
} else if #[cfg(target_arch = "powerpc64")] {
|
||||
mod powerpc64;
|
||||
pub use self::powerpc64::*;
|
||||
+ } else if #[cfg(target_arch = "powerpc")] {
|
||||
+ mod powerpc;
|
||||
+ pub use self::powerpc::*;
|
||||
} else {
|
||||
// Unknown target_arch
|
||||
}
|
||||
--- cargo-crates/libc-0.2.79/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig 2021-06-23 22:40:24 UTC
|
||||
+++ cargo-crates/libc-0.2.79/src/unix/bsd/freebsdlike/freebsd/powerpc.rs
|
||||
@@ -0,0 +1,47 @@
|
||||
+pub type c_char = u8;
|
||||
+pub type c_long = i32;
|
||||
+pub type c_ulong = u32;
|
||||
+pub type wchar_t = i32;
|
||||
+pub type time_t = i64;
|
||||
+pub type suseconds_t = i32;
|
||||
+pub type register_t = i32;
|
||||
+
|
||||
+s! {
|
||||
+ pub struct stat {
|
||||
+ pub st_dev: ::dev_t,
|
||||
+ pub st_ino: ::ino_t,
|
||||
+ pub st_mode: ::mode_t,
|
||||
+ pub st_nlink: ::nlink_t,
|
||||
+ pub st_uid: ::uid_t,
|
||||
+ pub st_gid: ::gid_t,
|
||||
+ pub st_rdev: ::dev_t,
|
||||
+ pub st_atime: ::time_t,
|
||||
+ pub st_atime_nsec: ::c_long,
|
||||
+ pub st_mtime: ::time_t,
|
||||
+ pub st_mtime_nsec: ::c_long,
|
||||
+ pub st_ctime: ::time_t,
|
||||
+ pub st_ctime_nsec: ::c_long,
|
||||
+ pub st_size: ::off_t,
|
||||
+ pub st_blocks: ::blkcnt_t,
|
||||
+ pub st_blksize: ::blksize_t,
|
||||
+ pub st_flags: ::fflags_t,
|
||||
+ pub st_gen: u32,
|
||||
+ pub st_lspare: i32,
|
||||
+ pub st_birthtime: ::time_t,
|
||||
+ pub st_birthtime_nsec: ::c_long,
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+// should be pub(crate), but that requires Rust 1.18.0
|
||||
+cfg_if! {
|
||||
+ if #[cfg(libc_const_size_of)] {
|
||||
+ #[doc(hidden)]
|
||||
+ pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_int>() - 1;
|
||||
+ } else {
|
||||
+ #[doc(hidden)]
|
||||
+ pub const _ALIGNBYTES: usize = 4 - 1;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+pub const MAP_32BIT: ::c_int = 0x00080000;
|
||||
+pub const MINSIGSTKSZ: ::size_t = 2048; // 512 * 4
|
|
@ -1,6 +1,7 @@
|
|||
PORTNAME= inferno
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.10.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= benchmarks
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
|
|
@ -77,6 +77,7 @@
|
|||
SUBDIR += mapm3
|
||||
SUBDIR += migrate
|
||||
SUBDIR += minimap2
|
||||
SUBDIR += mmseqs2
|
||||
SUBDIR += molden
|
||||
SUBDIR += mopac
|
||||
SUBDIR += mothur
|
||||
|
|
|
@ -6,13 +6,6 @@ If you need bedGraphToBigWig, run:
|
|||
|
||||
cd ${PORTSDIR}/biology/ucsc-userapps && make install clean
|
||||
|
||||
sra-tools is using Linux compatibility for now, until the native FreeBSD
|
||||
port is complete.
|
||||
|
||||
For a quick and proper configuration, run the following:
|
||||
|
||||
pkg install -y auto-admin
|
||||
auto-install-linux_base
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
|
|
@ -14,7 +14,7 @@ LICENSE= MIT
|
|||
LICENSE_FILE= ${WRKSRC}/license.txt
|
||||
|
||||
BUILD_DEPENDS= openjfx14>0:java/openjfx14 \
|
||||
gradle:devel/gradle
|
||||
gradle:devel/gradle6
|
||||
RUN_DEPENDS= openjfx14>0:java/openjfx14
|
||||
|
||||
USES= gettext-runtime
|
||||
|
|
|
@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
|
||||
BROKEN_FreeBSD_11= gradle daemon systematically fails on 11: The message received from the daemon indicates that the daemon has disappeared.
|
||||
|
||||
BUILD_DEPENDS= gradle:devel/gradle
|
||||
BUILD_DEPENDS= gradle:devel/gradle6
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 11
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Created by: Yonatan <onatan@gmail.com>
|
||||
|
||||
PORTNAME= foldingathome
|
||||
DISTVERSION= 7.6.13
|
||||
DISTVERSION= 7.6.21
|
||||
CATEGORIES= biology linux
|
||||
MASTER_SITES= https://download.foldingathome.org/releases/public/release/fahclient/centos-6.7-64bit/v${DISTVERSION:R}/
|
||||
PKGNAMEPREFIX= linux-
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1589030361
|
||||
SHA256 (fahclient-7.6.13-1.x86_64.rpm) = 5abb3288a052890555c5b823f4a283593e122aadffbb0790879f58e266fcc28f
|
||||
SIZE (fahclient-7.6.13-1.x86_64.rpm) = 3679564
|
||||
TIMESTAMP = 1624640434
|
||||
SHA256 (fahclient-7.6.21-1.x86_64.rpm) = a9f8b5073cd800cc63e32c623a8b4d7487c4e19a1e84760202e451b997d95073
|
||||
SIZE (fahclient-7.6.21-1.x86_64.rpm) = 3779272
|
||||
|
|
|
@ -76,7 +76,9 @@ load_rc_config 'fahclient'
|
|||
: "${fahclient_logfile:=%%FAHCLIENT_WORK_DIR%%/log.txt}"
|
||||
|
||||
pidfile="${fahclient_pidfile}"
|
||||
command='%%FAHCLIENT_PROGRAM%%'
|
||||
procname="%%FAHCLIENT_PROGRAM%%"
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-o ${fahclient_logfile} -p ${pidfile} -- ${procname}"
|
||||
# Some notes on the specified options:
|
||||
# - fahclient_flags are passed in before other options by the rc
|
||||
# framework.
|
||||
|
@ -86,26 +88,20 @@ command='%%FAHCLIENT_PROGRAM%%'
|
|||
# precedence).
|
||||
# - --config is necessary to point the program to the correct configuration
|
||||
# file.
|
||||
# - --log sets the log file location (takes precedence over config file),
|
||||
# log is special in this respect.
|
||||
# - --chdir is used to switch to a desired work directory. The program is going
|
||||
# to create a lot of files in its current working directory so should not be
|
||||
# just any directory on the system.
|
||||
# - --pid-file specifies the location for the PID file.
|
||||
# - --daemon is to detach the program from the terminal and run it
|
||||
# in the background.
|
||||
# - fahclient_extra_flags are passed in after all other options.
|
||||
|
||||
command_args="${command_args} --user=${fahclient_donor}"
|
||||
command_args="${command_args} --team=${fahclient_team}"
|
||||
command_args="${command_args} --config=${fahclient_config}"
|
||||
command_args="${command_args} --log=${fahclient_logfile}"
|
||||
command_args="${command_args} --chdir=${fahclient_chdir}"
|
||||
command_args="${command_args} --pid-file=${pidfile} --daemon"
|
||||
command_args="${command_args} ${fahclient_extra_flags}"
|
||||
_fahclient_command_args=
|
||||
_fahclient_command_args="${_fahclient_command_args} --user=${fahclient_donor}"
|
||||
_fahclient_command_args="${_fahclient_command_args} --team=${fahclient_team}"
|
||||
_fahclient_command_args="${_fahclient_command_args} --config=${fahclient_config}"
|
||||
_fahclient_command_args="${_fahclient_command_args} --chdir=${fahclient_chdir}"
|
||||
_fahclient_command_args="${_fahclient_command_args} ${fahclient_extra_flags}"
|
||||
command_args="${command_args} ${_fahclient_command_args}"
|
||||
extra_commands="log showconfig"
|
||||
log_cmd="tail -F -- ${fahclient_logfile}"
|
||||
showconfig_cmd="${command} ${fahclient_flags} ${command_args} --print"
|
||||
showconfig_cmd="${procname} ${fahclient_flags} ${_fahclient_command_args} --print"
|
||||
if [ -n "$fahclient_user" ]; then
|
||||
showconfig_cmd="su -m $fahclient_user -c 'sh -c \"$showconfig_cmd\"'"
|
||||
fi
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
PORTNAME= MMseqs2
|
||||
DISTVERSION= 13-45111
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= biology
|
||||
|
||||
MAINTAINER= jwb@FreeBSD.org
|
||||
COMMENT= Ultra fast and sensitive sequence search and clustering suite
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
BROKEN_i386= https://github.com/soedinglab/MMseqs2/issues/418
|
||||
|
||||
LIB_DEPENDS= libzstd.so:archivers/zstd
|
||||
|
||||
USES= cmake perl5 shebangfix
|
||||
USE_GITHUB= yes
|
||||
USE_PERL5= build
|
||||
|
||||
SHEBANG_GLOB= *.sh
|
||||
GH_ACCOUNT= soedinglab
|
||||
|
||||
CMAKE_ARGS+= -DUSE_SYSTEM_ZSTD:BOOL=ON
|
||||
LDFLAGS+= -lpthread
|
||||
|
||||
PLIST_FILES= bin/mmseqs ${DATADIR}/bash-completion.sh
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Hangs when built with clang and SSE or x86-64 only. Works fine with
|
||||
# -march=native. Upstream is investigating. To build fully optimized,
|
||||
# non-portable binary with clang: env CFLAGS='-O2 -march=native' make
|
||||
.if ${ARCH} == "amd64" && empty(CFLAGS:M*march=native*)
|
||||
USE_GCC= yes
|
||||
# Need at least SSE2 for decent performance. x86-64 groups SSE2 with other
|
||||
# common features in low-end AMD64 CPUs.
|
||||
CFLAGS+= -march=x86-64
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|MMSEQS_HOME/util|${DATADIR}|g' \
|
||||
${WRKSRC}/src/commons/Application.cpp
|
||||
|
||||
post-stage:
|
||||
${MV} ${STAGEDIR}${PREFIX}/util ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1624667730
|
||||
SHA256 (soedinglab-MMseqs2-13-45111_GH0.tar.gz) = 6444bb682ebf5ced54b2eda7a301fa3e933c2a28b7661f96ef5bdab1d53695a2
|
||||
SIZE (soedinglab-MMseqs2-13-45111_GH0.tar.gz) = 10196433
|
|
@ -0,0 +1,53 @@
|
|||
--- CMakeLists.txt.orig 2021-06-24 14:37:49 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -50,30 +50,19 @@ set(MMSEQS_CXX_FLAGS "-fsigned-char")
|
||||
# SIMD instruction sets support
|
||||
set(MMSEQS_ARCH "")
|
||||
if (HAVE_AVX2)
|
||||
- if (CMAKE_COMPILER_IS_CLANG)
|
||||
- set(MMSEQS_ARCH "${MMSEQS_ARCH} -mavx2 -mcx16")
|
||||
- else ()
|
||||
- set(MMSEQS_ARCH "${MMSEQS_ARCH} -mavx2 -mcx16 -Wa,-q")
|
||||
- endif ()
|
||||
set(X64 1)
|
||||
elseif (HAVE_SSE4_1)
|
||||
- set(MMSEQS_ARCH "${MMSEQS_ARCH} -msse4.1 -mcx16")
|
||||
set(X64 1)
|
||||
elseif (HAVE_SSE2)
|
||||
- set(MMSEQS_ARCH "${MMSEQS_ARCH} -msse2")
|
||||
set(DISABLE_IPS4O 1)
|
||||
set(X64 1)
|
||||
elseif (HAVE_POWER9)
|
||||
- set(MMSEQS_ARCH "${MMSEQS_ARCH} -mcpu=power9 -mvsx")
|
||||
set(PPC64 1)
|
||||
elseif (HAVE_POWER8)
|
||||
- set(MMSEQS_ARCH "${MMSEQS_ARCH} -mcpu=power8 -mvsx")
|
||||
set(PPC64 1)
|
||||
elseif (HAVE_ARM8)
|
||||
- set(MMSEQS_ARCH "${MMSEQS_ARCH} -march=armv8-a+simd")
|
||||
set(ARM 1)
|
||||
elseif (HAVE_S390X)
|
||||
- set(MMSEQS_ARCH "${MMSEQS_ARCH} -mzarch -march=z14")
|
||||
set(ZARCH 1)
|
||||
endif ()
|
||||
|
||||
@@ -105,19 +94,6 @@ if (NATIVE_ARCH AND (MMSEQS_ARCH STREQUAL ""))
|
||||
endif ()
|
||||
if (PPC64)
|
||||
set(MMSEQS_ARCH "-mcpu=native")
|
||||
- else ()
|
||||
- # clang has a problem with march=native on travis
|
||||
- if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.0.0")
|
||||
- set(MMSEQS_ARCH "${SSE_FLAGS}")
|
||||
- else()
|
||||
- set(MMSEQS_ARCH "-march=native")
|
||||
- endif()
|
||||
- endif ()
|
||||
- else ()
|
||||
- if (PPC64)
|
||||
- set(MMSEQS_ARCH "-mcpu=native")
|
||||
- else ()
|
||||
- set(MMSEQS_ARCH "-march=native")
|
||||
endif ()
|
||||
endif ()
|
||||
endif ()
|
|
@ -0,0 +1,21 @@
|
|||
--- data/workflow/createtaxdb.sh.orig 2021-06-25 01:33:07 UTC
|
||||
+++ data/workflow/createtaxdb.sh
|
||||
@@ -27,6 +27,8 @@ STRATEGY=""
|
||||
if hasCommand aria2c; then STRATEGY="$STRATEGY ARIA"; fi
|
||||
if hasCommand curl; then STRATEGY="$STRATEGY CURL"; fi
|
||||
if hasCommand wget; then STRATEGY="$STRATEGY WGET"; fi
|
||||
+# Part of FreeBSD base, need not be installed separately
|
||||
+if hasCommand fetch; then STRATEGY="$STRATEGY FETCH"; fi
|
||||
if [ "$STRATEGY" = "" ]; then
|
||||
fail "No download tool found in PATH. Please install aria2c, curl or wget."
|
||||
fi
|
||||
@@ -47,6 +49,9 @@ downloadFile() {
|
||||
;;
|
||||
WGET)
|
||||
wget -O "$OUTPUT" "$URL" && return 0
|
||||
+ ;;
|
||||
+ FETCH)
|
||||
+ fetch -o "$OUTPUT" "$URL" && return 0
|
||||
;;
|
||||
esac
|
||||
done
|
|
@ -0,0 +1,21 @@
|
|||
--- data/workflow/databases.sh.orig 2021-06-25 01:34:08 UTC
|
||||
+++ data/workflow/databases.sh
|
||||
@@ -27,6 +27,8 @@ STRATEGY=""
|
||||
if hasCommand aria2c; then STRATEGY="$STRATEGY ARIA"; fi
|
||||
if hasCommand curl; then STRATEGY="$STRATEGY CURL"; fi
|
||||
if hasCommand wget; then STRATEGY="$STRATEGY WGET"; fi
|
||||
+# Part of FreeBSD base, need not be installed separately
|
||||
+if hasCommand fetch; then STRATEGY="$STRATEGY FETCH"; fi
|
||||
if [ "$STRATEGY" = "" ]; then
|
||||
fail "No download tool found in PATH. Please install aria2c, curl or wget."
|
||||
fi
|
||||
@@ -47,6 +49,9 @@ downloadFile() {
|
||||
;;
|
||||
WGET)
|
||||
wget -O "$OUTPUT" "$URL" && return 0
|
||||
+ ;;
|
||||
+ FETCH)
|
||||
+ fetch -o "$OUTPUT" "$URL" && return 0
|
||||
;;
|
||||
esac
|
||||
done
|
|
@ -0,0 +1,11 @@
|
|||
--- src/commons/DBReader.cpp.orig 2021-06-25 22:40:36 UTC
|
||||
+++ src/commons/DBReader.cpp
|
||||
@@ -1004,7 +1004,7 @@ void DBReader<T>::setSequentialAdvice() {
|
||||
#ifdef HAVE_POSIX_MADVISE
|
||||
for(size_t i = 0; i < dataFileCnt; i++){
|
||||
size_t dataSize = dataSizeOffset[i+1] - dataSizeOffset[i];
|
||||
- if (posix_madvise (dataFiles[i], dataSize, POSIX_MADV_SEQUENTIAL) != 0){
|
||||
+ if (dataSize > 0 && posix_madvise (dataFiles[i], dataSize, POSIX_MADV_SEQUENTIAL) != 0){
|
||||
Debug(Debug::ERROR) << "posix_madvise returned an error " << dataFileName << "\n";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
MMseqs2 (Many-against-Many sequence searching) is a software suite to search
|
||||
and cluster huge protein and nucleotide sequence sets. MMseqs2 is open source
|
||||
GPL-licensed software implemented in C++ for Linux, MacOS, and (as beta
|
||||
version, via cygwin) Windows. The software is designed to run on multiple cores
|
||||
and servers and exhibits very good scalability. MMseqs2 can run 10000 times
|
||||
faster than BLAST. At 100 times its speed it achieves almost the same
|
||||
sensitivity. It can perform profile searches with the same sensitivity as
|
||||
PSI-BLAST at over 400 times its speed.
|
||||
|
||||
WWW: https://github.com/soedinglab/MMseqs2
|
|
@ -0,0 +1,13 @@
|
|||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
|
||||
MMseqs2 can benefit greatly from advanced CPU features such as AVX.
|
||||
Consider setting additional optimizations such as -march=native (e.g.
|
||||
in make.conf) and reinstalling from source via
|
||||
|
||||
cd ${PORTSDIR}/biology/mmseqs2 && make install
|
||||
|
||||
EOM
|
||||
}
|
||||
]
|
|
@ -1,8 +1,7 @@
|
|||
# Created by: Hannes Hauswedell <h2+fbsdports@fsfe.org>
|
||||
|
||||
PORTNAME= ugene
|
||||
PORTVERSION= 38.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 39.0
|
||||
CATEGORIES= biology science
|
||||
|
||||
MAINTAINER= h2+fbsdports@fsfe.org
|
||||
|
@ -58,6 +57,11 @@ post-patch:
|
|||
${WRKSRC}/src/ugeneui/ugeneui.pri
|
||||
@${REINPLACE_CMD} -e '218,220s|NULL)|false)|' \
|
||||
${WRKSRC}/src/plugins/GUITestBase/src/GTUtilsMdi.cpp
|
||||
@${REINPLACE_CMD} -e '/--no-pie/s,unix:!macx,linux-g++,' \
|
||||
${WRKSRC}/src/plugins_checker/plugins_checker.pri \
|
||||
${WRKSRC}/src/ugenecl/ugenecl.pri \
|
||||
${WRKSRC}/src/ugenem/ugenem.pro \
|
||||
${WRKSRC}/src/ugeneui/ugeneui.pri
|
||||
|
||||
post-stage:
|
||||
@cd ${STAGEDIR}${PREFIX} && ${RM} bin/ecp.* lib/ugene/ecp.*
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1616742529
|
||||
SHA256 (ugeneunipro-ugene-38.1_GH0.tar.gz) = f5e208df0481c2dfe804817d6bc7e8a1d6236e8cbff3d8b874745873492a56d6
|
||||
SIZE (ugeneunipro-ugene-38.1_GH0.tar.gz) = 23446767
|
||||
TIMESTAMP = 1623340087
|
||||
SHA256 (ugeneunipro-ugene-39.0_GH0.tar.gz) = 1e5141c097b22735497d91d59a47356a6fc132f8355c0a0bc97e26097c43570a
|
||||
SIZE (ugeneunipro-ugene-39.0_GH0.tar.gz) = 24940304
|
||||
|
|
|
@ -146,8 +146,8 @@ lib/ugene/plugins/wevote_support.plugin
|
|||
lib/ugene/plugins/workflow_designer.license
|
||||
lib/ugene/plugins/workflow_designer.plugin
|
||||
lib/ugene/plugins_checker
|
||||
lib/ugene/transl_en.qm
|
||||
lib/ugene/transl_ru.qm
|
||||
lib/ugene/transl_tr.qm
|
||||
lib/ugene/ugene
|
||||
lib/ugene/ugenecl
|
||||
lib/ugene/ugenem
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= unikmer
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.18.0
|
||||
DISTVERSION= 0.18.1
|
||||
CATEGORIES= biology
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue