Compare commits

..

70 commits

Author SHA1 Message Date
Mamoru TASAKA
730c3436c1 3.6.2 2025-12-23 17:49:09 +09:00
Mamoru TASAKA
83ecd1a327 3.6.1 2025-11-04 16:48:28 +09:00
Mamoru TASAKA
f2ab261368 Upstream patch for warning for disabling zoom effect 2025-10-17 14:10:17 +09:00
Mamoru TASAKA
a6a67c59e7 fix plug-ins requirement 2025-10-01 17:45:12 +09:00
Mamoru TASAKA
51c75f1280 3.6.0 2025-10-01 17:38:14 +09:00
Mamoru TASAKA
8e75dec9ec update to the latest git 2025-09-25 10:46:26 +09:00
Mamoru TASAKA
761745f4b8 Update to the latest git (20250907git2cd4d36) 2025-09-08 22:10:15 +09:00
Mamoru TASAKA
77599823c8 update to the latest git 2025-09-01 17:19:57 +09:00
Mamoru TASAKA
5085fdfc00 Update to the latest git (20250822gitf3de00e) 2025-08-24 22:47:03 +09:00
Mamoru TASAKA
e8aaed4da1 Update to the latest git (20250812gitba992c4) 2025-08-12 16:06:21 +09:00
Mamoru TASAKA
018ee0c7b0 Update to the latest git (20250729gitc86686d) 2025-07-29 16:26:58 +09:00
Mamoru TASAKA
afef562619 Update to the latest git (20250716git033945c) 2025-07-25 14:59:18 +09:00
Fedora Release Engineering
6d224c4c7c Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 18:02:31 +00:00
Mamoru TASAKA
a8798f4fa0 Update to the latest git (20250714gite852048) 2025-07-14 16:56:01 +09:00
Mamoru TASAKA
0bd2de7f09 Update to the latest git (20250623git6b5d476) 2025-06-30 17:24:49 +09:00
Mamoru TASAKA
7bdaf16739 don't try systemd-notify on buildroot 2025-06-19 15:03:23 +09:00
Mamoru TASAKA
a25f2da55e Update to the latest git (20250618git89864a0) 2025-06-19 14:38:01 +09:00
Mamoru TASAKA
aa1412ae55 Update to the latest git (20250309gita77d61b) 2025-03-13 14:11:15 +09:00
Mamoru TASAKA
d5ddf31894 update to the latest git 2025-03-02 23:11:35 +09:00
Mamoru TASAKA
9c1ff8bbe0 update to the latest git 2025-02-18 22:20:34 +09:00
Mamoru TASAKA
2b3aebac06 update to the latest git 2025-02-14 14:26:39 +09:00
Mamoru TASAKA
9807b166b9 update to the latest git 2025-02-13 14:38:30 +09:00
Mamoru TASAKA
84bcc20f2a 20250120gitd2fd789 2025-01-30 16:11:24 +09:00
Mamoru TASAKA
c636402b94 Update to the latest git (20250118gitb0f5d5c) 2025-01-19 16:48:02 +09:00
Fedora Release Engineering
39eb463a87 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 13:11:52 +00:00
Mamoru TASAKA
cd179e286c Update to the latest git (20241218gitf852640) 2024-12-29 15:20:03 +09:00
Mamoru TASAKA
0402e8bfb9 Update to the latest git (20241216git4f36d13) 2024-12-17 21:43:53 +09:00
Mamoru TASAKA
dc58fc07e2 Update to the latest git (20241207gitea4bd97) 2024-12-08 16:34:06 +09:00
Mamoru TASAKA
0792ce0a3e Update to the latest git (20241118git575a251) 2024-11-19 15:54:04 +09:00
Mamoru TASAKA
00c1a9d72a Update to the latest git (20241024git9f9421e) 2024-10-24 09:33:46 +09:00
Mamoru TASAKA
666521e37e limit depth to 1 2024-10-24 09:15:56 +09:00
Mamoru TASAKA
c987c51512 Update to the latest git (20241016gitea5d37e) 2024-10-20 21:34:21 +09:00
Mamoru TASAKA
27f1da0ed7 Update to the latest git (20241013git0324720) 2024-10-14 14:59:28 +09:00
Mamoru TASAKA
fd4cd8b547 again update 2024-10-07 08:29:03 +09:00
Mamoru TASAKA
3fd8daae51 again update 2024-10-07 08:26:49 +09:00
Mamoru TASAKA
3b13ad5992 Update to the latest git (20241007git70394cf)
Update to the latest git (20241007git70394cf)
Update to the latest git (20241007git70394cf)
Update to the latest git (20241007git70394cf)
2024-10-07 07:06:23 +09:00
Mamoru TASAKA
357f41586d Update to the latest git (20240926git7b3ac7f) 2024-09-26 11:58:36 +09:00
Mamoru TASAKA
25f3c231af keep line number for modifying source for fedora 2024-09-23 16:42:21 +09:00
Mamoru TASAKA
d900528feb Update to the latest git (20240923gitd7e4090) 2024-09-23 16:32:31 +09:00
Mamoru TASAKA
2590446573 kill sanitizer 2024-09-18 15:51:42 +09:00
Mamoru TASAKA
a178948725 Update to the latest git (20240915git1458bc8) 2024-09-18 15:50:09 +09:00
Mamoru TASAKA
0bd51dbc02 Update to the latest git (20240822gitb196136)
Update to the latest git (20240822gitb196136)
Update to the latest git (20240822gitb196136)
Update to the latest git (20240822gitb196136)
2024-08-22 22:38:37 +09:00
Mamoru TASAKA
5792eb6b3b Update to the latest git (20240805git23c0be5) 2024-08-07 16:46:57 +09:00
Fedora Release Engineering
ad129ac3a6 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 18:51:53 +00:00
Mamoru TASAKA
cca444fd40 Update to the latest git (20240505git13fb151)
Enable Wayfire IPC support
2024-05-05 14:08:37 +09:00
Mamoru TASAKA
d3c61565f5 Update to latest git (20240501git1f31686) 2024-05-04 22:49:19 +09:00
Mamoru TASAKA
2549f2fe5f SPDX confirmation 2024-03-01 16:41:40 +09:00
Mamoru TASAKA
d20a934463 Update to 3.5.0 2024-02-26 20:58:23 +09:00
Fedora Release Engineering
051ad8afe8 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-23 01:07:21 +00:00
Fedora Release Engineering
ce1d5d0184 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 14:57:49 +00:00
Fedora Release Engineering
f9888090a2 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 15:09:31 +00:00
Mamoru TASAKA
d5053e5d73 Pass -r option to xargs because new rpm creates empty directory 2023-05-29 08:50:16 +09:00
Mamoru TASAKA
597aa45a9c use baserelease 2023-03-24 16:28:24 +09:00
Fedora Release Engineering
37a84b1ddf Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 23:24:49 +00:00
Fedora Release Engineering
47a49ac279 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 22:29:54 +00:00
Fedora Release Engineering
7c4269ad9e - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 22:49:12 +00:00
Mamoru TASAKA
8142841449 wayland-manager: allocate new wl_output information by checking id
(Fix segfault on KDE Plasma wayland session: redhat bug 2000812)
Explicitly disable EGL support for now
2021-09-20 16:50:43 +09:00
Mamoru TASAKA
90df4ff5c7 rename _strict_symbol_defs_build 2021-09-19 18:19:56 +09:00
Mamoru TASAKA
07f4597693 resolve conflict 2021-09-09 14:18:24 +09:00
Mamoru TASAKA
b4c5fe6f76 support gcc asan 2021-09-09 14:16:41 +09:00
Fedora Release Engineering
7410169955 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:04:56 +00:00
Fedora Release Engineering
91ceac314c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:07:29 +00:00
Mamoru TASAKA
f776433abb Update to the latest git 2021-03-31 15:31:28 +09:00
Fedora Release Engineering
457c11daf6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:35:21 +00:00
Mamoru TASAKA
b17dcf1ade Update to the latest git 2021-01-03 11:29:31 +09:00
Fabio Valentini
8ad4e37bdc
adaptations for CMake out-of-tree builds
See: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
2020-08-06 17:13:18 +02:00
Fedora Release Engineering
cf9f48b634 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:18:06 +00:00
Fedora Release Engineering
d9b9594c3c - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:35:32 +00:00
Fedora Release Engineering
d0adf124bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 13:33:01 +00:00
Fedora Release Engineering
1099c219e8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 19:48:39 +00:00
5 changed files with 384 additions and 36 deletions

