It is currently Thu May 23, 2013 10:18 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [FIFO] LMMS 0.4.1
PostPosted: Tue Dec 30, 2008 8:13 am 
Community Packager
Community Packager
User avatar

Joined: Thu Aug 14, 2008 8:26 am
Posts: 1373
Location: Paris
Hi,

I'm now the maintainer of LMMS. The way to compile it has changed since 0.3.2, so here's the package to test.

I still have the same problem with the "Icon" part on the .desktop: when I use sed in command line after a "installpkg" directly on /usr/share/applications/lmms.desktop, it works. But the file in $startdir/pkg/ is not modified when the ZenBuild is running... I don't understand why...

SNAPSHOT

[extra/xap] lmms 0.4.1

Description
LMMS (Linux MultiMedia Studio) is a complete suite for digital music-production under Linux. It provides software-synthesizers, samples, MIDI-support, effects, event-automation and much more.

Package:
ZENBUILD
build-lmms-0.4.1-i486-54.1.log
build-lmms.sh
lmms-0.4.1-i486-54.1.dep
lmms-0.4.1-i486-54.1.md5
lmms-0.4.1-i486-54.1.src
lmms-0.4.1-i486-54.1.tgz
lmms-0.4.1.tar.bz2
lmms.png

_________________
Ejis :)


Last edited by Ejis on Thu Jan 01, 2009 8:02 pm, edited 2 times in total.

 Profile Send private message  
 
 Post subject: Re: LMMS 0.4.1
PostPosted: Tue Dec 30, 2008 9:16 am 
Experienced Zenwalker
Experienced Zenwalker

Joined: Wed Nov 26, 2008 6:44 am
Posts: 156
In comparison the two lmms.desktop files, I found that the original has already pointed to
Code:
/usr/share/lmms/themes/default/icon.png

In the package, it is only
Code:
/usr/share/lmms/themes/default/icon


I could be wrong, but the icon itself is 64x64 which may be okay, but according to the packaging rule:
Code:
16. All icons are to be installed to the "usr/share/icons/hicolor/scalable/apps/" or "usr/share/icons/hicolor/48x48/apps/" directories depending on the icon type svg or png. "usr/share/pixmaps" is forbidden for menus, still allowed for internal application images, but strongly discouraged. Internal application images should be placed in /usr/share/app-name/some-directory (most apps do it this way, btw)


So, you might want to resize image to 48x48, create $startdir/pkg/usr/share/icons/hicolor/48x48/apps and then place it in that directory as lmms.png and your sed can become
Code:
sed -i "s:/usr/share/lmms/themes/default/icon.png:lmms:g" $startdir/pkg/usr/share/applications/lmms.desktop


If you have ImageMagick installed, you can add the following instead:
Code:
mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps
convert $startdir/pkg/usr/share/lmms/themes/default/icon.png -sample 48x48 $startdir/pkg/usr/share/icons/hicolor/48x48/apps/lmms.png
sed -i "s:/usr/share/lmms/themes/default/icon.png:lmms:g" $startdir/pkg/usr/share/applications/lmms.desktop


I didn't test the app btw.


 Profile Send private message  
 
 Post subject: Re: LMMS 0.4.1
PostPosted: Tue Dec 30, 2008 10:13 am 
Community Packager
Community Packager
User avatar

Joined: Thu Aug 14, 2008 8:26 am
Posts: 1373
Location: Paris
Yes, I also thought about placing the icon in 48x48. I will do that, finally...

_________________
Ejis :)


 Profile Send private message  
 
 Post subject: Re: LMMS 0.4.1
PostPosted: Tue Dec 30, 2008 11:32 am 
Community Packager
Community Packager
User avatar

Joined: Thu Aug 14, 2008 8:26 am
Posts: 1373
Location: Paris
Done.
Now the icon is in 48x48.

_________________
Ejis :)


 Profile Send private message  
 
 Post subject: Re: LMMS 0.4.1
PostPosted: Thu Jan 01, 2009 8:01 pm 
Global Moderator
Global Moderator
User avatar

Joined: Mon Apr 10, 2006 12:43 pm
Posts: 4727
Location: Ath (Belgium)
-> FIFO :)


Bip


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: