Skip to contentSkip to conversation

transfig-native: remove, nothing depends on it

PATCH In review Ross Burton 3 participants 7 messages Sep 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 transfig-native: remove, nothing depends on it

---
 .../transfig/transfig-native_3.2.5d.bb             |   39 --------------------
 .../packagegroups/packagegroup-toolset-native.bb   |    1 -
 2 files changed, 40 deletions(-)
 delete mode 100644 meta/recipes-devtools/transfig/transfig-native_3.2.5d.bb
meta/recipes-devtools/transfig/transfig-native_3.2.5d.bb deleted +0 -39
deleted file mode 100644
index c20a243..0000000
@@ -1,39 +0,0 @@
-SUMMARY = "Utilities for converting XFig figure files"
-DESCRIPTION = "This package contains utilities (mainly fig2dev) to \
-handle XFig (Facility for Interactive Generation of figures) files."
-HOMEPAGE = "http://www-epb.lbl.gov/xfig/"
-SECTION = "console/utils"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://fig2dev/fig2dev.c;endline=16;md5=6bab01e017409cf9ab21d3e953b793f7"
-PR = "r1"
-
-DEPENDS = "imake-native xorg-cf-files-native zlib-native jpeg-native libpng-native libxpm-native"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/mcj/transfig.${PV}.tar.gz"
-
-SRC_URI[md5sum] = "f9eac7f265668ecbfda6aaf7581989ad"
-SRC_URI[sha256sum] = "ae81214177fb05f91f6e43b0b42633b6e0024570cbc6591a3858e12100ce8aaa"
-
-S = "${WORKDIR}/transfig.${PV}"
-
-EXTRA_OEMAKE = "-I${S}"
-
-inherit native
-
-do_configure() {
-	xmkmf
-	make Makefiles
-
-	# Fix hardcoded references to host build locations
-	sed -i -e "s|SYSTEMUSRLIBDIR = /usr/lib64|SYSTEMUSRLIBDIR = ${libdir}|g" fig2dev/Makefile
-	sed -i -e "s|SYSTEMUSRINCDIR = /usr/include|SYSTEMUSRINCDIR = ${includedir}|g" fig2dev/Makefile
-	sed -i -e "s|XPMINC = -I/usr/include/X11|XPMINC = -I${includedir}/X11|g" fig2dev/Makefile 
-	sed -i -e "s|/usr/lib64|/usr/lib|g" fig2dev/Makefile || true
-	sed -i -e "s|/usr/lib64|/usr/lib|g" fig2dev/dev/Makefile || true
-	sed -i -e "s|/usr/local/lib|${libdir}|g" fig2dev/Makefile
-	sed -i -e "s|/usr/local/lib|${libdir}|g" fig2dev/dev/Makefile
-}
-
-do_install() {
-	oe_runmake install DESTDIR=${D}
-}
meta/recipes-gnome/packagegroups/packagegroup-toolset-native.bb +0 -1
index 82ee820..934b1be 100644
@@ -213,7 +213,6 @@ DEPENDS = "\
     tcl-native \
     texinfo-native \
     tiff-native \
-    transfig-native \
     tzcode-native \
     u-boot-mkimage-native \
     unfs-server-native \
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 imake: remove

Remove both imake and the associated xorg-cf-files, as nothing has used imake to build for a long time.

---
 .../packagegroups/packagegroup-toolset-native.bb   |    2 --
 meta/recipes-graphics/xorg-util/imake_1.0.5.bb     |   20 --------------------
 .../xorg-util/xorg-cf-files_1.0.5.bb               |   15 ---------------
 3 files changed, 37 deletions(-)
 delete mode 100644 meta/recipes-graphics/xorg-util/imake_1.0.5.bb
 delete mode 100644 meta/recipes-graphics/xorg-util/xorg-cf-files_1.0.5.bb
meta/recipes-gnome/packagegroups/packagegroup-toolset-native.bb +0 -2
index 934b1be..53914f3 100644
@@ -92,7 +92,6 @@ DEPENDS = "\
     icecc-create-env-native \
     icon-naming-utils-native \
     icu-native \
-    imake-native \
     inputproto-native \
     insserv-native \
     intltool-native \
@@ -225,7 +224,6 @@ DEPENDS = "\
     xcmiscproto-native \
     xextproto-native \
     xkbcomp-native \