4
.gitignore vendored
View file

@ -1,3 +1 @@
cairo-dock-sources-svn1527_trunk.tar.bz2
/cairo-dock-fedora-3.4.0.tar.gz
/cairo-dock-fedora-3.4.1.tar.gz
/cairo-dock-fedora-*.tar.gz

View file

@ -5,30 +5,61 @@ set -x
umask 0022
VERSION=${VERSION:-3.4.0}
VERSION=${VERSION:-3.5.0}
VERSION_PARENT=${VERSION%.[0-9]}
CURRENT_DIR=$(pwd)
TMPDIR=$(mktemp -d /var/tmp/cairo-dock-XXXXXX)
REPONAME=cairo-dock-core
TARNAME=cairo-dock
SOURCE_TOP_URL=https://github.com/Cairo-Dock/${REPONAME}/archive/
GIT_URL=https://github.com/Cairo-Dock/${REPONAME}.git
CURRENT_DIR=$(pwd)
TMPDIR=$(mktemp -d /var/tmp/${REPONAME}-XXXXXX)
GITTAR_VERSION=${VERSION}
FEDORA_TAR_VERSION=${VERSION}
pushd $TMPDIR
#wget -N http://launchpad.net/cairo-dock-core/${VERSION_PARENT}/${VERSION}/+download/cairo-dock-${VERSION}.tar.gz
wget -N https://github.com/Cairo-Dock/cairo-dock-core/archive/${VERSION}/cairo-dock-${VERSION}.tar.gz
rm -rf cairo-dock-${VERSION}
tar xzf cairo-dock-${VERSION}.tar.gz
if [ "x${USE_GIT}" != "x" ] ; then
mkdir HASH
cd HASH
if [ -d cairo-dock-core-${VERSION} ] ; then
mv cairo-dock{-core,}-${VERSION}
git clone --depth 1 ${GIT_URL}
cd ${REPONAME}
GITDATE=$(git log -1 | sed -n -e 's|^Date:[ \t]*||p' | sed -e 's| \([+-][0-9][0-9]*\)$| UTC\1|')
GITDAME_B="$(date -d "${GITDATE}" '+%Y%m%d')"
GITHASH="$(git log -1 | sed -n -e 's|^commit[ \t]||p')"
SHORTHASH=$(echo ${GITHASH:0:7})
cd ..
cd ..
GITTAR_VERSION=${GITHASH}
FEDORA_TAR_VERSION=${VERSION}-${GITDAME_B}git${SHORTHASH}
else
true
fi
pushd cairo-dock-${VERSION}
TARBALL_NAME=${TARNAME}-${FEDORA_TAR_VERSION}.tar.gz
SOURCE_URL=${SOURCE_TOP_URL}/${GITTAR_VERSION}/${TARBALL_NAME}
wget -N ${SOURCE_URL}
rm -rf ${TARNAME}-${GITTAR_VERSION}
tar xzf ${TARBALL_NAME}
if [ -d ${REPONAME}-${GITTAR_VERSION} ] ; then
mv ${REPONAME}-${GITTAR_VERSION} ${TARNAME}-${FEDORA_TAR_VERSION}
fi
pushd ${TARNAME}-${FEDORA_TAR_VERSION}
set +x
echo -n -e "Modifying source \t"
count=0
sed -i -e '\@AVOID_PATENT_CRAP@d' src/gldit/gldi-config.h.in
sed -i -e '\@AVOID_PATENT_CRAP@s@^.*$@@' src/gldit/gldi-config.h.in
grep -rIl AVOID_PATENT_CRAP src/ | while read f
do
count=$((count + 1))
@ -38,17 +69,19 @@ do
do
if ( echo "$line" | grep -q "#ifndef.*AVOID_PATENT_CRAP" ) ; then
flag=10
continue
line=""
fi
if [[ ( $flag == 10 ) && ( $(echo "$line" | grep -q "#else" ; echo $? ) == 0 ) ]] ; then
flag=5
continue
line=""
fi
if [[ ( $flag == 5 ) && ( $(echo "$line" | grep -q "#endif" ; echo $? ) == 0 ) ]] ; then
flag=1
continue
line=""
fi
if [ $flag == 10 ] ; then
line=""
fi
[ $flag == 10 ] && continue
echo "$line" >> $f
done
rm -f $f.orig
@ -62,8 +95,8 @@ echo "done"
set -x
popd
tar czf cairo-dock-fedora-${VERSION}.tar.gz cairo-dock-${VERSION}/
mv cairo-dock-fedora-${VERSION}.tar.gz ${CURRENT_DIR}/
tar czf ${TARNAME}-fedora-${FEDORA_TAR_VERSION}.tar.gz ${TARNAME}-${FEDORA_TAR_VERSION}/
mv ${TARNAME}-fedora-${FEDORA_TAR_VERSION}.tar.gz ${CURRENT_DIR}/
popd
rm -rf $TMPDIR

