LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-02-2024, 04:49 PM   #4096
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Rep: Reputation: 34

Quote:
Originally Posted by Petri Kaukasoina View Post
I see. My mistake then, sorry.

BTW, why this new python package has /usr/lib64/python3.11/site-packages/msi/? Isn't that Windows specific?
 
Old 04-02-2024, 04:57 PM   #4097
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,024

Rep: Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213
Quote:
Originally Posted by glennmcc View Post
Uuummm.... Plasma6 was released on 2024-02-28 and is now on its 3rd round of bug fixes with #4 due out on 2024-04-15

https://community.kde.org/Schedules/Plasma_6

IMO, that is a very long way from being stable.
In fact, today Plasma6 is a kind of Plasma5 5.50, this time they didn't bother to rewrite everything from scratch. And it is as stable as possible.

Apart from porting under Qt6, they improved the default theme a bit. In addition, there are some small improvements in the design. The most interesting part is in the Wayland sessions. Now they are rock solid.

The problem is different, it seems that they decided that phonon-gstreamer will be abandoned and we need either VLC and phonon-vlc, or MPV and phonon-mpv, which appeared more recently.

Having said that, I have a personal proposal for -current: to add MPV, which is a relatively small video player similar with MPlayer, and which currently only needs two small dependencies: mujs and luajit. The rest of the dependencies are already in -current.

Last edited by ZhaoLin1457; 04-02-2024 at 05:43 PM.
 
5 members found this post helpful.
Old 04-02-2024, 11:14 PM   #4098
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 189

Rep: Reputation: 124Reputation: 124
ffmpeg-6.1.1 can't be recompiuled with nv-codec-headers-12.2.72.0

Hi,

After upgrading nv-codec-headers-12.2.72.0, I faced compilation issue of ffmpeg-6.1.1.
Error log is below.
Code:
libavcodec/nvenc.c: In function 'nvenc_setup_hevc_config':
libavcodec/nvenc.c:1373:9: error: 'NV_ENC_CONFIG_HEVC' has no member named 'pixelBitDepthMinus8'
 1373 |     hevc->pixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
      |         ^~
libavcodec/nvenc.c: In function 'nvenc_setup_av1_config':
CC	libavcodec/options.o
libavcodec/nvenc.c:1458:8: error: 'NV_ENC_CONFIG_AV1' has no member named 'inputPixelBitDepthMinus8'
 1458 |     av1->inputPixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
      |        ^~
libavcodec/nvenc.c:1459:8: error: 'NV_ENC_CONFIG_AV1' has no member named 'pixelBitDepthMinus8'
 1459 |     av1->pixelBitDepthMinus8 = (IS_10BIT(ctx->data_pix_fmt) || ctx->highbitdepth) ? 2 : 0;
      |        ^~
libavcodec/nvenc.c: In function 'nvenc_map_buffer_format':
libavcodec/nvenc.c:1692:16: error: 'NV_ENC_BUFFER_FORMAT_YV12_PL' undeclared (first use in this function); did you mean 'NV_ENC_BUFFER_FORMAT_YV12'?
 1692 |         return NV_ENC_BUFFER_FORMAT_YV12_PL;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                NV_ENC_BUFFER_FORMAT_YV12
libavcodec/nvenc.c:1692:16: note: each undeclared identifier is reported only once for each function it appears in
CC	libavcodec/opus_celt.o
CC	libavcodec/opus_metadata_bsf.o
libavcodec/nvenc.c:1694:16: error: 'NV_ENC_BUFFER_FORMAT_NV12_PL' undeclared (first use in this function); did you mean 'NV_ENC_BUFFER_FORMAT_NV12'?
 1694 |         return NV_ENC_BUFFER_FORMAT_NV12_PL;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                NV_ENC_BUFFER_FORMAT_NV12
CC	libavcodec/opus_parse.o
CC	libavcodec/opus_parser.o
libavcodec/nvenc.c:1700:16: error: 'NV_ENC_BUFFER_FORMAT_YUV444_PL' undeclared (first use in this function); did you mean 'NV_ENC_BUFFER_FORMAT_YUV444'?
 1700 |         return NV_ENC_BUFFER_FORMAT_YUV444_PL;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                NV_ENC_BUFFER_FORMAT_YUV444
