[DRE-commits] r3710 - in packages-wip/libfeedtools-ruby/trunk: . debian debian/patches

Marc Dequènes duck at alioth.debian.org
Mon Jun 29 14:07:33 UTC 2009


Author: duck
Date: 2009-06-29 14:07:31 +0000 (Mon, 29 Jun 2009)
New Revision: 3710

Added:
   packages-wip/libfeedtools-ruby/trunk/debian/
   packages-wip/libfeedtools-ruby/trunk/debian/changelog
   packages-wip/libfeedtools-ruby/trunk/debian/compat
   packages-wip/libfeedtools-ruby/trunk/debian/control
   packages-wip/libfeedtools-ruby/trunk/debian/control.in
   packages-wip/libfeedtools-ruby/trunk/debian/copyright
   packages-wip/libfeedtools-ruby/trunk/debian/libfeedtools-ruby-doc.doc-base
   packages-wip/libfeedtools-ruby/trunk/debian/libfeedtools-ruby1.8.install
   packages-wip/libfeedtools-ruby/trunk/debian/patches/
   packages-wip/libfeedtools-ruby/trunk/debian/patches/rails_load_path
   packages-wip/libfeedtools-ruby/trunk/debian/patches/series
   packages-wip/libfeedtools-ruby/trunk/debian/patches/useless_rubygems_dep
   packages-wip/libfeedtools-ruby/trunk/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages-wip/libfeedtools-ruby/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages-wip/libfeedtools-ruby/trunk/debian/changelog
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/changelog	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/changelog	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1,10 @@
+libfeedtools-ruby (0.2.29+dfsg1-1) unstable; urgency=low
+
+  * Initial release.
+  * Removed non-free content only used for tests.
+  * Added 'useless_rubygems_dep' patch to remove useless dependency on
+    rubygems.
+  * Added 'rails_load_path' patch to work around non-standard rails load
+    path.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Mon, 29 Jun 2009 14:54:55 +0200

Added: packages-wip/libfeedtools-ruby/trunk/debian/compat
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/compat	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/compat	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1 @@
+5

Added: packages-wip/libfeedtools-ruby/trunk/debian/control
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/control	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/control	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1,39 @@
+Source: libfeedtools-ruby
+Section: ruby
+Priority: optional
+Maintainer: Marc Dequènes (Duck) <Duck at DuckCorp.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), ruby (>= 1.8.1), ruby-pkg-tools (>= 0.8)
+Build-Depends-Indep: rdoc (>= 1.8.1), graphviz
+Standards-Version: 3.8.2
+Homepage: http://sporkmonger.com/projects/feedtools
+
+Package: libfeedtools-ruby1.8
+Architecture: all
+Depends: ${misc:Depends}, ruby (>= 1.8.1), libbuilder-ruby1.8, rails, librexml-ruby, libhpricot-ruby1.8, libuuidtools-ruby1.8
+Suggests: libtidy-ruby
+Description: web feed library for Ruby
+ FeedTools is a library for handling rss, atom, and cdf parsing,
+ generation, and translation as well as caching.
+
+Package: libfeedtools-ruby
+Architecture: all
+Depends: ${misc:Depends}, libfeedtools-ruby1.8
+Description: web feed library for Ruby
+ FeedTools is a library for handling rss, atom, and cdf parsing,
+ generation, and translation as well as caching.
+ .
+ This is a dependency package, which depends on a FeedTools package
+ built for the latest version of Ruby.
+
+Package: libfeedtools-ruby-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: doc-base
+Description: web feed library for Ruby
+ FeedTools is a library for handling rss, atom, and cdf parsing,
+ generation, and translation as well as caching.
+ .
+ This is the Rdoc-generated documentation for the FeedTools API.
+

