This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch main
in repository eradio.

View the commit online.

commit 378311dce017d2711af116f21fe54d4f06171eaa
Author: politebot <[email protected]>
AuthorDate: Wed Oct 22 17:40:39 2025 -0500

    Fix for make distcheck
---
 .gitignore             |  5 +++
 .gitmodules            |  3 --
 Makefile.am            |  9 ++++-
 configure.ac           |  2 +-
 eradio.spec            |  4 ++-
 src/Makefile.am        | 24 +++++++++-----
 src/tests/test_basic.c | 89 --------------------------------------------------
 vendor/unity           |  1 -
 8 files changed, 33 insertions(+), 104 deletions(-)

diff --git a/.gitignore b/.gitignore
index 4274baa..597c553 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,11 @@ dist/
 out/
 bin/
 
+# Test dependencies
+vendor/
+tests/.deps/
+tests/test_basic
+
 # Autotools generated files
 Makefile
 Makefile.in
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 31f22c8..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "vendor/unity"]
-	path = vendor/unity
-	url = ""
diff --git a/Makefile.am b/Makefile.am
index 5910708..5eb928c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,10 @@
 SUBDIRS = src data
 
-EXTRA_DIST = LICENSE README.md 
+EXTRA_DIST = LICENSE README.md
+
+# Clean distribution from test files and vendor dependencies
+dist-hook:
+	@echo "Cleaning distribution..."
+	rm -rf $(distdir)/src/tests
+	rm -rf $(distdir)/src/vendor
+	@echo "Distribution cleaned successfully" 
diff --git a/configure.ac b/configure.ac
index 13de8e0..01b8429 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([eradio], [0.0.14], [])
+AC_INIT([eradio], [0.0.15], [])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
 AC_PROG_CC
 AC_CONFIG_HEADERS([config.h])
diff --git a/eradio.spec b/eradio.spec
index c4e69b9..8e0ce69 100644
--- a/eradio.spec
+++ b/eradio.spec
@@ -1,5 +1,5 @@
 Name:           eradio
-Version:        0.0.14
+Version:        0.0.15
 Release:        1%{?dist}
 Summary:        A simple EFL internet radio player
 License:        MIT
@@ -44,6 +44,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 %doc README.md
 
 %changelog
+* Mon Oct 22 2025 1wErt3r <[email protected]> - 0.0.15
+- Add GOOM visualizer 
 * Mon Oct 20 2025 1wErt3r <[email protected]> - 0.0.14
 - Show bitrate and other station metadata in search results 
 * Fri Oct 17 2025 1wErt3r <[email protected]> - 0.0.13
diff --git a/src/Makefile.am b/src/Makefile.am
index f8849b2..cb2e08c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,13 +6,21 @@ eradio_SOURCES = main.c ui.c radio_player.c station_list.c http.c favorites.c vi
 eradio_CFLAGS = $(EFL_CFLAGS) $(LIBXML_CFLAGS)
 eradio_LDADD = $(EFL_LIBS) $(LIBXML_LIBS)
 
-# Test program with Unity framework
-noinst_PROGRAMS = test_basic
+# Tests are only built in development, not in distribution
+# The test files are excluded from the distribution package
 
-# Unity framework sources
-UNITY_SRC = $(top_srcdir)/vendor/unity/src/unity.c
-UNITY_HDR = $(top_srcdir)/vendor/unity/src/unity.h
+# Exclude test files and vendor directory from distribution
+nodist_noinst_HEADERS =
 
