Package: sylpheed-claws-gtk2
Version: 2.6.0-1
Followup-For: Bug #412031

Here's a preliminary patch to build a sylpheed-claws-gtk2-scripts
package containing the scripts. Maybe some patching of the scripts is
necessary (as it was in sylpheed-claws-scripts package).

Best regards,

norbi
diff -Naur sylpheed-claws-gtk2-2.6.0/debian/control 
sylpheed-claws-gtk2-2.6.0-fixed/debian/control
--- sylpheed-claws-gtk2-2.6.0/debian/control    2007-02-23 23:59:12.000000000 
+0100
+++ sylpheed-claws-gtk2-2.6.0-fixed/debian/control      2007-02-24 
00:32:53.000000000 +0100
@@ -17,7 +17,7 @@
 Conflicts: libgtk2.0-0 (>= 2.9)
 Recommends: sylpheed-claws-gtk2-i18n, metamail, xfonts-100dpi | xfonts-75dpi | 
  xfonts-100dpi-transcoded | xfonts-75dpi-transcoded, 
- aspell-en | aspell-dictionary, sylpheed-claws-scripts
+ aspell-en | aspell-dictionary, sylpheed-claws-gtk2-scripts
 Suggests: sylpheed-claws-gtk2-doc (= ${Source-Version})
 Replaces: sylpheed-claws-gtk2-image-viewer (<= 1.9.6cvs1)
 Provides: mail-reader, news-reader
@@ -30,6 +30,16 @@
  support for additional features, like other storage formats,
  feeds reader, calendar management, mail filtering, etc.
 
+Package: sylpheed-claws-gtk2-scripts
+Architecture: all
+Depends: ${shlibs:Depends}, perl, python, libxml-simpleobject-perl
+Description: Helper scripts for Sylpheed-Claws GTK2
+ Several scripts in a variety of languages which provide ready to use 
+ solutions to common problems found by Sylpheed-Claws GTK2 users.
+ E.g.: mailboxes migration, addressbooks conversion, etc.
+ .
+ See README files for further details about included scripts.
+
 Package: libsylpheed-claws-gtk2-dev
 Architecture: any
 Section: devel
diff -Naur sylpheed-claws-gtk2-2.6.0/debian/rules 
sylpheed-claws-gtk2-2.6.0-fixed/debian/rules
--- sylpheed-claws-gtk2-2.6.0/debian/rules      2007-02-23 23:59:12.000000000 
+0100
+++ sylpheed-claws-gtk2-2.6.0-fixed/debian/rules        2007-02-24 
00:33:42.000000000 +0100
@@ -135,6 +135,12 @@
              
$(CURDIR)/debian/sylpheed-claws-gtk2-bogofilter/usr/lib/sylpheed-claws-gtk2/plugins
        mv $(PLUGINSDIR)/bogofilter.so \
           
$(CURDIR)/debian/sylpheed-claws-gtk2-bogofilter/usr/lib/sylpheed-claws-gtk2/plugins
+       #____________________________________[sylpheed-claws-gtk2-scripts]__
+       mkdir -m 755 -p \
+             
$(CURDIR)/debian/sylpheed-claws-gtk2-scripts/usr/share/doc/sylpheed-claws-gtk2/tools
+       cp -a $(CURDIR)/tools/* \
+          
$(CURDIR)/debian/sylpheed-claws-gtk2-scripts/usr/share/doc/sylpheed-claws-gtk2/tools
+       rm 
$(CURDIR)/debian/sylpheed-claws-gtk2-scripts/usr/share/doc/sylpheed-claws-gtk2/tools/Makefile*
        #_______________________________________________[sylpheed-claws-gtk2]__
        rm -rf 
$(CURDIR)/debian/sylpheed-claws-gtk2/usr/share/sylpheed-claws-gtk2
        rm -rf $(CURDIR)/debian/sylpheed-claws-gtk2/usr/lib

Reply via email to