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

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 13 00:28:13 UTC 2009


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 #7 from Luis Garrido <luisgarrido at users.sf.net>  2009-07-12 20:28:12 EDT ---
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.
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?

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. I also get an
error when I invoke canorus from the command line:

Error: _CanorusPython.so not found

-- 
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.




More information about the Fedora-package-review mailing list