FreeBSD Bugzilla – Attachment 109690 Details for
Bug 150733
Update port: sysutils/lxtask version bump (broken)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
report.txt
report.txt (text/plain; charset=US-ASCII), 8.62 KB, created by
Davide ITaliano
on 2010-09-21 23:10:29 UTC
(
hide
)
Description:
report.txt
Filename:
MIME Type:
Creator:
Davide ITaliano
Created:
2010-09-21 23:10:29 UTC
Size:
8.62 KB
patch
obsolete
>diff -urN lxtask-old/Makefile lxtask/Makefile >--- lxtask-old/Makefile 2010-09-17 17:46:13.000000000 +0200 >+++ lxtask/Makefile 2010-09-21 22:01:33.000000000 +0200 >@@ -6,12 +6,12 @@ > # > > PORTNAME= lxtask >-PORTVERSION= 0.1 >+PORTVERSION= 0.1.3 > PORTREVISION= 4 > CATEGORIES= sysutils gnome > MASTER_SITES= SF/lxde/LXTask%20%28task%20manager%29/LXTask%20${PORTVERSION} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= davide.italiano@gmail.com > COMMENT= A lightweight desktop-independent task manager > > USE_GNOME= gtk20 intlhack >diff -urN lxtask-old/distinfo lxtask/distinfo >--- lxtask-old/distinfo 2010-09-17 17:46:13.000000000 +0200 >+++ lxtask/distinfo 2010-09-17 17:47:14.000000000 +0200 >@@ -1,3 +1,3 @@ >-MD5 (lxtask-0.1.tar.gz) = e69b31ea8169bcf1d9b0c40c06a6e782 >-SHA256 (lxtask-0.1.tar.gz) = fff1303410c023a99cc8b292d27449d91268c72b862699ba930c9ed0f23e4767 >-SIZE (lxtask-0.1.tar.gz) = 235606 >+MD5 (lxtask-0.1.3.tar.gz) = eccfb69ee1a209248b22a5f0a34a4734 >+SHA256 (lxtask-0.1.3.tar.gz) = 6d15c7711689aaf81b90815241021e8b9950f76c316c61677bca3f8d2b929844 >+SIZE (lxtask-0.1.3.tar.gz) = 223543 >diff -urN lxtask-old/files/patch-main.patch lxtask/files/patch-main.patch >--- lxtask-old/files/patch-main.patch 1970-01-01 01:00:00.000000000 +0100 >+++ lxtask/files/patch-main.patch 2010-09-21 22:01:08.000000000 +0200 >@@ -0,0 +1,18 @@ >+--- src/main.c.orig 2010-04-12 11:54:32.000000000 +0200 >++++ src/main.c 2010-09-21 21:57:15.000000000 +0200 >+@@ -51,7 +51,6 @@ >+ guint refresh_interval; >+ guint rID; >+ >+-int PAGE_SIZE; >+ >+ int main (int argc, char *argv[]) >+ { >+@@ -65,7 +64,6 @@ >+ gtk_set_locale (); >+ gtk_init (&argc, &argv); >+ >+- PAGE_SIZE=sysconf(_SC_PAGESIZE)>>10; >+ own_uid = getuid(); >+ >+ config_file = g_build_filename(g_get_user_config_dir(), "lxtask.conf", NULL); >diff -urN lxtask-old/files/patch-types-header.patch lxtask/files/patch-types-header.patch >--- lxtask-old/files/patch-types-header.patch 1970-01-01 01:00:00.000000000 +0100 >+++ lxtask/files/patch-types-header.patch 2010-09-19 20:39:38.000000000 +0200 >@@ -0,0 +1,18 @@ >+--- src/main.c.orig 2010-04-12 11:54:32.000000000 +0200 >++++ src/main.c 2010-09-19 20:37:04.000000000 +0200 >+@@ -51,7 +51,6 @@ >+ guint refresh_interval; >+ guint rID; >+ >+-int PAGE_SIZE; >+ >+ int main (int argc, char *argv[]) >+ { >+@@ -65,7 +64,6 @@ >+ gtk_set_locale (); >+ gtk_init (&argc, &argv); >+ >+- PAGE_SIZE=sysconf(_SC_PAGESIZE)>>10; >+ own_uid = getuid(); >+ >+ config_file = g_build_filename(g_get_user_config_dir(), "lxtask.conf", NULL); >diff -urN lxtask-old/files/types-header.patch lxtask/files/types-header.patch >--- lxtask-old/files/types-header.patch 1970-01-01 01:00:00.000000000 +0100 >+++ lxtask/files/types-header.patch 2010-09-21 21:31:48.000000000 +0200 >@@ -0,0 +1,9 @@ >+--- src/types.h.orig 2010-09-21 21:30:49.000000000 +0200 >++++ src/types.h 2010-09-21 21:31:04.000000000 +0200 >+@@ -78,6 +78,4 @@ >+ const gchar *custom_signal_0; >+ const gchar *custom_signal_1; >+ >+-extern int PAGE_SIZE; >+- >+ #endif >diff -urN lxtask-old/files/xfce-taskmanager-linux.patch lxtask/files/xfce-taskmanager-linux.patch >--- lxtask-old/files/xfce-taskmanager-linux.patch 1970-01-01 01:00:00.000000000 +0100 >+++ lxtask/files/xfce-taskmanager-linux.patch 2010-09-21 21:42:08.000000000 +0200 >@@ -0,0 +1,87 @@ >+--- src/xfce-taskmanager-linux.c.orig 2010-04-12 11:54:32.000000000 +0200 >++++ src/xfce-taskmanager-linux.c 2010-09-21 21:41:34.000000000 +0200 >+@@ -28,6 +28,7 @@ >+ #include <glib/gi18n.h> >+ #include "xfce-taskmanager-linux.h" >+ >++#define PAGE_SIZE ( sysconf(_SC_PAGESIZE) ) >+ >+ #if 1 >+ void get_task_details(gint pid,struct task *task) >+@@ -39,7 +40,7 @@ >+ task->checked=FALSE; >+ task->size=0; >+ >+- sprintf(line,"/proc/%d/statm",pid); >++ sprintf(line,"/compat/linux/proc/%d/statm",pid); >+ fd=open(line,O_RDONLY); >+ if(fd==-1) return; >+ read(fd,line,256); >+@@ -49,7 +50,7 @@ >+ task->size*=PAGE_SIZE; >+ task->rss*=PAGE_SIZE; >+ >+- sprintf(line,"/proc/%d/stat",pid); >++ sprintf(line,"/compat/linux/proc/%d/stat",pid); >+ fd=open(line,O_RDONLY); >+ if(fd!=-1) >+ { >+@@ -118,8 +119,8 @@ >+ gchar filename[255]; >+ gchar cmdline_filename[255]; >+ >+- sprintf(filename, "/proc/%i/stat", pid); >+- sprintf(cmdline_filename, "/proc/%i/cmdline", pid); >++ sprintf(filename, "/compat/linux/proc/%i/stat", pid); >++ sprintf(cmdline_filename, "/compat/linux/proc/%i/cmdline", pid); >+ >+ stat(filename, &status); >+ >+@@ -235,9 +236,9 @@ >+ GArray *task_list; >+ int count=0; >+ >+- if((dir = opendir("/proc/")) == NULL) >++ if((dir = opendir("/compat/linux/proc/")) == NULL) >+ { >+- fprintf(stderr, "Error: couldn't load the /proc directory\n"); >++ fprintf(stderr, "Error: couldn't load the /compat/linux/proc directory\n"); >+ return NULL; >+ } >+ >+@@ -277,7 +278,7 @@ >+ >+ >+ task_list = g_array_new(FALSE, FALSE, sizeof (struct task)); >+- n=scandir("/proc",&namelist,proc_filter,0); >++ n=scandir("/compat/linux/proc",&namelist,proc_filter,0); >+ if(n<0) return task_list; >+ >+ g_array_set_size(task_list,n); >+@@ -299,7 +300,7 @@ >+ >+ gboolean get_cpu_usage_from_proc(system_status *sys_stat) >+ { >+- const gchar *file_name = "/proc/stat"; >++ const gchar *file_name = "/compat/linux/proc/stat"; >+ FILE *file; >+ >+ if ( sys_stat->valid_proc_reading == TRUE ) { >+@@ -340,7 +341,7 @@ >+ int reach; >+ static int cpu_count; >+ >+- file = fopen ("/proc/meminfo", "r"); >++ file = fopen ("/compat/linux/proc/meminfo", "r"); >+ if(!file) return FALSE; >+ reach=0; >+ while (fgets (buffer, 100, file) != NULL) >+@@ -357,7 +358,7 @@ >+ >+ if(!cpu_count) >+ { >+- file = fopen ("/proc/cpuinfo", "r"); >++ file = fopen ("/compat/linux/proc/cpuinfo", "r"); >+ if(!file) return FALSE; >+ while (fgets (buffer, 100, file) != NULL) >+ { >diff -urN lxtask-old/pkg-plist lxtask/pkg-plist >--- lxtask-old/pkg-plist 2010-09-17 17:46:13.000000000 +0200 >+++ lxtask/pkg-plist 2010-09-21 21:57:01.000000000 +0200 >@@ -1,23 +1,49 @@ > bin/lxtask >+ >+%%NLS%%share/locale/af/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/ar/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/bg/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/bn_IN/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/ca/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/cs/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/da/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/de/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/el/LC_MESSAGES/lxtask.mo >-%%NLS%%share/locale/en_GB/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/es/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/es_VE/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/et/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/eu/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/fa/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/fi/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/fr/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/gl/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/he/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/hr/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/hu/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/id/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/it/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/ja/LC_MESSAGES/lxtask.mo >-%%NLS%%share/locale/lv/LC_MESSAGES/lxtask.mo >-%%NLS%%share/locale/nb_NO/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/ko/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/lt/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/ml/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/ms/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/nb/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/nl/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/nn/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/pl/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/ps/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/pt/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/pt_BR/LC_MESSAGES/lxtask.mo >-%%NLS%%share/locale/pt_PT/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/ru/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/sk/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/sl/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/sv/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/tr/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/uk/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/ur/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/ur_PK/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/vi/LC_MESSAGES/lxtask.mo >+%%NLS%%share/locale/zh_CN/LC_MESSAGES/lxtask.mo > %%NLS%%share/locale/zh_TW/LC_MESSAGES/lxtask.mo > share/applications/lxtask.desktop > @dirrmtry share/applications >diff -urN lxtask-old/work/pkg_message lxtask/work/pkg_message >--- lxtask-old/work/pkg_message 1970-01-01 01:00:00.000000000 +0100 >+++ lxtask/work/pkg_message 2010-09-21 22:09:16.000000000 +0200 >@@ -0,0 +1,4 @@ >+****************************************************** >+This ports works only if linprocfs is mounted. Ensure >+that linprocfs is mounted before running. >+*****************************************************
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 150733
:
109689
| 109690 |
109691