public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-misc/gourmet/files/
@ 2016-08-11  8:09 Patrice Clement
  0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2016-08-11  8:09 UTC (permalink / raw
  To: gentoo-commits

commit:     a72b736e6881eb3d8d605ea3c747725776cf0945
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jul  7 17:23:31 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 08:07:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a72b736e

app-misc/gourmet: remove unused patches

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 .../gourmet/files/gourmet-0.16.1-PIL-png.patch     | 29 ----------------------
 .../files/gourmet-0.16.1-pictures-dir.patch        | 13 ----------
 app-misc/gourmet/files/no-docs.patch               | 10 --------
 app-misc/gourmet/files/nutritional-db-fix.patch    | 29 ----------------------
 4 files changed, 81 deletions(-)

diff --git a/app-misc/gourmet/files/gourmet-0.16.1-PIL-png.patch b/app-misc/gourmet/files/gourmet-0.16.1-PIL-png.patch
deleted file mode 100644
index 2ddbd55..0000000
--- a/app-misc/gourmet/files/gourmet-0.16.1-PIL-png.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 4eb110bbbc58af97fd6994b96d9482783037058d Mon Sep 17 00:00:00 2001
-From: Bernhard Reiter <ockham@raz.or.at>
-Date: Wed, 13 Nov 2013 15:24:09 +0100
-Subject: [PATCH] Fix another PIL import.
-
-Reported at https://answers.launchpad.net/gourmet/+question/238352#comment-6
----
- gourmet/gtk_extras/thumbnail.py | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/gourmet/gtk_extras/thumbnail.py b/gourmet/gtk_extras/thumbnail.py
-index d096126..ea7e72c 100644
---- a/gourmet/gtk_extras/thumbnail.py
-+++ b/gourmet/gtk_extras/thumbnail.py
-@@ -81,7 +81,10 @@ def create_thumbnail (path, thumbpath, uri, type="large"):
-     info['Software']='Gourmet Recipe Manager'
-     info['URI']=str(uri)
-     # now we must create our image guy
--    import PngImagePlugin
-+    try:
-+        from PIL import PngImagePlugin
-+    except ImportError:
-+        import PngImagePlugin
-     pnginfo = PngImagePlugin.PngInfo()
- 
-     for k,v in info.items():
--- 
-1.8.4
-

diff --git a/app-misc/gourmet/files/gourmet-0.16.1-pictures-dir.patch b/app-misc/gourmet/files/gourmet-0.16.1-pictures-dir.patch
deleted file mode 100644
index 5c2bc31..0000000
--- a/app-misc/gourmet/files/gourmet-0.16.1-pictures-dir.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- gourmet/gtk_extras/dialog_extras.py	2013-10-31 09:03:08.456469166 -0500
-+++ gourmet/gtk_extras/dialog_extras.py	2013-10-31 09:04:18.175067008 -0500
-@@ -1096,7 +1096,9 @@
-                   buttons=None
-                   ):
-         FileSelectorDialog.__init__(self, title, filename, filters, action, set_filter, buttons)
--        self.fsd.set_current_folder(get_user_special_dir(USER_DIRECTORY_PICTURES))
-+        pictures_dir = get_user_special_dir(USER_DIRECTORY_PICTURES)
-+        if not pictures_dir == None:
-+            self.fsd.set_current_folder(pictures_dir)
- 
-     def post_dialog (self):
-         self.preview = gtk.Image()

diff --git a/app-misc/gourmet/files/no-docs.patch b/app-misc/gourmet/files/no-docs.patch
deleted file mode 100644
index 0a2aa7e..0000000
--- a/app-misc/gourmet/files/no-docs.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- setup.py	2013-03-16 15:26:19.760162984 -0400
-+++ setup.py	2013-03-16 15:26:26.966497095 -0400
-@@ -119,7 +119,6 @@
- 
-     files.extend(data_files)
-     files.extend([(os.path.join(base,'ui'), glob.glob(os.path.join('ui','*.ui')))])
--    files.extend([(os.path.join('share','doc','gourmet'), ['FAQ', 'LICENSE'])])
-     #print 'DATA FILES:',files
-     return files
- 

diff --git a/app-misc/gourmet/files/nutritional-db-fix.patch b/app-misc/gourmet/files/nutritional-db-fix.patch
deleted file mode 100644
index 4779551..0000000
--- a/app-misc/gourmet/files/nutritional-db-fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- gourmet/plugins/nutritional_information/data_plugin.py	2013-08-28 19:13:38.000000000 -0400
-+++ gourmet/plugins/nutritional_information/data_plugin.py	2013-10-30 23:37:51.358616037 -0400
-@@ -20,7 +20,7 @@
-             pass
-         self.db._setup_object_for_table(self.db.usda_weights_table, UsdaWeight)
-     
--    def setup_nutrition_conversions_table (self):
-+    def setup_nutritionconversions_table (self):
-         self.db.nutritionconversions_table = Table('nutritionconversions',self.db.metadata,
-                                                 Column('id',Integer(),primary_key=True),
-                                                 Column('ingkey',String(length=255),**{}),
-@@ -58,7 +58,7 @@
-         
-         self.setup_usda_weights_table()
-         self.setup_nutritionaliases_table()
--        self.setup_nutrition_conversions_table()
-+        self.setup_nutritionconversions_table()
-         self.db.do_add_nutrition = self.do_add_nutrition
- 
-     def update_version (self, gourmet_stored, plugin_stored, gourmet_current, plugin_current):
-@@ -68,7 +68,7 @@
-             print 'RECREATE USDA WEIGHTS TABLE'
-             self.db.alter_table('usda_weights',self.setup_usda_weights_table,{},
-                              [name for lname,name,typ in parser_data.WEIGHT_FIELDS])
--            self.db.alter_table('nutritionconversions',self.setup_nutrition_conversions_table,{},
-+            self.db.alter_table('nutritionconversions',self.setup_nutritionconversions_table,{},
-                              ['ingkey','unit','factor'])
-         if plugin_stored == '1':
-             # Add choline


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-misc/gourmet/files/
@ 2017-11-04  7:09 Michael Palimaka
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Palimaka @ 2017-11-04  7:09 UTC (permalink / raw
  To: gentoo-commits

commit:     2bdf40b4b29fcc2f8d3555d2d6cd76420e097408
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Nov  3 11:23:11 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Nov  4 07:09:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bdf40b4

app-misc/gourmet: remove unused patch

 app-misc/gourmet/files/desktop-entry.patch | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/app-misc/gourmet/files/desktop-entry.patch b/app-misc/gourmet/files/desktop-entry.patch
deleted file mode 100644
index b79aa5f7b77..00000000000
--- a/app-misc/gourmet/files/desktop-entry.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- gourmet.desktop.in
-+++ gourmet.desktop.in
-@@ -4,6 +4,6 @@ _Comment=Organize recipes, create shopping lists, calculate nutritional informat
- Exec=gourmet
- Terminal=false
- Type=Application
--Categories=GNOME;Application;Utility;
-+Categories=GNOME;Utility;
- StartupNotify=true
- Icon=gourmet


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-04  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-11  8:09 [gentoo-commits] repo/gentoo:master commit in: app-misc/gourmet/files/ Patrice Clement
  -- strict thread matches above, loose matches on Subject: below --
2017-11-04  7:09 Michael Palimaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox