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
About window shows version 0.83 instead of 1.0.1 #4
Comments
You can verify this? |
I looked into RPM from Fedora and Gentoo's libcdio package version 0.83 and both have this include file setting this: dev-libs/libcdio-0.83 (/usr/include/cdio/cdio_config.h) cdio_config.h:#define PACKAGE_VERSION "0.83" Which might be the culprit? I looked config.log, build output with --disable-silent-rules, and a lot more and couldn't find any other explanation. Not sure how it gets picked up from there yet. |
Please see /usr/include/cdio/cdio_unconfig.h which should get added somewhere in cdda.h or pragha.h or ... I'm not sure which is the correct sequence. Please read some 10 first lines of this header file: You can include this to remove any C preprocessor symbols created in cdio_config.h. (Not pasting the rest here because github for some reason thinks I'm adding invisible text or something funny.) (src/cdda.h includes 2 libcdio headers which then include the cdio_config.h and sets PACKAGE_VERSION from there... that needs later get wiped by cdio_unconfig.h which is now missing) |
Wow.. You are genius!. P.s: Sorry. I have not much time lately. |
Fix issue #4 workaround for mess after including cdio
:( In fedora: See here: http://lists.gnu.org/archive/html/libcdio-devel/2012-01/msg00077.html Any idea? |
Fedora is still at 0.83 which is the last released version, as per: http://pkgs.fedoraproject.org/gitweb/?p=libcdio.git;a=blob_plain;f=libcdio.spec;hb=HEAD I guess add AC_CHECK_HEADER([cdio/cdio_unconfig.h]) and #ifdef it in the code to be compatible with the libcdio from version control? Just like the config.h is #ifdef'd already. |
Yes. In fedora 16 is still V0.82. Maybe for this? |
rawhide is still at 0.83... not newer... |
We might remove line |
Then it would fail to compile with an error like 'PACKAGE_VERSION already declared here.' if not unset. Can't #define twice. No? |
Maybe warning, but not error |
With current git, and cdio_unconfig.h removed from cdda.h. Didn't fail, but looks pretty ugly: ./config.h:81:0: warning: "PACKAGE" redefined [enabled by default] (And these same messages few hundred lines more... Didn't want to paste everything...) |
Something like this could work but then cdda.h would need to include config.h heh :-P --- pragha.orig/configure.ac 2012-03-20 16:07:46.314132265 +0200 +AC_CHECK_HEADER([cdio/cdio_unconfig.h],
|
Nop. Well. Also extracted both SRPM, and seems that this issue are olny in cdio 0.83.
You can test it with 0.83? |
Yes. |
@ssuominengentoo for #ifdef HAVE_CDIO_UNCONFIG_H we need include our config.h... |
OK, because there is a #define in cdio_config.h that gets set if it's included we can do this: http://dev.gentoo.org/~ssuominen/pragra-cdio-compat.patch That should work for everyone. And without warnings. |
@ssuominengentoo for #ifdef HAVE_CDIO_UNCONFIG_H we need include our config.h... Yes. You patch work here.. |
looks a lot has changed in git, for example there is no longer cdda.h so no, pragha won't compile with libcdio git with or without the patch |
cdda.h is part of pragha, isn't it? |
pragha has src/cdda.h which includes cdio/cdda.h and that cdio/cdda.h is no longer part of libcdio in git and it isn't that simple as more has changed too in libcdio git, I won't be doing the port to it. sorry :( |
Pardon :-) |
Well.. But with 0.83 and you patch work? In the list of libcdio are talking about making two parallel versions, by the amount of changes that are adding. We should wait the next version, but for now we focus at 0.82 and 0.83. Agree? when release the next version, we'll see. EDIT: 0.84 to 0.83. haha |
So commit it. |
ok. ;) |
I don't see any problems with the About window version anymore, using pragha 1.1.1 and libcdio-paranoia-0.90 (Issue 46) |
Fix issue #4 workaround for mess after including cdio
Fix issue #4 workaround for mess after including cdio
Fabian Köster reported here http://bugs.gentoo.org/show_bug.cgi?id=408321 that Pragha's About Window is showing version
0.83 instead of 1.0.1.
0.83 is the version number of libcdio...
The text was updated successfully, but these errors were encountered: