[Bug 510668] Review Request: canorus - Music Score Editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=510668





--- Comment #8 from Orcan 'oget' Ogetbil <oget.fedora@xxxxxxxxx>  2009-07-13 02:16:25 EDT ---
(In reply to comment #7)
> Ah, ok, I see.
> 
> Sure, please, it would be nice to have it in FC10.
> 
> You could tweak the postinst script to do something like:
> 
> # Handle fonts
> rm -f %{buildroot}%{_datadir}/%{name}/fonts/*.ttf
> lilyfontdir = ../../fonts/lilypond/`rpm -q --qf %{VERSION} lilypond`/fonts/otf
> ln -s ../../fonts/freefont/FreeSans.ttf %{buildroot}%{_datadir}/%{name}/fonts/
> ln -s $lilyfontdir/emmentaler-14.otf %{buildroot}%{_datadir}/%{name}/fonts/
> ln -s $lilyfontdir/CenturySchL-Bold.otf %{buildroot}%{_datadir}/%{name}/fonts/
> ln -s $lilyfontdir/CenturySchL-BoldItal.otf
> %{buildroot}%{_datadir}/%{name}/fonts/
> ln -s $lilyfontdir/CenturySchL-Ital.otf %{buildroot}%{_datadir}/%{name}/fonts/
> ln -s $lilyfontdir/CenturySchL-Roma.otf %{buildroot}%{_datadir}/%{name}/fonts/
> 
> This won't work because rpmbuild barfs at the assignment command, I tried it.

It doesn't work because of these spaces

lilyfontdir = ../../fonts/lilypond/`rpm -q --qf %{VERSION} lilypond`/fonts/otf
           ^ ^

It is also not a good practice to invoke "rpm" in a specfile. Just use *

> Having to build the full package just to test small changes to the postinst
> stuff is beyond stupid, and I can't seem to find a shortcut that skips that
> stage, so every try takes 15 minutes. Any tip for rebuilding a RPM after
> changing small things like Requires or helper scripts without having to 
> perform the whole routine?
> 

Not that I know of. If you are using mock, you can pass a --no-clean so that
the previous mock root is used. That's pretty much it.

> Anyway, I remade the symbolic links manually and the symbols have changed, but
> they are still wrong, even if there are no broken links anymore. 

The application works here with no weird symbols. I asked nim-nim how I should
handle fonts on F-10. Maybe it's okay to used the bundled fonts on F-10. But
we'll see.

> I also get an error when I invoke canorus from the command line:
> 
> Error: _CanorusPython.so not found  

Short answer:
This can be ignored. 

Long answer:
The application tries to add 
   /usr/share/canorus/_CanorusPython.so
to syspath for python CLI. But we don't install that file there because it is a
wrong place. No arch specific binary lib files should go to /usr/share/. I'm in
contact with upstream to fix this for good.

Instead, we install this file to
   /usr/lib(64)/python2.6/site-packages/
which is already in syspath.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]