-    xorg-cf-files-native \
     xproto-native \
     xtrans-native \
     xz-native \
meta/recipes-graphics/xorg-util/imake_1.0.5.bb deleted +0 -20
deleted file mode 100644
index ee1e181..0000000
@@ -1,20 +0,0 @@
-require xorg-util-common.inc
-
-SUMMARY = "C preprocessor interface to the make utility"
-DESCRIPTION = "Imake is used to generate Makefiles from a template, a \
-set of cpp macro functions, and a per-directory input file called an \
-Imakefile. This allows machine dependencies (such as compiler options, \
-alternate command names, and special make rules) to be kept separate \
-from the descriptions of the various items to be built."
-LIC_FILES_CHKSUM = "file://COPYING;md5=b9c6cfb044c6d0ff899eaafe4c729367"
-
-DEPENDS = "util-macros xproto xorg-cf-files"
-RDEPENDS_${PN} = "perl xproto"
-
-PR = "r0"
-PE = "1"
-
-SRC_URI[md5sum] = "60f4c648d9598603c2bc94b44efef4b2"
-SRC_URI[sha256sum] = "e939695e46c26bc123065911c13d1210d062a54e3e01ea26e8ad20fa8a8e3b4f"
-
-BBCLASSEXTEND = "native"
meta/recipes-graphics/xorg-util/xorg-cf-files_1.0.5.bb deleted +0 -15
deleted file mode 100644
index fca8328..0000000
@@ -1,15 +0,0 @@
-require xorg-util-common.inc
-
-SUMMARY = "Data files for the imake utility"
-DESCRIPTION = "Data files for the imake utility"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0f334a06f2de517e37e86d6757167d88"
-
-DEPENDS = "font-util"
-
-
-FILES_${PN} += "${libdir}/X11/config/*"
-
-SRC_URI[md5sum] = "ccb5f341ed5932d5ae870d9128e37c32"
-SRC_URI[sha256sum] = "8c9ce7952094d49a1d3f849e45caf848d83ad879d91f3169cc373f52502d0c20"
-
-BBCLASSEXTEND = "native"
Signature · 1 line
1.7.10.4
#2 lore raw
In reply to Ross Burton

Hi Ross,

Is there a specify reason that we need to remove it ? transfig provides fig2dev which is used for building the documentation, for example, gstreamer and libtheora may use fig2dev.

// Robert

Quoted 65 lines · Ross Burton
---
  .../transfig/transfig-native_3.2.5d.bb             |   39 --------------------
  .../packagegroups/packagegroup-toolset-native.bb   |    1 -
  2 files changed, 40 deletions(-)

delete mode 100644 meta/recipes-devtools/transfig/transfig-native_3.2.5d.bb

meta/recipes-devtools/transfig/transfig-native_3.2.5d.bb deleted +0 -39
deleted file mode 100644
index c20a243..0000000
@@ -1,39 +0,0 @@
-SUMMARY = "Utilities for converting XFig figure files"
-DESCRIPTION = "This package contains utilities (mainly fig2dev) to \
-handle XFig (Facility for Interactive Generation of figures) files."
-HOMEPAGE = "http://www-epb.lbl.gov/xfig/"
-SECTION = "console/utils"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://fig2dev/fig2dev.c;endline=16;md5=6bab01e017409cf9ab21d3e953b793f7"
-PR = "r1"
-
-DEPENDS = "imake-native xorg-cf-files-native zlib-native jpeg-native libpng-native libxpm-native"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/mcj/transfig.${PV}.tar.gz"
-
-SRC_URI[md5sum] = "f9eac7f265668ecbfda6aaf7581989ad"
-SRC_URI[sha256sum] = "ae81214177fb05f91f6e43b0b42633b6e0024570cbc6591a3858e12100ce8aaa"
-
-S = "${WORKDIR}/transfig.${PV}"
-
-EXTRA_OEMAKE = "-I${S}"
-
-inherit native
-
-do_configure() {
-	xmkmf
-	make Makefiles
-
-	# Fix hardcoded references to host build locations
-	sed -i -e "s|SYSTEMUSRLIBDIR = /usr/lib64|SYSTEMUSRLIBDIR = ${libdir}|g" fig2dev/Makefile
-	sed -i -e "s|SYSTEMUSRINCDIR = /usr/include|SYSTEMUSRINCDIR = ${includedir}|g" fig2dev/Makefile
-	sed -i -e "s|XPMINC = -I/usr/include/X11|XPMINC = -I${includedir}/X11|g" fig2dev/Makefile
-	sed -i -e "s|/usr/lib64|/usr/lib|g" fig2dev/Makefile || true
-	sed -i -e "s|/usr/lib64|/usr/lib|g" fig2dev/dev/Makefile || true
-	sed -i -e "s|/usr/local/lib|${libdir}|g" fig2dev/Makefile
-	sed -i -e "s|/usr/local/lib|${libdir}|g" fig2dev/dev/Makefile
-}
-
-do_install() {
-	oe_runmake install DESTDIR=${D}
-}
meta/recipes-gnome/packagegroups/packagegroup-toolset-native.bb +0 -1
index 82ee820..934b1be 100644
@@ -213,7 +213,6 @@ DEPENDS = "\
      tcl-native \
      texinfo-native \
      tiff-native \
-    transfig-native \
      tzcode-native \
      u-boot-mkimage-native \
      unfs-server-native \
#3 lore raw
Quoted 3 lines · Robert Yang

Is there a specify reason that we need to remove it ? transfig provides fig2dev which is used for building the documentation, for example, gstreamer and libtheora may use fig2dev.

Considering nothing depends on it, clearly not in stock oe-core. Presumably you have some patches to enable the documentation builds and add the missing dependencies?

Ross

#4 lore raw
Quoted 8 lines · Ross
Quoted 3 lines · Robert Yang

Is there a specify reason that we need to remove it ? transfig provides fig2dev which is used for building the documentation, for example, gstreamer and libtheora may use fig2dev.

Considering nothing depends on it, clearly not in stock oe-core. Presumably you have some patches to enable the documentation builds and add the missing dependencies?

It also appears that GStreamer (at least gstreamer itself, HEAD of master and 0.10) doesn't actually use fig files for the documentation, just PNG.

If we're talking about a large number of packages then I'd agree, but if we're saying that oe-core should have imake and transfig-native so that if you patch libtheora to build documentation it has diagrams, then I'm not sure that's a suitable trade-off.

Ross

#5 lore raw
Quoted 10 lines · Ross
Quoted 8 lines · Ross
Quoted 3 lines · Robert Yang

Is there a specify reason that we need to remove it ? transfig provides fig2dev which is used for building the documentation, for example, gstreamer and libtheora may use fig2dev.

Considering nothing depends on it, clearly not in stock oe-core. Presumably you have some patches to enable the documentation builds and add the missing dependencies?

Quoted 9 lines

It also appears that GStreamer (at least gstreamer itself, HEAD of master and 0.10) doesn't actually use fig files for the documentation, just PNG.

If we're talking about a large number of packages then I'd agree, but if we're saying that oe-core should have imake and transfig-native so that if you patch libtheora to build documentation it has diagrams, then I'm not sure that's a suitable trade-off.

No, I don't have anything depend on transfig-native, I just worried about that many packages use it, I did a grep in a world build directory just now , didn't find any more packages use it.

// Robert

Quoted 3 lines

Ross

#6 lore raw
In reply to Burton, Ross
Quoted 10 lines · Ross
Quoted 8 lines · Ross
Quoted 3 lines · Robert Yang

Is there a specify reason that we need to remove it ? transfig provides fig2dev which is used for building the documentation, for example, gstreamer and libtheora may use fig2dev.

Considering nothing depends on it, clearly not in stock oe-core. Presumably you have some patches to enable the documentation builds and add the missing dependencies?

Quoted 8 lines

It also appears that GStreamer (at least gstreamer itself, HEAD of master and 0.10) doesn't actually use fig files for the documentation, just PNG.

If we're talking about a large number of packages then I'd agree, but if we're saying that oe-core should have imake and transfig-native so that if you patch libtheora to build documentation it has diagrams, then I'm not sure that's a suitable trade-off.

agreed.

Quoted 6 lines

Ross
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core