View file

@ -0,0 +1,78 @@
From 4d2034db650a64315e9663f5ee89cad84692c693 Mon Sep 17 00:00:00 2001
From: Daniel Kondor <kondor.dani@gmail.com>
Date: Wed, 15 Oct 2025 18:13:22 +0200
Subject: [PATCH] gui-factory: add a warning about disabled zoom feature
If Cairo-Dock is compiled with `-DAVOID_PATENT_CRAP`, the Zoom feature will be disabled. Adjust the settings GUI to disable the relevant settings and display a warning.
---
src/gldit/cairo-dock-gui-factory.c | 33 ++++++++++++++++++++++++++++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/src/gldit/cairo-dock-gui-factory.c b/src/gldit/cairo-dock-gui-factory.c
index fcd639bc..7e846e2e 100644
--- a/src/gldit/cairo-dock-gui-factory.c
+++ b/src/gldit/cairo-dock-gui-factory.c
@@ -51,6 +51,7 @@
#include "cairo-dock-desktop-manager.h"
#include "cairo-dock-separator-manager.h" // GLDI_OBJECT_IS_SEPARATOR_ICON
#include "cairo-dock-menu.h" // gldi_menu_item_new_full2
+#include "cairo-dock-file-manager.h" // cairo_dock_fm_launch_uri
#include "cairo-dock-gui-factory.h"
#define CAIRO_DOCK_ICON_MARGIN 6
@@ -1838,6 +1839,11 @@ const gchar *cairo_dock_parse_key_comment (gchar *cKeyComment, char *iElementTyp
return cUsefulComment;
}
+static gboolean _open_btn_url (GtkLinkButton *pURL, G_GNUC_UNUSED gpointer data)
+{
+ return cairo_dock_fm_launch_uri (gtk_link_button_get_uri (pURL));
+}
+
GtkWidget *cairo_dock_build_group_widget (GKeyFile *pKeyFile, const gchar *cGroupName, const gchar *cGettextDomain, GtkWidget *pMainWindow, GSList **pWidgetList, GPtrArray *pDataGarbage, const gchar *cOriginalConfFilePath)
{
g_return_val_if_fail (pKeyFile != NULL && cGroupName != NULL, NULL);
@@ -3087,9 +3093,15 @@ GtkWidget *cairo_dock_build_group_widget (GKeyFile *pKeyFile, const gchar *cGrou
}
GtkWidget *pExternFrame;
+ gboolean bDisabled = FALSE;
if (iElementType == CAIRO_DOCK_WIDGET_FRAME)
{
pExternFrame = gtk_frame_new (NULL);
+#ifndef AVOID_PATENT_CRAP
+ // do nothing, bDisabled already set to FALSE
+#else
+ bDisabled = !g_strcmp0 (cValue, "Zoom effect");
+#endif
gtk_container_set_border_width (GTK_CONTAINER (pExternFrame), CAIRO_DOCK_GUI_MARGIN);
gtk_frame_set_shadow_type (GTK_FRAME (pExternFrame), GTK_SHADOW_OUT);
gtk_frame_set_label_widget (GTK_FRAME (pExternFrame), (pLabelContainer != NULL ? pLabelContainer : pLabel));
@@ -3116,8 +3128,25 @@ GtkWidget *cairo_dock_build_group_widget (GKeyFile *pKeyFile, const gchar *cGrou
0);
pFrameVBox = gtk_box_new (GTK_ORIENTATION_VERTICAL, CAIRO_DOCK_GUI_MARGIN);
- gtk_container_add (GTK_CONTAINER (pFrame),
- pFrameVBox);
+ if (bDisabled) {
+ gtk_widget_set_sensitive (pFrameVBox, FALSE);
+
+ GtkWidget *pBoxV = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ GtkWidget *pBoxH = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+ GtkWidget *pImg = gtk_image_new_from_icon_name ("dialog-warning", GTK_ICON_SIZE_MENU);
+ GtkWidget *pLbl = gtk_label_new (_("Cairo-Dock has been built with the icon zoom effect disabled. See here for more info: "));
+ GtkWidget *pURL = gtk_link_button_new ("https://github.com/Cairo-Dock/cairo-dock-core/issues/156");
+ // note: we use our own handler to open URLs so that we can use systemd to launch the browser if needed
+ g_signal_connect (G_OBJECT (pURL), "activate-link", G_CALLBACK (_open_btn_url), NULL);
+
+ gtk_box_pack_start (GTK_BOX (pBoxH), pImg, FALSE, FALSE, 20);
+ gtk_box_pack_start (GTK_BOX (pBoxH), pLbl, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (pBoxH), pURL, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (pBoxV), pBoxH, FALSE, FALSE, 5);
+ gtk_box_pack_start (GTK_BOX (pBoxV), pFrameVBox, FALSE, FALSE, 0);
+ gtk_container_add (GTK_CONTAINER (pFrame), pBoxV);
+ }
+ else gtk_container_add (GTK_CONTAINER (pFrame), pFrameVBox);
if (pAuthorizedValuesList[0] == NULL || *pAuthorizedValuesList[0] == '\0')
g_free (cValue);

View file

@ -1,30 +1,60 @@
%global urlver 3.4
%global mainver 3.4.1
%global urlver 3.6
%global mainver 3.6.2
%global plugin_least_ver 3.4.1
%global plugin_least_ver 3.6.0
%undefine _strict_symbol_defs_build
%dnl %global use_git 1
%global gitdate 20250922
%global githash bbdf30b67241dbf61dea651b636a07da5cc39049
%global shorthash %(c=%{githash} ; echo ${c:0:7})
%global tarballver %{mainver}%{?use_git:-%{gitdate}git%{shorthash}}
%global baserelease 1
%dnl %global alphatag .rcb
%undefine _ld_strict_symbol_defs
%undefine __brp_mangle_shebangs
##########################################
%global flagrel %{nil}
%global use_gcc_strict_sanitize 0
%if 0%{?use_gcc_strict_sanitize} >= 1
%global flagrel %{flagrel}.san
%endif
##########################################
Name: cairo-dock
Version: 3.4.1
Release: 11%{?dist}
Version: %{mainver}%{?use_git:^%{gitdate}git%{shorthash}}
Release: %{baserelease}%{?alphatag}%{?dist}%{flagrel}
Summary: Light eye-candy fully themable animated dock
License: GPLv3+
# Overall: GPL-3.0-or-later
# data/scripts/cairo-dock-package-theme.sh GPL-2.0-or-later
# src/gldit/gtk3imagemenuitem.c LGPL-3.0-or-later
# SPDX confirmed
License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later
URL: http://glx-dock.org/
# Source0: http://launchpad.net/cairo-dock-core/%%{urlver}/%%{mainver}/+download/cairo-dock-%%{mainver}.tar.gz
# Modified due to some may-be-patent-infringement issue
Source0: cairo-dock-fedora-%{version}.tar.gz
Source0: cairo-dock-fedora-%{tarballver}.tar.gz
# Source0 is created by Source1
Source1: cairo-dock-create-fedora-tarball.sh
# And some legal explanation
Source2: LEGAL.fedora.cairo-dock
# https://github.com/Cairo-Dock/cairo-dock-core/pull/157
Patch0: cairo-dock-pr157-disabled-zoom-feature.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: systemd-rpm-macros
%if 0%{?use_gcc_strict_sanitize}
BuildRequires: libasan
BuildRequires: libubsan
%endif
BuildRequires: desktop-file-utils
BuildRequires: gettext
@ -33,14 +63,19 @@ BuildRequires: intltool
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
#BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk-layer-shell-0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcomposite)
@ -93,13 +128,13 @@ The %{name}-devel package contains libraries, build data, and header
files for developing applications that use %{name}.
%prep
%setup -q
%autosetup -n %{name}-%{mainver}%{?use_git:-%{gitdate}git%{shorthash}} -p1
## permission
# %%_fixperms cannot fix permissions completely here
for dir in */
do
find $dir -type f | xargs chmod 0644
find $dir -type f | xargs -r chmod 0644
done
chmod 0644 [A-Z]*
chmod 0755 */
@ -112,14 +147,44 @@ sed -i.stat \
-e 's|\${MSGFMT_EXECUTABLE}|\${MSGFMT_EXECUTABLE} --statistics|' \
po/CMakeLists.txt
# Modify version forcely
%if 0%{?use_git}
sed -i CMakeLists.txt -e '\@set (VERSION @s|VERSION.*|VERSION "%{mainver}")|'
%endif
# Don't set rpath
sed -i CMakeLists.txt -e '\@APPEND.*CMAKE_INSTALL_RPATH@d'
# Don't check / try systemd-notify on buildroot
sed -i CMakeLists.txt -e '\@SYSTEMD_COMMAND@s|systemd-notify|true|'
%build
%set_build_flags
%if 0%{?use_gcc_strict_sanitize}
export CC="${CC} -fsanitize=address -fsanitize=undefined"
export CXX="${CXX} -fsanitize=address -fsanitize=undefined"
export LDFLAGS="${LDFLAGS} -pthread"
# Currently -fPIE binary cannot work with ASAN on kernel 4.12
# https://github.com/google/sanitizers/issues/837
export CFLAGS="$(echo $CFLAGS | sed -e 's|-specs=[^ \t][^ \t]*hardened[^ \t][^ \t]*||g')"
export CXXFLAGS="$(echo $CXXFLAGS | sed -e 's|-specs=[^ \t][^ \t]*hardened[^ \t][^ \t]*||g')"
export LDFLAGS="$(echo $LDFLAGS | sed -e 's|-specs=[^ \t][^ \t]*hardened[^ \t][^ \t]*||g')"
%endif
# PATCH157 needs this: remove this when patch is included in tarball
export CFLAGS="$CFLAGS -DAVOID_PATENT_CRAP=1"
rm -f CMakeCache.txt
%cmake -DCMAKE_SKIP_RPATH:BOOL=ON .
make %{?_smp_mflags}
%cmake \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-Denable-egl-support:BOOL=ON \
%{nil}
%cmake_build
%install
%make_install \
INSTALL="install -c -p"
%cmake_install
chmod 0755 ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*
## Desktop files
@ -195,6 +260,8 @@ popd
%{_libdir}/%{name}/libcd-Help.so
%{_datadir}/%{name}/plug-ins/Help/
%{_userunitdir}/%{name}.service
%{_mandir}/man1/%{name}.1*
%files devel
@ -203,6 +270,178 @@ popd
%{_libdir}/pkgconfig/gldi.pc
%changelog
* Tue Dec 23 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.6.2-1
- 3.6.2
* Tue Nov 04 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.6.1-1
- 3.6.1
* Fri Oct 17 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.6.0-2
- Upstream patch for warning for disabling zoom effect
* Wed Oct 01 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.6.0-1
- 3.6.0
* Wed Sep 24 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250922gitbbdf30b-1.rcb
- Update to the latest git (20250922gitbbdf30b)
* Mon Sep 08 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250907git2cd4d36-1.rcb
- Update to the latest git (20250907git2cd4d36)
* Mon Sep 01 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250901git8460fe2-1.rc9
- Update to the latest git (20250901git8460fe2)
* Sun Aug 24 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250822gitf3de00e-1.rc9
- Update to the latest git (20250822gitf3de00e)
* Tue Aug 12 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250812gitba992c4-1.rc8
- Update to the latest git (20250812gitba992c4)
* Tue Jul 29 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250729gitc86686d-1.rc7
- Update to the latest git (20250729gitc86686d)
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.99^20250714gite852048-2.rc6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Wed Jul 23 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250716git033945c-1.rc6
- Update to the latest git (20250716git033945c)
* Mon Jul 14 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250714gite852048-1.rc6
- Update to the latest git (20250714gite852048)
* Mon Jun 30 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250623git6b5d476-1.rc3
- Update to the latest git (20250623git6b5d476)
* Thu Jun 19 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250618git89864a0-1.rc2
- Update to the latest git (20250618git89864a0)
* Thu Mar 13 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250309gita77d61b-1.rc2
- Update to the latest git (20250309gita77d61b)
* Sun Mar 02 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250223gite2c28d1-1.rc2
- Update to the latest git (20250223gite2c28d1)
* Tue Feb 18 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250218git77bc388-1.rc2
- Update to the latest git (20250218git77bc388)
* Fri Feb 14 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250214gitddcff9e-1.rc2
- Update to the latest git (20250214gitddcff9e)
* Thu Feb 13 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250211git443d8da-1.rc1
- Update to the latest git (20250211git443d8da)
* Thu Jan 30 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250120gitd2fd789-1.rc1
- Update to the latest git (20250120gitd2fd789)
* Sun Jan 19 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20250118gitb0f5d5c-1.beta6
- Update to the latest git (20250118gitb0f5d5c)
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.99^20241218gitf852640-2.beta6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Dec 29 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20241218gitf852640-1.beta6
- Update to the latest git (20241218gitf852640)
* Mon Dec 16 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20241216git4f36d13-1.beta6
- Update to the latest git (20241216git4f36d13)
* Sun Dec 08 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20241207gitea4bd97-1.beta5
- Update to the latest git (20241207gitea4bd97)
* Tue Nov 19 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20241118git575a251-1
- Update to the latest git (20241118git575a251)
* Thu Oct 24 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20241024git9f9421e-1
- Update to the latest git (20241024git9f9421e)
* Sun Oct 20 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20241016gitea5d37e-1
- Update to the latest git (20241016gitea5d37e)
* Mon Oct 14 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20241013git0324720-1
- Update to the latest git (20241013git0324720)
* Sun Oct 06 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20241007.1git2149e52-1
- Update to the latest git (20241007git2149e52)
* Thu Sep 26 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20240926git7b3ac7f-1
- Update to the latest git (20240926git7b3ac7f)
* Wed Sep 18 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20240915git1458bc8-1
- Update to the latest git (20240915git1458bc8)
* Thu Aug 22 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20240822gitb196136-1
- Update to the latest git (20240822gitb196136)
* Wed Aug 07 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20240805git23c0be5-1
- Update to the latest git (20240805git23c0be5)
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.99^20240505git13fb151-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun May 05 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20240505git13fb151-1
- Update to the latest git (20240505git13fb151)
- Enable Wayfire IPC support
* Sat May 04 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.99^20240501git1f31686-1
- Update to latest git (20240501git1f31686)
* Fri Mar 01 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.0-2
- SPDX confirmation
* Mon Feb 26 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.5.0-1
- Update to 3.5.0
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-22.D20210327git6c569e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-21.D20210327git6c569e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-20.D20210327git6c569e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon May 29 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.4.1-19.D20210327git6c569e6
- Pass -r option to xargs because new rpm creates empty directory
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-18.D20210327git6c569e6.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-18.D20210327git6c569e6.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-18.D20210327git6c569e6.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Sep 20 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.4.1-18.D20210327git6c569e6
- wayland-manager: allocate new wl_output information by checking id
(Fix segfault on KDE Plasma wayland session: redhat bug 2000812)
- Explicitly disable EGL support for now
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-17.D20210327git6c569e6.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Mar 31 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.4.1-17.D20210327git6c569e6
- Update to the latest git
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-16.20201103git0836f5d.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 3 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.4.1-16.20201103git0836f5d
- Update to the latest git
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-15
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View file

@ -1 +1 @@
07371e345e7f36b8ce30d8bd3c274e60 cairo-dock-fedora-3.4.1.tar.gz
SHA512 (cairo-dock-fedora-3.6.2.tar.gz) = dd941127605cd771813c1349fcaf8c1ba16673a9e95a6124e3b3e6a30fab97816c14291ac2a76e191b411f025a6f4b03f9b3d9ef356ee580b208a3fa8b6e4f34