Commit f0cddbec authored by Jeremy Bicha's avatar Jeremy Bicha

New upstream version 3.8.4

parents 643374f0 5159ff74
SHELL=/bin/sh
prefix?=/usr/local
PKG_CONFIG?=pkg-config
OS=$(shell uname || uname -s)
ARCH=$(shell uname -m || arch)
......@@ -123,12 +124,12 @@ PICOBJECTS_PEASD = $(patsubst %.o,%.pic.o,$(OBJECTS_PEASD))
USE_RUNTIME_LINKER = $(shell grep "Linker" generated/gtkd/atk/c/functions.d)
ifeq ($(USE_RUNTIME_LINKER),)
SOFLAGS_GTKD = $(shell pkg-config --libs gtk+-3.0 librsvg-2.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_GTKDGL = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell pkg-config --libs gtkglext-3.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_GTKDSV = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell pkg-config --libs gtksourceview-3.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_GSTREAMERD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell pkg-config --libs gstreamer-base-1.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_VTED = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell pkg-config --libs vte-2.91 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_PEASD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell pkg-config --libs-only-l libpeas-1.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_GTKD = $(shell ${PKG_CONFIG} --libs gtk+-3.0 librsvg-2.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_GTKDGL = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs gtkglext-3.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_GTKDSV = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs gtksourceview-3.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_GSTREAMERD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs gstreamer-base-1.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_VTED = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs vte-2.91 | sed 's/-[lL]/$(LINKERFLAG)&/g')
SOFLAGS_PEASD = $(LINKERFLAG)-L. $(LINKERFLAG)./libgtkd-$(MAJOR).$(SO_POSTFIX) $(shell ${PKG_CONFIG} --libs-only-l libpeas-1.0 | sed 's/-[lL]/$(LINKERFLAG)&/g')
endif
#######################################################################
......
......@@ -52,7 +52,7 @@ public:
extern(C):
version(Windows)
import std.c.windows.windows;
import core.sys.windows.windows;
/* *********************************************************** */
......
......@@ -421,7 +421,7 @@ void main(string[] args)
GStreamer.init(args);
writeln("Checking version of GStreamer...");
GStreamer.versio(major, minor, micro, nano);
GStreamer.version_(major, minor, micro, nano);
writefln("The installed version of GStreamer is %s.%s.%s", major, minor, micro );
GstMediaPlayer gstMediaPlayer = new GstMediaPlayer(args);
......
......@@ -53,6 +53,9 @@ import gtk.ListStore;
import gdk.RGBA;
import gdk.Color;
import pango.PgFontDescription;
import std.stdio;
enum {
COLUMN_NAME,
COLUMN_TEXT,
......@@ -61,6 +64,7 @@ enum {
COLUMN_BOOL_VISIBLE,
COLUMN_TEXT_COLOR,
COLUMN_TEXT_COLOR_RGBA,
COLUMN_TEXT_FONT_DESCRIPTION,
}
void main(string[] args){
......@@ -73,6 +77,7 @@ void main(string[] args){
GType.INT,
Color.getType(),
RGBA.getType(),
PgFontDescription.getType(),
] );
void appendRecord( string name, string value, bool isBoolean, RGBA rgba, Color color ){
......@@ -84,6 +89,7 @@ void main(string[] args){
store.setValue( it, COLUMN_BOOL_VISIBLE, isBoolean );
store.setValue( it, COLUMN_TEXT_COLOR_RGBA, rgba );
store.setValue( it, COLUMN_TEXT_COLOR, color );
store.setValue( it, COLUMN_TEXT_FONT_DESCRIPTION, new PgFontDescription() );
}
// fill store with data
appendRecord( "Loops", "10", false, new RGBA(1.0,0.0,0.0,1.0), new Color(64,64,64) );
......@@ -126,6 +132,17 @@ void main(string[] args){
auto path = new TreePath( p );
auto it = new TreeIter( store, path );
store.setValue(it, COLUMN_BOOL, it.getValueInt( COLUMN_BOOL ) ? 0 : 1 );
auto val = store.getValue(it, COLUMN_TEXT_FONT_DESCRIPTION);
import gobject.Type;
writeln(Type.isA(PgFontDescription.getType(), GType.BOXED));
writeln(PgFontDescription.getType(), " ", val.gType);
auto font = val.get!PgFontDescription();
writeln(font.getFamily());
});
// change the text in the store on end of edit
......
......@@ -164,6 +164,7 @@ public class FlowCombiner
ownedRef = false;
}
alias doref = ref_;
/**
* Increments the reference count on the #GstFlowCombiner.
*
......@@ -171,7 +172,7 @@ public class FlowCombiner
*
* Since: 1.12.1
*/
public FlowCombiner doref()
public FlowCombiner ref_()
{
auto p = gst_flow_combiner_ref(gstFlowCombiner);
......
......@@ -561,7 +561,7 @@ struct GstBitReader
/**
* Current byte position
*/
uint _byte;
uint byte_;
/**
* Bit position in the current byte
*/
......@@ -583,7 +583,7 @@ struct GstByteReader
/**
* Current byte position
*/
uint _byte;
uint byte_;
void*[4] GstReserved;
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.AtscEIT;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -66,7 +66,7 @@ public final class AtscEIT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscEIT);
sliceFree(gstMpegtsAtscEIT);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.AtscEITEvent;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -66,7 +66,7 @@ public final class AtscEITEvent
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscEITEvent);
sliceFree(gstMpegtsAtscEITEvent);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.AtscETT;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -66,7 +66,7 @@ public final class AtscETT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscETT);
sliceFree(gstMpegtsAtscETT);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.AtscMGT;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -66,7 +66,7 @@ public final class AtscMGT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscMGT);
sliceFree(gstMpegtsAtscMGT);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.AtscMGTTable;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -66,7 +66,7 @@ public final class AtscMGTTable
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscMGTTable);
sliceFree(gstMpegtsAtscMGTTable);
}
......
......@@ -24,9 +24,9 @@
module gst.mpegts.AtscMultString;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.Str;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -65,7 +65,7 @@ public final class AtscMultString
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscMultString);
sliceFree(gstMpegtsAtscMultString);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.AtscSTT;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -68,7 +68,7 @@ public final class AtscSTT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscSTT);
sliceFree(gstMpegtsAtscSTT);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.AtscStringSegment;
private import glib.MemorySlice;
private import glib.Str;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -64,7 +64,7 @@ public final class AtscStringSegment
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscStringSegment);
sliceFree(gstMpegtsAtscStringSegment);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.AtscVCT;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -68,7 +68,7 @@ public final class AtscVCT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscVCT);
sliceFree(gstMpegtsAtscVCT);
}
......
......@@ -24,9 +24,9 @@
module gst.mpegts.AtscVCTSource;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.Str;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -67,7 +67,7 @@ public final class AtscVCTSource
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsAtscVCTSource);
sliceFree(gstMpegtsAtscVCTSource);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.BAT;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -66,7 +66,7 @@ public final class BAT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsBAT);
sliceFree(gstMpegtsBAT);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.BATStream;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -64,7 +64,7 @@ public final class BATStream
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsBATStream);
sliceFree(gstMpegtsBATStream);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.ComponentDescriptor;
private import glib.MemorySlice;
private import glib.Str;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -64,7 +64,7 @@ public final class ComponentDescriptor
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsComponentDescriptor);
sliceFree(gstMpegtsComponentDescriptor);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.DataBroadcastDescriptor;
private import glib.MemorySlice;
private import glib.Str;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......
......@@ -24,8 +24,8 @@
module gst.mpegts.EIT;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -66,7 +66,7 @@ public final class EIT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsEIT);
sliceFree(gstMpegtsEIT);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.EITEvent;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -68,7 +68,7 @@ public final class EITEvent
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsEITEvent);
sliceFree(gstMpegtsEITEvent);
}
......
......@@ -24,9 +24,9 @@
module gst.mpegts.ExtendedEventDescriptor;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.Str;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......
......@@ -24,8 +24,8 @@
module gst.mpegts.ISO639LanguageDescriptor;
private import glib.MemorySlice;
private import glib.Str;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......@@ -64,7 +64,7 @@ public final class ISO639LanguageDescriptor
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsISO639LanguageDescriptor);
sliceFree(gstMpegtsISO639LanguageDescriptor);
}
......
......@@ -25,8 +25,8 @@
module gst.mpegts.NIT;
private import glib.ConstructionException;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -68,7 +68,7 @@ public final class NIT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsNIT);
sliceFree(gstMpegtsNIT);
}
......
......@@ -25,8 +25,8 @@
module gst.mpegts.NITStream;
private import glib.ConstructionException;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -66,7 +66,7 @@ public final class NITStream
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsNITStream);
sliceFree(gstMpegtsNITStream);
}
......
......@@ -25,8 +25,8 @@
module gst.mpegts.PMT;
private import glib.ConstructionException;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -71,7 +71,7 @@ public final class PMT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsPMT);
sliceFree(gstMpegtsPMT);
}
......
......@@ -25,8 +25,8 @@
module gst.mpegts.PMTStream;
private import glib.ConstructionException;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -68,7 +68,7 @@ public final class PMTStream
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsPMTStream);
sliceFree(gstMpegtsPMTStream);
}
......
......@@ -25,8 +25,8 @@
module gst.mpegts.PatProgram;
private import glib.ConstructionException;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -68,7 +68,7 @@ public final class PatProgram
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsPatProgram);
sliceFree(gstMpegtsPatProgram);
}
......
......@@ -25,8 +25,8 @@
module gst.mpegts.SDT;
private import glib.ConstructionException;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -68,7 +68,7 @@ public final class SDT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsSDT);
sliceFree(gstMpegtsSDT);
}
......
......@@ -25,8 +25,8 @@
module gst.mpegts.SDTService;
private import glib.ConstructionException;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -66,7 +66,7 @@ public final class SDTService
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsSDTService);
sliceFree(gstMpegtsSDTService);
}
......
......@@ -24,8 +24,8 @@
module gst.mpegts.T2DeliverySystemDescriptor;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
private import gtkd.Loader;
......
......@@ -24,8 +24,8 @@
module gst.mpegts.TOT;
private import glib.MemorySlice;
private import glib.PtrArray;
private import glib.c.functions;
private import gobject.ObjectG;
private import gst.mpegts.c.functions;
public import gst.mpegts.c.types;
......@@ -68,7 +68,7 @@ public final class TOT
~this ()
{
if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef )
g_free(gstMpegtsTOT);
sliceFree(gstMpegtsTOT);
}
......