Added: packages-wip/libfeedtools-ruby/trunk/debian/control.in
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/control.in	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/control.in	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1,39 @@
+Source: libfeedtools-ruby
+Section: ruby
+Priority: optional
+Maintainer: Marc Dequènes (Duck) <Duck at DuckCorp.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Build-Depends: @cdbs@, ruby (>= 1.8.1), ruby-pkg-tools (>= 0.8)
+Build-Depends-Indep: rdoc (>= 1.8.1), graphviz
+Standards-Version: 3.8.2
+Homepage: http://sporkmonger.com/projects/feedtools
+
+Package: libfeedtools-ruby1.8
+Architecture: all
+Depends: ${misc:Depends}, ruby (>= 1.8.1), libbuilder-ruby1.8, rails, librexml-ruby, libhpricot-ruby1.8, libuuidtools-ruby1.8
+Suggests: libtidy-ruby
+Description: web feed library for Ruby
+ FeedTools is a library for handling rss, atom, and cdf parsing,
+ generation, and translation as well as caching.
+
+Package: libfeedtools-ruby
+Architecture: all
+Depends: ${misc:Depends}, libfeedtools-ruby1.8
+Description: web feed library for Ruby
+ FeedTools is a library for handling rss, atom, and cdf parsing,
+ generation, and translation as well as caching.
+ .
+ This is a dependency package, which depends on a FeedTools package
+ built for the latest version of Ruby.
+
+Package: libfeedtools-ruby-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: doc-base
+Description: web feed library for Ruby
+ FeedTools is a library for handling rss, atom, and cdf parsing,
+ generation, and translation as well as caching.
+ .
+ This is the Rdoc-generated documentation for the FeedTools API.
+

