Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increment AnacondaWidgets version #489

Closed

Conversation

jkonecny12
Copy link
Member

Follow-up for the #483 .

@jkonecny12 jkonecny12 added the master Please, use the `f39` label instead. label Feb 1, 2016
@@ -61,7 +61,7 @@ lib_LTLIBRARIES = libAnacondaWidgets.la
libAnacondaWidgets_la_CFLAGS = $(GTK_CFLAGS) $(GLADEUI_CFLAGS) $(LIBXKLAVIER_CFLAGS) -Wall -g\
-DWIDGETS_DATADIR=$(WIDGETSDATA)
libAnacondaWidgets_la_LIBADD = $(GTK_LIBS) $(GLADEUI_LIBS) $(LIBXKLAVIER_LIBS)
libAnacondaWidgets_la_LDFLAGS = $(LTLIBINTL) -version-info 3:1:1
libAnacondaWidgets_la_LDFLAGS = $(LTLIBINTL) -version-info 3:2:1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to some slides about Autotools I have I think this change should be to 4:0:2

library_version_changes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the explanation. I couldn't found it anywhere.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html is the libtool documentation for -version-info. 4:0:2 is correct, since the change adds interfaces but does not remove or change existing ones.

@jkonecny12
Copy link
Member Author

PR updated.
After discussion with @vpodzime I have fixed the notes above and I also incremented AnacondaWidgets to version 4.0 to be consistent with the soname version.

Therefore AnacondaWidgets soname version is 4.0 and GI for them is also 4.0.
Anaconda GI now requires AnacondaWidgets in version 4.0 everywhere in the code.

I hope I understand it correctly now :D.

@dashea
Copy link
Contributor

dashea commented Feb 2, 2016

The version in -version-info (4:0:2) is not necessarily connected to the widgets version (3.2/4.0). I think incrementing the widgets version to 3.3 instead of 4.0 would be better, since the changes are backwards compatible.

@jkonecny12
Copy link
Member Author

Yeah I was thinking about that too but that looks to me bad when there are so many different versions of one piece of the software. It's still somehow crazy to me :D .

I'll change the widgets version to 3.3 ( the AnacondaWidgets_3_3_gir_FILES too) and leave the soname version the same as it is (-version-info (4:0:2)).

New AnacondaWidgets version is 3.3
Anaconda GI now requires the AnacondaWidgets in version 3.3.

It's required for the multiselection feature in the Custom spoke.
@jkonecny12
Copy link
Member Author

Updated. @dashea is it fine now?

@vpodzime
Copy link
Contributor

vpodzime commented Feb 3, 2016

Looks good to me.

@vpodzime vpodzime added the ACK label Feb 3, 2016
@dashea
Copy link
Contributor

dashea commented Feb 3, 2016

Looks good to me too

@jkonecny12
Copy link
Member Author

Pushed. Thank you for helping me.

@jkonecny12 jkonecny12 closed this Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master Please, use the `f39` label instead.
3 participants