diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 8f05f75..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/wingpanel-2.0.1.tar.xz diff --git a/01-mutter-3-22-support.patch b/01-mutter-3-22-support.patch deleted file mode 100644 index 5371b6a..0000000 --- a/01-mutter-3-22-support.patch +++ /dev/null @@ -1,45 +0,0 @@ -=== modified file 'CMakeLists.txt' ---- CMakeLists.txt 2016-11-06 21:16:43 +0000 -+++ CMakeLists.txt 2016-11-17 14:55:38 +0000 -@@ -110,7 +110,6 @@ - - set (DEPS_PKG - granite -- gala - ) - - pkg_check_modules (DEPS REQUIRED ${DEPS_PKG} ${LIB_PKG}) - -=== modified file 'wingpanel-interface/CMakeLists.txt' ---- wingpanel-interface/CMakeLists.txt 2016-05-06 15:52:18 +0000 -+++ wingpanel-interface/CMakeLists.txt 2016-11-17 14:55:38 +0000 -@@ -1,9 +1,9 @@ - find_package (PkgConfig) - --pkg_check_modules (DEPS REQUIRED gala granite) -+pkg_check_modules (PLUGIN REQUIRED gala granite) - --add_definitions (${DEPS_CFLAGS}) --link_directories (${DEPS_LIBRARY_DIRS}) -+add_definitions (${PLUGIN_CFLAGS}) -+link_directories (${PLUGIN_LIBRARY_DIRS}) - set (WINGPANELINTERFACE "wingpanel-interface") - - find_package (Vala REQUIRED) -@@ -28,7 +28,14 @@ - ) - - add_library (${WINGPANELINTERFACE} MODULE ${VALA_C}) --target_link_libraries(${WINGPANELINTERFACE} ${DEPS_LIBRARIES}) -+target_link_libraries(${WINGPANELINTERFACE} ${PLUGIN_LIBRARIES}) -+ -+# Add -rpath ldflag if libgala is using mutter >= 3.21 to pick up libmutter-*.so -+pkg_check_modules(MUTTER322 QUIET libmutter>=3.21) -+if (MUTTER322_FOUND) -+ _pkgconfig_invoke("libmutter" MUTTER TYPELIB_DIR "" "--variable=typelibdir") -+ set_target_properties(${WINGPANELINTERFACE} PROPERTIES LINK_FLAGS -Wl,-rpath,${MUTTER_TYPELIB_DIR}) -+endif () - - include (GNUInstallDirs) - install (TARGETS ${WINGPANELINTERFACE} DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/gala/plugins") - diff --git a/02-fix-pkgconfig.patch b/02-fix-pkgconfig.patch deleted file mode 100644 index 511d028..0000000 --- a/02-fix-pkgconfig.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur a/lib/wingpanel.pc.cmake b/lib/wingpanel.pc.cmake ---- a/lib/wingpanel.pc.cmake 2016-08-13 17:36:46.000000000 +0200 -+++ b/lib/wingpanel.pc.cmake 2017-01-11 22:00:30.081004463 +0100 -@@ -1,7 +1,7 @@ - prefix=@PREFIX@ - exec_prefix=@DOLLAR@{prefix} - libdir=@DOLLAR@{prefix}/lib --includedir=@DOLLAR@{prefix}/include/ -+includedir=@DOLLAR@{prefix}/include - - Name: Wingpanel - Description: Wingpanel headers diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index b1cbb2f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (wingpanel-2.0.1.tar.xz) = 1b36663c7a78dfaf8c6c9cbd8ef32e3e7406fff77f6450eece63b78f01cdde57265c200bd42738dba9ae686d5fc0c5b963c92a3467d42afa672a054824d5a9fa diff --git a/wingpanel.spec b/wingpanel.spec deleted file mode 100644 index 78b3427..0000000 --- a/wingpanel.spec +++ /dev/null @@ -1,156 +0,0 @@ -Name: wingpanel -Summary: Stylish top panel -Version: 2.0.1 -Release: 10%{?dist} -License: GPLv2+ -URL: https://launchpad.net/wingpanel - -Source0: https://launchpad.net/%{name}/2.x/%{version}/+download/%{name}-%{version}.tar.xz - -# This is a fix for a crash with mutter 3.22+, taken from upstream -Patch0: 01-mutter-3-22-support.patch -Patch1: 02-fix-pkgconfig.patch - -BuildRequires: cmake -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: vala >= 0.24.0 - -BuildRequires: pkgconfig(gala) -BuildRequires: pkgconfig(gee-0.8) -BuildRequires: pkgconfig(glib-2.0) >= 2.40 -BuildRequires: pkgconfig(gtk+-3.0) >= 3.14 -BuildRequires: pkgconfig(granite) -BuildRequires: pkgconfig(libnotify) - -Requires: %{name}-libs%{?_isa} = %{version}-%{release} - - -%description -Stylish top panel that holds indicators and spawns an application -launcher - -Designed for elementary OS. - - -%package libs -Summary: Stylish top panel (shared library) -%description libs -Stylish top panel that holds indicators and spawns an application -launcher - -Designed for elementary OS. - -This package contains the shared library. - - -%package devel -Summary: Stylish top panel (development files) -Requires: %{name}-libs%{?_isa} = %{version}-%{release} -%description devel -Stylish top panel that holds indicators and spawns an application -launcher - -Designed for elementary OS. - -This package contains the files required for developing for wingpanel. - - -%prep -%setup -q -%patch0 -p0 -%patch1 -p1 - - -%build -mkdir build && pushd build -%cmake .. -%make_build -popd - - -%install -pushd build -%make_install -popd - -%find_lang wingpanel - -# create plugin directory -mkdir -p %{buildroot}/%{_libdir}/wingpanel - -# force correct file mode for COPYING ... -chmod 644 COPYING - - -%check -desktop-file-validate %{buildroot}/%{_datadir}/applications/wingpanel.desktop - - -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig - - -%files -f wingpanel.lang -%{_bindir}/wingpanel - -%{_libdir}/gala/plugins/libwingpanel-interface.so - -%{_datadir}/applications/wingpanel.desktop -%{_datadir}/glib-2.0/schemas/org.pantheon.desktop.wingpanel.gschema.xml - - -%files libs -%license COPYING - -%dir %{_libdir}/wingpanel - -%{_libdir}/libwingpanel-2.0.so.0 -%{_libdir}/libwingpanel-2.0.so.0.2.0 - - -%files devel -%{_includedir}/wingpanel-2.0/ - -%{_libdir}/libwingpanel-2.0.so -%{_libdir}/pkgconfig/wingpanel-2.0.pc - -%{_datadir}/vala/vapi/wingpanel-2.0.deps -%{_datadir}/vala/vapi/wingpanel-2.0.vapi - - -%changelog -* Wed Jan 11 2017 Fabio Valentini - 2.0.1-10 -- Add patch to fix pkgconfig file. - -* Sat Jan 07 2017 Fabio Valentini - 2.0.1-9 -- Create and own plugin directory. - -* Sat Jan 07 2017 Fabio Valentini - 2.0.1-8 -- Split off -libs subpackage. - -* Sat Jan 07 2017 Fabio Valentini - 2.0.1-7 -- Don't let COPYING be executable. - -* Fri Jan 06 2017 Fabio Valentini - 2.0.1-6 -- Clean up spec file. - -* Thu Nov 17 2016 Fabio Valentini - 2.0.1-5 -- Add rpath workaround for f25. - -* Thu Sep 29 2016 Fabio Valentini - 2.0.1-4 -- Mass rebuild. - -* Wed Sep 28 2016 Fabio Valentini - 2.0.1-3 -- Spec file cleanups. - -* Mon Sep 19 2016 Fabio Valentini - 2.0.1-2 -- Spec file cosmetics. - -* Sun Aug 21 2016 Fabio Valentini - 2.0.1-1 -- Update to version 2.0.1. - -* Fri Aug 19 2016 Fabio Valentini - 0.4-1 -- Update to version 0.4. - -