[neon/kde/oxygen-icons5/Neon/stable] debian: Revert "try again"

Carlos De Maine null at kde.org
Thu Aug 17 05:21:25 BST 2023


Git commit f9c330af3fb00f140b203082bc48a6f743e0e2d0 by Carlos De Maine.
Committed on 17/08/2023 at 06:20.
Pushed by carlosdem into branch 'Neon/stable'.

Revert "try again"

This reverts commit cc9a6df35c3bde73d8b37602a30f28ae12076492.

A  +1    -0    debian/compat
M  +9    -8    debian/control
M  +1    -1    debian/not-installed
D  +0    -0    debian/oxygen-icon-theme.install
A  +1    -0    debian/oxygen-icon-theme.lintian-overrides
A  +27   -0    debian/symlink_duplicates.sh

https://invent.kde.org/neon/kde/oxygen-icons5/-/commit/f9c330af3fb00f140b203082bc48a6f743e0e2d0

diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
index 57a1c7e..f2d2dda 100644
--- a/debian/control
+++ b/debian/control
@@ -6,22 +6,23 @@ Uploaders: Sune Vuorela <sune at debian.org>,
            Modestas Vainius <modax at debian.org>,
            Maximiliano Curia <maxy at debian.org>,
            Eshat Cakar <info at eshat.de>
-Build-Depends: cmake,
-               debhelper-compat (= 13),
-               extra-cmake-modules,
+Build-Depends: cmake (>= 3.0~),
+               debhelper (>= 11~),
+               extra-cmake-modules (>= 5.51.0~),
                fdupes,
                imagemagick,
-               pkg-kde-tools,
-               qtbase5-dev,
-Standards-Version: 4.6.2
+               pkg-kde-tools (>= 0.14),
+               qtbase5-dev (>= 5.8.0~)
+Standards-Version: 4.1.4
 Homepage: http://www.kde.org/
 Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/oxygen-icons5
 Vcs-Git: https://salsa.debian.org/qt-kde-team/kde/oxygen-icons5.git
 
-Package: oxygen-icon-theme
+Package: oxygen-icon-theme5
 Architecture: all
 Multi-Arch: foreign
 Depends: hicolor-icon-theme, kf6-oxygen-icon-theme, ${misc:Depends}
-Replaces: oxygen-icon-theme5
+Breaks: fdpowermon-icons
+Replaces: fdpowermon-icons
 Description: Oxygen icon theme
  Dummy package as oxygen-icons5 is provided by oxygen-icon-theme in kf6-oxygen-icons.
diff --git a/debian/not-installed b/debian/not-installed
index 3a5094e..d7a0d79 100644
--- a/debian/not-installed
+++ b/debian/not-installed
@@ -1 +1 @@
-usr/share/
\ No newline at end of file
+usr/
\ No newline at end of file
diff --git a/debian/oxygen-icon-theme.install b/debian/oxygen-icon-theme.install
deleted file mode 100644
index e69de29..0000000
diff --git a/debian/oxygen-icon-theme.lintian-overrides b/debian/oxygen-icon-theme.lintian-overrides
new file mode 100644
index 0000000..13cb3af
--- /dev/null
+++ b/debian/oxygen-icon-theme.lintian-overrides
@@ -0,0 +1 @@
+oxygen-icon-theme: description-is-pkg-name Oxygen icon theme
diff --git a/debian/symlink_duplicates.sh b/debian/symlink_duplicates.sh
new file mode 100644
index 0000000..06cc272
--- /dev/null
+++ b/debian/symlink_duplicates.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# Recursively identifies duplicate files and symlinks them
+# Arguments:
+# $1 Root directory for absolute path calculation
+# $2 Directory for searching duplicate files
+
+echo "Symlinking duplicate files, this may take some time..."
+
+symlink_root=${1/%\//}
+symlink_search_path=$2
+
+target=""
+fdupes -r $symlink_search_path | while read line; do
+	if [ -z "$line" ]; then
+		# New group of duplicate files begins
+		target=""
+	elif [ -z "$target" ]; then
+		# Setting a new target for symlinking
+		target=${line/$symlink_root/}
+	else
+		# Symlink duplicate
+		ln -sf "$target" "$line"
+	fi
+done
+
+echo "...finished"



More information about the Neon-commits mailing list