[ITA] libass
I'd like to adopt libass package. -- Takashi Yano NAME="libass" VERSION=0.17.1 RELEASE=1 LICENSE="ISC" CATEGORY="Libs" SUMMARY="SSA/ASS subtitle rendering library" DESCRIPTION="LibASS is a portable library for SSA/ASS (Substation Alpha) subtitle rendering." HOMEPAGE="https://github.com/libass/libass/"; SRC_URI="${HOMEPAGE}/archive/${VERSION}/libass-${VERSION}.tar.gz" PKG_NAMES="${NAME}9 ${NAME}-devel" libass9_CONTENTS="usr/bin/cygass-9.dll usr/share/doc/" libass_devel_CONTENTS="usr/include/ usr/lib/"
[ITA] snappy
I'd like to adopt snappy package. -- Takashi Yano inherit cmake NAME="snappy" VERSION=1.1.10 RELEASE=1 LICENSE="BSD-3-Clauses" CATEGORY="Libs" SUMMARY="Fast compression library" DESCRIPTION="Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library, instead, it aims for very high speeds and reasonable compression." HOMEPAGE="https://github.com/google/snappy/"; SRC_URI="https://github.com/google/snappy/archive/${VERSION}/snappy-${VERSION}.tar.gz"; PATCH_URI=" https://src.fedoraproject.org/rpms/snappy/raw/f40/f/snappy-thirdparty.patch " PKG_NAMES="libsnappy1 libsnappy-devel" libsnappy1_CONTENTS=" usr/bin/cygsnappy-1.dll usr/share/doc/${NAME} " libsnappy_devel_CONTENTS=" usr/include/snappy*.h usr/lib/cmake/Snappy/ usr/lib/libsnappy.dll.a " CYGCMAKE_ARGS=" -DBUILD_SHARED_LIBS=ON -DSNAPPY_BUILD_TESTS=OFF -DSNAPPY_BUILD_BENCHMARKS=OFF " BUILD_REQUIRES="liblzo2-devel liblz4-devel" diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -306,29 +306,12 @@ if(SNAPPY_BUILD_TESTS) enable_testing() - # Prevent overriding the parent project's compiler/linker settings on Windows. - set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) - set(install_gtest OFF) - set(install_gmock OFF) - set(build_gmock ON) - - # This project is tested using GoogleTest. - add_subdirectory("third_party/googletest") - - # GoogleTest triggers a missing field initializers warning. - if(SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS) -set_property(TARGET gtest -APPEND PROPERTY COMPILE_OPTIONS -Wno-missing-field-initializers) -set_property(TARGET gmock -APPEND PROPERTY COMPILE_OPTIONS -Wno-missing-field-initializers) - endif(SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS) - add_executable(snappy_unittest "") target_sources(snappy_unittest PRIVATE "snappy_unittest.cc" ) - target_link_libraries(snappy_unittest snappy_test_support gmock_main gtest) + target_link_libraries(snappy_unittest snappy_test_support gtest_main gtest) add_test( NAME snappy_unittest @@ -349,12 +332,11 @@ PRIVATE "snappy_benchmark.cc" ) - target_link_libraries(snappy_benchmark snappy_test_support benchmark_main) + target_link_libraries(snappy_benchmark snappy_test_support benchmark_main benchmark) # This project uses Google benchmark for benchmarking. set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "" FORCE) set(BENCHMARK_ENABLE_EXCEPTIONS OFF CACHE BOOL "" FORCE) - add_subdirectory("third_party/benchmark") endif(SNAPPY_BUILD_BENCHMARKS) if(SNAPPY_FUZZING_BUILD)
[ITA] openjpeg
I'd like to adopt openjpeg package. -- Takashi Yano inherit cmake NAME="openjpeg" VERSION=2.5.0 RELEASE=1 LICENSE="BSD-2-Clause" CATEGORY="Graphics" SUMMARY="JPEG 2000 codec" DESCRIPTION="The OpenJPEG library is an open-source JPEG 2000 codec written in C language. It has been developed in order to promote the use of JPEG 2000, the new still-image compression standard from the Joint Photographic Experts Group (JPEG)." HOMEPAGE="https://www.openjpeg.org/"; SRC_URI="https://github.com/uclouvain/openjpeg/archive/refs/tags/v${VERSION}.tar.gz"; PKG_NAMES="${NAME} libopenjp2_7 lib${NAME}-devel" openjpeg_SUMMARY="JPEG 2000 utilities" openjpeg_CONTENTS="usr/bin/*.exe usr/share/doc/ usr/share/man/man1/" libopenjp2_7_SUMMARY="${SUMMARY} (runtime)" libopenjp2_7_CONTENTS="usr/bin/cygopenjp2-7.dll" libopenjpeg_devel_SUMMARY="${SUMMARY} (development)" libopenjpeg_devel_CONTENTS="usr/include/ usr/lib/ usr/share/man/man3/" DISTCLEANFILES="thirdparty/*/*.h thirdparty/*/*/*.h" CYGCMAKE_ARGS=" -DBUILD_DOC=ON -DOPENJPEG_INSTALL_DOC_DIR=/usr/share/doc/${NAME} " BUILD_REQUIRES="libjbig-devel libdeflate-devel"
[ITA] orc
I'd like to adopt orc package. -- Takashi Yano inherit gnome2 meson NAME="orc" VERSION=0.4.37 RELEASE=1 LICENSE="BSD-2-Clause AND BSD-3-Clause" CATEGORY="Libs" SUMMARY="Optimized Inner Loops Resource Compiler" DESCRIPTION="Orc is a library and set of tools for compiling and executing very simple programs that operate on arrays of data. The language is a generic assembly language that represents many of the features available in SIMD architectures, including saturated addition and subtraction, and many arithmetic operations." HOMEPAGE="https://gstreamer.freedesktop.org/"; SRC_URI="https://gstreamer.freedesktop.org/src/orc/orc-${VERSION}.tar.xz"; PKG_NAMES="liborc0.4_0 liborc0.4-devel liborc0.4-doc" liborc0_4_0_CONTENTS="usr/bin/*-0.4-0.dll usr/share/doc/" liborc0_4_devel_CONTENTS="usr/bin/*.exe usr/include/ usr/lib/lib* usr/lib/pkgconfig usr/share/aclocal/" liborc0_4_doc_CATEGORY="Doc" liborc0_4_doc_CONTENTS="usr/share/gtk-doc/" KEEP_LA_FILES="none"
[ITA] dbus
I'd like to adopt dbus package. -- Takashi Yano FIXME: in theory this *should* work but it clearly is not. --- origsrc/dbus-1.10.8/configure.ac2016-03-07 10:06:22.0 -0600 +++ src/dbus-1.10.8/configure.ac2016-05-06 14:25:35.816044900 -0500 @@ -137,7 +137,7 @@ fi # For best security, assume that all non-Windows platforms can do # credentials-passing. -AS_IF([test "$dbus_win" = yes], +AS_IF([test "$dbus_cygwin$dbus_win" != nono], [DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL=""], [DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL="EXTERNAL"]) AC_SUBST([DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL]) --- origsrc/dbus-1.10.12/bus/system.conf.in 2015-10-22 12:34:22.0 -0500 +++ src/dbus-1.10.12/bus/system.conf.in 2016-10-10 13:32:37.353222600 -0500 @@ -32,8 +32,15 @@ - - EXTERNAL + + @DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL@
[ITA] fontconfig
CC: Brian, I would like to adopt fontconfig package. Brian, by any chance, do you also want to adopt fontconfig package? I'm asking because I noticed that your commits exist in playground branch. -- Takashi Yano NAME="fontconfig" VERSION=2.15.0 RELEASE=1 LICENSE="MIT AND Unicode-DFS-2016" CATEGORY="Libs" SUMMARY="Font configuration library" DESCRIPTION="Fontconfig is a library designed to provide system-wide font configuration, customization and application access." HOMEPAGE="https://www.freedesktop.org/wiki/Software/fontconfig"; SRC_URI="https://www.freedesktop.org/software/fontconfig/release/${NAME}-${VERSION}.tar.xz"; BUILD_REQUIRES="libxml2-devel libfreetype-devel gettext-devel libiconv-devel libintl-devel libuuid-devel libexpat-devel libjson-c-devel gperf" PKG_NAMES="${NAME} ${NAME}-doc lib${NAME}1 lib${NAME}-common lib${NAME}-devel" fontconfig_CATEGORY="X11" fontconfig_SUMMARY="${SUMMARY% *} utilities" fontconfig_CONTENTS=" usr/bin/fc-* usr/share/man/man1/ " fontconfig_doc_CATEGORY="Doc" fontconfig_doc_SUMMARY="${SUMMARY} (API documentation)" fontconfig_doc_CONTENTS="usr/share/doc/${NAME}/fontconfig-[du]* usr/share/man/man3/" # at least one font is needed at runtime and dejavu seems to be the best choice libfontconfig1_REQUIRES="dejavu-fonts libfontconfig-common" libfontconfig1_CONTENTS=" etc/postinstall/zp_${NAME}_cache_1.sh etc/preremove/lib${NAME}1.sh usr/bin/cygfontconfig-1.dll usr/libexec/fc-cache-1.exe " libfontconfig_common_CONTENTS=" --exclude=html --exclude=fontconfig-devel* --exclude=fontconfig-user* etc/fonts/ etc/postinstall/zp_${NAME}_dtd.dash etc/preremove/lib${NAME}-common.sh usr/share/doc/ usr/share/${NAME} usr/share/locale/*/*/fontconfig*.mo usr/share/man/man5/ usr/share/xml/ var/cache/${NAME}/ " libfontconfig_devel_CONTENTS=" usr/include/fontconfig/ usr/lib/libfontconfig.dll.a usr/lib/pkgconfig/fontconfig.pc usr/share/gettext/its/fontconfig.* " PKG_IGNORE="usr/lib/fontconfig.def" DISTCLEANFILES="src/fcobjshash.gperf src/fcobjshash.h" CYGCONF_ARGS=" --enable-docs --with-docdir=/usr/share/doc/${NAME} --with-default-fonts=/usr/share/fonts --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/share/ghostscript/fonts,/usr/local/share/fonts " src_install() { local f cachesuf local msfontsdir=/usr/share/fonts/microsoft local dtddir=/usr/share/xml/fontconfig cd ${B} cyginstall exeinto /usr/libexec newexe ${D}/usr/bin/fc-cache.exe fc-cache-1.exe cd ${S} doman fc-*/fc-*.1 doman doc/*.3 doman doc/*.5 dodoc doc/*.txt keepdir /var/cache/${NAME} cachesuf=$(strings ${D}/usr/bin/cygfontconfig-1.dll | grep -F '.cache-') dodir /etc/postinstall /etc/preremove cat > ${D}/etc/postinstall/zp_fontconfig_cache_1.sh <<_EOF mkdir -p $msfontsdir # remove any broken links (-L -type l together) /usr/bin/find -L $msfontsdir -type l -delete /usr/bin/find "\`cygpath -W\`"/Fonts/ -name '*.ttf' -exec grep -FlZ 'Microsoft Corp' '{}' + | \ while read -d $'\0' f do if [ ! -e "$msfontsdir/\${f##*/}" ] then ln -s "\$f" $msfontsdir/ fi done /usr/libexec/fc-cache-1 -s || : _EOF cat > ${D}/etc/preremove/libfontconfig1.sh <<_EOF rm -f /var/cache/fontconfig/*${cachesuf} _EOF cat > ${D}/etc/postinstall/zp_fontconfig_dtd.dash <<_EOF if [ -x /usr/bin/xmlcatalog ] ; then /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd" ${dtddir}/fonts.dtd /etc/xml/catalog fi _EOF cat > ${D}/etc/preremove/libfontconfig-common.sh <<_EOF if [ -x /usr/bin/xmlcatalog ] ; then /usr/bin/xmlcatalog --noout --del ${dtddir}/fonts.dtd /etc/xml/catalog fi _EOF } SCALLYWAG=deploy
Re: [ITA] fontconfig
On Thu, 22 Feb 2024 19:40:36 +0900 Takashi Yano wrote: > LICENSE="MIT AND Unicode-DFS-2016" More accurately, it seems MIT-Modern-Variant. https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/COPYING -- Takashi Yano
Re: [ITA] fontconfig
On 2024-02-22 03:40, Takashi Yano via Cygwin-apps wrote: CC: Brian, I would like to adopt fontconfig package. Brian, by any chance, do you also want to adopt fontconfig package? I'm asking because I noticed that your commits exist in playground branch. Thanks Takashi-san, But no, please proceed with ITA. I've was looking at a long term issue with unlimited proliferation of cache files (300k+), that I deal with in an hourly cron job. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry
python dependency for build only - ITP required?
Hi cygwiners, I maintain duplicity package that in a new version brought yet another dependency not present in cygwin yet (setuptools_scm) but it is needed only just for build (candidate for BUILD_REQUIRES). What is the best approach? Is it even allowed to download the python dependency via pip install during the cygport or just propose a new package (ITP)? Thank you, Libor
Re: python dependency for build only - ITP required?
On 22/02/2024 20:59, Libor Ukropec via Cygwin-apps wrote: Hi cygwiners, I maintain duplicity package that in a new version brought yet another dependency not present in cygwin yet (setuptools_scm) but it is needed only just for build (candidate for BUILD_REQUIRES). What is the best approach? Is it even allowed to download the python dependency via pip install during the cygport or just propose a new package (ITP)? Thank you, Libor Hi Libor, it is an ITP approved by default as needed for another existing package. I can pack it for you as I manage most of the python packages Let me check Marco
Re: [ITA] fontconfig
On 22/02/2024 11:53, Takashi Yano via Cygwin-apps wrote: On Thu, 22 Feb 2024 19:40:36 +0900 Takashi Yano wrote: LICENSE="MIT AND Unicode-DFS-2016" More accurately, it seems MIT-Modern-Variant. https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/COPYING +++ b/cygwin-pkg-maint +dbus Takashi Yano +fontconfig Takashi Yano +libass Takashi Yano +openjpeg Takashi Yano +orc Takashi Yano +snappy Takashi Yano thanks very much Takashi specially for dbus and fontconfig Regards Marco
Re: python dependency for build only - ITP required?
On 23/02/2024 03:14, Marco Atzeri wrote: On 22/02/2024 20:59, Libor Ukropec via Cygwin-apps wrote: Hi cygwiners, I maintain duplicity package that in a new version brought yet another dependency not present in cygwin yet (setuptools_scm) but it is needed only just for build (candidate for BUILD_REQUIRES). What is the best approach? Is it even allowed to download the python dependency via pip install during the cygport or just propose a new package (ITP)? Thank you, Libor Hi Libor, it is an ITP approved by default as needed for another existing package. I can pack it for you as I manage most of the python packages Let me check Marco am I wrong that there is an undeclared dependency on another python module "build" ? Regards Marco