Is it possible to get alarm-clock added back into the repos?

Everything about X, Gnome, KDE, ... and everything running on it

Is it possible to get alarm-clock added back into the repos?

Postby kerryhall » 2020-09-04 21:39

I recently upgraded to Debian 10 from Debian 8.

I held off for so long as I was afraid of reduced functionality in a new system, and sadly this appears to be the case.

I used to use this package for years:

https://packages.debian.org/jessie/utils/alarm-clock

Incredibly useful and extremely basic use case.

Unfortunately it is no longer provided in the repos. Is there any way to get this beloved package back into the repos?
kerryhall
 
Posts: 195
Joined: 2008-08-19 11:06

Re: Is it possible to get alarm-clock added back into the re

Postby cuckooflew » 2020-09-04 22:14

It might be possible. As for how, well let's see:
https://www.startpage.com/do/dsearch?query=How+to+get+a+program+included+in+Debian+packages&cat=web&pl=ext-ff&language=english&extVersion=1.3.0
The best one, it looks like to me: https://www.debian.org/doc/manuals/distribute-deb/distribute-deb.html#packaging-yourself
The Path to Take

To integrate a software product with Debian, first you need to package it. You can either do that yourself, or you can ask a Debian developer to do that for you. In either case, you'll end up with a package in DEB format; you can then distribute it yourself or add it to Debian, or both.


The entire process is not simple, probably first you should find out why it was removed, you can do that by checking the information on the package:
https://tracker.debian.org/news/726034/removed-125-12-from-unstable/
alarm-clock | 1.2.5-1.2 | source, amd64, armel, armhf, i386, kfreebsd-amd64, kfreebsd-i386, mips, mips64el, mipsel, powerpc, ppc64el, s390x
alarm-clock | 1.2.5-1.2+b1 | hurd-i386

------------------- Reason -------------------
RoQA; dead upstream, depends on legacy libs
----------------------------------------------

https://tracker.debian.org/pkg/alarm-clock
Shows who the maintainer is and the e-mail, so you could simply ask them.
Or
Look at the right side of the page: https://packages.debian.org/jessie/utils/alarm-clock
There are links to the maintaners e-mail, bug reports, etc... and a list of similar packages.
Similar packages:

alarm-clock-applet
taskcoach
kalarm
php-horde-alarm
sanduhr
wyrd
dclock
tkremind
kde-notification-colibri
swisswatch
banshee-extension-alarm
Last edited by cuckooflew on 2020-09-05 03:18, edited 1 time in total.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
cuckooflew
 
Posts: 683
Joined: 2018-05-10 19:34
Location: Some where out west

Re: Is it possible to get alarm-clock added back into the re

Postby CwF » 2020-09-04 23:18

You may mean you moved from 8 to a fresh 10. If you had upgraded in place you likely would have been able to keep it. It's dependencies were upgraded and the maintainer has not updated the build. I looked, and those dependencies can likely exist side by side with the newer versions. If you can think through it, gdebi can do this for you. Of course the masters will disapprove, who cares.

Specifically libgstreamer0.10-0 needs manually installed and tested for coexistence.
https://packages.debian.org/jessie/libgstreamer0.10-0
CwF
 
Posts: 767
Joined: 2018-06-20 15:16

Re: Is it possible to get alarm-clock added back into the re

Postby stevepusser » 2020-09-05 02:45

If you're using GNOME, gnome-clocks is probably what you want.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 11983
Joined: 2009-10-06 05:53

Re: Is it possible to get alarm-clock added back into the re

Postby kedaha » 2020-09-05 06:03

You could just download the alarm-clock binary package directly from jessie and install it when all dependencies are satisfied, at least on my system. Or try and build it from source but stability will hardly be compromised by installing one oldoldstable package.
However, I tried it myself after reading your post, set an alarm but for some reason I didn't hear anything. On my mate desktop.
Code: Select all
kedaha@debian:~$ /usr/bin/alarmclock

(alarmclock:3006): GLib-GObject-CRITICAL **: 08:34:59.807: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(alarmclock:3006): GStreamer-CRITICAL **: 08:34:59.808: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(alarmclock:3006): GStreamer-CRITICAL **: 08:34:59.808: gst_bus_add_watch_full: assertion 'GST_IS_BUS (bus)' failed

(alarmclock:3006): GStreamer-CRITICAL **: 08:34:59.808: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

Don't know what that's all about—see CwF's post above about libgstreamer0.10-0— but at least the applet shows up in the upper panel. Would be nice if it were available in the current repository.
"Please accept my resignation. I don’t care to belong to any club that will have me as a member".—Groucho Marx
User avatar
kedaha
 
Posts: 3141
Joined: 2008-05-24 12:26

Re: Is it possible to get alarm-clock added back into the re

Postby 4D696B65 » 2020-09-05 14:08

kerryhall wrote:I recently upgraded to Debian 10 from Debian 8.

I held off for so long as I was afraid of reduced functionality in a new system, and sadly this appears to be the case.

I used to use this package for years:

https://packages.debian.org/jessie/utils/alarm-clock

Incredibly useful and extremely basic use case.

Unfortunately it is no longer provided in the repos. Is there any way to get this beloved package back into the repos?

If you are using gnome there is gnome-clocks.
https://packages.debian.org/buster/gnome-clocks

