M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
---
src/dates_gtk.c | 5 -----
src/dates_main.c | 5 +++++
src/dates_platform.h | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
Upstream-Status: Inappropriate [enable feature]
Index: git/src/dates_gtk.c
===================================================================
--- git.orig/src/dates_gtk.c 2009-08-18 12:44:56.000000000 +0100
+++ git/src/dates_gtk.c 2009-09-03 22:28:50.000000000 +0100
@@ -33,10 +33,6 @@
#endif
#ifndef DATES_PLATFORM_create_main_window
-/* the default implementation assumes that menu is GtkMenuBar */
-#ifdef DATES_MENU_WITHOUT_BAR
-#error Cannot use default create_main_window () if DATES_MENU_WITHOUT_BAR is defined !!!
-#endif
static GtkWidget *
create_main_window (DatesData * d, GtkWidget * toolbar,
GtkWidget * menu, GtkAccelGroup * accel_group)
@@ -59,7 +55,6 @@
gtk_container_add (GTK_CONTAINER (d->main_window), main_vbox);
gtk_widget_show (menu);
- gtk_box_pack_start (GTK_BOX (main_vbox), menu, FALSE, FALSE, 0);
gtk_box_pack_end (GTK_BOX (main_vbox), toolbar, FALSE, FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (toolbar), 3);
Index: git/src/dates_main.c
===================================================================
--- git.orig/src/dates_main.c 2009-08-18 12:44:56.000000000 +0100
+++ git/src/dates_main.c 2009-09-03 22:29:21.000000000 +0100
@@ -26,6 +26,8 @@
#include <libical/icaltime.h>
#include <gconf/gconf-client.h>
+#include <gtk/gtkmenuitem.h>
+#include <libowl/owlwindowmenu.h>
#include "dates_types.h"
#include "dates_platform.h"
#include "dates_callbacks.h"
@@ -582,6 +584,9 @@
g_free (url_uri);
}
+ owl_set_window_menu (GTK_WINDOW (data.main_window),
+ GTK_MENU (data.main_menu));
+
gtk_main ();
return 0;
Index: git/src/dates_platform.h
===================================================================
--- git.orig/src/dates_platform.h 2009-08-18 12:44:56.000000000 +0100
+++ git/src/dates_platform.h 2009-09-03 22:28:50.000000000 +0100
@@ -20,7 +20,7 @@
#include "dates_types.h"
-#ifdef WITH_HILDON
+#if 1
#define DATES_MENU_WITHOUT_BAR 1
#endif

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,18 @@
Make 3.82 is offended by the use of spaces instead of tabs. This has been fixed
in upstream git.
JL - 15/12/10
Upstream-Status: Accepted
Index: git/Makefile.am
===================================================================
--- git.orig/Makefile.am
+++ git/Makefile.am
@@ -7,5 +7,5 @@ DISTCLEANFILES = intltool-extract intlto
MAINTAINERCLEANFILES = $(DISTCLEANFILES) aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing
snapshot:
- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
+ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`

View File

@@ -0,0 +1,37 @@
uclibc has langinfo.h but it does not define _NL_TIME_FIRST_WEEKDAY
therefore we introduce a check in configure for the this define
and then we make sure that we use it when it really exists
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
Index: git/configure.ac
===================================================================
--- git.orig/configure.ac 2011-07-18 10:34:15.000000000 -0700
+++ git/configure.ac 2011-07-18 10:54:26.403798188 -0700
@@ -98,6 +98,8 @@
src/libgtkdatesview.pc
])
+AC_CHECK_DECLS([_NL_TIME_FIRST_WEEKDAY],[],[],[[#include <langinfo.h>]])
+
AC_OUTPUT
echo " "
Index: git/src/dates_view.c
===================================================================
--- git.orig/src/dates_view.c 2011-07-18 10:34:15.000000000 -0700
+++ git/src/dates_view.c 2011-07-18 10:58:46.093798136 -0700
@@ -1505,7 +1505,11 @@
priv->days = 1;
priv->months = 0;
priv->months_in_row = 4;
+#if HAVE_DECL__NL_TIME_FIRST_WEEKDAY
priv->week_start = *nl_langinfo (_NL_TIME_FIRST_WEEKDAY) - 1;
+#else
+ priv->week_start = 0;
+#endif
priv->dragbox = TRUE;
priv->single_click = TRUE;
priv->double_click = FALSE;