Jeff Cobb | 1 Oct 2010 05:04

Re: question for the Arista/Transmageddon groups

Totally FWIW, I have found a nice Python-based script for doing MD5
hashes. I need to experiment some to make sure that what it generates
matches the output of the default applet but if so, that would remove
the one platform-specific bit that I need libdvdread for. What I am
trying to say guys is that if this works as a drop-in replacement, I
could have a nice Python module for doing basic lookups this weekend
which should make things easier if you are still interested in this. I
don't know if this list is the right place for detailed coding
discussions but of not I have some technical questions about the basic
requirements for this. I mean, I know what I use the metadata for but I
would like to do a little requirements gathering so I can be sure that
what I deliver to you is what you want/what would truly be useful for
your respective projects...let me know. I can add more tables to the
database, collect different metadata, etc. One way it could work is
this:
1. I prove out the hashing stuff.
2. I upgrade my project to use that, dispensing with the rather onerous
albeit useful "build from source" requirement I have. This would take
maybe 10m.
3. Providing I have your requirements on the metadata, I can extend the
DB as needed. Depending on how little or much the changes are, this
probably would take no more than an hour.
4. I can then get an exported object ready for testing/inclusion in your
projects.
5. I also want to start on a better admin tool; currently I can do all
admin work via command line applets I wrote for the purpose. The idea
behind the GUI/TUI on the admin tool is so that non-programmers can help
by adding data to the DB. I am deathmarching ATM but by the weekend I
want to have a basic walkthru of all of your code, with an eye to
integration strategies. Further, since your apps already sport a GUI, if
(Continue reading)

Florent Thévenet | 3 Oct 2010 21:35
Picon
Favicon

Re: A rewritten gnome-sound-recorder

Hi,
As I was quite busy with school, I didn't work on Gnome-sound-recorder
this month. But this week-end I took some time and instead of doing my
homework I implemented/fixed some things. So we now have a VU Meter; a
'gnome3-ish' app button instead of the menubar and a contextual menu for
the records.

I tried to implement source chooser but listing tracks from Gstreamer
always return a single source and it seems that there's no Vala bindings
for PulseAudio so I don't know what to do.
Also for an unknow reason gnome-sound-recorder often freezes at launch,
so there's no other things to do that killing the process !

There's still a lot of things to do but if someone could review my work
it would be really appreciated because I'm not at all a Gstreamer expert
and I think I'm doing some things wrong.

Cheers
Florent Thévenet - feuloren <at> free.fr

_______________________________________________
gnome-multimedia mailing list
gnome-multimedia <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-multimedia
Marc-André Lureau | 3 Oct 2010 22:47
Picon
Gravatar

Re: A rewritten gnome-sound-recorder

Hi Florent,

On Sun, Oct 3, 2010 at 9:35 PM, Florent Thévenet <feuloren <at> free.fr> wrote:
> always return a single source and it seems that there's no Vala bindings
> for PulseAudio so I don't know what to do.

There is a binding for libpulse:

http://git.0pointer.de/?p=pulseaudio.git;a=blob;f=vala/libpulse.vapi

cheers,

--

-- 
Marc-André Lureau
Yuvi Panda | 4 Oct 2010 12:51
Picon
Gravatar

Re: A rewritten gnome-sound-recorder

Hi!

I've tried to fix the build scripts, and have sent you a merge
request. It is nowhere near 'good-enough' (mostly re: GSettings and
getting GtkBuilder to recognize custom windows), but it's a good start
:)

Do you have a bunch of exports/hacks  your machine that actually get
this app to run?

--

-- 
Yuvi Panda T
http://yuvi.in/blog
Florent Thévenet | 4 Oct 2010 20:04
Picon
Favicon

Re: A rewritten gnome-sound-recorder

Le lundi 04 octobre 2010 à 16:21 +0530, Yuvi Panda a écrit :
> Hi!
> 
> I've tried to fix the build scripts, and have sent you a merge
> request. It is nowhere near 'good-enough' (mostly re: GSettings and
> getting GtkBuilder to recognize custom windows), but it's a good start
> :)
> 

Great, thanks a lot, I really sucks at autotools and these kind of
things and we need a sane build scripts for i18n.
However in your merge request there is no configure file so I can't
build gnome-sound-recorder. Maybe I am misunderstanding something ?

> Do you have a bunch of exports/hacks  your machine that actually get
> this app to run?
I run on ubuntu 10.10 daily and I have nothing to do more than installing gcc, valac, devel packages...

Cheers

_______________________________________________
gnome-multimedia mailing list
gnome-multimedia <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-multimedia
Yuvi Panda | 4 Oct 2010 20:07
Picon
Gravatar

Re: A rewritten gnome-sound-recorder

On Mon, Oct 4, 2010 at 11:34 PM, Florent Thévenet <feuloren <at> free.fr> wrote:
[...]
> Great, thanks a lot, I really sucks at autotools and these kind of
> things and we need a sane build scripts for i18n.

Everyone sucks at autotools - I just copied stuff I remember doing
from Cheese :)

> However in your merge request there is no configure file so I can't
> build gnome-sound-recorder. Maybe I am misunderstanding something ?

configure is generated from configure.ac. run autoreconf, it should
generate them for you.

>> Do you have a bunch of exports/hacks  your machine that actually get
>> this app to run?
> I run on ubuntu 10.10 daily and I have nothing to do more than installing gcc, valac, devel packages...
>

So Ubuntu 10.10 ships a version of glib with GSETTINGS baked in? I'm
running it in a prefix, and am running into no end of trouble getting
it to run.

