[Pkg-sql-ledger-commit] r152 - ledger-smb/trunk/debian/patches

pkg-sql-ledger-commit-owner at lists.alioth.debian.org pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Tue Dec 18 20:22:54 UTC 2007


Author: lyz-guest
Date: 2007-12-18 20:22:54 +0000 (Tue, 18 Dec 2007)
New Revision: 152

Removed:
   ledger-smb/trunk/debian/patches/90_125-dates.dpatch
   ledger-smb/trunk/debian/patches/91_125-utf8.dpatch
   ledger-smb/trunk/debian/patches/92_125-customer_id.dpatch
Modified:
   ledger-smb/trunk/debian/patches/00list
Log:
Removed 9X patches that Seneca explained were obsolete.



Modified: ledger-smb/trunk/debian/patches/00list
===================================================================
--- ledger-smb/trunk/debian/patches/00list	2007-12-17 18:08:51 UTC (rev 151)
+++ ledger-smb/trunk/debian/patches/00list	2007-12-18 20:22:54 UTC (rev 152)
@@ -1,6 +1,3 @@
 05_confdir
 10_makify
 15_httpdconf
-90_125-dates
-91_125-utf8
-92_125-customer_id

Deleted: ledger-smb/trunk/debian/patches/90_125-dates.dpatch
===================================================================
--- ledger-smb/trunk/debian/patches/90_125-dates.dpatch	2007-12-17 18:08:51 UTC (rev 151)
+++ ledger-smb/trunk/debian/patches/90_125-dates.dpatch	2007-12-18 20:22:54 UTC (rev 152)
@@ -1,63 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 90_125-dates.dpatch by  <seneca at localhost.localdomain>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fixing textual date display
-
- at DPATCH@
-
-diff -Naur ledgersmb-1.2.5-new/LedgerSMB/Locale.pm ledgersmb-1.2.5-dirty/LedgerSMB/Locale.pm
---- ledgersmb-1.2.5-new/LedgerSMB/Locale.pm	2007-05-17 11:26:32.000000000 -0400
-+++ ledgersmb-1.2.5-dirty/LedgerSMB/Locale.pm	2007-05-28 18:02:25.000000000 -0400
-@@ -1,3 +1,4 @@
-+
- =head1 NAME
- 
- LedgerSMB::Locale  Locale handling class for LedgerSMB
-@@ -9,17 +10,24 @@
- =head1 METHODS
- 
- =item get_handle ($language_code)
-+
- Returns a locale handle for accessing the other methods.  Inherited from 
- Locale::Maketext.
- 
- =item text ($string)
-+
- Returns the translation for the given string.  This is a legacy wrapper that
- merely calls $self->maketext.
- 
- =item date ($myconfig, $date, $longformat)
--Returns the given date after formatting it.  If $longformat is set, the date 
--will be givin in the form of "_('September') 23 2007".  If $longformat is not
--set, the date will be output in the format specified by $myconfig->{dateformat}.
-+
-+Returns the given date after formatting it.  $longformat is a ternary flag that
-+determines how the date is formatted.  If $longformat is true, the date will be
-+given in the form of "_('September') 23 2007".  If $longformat is false but
-+defined, the date will be in the form of "_('Sep') 23 2007" unless the date is
-+given in the form 'yyyy.mm.dd', in which case it is returned as-is.  If
-+$longformat is not defined, the date will be output in the format specified by
-+$myconfig->{dateformat}.
- 
- =head1 Copyright (C) 2006, The LedgerSMB core team.
- 
-@@ -60,6 +68,7 @@
- =cut
- 
- package LedgerSMB::Locale;
-+
- use base 'Locale::Maketext';
- use Locale::Maketext::Lexicon;
- use Encode;
-@@ -84,8 +93,8 @@
- sub date {
-     my ( $self, $myconfig, $date, $longformat ) = @_;
- 
--##    my @longmonth = (qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec));
--    my @longmonth = (
-+    my @longmonth = (qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec));
-+    @longmonth = (
-         "January",   "February", "March",    "April",
-         "May ",      "June",     "July",     "August",
-         "September", "October",  "November", "December"

Deleted: ledger-smb/trunk/debian/patches/91_125-utf8.dpatch
===================================================================
--- ledger-smb/trunk/debian/patches/91_125-utf8.dpatch	2007-12-17 18:08:51 UTC (rev 151)
+++ ledger-smb/trunk/debian/patches/91_125-utf8.dpatch	2007-12-18 20:22:54 UTC (rev 152)
@@ -1,37 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 91_125-utf8.dpatch by  <seneca at localhost.localdomain>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Setting UTF-8 in HTTP headers
-
- at DPATCH@
-
-diff -Naur ledgersmb-1.2.5-new/LedgerSMB/Form.pm ledgersmb-1.2.5-dirty/LedgerSMB/Form.pm
---- ledgersmb-1.2.5-new/LedgerSMB/Form.pm	2007-05-17 11:26:32.000000000 -0400
-+++ ledgersmb-1.2.5-dirty/LedgerSMB/Form.pm	2007-05-28 18:02:25.000000000 -0400
-@@ -302,22 +302,21 @@
- 
-     if ( $ENV{GATEWAY_INTERFACE} ) {
- 
-+        $self->{charset} ||= "utf-8";
-         if ( $self->{stylesheet} && ( -f "css/$self->{stylesheet}" ) ) {
-             $stylesheet =
- qq|<link rel="stylesheet" href="css/$self->{stylesheet}" type="text/css" title="LedgerSMB stylesheet" />\n|;
-         }
- 
--        if ( $self->{charset} ) {
--            $charset =
-+        $charset =
- qq|<meta http-equiv="content-type" content="text/html; charset=$self->{charset}" />\n|;
--        }
- 
-         $self->{titlebar} =
-           ( $self->{title} )
-           ? "$self->{title} - $self->{titlebar}"
-           : $self->{titlebar};
- 
--        print qq|Content-Type: text/html\n\n
-+        print qq|Content-Type: text/html; charset=utf-8\n\n
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
- 		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Deleted: ledger-smb/trunk/debian/patches/92_125-customer_id.dpatch
===================================================================
--- ledger-smb/trunk/debian/patches/92_125-customer_id.dpatch	2007-12-17 18:08:51 UTC (rev 151)
+++ ledger-smb/trunk/debian/patches/92_125-customer_id.dpatch	2007-12-18 20:22:54 UTC (rev 152)
@@ -1,20 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 92_125-customer_id.dpatch by  <seneca at localhost.localdomain>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Changing customer_id to ${vc}_id in query
-
- at DPATCH@
-
-diff -Naur ledgersmb-1.2.5-new/LedgerSMB/Form.pm ledgersmb-1.2.5-dirty/LedgerSMB/Form.pm
---- ledgersmb-1.2.5-new/LedgerSMB/Form.pm	2007-05-17 11:26:32.000000000 -0400
-+++ ledgersmb-1.2.5-dirty/LedgerSMB/Form.pm	2007-05-28 18:02:25.000000000 -0400
-@@ -2416,7 +2415,7 @@
- 			ct.notes, 
- 			ct.curr AS currency
- 		FROM $vc ct
--		WHERE ct.id = (select customer_id from $arap where $where AND ${vc}_id IS NOT NULL order by id DESC limit 1)|;
-+		WHERE ct.id = (select ${vc}_id from $arap where $where AND ${vc}_id IS NOT NULL order by id DESC limit 1)|;
- 
-     $sth = $dbh->prepare($query);
-     $sth->execute() || $self->dberror($query);




More information about the Pkg-sql-ledger-commit mailing list