diff --git a/talimatname/genel/g/gconf-sharp/02_fix_pkg-config_paths.patch b/talimatname/genel/g/gconf-sharp/02_fix_pkg-config_paths.patch new file mode 100644 index 000000000..d8e239032 --- /dev/null +++ b/talimatname/genel/g/gconf-sharp/02_fix_pkg-config_paths.patch @@ -0,0 +1,49 @@ +## 02_fix_pkg-config_paths.dpatch by Mirco Bauer +## +## Modified by Archlinux: removed libdir change + +diff -urNad gnome-sharp-2.24.1~/art/art-sharp-2.0.pc.in gnome-sharp-2.24.1/art/art-sharp-2.0.pc.in +--- gnome-sharp-2.24.1~/art/art-sharp-2.0.pc.in 2009-03-21 19:02:54.000000000 +0100 ++++ gnome-sharp-2.24.1/art/art-sharp-2.0.pc.in 2009-03-21 19:03:32.000000000 +0100 +@@ -1,4 +1,4 @@ +-prefix=${pcfiledir}/../.. ++prefix=@prefix@ + exec_prefix=${prefix} + libdir=${exec_prefix}/lib + gapidir=${prefix}/share/gapi-2.0 +diff -urNad gnome-sharp-2.24.1~/gconf/GConf/gconf-sharp-2.0.pc.in gnome-sharp-2.24.1/gconf/GConf/gconf-sharp-2.0.pc.in +--- gnome-sharp-2.24.1~/gconf/GConf/gconf-sharp-2.0.pc.in 2009-03-21 19:02:54.000000000 +0100 ++++ gnome-sharp-2.24.1/gconf/GConf/gconf-sharp-2.0.pc.in 2009-03-21 19:03:26.000000000 +0100 +@@ -1,4 +1,4 @@ +-prefix=${pcfiledir}/../.. ++prefix=@prefix@ + exec_prefix=${prefix} + libdir=${exec_prefix}/lib + +diff -urNad gnome-sharp-2.24.1~/gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in gnome-sharp-2.24.1/gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in +--- gnome-sharp-2.24.1~/gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in 2009-03-21 19:02:54.000000000 +0100 ++++ gnome-sharp-2.24.1/gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in 2009-03-21 19:03:20.000000000 +0100 +@@ -1,4 +1,4 @@ +-prefix=${pcfiledir}/../.. ++prefix=@prefix@ + exec_prefix=${prefix} + libdir=${exec_prefix}/lib + +diff -urNad gnome-sharp-2.24.1~/gnome/gnome-sharp-2.0.pc.in gnome-sharp-2.24.1/gnome/gnome-sharp-2.0.pc.in +--- gnome-sharp-2.24.1~/gnome/gnome-sharp-2.0.pc.in 2009-03-21 19:02:54.000000000 +0100 ++++ gnome-sharp-2.24.1/gnome/gnome-sharp-2.0.pc.in 2009-03-21 19:03:07.000000000 +0100 +@@ -1,4 +1,4 @@ +-prefix=${pcfiledir}/../.. ++prefix=@prefix@ + exec_prefix=${prefix} + libdir=${exec_prefix}/lib + gapidir=${prefix}/share/gapi-2.0 +diff -urNad gnome-sharp-2.24.1~/gnomevfs/gnome-vfs-sharp-2.0.pc.in gnome-sharp-2.24.1/gnomevfs/gnome-vfs-sharp-2.0.pc.in +--- gnome-sharp-2.24.1~/gnomevfs/gnome-vfs-sharp-2.0.pc.in 2009-03-21 19:02:54.000000000 +0100 ++++ gnome-sharp-2.24.1/gnomevfs/gnome-vfs-sharp-2.0.pc.in 2009-03-21 19:03:12.000000000 +0100 +@@ -1,4 +1,4 @@ +-prefix=${pcfiledir}/../.. ++prefix=@prefix@ + exec_prefix=${prefix} + libdir=${exec_prefix}/lib + gapidir=${prefix}/share/gapi-2.0 diff --git a/talimatname/genel/g/gconf-sharp/04_initialize_dbus_glib_threading.patch b/talimatname/genel/g/gconf-sharp/04_initialize_dbus_glib_threading.patch new file mode 100644 index 000000000..a7f841718 --- /dev/null +++ b/talimatname/genel/g/gconf-sharp/04_initialize_dbus_glib_threading.patch @@ -0,0 +1,51 @@ +From e9d06b56a54dcd399d1d3eaaf62bdacb7e07084d Mon Sep 17 00:00:00 2001 +From: Mirco Bauer +Date: Sat, 2 Mar 2013 13:44:46 +0100 +Subject: [PATCH] Explicitly initialize D-Bus GLib threading + +When gconf was switched from orbit to dbus it was no longer thread-safe by +default. This behavior can only get back by explicitly initializing dbus-glib's +threads. This issue affects multi-threaded GConf# users like Banshee leading +them to SEGVs. + +For more details see: +https://bugzilla.gnome.org/show_bug.cgi?id=683830 +--- + gconf/GConf/Client.cs | 11 +++++++++++ + gconf/GConf/gconf-sharp.dll.config.in | 1 + + 2 files changed, 12 insertions(+) + +diff --git a/gconf/GConf/Client.cs b/gconf/GConf/Client.cs +index b8cc881..64efc9f 100644 +--- a/gconf/GConf/Client.cs ++++ b/gconf/GConf/Client.cs +@@ -31,6 +31,17 @@ namespace GConf + [DllImport("gconf-2")] + static extern IntPtr gconf_client_get_default (); + ++ [DllImport("dbus-glib-1")] ++ static extern void dbus_g_thread_init (); ++ ++ static Client () ++ { ++ // HACK: we have to initialize dbus' threading else GConf with its ++ // dbus backend will not be thread safe and SEGVs in our face, see: ++ // https://bugzilla.gnome.org/show_bug.cgi?id=683830 ++ dbus_g_thread_init(); ++ } ++ + public Client () + { + Initialize (); +diff --git a/gconf/GConf/gconf-sharp.dll.config.in b/gconf/GConf/gconf-sharp.dll.config.in +index 9fb7d15..f20ddae 100644 +--- a/gconf/GConf/gconf-sharp.dll.config.in ++++ b/gconf/GConf/gconf-sharp.dll.config.in +@@ -1,3 +1,4 @@ + + ++ + +-- +1.7.10.4 + diff --git a/talimatname/genel/g/gconf-sharp/talimat b/talimatname/genel/g/gconf-sharp/talimat new file mode 100644 index 000000000..0ff8e17cb --- /dev/null +++ b/talimatname/genel/g/gconf-sharp/talimat @@ -0,0 +1,22 @@ +# Tanım: GConf için mono bağları +# URL: http://gtk-sharp.sourceforge.net +# Peketçi: Cihan_Alkan +# Gerekler: gtk-sharp2 gconf +# Grup: geliştirme + +isim=gconf-sharp +surum=2.24.2 +devir=1 +kaynak=(https://download.gnome.org/sources/gnome-sharp/2.24/gnome-sharp-${surum}.tar.bz2 + 02_fix_pkg-config_paths.patch + 04_initialize_dbus_glib_threading.patch) + +derle() { + cd gnome-sharp-${surum} + patch -Np1 -i ../04_initialize_dbus_glib_threading.patch + patch -Np1 -i ../02_fix_pkg-config_paths.patch + ./configure --prefix=/usr --sysconfdir=/etc + make + make -C gconf/GConf install DESTDIR="${PKG}" + make -C gconf/tools install DESTDIR="${PKG}" +} diff --git a/talimatname/genel/g/gnome-subtitles/talimat b/talimatname/genel/g/gnome-subtitles/talimat new file mode 100644 index 000000000..0878e3d58 --- /dev/null +++ b/talimatname/genel/g/gnome-subtitles/talimat @@ -0,0 +1,28 @@ +# Tanım: GNOME için video altyazı editörü +# URL: http://www.gnomesubtitles.org/ +# Paketçi: Cihan_Alkan +# Gerekler: gstreamer-plugins-base gtkspell intltool gnome-doc-utils mono gtk-sharp2 gconf-sharp +# Grup: medya + +isim=gnome-subtitles +surum=1.3 +devir=1 +kaynak=(https://downloads.sourceforge.net/$isim/$isim-$surum.tar.gz) + +derle() { + cd $isim-$surum + + sed -i 's/libenchant.so.1/libenchant.so.2/' src/GnomeSubtitles/Execution/gnome-subtitles.exe.config + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-schemas-install \ + --with-gconf-schema-file-dir=/usr/share/gconf/schemas + make -j1 + + make DESTDIR="$PKG" install + + # Başlatıcı + sed -i 's/^Exec=/Name[tr]=Gnome-Altyazılar \ + GenericName[tr]=Altyazı Düzenleyici \ + Comment[tr]=GNOME için video altyazı editörü \ + &/' $PKG/usr/share/applications/$isim.desktop +} diff --git a/talimatname/genel/g/gtk-sharp2/talimat b/talimatname/genel/g/gtk-sharp2/talimat new file mode 100644 index 000000000..2db4a5827 --- /dev/null +++ b/talimatname/genel/g/gtk-sharp2/talimat @@ -0,0 +1,18 @@ +# Tanım: C# için gtk2 bağları +# URL: http://www.mono-project.com/docs/gui/gtksharp/ +# Peketçi: Cihan_Alkan +# Gerekler: mono libglade gtk2 +# Grup: geliştirme + +isim=gtk-sharp2 +surum=2.12.45 +devir=1 +kaynak=(https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${surum}.tar.gz) + +derle() { + cd gtk-sharp-${surum} + ./configure --prefix=/usr --sysconfdir=/etc --disable-static + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make + make DESTDIR="${PKG}" install +}