Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2022 15:59:57 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 19c038c2294b - main - audio/hydrogen: Update to v1.1.1
Message-ID:  <202210171559.29HFxvt4033399@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19c038c2294b65213bbe660dbc46c2306a610fcb

commit 19c038c2294b65213bbe660dbc46c2306a610fcb
Author:     Shane <FreeBSD@ShaneWare.Biz>
AuthorDate: 2022-10-17 05:51:41 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2022-10-17 15:55:53 +0000

    audio/hydrogen: Update to v1.1.1
    
    ChangeLog: https://github.com/hydrogen-music/hydrogen/blob/master/ChangeLog#L178
    
    * Bugfixes
      - fix preferences dialog "OK" button behavior
      - fix rewinding to beginning of pattern in pattern mode with no pattern
        inserted in SongEditor
      - fix display of tempo marker while loading a song (introduced in 1.1.0)
      - fix LADSPA issues, most audible on PulseAudio
      - fix window placement when screen sizes change
    
    * Explicitly set latency target for PortAudio (Windows) audio driver, enabling
      much lower audio latency on Windows.
    
    PR:             267137
    Reported by:    FreeBSD@ShaneWare.Biz (maintainer)
---
 audio/hydrogen/Makefile                            |   7 +-
 audio/hydrogen/distinfo                            |   6 +-
 .../hydrogen/files/patch-data_i18n_CMakeLists.txt  |  11 --
 audio/hydrogen/files/patch-src_core_Logger.cpp     |  10 ++
 audio/hydrogen/pkg-plist                           | 146 +++++++++++----------
 5 files changed, 92 insertions(+), 88 deletions(-)

diff --git a/audio/hydrogen/Makefile b/audio/hydrogen/Makefile
index 21d7996e31ed..cc261cbdc3eb 100644
--- a/audio/hydrogen/Makefile
+++ b/audio/hydrogen/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	hydrogen
-DISTVERSION=	1.0.1
-PORTREVISION=	1
+DISTVERSION=	1.1.1
 CATEGORIES=	audio
 
 MAINTAINER=	FreeBSD@ShaneWare.Biz
@@ -18,6 +17,7 @@ USES=		cmake compiler:c++11-lang desktop-file-utils pkgconfig \
 USE_QT=		core gui network widgets xml xmlpatterns buildtools:build \
 		linguisttools:build qmake:build testlib:build
 USE_LDCONFIG=	yes
+CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR=${LOCALBASE}/share/man
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	hydrogen-music
@@ -71,12 +71,11 @@ RDF_LIB_DEPENDS=	liblrdf.so:textproc/liblrdf
 
 TEST_CMAKE_BOOL=	WANT_CPPUNIT
 TEST_BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/cppunit.pc:devel/cppunit
+TEST_LDFLAGS=		-lexecinfo
 
 post-patch:
 	@${REINPLACE_CMD} 's|EXISTS(tar|EXISTS(${LOCALBASE}/lib/libtar.so|g' \
 		${WRKSRC}/CMakeLists.txt
