Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620170 - media-gfx/gmic-2.0.0 version bump
Summary: media-gfx/gmic-2.0.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-29 20:04 UTC by DrSlony
Modified: 2017-06-08 12:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2017-05-29 20:04:55 UTC
G'MIC 2.0.0 (which includes the GIMP plugin) has been released!
https://discuss.pixls.us/t/release-of-gmic-2-0-0/2758
Comment 1 Jonas Stein gentoo-dev 2017-05-29 21:16:37 UTC
Thank you for the bump request, but please wait at least 48h next time. 
https://wiki.gentoo.org/wiki/Zero-day_bump_requests

Could you add the following information please?
* does a simple bump work for you? 
https://wiki.gentoo.org/wiki/Custom_repository#Simple_version_bump_of_an_ebuild_in_the_local_overlay

* Where was the release announced upstream?

* Where is a list of the changes?
Comment 2 DrSlony 2017-05-30 06:38:06 UTC
> does a simple bump work for you? 

I don't know, as I currently use Sabayon due to slow laptop.

> Where was the release announced upstream?

I pasted the link, that is upstream. discuss.pixls.us is a forum shared by various open source projects.

> Where is a list of the changes?

In the link above.
Comment 3 Stefan Briesenick 2017-06-03 17:42:16 UTC
http://gmic.eu/download.shtml

announcement + changes:

https://discuss.pixls.us/t/release-of-gmic-2-0-0/2758

quote:
"I'm really happy to announce the release of a new major version (numbered 2.0.0) of the G'MIC image processing framework136. As always, I encourage upgrading to this new version as soon as possible .
This version got major changes and improvements and is not backward-compatible with the previous branch (1.7.x). From now on, addition of new filters and bug fixes will be done only for this new branch 2.x.x."
Comment 4 Tim Harder gentoo-dev 2017-06-07 09:09:37 UTC
Added to the tree.
Comment 5 Maxim Britov 2017-06-08 12:31:43 UTC
Can't build with media-gfx/gimp-2.9.4-r3

This works for me and gmic+gtk seems work (wont create another issue, sorry)

diff -Naur gmic-2.0.0/src/gmic_gimp_gtk.cpp gmic-2.0.0-2/src/gmic_gimp_gtk.cpp
--- gmic-2.0.0/src/gmic_gimp_gtk.cpp	2017-05-29 19:01:28.000000000 +0300
+++ gmic-2.0.0-2/src/gmic_gimp_gtk.cpp	2017-06-08 14:22:19.019173590 +0300
@@ -387,13 +387,13 @@
 
 // Get layer blending mode from string.
 //-------------------------------------
-#if (GIMP_MAJOR_VERSION>=3 || GIMP_MINOR_VERSION>8) && !defined(GIMP_NORMAL_MODE)
+#if (GIMP_MAJOR_VERSION>=3 || (GIMP_MAJOR_VERSION==2 && GIMP_MINOR_VERSION==9 && GIMP_MICRO_VERSION>4)) && !defined(GIMP_NORMAL_MODE)
 typedef GimpLayerMode GimpLayerModeEffects;
 #define GIMP_NORMAL_MODE GIMP_LAYER_MODE_NORMAL
 #endif
 
 const char *s_blendmode(const GimpLayerModeEffects &blendmode) {
-#if GIMP_MAJOR_VERSION<=2 && GIMP_MINOR_VERSION<=8
+#if GIMP_MAJOR_VERSION<=2 && GIMP_MINOR_VERSION<=9 && GIMP_MICRO_VERSION<=4
   switch (blendmode) {
   case GIMP_NORMAL_MODE : return "alpha";
   case GIMP_DISSOLVE_MODE : return "dissolve";
@@ -480,7 +480,7 @@
   const char *S = std::strstr(s,"mode(");
   bool is_blendmode = false;
 
-#if GIMP_MAJOR_VERSION<=2 && GIMP_MINOR_VERSION<=8
+#if GIMP_MAJOR_VERSION<=2 && GIMP_MINOR_VERSION<=9 && GIMP_MICRO_VERSION<=4
   _get_output_layer_blendmode("alpha",GIMP_NORMAL_MODE);
   _get_output_layer_blendmode("normal",GIMP_NORMAL_MODE);
   _get_output_layer_blendmode("dissolve",GIMP_DISSOLVE_MODE);