From 256d52a69df7bdd75bff739f54454216617248a8 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Jul 06 2016 20:09:00 +0000 Subject: 2016-07-06: Retired orphaned package, because it was orphaned for more than six weeks. --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 9378bd4..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -gqradio-1.9.2.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..3c0af1d --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2016-07-06: Retired orphaned package, because it was orphaned for +more than six weeks. + diff --git a/gqradio-1.9.2-ftbfs.patch b/gqradio-1.9.2-ftbfs.patch deleted file mode 100644 index 8ac9506..0000000 --- a/gqradio-1.9.2-ftbfs.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur gqradio-1.9.2/src/ui_fileops.c gqradio-1.9.2-new/src/ui_fileops.c ---- gqradio-1.9.2/src/ui_fileops.c 2005-02-22 20:40:49.000000000 -0300 -+++ gqradio-1.9.2-new/src/ui_fileops.c 2014-05-05 21:52:18.121233702 -0300 -@@ -44,7 +44,7 @@ - gchar *text_l; - - text_l = g_locale_from_utf8(text_utf8, -1, NULL, NULL, NULL); -- printf((text_l) ? text_l : text_utf8); -+ printf("%s", (text_l) ? text_l : text_utf8); - g_free(text_l); - } - diff --git a/gqradio-1.9.2-ld.patch b/gqradio-1.9.2-ld.patch deleted file mode 100644 index 5418996..0000000 --- a/gqradio-1.9.2-ld.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur gqradio-1.9.2/configure gqradio-1.9.2-new/configure ---- gqradio-1.9.2/configure 2005-02-22 21:58:29.000000000 -0300 -+++ gqradio-1.9.2-new/configure 2010-02-25 07:12:37.000000000 -0300 -@@ -4327,6 +4327,7 @@ - echo "$as_me:$LINENO: checking GQRADIO_LIBS" >&5 - echo $ECHO_N "checking GQRADIO_LIBS... $ECHO_C" >&6 - GQRADIO_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.0"` -+ GQRADIO_LIBS=$GQRADIO_LIBS"-lX11 -lm" - echo "$as_me:$LINENO: result: $GQRADIO_LIBS" >&5 - echo "${ECHO_T}$GQRADIO_LIBS" >&6 - else diff --git a/gqradio-1.9.2-radiodev.patch b/gqradio-1.9.2-radiodev.patch deleted file mode 100644 index b3009fd..0000000 --- a/gqradio-1.9.2-radiodev.patch +++ /dev/null @@ -1,118 +0,0 @@ -diff -Naur gqradio-1.9.2/configure gqradio-1.9.2-new/configure ---- gqradio-1.9.2/configure 2005-02-22 21:58:29.000000000 -0300 -+++ gqradio-1.9.2-new/configure 2012-10-25 20:07:45.745138407 -0200 -@@ -4430,8 +4430,8 @@ - - - if test "${ac_cv_header_linux_videodev_h+set}" = set; then -- echo "$as_me:$LINENO: checking for linux/videodev.h" >&5 --echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6 -+ echo "$as_me:$LINENO: checking for linux/videodev2.h" >&5 -+echo $ECHO_N "checking for linux/videodev2.h... $ECHO_C" >&6 - if test "${ac_cv_header_linux_videodev_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - fi -@@ -4439,8 +4439,8 @@ - echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6 - else - # Is the header compilable? --echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5 --echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6 -+echo "$as_me:$LINENO: checking linux/videodev2.h usability" >&5 -+echo $ECHO_N "checking linux/videodev2.h usability... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF -@@ -4448,7 +4448,7 @@ - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_includes_default --#include -+#include - _ACEOF - rm -f conftest.$ac_objext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -@@ -4484,15 +4484,15 @@ - echo "${ECHO_T}$ac_header_compiler" >&6 - - # Is the header present? --echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5 --echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6 -+echo "$as_me:$LINENO: checking linux/videodev2.h presence" >&5 -+echo $ECHO_N "checking linux/videodev2.h presence... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --#include -+#include - _ACEOF - if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 -@@ -4526,25 +4526,25 @@ - # So? What about this header? - case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) -- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: linux/videodev.h: proceeding with the compiler's result" >&2;} -+ { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: accepted by the compiler, rejected by the preprocessor!" >&5 -+echo "$as_me: WARNING: linux/videodev2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: proceeding with the compiler's result" >&5 -+echo "$as_me: WARNING: linux/videodev2.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5 --echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: linux/videodev.h: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&2;} -+ { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: present but cannot be compiled" >&5 -+echo "$as_me: WARNING: linux/videodev2.h: present but cannot be compiled" >&2;} -+ { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: check for missing prerequisite headers?" >&5 -+echo "$as_me: WARNING: linux/videodev2.h: check for missing prerequisite headers?" >&2;} -+ { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: see the Autoconf documentation" >&5 -+echo "$as_me: WARNING: linux/videodev2.h: see the Autoconf documentation" >&2;} -+ { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: section \"Present But Cannot Be Compiled\"" >&5 -+echo "$as_me: WARNING: linux/videodev2.h: section \"Present But Cannot Be Compiled\"" >&2;} -+ { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: proceeding with the preprocessor's result" >&5 -+echo "$as_me: WARNING: linux/videodev2.h: proceeding with the preprocessor's result" >&2;} -+ { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: in the future, the compiler will take precedence" >&5 -+echo "$as_me: WARNING: linux/videodev2.h: in the future, the compiler will take precedence" >&2;} - ( - cat <<\_ASBOX - ## ------------------------------------------ ## -@@ -4555,8 +4555,8 @@ - sed "s/^/$as_me: WARNING: /" >&2 - ;; - esac --echo "$as_me:$LINENO: checking for linux/videodev.h" >&5 --echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6 -+echo "$as_me:$LINENO: checking for linux/videodev2.h" >&5 -+echo $ECHO_N "checking for linux/videodev2.h... $ECHO_C" >&6 - if test "${ac_cv_header_linux_videodev_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else -diff -Naur gqradio-1.9.2/configure.in gqradio-1.9.2-new/configure.in ---- gqradio-1.9.2/configure.in 2005-02-22 21:58:06.000000000 -0300 -+++ gqradio-1.9.2-new/configure.in 2012-10-25 20:06:54.853152918 -0200 -@@ -22,7 +22,7 @@ - AC_SUBST([GQRADIO_LIBS]) - - dnl Video4Linux --AC_CHECK_HEADER(linux/videodev.h, AC_DEFINE(HAVE_VIDEO4LINUX,,[Video4Linux support])) -+AC_CHECK_HEADER(linux/videodev2.h, AC_DEFINE(HAVE_VIDEO4LINUX,,[Video4Linux support])) - - dnl bktr - AC_CHECK_HEADER(machine/ioctl_bt848.h, AC_DEFINE(HAVE_IOCTL_BT848,,[FreeBSD bktr support])) diff --git a/gqradio-1.9.2-v4l2.patch b/gqradio-1.9.2-v4l2.patch deleted file mode 100644 index aa5350e..0000000 --- a/gqradio-1.9.2-v4l2.patch +++ /dev/null @@ -1,147 +0,0 @@ -diff -Naur gqradio-1.9.2/src/io_radio.c gqradio-1.9.2-new/src/io_radio.c ---- gqradio-1.9.2/src/io_radio.c 2005-02-23 01:01:18.000000000 -0300 -+++ gqradio-1.9.2-new/src/io_radio.c 2012-10-25 19:54:14.038303871 -0200 -@@ -37,7 +37,7 @@ - #if defined(linux) && defined(HAVE_VIDEO4LINUX) - #include - #include -- #include -+ #include - #include - #elif defined(HAVE_IOCTL_BT848) - #include -@@ -108,9 +108,9 @@ - printf("Error talking (ioctl) to %s, %s\n", RADIO_DEVICE, strerror(errno)); - } - --static guint radio_calc_steps(struct video_tuner *t) -+static guint radio_calc_steps(struct v4l2_tuner *t) - { -- if ( (t->flags & VIDEO_TUNER_LOW) ) -+ if ( (t->capability & V4L2_TUNER_CAP_LOW) ) - { - return 16000; /* field is KHz */ - } -@@ -149,27 +149,21 @@ - - static gint radio_control_set_mute(gint mute) - { -- struct video_audio av; -+ struct v4l2_control control; - - if (v4l_fd == -1) return FALSE; - -- if (ioctl(v4l_fd, VIDIOCGAUDIO, &av) != 0) -- { -- radio_error_message(); -- return FALSE; -- } -- -+ control.id = V4L2_CID_AUDIO_MUTE; - if (mute) - { -- av.flags |= VIDEO_AUDIO_MUTE; -+ control.value = 1; - } - else - { -- if (av.volume == 0 || radio_volume_boost) av.volume = 65535; -- av.flags &= ~VIDEO_AUDIO_MUTE; -+ control.value = 0; - } - -- if (ioctl(v4l_fd, VIDIOCSAUDIO, &av) != 0) -+ if (ioctl(v4l_fd, VIDIOC_S_CTRL, &control) != 0) - { - radio_error_message(); - return FALSE; -@@ -180,15 +174,15 @@ - - static gint radio_control_set_freq(guint32 freq) - { -- struct video_tuner t; -+ struct v4l2_tuner t; -+ struct v4l2_frequency vfreq; - guint32 f; - guint m; - - if (v4l_fd == -1) return FALSE; - -- t.tuner = 0; -- -- if (ioctl(v4l_fd, VIDIOCGTUNER, &t) == 0) -+ memset(&t, 0, sizeof(struct v4l2_tuner)); -+ if (ioctl(v4l_fd, VIDIOC_G_TUNER, &t) == 0) - { - m = radio_calc_steps(&t); - } -@@ -199,7 +193,10 @@ - } - - f = (guint32)((gfloat)freq / 1000000.0 * m); -- if (ioctl(v4l_fd, VIDIOCSFREQ, &f) != 0) -+ vfreq.tuner = 0; -+ vfreq.type = V4L2_TUNER_RADIO; -+ vfreq.frequency = f; -+ if (ioctl(v4l_fd, VIDIOC_S_FREQUENCY, &vfreq) != 0) - { - radio_error_message(); - return FALSE; -@@ -239,7 +236,7 @@ - - static gint radio_real_test(void) - { -- struct video_tuner t; -+ struct v4l2_tuner t; - - if (!radio_device) radio_device = g_strdup(RADIO_DEVICE); - -@@ -256,9 +253,8 @@ - return FALSE; - } - -- t.tuner = 0; -- -- if (ioctl(v4l_fd, VIDIOCGTUNER, &t) == 0) -+ memset(&t, 0, sizeof(struct v4l2_tuner)); -+ if (ioctl(v4l_fd, VIDIOC_G_TUNER, &t) == 0) - { - guint g; - -@@ -281,19 +277,19 @@ - /* stereo is 0 or 1, strength is 0 to 100 (%) */ - static gint radio_real_status(gint *stereo, gint *strength) - { -- struct video_tuner t; -- struct video_audio av; -+ struct v4l2_tuner t; - - if (v4l_fd == -1 || !stereo || !strength) return FALSE; - - /* stereo */ - -- if (ioctl(v4l_fd, VIDIOCGAUDIO, &av) != 0) -+ memset(&t, 0, sizeof(struct v4l2_tuner)); -+ if (ioctl(v4l_fd, VIDIOC_G_TUNER, &t) != 0) - { - radio_error_message(); - return FALSE; - } -- if ( (av.mode & VIDEO_SOUND_STEREO) ) -+ if ( (t.audmode & V4L2_TUNER_MODE_STEREO) ) - { - *stereo = TRUE; - } -@@ -304,12 +300,6 @@ - - /* strength */ - -- t.tuner = 0; -- if (ioctl(v4l_fd, VIDIOCGTUNER, &t) != 0) -- { -- radio_error_message(); -- return FALSE; -- } - *strength = (double)t.signal / 65535.0 * 100.0; /* 16bit scale */ - - return TRUE; diff --git a/gqradio.spec b/gqradio.spec deleted file mode 100644 index 384e9e4..0000000 --- a/gqradio.spec +++ /dev/null @@ -1,117 +0,0 @@ -Summary: Skinned radio tuner -Name: gqradio -Version: 1.9.2 -Release: 16%{?dist} -License: GPL+ -URL: http://gqmpeg.sourceforge.net -Group: Applications/Multimedia -Source0: http://download.sourceforge.net/gqmpeg/gqradio-%{version}.tar.gz -Patch0: gqradio-1.9.2-radiodev.patch -Patch1: gqradio-1.9.2-ld.patch -Patch2: gqradio-1.9.2-v4l2.patch -Patch3: gqradio-1.9.2-ftbfs.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: desktop-file-utils, gettext -BuildRequires: gtk2-devel >= 2.4 - -%description -Radio tuner with themes. -Interfaces with video4linux compatible radio tuner cards. - -%prep -%setup -q -%patch0 -p1 -b .radiodev -%patch1 -p1 -b .v4l2 -%patch2 -p1 -b .ld -%patch3 -p1 -b .ftbfs - -for i in ./SKIN-SPECS ; do - iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_" - mv "${i}_" "$i" -done - -%build -%configure -%{__make} %{?_smp_mflags} - -%install -rm -rf %{buildroot} - -%{__make} DESTDIR=%{buildroot} install - -desktop-file-install \ - --delete-original \ - --vendor "" \ - --remove-key="Info" \ - --remove-key="Info[fr]" \ - --dir %{buildroot}%{_datadir}/applications \ - %{name}.desktop - -%find_lang %{name} - -%clean -rm -rf %{buildroot} - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS README ChangeLog COPYING README TODO SKIN-SPECS -%{_bindir}/gqradio -%{_datadir}/gqradio -%{_datadir}/applications/gqradio.desktop -%{_datadir}/pixmaps/gqradio.png -%{_docdir}/%{name}-%{version}/* - -%changelog -* Wed Feb 03 2016 Fedora Release Engineering - 1.9.2-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 1.9.2-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Aug 16 2014 Fedora Release Engineering - 1.9.2-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 1.9.2-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon May 05 2014 Paulo Roma - 1.9.2-12 -- Added docdir files. -- Applied ftfbs patch. - -* Thu Feb 14 2013 Fedora Release Engineering - 1.9.2-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Oct 25 2012 Paulo Roma - 1.9.2-10 -- Applied gqradio-1.9.2-radiodev.patch - -* Fri Jan 13 2012 Fedora Release Engineering - 1.9.2-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Dec 06 2011 Adam Jackson - 1.9.2-8 -- Rebuild for new libpng - -* Tue Feb 08 2011 Fedora Release Engineering - 1.9.2-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - - -* Thu Feb 25 2010 Paulo Roma 1.9.2-6 -- Changed license to GPL+ -- Removed INSTALL from %%doc. - -* Thu Feb 25 2010 Paulo Roma 1.9.2-5 -- Fixed FTBFS with the new ld (rhbz#564863) - -* Sun Feb 14 2010 Paulo Roma 1.9.2-4 -- Changed %%name for %%{name} - -* Sat Dec 05 2009 Paulo Roma 1.9.2-3 -- Using find_lang. -- Patched for v4l2. - -* Mon Feb 05 2007 Paulo Roma 1.9.2-2 -- Rebuilt for Fedora 6. - -* Fri Mar 03 2006 Paulo Roma 1.9.2-1 -- Initial spec file. -- Built for Fedora 4. - diff --git a/sources b/sources deleted file mode 100644 index 1274b7a..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -10fded1c080cadd1b260a592772bcbb6 gqradio-1.9.2.tar.gz