From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-gfx/monica/Manifest | 1 + .../monica/files/monica-3.6-makefile-cleanup.patch | 33 ++++++++++++++++++ media-gfx/monica/files/monica-3.7-gcc44.patch | 11 ++++++ media-gfx/monica/metadata.xml | 14 ++++++++ media-gfx/monica/monica-3.7.ebuild | 40 ++++++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 media-gfx/monica/Manifest create mode 100644 media-gfx/monica/files/monica-3.6-makefile-cleanup.patch create mode 100644 media-gfx/monica/files/monica-3.7-gcc44.patch create mode 100644 media-gfx/monica/metadata.xml create mode 100644 media-gfx/monica/monica-3.7.ebuild (limited to 'media-gfx/monica') diff --git a/media-gfx/monica/Manifest b/media-gfx/monica/Manifest new file mode 100644 index 000000000000..9ce0acb54b66 --- /dev/null +++ b/media-gfx/monica/Manifest @@ -0,0 +1 @@ +DIST monica-3.7.tar.bz2 18330 RMD160 a10b15563b6e35bf1d3aa36cb21c6d3a601bce34 SHA1 ff99dcaa1da0c2945ee8d91558f8739b296b2b8b SHA256 da0d7762f5a2eed482e8e2f87762d3ac1f013d5c99bd99b34083b69f03492036 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/files/monica-3.7-gcc44.patch b/media-gfx/monica/files/monica-3.7-gcc44.patch new file mode 100644 index 000000000000..6fad87c6f86b --- /dev/null +++ b/media-gfx/monica/files/monica-3.7-gcc44.patch @@ -0,0 +1,11 @@ +diff -ur monica-3.7.orig/monica.cpp monica-3.7/monica.cpp +--- monica-3.7.orig/monica.cpp 2008-06-02 06:45:50.000000000 +0300 ++++ monica-3.7/monica.cpp 2009-07-24 20:42:12.000000000 +0300 +@@ -14,6 +14,7 @@ + #include + #include + ++#include + #include + #include + #include diff --git a/media-gfx/monica/metadata.xml b/media-gfx/monica/metadata.xml new file mode 100644 index 000000000000..95463dedc2f3 --- /dev/null +++ b/media-gfx/monica/metadata.xml @@ -0,0 +1,14 @@ + + + + + robbat2@gentoo.org + + + 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) + + diff --git a/media-gfx/monica/monica-3.7.ebuild b/media-gfx/monica/monica-3.7.ebuild new file mode 100644 index 000000000000..f737b66987aa --- /dev/null +++ b/media-gfx/monica/monica-3.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils toolchain-funcs + +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="amd64 ppc x86" +IUSE="" + +DEPEND=">=x11-libs/fltk-1.1:1" +RDEPEND="${DEPEND} + x11-apps/xgamma" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-3.6-makefile-cleanup.patch \ + "${FILESDIR}"/${P}-gcc44.patch + + emake clean +} + +src_compile() { + emake \ + CXX="$(tc-getCXX)" \ + CXXFLAGS="${CXXFLAGS}" \ + LINK="$(tc-getCXX)" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin monica + dodoc authors ChangeLog news readme +} -- cgit v1.2.3-65-gdbad