summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Manouchehri2015-09-19 07:11:59 -0400
committerDavid Manouchehri2015-09-19 07:15:17 -0400
commit85fd44645269f8b233e3c8088bea3d2f6b302d28 (patch)
tree698c37ac32f9fab117880e32e8274d7f4470267b
parent307797f7fb744e77451272be1950155b1ca0c965 (diff)
downloadaur-85fd44645269f8b233e3c8088bea3d2f6b302d28.tar.gz
Split RTE apart from the base package.
-rw-r--r--.SRCINFO66
-rw-r--r--PATENTS.txt0
-rwxr-xr-xPKGBUILD128
-rw-r--r--README5
-rw-r--r--labview-2010-appbuild-10.0.0-1.i386.rpm0
-rw-r--r--labview-2010-core-10.0.0-1.i386.rpm0
-rw-r--r--labview-2010-desktop-10.0.0-1.i386.rpm0
-rw-r--r--labview-2010-examples-10.0.0-1.i386.rpm0
-rw-r--r--labview-2010-help-10.0.0-1.i386.rpm0
-rw-r--r--labview-2010-pro-10.0.0-1.i386.rpm0
-rw-r--r--labview-2010-ref-10.0.0-1.i386.rpm0
-rw-r--r--labview-2010-rte-10.0.0-1.i386.rpm0
-rw-r--r--labview-2010-rte-10.0.1-1.i386.rpm (renamed from LICENSE.txt)0
-rw-r--r--labview-2010.install18
-rw-r--r--niexfinder-base-1.0-19.i386.rpm0
-rw-r--r--niexfinder-labview-2010-10.0.0-1.i386.rpm0
-rw-r--r--nilvcompare-10.0.0-1.i386.rpm0
-rw-r--r--nilvmerge-10.0.0-1.i386.rpm0
-rw-r--r--nisvcloc-10.0.0-1.i386.rpm0
-rw-r--r--niwebpipeline20_dep-2.0-5.i586.rpm0
20 files changed, 53 insertions, 164 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 00c592138ce5..467dbaa15b3f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,69 +1,35 @@
-pkgbase = labview-2010
- pkgdesc = A system-design platform and development environment for a visual programming language from National Instruments.
- pkgver = 11
+pkgbase = labview-2010-rte
+ pkgdesc = Run-Time Engine for LabVIEW by National Instruments.
+ pkgver = SP1
pkgrel = 1
url = http://www.ni.com/labview/release-archive/2010/
- install = labview-2010.install
- arch = i686
arch = x86_64
license = custom:LabVIEW-2010
- makedepends = rpmextract
- makedepends = sed
- depends = xdg-utils
- depends = hicolor-icon-theme
- depends = desktop-file-utils
- depends = shared-mime-info
- options = !strip
- source = labview-2010-appbuild-10.0.0-1.i386.rpm
- source = labview-2010-core-10.0.0-1.i386.rpm
- source = labview-2010-desktop-10.0.0-1.i386.rpm
- source = labview-2010-examples-10.0.0-1.i386.rpm
- source = labview-2010-help-10.0.0-1.i386.rpm
- source = labview-2010-pro-10.0.0-1.i386.rpm
- source = labview-2010-ref-10.0.0-1.i386.rpm
- source = labview-2010-rte-10.0.0-1.i386.rpm
- source = niexfinder-base-1.0-19.i386.rpm
- source = niexfinder-labview-2010-10.0.0-1.i386.rpm
- source = nilvcompare-10.0.0-1.i386.rpm
- source = nilvmerge-10.0.0-1.i386.rpm
- source = nisvcloc-10.0.0-1.i386.rpm
- source = niwebpipeline20_dep-2.0-5.i586.rpm
- source = LICENSE.txt
- source = PATENTS.txt
- md5sums = 003fa58d0e43d74441f1716f8a83fc59
- md5sums = a6f209b7901f24c0ab67e823f6aa83f7
- md5sums = eebffdb3ebe3d2b9f0b4c2c89e0e0e3d
- md5sums = e0f1d1e471ce2968179b1ef9e5f35252
- md5sums = 4473f311612201711144a12313bc6837
- md5sums = 5646bfdb013790d394969b80a9e621ac
- md5sums = 630e8fc2155d752118e436b37f19ceb9
- md5sums = 0566b80b88d805a3a56eed08c4281d78
- md5sums = 1f237f1937db222ca717034cbd82fb55
- md5sums = e019e0476940e077cdd97658ac525f22
- md5sums = 6c1c92c1b61d27e94177f568f7614da6
- md5sums = d31a78a16e9de038d48d4c5a13ce0376
- md5sums = c9e58c450ea14c146c5e290f357c9886
- md5sums = 432bc600994a9c29be67144de730490e
- md5sums = b2bdb88ba72887a28351dbf37318f655
- md5sums = a1a1c2c25ae24f9c0e54c1003d772a79
- depends_x86_64 = lib32-glibc
+ makedepends = libarchive
+ depends = llvm
+ optdepends = labview-2010: Full LabVIEW platform.
+ source = labview-2010-rte-10.0.1-1.i386.rpm
+ md5sums = SKIP
+ depends_x86_64 = lib32-expat
depends_x86_64 = lib32-gcc-libs
depends_x86_64 = lib32-glibc
depends_x86_64 = lib32-libdrm
+ depends_x86_64 = lib32-libice
+ depends_x86_64 = lib32-libsm
depends_x86_64 = lib32-libx11
depends_x86_64 = lib32-libxau
depends_x86_64 = lib32-libxcb
- depends_x86_64 = lib32-libxcursor
depends_x86_64 = lib32-libxdamage
depends_x86_64 = lib32-libxdmcp
depends_x86_64 = lib32-libxext
depends_x86_64 = lib32-libxfixes
depends_x86_64 = lib32-libxinerama
- depends_x86_64 = lib32-libxrender
+ depends_x86_64 = lib32-libxshmfence
+ depends_x86_64 = lib32-libxt
depends_x86_64 = lib32-libxxf86vm
depends_x86_64 = lib32-mesa
- depends_x86_64 = lib32-openssl-compatibility
- depends_x86_64 = lib32-libxt
+ depends_x86_64 = lib32-mesa-libgl
+ depends_x86_64 = lib32-util-linux
-pkgname = labview-2010
+pkgname = labview-2010-rte
diff --git a/PATENTS.txt b/PATENTS.txt
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/PATENTS.txt
+++ /dev/null
diff --git a/PKGBUILD b/PKGBUILD
index 872983180441..429a5c4081fd 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,115 +2,61 @@
# Contributor: Richard Graham <richard@rdg.cc>
_release='2010'
-pkgname="labview-${_release}"
-pkgver=11
+_short_release="${_release:2:4}"
+_service_pack='1'
+pkgname="labview-${_release}-rte"
+pkgver="SP${_service_pack}"
pkgrel=1
-pkgdesc='A system-design platform and development environment for a visual programming language from National Instruments.'
+pkgdesc='Run-Time Engine for LabVIEW by National Instruments.'
url="http://www.ni.com/labview/release-archive/${_release}/"
-arch=('i686' 'x86_64')
+arch=('x86_64') # This will likely work on i686, but I have not tested it.
license=("custom:LabVIEW-${_release}")
-install="labview-${_release}.install"
-depends=('xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'shared-mime-info')
-depends_x86_64+=('lib32-glibc'
+depends=('llvm')
+depends_x86_64+=('lib32-expat'
'lib32-gcc-libs'
'lib32-glibc'
'lib32-libdrm'
+ 'lib32-libice'
+ 'lib32-libsm'
'lib32-libx11'
'lib32-libxau'
'lib32-libxcb'
- 'lib32-libxcursor'
'lib32-libxdamage'
'lib32-libxdmcp'
'lib32-libxext'
'lib32-libxfixes'
'lib32-libxinerama'
- 'lib32-libxrender'
+ 'lib32-libxshmfence'
+ 'lib32-libxt'
'lib32-libxxf86vm'
- 'lib32-mesa/'
- 'lib32-openssl-compatibility'
- 'lib32-libxt')
-makedepends=('rpmextract' 'sed')
-options=('!strip' '!upx') # Avoid time consuming operations.
-PKGEXT='.pkg.tar' # Do not compress, it's a large package (~1GB).
-source=("labview-${_release}-appbuild-10.0.0-1.i386.rpm"
- "labview-${_release}-core-10.0.0-1.i386.rpm"
- "labview-${_release}-desktop-10.0.0-1.i386.rpm"
- "labview-${_release}-examples-10.0.0-1.i386.rpm"
- "labview-${_release}-help-10.0.0-1.i386.rpm"
- "labview-${_release}-pro-10.0.0-1.i386.rpm"
- "labview-${_release}-ref-10.0.0-1.i386.rpm"
- "labview-${_release}-rte-10.0.0-1.i386.rpm"
- "niexfinder-base-1.0-19.i386.rpm"
- "niexfinder-labview-${_release}-10.0.0-1.i386.rpm"
- "nilvcompare-10.0.0-1.i386.rpm"
- "nilvmerge-10.0.0-1.i386.rpm"
- "nisvcloc-10.0.0-1.i386.rpm"
- "niwebpipeline20_dep-2.0-5.i586.rpm"
- "LICENSE.txt"
- "PATENTS.txt")
-md5sums=('003fa58d0e43d74441f1716f8a83fc59'
- 'a6f209b7901f24c0ab67e823f6aa83f7'
- 'eebffdb3ebe3d2b9f0b4c2c89e0e0e3d'
- 'e0f1d1e471ce2968179b1ef9e5f35252'
- '4473f311612201711144a12313bc6837'
- '5646bfdb013790d394969b80a9e621ac'
- '630e8fc2155d752118e436b37f19ceb9'
- '0566b80b88d805a3a56eed08c4281d78'
- '1f237f1937db222ca717034cbd82fb55'
- 'e019e0476940e077cdd97658ac525f22'
- '6c1c92c1b61d27e94177f568f7614da6'
- 'd31a78a16e9de038d48d4c5a13ce0376'
- 'c9e58c450ea14c146c5e290f357c9886'
- '432bc600994a9c29be67144de730490e'
- 'b2bdb88ba72887a28351dbf37318f655'
- 'a1a1c2c25ae24f9c0e54c1003d772a79')
+ 'lib32-mesa'
+ 'lib32-mesa-libgl'
+ 'lib32-util-linux')
+optdepends=("labview-${_release}: Full LabVIEW platform.")
+makedepends=('libarchive')
+options=()
+_filename="labview-${_release}-rte-${_short_release}.0.${_service_pack}-1.i386.rpm"
+source=("${_filename}")
+# md5sums=('3a4f1541dde45dcf5f36d618fb039d8d') # Hash for the .rpm
+md5sums=('SKIP') # Please check manually.
+
+prepare() {
+ test -s "${_filename}" || (
+ printf "\e[1;31mPlease create an NI account, download and unzip the RTE.\e[0m\n"
+ echo "http://www.ni.com/download/labview-run-time-engine-2010-sp1/2297/en/"
+ echo "a3fa4b50a75b8394cb9f3e7cb6646dbb labview-2010-rte-${_short_release}.0.1-1.i386.zip"
+ exit 1
+ )
+}
package() {
- rpmextract.sh "../labview-${_release}-appbuild-10.0.0-1.i386.rpm"
- rpmextract.sh "../labview-${_release}-core-10.0.0-1.i386.rpm"
- rpmextract.sh "../labview-${_release}-desktop-10.0.0-1.i386.rpm"
- rpmextract.sh "../labview-${_release}-examples-10.0.0-1.i386.rpm"
- rpmextract.sh "../labview-${_release}-help-10.0.0-1.i386.rpm"
- rpmextract.sh "../labview-${_release}-pro-10.0.0-1.i386.rpm"
- rpmextract.sh "../labview-${_release}-ref-10.0.0-1.i386.rpm"
- rpmextract.sh "../labview-${_release}-rte-10.0.0-1.i386.rpm"
- rpmextract.sh "../niexfinder-base-1.0-19.i386.rpm"
- rpmextract.sh "../niexfinder-labview-${_release}-10.0.0-1.i386.rpm"
- rpmextract.sh "../nilvcompare-10.0.0-1.i386.rpm"
- rpmextract.sh "../nilvmerge-10.0.0-1.i386.rpm"
- rpmextract.sh "../nisvcloc-10.0.0-1.i386.rpm"
- rpmextract.sh "../niwebpipeline20_dep-2.0-5.i586.rpm"
-
- mkdir -p "${pkgdir}/usr/lib"
- mkdir -p "${pkgdir}/opt"
-
- mv "${srcdir}/usr/local/lib/*" "${pkgdir}/usr/lib"
- mv "${srcdir}/usr/local/*" "${pkgdir}/opt"
-
- mkdir -p "${pkgdir}/usr/share/licenses/LabVIEW-${_release}"
- cp "../LICENSE.txt" "${pkgdir}/usr/share/licenses/LabVIEW-${_release}/LICENSE.txt"
- cp "../PATENTS.txt" "${pkgdir}/usr/share/licenses/LabVIEW-${_release}/PATENTS.txt"
-
- mkdir -p "${pkgdir}/usr/share/icons/hicolor/48x48/apps"
- mkdir -p "${pkgdir}/usr/share/icons/hicolor/128x128/apps"
- mkdir -p "${pkgdir}/usr/share/icons/hicolor/48x48/mimetypes"
- mkdir -p "${pkgdir}/usr/share/icons/hicolor/128x128/mimetypes"
-
- cp "${pkgdir}/opt/natinst/LabVIEW-${_release}/etc/desktop/icons/48x48/labview.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/labview.png"
- cp "${pkgdir}/opt/natinst/LabVIEW-${_release}/etc/desktop/icons/48x48/natinst-labview.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/natinst-labview.png"
- cp "${pkgdir}/opt/natinst/LabVIEW-${_release}/etc/desktop/icons/128x128/labview.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/labview.png"
- cp "${pkgdir}/opt/natinst/LabVIEW-${_release}/etc/desktop/icons/128x128/natinst-labview.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/natinst-labview.png"
-
- for file in "${pkgdir}/opt/natinst/LabVIEW-${_release}/etc/desktop/icons/48x48/i-*.png"; do
- cp "$file" ${pkgdir}/usr/share/icons/hicolor/48x48/mimetypes/`echo ${file##*/} | sed "s,i-,application-x-,"`
- cp "$file" ${pkgdir}/usr/share/icons/hicolor/128x128/mimetypes/`echo ${file##*/} | sed "s,i-,application-x-,"`
- done
+ mkdir -p "${pkgdir}/usr/"
- mkdir -p "${pkgdir}/usr/share/applications"
- sed "s,Exec.*,Exec=/opt/natinst/LabVIEW-${_release}/labview -launch "%F"," "${pkgdir}/opt/natinst/LabVIEW-${_release}/etc/desktop/apps/natinst-labview-${_release}.desktop" > "${pkgdir}/usr/share/applications/natinst-labview-${_release}.desktop"
+ cp -rp "${srcdir}/usr/local/lib/" "${pkgdir}/usr/"
- mkdir -p "${pkgdir}/usr/share/mime/packages"
- cp "${pkgdir}/opt/natinst/LabVIEW-${_release}/etc/desktop/mime/labview.xml" "${pkgdir}/usr/share/mime/packages"
+ # Using out of date certificates is a horrible idea.
+ ln --symbolic --force '/etc/ca-certificates/extracted/ca-bundle.trust.crt' \
+ "${pkgdir}/usr/lib/LabVIEW-${_release}/ca-bundle.crt"
}
-# vim:set et sw=2 sts=2: \ No newline at end of file
+# vim:set et sw=2 sts=2 tw=80: \ No newline at end of file
diff --git a/README b/README
deleted file mode 100644
index c0bc469ab273..000000000000
--- a/README
+++ /dev/null
@@ -1,5 +0,0 @@
-1) Mount your LabVIEW-2010 for linux/mac CD or ISO.
- Note that for some weird reason this may be formatted as hfs+ rather than ISO9660.
-2) Copy all rpm files, LICENSE.txt and PATENTS.txt from Linux/labview to your build directory
-3) Make sure you agree to the terms of the license
-4) makepkg
diff --git a/labview-2010-appbuild-10.0.0-1.i386.rpm b/labview-2010-appbuild-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/labview-2010-appbuild-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/labview-2010-core-10.0.0-1.i386.rpm b/labview-2010-core-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/labview-2010-core-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/labview-2010-desktop-10.0.0-1.i386.rpm b/labview-2010-desktop-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/labview-2010-desktop-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/labview-2010-examples-10.0.0-1.i386.rpm b/labview-2010-examples-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/labview-2010-examples-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/labview-2010-help-10.0.0-1.i386.rpm b/labview-2010-help-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/labview-2010-help-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/labview-2010-pro-10.0.0-1.i386.rpm b/labview-2010-pro-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/labview-2010-pro-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/labview-2010-ref-10.0.0-1.i386.rpm b/labview-2010-ref-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/labview-2010-ref-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/labview-2010-rte-10.0.0-1.i386.rpm b/labview-2010-rte-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/labview-2010-rte-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/LICENSE.txt b/labview-2010-rte-10.0.1-1.i386.rpm
index e69de29bb2d1..e69de29bb2d1 100644
--- a/LICENSE.txt
+++ b/labview-2010-rte-10.0.1-1.i386.rpm
diff --git a/labview-2010.install b/labview-2010.install
deleted file mode 100644
index a2a1c4948c91..000000000000
--- a/labview-2010.install
+++ /dev/null
@@ -1,18 +0,0 @@
-post_install() {
- echo "Updating icon cache"
- xdg-icon-resource forceupdate --theme hicolor
-
- echo "Updating desktop database"
- update-desktop-database -q
-
- echo "Updating mime database"
- update-mime-database /usr/share/mime
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/niexfinder-base-1.0-19.i386.rpm b/niexfinder-base-1.0-19.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/niexfinder-base-1.0-19.i386.rpm
+++ /dev/null
diff --git a/niexfinder-labview-2010-10.0.0-1.i386.rpm b/niexfinder-labview-2010-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/niexfinder-labview-2010-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/nilvcompare-10.0.0-1.i386.rpm b/nilvcompare-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/nilvcompare-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/nilvmerge-10.0.0-1.i386.rpm b/nilvmerge-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/nilvmerge-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/nisvcloc-10.0.0-1.i386.rpm b/nisvcloc-10.0.0-1.i386.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/nisvcloc-10.0.0-1.i386.rpm
+++ /dev/null
diff --git a/niwebpipeline20_dep-2.0-5.i586.rpm b/niwebpipeline20_dep-2.0-5.i586.rpm
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/niwebpipeline20_dep-2.0-5.i586.rpm
+++ /dev/null