CC	libavcodec/opus_pvq.o
make: *** [ffbuild/common.mak:81: libavcodec/nvenc.o] Error 1
make: *** Waiting for unfinished jobs....
GEN	libavdevice/libavdevice.ver
CC	libavfilter/opencl/avgblur.o
CC	libavfilter/opencl/colorkey.o
CC	libavfilter/opencl/colorspace_common.o
CC	libavfilter/opencl/convolution.o
CC	libavfilter/opencl/deshake.o
CC	libavfilter/opencl/neighbor.o
CC	libavfilter/opencl/nlmeans.o
CC	libavfilter/opencl/overlay.o
CC	libavfilter/opencl/pad.o
CC	libavfilter/opencl/remap.o
CC	libavfilter/opencl/tonemap.o
CC	libavfilter/opencl/transpose.o
CC	libavfilter/opencl/unsharp.o
CC	libavfilter/opencl/xfade.o
GEN	libavfilter/libavfilter.ver
GEN	libswscale/libswscale.ver
GEN	libavutil/libavutil.ver
LD	libavutil/libavutil.so.58
LD	libswscale/libswscale.so.7
GEN	libpostproc/libpostproc.ver
LD	libpostproc/libpostproc.so.57
GEN	libavformat/libavformat.ver
CC	libavcodec/nvenc.o
libavcodec/nvenc.c: In function 'nvenc_setup_hevc_config':
libavcodec/nvenc.c:1373:9: error: 'NV_ENC_CONFIG_HEVC' has no member named 'pixelBitDepthMinus8'
 1373 |     hevc->pixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
      |         ^~
libavcodec/nvenc.c: In function 'nvenc_setup_av1_config':
libavcodec/nvenc.c:1458:8: error: 'NV_ENC_CONFIG_AV1' has no member named 'inputPixelBitDepthMinus8'
 1458 |     av1->inputPixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
      |        ^~
libavcodec/nvenc.c:1459:8: error: 'NV_ENC_CONFIG_AV1' has no member named 'pixelBitDepthMinus8'
 1459 |     av1->pixelBitDepthMinus8 = (IS_10BIT(ctx->data_pix_fmt) || ctx->highbitdepth) ? 2 : 0;
      |        ^~
libavcodec/nvenc.c: In function 'nvenc_map_buffer_format':
libavcodec/nvenc.c:1692:16: error: 'NV_ENC_BUFFER_FORMAT_YV12_PL' undeclared (first use in this function); did you mean 'NV_ENC_BUFFER_FORMAT_YV12'?
 1692 |         return NV_ENC_BUFFER_FORMAT_YV12_PL;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                NV_ENC_BUFFER_FORMAT_YV12
libavcodec/nvenc.c:1692:16: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/nvenc.c:1694:16: error: 'NV_ENC_BUFFER_FORMAT_NV12_PL' undeclared (first use in this function); did you mean 'NV_ENC_BUFFER_FORMAT_NV12'?
 1694 |         return NV_ENC_BUFFER_FORMAT_NV12_PL;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                NV_ENC_BUFFER_FORMAT_NV12
libavcodec/nvenc.c:1700:16: error: 'NV_ENC_BUFFER_FORMAT_YUV444_PL' undeclared (first use in this function); did you mean 'NV_ENC_BUFFER_FORMAT_YUV444'?
 1700 |         return NV_ENC_BUFFER_FORMAT_YUV444_PL;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                NV_ENC_BUFFER_FORMAT_YUV444
make: *** [ffbuild/common.mak:81: libavcodec/nvenc.o] Error 1
Then I checked FFmpeg's upstream git history, and found a commit on "avcodec/nvenc: support SDK 12.2 bit depth API "
on APR.1 COMMIT:06c2a2c4.
https://github.com/FFmpeg/FFmpeg/com...37a631cc676e3f

So, I created a patch like below.
0004_support_SDK-12.2-bit-depth-API.patch
Code:
diff -Nru a/libavcodec/nvenc.c b/libavcodec/nvenc.c
--- a/libavcodec/nvenc.c	2024-04-03 12:14:22.766521297 +0900
+++ b/libavcodec/nvenc.c	2024-04-03 12:14:01.727470507 +0900
@@ -242,8 +242,20 @@
 
 static void nvenc_print_driver_requirement(AVCodecContext *avctx, int level)
 {
-#if NVENCAPI_CHECK_VERSION(12, 1)
+#if NVENCAPI_CHECK_VERSION(12, 3)
     const char *minver = "(unknown)";
+#elif NVENCAPI_CHECK_VERSION(12, 2)
+# if defined(_WIN32) || defined(__CYGWIN__)
+    const char *minver = "551.76";
+# else
+    const char *minver = "550.54.14";
+# endif
+#elif NVENCAPI_CHECK_VERSION(12, 1)
+# if defined(_WIN32) || defined(__CYGWIN__)
+    const char *minver = "531.61";
+# else
+    const char *minver = "530.41.03";
+# endif
 #elif NVENCAPI_CHECK_VERSION(12, 0)
 # if defined(_WIN32) || defined(__CYGWIN__)
     const char *minver = "522.25";
@@ -594,6 +606,33 @@
         return AVERROR(ENOSYS);
     }
 
+#ifdef NVENC_HAVE_TEMPORAL_FILTER
+    ret = nvenc_check_cap(avctx, NV_ENC_CAPS_SUPPORT_TEMPORAL_FILTER);
+    if(ctx->tf_level > 0 && ret <= 0) {
+        av_log(avctx, AV_LOG_WARNING, "Temporal filtering not supported by the device\n");
+        return AVERROR(ENOSYS);
+    }
+#endif
+
+#ifdef NVENC_HAVE_LOOKAHEAD_LEVEL
+    ret = nvenc_check_cap(avctx, NV_ENC_CAPS_SUPPORT_LOOKAHEAD_LEVEL);
+    if(ctx->rc_lookahead > 0 && ctx->lookahead_level > 0 &&
+       ctx->lookahead_level != NV_ENC_LOOKAHEAD_LEVEL_AUTOSELECT &&
+       ctx->lookahead_level > ret)
+    {
+        av_log(avctx, AV_LOG_WARNING, "Lookahead level not supported. Maximum level: %d\n", ret);
+        return AVERROR(ENOSYS);
+    }
+#endif
+
+#ifdef NVENC_HAVE_UNIDIR_B
+    ret = nvenc_check_cap(avctx, NV_ENC_CAPS_SUPPORT_UNIDIRECTIONAL_B);
+    if(ctx->unidir_b && ret <= 0) {
+        av_log(avctx, AV_LOG_WARNING, "Unidirectional B-Frames not supported by the device\n");
+        return AVERROR(ENOSYS);
+    }
+#endif
+
     ctx->support_dyn_bitrate = nvenc_check_cap(avctx, NV_ENC_CAPS_SUPPORT_DYN_BITRATE_CHANGE);
 
     return 0;
@@ -987,7 +1026,7 @@
     return 0;
 }
 
-static av_cold void nvenc_setup_rate_control(AVCodecContext *avctx)
+static av_cold int nvenc_setup_rate_control(AVCodecContext *avctx)
 {
     NvencContext *ctx = avctx->priv_data;
 
@@ -1116,6 +1155,24 @@
             if (ctx->encode_config.rcParams.lookaheadDepth < ctx->rc_lookahead)
                 av_log(avctx, AV_LOG_WARNING, "Clipping lookahead depth to %d (from %d) due to lack of surfaces/delay",
                     ctx->encode_config.rcParams.lookaheadDepth, ctx->rc_lookahead);
+
+#ifdef NVENC_HAVE_LOOKAHEAD_LEVEL
+            if (ctx->lookahead_level >= 0) {
+                switch (ctx->lookahead_level) {
+                    case NV_ENC_LOOKAHEAD_LEVEL_0:
+                    case NV_ENC_LOOKAHEAD_LEVEL_1:
+                    case NV_ENC_LOOKAHEAD_LEVEL_2:
+                    case NV_ENC_LOOKAHEAD_LEVEL_3:
+                    case NV_ENC_LOOKAHEAD_LEVEL_AUTOSELECT:
+                        break;
+                    default:
+                        av_log(avctx, AV_LOG_ERROR, "Invalid lookahead level.\n");
+                        return AVERROR(EINVAL);
+                }
+
+                ctx->encode_config.rcParams.lookaheadLevel = ctx->lookahead_level;
+            }
+#endif
         }
     }
 