xfce4 has xfce4-timer-plugin.
https://packages.debian.org/buster/xfce4-timer-plugin
User avatar
4D696B65
 
Posts: 2486
Joined: 2009-06-28 06:09

Re: Is it possible to get alarm-clock added back into the re

Postby Head_on_a_Stick » 2020-09-05 18:50

kerryhall wrote:Is there any way to get this beloved package back into the repos?

No. It relies on version 0.10 of gstreamer and that was removed from Debian long ago because it's a nightmare in respect of security issues (for example https://scarybeastsecurity.blogspot.com/2016/11/0day-exploit-compromising-linux-desktop.html).
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12488
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Is it possible to get alarm-clock added back into the re

Postby oswaldkelso » 2020-09-05 22:10

This is what I tend to use

wakeywakey.sh

Code: Select all
#!/bin/bash
echo
echo The time format = hours colon minutes e.g 07:30 for 7:30AM!
echo
printf "What time are you setting this alarm for? "
read date
echo
echo Okay!  Alarm set for $(date --date="$date")
sleep $(( $(date --date="$date" +%s) - $(date +%s) ));
echo
echo Rise n shine!
echo
while true; do
  /usr/bin/ogg123 ~/free-software-song.ogg
  sleep 1
done


Usage:
make sure the script is executable, open a terminal in a directory where you stuck the script or make a link to it'. Start the script
Code: Select all
wakeywakey.sh
and wait for your favourite tune to blast you in to the NOW!

Obviously you can change your player and the path to your sound file. I use a "Rock" (damn near heavy metal version of the free-software-song) and don't forget to set your volume to max!

test first so you don't miss that cancer treatment/dole appointment then enjoy
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
User avatar
oswaldkelso
 
Posts: 1269
Joined: 2005-07-26 23:20
Location: UK

Re: Is it possible to get alarm-clock added back into the re

Postby CwF » 2020-09-05 23:02

I just have a line in my user cron file. Almost always commented out, but it does all such things and the tv schedule.
CwF
 
Posts: 767
Joined: 2018-06-20 15:16

Re: Is it possible to get alarm-clock added back into the re

Postby kedaha » 2020-09-06 12:32

kerryhall wrote:Is there any way to get this beloved package back into the repos?

Head_on_a_Stick wrote:No. It relies on version 0.10 of gstreamer and that was removed from Debian long ago because it's a nightmare in respect of security issues (for example https://scarybeastsecurity.blogspot.com/2016/11/0day-exploit-compromising-linux-desktop.html).

Well, that puts paid to any idea of building it from source. :(
Just to add to that, I see at github.com/joh/alarm-clock it's no longer maintained and hasn't been for about four or five years.
LOOKING FOR MAINTAINERS
Unfortunately, this project is no longer maintained. If you're interested in maintaining Alarm Clock, please get in touch: [ ...]

So the only way to get the package back into the repos would be to update it and maintain it oneself.
"Please accept my resignation. I don’t care to belong to any club that will have me as a member".—Groucho Marx
User avatar
kedaha
 
Posts: 3141
Joined: 2008-05-24 12:26

Re: Is it possible to get alarm-clock added back into the re

Postby kerryhall » 2020-09-11 02:25

Thank you everyone for the help here!

Unfortunately gnome-clocks has two major issues.

1. No ability to easily change the alarm sound. It's possible, but it's an extremely convoluted method.

2. More crucially, no support for multiple sounds for multiple alarms. ie, alarm 1 has sound x, alarm 2 has sound y, etc.

I have also tried qtalarm but I could not get it to compile. I think the issue is lack of qt4 support in Debian 10.
kerryhall
 
Posts: 195
Joined: 2008-08-19 11:06

Re: Is it possible to get alarm-clock added back into the re

Postby kerryhall » 2020-09-19 01:36

Head_on_a_Stick wrote:No. It relies on version 0.10 of gstreamer and that was removed from Debian long ago because it's a nightmare in respect of security issues (for example https://scarybeastsecurity.blogspot.com/2016/11/0day-exploit-compromising-linux-desktop.html).


I'm definitely not a fan of gstreamer for that reason, but is gstreamer really needed to play a mp3?

I suppose the issue is that work must be done to port alarm-clock from gstreamer over to any other library that is capable of playing mp3s?
kerryhall
 
Posts: 195
Joined: 2008-08-19 11:06

Re: Is it possible to get alarm-clock added back into the re

Postby kedaha » 2020-09-21 13:13

kerryhall wrote:I suppose the issue is that work must be done to port alarm-clock from gstreamer over to any other library that is capable of playing mp3s?

Or update it to the current version of gstreamer?
But looks like it would involve more than that to judge from the News for package alarm-clock-applet from October of last year:
alarm-clock-applet was removed from Testing a year and a half ago
because it depends on libunique, an unmaintained GNOME 2 library. The
Debian GNOME team is trying to remove libunique from Debian.

There has been basically no activity on the bug. There have been no
uploads in 4 years.

Please remove alarm-clock-applet from Debian.
"Please accept my resignation. I don’t care to belong to any club that will have me as a member".—Groucho Marx
User avatar
kedaha
 
Posts: 3141
Joined: 2008-05-24 12:26


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable