summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-11-15 09:11:34 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-11-15 09:11:34 +0000
commit420efdafee86dd9579aabc61aff52e17ac3dbf6e (patch)
tree4544920d7ed9a4afa3cf1967bad852c7a2c6ad01 /media-gfx/monica
parentSet SQUID_MAXFD through configure params instead seding autoconf.h (#199202). (diff)
downloadhistorical-420efdafee86dd9579aabc61aff52e17ac3dbf6e.tar.gz
historical-420efdafee86dd9579aabc61aff52e17ac3dbf6e.tar.bz2
historical-420efdafee86dd9579aabc61aff52e17ac3dbf6e.zip
Add a small gamma correction tool to the tree. Initial ebuild by Robin H. Johnson <robbat2@gentoo.org>.
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'media-gfx/monica')
-rw-r--r--media-gfx/monica/ChangeLog12
-rw-r--r--media-gfx/monica/Manifest20
-rw-r--r--media-gfx/monica/files/digest-monica-3.63
-rw-r--r--media-gfx/monica/files/monica-3.6-makefile-cleanup.patch33
-rw-r--r--media-gfx/monica/metadata.xml15
-rw-r--r--media-gfx/monica/monica-3.6.ebuild32
6 files changed, 115 insertions, 0 deletions
diff --git a/media-gfx/monica/ChangeLog b/media-gfx/monica/ChangeLog
new file mode 100644
index 000000000000..de33897ac17f
--- /dev/null
+++ b/media-gfx/monica/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-gfx/monica
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/monica/ChangeLog,v 1.1 2007/11/15 09:11:33 robbat2 Exp $
+
+*monica-3.6 (15 Nov 2007)
+
+ 15 Nov 2007; Robin H. Johnson <robbat2@gentoo.org>
+ +files/monica-3.6-makefile-cleanup.patch, +metadata.xml,
+ +monica-3.6.ebuild:
+ Add a small gamma correction tool to the tree. Initial ebuild by Robin H.
+ Johnson <robbat2@gentoo.org>.
+
diff --git a/media-gfx/monica/Manifest b/media-gfx/monica/Manifest
new file mode 100644
index 000000000000..1c631b519c57
--- /dev/null
+++ b/media-gfx/monica/Manifest
@@ -0,0 +1,20 @@
+AUX monica-3.6-makefile-cleanup.patch 907 RMD160 16c86b04e867e013378e4ab97ad68d64fad30e8f SHA1 e4fe19abdcf80ca1399cb1f9dfd2bfbb522e50f7 SHA256 cb4ac6b098360ffc8a4f926b2b8624d69257d074e5115fbb62e8a1207d9a309b
+MD5 161c6f1011e633b774839dcaaef6b474 files/monica-3.6-makefile-cleanup.patch 907
+RMD160 16c86b04e867e013378e4ab97ad68d64fad30e8f files/monica-3.6-makefile-cleanup.patch 907
+SHA256 cb4ac6b098360ffc8a4f926b2b8624d69257d074e5115fbb62e8a1207d9a309b files/monica-3.6-makefile-cleanup.patch 907
+DIST monica-3.6.tar.bz2 17212 RMD160 1a3b7e2e67e053f9685d79930914f18f85b4901e SHA1 173cdedd9896c844fc20e96884bb2d129ac88fd8 SHA256 2a15c13a0b431a524038e6403ae215cd500d4b17647e828c116273060f06517e
+EBUILD monica-3.6.ebuild 765 RMD160 00ad10454d4d13aef2c7105a8e1c8bf880d5076e SHA1 2bfacf33df9503bf0bb4e45af07614182c459c53 SHA256 d385ebbe72bd987a45e39111ab88932aac88849d32db21a4665ee8c462003914
+MD5 158a7d9437018fe847459d82e9aeaa59 monica-3.6.ebuild 765
+RMD160 00ad10454d4d13aef2c7105a8e1c8bf880d5076e monica-3.6.ebuild 765
+SHA256 d385ebbe72bd987a45e39111ab88932aac88849d32db21a4665ee8c462003914 monica-3.6.ebuild 765
+MISC ChangeLog 476 RMD160 2990be55b79bf3053a48658e9eaa9d75aeb1b501 SHA1 fe7cf8571ef125db1680dc1f79fdf27bffe29ad1 SHA256 eed4b89c77501a056610a1bf3ef46d07ffff4a2fd0236fd795c7c2cf927b3b73
+MD5 f90dde49681fa588fdcbfa9d2413e63e ChangeLog 476
+RMD160 2990be55b79bf3053a48658e9eaa9d75aeb1b501 ChangeLog 476
+SHA256 eed4b89c77501a056610a1bf3ef46d07ffff4a2fd0236fd795c7c2cf927b3b73 ChangeLog 476
+MISC metadata.xml 564 RMD160 c8630285b83ffe9b491e4d9c1ffbce1cfd894a3c SHA1 88f799567e1e90aff693b0c7c4b4dc1a1c5e22d5 SHA256 4af92ba2a39099129b66238de03d66f29ac91429f3dcde353d1e1a6827cf8200
+MD5 45977d3d689ceac062c5bb6bf11a743c metadata.xml 564
+RMD160 c8630285b83ffe9b491e4d9c1ffbce1cfd894a3c metadata.xml 564
+SHA256 4af92ba2a39099129b66238de03d66f29ac91429f3dcde353d1e1a6827cf8200 metadata.xml 564
+MD5 cda81c86b16c95160a3580d213b96d09 files/digest-monica-3.6 232
+RMD160 1a8ab2233c0b7107add321f8f527550cd610352c files/digest-monica-3.6 232
+SHA256 fb97fe87a7632185961f37abee0715736f61f04089a44635722cdf14b1b59671 files/digest-monica-3.6 232
diff --git a/media-gfx/monica/files/digest-monica-3.6 b/media-gfx/monica/files/digest-monica-3.6
new file mode 100644
index 000000000000..cd8229947377
--- /dev/null
+++ b/media-gfx/monica/files/digest-monica-3.6
@@ -0,0 +1,3 @@
+MD5 30f729468a751b1089e814976319bc34 monica-3.6.tar.bz2 17212
+RMD160 1a3b7e2e67e053f9685d79930914f18f85b4901e monica-3.6.tar.bz2 17212
+SHA256 2a15c13a0b431a524038e6403ae215cd500d4b17647e828c116273060f06517e monica-3.6.tar.bz2 17212
diff --git a/media-gfx/monica/files/monica-3.6-makefile-cleanup.patch b/media-gfx/monica/files/monica-3.6-makefile-cleanup.patch
new file mode 100644
index 000000000000..21881db24971
--- /dev/null
+++ b/media-gfx/monica/files/monica-3.6-makefile-cleanup.patch
@@ -0,0 +1,33 @@
+diff -Nuar monica-3.6.orig/Makefile monica-3.6/Makefile
+--- monica-3.6.orig/Makefile 2005-03-14 22:00:18.000000000 -0800
++++ monica-3.6/Makefile 2007-11-15 00:48:39.000000000 -0800
+@@ -2,22 +2,24 @@
+ CXX = g++
+ LINK = g++
+ CFLAGS = -Wall -O2
+-CXXFLAGS = `fltk-config --cxxflags` -Wall -O2
+-LDFLAGS = `fltk-config --ldflags`
++CXXFLAGS = -Wall -O2
++FLTK_CXXFLAGS = `fltk-config --cxxflags`
++LDFLAGS =
++FLTK_LDFLAGS = `fltk-config --ldflags`
+ TARGET = monica
+-DESTINATION = /usr/bin
++DESTINATION = $(DESTDIR)/usr/bin
+ OBJECTS = monica.o
+
+ all: $(TARGET)
+
+ $(TARGET): $(OBJECTS)
+- $(LINK) -o $(TARGET) $(OBJECTS) $(LDFLAGS)
++ $(LINK) -o $(TARGET) $(OBJECTS) $(FLTK_LDFLAGS) $(LDFLAGS)
+
+
+ monica.o: monica.cpp
+- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o monica.o monica.cpp
++ $(CXX) -c $(FLTK_CXXFLAGS) $(CXXFLAGS) $(INCPATH) -o monica.o monica.cpp
+
+ clean:
+ rm -f $(OBJECTS)
+ rm -f monica
+
diff --git a/media-gfx/monica/metadata.xml b/media-gfx/monica/metadata.xml
new file mode 100644
index 000000000000..89d0deb96240
--- /dev/null
+++ b/media-gfx/monica/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ Monica is a Monitor Calibration Tool.
+ An easy way to get respectable color rendetion on your screen. Especially
+ important to get a reasonable overall gamma setting, to make sure the basic
+ "brightness" of your screen jibes with what others see... (the Internet sRGB
+ standard gamma of 2.2)
+ </longdescription>
+</pkgmetadata>
diff --git a/media-gfx/monica/monica-3.6.ebuild b/media-gfx/monica/monica-3.6.ebuild
new file mode 100644
index 000000000000..a02a48322fc0
--- /dev/null
+++ b/media-gfx/monica/monica-3.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/monica/monica-3.6.ebuild,v 1.1 2007/11/15 09:11:33 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="Monica is a Monitor Calibration Tool"
+HOMEPAGE="http://www.pcbypaul.com/software/monica.html"
+SRC_URI="http://www.pcbypaul.com/software/dl/${P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+DEPEND="x11-libs/fltk"
+RDEPEND="x11-apps/xgamma
+ ${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-makefile-cleanup.patch
+ cd "${S}"
+ make clean
+}
+
+src_compile() {
+ emake CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin monica
+ dodoc AUTHORS ChangeLog NEWS README
+}