@@ -1143,6 +1200,8 @@
         ctx->encode_config.rcParams.vbvBufferSize = avctx->rc_buffer_size = 0;
         ctx->encode_config.rcParams.maxBitRate = avctx->rc_max_rate;
     }
+
+    return 0;
 }
 
 static av_cold int nvenc_setup_h264_config(AVCodecContext *avctx)
@@ -1255,6 +1314,11 @@
 
     h264->level = ctx->level;
 
+#ifdef NVENC_HAVE_NEW_BIT_DEPTH_API
+    h264->inputBitDepth = h264->outputBitDepth =
+        IS_10BIT(ctx->data_pix_fmt) ? NV_ENC_BIT_DEPTH_10 : NV_ENC_BIT_DEPTH_8;
+#endif
+
     if (ctx->coder >= 0)
         h264->entropyCodingMode = ctx->coder;
 
@@ -1370,7 +1434,12 @@
 
     hevc->chromaFormatIDC = IS_YUV444(ctx->data_pix_fmt) ? 3 : 1;
 
+#ifdef NVENC_HAVE_NEW_BIT_DEPTH_API
+    hevc->inputBitDepth = hevc->outputBitDepth =
+        IS_10BIT(ctx->data_pix_fmt) ? NV_ENC_BIT_DEPTH_10 : NV_ENC_BIT_DEPTH_8;
+#else
     hevc->pixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
+#endif
 
     hevc->level = ctx->level;
 
@@ -1386,6 +1455,25 @@
     hevc->numRefL1 = avctx->refs;
 #endif
 
+#ifdef NVENC_HAVE_TEMPORAL_FILTER
+    if (ctx->tf_level >= 0) {
+        hevc->tfLevel = ctx->tf_level;
+
+        switch (ctx->tf_level)
+        {
+            case NV_ENC_TEMPORAL_FILTER_LEVEL_0:
+            case NV_ENC_TEMPORAL_FILTER_LEVEL_4:
+                break;
+            default:
+                av_log(avctx, AV_LOG_ERROR, "Invalid temporal filtering level.\n");
+                return AVERROR(EINVAL);
+        }
+
+        if (ctx->encode_config.frameIntervalP < 5)
+            av_log(avctx, AV_LOG_WARNING, "Temporal filtering needs at least 4 B-Frames (-bf 4).\n");
+    }
+#endif
+
     return 0;
 }
 
@@ -1455,8 +1543,13 @@
 
     av1->chromaFormatIDC = IS_YUV444(ctx->data_pix_fmt) ? 3 : 1;
 
+#ifdef NVENC_HAVE_NEW_BIT_DEPTH_API
+    av1->inputBitDepth = IS_10BIT(ctx->data_pix_fmt) ? NV_ENC_BIT_DEPTH_10 : NV_ENC_BIT_DEPTH_8;
+    av1->outputBitDepth = (IS_10BIT(ctx->data_pix_fmt) || ctx->highbitdepth) ? NV_ENC_BIT_DEPTH_10 : NV_ENC_BIT_DEPTH_8;
+#else
     av1->inputPixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0;
     av1->pixelBitDepthMinus8 = (IS_10BIT(ctx->data_pix_fmt) || ctx->highbitdepth) ? 2 : 0;
+#endif
 
     if (ctx->b_ref_mode >= 0)
         av1->useBFramesAsRef = ctx->b_ref_mode;
@@ -1585,6 +1678,10 @@
 FF_ENABLE_DEPRECATION_WARNINGS
     }
 
+#ifdef NVENC_HAVE_UNIDIR_B
+    ctx->init_encode_params.enableUniDirectionalB = ctx->unidir_b;
+#endif
+
     ctx->init_encode_params.enableEncodeAsync = 0;
     ctx->init_encode_params.enablePTD = 1;
 
@@ -1633,7 +1730,9 @@
 
     nvenc_recalc_surfaces(avctx);
 