Added: packages-wip/libfeedtools-ruby/trunk/debian/copyright
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/copyright	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/copyright	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1,49 @@
+This package was debianized by Marc Dequènes (Duck) <Duck at DuckCorp.org>
+on Sun, 28 Jun 2009 16:15:33 +0200.
+
+It was downloaded from http://rubyforge.org/frs/?group_id=775
+
+
+Files: *
+Copyright: © 2005-2008 Robert Aman
+License: MIT License
+
+Files: lib/feed_tools/vendor/html5/lib/html5/filters/rfc3987.rb, lib/feed_tools/vendor/html5/lib/html5/filters/iso639codes.rb, lib/feed_tools/vendor/html5/lib/html5/filters/rfc2046.rb
+Copyright: © 2002-2006 Sam Ruby
+           © 2002-2006 Mark Pilgrim
+           © 2002-2006 Joseph Walton
+           © 2002-2006 Phil Ringnalda
+           © 2005-2008 Robert Aman
+License: MIT License
+
+Files: lib/feed_tools/vendor/html5/testdata/sites/*, test/feeds/*
+Copyright: *
+License: other
+ Dumps of several site content used for tests, with various licensing terms
+Problems: most of this data is proprietary
+Comment: to avoid shipping non-free content, all these files were removed from
+ the Debian package without sorting them all. They are only used for software
+ tests and useless at runtime.
+
+On Debian systems, the complete text of the GNU General Public License
+version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The complete text of the MIT License is:
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ . 
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+

Added: packages-wip/libfeedtools-ruby/trunk/debian/libfeedtools-ruby-doc.doc-base
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/libfeedtools-ruby-doc.doc-base	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/libfeedtools-ruby-doc.doc-base	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1,10 @@
+Document: feedtools
+Title: FeedTools API Documentation
+Author: Robert Aman
+Abstract: Rdoc-generated API documentation.
+Section: Programming/Ruby
+
+Format: HTML
+Index: /usr/share/doc/libfeedtools-ruby-doc/rdoc/index.html
+Files: /usr/share/doc/libfeedtools-ruby-doc/rdoc/*
+

Added: packages-wip/libfeedtools-ruby/trunk/debian/libfeedtools-ruby1.8.install
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/libfeedtools-ruby1.8.install	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/libfeedtools-ruby1.8.install	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1 @@
+db/*.rb db/*.sql usr/share/libfeedtools-ruby1.8/

Added: packages-wip/libfeedtools-ruby/trunk/debian/patches/rails_load_path
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/patches/rails_load_path	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/patches/rails_load_path	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1,19 @@
+Index: libfeedtools-ruby-0.2.29+dfsg1/lib/feed_tools.rb
+===================================================================
+--- libfeedtools-ruby-0.2.29+dfsg1.orig/lib/feed_tools.rb	2009-06-28 17:48:55.000000000 +0200
++++ libfeedtools-ruby-0.2.29+dfsg1/lib/feed_tools.rb	2009-06-28 17:48:59.000000000 +0200
+@@ -21,6 +21,14 @@
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ #++
+ 
++# add Rails load path for Debian, until rails framework is split properly
++DEB_RAILS_PATH = "/usr/share/rails"
++Dir.new(DEB_RAILS_PATH).each do |file|
++	next if file =~ /^\./
++	path = File.join(DEB_RAILS_PATH, file, "lib")
++	$: << path if File.directory?(path)
++end
++
+ if Object.const_defined?(:FEED_TOOLS_NAMESPACES)
+   warn("FeedTools may have been loaded improperly.  This may be caused " +
+     "by the presence of the RUBYOPT environment variable or by using " +

Added: packages-wip/libfeedtools-ruby/trunk/debian/patches/series
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/patches/series	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/patches/series	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1,2 @@
+useless_rubygems_dep
+rails_load_path

Added: packages-wip/libfeedtools-ruby/trunk/debian/patches/useless_rubygems_dep
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/patches/useless_rubygems_dep	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/patches/useless_rubygems_dep	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1,83 @@
+Index: libfeedtools-ruby-0.2.29+dfsg1/lib/feed_tools/database_feed_cache.rb
+===================================================================
+--- libfeedtools-ruby-0.2.29+dfsg1.orig/lib/feed_tools/database_feed_cache.rb	2009-06-29 13:49:27.000000000 +0200
++++ libfeedtools-ruby-0.2.29+dfsg1/lib/feed_tools/database_feed_cache.rb	2009-06-29 13:57:39.000000000 +0200
+@@ -21,7 +21,6 @@
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ #++
+ 
+-require 'rubygems'
+ require 'active_record'
+ 
+ #= database_feed_cache.rb
+@@ -137,4 +136,4 @@
+       return true
+     end
+   end
+-end
+\ No newline at end of file
++end
+Index: libfeedtools-ruby-0.2.29+dfsg1/lib/feed_tools.rb
+===================================================================
+--- libfeedtools-ruby-0.2.29+dfsg1.orig/lib/feed_tools.rb	2009-06-29 13:49:27.000000000 +0200
++++ libfeedtools-ruby-0.2.29+dfsg1/lib/feed_tools.rb	2009-06-29 14:00:24.000000000 +0200
+@@ -108,17 +108,13 @@
+     raise
+   end
+ 
+-  require 'rubygems'
+-  
+-  if !defined?(Builder)
+-    gem('builder', '>= 1.2.4')
+-    require 'builder'
+-  end
+-  
+-  if !defined?(ActiveRecord)
+-    gem('activerecord', '>= 1.11.1')
+-    require 'active_record'
++  if defined?(DEVELOPER_MODE) and DEVELOPER_MODE
++    require 'rubygems'
++    gem('builder', '>= 1.2.4') if !defined?(Builder)
++    gem('activerecord', '>= 1.11.1') if !defined?(ActiveRecord)
+   end
++  require 'builder'
++  require 'active_record'
+ 
+   # Preload optional libraries.
+   begin
+@@ -155,15 +151,10 @@
+   require 'yaml'
+   require 'base64'
+ 
+-  begin
+-    gem('uuidtools', '>= 0.1.2')
+-  rescue Gem::LoadError
+-    begin
+-      require 'uuidtools'
+-    rescue Object
+-      raise unless defined? UUID
+-    end
++  if defined?(DEVELOPER_MODE) and DEVELOPER_MODE
++    gem('uuidtools', '>= 0.1.2') if !defined?(UUID)
+   end
++  require 'uuidtools'
+   
+   require 'feed_tools/monkey_patch'
+   
+@@ -378,4 +369,4 @@
+     FeedTools.feed_cache.initialize_cache
+   end
+ rescue
+-end
+\ No newline at end of file
++end
+Index: libfeedtools-ruby-0.2.29+dfsg1/lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb
+===================================================================
+--- libfeedtools-ruby-0.2.29+dfsg1.orig/lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb	2009-06-29 13:49:27.000000000 +0200
++++ libfeedtools-ruby-0.2.29+dfsg1/lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb	2009-06-29 13:57:39.000000000 +0200
+@@ -1,5 +1,4 @@
+ require 'html5/treebuilders/base'
+-require 'rubygems'
+ require 'hpricot'
+ require 'forwardable'
+ 

Added: packages-wip/libfeedtools-ruby/trunk/debian/rules
===================================================================
--- packages-wip/libfeedtools-ruby/trunk/debian/rules	                        (rev 0)
+++ packages-wip/libfeedtools-ruby/trunk/debian/rules	2009-06-29 14:07:31 UTC (rev 3710)
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+install/libfeedtools-ruby1.8::
+	chmod a+x debian/$(cdbs_curpkg)/$(DEB_RUBY_LIBDIR)/feed_tools/vendor/html5/bin/*
+


Property changes on: packages-wip/libfeedtools-ruby/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *




More information about the Pkg-ruby-extras-commits mailing list