-test_basic_SOURCES = tests/test_basic.c appdata.h $(UNITY_SRC)
-test_basic_CFLAGS = $(EFL_CFLAGS) -I$(top_srcdir)/vendor/unity/src
-test_basic_LDADD = $(EFL_LIBS_NO_CON)
\ No newline at end of file
+# Don't include test or vendor files in distribution
+EXTRA_DIST =
+
+# Ensure tests and vendor are never included in distribution
+dist_noinst_DATA =
+
+# Clean any remaining test/vendor files
+dist-hook:
+	@echo "Cleaning distribution..."
+	rm -rf $(distdir)/tests
+	rm -rf $(distdir)/vendor
+	@echo "Distribution cleaned successfully"
\ No newline at end of file
diff --git a/src/tests/test_basic.c b/src/tests/test_basic.c
deleted file mode 100644
index 1e4bf4f..0000000
--- a/src/tests/test_basic.c
+++ /dev/null
@@ -1,89 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-// Include Unity testing framework
-#include "unity.h"
-
-// Include the core data structures we want to test
-#include "../appdata.h"
-
-// setUp and tearDown functions (optional)
-void setUp(void) {
-    // This runs before each test
-}
-
-void tearDown(void) {
-    // This runs after each test
-}
-
-// Test functions
-void test_station_creation(void) {
-    Station station = {0};
-
-    station.name = "Test Radio Station";
-    station.url = ""
-    station.bitrate = 128;
-    station.favorite = EINA_TRUE;
-
-    TEST_ASSERT_NOT_NULL(station.name);
-    TEST_ASSERT_EQUAL_STRING("Test Radio Station", station.name);
-    TEST_ASSERT_EQUAL(128, station.bitrate);
-    TEST_ASSERT_EQUAL(EINA_TRUE, station.favorite);
-}
-
-void test_view_mode_enum(void) {
-    ViewMode search_mode = VIEW_SEARCH;
-    ViewMode favorites_mode = VIEW_FAVORITES;
-
-    TEST_ASSERT_EQUAL(0, search_mode);
-    TEST_ASSERT_EQUAL(1, favorites_mode);
-    TEST_ASSERT_NOT_EQUAL(search_mode, favorites_mode);
-}
-
-void test_appdata_structure(void) {
-    AppData appdata = {0};
-
-    // Initialize some basic fields
-    appdata.playing = EINA_FALSE;
-    appdata.filters_visible = EINA_TRUE;
-    appdata.view_mode = VIEW_SEARCH;
-    appdata.loading_requests = 5;
-
-    TEST_ASSERT_EQUAL(EINA_FALSE, appdata.playing);
-    TEST_ASSERT_EQUAL(EINA_TRUE, appdata.filters_visible);
-    TEST_ASSERT_EQUAL(VIEW_SEARCH, appdata.view_mode);
-    TEST_ASSERT_EQUAL(5, appdata.loading_requests);
-}
-
-void test_station_string_fields(void) {
-    Station station = {0};
-
-    station.name = "Jazz FM";
-    station.url = ""
-    station.favicon = "http://jazz.fm/icon.png";
-    station.stationuuid = "1234-5678-91011";
-    station.country = "USA";
-    station.language = "English";
-    station.codec = "MP3";
-    station.tags = "jazz,music";
-
-    TEST_ASSERT_EQUAL_STRING("Jazz FM", station.name);
-    TEST_ASSERT_EQUAL_STRING("http://jazz.fm/stream.mp3", station.url);
-    TEST_ASSERT_EQUAL_STRING("USA", station.country);
-    TEST_ASSERT_EQUAL_STRING("English", station.language);
-    TEST_ASSERT_EQUAL_STRING("MP3", station.codec);
-    TEST_ASSERT_EQUAL_STRING("jazz,music", station.tags);
-}
-
-// Main test runner
-int main(void) {
-    UNITY_BEGIN();
-
-    RUN_TEST(test_station_creation);
-    RUN_TEST(test_view_mode_enum);
-    RUN_TEST(test_appdata_structure);
-    RUN_TEST(test_station_string_fields);
-
-    return UNITY_END();
-}
\ No newline at end of file
diff --git a/vendor/unity b/vendor/unity
deleted file mode 160000
index 36e9b19..0000000
--- a/vendor/unity
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 36e9b197ec3c36951ec6abf1f57252116e04acc3

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to