-    nvenc_setup_rate_control(avctx);
+    res = nvenc_setup_rate_control(avctx);
+    if (res < 0)
+        return res;
 
     if (avctx->flags & AV_CODEC_FLAG_INTERLACED_DCT) {
         ctx->encode_config.frameFieldMode = NV_ENC_PARAMS_FRAME_FIELD_MODE_FIELD;
@@ -1689,15 +1788,15 @@
 {
     switch (pix_fmt) {
     case AV_PIX_FMT_YUV420P:
-        return NV_ENC_BUFFER_FORMAT_YV12_PL;
+        return NV_ENC_BUFFER_FORMAT_YV12;
     case AV_PIX_FMT_NV12:
-        return NV_ENC_BUFFER_FORMAT_NV12_PL;
+        return NV_ENC_BUFFER_FORMAT_NV12;
     case AV_PIX_FMT_P010:
     case AV_PIX_FMT_P016:
         return NV_ENC_BUFFER_FORMAT_YUV420_10BIT;
     case AV_PIX_FMT_GBRP:
     case AV_PIX_FMT_YUV444P:
-        return NV_ENC_BUFFER_FORMAT_YUV444_PL;
+        return NV_ENC_BUFFER_FORMAT_YUV444;
     case AV_PIX_FMT_GBRP16:
     case AV_PIX_FMT_YUV444P16:
         return NV_ENC_BUFFER_FORMAT_YUV444_10BIT;
@@ -2282,12 +2381,6 @@
     frame_data->duration = frame->duration;
     frame_data->frame_opaque = frame->opaque;
 
-#if FF_API_REORDERED_OPAQUE
-FF_DISABLE_DEPRECATION_WARNINGS
-    frame_data->reordered_opaque = frame->reordered_opaque;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
     ctx->frame_data_array_pos = (ctx->frame_data_array_pos + 1) % ctx->frame_data_array_nb;
     pic_params->inputDuration = idx;
 
@@ -2304,12 +2397,6 @@
 
     pkt->duration = frame_data->duration;
 
-#if FF_API_REORDERED_OPAQUE
-FF_DISABLE_DEPRECATION_WARNINGS
-    avctx->reordered_opaque = frame_data->reordered_opaque;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
     if (avctx->flags & AV_CODEC_FLAG_COPY_OPAQUE) {
         pkt->opaque = frame_data->frame_opaque;
         pkt->opaque_ref = frame_data->frame_opaque_ref;
@@ -2697,6 +2784,7 @@
             pic_params.encodePicFlags = 0;
         }
 
+        pic_params.frameIdx = ctx->frame_idx_counter++;
         pic_params.inputTimeStamp = frame->pts;
 
         if (ctx->extra_sei) {
diff -Nru a/libavcodec/nvenc.h b/libavcodec/nvenc.h
--- a/libavcodec/nvenc.h	2024-04-03 12:14:27.574532897 +0900
+++ b/libavcodec/nvenc.h	2024-04-03 12:14:07.102483487 +0900
@@ -83,6 +83,15 @@
 #define NVENC_NO_DEPRECATED_RC
 #endif
 
+// SDK 12.2 compile time feature checks
+#if NVENCAPI_CHECK_VERSION(12, 2)
+#define NVENC_HAVE_NEW_BIT_DEPTH_API
+#define NVENC_HAVE_TEMPORAL_FILTER
+#define NVENC_HAVE_LOOKAHEAD_LEVEL
+#define NVENC_HAVE_UHQ_TUNING
+#define NVENC_HAVE_UNIDIR_B
+#endif
+
 typedef struct NvencSurface
 {
     NV_ENC_INPUT_PTR input_surface;
@@ -100,10 +109,6 @@
 {
     int64_t duration;
 
-#if FF_API_REORDERED_OPAQUE
-    int64_t reordered_opaque;
-#endif
-
     void        *frame_opaque;
     AVBufferRef *frame_opaque_ref;
 } NvencFrameData;
@@ -221,6 +226,8 @@
 
     void *nvencoder;
 
+    uint32_t frame_idx_counter;
+
     int preset;
     int profile;
     int level;
@@ -270,6 +277,9 @@
     int highbitdepth;
     int max_slice_size;
     int rgb_mode;
+    int tf_level;
+    int lookahead_level;
+    int unidir_b;
 } NvencContext;
 
 int ff_nvenc_encode_init(AVCodecContext *avctx);
This patch seems to be working and recompiled ffmpeg-6.1.1 packages is also working well on my slackware64-current environment.
 
6 members found this post helpful.
Old 04-03-2024, 08:06 AM   #4099
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 188

Rep: Reputation: 168Reputation: 168
gtk4-4.14.2

Code:
Overview of Changes in 4.14.2, 03-04-2024
=========================================

* GtkScale:
 - Improve positioning of values in some cases

* Theme:
 - Make progress in entries visible

* Accessibility:
 - Fix text insertion handling

* GDK:
 - dnd: Use the default cursor durion motion
 - dnd: Use a better cursor for indicating the move action

* GSK:
 - gl: Handle offloads in offscreen context better
 - Fix text rendering problems with some fonts

* Wayland:
 - Tighten up some protocol version checks
 - Use the presentation time protocol
 - Fix a crash with subsurfaces
 - Improve settings portal handling

* macOS:
 - Fix up the app menu support

* Windows:
 - Fix problems with minimization
 - Fix build without fontconfig

* Debugging:
 - Add font settings in the inspector

* Demos:
 - Clean up the application demo
 - Update cursor images for the cursor demo

* Translation updates:
 Catalan
 Czech
 French
 Georgian
 Hebrew
 Persian
 Slovenian
 Turkish
 Ukrainian
https://download.gnome.org/sources/gtk/4.14/
 
1 members found this post helpful.
Old 04-03-2024, 02:14 PM   #4100
formalist
LQ Newbie
 
Registered: Apr 2024
Posts: 3

Rep: Reputation: 0
I am writing this post so that I can write a post with a link in it, since I need at least one post to be able to include a link. Sorry for the spam.
 
Old 04-03-2024, 02:14 PM   #4101
formalist
LQ Newbie
 
Registered: Apr 2024
Posts: 3

Rep: Reputation: 0
Request to reconsider the use of unofficial sources for the blackbox package

In 2018 I asked for an upgrade of the blackbox window manager package to an unofficial, forked version: https://www.linuxquestions.org/quest...ml#post5870193 (I posted as the user "formalist", but the username was changed to "anon082" when I deleted my account.)

The Slackware blackbox package was subsequently rebuilt from the unofficial forked source code, and since then the blackbox package has been upgraded several times based on the same unofficial sources. The Slackware blackbox package is still being built from the unofficial, forked version.

In light of the recent news about the security vulnerability introduced into xz, I think it would be a good idea to make sure packages are built using official and trusted source code only. I therefore would like to ask for a reconsideration of the decision to use unofficial sources to build the blackbox package for Slackware.

If a decision is taken to build the blackbox package using official sources instead, then it would, I think, also be wise to consider replacing the package in earlier Slackware releases where the blackbox package is based on the unofficial source code.
 
Old 04-03-2024, 02:37 PM   #4102
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106
Quote:
Originally Posted by formalist View Post
In 2018 I asked for an upgrade of the blackbox window manager package to an unofficial, forked version: https://www.linuxquestions.org/quest...ml#post5870193 (I posted as the user "formalist", but the username was changed to "anon082" when I deleted my account.)

The Slackware blackbox package was subsequently rebuilt from the unofficial forked source code, and since then the blackbox package has been upgraded several times based on the same unofficial sources. The Slackware blackbox package is still being built from the unofficial, forked version.

In light of the recent news about the security vulnerability introduced into xz, I think it would be a good idea to make sure packages are built using official and trusted source code only. I therefore would like to ask for a reconsideration of the decision to use unofficial sources to build the blackbox package for Slackware.

If a decision is taken to build the blackbox package using official sources instead, then it would, I think, also be wise to consider replacing the package in earlier Slackware releases where the blackbox package is based on the unofficial source code.
Don't confuse unofficial and original or fork
(Xorg, GCC, LibreOffice, MariaDB, etc. are forks. Probably Slackware can be considered as a fork too :-) )
Code:
The original author seems to have ceased updating the repository with the exception 
of a minor fix of compilation problems in 2015, leaving the last original version 
at 0.70.1. However an actively maintained fork by Brian Bidulock has been picked up by 
several Linux distributions in its place
https://en.wikipedia.org/wiki/Blackbox
https://github.com/bbidulock
https://packages.gentoo.org/packages/x11-wm/blackbox
https://archlinux.org/packages/extra/x86_64/blackbox/

Last edited by marav; 04-03-2024 at 02:51 PM.
 
Old 04-03-2024, 02:50 PM   #4103
formalist
LQ Newbie
 
Registered: Apr 2024
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by marav View Post
Don't confuse unofficial and fork
I don't confuse the two, one attribute doesn't preclude the other. It's a fork and it's unofficial.

Quote:
Originally Posted by marav View Post
Code:
The original author seems to have ceased updating the repository with the exception 
of a minor fix of compilation problems in 2015, leaving the last original version 
at 0.70.1. However an actively maintained fork by Brian Bidulock has been picked up by 
several Linux distributions in its place
https://en.wikipedia.org/wiki/Blackbox
https://github.com/bbidulock
https://packages.gentoo.org/packages/x11-wm/blackbox
https://archlinux.org/packages/extra/x86_64/blackbox/
The fact that other Linux distributions package the forked version doesn't imply that the source code is trustable.
 
Old 04-03-2024, 03:09 PM   #4104
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106
Quote:
Originally Posted by formalist View Post
I don't confuse the two, one attribute doesn't preclude the other. It's a fork and it's unofficial.
The fact that other Linux distributions package the forked version doesn't imply that the source code is trustable.
What do you mean unofficial?
Unofficial for who?
Official Slackware 15.0 source repo is: http://ftp.slackware.com/pub/slackwa...4-15.0/source/
Unofficial Slackware 15.0 source repo is : https://slackbuilds.org/
There must be an entity attached to the word "unofficial"

Last edited by marav; 04-03-2024 at 03:13 PM.
 
Old 04-03-2024, 03:11 PM   #4105
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,522

Rep: Reputation: 8487Reputation: 8487Reputation: 8487Reputation: 8487Reputation: 8487Reputation: 8487Reputation: 8487Reputation: 8487Reputation: 8487Reputation: 8487Reputation: 8487
Quote:
Originally Posted by marav View Post
What do you mean unofficial?
Unofficial for who?
Official Slackware 15.0 source repo is: http://ftp.slackware.com/pub/slackwa...4-15.0/source/
Unofficial Slackware 15.0 source repo is : XXXXX
There must be an entity attached to the word "unofficial"
You might want to fix that second url.

Also, SBo is official.

Last edited by volkerdi; 04-03-2024 at 03:17 PM. Reason: redacted ;-)
 
4 members found this post helpful.
Old 04-03-2024, 03:13 PM   #4106
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106
Quote:
Originally Posted by volkerdi View Post
You might want to fix that second url.

Also, SBo is official.
Indeed
Anyway, we got the idea and it's off topic
 
2 members found this post helpful.
Old 04-03-2024, 03:23 PM   #4107
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106Reputation: 4106
Quote:
Originally Posted by volkerdi View Post
Also, SBo is official.
That means that my 3 or 4 pkgs I maintain on SBo are official Slackware packages?

You make my day
 
Old 04-03-2024, 04:11 PM   #4108
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0
Posts: 525

Rep: Reputation: 298Reputation: 298Reputation: 298
Thank you Patrick,

l/aom-3.8.2-x86_64-1.txz: Added.
Needed to add AV1 encode/decode support to ffmpeg.
Thanks to Andrew Strong.
l/dav1d-1.4.1-x86_64-1.txz: Added.
Needed to add AV1 decode support to ffmpeg.
l/ffmpeg-6.1.1-x86_64-2.txz: Rebuilt.
Patched to build with nv-codec-headers-12.2.72.0. Thanks to J_W.
Compiled against aom-3.8.2 and dav1d-1.4.1 for AV1 support.
Thanks to glennmcc.
xap/MPlayer-20240403-x86_64-1.txz: Upgraded.
Compiled using --enable-libaom-lavc and --enable-libdav1d-lavc.
Thanks to glennmcc.
______________________________________________________________________

I can now stop building custom versions from source.
 
3 members found this post helpful.
Old 04-04-2024, 03:44 AM   #4109
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,901

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
Quote:
Originally Posted by formalist View Post
In light of the recent news about the security vulnerability introduced into xz, I think it would be a good idea to make sure packages are built using official and trusted source code only.
Except that in the 'xz' case it was the official and trusted source that was backdoored by an official and trusted co-maintainer, so your rationale doesn't really hold.

There are plenty of forks out there maintained by honourable people. I have no view on the maintainer of this new blackbox fork one way or the other but until such time as they prove themselves unworthy their efforts should be respected.
 
6 members found this post helpful.
Old 04-04-2024, 03:46 AM   #4110
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,338

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Nice latest changelog ... some kernel config changes and additions for ffmpeg.

Thank you!
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration