Re: GTK+ MPlayer Frontend



On Mon, 01 Nov 2010 13:09:38 +0100
michael <michael evidence eu com> wrote:

Alex Ermakov wrote:
On Fri, 29 Oct 2010 10:00:21 +0200
michael <michael evidence eu com> wrote:

  
Alex Ermakov wrote:
    
Hello. I'm looking for GTK+ developers, who're interested in
development 
          
of
  
      
GTK+ based MPlayer frontend. I've started to write such frontend
just 
          
about
  
      
a year ago, now it's hosted on sf.net:
http://sourceforge.net/projects/nmpfront/ . But unfortunately I
have not enough free time to keep active development of this
project. So I would 
          
be
  
      
very glad if someone wants to participate in further development
of nmpf. 
          
If
  
      
you're interested in this project, please contact me or just
answer this mail.

Best regards,
Alex Ermakov
      
          
Alex,

What is wrong with gnome-mplayer? It has been in development for
a few years. Has no hard gnome requirements and can function as a
browser 
        
plugin.
  
      
What else would you want in it?
    
        
I don't like gnome-mplayer, it's buggy and has just a few options
to control mplayer.
I like functionality of smplayer, but it uses Qt for gui. My idea
is to write something like
smplayer but based on GTK+ toolkit.

  
      
Does your frontend compile?

Michael
    
Best regards,
Alex Ermakov
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

  
      

Yes, it compiles fine.

  
Ok :), you don't receive mu attach. So I don't understand how it link 
GTHREAD library without specify it in the configure.ac. What version
of enviroment do you use?

diff --git a/Makefile.am b/Makefile.am
index b70c8be..faed1d2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,6 @@ DISTCLEANFILES = intltool-extract \
     intltool-update \
     po/.intltool-merge-cache
 
-
 # Remove doc directory on uninstall
 uninstall-local:
     -rm -r $(nmpfdocdir)
diff --git a/configure.ac b/configure.ac
index 3715868..f393127 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,9 +13,6 @@ AC_PROG_CC
 AM_PROG_CC_STDC
 AC_HEADER_STDC
 
-
-
-
 dnl 
***************************************************************************
 dnl Internatinalization
 dnl 
***************************************************************************
@@ -25,16 +22,11 @@ 
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT
package name])
 AM_GLIB_GNU_GETTEXT
 IT_PROG_INTLTOOL([0.35.0])
 
-
-
 AM_PROG_LIBTOOL
 
-
-
-PKG_CHECK_MODULES(NMPF, [gtk+-2.0 >= 2.12    ])
-
-
-
+PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.12    ])
+PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.22    ])
+PKG_CHECK_MODULES([GTHREAD], gthread-2.0)
 
 AC_OUTPUT([
 Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index f7c58c5..d1706d1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,7 +7,9 @@ AM_CPPFLAGS = \
     -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
     -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
     -DPACKAGE_DOC_DIR=\""$(prefix)/doc/nmpf"\"\
-    $(NMPF_CFLAGS)
+    $(GLIB_CFLAGS) \
+    $(GTHREAD_CFLAGS) \
+    $(GTK_CFLAGS)
 
 AM_CFLAGS =\
      -Wall\
@@ -27,7 +29,11 @@ nmpf_SOURCES = \
 nmpf_LDFLAGS = \
     -Wl,--export-dynamic
 
-nmpf_LDADD = $(NMPF_LIBS)
+nmpf_LDADD = \
+    $(GTHREAD_LIBS) \
+    $(GLIB_LIBS) \
+    $(GTK_LIBS)
 
 EXTRA_DIST = $(ui_DATA)



Michael Trimarchi

I received your patch and applied it, nmpf compiles fine.

My environment is gentoo ~amd4:

[I] x11-libs/gtk+
Installed versions:  2.20.1-r1(2)(13:44:33 26.09.2010)(cups doc jpeg
jpeg2k vim-syntax -aqua -debug -introspection -test -tiff -xinerama)

[I] dev-libs/glib
Installed versions:  2.24.2(2)(21:47:08 25.09.2010)(doc -debug -fam
-selinux -xattr)

-- 
Alex Ermakov <fufler gmail com>


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