ALT repositories
Last updated at Tue, 02 Nov 2021 03:31:00 +0000 | SRPMs: 18563
en ru
SRPMs in branches
hide window
  • 0.7.3.git3a25392-alt2
  • 0.6svn-alt1.qa2
  • 0.6svn-alt1.qa2
  • 0.6svn-alt1.qa2
  • 0.6svn-alt1.qa2
  • 0.6svn-alt1.qa2
  • 0.6svn-alt1.qa1
Group :: Sound
Source RPM: canorus
Raw spec file

BuildRequires: desktop-file-utils
Name: canorus
Version: 0.6svn
%define svnver 877
Release: alt2

Summary: Free cross-platform music score editor
Group: Sound
License: GPL

Packager: Ildar Mulyukov <ildar at>



Source1: %name.desktop

# Patch1: %name-...patch

Patch2: %name-0.6svn-alt-DSO.patch
Patch3: %name-0.6svn-gcc8-fix.patch

# Automatically added by buildreq on Thu Jan 03 2008

BuildRequires: ImageMagick cmake gcc-c++ libalsa-devel libqt4-devel libqt4-svg

# Century Schoolbook L

PreReq: urw-fonts
# FreeSans

PreReq: fonts-ttf-freefont

Canorus is a free next generation cross-platform music score editor
written in Qt4. It is a sequel of the well-known music score editor
for Linux, NoteEdit.

Canorus supports Python and Ruby scripting languages for plugins, a
fast and straight-forward user interface, source view of the score,
a number of import and export filters for LilyPond, MusicXML,
NoteEdit and others.

%setup -q -n %name-%version.R%svnver
#%%patch1 -p1

%patch2 -p2
%patch3 -p2

%make VERBOSE=1

find -name cmake_install.cmake | xargs -i \
subst 's|DESTINATION \"/usr/|DESTINATION \"%buildroot/usr/|' {}
%make install
rm -f %buildroot%_datadir/%name/*.so
rm -f %buildroot%_libdir/*.py
rm -rf %buildroot%_datadir/fonts/truetype/
mkdir -p %buildroot%_datadir/fonts/ttf/%name/
install -m644 src/fonts/Emmentaler-14.ttf %buildroot%_datadir/fonts/ttf/%name/

mkdir -p %buildroot%_desktopdir
install -m644 %SOURCE1 %buildroot%_desktopdir

mkdir -p %buildroot%_iconsdir/hicolor/{48x48,32x32,16x16}/apps/
convert %buildroot%_datadir/%name/images/clogosm.png -resize 48x48 %buildroot%_liconsdir/clogosm.png
convert %buildroot%_datadir/%name/images/clogosm.png -resize 32x32 %buildroot%_niconsdir/clogosm.png
convert %buildroot%_datadir/%name/images/clogosm.png -resize 16x16 %buildroot%_miconsdir/clogosm.png


# py and ruby

# %%find_lang --with-kde %name

%add_findreq_skiplist %_datadir/%name/scripts/*
desktop-file-install --dir %buildroot%_desktopdir \
--add-category=AudioVideo \

fc-cache %_datadir/fonts/ttf/%name ||:



* Tue Feb 12 2019 Pavel Moseev <mars at> 0.6svn-alt2
- no return statement in the non-void function fixed (according g++8)

* Thu Jun 14 2012 Eugeny A. Rostovtsev (REAL) <real at> 0.6svn-alt1.qa2
- Fixed build

* Tue Jun 07 2011 Repocop Q. A. Robot <repocop at> 0.6svn-alt1.qa1
- NMU (by repocop). See
- applied repocop fixes:
* freedesktop-desktop-file-proposed-patch for canorus

* Fri Nov 07 2008 Ildar Mulyukov <ildar at> 0.6svn-alt1
- snapshot SVN version 877
- desktop file fixes
- native icon

* Mon Apr 14 2008 Ildar Mulyukov <ildar at> 0.5-alt1
- new version
- desktop file categories fix

* Thu Apr 10 2008 Igor Vlasenko <viy at> 0.4-alt1.qa1
- NMU (by repocop): the following fixes applied:
* update_menus for canorus

* Thu Jan 03 2008 Ildar Mulyukov <ildar at> 0.4-alt1
- 1st Sisyphus release

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.