From 6b58742a4132a254dadcc90b70c0c17060a767f9 Mon Sep 17 00:00:00 2001 From: bioinfornatics Date: Fri, 18 Sep 2015 21:59:04 +0200 Subject: [PATCH 1/4] update to release 3.1.4 --- .gitignore | 1 + gtkd.spec | 41 ++++++++++++++++++++++------------------- sources | 2 +- 3 files changed, 24 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index aa03c57..dcf41f4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /gtkd-20140301gitaf01da8.tar.xz /v2.3.2.tar.gz /v2.4.2.tar.gz +/v3.1.4.tar.gz diff --git a/gtkd.spec b/gtkd.spec index eb6414a..8b2950d 100644 --- a/gtkd.spec +++ b/gtkd.spec @@ -1,21 +1,21 @@ # debug info seem not works with D compiler %global debug_package %{nil} %global gtkd_major 0 -%global gtkd_minor 4 -%global gtkd_bump 2 +%global gtkd_minor 1 +%global gtkd_bump 3 Name: gtkd -Version: 2.4.2 -Release: 51%{?dist} +Version: 3.1.4 +Release: 52%{?dist} Summary: D binding and OO wrapper of GTK+ License: LGPLv3+ with exceptions URL: https://github.com/gtkd-developers/GtkD/ Source0: https://github.com/gtkd-developers/GtkD/archive/v%{version}.tar.gz -BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel, gtk2-devel +BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel, gtk3-devel, libcurl-devel # Explicit require since gtkd use dlopen internally so rpm can't detect this. -Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libglade +Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libglade, libcurl Requires: gtkglext-devel, vte3 Requires: mesa-libGL, mesa-libGLU, gtksourceview3 Requires: gstreamer, gstreamer-plugins-base, xz @@ -89,27 +89,30 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/ %files %doc AUTHORS COPYING README -%{_libdir}/libgtkd-2.so.%{gtkd_major} -%{_libdir}/libgtkd-2.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} -%{_libdir}/libgtkdgl-2.so.%{gtkd_major} -%{_libdir}/libgtkdgl-2.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} -%{_libdir}/libgtkdsv-2.so.%{gtkd_major} -%{_libdir}/libgtkdsv-2.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} +%{_libdir}/libgtkd-3.so.%{gtkd_major} +%{_libdir}/libgtkd-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} +%{_libdir}/libgtkdgl-3.so.%{gtkd_major} +%{_libdir}/libgtkdgl-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} +%{_libdir}/libgtkdsv-3.so.%{gtkd_major} +%{_libdir}/libgtkdsv-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} %files devel -%{_d_includedir}/%{name}-2 -%{_libdir}/libgtkd-2.so -%{_libdir}/libgtkdgl-2.so -%{_libdir}/libgtkdsv-2.so -%{_datadir}/pkgconfig/gtkd-2.pc -%{_datadir}/pkgconfig/gtkdgl-2.pc -%{_datadir}/pkgconfig/gtkdsv-2.pc +%{_d_includedir}/%{name}-3 +%{_libdir}/libgtkd-3.so +%{_libdir}/libgtkdgl-3.so +%{_libdir}/libgtkdsv-3.so +%{_datadir}/pkgconfig/gtkd-3.pc +%{_datadir}/pkgconfig/gtkdgl-3.pc +%{_datadir}/pkgconfig/gtkdsv-3.pc %files geany-tags %{_datadir}/geany/tags/gtkd.d.tags %changelog +* Sun Sep 06 2015 Jonathan MERCIER - 3.1.4-52 +- update to latest release + * Wed Jun 17 2015 Fedora Release Engineering - 2.4.2-51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index d6d7879..b5547ca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5b4a8d0974ba49d357c0a35425ede983 v2.4.2.tar.gz +f7ce980bec1e7581cfbc8528803f89f1 v3.1.4.tar.gz From 3d52006b9ce3e328ac0b6b3d55f7807f4f598adf Mon Sep 17 00:00:00 2001 From: bioinfornatics Date: Tue, 5 Jan 2016 11:05:32 +0100 Subject: [PATCH 2/4] Update gtkd --- gtkd.spec | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/gtkd.spec b/gtkd.spec index 8b2950d..ca278aa 100644 --- a/gtkd.spec +++ b/gtkd.spec @@ -1,12 +1,12 @@ # debug info seem not works with D compiler %global debug_package %{nil} %global gtkd_major 0 -%global gtkd_minor 1 -%global gtkd_bump 3 +%global gtkd_minor 2 +%global gtkd_bump 1 Name: gtkd -Version: 3.1.4 -Release: 52%{?dist} +Version: 3.2.1 +Release: 56%{?dist} Summary: D binding and OO wrapper of GTK+ License: LGPLv3+ with exceptions @@ -15,10 +15,11 @@ Source0: https://github.com/gtkd-developers/GtkD/archive/v%{version}.tar. BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel, gtk3-devel, libcurl-devel # Explicit require since gtkd use dlopen internally so rpm can't detect this. -Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libglade, libcurl -Requires: gtkglext-devel, vte3 +Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, glade3-libgladeui, libcurl +#Requires: gtkglext3-devel --> should te be packaged https://github.com/tdz/gtkglext +Requires: vt291 Requires: mesa-libGL, mesa-libGLU, gtksourceview3 -Requires: gstreamer, gstreamer-plugins-base, xz +Requires: gstreamer1, gstreamer1-plugins-base, xz # https://github.com/ldc-developers/ldc/issues/613 ExcludeArch: %{arm} @@ -65,7 +66,7 @@ Active l'autocompletion pour pour la bibliothèque gtkd dans geany (IDE) # temp geany config directory for allow geany to generate tags mkdir geany_config -sed -i 's/GTKD_VERSION=2.4.1/GTKD_VERSION=2.4.2/g' GNUmakefile +# sed -i 's/GTKD_VERSION=2.4.1/GTKD_VERSION=2.4.2/g' GNUmakefile %build make %{?_smp_mflags} -f ./GNUmakefile shared-libs DC=ldc2 CC=gcc libdir=%{?_lib} DCFLAGS="%{_d_optflags}" @@ -74,7 +75,7 @@ geany -c geany_config -g gtkd.d.tags $(find src* -name "*.d") # Need to be update to gtk3 %check -make DC=ldc2 test +make %{?_smp_mflags} DC=ldc2 test %install make %{?_smp_mflags} install-shared install-headers DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{?_lib} datadir=%{_datadir} @@ -110,6 +111,10 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/ %{_datadir}/geany/tags/gtkd.d.tags %changelog +* Tue Jan 05 2016 Jonathan MERCIER - 3.2.1-56 +- Fix several deprecated requires +- update to latest release 3.2.1 + * Sun Sep 06 2015 Jonathan MERCIER - 3.1.4-52 - update to latest release From 961c3f983ac88632595d27322661574a99e192ec Mon Sep 17 00:00:00 2001 From: bioinfornatics Date: Tue, 5 Jan 2016 11:10:02 +0100 Subject: [PATCH 3/4] Fix several deprecated requires - update to latest release 3.2.1 --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index dcf41f4..22a5f96 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /v2.3.2.tar.gz /v2.4.2.tar.gz /v3.1.4.tar.gz +/v3.2.1.tar.gz diff --git a/sources b/sources index b5547ca..e93dfcc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f7ce980bec1e7581cfbc8528803f89f1 v3.1.4.tar.gz +daa70afc19147dd4cdc8d9ffe8f7302f v3.2.1.tar.gz From b43ff76f7a12822bd31ee9bef09fc8948766afc0 Mon Sep 17 00:00:00 2001 From: bioinfornatics Date: Tue, 5 Jan 2016 15:27:24 +0100 Subject: [PATCH 4/4] Rebuild with latest ldc release --- gtkd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtkd.spec b/gtkd.spec index ca278aa..601c471 100644 --- a/gtkd.spec +++ b/gtkd.spec @@ -6,7 +6,7 @@ Name: gtkd Version: 3.2.1 -Release: 56%{?dist} +Release: 57%{?dist} Summary: D binding and OO wrapper of GTK+ License: LGPLv3+ with exceptions @@ -111,6 +111,9 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/ %{_datadir}/geany/tags/gtkd.d.tags %changelog +* Tue Jan 05 2016 Jonathan MERCIER - 3.2.1-57 +- Rebuild with latest ldc release + * Tue Jan 05 2016 Jonathan MERCIER - 3.2.1-56 - Fix several deprecated requires - update to latest release 3.2.1