diff options
Diffstat (limited to 'sysutils/bbapm')
-rw-r--r-- | sysutils/bbapm/Makefile | 39 | ||||
-rw-r--r-- | sysutils/bbapm/distinfo | 4 | ||||
-rw-r--r-- | sysutils/bbapm/files/patch-Baseresource.cc | 12 | ||||
-rw-r--r-- | sysutils/bbapm/files/patch-Basewindow.cc | 16 | ||||
-rw-r--r-- | sysutils/bbapm/files/patch-Image.cc | 102 | ||||
-rw-r--r-- | sysutils/bbapm/files/patch-Image.hh | 24 | ||||
-rw-r--r-- | sysutils/bbapm/files/patch-LinkedList.hh | 11 | ||||
-rw-r--r-- | sysutils/bbapm/files/patch-bbapm.cc | 11 | ||||
-rw-r--r-- | sysutils/bbapm/files/patch-resource.cc | 11 | ||||
-rw-r--r-- | sysutils/bbapm/files/patch-resource.hh | 13 | ||||
-rw-r--r-- | sysutils/bbapm/pkg-descr | 5 | ||||
-rw-r--r-- | sysutils/bbapm/pkg-plist | 10 |
12 files changed, 0 insertions, 258 deletions
diff --git a/sysutils/bbapm/Makefile b/sysutils/bbapm/Makefile deleted file mode 100644 index ccf88cbca3c9..000000000000 --- a/sysutils/bbapm/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# Created by: Adam Weinberger <adam@vectors.cx> -# $FreeBSD$ - -PORTNAME= bbapm -PORTVERSION= 0.0.1 -PORTREVISION= 5 -CATEGORIES= sysutils -MASTER_SITES= SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION} - -PATCH_SITES= SF/bbtools/${PORTNAME}/bbapm-0.0.1-freebsd-patch -PATCHFILES= bbapm-0.0.1-freebsd-patch-2.diff -PATCH_DIST_STRIP= -p1 - -MAINTAINER= ports@FreeBSD.org -COMMENT= APM monitor for the Blackbox slit - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -ONLY_FOR_ARCHS= i386 -USE_GNOME= gtk12 -GNU_CONFIGURE= yes -USE_XORG= x11 - -do-install: - ${INSTALL} ${COPY} ${STRIP} ${WRKSRC}/bbapm ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${PREFIX}/share/bbtools -.for a in README.bbapm bbapm.conf bbapm.nobb bbapm.style bbtoolsrc.in - ${INSTALL_DATA} ${WRKSRC}/data/${a} ${STAGEDIR}${PREFIX}/share/bbtools -.endfor - -post-install: - @${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \ - >> ${TMPPLIST} - -.include <bsd.port.mk> diff --git a/sysutils/bbapm/distinfo b/sysutils/bbapm/distinfo deleted file mode 100644 index b6779e94631c..000000000000 --- a/sysutils/bbapm/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (bbapm-0.0.1.tar.gz) = 8e11e3aff7bc423828d9501297b0b0ba24b4f34441386d1bec711fc497b6632c -SIZE (bbapm-0.0.1.tar.gz) = 61376 -SHA256 (bbapm-0.0.1-freebsd-patch-2.diff) = 2cf009e9a795fc39f6ddf2edb2069096d26259c7034488a9c0b1a296722dbd6f -SIZE (bbapm-0.0.1-freebsd-patch-2.diff) = 7272 diff --git a/sysutils/bbapm/files/patch-Baseresource.cc b/sysutils/bbapm/files/patch-Baseresource.cc deleted file mode 100644 index d757e836f960..000000000000 --- a/sysutils/bbapm/files/patch-Baseresource.cc +++ /dev/null @@ -1,12 +0,0 @@ ---- Baseresource.cc.orig Mon Aug 16 10:40:24 1999 -+++ Baseresource.cc Sat Aug 4 20:52:40 2001 -@@ -27,6 +27,9 @@ - { - bbtool = toolwindow; - -+ style.conf_filename = NULL; -+ style.style_filename = NULL; -+ - if (bbtool->default_config) { - ReadDefaultResource(); - ResourceType = DEFAULT; diff --git a/sysutils/bbapm/files/patch-Basewindow.cc b/sysutils/bbapm/files/patch-Basewindow.cc deleted file mode 100644 index 96fdc2d6d6be..000000000000 --- a/sysutils/bbapm/files/patch-Basewindow.cc +++ /dev/null @@ -1,16 +0,0 @@ ---- Basewindow.cc.orig Sun Aug 15 07:43:55 1999 -+++ Basewindow.cc Sat Aug 4 20:52:40 2001 -@@ -23,6 +23,13 @@ - - Basewindow::Basewindow(int argc,char **argv) - { -+ dpy = NULL; -+ v = NULL; -+ image_control = NULL; -+ nobb_filename = NULL; -+ bbconfig_filename = NULL; -+ spooldir = NULL; -+ - display_name=NULL; - config_filename=NULL; - position=NULL; diff --git a/sysutils/bbapm/files/patch-Image.cc b/sysutils/bbapm/files/patch-Image.cc deleted file mode 100644 index 5d5bcca59d64..000000000000 --- a/sysutils/bbapm/files/patch-Image.cc +++ /dev/null @@ -1,102 +0,0 @@ ---- Image.cc.orig Sun Aug 15 07:43:55 1999 -+++ Image.cc Mon May 19 12:56:41 2003 -@@ -50,6 +50,17 @@ - BImage::BImage(BImageControl *c, unsigned int w, unsigned int h) { - control = c; - -+ colors = NULL; -+ red = NULL; -+ green = NULL; -+ blue = NULL; -+ tr = NULL; -+ tg = NULL; -+ tb = NULL; -+ -+ from.allocated = 0; -+ to.allocated = 0; -+ - width = ((signed) w > 0) ? w : 1; - height = ((signed) h > 0) ? h : 1; - -@@ -225,12 +236,12 @@ - } - - if (control->doDither()) { -- short er, eg, eb, *or, *og, *ob, *nor, *nog, *nob, *por, *pog, *pob; -+ short er, eg, eb, *bbor, *og, *ob, *nor, *nog, *nob, *por, *pog, *pob; - unsigned short *ort, *ogt, *obt; - -- control->getDitherBuffers(width + 2, &or, &og, &ob, &nor, &nog, &nob, -+ control->getDitherBuffers(width + 2, &bbor, &og, &ob, &nor, &nog, &nob, - &ort, &ogt, &obt); -- if ((! or) || (! og) || (! ob) || (! nor) || (! nog) || (! nob) || -+ if ((! bbor) || (! og) || (! ob) || (! nor) || (! nog) || (! nob) || - (! ort) || (! ogt) || (! obt)) { - fprintf(stderr, - "BImage::renderXImage: error getting dither information\n"); -@@ -240,7 +251,7 @@ - - x = width; - -- por = or; -+ por = bbor; - pog = og; - pob = ob; - -@@ -271,14 +282,14 @@ - } - - for (x = 0; x < width; x++) { -- if (*(or + x) > 255) *(or + x) = 255; -- else if (*(or + x) < 0) *(or + x) = 0; -+ if (*(bbor + x) > 255) *(bbor + x) = 255; -+ else if (*(bbor + x) < 0) *(bbor + x) = 0; - if (*(og + x) > 255) *(og + x) = 255; - else if (*(og + x) < 0) *(og + x) = 0; - if (*(ob + x) > 255) *(ob + x) = 255; - else if (*(ob + x) < 0) *(ob + x) = 0; - -- r = *(tr + *(or + x)); -+ r = *(tr + *(bbor + x)); - g = *(tg + *(og + x)); - b = *(tb + *(ob + x)); - -@@ -340,11 +351,11 @@ - return 0; - } - -- er = *(or + x) - *(ort + *(or + x)); -+ er = *(bbor + x) - *(ort + *(bbor + x)); - eg = *(og + x) - *(ogt + *(og + x)); - eb = *(ob + x) - *(obt + *(ob + x)); - -- *(or + x + 1) += er; -+ *(bbor + x + 1) += er; - *(og + x + 1) += eg; - *(ob + x + 1) += eb; - -@@ -360,7 +371,7 @@ - off += image->width; - idata = (pd += image->bytes_per_line); - -- por = or; or = nor; nor = por; -+ por = bbor; bbor = nor; nor = por; - pog = og; og = nog; nog = pog; - pob = ob; ob = nob; nob = pob; - } -@@ -843,7 +854,14 @@ - window = blackbox->getRootWindow(); - screen_number = blackbox->getScreenNumber(); - -- colors = 0; -+ colors = NULL; -+ red_err = NULL; -+ green_err = NULL; -+ blue_err = NULL; -+ next_red_err = NULL; -+ next_green_err = NULL; -+ next_blue_err = NULL; -+ cache = NULL; - colors_per_channel = ncolors = 0; - - int count; diff --git a/sysutils/bbapm/files/patch-Image.hh b/sysutils/bbapm/files/patch-Image.hh deleted file mode 100644 index 97943a1dcb28..000000000000 --- a/sysutils/bbapm/files/patch-Image.hh +++ /dev/null @@ -1,24 +0,0 @@ ---- Image.hh.orig Sun Aug 15 07:43:55 1999 -+++ Image.hh Sat Aug 4 20:52:40 2001 -@@ -35,11 +35,21 @@ - class BImage; - class BImageControl; - -+#if 0 - typedef struct BColor { - int allocated; - unsigned char red, green, blue; - unsigned long pixel; - }; -+#else -+class BColor { -+public: -+ int allocated; -+ unsigned char red, green, blue; -+ unsigned long pixel; -+ BColor() { allocated = False; } -+}; -+#endif - - typedef struct BTexture { - BColor color, colorTo, hiColor, loColor; diff --git a/sysutils/bbapm/files/patch-LinkedList.hh b/sysutils/bbapm/files/patch-LinkedList.hh deleted file mode 100644 index 24ff55576575..000000000000 --- a/sysutils/bbapm/files/patch-LinkedList.hh +++ /dev/null @@ -1,11 +0,0 @@ ---- LinkedList.hh.orig Fri Sep 6 20:14:52 2002 -+++ LinkedList.hh Fri Sep 6 20:14:58 2002 -@@ -63,7 +63,7 @@ - int elements; - __llist_node *_first, *_last; - -- friend __llist_iterator; -+ friend class __llist_iterator; - - - protected: diff --git a/sysutils/bbapm/files/patch-bbapm.cc b/sysutils/bbapm/files/patch-bbapm.cc deleted file mode 100644 index 63c97aee5680..000000000000 --- a/sysutils/bbapm/files/patch-bbapm.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- bbapm.cc.orig Fri Dec 7 19:42:46 2001 -+++ bbapm.cc Fri Dec 7 19:42:57 2001 -@@ -28,6 +28,9 @@ - ToolWindow::ToolWindow(int argc, char **argv): - Basewindow(argc, argv) - { -+ resource = NULL; -+ load = NULL; -+ - close_app = False; - broken = False; diff --git a/sysutils/bbapm/files/patch-resource.cc b/sysutils/bbapm/files/patch-resource.cc deleted file mode 100644 index 07594d3c7832..000000000000 --- a/sysutils/bbapm/files/patch-resource.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- resource.cc.orig Fri Dec 7 19:42:46 2001 -+++ resource.cc Fri Dec 7 19:42:57 2001 -@@ -28,6 +28,9 @@ - Resource::Resource(ToolWindow * toolwindow): - BaseResource(toolwindow) - { -+ frame.font = NULL; -+ label.font = NULL; -+ - Load(); - } diff --git a/sysutils/bbapm/files/patch-resource.hh b/sysutils/bbapm/files/patch-resource.hh deleted file mode 100644 index 1b4298d71b9c..000000000000 --- a/sysutils/bbapm/files/patch-resource.hh +++ /dev/null @@ -1,13 +0,0 @@ ---- resource.hh.orig Sat Aug 21 05:41:11 1999 -+++ resource.hh Thu Jun 7 03:32:31 2007 -@@ -81,8 +81,8 @@ - { - - public: -- Resource::Resource(ToolWindow *); -- Resource::~Resource(void); -+ Resource(ToolWindow *); -+ ~Resource(void); - - struct FRAME frame; - struct LABEL label; diff --git a/sysutils/bbapm/pkg-descr b/sysutils/bbapm/pkg-descr deleted file mode 100644 index 64b21bf254af..000000000000 --- a/sysutils/bbapm/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -bbapm is an APM meter for Blackbox, designed to be a part of the -Blackbox Slit, although it will still function as a stand-alone -tool. - -WWW: http://bbtools.sourceforge.net/ diff --git a/sysutils/bbapm/pkg-plist b/sysutils/bbapm/pkg-plist deleted file mode 100644 index 3529876feabf..000000000000 --- a/sysutils/bbapm/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -@group operator -@mode 2555 -bin/bbapm -@mode -@group -share/bbtools/README.bbapm -share/bbtools/bbapm.conf -share/bbtools/bbapm.nobb -share/bbtools/bbapm.style -share/bbtools/bbtoolsrc.in |