[depreciated]mms-1.0.8.1 packaged for Debian/Edgy (PLS test)

Moderator: Moderator

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Thu Dec 21, 2006 9:33 pm

Uatschitchun wrote:Is it OK to go this way:

./configure blablabla
make
make install
cd library-builder
make mms-audio-library
cd ../pic-library
make mms-pic-library
cd ..


or does it have to be:
./configure blablabla
make
make install
cd library-builder
make clean
make mms-audio-library
cd ../pic-library
make clean
make mms-pic-library
cd ..


If I do it 2nd way, I do get a complain this one:
302 übersetzte Meldungen, 4 ungenaue Übersetzungen.
make[3]: Verlasse Verzeichnis '/usr/local/src/debian/mms-1.0.8.1/po'
make[2]: Verlasse Verzeichnis '/usr/local/src/debian/mms-1.0.8.1'
rm ../mms.o
/bin/sh /usr/bin/libtool --mode=link g++ -I/usr/local/include -I/usr/include/ -I../ -I/usr/include/taglib -pipe -O0 -g -DDEBUG -DSTANDALONE -D_GNU_SOURCE -I/usr/include/cc++2 -I/usr/include/libxml2 -o mms-audio-library imms.o immsdb.o basicdb.o correlate.o playlist.o sqldb.o fetcher.o picker.o spectrum.o songinfo.o comm.o server.o regexx.o utils.o strmanip.o levenshtein.o md5.o player.o xidle.o ../*.o main.o ../termio/getch2.o -llirc_client -lalsaplayer `sdl-config --libs` ../libs/tinyxml/tinyxml.o ../libs/tinyxml/tinyxmlparser.o ../libs/tinyxml/tinyxmlerror.o ../libs/tinyxml/tinystr.o `imlib2-config --libs` ../libs/termcap/libtermcap.a -pthread -lccext2 -lccgnu2 -ldl -lrt -lxml2 -L/usr/lib -L/usr/X11R6/lib -lXss -lXext -lpcre -lsqlite -lz -ltag
g++ -I/usr/local/include -I/usr/include/ -I../ -I/usr/include/taglib -pipe -O0 -g -DDEBUG -DSTANDALONE -D_GNU_SOURCE -I/usr/include/cc++2 -I/usr/include/libxml2 -o mms-audio-library imms.o immsdb.o basicdb.o correlate.o playlist.o sqldb.o fetcher.o picker.o spectrum.o songinfo.o comm.o server.o regexx.o utils.o strmanip.o levenshtein.o md5.o player.o xidle.o ../alsaplayer.o ../audio.o ../audio_opts.o ../audio_s.o ../busy_indicator.o ../cd.o ../common.o ../config.o ../dbaudiofile.o ../display.o ../epg.o ../extra_menu.o ../file_monitor.o ../file_t.o ../game.o ../general.o ../global_options.o ../graphic_object.o ../image.o ../imdb.o ../imdb_movie.o ../input.o ../keyboard.o ../libfspp.o ../lirc.o ../module.o ../movie.o ../option.o ../options.o ../pic_object.o ../pictures.o ../player.o ../print.o ../rand.o ../rectangle_object.o ../render_device.o ../renderer.o ../replay.o ../replay_device.o ../sdlout.o ../shoutcast.o ../shuffle_list.o ../simplefile.o ../socket.o ../startmenu.o ../text_object.o ../theme.o ../themes.o ../tv.o ../updater.o ../wget_wrapper.o main.o ../termio/getch2.o ../libs/tinyxml/tinyxml.o ../libs/tinyxml/tinyxmlparser.o ../libs/tinyxml/tinyxmlerror.o ../libs/tinyxml/tinystr.o -pthread /usr/lib/liblirc_client.so /usr/lib/libalsaplayer.so -L/usr/lib /usr/lib/libSDL.so -lpthread /usr/lib/libImlib2.so /usr/lib/libfreetype.so -lX11 -lm ../libs/termcap/libtermcap.a /usr/lib/libccext2.so /usr/lib/libccgnu2.so -ldl -lrt /usr/lib/libxml2.so -L/usr/X11R6/lib -lXss -lXext -lpcre /usr/lib/libsqlite.so -lz /usr/lib/libtag.so
g++: main.o: No such file or directory
make[1]: *** [mms-audio-library] Fehler 1
make[1]: Verlasse Verzeichnis '/usr/local/src/debian/mms-1.0.8.1/library-builder'
make: *** [install] Fehler 2


Do the mms-*-libraries respect the new dirs?
/var/lib/mms for mms-audio-library
and
/var/cache/mms for mms-pic-library?

And pic-library is not cleaned with "make distclean" !?

The deb builds fine with the mms-*-lib* included ...
If it works like this, we do not need to change Makefile nor configure :wink:


You get that main.o missing error if you changed something in the main Makefile so that it needs to recompile everything or if you didn't compile it first.

The mms-*-library progs was not working ok with the new file structure. Fixed in patch-58 together with installation of mms-audio-library + mms-pic-library in make install (see log).

New install process would be:

Code: Select all

make
make install
make library-builders
make library-builders-install


Keep up the good work pumping out debs! :)

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Thu Dec 21, 2006 9:54 pm



Could you please post a thread in the 1.0.9 part with the improvements an autotools built configure system will have compared to a hand-written? I'm really interested in the cross-platform aspect. I guess that is why you wrote them? But other than that I'm not a big fan of autotools. But lets start a seperate thread to discuss that :)

User avatar
acmelabs
Overlord
Posts: 2365
Joined: Mon Feb 20, 2006 9:18 pm
Location: Germany
Contact:

Re: New Version is online! (1.0.8.1-5)

Postby acmelabs » Fri Dec 22, 2006 5:23 pm

I've tested 1.0.8.1-5, and it's working here! :D

Found faulty permissions for /usr/lib/vdr2xmltv. You have to apply chmod 755.

Brillant work! Keep going.

Regards,

Andreas

ps: If I go to properties->icons, where do I have to look for the MMS icon?

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

New version available ... 1.0.8.1+patch60

Postby Uatschitchun » Sat Dec 23, 2006 6:55 pm

Hi there ...

New version available. I updated to latest patch (patch-60).

Two things for anders ;)

* The line:

Code: Select all

--- mms-1.0.8.1/Makefile        2006-12-23 19:16:37.000000000 +0100
+++ mms-1.0.8.1/Makefile.neu    2006-12-23 18:58:45.000000000 +0100
@@ -377,7 +377,6 @@
        @cp -r themes $(DESTDIR)$(DATADIR)/ ;
        @if test ! -d $(DESTDIR)$(DATADIR)/fonts ; then cp -r fonts $(DESTDIR)$(DATADIR)/ ; fi
        @if test ! -d $(DESTDIR)$(CONFIGDIR) ; then mkdir -p $(DESTDIR)$(CONFIGDIR) ; fi
-       @if test ! -d $(DESTDIR)$(CONFIGDIR)/themes ; then mkdir -p $(DESTDIR)$(CONFIGDIR)/themes ; fi
 ifeq ($(VO_SDL),yes)
        @if test ! -f $(DESTDIR)$(CONFIGDIR)/config ; then $(INSTALL) -c -m 644 cfg/config-sdl $(DESTDIR)$(CONFIGDIR)/config && $(ETC_PATCH); fi
 endif

is obsolete ..

* Does 'make distclean' cleans library-builder, too?
I had to add these line to debian/rules:

Code: Select all

$(MAKE) -C library-builder clean
$(MAKE) -C pic-library clean


Here's the changelog:

mms (1.0.8.1+patch60-1) edgy; urgency=low

* New upstream release
Updated to latest patch (patch-60)
* [Changed] 05_revert-patch-lirc-to-keyboard.dpatch to reflect changes
in Makefile
* [Added] 06-fix-Makefile-create-themesdir.dpatch to remove 'still
existing' line in Makefile creating obsolete dir 'themes' in
'/etc/mms'
* [Fixed] chmod 755 for vdr2xmltv
* [TODO] manpage is not readable
* [Fixed] debian/rules according to changes in new upstream's Makefile
for building lirbrary-builders
* [Fixed] debian/rules to also remove created library-builders
binaries


Lg
Roman

User avatar
acmelabs
Overlord
Posts: 2365
Joined: Mon Feb 20, 2006 9:18 pm
Location: Germany
Contact:

Re: [Announce] mms-1.0.8.1 packaged for Debian/Edgy (PLS tes

Postby acmelabs » Sat Dec 23, 2006 8:11 pm

quick test:
strange: MMS doesn't start from the console. It reports an error in THEME:

Code: Select all

root@vulcan:/home/acme/mms-deb# mms
Config: Öffne Konfigurationsdatei /etc/mms/config
Nutze /etc/mms/ als Konfigurationsverzeichnis
THEME: Fehler beim öffnen der Einstellungsdatei /etc/mms/options


but if I use Alt+F2 and start it there (/usr/bin/mms) it starts. What's wrong here?

Regards,

Andreas

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Re: New version available ... 1.0.8.1+patch60

Postby arj » Sun Dec 24, 2006 12:22 am

Uatschitchun wrote:Two things for anders ;)

* The line:

Code: Select all

--- mms-1.0.8.1/Makefile        2006-12-23 19:16:37.000000000 +0100
+++ mms-1.0.8.1/Makefile.neu    2006-12-23 18:58:45.000000000 +0100
@@ -377,7 +377,6 @@
        @cp -r themes $(DESTDIR)$(DATADIR)/ ;
        @if test ! -d $(DESTDIR)$(DATADIR)/fonts ; then cp -r fonts $(DESTDIR)$(DATADIR)/ ; fi
        @if test ! -d $(DESTDIR)$(CONFIGDIR) ; then mkdir -p $(DESTDIR)$(CONFIGDIR) ; fi
-       @if test ! -d $(DESTDIR)$(CONFIGDIR)/themes ; then mkdir -p $(DESTDIR)$(CONFIGDIR)/themes ; fi
 ifeq ($(VO_SDL),yes)
        @if test ! -f $(DESTDIR)$(CONFIGDIR)/config ; then $(INSTALL) -c -m 644 cfg/config-sdl $(DESTDIR)$(CONFIGDIR)/config && $(ETC_PATCH); fi
 endif

is obsolete ..

* Does 'make distclean' cleans library-builder, too?
I had to add these line to debian/rules:

Code: Select all

$(MAKE) -C library-builder clean
$(MAKE) -C pic-library clean



Fixed in patch-61

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: [Announce] mms-1.0.8.1 packaged for Debian/Edgy (PLS tes

Postby Uatschitchun » Sun Dec 24, 2006 12:12 pm

acmelabs wrote:quick test:
strange: MMS doesn't start from the console. It reports an error in THEME:

Code: Select all

root@vulcan:/home/acme/mms-deb# mms
Config: Öffne Konfigurationsdatei /etc/mms/config
Nutze /etc/mms/ als Konfigurationsverzeichnis
THEME: Fehler beim öffnen der Einstellungsdatei /etc/mms/options


but if I use Alt+F2 and start it there (/usr/bin/mms) it starts. What's wrong here?


Will test for this if I update to the new upstream ... but I won't do that before the next days ;)

Fixed in patch-61

Thx!

Lg
Roman

User avatar
acmelabs
Overlord
Posts: 2365
Joined: Mon Feb 20, 2006 9:18 pm
Location: Germany
Contact:

Re: [Announce] mms-1.0.8.1 packaged for Debian/Edgy (PLS tes

Postby acmelabs » Mon Dec 25, 2006 2:26 am

Just a thought: is it possible to provide a /etc/init.d/mms with an UTF-8 string in it? Or check for UTF-8 support at all.
As far as I see it, the Umlauts and the imdb stuff doesn't work, if I just start it out of the box, means no UTF-8.

Season's Greetings

Andreas

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Postby Uatschitchun » Mon Dec 25, 2006 9:35 am

Afaik Edgy uses UTF-8 as default ... !? Are you sure your media is UTF-8, too?
I have the same problem with 'Umlaute' cause of using external drives formatted with vfat, thus not using UTF-8 ;(
A 'locale' in Edgy should give:
"de_DE.UTF-8"

does it?

Providing an init-script is not useful, cause of MMS not running as a daemon (An example init-script could be provided in /usr/share/doc/mms/examples). But we can use and provide a wrapper-script instead to start MMS ...

Lg
Roman

User avatar
acmelabs
Overlord
Posts: 2365
Joined: Mon Feb 20, 2006 9:18 pm
Location: Germany
Contact:

Postby acmelabs » Mon Dec 25, 2006 3:52 pm

Uatschitchun wrote:Afaik Edgy uses UTF-8 as default ... !? Are you sure your media is UTF-8, too?
I have the same problem with 'Umlaute' cause of using external drives formatted with vfat, thus not using UTF-8 ;(
A 'locale' in Edgy should give:
"de_DE.UTF-8"

does it?

Providing an init-script is not useful, cause of MMS not running as a daemon (An example init-script could be provided in /usr/share/doc/mms/examples). But we can use and provide a wrapper-script instead to start MMS ...

Lg
Roman


Yeah, a wrapper would be perheps the best solution.

But something different:
    As flood mentioned the volume issue with mplayer, I've discovered that my MMS with your deb-install doesn't work at all with lirc and mplayer, whereas the normal installation method works fine, without me ever done lirc/mplayer config stuff for it.


Could you check, pls?

Regards,

Andreas

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Postby Uatschitchun » Tue Dec 26, 2006 8:58 am

acmelabs wrote:But something different:
    As flood mentioned the volume issue with mplayer, I've discovered that my MMS with your deb-install doesn't work at all with lirc and mplayer, whereas the normal installation method works fine, without me ever done lirc/mplayer config stuff for it.

Could you explain this with a little more details?
'Does not work at all" - sounds like it could be anything :twisted:

Lg
Roman

User avatar
acmelabs
Overlord
Posts: 2365
Joined: Mon Feb 20, 2006 9:18 pm
Location: Germany
Contact:

Postby acmelabs » Tue Dec 26, 2006 12:26 pm

Uatschitchun wrote:
acmelabs wrote:But something different:
    As flood mentioned the volume issue with mplayer, I've discovered that my MMS with your deb-install doesn't work at all with lirc and mplayer, whereas the normal installation method works fine, without me ever done lirc/mplayer config stuff for it.

Could you explain this with a little more details?
'Does not work at all" - sounds like it could be anything :twisted:

Lg
Roman

The keys in lirc.conf for mplayer are working with the standard installation method, and in yours they don't. If you like to know which keys these are, look into lirc.conf.

Regards,

Andreas


Return to “announcements”

Who is online

Users browsing this forum: No registered users and 2 guests