-	@${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' \
-		${WRKSRC}/data/i18n/CMakeLists.txt
 
 do-test-TEST-on:
 	cd ${WRKSRC} && ./src/tests/tests
diff --git a/audio/hydrogen/distinfo b/audio/hydrogen/distinfo
index 3d1c9158aaf6..7379010e134e 100644
--- a/audio/hydrogen/distinfo
+++ b/audio/hydrogen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608443952
-SHA256 (hydrogen-music-hydrogen-1.0.1_GH0.tar.gz) = de6e8ba259ff340037f24e80f8b34592138603b080b02cfa3214ef9b0d66ac63
-SIZE (hydrogen-music-hydrogen-1.0.1_GH0.tar.gz) = 11501583
+TIMESTAMP = 1665886685
+SHA256 (hydrogen-music-hydrogen-1.1.1_GH0.tar.gz) = aba28a11a3dfb3eaf1a831817990b7dfe49343e09119c83717e2e8878179b5ca
+SIZE (hydrogen-music-hydrogen-1.1.1_GH0.tar.gz) = 11417837
diff --git a/audio/hydrogen/files/patch-data_i18n_CMakeLists.txt b/audio/hydrogen/files/patch-data_i18n_CMakeLists.txt
deleted file mode 100644
index 71735fafcb3c..000000000000
--- a/audio/hydrogen/files/patch-data_i18n_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- data/i18n/CMakeLists.txt.orig	2020-12-20 08:51:14.629324000 -0800
-+++ data/i18n/CMakeLists.txt	2020-12-20 08:51:25.442169000 -0800
-@@ -7,7 +7,7 @@
- ADD_CUSTOM_TARGET(translations ALL DEPENDS ${QM_FILES})
- 
- IF(MINGW)
--	INSTALL(FILES ${QM_FILES} DESTINATION "data/i18n")
-+	INSTALL(FILES ${QM_FILES} DESTINATION "%%DATADIR%%/data/i18n")
- ELSE()
- 	INSTALL(FILES ${QM_FILES} DESTINATION "${H2_SYS_PATH}/data/i18n")
- ENDIF()
diff --git a/audio/hydrogen/files/patch-src_core_Logger.cpp b/audio/hydrogen/files/patch-src_core_Logger.cpp
new file mode 100644
index 000000000000..73f4d717cc90
--- /dev/null
+++ b/audio/hydrogen/files/patch-src_core_Logger.cpp
@@ -0,0 +1,10 @@
+--- src/core/Logger.cpp.orig	2022-10-17 00:49:12 UTC
++++ src/core/Logger.cpp
+@@ -65,6 +65,7 @@ void* loggerThread_func( void* param ) {
+ 	Logger::queue_t::iterator it, last;
+ 
+ 	while ( logger->__running ) {
++		pthread_mutex_lock( &logger->__mutex );
+ 		pthread_cond_wait( &logger->__messages_available, &logger->__mutex );
+ 		pthread_mutex_unlock( &logger->__mutex );
+ 		if( !queue->empty() ) {
diff --git a/audio/hydrogen/pkg-plist b/audio/hydrogen/pkg-plist
index 14485ac0dcd0..2f4b910b6ece 100644
--- a/audio/hydrogen/pkg-plist
+++ b/audio/hydrogen/pkg-plist
@@ -1,76 +1,78 @@
 bin/h2cli
 bin/h2player
 bin/hydrogen
-include/hydrogen/IO/AlsaAudioDriver.h
-include/hydrogen/IO/AlsaMidiDriver.h
-include/hydrogen/IO/AudioOutput.h
-include/hydrogen/IO/CoreAudioDriver.h
-include/hydrogen/IO/CoreMidiDriver.h
-include/hydrogen/IO/DiskWriterDriver.h
-include/hydrogen/IO/FakeDriver.h
-include/hydrogen/IO/jack_audio_driver.h
-include/hydrogen/IO/JackMidiDriver.h
-include/hydrogen/IO/MidiCommon.h
-include/hydrogen/IO/MidiInput.h
-include/hydrogen/IO/MidiOutput.h
-include/hydrogen/IO/NullDriver.h
-include/hydrogen/IO/OssDriver.h
-include/hydrogen/IO/PortAudioDriver.h
-include/hydrogen/IO/PortMidiDriver.h
-include/hydrogen/IO/PulseAudioDriver.h
-include/hydrogen/IO/TransportInfo.h
-include/hydrogen/LashClient.h
-include/hydrogen/LocalFileMng.h
-include/hydrogen/Preferences.h
-include/hydrogen/audio_engine.h
-include/hydrogen/automation_path_serializer.h
-include/hydrogen/basics/adsr.h
-include/hydrogen/basics/automation_path.h
-include/hydrogen/basics/drumkit.h
-include/hydrogen/basics/drumkit_component.h
-include/hydrogen/basics/instrument.h
-include/hydrogen/basics/instrument_component.h
-include/hydrogen/basics/instrument_layer.h
-include/hydrogen/basics/instrument_list.h
-include/hydrogen/basics/note.h
-include/hydrogen/basics/pattern.h
-include/hydrogen/basics/pattern_list.h
-include/hydrogen/basics/playlist.h
-include/hydrogen/basics/sample.h
-include/hydrogen/basics/song.h
 include/hydrogen/config.h
-include/hydrogen/core_action_controller.h
-include/hydrogen/event_queue.h
-include/hydrogen/fx/Effects.h
-include/hydrogen/fx/LadspaFX.h
-include/hydrogen/globals.h
-include/hydrogen/h2_exception.h
-include/hydrogen/helpers/files.h
-include/hydrogen/helpers/filesystem.h
-include/hydrogen/helpers/legacy.h
-include/hydrogen/helpers/xml.h
-include/hydrogen/hydrogen.h
-include/hydrogen/lilypond/lilypond.h
-include/hydrogen/logger.h
-include/hydrogen/midi_action.h
-include/hydrogen/midi_map.h
-include/hydrogen/nsm.h
-include/hydrogen/nsm_client.h
-include/hydrogen/object.h
-include/hydrogen/osc_server.h
-include/hydrogen/rt_clock.h
-include/hydrogen/sampler/Sampler.h
-include/hydrogen/smf/SMF.h
-include/hydrogen/smf/SMFEvent.h
-include/hydrogen/synth/Synth.h
-include/hydrogen/timehelper.h
-include/hydrogen/timeline.h
-include/hydrogen/version.h
-lib/libhydrogen-core-1.0.1.so
+include/hydrogen/core/AudioEngine.h
+include/hydrogen/core/AutomationPathSerializer.h
+include/hydrogen/core/Basics/Adsr.h
+include/hydrogen/core/Basics/AutomationPath.h
+include/hydrogen/core/Basics/Drumkit.h
+include/hydrogen/core/Basics/DrumkitComponent.h
+include/hydrogen/core/Basics/ExponentialTables.h
+include/hydrogen/core/Basics/Instrument.h
+include/hydrogen/core/Basics/InstrumentComponent.h
+include/hydrogen/core/Basics/InstrumentLayer.h
+include/hydrogen/core/Basics/InstrumentList.h
+include/hydrogen/core/Basics/Note.h
+include/hydrogen/core/Basics/Pattern.h
+include/hydrogen/core/Basics/PatternList.h
+include/hydrogen/core/Basics/Playlist.h
+include/hydrogen/core/Basics/Sample.h
+include/hydrogen/core/Basics/Song.h
+include/hydrogen/core/CoreActionController.h
+include/hydrogen/core/EventQueue.h
+include/hydrogen/core/FX/Effects.h
+include/hydrogen/core/FX/LadspaFX.h
+include/hydrogen/core/Globals.h
+include/hydrogen/core/H2Exception.h
+include/hydrogen/core/Helpers/Files.h
+include/hydrogen/core/Helpers/Filesystem.h
+include/hydrogen/core/Helpers/Legacy.h
+include/hydrogen/core/Helpers/Translations.h
+include/hydrogen/core/Helpers/Xml.h
+include/hydrogen/core/Hydrogen.h
+include/hydrogen/core/IO/AlsaAudioDriver.h
+include/hydrogen/core/IO/AlsaMidiDriver.h
+include/hydrogen/core/IO/AudioOutput.h
+include/hydrogen/core/IO/CoreAudioDriver.h
+include/hydrogen/core/IO/CoreMidiDriver.h
+include/hydrogen/core/IO/DiskWriterDriver.h
+include/hydrogen/core/IO/FakeDriver.h
+include/hydrogen/core/IO/JackAudioDriver.h
+include/hydrogen/core/IO/JackMidiDriver.h
+include/hydrogen/core/IO/MidiCommon.h
+include/hydrogen/core/IO/MidiInput.h
+include/hydrogen/core/IO/MidiOutput.h
+include/hydrogen/core/IO/NullDriver.h
+include/hydrogen/core/IO/OssDriver.h
+include/hydrogen/core/IO/PortAudioDriver.h
+include/hydrogen/core/IO/PortMidiDriver.h
+include/hydrogen/core/IO/PulseAudioDriver.h
+include/hydrogen/core/IO/TransportInfo.h
+include/hydrogen/core/Lash/LashClient.h
+include/hydrogen/core/Lilipond/Lilypond.h
+include/hydrogen/core/LocalFileMng.h
+include/hydrogen/core/Logger.h
+include/hydrogen/core/MidiAction.h
+include/hydrogen/core/MidiMap.h
+include/hydrogen/core/Nsm.h
+include/hydrogen/core/NsmClient.h
+include/hydrogen/core/Object.h
+include/hydrogen/core/OscServer.h
+include/hydrogen/core/Preferences.h
+include/hydrogen/core/Sampler/Interpolation.h
+include/hydrogen/core/Sampler/Sampler.h
+include/hydrogen/core/Smf/SMF.h
+include/hydrogen/core/Smf/SMFEvent.h
+include/hydrogen/core/Synth/Synth.h
+include/hydrogen/core/Timehelper.h
+include/hydrogen/core/Timeline.h
+include/hydrogen/core/Version.h
+include/hydrogen/core/rt_clock.h
+lib/libhydrogen-core-1.1.1.so
 share/man/man1/hydrogen.1.gz
 share/appdata/org.hydrogenmusic.Hydrogen.appdata.xml
 share/applications/org.hydrogenmusic.Hydrogen.desktop
-share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
 %%DATADIR%%/data/DefaultSong.h2song
 %%DATADIR%%/data/click.wav
 %%DATADIR%%/data/demo_songs/GM_kit_Diddley.h2song
@@ -190,6 +192,8 @@ share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
 %%DATADIR%%/data/i18n/hydrogen_cs.qm
 %%DATADIR%%/data/i18n/hydrogen_de.qm
 %%DATADIR%%/data/i18n/hydrogen_el.qm
+%%DATADIR%%/data/i18n/hydrogen_en.qm
+%%DATADIR%%/data/i18n/hydrogen_en_GB.qm
 %%DATADIR%%/data/i18n/hydrogen_es.qm
 %%DATADIR%%/data/i18n/hydrogen_fr.qm
 %%DATADIR%%/data/i18n/hydrogen_gl.qm
@@ -204,6 +208,7 @@ share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
 %%DATADIR%%/data/i18n/hydrogen_sr.qm
 %%DATADIR%%/data/i18n/hydrogen_sv.qm
 %%DATADIR%%/data/i18n/hydrogen_uk.qm
+%%DATADIR%%/data/i18n/hydrogen_zh_CN.qm
 %%DATADIR%%/data/img/gray/about/aboutLogo.png
 %%DATADIR%%/data/img/gray/audiFileBrowser/go-home.png
 %%DATADIR%%/data/img/gray/audiFileBrowser/go-up.png
@@ -230,7 +235,6 @@ share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
 %%DATADIR%%/data/img/gray/instrumentEditor/editLayer_on.png
 %%DATADIR%%/data/img/gray/instrumentEditor/editLayer_over.png
 %%DATADIR%%/data/img/gray/instrumentEditor/instrumentTab.png
-%%DATADIR%%/data/img/gray/instrumentEditor/instrumentTab_new.png
 %%DATADIR%%/data/img/gray/instrumentEditor/instrumentTab_top.png
 %%DATADIR%%/data/img/gray/instrumentEditor/instrument_show_off.png
 %%DATADIR%%/data/img/gray/instrumentEditor/instrument_show_on.png
@@ -298,6 +302,8 @@ share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
 %%DATADIR%%/data/img/gray/mixerPanel/mixerline_background_on.png
 %%DATADIR%%/data/img/gray/mixerPanel/mixerline_label_background.png
 %%DATADIR%%/data/img/gray/mixerPanel/mixerline_text_background.png
+%%DATADIR%%/data/img/gray/mixerPanel/openMixerSettings_off.png
+%%DATADIR%%/data/img/gray/mixerPanel/openMixerSettings_over.png
 %%DATADIR%%/data/img/gray/mixerPanel/panFader_background.png
 %%DATADIR%%/data/img/gray/mixerPanel/rotary_center_images.png
 %%DATADIR%%/data/img/gray/mixerPanel/rotary_images.png
@@ -332,6 +338,8 @@ share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
 %%DATADIR%%/data/img/gray/patternEditor/btn_solo_off.png
 %%DATADIR%%/data/img/gray/patternEditor/btn_solo_on.png
 %%DATADIR%%/data/img/gray/patternEditor/editor_top.png
+%%DATADIR%%/data/img/gray/patternEditor/icn_warning.png
+%%DATADIR%%/data/img/gray/patternEditor/icn_warning.svg
 %%DATADIR%%/data/img/gray/patternEditor/instrument_line.png
 %%DATADIR%%/data/img/gray/patternEditor/instrument_line_selected.png
 %%DATADIR%%/data/img/gray/patternEditor/tickPosition.png
@@ -367,9 +375,6 @@ share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
 %%DATADIR%%/data/img/gray/playerControlPanel/btn_rec_off.png
 %%DATADIR%%/data/img/gray/playerControlPanel/btn_rec_on.png
 %%DATADIR%%/data/img/gray/playerControlPanel/btn_rec_over.png
-%%DATADIR%%/data/img/gray/playerControlPanel/btn_recdel_off.png
-%%DATADIR%%/data/img/gray/playerControlPanel/btn_recdel_on.png
-%%DATADIR%%/data/img/gray/playerControlPanel/btn_recdel_over.png
 %%DATADIR%%/data/img/gray/playerControlPanel/btn_rwd_off.png
 %%DATADIR%%/data/img/gray/playerControlPanel/btn_rwd_on.png
 %%DATADIR%%/data/img/gray/playerControlPanel/btn_rwd_over.png
@@ -493,3 +498,4 @@ share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg
 %%DATADIR%%/data/xsd/drumkit.xsd
 %%DATADIR%%/data/xsd/drumkit_pattern.xsd
 %%DATADIR%%/data/xsd/playlist.xsd
+share/icons/hicolor/scalable/apps/org.hydrogenmusic.Hydrogen.svg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210171559.29HFxvt4033399>