Bug#322971: Now works without the full Evolution source

2006-01-17 Thread René Højbjerg Larsen
Hi,

I would like to point out that it is now possible to build
mail-notification with support for Evolution 2.4 without having the
complete Evolution source available.


Step 1:

Install the evolution-dev and evolution-data-server-dev packages (as
well as libgnomeprintui2.2-dev, which seems to be missing from the build
depends).

Step 2:

Add the upstream patch at
http://download.savannah.gnu.org/releases/mailnotify/mail-notification-2.0-evolution-2.4.diff
 to debian/patches

Step 3:

Modify DEB_CONFIGURE_EXTRA_FLAGS in debian/rules to include
"--with-evolution-source-dir=/usr/include/evolution-2.4"

Step 4:

Build the package. Install. Enjoy.


One problem: This introduces a dependency on the evolution package,
which means that the Evolution plugin should probably be split off into
a separate package. Another option is to ignore the dependencies
generated by the plugin. I don't think it will do any harm to have the
plugin installed by itself without Evolution being present.

Otherwise it seems to work perfectly.
-- 
René Højbjerg Larsen <[EMAIL PROTECTED]>




Bug#329057: gnome-randr-applet: "Inverted" rotation selected automatically (and wrongfully)

2005-12-16 Thread René Højbjerg Larsen
Hi,

The attached patch fixes the problem (due to bad logic in the rotation
detection code).

It also reverses the order of the menu entries, making "Normal" the
first entry, followed by "Left", which makes a lot more sense than the
default behavior, IMHO. If you don't want to make this change then don't
apply the second chunk of the patch.

This should probably be sent upstream.

HTH
-- 
René Højbjerg Larsen <[EMAIL PROTECTED]>
--- gnome-randr-applet-0.2/src/grandr.c.orig	2005-12-16 21:14:55.0 +0100
+++ gnome-randr-applet-0.2/src/grandr.c	2005-12-16 21:12:00.0 +0100
@@ -253,7 +253,7 @@
 
   while (cur != NULL)
 	{
-	  if ((1 << grandr->xr_current_rotation) == ((Rotation) gtk_object_get_data(GTK_OBJECT(cur->data), "rotation_value") & 0xf ))
+	  if ((grandr->xr_current_rotation & 0xf) == (1 << (Rotation) gtk_object_get_data(GTK_OBJECT(cur->data), "rotation_value")))
 	gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (cur->data), 
 	TRUE);
 	  cur = g_slist_next(cur);
@@ -346,7 +346,7 @@
   gtk_menu_shell_prepend (GTK_MENU_SHELL(grandr->menu), menu_item);
   gtk_widget_show (menu_item);
 
-  for (i = 0; i < 4; i ++) 
+  for (i = 3; i >= 0; i --) 
 	{
 	  if ((grandr->xr_rotations >> i) & 1)  
 	{


Bug#1025936: Possible fix

2023-12-06 Thread René Højbjerg Larsen
Hi,

We use the TLS server as well, and are bothered by the same problem. After 
installing pgbackrest package updates across out servers (we use the PGDG 
repo), we experience lots of [ProtocolError] errors on log archiving and 
backups due to the services still using the old pgBackRest version (having not 
been restarted).

In my limited testing, simply changing the dh_installsystemd invocation in 
debian/rules from:

dh_installsystemd --no-enable --no-start

to

dh_installsystemd --no-enable --no-start --restart-after-upgrade

fixes the issue.

Kind regards,
René Højbjerg Larsen, JFM P/S