> Cheers

Cheers, and let's continue the vala revolution :P

--

-- 
Yuvi Panda T
http://yuvi.in/blog
(Continue reading)

Zeeshan Ali (Khattak | 4 Oct 2010 23:07
Picon
Gravatar

Rygel 0.9.0 (The Ugly Truth)

Rygel 0.9.0 (The Ugly Truth) is out!

This release marks the start of the new unstable release-cycle. This is also the
release cycle that will be integrated into GNOME 3. Changes since 0.7.8 that
were not present in subsequent stable (0.8.x) releases:

- Port from dbus-glib and GValue usage to GDBus and GVariant.
- Do not offer HTTP GET/HEAD URIs for place-holder (0-sized) items. This is
  needed to avoid crashes when a newly created item is fetched before the client
  pushes any contents to it.
- Hack XBox search for upnp:class to make it happy.
- Direct XBox's genre search to root container.
- Set item's size on creation.
- Always set VAPIDIR to ${datadir}/vala/vapi.
- Tracker:
  - Add 'Genre' hierarchy.
  - Provide specific UPnP class for artist and album containers so that they
    could be searched by this property. This fixes music browsing on XBox 360.
  - Fix item ID creation logic.
  - Optimize handling of invalid searches and in turn searches in general.
  - Improved handling of search by "upnp:class".
  - Unknown size means size of 0.
  - Expose more information for music items:
    - sample rate
    - number of channels
    - bits per sample
    - bitrate
- MediaExport:
  - Proper default values for item metdata. This fixes the misterious "0" Album
    and Artist on XBox.
(Continue reading)

Jeff Cobb | 5 Oct 2010 02:41

libdvdcss question

Greetings all;
I am hopefully helping out on a couple of projects and one or two of the
projects here and ran into an interesting (to me) issue that maybe
someone here has crossed:
* These projects are cross-platform and
* They and I have written our bits in Python BUT
* Though mine is written in Python there are some bits that I shell out
to C-compiled against libdvdread to get done. While none of these bits
play anything one thing they do do is create an MD5 hash of the data on
the disc. Now I now how to do the reading/hashing bits but the thing I
do NOT know is this. On Linux (my default platform) CSS encryption is
dealt with in a completely different way than it is on Windows.
Basically libdvdread leverages libdvdcss to decrypt the data and it is
largely transparent to the reader/user of said data. On Windows it is a
different ball-game where each reader has to supply its own keys. What
is the best strategy for hitting that cross-platform functionality? I
mean I can think of a number of ways but do not want to re-invent the
wheel, so to speak, if someone has already done it. 

You never really know how nice you have it in Linux-land until you try
to bring this stuff across platforms. Worse, I have an inkling on how to
do this on Windows (meh) but Mac? Not a clue...I mean OS/X is supposedly
the mix between commercial (Apple) and FOSS given the underlying OS. I
do have a Mac-pro friend I can hit up over the Mac side of things but
Windows? I am shrugging my shoulders. 

To add to the confusion, my one Windows install (a VM) runs a commercial
product called AnyDVD which actually works just like the way libdvdread
+ libdvdcss work together...in other words, the decryption layer sits
between the reader/writer lib and the hardware so the decryption is
(Continue reading)

Jeff Cobb | 6 Oct 2010 03:06

Make systems for the sane

Greetings;
I could not help but notice your pain at using autotools. I have used
them for a number of other projects in the past and once set up they are
great but I agree they are a major pain when you have to reconfigure the
project a lot...

In any event, I am sure this is not an option but a make system I use
that is super-easy to learn and works pretty well on a variety of
platforms is CMake. I will not belabor the point but here is all it
takes to make a sample project on Linux, windows and mac with a shared
library and an executable to call/test it:
cmake_minimum_required(VERSION 2.6)
PROJECT(dvdhash)
ADD_DEFINITIONS( -Wall -ggdb)
ADD_LIBRARY( dvdhash SHARED dvdhash.cpp )
ADD_EXECUTABLE(dvdhash_test dvdhash_main.cpp)
TARGET_LINK_LIBRARIES(dvdhash_test dvdhash dvdread)

On Linux it makes dvdhash_test (executable) and libdvdhash.so. On
Windows (from the same source) it makes dvdhash.exe and dvdhash.dll. On
Mac it makes a dynlib (whatever; I don't do Mac so much anymore) and
dvdhash as an executable. I wrote a tiny python script to jumptstart
projects so if I want to test something out quickly, I can create a
directory, cd into it, call my script, answer a few questions and in
seconds have a complete project as outlined above (shared library on
Linux along with a test-harness), skeletal C++ code and the whole smash
is built and executable in like 15 seconds. The point is I can go from
nothing to running code that I can start hanging my test code off of in
no time. 

(Continue reading)

Florent Thévenet | 9 Oct 2010 21:50
Picon
Favicon

Integrating the "new" gnome-sound-recorder

Hi all,

I think my rewrite of the gnome sound recorder is in a pretty good
shape, so I tried desperately to get Gettext working and well.. it's not
a success at all. So I'd like to get help from someone else and I think
integrating it directly in gnome-media could solve some problems.

The point is that I don't understand a thing about autotools and these
Makefile.am files so I can't do it by myself.
I guess somebody here understand autotools, so if you have time, save
me ! :-)

Cheers
Florent Thévenet

_______________________________________________
gnome-multimedia mailing list
gnome-multimedia <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-multimedia

Gmane