From nobody Sat Jul 15 16:50:03 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R3Dpz3cSrz4n1Ws; Sat, 15 Jul 2023 16:50:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R3Dpz30xJz3v9h; Sat, 15 Jul 2023 16:50:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689439803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qg+qY++9lGPU7axCECe9AtaNwZHLIBXb4Jpy7989bAA=; b=EJhz4tHvHxAiwHoEZQZSUa1GingaccrUacsAq0sLT0mRd7tOTIHJjsLqNEVseE4rdI+8tS odKx3oB+mGkPFr6KkFCUlxKjtBxwLbV+tLBneegp1Y6KlXYdDPA22rzZ2/hSOxxGXGL15Z RIh0i9sFVCN6VJmgPZn/CD4eBlY8WsxDB6L9WtXVespM0eVRpxwbuayQJzgvhfRDRrWegr DMlbX3BP+Q4KcQ6hW6ubRvyR8mifYdU15MySvAdgv5FwmyNYhPScLwJ6AB1V7i3HHED9S5 o10ao1xxHEnxx72S8eB6iCdRu/zA+RvAjXF7RCAklAoUMwbH8gL7b/hjGrYDDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689439803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qg+qY++9lGPU7axCECe9AtaNwZHLIBXb4Jpy7989bAA=; b=wrd6p2jUy/AeFct3p2MBgMi8lvloktpTbOlUHhbwswOkx7efK0hgvodlxgTQLTPmFmOOCk EAvuuV0YoknmaOJSGYIjxjm57NeW3dQcKtRPvsf8jgW0jT8i4zuj+sjP0Bfr8g2OsS17xx /6iuIPW9ZPJNUjvvCmG/cqxocwI5KGvGx3yNqcImj7aUV42sp0myCRHvVbESNXDWC/LW0j k6REkfwfTieTJmZb2r/moz23Tr06/NOrsYeUFRTlBC+zMddYIbqHfIjuCcd0MfkF4UEdjv 2L54bDjH0beCQTG2iEeEMuE2k7ogyfzle0q2FwqeTkCN0DaNLzkWChhNazqoJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689439803; a=rsa-sha256; cv=none; b=mjN8Sz3zpCqFuAUhwOYSmQv0T++pT4593keLum0wpvbTkn31X3ZmtKYMy2cJn2/rBK/gdh P3wm3/pkaglgrlRbOeZLPTQIMEWNV5JpFzTlxdYBUO5vk4fvtkS8HAPz44f/5Zjlv4lV+L D3r9uTOxxUYZvv7ETeQ+aRSf5B1wl12kJ0wBJB+YsiSAUb1i+lEYF7su9XY+LeQaRDGDIp Jy7czfLG6MMvK7ffhaPtYoXmJRBbEKKDUfxxsl28+zwEAB8v/Hfqzv33Ea35KgkiNYc5eh gMfYO+wlFqdvkCP4GViuCBWV1bNv/WNPjkONTb4EUDJgGJKi/zmMkPg/2do1TA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R3Dpz1rzqz16f1; Sat, 15 Jul 2023 16:50:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36FGo3mq015063; Sat, 15 Jul 2023 16:50:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36FGo3Da015060; Sat, 15 Jul 2023 16:50:03 GMT (envelope-from git) Date: Sat, 15 Jul 2023 16:50:03 GMT Message-Id: <202307151650.36FGo3Da015060@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 0f6c12ee3ae4 - main - x11/lxpanel: update WWW, cleanup one patch, take maintainership List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f6c12ee3ae4548f3db457f6c1df7a7584c1dce9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f6c12ee3ae4548f3db457f6c1df7a7584c1dce9 commit 0f6c12ee3ae4548f3db457f6c1df7a7584c1dce9 Author: Alexey Dokuchaev AuthorDate: 2023-07-15 16:48:52 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-07-15 16:48:52 +0000 x11/lxpanel: update WWW, cleanup one patch, take maintainership LXDE wiki 404's now, point WWW to their GitHub page (could be temporarily) and drop one patch hunk which was removing already commented out piece of code. --- x11/lxpanel/Makefile | 4 +- x11/lxpanel/files/patch-plugins_cpufreq_cpufreq.c | 99 ----------------------- 2 files changed, 2 insertions(+), 101 deletions(-) diff --git a/x11/lxpanel/Makefile b/x11/lxpanel/Makefile index addd6380a199..6cbd2edc416c 100644 --- a/x11/lxpanel/Makefile +++ b/x11/lxpanel/Makefile @@ -4,9 +4,9 @@ PORTREVISION= 4 CATEGORIES= x11 MASTER_SITES= SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION:R}.x/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danfe@FreeBSD.org COMMENT= Lightweight X11 desktop panel -WWW= https://wiki.lxde.org/en/LXPanel +WWW= https://github.com/lxde/lxpanel LICENSE= GPLv2+ MIT LICENSE_COMB= multi diff --git a/x11/lxpanel/files/patch-plugins_cpufreq_cpufreq.c b/x11/lxpanel/files/patch-plugins_cpufreq_cpufreq.c index 7307c40ef526..aa7046462d98 100644 --- a/x11/lxpanel/files/patch-plugins_cpufreq_cpufreq.c +++ b/x11/lxpanel/files/patch-plugins_cpufreq_cpufreq.c @@ -48,105 +48,6 @@ static void get_cur_governor(cpufreq *cf){ FILE *fp; -@@ -99,98 +108,6 @@ get_cur_freq(cpufreq *cf){ - } - } - --/*static void --get_governors(cpufreq *cf){ -- FILE *fp; -- GList *l; -- char buf[ 100 ], sstmp [ 256 ], c, bufl = 0; -- -- g_list_free(cf->governors); -- cf->governors = NULL; -- -- get_cur_governor(cf); -- -- if(cf->cpus == NULL){ -- cf->governors = NULL; -- return; -- } -- sprintf(sstmp,"%s/%s",cf->cpus->data, SCALING_AGOV); -- -- if (!(fp = fopen( sstmp, "r"))) { -- printf("cpufreq: cannot open %s\n",sstmp); -- return; -- } -- -- while((c = fgetc(fp)) != EOF){ -- if(c == ' '){ -- if(bufl > 1){ -- buf[bufl] = '\0'; -- cf->governors = g_list_append(cf->governors, strdup(buf)); -- } -- bufl = 0; -- buf[0] = '\0'; -- }else{ -- buf[bufl++] = c; -- } -- } -- -- fclose(fp); --} -- --static void --cpufreq_set_freq(GtkWidget *widget, Param* p){ -- FILE *fp; -- char buf[ 100 ], sstmp [ 256 ]; -- -- if(strcmp(p->cf->cur_governor, "userspace")) return; -- -- sprintf(sstmp,"%s/%s",p->cf->cpus->data, SCALING_SETFREQ); -- if ((fp = fopen( sstmp, "w")) != NULL) { -- fprintf(fp,"%s",p->data); -- fclose(fp); -- } --} -- --static GtkWidget * --frequency_menu(cpufreq *cf){ -- FILE *fp; -- Param* param; -- char buf[ 100 ], sstmp [ 256 ], c, bufl = 0; -- -- sprintf(sstmp,"%s/%s",cf->cpus->data, SCALING_AFREQ); -- -- if (!(fp = fopen( sstmp, "r"))) { -- printf("cpufreq: cannot open %s\n",sstmp); -- return 0; -- } -- -- GtkMenu* menu = GTK_MENU(gtk_menu_new()); -- GtkWidget* menuitem; -- -- while((c = fgetc(fp)) != EOF){ -- if(c == ' '){ -- if(bufl > 1){ -- buf[bufl] = '\0'; -- menuitem = gtk_menu_item_new_with_label(strdup(buf)); -- gtk_menu_append (GTK_MENU_SHELL (menu), menuitem); -- gtk_widget_show (menuitem); -- param = g_new0(Param, 1); -- param->data = strdup(buf); -- param->cf = cf; -- g_signal_connect(G_OBJECT(menuitem), "activate", G_CALLBACK(cpufreq_set_freq), param); -- g_object_weak_ref(G_OBJECT(menuitem), (GWeakNotify)g_free, param); -- } -- bufl = 0; -- buf[0] = '\0'; -- }else{ -- buf[bufl++] = c; -- } -- } -- -- fclose(fp); -- return GTK_WIDGET(menu); --}*/ -- - static void - get_cpus(cpufreq *cf) - { @@ -227,72 +144,49 @@ get_cpus(cpufreq *cf) } g_dir_close(cpuDirectory);