debian/ 0000755 0000000 0000000 00000000000 12226743446 007200 5 ustar debian/patches/ 0000755 0000000 0000000 00000000000 12226743461 010624 5 ustar debian/patches/series 0000644 0000000 0000000 00000000446 12226743461 012045 0 ustar fix-Makefile.diff
fix_man.diff
desktop-encoding.diff
notification_ARA-11250_DEB-528451.diff
audio_ARA-10986_DEB-527282.diff
transition-to-libnotify-0.7_DEB-630291.diff
add-to-desktop-islamic-category.diff_DEB-632808.diff
fix-schema-for-ogg-file.diff
link-against-libm.patch
include-ctype.patch
debian/patches/desktop-encoding.diff 0000644 0000000 0000000 00000000565 12130712060 014702 0 ustar Index: minbar-0.2.1/minbar.desktop.in
===================================================================
--- minbar-0.2.1.orig/minbar.desktop.in 2009-08-07 16:56:20.000000000 +0200
+++ minbar-0.2.1/minbar.desktop.in 2009-08-07 16:56:23.000000000 +0200
@@ -1,5 +1,4 @@
[Desktop Entry]
-Encoding=UTF-8
_Name=Minbar Prayer Times
_Comment=Islamic prayer times
Exec=minbar
debian/patches/link-against-libm.patch 0000644 0000000 0000000 00000000625 12130712060 015133 0 ustar Index: minbar-0.2.1/src/Makefile.am
===================================================================
--- minbar-0.2.1.orig/src/Makefile.am 2007-11-17 19:44:58.000000000 -0500
+++ minbar-0.2.1/src/Makefile.am 2013-04-09 00:00:29.760846420 -0400
@@ -20,7 +20,8 @@
minbar_LDADD = @ITL_LIBS@ \
$(MINBAR_LIBS) \
- $(INTLLIBS)
+ $(INTLLIBS) \
+ -lm
if USE_NOTIFY
minbar_LDADD += $(NOTIFY_LIBS)
debian/patches/fix-schema-for-ogg-file.diff 0000644 0000000 0000000 00000003441 12130712060 015740 0 ustar Index: minbar-0.2.1/data/minbar.schemas
===================================================================
--- minbar-0.2.1.orig/data/minbar.schemas 2011-08-03 00:19:31.000000000 +0200
+++ minbar-0.2.1/data/minbar.schemas 2011-08-03 00:19:55.000000000 +0200
@@ -617,7 +617,7 @@
/apps/minbar/athan/normal
minbar
string
- /usr/local/share/minbar/athan.ogg
+ /usr/share/minbar/athan.ogg
Path to athan file.
@@ -672,7 +672,7 @@
/apps/minbar/athan/subh
minbar
string
- /usr/local/share/minbar/athan.ogg
+ /usr/share/minbar/athan.ogg
Path to Subh athan file.
Index: minbar-0.2.1/data/minbar.schemas.in
===================================================================
--- minbar-0.2.1.orig/data/minbar.schemas.in 2011-08-03 00:19:31.000000000 +0200
+++ minbar-0.2.1/data/minbar.schemas.in 2011-08-03 00:20:09.000000000 +0200
@@ -129,7 +129,7 @@
/apps/minbar/athan/normal
minbar
string
- /usr/local/share/minbar/athan.ogg
+ /usr/share/minbar/athan.ogg
Path to athan file.
@@ -140,7 +140,7 @@
/apps/minbar/athan/subh
minbar
string
- /usr/local/share/minbar/athan.ogg
+ /usr/share/minbar/athan.ogg
Path to Subh athan file.
debian/patches/transition-to-libnotify-0.7_DEB-630291.diff 0000644 0000000 0000000 00000001661 12130712060 017770 0 ustar Description: Transition to libnotify 0.7
Bug-Debian: http://bugs.debian.org/630291
Author: أحمد المحمودي (Ahmed El-Mahmoudy)
Index: minbar-0.2.1/src/main.c
===================================================================
--- minbar-0.2.1.orig/src/main.c 2011-08-02 23:34:56.000000000 +0200
+++ minbar-0.2.1/src/main.c 2011-08-02 23:36:12.000000000 +0200
@@ -1239,9 +1239,13 @@
notification = notify_notification_new
(program_name,
NULL,
+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
NULL,
NULL);
notify_notification_attach_to_status_icon (notification, status_icon );
+#else
+ NULL);
+#endif
notify_notification_set_timeout (notification, 8000);
}
#endif
debian/patches/include-ctype.patch 0000644 0000000 0000000 00000000620 12226743502 014404 0 ustar Description: minbar uses the touppper() function, so include ctype.h to fix FTBFS with
-Werror=implicit-function-declaration
Author: Andreas Moog
--- minbar-0.2.1.orig/src/locations-xml.c
+++ minbar-0.2.1/src/locations-xml.c
@@ -19,6 +19,7 @@
#include
#include
+#include
#include
#include
#include
debian/patches/fix-Makefile.diff 0000644 0000000 0000000 00000002606 12130712060 013744 0 ustar Index: minbar-0.2.1/data/Makefile.am
===================================================================
--- minbar-0.2.1.orig/data/Makefile.am 2007-12-23 17:58:00.000000000 +0100
+++ minbar-0.2.1/data/Makefile.am 2011-08-03 00:17:59.000000000 +0200
@@ -22,12 +22,14 @@
endif
EXTRA_DIST = \
- $(schemas_in_files) \
- $(schemas_DATA) \
minbar.schemas.in.in \
$(NULL)
-
+CLEANFILES = \
+ $(schemas_DATA) \
+ $(schemas_in_files) \
+ minbar.schemas.in \
+ $(NULL)
## End Makefile.am
Index: minbar-0.2.1/data/Makefile.in
===================================================================
--- minbar-0.2.1.orig/data/Makefile.in 2007-12-23 17:59:04.000000000 +0100
+++ minbar-0.2.1/data/Makefile.in 2011-08-03 00:18:17.000000000 +0200
@@ -219,9 +219,12 @@
@USE_GCONF_TRUE@schemas_in_files = minbar.schemas.in
@USE_GCONF_TRUE@schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
EXTRA_DIST = \
+ minbar.schemas.in.in \
+ $(NULL)
+
+CLEANFILES = \
$(schemas_in_files) \
$(schemas_DATA) \
- minbar.schemas.in.in \
$(NULL)
all: all-am
@@ -349,6 +352,7 @@
mostlyclean-generic:
clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
debian/patches/notification_ARA-11250_DEB-528451.diff 0000644 0000000 0000000 00000000720 12130712060 016475 0 ustar Bug-Debian: http://bugs.debian.org/528451
Index: minbar-0.2.1/src/main.c
===================================================================
--- minbar-0.2.1.orig/src/main.c 2009-08-07 16:08:56.000000000 +0200
+++ minbar-0.2.1/src/main.c 2009-08-07 16:09:02.000000000 +0200
@@ -1250,7 +1250,7 @@
notify_notification_update(notification,
program_name,
message,
- GTK_STOCK_ABOUT);
+ "minbar");
notify_notification_show(notification, NULL);
}
debian/patches/fix_man.diff 0000644 0000000 0000000 00000001226 12130712060 013061 0 ustar Index: minbar-0.2.1/doc/minbar.1
===================================================================
--- minbar-0.2.1.orig/doc/minbar.1 2009-08-07 16:47:14.000000000 +0200
+++ minbar-0.2.1/doc/minbar.1 2009-08-07 16:47:55.000000000 +0200
@@ -2,7 +2,9 @@
.SH NAME
Minbar - Gnome Prayer Times
.SH SYNOPSIS
-.Beminbar [OPTIONS]
+.B
+.I minbar
+[OPTIONS]
.SH DESCRIPTION
.I minbar
is a Gnome Islamic prayer times application. At first start, you have to configure it with your location, time zone and madhab details.
@@ -10,7 +12,7 @@
.SH OPTIONS
Help options
.TP
--?, \fB\-\-help\fR
+\fB\-?\fR, \fB\-\-help\fR
Show help options
.PP
Application options
debian/patches/audio_ARA-10986_DEB-527282.diff 0000644 0000000 0000000 00000007605 12130712060 015141 0 ustar Bug-Debian: http://bugs.debian.org/527282
Index: minbar-0.2.1/src/main.c
===================================================================
--- minbar-0.2.1.orig/src/main.c 2009-08-07 16:09:31.000000000 +0200
+++ minbar-0.2.1/src/main.c 2009-08-07 16:10:05.000000000 +0200
@@ -74,7 +74,7 @@
static GladeXML * xml;
static GError * err = NULL;
/* For gstreamer */
-static GstElement *pipeline, *source, *parser, *decoder, *conv, *sink;
+static GstElement *pipeline;
static GMainLoop *loop;
static GstBus *bus;
static GtkFileFilter *filter_all;
@@ -1004,40 +1004,34 @@
{
exit(-1);
}
- gchar * athanfilename;
+ gchar * athanuri;
/* set filename property on the file source. Also add a message
* handler. */
no_stream_errors = TRUE;
if(calling_athan_for == 0)
{
- athanfilename = gtk_file_chooser_get_filename
+ athanuri = gtk_file_chooser_get_uri
((GtkFileChooser *) (glade_xml_get_widget(xml, "athan_subh_chooser")));
}
else
{
- athanfilename = gtk_file_chooser_get_filename
+ athanuri = gtk_file_chooser_get_uri
((GtkFileChooser *) (glade_xml_get_widget(xml, "athan_chooser")));
}
- g_object_set (G_OBJECT (source), "location", athanfilename, NULL);
+ g_object_set (G_OBJECT (pipeline), "uri", athanuri, NULL);
bus = gst_pipeline_get_bus (GST_PIPELINE (pipeline));
gst_bus_add_watch (bus, bus_call, loop);
gst_object_unref (bus);
- /* put all elements in a bin */
- gst_bin_add_many (GST_BIN (pipeline),
- source, parser, decoder, conv, sink, NULL);
-
- /* link together - note that we cannot link the parser and
- * decoder yet, becuse the parser uses dynamic pads. For that,
- * we set a pad-added signal handler. */
- gst_element_link (source, parser);
- gst_element_link_many (decoder, conv, sink, NULL);
- g_signal_connect (parser, "pad-added", G_CALLBACK (new_pad), NULL);
-
/* Now set to playing and iterate. */
gst_element_set_state (pipeline, GST_STATE_PLAYING);
+ g_main_loop_run (loop);
+
+ /* clean up nicely */
+ gst_element_set_state (pipeline, GST_STATE_NULL);
+ gst_object_unref (GST_OBJECT (pipeline));
}
@@ -1070,6 +1064,7 @@
switch (GST_MESSAGE_TYPE (msg)) {
case GST_MESSAGE_EOS:
/* End of Stream */
+ g_main_loop_quit (loop);
break;
case GST_MESSAGE_ERROR: {
gchar *debug;
@@ -1081,6 +1076,7 @@
g_print (_("Error: %s\n"), err->message);
g_error_free (err);
+ g_main_loop_quit (loop);
no_stream_errors= FALSE;
break;
}
@@ -1114,31 +1110,14 @@
g_free(label_status);
}
-void new_pad (GstElement *element,
- GstPad *pad,
- gpointer data)
-{
- GstPad *sinkpad;
- /* We can now link this pad with the audio decoder */
- sinkpad = gst_element_get_pad (decoder, "sink");
- gst_pad_link (pad, sinkpad);
-
- gst_object_unref (sinkpad);
-}
-
-
int init_pipelines()
{
/* create elements */
- pipeline = gst_pipeline_new ("audio-player");
- source = gst_element_factory_make ("filesrc", "file-source");
- parser = gst_element_factory_make ("oggdemux", "ogg-parser");
- decoder = gst_element_factory_make ("vorbisdec", "vorbis-decoder");
- conv = gst_element_factory_make ("audioconvert", "converter");
- sink = gst_element_factory_make ("alsasink", "alsa-output");
- if (!pipeline || !source || !parser || !decoder || !conv || !sink) {
- g_print ("One element could not be created\n");
+ pipeline = gst_element_factory_make ("playbin", "play");
+
+ if (!pipeline) {
+ g_print ("pipeline could not be created\n");
return -1;
}
return 1;
@@ -1155,6 +1134,7 @@
gtk_file_filter_set_name (filter_supported,
_("Supported files"));
gtk_file_filter_add_mime_type (filter_supported, "application/ogg");
+ gtk_file_filter_add_mime_type (filter_supported, "audio/*");
g_object_ref (filter_supported);
}
@@ -1305,6 +1285,8 @@
/* initialize GStreamer */
gst_init (&argc, &argv);
+ loop = g_main_loop_new (NULL, FALSE);
+
/* command line options */
GOptionEntry options[] =
debian/patches/add-to-desktop-islamic-category.diff_DEB-632808.diff 0000644 0000000 0000000 00000000716 12130712060 021645 0 ustar Bug-Debian: http://bugs.debian.org/632808
Index: minbar-0.2.1/minbar.desktop.in
===================================================================
--- minbar-0.2.1.orig/minbar.desktop.in 2011-08-02 23:37:00.000000000 +0200
+++ minbar-0.2.1/minbar.desktop.in 2011-08-02 23:37:14.000000000 +0200
@@ -6,4 +6,4 @@
Terminal=false
Type=Application
StartupNotify=true
-Categories=GNOME;GTK;Utility;Utility;
+Categories=X-Islamic-Software;GNOME;GTK;Utility;Utility;
debian/minbar.install 0000644 0000000 0000000 00000000037 12130712060 012016 0 ustar usr/bin
usr/share/applications
debian/minbar-data.docs 0000644 0000000 0000000 00000000007 12130712060 012204 0 ustar README
debian/control 0000644 0000000 0000000 00000003057 12130712060 010566 0 ustar Source: minbar
Section: misc
Priority: extra
Maintainer: Ubuntu Developers
XSBC-Original-Maintainer: Mohammed Adnène Trojette
Build-Depends: cdbs, debhelper (>= 7), libglib2.0-dev, libgtk2.0-dev (>= 2.10), libglade2-dev, libitl-dev, libgconf2-dev, libgstreamer0.10-dev, libgnomecanvas2-dev, gnome-pkg-tools, libnotify-dev (>= 0.4.1), libxml2-dev, scrollkeeper, intltool, dh-autoreconf, gnome-common
Standards-Version: 3.9.2
Package: minbar
Architecture: any
Depends: minbar-data, ${shlibs:Depends}, ${misc:Depends}
Recommends: islamic-menus
Description: GNOME Islamic prayer times application
Minbar is an Islamic prayer times application on top of libitl,
the Arabeyes prayer calculation library.
.
It runs in background as a tray icon, plays the 'athan' (call to
prayer) and notifies at prayer times.
.
Minbar works with the main calculation methods (Muslim League by
default, Shafii, Hanafi, ...).
.
This package provides the minbar binary.
Package: minbar-data
Architecture: all
Depends: ${misc:Depends}
Conflicts: minbar (<< 0.2.1-5)
Replaces: minbar (<< 0.2.1-5)
Description: GNOME Islamic prayer times application - data package
Minbar is an Islamic prayer times application on top of libitl,
the Arabeyes prayer calculation library.
.
It runs in background as a tray icon, plays the 'athan' (call to
prayer) and notifies at prayer times.
.
Minbar works with the main calculation methods (Muslim League by
default, Shafii, Hanafi, ...).
.
This package provides the data for the minbar package.
debian/source/ 0000755 0000000 0000000 00000000000 12130712060 010456 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 12130712060 011664 0 ustar 3.0 (quilt)
debian/minbar.dirs 0000644 0000000 0000000 00000000010 12130712060 011300 0 ustar usr/bin
debian/minbar.manpages 0000644 0000000 0000000 00000000015 12130712060 012137 0 ustar doc/minbar.1
debian/minbar-data.dirs 0000644 0000000 0000000 00000000021 12130712060 012211 0 ustar usr/share/minbar
debian/minbar-data.install 0000644 0000000 0000000 00000000067 12130712060 012730 0 ustar etc/
usr/share/icons
usr/share/locale
usr/share/minbar
debian/rules 0000755 0000000 0000000 00000000512 12130712060 010234 0 ustar #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/gnome.mk
DEB_CONFIGURE_EXTRA_FLAGS := --enable-libnotify
LDFLAGS += -export-dynamic
# Add here any variable or target overrides you need.
debian/compat 0000644 0000000 0000000 00000000002 12130712060 010354 0 ustar 7
debian/changelog 0000644 0000000 0000000 00000011341 12226743446 011052 0 ustar minbar (0.2.1-7ubuntu2) saucy; urgency=low
* debian/patches/include-ctype.patch:
- minbar uses the touppper() function, so include ctype.h to fix FTBFS with
-Werror=implicit-function-declaration
-- Andreas Moog Mon, 14 Oct 2013 12:23:51 +0200
minbar (0.2.1-7ubuntu1) raring; urgency=low
* debian/control, debian/rules:
- Build-depend on dh-autoreconf and gnome-common
- Run autoreconf
* debian/patches/link-against-libm.patch:
- Fix build failure by explicitly linking against libm
-- Jeremy Bicha Tue, 09 Apr 2013 00:08:03 -0400
minbar (0.2.1-7) unstable; urgency=low
* Switch to dpkg-source 3.0 (quilt) format.
* Bump Standards-Version to 3.9.2.
-- Mohammed Adnène Trojette Wed, 03 Aug 2011 16:26:06 +0200
minbar (0.2.1-6) unstable; urgency=low
* Install schema file. Adapted patch courtesy of Ahmed El-Mahmoudy.
(Closes: #561935)
* Transition to libnotify 0.7. Patch courtesy of Ahmed El-Mahmoudy.
(Closes: #630291)
* Improve desktop integration with other Islamic applications.
Patch courtesy of Ahmed El-Mahmoudy: (Closes: #632808)
+ add islamic-menus to Recommends.
+ add X-Islamic-Software to desktop file.
* Fix sound file path in minbar.schema.
-- Mohammed Adnène Trojette Wed, 03 Aug 2011 16:22:50 +0200
minbar (0.2.1-5) unstable; urgency=low
* Split package to create a minbar-data package.
* Backport fixes from upstream:
+ set minbar's icon as notification icon. (Closes: #528451)
+ support the new sound architecture. (Closes: #527282)
+ fix manpage.
+ no need for mentioning Encoding in .desktop files.
* Bump debhelper compatibility to 7.
* Bump Standards-Version to 3.8.2.
-- Mohammed Adnène Trojette Fri, 07 Aug 2009 16:11:49 +0200
minbar (0.2.1-4) unstable; urgency=low
* Remove reference to a removed patch in debian/patches/series.
(Closes: #484699)
-- Mohammed Adnène Trojette Mon, 08 Sep 2008 16:06:26 +0200
minbar (0.2.1-3) unstable; urgency=low
* Remove "DEB_CONFIGURE_SCRIPT_ENV += " from debian/rules to avoid FTBFS
when sh is dash. (Closes: #458794)
-- Mohammed Adnène Trojette Thu, 03 Jan 2008 11:02:47 +0100
minbar (0.2.1-2) unstable; urgency=low
* Rebootstrap with a fixed data/Makefile.am so that schemas file is
cleaned.
-- Mohammed Adnène Trojette Sun, 23 Dec 2007 22:15:45 +0100
minbar (0.2.1-1) unstable; urgency=low
* New upstream release.
-- Mohammed Adnène Trojette Sun, 23 Dec 2007 18:04:43 +0100
minbar (0.2-2) unstable; urgency=low
* Remove noopt and nostrip options.
-- Mohammed Adnène Trojette Sun, 23 Dec 2007 15:36:45 +0100
minbar (0.2-1) unstable; urgency=low
* New upstream release.
* debian/control:
+ remove Build-Depends on libnotify-dev-gtk2.10.
+ bump standards-version.
-- Mohammed Adnène Trojette Mon, 03 Dec 2007 03:17:42 +0100
minbar (0.1-9) unstable; urgency=low
* Tighten build-dep on libnotify. (Closes: #409978)
+ revert to build-depending on libnotify-dev-gtk2.10 as suggested by Loïc
Minier.
+ notify_notification_attach_to_status_icon is available with
libnotify >= 0.4.1.
-- Mohammed Adnène Trojette Mon, 16 Apr 2007 15:34:52 +0200
minbar (0.1-8) unstable; urgency=low
* No need for libnotify-dev-gtk2.10, now we need libnotify-dev.
-- Mohammed Adnène Trojette Sat, 14 Apr 2007 01:58:46 +0200
minbar (0.1-7) unstable; urgency=low
* Upload to unstable. (Closes: #409978)
-- Mohammed Adnène Trojette Fri, 13 Apr 2007 23:43:30 +0200
minbar (0.1-6) experimental; urgency=low
* Add -export-dynamic to LDFLAGS in debian/rules.
Thanks Ahmad M. Afuni.
-- Mohammed Adnène Trojette Sun, 11 Feb 2007 22:45:49 +0100
minbar (0.1-5) experimental; urgency=low
* Build-Depends on libnotify-dev-gtk2.10.
-- Mohammed Adnène Trojette Tue, 6 Feb 2007 23:14:02 +0100
minbar (0.1-4) experimental; urgency=low
* Tighten Build-Depends.
-- Mohammed Adnène Trojette Mon, 15 Jan 2007 14:13:28 +0100
minbar (0.1-3) experimental; urgency=low
* Also Build-Depend on intltool.
-- Mohammed Adnène Trojette Mon, 15 Jan 2007 14:03:06 +0100
minbar (0.1-2) experimental; urgency=low
* Build-Depend on scrollkeeper. (Closes: #406958)
-- Mohammed Adnène Trojette Mon, 15 Jan 2007 12:10:36 +0100
minbar (0.1-1) experimental; urgency=low
* Initial release. (Closes: #404449)
-- Mohammed Adnène Trojette Sun, 3 Dec 2006 02:03:28 +0100
debian/copyright 0000644 0000000 0000000 00000002556 12130712060 011121 0 ustar This package was debianized by Mohammed Adnène Trojette
on Sun, 3 Dec 2006 02:03:28 +0100.
It was downloaded from
Upstream Authors: Djihed Afifi
Abderrahim Kitouni
Mohammed Adnène Trojette
(see AUTHORS file)
Copyright: © 2006-2009, Djihed Afifi
License:
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
USA.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
The Debian packaging is © 2006-2009, Mohammed Adnène Trojette
and is licensed under the GPL.